:root {
  --ink: #202632;
  --muted: #626e7f;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff5ff;
  --line: #e1e6ee;
  --canvas: #f6f7f9;
  --green: #18734f;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: 0; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; letter-spacing: 0; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: none; padding: 0; }
button, .button { transition: color 150ms, background-color 150ms, border-color 150ms, transform 80ms; }
button:active:not(:disabled), .button:active { transform: scale(.98); }
button:disabled { cursor: default; color: var(--muted); opacity: .45; }
button:disabled:active { transform: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
input, select { min-width: 0; }
input::placeholder { color: #6b7280; opacity: 1; }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
svg.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
button > span:has(> .icon) { display: inline-flex; align-items: center; }
[x-cloak] { 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; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; background: white; padding: 12px; border: 1px solid var(--blue); border-radius: 4px; }
.skip-link:focus { top: 10px; }
.boot-message { position: absolute; top: 140px; left: 44px; color: var(--muted); }
.app-ready .boot-message { display: none; }
.noscript { padding: 24px 44px; }
.site-header { height: 64px; padding: 0 44px; display: flex; align-items: center; gap: 58px; background: white; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 720; white-space: nowrap; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; background: var(--blue); color: white; border-radius: 6px; }
.main-nav { display: flex; align-self: stretch; position: relative; }
.main-nav a { width: 111px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--blue-dark); font-weight: 650; }
.main-nav::after { content: ''; height: 3px; width: 81px; position: absolute; left: 15px; bottom: 0; background: var(--blue); transform: translateX(calc(var(--nav-index, 0) * 111px)); transition: transform 240ms var(--ease); }
.nav-count { font-size: 12px; line-height: 18px; min-width: 18px; text-align: center; padding: 0 4px; border-radius: 3px; background: #eef1f6; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.timezone { font-size: 13px; color: var(--muted); white-space: nowrap; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 32px; border-radius: 4px; color: var(--muted); }
.icon-button:hover { background: #edf1f7; color: var(--ink); }
.icon-button[title] { position: relative; }
.icon-button[title]:hover::after { content: attr(title); position: absolute; right: 0; top: calc(100% + 7px); color: white; background: #252e3a; font-size: 12px; font-weight: 400; line-height: 1.5; padding: 5px 8px; border-radius: 4px; white-space: nowrap; z-index: 20; pointer-events: none; }
.merchant-band { background: white; border-bottom: 1px solid var(--line); padding: 0 44px; }
.merchant-options { display: flex; align-items: center; gap: 9px; min-height: 63px; overflow-x: auto; scrollbar-width: thin; }
.merchant-tab { padding: 8px 12px; gap: 8px; border: 1px solid transparent; border-radius: 5px; color: #596678; flex-shrink: 0; font-size: 13px; white-space: nowrap; }
.merchant-tab:hover { background: #f4f6f9; }
.merchant-tab.active { color: var(--blue-dark); background: var(--blue-soft); border-color: #d4e1fc; }
.all-merchants { font-weight: 600; }
.all-merchants > span { margin-left: 4px; }
.merchant-count { margin-left: 2px; color: var(--muted); }
.merchant-separator { width: 1px; height: 24px; background: var(--line); margin: 0 6px; flex-shrink: 0; }
.merchant-image { display: inline-flex; width: 28px; height: 28px; flex-shrink: 0; align-items: center; justify-content: center; }
.merchant-image img { display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: contain; }
.vps-monogram { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 4px; color: white; background: #242424; font-weight: 700; font-size: 15px; }
.merchant-tab .merchant-image { width: 21px; height: 21px; }
.merchant-tab .vps-monogram { font-size: 13px; }
.workspace { max-width: 1680px; margin: 0 auto; padding: 0 44px; }
.page-heading { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.heading-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.heading-main h1 { font-size: 25px; font-weight: 690; line-height: 1.35; outline: none; white-space: nowrap; }
.page-summary { border-left: 1px solid #d5dce6; padding-left: 16px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.page-summary i { font-style: normal; margin: 0 4px; }
.updated { color: var(--muted); font-size: 13px; display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.updated time { margin-left: 5px; }
.activity-summary { margin-right: 13px; }
.activity-summary b { color: var(--green); font-weight: 600; margin-left: 6px; }
.storage-error { display: flex; align-items: center; gap: 9px; color: #8a3a21; padding: 11px 16px; border: 1px solid #e4c9bb; background: #fff5ee; border-radius: 5px; margin-bottom: 15px; font-size: 13px; }
.storage-error button { margin-left: auto; white-space: nowrap; color: #803019; text-decoration: underline; text-underline-offset: 3px; }
.catalog-filters { display: flex; align-items: center; gap: 10px; background: white; padding: 15px 16px; border-top: 1px solid var(--line); }
.search-field, .select-field, .price-filter { height: 36px; display: flex; align-items: center; gap: 8px; border: 1px solid #d7dfea; border-radius: 4px; background: white; }
.search-field { min-width: 230px; flex: 1; padding: 0 11px; color: var(--muted); }
.search-field input { outline: none; border: 0; width: 100%; background: transparent; font-size: 13px; }
.search-field:focus-within, .select-field:focus-within, .price-filter:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px #eaf1ff; }
.select-field { padding: 0 10px; font-size: 13px; color: var(--muted); position: relative; flex-shrink: 0; }
.select-field > span { pointer-events: none; }
.select-field select { appearance: none; border: 0; outline: 0; background: transparent; padding: 0 19px 0 0; color: #455268; cursor: pointer; width: 90px; height: 100%; }
.select-field .icon { position: absolute; right: 9px; pointer-events: none; }
.price-filter { padding: 0 10px; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.price-filter span { white-space: nowrap; }
.price-filter input { border: 0; background: transparent; outline: none; width: 57px; }
.button { height: 36px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; border: 1px solid #d7dfea; background: white; color: #47566b; padding: 0 12px; border-radius: 4px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.button:hover { background: #f5f8fd; border-color: #b5c8e8; color: #1d4ed8; }
.button.primary { background: var(--blue); border-color: var(--blue); color: white; }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.selected-button { color: var(--blue-dark); background: var(--blue-soft); border-color: #cbdcfb; }
.filter-count { min-width: 17px; height: 18px; background: #dbe8ff; color: var(--blue-dark); font-size: 12px; border-radius: 3px; }
.reset-filters { flex-shrink: 0; }
.advanced-filters { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 0 16px 16px; background: white; }
.advanced-label { font-size: 13px; color: var(--muted); }
.advanced-filters label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.advanced-filters label input { width: 78px; height: 32px; border: 1px solid #d7dfea; border-radius: 4px; padding: 0 9px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 16px; background: white; border-top: 1px solid #edf0f5; border-bottom: 1px solid var(--line); }
.stock-segments { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.stock-segments button { height: 29px; border-radius: 4px; color: var(--muted); padding: 0 11px; }
.stock-segments button:hover { background: #f3f6fa; }
.stock-segments button.active { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }
.stock-segments button span { font-size: 12px; }
.results-count { border-left: 1px solid var(--line); padding-left: 15px; margin-left: 9px; color: var(--muted); }
.results-count b { font-weight: 500; }
.sort-controls { display: flex; align-items: center; gap: 5px; }
.sort-controls label { font-size: 13px; color: var(--muted); }
.sort-controls select { background: transparent; border: 0; color: #455268; cursor: pointer; padding: 4px 3px; margin-left: 6px; }
.table-scroller { overflow-x: auto; background: white; }
.inventory-table { border-collapse: collapse; table-layout: fixed; width: 100%; min-width: 1180px; text-align: left; }
.col-product { width: 25%; }.col-cpu { width: 5%; }.col-ram { width: 6%; }.col-disk { width: 10%; }.col-traffic { width: 10%; }.col-route { width: 8%; }.col-price { width: 12%; }.col-stock { width: 10%; }.col-actions { width: 14%; }
.inventory-table th { height: 41px; padding: 0 10px; font-size: 13px; font-weight: 500; background: #f9fafc; border-bottom: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.inventory-table td { padding: 9px 10px; height: 62px; border-bottom: 1px solid #edf0f5; font-size: 13px; }
.inventory-table th:first-child, .inventory-table td:first-child { padding-left: 19px; }
.inventory-table tr:last-child td { border-bottom: 0; }
.inventory-table tbody tr:hover { background: #f7faff; }
.sort-heading { font-size: 13px; font-weight: 500; justify-content: flex-start; gap: 4px; height: 36px; }
.sort-heading > span { color: #667389; opacity: .55; display: flex; }
.sort-heading .sort-active { color: var(--blue-dark); opacity: 1; }
.sort-heading .sort-up { transform: rotate(180deg); }
.product-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.product-cell > div { min-width: 0; }
.product-name { display: block; text-align: left; font-size: 14px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.product-name:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.product-meta { color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.5; }
.meta-slash { margin: 0 7px; }
.spec-value { color: #455268; white-space: nowrap; }
.unit { color: var(--muted); font-size: 13px; margin-left: 5px; }
.secondary { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.5; white-space: nowrap; }
.route-badge { display: inline-block; border: 1px solid #dfe7f4; background: #f2f6fc; color: #436594; border-radius: 3px; padding: 1px 5px; white-space: nowrap; font-size: 12px; }
.route-badge.ordinary { background: #f5f6f8; border-color: #e6e9ef; color: var(--muted); }
.monthly-price { display: inline-flex; align-items: baseline; color: #263e64; white-space: nowrap; gap: 2px; line-height: 1.1; }
.monthly-price small { font-size: 13px; }.monthly-price strong { font-size: 18px; font-weight: 650; }.monthly-price > span { margin-left: 3px; font-size: 13px; color: var(--muted); }
.stock-label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; }
.stock-label i { display: inline-block; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.in-stock { color: var(--green); }.out-of-stock { color: var(--muted); }
.row-actions { display: flex; align-items: center; gap: 9px; }
.subscribe-icon { border: 1px solid #dce3ed; color: #667389; background: white; }
.subscribe-icon.subscribed { background: #f0f5ff; border-color: #cbdcfb; color: var(--blue-dark); }
.subscribe-icon:hover { border-color: #afc6ee; background: #eaf2ff; color: var(--blue-dark); }
.button.small { height: 31px; padding: 0 9px; font-size: 13px; gap: 5px; }
.buy-link { color: var(--blue-dark); border-color: #cbdcfb; background: #f7faff; }
.muted-button { color: var(--muted); }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: white; min-height: 51px; padding: 9px 19px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.range-summary b { font-weight: 500; color: #455268; }
.pagination { display: flex; align-items: center; gap: 6px; }
.pagination label { margin-right: 12px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pagination select { font-size: 13px; border: 1px solid #dce3ed; border-radius: 4px; padding: 3px 5px; background: white; }
.page-number { min-width: 28px; padding: 3px 5px; color: var(--blue-dark); text-align: center; border-radius: 3px; background: var(--blue-soft); }
.page-total { color: var(--muted); margin-left: 4px; }
.currency-note { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 15px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; min-height: 59px; padding: 18px 0; }
.empty-state { min-height: 310px; background: white; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px; }
.empty-icon { color: #65768d; margin-bottom: 4px; }
.empty-state h2 { font-size: 17px; font-weight: 600; }.empty-state p { color: var(--muted); font-size: 14px; line-height: 1.7; }.empty-state .button { margin-top: 7px; }
.mobile-products { display: none; }
.inventory-view { position: relative; }
.mobile-filter-toggle { display: none; }
.activity-desk { display: grid; grid-template-columns: minmax(0,1fr) 378px; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activity-list { min-width: 0; border-right: 1px solid var(--line); }
.activity-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 23px; min-height: 59px; border-bottom: 1px solid var(--line); }
.activity-tabs { display: flex; align-self: stretch; position: relative; }
.activity-tabs button { width: 91px; font-size: 13px; color: var(--muted); }
.activity-tabs .active { color: var(--ink); font-weight: 650; }
.activity-tabs::after { content: ''; height: 2px; width: 67px; background: var(--blue); position: absolute; bottom: 0; left: 12px; transform: translateX(calc(var(--tab-index,0) * 91px)); transition: transform 230ms var(--ease); }
.activity-merchant { display: flex; align-items: center; position: relative; color: var(--muted); }
.activity-merchant select { appearance: none; border: 0; background: transparent; font-size: 13px; cursor: pointer; width: 104px; height: 34px; padding: 0 20px 0 4px; }
.activity-merchant .icon { position: absolute; right: 0; pointer-events: none; }
.activity-search-row { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 10px; padding: 0 25px; border-bottom: 1px solid #eef1f5; }
.event-search { display: flex; align-items: center; gap: 8px; color: var(--muted); flex: 1; }
.event-search input { width: 100%; border: 0; outline: none; font-size: 13px; background: transparent; height: 33px; }
.event-order { color: var(--muted); font-size: 13px; gap: 5px; white-space: nowrap; }
.event-date { height: 35px; background: #f9fafc; border-bottom: 1px solid #edf0f5; color: var(--muted); display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 0 25px; }
.event-date b { font-weight: 400; }
.event-row { min-height: 73px; display: grid; width: 100%; grid-template-columns: 70px 24px minmax(0,1fr) 88px 80px 14px; align-items: center; text-align: left; gap: 10px; padding: 12px 20px 12px 25px; border-bottom: 1px solid #edf0f5; border-radius: 0; }
.event-rows > [role=listitem]:last-child .event-row { border-bottom: 0; }
.event-row:hover { background: #f6f9ff; }
.event-row.selected { background: #f1f6ff; box-shadow: inset 3px 0 var(--blue); }
.event-time { color: #526075; font-size: 13px; white-space: nowrap; }
.event-marker { width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dce3ea; border-radius: 50%; background: white; }
.event-marker.in-stock { border-color: #c4dfd0; }
.event-product { min-width: 0; }.event-product-title { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13px; line-height: 1.5; }
.event-product-title .merchant-image { width: 21px; height: 21px; }.event-product-title .vps-monogram { font-size: 13px; }
.event-product-title strong { font-weight: 650; }.event-product-name { color: #455268; overflow-wrap: anywhere; }
.event-subscription { color: #506d9b; display: inline-flex; }.event-product-meta { display: block; font-size: 13px; line-height: 1.55; color: var(--muted); padding-left: 28px; margin-top: 3px; }
.state-change { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; }.state-change > span { color: var(--muted); }.state-change > .icon { color: #667389; }.state-change strong { font-weight: 600; }
.event-state-text { color: var(--muted); display: block; font-size: 13px; margin-top: 4px; }
.event-price { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; font-size: 13px; white-space: nowrap; color: #455268; }.event-price strong { font-weight: 550; }.event-price > span { color: var(--muted); }
.event-arrow { color: #637084; }.selected .event-arrow { color: var(--blue-dark); }
.activity-detail { min-width: 0; }.activity-detail .product-detail { position: sticky; top: 0; }
.product-detail { padding: 20px 25px 24px; }
.detail-overline { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 31px; color: var(--muted); font-size: 13px; margin-bottom: 13px; }
.mobile-detail-close { visibility: hidden; }
.detail-merchant { display: flex; align-items: center; gap: 11px; }.detail-merchant .merchant-image { width: 33px; height: 33px; }.detail-merchant strong { display: block; font-size: 14px; font-weight: 650; }.detail-merchant a { color: var(--muted); font-size: 13px; }.detail-merchant a:hover { color: var(--blue-dark); text-decoration: underline; }
.detail-name { font-size: 24px; line-height: 1.4; font-weight: 680; margin-top: 17px; overflow-wrap: anywhere; }
.detail-location { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 6px; }.route-inline { border-left: 1px solid var(--line); margin-left: 5px; padding-left: 10px; }
.detail-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; margin-top: 19px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.detail-description { font-size: 13px; color: var(--muted); line-height: 1.75; margin-top: 15px; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 15px; margin: 20px 0; }.detail-specs dt { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }.detail-specs dd { font-weight: 550; font-size: 14px; }
.detail-pricing { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }.detail-price { color: #263e64; font-size: 29px; font-weight: 670; line-height: 1.2; }.detail-pricing p { width: 100%; margin-top: 0; }
.detail-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 19px; }.detail-buttons .button { height: 40px; font-size: 14px; }.detail-buttons .subscription-active { background: var(--blue-soft); color: var(--blue-dark); border-color: #cbdcfb; }.detail-buttons .primary.subscription-active { background: var(--blue); color: white; border-color: var(--blue); }
.detail-error { color: #8a3a21; margin-top: 11px; font-size: 13px; line-height: 1.65; }
.detail-event { margin-top: 21px; padding-top: 15px; border-top: 1px solid var(--line); }.detail-event h3 { color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 9px; }.detail-event > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.price-note { margin-top: 17px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.detail-placeholder { min-height: 300px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; }
.activity-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 13px; padding: 16px 0 0; }.activity-footer > span,.activity-footer a { display: flex; align-items: center; gap: 6px; }.activity-footer a:hover { color: var(--blue-dark); }
.product-dialog { width: 454px; max-width: 100%; max-height: 100dvh; height: 100dvh; border: 0; margin: 0 0 0 auto; padding: 0; position: fixed; color: var(--ink); background: white; box-shadow: -14px 0 45px #192a421c; overflow-y: auto; }
.product-dialog::backdrop { background: #192a424d; animation: backdrop-in 240ms; }
.product-dialog[open] { animation: drawer-in 280ms var(--ease); }.product-dialog.closing { animation: drawer-out 170ms ease-in forwards; }.product-dialog .product-detail { padding: 22px 28px 32px; }.product-dialog .detail-overline { margin-bottom: 20px; }.product-dialog .detail-name { margin-top: 22px; font-size: 27px; }.product-dialog .detail-specs { gap: 20px; margin: 24px 0; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); z-index: 100; color: white; background: #273344; border: 1px solid #3c4a5c; box-shadow: 0 5px 20px #182b4024; border-radius: 6px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 13px; max-width: calc(100% - 32px); }
.toast-check { color: #b6efd8; display: flex; }.toast > span:nth-child(2) { overflow-wrap: anywhere; }.toast button { color: #c3d8ff; font-size: 13px; white-space: nowrap; }.toast button:not(.toast-close) { text-decoration: underline; text-underline-offset: 3px; margin-left: 7px; }.toast .toast-close { margin-left: 5px; color: white; min-width: 23px; height: 23px; }
.toast-enter { transition: opacity 200ms, transform 200ms var(--ease); }.toast-leave { transition: opacity 130ms, transform 130ms; }.toast-start { opacity: 0; transform: translate(-50%,8px); }.toast-end { opacity: 1; transform: translate(-50%,0); }
.load-error { min-height: 350px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; color: var(--muted); }.load-error h1 { font-size: 18px; }
.app-ready .page-heading { animation: content-in 320ms var(--ease) both; }.app-ready .inventory-view,.app-ready .activity-view { animation: content-in 360ms 45ms var(--ease) both; }
@keyframes content-in { from { opacity: .2; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1600px) { .site-header,.merchant-band { padding-left: max(44px,calc((100% - 1592px) / 2)); padding-right: max(44px,calc((100% - 1592px) / 2)); } }
@media (max-width: 1200px) {
  .site-header,.merchant-band { padding-left: 26px; padding-right: 26px; }.workspace { padding: 0 26px; }.site-header { gap: 34px; }.timezone { display: none; }
  .activity-desk { grid-template-columns: minmax(0,1fr) 332px; }.event-row { grid-template-columns: 62px 22px minmax(0,1fr) 80px 13px; gap: 8px; padding-left: 18px; padding-right: 14px; }.event-price { display: none; }.event-product-meta { padding-left: 0; }.product-detail { padding-left: 20px; padding-right: 20px; }.activity-toolbar { padding-left: 16px; padding-right: 16px; }.activity-tabs button { width: 83px; }.activity-tabs::after { width: 61px; left: 11px; transform: translateX(calc(var(--tab-index,0) * 83px)); }
  .catalog-filters { flex-wrap: wrap; }.search-field { min-width: 210px; }.price-filter input { width: 49px; }
}
@media (max-width: 900px) {
  .site-header { gap: 15px; padding: 0 20px; }.brand { font-size: 19px; }.brand-mark { width: 30px; height: 30px; }.main-nav a { width: 99px; }.main-nav::after { width: 77px; left: 11px; transform: translateX(calc(var(--nav-index,0) * 99px)); }.header-actions { gap: 5px; }.workspace { padding: 0 20px; }.merchant-band { padding: 0 20px; }
  .activity-desk { grid-template-columns: 1fr; }.activity-list { border-right: 0; }.activity-detail { display: none; }.activity-detail.mobile-open { display: block; position: fixed; inset: 0; z-index: 40; background: white; overflow-y: auto; animation: drawer-in 260ms var(--ease); }.activity-detail.mobile-open .product-detail { position: static; max-width: 520px; margin: 0 auto; padding: 20px 25px 28px; }.mobile-detail-close { visibility: visible; }.event-row { grid-template-columns: 70px 24px minmax(0,1fr) 90px 82px 14px; }.event-price { display: flex; }.event-product-meta { padding-left: 28px; }.activity-tabs button { width: 91px; }.activity-tabs::after { width: 67px; left: 12px; transform: translateX(calc(var(--tab-index,0) * 91px)); }.activity-summary { display: none; }
  .advanced-filters { gap: 12px 20px; }.advanced-label { flex-basis: 100%; }
}
@media (max-width: 680px) {
  .site-header { height: 110px; padding: 0 16px 46px; position: relative; gap: 0; }.brand { font-size: 19px; gap: 9px; }.brand-mark { width: 30px; height: 30px; }.header-actions { margin-left: auto; }.main-nav { position: absolute; bottom: 0; left: 12px; right: 12px; height: 46px; }.main-nav a { width: calc(100% / 3); font-size: 14px; }.main-nav::after { width: calc(100% / 3 - 32px); left: 16px; transform: translateX(calc(var(--nav-index,0) * (100% + 32px))); }.nav-count { font-size: 12px; }
  .merchant-band { padding: 0 12px; }.merchant-options { min-height: 57px; gap: 4px; padding: 4px 0; }.merchant-tab { padding: 7px 9px; font-size: 13px; }.merchant-separator { margin: 0 3px; }.workspace { padding: 0 16px; }.page-heading { min-height: 90px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 7px; padding: 17px 0; }.heading-main { gap: 10px; width: 100%; flex-wrap: wrap; }.heading-main h1 { font-size: 22px; }.page-summary { padding-left: 11px; font-size: 13px; }.updated { font-size: 13px; }.updated time { margin-left: 3px; }.activity-date { margin-left: auto; border: 0; padding-left: 0; }.storage-error { flex-wrap: wrap; gap: 7px; }.storage-error>span:nth-child(2) { flex: 1; }.storage-error button { margin-left: 25px; }
  .catalog-filters { gap: 9px; padding: 12px 10px; }.search-field { flex-basis: 100%; min-width: 0; height: 39px; }.search-field input { font-size: 14px; }.select-field { flex: 1; min-width: 125px; height: 36px; gap: 6px; }.select-field select { width: 100%; }.select-field>span { white-space: nowrap; }.price-filter { flex: 1; min-width: 130px; height: 36px; }.price-filter input { width: 65px; flex: 1; }.advanced-toggle { flex: 0; height: 36px; }.reset-filters { width: 30px; min-width: 30px; }.advanced-filters { gap: 12px; padding: 0 12px 14px; }.advanced-filters label { width: calc(50% - 6px); gap: 7px; font-size: 13px; }.advanced-filters label input { width: 58px; flex: 1; }.advanced-label { display: none; }
  .results-bar { padding: 8px 9px; flex-wrap: wrap; gap: 7px; min-height: 47px; }.stock-segments { gap: 2px; }.stock-segments button { padding: 0 8px; }.results-count { display: none; }.sort-controls { margin-left: auto; gap: 0; }.sort-controls label { font-size: 0; }.sort-controls select { font-size: 13px; margin: 0; max-width: 100px; }.sort-controls .icon-button { min-width: 27px; width: 27px; }
  .table-scroller { display: none !important; }.mobile-products { display: grid; gap: 12px; padding: 12px 0; }.mobile-product { background: white; padding: 15px; border: 1px solid var(--line); border-radius: 6px; }.mobile-product-head { display: flex; align-items: center; gap: 8px; justify-content: space-between; }.mobile-product .product-cell { gap: 9px; flex: 1; }.mobile-product .product-name { font-size: 14px; }.mobile-product .product-meta { font-size: 13px; }.mobile-product .merchant-image { width: 28px; height: 28px; }.mobile-specs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 14px; padding: 13px 0; margin-top: 1px; color: #526075; font-size: 13px; }.mobile-product-bottom { padding-top: 12px; border-top: 1px solid #edf0f5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.mobile-product-bottom>div:first-child { margin-right: auto; }.mobile-product-bottom .monthly-price strong { font-size: 21px; }.mobile-product-bottom .secondary { font-size: 13px; }.mobile-product-bottom .button { padding: 0 9px; }.subscribe-icon { width: 33px; min-width: 33px; height: 33px; }
  .table-footer { padding: 12px 0; gap: 10px; background: transparent; flex-wrap: wrap; }.range-summary { font-size: 13px; }.pagination { gap: 3px; margin-left: auto; }.pagination label { font-size: 13px; margin-right: 0; gap: 4px; }.pagination .icon-button { min-width: 26px; width: 26px; }.pagination select { padding-left: 2px; padding-right: 2px; }.currency-note { align-items: flex-start; line-height: 1.7; margin-top: 13px; font-size: 13px; }.currency-note .icon { margin-top: 4px; }.site-footer { font-size: 13px; gap: 8px; }.empty-state { padding: 25px 14px; min-height: 320px; }
  .activity-toolbar { padding: 0 9px; min-height: 54px; gap: 5px; }.activity-tabs { flex: 1; }.activity-tabs button { width: calc(100% / 3); min-width: 64px; font-size: 13px; }.activity-tabs::after { width: calc(100% / 3 - 12px); left: 6px; transform: translateX(calc(var(--tab-index,0) * (100% + 12px))); }.activity-merchant { margin-left: 4px; }.activity-merchant select { width: 91px; font-size: 13px; padding-left: 2px; }.activity-search-row { padding: 0 12px; gap: 7px; min-height: 43px; }.event-search { gap: 7px; min-width: 0; }.event-search input { font-size: 13px; }.event-order { font-size: 13px; gap: 3px; }.event-date { padding: 0 12px; font-size: 13px; }.event-row { grid-template-columns: 22px minmax(0,1fr) 14px; padding: 13px 12px; gap: 7px; min-height: 107px; }.event-time { grid-column: 2; grid-row: 1; font-size: 13px; color: var(--muted); }.event-marker { grid-column: 1; grid-row: 2; width: 22px; height: 22px; align-self: start; margin-top: 1px; }.event-product { grid-column: 2; grid-row: 2; }.event-product-title { gap: 5px; }.event-product-title .merchant-image { width: 18px; height: 18px; }.event-product-name { width: 100%; margin-top: 1px; font-size: 14px; font-weight: 550; color: var(--ink); }.event-product-meta { padding: 0; margin-top: 4px; font-size: 13px; }.event-subscription { margin-left: auto; }.event-state { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: 10px; margin-top: 1px; }.event-state-text { display: none; }.event-price { display: none; }.event-arrow { grid-column: 3; grid-row: 2; align-self: center; }.event-row.selected { box-shadow: inset 2px 0 var(--blue); }.activity-footer { font-size: 13px; flex-wrap: wrap; padding-top: 14px; }.activity-footer a { margin-left: auto; }.activity-detail.mobile-open .product-detail { padding: 16px 22px 26px; }
  .event-product-title { display: grid; grid-template-columns: 18px minmax(0,1fr) 16px; gap: 5px; }.event-product-title .merchant-image { grid-column: 1; grid-row: 1; }.event-product-title>strong { grid-column: 2; grid-row: 1; }.event-product-name { grid-column: 1 / -1; grid-row: 2; }.event-subscription { grid-column: 3; grid-row: 1; margin-left: 0; }
  .product-dialog { width: min(454px,100%); }.product-dialog .product-detail { padding: 16px 22px 26px; }.product-dialog .detail-name { font-size: 25px; }.detail-price { font-size: 29px; }.toast { bottom: 16px; max-width: calc(100% - 24px); width: max-content; padding: 11px 12px; gap: 8px; }.toast>span:nth-child(2) { min-width: 0; max-width: 215px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 680px) {
  .page-heading { min-height: 78px; padding: 13px 0; }
  .inventory-view .mobile-filter-toggle { display: inline-flex; position: absolute; top: 16px; right: 11px; width: 35px; height: 34px; z-index: 2; border: 1px solid #d7dfea; }
  .mobile-filter-count { position: absolute; top: -7px; right: -7px; background: var(--blue); color: white; font-size: 11px; border-radius: 3px; padding: 0 4px; min-width: 17px; }
  .catalog-filters { padding-right: 58px; }
  .inventory-view:not(.mobile-filters-open) .catalog-filters>.select-field,
  .inventory-view:not(.mobile-filters-open) .catalog-filters>.price-filter,
  .inventory-view:not(.mobile-filters-open) .catalog-filters>.advanced-toggle,
  .inventory-view:not(.mobile-filters-open) .catalog-filters>.reset-filters,
  .inventory-view:not(.mobile-filters-open) .advanced-filters { display: none !important; }
  .inventory-view.mobile-filters-open .catalog-filters { padding-right: 10px; }
  .inventory-view.mobile-filters-open .search-field { flex: 0 0 calc(100% - 48px); }
}
