:root { color-scheme: light; --forest:#243e32; --leaf:#567363; --cream:#f8f5ee; --paper:#fffdf8; --line:#e6e5dc; --ink:#26332e; --muted:#66766d; --accent:#bb714b; }
* { box-sizing:border-box; }
body { margin:0; background:var(--cream); color:var(--ink); font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color:inherit; }
.container { max-width:1120px; margin:auto; padding:0 24px; }
.site-header { background:var(--forest); color:#fff; }
.header-content { min-height:76px; display:flex; justify-content:space-between; align-items:center; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; font-weight:750; font-size:19px; line-height:1.1; }
.brand-mark { width:37px; height:37px; display:grid; place-items:center; border-radius:10px; background:var(--accent); color:#fff; }
.brand small { display:block; margin-top:5px; color:#b9c8be; font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; }
.header-actions { display:flex; gap:18px; align-items:center; font-size:14px; }
.text-button { border:0; background:transparent; color:#fff; font:inherit; cursor:pointer; text-decoration:underline; }
.main-content { padding-top:44px; padding-bottom:80px; }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(32px,4.8vw,52px); line-height:1.08; letter-spacing:-.035em; color:var(--forest); margin-bottom:10px; }
h2 { font-size:25px; line-height:1.2; letter-spacing:-.02em; color:var(--forest); margin-bottom:8px; }
h3 { font-size:21px; line-height:1.2; color:var(--forest); margin-bottom:10px; }
.muted { color:var(--muted); }
.eyebrow { color:var(--accent); font-size:12px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; margin-bottom:10px; }
.page-heading,.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; }
.page-heading { margin-bottom:32px; }
.status-badge,.tag,.count { border-radius:999px; padding:7px 13px; background:#e8eee8; color:var(--forest); font-size:12px; font-weight:700; white-space:nowrap; }
.branch-tabs { display:flex; gap:7px; border-bottom:1px solid var(--line); margin-bottom:36px; }
.branch-tab { padding:13px 19px; text-decoration:none; color:var(--muted); border-bottom:3px solid transparent; font-weight:600; }
.branch-tab:hover,.branch-tab:focus-visible { color:var(--forest); }
.branch-tab.active { color:var(--forest); border-color:var(--accent); }
.section-heading { margin-bottom:17px; }
.card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.card { background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:25px; box-shadow:0 8px 26px #243e3208; }
.card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:27px; }
.icon { width:42px; height:42px; border-radius:12px; background:#e7ece6; color:var(--forest); display:grid; place-items:center; font-size:23px; }
.card p { margin-bottom:0; }
.empty { grid-column:1/-1; }
.notice { background:#fff1e7; border:1px solid #f0d4c0; border-radius:12px; padding:14px 18px; color:#805335; margin:0 0 28px; }
.next-panel { background:var(--forest); color:#e7efe7; border-radius:16px; padding:28px; margin-top:30px; display:flex; justify-content:space-between; gap:22px; }
.next-panel h2 { color:#fff; }
.next-panel p:last-child { margin:0; }
.next-panel .tag { align-self:start; }
.setup-card { max-width:640px; }
.setup-card .icon { margin-bottom:22px; }
.setup-card p { margin-bottom:25px; }
.button { display:inline-flex; justify-content:center; border:0; border-radius:10px; padding:13px 20px; background:var(--accent); color:#fff; text-decoration:none; font:inherit; font-weight:700; cursor:pointer; }
.button:hover,.button:focus-visible { background:#9b5738; }
.login-layout { display:grid; grid-template-columns:1fr 430px; align-items:center; gap:60px; min-height:60vh; }
.login-layout>div .muted { max-width:380px; font-size:18px; }
.login-card { display:grid; gap:9px; }
.login-card h2 { margin-bottom:12px; }
.login-card label { font-size:14px; font-weight:650; }
.login-card input:not([type=hidden]) { width:100%; border:1px solid #ccd5cd; background:#fff; border-radius:9px; padding:12px; font:inherit; margin-bottom:10px; }
.login-card .button { margin-top:8px; }
.form-error { border-radius:8px; padding:10px 12px; background:#fff0e8; color:#8e3e2b; }
.app-shell { display:grid; grid-template-columns:205px minmax(0,1fr); gap:28px; align-items:start; }
.sidebar { background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:23px 14px; min-height:670px; display:flex; flex-direction:column; }
.sidebar-caption { color:#91a097; font-size:10px; font-weight:750; letter-spacing:.12em; padding:0 12px; margin:0 0 14px; }
.side-link { min-height:44px; padding:10px 12px; display:flex; align-items:center; gap:11px; border-radius:9px; color:#5c6a61; text-decoration:none; font-size:14px; font-weight:600; }
.side-link span { width:20px; text-align:center; font-size:17px; color:#718177; }
.side-link.selected { background:#e9eee8; color:var(--forest); }
.side-link.selected span { color:var(--forest); }
.side-link.disabled { opacity:.55; cursor:default; }
.side-link small { margin-left:auto; color:#829087; font-size:10px; font-weight:600; }
.sidebar-bottom { margin-top:auto; padding:16px 8px 0; border-top:1px solid var(--line); display:flex; align-items:center; gap:10px; min-width:0; }
.avatar { width:34px; height:34px; flex:0 0 34px; border-radius:50%; display:grid; place-items:center; background:var(--forest); color:white; font-weight:700; }
.sidebar-bottom strong,.sidebar-bottom small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-bottom strong { font-size:12px; color:var(--forest); }
.sidebar-bottom small { color:var(--muted); font-size:10px; margin-top:3px; }
.workspace { min-width:0; }
.workspace-top { display:flex; justify-content:space-between; align-items:end; gap:16px; margin-bottom:29px; }
.workspace-top .eyebrow { margin:0 0 3px 10px; font-size:10px; }
.workspace-top .branch-tabs { margin:0; border:0; gap:4px; }
.workspace-top .branch-tab { padding:8px 13px; border:0; border-radius:8px; font-size:13px; }
.workspace-top .branch-tab.active { background:var(--forest); color:white; }
.status-badge { display:inline-flex; align-items:center; gap:7px; background:#fff1e7; color:#925b3d; }
.status-badge i { width:7px; height:7px; display:inline-block; border-radius:50%; background:#d29452; }
.welcome { display:flex; justify-content:space-between; align-items:end; gap:16px; margin-bottom:25px; }
.welcome h1 { font-size:clamp(26px,3vw,34px); margin-bottom:8px; letter-spacing:-.03em; }
.welcome .muted { margin:0; font-size:14px; }
.date-chip { border:1px solid var(--line); background:var(--paper); color:var(--muted); padding:8px 13px; border-radius:9px; font-size:12px; white-space:nowrap; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.metric-card { min-width:0; padding:16px; background:var(--paper); border:1px solid var(--line); border-radius:13px; }
.metric-label { min-height:40px; display:flex; align-items:center; gap:8px; color:#58675d; font-size:11px; font-weight:650; line-height:1.25; }
.metric-icon { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:8px; font-weight:750; }
.metric-icon.green { color:#355943; background:#e6eee6; }
.metric-icon.blue { color:#466278; background:#e6edf1; }
.metric-icon.warm { color:#9a6344; background:#f7eae1; }
.metric-icon.sand { color:#816d38; background:#f1eddd; }
.metric-value { display:block; margin:12px 0 4px; color:var(--forest); font-size:27px; line-height:1; }
.metric-card p { color:#89958d; font-size:10px; line-height:1.35; min-height:27px; margin:0; }
.content-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:14px; }
.content-grid.single-panel { grid-template-columns:minmax(0,1fr); }
.panel { min-width:0; background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:19px; }
.panel-heading { display:flex; justify-content:space-between; align-items:start; gap:12px; margin-bottom:15px; }
.panel-heading .eyebrow { font-size:9px; margin-bottom:5px; }
.panel-heading h2 { font-size:17px; margin:0; }
.tag.neutral { background:#f0f1ec; color:#69766c; font-size:10px; padding:6px 9px; }
.tasks-panel,.stock-panel { min-height:235px; }
.empty-state { min-height:145px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:12px 22px; }
.empty-state h3 { font-size:14px; margin:10px 0 5px; }
.empty-state p { max-width:390px; margin:0; color:#89958d; font-size:11px; line-height:1.5; }
.empty-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:#e7eee7; color:#567363; font-size:18px; }
.empty-state.compact { min-height:95px; }
.warehouse-list { display:grid; }
.warehouse-row { display:flex; align-items:center; gap:10px; min-height:51px; border-bottom:1px solid #eeeee8; }
.warehouse-row:last-child { border-bottom:0; }
.warehouse-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:8px; background:#edf0e9; color:var(--forest); }
.warehouse-info { min-width:0; flex:1; }
.warehouse-info strong,.warehouse-info small { display:block; }
.warehouse-info strong { color:var(--forest); font-size:12px; }
.warehouse-info small { color:#919b94; font-size:10px; }
.warehouse-state { color:#89958d; font-size:9px; text-align:right; }
.warehouse-cards { margin-top:4px; }
.warehouse-card { display:block; text-decoration:none; transition:transform .15s ease,border-color .15s ease; }
.warehouse-card:hover,.warehouse-card:focus-visible { transform:translateY(-2px); border-color:#a9b9aa; }
.warehouse-card h2 { margin:0 0 6px; font-size:19px; }
.warehouse-card p { margin-bottom:21px; }
.warehouse-open { color:var(--forest); font-size:13px; font-weight:700; }
.module-page { max-width:1050px; margin:0 auto; }
.module-empty { min-height:260px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.module-empty h2 { margin:14px 0 7px; font-size:20px; }
.module-empty p { max-width:500px; margin:0; color:var(--muted); }
.stock-detail-panel,.stock-movements-panel { margin-bottom:18px; }
.stock-table-wrap { overflow-x:auto; }
.stock-table { width:100%; border-collapse:collapse; font-size:13px; }
.stock-table th,.stock-table td { padding:12px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.stock-table th { color:var(--muted); background:#f6f6f0; font-size:11px; font-weight:700; white-space:nowrap; }
.stock-table td small { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.stock-table td:nth-child(3),.stock-table td:nth-child(4),.stock-table td:nth-child(5) { white-space:nowrap; }
.stock-footnote { margin-top:9px; padding-top:10px; border-top:1px solid #eeeee8; color:#89958d; font-size:10px; line-height:1.4; }
.chart-panel,.activity-panel { min-height:195px; }
.chart-empty { display:flex; align-items:center; gap:20px; min-height:105px; padding:10px 8px; }
.chart-empty p,.activity-empty p { color:#89958d; font-size:11px; line-height:1.5; margin:0; }
.chart-bars { height:54px; min-width:108px; display:flex; align-items:end; justify-content:center; gap:6px; border-bottom:1px solid var(--line); }
.chart-bars i { display:block; width:8px; height:18px; border-radius:4px 4px 0 0; background:#dce5dc; }
.chart-bars i:nth-child(2),.chart-bars i:nth-child(5) { height:30px; }
.chart-bars i:nth-child(3),.chart-bars i:nth-child(6) { height:41px; }
.chart-bars i:nth-child(4) { height:24px; }
.activity-empty { display:flex; align-items:center; gap:13px; min-height:105px; }
.activity-empty span { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; background:#f0f1ec; color:#748176; border-radius:50%; font-size:19px; }
.notice { font-size:12px; }
.success-notice { background:#e8f0e7; border-color:#d2e2d1; color:#355943; }
.employees-page,.employee-form-page { max-width:1000px; margin:0 auto; }
.employees-heading { align-items:center; }
.employees-heading h1,.employee-form-page h1 { font-size:clamp(30px,4vw,42px); }
.employees-heading .muted,.employee-form-page .muted { margin:0; }
.employee-panel { padding:22px; }
.employee-table-wrap { overflow-x:auto; }
.employee-table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
.employee-table th { padding:11px 12px; color:#89958d; font-size:10px; letter-spacing:.08em; text-transform:uppercase; border-bottom:1px solid var(--line); }
.employee-table td { padding:15px 12px; vertical-align:middle; border-bottom:1px solid #eeeee8; }
.employee-table tbody tr:last-child td { border-bottom:0; }
.employee-table td strong,.employee-table td small { display:block; }
.employee-table td strong { color:var(--forest); }
.employee-table td small { margin-top:4px; color:#89958d; font-size:11px; }
.role-chips { display:flex; flex-wrap:wrap; gap:5px; }
.role-chip { padding:4px 8px; border-radius:999px; background:#edf0e9; color:#506252; font-size:10px; white-space:nowrap; }
.employee-status { display:inline-block; padding:5px 9px; border-radius:999px; background:#e8f0e7; color:#355943; font-size:11px; font-weight:700; white-space:nowrap; }
.employee-status.blocked { background:#f7eae1; color:#93583a; }
.small-link { color:#496755; font-size:12px; font-weight:700; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.employee-note { margin:14px 0 0; color:#89958d; font-size:11px; }
.employee-panel .empty-state { gap:4px; }
.employee-panel .empty-state .button { margin-top:12px; }
.employee-form-page .eyebrow { margin-bottom:15px; }
.employee-form-page .eyebrow .small-link { color:var(--accent); font-size:11px; }
.employee-form { max-width:760px; padding:28px; }
.form-section + .form-section { border-top:1px solid var(--line); margin-top:26px; padding-top:24px; }
.form-section h2 { margin-bottom:19px; font-size:19px; }
.form-field { display:grid; gap:6px; margin-bottom:18px; }
.form-field:last-child { margin-bottom:0; }
.form-field > label { color:#4e5c53; font-size:13px; font-weight:700; }
.form-field input:not([type=checkbox]),.form-field select { width:100%; min-height:44px; padding:10px 12px; border:1px solid #ccd5cd; border-radius:9px; background:#fff; color:var(--ink); font:inherit; }
.form-field input:disabled { background:#f0f1ec; color:#778279; }
.form-field small { color:#89958d; font-size:11px; }
.form-field ul { margin:0; padding-left:20px; color:#89958d; font-size:11px; }
.form-field ul.errorlist { padding:0; list-style:none; color:#9b402e; }
.form-field .errorlist { color:#9b402e; }
.form-field > div:has(input[type=checkbox]) { display:grid; gap:8px; }
.form-field > div:has(input[type=checkbox]) label { display:flex; align-items:center; gap:8px; color:#425148; font-size:13px; }
.form-field input[type=checkbox] { width:17px; height:17px; accent-color:var(--forest); }
.check-line { display:flex; align-items:center; gap:9px; }
.field-error { color:#9b402e; font-size:11px; }
.has-error input,.has-error select { border-color:#ca765f; }
.form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:25px; padding-top:20px; border-top:1px solid var(--line); }
.button-secondary { background:#e9eee8; color:var(--forest); }
.button-secondary:hover,.button-secondary:focus-visible { background:#dce5dc; }
.catalog-page,.catalog-manage-page { max-width:1050px; margin:0 auto; }
.catalog-heading { align-items:center; }
.catalog-heading h1,.catalog-manage-page h1 { font-size:clamp(30px,4vw,42px); }
.catalog-heading .muted,.catalog-manage-page .muted { margin:0; }
.catalog-actions { display:flex; gap:9px; }
.catalog-branch-tabs { display:flex; gap:8px; margin:-8px 0 18px; border-bottom:1px solid var(--line); }
.catalog-branch-tabs .branch-tab { padding:10px 14px; }
.catalog-branch-tabs .branch-tab.active { color:var(--forest); border-color:var(--accent); }
.catalog-filters { display:grid; grid-template-columns:minmax(220px,1fr) minmax(180px,.65fr) auto auto; align-items:end; gap:12px; padding:17px; margin-bottom:15px; background:var(--paper); border:1px solid var(--line); border-radius:13px; }
.catalog-filters .form-field { margin:0; }
.catalog-filters .form-field > label { font-size:11px; }
.catalog-filters input,.catalog-filters select { min-height:42px; padding:9px 11px; border:1px solid #ccd5cd; border-radius:8px; background:#fff; color:var(--ink); font:inherit; }
.catalog-filters .button { min-height:42px; padding:9px 16px; }
.catalog-filters .small-link { padding:11px 4px; }
.catalog-panel,.category-list-panel { padding:20px; }
.catalog-table-wrap { overflow-x:auto; }
.catalog-table,.category-table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
.catalog-table th,.category-table th { padding:11px 12px; color:#89958d; font-size:10px; letter-spacing:.08em; text-transform:uppercase; border-bottom:1px solid var(--line); }
.catalog-table td,.category-table td { padding:14px 12px; vertical-align:middle; border-bottom:1px solid #eeeee8; }
.catalog-table tbody tr:last-child td,.category-table tbody tr:last-child td { border-bottom:0; }
.catalog-table td strong,.catalog-table td small { display:block; }
.catalog-table td strong,.category-table td strong { color:var(--forest); }
.catalog-table td small { margin-top:3px; color:#89958d; font-size:10px; }
.catalog-empty-stock { color:#89958d; font-size:11px; }
.price-values { display:grid; gap:3px; font-size:11px; color:#78867c; white-space:nowrap; }
.price-values .base-price { color:var(--forest); font-weight:750; }
.catalog-note { margin:13px 2px 0; color:#89958d; font-size:10px; }
.catalog-manage-page .eyebrow { margin-bottom:15px; }
.catalog-manage-page .eyebrow .small-link { color:var(--accent); font-size:11px; }
.catalog-form { max-width:800px; padding:26px; }
.catalog-form .form-field select,.catalog-form .form-field input:not([type=checkbox]) { min-height:42px; padding:9px 11px; border:1px solid #ccd5cd; border-radius:8px; background:#fff; color:var(--ink); font:inherit; }
.form-intro { margin:-9px 0 17px !important; font-size:12px; }
.branch-price-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.branch-price-card { min-width:0; margin:0; padding:16px; border:1px solid var(--line); border-radius:11px; }
.branch-price-card legend { padding:0 6px; color:var(--forest); font-size:13px; font-weight:750; }
.branch-price-card .form-field { margin-bottom:13px; }
.branch-price-card .check-line { font-size:11px; color:#56655b; }
.price-history { display:grid; gap:9px; margin:0; padding:0; list-style:none; }
.price-history li { padding:10px 12px; border-radius:8px; background:#f4f3ed; color:#58675d; font-size:12px; }
.price-history li strong { color:var(--forest); }
.price-history li small { display:block; margin-top:3px; color:#89958d; font-size:10px; }
@media (max-width:760px) { .catalog-filters { grid-template-columns:1fr 1fr; } .catalog-filters .small-link { padding:8px; text-align:center; } }
@media (max-width:650px) { .catalog-heading { align-items:start; } .catalog-actions { width:100%; } .catalog-actions .button { flex:1; } .catalog-panel,.category-list-panel,.catalog-form { padding:15px; } .branch-price-grid { grid-template-columns:1fr; } .catalog-table th,.catalog-table td,.category-table th,.category-table td { padding:10px 8px; } .catalog-table th:nth-child(2),.catalog-table td:nth-child(2) { display:none; } }
@media (max-width:650px) { .employees-heading { align-items:start; } .employees-heading .button { width:100%; } .employee-panel,.employee-form { padding:16px; } .employee-table th,.employee-table td { padding:11px 9px; } .employee-table th:nth-child(2),.employee-table td:nth-child(2) { display:none; } .form-actions { flex-direction:column-reverse; } .form-actions .button { width:100%; } }

/* Catalog category blocks */
.catalog-summary { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:4px 0 18px; }
.catalog-summary h2 { margin:0 0 4px; font-size:22px; }
.catalog-summary .eyebrow { margin-bottom:4px; }
.catalog-summary .muted { margin:0; font-size:12px; }
.catalog-stock-link { display:inline-flex; align-items:center; gap:9px; padding:11px 15px; border:1px solid #d7e0d7; border-radius:10px; background:#edf2ec; color:var(--forest); font-size:12px; font-weight:700; text-decoration:none; }
.catalog-stock-link:hover,.catalog-stock-link:focus-visible { background:#e1eae0; }
.catalog-category-nav { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.catalog-category-nav a { display:inline-flex; align-items:center; gap:8px; padding:8px 11px; border:1px solid var(--line); border-radius:999px; background:var(--paper); color:#526258; font-size:11px; font-weight:650; text-decoration:none; }
.catalog-category-nav a:hover,.catalog-category-nav a:focus-visible { border-color:#a9bcae; color:var(--forest); }
.catalog-category-nav a span { display:inline-grid; min-width:19px; height:19px; place-items:center; border-radius:999px; background:#e9eee8; color:var(--forest); font-size:10px; }
.catalog-category-list { display:grid; gap:17px; }
.catalog-category-block { scroll-margin-top:18px; padding:18px; border:1px solid var(--line); border-radius:15px; background:#fdfbf5; }
.catalog-category-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:13px; padding:0 2px 12px; border-bottom:1px solid var(--line); }
.catalog-category-heading .eyebrow { margin:0 0 4px; font-size:9px; }
.catalog-category-heading h2 { margin:0; font-size:19px; }
.catalog-product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.catalog-product-card { min-width:0; padding:14px; border:1px solid #e8e6dc; border-radius:12px; background:#fffefa; }
.catalog-product-main { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; min-height:53px; }
.catalog-product-main h3 { margin:0; color:var(--forest); font-size:13px; line-height:1.35; }
.catalog-product-dimensions { margin:4px 0 0; color:#89958d; font-size:10px; }
.catalog-grade { flex:0 0 auto; padding:4px 8px; border-radius:999px; background:#f4eddf; color:#785b37; font-size:10px; font-weight:750; }
.catalog-product-price { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-top:10px; padding-top:10px; border-top:1px solid #eeece3; }
.catalog-product-price > span { color:#748078; font-size:10px; }
.catalog-product-price > strong { color:var(--forest); font-size:17px; white-space:nowrap; }
.catalog-product-price small { color:#718076; font-size:10px; font-weight:600; }
.catalog-price-details { margin-top:6px; color:#69776d; font-size:10px; }
.catalog-price-details summary { width:max-content; cursor:pointer; text-decoration:underline; text-decoration-color:#bdc8bd; text-underline-offset:3px; }
.catalog-price-details .price-values { margin-top:7px; white-space:normal; }
.catalog-price-missing,.catalog-price-hidden { margin:12px 0 0; padding-top:10px; border-top:1px solid #eeece3; color:#89958d; font-size:11px; }
.catalog-product-footer { display:flex; justify-content:flex-end; margin-top:11px; padding-top:9px; border-top:1px solid #eeece3; }
.catalog-note { margin:13px 2px 0; color:#89958d; font-size:10px; }
@media (max-width:760px) { .catalog-summary { align-items:flex-start; flex-direction:column; } }
@media (max-width:650px) { .catalog-category-block { padding:13px; } .catalog-product-grid { grid-template-columns:1fr; } .catalog-product-main { min-height:0; } .catalog-product-price > strong { font-size:16px; } }
@media (max-width:760px) { .login-layout { grid-template-columns:1fr; gap:20px; } .main-content { padding-top:30px; } .page-heading { align-items:start; flex-direction:column; } .next-panel { flex-direction:column; } .header-actions .username { display:none; } }
@media (max-width:980px) { .app-shell { grid-template-columns:160px minmax(0,1fr); gap:16px; } .sidebar { padding:17px 9px; } .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .content-grid { grid-template-columns:1fr; } }
@media (max-width:650px) { .app-shell { grid-template-columns:1fr; gap:20px; } .sidebar { min-height:auto; padding:11px; display:flex; flex-direction:row; align-items:center; overflow-x:auto; } .sidebar-caption,.sidebar-bottom { display:none; } .side-link { flex:0 0 auto; min-height:38px; padding:8px 10px; } .workspace-top { align-items:start; flex-direction:column; } .metrics { gap:8px; } .metric-card { padding:12px; } .metric-label { font-size:10px; } .metric-value { font-size:24px; } .welcome { align-items:start; } .welcome h1 { font-size:26px; } .date-chip { margin-top:17px; } }

/* Manager sales workflow */
.message-stack { display:grid; gap:8px; margin-bottom:16px; }
.message-stack .notice { margin:0; }
.sales-heading { align-items:center; }
.sales-heading h1,.sales-form-page h1,.deal-page h1 { font-size:clamp(30px,4vw,42px); }
.sales-heading .muted,.sales-form-page .muted { margin:0; }
.sales-filters { display:flex; align-items:end; gap:12px; margin-bottom:16px; padding:16px; border:1px solid var(--line); border-radius:13px; background:var(--paper); }
.sales-filters .form-field { flex:1; margin:0; }
.sales-filters input,.sales-filters select,.crm-form textarea,.deal-page textarea { width:100%; min-height:42px; padding:9px 11px; border:1px solid #ccd5cd; border-radius:8px; background:#fff; color:var(--ink); font:inherit; }
.sales-panel { padding:20px; }
.sales-table-wrap { overflow-x:auto; }
.sales-table { width:100%; border-collapse:collapse; font-size:12px; }
.sales-table th,.sales-table td { padding:12px 10px; border-bottom:1px solid #eeeee8; text-align:left; vertical-align:middle; }
.sales-table th { color:#89958d; font-size:9px; letter-spacing:.07em; text-transform:uppercase; white-space:nowrap; }
.sales-table td strong,.sales-table td small { display:block; }
.sales-table td small { margin-top:3px; color:#89958d; font-size:10px; }
.crm-form { max-width:760px; margin-top:22px; padding:26px; }
.crm-form textarea { resize:vertical; }
.form-help { color:var(--muted); font-size:12px; }
.deal-status { display:inline-flex; align-items:center; min-height:28px; padding:5px 9px; border-radius:999px; background:#edf0e9; color:#526258; font-size:10px; font-weight:750; white-space:nowrap; }
.status-paid,.status-ready,.status-completed { background:#e3efe5; color:#315d3e; }
.status-cancelled { background:#f7e6df; color:#94492f; }
.yes-mark { color:#356044; font-weight:700; white-space:nowrap; }
.no-mark { color:#8a958e; white-space:nowrap; }
.deal-header { display:flex; justify-content:space-between; align-items:start; gap:18px; margin-bottom:18px; }
.deal-header h1 { margin-bottom:7px; }
.deal-header .muted { margin:0; }
.deal-flags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.flag { padding:7px 10px; border-radius:999px; background:#f1f0e9; color:#707b73; font-size:10px; font-weight:700; }
.flag.done { background:#e3efe5; color:#315d3e; }
.deal-items-panel { margin-bottom:15px; }
.deal-total { color:var(--forest); font-size:22px; }
.deal-columns { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-bottom:15px; }
.deal-columns .button { width:100%; }
.deal-history { margin-top:15px; }
.event-list { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.event-list li { position:relative; display:grid; grid-template-columns:18px 1fr; gap:8px; padding:0 0 16px; }
.tasks-panel .event-list li > div { min-width:0; overflow-wrap:anywhere; }
.event-list li:not(:last-child)::before { content:""; position:absolute; left:6px; top:12px; bottom:0; width:1px; background:#dfe4dc; }
.event-dot { z-index:1; width:13px; height:13px; margin-top:3px; border:3px solid #dfe8df; border-radius:50%; background:var(--forest); }
.event-list strong { color:var(--forest); font-size:12px; }
.event-list p { margin:3px 0; color:#5f6d64; font-size:12px; }
.event-list small { color:#929d95; font-size:10px; }
.success-box { padding:16px; border-radius:10px; background:#e3efe5; color:#315d3e; }
@media (max-width:760px) { .deal-columns { grid-template-columns:1fr; } .sales-filters { align-items:stretch; flex-direction:column; } .sales-filters .button { width:100%; } }


/* Branch-specific invoice and waybill print layouts */
.document-action-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.document-action-grid > div { padding:16px; border:1px solid #e5e9e2; border-radius:12px; }
.document-action-grid h3 { margin:0 0 8px; }
.print-actions { margin:15px 0; }
.document-body { margin:0; background:#eef0eb; color:#202a23; font:14px/1.45 Arial,sans-serif; }
.document-toolbar { display:flex; justify-content:flex-end; gap:10px; max-width:210mm; margin:18px auto; }
.print-document { width:210mm; min-height:285mm; margin:0 auto 20px; padding:16mm 17mm; background:#fff; box-shadow:0 3px 18px #26352522; box-sizing:border-box; }
.print-doc-header { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; border-bottom:2px solid #173f2b; padding-bottom:14px; margin-bottom:16px; }
.print-doc-header h1 { margin:0 0 5px; font-size:22px; }
.print-doc-header p { margin:4px 0; }
.doc-company { max-width:48%; text-align:right; }
.requisites-table,.print-items { width:100%; border-collapse:collapse; margin:14px 0; }
.requisites-table th,.requisites-table td,.print-items th,.print-items td { border:1px solid #aab2aa; padding:7px; text-align:left; vertical-align:top; }
.requisites-table th { background:#f1f3ee; white-space:nowrap; }
.doc-parties { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:18px 0; }
.doc-parties span,.doc-parties small { display:block; color:#68746b; }
.doc-parties strong { display:block; margin:4px 0; }
.doc-meta { margin:14px 0; }
.print-items th { background:#edf2eb; }
.print-items td:nth-child(1),.print-items td:nth-child(3),.print-items td:nth-child(4) { white-space:nowrap; }
.print-items tfoot th { border-top:2px solid #405b48; }
.doc-totals { text-align:right; margin:18px 0; }
.doc-totals p { margin:5px 0; }
.doc-warning { margin:20px 0; font-size:12px; }
.doc-signatures { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:45px; }
.doc-signatures div { display:grid; grid-template-columns:auto 1fr; align-items:end; gap:10px; }
.doc-signatures i { min-width:100px; border-bottom:1px solid #555; height:1.4em; }
.print-copy { page-break-before:always; break-before:page; }
@media (max-width:760px) { .document-action-grid { grid-template-columns:1fr; } .print-document { width:auto; min-height:0; margin:10px; padding:18px; } .print-doc-header { display:block; } .doc-company { max-width:none; text-align:left; margin-top:12px; } }
@media print {
  @page { size:A4; margin:12mm; }
  .document-toolbar { display:none !important; }
  .document-body { background:#fff; }
  .print-document { width:auto; min-height:0; margin:0; padding:0; box-shadow:none; }
  .print-copy { page-break-before:always; break-before:page; }
  a { color:inherit; text-decoration:none; }
}


/* Structured company requisites and clearer customer-document actions */
.customer-form-section { min-width:0; margin:0 0 20px; padding:18px; border:1px solid #e2e7de; border-radius:14px; }
.customer-form-section legend { padding:0 8px; color:var(--forest); font-weight:700; }
.company-requisites[hidden] { display:none; }
.document-action-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.document-action-grid > div { min-width:0; }
.document-howto { margin:0 0 16px; padding:13px 16px; border-radius:10px; background:#edf3eb; color:#344c3a; }
.quote-action { border-color:#b9ceb9 !important; background:#fbfdf9; }
.document-action-grid .form-field small { display:block; margin-top:5px; }
@media (max-width:960px) { .document-action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .document-action-grid { grid-template-columns:1fr; } }

/* Product material details and order logistics estimates */
.catalog-product-description { margin:6px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }
.deal-logistics { margin-top:12px; padding:12px 14px; border-radius:9px; background:#f3f5ef; color:#4f5e53; font-size:12px; line-height:1.7; }

/* Product search suggestions in order entry */
.has-product-picker select[name="product"]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.product-picker{position:relative}.product-picker-input{width:100%;min-height:46px;padding:11px 14px;border:1px solid #ccd5cd;border-radius:9px;background:#fff;color:var(--ink);font:inherit}.product-picker-input:focus{outline:3px solid #bb714b44;border-color:var(--accent)}
.product-picker-options{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;max-height:300px;overflow:auto;padding:5px;border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 12px 28px #243e3226}.product-picker-options[hidden]{display:none}.product-picker-option{display:block;width:100%;padding:10px 12px;border:0;border-radius:7px;background:#fff;color:var(--ink);text-align:left;font:inherit;cursor:pointer}.product-picker-option:hover,.product-picker-option:focus-visible{background:#edf3eb;color:var(--forest);outline:none}.product-picker-empty{margin:0;padding:12px;color:var(--muted)}
@media print{
.print-document{font-size:12px}.print-doc-header{align-items:center;padding-bottom:18px;margin-bottom:20px}.doc-company{padding:12px 14px;border:1px solid #d8dfd6;border-radius:8px;line-height:1.6}
.doc-parties{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.doc-party-card{min-width:0;padding:13px 15px;border:1px solid #d8dfd6;border-radius:8px;background:#fbfcf9}.doc-party-label{display:block;color:#657368;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.doc-party-card strong{display:block;margin:5px 0;font-size:13px}.doc-party-card small{display:block;margin-top:3px;line-height:1.45;overflow-wrap:anywhere}
.doc-reference{padding:9px 12px;border-left:3px solid #bb714b;background:#f8f5ee}.document-lines{margin-top:22px}.document-lines h2{margin:0 0 8px;font-size:15px;color:#243e32}.print-items{margin:0;table-layout:fixed;font-size:11px}.print-items th{padding:9px 7px;color:#243e32;background:#e9efe8}.print-items td{padding:9px 7px;overflow-wrap:anywhere}.print-items th:nth-child(1){width:6%}.print-items th:nth-child(2){width:38%}.print-items th:nth-child(3){width:10%}.print-items th:nth-child(4){width:14%}.print-items th:nth-child(5),.print-items th:nth-child(6){width:16%}.print-items td:nth-child(n+4),.print-items th:nth-child(n+4){text-align:right}.print-items tbody tr:nth-child(even){background:#fafbf9}.print-items tfoot th{padding:10px 7px;background:#f2f5f1;font-size:12px}
.doc-totals{max-width:380px;margin:18px 0 18px auto;padding:14px 16px;border:1px solid #d8dfd6;border-radius:8px;background:#f8faf7}.doc-totals div{display:flex;justify-content:space-between;gap:18px;align-items:baseline}.doc-totals div span{color:#536459;font-weight:650}.doc-totals div strong{color:#243e32;font-size:19px;white-space:nowrap}.doc-totals p{margin:7px 0 0;color:#536459}.doc-totals .doc-tax{font-weight:700}
}

.report-month-total { margin-bottom:24px; padding:18px 22px; }
.report-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px; margin-bottom:22px; }
.report-summary .panel { display:flex; flex-direction:column; gap:9px; padding:20px 22px; }
.report-summary .panel span { color:var(--muted); font-size:14px; }
.report-summary .panel strong { color:var(--forest); font-size:24px; }
.report-note { margin:0 0 18px; }
.report-filters { align-items:end; }
@media (max-width:700px) { .report-filters { display:grid; grid-template-columns:1fr; } }


/* Readable financial report and print layout */
.report-page-heading { align-items:center; gap:18px; margin-bottom:18px; }
.report-page-heading h1 { margin:0 0 7px; }
.report-page-heading .muted { margin:0; max-width:720px; }
.report-controls { margin-bottom:20px; }
.report-controls .branch-tabs { margin-bottom:12px; }
.report-filters { display:grid; grid-template-columns:minmax(170px,220px) minmax(170px,220px) auto; align-items:end; gap:12px; margin:0; }
.report-filters .form-field { margin:0; }
.report-filter-actions { display:flex; flex-wrap:wrap; gap:8px; }
.report-filter-actions .button { min-height:42px; white-space:nowrap; }
.button-quiet { background:#eef1eb; color:#41594a; border:1px solid #dfe5dc; }
.report-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:14px; }
.report-kpi { min-width:0; display:flex; flex-direction:column; gap:7px; padding:18px 19px; border:1px solid var(--line); border-radius:13px; background:var(--paper); }
.report-kpi > span { color:#6f7c72; font-size:12px; font-weight:650; }
.report-kpi > strong { color:#263d2e; font-size:clamp(18px,2vw,25px); line-height:1.15; overflow-wrap:anywhere; }
.report-kpi > small { color:#929b93; font-size:11px; }
.report-kpi-revenue { background:#eaf1e9; border-color:#d5e3d4; }
.report-kpi-net { background:#f6efe3; border-color:#ece0ca; }
.report-kpi-net > strong { color:#8a5a2d; }
.report-incomplete { display:flex; flex-direction:column; gap:4px; margin:0 0 16px; padding:13px 16px; border:1px solid #e8d5ad; border-left:4px solid #c48a38; border-radius:10px; background:#fff8e9; color:#6a5131; font-size:12px; line-height:1.5; }
.report-incomplete strong { color:#704b20; font-size:13px; }
.report-info { border-color:#d7e3d4; border-left-color:#738c71; background:#f1f5ef; color:#596c5b; }
.report-financial-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); align-items:start; gap:14px; margin-bottom:16px; }
.report-card { min-width:0; padding:20px; }
.report-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:15px; }
.report-card-heading h2 { margin:0; color:var(--forest); font-size:18px; }
.report-card-heading .eyebrow { margin:0 0 5px; }
.report-period-tag,.report-count { flex:none; padding:6px 9px; border-radius:999px; background:#edf0e9; color:#617064; font-size:10px; font-weight:700; }
.report-ledger { border-top:1px solid #ecefe8; }
.report-ledger-row,.report-payment-row,.report-owner-deduction { display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:10px 2px; border-bottom:1px solid #eef0eb; color:#536158; font-size:12px; }
.report-ledger-row strong,.report-payment-row strong,.report-owner-deduction strong { color:#26392c; text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.report-ledger-detail { padding:7px 2px; color:#778279; }
.report-ledger-detail strong { color:#657167; font-weight:600; }
.report-ledger-total { margin-top:3px; border-bottom:0; font-weight:700; }
.report-ledger-net { margin-top:3px; padding:13px 12px; border:0; border-radius:9px; background:#eaf1e9; color:#35543b; font-weight:750; }
.report-ledger-net strong { color:#244a30; font-size:15px; }
.report-shares { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:10px; }
.report-shares article { display:flex; flex-direction:column; gap:6px; padding:12px; border:1px solid #e7ebe4; border-radius:9px; background:#fafbf8; }
.report-shares span,.report-owner-deduction span { color:#758077; font-size:11px; }
.report-shares strong { color:#2c4732; font-size:15px; font-variant-numeric:tabular-nums; }
.report-owner-deduction { margin-top:9px; padding:9px 2px 4px; border-bottom:0; }
.report-owner-deduction strong { color:#7a664d; }
.report-ledger-owner { padding:12px; border:0; border-radius:9px; background:#f6efe3; font-weight:750; }
.report-ledger-owner strong { color:#79552b; font-size:15px; }
.report-footnote { margin:12px 0 0; color:#929b93; font-size:10px; line-height:1.45; }
.report-card-intro { margin:-4px 0 13px; font-size:11px; line-height:1.5; }
.report-cash-total { color:var(--forest); font-size:18px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.report-payment-list { border-top:1px solid #ecefe8; }
.report-payment-row { padding:12px 2px; }
.report-payment-total { margin-top:4px; padding:13px 11px; border:0; border-radius:9px; background:#eaf1e9; font-weight:750; }
.report-cash-note { display:flex; flex-direction:column; gap:4px; margin-top:14px; padding:12px; border-radius:9px; background:#f5f6f2; color:#67736a; font-size:10px; line-height:1.45; }
.report-cash-note strong { color:#425448; font-size:11px; }
.report-sales-panel { margin-top:16px; padding:20px; }
.report-sales-heading { align-items:center; margin-bottom:12px; }
.report-sales-heading h2 { font-size:19px; }
.report-table-wrap { border:1px solid #e8ece5; border-radius:9px; }
.report-sales-table { min-width:980px; font-size:11px; }
.report-sales-table th,.report-sales-table td { padding:11px 10px; }
.report-sales-table thead th { background:#f5f6f2; color:#68756b; }
.report-sales-table tbody tr:nth-child(even) { background:#fbfcfa; }
.report-sales-table .numeric { text-align:right; }
.report-sales-table td.report-money,.report-sales-table tfoot th { font-variant-numeric:tabular-nums; white-space:nowrap; }
.report-sales-table td.report-product { min-width:190px; max-width:260px; }
.report-sales-table .report-product strong { color:#304b36; line-height:1.4; }
.report-sales-table .report-product small { color:#8a958d; }
.report-sales-table .report-date,.report-sales-table .report-quantity { white-space:nowrap; }
.report-sales-table .report-quantity span { color:#879188; }
.report-sales-table tfoot th { border-top:2px solid #dce4d8; background:#f0f4ed; color:#38513e; font-size:11px; letter-spacing:0; text-transform:none; }
.report-missing { display:inline-block; padding:4px 6px; border-radius:6px; background:#fff2d7; color:#8a6527; font-size:10px; white-space:nowrap; }
.report-empty-state { min-height:170px; }
@media (max-width:900px) {
  .report-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .report-financial-grid { grid-template-columns:1fr; }
  .report-filters { grid-template-columns:1fr 1fr; }
  .report-filter-actions { grid-column:1 / -1; }
}
@media (max-width:600px) {
  .report-page-heading { align-items:flex-start; flex-direction:column; }
  .report-back-link { width:100%; }
  .report-kpis { grid-template-columns:1fr 1fr; gap:8px; }
  .report-kpi { padding:13px; }
  .report-kpi > strong { font-size:17px; }
  .report-filters { grid-template-columns:1fr; }
  .report-filter-actions { display:grid; grid-template-columns:1fr 1fr; }
  .report-filter-actions .button { width:100%; padding-left:8px; padding-right:8px; font-size:11px; }
  .report-print-button { grid-column:1 / -1; }
  .report-card { padding:15px; }
  .report-shares { grid-template-columns:1fr; }
  .report-sales-panel { padding:14px; }
}
@media print {
  @page { size:landscape; margin:12mm; }
  body,.app-shell,.main-content { background:#fff !important; }
  .sidebar,.topbar,.report-controls,.report-back-link { display:none !important; }
  .main-content { margin:0 !important; padding:0 !important; width:100% !important; }
  .module-page { max-width:none !important; margin:0 !important; padding:0 !important; }
  .report-page-heading { margin:0 0 12px !important; }
  .report-page-heading h1 { font-size:22px !important; }
  .report-kpi,.panel { box-shadow:none !important; break-inside:avoid; }
  .report-kpi { padding:10px !important; }
  .report-kpi > strong { font-size:16px !important; }
  .report-financial-grid { grid-template-columns:1.1fr .9fr !important; gap:10px !important; }
  .report-card,.report-sales-panel { padding:12px !important; }
  .report-sales-panel { margin-top:10px !important; }
  .report-table-wrap { overflow:visible !important; }
  .report-sales-table { min-width:0 !important; font-size:8px !important; }
  .report-sales-table th,.report-sales-table td { padding:5px 4px !important; }
  .report-sales-table th { white-space:normal !important; }
  .report-missing { background:#fff2d7 !important; }
  a { color:inherit !important; text-decoration:none !important; }
}

.report-kpis-simple { grid-template-columns:repeat(2,minmax(0,1fr)); }
.report-period-description { margin:6px 0 0; color:#879188; font-size:11px; }
@media print { .report-period-description { color:#414d43 !important; font-weight:600; } }

.warehouse-export-panel { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 18px; padding:16px 18px; border:1px solid #dfe7dc; border-radius:12px; background:#f5f8f3; }
.warehouse-export-panel > div { display:flex; flex-direction:column; gap:3px; }
.warehouse-export-panel strong { color:var(--forest); font-size:14px; }
.warehouse-export-panel span { color:var(--muted); font-size:12px; }
.warehouse-detail-heading { align-items:center; }
.warehouse-detail-heading .stock-action-row { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
@media (max-width:650px) { .warehouse-export-panel { flex-direction:column; align-items:stretch; } .warehouse-export-panel .button { width:100%; } .warehouse-detail-heading { align-items:flex-start; flex-direction:column; } .warehouse-detail-heading .button { width:100%; } .warehouse-detail-heading .stock-action-row { width:100%; flex-direction:column; align-items:stretch; } }

.report-cash-panel,.report-distribution-panel { margin:0 0 16px; padding:20px; }
.report-cash-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:26px; }
.report-subheading { margin:0 0 10px; color:#38513e; font-size:13px; }
.report-expenses-subheading { margin-top:18px; }
.report-opening-form { display:grid; grid-template-columns:1fr; gap:8px; margin-top:17px; padding-top:14px; border-top:1px solid #e7ebe4; }
.report-opening-form > label { color:#536158; font-size:12px; font-weight:650; }
.report-opening-form > div { display:flex; align-items:center; gap:9px; }
.report-opening-form input[type=number] { width:min(250px,100%); }
.report-distribution-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.report-distribution-grid > div { display:flex; flex-direction:column; gap:6px; min-height:62px; padding:11px 13px; border:1px solid #e7ebe4; border-radius:9px; background:#fafbf8; }
.report-distribution-grid span { color:#758077; font-size:11px; }
.report-distribution-grid strong { color:#2c4732; font-size:14px; font-variant-numeric:tabular-nums; }
.report-distribution-final { background:#f6efe3 !important; border-color:#ece0ca !important; }
.report-distribution-final strong { color:#79552b; }
@media(max-width:700px) {
  .report-cash-grid { grid-template-columns:1fr; gap:18px; }
  .report-distribution-grid { grid-template-columns:1fr 1fr; }
  .report-opening-form > div { align-items:stretch; flex-direction:column; }
}
@media print {
  @page { size:A4 landscape; margin:10mm; }
  .report-opening-form { display:none !important; }
  .report-kpis { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:7px !important; margin-bottom:10px !important; }
  .report-cash-panel,.report-distribution-panel,.report-sales-panel { padding:9px !important; margin:0 0 8px !important; box-shadow:none !important; }
  .report-cash-grid { grid-template-columns:.9fr 1.1fr !important; gap:14px !important; }
  .report-distribution-grid { grid-template-columns:repeat(5,minmax(0,1fr)) !important; }
  .report-sales-panel { break-inside:auto !important; }
  .report-sales-table { min-width:0 !important; font-size:8px !important; }
  .report-sales-table thead { display:table-header-group; }
  .report-sales-table tfoot { display:table-footer-group; }
  .report-sales-table tr { break-inside:avoid; }
  .report-cash-panel,.report-distribution-panel { break-inside:avoid; }
}

.catalog-cart-form { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin-top:14px; padding-top:12px; border-top:1px solid #e5e9df; }
.catalog-cart-form label { display:flex; flex-direction:column; gap:5px; flex:1 1 145px; color:#526158; font-size:12px; font-weight:650; }
.catalog-cart-form input,.catalog-cart-form select { width:100%; min-height:38px; padding:7px; border:1px solid #d8ded5; border-radius:7px; background:#fff; }
.catalog-cart-form .button { flex:1 1 110px; }
.deal-items-panel .sales-table td form { margin-top:8px; }
.deal-items-panel .sales-table td .button { padding:6px 10px; font-size:12px; }

.catalog-useful-width { color:#496b50; font-weight:650; }

/* One branch, one stock ledger. */
.branch-context { display:inline-block; padding:5px 12px; border-radius:8px; background:var(--forest); color:#fff; font-size:14px; }
.stock-ledger-page { max-width:none; }
.stock-ledger-filter { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.stock-ledger-filter label { display:grid; gap:5px; color:var(--muted); font-size:12px; font-weight:700; }
.stock-ledger-filter input { min-height:43px; border:1px solid var(--line); border-radius:8px; padding:8px; font:inherit; color:var(--ink); background:white; }
.stock-ledger-filter .button { min-height:43px; align-items:center; }
.stock-ledger-explain { color:var(--muted); font-size:12px; line-height:1.5; }
.stock-ledger-table { min-width:850px; background:var(--paper); border:1px solid var(--line); }
.stock-ledger-table th:first-child { min-width:260px; }
.stock-ledger-table td:not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.stock-ledger-table thead th { position:sticky; top:0; z-index:1; }
.stock-ledger-table .stock-ledger-group th { background:#e8eee8; color:var(--forest); font-size:14px; text-align:left; }
.stock-ledger-group a { float:right; font-size:11px; font-weight:600; }
.stock-ledger-total th,.stock-ledger-total td { background:#f4f6ef; font-weight:700; }
.stock-ledger-grand-total th,.stock-ledger-grand-total td { background:var(--forest); color:white; font-weight:700; }
.stock-ledger-lots { margin-top:14px; }
.stock-ledger-lots summary { cursor:pointer; font-weight:700; }
.stock-ledger-lots p { margin:10px 0; }
.stock-ledger-lots ul { margin-bottom:0; padding-left:20px; font-size:13px; }
@media (max-width:650px) {
  .stock-ledger-filter label { flex:1 1 140px; }
  .stock-ledger-filter input { width:100%; }
  .stock-ledger-filter .button { flex:1 1 140px; }
  .stock-ledger-group a { float:none; display:block; margin-top:5px; }
}
@media print {
  .stock-ledger-page .stock-ledger-filter,.stock-ledger-group a,.sidebar,.site-header { display:none !important; }
  .stock-ledger-page { max-width:none; }
  .stock-ledger-page .stock-table-wrap { overflow:visible; }
  .stock-ledger-table { min-width:0; width:100%; font-size:8px; }
  .stock-ledger-table th,.stock-ledger-table td { padding:5px 3px; }
  .stock-ledger-table thead th { position:static; }
}

.home-shortcuts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.home-shortcuts a { display:flex; flex-direction:column; gap:5px; padding:19px; background:var(--paper); border:1px solid var(--line); border-radius:13px; text-decoration:none; }
.home-shortcuts a:hover,.home-shortcuts a:focus-visible { border-color:#91a995; background:#f4f8f2; }
.home-shortcuts strong { color:var(--forest); font-size:18px; }
.home-shortcuts span { color:var(--muted); font-size:12px; }
.home-tasks { max-width:none; }
@media (max-width:650px) { .home-shortcuts { grid-template-columns:1fr 1fr; gap:8px; } .home-shortcuts a { padding:14px; } .home-shortcuts strong { font-size:15px; } }

.main-content.wide-ledger { max-width:1500px; }

/* Daily work shortcuts and stock ledger controls. */
.sidebar-branch { display:grid; gap:3px; margin:8px 9px 14px; padding:10px 12px; border-radius:9px; background:#eaf1e9; color:var(--forest); }
.sidebar-branch small { color:var(--muted); font-size:10px; }
.sidebar-branch strong { font-size:13px; }
.home-quick-actions { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 18px; }
.home-quick-actions .button { min-height:39px; align-items:center; }
.stock-periods,.stock-ledger-jumps { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.stock-periods a,.stock-ledger-jumps a { display:inline-block; padding:8px 11px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--forest); font-size:12px; font-weight:650; text-decoration:none; }
.stock-periods a:hover,.stock-ledger-jumps a:hover,.stock-periods a[aria-current] { background:#eaf1e9; border-color:#95ae99; }
.stock-ledger-filter { margin-bottom:12px; }
.stock-ledger-filter input[type=search] { width:min(280px,100%); }
.stock-ledger-filter select { min-height:43px; border:1px solid var(--line); border-radius:8px; padding:8px; font:inherit; color:var(--ink); background:white; }
.stock-ledger-summary { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 16px; margin:0 0 8px; font-size:12px; }
.stock-ledger-summary strong { color:var(--forest); font-size:14px; }
.stock-ledger-summary span { color:var(--muted); }
.stock-ledger-jumps { margin:14px 0; }
.stock-ledger-jumps span { color:var(--muted); font-size:12px; }
.stock-ledger-jumps a { padding:6px 9px; }
.stock-ledger-page .stock-table-wrap { max-height:72vh; overflow:auto; }
.stock-ledger-table thead th:first-child { left:0; z-index:3; }
.stock-ledger-table tbody tr:not(.stock-ledger-group) > th:first-child { position:sticky; left:0; z-index:1; background:var(--paper); }
.stock-ledger-table tbody .stock-ledger-total > th:first-child { background:#f4f6ef; }
.stock-ledger-table tfoot th:first-child { position:sticky; left:0; background:var(--forest); }
.stock-ledger-table tbody[id] { scroll-margin-top:42px; }
.stock-back-top { text-align:right; font-size:12px; }
@media (max-width:650px) {
  .stock-ledger-filter .stock-ledger-search { flex-basis:100%; }
  .stock-ledger-filter input[type=search],.stock-ledger-filter select { width:100%; }
  .home-quick-actions .button { flex:1 1 140px; }
}
@media print {
  .stock-periods,.stock-ledger-jumps,.stock-back-top,.home-quick-actions { display:none !important; }
  .stock-ledger-page .stock-table-wrap { max-height:none; overflow:visible; }
  .stock-ledger-table tbody tr:not(.stock-ledger-group) > th:first-child,.stock-ledger-table tfoot th:first-child { position:static; }
  .stock-ledger-table thead { display:table-header-group; }
  .stock-ledger-table tr { break-inside:avoid; }
  .stock-ledger-summary { color:#26332e !important; }
}

/* On-screen price sheet follows the A4 PDF's typography and five columns. */
.price-list-page { max-width:none; }
.price-sheet-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:9px; max-width:210mm; margin:0 auto 12px; }
.price-edit-note { max-width:210mm; margin:0 auto 12px; color:var(--muted); font-size:12px; }
.price-sheet { box-sizing:border-box; width:210mm; max-width:100%; margin:0 auto 28px; padding:14mm; background:#fff; box-shadow:0 8px 28px rgba(23,48,30,.1); color:#26332e; font-family:"DejaVu Sans",Arial,sans-serif; }
.price-sheet-header { margin:0 0 6mm; }
.price-sheet-header h1 { margin:0 0 3px; color:#28483a; font-size:22pt; line-height:1.2; }
.price-sheet-header p { margin:0; font-size:8pt; }
.price-sheet-section { margin:0 0 8mm; }
.price-sheet-section h2 { margin:0 0 8px; color:#28483a; font-size:12pt; line-height:1.3; }
.price-sheet-table { table-layout:fixed; width:100%; border-collapse:collapse; font-size:8pt; line-height:1.35; }
.price-col-name { width:31.87%; }.price-col-size { width:25.82%; }.price-col-grade { width:9.89%; }.price-col-amount { width:17.58%; }.price-col-piece { width:14.84%; }
.price-sheet-table th,.price-sheet-table td { padding:4px 5px; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
.price-sheet-table th { background:#eaf1e9; color:#28483a; border-bottom:1px solid #28483a; font-weight:700; }
.price-sheet-table tbody tr:nth-child(even) { background:#f6f7f4; }
.price-sheet-table tbody tr:target { outline:2px solid #b5c9a9; outline-offset:-2px; }
.price-sheet-foot { margin:12px 0 0; font-size:8pt; line-height:1.4; }
.price-sheet-footer { margin-top:8mm; color:#28483a; font-size:8pt; }
.price-sheet.is-editing { width:min(950px,100%); }
.price-sheet.is-editing .price-sheet-table { min-width:710px; }
.price-sheet.is-editing .price-sheet-table-wrap { overflow-x:auto; }
.price-sheet-table input,.price-sheet-table select { box-sizing:border-box; width:100%; min-height:30px; padding:4px; border:1px solid #ced9cc; border-radius:5px; background:#fff; color:#26332e; font:inherit; }
.price-edit-fields { display:grid; gap:4px; }
.price-row-save { display:block; width:100%; margin-top:5px; padding:5px 3px; border:0; border-radius:5px; background:#28483a; color:white; cursor:pointer; font-size:9pt; }
.price-row-save:hover,.price-row-save:focus-visible { background:#42634c; }
.stock-price-info { display:block; margin-top:5px; color:#4e6753; font-size:11px; font-weight:500; }
.stock-price-info a { margin-left:4px; }
.stock-price-editor { margin-top:6px; font-size:11px; font-weight:400; }
.stock-price-editor summary { cursor:pointer; color:#315a3b; }
.stock-price-editor form { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin-top:6px; }
.stock-price-editor input,.stock-price-editor select { min-height:32px; padding:4px; border:1px solid #ccd7cb; border-radius:5px; background:#fff; font:inherit; }
.stock-price-editor input { width:86px; }
.stock-price-editor select { max-width:100px; }
.stock-price-editor button { min-height:32px; padding:4px 8px; border:0; border-radius:5px; background:#28483a; color:#fff; cursor:pointer; }

/* Dense stock tables: one product, one line; editing stays outside the grid. */
.main-content.wide-ledger { max-width:1920px; padding:24px 16px 40px; }
.wide-ledger.app-shell { grid-template-columns:175px minmax(0,1fr); gap:16px; }
.wide-ledger .sidebar { padding:18px 10px; }
.stock-ledger-page .page-heading { margin-bottom:14px; }
.stock-ledger-page h1 { font-size:28px; line-height:1.2; }
.stock-ledger-page .eyebrow { margin-bottom:4px; }
.stock-ledger-filter.panel { padding:10px 12px; gap:8px; }
.stock-ledger-filter label { gap:3px; font-size:11px; }
.stock-ledger-filter input,.stock-ledger-filter select { min-height:32px; padding:5px 7px; font-size:12px; }
.stock-ledger-filter .button { min-height:32px; padding:6px 10px; font-size:12px; }
.stock-ledger-filter input[type=search] { width:190px; }
.stock-ledger-page .stock-periods { margin-bottom:8px; }
.stock-ledger-page .stock-periods a { padding:5px 9px; }
.stock-ledger-help { margin:0 0 8px; color:var(--muted); font-size:11px; }
.stock-ledger-help summary { cursor:pointer; width:fit-content; }
.stock-ledger-help p { margin:6px 0; }
.stock-ledger-jumps { margin:8px 0; }
.stock-table-compact { table-layout:fixed; min-width:760px; font-size:12px; line-height:1.35; }
.stock-table-compact .stock-col-product { width:34%; }
.stock-table-compact .stock-col-price { width:15%; }
.stock-table-compact .stock-col-unit { width:4%; }
.stock-table-compact .stock-col-number { width:9.4%; }
.stock-table-compact th,.stock-table-compact td { height:32px; padding:5px 7px; vertical-align:middle; border-right:1px solid #eceee7; }
.stock-table-compact thead th { height:34px; padding:6px 7px; white-space:nowrap; text-align:right; font-size:11px; }
.stock-table-compact thead th:first-child { text-align:left; }
.stock-table-compact th:first-child { min-width:0; }
.stock-table-compact td { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.stock-table-compact .stock-product-row > th { color:var(--ink); font-size:12px; font-weight:500; }
.stock-product-label { display:flex; align-items:center; gap:5px; min-width:0; }
.stock-product-name { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; }
.stock-table-compact .stock-inline-grade { display:inline; flex:none; margin:0; padding:1px 4px; border-radius:3px; background:#eaf1e9; color:#315a3b; font-size:10px; }
.stock-table-compact .stock-label-edit { flex:none; text-decoration:none; color:#567363; }
.stock-table-compact .stock-product-row:nth-child(even) > * { background:#f7f8f4; }
.stock-table-compact .stock-product-row:hover > * { background:#edf3e9; }
.stock-ledger-table.stock-table-compact .stock-ledger-group th { height:32px; padding:6px 8px; font-size:12px; }
.stock-table-compact .stock-closing { font-weight:750; color:#244d35; background:#edf3e9; }
.stock-ledger-table .stock-closing { position:sticky; right:0; z-index:1; box-shadow:-1px 0 #dce5d7; }
.stock-ledger-table thead .stock-closing { z-index:3; }
.stock-table-compact .stock-product-row .stock-closing { background:#edf3e9; }
.stock-table-compact .stock-ledger-grand-total .stock-closing { color:white; background:var(--forest); }
.stock-price-trigger { display:inline-flex; align-items:center; justify-content:flex-end; gap:5px; max-width:100%; padding:2px 0; border:0; background:transparent; color:#315a3b; font:inherit; font-weight:600; cursor:pointer; white-space:nowrap; }
.stock-price-trigger:hover { text-decoration:underline; }
.stock-price-trigger:focus-visible,.stock-label-edit:focus-visible { outline:2px solid #567363; outline-offset:2px; border-radius:2px; }
.stock-price-pencil { font-size:12px; font-weight:400; color:#78917e; }
.stock-price-value { white-space:nowrap; }
.stock-detail-table { min-width:650px; }
.stock-detail-table .stock-col-product { width:45%; }
.stock-detail-table .stock-col-price { width:17%; }
.stock-detail-table .stock-col-unit { width:8%; }
.stock-detail-table .stock-col-number { width:10%; }
.stock-price-dialog { width:390px; max-width:calc(100vw - 32px); padding:22px; border:1px solid #cbd8c9; border-radius:14px; color:var(--ink); background:var(--paper); box-shadow:0 18px 65px #172e2633; }
.stock-price-dialog::backdrop { background:#1c2e2655; }
.stock-price-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.stock-price-dialog h2 { margin:0; font-size:21px; }
.stock-price-close { width:32px; height:32px; padding:0; border:0; background:transparent; color:var(--muted); font-size:26px; cursor:pointer; }
.stock-price-product { margin:10px 0 16px; font-size:13px; }
.stock-price-dialog-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.stock-price-dialog-fields label { display:grid; gap:5px; font-size:12px; font-weight:650; }
.stock-price-dialog-fields input,.stock-price-dialog-fields select { width:100%; min-height:40px; padding:8px; border:1px solid #cbd8c9; border-radius:7px; background:white; color:var(--ink); font:inherit; }
.stock-price-hint { margin:12px 0 16px; font-size:11px; color:var(--muted); }
.stock-price-dialog .button { width:100%; padding:9px 12px; }
@media (max-width:900px) {
  .wide-ledger.app-shell { grid-template-columns:1fr; }
  .wide-ledger .sidebar { min-height:auto; display:flex; flex-direction:row; align-items:center; overflow-x:auto; padding:8px; }
  .wide-ledger .sidebar-caption,.wide-ledger .sidebar-bottom,.wide-ledger .sidebar-branch { display:none; }
  .wide-ledger .side-link { flex:none; min-height:36px; padding:6px 10px; }
}
@media (max-width:650px) {
  .stock-ledger-filter input[type=search] { width:100%; }
  .stock-ledger-page h1 { font-size:24px; }
}
@media print {
  .stock-table-compact { min-width:0; font-size:8px; }
  .stock-table-compact th,.stock-table-compact td { height:auto; padding:4px 3px; }
  .stock-product-name { overflow:visible; white-space:normal; }
  .stock-table-compact .stock-product-row > th { font-size:8px; }
  .stock-price-pencil,.stock-label-edit,.stock-price-dialog,.stock-ledger-help { display:none !important; }
  .stock-price-trigger { color:inherit; font-size:8px; }
  .stock-ledger-table .stock-closing { position:static; box-shadow:none; }
}
.catalog-compact-page { max-width:none; }
.catalog-compact-page .page-heading { margin-bottom:12px; }
.catalog-compact-page h1 { font-size:28px; }
.catalog-compact-page .eyebrow { margin-bottom:4px; }
.catalog-compact-page .button { min-height:32px; padding:6px 10px; font-size:12px; }
.catalog-compact-page .catalog-filters { gap:8px; padding:10px 12px; margin-bottom:10px; }
.catalog-compact-page .catalog-filters input,.catalog-compact-page .catalog-filters select { width:100%; min-height:32px; padding:5px 8px; font-size:12px; }
.catalog-compact-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; margin-bottom:10px; font-size:12px; }
.catalog-compact-toolbar .button { margin-left:auto; }
.catalog-compact-page .catalog-category-nav { gap:6px; margin-bottom:10px; }
.catalog-compact-page .catalog-category-nav a { padding:4px 8px; border-radius:6px; }
.catalog-compact-wrap { max-height:72vh; overflow:auto; border:1px solid var(--line); }
.catalog-compact-table { min-width:980px; background:var(--paper); }
.catalog-col-name { width:27%; }.catalog-col-size { width:16%; }.catalog-col-grade { width:7%; }.catalog-col-species { width:9%; }.catalog-col-price { width:11%; }.catalog-col-stock { width:18%; }.catalog-col-actions { width:12%; }
.catalog-compact-table .catalog-category-block { padding:0; border:0; border-radius:0; background:none; scroll-margin-top:34px; }
.catalog-compact-table thead th { position:sticky; top:0; z-index:2; text-transform:none; letter-spacing:0; }
.catalog-compact-table thead th:first-child { left:0; z-index:3; }
.catalog-compact-table .stock-product-row > th { position:sticky; left:0; z-index:1; background:var(--paper); text-align:left; }
.catalog-compact-table .catalog-text-cell,.catalog-compact-table .catalog-size-cell { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:left; font-size:11px; }
.catalog-compact-table .catalog-stock-cell { overflow:hidden; text-overflow:ellipsis; font-size:11px; }
.catalog-compact-table .catalog-table-group th { padding:5px 7px; background:#e8eee8; color:var(--forest); font-size:12px; text-align:left; }
.catalog-table-group span { margin-left:9px; font-size:10px; font-weight:500; color:var(--muted); }
.catalog-table-price { font-size:11px; color:#315a3b; }
.catalog-row-actions { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.catalog-open-product { padding:3px 6px; border:1px solid #d6e0d3; border-radius:4px; background:#edf3e9; color:#315a3b; font:inherit; font-size:11px; cursor:pointer; white-space:nowrap; }
.catalog-open-product:hover,.catalog-open-product:focus-visible { background:#dce9d6; }
.catalog-product-dialog { width:460px; }
.catalog-product-dialog h2 { font-size:18px; }
.catalog-dialog-spec { margin:0 0 12px; color:var(--muted); font-size:12px; }
.catalog-dialog-price { margin:12px 0; color:var(--forest); font-size:20px; font-weight:700; }
.catalog-dialog-conversions { margin:12px 0; font-size:12px; }
.catalog-dialog-conversions summary { cursor:pointer; color:#315a3b; }
.catalog-dialog-conversions span { display:block; margin-top:5px; }
.catalog-product-dialog .catalog-cart-form { margin:14px 0; padding-top:14px; }
.catalog-product-dialog .catalog-cart-form label:first-of-type { flex-basis:100%; }
.catalog-product-dialog .catalog-cart-form label { font-size:12px; }
.catalog-product-dialog .catalog-cart-form .button { align-self:end; }
@media (max-width:650px) {
  .catalog-compact-page .catalog-filters { grid-template-columns:1fr; }
  .catalog-compact-page .catalog-actions { flex-wrap:wrap; }
}
@media print {
  .catalog-compact-page .catalog-filters,.catalog-compact-toolbar,.catalog-compact-page .catalog-category-nav,.catalog-compact-page .catalog-actions,.catalog-product-dialog { display:none !important; }
  .catalog-compact-wrap { max-height:none; overflow:visible; }
  .catalog-compact-table { min-width:0; }
  .catalog-compact-table .stock-product-row > th { position:static; }
  .catalog-compact-table .catalog-row-actions { display:none; }
}
@media (max-width:850px) {
  .price-sheet { width:100%; padding:16px; }
  .price-sheet-table-wrap { overflow-x:auto; }
  .price-sheet-table { min-width:680px; }
}
@media print {
  @page { size:A4 portrait; margin:14mm; }
  .site-header,.sidebar,.price-sheet-actions,.price-edit-note { display:none !important; }
  .price-list-page,.price-sheet,.main-content { max-width:none !important; width:100% !important; margin:0 !important; padding:0 !important; box-shadow:none !important; }
  .price-sheet-table { min-width:0 !important; }
  .price-sheet-table thead { display:table-header-group; }
  .price-sheet-table tr { break-inside:avoid; }
  .price-row-save { display:none; }
}


.order-create-form { max-width:none; }
.order-stock-picker input[type="number"] { width:6rem; padding:6px; border:1px solid #ccd5cd; border-radius:6px; font:inherit; }
.order-stock-picker input[type="search"] { width:min(100%,480px); padding:8px; border:1px solid #ccd5cd; border-radius:6px; font:inherit; }

.order-stock-picker th:first-child { width:38%; }
.order-stock-picker th:last-child { width:14%; }
.order-stock-picker th,.order-stock-picker td { padding:7px 5px; overflow:hidden; text-overflow:ellipsis; }
.stock-product-group { margin:10px 0; border:1px solid var(--line); border-radius:8px; background:var(--paper); }
.stock-product-group > summary { padding:10px 12px; cursor:pointer; color:var(--forest); }
.stock-product-group .sales-table-wrap { border:0; border-top:1px solid var(--line); border-radius:0; }
.inline-discount-form { display:flex; align-items:center; gap:6px; min-width:155px; }
.inline-discount-form input { width:72px; padding:6px; }
.inline-discount-form .button { min-height:32px; padding:5px 8px; font-size:11px; }
.document-signature-image { width:auto; max-width:42mm; max-height:16mm; object-fit:contain; }
.document-stamp-image { width:auto; max-width:34mm; max-height:34mm; object-fit:contain; margin:-12mm 0 -8mm -8mm; opacity:.92; }

