:root {
  --bg: #07111d;
  --panel: #0d1a2a;
  --panel-soft: #101f31;
  --ink: #ecf4fa;
  --muted: #89a0b3;
  --line: rgba(162, 187, 204, .17);
  --cyan: #63e6df;
  --orange: #f6a35c;
  --red: #ff8c8c;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 95% 0, rgba(41, 86, 103, .18), transparent 48rem), var(--bg); color: var(--ink); line-height: 1.65; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, select { cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .45; }
input, textarea, select { color: var(--ink); border: 1px solid var(--line); background: #091623; border-radius: 7px; outline: 0; padding: 11px 13px; width: 100%; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(99, 230, 223, .07); }
input[readonly] { color: var(--muted); background: rgba(7, 17, 29, .6); }
input[type=checkbox] { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--cyan); flex: 0 0 auto; }
textarea { resize: vertical; line-height: 1.7; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(29px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.045em; margin-bottom: 12px; }
h2 { font-size: 24px; margin: 4px 0 0; line-height: 1.35; letter-spacing: -.035em; }
h3 { font-size: 16px; margin-bottom: 10px; }
.muted { color: var(--muted); font-size: 12px; }
.eyebrow { margin-bottom: 9px; font-size: 9px; letter-spacing: .18em; color: var(--cyan); font-weight: 750; }
.page-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-lockup strong { font-size: 15px; letter-spacing: .1em; display: block; }
.brand-lockup small { color: #7892a2; font-size: 8px; letter-spacing: .17em; display: block; margin-top: 1px; }
.brand-mark { height: 28px; width: 27px; display: inline-flex; align-items: flex-end; gap: 3px; transform: skew(-10deg); }
.brand-mark i { width: 6px; display: block; border-radius: 2px 2px 0 0; background: var(--cyan); }
.brand-mark i:nth-child(1) { height: 13px; opacity: .55; }
.brand-mark i:nth-child(2) { height: 21px; opacity: .8; }
.brand-mark i:nth-child(3) { height: 28px; }
.button, .icon-button, .file-picker { border: 1px solid transparent; border-radius: 7px; padding: 10px 17px; font-size: 12px; font-weight: 650; white-space: nowrap; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.button:hover:not(:disabled), .file-picker:hover { transform: translateY(-1px); }
.button-primary { background: var(--cyan); color: #082027; box-shadow: 0 6px 22px rgba(99, 230, 223, .08); }
.button-primary:hover:not(:disabled) { background: #8af2ec; }
.button-quiet, .icon-button { color: #b6ccd8; border-color: var(--line); background: rgba(16, 31, 49, .65); }
.button-quiet:hover:not(:disabled), .icon-button:hover { border-color: rgba(99, 230, 223, .4); }
.button-small { padding: 5px 10px; font-size: 11px; }
.wide { width: 100%; }
.login-view { min-height: 100svh; max-width: 430px; margin: auto; display: flex; flex-direction: column; justify-content: center; padding: 55px 0; }
.login-view > .brand-lockup { align-self: center; margin-bottom: 35px; }
.login-panel { border: 1px solid var(--line); background: linear-gradient(150deg, rgba(19, 43, 55, .65), var(--panel)); padding: 36px; border-radius: 15px; box-shadow: 0 30px 90px rgba(0, 0, 0, .16); }
.login-panel h1 { font-size: 28px; }
.login-panel .muted { margin-bottom: 25px; }
label { display: block; font-size: 12px; color: #b8cad5; }
label > input:not([type=checkbox]), label > textarea, label > select { display: block; margin-top: 7px; }
.login-panel label { margin-bottom: 18px; }
.login-panel .button { margin-top: 9px; padding-block: 12px; }
.form-message { min-height: 20px; margin: 12px 0 0; color: var(--red); font-size: 11px; text-align: center; }
.back-link { display: block; text-align: center; margin-top: 25px; color: var(--muted); font-size: 12px; }
.back-link:hover { color: var(--cyan); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 89px; border-bottom: 1px solid var(--line); }
.topbar-actions { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.admin-user { color: var(--muted); }
.store-link { color: #b7ccd5; }
.store-link:hover { color: var(--cyan); }
.icon-button { width: 36px; height: 36px; padding: 0; font-size: 20px; }
.page-heading { padding: 44px 0 25px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.page-heading .muted { margin-bottom: 0; }
.availability-strip { display: flex; gap: 25px; align-items: center; }
.availability-item { padding-left: 18px; border-left: 1px solid var(--line); }
.availability-item strong { font-size: 26px; line-height: 1.2; display: block; font-weight: 700; color: var(--cyan); letter-spacing: -.045em; }
.availability-item span { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.availability-item:last-child strong { color: var(--orange); }
.booking-notice { display: flex; gap: 13px; padding: 15px 19px; background: rgba(246, 163, 92, .055); border: 1px solid rgba(246, 163, 92, .24); border-radius: 8px; margin-bottom: 29px; align-items: center; }
.notice-mark { display: grid; place-items: center; border: 1px solid rgba(246, 163, 92, .55); height: 24px; width: 24px; border-radius: 50%; font-size: 13px; font-weight: 800; color: var(--orange); flex: 0 0 auto; }
.booking-notice strong { display: block; font-size: 12px; font-weight: 650; color: #f1bd8e; }
.booking-notice span:not(.notice-mark) { display: block; color: #af9d8d; font-size: 11px; margin-top: 2px; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; }
.tab-button { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 11px 1px 15px; white-space: nowrap; }
.tab-button:hover { color: var(--ink); }
.tab-button.is-active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-count { font-size: 9px; border: 1px solid var(--line); min-width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; padding-inline: 4px; }
.tab-button.is-active .tab-count { border-color: rgba(99, 230, 223, .3); color: var(--cyan); background: rgba(99, 230, 223, .06); }
.section-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin: 0 0 23px; }
.section-toolbar .eyebrow { margin-bottom: 3px; }
.section-toolbar .muted { margin-top: 9px; margin-bottom: 0; }
.toolbar-actions { display: flex; gap: 8px; }
.filters { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 23px; flex-wrap: wrap; }
.filters label { width: 155px; font-size: 11px; min-width: 0; }
.filters select, .filters input { padding: 8px 10px; font-size: 12px; }
.filters .search-field { width: 260px; flex: 1 1 210px; }
.filters .result-count { white-space: nowrap; }
.result-count { margin-left: auto; font-size: 11px; color: var(--muted); padding-bottom: 10px; }
.orders-list { display: grid; gap: 12px; }
.order-card { border: 1px solid var(--line); background: linear-gradient(120deg, rgba(16, 33, 47, .75), rgba(13, 26, 42, .9)); border-radius: 10px; padding: 22px 24px; }
.order-card.is-pending { border-left: 3px solid var(--orange); padding-left: 22px; }
.order-card-header { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; align-items: flex-start; }
.order-id-row { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.order-id { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13px; color: #d3e4ee; overflow-wrap: anywhere; }
.order-time { font-size: 10px; color: var(--muted); margin-top: 5px; }
.badge-group { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.status-badge, .payment-badge, .channel-badge, .featured-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--line); font-size: 10px; white-space: nowrap; }
.status-pending { background: rgba(246, 163, 92, .07); color: var(--orange); border-color: rgba(246, 163, 92, .22); }
.status-confirmed, .status-processing { color: var(--cyan); background: rgba(99, 230, 223, .065); border-color: rgba(99, 230, 223, .22); }
.status-completed { color: #b7dcaf; background: rgba(140, 195, 112, .05); border-color: rgba(140, 195, 112, .22); }
.status-cancelled { color: #8395a3; background: rgba(137, 160, 179, .03); }
.payment-unpaid { color: #d7b59a; border-color: rgba(246, 163, 92, .24); background: rgba(246, 163, 92, .045); }
.payment-paid { color: #b7dcaf; border-color: rgba(140, 195, 112, .26); background: rgba(140, 195, 112, .06); }
.payment-refunded { color: #c8b9e9; border-color: rgba(171, 144, 221, .26); background: rgba(171, 144, 221, .06); }
.featured-badge { color: var(--orange); border-color: rgba(246, 163, 92, .24); background: rgba(246, 163, 92, .045); }
.channel-badge { color: #8fb8cf; background: rgba(62, 116, 150, .08); }
.order-info { display: grid; grid-template-columns: .85fr 1.15fr .55fr .65fr; gap: 18px; margin: 20px 0 0; }
.order-info dt { color: #6f889b; font-size: 10px; margin-bottom: 4px; }
.order-info dd { color: #bfd0dc; font-size: 13px; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-info .order-price { color: var(--orange); font-weight: 700; }
.quote-type { color: #7b93a4; font-size: 9px; font-weight: 400; margin-left: 5px; }
.order-note { margin-top: 16px; padding: 10px 13px; border-left: 2px solid rgba(137, 160, 179, .2); background: rgba(7, 17, 29, .3); color: #96adbd; font-size: 11px; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-note-label { color: #647f92; margin-right: 7px; }
.order-controls { display: flex; align-items: flex-end; gap: 12px; border-top: 1px solid rgba(162, 187, 204, .09); padding-top: 16px; margin-top: 18px; }
.order-controls label { font-size: 10px; }
.order-controls select, .order-controls input { font-size: 12px; padding: 8px 10px; }
.order-controls .status-field, .order-controls .payment-field { width: 135px; flex: 0 0 auto; }
.order-controls .note-field { flex: 1; min-width: 0; }
.order-controls .button { padding-block: 9px; }
.empty-state { min-height: 235px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed rgba(162, 187, 204, .22); border-radius: 10px; padding: 30px; background: rgba(13, 26, 42, .4); }
.empty-icon { width: 47px; height: 47px; border: 1px solid var(--line); border-radius: 11px; color: #5c8797; display: grid; place-items: center; font-size: 21px; margin-bottom: 16px; }
.empty-state h3 { font-size: 15px; margin-bottom: 6px; color: #b4c9d7; }
.empty-state p { max-width: 400px; color: #708c9e; font-size: 12px; margin-bottom: 0; }
.list-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-top: 23px; }
.list-footer .muted { font-size: 11px; }
.pager { display: flex; gap: 8px; }
.editor-form { padding: 27px; border: 1px solid var(--line); border-radius: 10px; background: rgba(13, 26, 42, .8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.span-2 { grid-column: 1 / -1; }
.field-hint { display: inline; color: #708b9f; font-size: 10px; font-weight: 400; margin-left: 7px; }
label > .field-hint { margin-left: 0; }
.form-grid label .field-hint { display: inline; margin-left: 5px; }
.form-grid label > input + .field-hint { display: block; margin: 6px 0 0; }
.upload-row { margin: 18px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.file-picker { background: #142f3c; border-color: rgba(99, 230, 223, .2); color: #a7d8d8; font-size: 11px; position: relative; cursor: pointer; overflow: hidden; }
.file-picker input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.image-preview { display: flex; gap: 11px; flex-wrap: wrap; margin-bottom: 16px; }
.image-preview figure { margin: 0; position: relative; width: 100px; height: 100px; background: #07111d; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.image-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.image-preview button { position: absolute; top: 3px; right: 3px; border: 0; height: 23px; width: 23px; padding: 0; background: rgba(7, 17, 29, .85); border-radius: 4px; color: white; font-size: 16px; }
.toggle-row { display: flex; align-items: flex-start; gap: 11px; margin-top: 19px; }
.toggle-row strong { color: #c3d3dc; font-size: 12px; display: block; }
.toggle-row small { color: #7b96a7; font-size: 11px; display: block; margin-top: 3px; }
.form-footer { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 13px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.inline-message { color: var(--cyan); font-size: 11px; }
.inline-message.is-error { color: var(--red); }
.form-footer > .inline-message { margin-right: auto; }
.agents-list { display: grid; gap: 12px; margin-top: 23px; }
.agent-card { border: 1px solid var(--line); border-radius: 9px; padding: 22px 24px; background: rgba(13, 26, 42, .8); }
.agent-card.is-disabled { opacity: .7; }
.agent-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.agent-heading h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
.agent-code { font-size: 11px; color: var(--cyan); font-family: ui-monospace, Consolas, monospace; font-weight: 400; }
.agent-details { display: flex; gap: 22px; flex-wrap: wrap; margin: 12px 0; color: #829faf; font-size: 11px; }
.agent-note { margin: 0 0 14px; color: #7390a3; font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #557185; border-top: 1px solid var(--line); padding: 24px 0 34px; margin-top: 45px; font-size: 10px; }
.toast { position: fixed; z-index: 40; bottom: 28px; left: 50%; transform: translateX(-50%); background: #173a40; border: 1px solid rgba(99, 230, 223, .4); color: #c7f4ed; padding: 12px 20px; border-radius: 8px; font-size: 12px; box-shadow: 0 12px 50px rgba(0, 0, 0, .3); max-width: calc(100% - 30px); text-align: center; }
.toast.is-error { color: #ffd3cb; background: #3b252c; border-color: rgba(255, 140, 140, .4); }
.boot-error { margin: 70px auto; max-width: 520px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tab-panel { min-width: 0; }
.order-items-wrap { margin-top: 20px; border: 1px solid rgba(162, 187, 204, .12); border-radius: 7px; overflow: hidden; background: rgba(7, 17, 29, .24); }
.order-items { border-collapse: collapse; width: 100%; table-layout: fixed; text-align: left; font-size: 12px; }
.order-items th { background: rgba(16, 31, 49, .8); color: #7896a9; font-size: 10px; font-weight: 500; padding: 9px 13px; }
.order-items th:first-child { width: 52%; }
.order-items th:nth-child(2) { width: 10%; }
.order-items th:nth-child(3), .order-items th:nth-child(4) { width: 19%; }
.order-items th:not(:first-child), .order-items td:not(:first-child) { text-align: right; }
.order-items td { padding: 12px 13px; border-top: 1px solid rgba(162, 187, 204, .08); vertical-align: top; color: #c0d2dd; overflow-wrap: anywhere; }
.line-product-name { font-size: 12px; white-space: pre-wrap; }
.line-price-type { display: block; color: #7693a5; font-size: 10px; margin-top: 2px; }
.order-items .line-total { font-weight: 650; color: #dce8ee; }
.order-items-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; padding: 11px 13px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.order-items-total strong { color: var(--orange); font-size: 17px; margin-left: 9px; white-space: nowrap; }
.products-list { display: grid; gap: 11px; }
.product-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 17px; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: rgba(13, 26, 42, .8); padding: 19px; }
.product-card.is-disabled, .category-card.is-disabled { background: rgba(13, 26, 42, .45); }
.product-card.is-editing { border-color: rgba(99, 230, 223, .45); }
.product-cover { width: 72px; height: 72px; overflow: hidden; display: grid; place-items: center; background: #081521; border: 1px solid var(--line); border-radius: 7px; color: #4c788b; font-size: 27px; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-detail { min-width: 0; }
.product-card-heading { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; }
.product-card-heading h3 { margin: 0; font-size: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
.product-subtitle { margin: 5px 0; color: #86a0b1; font-size: 11px; overflow-wrap: anywhere; white-space: pre-wrap; }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; font-size: 10px; color: #7d9aaa; margin-top: 8px; }
.product-price { color: var(--orange); font-size: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.product-tags span { border: 1px solid rgba(99, 230, 223, .12); background: rgba(99, 230, 223, .025); border-radius: 4px; padding: 0 6px; font-size: 9px; color: #89b6ba; overflow-wrap: anywhere; max-width: 100%; }
.product-actions { display: flex; gap: 7px; align-items: center; }
.catalog-editor { margin-top: 25px; scroll-margin-top: 20px; }
.editor-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 22px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.editor-heading .eyebrow { margin-bottom: 5px; }
.editor-heading h3 { font-size: 20px; margin: 0; }
.editor-heading .muted { margin: 7px 0 0; font-size: 10px; overflow-wrap: anywhere; }
.toggle-group { display: flex; flex-wrap: wrap; gap: 10px 45px; }
.categories-list { display: grid; gap: 11px; }
.category-card { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: rgba(13, 26, 42, .8); padding: 19px 23px; }
.category-icon { width: 43px; height: 43px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid rgba(99, 230, 223, .16); background: rgba(99, 230, 223, .035); border-radius: 8px; color: var(--cyan); font-size: 22px; overflow: hidden; }
.category-detail { flex: 1; min-width: 0; }
.category-detail h3 { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.category-detail .muted { margin: 4px 0 0; font-size: 10px; }
.category-actions { display: flex; gap: 7px; }
#product-form, #category-form { scroll-margin-top: 20px; }
@media (max-width: 850px) {
  .page-shell { width: calc(100% - 40px); }
  .page-heading { align-items: flex-start; }
  .availability-strip { gap: 13px; padding-top: 10px; }
  .availability-item { padding-left: 13px; }
  .availability-item strong { font-size: 22px; }
  .order-info { grid-template-columns: 1fr 1.4fr; gap: 16px; }
  .topbar-actions { gap: 15px; }
  .order-controls { flex-wrap: wrap; }
  .order-controls .note-field { flex-basis: 250px; }
  .product-card { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; }
  .product-cover { width: 62px; height: 62px; }
  .product-actions { grid-column: 2; }
}
@media (max-width: 600px) {
  .page-shell { width: calc(100% - 30px); }
  .topbar { height: 77px; }
  .brand-lockup strong { font-size: 13px; }
  .brand-lockup small { font-size: 7px; }
  .brand-mark { transform: scale(.88) skew(-10deg); }
  .admin-user { display: none; }
  .topbar-actions { gap: 11px; font-size: 11px; }
  .icon-button { width: 31px; height: 31px; }
  .page-heading { display: block; padding-top: 31px; }
  .availability-strip { gap: 29px; margin-top: 25px; padding-top: 0; }
  .availability-item { padding-left: 13px; }
  .availability-item strong { font-size: 25px; }
  .booking-notice { padding: 13px 14px; margin-bottom: 22px; align-items: flex-start; }
  .tabs { gap: 24px; margin-bottom: 23px; }
  .tab-button { font-size: 12px; }
  h2 { font-size: 22px; }
  .section-toolbar { align-items: flex-start; gap: 10px; }
  .toolbar-actions .button { padding: 8px 11px; font-size: 11px; }
  .filters { gap: 10px; flex-wrap: wrap; }
  .filters label { flex: 1; min-width: 120px; }
  .result-count { width: 100%; margin: 0; padding: 0; font-size: 10px; }
  .order-card, .agent-card { padding: 18px 16px; }
  .order-card.is-pending { padding-left: 14px; }
  .order-id { font-size: 11px; }
  .order-card-header { gap: 12px; }
  .order-info { margin-top: 16px; gap: 13px; grid-template-columns: 1fr 1fr; }
  .order-info dd { font-size: 12px; }
  .order-controls { flex-wrap: wrap; gap: 10px; }
  .order-controls .status-field, .order-controls .payment-field { width: calc(50% - 5px); }
  .order-controls .note-field { min-width: 130px; flex-basis: 100%; }
  .order-controls .button { margin-left: auto; padding: 7px 14px; }
  .list-footer { padding-top: 18px; }
  .pager .button { padding: 7px 11px; font-size: 11px; }
  .editor-form { padding: 19px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .span-2 { grid-column: auto; }
  .form-footer { padding-top: 17px; }
  .field-hint { margin-left: 0; }
  .image-preview figure { width: 80px; height: 80px; }
  .agent-details { gap: 10px; }
  .app-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
  .login-panel { padding: 28px 23px; }
  .filters .search-field { flex-basis: 100%; width: 100%; }
  .filters label:not(.search-field) { width: calc(50% - 5px); flex: 1 1 120px; }
  .product-card { grid-template-columns: 48px minmax(0, 1fr); padding: 15px 13px; gap: 12px; }
  .product-cover { width: 48px; height: 56px; align-self: flex-start; }
  .product-card-heading h3 { font-size: 13px; }
  .product-meta { gap: 3px 12px; }
  .product-actions { gap: 8px; }
  .editor-heading { gap: 12px; margin-bottom: 20px; padding-bottom: 18px; }
  .editor-heading h3 { font-size: 18px; }
  .toggle-group { display: block; }
  .order-items th, .order-items td { padding: 9px 8px; }
  .order-items th:first-child { width: 40%; }
  .order-items th:nth-child(2) { width: 14%; }
  .order-items th:nth-child(3), .order-items th:nth-child(4) { width: 23%; }
  .order-items td { font-size: 11px; }
  .order-items td:nth-child(n + 2) { white-space: nowrap; }
  .line-product-name { font-size: 11px; }
  .line-price-type { font-size: 9px; }
  .order-items-total { padding: 10px 9px; font-size: 10px; }
  .order-items-total strong { font-size: 15px; margin-left: 4px; }
  .category-card { gap: 10px; flex-wrap: wrap; padding: 16px; }
  .category-icon { width: 35px; height: 35px; font-size: 18px; }
  .category-actions { width: 100%; justify-content: flex-end; padding-top: 4px; }
  .availability-strip { gap: clamp(10px, 5vw, 29px); }
  .availability-item { min-width: 0; }
  .availability-item span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
