:root {
  --ink: #152235;
  --muted: #68778a;
  --line: #dfe6ed;
  --soft: #f4f7fa;
  --panel: #ffffff;
  --nav: #122236;
  --blue: #1768e5;
  --blue-soft: #eaf2ff;
  --orange: #e8791b;
  --green: #188b61;
  --red: #c93e46;
  --shadow: 0 14px 40px rgba(19, 37, 61, .08);
}
* { box-sizing: border-box; }
html { font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--soft); }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 7px; font-size: 11px; font-weight: 800; letter-spacing: .13em; color: var(--blue); }
.brand-mark { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(145deg, #2175f1, #0f4fb4); color: white; font-size: 28px; font-weight: 900; box-shadow: 0 12px 30px rgba(23,104,229,.28); }
.brand-mark.small { width: 40px; height: 40px; border-radius: 12px; font-size: 21px; box-shadow: none; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 5%, #edf4ff, transparent 34%), radial-gradient(circle at 90% 90%, #e3f5ef, transparent 30%), #f8fafc; }
.login-card { width: min(430px, 100%); padding: 42px; border: 1px solid rgba(255,255,255,.9); border-radius: 26px; background: rgba(255,255,255,.94); box-shadow: 0 30px 80px rgba(24,48,78,.13); }
.login-card .brand-mark { margin-bottom: 28px; }
.login-card h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: -.04em; }
.login-card > p.muted { line-height: 1.6; margin: 0 0 28px; }
.stack-form { display: grid; gap: 17px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #3d4c60; }
label small { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #ccd6e1; border-radius: 10px; padding: 10px 12px; background: white; color: var(--ink); outline: none; transition: .18s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,104,229,.12); }
.btn { min-height: 42px; border: 1px solid transparent; border-radius: 10px; padding: 10px 17px; font-weight: 800; transition: .18s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(23,104,229,.2); }
.btn.secondary { background: var(--blue-soft); color: #1553aa; border-color: #cfe0fb; }
.btn.ghost { background: white; border-color: var(--line); color: var(--ink); }
.btn.full { width: 100%; }
.text-button { border: 0; background: none; color: var(--blue); font-weight: 800; padding: 5px; }
.icon-button { border: 0; background: transparent; border-radius: 9px; min-width: 36px; height: 36px; color: inherit; font-size: 19px; }
.icon-button:hover { background: rgba(255,255,255,.08); }
.form-error { margin: 0; color: var(--red); background: #fff0f1; border-radius: 9px; padding: 10px; font-size: 13px; }
.app-shell { display: grid; grid-template-columns: 244px minmax(0,1fr); min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 244px; background: var(--nav); color: #eaf1f8; display: flex; flex-direction: column; padding: 19px 14px 14px; }
.sidebar-head { display: flex; align-items: center; gap: 12px; padding: 0 8px 21px; border-bottom: 1px solid rgba(255,255,255,.09); }
.sidebar-head strong, .sidebar-head span { display: block; }
.sidebar-head strong { font-size: 16px; }.sidebar-head span { color: #93a3b5; font-size: 12px; margin-top: 3px; }
nav { padding-top: 18px; display: grid; gap: 5px; }
.nav-item { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; border: 0; border-radius: 10px; background: transparent; color: #b8c5d2; text-align: left; padding: 11px 12px; font-weight: 700; }
.nav-item > span { font-size: 18px; text-align: center; }
.nav-item small { color: #728499; font-size: 9px; text-transform: uppercase; }
.nav-item:hover { background: rgba(255,255,255,.05); color: white; }
.nav-item.active { background: #1d68d8; color: white; box-shadow: 0 9px 22px rgba(0,0,0,.16); }
.nav-item.active small { color: #dbe9ff; }
.sidebar-user { margin-top: auto; padding: 14px 6px 2px; border-top: 1px solid rgba(255,255,255,.09); display: grid; grid-template-columns: 36px 1fr 34px; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; background: #2c4057; border-radius: 50%; font-weight: 900; }
.sidebar-user strong,.sidebar-user span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user strong { font-size: 13px; }.sidebar-user span { font-size: 10px; color: #90a1b3; margin-top: 3px; }
.content-shell { grid-column: 2; min-width: 0; }
.topbar { height: 72px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.universal-search { width: min(650px, 72%); display: flex; align-items: center; gap: 10px; color: #728195; }
.universal-search > span { font-size: 23px; }.universal-search input { border: 0; box-shadow: none; padding: 8px 0; background: transparent; }.universal-search input:focus { box-shadow: none; }
kbd { margin-left: auto; border: 1px solid #d6dde5; background: #f6f8fa; padding: 3px 7px; border-radius: 6px; color: #7b8897; font-size: 10px; }
.top-actions { margin-left: auto; }.status-badge { color: var(--green); background: #e8f6f0; padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.main-content { padding: 34px; max-width: 1600px; margin: auto; }
.view { display: none; }.view.active { display: block; animation: enter .18s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-head.compact { margin-bottom: 20px; }.page-head h1 { margin: 0 0 7px; font-size: clamp(26px,3vw,35px); line-height: 1.12; letter-spacing: -.035em; }.page-head p:not(.eyebrow) { margin: 0; color: var(--muted); }
.kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(160px,1fr)); gap: 14px; margin-bottom: 20px; }
.query-only .kpi-grid { grid-template-columns: repeat(3,minmax(160px,1fr)); }.query-only .two-columns { grid-template-columns: 1fr; }
.kpi { min-height: 136px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 4px 16px rgba(20,37,59,.035); }
.kpi span,.kpi strong,.kpi small { display: block; }.kpi span { color: var(--muted); font-size: 10px; letter-spacing: .09em; font-weight: 800; }.kpi strong { margin: 14px 0 7px; font-size: 28px; line-height: 1; letter-spacing: -.035em; }.kpi small { color: #8491a0; font-size: 11px; }.kpi.primary-kpi { background: linear-gradient(145deg,#1d6de3,#1558bc); color: white; border-color: transparent; }.kpi.primary-kpi span,.kpi.primary-kpi small { color: #dceaff; }.disabled-kpi { background: #f7f9fb; }.disabled-kpi strong { font-size: 19px; color: #8290a0; }
.two-columns { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 18px rgba(20,37,59,.035); padding: 22px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }.panel-head h2 { margin: 0 0 5px; font-size: 17px; }.panel-head p { margin: 0; color: var(--muted); font-size: 12px; }
.quick-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.quick-card { min-height: 148px; border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 18px; text-align: left; transition: .18s; }.quick-card:hover { border-color: #aabed7; transform: translateY(-2px); box-shadow: var(--shadow); }.quick-card strong,.quick-card small { display: block; }.quick-card strong { font-size: 14px; margin: 13px 0 6px; }.quick-card small { color: var(--muted); line-height: 1.4; }.quick-icon { width: 37px; height: 37px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; }.quick-icon.blue { color: var(--blue); background: var(--blue-soft); }.quick-icon.orange { color: var(--orange); background: #fff1e5; }.quick-icon.green { color: var(--green); background: #e8f6f0; }
.activity-list { display: grid; gap: 1px; }.activity-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf1f5; }.activity-item:last-child { border-bottom: 0; }.activity-dot { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-soft); color: var(--blue); font-weight: 900; }.activity-item strong,.activity-item small { display: block; }.activity-item strong { font-size: 12px; }.activity-item small { color: var(--muted); margin-top: 4px; font-size: 10px; }.activity-time { color: #8b98a7; font-size: 10px; white-space: nowrap; }
.filter-row { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }.search-field { flex: 1; position: relative; display: flex; align-items: center; }.search-field span { position: absolute; left: 13px; color: #8290a0; font-size: 20px; }.search-field input { padding-left: 40px; }.result-count { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }table { width: 100%; border-collapse: collapse; min-width: 820px; }th { padding: 11px 13px; color: #6a7889; background: #f7f9fb; font-size: 10px; letter-spacing: .055em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--line); }td { padding: 12px 13px; border-bottom: 1px solid #edf1f5; font-size: 12px; vertical-align: middle; }tbody tr:last-child td { border-bottom: 0; }tbody tr:hover td { background: #fafcff; }.numeric { text-align: right; }.code { font-family: "Cascadia Mono", Consolas, monospace; font-weight: 800; color: #1a5ebf; }.stock-pill { display: inline-block; min-width: 42px; padding: 5px 8px; border-radius: 999px; background: #e9f6f1; color: #167553; font-weight: 900; text-align: center; }.location-pill { display: inline-block; padding: 4px 7px; border-radius: 7px; background: #eef2f6; color: #536273; font-size: 10px; font-weight: 800; }.row-action { border: 0; background: var(--blue-soft); color: #175dbd; border-radius: 8px; padding: 6px 9px; font-weight: 800; font-size: 11px; }.empty-state { text-align: center; color: var(--muted); padding: 38px !important; }.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 13px; margin-top: 16px; }.pagination span { font-size: 12px; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; margin-bottom: 20px; }.drop-zone { min-height: 230px; border: 1.5px dashed #b8c6d5; border-radius: 14px; background: #f8fafc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; }.drop-zone.dragging { border-color: var(--blue); background: var(--blue-soft); }.drop-zone small { color: var(--muted); margin-bottom: 7px; }.upload-icon { font-size: 32px; color: var(--blue); }.import-preview { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 17px; }.import-preview h3 { margin: 0 0 14px; }.mini-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 13px; }.mini-kpis div { background: var(--soft); border-radius: 9px; padding: 10px; }.mini-kpis span,.mini-kpis strong { display: block; }.mini-kpis span { font-size: 9px; color: var(--muted); text-transform: uppercase; }.mini-kpis strong { margin-top: 5px; }.notice { padding: 11px; border-radius: 9px; margin: 10px 0; font-size: 12px; line-height: 1.45; }.notice.warning { color: #8a4b14; background: #fff4e7; border: 1px solid #f4d5b5; }.user-list { display: grid; gap: 9px; }.user-card { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }.user-card strong,.user-card small { display: block; }.user-card strong { font-size: 12px; }.user-card small { color: var(--muted); margin-top: 3px; font-size: 10px; }.role-pill { font-size: 9px; padding: 5px 7px; border-radius: 999px; background: var(--blue-soft); color: #1557b2; font-weight: 900; }.audit-panel { margin-bottom: 30px; }
.user-actions { display: grid; justify-items: end; gap: 7px; }.inactive-user { opacity: .62; background: #f7f8fa; }.access-panel { margin-bottom: 20px; }.user-agent-cell { max-width: 390px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.placeholder-card { min-height: 58vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }.placeholder-card > span { font-size: 55px; color: #9aabba; }.placeholder-card h1 { margin: 8px 0 9px; }.placeholder-card p:not(.eyebrow) { max-width: 580px; color: var(--muted); line-height: 1.65; }.placeholder-card .btn { margin-top: 13px; }
.modal { width: min(560px,calc(100% - 24px)); max-height: calc(100vh - 34px); overflow-y: auto; border: 0; border-radius: 19px; padding: 28px; box-shadow: 0 30px 90px rgba(12,28,48,.3); }.wide-modal { width: min(850px,calc(100% - 24px)); }.modal::backdrop { background: rgba(10,23,40,.58); backdrop-filter: blur(3px); }.modal-close { position: absolute; top: 15px; right: 15px; border: 0; background: #eef2f6; color: #536273; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; }.modal-head { margin-bottom: 20px; padding-right: 32px; }.modal-head h2 { margin: 0 0 6px; }.modal-head p:not(.eyebrow) { margin: 0; color: var(--muted); }.locked-modal .modal-head { padding-right: 0; }.check-row { display: flex; align-items: center; gap: 9px; }.check-row input { width: 18px; min-height: 18px; }.stock-hint { min-height: 0; color: #536273; background: #f2f6fa; border-radius: 9px; padding: 10px; font-size: 12px; }.product-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }.product-hero h2 { margin: 4px 0 7px; font-size: 25px; }.product-hero p { margin: 0; color: var(--muted); }.big-stock { text-align: right; }.big-stock strong,.big-stock span { display: block; }.big-stock strong { font-size: 34px; }.big-stock span { color: var(--muted); font-size: 11px; }.detail-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }.detail-meta div { background: var(--soft); border-radius: 10px; padding: 11px; }.detail-meta span,.detail-meta strong { display: block; }.detail-meta span { color: var(--muted); font-size: 9px; text-transform: uppercase; }.detail-meta strong { margin-top: 5px; font-size: 12px; }.dialog-actions { display: flex; gap: 10px; margin-top: 18px; }.section-title { font-size: 14px; margin: 18px 0 10px; }.location-list { display: grid; gap: 8px; }.location-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; }.location-row strong,.location-row small { display: block; }.location-row small { color: var(--muted); margin-top: 4px; }.location-qty { font-size: 18px; font-weight: 900; }.history-list { max-height: 280px; overflow: auto; }.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 390px; padding: 13px 16px; border-radius: 11px; color: white; background: #17283c; box-shadow: 0 15px 40px rgba(0,0,0,.24); font-weight: 700; font-size: 12px; transform: translateY(25px); opacity: 0; pointer-events: none; transition: .22s; }.toast.show { transform: none; opacity: 1; }.toast.error { background: #ae3039; }.loading-line { height: 90px; border-radius: 10px; background: linear-gradient(90deg,#f2f5f7,#e7edf2,#f2f5f7); background-size: 200% 100%; animation: pulse 1.2s infinite; }@keyframes pulse { to { background-position: -200% 0; } }
.mobile-only { display: none; }
.audit-location-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-bottom: 18px; }.audit-location-form .btn { margin-bottom: 0; }.audit-summary { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }.audit-summary div { background: var(--soft); border-radius: 10px; padding: 12px; }.audit-summary span,.audit-summary strong { display: block; }.audit-summary span { color: var(--muted); font-size: 9px; text-transform: uppercase; }.audit-summary strong { margin-top: 6px; font-size: 15px; }.audit-table-wrap { max-height: 48vh; overflow: auto; }
.status-lot { display: inline-block; padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.status-lot.draft { background: #eef2f6; color: #58687a; }.status-lot.preparation { background: #fff1df; color: #a65512; }.status-lot.dispatched { background: #e5f6ef; color: #157654; }.status-lot.cancelled { background: #fdebed; color: #aa3540; }
.lot-summary { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }.lot-summary h2 { margin: 4px 0 8px; font-size: 26px; }.lot-total { text-align: right; }.lot-total strong,.lot-total span { display: block; }.lot-total strong { font-size: 34px; }.lot-total span { color: var(--muted); font-size: 10px; }
.lot-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }.lot-add-form { display: grid; grid-template-columns: 1.1fr 1fr 120px auto; align-items: end; gap: 10px; padding: 15px; border: 1px solid var(--line); background: #f8fafc; border-radius: 12px; margin-bottom: 16px; }.lot-add-form label { min-width: 0; }.lot-add-form .btn { margin-bottom: 0; }.danger-button { color: #ad3440 !important; background: #fff0f1 !important; border-color: #f2c5c9 !important; }.remove-line { border: 0; background: #fff0f1; color: #aa3540; border-radius: 7px; padding: 5px 8px; font-weight: 900; }
.sale-add-form { display: grid; grid-template-columns: 1.15fr 1fr 90px 140px auto; align-items: end; gap: 9px; padding: 14px; border: 1px solid var(--line); background: #f8fafc; border-radius: 12px; margin-bottom: 9px; }.sale-add-form label { min-width: 0; }.sale-add-form .btn { margin-bottom: 0; }.sale-lines { margin-top: 16px; }.sale-totals { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 14px; }.sale-totals div { background: var(--soft); border-radius: 9px; padding: 10px; text-align: right; }.sale-totals span,.sale-totals strong { display: block; }.sale-totals span { color: var(--muted); font-size: 9px; text-transform: uppercase; }.sale-totals strong { margin-top: 5px; }.sale-totals .balance { background: #e9f6f1; color: #167553; }.payment-form { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; align-items: end; gap: 9px; padding: 14px; margin: 15px 0; border: 1px solid #cfe1d8; background: #f3faf7; border-radius: 12px; }.payment-form .btn { margin-bottom: 0; }.payment-list { display: grid; gap: 7px; }.payment-row { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }.payment-row strong,.payment-row small,.table-sub { display: block; }.payment-row small,.table-sub { color: var(--muted); margin-top: 3px; font-size: 10px; }.print-sale-totals { margin: 16px 0 0 auto; width: 260px; text-align: right; }.print-sale-totals p { margin: 5px 0; }
.row-actions { display: flex; align-items: center; gap: 5px; white-space: nowrap; }.table-input { min-width: 105px; padding: 7px 8px; font-size: 11px; }.numeric-input { width: 92px; text-align: right; }.tax-final { display: grid; grid-template-columns: 1fr 220px auto; align-items: center; gap: 12px; margin-top: 13px; padding: 13px; border: 1px solid #d8e2ee; background: #f7faff; border-radius: 11px; }.tax-final strong,.tax-final small { display: block; }.tax-final small { color: var(--muted); margin-top: 4px; }.tax-final .btn { margin-bottom: 0; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.initial-stock-box { padding: 13px; border: 1px solid var(--line); background: #f8fafc; border-radius: 11px; }.initial-stock-box > strong { display: block; margin-bottom: 10px; font-size: 12px; }
.report-filter-panel { margin-bottom: 16px; }.report-filter { display: flex; align-items: end; gap: 12px; }.report-filter label { min-width: 180px; }.report-filter .btn { margin-bottom: 0; }.report-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }.report-columns { margin-bottom: 18px; }.report-columns table { min-width: 520px; }.report-section { margin-bottom: 18px; }
.print-area { display: none; }.print-document { color: #111; font-family: Arial, sans-serif; }.print-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid #111; margin-bottom: 18px; }.print-head h1 { margin: 0 0 5px; font-size: 24px; }.print-head p { margin: 3px 0; font-size: 12px; }.print-label { font-size: 10px; letter-spacing: .08em; font-weight: 700; }.print-document table { min-width: 0; border: 1px solid #333; }.print-document th { color: #111; background: #eee; border: 1px solid #333; font-size: 10px; }.print-document td { border: 1px solid #777; font-size: 11px; padding: 8px; }.print-footer { display: flex; justify-content: space-between; margin-top: 25px; font-size: 11px; }.signature-line { width: 220px; border-top: 1px solid #333; padding-top: 7px; text-align: center; margin-top: 45px; }
@media (max-width: 1250px) { .kpi-grid { grid-template-columns: repeat(3,1fr); }.quick-actions { grid-template-columns: 1fr; }.quick-card { min-height: 95px; }.two-columns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 940px) { .app-shell { display: block; }.sidebar { transform: translateX(-102%); transition: .22s; box-shadow: 18px 0 45px rgba(0,0,0,.2); }.sidebar.open { transform: none; }.content-shell { margin-left: 0; }.mobile-only { display: inline-grid; place-items: center; }.topbar { padding: 0 17px; }.main-content { padding: 23px 17px; }.two-columns,.admin-grid { grid-template-columns: 1fr; }.universal-search { width: 100%; }.status-badge,kbd { display: none; } }
@media (max-width: 650px) { .login-card { padding: 28px 23px; }.page-head { display: grid; }.page-actions { display: grid; }.kpi-grid,.report-kpis { grid-template-columns: repeat(2,1fr); }.kpi { min-height: 120px; padding: 16px; }.kpi strong { font-size: 24px; }.panel { padding: 16px; border-radius: 13px; }.filter-row,.report-filter { align-items: stretch; flex-direction: column; }.report-filter label { min-width: 0; }.quick-actions { grid-template-columns: 1fr; }.mini-kpis { grid-template-columns: repeat(2,1fr); }.detail-meta,.form-two-columns { grid-template-columns: 1fr; }.product-hero { grid-template-columns: 1fr; }.big-stock { text-align: left; }.dialog-actions { flex-direction: column; }.topbar { gap: 7px; }.modal { padding: 23px 18px; }.lot-add-form,.sale-add-form,.payment-form,.audit-location-form,.audit-summary,.sale-totals,.tax-final { grid-template-columns: 1fr; }.lot-summary { grid-template-columns: 1fr; }.lot-total { text-align: left; }.sale-totals div { text-align: left; } }
@media print {
  @page { size: A4 portrait; margin: 14mm; }
  body { background: white; }
  body > *:not(#printArea) { display: none !important; }
  #printArea { display: block !important; position: static; }
  .print-document { display: block; }
}
