@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-regular.ttf') format('truetype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-bold.ttf') format('truetype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #19191c;
  --raised: #1d1d21;
  --line: #303034;
  --soft-line: #222226;
  --text: #f0f0f2;
  --muted: #a5a5ac;
  --faint: #85858e;
  --silver: #eeeeef;
  --ink: #151517;
  --sidebar: 226px;
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
svg { flex: 0 0 auto; }
input, select, textarea { color: inherit; }
input[type='checkbox'] { width: 15px; height: 15px; margin: 0; accent-color: var(--silver); cursor: pointer; }
input[type='number'] { font-variant-numeric: tabular-nums; }
select { cursor: pointer; }
textarea { resize: vertical; min-height: 108px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; }
::selection { background: var(--silver); color: var(--ink); }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 4px; }
::placeholder { color: var(--faint); opacity: 1; }
.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; }
.hidden, [hidden] { display: none !important; }
.print-header { display: none; }
.muted { color: var(--muted); }
.num, .money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.num { text-align: right; }
.money { font-weight: 600; letter-spacing: -.025em; }
.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon svg, svg.icon { width: 18px; height: 18px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.inline { display: flex; align-items: center; gap: 10px; }
.spacer { flex: 1; }
.divider { height: 1px; border: 0; background: var(--line); margin: 24px 0; }
.two-col, .three-col { display: grid; gap: 20px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.text-link { border: 0; background: transparent; padding: 0; font-weight: 600; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 2px 8px; border-radius: 6px; background: #25252a; color: #d1d1d7; font-size: 11px; font-weight: 600; white-space: nowrap; }
.app-shell { min-height: 100dvh; }
.sidebar { width: var(--sidebar); position: fixed; z-index: 30; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 29px 18px 18px; border-right: 1px solid var(--soft-line); background: var(--bg); }
.brand { display: inline-block; }
.brand img { width: 167px; height: auto; }
.sidebar > .brand { margin: 2px 8px 30px; }
.workspace { display: flex; align-items: center; gap: 10px; margin: 0 0 31px; padding: 11px 10px; border: 1px solid var(--line); border-radius: 10px; }
.workspace > svg { width: 19px; height: 19px; color: var(--muted); }
.workspace small { display: block; font-size: 11px; color: var(--muted); }
.workspace strong { display: block; font-size: 12px; font-weight: 600; }
.nav-group-label { padding: 0 12px; margin: 0 0 10px; font-size: 11px; color: var(--faint); letter-spacing: .045em; }
.nav-group-label:not(:first-child) { margin-top: 30px; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 10px 12px; margin: 3px 0; border: 0; border-radius: 8px; width: 100%; color: var(--muted); background: transparent; text-align: left; font-size: 12px; font-weight: 500; }
.nav-item svg { width: 18px; height: 18px; color: #92929c; }
.nav-item:hover { color: var(--text); background: #131316; }
.nav-item.active { color: var(--text); background: #202024; font-weight: 600; }
.nav-item.active svg { color: var(--text); }
.nav-item .badge { margin-left: auto; min-height: 19px; font-size: 11px; padding: 0 6px; }
.sidebar-bottom { margin-top: auto; padding-top: 28px; }
.sidebar-bottom > .nav-item { margin-bottom: 20px; }
.profile { display: flex; align-items: center; gap: 10px; padding: 17px 8px 0; border-top: 1px solid var(--line); }
.profile-avatar, .avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 33px; height: 33px; border-radius: 50%; background: #29292f; color: var(--text); font-size: 11px; font-weight: 600; }
.profile-meta { flex: 1; min-width: 0; font-size: 11px; }
.profile-meta strong { display: block; font-size: 12px; }
.profile-meta small { display: block; color: var(--muted); font-size: 11px; }
.main-wrap { margin-left: var(--sidebar); min-width: 0; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; border-bottom: 1px solid var(--soft-line); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.breadcrumbs svg { width: 15px; height: 15px; }
.breadcrumbs span:last-child { color: #dadade; }
.breadcrumbs .separator { color: #54545d; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.topbar-actions .avatar { width: 29px; height: 29px; }
.mobile-menu { display: none !important; }
.content { width: min(100%, 1600px); margin: 0 auto; padding: 31px 32px 48px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-title { font-size: 27px; letter-spacing: -.055em; line-height: 1.2; }
.page-subtitle { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.heading-actions { display: flex; align-items: center; flex-shrink: 0; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 37px; padding: 9px 15px; border: 1px solid transparent; border-radius: 7px; background: transparent; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background-color 150ms, border-color 150ms; }
.btn svg { width: 15px; height: 15px; }
.btn.primary { color: var(--ink); background: var(--silver); }
.btn.primary:hover { background: #d6d6db; }
.btn.secondary { border-color: #35353d; background: #141417; }
.btn.secondary:hover { background: #24242a; border-color: #50505a; }
.btn.ghost { color: #bdbdc5; }
.btn.ghost:hover { background: #222227; color: var(--text); }
.btn.small { min-height: 30px; padding: 6px 10px; font-size: 11px; }
.btn.icon-btn, .icon-btn { width: 34px; min-width: 34px; height: 34px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 7px; border: 1px solid var(--line); border-radius: 7px; background: transparent; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--raised); }
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 27px; overflow: hidden; }
.stat { padding: 22px 23px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-label { font-size: 11px; color: var(--muted); margin-bottom: 11px; }
.stat-value { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat-note { margin-top: 9px; font-size: 11px; color: var(--faint); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--soft-line); border-radius: 12px; min-width: 0; overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 22px 18px; }
.panel-header h2, .panel-header h3, .section-title { font-size: 13px; font-weight: 600; letter-spacing: -.02em; }
.panel-header p { color: var(--muted); margin-top: 5px; font-size: 11px; }
.panel-body { padding: 0 22px 22px; }
.panel-body:first-child { padding-top: 22px; }
.panel-footer { padding: 14px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.setup-notice { display: flex; align-items: center; gap: 16px; padding: 19px 22px; margin-bottom: 25px; background: #17171b; border: 1px solid #303036; border-radius: 10px; }
.notice-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; background: #27272e; }
.notice-icon svg { width: 18px; height: 18px; }
.notice-copy { flex: 1; min-width: 0; }
.notice-copy strong { display: block; font-size: 12px; font-weight: 600; }
.notice-copy p { color: var(--muted); margin-top: 4px; font-size: 11px; line-height: 1.65; }
.section-title { margin-bottom: 15px; }
.category-tabs { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: thin; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { border-bottom-color: var(--silver); color: var(--text); font-weight: 600; }
.tab-count { display: inline-flex; justify-content: center; min-width: 21px; padding: 0 5px; background: #25252b; color: #c8c8d0; border-radius: 5px; font-size: 11px; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 19px; }
.search-box { display: flex; align-items: center; gap: 10px; min-width: 180px; flex: 1; max-width: 355px; padding: 0 12px; min-height: 38px; border: 1px solid var(--line); border-radius: 7px; background: #111114; }
.search-box svg { width: 16px; height: 16px; color: var(--faint); }
.search-box input { width: 100%; min-width: 0; padding: 10px 0; border: 0; background: transparent; font-size: 11px; }
.search-box:focus-within { border-color: #92929b; }
.search-box input:focus { outline: none; }
.filters { display: flex; align-items: center; gap: 9px; }
.filters select { min-height: 38px; padding: 8px 29px 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: #141417; font-size: 11px; }
.toolbar-actions { display: flex; gap: 8px; margin-left: auto; }
.table-wrap { width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #41414b transparent; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th { padding: 12px 17px; color: var(--faint); font-size: 11px; font-weight: 500; white-space: nowrap; background: #111114; border-bottom: 1px solid var(--line); }
td { padding: 15px 17px; border-bottom: 1px solid var(--soft-line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color 120ms; }
tbody tr:hover { background: #1a1a1f; }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; }
.check { width: 28px; padding-right: 0; }
.product-cell { display: flex; align-items: center; gap: 12px; min-width: 194px; }
.product-thumb { width: 36px; height: 43px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #24242a; border-radius: 7px; }
.product-thumb svg { width: 21px; height: 28px; color: #b6b6c0; }
.product-info { min-width: 0; }
.product-name { display: block; color: var(--text); font-size: 11px; font-weight: 600; line-height: 1.5; }
.product-meta { display: block; margin-top: 3px; font-size: 11px; color: var(--faint); }
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 3px 7px; border: 1px solid #393941; border-radius: 5px; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.status::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status.published { color: #e4e4eb; background: #28282e; }
.status.draft { color: #aaaab5; border-color: #333339; }
.row-action { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; }
.row-action:hover { background: #303037; color: var(--text); }
.row-action svg { width: 15px; height: 15px; }
.table-caption { color: var(--faint); font-size: 11px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 22px; border-top: 1px solid var(--line); }
.selection-bar { position: sticky; z-index: 15; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-top: 18px; border: 1px solid #505059; border-radius: 10px; background: #27272e; box-shadow: 0 8px 30px #0006; font-size: 11px; }
.selection-bar strong { margin-right: auto; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 270px; padding: 42px 24px; }
.empty-icon { width: 49px; height: 49px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border: 1px solid #34343c; border-radius: 13px; color: var(--muted); background: #1c1c21; }
.empty-icon svg { width: 23px; height: 23px; }
.empty-state h3 { font-size: 15px; letter-spacing: -.025em; }
.empty-state p { max-width: 330px; margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.empty-state .btn { margin-top: 22px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 22px; }
.margin-card { padding: 22px; background: #1b1b20; border: 1px solid #35353d; border-radius: 12px; }
.margin-card h3 { font-size: 13px; }
.margin-card > p { margin: 8px 0 22px; color: var(--muted); font-size: 11px; }
.formula { margin-top: 15px; }
.formula-row { display: flex; justify-content: space-between; gap: 15px; margin: 12px 0; color: var(--muted); font-size: 11px; }
.formula-row strong { color: var(--text); font-weight: 500; }
.formula-total { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #3b3b43; font-size: 11px; }
.formula-total strong { font-size: 22px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.progress-track { height: 5px; border-radius: 3px; background: #34343c; overflow: hidden; }
.progress-fill { height: 100%; min-width: 0; max-width: 100%; border-radius: inherit; background: #d5d5dc; }
.distribution-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 11px; color: var(--muted); }
.distribution-row strong { color: var(--text); font-weight: 500; }
.distribution-bar { margin-top: 8px; height: 4px; background: #2b2b32; border-radius: 3px; overflow: hidden; }
.distribution-bar > span { display: block; height: 100%; max-width: 100%; background: #a7a7b2; border-radius: inherit; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.field { min-width: 0; }
.field.full, .form-grid > .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 8px; }
.field input:not([type='checkbox']), .field select, .field textarea { width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid #383840; border-radius: 7px; background: #101013; font-size: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #9999a4; outline: 1px solid #9999a4; outline-offset: 0; }
.field input[readonly] { color: var(--muted); background: #222227; }
.field-help { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.field label:has(input[type='checkbox']) { display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; }
.field label input[type='checkbox'] { margin-top: 3px; flex-shrink: 0; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-row { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr); gap: 46px; padding: 8px 0 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-description { padding-top: 6px; }
.settings-description h2 { font-size: 14px; letter-spacing: -.02em; }
.settings-description p { max-width: 300px; margin-top: 9px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.settings-panel { padding: 24px; background: var(--surface); border: 1px solid var(--soft-line); border-radius: 12px; }
.settings-panel .field + .field { margin-top: 20px; }
.source-row { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-row:last-child { border-bottom: 0; padding-bottom: 0; }
.source-mark { width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #27272d; border: 1px solid #35353e; border-radius: 8px; font-size: 11px; font-weight: 600; }
.source-mark svg { width: 17px; height: 17px; }
.source-details { flex: 1; min-width: 0; }
.source-details strong { display: block; font-size: 11px; font-weight: 600; }
.source-details small, .source-details p { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.source-state { font-size: 11px; color: var(--muted); white-space: nowrap; }
.import-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 37px 22px; border: 1px dashed #53535e; border-radius: 10px; background: #17171c; text-align: center; }
.import-drop > svg { width: 28px; height: 28px; color: #bdbdc6; }
.import-drop strong { font-size: 13px; }
.import-drop p { font-size: 11px; color: var(--muted); max-width: 340px; }
.import-drop input[type='file'] { max-width: 100%; font-size: 11px; }
.import-drop input::file-selector-button { border: 1px solid #44444e; background: #27272e; color: var(--text); border-radius: 6px; padding: 8px 12px; margin-right: 10px; cursor: pointer; }
.import-preview { max-height: 330px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; margin-top: 18px; }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-item { display: flex; align-items: flex-start; gap: 11px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.activity-item:last-child { border-bottom: 0; padding-bottom: 0; }
.activity-item > svg { width: 15px; height: 15px; margin-top: 2px; color: var(--muted); }
.activity-item p, .activity-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 24px; background: #000a;  }
.modal { width: min(100%, 600px); max-height: calc(100dvh - 48px); padding: 0; margin: auto; color: var(--text); background: #19191e; border: 1px solid #41414a; border-radius: 14px; box-shadow: 0 24px 100px #0009; overflow: auto; }
dialog.modal::backdrop { background: #000a;  }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 25px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 19px; letter-spacing: -.035em; }
.modal-header p { margin-top: 7px; font-size: 11px; color: var(--muted); }
.modal-close { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 5px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; }
.modal-close:hover { background: #33333b; color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 24px 25px; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 18px 25px; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 200; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 13px 20px; border: 1px solid #62626c; border-radius: 10px; background: #eeeeef; color: var(--ink); box-shadow: 0 10px 40px #0007; font-size: 12px; font-weight: 600; }
.login-screen { min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; }
.login-panel { width: min(100%, 420px); padding: 37px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.login-panel .brand { margin-bottom: 40px; }
.login-panel h1 { font-size: 25px; letter-spacing: -.04em; }
.login-panel > p { margin: 12px 0 27px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.login-panel .btn { width: 100%; margin-top: 18px; min-height: 42px; }
.login-panel .field-help { margin-top: 18px; }
.store-layout { min-height: 100dvh; }
.store-header { height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(32px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); }
.store-header .brand img { width: 186px; }
.store-actions { display: flex; align-items: center; gap: 10px; }
.store-main { max-width: 1304px; padding: 50px 32px 70px; margin: 0 auto; }
.store-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 35px; }
.store-title { max-width: 600px; font-size: clamp(32px, 3.2vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -.055em; }
.store-summary { max-width: 470px; font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 16px; }
.store-search { width: 300px; flex-shrink: 0; }
.store-search .search-box { width: 100%; max-width: none; min-height: 43px; }
.store-categories { display: flex; gap: 9px; margin-bottom: 30px; overflow-x: auto; scrollbar-width: thin; }
.store-categories .tab { padding: 9px 17px; border: 1px solid var(--line); border-radius: 7px; background: #121215; }
.store-categories .tab.active { color: var(--ink); background: var(--silver); border-color: var(--silver); }
.store-categories .tab.active .tab-count { color: #45454c; background: #d4d4da; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 15px 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: #141418; transition: border-color 160ms; }
.product-card:hover { border-color: #5a5a65; }
.product-art { height: 226px; display: flex; align-items: center; justify-content: center; margin: 0 0 18px; background: var(--silver); border-radius: 8px; color: var(--ink); overflow: hidden; }
.product-art > svg { width: 92px; height: 130px; }
.device-illustration { display: flex; align-items: center; justify-content: center; }
.device-illustration svg { width: 85px; height: 126px; }
.product-category { color: var(--faint); font-size: 11px; margin-bottom: 6px; }
.product-title { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
.product-specs { margin-top: 6px; font-size: 11px; color: var(--muted); min-height: 31px; }
.product-price { margin-top: 15px; font-size: 21px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.product-price small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: 0; font-weight: 400; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 19px; }
.product-bottom .btn { flex: 1; }
.preview-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; padding: 10px 24px; background: #e5e5e9; color: #25252b; font-size: 11px; }
.preview-banner a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.store-footer { display: flex; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 24px max(32px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.quote-drawer { position: fixed; z-index: 110; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(100%, 460px); padding: 26px; background: #17171c; border-left: 1px solid #41414b; overflow-y: auto; box-shadow: -20px 0 80px #0006; }
.quote-drawer h2 { font-size: 22px; letter-spacing: -.035em; }
.quote-item { display: flex; align-items: center; gap: 13px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.quote-item .product-info { flex: 1; }
.quote-item .product-name { font-size: 12px; }
.quote-item .product-meta { font-size: 11px; }
.quantity-input { width: 49px; padding: 7px 5px; border: 1px solid #44444d; border-radius: 6px; background: #24242b; text-align: center; }
.quote-total { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: 12px; }
.quote-total strong { font-size: 23px; line-height: 1.2; letter-spacing: -.035em; }
.contact-note { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.quote-drawer .field { margin-top: 17px; }
.quote-drawer .form-actions { flex-direction: column; align-items: stretch; }
.quote-drawer .form-actions .btn { min-height: 43px; }
@media (min-width: 1600px) {
  .content { padding-top: 38px; }
  .overview-grid, .split-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .page-heading { margin-bottom: 31px; }
  .stat { padding-top: 25px; padding-bottom: 25px; }
}
@media (max-width: 1220px) {
  :root { --sidebar: 208px; }
  .content { padding-left: 25px; padding-right: 25px; }
  .topbar { padding-left: 25px; padding-right: 25px; }
  .overview-grid, .split-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
  .panel-header { padding: 18px; }
  .panel-body { padding: 0 18px 18px; }
  .page-title { font-size: 25px; }
  .stat { padding: 20px 17px; }
  .stat-value { font-size: 25px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .settings-row { gap: 28px; }
}
@media (max-width: 1020px) {
  .overview-grid, .split-layout { grid-template-columns: minmax(0, 1fr); }
  .overview-grid > .stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
  .overview-grid > .stack > :only-child { grid-column: 1 / -1; }
  .page-heading { align-items: flex-start; }
  .heading-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 220px; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .settings-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .settings-description p { max-width: 500px; }
  .store-intro { align-items: flex-start; flex-direction: column; gap: 25px; }
  .store-search { width: min(100%, 430px); }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); width: 250px; box-shadow: 20px 0 80px #0008; transition: transform 180ms; }
  .sidebar.open, .sidebar.is-open, body.menu-open .sidebar, .app-shell.menu-open .sidebar { transform: translateX(0); }
  .main-wrap { margin-left: 0; }
  .mobile-menu { display: inline-flex !important; }
  .topbar { height: 60px; padding: 0 20px; gap: 12px; }
  .breadcrumbs { margin-right: auto; gap: 8px; font-size: 11px; }
  .topbar-actions { gap: 10px; }
  .content { padding: 26px 20px 36px; }
  .page-heading { gap: 18px; margin-bottom: 24px; }
  .page-title { font-size: 25px; }
  .page-subtitle { font-size: 11px; max-width: 330px; }
  .heading-actions { max-width: 170px; gap: 7px; }
  .heading-actions .btn { padding: 8px 10px; font-size: 11px; }
  .setup-notice { flex-wrap: wrap; padding: 17px; gap: 12px; }
  .setup-notice > .btn { margin-left: 48px; }
  .notice-copy { flex-basis: calc(100% - 55px); }
  .overview-grid > .stack { grid-template-columns: minmax(0, 1fr); }
  .stats-strip { margin-bottom: 23px; }
  .category-tabs { gap: 23px; }
  .toolbar { gap: 9px; }
  .search-box { max-width: none; }
  .toolbar-actions { margin-left: auto; }
  .filters select { max-width: 155px; }
  .selection-bar { flex-wrap: wrap; bottom: 12px; padding: 12px; }
  .selection-bar strong { flex-basis: 100%; }
  .selection-bar .btn { flex: 1; }
  .two-col, .three-col { grid-template-columns: minmax(0, 1fr); }
  .hide-mobile { display: none !important; }
  .store-header { height: 72px; padding: 0 20px; }
  .store-header .brand img { width: 156px; }
  .store-main { padding: 35px 20px 45px; }
  .store-intro { margin-bottom: 24px; gap: 23px; }
  .store-title { font-size: 34px; }
  .store-summary { font-size: 11px; }
  .store-search { width: 100%; }
  .store-categories { margin-bottom: 23px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .product-card { padding: 11px 12px 14px; }
  .product-art { height: 160px; margin-bottom: 15px; }
  .product-title { font-size: 14px; }
  .product-price { font-size: 20px; }
  .product-bottom { padding-top: 15px; }
  .store-footer { padding: 22px 20px; flex-direction: column; gap: 9px; }
  .modal-backdrop { padding: 16px; }
  .modal { max-height: calc(100dvh - 32px); }
  .modal-header, .modal-body { padding: 21px; }
  .modal-footer { padding: 17px 21px; }
}
@media (max-width: 440px) {
  .topbar { padding: 0 16px; }
  .content { padding: 25px 16px 32px; }
  .page-heading { flex-direction: column; gap: 17px; }
  .heading-actions { max-width: none; justify-content: flex-start; width: 100%; }
  .heading-actions .btn { min-height: 36px; padding: 8px 13px; }
  .stat { padding: 18px 15px; }
  .stat-value { font-size: 25px; }
  .stat-note { font-size: 11px; }
  .stat-label { font-size: 11px; }
  .toolbar .search-box { flex-basis: 100%; }
  .filters { flex: 1; }
  .filters select { width: 100%; max-width: none; font-size: 11px; }
  .pagination { padding: 14px 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .settings-panel { padding: 19px; }
  .login-panel { padding: 28px; }
  .store-header { padding: 0 16px; }
  .store-header .brand img { width: 142px; }
  .store-actions .btn { font-size: 11px; padding: 8px 10px; }
  .store-main { padding: 30px 16px 40px; }
  .store-title { font-size: 31px; }
  .store-categories .tab { padding: 8px 13px; font-size: 11px; }
  .product-grid { gap: 11px; }
  .product-card { padding: 9px 10px 12px; }
  .product-art { height: 137px; border-radius: 6px; }
  .device-illustration svg, .product-art > svg { width: 65px; height: 103px; }
  .product-title { font-size: 12px; }
  .product-specs { font-size: 11px; }
  .product-price { font-size: 18px; }
  .product-bottom .btn { padding: 8px 6px; font-size: 11px; gap: 5px; }
  .quote-drawer { padding: 22px 20px; }
  .modal-header, .modal-body { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; font-size: 10pt; }
  body, .app-shell, .main-wrap, .content, .store-layout, .store-main, .panel, .table-wrap { color: #111 !important; background: #fff !important; }
  .sidebar, .topbar, .heading-actions, .toolbar, .category-tabs, .selection-bar, .pagination, .setup-notice, .store-actions, .store-search, .store-categories, .store-footer, .preview-banner, .quote-drawer, .modal-backdrop, .toast, .btn, button, .check, input[type='checkbox'], .row-action, .no-print { display: none !important; }
  .main-wrap { margin-left: 0; }
  .content, .store-main { width: 100%; max-width: none; padding: 0; }
  .print-header { display: block; margin: 0 0 20pt; padding-bottom: 12pt; border-bottom: 1pt solid #999; }
  .print-header h1 { font-size: 20pt; }
  .print-header p { color: #555; margin-top: 5pt; }
  .page-heading { margin-bottom: 16pt; }
  .page-title { color: #111; font-size: 18pt; }
  .page-subtitle, .muted, .product-meta, .product-specs, .product-category, .table-caption, .store-summary { color: #555 !important; }
  .panel { border: 0; border-radius: 0; overflow: visible; }
  .table-wrap { overflow: visible; }
  table { font-size: 9pt; }
  th { background: #eee !important; color: #111 !important; border-bottom: 1pt solid #999; }
  td { border-bottom: .5pt solid #ccc; }
  th, td { padding: 9pt 7pt; }
  th:first-child, td:first-child { padding-left: 0; }
  th:last-child, td:last-child { padding-right: 0; }
  .product-name, .money, .product-title, .product-price { color: #111 !important; }
  .product-thumb, .product-art, .device-illustration { display: none; }
  .status { color: #333 !important; background: #fff !important; border-color: #aaa; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card { color: #111; background: #fff; border-color: #ccc; break-inside: avoid; }
  .product-price small { color: #555; }
  .store-header { height: auto; padding: 0 0 15pt; border-color: #999; }
  .store-header .brand { filter: invert(1); }
  .store-intro { margin: 18pt 0; }
  .store-title { color: #111; font-size: 22pt; }
  .stats-strip, .overview-grid, .split-layout { break-inside: avoid; }
  tr { break-inside: avoid; }
  thead { display: table-header-group; }
  @page { margin: 15mm 12mm; }
}

/* Product-specific surfaces and interactive states. */
.stat-label,.stat-value,.stat-note { display:block; }
.stat-label { font-size:12px; }
.stat-value { margin:6px 0 4px; font-size:32px; line-height:1.15; }
.stat-note { font-size:11px; }
.panel-header .section-title { margin-bottom:0; }
.overview-grid > div:first-child { display:flex; flex-direction:column; gap:20px; }
.product-name { font-size:12px; }
table { font-size:12px; }
.table-wrap { position:relative; }
th { background:transparent; }
.product-thumb { width:48px; height:54px; background:var(--silver); overflow:hidden; }
.product-thumb svg { width:40px; height:40px; }
.workspace { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; }
.workspace-name { font-size: 14px; font-weight: 600; }
.workspace .muted { font-size: 11px; }
.private-label,.text-link { display: inline-flex; align-items: center; gap: 7px; }
.private-label { color: var(--muted); font-size: 11px; }
.currency-input { display: flex; align-items: center; position: relative; }
.currency-input > span { position: absolute; left: 12px; color: var(--muted); font-size: 12px; }
.currency-input input { padding-left: 35px !important; font-variant-numeric: tabular-nums; }
.margin-card { padding: 0; border: 0; }
.margin-card .field { margin-top: 16px; }
.margin-card .formula-row { flex-wrap: wrap; }
.margin-card .formula-total { align-items: flex-start; flex-direction: column; gap: 6px; }
.margin-card .formula-total strong { font-size: 30px; }
.distribution-row { display: block; }
.distribution-row > div:first-child { display: flex; justify-content: space-between; }
.source-details > span,.activity-item > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.source-mark { background: none; border: 0; padding: 0; width: 20px; }
.source-lead { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0 22px; }
.source-lead > svg { margin-top: 3px; width: 22px; height: 22px; }
.source-lead h3 { font-size: 15px; margin-bottom: 8px; }
.source-lead p { font-size: 12px; line-height: 1.7; }
.two-col + .panel { margin-top: 24px; }
.pxt-result { margin-top: 24px; }
.pxt-result pre { max-height: 340px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border-radius: 8px; padding: 16px; font: 12px/1.65 Manrope,sans-serif; }
.pxt-variant { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pxt-variant strong { display: block; font-size: 12px; }
.pxt-variant span { color: var(--muted); font-size: 11px; }
.pxt-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.activity-item > div { flex: 1; }
.modal-wide { width: min(760px,calc(100vw - 32px)); }
.edit-product-heading { margin-bottom: 24px; }
.edit-product-heading h3 { font-size: 16px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.toggle-row .field-help { display: block; }
.toggle-row input { width: 20px; height: 20px; }
.import-drop { margin: 20px 0; }
.import-preview { padding: 16px; }
.import-preview h3 { margin-bottom: 10px; }
.import-preview > .btn { margin-top: 16px; }
.quote-details { display: grid; grid-template-columns: 1fr 220px; gap: 30px; }
.quote-controls { display: flex; flex-direction: column; gap: 16px; }
.quote-controls > strong { font-size: 22px; }
.quote-controls select { display: block; margin-top: 8px; }
.quote-lines { margin-top: 14px; }
.login-panel > .text-link { margin-top: 25px; font-size: 12px; }
.store-title { font-size: clamp(28px,2.7vw,38px); max-width: 740px; }
.store-intro-note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.store-intro-note svg { margin-top: 3px; }
.store-search { display: flex; gap: 12px; align-items: center; width: 100%; margin-bottom: 26px; }
.store-search .search-box { max-width: 600px; flex: 1; }
.store-result-count { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; margin: 0 0 20px; }
.store-categories .tab { border: 0; background: none; border-radius: 0; padding: 8px 4px 16px; }
.store-categories .tab.active { color: var(--text); background: none; border-bottom: 2px solid var(--silver); }
.product-art { position: relative; }
.product-art > svg { width: 210px; height: 180px; max-width: 100%; }
.product-condition { position: absolute; top: 10px; left: 10px; padding: 2px 6px; border-radius: 4px; background: #303034; color: #f0f0f2; font-size: 11px; }
.product-card-content { display: flex; flex-direction: column; flex: 1; }
.product-media { display:grid; place-items:center; position:relative; width:100%; height:100%; min-width:0; min-height:0; padding:28px 22px 18px; }
.product-photo { display:block; width:auto; height:auto; max-width:100%; max-height:100%; min-width:0; min-height:0; object-fit:contain; transform:translate(var(--photo-x,0%),var(--photo-y,0%)) scale(var(--photo-scale,1)); }
.product-photo[hidden],.product-media-fallback[hidden] { display:none; }
.product-media-fallback { color:#55555c; font-size:11px; text-align:center; }
.product-media--thumb { padding:5px; }
.product-media--thumb .product-media-fallback { font-size:18px; }
.product-photo-note { margin:0 0 9px; color:var(--muted); font-size:10px; line-height:1.5; }
.product-photo-button { display:block; width:100%; height:100%; padding:0; border:0; border-radius:inherit; background:transparent; color:inherit; cursor:zoom-in; }
.product-photo-button:focus-visible { outline:3px solid #151517; outline-offset:-5px; }
.product-condition { pointer-events:none; }
.product-photo-detail { margin:0; }
.product-photo-detail .product-media { height:min(440px,55vh); background:var(--silver); border-radius:8px; overflow:hidden; padding:28px; }
.product-photo-detail figcaption { padding-top:14px; color:var(--muted); font-size:12px; }
.product-media.product-media--paper { background:#fff; }
.product-media.product-media--graphite { background:#303034; }
.product-media--graphite .product-media-fallback { color:var(--muted); }
@media (max-width:600px) {
  .product-media:not(.product-media--thumb) { padding:29px 8px 12px; }
}
.product-category { display: block; }
.product-title { font-size: 15px; line-height: 1.5; letter-spacing: -.02em; }
.product-specs { min-height: 22px; }
.product-price-label { display: block; font-size: 11px; color: var(--muted); }
.product-price { display: block; margin-top: 3px; font-size: 21px; }
.product-bottom > div { flex: 1; min-width: 0; }
.product-bottom .btn { flex: 0 0 auto; width: 40px; height: 40px; }
.product-availability { color: var(--muted); font-size: 11px; margin-top: 12px; }
.contact-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 30px; }
.contact-note svg { margin-top: 2px; flex-shrink: 0; }
.quote-item .product-info { min-width: 0; }
.quote-item .product-info strong { display: block; font-size: 12px; }
.quote-item .product-info > span { display: block; margin-top: 5px; }
.quote-item .product-thumb { flex-shrink: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.6; margin-top: 18px; }
.consent input { flex-shrink: 0; margin-top: 3px; }
.quote-success { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 10px 0; }
.quote-success > svg { width: 30px; height: 30px; }
.quote-success p { color: var(--muted); line-height: 1.8; }
.print-only { display: none; }
/* Reading sizes: controls and primary information stay comfortable on screen. */
.nav-item,.btn,.tab,table,.source-details strong { font-size:13px; }
.page-subtitle,.store-summary,.source-lead p { font-size:14px; }
.stat-label,.store-result-count,.product-category,.product-specs,.product-availability { font-size:13px; }
.product-name { font-size:13px; }
.field label,.field-help,.contact-note,.source-details > span,.product-meta,.stat-note { font-size:12px; }
.store-title { font-size:32px; }
.store-summary { margin-top:14px; }
.product-specs { line-height:1.6; }
.store-footer { font-size:12px; }
@media (max-width:1100px) and (min-width:761px) {
  .sidebar { width: 190px; padding-left: 10px; padding-right: 10px; }
  :root { --sidebar:190px; }
  .brand img { width:150px; }
}
@media (max-width:760px) {
  .btn,.icon-btn,.tab,.nav-item { min-height:44px; }
  .private-label { display:none; }
  .field input:not([type='checkbox']),.field select,.field textarea,.search-box input { font-size:14px; min-height:44px; }
  .quote-details { grid-template-columns:1fr; gap:20px; }
  .store-search { flex-wrap:wrap; gap:8px; }
  .store-search .search-box { flex-basis:100%; }
  .store-intro-note { display:none; }
  .store-title { font-size:29px; }
  .store-result-count { font-size:11px; }
  .product-art > svg { width:160px; height:130px; }
  .product-price { font-size:17px; }
  .product-title { font-size:13px; }
  .product-bottom { align-items:flex-start; }
  .product-bottom .btn { width:36px; min-width:36px; height:44px; }
  .product-bottom:has(.product-price-label:first-child) { gap:6px; }
  .store-header .brand img { width:142px; }
  .product-thumb { width:40px; }
  .form-actions { flex-wrap:wrap; }
}
@media print {
  body:has(> #print-catalog) > * { display:none !important; }
  body > #print-catalog { display:block !important; }
  #print-catalog table { width:100%; min-width:0; border-collapse:collapse; }
  #print-catalog td:last-child,#print-catalog th:last-child { text-align:right; }
}

/* Fixed A4 geometry is shared by the offscreen preparation and print layout. */
#print-catalog { color:#19191c; background:#fff; font-family:Manrope,Arial,sans-serif; font-size:9pt; font-weight:400; line-height:1.35; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
#print-catalog * { box-sizing:border-box; }
#print-catalog.print-catalog--preparing { display:block !important; position:fixed; top:0; left:-10000px; width:186mm; pointer-events:none; }
#print-catalog .print-sheet { display:grid; grid-template-rows:24mm 6mm minmax(0,1fr) 16mm; gap:4mm; width:186mm; height:272mm; margin:0; padding:0; break-after:page; break-inside:avoid; background:#fff; }
#print-catalog .print-sheet:last-child { break-after:auto; }
#print-catalog h1,#print-catalog h2,#print-catalog p { margin:0; }
#print-catalog .print-catalog-header { display:flex; align-items:center; justify-content:space-between; gap:8mm; padding:5mm 6mm; background:#09090b; color:#eeeeef; border-radius:2mm; }
#print-catalog .print-catalog-header img { display:block; width:56mm; height:auto; max-height:15mm; object-fit:contain; }
#print-catalog .print-catalog-header > div { text-align:right; }
#print-catalog .print-catalog-header h1 { color:#fff; font-size:15pt; line-height:1.25; font-weight:700; letter-spacing:-.4pt; }
#print-catalog .print-catalog-header p { margin-top:2mm; color:#c7c7cd; font-size:7pt; }
#print-catalog .print-catalog-meta { display:flex; align-items:center; justify-content:space-between; gap:5mm; font-size:7pt; color:#64646d; }
#print-catalog .print-catalog-meta strong { color:#19191c; font-size:7pt; letter-spacing:.2pt; }
#print-catalog .print-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(3,minmax(0,1fr)); gap:4mm; min-height:0; }
#print-catalog .print-product { display:grid; grid-template-rows:34mm minmax(0,1fr); gap:2mm; min-width:0; min-height:0; padding:3mm; border:.2mm solid #dddddf; border-radius:2mm; background:#fff; break-inside:avoid; }
#print-catalog .print-product-photo { min-width:0; min-height:0; overflow:hidden; border-radius:1mm; background:#eeeeef; }
#print-catalog .print-product-photo .product-media { padding:1.5mm 4mm; }
#print-catalog .print-product-photo .product-photo { max-height:100%; max-width:100%; }
#print-catalog .print-product-copy { display:flex; flex-direction:column; align-items:flex-start; min-height:0; min-width:0; }
#print-catalog .print-product-category { color:#64646d; font-size:6.7pt; line-height:1.2; }
#print-catalog .print-product h2 { margin-top:1mm; font-size:8.8pt; line-height:1.25; letter-spacing:-.12pt; font-weight:700; overflow-wrap:anywhere; }
#print-catalog .print-product--long h2 { font-size:8pt; }
#print-catalog .print-product-specs { margin-top:.8mm; color:#45454d; font-size:6.6pt; line-height:1.25; }
#print-catalog .print-product-note { margin-top:.8mm; color:#64646d; font-size:6.4pt; line-height:1.25; }
#print-catalog .print-product-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:2mm; margin-top:auto; padding-top:1.2mm; }
#print-catalog .print-product-price strong { color:#09090b; font-size:14pt; font-weight:700; line-height:1.1; letter-spacing:-.4pt; white-space:nowrap; }
#print-catalog .print-product-price span { color:#64646d; font-size:6.7pt; }
#print-catalog .print-product-availability { margin-top:.7mm; color:#45454d; font-size:6.6pt; line-height:1.15; }
#print-catalog .print-catalog-footer { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:5mm; align-items:center; border-top:.25mm solid #dddddf; padding-top:3mm; color:#64646d; font-size:6.4pt; line-height:1.5; }
#print-catalog .print-catalog-footer a { display:flex; flex-direction:column; color:#19191c; text-decoration:none; text-align:right; font-size:7pt; }
#print-catalog .print-catalog-footer a strong { font-size:7pt; font-weight:700; }
#print-catalog .print-page-number { min-width:10mm; text-align:right; font-size:7pt; color:#19191c; }
@media print {
  @page { size:A4 portrait; margin:12mm; }
  body:has(> #print-catalog) { margin:0; padding:0; }
  body > #print-catalog { position:static !important; width:186mm; margin:0; padding:0; }
}
@media (min-width:761px) and (max-width:1020px) {
  .sidebar { transform:translateX(-100%); width:250px; }
  .sidebar.is-open { transform:translateX(0); }
  .main-wrap { margin-left:0; }
  .mobile-menu { display:inline-flex !important; }
  .topbar { gap:16px; }
  .breadcrumbs { margin-right:auto; }
}
@media (max-width:640px) {
  .table-wrap:has(.product-cell) table,.table-wrap:has(.product-cell) tbody { display:block; width:100%; }
  .table-wrap:has(.product-cell) thead { display:none; }
  .table-wrap:has(.product-cell) tr { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 8px; padding:18px 12px; border-bottom:1px solid var(--line); }
  .table-wrap:has(.product-cell) td { display:block; padding:0; border:0; min-width:0; }
  .table-wrap:has(.product-cell) td:has(.product-cell) { grid-column:1/-1; padding-right:35px; }
  .table-wrap:has(.product-cell) .product-cell { min-width:0; gap:9px; }
  .table-wrap:has(.product-cell) tr:has(.check) .product-cell { padding-left:22px; }
  .table-wrap:has(.product-cell) td.check { position:absolute; left:12px; top:28px; width:16px; }
  .table-wrap:has(.product-cell) td.num { text-align:left; font-size:11px; }
  .table-wrap:has(.product-cell) td.num::before { content:attr(data-label); display:block; color:var(--muted); font-size:11px; margin-bottom:4px; font-weight:400; }
  .table-wrap:has(.product-cell) td:has(.status) { grid-column:1/-1; }
  .table-wrap:has(.product-cell) td:last-child { position:absolute; right:8px; top:15px; }
  .table-wrap:has(.product-cell) .row-action { width:36px; }
  .overview-grid .panel-body { padding:0 12px 12px; }
}

.cost-provenance { margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.cost-provenance > span { color: var(--muted); font-size: 12px; }
.cost-provenance > p { margin: 6px 0; font-size: 12px; line-height: 1.7; }
