/* Quick order plugin — structural styles. Colours come from the active theme's tokens. */
.qo-box {
    --qo-primary: var(--color-theme-primary, var(--theme-primary, #4f46e5));
    --qo-on-primary: var(--color-theme-on-primary, var(--theme-on-primary, #fff));
    --qo-text: var(--color-theme-text, var(--theme-text, #18181b));
    --qo-muted: var(--color-theme-muted, var(--theme-text-muted, #71717a));
    --qo-border: var(--color-theme-border, var(--theme-border, #e4e4e7));
    --qo-surface: var(--color-theme-surface, var(--theme-surface, #fff));
    margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--qo-border); border-radius: 1rem; background: var(--qo-surface); color: var(--qo-text); font-size: .9375rem;
}
.qo-box * { box-sizing: border-box; }
.qo-account { margin-top: 0; }
.qo-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.qo-head h3 { margin: 0; font-family: var(--font-title, inherit); font-size: 1.25rem; font-weight: 600; }
.qo-muted { margin: .25rem 0 0; color: var(--qo-muted); font-size: .875rem; }
.qo-muted a { color: var(--qo-primary); }
.qo-button { display: inline-flex; align-items: center; padding: .65rem 1.25rem; border: 0; border-radius: 999px; background: var(--qo-primary); color: var(--qo-on-primary); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.qo-button:disabled { opacity: .6; }
.qo-link { border: 0; background: none; color: var(--qo-muted); font: inherit; cursor: pointer; }
.qo-item { margin-top: 1rem; padding: 1rem; border: 1px solid var(--qo-border); border-radius: .75rem; }
.qo-item ul { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .875rem; }
.qo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.qo-input { width: 100%; padding: .6rem .75rem; border: 1px solid var(--qo-border); border-radius: .6rem; background: transparent; color: inherit; font: inherit; }
.qo-search { position: relative; margin-top: 1rem; }
.qo-results { position: absolute; z-index: 20; left: 0; right: 0; margin-top: .25rem; border: 1px solid var(--qo-border); border-radius: .6rem; background: var(--qo-surface); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.qo-results button { display: flex; justify-content: space-between; width: 100%; padding: .55rem .75rem; border: 0; background: none; color: inherit; font: inherit; font-size: .875rem; text-align: left; cursor: pointer; }
.qo-results button:hover { background: rgba(0, 0, 0, .04); }
.qo-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .875rem; }
.qo-table td, .qo-table th { padding: .5rem .4rem; border-bottom: 1px solid var(--qo-border); text-align: left; }
.qo-table input, .qo-table select { width: 5rem; padding: .35rem .5rem; border: 1px solid var(--qo-border); border-radius: .5rem; background: transparent; color: inherit; font: inherit; }
.qo-table select { width: auto; max-width: 14rem; }
.qo-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.qo-skipped { margin: .75rem 0 0; padding-left: 1.1rem; color: #b45309; font-size: .85rem; }
.qo-reorder { margin-top: 1.5rem; }
