:root {
  --ui-bg: #f4f7f9; --ui-surface: #fff; --ui-ink: #192b3a; --ui-muted: #738392;
  --ui-primary: #087f77; --ui-primary-hover: #066b64; --ui-soft: #eaf7f3;
  --ui-line: #e6edf1; --ui-radius: 18px; --ui-shadow: 0 5px 20px #203b4a06, 0 1px 3px #203b4a04;
}
body { background: var(--ui-bg); color: var(--ui-ink); font-size: 14px; line-height: 1.6; }
.page { padding: 0; }
.app-shell { width: 100%; min-height: 100dvh; grid-template-columns: 244px minmax(0,1fr); gap: 0; }
.side-nav { position: sticky; top: 0; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 30px 18px 20px; background: #112b35; color: #fff; box-shadow: none; gap: 26px; scrollbar-width: thin; scrollbar-color: #54717a transparent; }
.brand { padding: 0 10px 22px; border-bottom: 1px solid #ffffff14; }
.brand .eyebrow { font-size: 10px; letter-spacing: .18em; color: #7fd6bf; margin: 0 0 10px; }
.brand h1 { font-size: 21px; letter-spacing: .04em; color: #fff; }
.brand h1::before { content: 'S'; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; background: #b7efdb; color: #112b35; border-radius: 11px; font: 800 24px/1 Georgia,serif; }
.nav-list { gap: 18px; }
.nav-drawer > summary { color: #89a5b0; font-size: 11px; letter-spacing: .1em; padding: 0 12px 7px; }
.nav-drawer > summary::before { color: #78949d; }
.side-nav .nav-item { min-height: 44px; color: #c6d7dd; border-radius: 10px; padding: 10px 12px; gap: 11px; font-size: 13px; font-weight: 500; justify-content: flex-start; }
.side-nav .nav-item:hover { background: #ffffff0c; color: #fff; }
.side-nav .nav-item.active { color: #b7efdb; background: #ffffff12; box-shadow: inset 3px 0 #8cddbd; font-weight: 700; }
.nav-item .ux-nav-icon { flex: 0 0 18px; opacity: .8; }
.nav-item .nav-badge { margin-left: auto; }
.side-nav .logout-btn { background: #ffffff08; color: #b2c8d0; border: 1px solid #ffffff16; border-radius: 10px; font-size: 12px; }
.workspace { min-width: 0; padding: 0 36px 48px; gap: 24px; }
.ux-appbar { height: 80px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ui-line); margin-bottom: 0; position: sticky; top: 0; z-index: 35; background: #f4f7f9ed; backdrop-filter: blur(16px); }
.ux-appbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ux-breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--ui-muted); font-size: 12px; white-space: nowrap; }
.ux-breadcrumb strong { font-weight: 650; color: var(--ui-ink); }
.ux-appbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ux-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; min-height: 38px; padding: 8px; border-radius: 10px; background: #fff; color: #617683; border: 1px solid var(--ui-line); }
.ux-search-open { display: flex; gap: 12px; align-items: center; background: #fff; color: #81909b; border: 1px solid var(--ui-line); min-height: 38px; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 450; }
kbd { border: 1px solid var(--ui-line); border-radius: 5px; font: 10px/1.2 inherit; padding: 2px 5px; background: #f7f9fa; color: #7c8c98; }
.ux-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #236955; background: #d9eee5; font-weight: 750; font-size: 12px; margin-left: 8px; }
.ux-network { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 3000; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .2s; }
.ux-network.active { opacity: 1; }
.ux-network::after { content: ''; display: block; width: 35%; height: 100%; background: linear-gradient(90deg,#087f7700,#1eac91,#9ddfc6); animation: ui-progress 1.1s ease-in-out infinite; }
.page-head { align-items: center; margin-bottom: 22px; gap: 20px; }
.page-title { font-size: 25px; font-weight: 750; letter-spacing: -.04em; color: #1a303a; line-height: 1.3; }
.page-sub { color: var(--ui-muted); font-size: 12px; margin-top: 8px; line-height: 1.8; max-width: 840px; }
.page-head-actions { gap: 8px; flex-wrap: wrap; }
.panel { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); padding: 24px; }
.stack-panel { display: flex; flex-direction: column; gap: 16px; }
.stack-panel > p { margin: 0; }.stack-panel > .toolbar.compact { margin-bottom: 0; }
.panel h2, .panel h3 { color: #233b45; font-weight: 650; }
.panel h2 { font-size: 17px; }.panel h3 { font-size: 14px; }
.hint, .ops-sub, .ops-meta { color: var(--ui-muted); line-height: 1.7; }
.ux-empty { width: 100%; text-align: center; padding: 38px 18px; border: 1px dashed #e0e9ed; border-radius: 12px; color: #91a0a8; }.ux-empty strong { display: block; font-size: 13px; color: #69828d; }.ux-empty p { margin: 7px auto 0; max-width: 380px; font-size: 11px; }.ux-empty-mark { width: 42px; height: 42px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 12px; background: #eff6f6; color: #85b4aa; font-size: 28px; }
.collapse { border-bottom: 1px solid var(--ui-line); padding-bottom: 12px; }
.collapse:last-child { border-bottom: 0; padding-bottom: 0; }
.collapse > summary { padding: 12px 0; font-size: 15px; font-weight: 650; color: #29434c; gap: 12px; justify-content: flex-start; }
.collapse > summary .summary-action { margin-left: auto; }
.collapse > summary::before { color: var(--ui-primary); }
.collapse-body { padding: 14px 0 10px; }
details:focus-visible > summary { outline: 3px solid #bce8d9; outline-offset: 3px; border-radius: 8px; }
.toolbar { gap: 10px; flex-wrap: wrap; }
.toolbar.compact { margin-bottom: 12px; }
body button { border-radius: 10px; min-height: 39px; padding: 10px 16px; font-weight: 600; font-size: 12px; background: var(--ui-primary); color: #fff; transition: background .18s,box-shadow .18s,transform .15s,opacity .18s; position: relative; isolation: isolate; }
button:hover:not(:disabled) { box-shadow: 0 4px 10px #143c4012; filter: none; }
button:not([class]):hover:not(:disabled),#loginForm button:hover:not(:disabled) { background: var(--ui-primary-hover); }
button:active:not(:disabled) { transform: translateY(1px) scale(.985); box-shadow: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #92d8be; outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.secondary-btn, .restore-btn { background: #fff; border: 1px solid #dfe8ed; color: #46616e; }
.secondary-btn:hover:not(:disabled), .restore-btn:hover:not(:disabled) { background: #f2f7f7; border-color: #c5d8d8; }
.text-btn { background: transparent; color: var(--ui-primary); border: 0; padding: 5px 8px; }
.danger-btn, button.inline-danger { background: #fff1ee; color: #bc493a; border: 1px solid #f2d8d2; margin-top: 0; }
.nav-item, .tabbar-item { background: transparent; }
.ai-sub { background: #fff; color: #5f7280; border: 1px solid var(--ui-line); }
.ai-sub.active, .quick-filter.active { background: var(--ui-soft); color: var(--ui-primary); border-color: #cce7dd; box-shadow: none; }
.quick-filter { border-radius: 9px; background: #f6f8fa; color: #7b8a96; border: 1px solid transparent; }
.ux-ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .12; pointer-events: none; z-index: -1; animation: ui-ripple .5s ease-out forwards; }
.ux-spinner { display: inline-block; width: 13px; height: 13px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; margin-left: 7px; vertical-align: -2px; animation: ui-spin .7s linear infinite; }
body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), body select, body textarea { background: #fbfcfd; color: var(--ui-ink); border: 1px solid #dfe8ed; border-radius: 10px; min-height: 42px; padding: 10px 12px; font-size: 13px; transition: border .2s, box-shadow .2s, background .2s; }
body input::placeholder, body textarea::placeholder { color: #9aa7b0; font-weight: 400; }
body input:focus:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]), body textarea:focus, body select:focus { background: #fff; border-color: #73bba4; box-shadow: 0 0 0 3px #bfe8db59; outline: none; }
body input[aria-invalid="true"] { border-color: #ce786c !important; background: #fff8f6 !important; }
body input[type="checkbox"], body input[type="radio"] { accent-color: var(--ui-primary); flex-shrink: 0; }
label > span { font-size: 12px; color: #566d79; font-weight: 550; }
.grid-2 { gap: 18px 22px; }
.product-batch-bar, .order-batch-bar { background: #f6f9fa; border: 1px solid var(--ui-line); border-radius: 11px; padding: 12px; gap: 8px; }
.product-row, .ops-row, .category-display-item { border: 1px solid var(--ui-line); border-radius: 12px; background: #fff; transition: box-shadow .18s, border .18s; }
.product-row:hover, .ops-row:hover { border-color: #ccdfdf; box-shadow: 0 3px 12px #23465108; }
.product-pager { border-top: 1px solid var(--ui-line); padding-top: 18px; gap: 12px; }
.order-card { border-radius: 15px; box-shadow: none; border-color: var(--ui-line); }
.order-card.is-open { box-shadow: 0 6px 20px #22475308; }
.order-card-actions-main, .order-card-actions-extra { gap: 8px; }
.stat-card { background: #fff; border: 1px solid var(--ui-line); border-radius: 14px; padding: 20px; }
.stat-value { color: #193f40; font-weight: 700; }
.analytics-block { border: 1px solid var(--ui-line); background: #fcfdfd; border-radius: 14px; padding: 18px; }
table { border-radius: 12px; overflow: hidden; }th { background: #f3f7f8; color: #6c8290; font-weight: 600; }tr:hover td { background: #f7fbfa; }td { border-color: var(--ui-line); }
.ux-home-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.ux-shortcut { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px; background: #fff; border: 1px solid var(--ui-line); color: var(--ui-ink); border-radius: 14px; min-height: 94px; text-align: left; }
.ux-shortcut > .ux-shortcut-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #eaf7f1; color: #34806b; flex-shrink: 0; }
.ux-shortcut:nth-child(2) .ux-shortcut-icon { color: #6a6bab; background: #f0effa; }.ux-shortcut:nth-child(3) .ux-shortcut-icon { color: #b88230; background: #fcf5e9; }
.ux-shortcut strong { display: block; font-size: 14px; }.ux-shortcut small { font-size: 11px; color: #8c9ba4; display: block; margin-top: 5px; }.ux-shortcut:hover:not(:disabled) { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px #2549540b; }
.ux-home-shortcuts + .home-layout { align-items: start; }
.home-layout { gap: 22px; }.phone-preview { box-shadow: none; }.phone-frame { border-radius: 30px; border: 5px solid #e7edef; }
.modal-mask { background: #102a3f59; backdrop-filter: blur(4px); justify-content: flex-end; padding: 0; }
.modal-card, .modal-card.wide { width: min(640px,100%); height: 100dvh; max-height: 100dvh; border-radius: 22px 0 0 22px; box-shadow: -20px 0 70px #0d263c20; overflow: hidden; animation: ui-drawer .24s cubic-bezier(.2,.8,.2,1); }
.modal-card.wide { width: min(850px,100%); }
.modal-head { padding: 24px 26px; border-bottom: 1px solid var(--ui-line); flex-shrink: 0; background: #fff; }.modal-head h3 { font-size: 18px; }
.modal-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 24px 26px; }.modal-foot { padding: 18px 26px; background: #fbfcfd; border-top: 1px solid var(--ui-line); flex-shrink: 0; flex-wrap: wrap; }
.modal-body .hint { background: #f4f8f8; border-radius: 10px; padding: 10px 12px; }
.product-form.compact-form label.inline { flex-direction: column; align-items: stretch; margin: 0; gap: 7px; }
.product-form.compact-form label.inline > span { flex: none; font-size: 12px; }
.product-form.compact-form label.inline > input,.product-form.compact-form label.inline > select,.product-form.compact-form label.inline > textarea,.product-form.compact-form label.inline > .image-inline { flex: none; }
.product-form.compact-form label.check-row.inline { flex-direction: row; align-items: center; justify-content: flex-start; padding-top: 26px; }
.product-form .desc-only { grid-column: 1 / -1; }
.mobile-more-mask { backdrop-filter: blur(4px); background: #102a3f59; }.mobile-more-sheet { border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -20px 60px #15354322; }
.ux-toasts { position: fixed; right: 24px; top: 22px; z-index: 4000; width: min(390px,calc(100vw - 32px)); display: grid; gap: 10px; pointer-events: none; }
.ux-toast { display: flex; align-items: flex-start; gap: 10px; padding: 15px 16px; border: 1px solid #d5e9e0; border-radius: 13px; background: #fff; color: #285a48; box-shadow: 0 12px 38px #18354218; font-size: 13px; pointer-events: auto; animation: ui-toast .2s ease-out; }
.ux-toast[data-kind="error"] { color: #a44135; border-color: #f0d6d1; }.ux-toast[data-kind="info"] { color: #4f6979; border-color: #dae5ee; }.ux-toast .ux-toast-text { flex: 1; overflow-wrap: anywhere; }.ux-toast button { padding: 0; width: 22px; min-height: 22px; background: transparent; color: currentColor; }
.ux-toast::before { content: '✓'; font-weight: 700; }.ux-toast[data-kind="error"]::before { content: '!'; }.ux-toast[data-kind="info"]::before { content: 'i'; }
body.ux-ready #message.top-message { display: none; }
.ux-command { width: min(590px,calc(100vw - 32px)); max-height: min(650px,80dvh); border: 1px solid #ffffff80; border-radius: 19px; padding: 0; box-shadow: 0 25px 100px #132c3f33; color: var(--ui-ink); }
.ux-command::backdrop { background: #102a3f59; backdrop-filter: blur(4px); }
.ux-command-head { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--ui-line); }.ux-command-head input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; }.ux-command-items { display: grid; gap: 4px; padding: 12px; max-height: 450px; overflow: auto; }.ux-command-items button { text-align: left; display: flex; gap: 12px; align-items: center; width: 100%; background: #fff; color: #526e7a; border-radius: 9px; padding: 12px; }.ux-command-items button:hover,.ux-command-items button:focus { background: var(--ui-soft); color: var(--ui-primary); }.ux-command-items small { margin-left: auto; color: #9aa7af; }.ux-command-footer { border-top: 1px solid var(--ui-line); padding: 10px 18px; font-size: 11px; color: #94a0a8; }
body.nav-compact .app-shell { grid-template-columns: 80px minmax(0,1fr); }body.nav-compact .side-nav { padding: 28px 12px 18px; }body.nav-compact .brand { padding: 0 0 18px; text-align: center; }body.nav-compact .brand .eyebrow { display: none; }body.nav-compact .brand h1 { font-size: 0; }body.nav-compact .brand h1::before { margin: 0; }body.nav-compact .side-nav .nav-label,body.nav-compact .side-nav .nav-drawer > summary,body.nav-compact .side-nav .nav-badge { display: none; }body.nav-compact .side-nav .nav-item { justify-content: center; padding: 12px; }body.nav-compact .nav-list { gap: 8px; }body.nav-compact .logout-btn { font-size: 0; }body.nav-compact .logout-btn::after { content: '退出'; font-size: 11px; }
body.ui-dense .panel { padding: 16px; }body.ui-dense .product-row,body.ui-dense .ops-row { padding-top: 9px; padding-bottom: 9px; }body.ui-dense .order-card { padding: 13px 16px; }body.ui-dense .page-head { margin-bottom: 16px; }
.tab-panel:not(.hidden) { animation: ui-page .18s ease-out; }
.card.narrow { width: min(460px,calc(100% - 32px)); padding: 40px; border: 1px solid var(--ui-line); box-shadow: 0 24px 80px #1c424d0c; border-radius: 24px; margin: max(8vh,30px) auto; }.card.narrow .eyebrow { color: var(--ui-primary); }.card.narrow h1 { font-size: 27px; letter-spacing: -.04em; }.card.narrow .desc { color: var(--ui-muted); }.card.narrow .panel { padding: 24px 0 0; border: 0; box-shadow: none; }#loginForm h2 { font-size: 14px; color: #7b8e99; margin-bottom: 22px; }#loginForm button { min-height: 46px; }
.ai-subnav { gap: 8px; margin-bottom: 18px; padding: 5px; background: #eaf0f3; border-radius: 13px; width: fit-content; }.ai-subnav button { border: 0; min-height: 36px; padding: 8px 18px; border-radius: 9px; background: transparent; }.ai-subnav .ai-sub.active { background: #fff; box-shadow: 0 2px 5px #2344520b; }
.ai-service-status { display: flex; align-items: center; gap: 8px; background: #eaf6f1; color: #4b7d68; padding: 10px 14px; border-radius: 11px; font-size: 11px; margin-bottom: 18px; }.ai-service-status:empty { display: none; }.ai-service-status::before { content: ''; width: 6px; height: 6px; background: #5bad89; border-radius: 50%; flex-shrink: 0; }
.ai-block { background: #fff; border: 1px solid var(--ui-line); border-radius: 13px; margin-top: 14px; overflow: hidden; }.ai-block > summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fafcfd; font-weight: 650; font-size: 13px; cursor: pointer; list-style: none; }.ai-block > summary::before { content: '›'; font-size: 20px; color: #8a9da6; transform: rotate(0); transition: transform .2s; }.ai-block[open] > summary::before { transform: rotate(90deg); }.ai-block > summary::-webkit-details-marker { display: none; }.ai-block .ai-group-count { margin-left: auto; border-radius: 6px; font-size: 11px; padding: 2px 8px; background: #edf2f5; color: #6a818e; }
.ai-row { margin: 0; padding: 20px 18px; border-bottom: 1px solid var(--ui-line); grid-template-columns: 78px minmax(160px,1.3fr) minmax(180px,1.2fr) 100px; gap: 12px; border-radius: 0; }.ai-row:last-child { border-bottom: 0; }.ai-row[data-saved] { background: #f8fcfa; }.ai-media { padding: 8px 0; opacity: .9; }.ai-media > span { font-size: 11px; color: #8a9ca6; }.ai-row-error:empty { display: none; }
.ai-review-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 0; }.ai-review-tools .ai-review-count { margin-right: auto; color: #607b85; font-size: 12px; }.ai-review-tools button { font-size: 11px; min-height: 34px; padding: 7px 12px; }.ai-review-tools label { flex-direction: row; align-items: center; gap: 6px; font-size: 12px; color: #7b8c96; }
.ai-review-tools label,.ai-pick-label { margin: 0; }#aiShelfResult > .hint,#purchaseResult > .hint,#aiManualResult > .hint { margin: 6px 0 10px; }
.ai-category-field { min-width: 0; }.ai-category-explanation { display: block; margin-top: 6px; font-size: 10px; color: #85a092; line-height: 1.5; }.ai-category-explanation.needs-review { color: #b08540; }.ai-category-candidates { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }.ai-category-candidates button { background: #f0f6f8; color: #617d8a; border-radius: 5px; font-size: 10px; padding: 3px 7px; min-height: 24px; }.ai-row.is-filtered { display: none; }.ai-empty { border: 1px dashed #d7e4e6; padding: 36px 20px; text-align: center; color: #8399a4; border-radius: 13px; }
@keyframes ui-progress { from { transform: translateX(-100%); }to { transform: translateX(390%); } }@keyframes ui-spin { to { transform: rotate(360deg); } }@keyframes ui-ripple { from { transform: scale(0); opacity: .18; }to { transform: scale(2); opacity: 0; } }@keyframes ui-drawer { from { transform: translateX(50px); opacity: .4; }to { transform: translateX(0); opacity: 1; } }@keyframes ui-toast { from { transform: translateY(-6px); opacity: 0; }to { transform: translateY(0); opacity: 1; } }@keyframes ui-page { from { opacity: .6; transform: translateY(4px); }to { opacity: 1; transform: none; } }
@media (min-width: 1500px) { .workspace { padding-left: 48px; padding-right: 48px; } }
@media (max-width: 1150px) and (min-width: 901px) { .workspace { padding-left: 22px; padding-right: 22px; }.app-shell { grid-template-columns: 210px minmax(0,1fr); }.ux-home-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }.ai-row { grid-template-columns: 70px minmax(120px,1fr) minmax(140px,1fr) 85px; } }
@media (max-width: 900px) {
  .app-shell, body.nav-compact .app-shell { display: block; }.side-nav { display: none; }.workspace { padding: 0 16px calc(100px + env(safe-area-inset-bottom)); }
  .ux-appbar { height: 64px; margin-bottom: 22px; gap: 8px; }.ux-appbar-left { gap: 8px; }.ux-sidebar-toggle { display: none; }.ux-breadcrumb > span { display: none; }.ux-breadcrumb { font-size: 14px; }.ux-appbar-actions { gap: 6px; }.ux-search-open { width: 36px; padding: 8px; justify-content: center; }.ux-search-open > span,.ux-search-open kbd { display: none; }.ux-avatar { margin-left: 3px; width: 30px; height: 30px; font-size: 10px; }.ux-icon-button { width: 34px; min-height: 34px; padding: 7px; }
  .page-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 18px; }.page-title { font-size: 23px; }.page-sub { font-size: 11px; line-height: 1.8; }.page-head-actions { justify-content: flex-start; flex-wrap: wrap; }
  .panel { padding: 17px; border-radius: 15px; }.stack-panel { gap: 12px; }.grid-2 { grid-template-columns: minmax(0,1fr); gap: 14px; }.grid-2 .full { grid-column: auto; }
  .ux-home-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }.ux-shortcut { padding: 14px 12px; gap: 9px; min-height: 86px; }.ux-shortcut strong { font-size: 12px; }.ux-shortcut small { font-size: 10px; }.ux-shortcut > .ux-shortcut-icon { width: 32px; height: 32px; border-radius: 9px; }
  .mobile-tabbar { background: #fffffff5; backdrop-filter: blur(14px); border-top: 1px solid #e1e9ed; box-shadow: 0 -4px 20px #19384b05; padding-top: 7px; }.tabbar-item.active { color: var(--ui-primary); background: var(--ui-soft); border-radius: 10px; }.tabbar-item { color: #7d8f9b; font-size: 11px; }.mobile-more-sheet { max-height: 80dvh; padding: 24px; }.mobile-more-item { color: #465d6a; background: #f7fafb; border-radius: 9px; }.mobile-more-item.active { background: var(--ui-soft); color: var(--ui-primary); }.mobile-more-title { font-size: 18px; margin-bottom: 18px; }
  .modal-card,.modal-card.wide { width: 100%; border-radius: 18px 18px 0 0; height: 94dvh; max-height: 94dvh; }.modal-mask { align-items: flex-end; }.modal-head { padding: 20px; }.modal-body { padding: 18px 20px; }.modal-foot { padding: 15px 20px calc(15px + env(safe-area-inset-bottom)); }.modal-foot button { flex: 1; }.modal-head h3 { font-size: 16px; }
  .ux-toasts { right: 16px; top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }.ux-toast { padding: 13px; font-size: 12px; }
  .order-search-row,.mobile-primary-search { display: grid !important; grid-template-columns: minmax(0,1fr) auto; align-items: center; }.order-search-row input,.mobile-primary-search input { width: 100%; min-width: 0; }.order-search-row button,.mobile-primary-search button { width: auto; }
  .ai-subnav { width: 100%; flex-wrap: nowrap; gap: 3px; }.ai-subnav .ai-sub { flex: 1; padding: 9px 6px; font-size: 11px; min-width: 0; }.ai-row { grid-template-columns: minmax(0,1fr) 100px; padding: 16px; gap: 12px; border: 0; border-bottom: 1px solid var(--ui-line); background: #fff; }.ai-row .ai-pick-label { grid-column: 1 / -1; }.ai-row .ai-name { grid-column: 1 / -1; }.ai-row .ai-category-field { grid-column: 1; }.ai-row .ai-price { grid-column: 2; align-self: start; }.ai-row .ai-media { grid-column: 1 / -1; }.ai-block > summary { font-size: 12px; padding: 14px 12px; }.ai-review-tools { gap: 8px; }.ai-review-tools .ai-review-count { width: 100%; }.ai-media input[type="file"] { width: 100%; }.ai-category-explanation { font-size: 10px; }.ai-row > .ai-spec { grid-column: 1; }.ai-row .ai-note { grid-column: 1 / -1; }
  .card.narrow { padding: 28px; margin: 7vh auto; }.card.narrow h1 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
