*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scrollbar-color: #c6d6ca #f6f8f5; }
body { margin: 0; background: #f6f8f5; color: var(--ink); font: 400 13px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
input, select, textarea, button { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
::selection { color: var(--ink); background: var(--lime); }
input, textarea { caret-color: var(--forest); }
:where(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
[hidden] { display: none !important; }
.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; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; border-radius: 7px; background: var(--forest); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; display: flex; flex-direction: column; background: white; border-right: 1px solid var(--line); z-index: 20; padding: 27px 18px 18px; overflow-y: auto; }
.admin-brand { display: flex; gap: 10px; align-items: center; margin: 0 7px; }
.admin-brand > span { font-size: 17px; font-weight: 800; letter-spacing: -.5px; line-height: 1.4; }
.admin-brand small { display: block; font-size: 9px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 2px; }
.workspace-switch { display: flex; align-items: center; gap: 10px; margin-top: 29px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 9px; }
.workspace-avatar { display: grid; place-items: center; height: 30px; width: 30px; background: var(--mint); color: var(--forest); font-size: 11px; font-weight: 750; border-radius: 7px; }
.workspace-switch strong { display: block; font-size: 11px; font-weight: 650; }.workspace-switch small { display: block; font-size: 9px; color: var(--muted); margin-top: 1px; }.workspace-switch > .icon { margin-left: auto; color: var(--muted); }
.sidebar-nav { display: flex; flex-direction: column; gap: 5px; padding-block: 24px; }
.sidebar-nav a { display: flex; align-items: center; gap: 13px; padding: 11px 13px; min-height: 43px; color: var(--muted); font-size: 12px; font-weight: 550; border-radius: 8px; }
.sidebar-nav a:hover { background: var(--surface); color: var(--ink); }.sidebar-nav a.active { background: var(--mint); color: var(--forest); font-weight: 700; }.sidebar-nav a.active .icon { stroke-width: 1.9; }
.nav-count { margin-left: auto; display: grid; place-items: center; min-width: 22px; padding: 0 6px; height: 21px; border-radius: 5px; color: var(--forest); background: #e8f0e7; font-size: 10px; font-variant-numeric: tabular-nums; }.active .nav-count { background: white; }
.nav-separator { height: 1px; background: var(--line); margin: 13px; }.sidebar-bottom { margin-top: auto; padding-top: 20px; }.local-status { display: flex; align-items: flex-start; gap: 9px; padding: 15px 10px; background: var(--surface); border-radius: 9px; }.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--forest); margin-top: 5px; flex-shrink: 0; }.local-status strong { display: block; font-size: 10px; font-weight: 650; }.local-status small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }
.sidebar-backup, .sidebar-store { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; padding: 12px 9px; width: 100%; }.sidebar-store { justify-content: space-between; padding-top: 2px; }.sidebar-backup:hover, .sidebar-store:hover { color: var(--forest); }
.admin-shell { margin-left: 244px; min-height: 100dvh; display: flex; flex-direction: column; }.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 77px; background: white; border-bottom: 1px solid var(--line); padding-inline: 36px; }.breadcrumb { display: flex; gap: 13px; align-items: center; font-size: 11px; }.breadcrumb > span { color: var(--muted); }.breadcrumb .icon { width: 12px; height: 12px; color: #96a39a; }.breadcrumb strong { font-weight: 600; }.topbar-right { display: flex; align-items: center; gap: 25px; }.topbar-right > span { font-size: 10px; color: var(--muted); }.topbar-store { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 650; }.workspace-logo { border-radius: 10px; }
.connection-strip { display: flex; align-items: center; gap: 9px; padding: 11px 36px; background: #ebf3e9; color: #45644b; font-size: 10px; }.connection-strip > a { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 650; }.connection-strip .icon { width: 14px; height: 14px; }.storage-error { margin: 20px 36px 0; padding: 15px; color: var(--error); background: #fcecee; border-radius: 8px; font-size: 12px; }
#admin-main { flex: 1; padding: 35px 36px 40px; min-width: 0; outline: none; }.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 27px; }.page-heading h1 { font-size: 29px; font-weight: 750; letter-spacing: -.9px; }.page-heading p { color: var(--muted); font-size: 11px; margin-top: 7px; }.page-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 10px 15px; border-radius: 7px; font-size: 10px; font-weight: 650; line-height: 1.3; transition: background .18s var(--ease); border: 1px solid transparent; }.btn-primary { background: var(--forest); color: white; }.btn-primary:hover { background: var(--forest-hover); }.btn-secondary { background: white; border-color: var(--line); color: var(--ink); }.btn-secondary:hover { background: var(--mint); }.btn-soft { background: var(--mint); color: var(--forest); }.btn-soft:hover { background: var(--mint-deep); }.btn-danger { color: var(--error); background: #fcecee; }.btn-danger:hover { background: #f8dce0; }.btn:disabled { opacity: .45; cursor: not-allowed; }.btn-sm { min-height: 32px; padding: 7px 10px; font-size: 9px; }.btn .icon { width: 16px; height: 16px; }.icon-button { display: grid; place-items: center; width: 35px; height: 35px; padding: 8px; border-radius: 7px; color: var(--muted); flex-shrink: 0; }.icon-button:hover { color: var(--forest); background: var(--mint); }.text-action { color: var(--forest); font-size: 10px; font-weight: 650; padding: 5px 0; display: inline-flex; align-items: center; gap: 7px; }.text-action:hover { text-decoration: underline; }.mobile-menu { display: none; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }.metric { padding: 20px; background: white; border-radius: 12px; border: 1px solid var(--line); }.metric-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }.metric-top .icon { margin-left: auto; color: #7a9681; width: 18px; height: 18px; }.metric-value { display: block; font-size: 29px; letter-spacing: -.9px; font-weight: 750; line-height: 1.4; margin-top: 13px; font-variant-numeric: tabular-nums; }.metric-note { font-size: 9px; color: var(--muted); margin-top: 7px; }
.dashboard-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; }.panel { background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 22px; border-bottom: 1px solid var(--line); }.panel-heading h2, .panel-heading h3 { font-size: 14px; font-weight: 700; letter-spacing: -.2px; }.panel-heading p { font-size: 10px; color: var(--muted); margin-top: 4px; }.panel-body { padding: 22px; }.panel + .panel { margin-top: 22px; }.dashboard-grid > .panel + .panel { margin-top: 0; }.table-wrap { width: 100%; overflow-x: auto; }.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 10px; }.data-table th { font-size: 9px; font-weight: 550; color: var(--muted); background: #fafbf9; padding: 12px 20px; border-bottom: 1px solid var(--line); }.data-table td { padding: 15px 20px; border-bottom: 1px solid #edf0ed; vertical-align: middle; }.data-table tbody tr:last-child td { border-bottom: 0; }.data-table tbody tr:hover { background: #fbfcfa; }.data-table strong { font-weight: 650; }.data-table small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }.data-table .amount { font-variant-numeric: tabular-nums; font-weight: 650; }.row-link { padding: 0; color: var(--forest); font-size: 10px; font-weight: 650; text-align: left; }.row-link:hover { text-decoration: underline; }.row-actions { display: flex; justify-content: flex-end; gap: 6px; }.empty-cell { padding: 0 !important; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; font-size: 9px; font-weight: 550; white-space: nowrap; line-height: 1.5; }.badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }.badge-draft, .badge-unpaid, .badge-pending, .badge-unknown { background: #f0f2ef; color: #69746b; }.badge-confirmed, .badge-approved, .badge-paid, .badge-delivered, .badge-active, .badge-in { background: #e7f3e9; color: #226540; }.badge-processing, .badge-shipped { background: #eaf0fb; color: #3f639e; }.badge-low { background: #fbf2df; color: #8b6525; }.badge-cancelled, .badge-refunded, .badge-hidden, .badge-out, .badge-inactive { background: #fae9e9; color: #9b454a; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 45px 25px; text-align: center; min-height: 285px; }.empty-state .empty-icon { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 15px; background: var(--mint); color: var(--forest); margin-bottom: 20px; }.empty-state h3 { font-size: 18px; font-weight: 650; letter-spacing: -.4px; }.empty-state p { max-width: 350px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.9; }.empty-state .btn { margin-top: 20px; }.empty-state.compact { min-height: 220px; padding: 30px 22px; }.empty-state.compact h3 { font-size: 15px; }.empty-state.compact p { font-size: 10px; }.empty-state.compact .empty-icon { width: 42px; height: 42px; margin-bottom: 15px; }
.setup-list { display: flex; flex-direction: column; gap: 0; }.setup-step { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }.setup-step:last-child { border: 0; padding-bottom: 2px; }.setup-step:first-child { padding-top: 0; }.setup-check { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #8d9c91; border: 1px solid var(--line); flex-shrink: 0; }.setup-check.done { background: var(--mint); border-color: var(--mint); color: var(--forest); }.setup-check .icon { width: 13px; height: 13px; }.setup-step strong { display: block; font-size: 11px; font-weight: 600; }.setup-step small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }.setup-step > .icon { margin-left: auto; color: var(--muted); width: 14px; height: 14px; }.summary-note { font-size: 10px; color: var(--muted); line-height: 1.9; }.summary-note .text-action { margin-top: 8px; }.dashboard-note { padding: 20px 22px; margin-top: 22px; display: flex; align-items: flex-start; gap: 12px; background: var(--mint); border-radius: 10px; color: #41654c; font-size: 10px; line-height: 1.9; }.dashboard-note .icon { margin-top: 3px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 20px; border-bottom: 1px solid var(--line); }.toolbar-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }.search-field { display: flex; align-items: center; gap: 9px; padding-inline: 11px; border: 1px solid var(--line); border-radius: 7px; background: white; min-width: 230px; }.search-field > .icon { width: 16px; height: 16px; color: var(--muted); }.search-field input { min-width: 0; width: 100%; height: 37px; border: 0; outline-offset: 0; background: transparent; font-size: 10px; }.search-field input::placeholder { color: var(--muted); opacity: 1; }.toolbar select { height: 38px; border: 1px solid var(--line); border-radius: 7px; background: white; padding: 7px 27px 7px 10px; font-size: 10px; max-width: 170px; }.toolbar-caption { color: var(--muted); font-size: 9px; white-space: nowrap; }.table-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.table-pagination { display: flex; align-items: center; gap: 12px; }.table-pagination span { font-size: 9px; font-variant-numeric: tabular-nums; }.table-pagination .icon-button { width: 28px; height: 28px; padding: 6px; border: 1px solid var(--line); }.table-pagination .icon-button:disabled { opacity: .35; cursor: not-allowed; }.table-pagination .previous .icon { transform: rotate(180deg); }.product-cell { display: flex; align-items: center; gap: 12px; min-width: 200px; max-width: 320px; }.product-cell img, .product-thumb { width: 39px; height: 45px; object-fit: contain; background: var(--surface); border-radius: 6px; padding: 3px; flex-shrink: 0; }.product-thumb { display: grid; place-items: center; color: #94a697; }.product-thumb .icon { width: 20px; height: 20px; }.product-cell strong { display: block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }.product-cell small { font-size: 8px; }.inventory-input { width: 75px; min-height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font-size: 11px; background: white; }.inventory-controls { display: flex; align-items: center; gap: 7px; }.filters-line { padding: 0 20px 16px; display: flex; gap: 9px; flex-wrap: wrap; }.filter-chip { padding: 5px 10px; border-radius: 20px; font-size: 9px; color: var(--muted); background: var(--surface); }.filter-chip.active { background: var(--mint); color: var(--forest); }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 15px 18px; background: #edf4e9; border-radius: 8px; color: #4b6850; font-size: 10px; line-height: 1.9; margin-bottom: 22px; }.notice .icon { margin-top: 1px; width: 17px; height: 17px; }.notice.warning { background: #fbf3e2; color: #82652e; }.notice p + p { margin-top: 6px; }
.settings-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }.form-stack { display: flex; flex-direction: column; gap: 22px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.field { display: flex; flex-direction: column; gap: 7px; font-size: 10px; font-weight: 600; min-width: 0; }.field.full { grid-column: 1 / -1; }.field input, .field select, .field textarea { display: block; width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid #dce5dd; border-radius: 7px; background: white; font-size: 11px; font-weight: 400; }.field textarea { resize: vertical; min-height: 90px; max-height: 300px; }.field input::placeholder, .field textarea::placeholder { color: #7a897e; opacity: 1; }.field small { color: var(--muted); font-size: 9px; font-weight: 400; line-height: 1.8; }.field input[readonly] { background: var(--surface); color: var(--muted); }.check-label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 400; }.check-label input { accent-color: var(--forest); width: 15px; height: 15px; flex-shrink: 0; }.form-error { padding: 12px 15px; border-radius: 7px; background: #fcecee; color: var(--error); font-size: 11px; margin-bottom: 18px; }.form-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; padding-top: 23px; }.form-note { font-size: 9px; color: var(--muted); margin-right: auto; max-width: 330px; line-height: 1.8; }.subheading { font-size: 12px; font-weight: 650; padding-bottom: 15px; margin: 25px 0 18px; border-bottom: 1px solid var(--line); }.subheading:first-child { margin-top: 0; }.connection-list { display: flex; flex-direction: column; gap: 18px; }.connection-row { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; }.connection-row span:last-child { color: var(--muted); font-size: 9px; }.settings-info { color: var(--muted); font-size: 10px; line-height: 1.9; margin-top: 20px; }.settings-info a { color: var(--forest); text-decoration: underline; }.backup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }.backup-actions .btn { font-size: 9px; }
dialog { color: var(--ink); background: white; border: 0; padding: 0; overscroll-behavior: contain; }dialog::backdrop { background: rgb(16 39 26 / 38%); }body:has(dialog[open]) { overflow: hidden; }.admin-dialog { width: min(730px, calc(100% - 40px)); max-height: calc(100dvh - 48px); border-radius: 14px; }.admin-dialog.wide { width: min(930px, calc(100% - 40px)); }.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; padding: 25px 28px 22px; border-bottom: 1px solid var(--line); }.dialog-heading h2 { font-size: 23px; font-weight: 700; letter-spacing: -.7px; }.dialog-heading p { color: var(--muted); font-size: 10px; margin-top: 6px; max-width: 520px; line-height: 1.8; }.dialog-heading .icon-button { margin-top: -4px; margin-right: -6px; }#editor-body { padding: 25px 28px 28px; }.order-dialog { width: min(1000px, calc(100% - 40px)); }.order-detail-body { padding: 25px 28px 28px; }.order-title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }.order-title-line h2 { font-size: 23px; }.order-detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }.order-items-table td, .order-items-table th { padding: 12px; }.order-items-table { white-space: normal; }.order-summary-lines { padding: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }.order-summary-lines > div { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }.order-summary-lines > div:last-child { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 750; font-size: 15px; }.customer-detail h3 { font-size: 12px; margin-bottom: 11px; }.customer-detail p { font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; white-space: pre-line; }.customer-detail p + p { margin-top: 8px; }.muted { color: var(--muted); }.timeline { display: flex; flex-direction: column; gap: 16px; }.timeline-row { display: flex; align-items: flex-start; gap: 12px; }.timeline-dot { margin-top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #97b59e; flex-shrink: 0; }.timeline-row p { font-size: 10px; }.timeline-row small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }.order-update-form .field { margin-bottom: 14px; }.order-update-form .btn { width: 100%; }.line-item-picker { display: grid; grid-template-columns: minmax(150px, 1fr) 80px 100px auto; align-items: end; gap: 12px; }.line-item-picker .btn { min-height: 41px; }.line-item-list { margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }.line-item-list:empty { display: none; }.line-item-row { display: grid; grid-template-columns: 1fr 80px 100px 30px; gap: 12px; align-items: center; padding: 13px 14px; font-size: 10px; border-bottom: 1px solid var(--line); }.line-item-row:last-child { border: 0; }.line-item-row small { display: block; color: var(--muted); font-size: 9px; }.draft-total { display: flex; justify-content: flex-end; gap: 25px; padding-top: 17px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }.product-preview { display: flex; align-items: center; gap: 15px; padding: 15px; background: var(--surface); border-radius: 8px; margin-bottom: 22px; }.product-preview img { width: 53px; height: 64px; object-fit: contain; }.product-preview strong { display: block; font-size: 12px; }.product-preview small { display: block; color: var(--muted); font-size: 9px; margin-top: 3px; }.product-preview a { display: block; color: var(--forest); font-size: 9px; margin-top: 5px; }.stock-note { padding-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.9; }.import-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 23px; }.import-summary > div { padding: 18px; border: 1px solid var(--line); border-radius: 8px; }.import-summary strong { display: block; font-size: 24px; }.import-summary small { color: var(--muted); font-size: 10px; }.import-errors { max-height: 160px; overflow: auto; font-size: 10px; color: var(--error); margin-bottom: 20px; line-height: 1.9; }
.admin-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 22px; }.review-card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 9px; }.review-head { display: flex; align-items: center; gap: 10px; }.review-avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--mint); color: var(--forest); font-size: 11px; font-weight: 650; }.review-head strong { display: block; font-size: 11px; }.review-head small { font-size: 9px; color: var(--muted); }.review-head .badge { margin-left: auto; }.review-rating { display: inline-flex; gap: 3px; margin-top: 17px; color: #b88336; }.review-rating .icon { width: 14px; height: 14px; }.review-rating .filled { fill: currentColor; }.review-card > p { margin-top: 12px; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; white-space: pre-wrap; }.review-product { margin-top: 15px; font-size: 9px; color: var(--muted); }.review-actions { display: flex; gap: 9px; margin-top: 20px; }.status-bars { display: flex; flex-direction: column; gap: 16px; }.status-bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 10px; }.status-bar-track { height: 5px; background: #f0f3ee; border-radius: 8px; overflow: hidden; }.status-bar-track span { display: block; height: 100%; background: #83ad90; border-radius: inherit; }.admin-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 36px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }.admin-footer a { color: var(--forest); }.admin-toast { position: fixed; z-index: 100; bottom: 24px; left: calc(50% + 122px); transform: translateX(-50%); max-width: min(600px, calc(100% - 36px)); display: flex; align-items: center; gap: 11px; padding: 14px 20px; border-radius: 9px; background: var(--ink); color: white; box-shadow: 0 8px 25px rgb(24 54 44 / 15%); font-size: 11px; }.admin-toast .icon { color: var(--lime); width: 18px; height: 18px; }.admin-toast.error { background: #8c363d; }.sidebar-scrim { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 19; background: rgb(16 39 26 / 35%); }.no-script { margin: 30px 30px 30px 280px; padding: 25px; background: white; color: var(--error); border-radius: 10px; }
@media (min-width: 1700px) { #admin-main { width: 100%; max-width: 1600px; align-self: center; padding-inline: 48px; }.topbar { padding-inline: 48px; }.connection-strip { padding-inline: 48px; } }
@media (max-width: 1200px) { .sidebar { width: 218px; padding-inline: 14px; }.admin-shell { margin-left: 218px; }.admin-brand { gap: 8px; }.admin-brand > span { font-size: 16px; }.admin-brand img { width: 37px; height: 37px; }.topbar { padding-inline: 26px; }.connection-strip { padding-inline: 26px; }#admin-main { padding: 28px 26px 35px; }.metrics { gap: 13px; }.metric { padding: 17px; }.metric-value { font-size: 25px; }.dashboard-grid { grid-template-columns: 1.4fr 1fr; gap: 18px; }.panel-heading { padding: 19px; }.panel-body { padding: 19px; }.page-heading h1 { font-size: 27px; }.toolbar { flex-wrap: wrap; }.settings-grid { grid-template-columns: 1.2fr 1fr; gap: 18px; }.admin-toast { left: calc(50% + 109px); }.admin-footer { margin-inline: 26px; } }
@media (max-width: 1000px) { .metrics { grid-template-columns: repeat(2, 1fr); }.dashboard-grid { grid-template-columns: 1fr; }.settings-grid { grid-template-columns: 1fr; }.page-heading { align-items: flex-start; }.page-actions { flex-wrap: wrap; justify-content: flex-end; }.topbar-right > span { display: none; }.topbar { min-height: 70px; }.connection-strip { align-items: flex-start; }.connection-strip > a { display: none; }.admin-review-grid { grid-template-columns: 1fr; }.order-detail-layout { grid-template-columns: 1fr; }.line-item-picker { grid-template-columns: 1fr 70px 90px auto; gap: 9px; } }
@media (max-width: 760px) { .sidebar { transform: translateX(-100%); width: 244px; transition: transform .2s var(--ease); }.sidebar.open { transform: translateX(0); }.admin-shell { margin-left: 0; }.topbar { gap: 12px; min-height: 65px; padding-inline: 20px; }.mobile-menu { display: grid; margin-left: -6px; }.breadcrumb { gap: 9px; margin-right: auto; font-size: 10px; }.breadcrumb > span { display: none; }.breadcrumb > .icon { display: none; }.topbar-right { gap: 15px; }.topbar-store { font-size: 9px; }.workspace-logo { width: 30px; height: 30px; border-radius: 8px; }.connection-strip { padding: 10px 20px; gap: 8px; font-size: 9px; }.connection-strip > .icon { margin-top: 2px; }#admin-main { padding: 25px 20px 30px; }.page-heading { flex-direction: column; gap: 18px; margin-bottom: 22px; }.page-heading h1 { font-size: 27px; }.page-heading p { font-size: 10px; }.page-actions { justify-content: flex-start; gap: 9px; }.btn { font-size: 10px; padding-inline: 13px; min-height: 38px; }.btn .icon { width: 15px; height: 15px; }.metrics { gap: 12px; margin-bottom: 20px; }.metric { padding: 16px; }.metric-top { font-size: 9px; gap: 6px; }.metric-top .icon { width: 16px; height: 16px; }.metric-value { font-size: 25px; margin-top: 12px; }.metric-note { font-size: 8px; line-height: 1.8; }.panel-heading { padding: 18px; gap: 12px; }.panel-heading h2, .panel-heading h3 { font-size: 13px; }.panel-heading p { font-size: 9px; }.panel-heading .text-action { font-size: 9px; }.panel-body { padding: 18px; }.toolbar { padding: 15px; gap: 12px; }.toolbar-group { width: 100%; gap: 9px; }.search-field { min-width: 0; width: 100%; }.toolbar select { flex: 1; max-width: 100%; font-size: 9px; }.toolbar-caption { font-size: 9px; }.data-table th { padding: 12px 15px; }.data-table td { padding: 14px 15px; }.table-footer { padding: 14px 15px; font-size: 9px; gap: 12px; }.table-pagination { gap: 7px; }.table-pagination span { font-size: 8px; }.filters-line { padding-inline: 15px; }.empty-state { min-height: 270px; padding: 35px 20px; }.empty-state h3 { font-size: 17px; }.empty-state p { font-size: 10px; }.dashboard-note { padding: 17px; font-size: 9px; }.notice { font-size: 9px; padding: 14px; margin-bottom: 20px; }.settings-grid { gap: 20px; }.form-grid { gap: 16px; }.field { font-size: 10px; }.field input, .field select, .field textarea { font-size: 11px; padding-inline: 10px; }.field small { font-size: 8px; }.admin-footer { margin-inline: 20px; flex-wrap: wrap; font-size: 8px; gap: 10px; }.admin-toast { left: 50%; bottom: 16px; font-size: 10px; padding: 13px 16px; }.admin-dialog, .admin-dialog.wide, .order-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 12px; }.dialog-heading { padding: 22px 20px 19px; gap: 15px; }.dialog-heading h2 { font-size: 21px; }.dialog-heading p { font-size: 9px; }#editor-body, .order-detail-body { padding: 20px; }.line-item-picker { grid-template-columns: 1fr 1fr; gap: 12px; }.line-item-picker > .field:first-child { grid-column: 1 / -1; }.line-item-picker .btn { grid-column: 1 / -1; }.line-item-row { grid-template-columns: 1fr 45px 70px 25px; gap: 6px; padding: 12px 10px; font-size: 9px; }.line-item-row small { font-size: 8px; }.order-title-line h2 { font-size: 20px; }.order-title-line { gap: 8px; }.form-actions { flex-wrap: wrap; gap: 9px; }.form-note { flex-basis: 100%; margin-bottom: 10px; }.admin-review-grid { padding: 15px; gap: 15px; }.review-card { padding: 17px; }.review-head { gap: 9px; }.review-head .badge { font-size: 8px; }.import-summary { gap: 10px; }.import-summary > div { padding: 13px; }.import-summary strong { font-size: 21px; }.import-summary small { font-size: 9px; }.storage-error { margin: 20px 20px 0; font-size: 10px; }.no-script { margin: 20px; } }
@media (max-width: 420px) { .form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.metric-top .icon { display: none; }.metric-value { font-size: 23px; }.metrics { gap: 10px; }.metric { padding: 14px; }.topbar-store { display: none; }.admin-footer span:nth-child(2) { display: none; }.page-actions .btn { font-size: 9px; padding-inline: 11px; }.order-title-line { flex-direction: column; align-items: flex-start; } }
@media print { .sidebar, .topbar, .connection-strip, .admin-footer, .page-actions, .admin-toast, .form-actions, .order-update-form, .dialog-heading .icon-button, .toolbar, .row-actions, .table-footer { display: none !important; }.admin-shell { margin: 0; }body { background: white; }dialog[open] { position: static; max-height: none; width: 100%; margin: 0; }body:has(dialog[open]) .admin-shell { display: none; }dialog::backdrop { display: none; }.order-detail-layout { grid-template-columns: 1fr; }.table-wrap { overflow: visible; }.panel { break-inside: avoid; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
