@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;600&family=Source+Serif+4:opsz,wght@8..60,500&display=swap";:root{--bg: #f8fafc;--bg-alt: #ffffff;--bg-radial-1: #ffffff;--bg-radial-2: #ffffff;--text: #1f1b16;--muted: #6a5c4b;--accent: #2f6f6d;--accent-strong: #1f4f4d;--highlight: #d98b2b;--border: #e2d8c8;--shadow: rgba(31, 27, 22, .12);--surface: rgba(255, 255, 255, .9);--surface-strong: #ffffff;--ui-canvas: #f1f5f9;--ui-surface: #ffffff;--ui-surface-2: #f8fafc;--ui-panel-header: rgba(248, 250, 252, .9);--ui-border: #e2e8f0;--ui-text: #0f172a;--ui-muted: #475569;--ui-muted-2: #64748b;--ui-muted-3: #94a3b8;--ui-shadow: rgba(15, 23, 42, .4);--ui-shadow-soft: rgba(15, 23, 42, .18);--ui-row-hover: #f8fafc;--ui-row-selected: #dbeafe;--ui-chip-bg: #dbeafe;--ui-chip-text: #1d4ed8;--ui-table-head-bg: #f1f5f9;--ui-table-head-text: #334155;--ui-active-bg: #eef2ff;--ui-active-border: #c7d2fe;--ui-active-text: #2563eb;--ui-indigo-bg: #e0e7ff;--ui-indigo-text: #3730a3;--ui-accent: #2563eb;--ui-accent-strong: #1d4ed8;--ui-hero-card-bg: rgba(255, 255, 255, .95);--ui-hero-card-border: rgba(255, 255, 255, .15);--ui-hero-card-text: #0f172a;--ui-warning-bg: rgba(217, 139, 43, .12);--ui-warning-border: rgba(217, 139, 43, .35);--ui-warning-text: #a06112;--ui-danger-bg: rgba(220, 38, 38, .12);--ui-danger-border: rgba(220, 38, 38, .3);--ui-danger-text: #b91c1c;--calc-panel-bg: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(236, 244, 255, .92));--calc-panel-border: rgba(37, 99, 235, .22);--calc-panel-shadow: 0 18px 36px rgba(37, 99, 235, .16);--calc-display-bg: linear-gradient(135deg, rgba(15, 23, 42, .97), rgba(30, 41, 59, .95));--calc-display-border: rgba(148, 163, 184, .35);--calc-display-text: #f8fafc;--calc-display-glow: rgba(59, 130, 246, .22);--calc-key-bg: rgba(248, 250, 252, .96);--calc-key-border: rgba(148, 163, 184, .35);--calc-key-text: #0f172a;--calc-key-hover-bg: #ffffff;--calc-key-shadow: 0 8px 16px rgba(15, 23, 42, .12);--calc-key-number-bg: rgba(226, 232, 240, .92);--calc-key-operator-bg: rgba(219, 234, 254, .92);--calc-key-operator-text: #1d4ed8;--calc-key-percent-bg: rgba(167, 139, 250, .2);--calc-key-utility-bg: rgba(15, 23, 42, .08);--calc-key-equal-bg: linear-gradient(135deg, #2563eb, #0ea5e9);--calc-key-equal-text: #ffffff;--calc-key-equal-shadow: 0 12px 18px rgba(37, 99, 235, .3);--app-content-max: 1280px;--radius-lg: 20px;--radius-md: 14px;--radius-pill: 999px;--space-1: 6px;--space-2: 10px;--space-3: 16px;--space-4: 24px;--space-5: 32px;font-family:Space Grotesk,Helvetica Neue,sans-serif;color-scheme:light}:root[data-theme=dark]{--bg: #0b1220;--bg-alt: #0f172a;--bg-radial-1: rgba(56, 189, 248, .12);--bg-radial-2: rgba(167, 139, 250, .1);--text: #e2e8f0;--muted: #94a3b8;--accent: #38bdf8;--accent-strong: #0ea5e9;--highlight: #f59e0b;--border: rgba(148, 163, 184, .26);--shadow: rgba(0, 0, 0, .45);--surface: rgba(15, 23, 42, .78);--surface-strong: rgba(15, 23, 42, .92);--ui-canvas: rgba(15, 23, 42, .72);--ui-surface: rgba(15, 23, 42, .92);--ui-surface-2: rgba(30, 41, 59, .82);--ui-panel-header: rgba(30, 41, 59, .82);--ui-border: rgba(148, 163, 184, .26);--ui-text: #e2e8f0;--ui-muted: #94a3b8;--ui-muted-2: #cbd5e1;--ui-muted-3: #64748b;--ui-shadow: rgba(0, 0, 0, .5);--ui-shadow-soft: rgba(0, 0, 0, .55);--ui-row-hover: rgba(148, 163, 184, .12);--ui-row-selected: rgba(37, 99, 235, .22);--ui-chip-bg: rgba(37, 99, 235, .22);--ui-chip-text: #93c5fd;--ui-table-head-bg: rgba(30, 41, 59, .82);--ui-table-head-text: #cbd5e1;--ui-active-bg: rgba(37, 99, 235, .22);--ui-active-border: rgba(37, 99, 235, .35);--ui-active-text: #93c5fd;--ui-indigo-bg: rgba(99, 102, 241, .22);--ui-indigo-text: #c7d2fe;--ui-accent: #60a5fa;--ui-accent-strong: #3b82f6;--ui-hero-card-bg: rgba(15, 23, 42, .88);--ui-hero-card-border: rgba(148, 163, 184, .22);--ui-hero-card-text: #e2e8f0;--ui-warning-bg: rgba(245, 158, 11, .14);--ui-warning-border: rgba(245, 158, 11, .3);--ui-warning-text: #fbbf24;--ui-danger-bg: rgba(239, 68, 68, .14);--ui-danger-border: rgba(239, 68, 68, .26);--ui-danger-text: #fca5a5;--calc-panel-bg: linear-gradient(160deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .92));--calc-panel-border: rgba(96, 165, 250, .25);--calc-panel-shadow: 0 18px 36px rgba(0, 0, 0, .45);--calc-display-bg: linear-gradient(135deg, rgba(2, 6, 23, .95), rgba(15, 23, 42, .92));--calc-display-border: rgba(148, 163, 184, .28);--calc-display-text: #e2e8f0;--calc-display-glow: rgba(56, 189, 248, .2);--calc-key-bg: rgba(30, 41, 59, .88);--calc-key-border: rgba(148, 163, 184, .26);--calc-key-text: #f8fafc;--calc-key-hover-bg: rgba(51, 65, 85, .9);--calc-key-shadow: 0 10px 18px rgba(0, 0, 0, .35);--calc-key-number-bg: rgba(30, 41, 59, .92);--calc-key-operator-bg: rgba(30, 64, 175, .32);--calc-key-operator-text: #dbeafe;--calc-key-percent-bg: rgba(99, 102, 241, .28);--calc-key-utility-bg: rgba(30, 41, 59, .7);--calc-key-equal-bg: linear-gradient(135deg, #3b82f6, #0ea5e9);--calc-key-equal-text: #f8fafc;--calc-key-equal-shadow: 0 12px 20px rgba(14, 165, 233, .35);color-scheme:dark}@media (prefers-color-scheme: dark){:root:not([data-theme]){--bg: #0b1220;--bg-alt: #0f172a;--bg-radial-1: rgba(56, 189, 248, .12);--bg-radial-2: rgba(167, 139, 250, .1);--text: #e2e8f0;--muted: #94a3b8;--accent: #38bdf8;--accent-strong: #0ea5e9;--highlight: #f59e0b;--border: rgba(148, 163, 184, .26);--shadow: rgba(0, 0, 0, .45);--surface: rgba(15, 23, 42, .78);--surface-strong: rgba(15, 23, 42, .92);--ui-canvas: rgba(15, 23, 42, .72);--ui-surface: rgba(15, 23, 42, .92);--ui-surface-2: rgba(30, 41, 59, .82);--ui-panel-header: rgba(30, 41, 59, .82);--ui-border: rgba(148, 163, 184, .26);--ui-text: #e2e8f0;--ui-muted: #94a3b8;--ui-muted-2: #cbd5e1;--ui-muted-3: #64748b;--ui-shadow: rgba(0, 0, 0, .5);--ui-shadow-soft: rgba(0, 0, 0, .55);--ui-row-hover: rgba(148, 163, 184, .12);--ui-row-selected: rgba(37, 99, 235, .22);--ui-chip-bg: rgba(37, 99, 235, .22);--ui-chip-text: #93c5fd;--ui-table-head-bg: rgba(30, 41, 59, .82);--ui-table-head-text: #cbd5e1;--ui-active-bg: rgba(37, 99, 235, .22);--ui-active-border: rgba(37, 99, 235, .35);--ui-active-text: #93c5fd;--ui-indigo-bg: rgba(99, 102, 241, .22);--ui-indigo-text: #c7d2fe;--ui-accent: #60a5fa;--ui-accent-strong: #3b82f6;--ui-hero-card-bg: rgba(15, 23, 42, .88);--ui-hero-card-border: rgba(148, 163, 184, .22);--ui-hero-card-text: #e2e8f0;--ui-warning-bg: rgba(245, 158, 11, .14);--ui-warning-border: rgba(245, 158, 11, .3);--ui-warning-text: #fbbf24;--ui-danger-bg: rgba(239, 68, 68, .14);--ui-danger-border: rgba(239, 68, 68, .26);--ui-danger-text: #fca5a5;--calc-panel-bg: linear-gradient(160deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .92));--calc-panel-border: rgba(96, 165, 250, .25);--calc-panel-shadow: 0 18px 36px rgba(0, 0, 0, .45);--calc-display-bg: linear-gradient(135deg, rgba(2, 6, 23, .95), rgba(15, 23, 42, .92));--calc-display-border: rgba(148, 163, 184, .28);--calc-display-text: #f8fafc;--calc-display-glow: rgba(56, 189, 248, .2);--calc-key-bg: rgba(30, 41, 59, .88);--calc-key-border: rgba(148, 163, 184, .26);--calc-key-text: #f8fafc;--calc-key-hover-bg: rgba(51, 65, 85, .9);--calc-key-shadow: 0 10px 18px rgba(0, 0, 0, .35);--calc-key-number-bg: rgba(30, 41, 59, .92);--calc-key-operator-bg: rgba(30, 64, 175, .32);--calc-key-operator-text: #dbeafe;--calc-key-percent-bg: rgba(99, 102, 241, .28);--calc-key-utility-bg: rgba(30, 41, 59, .7);--calc-key-equal-bg: linear-gradient(135deg, #3b82f6, #0ea5e9);--calc-key-equal-text: #f8fafc;--calc-key-equal-shadow: 0 12px 20px rgba(14, 165, 233, .35);color-scheme:dark}}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 10% 10%,var(--bg-radial-1) 0%,transparent 45%),radial-gradient(circle at 80% 0%,var(--bg-radial-2) 0%,transparent 40%),linear-gradient(135deg,var(--bg),var(--bg-alt));color:var(--text);min-height:100vh}h1,h2,h3{font-family:"Source Serif 4",Times New Roman,serif;margin:0 0 .4rem}p{margin:0;color:var(--muted)}button{font-family:inherit}.app-shell{display:flex;flex-direction:column;min-height:100vh}.nav{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:24px;padding:16px 24px;border-bottom:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.app-shell.nav-hidden .nav{display:none}.brand{display:flex;align-items:center;gap:12px;margin-bottom:0}.brand-mark{width:12px;height:28px;border-radius:999px;background:linear-gradient(180deg,var(--accent),var(--highlight))}.brand-text{font-weight:600;letter-spacing:.5px}.brand-version{font-size:.78rem;color:var(--muted);padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface-strong);letter-spacing:.2px;white-space:nowrap}.nav-links{display:flex;flex:1;flex-wrap:wrap;justify-content:center;gap:10px}.nav-link{text-decoration:none;color:var(--text);padding:10px 14px;border-radius:12px;border:1px solid transparent;transition:transform .2s ease,border-color .2s ease,background .2s ease}.nav-link:hover{transform:translateY(-1px);border-color:var(--border);background:var(--surface)}.nav-link.active{background:var(--surface-strong);border-color:var(--accent);box-shadow:0 8px 16px -12px var(--shadow)}.lang-switch{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:.85rem;color:var(--muted)}.lang-switch select{border-radius:999px;border:1px solid var(--border);padding:6px 12px;background:var(--surface-strong);color:var(--text)}.main{padding:40px clamp(24px,5vw,60px)}.main.main-dashboard .global-header,.main.main-weighing-home .global-header{display:none}.page{max-width:var(--app-content-max);margin:0 auto;width:100%;padding:28px;border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 18px 40px -30px var(--shadow);animation:rise .45s ease-out both}.page-wide{max-width:var(--app-content-max)}.global-header{display:none}.widget{min-height:120px}.sync-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.sync-queue{margin-top:var(--space-2);padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--ui-border);background:var(--ui-surface-2);display:flex;flex-direction:column;gap:var(--space-2)}.sync-queue-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.sync-queue-title{font-weight:600;font-size:.95rem}.sync-queue-list{display:flex;flex-direction:column;gap:var(--space-2)}.sync-queue-item{padding:var(--space-2);border-radius:var(--radius-md);background:var(--ui-surface);border:1px solid var(--ui-border);display:flex;flex-direction:column;gap:var(--space-1)}.sync-queue-main{font-weight:600;font-size:.95rem}.sync-queue-meta{display:flex;flex-direction:column;gap:4px;color:var(--text-muted);font-size:.85rem}.weight-row{display:flex;justify-content:space-between;gap:var(--space-3);align-items:center}.weight-value{font-size:2.4rem;font-weight:600}.weight-meta{display:flex;flex-direction:column;gap:var(--space-2)}.datetime{display:flex;flex-direction:column;gap:var(--space-1)}.datetime-time{font-size:1.8rem;font-weight:600}.calculator{display:flex;flex-direction:column;gap:var(--space-2)}.calculator-panel{min-width:280px;max-width:360px;background:var(--calc-panel-bg);border:1px solid var(--calc-panel-border);box-shadow:var(--calc-panel-shadow);border-radius:var(--radius-lg);position:relative;overflow:hidden}.calculator-display{font-size:1.5rem;font-weight:600;padding:14px 16px;border-radius:var(--radius-md);background:var(--calc-display-bg);color:var(--calc-display-text);text-align:right;border:1px solid var(--calc-display-border);box-shadow:inset 0 0 0 1px #0f172a33,0 10px 20px -18px var(--calc-display-glow);min-height:58px;display:flex;align-items:center;justify-content:flex-end;font-family:Roboto Mono,ui-monospace,monospace}.calculator-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;grid-template-areas:"k7 k8 k9 kDivide kMultiply" "k4 k5 k6 kMinus kPlus" "k1 k2 k3 kPercent kDel" "k0 k0 kComma kEqual kEqual"}.calculator-actions{justify-content:space-between;margin-top:10px}.calc-key{padding:12px;min-height:44px;border-radius:var(--radius-md);border:1px solid var(--calc-key-border);background:var(--calc-key-bg);font-weight:600;font-size:.95rem;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,border-color .2s ease;color:var(--calc-key-text)}.calc-key:hover{background:var(--calc-key-hover-bg);border-color:var(--calc-panel-border);box-shadow:var(--calc-key-shadow);transform:translateY(-1px)}.calc-key:active{transform:translateY(0);box-shadow:none}.calc-key:focus-visible{outline:2px solid rgba(59,130,246,.6);outline-offset:2px}.calc-key--number{background:var(--calc-key-number-bg);color:var(--calc-key-text)}.calc-key--operator{background:var(--calc-key-operator-bg);color:var(--calc-key-operator-text);border-color:var(--calc-panel-border)}.calc-key--percent{background:var(--calc-key-percent-bg);color:var(--calc-key-operator-text);border-color:var(--calc-panel-border)}.calc-key--utility{background:var(--calc-key-utility-bg);color:var(--calc-key-text)}.calc-key--equal{background:var(--calc-key-equal-bg);color:var(--calc-key-equal-text);border-color:var(--calc-panel-border);box-shadow:var(--calc-key-equal-shadow)}.calc-key--equal:hover{background:var(--calc-key-equal-bg);border-color:var(--calc-panel-border)}.calc-key--area-k7{grid-area:k7}.calc-key--area-k8{grid-area:k8}.calc-key--area-k9{grid-area:k9}.calc-key--area-kDivide{grid-area:kDivide}.calc-key--area-kPercent{grid-area:kPercent}.calc-key--area-k4{grid-area:k4}.calc-key--area-k5{grid-area:k5}.calc-key--area-k6{grid-area:k6}.calc-key--area-kMultiply{grid-area:kMultiply}.calc-key--area-kPlus{grid-area:kPlus}.calc-key--area-k1{grid-area:k1}.calc-key--area-k2{grid-area:k2}.calc-key--area-k3{grid-area:k3}.calc-key--area-kMinus{grid-area:kMinus}.calc-key--area-kEqual{grid-area:kEqual}.calc-key--area-k0{grid-area:k0}.calc-key--area-kDel{grid-area:kDel}.calc-key--area-kComma{grid-area:kComma}.section-header{display:flex;justify-content:space-between;gap:var(--space-4);align-items:flex-start;margin-bottom:var(--space-4)}.section-title h1{margin-bottom:var(--space-1)}.section-actions{display:flex;gap:var(--space-2);align-items:center}.btn{border:none;border-radius:var(--radius-pill);padding:10px 18px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 10px 18px -14px var(--shadow)}.btn-outline{border:1px solid var(--border);background:transparent;color:var(--text)}.btn-ghost{background:var(--surface);color:var(--text)}.btn:hover{transform:translateY(-1px)}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-3);margin-bottom:var(--space-4)}.dashboard-meta{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;font-size:.85rem;color:var(--muted);margin-bottom:var(--space-3)}.dashboard-kpis{margin-bottom:var(--space-4)}.kpi-card{min-height:140px}.kpi-value{font-size:2.1rem;font-weight:600}.kpi-detail{font-size:.9rem}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:var(--space-3);margin-bottom:var(--space-4)}.trend-chart{display:grid;gap:var(--space-2)}.trend-chart svg{width:100%;height:160px}.trend-line{fill:none;stroke:var(--accent);stroke-width:2.2}.trend-area{opacity:.9}.trend-dot{fill:var(--accent);stroke:#fff;stroke-width:1}.trend-axis{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:6px;font-size:.75rem;color:var(--muted)}.trend-label{display:flex;flex-direction:column;align-items:center;gap:2px}.category-list{display:grid;gap:var(--space-2)}.category-row{display:grid;gap:6px}.category-header{display:flex;justify-content:space-between;gap:var(--space-2);font-size:.9rem}.category-name{font-weight:600}.category-meta{color:var(--muted);font-size:.8rem}.category-bar{height:8px;border-radius:var(--radius-pill);background:#f0e6d6;overflow:hidden}.category-bar-fill{display:block;height:100%;border-radius:var(--radius-pill);background:linear-gradient(90deg,var(--accent),var(--highlight))}.table-wrap{overflow-x:auto}.activity-table{min-width:720px}.activity-table .table-row{grid-template-columns:1.2fr 1.1fr 1fr .9fr .9fr 1.2fr}.activity-table .table-row:not(.table-head):not(.activity-empty){cursor:pointer;transition:background .15s ease}.activity-table .table-row:not(.table-head):not(.activity-empty):hover{background:#fff4e4}.activity-table .row-selected{background:#2f6f6d1f}.activity-empty .table-cell{grid-column:1 / -1;justify-content:center}.dashboard-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}.user-actions{margin-bottom:var(--space-3)}.user-table{min-width:860px}.user-table .table-row{grid-template-columns:1.2fr .9fr 1.4fr .9fr 1.1fr 1.1fr}.user-table .table-row:not(.table-head):not(.user-empty){cursor:pointer;transition:background .15s ease}.user-table .table-row:not(.table-head):not(.user-empty):hover{background:#fff4e4}.user-table .row-selected{background:#eef7f6}.permission-list{display:grid;gap:var(--space-2);margin-top:var(--space-2)}.permission-group{border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-2);background:#fffaf0;display:grid;gap:var(--space-1)}.permission-group-title{font-weight:600}.permission-item{display:flex;justify-content:space-between;gap:var(--space-2);align-items:flex-start}.permission-name{font-weight:600}.permission-manager-grid{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:var(--space-3);align-items:start}.permission-user-table .table-row{grid-template-columns:1.3fr .9fr .8fr}.permission-user-table .table-row:not(.table-head):not(.permission-empty){cursor:pointer;transition:background .15s ease}.permission-user-table .table-row:not(.table-head):not(.permission-empty):hover{background:#fff4e4}.permission-user-table .row-selected{background:#eef7f6}.permission-editor-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-2)}.permission-user-name{font-size:1.1rem;font-weight:600}.permission-editor-scroll{display:grid;gap:var(--space-2);max-height:480px;overflow:auto;margin-top:var(--space-2)}.permission-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:var(--space-2);align-items:center;padding:var(--space-1) 0}.permission-options{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-end}.permission-options label{display:inline-flex;align-items:center;gap:6px;font-size:.85rem}.permission-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-2)}.card{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);padding:var(--space-3);box-shadow:0 12px 28px -24px var(--shadow)}.card-header{display:flex;flex-direction:column;gap:var(--space-1);margin-bottom:var(--space-2)}.card-eyebrow{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.card-title{margin:0}.card-body{display:flex;flex-direction:column;gap:var(--space-2)}.stat-row{display:flex;align-items:center;justify-content:space-between}.stat-value{font-size:2rem;font-weight:600}.badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:var(--radius-pill);font-size:.75rem;background:#2f6f6d1f;color:var(--accent-strong)}.badge-success{background:#348c5a26;color:#2a6c49}.badge-warning{background:#d98b2b33;color:#985c1d}.table{display:grid;gap:2px;background:var(--border);border-radius:var(--radius-md);overflow:hidden;font-size:.9rem}.table-row{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr .8fr;background:var(--surface-strong)}.table-head{font-weight:600;background:var(--surface)}.table-cell{padding:10px 12px;display:flex;align-items:center;gap:8px}.table-empty{grid-column:1 / -1;justify-content:center;color:var(--muted)}.menu-strip{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);margin-bottom:var(--space-3)}.menu-button,.menu-item summary{list-style:none;border:1px solid transparent;background:transparent;border-radius:var(--radius-pill);padding:8px 14px;font-weight:600;cursor:pointer;color:var(--text);transition:background .2s ease,border-color .2s ease;text-decoration:none}.menu-button:disabled{cursor:not-allowed;color:var(--muted)}.menu-item{position:relative}.menu-item summary::-webkit-details-marker{display:none}.menu-item.align-right .menu-panel{left:auto;right:0}.menu-item[open] summary,.menu-button:hover,.menu-item summary:hover{background:var(--surface);border-color:var(--border)}.menu-panel{position:absolute;top:calc(100% + 6px);left:0;min-width:220px;padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);box-shadow:0 16px 30px -24px var(--shadow);z-index:20;display:grid;gap:6px}.menu-panel button{border:none;background:#2f6f6d14;padding:8px 12px;border-radius:10px;text-align:left;cursor:pointer;font-size:.85rem}.menu-panel button:hover{background:#2f6f6d29}.menu-panel button.active{background:#2f6f6d33;font-weight:600}.menu-panel-inline{display:flex;gap:8px}.menu-caret{font-size:1rem;opacity:.6}.menu-item summary:hover .menu-caret{opacity:1}.weighing-page{padding:20px 0}.weighing-shell{background:var(--ui-canvas);border-radius:22px;padding:20px;max-width:var(--app-content-max);margin:0 auto;width:100%;box-shadow:0 18px 40px -32px var(--ui-shadow);border:1px solid var(--ui-border);font-family:Inter,Space Grotesk,sans-serif;color:var(--ui-text)}.weighing-shell.dashboard-home{padding:0;overflow:visible}.weighing-shell h1,.weighing-shell h2,.weighing-shell h3{font-family:Inter,Space Grotesk,sans-serif;margin:0}.weighing-menu{background:var(--ui-surface);border-radius:0;border:0;border-bottom:1px solid var(--ui-border);padding:8px 16px;margin-bottom:0;align-items:center;justify-content:space-between;gap:12px}.app-menu-bar{border-radius:18px;border:1px solid var(--ui-border);max-width:var(--app-content-max);width:100%;margin-left:auto;margin-right:auto;margin-bottom:24px;box-shadow:0 14px 30px -26px var(--ui-shadow)}.global-banner-stack{max-width:var(--app-content-max);width:100%;margin-left:auto;margin-right:auto;margin-bottom:24px;display:grid;gap:var(--space-2)}.global-banner-stack:empty{display:none}.weighing-shell .menu-button,.weighing-shell .menu-item summary{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--ui-muted);font-weight:600;font-size:.85rem;padding:6px 12px;white-space:nowrap}.dashboard-menu .menu-button,.dashboard-menu .menu-item summary{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--ui-muted);font-weight:600;font-size:.85rem;padding:6px 12px;white-space:nowrap}.weighing-shell .menu-button:hover,.weighing-shell .menu-item summary:hover{background:var(--ui-row-hover);border-color:var(--ui-border)}.dashboard-menu .menu-button:hover,.dashboard-menu .menu-item summary:hover{background:var(--ui-row-hover);border-color:var(--ui-border)}.weighing-shell .menu-button .material-icons-outlined,.weighing-shell .menu-item summary .material-icons-outlined{font-size:1.1rem}.dashboard-menu .menu-button .material-icons-outlined,.dashboard-menu .menu-item summary .material-icons-outlined{font-size:1.1rem}.dashboard-menu .menu-button.is-active{background:var(--ui-active-bg, #eef2ff);border-color:var(--ui-active-border, #c7d2fe);color:var(--ui-active-text, #2563eb)}.dashboard-menu .menu-button.is-active .material-icons-outlined{color:var(--ui-active-text, #2563eb)}.weighing-menu .menu-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.weighing-menu .menu-group-right{margin-left:auto;justify-content:flex-end}.app-menu-bar{flex-wrap:wrap;gap:4px;padding:6px 10px;overflow:visible;position:relative;z-index:30}.app-menu-bar .menu-group{flex-wrap:wrap;gap:4px;min-width:0}.app-menu-bar .menu-group-right{flex-wrap:wrap;gap:4px}.app-menu-bar .menu-button,.app-menu-bar .menu-item summary{white-space:nowrap;font-size:.75rem;padding:4px 6px;gap:4px}.app-menu-bar .material-icons-outlined{font-size:16px}.app-menu-bar .menu-user{flex-shrink:0}.app-menu-bar .menu-panel{z-index:60}.weighing-menu .menu-user summary{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:999px;background:var(--ui-surface-2);border:1px solid var(--ui-border)}.weighing-menu .menu-user summary:hover{background:var(--ui-row-hover)}.weighing-menu .menu-user[open] summary{background:var(--ui-active-bg);border-color:var(--ui-active-border)}.weighing-menu .menu-user-info{text-align:right;line-height:1}.weighing-menu .menu-user-name{font-size:.7rem;font-weight:700;color:var(--ui-table-head-text);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weighing-menu .menu-user-role{font-size:.65rem;color:var(--ui-muted-2);margin-top:2px}.weighing-menu .menu-user-avatar{position:relative;width:30px;height:30px;border-radius:50%;background:var(--ui-chip-bg);color:var(--ui-active-text);border:1px solid var(--ui-active-border);display:grid;place-items:center}.weighing-menu .menu-user-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:#22c55e;border:2px solid var(--ui-surface);bottom:-1px;right:-1px}.weighing-menu .menu-user-expand{font-size:1.1rem;color:var(--ui-muted-3);transition:transform .2s ease}.weighing-menu .menu-user[open] .menu-user-expand{transform:rotate(180deg)}@media (max-width: 1200px){.weighing-menu .menu-user-info{display:none}.app-menu-bar,.app-menu-bar .menu-group{flex-wrap:wrap}.app-menu-bar .menu-group-right{flex-wrap:wrap;width:100%;margin-left:0;justify-content:flex-end}}@media (max-width: 1400px){.app-menu-bar,.app-menu-bar .menu-group{flex-wrap:wrap}.app-menu-bar .menu-group-right{flex-wrap:wrap;width:100%;margin-left:0;justify-content:flex-end}}.weighing-hero{border-radius:18px;padding:0;display:block;margin-bottom:0;overflow:hidden}.weighing-hero-block{display:grid;gap:6px;text-align:left}.weighing-time{font-size:1.4rem;font-weight:700;font-family:Roboto Mono,ui-monospace,monospace;color:#dbeafe}.weighing-time-sub{font-size:1rem;font-family:Roboto Mono,ui-monospace,monospace;color:#bfdbfe}.weighing-status{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;color:#e2e8f0;text-transform:uppercase;letter-spacing:.08em}.status-dot{width:8px;height:8px;border-radius:999px;background:#34d399;box-shadow:0 0 8px #34d399b3}.weighing-hero .status-dot{box-shadow:none}.weighing-hero-center{text-align:center}.weighing-hero-center h1{font-size:1.6rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.weighing-hero-center p{color:#fffc;font-size:.9rem}.weighing-hero-weight{background:var(--ui-hero-card-bg);color:var(--ui-hero-card-text);border-radius:14px;padding:16px;text-align:right;box-shadow:inset 0 0 0 1px var(--ui-hero-card-border)}.weighing-weight-value{font-size:2.4rem;font-weight:800;font-family:Roboto Mono,ui-monospace,monospace;color:#2563eb}.weighing-weight-unit{font-size:.75rem;text-transform:uppercase;color:var(--ui-muted-2);letter-spacing:.2em}.weighing-weight-status{margin-top:6px;display:inline-flex;align-items:center;gap:6px;font-size:.75rem;color:var(--ui-muted)}.weight-dot{width:8px;height:8px;border-radius:999px;background:#fbbf24}.weight-dot.stable{background:#22c55e}.weighing-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 24px 4px}.weighing-toolbar .weighing-btn{display:inline-flex;align-items:center;gap:6px}.weighing-btn{border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-weight:600;padding:8px 16px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.weighing-btn.dashboard-home-quick-row{border-radius:0}.weighing-btn.primary{background:var(--ui-text);color:var(--ui-surface);border-color:transparent;box-shadow:0 10px 18px -14px #0f172a73}.weighing-btn.ghost{background:transparent;border-color:transparent;color:var(--ui-muted)}.weighing-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.weighing-alert{margin:8px 0 12px;padding:10px 14px;border-radius:12px;font-size:.85rem}.weighing-alert.dashboard-alert{margin:0}.weighing-alert.error{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.weighing-alert.info{background:var(--ui-table-head-bg);color:var(--ui-muted);border:1px solid var(--ui-border)}.weighing-grid{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(0,1fr);gap:16px;align-items:start}.weighing-entry-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:var(--space-3);align-items:start}.weighing-entry-side{display:grid;gap:var(--space-3)}.weighing-entry-actions{justify-content:flex-end;margin-top:var(--space-3)}.weighing-second-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,2fr);gap:var(--space-3);align-items:start}.weighing-second-details{display:grid;gap:var(--space-3)}.weighing-second-list{max-height:520px;overflow:auto}.weighing-second-list .table-row{grid-template-columns:1.1fr 1fr 1fr 1fr;cursor:pointer}.weighing-second-list .row-selected{background:#eef7f6}.weighing-second-actions{justify-content:flex-end;margin-top:var(--space-3)}.weighing-manual-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:var(--space-3);align-items:start}.weighing-manual-actions{justify-content:flex-end;margin-top:var(--space-3)}.weighing-fixed-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,2fr);gap:var(--space-3);align-items:start}.weighing-fixed-details{display:grid;gap:var(--space-3)}.weighing-fixed-actions{justify-content:flex-end;margin-top:var(--space-3)}.fixed-tare-weighing-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.fixed-tare-weighing-table{min-width:720px}.fixed-tare-weighing-table .table-row{grid-template-columns:1fr 1.4fr 1.4fr}.coding-page{padding:20px 0;display:flex;flex-direction:column}.coding-shell{background:var(--ui-surface-2);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 20px 40px -32px var(--ui-shadow);max-width:var(--app-content-max);margin:0 auto;width:100%;display:flex;flex-direction:column;overflow:hidden;flex:1;min-height:0;font-family:Inter,Space Grotesk,sans-serif}.coding-header{background:linear-gradient(120deg,#0f172a,#1e3a8a);color:#fff;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.coding-header-left{display:flex;align-items:center;gap:12px}.coding-header-left h1{margin:0;font-size:1.1rem;font-weight:700}.coding-header-left p{margin:4px 0 0;font-size:.8rem;color:#cbd5f5}.coding-header-icon{width:32px;height:32px;border-radius:10px;background:#2563eb;display:grid;place-items:center;font-size:1rem}.coding-header-right{display:flex;align-items:center;gap:12px;font-size:.8rem;color:#cbd5f5;font-family:Roboto Mono,ui-monospace,monospace}.coding-header-dots{display:inline-flex;gap:6px}.coding-header-dots span{width:8px;height:8px;border-radius:999px;background:#facc15}.coding-header-dots span:nth-child(2){background:#22c55e}.coding-header-dots span:nth-child(3){background:#ef4444}.coding-alert{margin:12px 18px 0;padding:10px 14px;border-radius:12px;font-size:.85rem}.coding-alert.error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.coding-alert.info{background:var(--ui-table-head-bg);border:1px solid var(--ui-border);color:var(--ui-muted)}.coding-body{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:0;flex:1;min-height:0}.coding-grid{align-items:stretch}.coding-sidebar{background:var(--ui-panel-header);border-right:1px solid var(--ui-border);padding:16px;display:flex;flex-direction:column;min-height:0}.coding-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.coding-panel-title{display:inline-flex;align-items:center;gap:8px;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted-2)}.coding-panel-title h2{margin:0;font-size:.7rem}.coding-panel-title .material-icons-outlined{font-size:1rem}.coding-icon-btn{border:1px solid var(--ui-border);background:var(--ui-surface);color:#ef4444;border-radius:10px;padding:6px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.coding-icon-btn:disabled{opacity:.6;cursor:not-allowed}.coding-category-list{flex:1;min-height:0;overflow:auto;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);padding:6px;display:grid;gap:0;align-content:start}.coding-category-item{width:100%;border:1px solid transparent;background:transparent;border-radius:10px;padding:0 10px;height:32px;display:flex;align-items:center;justify-content:space-between;font-size:.78rem;font-weight:600;color:var(--ui-muted);cursor:pointer;transition:background .2s ease,border-color .2s ease;line-height:1}.coding-category-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.coding-category-item .material-icons-outlined{font-size:1rem;opacity:0}.coding-category-item:hover{background:var(--ui-row-hover);border-color:var(--ui-border)}.coding-category-item:hover .material-icons-outlined{opacity:.5}.coding-category-item.is-selected{background:var(--ui-active-bg);border-color:var(--ui-active-border);color:var(--ui-active-text)}.coding-category-item.is-selected .material-icons-outlined{opacity:1;color:var(--ui-active-text)}.coding-category-empty{text-align:center;color:var(--ui-muted-3);font-size:.85rem;padding:16px 12px}.coding-category-form{margin-top:12px;display:grid;gap:6px}.coding-category-form label{font-size:.75rem;color:var(--ui-muted-2);font-weight:600}.coding-category-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.coding-category-input input{width:100%;min-width:0;border-radius:10px;border:1px solid var(--ui-border);padding:8px 10px;font-size:.85rem;background:var(--ui-surface);color:var(--ui-text)}.coding-sidebar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto;padding-top:12px}.coding-content{display:flex;flex-direction:column;min-height:0;padding:16px 20px;gap:12px;background:var(--ui-surface)}.coding-content-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--ui-border)}.coding-content-header h2{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted-2)}.coding-content-header p{margin:4px 0 0;font-size:.85rem;color:var(--ui-muted)}.coding-search{position:relative}.coding-search input{border-radius:10px;border:1px solid var(--ui-border);padding:6px 10px 6px 30px;font-size:.85rem;background:var(--ui-surface-2);color:var(--ui-text)}.coding-search .material-icons-outlined{position:absolute;left:8px;top:50%;transform:translateY(-50%);font-size:1rem;color:var(--ui-muted-3)}.coding-table-wrap{flex:1;min-height:0;overflow:auto;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface)}.coding-table{width:100%;border-collapse:collapse;font-size:.85rem}.coding-table thead{position:sticky;top:0;background:var(--ui-surface-2);font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-muted-2);z-index:1}.coding-table th,.coding-table td{padding:10px 12px;border-bottom:1px solid var(--ui-border)}.coding-table tbody tr{cursor:pointer;transition:background .2s ease}.coding-table tbody tr:hover{background:var(--ui-row-hover)}.coding-table tbody tr.is-selected{background:var(--ui-row-selected)}.coding-table-empty{text-align:center;color:var(--ui-muted-3);padding:18px 12px}.coding-editor{border:1px solid var(--ui-border);border-radius:12px;padding:12px;background:var(--ui-surface-2)}.coding-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.coding-editor-field{display:grid;gap:6px}.coding-editor-field label{font-size:.75rem;color:var(--ui-muted-2);font-weight:600}.coding-editor-field input,.coding-editor-field select{width:100%;border-radius:10px;border:1px solid var(--ui-border);padding:8px 10px;font-size:.85rem;background:var(--ui-surface);color:var(--ui-text)}.coding-mapping{display:flex;flex-direction:column;gap:12px;margin-top:16px}.coding-mapping-actions{display:flex;justify-content:flex-start;gap:10px}.coding-mapping-note{margin-top:10px;font-size:.75rem;color:var(--ui-muted-3)}.coding-mapping-table th:last-child,.coding-mapping-table td:last-child{width:1%;white-space:nowrap}.coding-mapping-actions-cell{text-align:right}.coding-mapping-delete{border:1px solid var(--ui-border);border-radius:8px;background:transparent;color:var(--ui-muted);padding:6px;cursor:pointer}.coding-mapping-delete:hover:not(:disabled){color:var(--ui-text);border-color:var(--ui-muted-2)}.coding-mapping-delete:disabled{opacity:.6;cursor:not-allowed}.coding-action-bar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid var(--ui-border);margin-top:auto}.coding-action-divider{width:1px;background:var(--ui-border);align-self:stretch}.coding-btn{border:1px solid transparent;border-radius:10px;padding:8px 12px;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;background:var(--ui-border);color:var(--ui-muted);transition:transform .2s ease,box-shadow .2s ease}.coding-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 16px -14px #0f172a73}.coding-btn .material-icons-outlined{font-size:1rem}.coding-btn.is-primary{background:#2563eb;border-color:#1d4ed8;color:#fff}.coding-btn.is-warning{background:#d97706;border-color:#b45309;color:#fff}.coding-btn.is-danger{background:#e11d48;border-color:#be123c;color:#fff}.coding-btn.is-ghost{background:#475569;border-color:#334155;color:#fff}.coding-btn.is-muted{background:var(--ui-table-head-bg);border-color:var(--ui-border);color:var(--ui-muted)}.coding-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}@media (max-width: 960px){.coding-body{grid-template-columns:1fr}.coding-sidebar{border-right:0;border-bottom:1px solid var(--ui-border)}.coding-content{padding:14px}.coding-search,.coding-search input{width:100%}.coding-editor-grid{grid-template-columns:1fr}}.records-tabs{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.records-tab{display:inline-flex;align-items:center;gap:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-pill);padding:8px 14px;font-weight:600;background:var(--surface-strong);cursor:pointer}.records-tab.active{background:var(--surface)}.records-controls{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-2)}.records-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.records-table{min-width:980px}.records-table-inside .table-row{grid-template-columns:1fr 1fr 1fr 1fr 1.4fr 1.4fr .9fr}.records-table-completed .table-row{grid-template-columns:1fr 1fr 1fr 1fr .9fr 1fr 1fr .9fr .9fr}.records-close{justify-content:flex-end;margin-top:var(--space-2)}.records-detail-modal{width:min(92vw,1000px)}.records-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-2)}.records-detail-item{border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-2);background:var(--surface-strong)}.fixed-tare-close{margin-left:auto}.fixed-tare-table{min-width:900px}.fixed-tare-modal{width:min(92vw,1000px);background:linear-gradient(180deg,var(--ui-surface) 0%,var(--ui-surface-2) 100%);border-color:var(--ui-active-border)}.fixed-tare-modal-grid{align-items:start}.fixed-tare-modal-side{display:grid;gap:var(--space-2)}.fixed-tare-modal-actions{justify-content:flex-end;margin-top:var(--space-2)}.fixed-tare-modal-actions .btn-primary{background:var(--ui-accent);color:#fff;border:1px solid var(--ui-accent-strong);box-shadow:0 10px 18px -14px #2563eb73}.weight-display{display:flex;justify-content:space-between;gap:var(--space-2);align-items:center}.weight-display-value{font-size:2.4rem;font-weight:600}.weight-display-meta{display:flex;flex-direction:column;gap:var(--space-2);align-items:flex-end}.field-inline{display:grid;grid-template-columns:1fr auto;gap:var(--space-1);align-items:end}.code-trigger{min-width:44px;height:38px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);font-weight:600;cursor:pointer}.code-trigger:disabled{cursor:not-allowed;color:var(--muted);background:var(--surface)}.code-list{margin-top:var(--space-2);display:grid;gap:var(--space-2)}.code-row{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);text-align:left;cursor:pointer}.code-row:hover{background:var(--surface)}.code-search{position:relative;width:100%}.code-search-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);padding:6px;max-height:220px;overflow:auto;box-shadow:0 18px 30px -22px #0f172a80}.code-search-item{width:100%;display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px;border:1px solid transparent;background:transparent;text-align:left;font-size:.85rem;color:var(--ui-text);cursor:pointer}.code-search-item:hover{background:var(--ui-row-hover);border-color:var(--ui-border)}.code-search-empty{padding:8px;font-size:.8rem;color:var(--ui-muted-3);text-align:center}.code-row-title{font-weight:600}.weighing-left,.weighing-right{display:grid;gap:16px}.weighing-card{background:var(--ui-surface);border-radius:16px;border:1px solid var(--ui-border);padding:16px;display:grid;gap:12px}.weighing-card.dashboard-home-panel{padding:0;gap:0}.weighing-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ui-border);padding-bottom:8px}.weighing-card-head h2{font-size:1.05rem;font-weight:700;color:var(--ui-text)}.weighing-card-head p{margin-top:4px;font-size:.8rem;color:var(--ui-muted-2)}.weighing-card-tag{background:var(--ui-chip-bg);color:var(--ui-chip-text);font-weight:700;font-size:.75rem;padding:4px 8px;border-radius:999px}.weighing-action-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.weighing-table-wrap{overflow-x:auto}.weighing-table{width:100%;border-collapse:collapse;min-width:680px;font-size:.85rem}.weighing-table th{text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;color:var(--ui-muted-2);padding:10px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface-2)}.weighing-table td{padding:10px;border-bottom:1px solid var(--ui-border);color:var(--ui-text);white-space:nowrap}.weighing-ticket-cell{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.weighing-reversal-tag{padding:2px 6px;border-radius:999px;font-size:.65rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;background:#e2e8f0;color:#475569}.weighing-reversal-tag.is-reversal{background:#fef3c7;color:#92400e}.weighing-reversal-tag.is-original{background:#e0f2fe;color:#075985}.weighing-table tbody tr{cursor:pointer;transition:background .2s ease}.weighing-table tbody tr:hover{background:var(--ui-row-hover)}.weighing-table tbody tr.is-selected{background:var(--ui-row-selected)}.weighing-table tbody tr.is-cancelled,.weighing-table tbody tr.is-cancelled:hover{background:var(--ui-danger-bg)}.weighing-table tbody tr.is-cancelled td{border-bottom-color:var(--ui-danger-border)}.weighing-table-empty{text-align:center;color:var(--ui-muted-3);padding:20px}.quick-actions{display:grid;gap:10px}.quick-action{border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-surface-2);padding:12px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px;font-weight:600;color:var(--ui-text)}.quick-action.dashboard-quick-card{text-align:center}.quick-action small{color:var(--ui-muted-2);font-weight:400}.quick-action:disabled{cursor:not-allowed;color:var(--ui-muted-3);background:var(--ui-border)}.first-weighing-page{padding:20px 0}.first-weighing-shell{background:var(--ui-surface-2);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 20px 40px -32px var(--ui-shadow);max-width:var(--app-content-max);margin:0 auto;width:100%;padding:18px;display:grid;gap:16px;font-family:Inter,Space Grotesk,sans-serif;color:var(--ui-text)}.first-weighing-shell h1,.first-weighing-shell h2,.first-weighing-shell h3{font-family:Inter,Space Grotesk,sans-serif;margin:0}.first-weighing-header{background:linear-gradient(120deg,#0f172a,#1e3a8a);color:#fff;border-radius:18px;padding:16px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.first-weighing-title{display:flex;align-items:center;gap:12px}.first-weighing-title h1{font-size:1.2rem;font-weight:700}.first-weighing-icon{width:36px;height:36px;border-radius:10px;background:#2563eb;display:grid;place-items:center;font-size:1.1rem;color:#fff}.first-weighing-time{display:flex;align-items:center;gap:12px;font-family:Roboto Mono,ui-monospace,monospace;font-size:.85rem;color:#bfdbfe}.first-weighing-alert{padding:10px 14px;border-radius:12px;font-size:.85rem}.first-weighing-alert.error{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.first-weighing-alert.info{background:var(--ui-row-hover);color:var(--ui-table-head-text);border:1px solid var(--ui-border)}.first-weighing-form-wrapper{display:grid;gap:16px;margin:0}.first-weighing-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}.first-weighing-form,.first-weighing-side{min-width:0}.first-weighing-section{background:var(--ui-surface);border-radius:16px;border:1px solid var(--ui-border);padding:16px;display:grid;gap:14px}.first-weighing-section-title h2{font-size:1.1rem;font-weight:700;color:var(--ui-text)}.first-weighing-section-title span{font-size:.8rem;color:var(--ui-muted-2)}.first-weighing-grid{display:grid;gap:12px}.first-weighing-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:10px;align-items:center;min-width:0}.first-weighing-row label{font-weight:600;color:var(--ui-muted);font-size:.85rem}.first-weighing-field{display:flex;gap:8px;min-width:0}.first-weighing-field input{width:100%;border-radius:10px;border:1px solid var(--ui-border);padding:8px 12px;font-size:.85rem;background:var(--ui-surface);color:var(--ui-text)}.first-weighing-field.inline{align-items:center}.first-weighing-code-trigger{border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-border);color:var(--ui-text);padding:6px 10px;font-weight:700;cursor:pointer}.first-weighing-side{display:grid;gap:12px;justify-self:end}.first-weighing-weight{background:#0f172a;border-radius:16px;padding:16px;color:#fff;display:grid;gap:10px;border:1px solid rgba(148,163,184,.3);width:100%;max-width:320px;min-width:0}.first-weighing-weight-head{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ui-muted-3)}.first-weighing-indicator{display:inline-flex;gap:6px;align-items:center}.first-weighing-indicator .dot{width:8px;height:8px;border-radius:999px;background:#facc15}.first-weighing-indicator .dot.stable{background:#22c55e}.first-weighing-weight-value{display:flex;justify-content:flex-end;align-items:baseline;gap:8px;min-width:0}.first-weighing-weight-value input{background:transparent;border:none;color:#4ade80;font-size:2.2rem;font-family:Roboto Mono,ui-monospace,monospace;font-weight:700;text-align:right;flex:1;min-width:0;max-width:100%}.first-weighing-weight-value span{font-size:1rem;color:var(--ui-muted-3)}.first-weighing-weight-meta{display:flex;align-items:center;gap:10px;font-size:.75rem}.first-weighing-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--ui-border)}@media (max-width: 1024px){.first-weighing-body{grid-template-columns:minmax(0,1fr)}.first-weighing-side{justify-self:stretch}}.first-btn{border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-weight:600;padding:10px 18px;cursor:pointer}.first-btn.primary{background:#2563eb;color:#fff;border-color:transparent;box-shadow:0 10px 18px -14px #2563eb99}.first-btn.ghost{background:transparent;border-color:transparent;color:var(--ui-muted-2)}.second-weighing-page{padding:20px 0}.second-weighing-shell{background:var(--ui-surface-2);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 20px 40px -32px var(--ui-shadow);max-width:var(--app-content-max);margin:0 auto;width:100%;padding:18px;display:grid;gap:16px;font-family:Inter,Space Grotesk,sans-serif;color:var(--ui-text)}.second-weighing-shell h1,.second-weighing-shell h2,.second-weighing-shell h3{font-family:Inter,Space Grotesk,sans-serif;margin:0}.second-weighing-header{background:linear-gradient(120deg,#0f172a,#7f1d1d);color:#fff;border-radius:18px;padding:16px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.second-weighing-title{display:flex;align-items:center;gap:12px}.second-weighing-title h1{font-size:1.2rem;font-weight:700}.second-weighing-icon{width:36px;height:36px;border-radius:10px;background:#ef4444;display:grid;place-items:center;font-size:1.1rem}.second-weighing-time{display:flex;align-items:center;gap:12px;font-family:Roboto Mono,ui-monospace,monospace;font-size:.85rem;color:#fecaca}.second-weighing-alert{padding:10px 14px;border-radius:12px;font-size:.85rem}.second-weighing-alert.error{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.second-weighing-alert.info{background:var(--ui-row-hover);color:var(--ui-table-head-text);border:1px solid var(--ui-border)}.second-weighing-alert.warning{background:var(--ui-warning-bg);color:var(--ui-warning-text);border:1px solid var(--ui-warning-border)}.second-weighing-body{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch}@media (min-width: 1100px){.second-weighing-body{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);align-items:start}}.second-weighing-list{display:grid;gap:12px;height:100%;grid-template-rows:auto minmax(0,1fr);min-height:0}.second-weighing-card{background:var(--ui-surface);border-radius:16px;border:1px solid var(--ui-border);padding:16px;display:grid;gap:12px}.second-weighing-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ui-border);padding-bottom:8px}.second-weighing-list-weight{display:grid;gap:10px}.second-weighing-list-weight .second-weighing-card-head{border-bottom:0;padding-bottom:0}.second-weighing-weight-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:16px;align-items:stretch}.second-weighing-weight-grid .second-weighing-summary{margin-top:0;grid-template-columns:1fr;align-content:start}.second-weighing-weight-grid .second-weighing-summary input{text-align:right}.second-weighing-list-weight .dashboard-weight-card{min-width:0;width:100%;padding:16px 18px}.second-weighing-card-head h2{font-size:1.05rem;font-weight:700;color:var(--ui-text)}.second-weighing-card-head p{margin-top:4px;font-size:.8rem;color:var(--ui-muted-2)}.second-weighing-table-wrap{overflow:auto;max-height:520px}@media (min-width: 1100px){.second-weighing-list{height:var(--second-details-height, auto);max-height:var(--second-details-height, none)}.second-weighing-list>.second-weighing-card:last-child{min-height:0;height:100%}.second-weighing-list>.second-weighing-card:last-child .second-weighing-table-wrap{max-height:none;height:100%}}.second-weighing-table{width:100%;border-collapse:collapse;min-width:420px;font-size:.85rem}.second-weighing-table th{text-align:left;text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;color:var(--ui-muted-2);padding:10px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface-2)}.second-weighing-table td{padding:10px;border-bottom:1px solid var(--ui-border);color:var(--ui-text);white-space:nowrap}.second-weighing-table tbody tr{cursor:pointer;transition:background .2s ease}.second-weighing-table tbody tr:hover{background:var(--ui-row-hover)}.second-weighing-table tbody tr.is-selected{background:var(--ui-row-selected)}.second-weighing-table tbody tr.is-selected td{color:var(--ui-text);font-weight:600}.second-weighing-empty{text-align:center;color:var(--ui-muted-3);padding:18px}.second-weighing-details{display:grid;gap:16px}.second-weighing-form-card{padding:20px;gap:16px}.second-weighing-form-card .second-weighing-card-head{align-items:flex-start}.second-weighing-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.second-weighing-column{display:grid;gap:16px}.second-weighing-row{display:grid;grid-template-columns:1fr;gap:6px;align-items:start}.second-weighing-row label{font-weight:600;color:var(--ui-muted);font-size:.78rem;letter-spacing:.02em;text-transform:uppercase;line-height:1.2}.second-weighing-row input{width:100%;border-radius:12px;border:1px solid var(--ui-border);padding:10px 14px;font-size:.95rem;background:var(--ui-surface-2);color:var(--ui-text);min-height:40px;transition:border-color .2s ease,box-shadow .2s ease}.second-weighing-row input:focus{outline:none;border-color:#60a5fab3;box-shadow:0 0 0 3px #60a5fa33}.second-weighing-row input[readonly]{color:var(--ui-muted-2);background:var(--ui-surface)}.second-weighing-inline{display:flex;gap:10px;align-items:center}.second-weighing-code-trigger{border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);padding:8px 10px;font-weight:700;cursor:pointer;min-height:40px;min-width:40px}.second-weighing-summary{margin-top:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.second-weighing-summary label{font-size:.75rem;color:var(--ui-muted-2);font-weight:600;display:block;margin-bottom:4px}.second-weighing-summary input{width:100%;border-radius:10px;border:1px solid var(--ui-border);padding:8px 12px;font-size:.85rem;background:var(--ui-surface);color:var(--ui-text)}.second-weighing-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--ui-border)}.second-btn{border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-weight:600;padding:10px 18px;cursor:pointer}.second-btn.primary{background:#ef4444;color:#fff;border-color:transparent;box-shadow:0 10px 18px -14px #ef444499}.second-btn.ghost{background:transparent;border-color:transparent;color:var(--ui-muted-2)}.manual-weighing-page{padding:20px 0}.manual-weighing-shell{background:var(--ui-surface-2);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 20px 40px -32px var(--ui-shadow);max-width:var(--app-content-max);margin:0 auto;width:100%;padding:18px;display:grid;gap:16px;font-family:Inter,Space Grotesk,sans-serif;color:var(--ui-text)}.manual-weighing-shell h1,.manual-weighing-shell h2,.manual-weighing-shell h3{margin:0;font-weight:700}.manual-weighing-header{background:linear-gradient(120deg,#1e1b4b,#7c3aed);color:#fff;border-radius:18px;padding:16px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.manual-weighing-title{display:flex;align-items:center;gap:14px}.manual-weighing-title h1{font-size:1.2rem;font-weight:700}.manual-weighing-icon{width:36px;height:36px;border-radius:10px;background:#7c3aed;color:#fff;display:grid;place-items:center;font-size:1.1rem}.manual-weighing-time{display:flex;align-items:center;gap:12px;font-family:Roboto Mono,ui-monospace,monospace;font-size:.85rem;color:#ddd6fe}.manual-weighing-dots{display:none}.manual-weighing-dots span{width:6px;height:6px;border-radius:999px;background:#cbd5f5;display:inline-block}.manual-weighing-dots span:nth-child(2){background:#93c5fd}.manual-weighing-dots span:nth-child(3){background:#60a5fa}.manual-weighing-detail{margin:0;color:var(--ui-muted-2);font-size:.85rem}.manual-weighing-alert{padding:10px 14px;border-radius:12px;font-size:.85rem}.manual-weighing-alert.error{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.manual-weighing-alert.info{background:var(--ui-row-hover);color:var(--ui-table-head-text);border:1px solid var(--ui-border)}.manual-weighing-body{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}.manual-weighing-card{background:var(--ui-surface);border-radius:16px;border:1px solid var(--ui-border);padding:16px;display:flex;flex-direction:column;gap:12px}.manual-weighing-card-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ui-border);padding-bottom:8px}.manual-weighing-card-head h2{font-size:1.05rem}.manual-weighing-card-head p{margin-top:4px;color:var(--ui-muted-2);font-size:.8rem}.manual-weighing-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px 22px}.manual-weighing-column{display:flex;flex-direction:column;gap:14px}.manual-weighing-row{display:flex;flex-direction:column;gap:6px}.manual-weighing-row label{font-weight:600;color:var(--ui-muted);font-size:.78rem;letter-spacing:.02em;text-transform:uppercase;line-height:1.2}.manual-weighing-row input{border:1px solid var(--ui-border);border-radius:12px;padding:10px 14px;font-size:.95rem;background:var(--ui-surface-2);color:var(--ui-text)}.manual-weighing-inline{display:flex;gap:8px;align-items:center}.manual-weighing-inline input{flex:1}.manual-weighing-trigger,.manual-weighing-code-trigger{border:1px solid var(--ui-border);border-radius:10px;padding:8px 10px;background:var(--ui-surface);color:var(--ui-text);cursor:pointer;font-weight:700;min-height:40px;min-width:40px}.manual-weighing-weight{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:16px;align-items:stretch}.manual-weighing-weight-card.dashboard-weight-card{min-width:0;width:100%;padding:14px 16px;text-align:right;border-width:3px;box-shadow:0 14px 20px -18px var(--ui-shadow)}.manual-weighing-weight-card.dashboard-weight-card .dashboard-weight-value{font-size:2.4rem}.manual-weighing-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.manual-weighing-summary label{font-size:.78rem;font-weight:600;color:var(--ui-muted);text-transform:uppercase;letter-spacing:.02em}.manual-weighing-summary input{border:1px solid var(--ui-border);border-radius:12px;padding:10px 14px;background:var(--ui-surface-2);color:var(--ui-text)}.manual-weighing-weight .manual-weighing-summary{margin-top:0;grid-template-columns:1fr;align-content:start}.manual-weighing-weight .manual-weighing-summary label{font-size:.75rem;color:var(--ui-muted-2);text-transform:none;letter-spacing:0;margin-bottom:4px}.manual-weighing-weight .manual-weighing-summary input{text-align:right;background:var(--ui-surface);font-size:.82rem;padding:8px 10px}.manual-override-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:12px}.manual-override-summary label{font-size:.8rem;color:var(--ui-muted-3)}.manual-override-summary input{border:1px solid var(--ui-border);border-radius:12px;padding:10px 12px;background:var(--ui-surface);color:var(--ui-text)}.manual-override-modal textarea{min-height:110px}.manual-weighing-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid var(--ui-border)}.manual-btn{border:1px solid var(--ui-border);border-radius:10px;padding:10px 18px;font-weight:600;background:var(--ui-surface);color:var(--ui-text);cursor:pointer}.manual-btn.primary{background:#7c3aed;color:#fff;border-color:transparent;box-shadow:0 10px 18px -14px #7c3aed99}.manual-btn.ghost{background:transparent;border-color:transparent;color:var(--ui-muted-2)}@media (max-width: 960px){.manual-weighing-body,.manual-weighing-weight{grid-template-columns:1fr}}.fixed-tare-page{padding:20px 0}.fixed-tare-shell{display:flex;flex-direction:column;gap:0;background:var(--ui-surface);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 24px 50px -32px #0f172a8c;max-width:var(--app-content-max);margin:0 auto;width:100%;overflow:hidden}.fixed-tare-shell h1,.fixed-tare-shell h2,.fixed-tare-shell h3{margin:0;font-weight:600}.fixed-tare-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(120deg,#0f172a,#1f2937);color:#fff;padding:12px 18px;border-bottom:1px solid #1f2937}.fixed-tare-title{display:flex;align-items:center;gap:10px}.fixed-tare-title h1{font-size:1.05rem;font-weight:700;letter-spacing:.02em}.fixed-tare-icon{width:28px;height:28px;border-radius:8px;background:#dc2626;color:#fff;display:grid;place-items:center;font-size:1rem;flex-shrink:0}.fixed-tare-icon .material-icons-outlined{font-size:1rem}.fixed-tare-time{display:flex;align-items:center;gap:10px;font-size:.8rem;color:#cbd5f5;font-family:Roboto Mono,ui-monospace,monospace}.fixed-tare-dots{display:flex;gap:5px}.fixed-tare-dots span{width:8px;height:8px;border-radius:999px;display:inline-block;background:#facc15}.fixed-tare-dots span:nth-child(2){background:#22c55e}.fixed-tare-dots span:nth-child(3){background:#ef4444}.fixed-tare-detail{display:none}.fixed-tare-alert{border-radius:12px;padding:10px 14px;font-size:.85rem;border:1px solid transparent;margin:12px 18px 0}.fixed-tare-alert.error{background:#fee2e2;border-color:#fecaca;color:#991b1b}.fixed-tare-alert.info{background:var(--ui-row-hover);border-color:var(--ui-border);color:var(--ui-table-head-text)}.fixed-tare-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:0;border-top:1px solid var(--ui-border)}.fixed-tare-list{background:var(--ui-panel-header);border-right:1px solid var(--ui-border);padding:16px;display:flex;flex-direction:column}.fixed-tare-card{background:transparent;border-radius:0;padding:0;box-shadow:none;display:flex;flex-direction:column;gap:12px;min-width:0}.fixed-tare-list .fixed-tare-card{flex:1}.fixed-tare-card-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ui-border);padding-bottom:8px}.fixed-tare-card-head h2{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--ui-muted-2);display:inline-flex;align-items:center;gap:6px}.fixed-tare-list .fixed-tare-card-head h2:before{content:"list";font-family:Material Icons Outlined;font-size:.9rem;text-transform:none;letter-spacing:0}.fixed-tare-card-head p{display:none}.fixed-tare-table-wrap{border:1px solid var(--ui-border);border-radius:12px;overflow:hidden;background:var(--ui-surface);flex:1;display:flex}.fixed-tare-table{width:100%;border-collapse:collapse}.fixed-tare-table thead{display:none}.fixed-tare-table th{text-align:left;padding:8px 10px;font-size:.75rem;color:var(--ui-muted-2);background:var(--ui-surface-2)}.fixed-tare-table td{padding:8px 10px;font-size:.8rem;border-top:1px solid var(--ui-border);color:var(--ui-table-head-text)}.fixed-tare-table tbody tr{cursor:pointer;transition:background .2s ease}.fixed-tare-table tbody tr:hover{background:var(--ui-row-hover)}.fixed-tare-table tbody tr.is-selected{background:#dbeafe}.fixed-tare-empty{text-align:center;padding:18px 12px;color:var(--ui-muted-3);font-style:italic}.fixed-tare-list-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}.fixed-tare-details{display:flex;flex-direction:column;gap:18px;padding:16px 20px}.fixed-tare-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.fixed-tare-column{display:flex;flex-direction:column;gap:10px}.fixed-tare-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:8px;align-items:center}.fixed-tare-row label{font-size:.75rem;color:var(--ui-muted-2);font-weight:600;text-align:right}.fixed-tare-row input{border:1px solid var(--ui-border);border-radius:8px;padding:6px 8px;font-size:.8rem;background:var(--ui-surface);color:var(--ui-text)}.fixed-tare-row input[readonly]{background:var(--ui-surface-2);color:var(--ui-muted-2)}.fixed-tare-inline{display:flex;gap:8px;align-items:center}.fixed-tare-inline input{flex:1}.fixed-tare-trigger,.fixed-tare-code-trigger{border:1px solid var(--ui-border);border-radius:8px;padding:6px 8px;background:var(--ui-border);color:var(--ui-text);cursor:pointer;font-weight:600;display:inline-flex;align-items:center;justify-content:center}.fixed-tare-weight{display:none}.fixed-tare-weight-main{display:flex;flex-direction:column;gap:6px}.fixed-tare-weight-value{font-size:clamp(2rem,1.3rem + 2vw,3rem);font-weight:700;color:#9a3412}.fixed-tare-weight-meta{display:flex;gap:12px;color:#7c2d12;font-size:.9rem}.fixed-tare-weight-tags{display:flex;flex-direction:column;gap:8px}.fixed-tare-summary{display:grid;gap:10px;background:var(--ui-surface-2);border:1px solid var(--ui-border);border-radius:12px;padding:12px}.fixed-tare-summary>div{display:flex;align-items:center;gap:12px}.fixed-tare-summary label{font-size:.8rem;color:var(--ui-muted-2);font-weight:600;width:120px;text-align:right}.fixed-tare-summary input{border:1px solid var(--ui-border);border-radius:8px;padding:6px 8px;background:var(--ui-surface);font-family:Roboto Mono,ui-monospace,monospace;font-weight:700;text-align:right;color:var(--ui-text);flex:1}.fixed-tare-summary>div:last-child input{background:var(--ui-border);font-size:.9rem}.fixed-tare-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid var(--ui-border);background:var(--ui-panel-header)}.fixed-btn{border:1px solid var(--ui-border);border-radius:12px;padding:10px 18px;font-weight:600;background:var(--ui-table-head-bg);color:var(--ui-muted);cursor:pointer}.fixed-btn.primary{background:var(--ui-text);color:var(--ui-surface);border-color:var(--ui-text)}.fixed-btn.ghost{background:transparent;color:var(--ui-muted);border-color:var(--ui-border)}.fixed-tare-actions .fixed-btn{background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}.fixed-tare-actions .fixed-btn.primary{background:var(--ui-accent);border-color:var(--ui-accent-strong);color:#fff;box-shadow:0 10px 18px -14px #2563eb73}.fixed-tare-actions .fixed-btn.ghost{background:transparent;border-color:var(--ui-border);color:var(--ui-muted)}.fixed-tare-list-actions .fixed-btn{background:var(--ui-table-head-bg);border-color:var(--ui-border);color:var(--ui-muted)}.fixed-tare-list-actions .fixed-btn:last-child{background:#2563eb;border-color:#1d4ed8;color:#fff}@media (max-width: 1080px){.fixed-tare-body{grid-template-columns:1fr}.fixed-tare-list{border-right:none;border-bottom:1px solid var(--ui-border)}}.fixed-tare-list-page{padding:20px 0}.fixed-tare-list-shell{background:var(--ui-surface-2);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 20px 40px -32px var(--ui-shadow);max-width:var(--app-content-max);margin:0 auto;width:100%;padding:18px;display:grid;gap:16px;font-family:Inter,Space Grotesk,sans-serif;color:var(--ui-text)}.fixed-tare-list-shell h1,.fixed-tare-list-shell h2,.fixed-tare-list-shell h3{margin:0;font-weight:600}.fixed-tare-list-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.fixed-tare-list-title{display:flex;align-items:center;gap:14px}.fixed-tare-list-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.fixed-tare-list-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;display:grid;place-items:center;font-size:1.2rem}.fixed-tare-list-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.fixed-tare-list-dots{display:flex;gap:4px}.fixed-tare-list-dots span{width:6px;height:6px;border-radius:999px;background:#99f6e4;display:inline-block}.fixed-tare-list-dots span:nth-child(2){background:#5eead4}.fixed-tare-list-dots span:nth-child(3){background:#2dd4bf}.fixed-tare-list-detail{margin:0;color:var(--ui-muted)}.fixed-tare-list-actions{display:flex;flex-wrap:wrap;gap:10px}.fixed-list-btn{border:none;border-radius:12px;padding:10px 16px;font-weight:600;background:#ccfbf1;color:#0f766e;cursor:pointer}.fixed-list-btn.ghost{background:transparent;border:1px solid #99f6e4}.fixed-tare-list-alert{border-radius:14px;padding:12px 16px;font-size:.95rem;border:1px solid transparent}.fixed-tare-list-alert.error{background:#fee2e2;border-color:#fecaca;color:#991b1b}.fixed-tare-list-alert.info{background:#ccfbf1;border-color:#99f6e4;color:#0f766e}.fixed-tare-list-card{background:var(--ui-surface);border-radius:20px;padding:20px;box-shadow:0 20px 45px #0f172a14;display:flex;flex-direction:column;gap:16px}.fixed-tare-list-card-head{display:flex;justify-content:space-between;gap:12px}.fixed-tare-list-card-head h2{font-size:1.2rem}.fixed-tare-list-card-head p{margin:4px 0 0;color:var(--ui-muted-2);font-size:.95rem}.fixed-tare-list-table-wrap{border:1px solid #ccfbf1;border-radius:16px;overflow:hidden;background:var(--ui-surface)}.fixed-tare-list-table{display:grid;grid-auto-rows:minmax(44px,auto)}.fixed-tare-list-row{display:grid;align-items:center;border-top:1px solid #ccfbf1;cursor:pointer;transition:background .2s ease}.fixed-tare-list-row:first-child{border-top:none}.fixed-tare-list-row:hover{background:#f0fdfa}.fixed-tare-list-row.is-selected{background:#ccfbf1}.fixed-tare-list-head{background:#f0fdfa;color:#0f766e;font-size:.85rem;font-weight:600}.fixed-tare-list-cell{padding:10px 12px;font-size:.9rem}.fixed-tare-list-empty{text-align:center;color:#64748b}.records-page-new{padding:20px 0}.records-shell{background:var(--ui-surface-2);border-radius:22px;border:1px solid var(--ui-border);box-shadow:0 20px 40px -32px var(--ui-shadow);max-width:var(--app-content-max);margin:0 auto;width:100%;padding:18px;display:grid;gap:16px;font-family:Inter,Space Grotesk,sans-serif;color:var(--ui-text)}.records-shell h1,.records-shell h2,.records-shell h3{margin:0;font-weight:600}.records-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.records-title{display:flex;align-items:center;gap:14px}.records-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.records-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#4338ca,#6366f1);color:#fff;display:grid;place-items:center;font-size:1.2rem}.records-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.records-dots{display:flex;gap:4px}.records-dots span{width:6px;height:6px;border-radius:999px;background:#c7d2fe;display:inline-block}.records-dots span:nth-child(2){background:#a5b4fc}.records-dots span:nth-child(3){background:#818cf8}.records-detail{margin:0;color:var(--ui-muted)}.records-tabs{display:flex;flex-wrap:wrap;gap:10px}.records-tab{border:none;border-radius:999px;padding:8px 16px;background:var(--ui-indigo-bg);color:var(--ui-indigo-text);font-weight:600;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.records-tab.active{background:#4338ca;color:#fff}.records-alert{border-radius:14px;padding:12px 16px;font-size:.95rem;border:1px solid transparent}.records-alert.error{background:#fee2e2;border-color:#fecaca;color:#991b1b}.records-alert.info{background:var(--ui-indigo-bg);border-color:var(--ui-active-border);color:var(--ui-indigo-text)}.records-card{background:var(--ui-surface);border-radius:20px;padding:20px;box-shadow:0 20px 45px #0f172a14;display:flex;flex-direction:column;gap:16px}.records-card-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.records-card-head h2{font-size:1.2rem}.records-card-head p{margin:4px 0 0;color:var(--ui-muted-2);font-size:.95rem}.records-actions{display:flex;flex-wrap:wrap;gap:10px}.records-btn{border:none;border-radius:12px;padding:10px 16px;font-weight:600;background:var(--ui-active-border);color:var(--ui-indigo-text);cursor:pointer}.records-btn.ghost{background:transparent;border:1px solid var(--ui-active-border)}.records-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}.records-search{display:flex;flex-direction:column;gap:6px}.records-search label{font-size:.85rem;color:var(--ui-muted-2)}.records-search input{border:1px solid var(--ui-border);border-radius:12px;padding:10px 12px;font-size:.95rem;background:var(--ui-surface-2);color:var(--ui-text)}.records-table-wrap{border:1px solid var(--ui-active-border);border-radius:16px;overflow:hidden;background:var(--ui-surface)}.records-table{width:100%;border-collapse:collapse}.records-table th{text-align:left;padding:10px 12px;font-size:.8rem;color:var(--ui-indigo-text);background:var(--ui-active-bg)}.records-table td{padding:10px 12px;font-size:.9rem;border-top:1px solid var(--ui-active-border)}.records-table tbody tr{cursor:pointer;transition:background .2s ease}.records-table tbody tr:hover{background:var(--ui-active-bg)}.records-table tbody tr.is-selected{background:var(--ui-active-border)}.records-empty{text-align:center;color:var(--ui-muted-2)}.records-pagination{display:flex;justify-content:flex-end;margin-top:12px}@media (max-width: 960px){.records-card-head{flex-direction:column}.records-controls{flex-direction:column;align-items:stretch}}.reports-page{min-height:100%;padding:32px 0 48px;background:transparent;color:var(--ui-text);overflow-x:hidden}.reports-shell{display:flex;flex-direction:column;gap:18px;max-width:var(--app-content-max);margin:0 auto;width:100%}.reports-shell h1,.reports-shell h2,.reports-shell h3{margin:0;font-weight:600}.reports-page .section-stack{margin-top:0;min-width:0}.reports-hero{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 14px 30px -26px var(--ui-shadow)}.reports-hero-copy{display:grid;gap:6px}.reports-hero-copy h1{display:flex;align-items:center;gap:10px;font-size:clamp(1.6rem,1.1rem + .9vw,2.2rem);letter-spacing:.2px}.reports-hero-accent{width:6px;height:28px;border-radius:999px;background:linear-gradient(180deg,#2563eb,#60a5fa)}.reports-hero-detail{margin:0;color:var(--ui-muted-2);font-size:.95rem;padding-left:16px}.reports-hero-badges{display:flex;align-items:center;gap:12px}.reports-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:var(--ui-table-head-bg);border:1px solid var(--ui-border);color:var(--ui-muted);font-size:.85rem}.reports-hero-badge b{color:var(--ui-text)}.reports-calculator{position:fixed;right:24px;bottom:24px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;z-index:45}.reports-calculator-popover{position:fixed;right:24px;bottom:92px;z-index:45}.reports-calculator-panel{min-width:320px;max-width:420px}.reports-calculator-fab{min-width:150px;min-height:68px;padding:10px 16px;border-radius:20px;border:1px solid var(--ui-border);background:linear-gradient(135deg,#1d4ed8,#0ea5e9);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 16px 28px -18px #0f172a8c;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.reports-calculator-fab:hover{transform:translateY(-2px);box-shadow:0 18px 34px -18px #0f172a99}.reports-calculator-fab:active{transform:translateY(0)}.reports-calculator-label{display:inline-flex;flex-direction:column;text-align:left;font-size:.85rem;font-weight:600;line-height:1.05;color:#f8fafc;text-shadow:0 6px 14px rgba(15,23,42,.35)}.reports-calculator-icon{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(15,23,42,.35)) brightness(1.05) contrast(1.05);mix-blend-mode:multiply}.reports-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:20px;align-items:start;max-width:100%}.reports-sidebar{position:sticky;top:18px;display:grid;gap:14px;align-content:start}.reports-sidebar-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;overflow:hidden;box-shadow:0 14px 30px -26px var(--ui-shadow)}.reports-sidebar-card-head{padding:14px 16px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border)}.reports-sidebar-card-head h2{font-size:1rem;color:var(--ui-table-head-text)}.reports-sidebar-menu{padding:10px;display:grid;gap:6px}.reports-sidebar-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid transparent;background:transparent;cursor:pointer;color:var(--ui-muted-2);transition:background .15s ease,color .15s ease,border-color .15s ease}.reports-sidebar-item:hover:not(:disabled){background:var(--ui-row-hover);color:var(--ui-text);border-color:var(--ui-border)}.reports-sidebar-item:disabled{opacity:.65;cursor:not-allowed}.reports-sidebar-item.is-active{background:var(--ui-active-bg);color:var(--ui-active-text);border-color:var(--ui-active-border);font-weight:600}.reports-sidebar-item-main{display:flex;align-items:center;gap:10px}.reports-sidebar-chevron{opacity:.65}.reports-sidebar-item.is-active .reports-sidebar-chevron{opacity:1}.reports-sidebar-action{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 14px;border-radius:16px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-weight:600;cursor:pointer;box-shadow:0 14px 30px -26px var(--ui-shadow);transition:background .15s ease,transform .15s ease}.reports-sidebar-action:hover{background:var(--ui-surface);transform:translateY(-1px)}.reports-sidebar-tip{display:flex;gap:12px;padding:14px 16px;border-radius:18px;background:var(--ui-chip-bg);border:1px solid var(--ui-active-border);color:var(--ui-active-text)}.reports-sidebar-tip-title{font-weight:700;font-size:.95rem;margin-bottom:4px}.reports-sidebar-tip-text{font-size:.82rem;color:var(--ui-active-text);line-height:1.35}.reports-sidebar-tip-icon{color:var(--ui-active-text)}.reports-main{display:grid;gap:18px;min-width:0;max-width:100%}.reports-main .section-stack{min-width:0;max-width:100%}.reports-panel{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 14px 30px -26px var(--ui-shadow);overflow:hidden;display:flex;flex-direction:column;min-height:600px;min-width:0;max-width:100%;width:100%}.reports-panel-head{padding:18px 20px;display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--ui-border);min-width:0}.reports-panel-head-left{min-width:0}.reports-panel-title{font-size:1.2rem;color:var(--ui-text);margin:0}.reports-panel-subtitle{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:.8rem;color:var(--ui-muted-2)}.reports-live-dot{width:8px;height:8px;border-radius:999px;background:#10b981;display:inline-block}.reports-subtitle-divider{color:var(--ui-muted-3)}.reports-panel-head-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-start;min-width:0;max-width:100%;flex:1 1 100%}.reports-action-group{display:flex;align-items:center;gap:6px;padding:6px;border-radius:14px;background:var(--ui-panel-header);border:1px solid var(--ui-border);flex-wrap:wrap;min-width:0;max-width:100%}.reports-tool-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid transparent;background:transparent;cursor:pointer;font-size:.82rem;font-weight:600;color:var(--ui-table-head-text);transition:background .15s ease,border-color .15s ease}.reports-tool-btn:hover:not(:disabled){background:var(--ui-surface);border-color:var(--ui-border)}.reports-tool-btn:disabled{opacity:.55;cursor:not-allowed}.reports-mini-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:none;background:transparent;cursor:pointer;font-size:.82rem;font-weight:600;color:var(--ui-muted-2);transition:color .15s ease,background .15s ease}.reports-mini-btn:hover:not(:disabled){background:var(--ui-surface);color:var(--ui-active-text)}.reports-mini-btn:disabled{opacity:.55;cursor:not-allowed}.reports-columns-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;border:1px solid var(--ui-border);background:var(--ui-surface);cursor:pointer;font-size:.82rem;font-weight:700;color:var(--ui-table-head-text);transition:background .15s ease,transform .15s ease}.reports-columns-btn:hover{background:var(--ui-surface);transform:translateY(-1px)}.reports-panel-filters{padding:14px 20px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border);display:flex;flex-wrap:wrap;gap:12px;align-items:center;min-width:0}.reports-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1 1 0;min-width:0;max-width:100%}.reports-filter-field{display:flex;align-items:center;gap:8px;padding:0 10px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-muted)}.reports-filter-field input{width:100%;border:none;background:transparent;padding:10px 6px;font-size:.85rem;color:var(--ui-text);outline:none}.reports-filter-toggle{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;color:var(--ui-muted);padding:8px 10px;border-radius:12px;background:var(--ui-surface);border:1px solid var(--ui-border)}.reports-filter-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.reports-search-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:12px;border:none;background:#2563eb;color:#fff;font-weight:700;cursor:pointer;transition:background .15s ease}.reports-search-btn:hover{background:#1d4ed8}.reports-clear-btn{width:38px;height:38px;border-radius:12px;border:none;background:transparent;color:var(--ui-muted-2);cursor:pointer;display:grid;place-items:center;transition:background .15s ease,color .15s ease}.reports-clear-btn:hover{background:var(--ui-row-hover);color:var(--ui-text)}.reports-panel-tabs{display:flex;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border)}.reports-tab{padding:10px 16px;border:none;border-bottom:2px solid transparent;background:transparent;cursor:pointer;font-weight:700;color:var(--ui-muted-2);transition:color .15s ease,border-color .15s ease,background .15s ease}.reports-tab:hover{color:var(--ui-text)}.reports-tab.is-active{color:var(--ui-active-text);border-color:var(--ui-active-text);background:var(--ui-surface)}.reports-panel-alerts{padding:12px 20px;display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid var(--ui-border);background:var(--ui-panel-header)}.reports-panel-alert{padding:8px 10px;border-radius:12px;font-size:.85rem;font-weight:600}.reports-panel-alert.muted{background:var(--ui-row-hover);color:var(--ui-table-head-text)}.reports-panel-alert.success{background:#d1fae5d9;color:#065f46}.reports-panel-alert.error{background:#fee2e2e6;color:#b91c1c}.reports-table-scroll{flex:1;overflow:auto;min-width:0;max-width:100%;width:100%;overflow-x:auto;overflow-y:auto;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.reports-page .table-wrap{max-width:100%;width:100%;min-width:0;overflow:auto;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.reports-table{width:100%;border-collapse:collapse;table-layout:fixed}.reports-panel .table-wrap{min-width:0;max-width:100%}.reports-panel .table{min-width:900px}.reports-table th,.reports-table td{padding:6px 8px;text-align:left;border-bottom:1px solid var(--ui-border);vertical-align:top;font-size:.75rem;line-height:1.25;white-space:normal;word-break:break-word}.reports-table th{position:sticky;top:0;background:var(--ui-surface-2);z-index:1;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ui-muted-2)}.reports-table tbody tr:hover{background:var(--ui-row-hover)}.reports-table tbody tr.is-selected{background:var(--ui-row-selected)}.reports-check-col{width:36px}.reports-check-cell{display:flex;flex-direction:column;align-items:center;gap:6px}.reports-manual-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:#ef444429;color:#b91c1c;border:1px solid rgba(239,68,68,.35)}.reports-manual-badge .material-icons-outlined{font-size:.9rem}.reports-cancelled-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;background:#dc262633;border:1px solid rgba(220,38,38,.45);color:#dc2626;font-size:.6rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.reports-overdue-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;background:#eab30833;border:1px solid rgba(234,179,8,.45);color:#a16207;font-size:.6rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.reports-status-cell{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.reports-actions-col{width:120px}.reports-plate-pill{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:4px 10px;border-radius:999px;background:var(--ui-row-hover);border:1px solid var(--ui-border);font-weight:700;font-size:.78rem;white-space:normal;word-break:break-word;text-align:center}.reports-empty{text-align:center;color:var(--ui-muted-2);padding:28px 12px}.reports-panel-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--ui-border);background:var(--ui-surface)}.reports-panel-count{color:var(--ui-muted-2);font-size:.85rem}.reports-panel-count b{color:var(--ui-text)}.reports-panel-footer-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.reports-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--ui-muted-2);font-size:.85rem}.reports-pagination-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-table-head-text);cursor:pointer;font-weight:700;font-size:.8rem;transition:background .15s ease,border-color .15s ease}.reports-pagination-btn:hover:not(:disabled){background:var(--ui-row-hover);border-color:var(--ui-border)}.reports-pagination-btn:disabled{opacity:.5;cursor:not-allowed}.reports-pagination-meta{color:var(--ui-muted-2);font-weight:600}.reports-page-size{display:inline-flex;align-items:center;gap:6px}.reports-page-size select{border-radius:8px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-table-head-text);padding:6px 8px;font-size:.8rem}.reports-pagination-advanced{margin-top:12px;justify-content:flex-end}.reports-panel-footer-group{display:flex;gap:10px;align-items:center}.reports-footer-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-table-head-text);cursor:pointer;font-weight:700;font-size:.82rem;transition:background .15s ease,border-color .15s ease}.reports-footer-btn:hover:not(:disabled){background:var(--ui-row-hover);border-color:var(--ui-border)}.reports-footer-btn:disabled{opacity:.55;cursor:not-allowed}.reports-footer-btn.danger{border-color:#fecacaf2;color:#b91c1c}.reports-footer-btn.danger:hover:not(:disabled){background:#fef2f2e6;border-color:#fecacaf2}.reports-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 16px;border-radius:18px;border:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:0 14px 30px -26px var(--ui-shadow)}.reports-kpi{display:flex;align-items:center;gap:10px;color:var(--ui-table-head-text);font-weight:700;justify-content:center}.reports-kpi b{color:var(--ui-text)}@media (max-width: 960px){.reports-layout{grid-template-columns:1fr}.reports-sidebar{position:static}.auth-hub-layout{grid-template-columns:1fr}.auth-hub-sidebar{position:static}}@media (min-width: 980px){.reports-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.auth-hub-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:20px;align-items:start;max-width:var(--app-content-max);margin:0 auto;width:100%}.auth-hub-sidebar{position:sticky;top:18px;display:grid;gap:14px;align-content:start}.auth-hub-sidebar-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;overflow:hidden;box-shadow:0 14px 30px -26px var(--ui-shadow)}.auth-hub-sidebar-card-head{padding:14px 16px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border)}.auth-hub-sidebar-card-head h2{font-size:1rem;color:var(--ui-table-head-text)}.auth-hub-sidebar-menu{padding:10px;display:grid;gap:6px}.auth-hub-sidebar-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid transparent;background:transparent;cursor:pointer;color:var(--ui-muted-2);text-decoration:none;transition:background .15s ease,color .15s ease,border-color .15s ease}.auth-hub-sidebar-item:hover{background:var(--ui-row-hover);color:var(--ui-text);border-color:var(--ui-border)}.auth-hub-sidebar-item.is-active{background:var(--ui-active-bg);color:var(--ui-active-text);border-color:var(--ui-active-border);font-weight:600}.auth-hub-sidebar-item-main{display:flex;align-items:center;gap:10px}.auth-hub-sidebar-chevron{opacity:.65}.auth-hub-sidebar-item.is-active .auth-hub-sidebar-chevron{opacity:1}.auth-hub-content{min-width:0}.auth-hub-content .page{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 14px 30px -26px var(--ui-shadow)}.auth-hub-content .report-filters{background:var(--ui-surface);border-color:var(--ui-border)}.auth-hub-content .report-table .table-head{background:var(--ui-table-head-bg);color:var(--ui-table-head-text)}.auth-hub-content .report-table .table-row{border-top:1px solid var(--ui-border)}.auth-hub-content .report-table .row-selected{background:var(--ui-row-selected)}.auth-hub-page,.auth-users-page,.auth-permissions-page{min-height:100%}.auth-hub-page{padding:32px 0 48px;color:var(--ui-text)}.auth-hub-hero{max-width:var(--app-content-max);margin:0 auto 18px;width:100%}.auth-users-panel,.auth-permissions-panel{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 14px 30px -26px var(--ui-shadow);overflow:hidden;min-height:600px;display:flex;flex-direction:column}.license-status-panel{min-height:0}.auth-users-table.license-status-table{min-width:0}.licensing-hub-page .license-panel-body,.printing-hub-page .printing-hub-body{padding:18px;display:grid;gap:14px}.printing-hub-page .printing-hub-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.licensing-hub-page .license-panel-body .field input{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.licensing-hub-page .license-panel-body .field input:focus{border-color:#2563ebbf;box-shadow:0 0 0 3px #2563eb1f;outline:none}.licensing-hub-page .license-hardware-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--ui-muted-2)}.licensing-hub-page .license-hardware-row .auth-users-mono{color:var(--ui-text)}.licensing-hub-page .stat-row{flex-wrap:wrap;gap:12px}.licensing-hub-page .portal-page-new{padding:0;background:transparent}.licensing-hub-page .portal-shell{max-width:100%;margin:0}.licensing-hub-page .license-portal-panel{overflow:visible}.licensing-hub-page .license-portal-body{padding:18px}.auth-users-panel-head,.auth-permissions-panel-head{padding:16px 18px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border);display:flex;align-items:center;justify-content:space-between;gap:14px}.auth-users-panel-title,.auth-permissions-panel-title{display:inline-flex;align-items:center;gap:10px}.auth-users-panel-title h2,.auth-permissions-panel-title h2{font-size:1.1rem;font-weight:800;color:var(--ui-text);margin:0}.auth-users-panel-title .material-icons-outlined,.auth-permissions-panel-title .material-icons-outlined{color:var(--ui-accent);font-size:22px}.auth-users-panel-tools{display:flex;align-items:center;gap:10px}.auth-users-panel-tools input,.auth-permissions-sidebar-head input{width:min(260px,55vw);padding:9px 12px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);font-size:.9rem;outline:none}.auth-users-panel-tools input:focus,.auth-permissions-sidebar-head input:focus{border-color:#2563ebbf;box-shadow:0 0 0 3px #2563eb1f}.auth-back-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-table-head-text);font-weight:700;font-size:.85rem;cursor:pointer;transition:transform .15s ease,background .15s ease}.auth-back-btn:hover{background:var(--ui-row-hover);transform:translateY(-1px)}.auth-users-alerts,.auth-permissions-alerts{padding:12px 18px;display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid var(--ui-border);background:var(--ui-panel-header)}.auth-users-alert,.auth-permissions-alert{padding:8px 10px;border-radius:12px;font-size:.85rem;font-weight:700}.auth-users-alert.muted,.auth-permissions-alert.muted{background:var(--ui-row-hover);color:var(--ui-table-head-text)}.auth-users-alert.success,.auth-permissions-alert.success{background:#d1fae5d9;color:#065f46}.auth-users-alert.error,.auth-permissions-alert.error{background:#fee2e2eb;color:#b91c1c}.auth-users-table-wrap{flex:1;overflow:auto;background:var(--ui-surface)}.auth-users-table{width:100%;border-collapse:collapse;min-width:880px;font-size:.9rem}.auth-users-table th,.auth-users-table td{padding:12px 14px;border-bottom:1px solid var(--ui-border);text-align:left}.auth-users-table thead th{position:sticky;top:0;z-index:1;background:var(--ui-table-head-bg);color:var(--ui-muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.auth-users-table tbody tr{cursor:pointer;transition:background .15s ease}.auth-users-table tbody tr:hover{background:var(--ui-row-hover)}.auth-users-table tbody tr.is-selected{background:var(--ui-row-selected)}.auth-users-table tbody tr.is-selected td:first-child{border-left:4px solid var(--ui-accent)}.auth-users-mono{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.auth-users-muted{color:var(--ui-muted-2)}.auth-users-empty{padding:22px 14px;text-align:center;color:var(--ui-muted-2)}.auth-role-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid var(--ui-border);background:var(--ui-row-hover);color:var(--ui-table-head-text)}.auth-role-pill.is-admin{background:#e9d5ffa6;border-color:#d8b4fee6;color:#6b21a8}.auth-role-pill.is-operator{background:#dbeafe99;border-color:#bfdbfee6;color:#1d4ed8}.auth-role-pill.is-default{background:var(--ui-table-head-bg);border-color:var(--ui-border);color:var(--ui-table-head-text)}.auth-status-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid transparent}.auth-status-pill.is-active{background:#d1fae5d9;border-color:#a7f3d0e6;color:#047857}.auth-status-pill.is-inactive{background:#fee2e2e0;border-color:#fecacae6;color:#b91c1c}.auth-users-footer{padding:14px 16px;background:var(--ui-panel-header);border-top:1px solid var(--ui-border);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.auth-users-footer-group{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.auth-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:12px;border:1px solid transparent;color:#fff;font-weight:800;font-size:.85rem;cursor:pointer;transition:transform .15s ease,filter .15s ease}.auth-action-btn .material-icons-outlined{font-size:18px}.auth-action-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.97)}.auth-action-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.auth-action-btn.is-slate{background:#334155;border-color:#334155e6}.auth-action-btn.is-warning{background:#d97706;border-color:#b45309e6}.auth-action-btn.is-secondary{background:#475569;border-color:#334155e6}.auth-action-btn.is-primary{background:#2563eb;border-color:#1d4ed8e6}.auth-action-btn.is-danger{background:#e11d48;border-color:#be123ce6}.auth-action-btn.is-teal{background:#0f766e;border-color:#0f766ee6}.auth-action-btn.is-dark{background:#1f2937;border-color:#0f172ae6}.auth-permissions-layout{flex:1;display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);overflow:hidden}.auth-permissions-sidebar{border-right:1px solid var(--ui-border);background:var(--ui-panel-header);display:flex;flex-direction:column;overflow:hidden}.auth-permissions-sidebar-head{padding:12px 12px 10px;border-bottom:1px solid var(--ui-border);background:var(--ui-surface);display:grid;gap:8px}.auth-permissions-sidebar-head h3{margin:0;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ui-muted-2)}.auth-permissions-user-list{padding:10px;overflow:auto;display:grid;gap:8px}.auth-user-card{width:100%;text-align:left;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border-radius:14px;border:1px solid transparent;background:transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease}.auth-user-card:hover{background:var(--ui-surface);border-color:var(--ui-border)}.auth-user-card.is-active{background:var(--ui-row-selected);border-color:var(--ui-active-border);box-shadow:0 10px 18px -18px var(--ui-shadow)}.auth-user-card.is-inactive{opacity:.6}.auth-user-card-meta{display:grid;gap:4px;min-width:0}.auth-user-card-name{font-weight:800;font-size:.9rem;color:var(--ui-text)}.auth-user-card-sub{font-size:.78rem;color:var(--ui-muted-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.auth-permissions-main{display:flex;flex-direction:column;overflow:hidden;background:var(--ui-surface)}.auth-permissions-main-head{padding:12px 16px;border-bottom:1px solid var(--ui-border);background:var(--ui-panel-header);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.auth-permissions-selected{display:inline-flex;align-items:center;gap:10px;color:var(--ui-muted-2);font-size:.85rem;font-weight:700}.auth-chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;border:1px solid var(--ui-active-border);background:var(--ui-chip-bg);color:var(--ui-chip-text);font-weight:900;font-size:.82rem}.auth-permissions-bulk{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.auth-permissions-bulk-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-table-head-text);font-weight:700;font-size:.78rem;cursor:pointer;transition:background .15s ease}.auth-permissions-bulk-btn:hover:not(:disabled){background:var(--ui-row-hover)}.auth-permissions-bulk-btn:disabled{opacity:.55;cursor:not-allowed}.auth-permissions-scroll{flex:1;overflow:auto;padding:16px;background:var(--ui-canvas)}.auth-permissions-muted{color:var(--ui-muted-2);font-weight:600}.auth-permissions-groups{display:grid;gap:14px;max-width:960px;margin:0 auto}.auth-perm-group{border:1px solid var(--ui-border);border-radius:14px;overflow:hidden;background:var(--ui-surface)}.auth-perm-group-head{padding:10px 14px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border);display:flex;align-items:center;justify-content:space-between;gap:10px}.auth-perm-group-head h4{margin:0;font-size:.85rem;font-weight:900;color:var(--ui-table-head-text)}.auth-perm-group-body{padding:10px 14px;display:grid;gap:12px}.auth-perm-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--ui-border)}.auth-perm-row:last-child{border-bottom:none}.auth-perm-row-info{display:grid;gap:4px;min-width:min(420px,100%)}.auth-perm-row-title{font-weight:800;color:var(--ui-text);font-size:.9rem}.auth-perm-row-detail{color:var(--ui-muted-2);font-size:.78rem}.auth-perm-row-options{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:flex-end}.auth-perm-option{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:700;color:var(--ui-muted)}.auth-perm-option input{width:18px;height:18px;accent-color:#2563eb}.auth-permissions-footer{padding:14px 16px;border-top:1px solid var(--ui-border);background:var(--ui-panel-header);display:flex;justify-content:flex-end;gap:10px}.auth-secondary-btn,.auth-primary-btn{padding:10px 14px;border-radius:12px;font-weight:900;font-size:.85rem;cursor:pointer;border:1px solid transparent;transition:transform .15s ease,filter .15s ease}.auth-secondary-btn{background:#334155;color:#fff;border-color:#334155e6}.auth-primary-btn{background:#2563eb;color:#fff;border-color:#1d4ed8e6}.auth-secondary-btn:hover:not(:disabled),.auth-primary-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.97)}.auth-secondary-btn:disabled,.auth-primary-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}@media (max-width: 980px){.auth-permissions-layout{grid-template-columns:1fr}.auth-permissions-sidebar{border-right:none;border-bottom:1px solid var(--ui-border)}}.reports-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.reports-title{display:flex;align-items:center;gap:14px}.reports-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.reports-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#1d4ed8,#6366f1);color:#fff;display:grid;place-items:center;font-size:1.2rem}.reports-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.reports-dots{display:flex;gap:4px}.reports-dots span{width:6px;height:6px;border-radius:999px;background:#c7d2fe;display:inline-block}.reports-dots span:nth-child(2){background:#a5b4fc}.reports-dots span:nth-child(3){background:#818cf8}.reports-detail{margin:0;color:var(--ui-muted)}.reports-header-actions{display:flex;flex-wrap:wrap;gap:10px}.reports-btn{border:none;border-radius:12px;padding:10px 16px;font-weight:600;background:var(--ui-indigo-bg);color:var(--ui-indigo-text);cursor:pointer}.reports-btn,.settings-btn{transition:transform .15s ease,box-shadow .15s ease}.reports-btn:hover,.settings-btn:hover{transform:translateY(-1px);box-shadow:0 10px 18px -16px #0f172a66}.reports-btn:disabled,.settings-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.reports-btn.ghost{background:transparent;border:1px solid var(--ui-active-border)}.btn.reports-btn{border-color:transparent;background:var(--ui-indigo-bg);color:var(--ui-indigo-text)}.btn.reports-btn.btn-outline{background:var(--ui-surface);border-color:var(--ui-active-border);color:var(--ui-indigo-text)}.btn.reports-btn.btn-ghost{background:transparent;border-color:transparent;color:var(--ui-indigo-text)}.proforma-panel .card-body{display:flex;flex-direction:column;gap:18px}.proforma-panel .form-grid{background:var(--ui-surface-2);border:1px solid var(--ui-active-border);border-radius:16px;padding:16px}.proforma-panel .table.proforma-table{border:1px solid var(--ui-active-border);border-radius:16px;overflow:hidden;background:var(--ui-surface)}.proforma-panel .table-head{background:var(--ui-indigo-bg);color:var(--ui-indigo-text);font-weight:600}.proforma-panel .table-row{border-top:1px solid var(--ui-active-border)}.proforma-panel .table-cell{padding:10px 12px}.proforma-panel .table-cell input{width:100%;border:1px solid var(--ui-border);border-radius:10px;padding:8px 10px;background:var(--ui-surface)}.proforma-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.attachments-panel .card-body{display:flex;flex-direction:column;gap:16px}.attachments-controls{background:var(--ui-surface-2);border:1px solid var(--ui-active-border);border-radius:16px;padding:14px 16px;display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.attachments-controls .field{flex:1 1 220px}.attachments-actions{display:flex;gap:10px;align-items:center}.attachments-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.attachment-item{border:1px solid var(--ui-active-border);border-radius:16px;padding:12px;background:var(--ui-surface);display:grid;gap:10px}.attachment-item img{width:100%;height:140px;object-fit:cover;border-radius:12px;border:1px solid var(--ui-active-border)}.attachment-meta{display:flex;justify-content:space-between;gap:8px;align-items:center}.attachment-name{font-weight:600;font-size:.9rem;color:var(--ui-text)}.second-btn,.manual-btn,.fixed-btn,.fixed-list-btn,.records-btn,.reports-btn{border-radius:12px;font-weight:600;padding:10px 18px;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease}.second-btn:hover,.manual-btn:hover,.fixed-btn:hover,.fixed-list-btn:hover,.records-btn:hover,.reports-btn:hover{transform:translateY(-1px);box-shadow:0 10px 18px -16px #0f172a66}.second-btn:disabled,.manual-btn:disabled,.fixed-btn:disabled,.fixed-list-btn:disabled,.records-btn:disabled,.reports-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.records-detail-modal{width:min(92vw,980px);padding:0;overflow:hidden;border-radius:22px;border:1px solid var(--ui-border);background:var(--ui-surface);box-shadow:0 26px 70px #0f172a38}.records-preview-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 28px;color:#fff;background:linear-gradient(90deg,#0f172a,#1e3a8a,#2563eb);border-bottom:1px solid rgba(255,255,255,.12)}.records-preview-title{margin:0;display:flex;align-items:center;gap:12px;font-family:Inter,Helvetica Neue,sans-serif;font-weight:700;letter-spacing:.2px;font-size:1.25rem}.records-preview-title .material-icons-outlined{color:#93c5fdf2}.records-preview-meta{display:grid;gap:2px;text-align:right}.records-preview-date{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.9rem;color:#bfdbfef2}.records-preview-status{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#93c5fdbf}.records-preview-body{padding:24px 28px;background:var(--ui-surface)}.records-preview-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}@media (max-width: 900px){.records-preview-grid{grid-template-columns:1fr}}.records-preview-section{display:grid;gap:12px;align-content:start}.records-preview-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:10px 12px;border-bottom:1px solid var(--ui-border);border-radius:12px;transition:background .15s ease}.records-preview-row:hover{background:var(--ui-row-hover)}.records-preview-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--ui-muted-2)}.records-preview-value{text-align:right;font-size:.98rem;font-weight:600;color:var(--ui-text)}.records-preview-mono{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:700}.records-preview-card{border:1px solid var(--ui-border);border-radius:16px;padding:14px 16px;background:var(--ui-surface-2);display:grid;gap:10px}.records-preview-card-head,.records-preview-card-foot{display:flex;justify-content:space-between;gap:10px;font-size:.85rem;color:var(--ui-muted);font-weight:600}.records-preview-card-foot{padding-top:10px;border-top:1px solid var(--ui-border);font-weight:700}.records-preview-weight{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1.1rem;font-weight:800;color:#2563eb}.records-preview-net{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #bbf7d0;background:#ecfdf5;border-radius:16px;padding:14px 16px;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#047857}.records-preview-net-value{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1.35rem;font-weight:900;letter-spacing:0;text-transform:none;color:#059669}.records-preview-ticket{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:10px 12px;border-bottom:1px solid var(--ui-border);border-radius:12px}.records-preview-ticket span:first-child{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--ui-muted-2)}.records-preview-reversal{margin-top:12px;display:grid;gap:8px;padding:10px 12px;border:1px dashed var(--ui-border);border-radius:12px;background:var(--ui-surface-2)}.records-reversal-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.85rem;color:var(--ui-text)}.records-reversal-row button{padding:0 6px}.records-preview-attachments{margin-top:16px;border:1px solid var(--ui-border);border-radius:16px;padding:12px;background:var(--ui-surface-2);display:grid;gap:10px}.records-preview-attachments-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.85rem;font-weight:700;color:var(--ui-text)}.records-preview-attachments-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.records-preview-attachments .attachment-item{padding:10px;border-radius:12px}.records-preview-attachments .attachment-item img{height:110px}.records-preview-timeline{margin-top:16px;border:1px solid var(--ui-border);border-radius:16px;padding:12px;background:var(--ui-surface-2);display:grid;gap:10px}.records-preview-timeline-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.85rem;font-weight:700;color:var(--ui-text)}.records-preview-timeline-list{display:grid;gap:8px}.records-preview-timeline-summary{border:1px solid var(--ui-border);border-radius:12px;padding:10px 12px;background:var(--ui-surface);display:grid;gap:6px}.records-preview-timeline-summary-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:center;font-size:.75rem;color:var(--ui-muted)}.records-preview-timeline-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ui-muted-2)}.records-preview-timeline-value{font-weight:600;color:var(--ui-text)}.records-preview-timeline-item{border:1px solid var(--ui-border);border-radius:12px;padding:10px 12px;background:var(--ui-surface);display:grid;gap:6px}.records-preview-timeline-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.75rem;color:var(--ui-muted)}.records-preview-timeline-time{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:600}.records-preview-timeline-user{font-weight:600;color:var(--ui-text)}.records-preview-timeline-action{font-size:.85rem;font-weight:700;color:var(--ui-text)}.records-preview-footer{display:flex;justify-content:center;padding:18px 28px 22px;background:var(--ui-surface-2);border-top:1px solid var(--ui-border)}.report-tabs{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.report-filters{margin-bottom:18px;background:var(--ui-surface-2);border-radius:16px;padding:16px;border:1px solid var(--ui-active-border)}.report-filters .field label{font-size:.85rem;color:var(--ui-muted)}.report-filters .field input,.report-filters .field select{border:1px solid var(--ui-border);border-radius:12px;padding:10px 12px;font-size:.95rem;background:var(--ui-surface);color:var(--ui-text)}.report-filters .reports-filter-inline{display:flex;align-items:center;gap:8px}.report-filters .reports-filter-inline input{flex:1}.report-filters .reports-filter-trigger{border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-border);color:var(--ui-text);padding:8px 12px;font-weight:700;cursor:pointer}.report-filters .reports-filter-trigger:disabled{opacity:.6;cursor:not-allowed}.report-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.reports-attachment-toggle{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px dashed var(--ui-border);background:var(--ui-surface);font-size:.85rem;color:var(--ui-text)}.reports-attachment-toggle input{accent-color:var(--ui-accent)}.report-table .table-head{background:var(--ui-active-bg);color:var(--ui-indigo-text);font-weight:600}.report-table .table-cell{padding:8px 10px;font-size:.78rem;line-height:1.25;min-width:0;white-space:normal;word-break:break-word;align-items:flex-start}.report-table .button-row{flex-wrap:wrap;gap:8px}.report-table .table-row{border-top:1px solid var(--ui-active-border)}.report-table .table-row:not(.table-head):hover{background:var(--ui-row-hover)}.report-table .row-selected{background:var(--ui-active-border)}.report-table .table-empty{text-align:center;color:var(--ui-muted-2)}.backup-table{min-width:760px}.backup-table .table-row:not(.table-head){cursor:pointer}.backup-panel-body{padding:18px 20px 22px}.report-meta{margin-top:var(--space-2)}.preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-3);margin-top:var(--space-2)}.preview-image img{width:100%;border-radius:var(--radius-md);border:1px solid var(--border);box-shadow:0 10px 24px -20px var(--shadow)}.receipt-text{white-space:pre-wrap;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:#f9f4ec;max-height:320px;overflow:auto}.receipt-text.is-rtl{direction:rtl;text-align:right;font-family:Noto Naskh Arabic,Noto Sans Arabic,Amiri,Tahoma,Arial,sans-serif;unicode-bidi:plaintext}html[dir=rtl] body{font-family:Noto Naskh Arabic,Noto Sans Arabic,Amiri,Tahoma,Arial,sans-serif}.print-preview-modal{display:grid;gap:var(--space-2)}.print-preview-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.print-preview-tag{padding:4px 10px;border-radius:999px;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1px solid transparent}.print-preview-tag.is-cancelled{background:var(--ui-danger-bg);color:var(--ui-danger-text);border-color:var(--ui-danger-border)}.print-preview-body{display:grid;gap:var(--space-2)}.print-preview-scroll{max-height:60vh;overflow:auto;padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--ui-border);background:var(--ui-surface-2)}.print-preview-scroll .preview-image{display:flex;justify-content:center}.print-preview-modal .preview-image img{width:auto;max-width:100%}.print-preview-scroll .receipt-text{max-height:none;overflow:visible;padding:0;border:none;background:transparent}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:center;padding:var(--space-3);z-index:30}.modal{background:var(--ui-surface);border-radius:18px;border:1px solid var(--ui-border);padding:var(--space-3);width:min(92vw,900px);max-height:90vh;overflow:auto;box-shadow:0 24px 60px var(--ui-shadow-soft)}.confirm-modal{width:min(92vw,640px)}.confirm-warning{display:flex;gap:var(--space-2);align-items:center;padding:12px 14px;margin:var(--space-2) 0;border-radius:12px;border:1px solid var(--ui-warning-border);background:var(--ui-warning-bg);color:var(--ui-warning-text);font-weight:600}.confirm-summary{display:grid;gap:10px;margin:var(--space-2) 0}.confirm-message{margin:var(--space-2) 0;color:var(--ui-text);font-size:.95rem;line-height:1.5}.confirm-row{display:flex;justify-content:space-between;gap:var(--space-3)}.modal-actions{display:flex;justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-2)}.correct-modal{width:min(92vw,820px);padding:0;overflow:hidden;border-radius:20px;border:1px solid var(--ui-border);background:linear-gradient(180deg,var(--ui-surface) 0%,var(--ui-surface-2) 100%);box-shadow:0 26px 70px #0f172a33}.correct-modal .modal-header{margin-bottom:0;padding:18px 22px;border-bottom:1px solid var(--ui-border);background:linear-gradient(90deg,rgba(16,185,129,.12),transparent 60%)}.correct-modal .modal-body{padding:18px 22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.correct-modal .modal-body .field.span-full{grid-column:1 / -1}.correct-modal .dashboard-alert{grid-column:1 / -1;margin-bottom:4px}@media (max-width: 720px){.correct-modal .modal-body{grid-template-columns:minmax(0,1fr)}}.correct-modal .modal-footer{display:flex;justify-content:flex-end;gap:var(--space-2);padding:16px 22px;border-top:1px solid var(--ui-border);background:var(--ui-surface)}.correct-modal textarea{min-height:110px}.calculator-modal{width:min(92vw,380px)}.code-modal{width:min(92vw,760px);background:linear-gradient(180deg,var(--ui-surface) 0%,var(--ui-surface-2) 100%)}.code-modal .code-list{max-height:320px;overflow:auto;padding-right:4px}.code-modal .code-row{border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface)}.picker-modal{width:min(92vw,520px);background:var(--ui-surface)}.picker-modal .button-row{justify-content:flex-end}.picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2);margin-bottom:var(--space-2)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2);margin-bottom:var(--space-2);padding-bottom:10px;border-bottom:1px solid var(--ui-border)}.column-manager{width:min(90vw,640px)}.column-manager-tabs{margin-bottom:var(--space-2)}.column-manager-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.column-manager-checklist{max-height:320px;overflow:auto;display:grid;gap:var(--space-1);padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.column-manager-checkbox{display:flex;align-items:center;gap:var(--space-2);font-size:.95rem}.advanced-filter-grid{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:var(--space-3)}.advanced-filter-grid.is-embedded{grid-template-columns:1fr}.advanced-filter-page{min-height:100%;padding:32px 0 48px;background:linear-gradient(180deg,var(--ui-surface-2) 0%,var(--ui-canvas) 100%);color:var(--ui-text)}.advanced-filter-shell{display:flex;flex-direction:column;gap:18px;max-width:var(--app-content-max);margin:0 auto;width:100%}.advanced-filter-shell h1,.advanced-filter-shell h2,.advanced-filter-shell h3,.advanced-filter-shell h4{margin:0;font-weight:600}.advanced-filter-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.advanced-filter-title{display:flex;align-items:center;gap:14px}.advanced-filter-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.advanced-filter-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:grid;place-items:center;font-size:1.2rem}.advanced-filter-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.advanced-filter-dots{display:flex;gap:4px}.advanced-filter-dots span{width:6px;height:6px;border-radius:999px;background:#c7d2fe;display:inline-block}.advanced-filter-dots span:nth-child(2){background:#a5b4fc}.advanced-filter-dots span:nth-child(3){background:#818cf8}.advanced-filter-detail{margin:0;color:var(--ui-muted)}.advanced-filter-header-actions{display:flex;flex-wrap:wrap;gap:10px}@media (max-width: 1080px){.advanced-filter-grid{grid-template-columns:1fr}}.backup-page-new{min-height:100%;padding:32px 0 48px;background:linear-gradient(180deg,var(--ui-surface-2) 0%,var(--ui-canvas) 100%);color:var(--ui-text)}.backup-shell{display:flex;flex-direction:column;gap:18px;max-width:var(--app-content-max);margin:0 auto;width:100%}.backup-shell h1,.backup-shell h2,.backup-shell h3{margin:0;font-weight:600}.backup-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.backup-title{display:flex;align-items:center;gap:14px}.backup-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.backup-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;display:grid;place-items:center;font-size:1.2rem}.backup-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.backup-dots{display:flex;gap:4px}.backup-dots span{width:6px;height:6px;border-radius:999px;background:#bae6fd;display:inline-block}.backup-dots span:nth-child(2){background:#7dd3fc}.backup-dots span:nth-child(3){background:#38bdf8}.backup-detail{margin:0;color:var(--ui-muted)}.serial-page-new{min-height:100%;padding:32px 0 48px;background:transparent;color:var(--ui-text);--border: var(--ui-border);--surface: var(--ui-row-hover);--surface-strong: var(--ui-surface);--text: var(--ui-text);--muted: var(--ui-muted-2)}.serial-shell{display:flex;flex-direction:column;gap:18px;max-width:var(--app-content-max);margin:0 auto;width:100%}.serial-shell h1,.serial-shell h2,.serial-shell h3{margin:0;font-weight:600}.serial-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 14px 30px -26px var(--ui-shadow);width:100%}.serial-title{display:flex;align-items:flex-start;gap:14px}.serial-title-copy{display:grid;gap:6px}.serial-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.serial-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0f172a,#334155);color:#fff;display:grid;place-items:center;font-size:1.2rem}.serial-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.serial-dots{display:flex;gap:4px}.serial-dots span{width:6px;height:6px;border-radius:999px;background:#cbd5f5;display:inline-block}.serial-dots span:nth-child(2){background:#94a3b8}.serial-dots span:nth-child(3){background:#64748b}.serial-detail{margin:0;color:var(--ui-muted-2);font-size:.95rem}.serial-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:20px;align-items:start}.serial-sidebar{position:sticky;top:16px;align-self:start}.serial-nav-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 18px 40px #0f172a14;padding:12px}.serial-nav-header{padding:10px 12px 8px;font-weight:600;color:var(--ui-text)}.serial-nav{display:flex;flex-direction:column;gap:8px}.serial-nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text);text-decoration:none;transition:background .15s ease,border-color .15s ease,transform .15s ease}.serial-nav-item:hover{border-color:var(--ui-border);background:var(--ui-row-hover);transform:translateY(-1px)}.serial-nav-item .material-icons-outlined{font-size:20px;color:var(--ui-accent-strong)}.serial-content{min-width:0}.serial-stub-detail{margin:0;color:var(--ui-muted)}.serial-page-new .card{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.serial-page-new .card-eyebrow{color:var(--ui-muted-2)}.serial-page-new .field input,.serial-page-new .field select{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.serial-page-new .badge-info{border:1px solid var(--ui-border);background:var(--ui-row-hover);color:var(--ui-muted-2)}.serial-com-port-card .card-header{position:relative;padding-top:6px}.serial-com-port-card .card-eyebrow{position:absolute;top:-12px;left:0}@media (max-width: 960px){.serial-layout{grid-template-columns:1fr}.serial-sidebar{position:static}}.settings-page-new{min-height:100%;padding:32px 0 48px;background:linear-gradient(180deg,var(--ui-surface-2) 0%,var(--ui-canvas) 100%);color:var(--ui-text)}.settings-shell{display:flex;flex-direction:column;gap:18px;max-width:var(--app-content-max);margin:0 auto;width:100%}.settings-shell h1,.settings-shell h2,.settings-shell h3{margin:0;font-weight:600}.settings-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.settings-title{display:flex;align-items:center;gap:14px}.settings-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.settings-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#1e40af,#6366f1);color:#fff;display:grid;place-items:center;font-size:1.2rem}.settings-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.settings-dots{display:flex;gap:4px}.settings-dots span{width:6px;height:6px;border-radius:999px;background:#c7d2fe;display:inline-block}.settings-dots span:nth-child(2){background:#a5b4fc}.settings-dots span:nth-child(3){background:#818cf8}.settings-detail{margin:0;color:var(--ui-muted)}.settings-header-actions{display:flex;flex-wrap:wrap;gap:10px}.settings-btn{border:none;border-radius:12px;padding:10px 16px;font-weight:600;background:var(--ui-active-border);color:var(--ui-indigo-text);cursor:pointer}.settings-btn.ghost{background:transparent;border:1px solid var(--ui-active-border)}.advanced-filter-panel{display:grid;gap:var(--space-2)}.advanced-filter-section{display:grid;gap:var(--space-1);padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.advanced-filter-section h4{margin:0;font-size:.95rem}.advanced-filter-status{display:grid;gap:var(--space-1)}.advanced-filter-actions,.advanced-filter-results{display:grid;gap:var(--space-2)}.advanced-filter-results .table-wrap{border:1px solid var(--ui-active-border);border-radius:16px;overflow:hidden;background:var(--ui-surface)}.advanced-filter-stats{display:flex;flex-wrap:wrap;gap:var(--space-3);font-weight:600}.column-manager-list{display:grid;gap:var(--space-2)}.column-manager-row{display:flex;justify-content:space-between;gap:var(--space-2);align-items:center;padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.column-manager-add{margin-top:var(--space-2);display:grid;gap:var(--space-1)}.column-settings-table{display:grid;gap:var(--space-1)}.column-settings-row{display:grid;grid-template-columns:80px 80px minmax(180px,1fr) 140px minmax(160px,.6fr);gap:var(--space-2);align-items:center;padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.column-settings-head{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:var(--bg-alt)}.column-settings-name{display:grid;gap:2px}.column-settings-row input[type=number]{width:100%;max-width:120px;padding:6px 8px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface)}.column-order{font-weight:600}.receipt-field-list{margin-top:var(--space-2);display:grid;gap:var(--space-2)}.receipt-field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-2);align-items:end;padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.visual-editor{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:var(--space-3);align-items:start}.visual-sidebar{display:grid;gap:var(--space-2);align-content:start}.visual-panel{display:grid;gap:var(--space-2);padding:var(--space-2);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.visual-panel-title{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}.visual-tool-list{display:grid;gap:var(--space-1)}.visual-stage{display:grid;gap:var(--space-2);justify-items:center}.visual-canvas{position:relative;width:400px;height:600px;border-radius:var(--radius-md);border:1px dashed var(--border);background:var(--surface-strong);overflow:hidden}.visual-boundary{position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:var(--radius-md);border:1px solid var(--border);pointer-events:none}.visual-zone{position:absolute;left:20px;right:20px;border-radius:12px;border:1px dashed rgba(31,27,22,.15);pointer-events:none}.visual-zone-label{position:absolute;top:4px;left:6px;font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.visual-zone-header{top:20px;height:60px;background:#5b8cc714}.visual-zone-logo{top:90px;height:110px;background:#5aa07814}.visual-zone-content{top:210px;height:350px;background:#dcbe5a14}.visual-zone-footer{top:565px;height:20px;background:#db6e6e14}.visual-element,.visual-logo{position:absolute;transform:translate(-50%,-50%);padding:2px 6px;border-radius:10px;border:1px solid var(--border);cursor:grab;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center}.visual-element{background:#fff5e6}.visual-element.selected{outline:2px solid var(--accent);background:#eef7f6}.visual-logo{background:#eef6ff;font-weight:600}.visual-logo.selected{outline:2px solid var(--accent)}.visual-element.dragging,.visual-logo.dragging{cursor:grabbing}.visual-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1f1b1659;display:flex;align-items:center;justify-content:center;z-index:30}.visual-preview-panel{background:var(--surface-strong);border-radius:var(--radius-lg);border:1px solid var(--border);padding:var(--space-3);box-shadow:0 20px 40px -30px var(--shadow);display:grid;gap:var(--space-2)}.visual-preview-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2)}.visual-preview-title{font-weight:600}.visual-preview-canvas{box-shadow:0 18px 30px -24px var(--shadow)}.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:var(--space-3)}.section-stack{margin-top:var(--space-4);display:grid;gap:var(--space-3)}.serial-controls{display:grid;gap:var(--space-2)}.serial-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.serial-log{border:1px solid var(--ui-border);border-radius:var(--radius-md);padding:var(--space-2);background:var(--ui-surface-2)}.serial-log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-1);font-size:.85rem;color:var(--ui-muted-2)}.serial-log-body{border-radius:var(--radius-md);background:var(--ui-surface);color:var(--ui-text);padding:var(--space-2);max-height:280px;overflow:auto;font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;white-space:pre-wrap}.serial-error{margin-top:var(--space-1);color:#9b3b2c;font-size:.85rem}.serial-diag-logs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.serial-diag-log-panel{display:grid;gap:var(--space-1)}.serial-diag-log-label{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.serial-diag-status{margin-top:var(--space-1);font-size:.85rem;color:var(--muted)}.serial-diag-logs .serial-log-body{max-height:240px}.dashboard-shell{background:var(--ui-canvas);color:var(--ui-text);border-radius:18px;padding:24px;box-shadow:0 16px 32px -28px var(--ui-shadow);font-family:Inter,Space Grotesk,sans-serif}.dashboard-shell h1,.dashboard-shell h2,.dashboard-shell h3{font-family:Inter,Space Grotesk,sans-serif;margin:0}.dashboard-title{font-size:1.8rem;font-weight:700;color:var(--ui-text)}.dashboard-subtitle{margin-top:6px;color:var(--ui-muted-2);font-size:.95rem}.dashboard-header{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ui-border);padding-bottom:16px}.dashboard-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.dashboard-updated{font-family:Roboto Mono,ui-monospace,monospace;font-size:.75rem;color:var(--ui-muted-2);background:var(--ui-row-hover);border:1px solid var(--ui-border);padding:6px 10px;border-radius:999px}.dashboard-header-buttons{display:flex;flex-wrap:wrap;gap:8px}.dashboard-btn{border-radius:10px;border:1px solid transparent;padding:8px 16px;font-size:.85rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.dashboard-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.dashboard-btn-primary{background:var(--ui-text);color:var(--ui-surface);box-shadow:0 10px 16px -12px #0f172a66}.dashboard-btn-primary:hover:not(:disabled){filter:brightness(.95)}.dashboard-btn-secondary{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}.dashboard-btn-secondary:hover:not(:disabled){background:var(--ui-row-hover)}.dashboard-btn-ghost{background:transparent;border-color:transparent;color:var(--ui-muted)}.dashboard-status{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px;font-size:.85rem}.dashboard-status-error{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;padding:6px 10px;border-radius:10px}.dashboard-status-ok{color:#166534;background:#dcfce7;border:1px solid #bbf7d0;padding:6px 10px;border-radius:10px}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:20px 0 24px}.dashboard-kpi-card{--tone: #2563eb;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px;padding:18px;position:relative;overflow:hidden}.dashboard-kpi-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:var(--tone)}.dashboard-kpi-card[data-tone=warning]{--tone: #d97706}.dashboard-kpi-card[data-tone=success]{--tone: #059669}.dashboard-kpi-card[data-tone=violet]{--tone: #7c3aed}.dashboard-kpi-label{font-size:.85rem;color:var(--ui-muted);font-weight:600}.dashboard-kpi-value{margin-top:8px;font-size:2rem;font-weight:700;color:var(--tone);display:flex;align-items:baseline;gap:6px}.dashboard-kpi-unit{font-size:.7rem;color:var(--ui-muted-3);text-transform:uppercase}.dashboard-kpi-meta{margin-top:6px;font-size:.75rem;color:var(--ui-muted-2)}.dashboard-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:18px}.dashboard-panel{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}.dashboard-panel-full{margin-top:8px}.dashboard-panel-header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--ui-border);padding-bottom:10px}.dashboard-panel-header h2{font-size:1.1rem;font-weight:700;color:var(--ui-text)}.dashboard-panel-meta{font-size:.75rem;color:var(--ui-muted-2)}.dashboard-panel-actions{display:flex;flex-wrap:wrap;gap:8px}.dashboard-panel-body{min-height:180px}.dashboard-table{width:100%;border-collapse:collapse;font-size:.9rem}.dashboard-table th{text-align:left;padding:12px;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-muted-2);border-bottom:1px solid var(--ui-border)}.dashboard-table td{padding:12px;border-bottom:1px solid var(--ui-border);color:var(--ui-text)}.dashboard-table tbody tr{cursor:pointer;transition:background .2s ease}.dashboard-empty{text-align:center;padding:20px;color:var(--ui-muted-3)}.dashboard-shell .badge{font-size:.7rem;font-weight:600;border-radius:999px}.dashboard-shell .trend-line{stroke:var(--ui-accent)}.dashboard-shell .trend-dot{fill:var(--ui-accent)}.dashboard-shell .trend-area{opacity:.6}.dashboard-shell .category-bar{background:var(--ui-border)}.dashboard-shell .category-bar-fill{background:linear-gradient(90deg,#2563eb,#60a5fa)}.dashboard-home{background:var(--ui-canvas);color:var(--ui-text);border-radius:20px;overflow:hidden;box-shadow:0 18px 32px -24px var(--ui-shadow);font-family:Inter,Segoe UI,sans-serif}.dashboard-hero{background:linear-gradient(90deg,#0f172a,#1e3a8a,#2563eb);color:#fff;position:relative;overflow:hidden}.dashboard-hero:before{content:"";position:absolute;top:-60px;right:-120px;width:260px;height:260px;border-radius:50%;background:#ffffff14;filter:blur(2px)}.dashboard-hero:after{content:"";position:absolute;bottom:-140px;left:-120px;width:360px;height:360px;border-radius:50%;background:#00000040;filter:blur(12px)}.dashboard-hero-inner{position:relative;z-index:1;padding:28px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}.dashboard-hero-time{display:flex;flex-direction:column;gap:4px;font-family:Roboto Mono,ui-monospace,monospace;color:#dbeafe}.dashboard-hero-date{font-size:1.5rem;font-weight:700}.dashboard-hero-clock{font-size:1.15rem;font-weight:600;opacity:.9}.dashboard-hero-status{font-size:.75rem;display:flex;align-items:center;gap:8px;opacity:.85}.status-dot{width:8px;height:8px;border-radius:999px;background:var(--ui-muted-3)}.status-dot.is-active{background:#34d399;box-shadow:0 0 0 6px #34d39940;animation:pulse-dot 1.6s ease-in-out infinite}@keyframes pulse-dot{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.75}}.dashboard-hero-title{text-align:center;flex:1;min-width:220px}.dashboard-hero-title h1{font-size:2rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.dashboard-hero-title p{color:#dbeafe;font-size:.9rem}.dashboard-weight-card{position:relative;background:var(--ui-hero-card-bg);border-radius:16px;padding:20px 28px;min-width:260px;border:4px solid var(--ui-hero-card-border);box-shadow:0 18px 24px -18px var(--ui-shadow);text-align:right;color:var(--ui-hero-card-text)}.dashboard-weight-led{position:absolute;top:14px;right:14px;width:10px;height:10px;border-radius:999px;background:#e11d48;box-shadow:0 0 0 6px #e11d4833}.dashboard-weight-led.is-connected{background:#22c55e;box-shadow:0 0 0 6px #22c55e33}.dashboard-weight-led.is-idle{background:#facc15;box-shadow:0 0 0 6px #facc1533}.dashboard-weight-led.is-error,.dashboard-weight-led.is-disconnected{background:#ef4444;box-shadow:0 0 0 6px #ef444433}.dashboard-weight-value{font-family:Roboto Mono,ui-monospace,monospace;font-size:3rem;font-weight:700;letter-spacing:-.02em;color:var(--ui-accent)}.dashboard-weight-unit{font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ui-muted-2)}.dashboard-alerts{display:flex;flex-wrap:wrap;gap:10px;padding:12px 24px 0}.dashboard-alert{padding:8px 12px;border-radius:10px;font-size:.85rem;font-weight:600}.dashboard-alert.error{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}.dashboard-alert.success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.dashboard-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding:24px}.dashboard-home-main{display:flex;flex-direction:column;gap:20px;align-self:stretch}.dashboard-home-panel{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;min-height:260px}.dashboard-home-panel-step{background:var(--ui-active-bg);color:#4ade80;border-bottom:1px solid var(--ui-active-border);font-size:.8rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;padding:10px 18px;text-align:center}.dashboard-home-main .dashboard-home-panel{flex:1}.dashboard-home-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border)}.dashboard-home-panel-title{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ui-text)}.dashboard-home-panel-title .material-icons-outlined{color:var(--ui-accent);font-size:1.3rem}.dashboard-home-panel-count{background:var(--ui-chip-bg);color:var(--ui-chip-text);font-size:.7rem;font-weight:700;padding:4px 10px;border-radius:8px}.dashboard-home-table-wrap{overflow-x:auto;flex:1}.dashboard-home-table-scroll{--dashboard-visible-rows: 8;--dashboard-row-height: calc(20px + .75rem * 1.2);--dashboard-head-height: calc(20px + .84rem) ;max-height:calc(var(--dashboard-head-height) + (var(--dashboard-visible-rows) * var(--dashboard-row-height)));overflow-y:auto}.dashboard-home-table-area{display:flex;flex-direction:column;flex:1;min-height:0}.dashboard-home-table{width:100%;border-collapse:collapse;font-size:.75rem;color:var(--ui-muted)}.dashboard-home-table thead{background:var(--ui-table-head-bg);text-transform:uppercase;font-weight:700;color:var(--ui-table-head-text)}.dashboard-home-table th,.dashboard-home-table td{padding:10px 12px;border-bottom:1px solid var(--ui-border);white-space:nowrap}.dashboard-home-table th{position:sticky;top:0;z-index:1;background:var(--ui-table-head-bg);box-shadow:0 1px 0 var(--ui-border)}.dashboard-home-table tbody tr.is-selected{background:var(--ui-row-selected)}.dashboard-home-table tbody tr:hover{background:var(--ui-row-hover)}.dashboard-home-quick-row{background:#059669;color:#fff;font-size:.8rem;font-weight:700;padding:8px 12px;text-transform:uppercase;letter-spacing:.06em;border:none;cursor:pointer;transition:background .2s ease}.dashboard-home-quick-row:hover{background:#047857}.dashboard-home-actions{display:flex;flex-wrap:wrap;--dashboard-action-width: 180px;justify-content:space-between;gap:8px}.dashboard-home-action-btn{display:flex;align-items:center;justify-content:center;gap:8px;flex:1 1 var(--dashboard-action-width);min-width:150px;border-radius:12px;padding:12px;font-weight:700;color:#fff;border:1px solid transparent;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.dashboard-home-action-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.dashboard-home-action-btn.is-primary{background:#2563eb;border-color:#1d4ed8}.dashboard-home-action-btn.is-warning{background:#d97706;border-color:#b45309}.dashboard-home-action-btn.is-success{background:#059669;border-color:#047857}.dashboard-home-action-btn.is-slate{background:var(--ui-indigo-bg);border-color:#6366f14d;color:var(--ui-indigo-text)}.dashboard-home-action-btn.is-danger{background:#e11d48;border-color:#be123c}.dashboard-home-action-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 18px -16px #0f172a99}.dashboard-home-aside{display:flex;flex-direction:column;gap:12px}.dashboard-home-aside h3{font-size:1.05rem;font-weight:700;color:var(--ui-table-head-text);margin:0 0 4px}.dashboard-quick-card{border:1px solid transparent;border-radius:16px;padding:18px 12px;color:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.dashboard-quick-card .material-icons-outlined{font-size:2.2rem}.dashboard-quick-card-title{font-size:1.1rem;font-weight:700}.dashboard-quick-card-sub{font-size:.8rem;opacity:.85}.dashboard-quick-card.is-blue{background:#2563eb;border-color:#1d4ed8}.dashboard-quick-card.is-rose{background:#e11d48;border-color:#be123c}.dashboard-quick-card.is-indigo{background:#4f46e5;border-color:#4338ca}.dashboard-quick-card.is-amber{background:#d97706;border-color:#b45309}.dashboard-quick-card.is-cyan{background:#0891b2;border-color:#0e7490}.dashboard-quick-card.is-slate{background:#334155;border-color:#1f2937}.dashboard-quick-card.is-teal{background:#0d9488;border-color:#0f766e}.dashboard-quick-card:hover{transform:translateY(-3px);box-shadow:0 16px 20px -18px #0f172ab3}.dashboard-user-card{margin-top:10px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:999px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-user-name{font-size:.8rem;font-weight:700;color:var(--ui-table-head-text)}.dashboard-user-role{font-size:.65rem;color:var(--ui-muted-2)}.dashboard-user-avatar{position:relative;width:34px;height:34px;border-radius:50%;background:var(--ui-chip-bg);color:var(--ui-chip-text);display:grid;place-items:center}.dashboard-user-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:#22c55e;border:2px solid var(--ui-surface);bottom:-1px;right:-1px}.dashboard-footer{padding:12px 20px;border-top:1px solid var(--ui-border);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.75rem;color:var(--ui-muted-2);background:var(--ui-surface)}.dashboard-footer-meta{display:flex;gap:16px}.dashboard-footer .status-text{color:#16a34a;font-weight:700}.dashboard-view{max-width:var(--app-content-max);margin:0 auto;display:flex;flex-direction:column;gap:24px}.dashboard-view-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;padding:18px 22px;box-shadow:0 16px 32px -28px var(--ui-shadow)}.dashboard-view-title{display:flex;align-items:center;gap:12px;font-size:1.8rem;margin:0 0 6px}.dashboard-view-mark{width:8px;height:28px;border-radius:999px;background:var(--ui-accent-strong)}.dashboard-view-detail{margin:0;font-size:.9rem;color:var(--ui-muted-2)}.dashboard-view-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.dashboard-view-updated{font-family:Roboto Mono,ui-monospace,monospace;font-size:.75rem;background:var(--ui-table-head-bg);color:var(--ui-muted);border:1px solid var(--ui-border);border-radius:10px;padding:6px 12px}.dashboard-view-refresh{display:inline-flex;align-items:center;gap:8px;background:var(--ui-text);color:var(--ui-surface);border:1px solid var(--ui-text);border-radius:12px;padding:10px 16px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.dashboard-view-refresh:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.dashboard-view-refresh:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px -16px #0f172ab3}.dashboard-view-alerts{display:flex;flex-wrap:wrap;gap:10px}.dashboard-view-alert{padding:8px 12px;border-radius:10px;font-size:.85rem;font-weight:600;background:var(--ui-table-head-bg);color:var(--ui-muted)}.dashboard-view-alert.error{background:#fee2e2;color:#b91c1c}.dashboard-view-alert.success{background:#dcfce7;color:#15803d}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.dashboard-stat-card{--accent: #2563eb;--accent-soft: #dbeafe;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px;transition:transform .2s ease,border-color .2s ease;box-shadow:0 14px 28px -26px var(--ui-shadow-soft)}.dashboard-stat-card:hover{transform:translateY(-2px);border-color:var(--accent)}.dashboard-stat-card.is-amber{--accent: #d97706;--accent-soft: #ffedd5}.dashboard-stat-card.is-emerald{--accent: #059669;--accent-soft: #d1fae5}.dashboard-stat-card.is-violet{--accent: #7c3aed;--accent-soft: #ede9fe}.dashboard-stat-head{display:flex;align-items:center;gap:10px;color:var(--ui-table-head-text);font-weight:700}.dashboard-stat-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}.dashboard-stat-icon .material-icons-outlined{font-size:1.2rem}.dashboard-stat-value{font-size:2.2rem;font-weight:700;color:var(--accent);letter-spacing:-.02em}.dashboard-stat-sub{font-size:.75rem;color:var(--ui-muted-3)}.dashboard-charts{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;padding:18px 20px;display:flex;flex-direction:column;gap:16px}.dashboard-charts-header{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ui-text);border-bottom:1px solid var(--ui-border);padding-bottom:12px}.dashboard-charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.dashboard-chart-card{display:flex;flex-direction:column;gap:10px}.dashboard-chart-card h3{font-size:.9rem;font-weight:700;color:var(--ui-muted);text-align:center;margin:0}.dashboard-chart-plot{min-height:240px;background:var(--ui-surface-2);border:1px solid var(--ui-border);border-radius:14px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.dashboard-bar-chart{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:10px;padding:16px}.dashboard-bar{flex:1;min-width:8px;background:linear-gradient(180deg,#93c5fd,#2563eb);border-radius:6px 6px 0 0}.dashboard-chart-placeholder{font-size:.75rem;color:var(--ui-muted-3);font-style:italic;text-align:center;padding:12px}.dashboard-donut{width:170px;height:170px;border-radius:50%;background:var(--donut-gradient, var(--ui-border));position:relative;opacity:.9}.dashboard-donut:after{content:\"\";position:absolute;top:20px;right:20px;bottom:20px;left:20px;border-radius:50%;background:var(--ui-surface)}.dashboard-donut.is-empty{background:var(--ui-border)}.dashboard-table-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.dashboard-table-head{padding:14px 18px;border-bottom:1px solid var(--ui-border);background:var(--ui-panel-header)}.dashboard-table-head h2{margin:0;display:flex;align-items:center;gap:8px;font-size:1rem;color:var(--ui-text)}.dashboard-table-wrap{overflow-x:auto}.dashboard-table{width:100%;border-collapse:collapse;font-size:.85rem;color:var(--ui-muted)}.dashboard-table thead{background:var(--ui-table-head-bg);text-transform:uppercase;font-size:.68rem;letter-spacing:.08em;color:var(--ui-table-head-text)}.dashboard-table th,.dashboard-table td{padding:12px 16px;border-bottom:1px solid var(--ui-border);white-space:nowrap}.dashboard-table .align-right{text-align:right}.dashboard-table .mono{font-family:Roboto Mono,ui-monospace,monospace;font-size:.75rem}.dashboard-table .strong{font-weight:600;color:var(--ui-text)}.dashboard-table tbody tr.is-selected{background:var(--ui-row-selected)}.dashboard-table tbody tr:hover{background:var(--ui-row-hover)}.dashboard-table-empty{text-align:center;color:var(--ui-muted-3);padding:24px}.dashboard-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 10px;font-size:.65rem;font-weight:700}.dashboard-status-pill.is-completed{background:#dcfce7;color:#15803d}.dashboard-status-pill.is-inside{background:#dbeafe;color:#1d4ed8}.dashboard-status-pill.is-reversed,.dashboard-status-pill.is-cancelled{background:#fee2e2;color:#b91c1c}.dashboard-status-pill.is-unknown{background:var(--ui-table-head-bg);color:var(--ui-muted)}.dashboard-action-row{display:flex;flex-wrap:wrap;gap:12px}.dashboard-action-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:12px;font-weight:600;color:#fff;border:1px solid transparent;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.dashboard-action-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.dashboard-action-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 18px -16px #0f172a99}.dashboard-action-btn.is-emerald{background:#059669;border-color:#047857}.dashboard-action-btn.is-blue{background:#2563eb;border-color:#1d4ed8}.dashboard-action-btn.is-amber{background:#d97706;border-color:#b45309}.dashboard-action-btn.is-slate{background:#475569;border-color:#334155}.dashboard-view-footer{padding:12px 20px;border:1px solid var(--ui-border);border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.75rem;color:var(--ui-muted-2);background:var(--ui-surface)}.dashboard-view-footer .status-text{color:#16a34a;font-weight:700}@media (max-width: 1024px){.dashboard-view-header{flex-direction:column;align-items:flex-start}.dashboard-view-actions{width:100%;justify-content:flex-start}}@media (max-width: 900px){.dashboard-charts-grid{grid-template-columns:1fr}}@media (max-width: 720px){.dashboard-action-row{flex-direction:column}.dashboard-action-btn{width:100%;justify-content:center}.dashboard-view-footer{flex-direction:column;align-items:flex-start}}@media (max-width: 1024px){.dashboard-home-grid{grid-template-columns:1fr}.dashboard-home-actions{justify-content:space-between}}@media (max-width: 720px){.dashboard-hero-inner{flex-direction:column;text-align:center}.dashboard-weight-card{width:100%;text-align:center}.dashboard-footer{flex-direction:column;align-items:flex-start}}@media (max-width: 900px){.serial-diag-logs{grid-template-columns:minmax(0,1fr)}}.serial-diag-flows,.serial-diag-controls,.serial-diag-command,.serial-scan-top,.serial-scan-options,.serial-scan-ports,.serial-scan-results,.serial-scan-memory{display:grid;gap:var(--space-2)}.serial-diag-label,.serial-scan-label{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ui-muted-2)}.serial-diag-toggle-row{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.serial-scan-status{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;font-size:.85rem;color:var(--ui-muted-2)}.serial-scan-progress{display:grid;gap:var(--space-1)}.serial-scan-bar{height:8px;background:var(--ui-border);border-radius:var(--radius-pill);overflow:hidden}.serial-scan-bar span{display:block;height:100%;width:0;background:var(--accent);transition:width .2s ease}.serial-scan-meta{display:flex;flex-wrap:wrap;gap:var(--space-2);font-size:.85rem;color:var(--ui-muted-2)}.serial-scan-table{min-width:760px}.serial-scan-table .table-row{grid-template-columns:1fr .8fr .7fr .7fr .7fr .8fr 1.6fr}.serial-scan-row{cursor:pointer;transition:background .2s ease}.serial-scan-row:hover{background:var(--surface)}.serial-scan-row.selected{background:#2f6f6d1f}.serial-scan-empty{grid-column:1 / -1;justify-content:center;color:var(--muted)}.attachments-controls{display:grid;grid-template-columns:1fr auto;gap:var(--space-2);align-items:end}.attachments-controls .field{display:flex;flex-direction:column;gap:var(--space-1)}.attachments-controls input{padding:8px 12px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong)}.portal-page-new{min-height:100%;padding:32px 0 48px;background:linear-gradient(180deg,var(--ui-surface-2) 0%,var(--ui-canvas) 100%);color:var(--ui-text)}.portal-shell{display:flex;flex-direction:column;gap:18px;max-width:var(--app-content-max);margin:0 auto;width:100%}.portal-shell h1,.portal-shell h2,.portal-shell h3{margin:0;font-weight:600}.portal-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.portal-title{display:flex;align-items:center;gap:14px}.portal-title h1{font-size:clamp(1.8rem,1.2rem + 1vw,2.4rem)}.portal-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0f172a,#6366f1);color:#fff;display:grid;place-items:center;font-size:1.2rem}.portal-time{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--ui-muted)}.portal-dots{display:flex;gap:4px}.portal-dots span{width:6px;height:6px;border-radius:999px;background:#c7d2fe;display:inline-block}.portal-dots span:nth-child(2){background:#a5b4fc}.portal-dots span:nth-child(3){background:#818cf8}.portal-detail{margin:0;color:var(--ui-muted)}.portal-header-actions{display:flex;flex-wrap:wrap;gap:10px}.portal-btn{border:none;border-radius:12px;padding:10px 16px;font-weight:600;background:var(--ui-active-border);color:var(--ui-indigo-text);cursor:pointer}.portal-btn:hover{transform:translateY(-1px);box-shadow:0 10px 18px -16px #0f172a66}.portal-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.portal-grid{margin-top:var(--space-3);display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:var(--space-3)}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-2)}.settings-fieldset{border:none;padding:0;margin:0;min-width:0}.settings-fieldset:disabled{opacity:.85}.device-profile-grid{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:var(--space-3);align-items:start}.device-profile-list{display:grid;gap:var(--space-1)}.device-profile-add{margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--border);display:grid;gap:var(--space-1)}.device-profile-item{border:1px solid var(--border);border-radius:var(--radius-md);padding:10px 12px;background:var(--surface-strong);display:flex;justify-content:space-between;align-items:center;cursor:pointer;font:inherit;text-align:left}.device-profile-item:hover{background:var(--surface)}.device-profile-item.active{border-color:var(--accent);background:#2f6f6d1f}.device-profile-name{font-weight:600}.field{display:flex;flex-direction:column;gap:var(--space-1)}.field input,.field select,.field textarea{padding:8px 12px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);color:var(--text)}.field input[aria-invalid=true]{border-color:#b24b3b;box-shadow:0 0 0 1px #b24b3b33}.form-error{color:#b24b3b;font-size:.9rem}.form-success{color:#15803d;font-size:.9rem}.checkbox-field{flex-direction:row;align-items:center;gap:var(--space-2)}.chip-row{display:flex;flex-wrap:wrap;gap:var(--space-1)}.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface-strong);font-size:.85rem}.portal-company-table .table-row{grid-template-columns:1.2fr 1.6fr 1.2fr}.portal-license-table .table-row{grid-template-columns:1.3fr 1.2fr .8fr .9fr 1fr}.portal-logo-preview{margin-top:12px;border:1px dashed var(--border);border-radius:var(--radius-md);padding:12px;display:flex;justify-content:center;background:var(--surface-strong)}.portal-logo-preview img{max-width:220px;max-height:120px;object-fit:contain}.vehicle-precision-table .table-cell input,.vehicle-precision-table .table-cell select{width:100%}.vehicle-precision-actions{margin-top:16px;display:flex;gap:12px}.proforma-table .table-row{grid-template-columns:1.3fr .7fr .8fr .7fr .6fr}.proforma-table input{width:100%;padding:6px 8px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);color:var(--text)}.button-row{display:flex;gap:var(--space-2)}.proforma-actions{margin-top:var(--space-2)}.instance-page{max-width:520px;margin:60px auto}.attachments-grid{margin-top:var(--space-3);display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-2)}.attachment-item{display:grid;gap:var(--space-1);background:var(--surface-strong);border:1px solid var(--border);padding:var(--space-2);border-radius:var(--radius-md)}.attachment-item img{width:100%;height:120px;object-fit:cover;border-radius:var(--radius-md)}.attachment-meta{display:flex;justify-content:space-between;gap:var(--space-1);align-items:center}.attachment-name{font-weight:600;font-size:.85rem}.license-banner{border:1px solid var(--ui-warning-border);background:var(--ui-warning-bg)}.license-banner .card-title{color:var(--ui-warning-text)}.license-restricted-banner{border-color:var(--ui-danger-border);background:var(--ui-danger-bg)}.license-restricted-banner .card-title{color:var(--ui-danger-text)}.license-expired-banner{border-color:var(--ui-danger-border);background:var(--ui-danger-bg)}.license-expired-banner .card-title{color:var(--ui-danger-text)}.license-banner-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2)}.stack{display:flex;flex-direction:column;gap:var(--space-2)}.alert-row{display:flex;justify-content:space-between;gap:var(--space-2);align-items:center;padding:10px 12px;border-radius:var(--radius-md);background:#fdf7ee}.license-restricted{border:1px solid #e1a4a4;background:#fdecec}.alert-title{font-weight:600}.dot{width:8px;height:8px;border-radius:50%;background:var(--highlight)}.mono{font-family:Space Grotesk,SFMono-Regular,ui-monospace,monospace;letter-spacing:.02em}.muted{color:var(--muted)}.weighing-menu .menu-item.is-active summary,.dashboard-menu .menu-item.is-active summary{background:var(--ui-active-bg);border-color:var(--ui-active-border);color:var(--ui-active-text)}.weighing-menu .menu-item.is-active summary .material-icons-outlined,.dashboard-menu .menu-item.is-active summary .material-icons-outlined{color:var(--ui-active-text)}.operations-page{display:flex;flex-direction:column;min-height:calc(100vh - 120px);color:var(--ui-text)}.operations-header{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:18px;box-shadow:0 14px 30px -26px var(--ui-shadow);max-width:var(--app-content-max);width:100%;margin:0 auto 24px;overflow:hidden}.operations-header-inner{padding:18px clamp(16px,4vw,28px);display:flex;align-items:center;justify-content:space-between;gap:16px}.operations-title{display:flex;align-items:center;gap:10px;margin:0;font-size:1.4rem;color:var(--ui-text)}.operations-title-bar{width:6px;height:24px;background:var(--ui-accent);border-radius:999px}.operations-subtitle{margin:4px 0 0;font-size:.85rem;color:var(--ui-muted-2)}.operations-admin-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;background:var(--ui-active-bg);color:var(--ui-active-text);border:1px solid var(--ui-active-border);font-size:.8rem;font-weight:600}.operations-admin-badge .material-icons-outlined{font-size:1rem}.operations-body{max-width:var(--app-content-max);margin:0 auto;width:100%;padding:0 0 24px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px}.operations-sidebar{display:grid;gap:16px;align-content:start}.operations-card{background:var(--ui-surface);border-radius:12px;border:1px solid var(--ui-border);box-shadow:0 12px 20px -18px #0f172a40;overflow:hidden}.operations-card-header{padding:12px 16px;background:var(--ui-panel-header);border-bottom:1px solid var(--ui-border)}.operations-card-header h2{margin:0;font-size:.85rem;color:var(--ui-muted)}.operations-category-list{display:grid;gap:4px;padding:8px}.operations-category{width:100%;border:1px solid transparent;background:transparent;padding:10px 12px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ui-muted-2);font-size:.82rem;cursor:pointer}.operations-category-main{display:inline-flex;align-items:center;gap:10px}.operations-category .material-icons-outlined{font-size:1rem}.operations-category:hover{background:var(--ui-row-hover);color:var(--ui-text)}.operations-category.is-active{background:var(--ui-active-bg);color:var(--ui-active-text);border-color:var(--ui-active-border);font-weight:600}.operations-category.is-active .operations-category-caret{color:var(--ui-active-text)}.operations-category-caret{font-size:.95rem;color:var(--ui-muted-3)}.operations-shortcuts{display:grid;gap:6px;padding:8px}.operations-shortcut{width:100%;border:1px solid transparent;background:transparent;padding:10px 12px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ui-muted-2);font-size:.82rem;cursor:pointer;text-decoration:none}.operations-shortcut-main{display:inline-flex;align-items:center;gap:10px}.operations-shortcut .material-icons-outlined{font-size:1rem}.operations-shortcut:hover{background:var(--ui-row-hover);color:var(--ui-text)}.operations-shortcut.is-active{background:var(--ui-active-bg);color:var(--ui-active-text);border-color:var(--ui-active-border);font-weight:600}.operations-shortcut.is-active .operations-shortcut-caret{color:var(--ui-active-text)}.operations-shortcut-caret{font-size:.95rem;color:var(--ui-muted-3)}.operations-shortcut.is-danger{color:#dc2626}.operations-shortcut.is-danger:hover{background:#fee2e2;color:#b91c1c}.operations-help{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px;border-radius:12px;border:1px solid var(--ui-active-border);background:var(--ui-chip-bg);color:var(--ui-active-text)}.operations-help h3{margin:0 0 4px;font-size:.8rem;color:var(--ui-active-text)}.operations-help p{margin:0;font-size:.72rem;color:var(--ui-active-text)}.operations-help .material-icons-outlined{font-size:1.1rem}.operations-panel{background:var(--ui-surface);border-radius:12px;border:1px solid var(--ui-border);display:flex;flex-direction:column;min-height:620px;box-shadow:0 12px 20px -18px #0f172a40}.operations-panel-header{padding:16px 20px;border-bottom:1px solid var(--ui-border);display:flex;justify-content:space-between;align-items:center;gap:16px}.operations-panel-header h2{margin:0;font-size:1.05rem;color:var(--ui-text)}.operations-panel-header p{margin:4px 0 0;font-size:.78rem;color:var(--ui-muted-2)}.operations-icon-button{border:none;background:transparent;padding:6px;border-radius:8px;color:var(--ui-muted-3);cursor:pointer}.operations-icon-button:hover{background:var(--ui-row-hover);color:var(--ui-muted)}.operations-panel-body{padding:20px;display:flex;flex-direction:column;gap:24px}.operations-section-title{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--ui-text)}.operations-section-title h3{margin:0;font-size:.92rem}.operations-section-title .material-icons-outlined{color:var(--ui-accent);font-size:1.1rem}.operations-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface-2)}.operations-field{display:flex;flex-direction:column;gap:6px}.operations-field-wide{grid-column:1 / -1}.operations-field label{font-size:.72rem;font-weight:600;color:var(--ui-muted)}.operations-field input{padding:8px 12px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:.82rem;color:var(--ui-text)}.operations-help-text{margin:0;font-size:.68rem;color:var(--ui-muted-3)}.operations-input-icon{position:relative}.operations-input-icon .material-icons-outlined{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--ui-muted-3);font-size:.9rem}.operations-input-icon input{padding-left:34px}.operations-divider{border:none;border-top:1px solid var(--ui-border);margin:0}.operations-divider.subtle{border-top-color:var(--ui-border)}.operations-appearance{display:grid;gap:12px;padding:16px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface-2)}.operations-appearance-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.operations-appearance-row label{font-size:.72rem;font-weight:600;color:var(--ui-muted);display:block}.operations-appearance-row p{margin:4px 0 0;font-size:.68rem;color:var(--ui-muted-3)}.operations-appearance-row select{min-width:160px;padding:8px 10px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:.78rem;color:var(--ui-text)}.operations-code-settings{display:grid;gap:12px;padding:16px;border-radius:12px;border:1px solid var(--ui-border);background:var(--ui-surface-2)}.operations-code-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.operations-code-row label{font-size:.78rem;font-weight:600;color:var(--ui-muted)}.operations-code-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.operations-code-toggle{display:flex;align-items:center;gap:6px;font-size:.78rem;color:var(--ui-text)}.operations-code-toggle input{accent-color:var(--ui-accent)}.operations-template-list{display:grid;gap:10px}.operations-template-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.operations-template-input{padding:8px 12px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface);font-size:.78rem;color:var(--ui-text)}.operations-template-actions .operations-btn{padding:6px 10px;font-size:.72rem}.operations-segment{display:inline-flex;gap:4px;padding:4px;border-radius:10px;border:1px solid var(--ui-border);background:var(--ui-surface)}.operations-segment-btn{border:none;background:transparent;padding:6px 10px;border-radius:8px;font-size:.68rem;color:var(--ui-muted-2);cursor:pointer}.operations-segment-btn.is-active{background:var(--ui-row-hover);color:var(--ui-text);font-weight:600}.operations-switch{display:inline-flex;align-items:center;width:44px;height:24px;position:relative}.operations-switch input{opacity:0;width:0;height:0}.operations-switch-track{width:44px;height:24px;border-radius:999px;background:var(--ui-border);position:relative;transition:background .2s ease}.operations-switch-track:after{content:"";width:18px;height:18px;border-radius:50%;background:var(--ui-surface);position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0f172a33;transition:transform .2s ease}.operations-switch input:checked+.operations-switch-track{background:#2563eb}.operations-switch input:checked+.operations-switch-track:after{transform:translate(20px)}.operations-panel-footer{margin-top:auto;padding:16px 20px;border-top:1px solid var(--ui-border);background:var(--ui-panel-header);display:flex;justify-content:flex-end;gap:12px;border-radius:0 0 12px 12px}.operations-save-status{margin-right:auto;align-self:center;font-size:.78rem;color:var(--ui-muted);padding:6px 10px;border-radius:999px;border:1px solid var(--ui-border);background:var(--ui-surface)}.operations-btn{border:1px solid transparent;border-radius:10px;padding:8px 16px;font-size:.82rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.operations-btn-outline{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-muted)}.operations-btn-outline:hover{background:var(--ui-row-hover)}.operations-btn-primary{background:#2563eb;color:#fff;box-shadow:0 8px 14px -10px #2563eb80}.operations-btn-primary:hover{background:#1d4ed8}.operations-footer{background:var(--ui-surface);border-top:1px solid var(--ui-border);color:var(--ui-muted-2);font-size:.72rem}.operations-footer-inner{max-width:var(--app-content-max);margin:0 auto;padding:10px clamp(16px,4vw,28px);display:flex;justify-content:space-between;gap:12px}.operations-footer-good{color:#16a34a;font-weight:600}.operations-footer-meta{display:inline-flex;gap:16px}.login-screen{--login-accent: #2d63f3;--login-muted: #6b7c93;--accent: var(--login-accent);min-height:100vh;padding:clamp(28px,5vw,48px) 16px;display:flex;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 12% 10%,#f0f6ff 0%,transparent 45%),radial-gradient(circle at 88% 0%,#e4efff 0%,transparent 35%),linear-gradient(180deg,#f7faff,#edf3ff);position:relative;overflow:hidden;color:#1e2a3b}:root[data-theme=dark] .login-screen{--login-accent: var(--ui-accent-strong);--login-muted: var(--ui-muted-2);background:radial-gradient(circle at 12% 10%,rgba(56,189,248,.14) 0%,transparent 45%),radial-gradient(circle at 88% 0%,rgba(167,139,250,.12) 0%,transparent 35%),linear-gradient(180deg,var(--bg) 0%,var(--bg-alt) 100%);color:var(--ui-text)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-screen{--login-accent: var(--ui-accent-strong);--login-muted: var(--ui-muted-2);background:radial-gradient(circle at 12% 10%,rgba(56,189,248,.14) 0%,transparent 45%),radial-gradient(circle at 88% 0%,rgba(167,139,250,.12) 0%,transparent 35%),linear-gradient(180deg,var(--bg) 0%,var(--bg-alt) 100%);color:var(--ui-text)}}.login-screen:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(45,99,243,.12) 0%,transparent 70%);top:-220px;left:-140px;pointer-events:none}.login-screen:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(44,169,225,.12) 0%,transparent 68%);bottom:-240px;right:-120px;pointer-events:none}:root[data-theme=dark] .login-screen:before{background:radial-gradient(circle,rgba(59,130,246,.16) 0%,transparent 70%)}:root[data-theme=dark] .login-screen:after{background:radial-gradient(circle,rgba(34,211,238,.12) 0%,transparent 68%)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-screen:before{background:radial-gradient(circle,rgba(59,130,246,.16) 0%,transparent 70%)}:root:not([data-theme]) .login-screen:after{background:radial-gradient(circle,rgba(34,211,238,.12) 0%,transparent 68%)}}.login-content{width:min(420px,100%);display:grid;gap:20px;z-index:1}.login-brand{display:grid;gap:6px}.login-brand-title{font-size:2rem;letter-spacing:4px;font-weight:700}.login-brand-subtitle{font-size:.78rem;letter-spacing:2.4px;text-transform:uppercase;color:var(--login-muted)}.login-card{text-align:left;background:#fff;border:1px solid #e2eaf6;border-radius:18px;box-shadow:0 24px 60px -40px #1e3c7859;padding:22px;display:grid;gap:18px}:root[data-theme=dark] .login-card{background:var(--ui-surface);border-color:var(--ui-border);box-shadow:0 24px 60px -40px var(--ui-shadow)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-card{background:var(--ui-surface);border-color:var(--ui-border);box-shadow:0 24px 60px -40px var(--ui-shadow)}}.login-card-header{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #ecf1fb}:root[data-theme=dark] .login-card-header{border-bottom-color:var(--ui-border)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-card-header{border-bottom-color:var(--ui-border)}}.login-card-icon{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#2d63f31f;color:var(--login-accent);font-size:20px}.login-title{font-size:1.05rem;margin:0;color:#1e2a3b}:root[data-theme=dark] .login-title{color:var(--ui-text)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-title{color:var(--ui-text)}}.login-subtitle{margin:0;color:var(--login-muted);font-size:.85rem}.login-form{gap:14px}.login-field label{font-size:.85rem;font-weight:600;color:#2b3b50}:root[data-theme=dark] .login-field label{color:var(--ui-muted-2)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-field label{color:var(--ui-muted-2)}}.login-input{position:relative}.login-input .material-icons-outlined{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:18px;color:#9aabbd}:root[data-theme=dark] .login-input .material-icons-outlined{color:var(--ui-muted-3)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-input .material-icons-outlined{color:var(--ui-muted-3)}}.login-input input{width:100%;padding:10px 12px 10px 38px;border-radius:10px;border:1px solid #d8e3f2;background:#f9fbff;font-size:.95rem}:root[data-theme=dark] .login-input input{border-color:var(--ui-border);background:var(--ui-surface-2);color:var(--ui-text)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-input input{border-color:var(--ui-border);background:var(--ui-surface-2);color:var(--ui-text)}}.login-input input:focus{outline:none;border-color:#9cb7ff;box-shadow:0 0 0 3px #2d63f31f}:root[data-theme=dark] .login-input input:focus{border-color:var(--login-accent);box-shadow:0 0 0 3px #60a5fa2e}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-input input:focus{border-color:var(--login-accent);box-shadow:0 0 0 3px #60a5fa2e}}.login-input input[aria-invalid=true]{border-color:#d35b55;box-shadow:0 0 0 2px #d35b5533}.login-help-row{display:flex;justify-content:flex-end}.login-forgot.btn{padding:0;border-radius:0;background:none;color:var(--login-accent);font-weight:600;box-shadow:none}.login-forgot.btn:hover{text-decoration:underline;transform:none;background:none}.login-reset-hint{margin:0;font-size:.75rem;color:#8a99ad}:root[data-theme=dark] .login-reset-hint{color:var(--ui-muted-2)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-reset-hint{color:var(--ui-muted-2)}}.login-form-error{margin-top:-4px}.login-language{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;border:1px solid #e6edf7;background:#f7faff;margin-top:4px}:root[data-theme=dark] .login-language{border-color:var(--ui-border);background:var(--ui-surface-2)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-language{border-color:var(--ui-border);background:var(--ui-surface-2)}}.login-language-label{font-size:.8rem;font-weight:600;color:#5b6d85}:root[data-theme=dark] .login-language-label{color:var(--ui-muted-2)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-language-label{color:var(--ui-muted-2)}}.login-language-options{display:inline-flex;gap:6px;background:#fff;border-radius:999px;padding:4px;border:1px solid #e1e9f5}:root[data-theme=dark] .login-language-options{background:var(--ui-surface);border-color:var(--ui-border)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-language-options{background:var(--ui-surface);border-color:var(--ui-border)}}.login-language-btn{border:none;background:transparent;font-size:.75rem;font-weight:600;color:#7b8ba1;padding:4px 8px;border-radius:999px;cursor:pointer}:root[data-theme=dark] .login-language-btn{color:var(--ui-muted-2)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-language-btn{color:var(--ui-muted-2)}}.login-language-btn:hover{background:#eef3ff;color:#2d63f3}:root[data-theme=dark] .login-language-btn:hover{background:var(--ui-row-hover);color:var(--login-accent)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-language-btn:hover{background:var(--ui-row-hover);color:var(--login-accent)}}.login-language-btn.is-active{background:#2d63f3;color:#fff}.login-submit.btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:12px;background:var(--login-accent);box-shadow:0 12px 20px -16px #2d63f38c}.login-submit.btn .material-icons-outlined{font-size:18px}.login-submit.btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.login-card-footer{margin-top:4px;padding-top:12px;border-top:1px solid #ecf1fb;display:flex;align-items:center;justify-content:center;gap:6px;font-size:.8rem;color:#7a8aa2}:root[data-theme=dark] .login-card-footer{border-top-color:var(--ui-border);color:var(--ui-muted-2)}@media (prefers-color-scheme: dark){:root:not([data-theme]) .login-card-footer{border-top-color:var(--ui-border);color:var(--ui-muted-2)}}.login-status-dot{width:8px;height:8px;border-radius:50%;background:#9fb0c9;box-shadow:0 0 0 3px #9fb0c940}.login-status-dot.is-online{background:#39c07f;box-shadow:0 0 0 3px #39c07f2e}.login-status-dot.is-offline{background:#d35b55;box-shadow:0 0 0 3px #d35b552e}.login-status-label{font-weight:600}.login-status-version{color:#9aa9bd}.login-footer{font-size:.75rem;color:#8a99ad}@media (max-width: 600px){.login-card{padding:18px}.login-brand-title{font-size:1.7rem;letter-spacing:3px}.login-language{flex-direction:column;align-items:flex-start}}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 900px){.nav,.operations-header-inner{flex-direction:column;align-items:flex-start}.operations-body,.operations-form-grid{grid-template-columns:1fr}.operations-appearance-row,.operations-footer-inner{flex-direction:column;align-items:flex-start}.nav-links{justify-content:flex-start}.dashboard-grid,.device-profile-grid,.visual-editor{grid-template-columns:1fr}.activity-table{min-width:640px}.section-header{flex-direction:column;align-items:flex-start}.two-col,.global-header,.weighing-grid,.weighing-entry-grid,.weighing-second-grid,.weighing-manual-grid,.weighing-fixed-grid,.advanced-filter-grid,.coding-grid,.picker-grid{grid-template-columns:1fr}.column-settings-head{display:none}.column-settings-row{grid-template-columns:1fr;align-items:start}.column-settings-row .button-row{justify-content:flex-start}.menu-panel{position:static;min-width:unset}}html[dir=rtl] .nav-link:hover{transform:translateY(-1px)}
