html,body,#root{height:100%}body{margin:0}html,body{height:100%}.app :is(input,select,textarea):focus-visible{outline-offset:-2px}@property --nav-beam-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes nav-perimeter-beam{to{--nav-beam-angle:360deg}}@keyframes nav-liquid-sheen{0%,to{opacity:.35;transform:translate(-12%)}50%{opacity:.65;transform:translate(12%)}}[data-theme=light-modern] .sidebar .nav>:is(a,.nav-group-btn).active,[data-theme=dark] .sidebar .nav>:is(a,.nav-group-btn).active{position:relative;isolation:isolate;overflow:hidden;border-radius:15px 19px}[data-theme=light-modern] .sidebar .nav>:is(a,.nav-group-btn).active:before,[data-theme=dark] .sidebar .nav>:is(a,.nav-group-btn).active:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--nav-beam-angle),transparent 0deg 265deg,rgba(94,194,255,.25) 292deg,#8deaff 315deg,#fff 326deg,#73caff 337deg,transparent 355deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:2;animation:nav-perimeter-beam 3.8s linear infinite}[data-theme=light-modern] .sidebar .nav>:is(a,.nav-group-btn).active:after,[data-theme=dark] .sidebar .nav>:is(a,.nav-group-btn).active:after{content:"";position:absolute;inset:1px;border-radius:inherit;background:radial-gradient(ellipse at 25% 0%,rgba(191,233,255,.4),transparent 65%),linear-gradient(165deg,rgba(255,255,255,.12),transparent 45%,rgba(3,30,91,.12));pointer-events:none;z-index:0;animation:nav-liquid-sheen 6s ease-in-out infinite}.sidebar .nav>:is(a,.nav-group-btn).active>:is(.nav-item-label,.nav-flyout-arrow){position:relative;z-index:1}@media(prefers-reduced-motion:reduce){.sidebar .nav>:is(a,.nav-group-btn).active:before,.sidebar .nav>:is(a,.nav-group-btn).active:after{animation:none!important}}.nav-item-label{display:flex;align-items:center;gap:11px;min-width:0}.nav-item-icon{width:20px;height:20px;flex:0 0 20px}.nav-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sidebar-collapse{height:26px;width:28px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font-size:23px;line-height:20px;cursor:pointer}.sidebar-footer .sidebar-collapse{position:absolute;right:12px;bottom:12px;margin:0}@media(min-width:901px){.app .sidebar{width:240px}.app .content{margin-left:240px}.app .nav-floating-panel{left:248px}.app .sidebar>.nav :is(a,.nav-group-btn){padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px}.app .sidebar-footer{gap:8px;padding-top:8px}.sidebar-compact .sidebar-footer .sidebar-collapse{right:20px}.app .sidebar{transition:width .56s cubic-bezier(.22,1.12,.36,1),padding .42s ease;z-index:30;isolation:isolate}.sidebar-liquid{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1;pointer-events:none;opacity:0;transition:opacity .28s ease;filter:drop-shadow(10px 0 14px rgba(8,20,48,.16))}.sidebar-liquid-edge{transition:d .5s cubic-bezier(.22,1,.36,1)}.sidebar-compact .sidebar:is(:hover,:has(.nav :focus-visible),:has(.nav-group-btn[aria-expanded=true]),:has(.user-dropdown.show)) .sidebar-liquid{opacity:1}.sidebar-compact .sidebar{width:240px;padding-left:10px;padding-right:10px;clip-path:polygon(0 0,68px 0,68px 100%,0 100%);transition:none}.sidebar-compact .content{margin-left:68px}.sidebar-compact .sidebar .brand{gap:10px;overflow:hidden;white-space:nowrap}.sidebar-compact .sidebar .brand img{width:28px;height:28px;flex:0 0 28px}.sidebar-compact .sidebar .sidebar-brand-name,.sidebar-compact .sidebar .dev-badge,.sidebar-compact .sidebar .nav-item-text,.sidebar-compact .sidebar .nav-flyout-arrow,.sidebar-compact .sidebar .build-info-btn{opacity:0;transition:opacity .15s ease;pointer-events:none}.sidebar-compact .sidebar .nav a,.sidebar-compact .sidebar .nav-group-btn{padding-left:12px;padding-right:12px;overflow:hidden}.sidebar-compact .sidebar .nav-item-icon{flex-shrink:0}.sidebar-compact .sidebar .nav-item-text{flex:0 0 142px}.sidebar-compact .sidebar .nav-item-text{transform:translate(-10px);transition:opacity .2s ease,transform .5s cubic-bezier(.22,1,.36,1)}.sidebar-compact .sidebar .nav-item-label{flex-shrink:0;width:176px}.sidebar-compact .sidebar .user-dropdown{min-width:210px}.sidebar-compact .sidebar:is(:hover,:has(.nav :focus-visible),:has(.nav-group-btn[aria-expanded=true]),:has(.user-dropdown.show)){width:240px;padding-left:10px;padding-right:10px}.sidebar-compact .sidebar:is(:hover,:has(.nav :focus-visible),:has(.nav-group-btn[aria-expanded=true]),:has(.user-dropdown.show)) :is(.sidebar-brand-name,.dev-badge,.nav-item-text,.nav-flyout-arrow,.build-info-btn){opacity:1;pointer-events:auto;transition-delay:.06s}.sidebar-compact .sidebar:is(:hover,:has(.nav :focus-visible),:has(.nav-group-btn[aria-expanded=true]),:has(.user-dropdown.show)) .nav-item-label{flex:1 1 auto;width:auto}.sidebar-compact .sidebar:is(:hover,:has(.nav :focus-visible),:has(.nav-group-btn[aria-expanded=true]),:has(.user-dropdown.show)) .nav-item-text{flex:1 1 auto}.sidebar-compact .sidebar:is(:hover,:has(.nav :focus-visible),:has(.nav-group-btn[aria-expanded=true]),:has(.user-dropdown.show)) .nav-item-text{transform:translate(0)}.sidebar-compact .sidebar .sidebar-liquid{display:none}.sidebar-compact .sidebar .brand{width:48px}.sidebar-compact .sidebar .sidebar-footer{width:48px;padding-bottom:36px}.sidebar-compact .sidebar .sidebar-footer .sidebar-collapse{position:fixed;left:20px;right:auto;z-index:2}.sidebar-compact .sidebar:has(.user-dropdown.show){clip-path:none!important}.sidebar-compact .sidebar .sidebar-brand-name,.sidebar-compact .sidebar .build-info-btn{display:none}.sidebar-compact .sidebar .nav-item-text,.sidebar-compact .sidebar .nav-flyout-arrow{opacity:0}.sidebar-compact .sidebar .nav-item-text{margin-left:15px;transform:none}.app .sidebar:not(.is-compact){clip-path:none!important}}@media(max-width:900px){.sidebar-collapse,.sidebar-liquid{display:none}}@media(prefers-reduced-motion:reduce){.app .sidebar,.app .sidebar *{transition:none!important}}:root{--bg:#f5f6f8;--surface:#ffffff;--surface-soft:#f8fafc;--surface-muted:#e5e7eb;--border:#e6e8eb;--text:#0f172a;--text-soft:#334155;--muted:#6b7280;--primary:#2563eb;--overlay:rgba(15,23,42,.42);--table-hover:rgba(37,99,235,.08);--table-row-even:rgba(248,250,252,.8);--sidebar-bg:linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.92))}[data-theme=dark]{--bg:#0b1220;--surface:#111a2d;--surface-soft:#0f172a;--surface-muted:#1f2937;--border:#2a364d;--text:#e5e7eb;--text-soft:#cbd5e1;--muted:#94a3b8;--primary:#60a5fa;--overlay:rgba(2,6,23,.72);--table-hover:rgba(96,165,250,.14);--table-row-even:rgba(15,23,42,.58);--sidebar-bg:linear-gradient(180deg, rgba(2,6,23,.98), rgba(2,6,23,.92))}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);overflow:hidden}.app{display:flex;height:100vh}.sidebar{width:220px;color:#e5e7eb;padding:16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;background:var(--sidebar-bg);border-right:1px solid rgba(255,255,255,.06);box-shadow:0 10px 22px #0f172a38,inset 0 1px #ffffff0f;-webkit-backdrop-filter:blur(1px) saturate(120%);backdrop-filter:blur(1px) saturate(120%)}.sidebar>.brand{flex:0 0 auto}.sidebar>.nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}.sidebar>.nav::-webkit-scrollbar{display:none}.sidebar-footer{flex:0 0 auto;display:flex;flex-direction:column;gap:10px;align-items:center;padding-top:12px}.brand{display:flex;align-items:center;gap:8px;font-weight:700;margin-bottom:10px}.brand img{width:22px;height:22px;filter:brightness(0) invert(1);animation:logoSpin 5s linear infinite}.dev-badge{margin-left:6px;font-size:10px;padding:2px 6px;border-radius:999px;background:linear-gradient(135deg,#3b82f6e6,#22d3eee6);color:#fff;letter-spacing:.4px}.dev-panel .flag-list label{display:flex;align-items:center;gap:8px;margin:6px 0}@keyframes logoSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.nav a{display:block;padding:10px 12px;margin:6px 0;border-radius:12px;color:#e5e7eb;text-decoration:none;background:transparent;border:1px solid transparent;box-shadow:0 0 #0000;transition:background .15s ease,box-shadow .15s ease,border-color .15s ease}.nav a.active,.nav a:hover{background:linear-gradient(180deg,#ffffff1f,#ffffff0f);border-color:#ffffff1f;box-shadow:0 4px 10px #0f172a2e,inset 0 1px #ffffff1a;-webkit-backdrop-filter:blur(6px) saturate(140%);backdrop-filter:blur(6px) saturate(140%)}.nav-group-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:12px;border:1px solid transparent;background:transparent;font:inherit;font-size:inherit;line-height:inherit;color:#e5e7eb;cursor:pointer;text-align:left;margin:2px 0}.nav-group-btn.active,.nav-group-btn:hover{background:linear-gradient(180deg,#ffffff1f,#ffffff0f);border-color:#ffffff1f}.nav-flyout-arrow{font-size:16px;line-height:1;opacity:.6;transition:opacity .15s,transform .15s}.nav-group-btn.active .nav-flyout-arrow,.nav-group-btn:hover .nav-flyout-arrow{opacity:1}.nav-floating-panel{position:fixed;left:228px;z-index:9200;background:#1e293b;border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:6px;min-width:200px;box-shadow:0 12px 40px #00000073,0 2px 10px #0000004d;animation:navFloatIn .14s cubic-bezier(.16,1,.3,1)}@keyframes navFloatIn{0%{opacity:0;transform:translate(-8px) scale(.97)}to{opacity:1;transform:translate(0) scale(1)}}.nav-floating-panel:before{content:"";position:absolute;left:-5px;top:16px;width:9px;height:9px;background:#1e293b;border-left:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);transform:rotate(45deg);border-radius:0 0 0 2px}.nav-floating-title{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#ffffff52;padding:6px 10px 4px;-webkit-user-select:none;user-select:none}.nav-floating-sep{height:1px;background:#ffffff1a;margin:4px 8px}.nav-floating-panel a{display:block;padding:9px 12px;border-radius:9px;color:#cbd5e1;text-decoration:none;font-size:13.5px;white-space:nowrap;transition:background .1s,color .1s;border:1px solid transparent}.nav-floating-panel a:hover{background:#ffffff17;color:#e5e7eb;border-color:#ffffff1a}.nav-floating-panel a.active{background:#ffffff21;color:#fff;border-color:#ffffff26;font-weight:500}.content{flex:1;padding:24px;margin-left:220px;height:100vh;overflow:hidden;display:flex;flex-direction:column}.page{display:none}.page.active{display:block;flex:1;min-height:0;overflow:auto}body.public-offer-page{overflow:auto}body.public-offer-page #root{min-height:100%}body.public-offer-page .page.active{min-height:100vh;overflow:visible}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px;padding-top:6px}.offer-revision-controls{display:flex;align-items:center;gap:6px}.offer-revision-controls select{min-width:128px;max-width:182px;height:36px;padding:0 30px 0 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface);box-shadow:none}.offer-revision-add{width:34px;height:34px;min-width:34px;padding:0;border-radius:10px;font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.btn{padding:8px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,filter .2s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 6px 14px #0f172a1f}.btn:active{transform:translateY(0);box-shadow:0 2px 6px #0f172a33;filter:saturate(110%)}.financial-overview-grid{display:grid;gap:8px}.financial-overview-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.financial-overview-label{font-weight:600;color:var(--text)}.financial-overview-value{font-weight:700;color:var(--text)}.financial-overview-value.positive{color:#166534}.financial-overview-value.negative{color:#b91c1c}.financial-overview-meta{font-size:12px;color:var(--muted)}.financial-overview-sep{height:1px;background:var(--border);margin:4px 0}.cost-control-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}.cost-control-tabs button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:8px 12px;cursor:pointer;font-weight:600}.cost-control-tabs button.active{background:var(--primary);border-color:var(--primary);color:#fff}.cost-tab-overview .costs-top-grid,.cost-tab-project .costs-top-grid,.cost-tab-commitments .costs-top-grid,.cost-tab-variance .costs-top-grid,.cost-tab-export .costs-top-grid,.cost-tab-overview .cost-items-card,.cost-tab-project .cost-items-card,.cost-tab-commitments .cost-items-card,.cost-tab-variance .cost-items-card,.cost-tab-export .cost-items-card{display:none}.cost-control-shell{display:grid;gap:14px}.cost-control-filter{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px 14px}.cost-control-filter label{min-width:280px}.cost-control-closed-toggle{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;font-size:13px;align-self:center}.cost-control-closed-toggle input{width:auto}.cost-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.cost-kpi-grid>div,.cost-project-score>div{display:grid;gap:5px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px}.cost-kpi-grid span,.cost-project-score span{font-size:12px;color:var(--muted);font-weight:600}.cost-kpi-grid strong,.cost-project-score strong{color:var(--text);font-size:18px}.cost-kpi-grid .good strong{color:#166534}.cost-kpi-grid .bad strong,.cost-control-table .bad{color:#b91c1c}.cost-control-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px;align-items:start}.cost-control-grid.is-project{grid-template-columns:1.4fr 1fr}.cost-control-panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:14px;min-width:0}.cost-control-panel h3{margin:0 0 12px;font-size:17px}.cost-control-table-wrap{max-height:470px;overflow:auto}.cost-control-table td{cursor:default}.cost-control-table tbody tr:hover{background:var(--table-hover)}.cost-warning-list{display:grid;gap:8px}.cost-warning{display:grid;gap:3px;border-radius:8px;border:1px solid var(--border);background:var(--surface-soft);padding:10px 12px;font-size:13px}.cost-warning span{color:var(--muted)}.cost-warning.is-danger{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.cost-warning.is-warn{border-color:#fde68a;background:#fffbeb;color:#92400e}.cost-warning.is-info{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}.cost-project-score{display:grid;gap:10px}.cost-commitment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cost-commitment-list{display:grid;gap:8px;max-height:440px;overflow:auto}.cost-commitment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;background:var(--surface-soft);border-radius:8px;padding:10px}.cost-commitment-row div{display:grid;gap:3px;min-width:0}.cost-commitment-row span{color:var(--muted);font-size:12px}.cost-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cost-export-grid div{display:grid;gap:6px;background:var(--surface-soft);border-radius:8px;padding:12px}.cost-export-grid span{color:var(--muted);font-size:13px}@media(max-width:1100px){.cost-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-control-grid,.cost-control-grid.is-project,.cost-export-grid{grid-template-columns:1fr}}.dashboard-page.page.active{display:block;overflow:auto;padding-bottom:24px}.dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.dashboard-head h2{margin:0 0 4px;font-size:26px;letter-spacing:0}.dashboard-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.dashboard-alert,.dashboard-loading{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:14px 16px;margin-bottom:14px;color:var(--text)}.dashboard-alert{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.dashboard-edit-hint{margin:-4px 0 14px;padding:10px 12px;border:1px solid rgba(37,99,235,.22);background:#2563eb0f;color:#1e40af;border-radius:8px;font-size:13px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.dashboard-stat{display:grid;gap:6px;min-height:112px;padding:14px 16px;border-radius:8px;border:1px solid rgba(15,23,42,.08);background:#fff;color:var(--text);text-decoration:none;box-shadow:0 8px 22px #0f172a0f}.dashboard-stat:hover{border-color:#2563eb47;box-shadow:0 10px 28px #0f172a1a}.dashboard-stat span,.dashboard-finance span{font-size:12px;color:var(--muted);font-weight:600}.dashboard-stat strong{font-size:24px;line-height:1.05;color:#0f172a}.dashboard-stat small,.dashboard-finance small{color:var(--muted);font-size:12px}.dashboard-stat.attention strong{color:#92400e}.dashboard-stat.danger strong{color:#b91c1c}.dashboard-layout{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:14px;align-items:start}.dashboard-section{background:var(--surface);border:1px solid rgba(15,23,42,.08);border-radius:8px;padding:14px;min-width:0;height:360px;display:flex;flex-direction:column;box-shadow:0 8px 22px #0f172a0d}.dashboard-section.is-editing{outline:1px dashed rgba(37,99,235,.42);cursor:grab}.dashboard-section.is-dragging{opacity:.6}.dashboard-card-wide{grid-column:1 / -1;height:260px}.dashboard-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;flex-shrink:0}.dashboard-section h3{margin:0 0 3px;font-size:16px;letter-spacing:0}.dashboard-card-tools{display:flex;align-items:center;gap:5px;min-height:24px}.dashboard-card-tools button{width:24px;height:24px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);color:var(--text);cursor:pointer;line-height:1}.dashboard-card-tools button:disabled{opacity:.35;cursor:not-allowed}.dashboard-drag-handle{color:var(--muted);font-weight:700;cursor:grab;letter-spacing:-3px;padding:0 3px}.dashboard-link{color:var(--primary);text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}.dashboard-pipeline{display:grid;gap:8px;overflow:auto;padding-right:2px}.dashboard-pipe-row{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(120px,auto);align-items:center;gap:10px;min-height:42px;padding:8px 10px;border-radius:8px;background:var(--surface-soft);color:var(--text);text-decoration:none;border:1px solid transparent}.dashboard-pipe-row:hover,.dashboard-list-row:hover{border-color:#2563eb3d;background:#2563eb0f}.dashboard-pipe-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.dashboard-pipe-row strong{text-align:right;font-size:18px;color:#0f172a}.dashboard-pipe-row em{font-style:normal;color:var(--muted);font-size:12px;text-align:right;white-space:nowrap}.dashboard-pipe-row .dashboard-pipe-stale{grid-column:1 / -1;margin-top:-4px;font-size:12px;font-weight:600;color:#92400e}[data-theme=dark] .dashboard-pipe-row .dashboard-pipe-stale{color:#fbbf24}.dashboard-list{display:grid;gap:8px;align-content:start;overflow:auto;padding-right:2px}.dashboard-list.compact{gap:6px}.dashboard-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:48px;padding:8px 10px;border-radius:8px;border:1px solid transparent;background:var(--surface-soft);color:var(--text);text-decoration:none}.dashboard-list-row div{min-width:0;display:grid;gap:2px}.dashboard-list-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.dashboard-list-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}.dashboard-list-row time{font-size:12px;color:var(--muted);white-space:nowrap}.dashboard-list-row.warn time{color:#b45309;font-weight:700}.dashboard-list-row.danger time{color:#b91c1c;font-weight:700}.dashboard-empty{padding:12px 10px;color:var(--muted);font-size:13px;background:var(--surface-soft);border-radius:8px}.dashboard-finance{display:grid;gap:10px;align-content:start;overflow:auto;padding-right:2px}.dashboard-finance div{display:grid;gap:4px;padding:10px;border-radius:8px;background:var(--surface-soft)}.dashboard-finance strong{color:#0f172a;font-size:18px}.dashboard-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-quick button{min-height:38px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);cursor:pointer;font-weight:600}.dashboard-quick button:hover{border-color:#2563eb52;background:#2563eb12}.dashboard-activity{display:grid;gap:6px;align-content:start;overflow:auto;padding-right:2px}.dashboard-activity-row{display:grid;grid-template-columns:140px minmax(0,1fr) minmax(120px,220px) 80px;gap:10px;align-items:center;padding:8px 10px;border-radius:8px;background:var(--surface-soft);font-size:12px}.dashboard-activity-row strong,.dashboard-activity-row em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-activity-row span{color:var(--text);font-weight:700}.dashboard-activity-row em,.dashboard-activity-row time{color:var(--muted);font-style:normal}@media(max-width:1180px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr 1fr}.dashboard-card-wide{grid-column:1 / -1}}@media(max-width:760px){.dashboard-head{display:grid}.dashboard-actions{justify-content:flex-start}.dashboard-stats,.dashboard-layout,.dashboard-quick,.dashboard-activity-row{grid-template-columns:1fr}.dashboard-section,.dashboard-card-wide{height:auto;min-height:0}}[data-theme=dark] .dashboard-stat,[data-theme=dark] .dashboard-section{background:var(--surface);border-color:var(--border);box-shadow:none}[data-theme=dark] .dashboard-stat strong,[data-theme=dark] .dashboard-pipe-row strong,[data-theme=dark] .dashboard-finance strong{color:var(--text)}[data-theme=dark] .dashboard-alert{background:#7f1d1d3d;color:#fecaca;border-color:#f8717173}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{box-shadow:0 8px 16px #2563eb47}.btn.primary:active{box-shadow:0 4px 10px #2563eb59}.btn.success{background:#22c55e;border-color:#22c55e;color:#fff}.btn.success:hover{box-shadow:0 8px 16px #22c55e47}.btn.success:active{box-shadow:0 4px 10px #22c55e59}.btn.danger{background:#ef4444;border-color:#ef4444;color:#fff}.btn.danger:hover{box-shadow:0 8px 16px #ef444447}.btn.danger:active{box-shadow:0 4px 10px #ef444459}.btn.warn{background:#f59e0b;border-color:#f59e0b;color:#111827}.btn.warn:hover{box-shadow:0 8px 16px #f59e0b47}.btn.warn:active{box-shadow:0 4px 10px #f59e0b59}.btn.delete{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.btn.delete:hover{box-shadow:0 8px 16px #ef44442e}.btn.delete:active{box-shadow:0 4px 10px #ef444447}.status-btn{min-width:126px;width:126px;height:36px;display:inline-flex;align-items:center;gap:6px;justify-content:center;border-radius:14px;padding:8px 14px;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;font-weight:500}.status-btn.success{background:#22c55e;border-color:#22c55e;color:#fff}.status-btn.danger{background:#ef4444;border-color:#ef4444;color:#fff}.status-btn.warn{background:#f59e0b;border-color:#f59e0b;color:#111827}.status-btn:disabled{background:#e5e7eb!important;border-color:#e5e7eb!important;color:#94a3b8!important;cursor:not-allowed;transform:none!important;box-shadow:none!important}.status-btn.delete{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}.status-btn:hover{transform:translateY(-1px)}.status-btn:active{transform:translateY(0)}.btn.liquid{background:linear-gradient(135deg,#3b82f6,#0ea5e9);border-color:#3b82f699;color:#fff;box-shadow:0 10px 18px #3b82f640}.btn.liquid:hover{box-shadow:0 12px 22px #3b82f659;transform:translateY(-1px)}.btn.liquid:active{box-shadow:0 6px 12px #3b82f64d;transform:translateY(0)}.status-btn.liquid{background:linear-gradient(135deg,#3b82f6eb,#0ea5e9eb);border-color:#3b82f6a6;box-shadow:0 10px 22px #0f172a2e,inset 0 1px #ffffffb3}.status-btn.liquid:hover{box-shadow:0 14px 26px #0f172a38,inset 0 1px #fffc}.status-btn.liquid:active{box-shadow:0 6px 12px #0f172a2e,inset 0 1px #fff9}.back-arrow-btn{width:54px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding:0}.back-arrow-icon{width:44px;height:32px;stroke:#3b82f6;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;fill:none;filter:drop-shadow(0 4px 10px rgba(59,130,246,.45))}.back-arrow-btn:hover .back-arrow-icon{filter:drop-shadow(0 6px 14px rgba(59,130,246,.5));animation:arrowPulse 1.2s ease-in-out infinite}.back-arrow-btn:active .back-arrow-icon{transform:translateY(0);filter:drop-shadow(0 3px 8px rgba(59,130,246,.4))}@keyframes arrowPulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.btn[disabled]{background:var(--surface-muted);border-color:var(--surface-muted);color:var(--muted);cursor:not-allowed;box-shadow:none;transform:none;filter:none}.small{font-size:12px}.muted{color:var(--muted)}.right{margin-left:auto}input:not([type=checkbox]):not([type=radio]),select,textarea{padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);width:100%}input[type=checkbox],input[type=radio]{width:16px;height:16px;padding:0;flex-shrink:0;cursor:pointer}fieldset{border:1px solid var(--border);border-radius:12px;padding:12px}legend{padding:0 6px;color:var(--text-soft)}.table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid rgba(15,23,42,.1);border-radius:16px;box-shadow:0 10px 22px #0f172a14,inset 0 1px #fffc;overflow:visible}.table th,.table td{border:1px solid rgba(15,23,42,.06);padding:8px 10px}.table thead{position:sticky;top:0;z-index:2}.table thead th{background:var(--surface);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);position:sticky;top:0;z-index:3}.table tbody tr:nth-child(2n){background:var(--table-row-even)}.table tbody tr:hover{background:var(--table-hover)}.table th.right,.table td.right{text-align:right}.cash-table-empty{text-align:center;color:var(--text-soft);padding:24px;font-size:13px}.quote-main-table{table-layout:auto}.quote-main-table th:nth-child(1),.quote-main-table td:nth-child(1){width:42px;text-align:center;padding-left:4px;padding-right:4px}.quote-main-table th:nth-child(2),.quote-main-table td:nth-child(2){width:78px}.quote-main-table th:nth-child(3),.quote-main-table td:nth-child(3){width:110px}.quote-main-table th:nth-child(4),.quote-main-table td:nth-child(4){width:110px}.quote-main-table th:nth-child(5),.quote-main-table td:nth-child(5){width:76px}.quote-main-table th:nth-child(6),.quote-main-table td:nth-child(6){width:125px}.quote-main-table th:nth-child(7),.quote-main-table td:nth-child(7){width:145px}.quote-main-table th:nth-child(8),.quote-main-table td:nth-child(8){width:170px}.quote-main-table th:nth-child(9),.quote-main-table td:nth-child(9){width:78px}.quote-main-table th:nth-child(10),.quote-main-table td:nth-child(10){width:128px}.quote-main-table th:nth-child(11),.quote-main-table td:nth-child(11){width:128px}.quote-main-table th:nth-child(12),.quote-main-table td:nth-child(12){width:42px;text-align:center;padding-left:4px;padding-right:4px}.quote-main-table td:nth-child(8) select{min-width:150px}.quote-alu-table{table-layout:fixed;width:100%}.quote-alu-table thead th{text-align:center;vertical-align:middle;white-space:normal;line-height:1.1;padding:5px 4px;font-size:11px}.quote-alu-table th,.quote-alu-table td{font-size:10px;min-height:32px;height:32px;padding:4px}.quote-alu-table td{vertical-align:middle}.quote-alu-table td textarea{min-height:48px;resize:vertical}.quote-alu-table .alu-desc-trigger{width:100%;text-align:center;white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word;line-height:1.2;min-height:44px;padding-top:6px;padding-bottom:6px;align-items:center;justify-content:center;display:block}.quote-alu-table .alu-hardware-trigger{width:100%;text-align:left;white-space:normal;word-break:break-word;line-height:1.2;min-height:48px;display:block;overflow:visible}.quote-alu-table .alu-system-trigger{width:100%;text-align:left;white-space:normal;word-break:break-word;line-height:1.2;min-height:36px;display:block;overflow:visible}.quote-alu-glass-summary{font-size:12px;font-weight:500;letter-spacing:0;line-height:1.2}.alu-desc-picker-list{margin-top:10px;max-height:52vh;overflow:auto;display:flex;flex-direction:column;gap:10px}.alu-desc-escape-box{margin-top:8px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:8px 10px;display:flex;align-items:center;gap:14px}.alu-desc-escape-option{display:flex;align-items:center;gap:6px}.alu-desc-picker-group{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:8px}.alu-desc-picker-group-title{font-weight:700;font-size:12px;margin-bottom:6px}.alu-desc-picker-options{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:6px}.alu-desc-picker-option{width:100%;text-align:left;justify-content:flex-start}.alu-desc-picker-option.active{border-color:#2563eb;background:#2563eb1f}.alu-hw-groups{display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:10px;max-height:none;overflow:visible;padding-right:2px}.alu-hw-col{display:flex;flex-direction:column;gap:10px}.alu-hw-presets{max-height:none;overflow:visible;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:8px;display:flex;flex-direction:column;gap:6px}.alu-hw-preset-row{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:8px 10px}.alu-hw-group{margin:0}.alu-hw-options{display:flex;flex-direction:column;gap:6px}.alu-hw-option-row{display:grid;grid-template-columns:18px 1fr;align-items:start;gap:8px;font-size:13px;margin:0;line-height:1.3}.alu-hw-option-row input{margin-top:2px}.alu-hw-preview-wrap{margin-top:10px;display:grid;grid-template-columns:92px 1fr;gap:8px;align-items:center}.alu-hw-preview-label{font-weight:600}.quote-alu-table .alu-col-konsz,.quote-alu-table .alu-col-szel,.quote-alu-table .alu-col-mag{width:58px}.quote-alu-table .alu-col-menny{width:34px}.quote-alu-table .alu-col-megnevezes{width:220px}.quote-alu-table .alu-col-szerelveny{width:210px}.quote-alu-table .alu-col-rendszer{width:98px}.quote-alu-table .alu-col-uveg{width:58px}.quote-alu-table .alu-col-a,.quote-alu-table .alu-col-d{width:82px}.quote-alu-table .alu-col-ad-db{width:86px}.quote-alu-table .alu-col-a-ossz,.quote-alu-table .alu-col-d-ossz{width:88px}.quote-alu-table .alu-col-ad-ossz{width:92px}.quote-alu-table .alu-col-actions{width:34px}.quote-alu-table td:nth-child(9) input,.quote-alu-table td:nth-child(10) input,.quote-alu-table td:nth-child(11) input,.quote-alu-table td:nth-child(12) input,.quote-alu-table td:nth-child(13) input,.quote-alu-table td:nth-child(14) input{font-size:11px;text-align:right}.quote-pvc-table{table-layout:fixed;width:100%}.quote-pvc-table thead th{text-align:center;vertical-align:middle;white-space:normal;line-height:1.1;padding:5px 4px;font-size:11px}.quote-pvc-table th,.quote-pvc-table td{font-size:10px;min-height:32px;height:auto;padding:4px}.quote-pvc-table td{vertical-align:middle}.quote-pvc-table .alu-system-trigger{width:100%;text-align:left;white-space:normal;word-break:break-word;line-height:1.2;min-height:36px;display:block;overflow:visible}.quote-pvc-table .pvc-col-konsz,.quote-pvc-table .pvc-col-szel,.quote-pvc-table .pvc-col-mag{width:56px}.quote-pvc-table .pvc-col-menny{width:32px}.quote-pvc-table .pvc-col-kep{width:96px}.quote-pvc-table .pvc-col-megnevezes{width:200px}.quote-pvc-table .pvc-col-rendszer{width:96px}.quote-pvc-table .pvc-col-uveg{width:56px}.quote-pvc-table .pvc-col-a,.quote-pvc-table .pvc-col-d{width:80px}.quote-pvc-table .pvc-col-ad-db{width:84px}.quote-pvc-table .pvc-col-a-ossz,.quote-pvc-table .pvc-col-d-ossz{width:86px}.quote-pvc-table .pvc-col-ad-ossz{width:90px}.quote-pvc-table .pvc-col-actions{width:34px}.quote-pvc-table td:nth-child(9) input,.quote-pvc-table td:nth-child(10) input,.quote-pvc-table td:nth-child(11) input,.quote-pvc-table td:nth-child(12) input,.quote-pvc-table td:nth-child(13) input,.quote-pvc-table td:nth-child(14) input{font-size:11px;text-align:right}.pvc-image-cell{padding:4px 2px}.pvc-image-slot{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:70px;justify-content:center}.pvc-row-thumb{width:88px;height:64px;object-fit:contain;border:1px solid var(--border);border-radius:4px;cursor:pointer;display:block}.pvc-image-placeholder{width:88px;height:64px;display:flex;align-items:center;justify-content:center;border:2px dashed var(--border);border-radius:4px;font-size:11px;color:var(--muted);cursor:pointer;text-align:center}.pvc-image-placeholder:hover{border-color:#2563eb;color:#2563eb}.pvc-img-remove{padding:2px 6px;font-size:11px}.pvc-image-modal-overlay{position:fixed;inset:0;background:#00000073;z-index:1200;display:flex;align-items:center;justify-content:center}.pvc-image-modal-box{background:var(--card-bg,#fff);border-radius:12px;padding:24px 28px;min-width:340px;max-width:440px;box-shadow:0 8px 32px #00000038;display:flex;flex-direction:column;gap:16px}.pvc-image-modal-title{font-size:16px;font-weight:600;color:var(--text)}.pvc-paste-zone{border:2px dashed #93c5fd;border-radius:8px;padding:28px 16px;text-align:center;font-size:14px;color:var(--muted);cursor:default;outline:none;transition:border-color .15s,background .15s}.pvc-paste-zone:focus{border-color:#2563eb;background:#eff6ff;color:#1e40af}.pvc-image-modal-actions{display:flex;gap:10px;align-items:center}.pvc-image-modal-preview{display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--bg,#f5f5f5);border:1px solid var(--line);border-radius:8px;padding:10px}.pvc-image-modal-current{max-width:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;display:block}.pvc-image-modal-remove{align-self:flex-end;font-size:12px;padding:3px 10px}.pvc-image-modal-slider-row{display:flex;align-items:center;gap:10px;padding:0 2px}.pvc-image-modal-slider-row input[type=range]{flex:1}.pvc-desc-modal-box{width:min(1220px,97vw);max-width:1220px}.pvc-desc-modal-body{display:flex;gap:0;padding:0;height:calc(min(90vh,680px) - 56px);overflow:hidden}.pvc-desc-left{flex:1 1 0;min-width:0;display:flex;flex-direction:column;padding:16px 14px;overflow-y:auto;gap:10px}.pvc-desc-right{width:300px;min-width:220px;border-left:1px solid var(--line);display:flex;flex-direction:column;padding:14px 12px;background:var(--bg)}.pvc-desc-title-label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:var(--text)}.pvc-desc-title-input{font-size:13px;width:100%}.pvc-desc-tabbar{margin:0;flex-shrink:0;flex-wrap:nowrap;overflow-x:auto}.pvc-desc-tabbar .tab{white-space:nowrap;padding:7px 11px;font-size:13px}.pvc-desc-tab-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2563eb;margin-left:5px;vertical-align:middle}.pvc-desc-section-body{flex:1 1 0;overflow-y:auto;min-height:0}.pvc-desc-footer{flex-shrink:0;padding-top:4px}.pvc-desc-section{display:flex;flex-direction:column;gap:6px}.pvc-desc-section-header{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;padding:4px 0}.pvc-desc-tok-table{display:flex;flex-direction:column;gap:4px}.pvc-desc-tok-head,.pvc-desc-vasalat-head{display:grid;gap:4px;font-size:11px;font-weight:600;color:var(--muted);padding:0 0 2px}.pvc-desc-tok-head{grid-template-columns:130px 1fr 52px 28px}.pvc-desc-vasalat-head{grid-template-columns:1fr 52px 28px}.pvc-desc-tok-row{display:grid;grid-template-columns:130px 1fr 52px 28px;gap:4px;align-items:center}.pvc-desc-vasalat-row{display:grid;grid-template-columns:1fr 52px 28px;gap:4px;align-items:center}.pvc-desc-mezo-input,.pvc-desc-qty-input{text-align:center}.pvc-desc-tok-empty{padding:6px 0}.pvc-desc-preview-label{margin-bottom:6px}.pvc-desc-preview{font-family:var(--font-mono,monospace);font-size:11.5px;line-height:1.6;white-space:pre-wrap;word-break:break-word;background:var(--card-bg,#fff);border:1px solid var(--line);border-radius:6px;padding:10px;flex:1;overflow-y:auto;margin:0;color:var(--text)}.btn-xs{padding:2px 8px;font-size:11px;line-height:1.4}.pvc-desc-trigger{width:100%;text-align:left;padding:5px 8px;min-height:34px;background:var(--input-bg);border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--text);cursor:pointer;overflow:hidden;display:flex;align-items:center;gap:5px}.pvc-desc-trigger:hover{border-color:#93c5fd}.pvc-desc-trigger-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.pvc-desc-trigger-dot{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#2563eb;opacity:.7}.pvc-desc-system-ref{display:block;font-size:11px;margin-bottom:3px;font-weight:400}.pvc-desc-nyitas-root{display:flex;flex-direction:column;gap:14px;padding:4px 0}.pvc-desc-nyitas-templates{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 10px;background:var(--bg,#f5f6f8);border-radius:8px}.pvc-desc-nyitas-templates-label{flex-shrink:0;margin-right:4px}.pvc-desc-template-groups{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pvc-desc-template-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.pvc-desc-template-group-label{font-weight:600;margin-right:2px}.pvc-desc-tpl-btn{background:#fff;border:1px solid #93c5fd;color:#1d4ed8;border-radius:6px;font-weight:500}.pvc-desc-tpl-btn:hover{background:#eff6ff;border-color:#2563eb}.pvc-desc-nyitas-group-label{margin-bottom:6px;font-weight:500;letter-spacing:.02em}.pvc-desc-nyitas-items{display:flex;flex-wrap:wrap;gap:8px}.pvc-desc-nyitas-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 10px;border:2px solid var(--line,#e5e7eb);border-radius:10px;background:#fff;cursor:pointer;min-width:76px;transition:border-color .15s,background .15s}.pvc-desc-nyitas-item:hover{border-color:#93c5fd;background:#eff6ff}.pvc-desc-nyitas-item.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb1f}.pvc-desc-nyitas-item-label{font-size:10.5px;text-align:center;line-height:1.3;color:var(--text);max-width:76px}.pvc-desc-nyitas-selected{padding:6px 10px;background:#eff6ff;border-radius:6px;color:#1e40af}.pvc-desc-selected-detail{display:inline-flex;margin-left:8px;padding:2px 7px;border-radius:999px;background:#fff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:600}.pvc-desc-balcony-layout{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.pvc-desc-balcony-layout-label{font-weight:600;color:#1e40af}.pvc-desc-balcony-options{display:flex;gap:6px;flex-wrap:wrap}.pvc-desc-balcony-option{padding:5px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#fff;color:#1d4ed8;font-size:12px;font-weight:600;cursor:pointer}.pvc-desc-balcony-option:hover{border-color:#2563eb;background:#dbeafe}.pvc-desc-balcony-option.active{background:#2563eb;border-color:#2563eb;color:#fff}.pvc-desc-quick-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}.pvc-desc-quick-chip{padding:3px 10px;font-size:11.5px;border-radius:20px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;cursor:pointer;transition:background .12s,border-color .12s;line-height:1.5}.pvc-desc-quick-chip:hover{background:#dbeafe;border-color:#2563eb}.quote-readonly-cell{min-height:34px;border:1px solid var(--line);border-radius:10px;background:var(--input-bg);padding:6px 10px;display:flex;align-items:center;justify-content:flex-end;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap}.quote-other-table{table-layout:fixed;min-width:1200px;width:100%}.quote-other-table th,.quote-other-table td{vertical-align:middle}.quote-other-table thead th{text-align:center}.quote-other-table .other-col-expand{width:40px}.quote-other-table .other-col-item{width:80px}.quote-other-table .other-col-name{width:230px}.quote-other-table .other-col-qty{width:72px}.quote-other-table .other-col-money{width:104px}.quote-other-table .other-col-actions{width:40px}.quote-other-table td:nth-child(4) input,.quote-other-components-table td:nth-child(3) input,.quote-other-components-table td:nth-child(4) input{text-align:right}.quote-other-components-table{table-layout:fixed;min-width:860px;width:100%}.quote-other-components-table th:nth-child(1),.quote-other-components-table td:nth-child(1){width:120px}.quote-other-components-table th:nth-child(2),.quote-other-components-table td:nth-child(2){width:auto}.quote-other-components-table th:nth-child(3),.quote-other-components-table td:nth-child(3){width:110px}.quote-other-components-table th:nth-child(4),.quote-other-components-table td:nth-child(4){width:160px}.quote-other-components-table th:nth-child(5),.quote-other-components-table td:nth-child(5){width:150px}.quote-other-components-table th:nth-child(6),.quote-other-components-table td:nth-child(6){width:42px;text-align:center}.other-components-group{margin:8px 0}.side-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft)}.side-switch button{border:0;border-radius:7px;background:transparent;color:var(--muted);font-weight:700;min-height:28px;cursor:pointer}.side-switch button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0f172a24}.side-switch button:disabled{cursor:not-allowed;opacity:.65}.quote-expand-btn{width:28px;min-width:28px;height:28px;padding:0;font-size:13px;line-height:1;border-radius:7px}.quote-delete-btn{width:28px;min-width:28px;height:28px;padding:0;border-radius:7px;font-size:15px;font-weight:700;line-height:1}.quote-breakdown-table{width:100%;table-layout:fixed;border-radius:10px}.quote-breakdown-table th,.quote-breakdown-table td{padding:5px 8px;vertical-align:middle}.quote-breakdown-wrap{max-width:1080px}.quote-breakdown-table th:nth-child(1),.quote-breakdown-table td:nth-child(1){width:40%}.quote-breakdown-table th:nth-child(2),.quote-breakdown-table td:nth-child(2){width:30%}.quote-breakdown-table th:nth-child(3),.quote-breakdown-table td:nth-child(3){width:30%}.quote-pct-editor{display:flex;align-items:center;gap:8px;white-space:nowrap}.quote-pct-editor input:not([type=checkbox]):not([type=radio]){width:86px;min-width:86px;max-width:86px;padding:5px 8px}.ckv-table{table-layout:fixed}.ckv-table th:nth-child(1),.ckv-table td:nth-child(1){width:36%}.ckv-table th:nth-child(2),.ckv-table td:nth-child(2){width:32%}.ckv-table th:nth-child(3),.ckv-table td:nth-child(3){width:32%}.ckv-table td:nth-child(1){word-break:break-word}.ckv-auto-note{margin-top:2px;font-size:11px}.quote-extra-card{border-color:#2563eb4d}.quote-extra-groups{display:flex;flex-direction:column;gap:8px}.quote-extra-group{border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:visible;position:relative}.quote-extra-group summary{cursor:pointer;list-style:none;padding:9px 12px;font-weight:600;border-bottom:1px solid var(--border)}.quote-extra-group-summary{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.quote-extra-group-summary .small{justify-self:end}.quote-extra-group[open] summary{background:var(--surface-soft)}.quote-inline-group{border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.quote-inline-group-header{width:100%;border:0;background:linear-gradient(180deg,var(--surface-soft),var(--surface));border-bottom:1px solid var(--border);padding:11px 12px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;font-weight:600;font-size:14px;cursor:pointer}.quote-inline-group-header>span:first-child{font-weight:700}.quote-inline-group-header>span:nth-child(2){justify-self:end}.quote-inline-group-header .small{font-size:13px}.quote-inline-group-chevron{font-size:15px}.quote-inline-group-body{padding:10px 12px 12px;display:grid;gap:8px}.quote-inline-group-body label{font-size:14px;line-height:1.3}.quote-inline-group-body input,.quote-inline-group-body select,.quote-inline-group-body textarea{font-size:16px}.quote-inline-glass-table th,.quote-inline-glass-table td{font-size:14px}.quote-inline-aux-table{table-layout:fixed;width:100%;min-width:760px}.quote-inline-aux-table th,.quote-inline-aux-table td{font-size:14px;vertical-align:middle}.quote-inline-aux-table input.aux-toggle{width:18px!important;height:18px;min-height:18px;padding:0;margin:0 auto;display:block;accent-color:var(--primary)}.quote-inline-node-table{min-width:840px}.quote-inline-node-table th:nth-child(1),.quote-inline-node-table td:nth-child(1){width:34%;white-space:nowrap}.quote-inline-node-table th:nth-child(2),.quote-inline-node-table td:nth-child(2){width:26%}.quote-inline-node-table th:nth-child(3),.quote-inline-node-table td:nth-child(3){width:40%}.quote-inline-materials-table{min-width:920px}.quote-inline-materials-table th:nth-child(1),.quote-inline-materials-table td:nth-child(1){width:8%;text-align:center}.quote-inline-materials-table th:nth-child(2),.quote-inline-materials-table td:nth-child(2){width:30%}.quote-inline-materials-table th:nth-child(3),.quote-inline-materials-table td:nth-child(3){width:27%}.quote-inline-materials-table th:nth-child(4),.quote-inline-materials-table td:nth-child(4){width:35%}.quote-inline-accessories-table{width:100%;min-width:1080px;table-layout:fixed}.quote-inline-accessories-table th:nth-child(1),.quote-inline-accessories-table td:nth-child(1){width:12%;text-align:left}.quote-inline-accessories-table th:nth-child(2),.quote-inline-accessories-table td:nth-child(2){width:38%}.quote-inline-accessories-table th:nth-child(3),.quote-inline-accessories-table td:nth-child(3){width:16%}.quote-inline-accessories-table th:nth-child(4),.quote-inline-accessories-table td:nth-child(4){width:10%;text-align:center}.quote-inline-accessories-table th:nth-child(5),.quote-inline-accessories-table td:nth-child(5){width:10%;text-align:center}.quote-inline-accessories-table th:nth-child(6),.quote-inline-accessories-table td:nth-child(6){width:9%}.quote-inline-accessories-table th:nth-child(7),.quote-inline-accessories-table td:nth-child(7){width:5%;text-align:center}.quote-inline-glass-table{table-layout:fixed}.quote-inline-glass-table th:nth-child(1),.quote-inline-glass-table td:nth-child(1){width:72px}.quote-inline-glass-table th:nth-child(2),.quote-inline-glass-table td:nth-child(2){width:36%}.quote-inline-glass-table th:nth-child(3),.quote-inline-glass-table td:nth-child(3){width:14%}.quote-inline-glass-table th:nth-child(4),.quote-inline-glass-table td:nth-child(4){width:18%}.quote-inline-glass-table th:nth-child(5),.quote-inline-glass-table td:nth-child(5){width:18%}.quote-inline-glass-table th:nth-child(6),.quote-inline-glass-table td:nth-child(6){width:18%}.quote-inline-glass-table th:nth-child(7),.quote-inline-glass-table td:nth-child(7){width:76px;text-align:center}.quote-extra-grid{padding:10px 12px 12px;display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px 12px}.quote-extra-rows{padding:10px 12px 12px;display:flex;flex-direction:column;gap:10px}.quote-extra-row{border:1px solid var(--border);border-radius:10px;padding:10px;background:var(--surface-soft)}.quote-extra-row-title{font-weight:700;margin-bottom:8px}.quote-extra-row-fields{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px 12px}.outgoing-offer-card{padding:14px}.outgoing-share-box{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:10px;margin:0 0 10px;display:grid;gap:8px}.outgoing-share-link-row{display:grid;grid-template-columns:minmax(280px,1fr) auto auto auto;gap:8px;align-items:center}.outgoing-share-link-row input:not([type=checkbox]):not([type=radio]){width:100%}@media(max-width:900px){.outgoing-share-link-row{grid-template-columns:1fr}}.outgoing-offer-sheet{border:1px solid var(--border);border-radius:12px;background:#fff;padding:16px;box-shadow:0 1px 3px #0f172a0d}.outgoing-offer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.outgoing-offer-header h2{margin:0 0 8px;font-size:24px;line-height:1.1}.outgoing-offer-meta{display:grid;gap:4px;font-size:13px}.outgoing-offer-logo-slot{width:120px;height:120px;border:2px dashed var(--border);border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted);flex:0 0 120px}.outgoing-offer-logo-slot.has-logo{border:none}.outgoing-offer-logo-img{max-width:100%;max-height:100%;object-fit:contain}.outgoing-offer-topline{display:flex;justify-content:flex-end;gap:18px;font-size:13px;margin-bottom:10px}.outgoing-offer-topline-right{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.outgoing-offer-table{table-layout:fixed;margin-top:6px;width:100%;border-collapse:collapse;border:1px solid rgba(30,41,59,.35);border-radius:0;box-shadow:none;background:#fff;overflow:visible}.outgoing-offer-table th,.outgoing-offer-table td{padding:8px 10px;font-size:13px;border:1px solid rgba(30,41,59,.28)}.outgoing-offer-table thead th{border:1px solid rgba(30,41,59,.3);background:transparent;font-weight:700;text-align:center;position:static;top:auto;z-index:auto;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.outgoing-offer-table thead{position:static;top:auto;z-index:auto}.outgoing-offer-table tbody tr:nth-child(2n) td{background:#f9fbfe}.outgoing-offer-table tbody td{text-align:center}.outgoing-offer-table tbody td:nth-child(5),.outgoing-offer-table tbody td:nth-child(6){text-align:left}.outgoing-offer-table tbody td:nth-child(8),.outgoing-offer-table tbody td:nth-child(9){text-align:right}.outgoing-offer-table th:nth-child(1),.outgoing-offer-table td:nth-child(1){width:8%}.outgoing-offer-table th:nth-child(2),.outgoing-offer-table td:nth-child(2){width:9%}.outgoing-offer-table th:nth-child(3),.outgoing-offer-table td:nth-child(3){width:9%}.outgoing-offer-table th:nth-child(4),.outgoing-offer-table td:nth-child(4){width:8%}.outgoing-offer-table th:nth-child(5),.outgoing-offer-table td:nth-child(5){width:18%}.outgoing-offer-table th:nth-child(6),.outgoing-offer-table td:nth-child(6){width:14%}.outgoing-offer-table th:nth-child(7),.outgoing-offer-table td:nth-child(7){width:8%}.outgoing-offer-table th:nth-child(8),.outgoing-offer-table td:nth-child(8){width:13%}.outgoing-offer-table th:nth-child(9),.outgoing-offer-table td:nth-child(9){width:13%}.outgoing-offer-table-other th:nth-child(1),.outgoing-offer-table-other td:nth-child(1){width:7%}.outgoing-offer-table-other th:nth-child(2),.outgoing-offer-table-other td:nth-child(2){width:22%}.outgoing-offer-table-other th:nth-child(3),.outgoing-offer-table-other td:nth-child(3){width:8%}.outgoing-offer-table-other th:nth-child(4),.outgoing-offer-table-other td:nth-child(4){width:9%}.outgoing-offer-table-other th:nth-child(5),.outgoing-offer-table-other td:nth-child(5){width:9%}.outgoing-offer-table-other th:nth-child(6),.outgoing-offer-table-other td:nth-child(6){width:9%}.outgoing-offer-table-other th:nth-child(7),.outgoing-offer-table-other td:nth-child(7){width:12%}.outgoing-offer-table-other th:nth-child(8),.outgoing-offer-table-other td:nth-child(8){width:12%}.outgoing-offer-table-other th:nth-child(9),.outgoing-offer-table-other td:nth-child(9){width:12%}.outgoing-offer-table-other tbody td{text-align:right}.outgoing-offer-table-other tbody td:nth-child(1){text-align:center}.outgoing-offer-table-other tbody td:nth-child(2){text-align:left}.outgoing-offer-table-other tbody td:nth-child(3){text-align:center}.outgoing-offer-summary-row td{text-align:right;border-top:2px solid #555;background:#f7f7f7}.outgoing-offer-summary-row td:first-child{text-align:left}.outgoing-offer-table-pvc th:nth-child(1),.outgoing-offer-table-pvc td:nth-child(1){width:5%}.outgoing-offer-table-pvc th:nth-child(2),.outgoing-offer-table-pvc td:nth-child(2){width:22%}.outgoing-offer-table-pvc th:nth-child(3),.outgoing-offer-table-pvc td:nth-child(3){width:18%}.outgoing-offer-table-pvc th:nth-child(4),.outgoing-offer-table-pvc td:nth-child(4){width:5%}.outgoing-offer-table-pvc th:nth-child(5),.outgoing-offer-table-pvc td:nth-child(5){width:8%}.outgoing-offer-table-pvc th:nth-child(6),.outgoing-offer-table-pvc td:nth-child(6){width:7%}.outgoing-offer-table-pvc th:nth-child(7),.outgoing-offer-table-pvc td:nth-child(7){width:7%}.outgoing-offer-table-pvc th:nth-child(8),.outgoing-offer-table-pvc td:nth-child(8){width:9%}.outgoing-offer-table-pvc th:nth-child(9),.outgoing-offer-table-pvc td:nth-child(9){width:9%}.outgoing-offer-table-pvc th:nth-child(10),.outgoing-offer-table-pvc td:nth-child(10){width:10%}.outgoing-offer-table-pvc tbody td{text-align:right}.outgoing-offer-table-pvc tbody td:nth-child(1){text-align:center}.outgoing-offer-table-pvc tbody td:nth-child(2){text-align:center;vertical-align:middle;padding:6px 4px}.outgoing-offer-table-pvc tbody td:nth-child(3){text-align:left}.outgoing-pvc-img-cell{padding:4px 2px}.outgoing-pvc-thumb{display:block;max-width:100%;width:auto;height:auto;object-fit:contain;margin:0 auto}.outgoing-pvc-img-cell-empty{color:var(--muted);font-size:12px}.outgoing-pvc-desc{margin:0;padding:0;font-family:inherit;font-size:inherit;white-space:pre-wrap;line-height:1.5}.other-extra-cost-row{display:flex;align-items:center;gap:10px;padding:8px 4px 4px;flex-wrap:wrap}.other-extra-cost-input{width:120px;text-align:right}.outgoing-offer-note{margin-top:10px}.outgoing-offer-total{margin-top:10px;display:flex;justify-content:flex-end;align-items:baseline;gap:10px;font-size:14px}.outgoing-offer-total .label{font-size:14px;font-weight:700}.outgoing-offer-total .value{font-size:16px;font-weight:700;letter-spacing:.01em}.outgoing-offer-total .currency{font-size:.92em;font-weight:700}.outgoing-offer-total .vat{font-size:.8em;color:var(--muted);font-weight:600;margin-left:2px}.outgoing-offer-footer-meta{margin-top:18px;text-align:center;font-size:12px;color:#0f172a61;letter-spacing:.02em}.offer-name-input{width:100%;border:1px solid transparent;background:transparent;padding:2px 4px;border-radius:6px;font:inherit;color:inherit}.offer-name-input:focus{outline:none;border-color:var(--border);background:var(--surface)}.outgoing-offer-terms{margin-top:14px;display:grid;gap:10px}.outgoing-offer-terms-section{border-top:.3px solid rgba(15,23,42,.14);padding-top:8px}.outgoing-offer-terms-title{font-size:13px;font-weight:700;margin-bottom:4px}.outgoing-offer-terms-section ol{margin:0;padding-left:18px;display:grid;gap:4px;font-size:12px;line-height:1.35}.outgoing-terms-card{margin-top:10px}.outgoing-terms-list{display:grid;gap:8px}.outgoing-term-group{border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.outgoing-term-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;cursor:pointer;padding:8px 10px;font-weight:700;border-bottom:1px solid var(--border)}.outgoing-term-group>summary::-webkit-details-marker{display:none}.outgoing-term-group-actions{display:flex;align-items:center;gap:8px;padding:8px 10px 0}.outgoing-term-row{border:1px solid var(--border);border-radius:10px;padding:8px;background:var(--surface);margin:8px 10px 10px}.outgoing-term-row.custom{border-color:#2563eb59}.outgoing-term-row-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}.outgoing-term-toggle{display:flex;align-items:center;gap:10px;font-weight:600;font-size:12px}.outgoing-term-actions{display:flex;align-items:center;gap:6px}.outgoing-term-actions .btn{padding:5px 9px;border-radius:8px;font-size:12px}.outgoing-term-row textarea{width:100%;min-height:54px;resize:vertical}.geo-suggest-wrap{position:relative;z-index:45}@media print{@page{size:A4 landscape;margin:10mm}body.print-outgoing-offer{background:#fff!important}body.print-outgoing-offer *{visibility:hidden!important}body.print-outgoing-offer .outgoing-offer-print,body.print-outgoing-offer .outgoing-offer-print *{visibility:visible!important}body.print-outgoing-offer .outgoing-offer-print{position:fixed;inset:0;margin:0;padding:0;border:none!important;background:#fff!important}body.print-outgoing-offer .no-print{display:none!important}body.print-outgoing-offer .outgoing-offer-card{border:none!important;box-shadow:none!important;padding:0!important;background:#fff!important}body.print-outgoing-offer .outgoing-offer-sheet{border:none!important;padding:0!important;background:#fff!important}body.print-outgoing-offer .outgoing-offer-table{table-layout:fixed;width:100%;border-collapse:collapse!important;border-spacing:0!important;border:1px solid #000!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body.print-outgoing-offer .outgoing-offer-table thead{position:static!important;top:auto!important;z-index:auto!important}body.print-outgoing-offer .outgoing-offer-table th,body.print-outgoing-offer .outgoing-offer-table td{border:1px solid #000!important;color:#000!important;background:#fff!important;border-radius:0!important;box-shadow:none!important}body.print-outgoing-offer .outgoing-offer-table thead th{border-bottom:1px solid #000!important;position:static!important;top:auto!important;z-index:auto!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}body.print-outgoing-offer .offer-name-input{border:none!important;background:transparent!important;padding:0!important}body.print-outgoing-offer .outgoing-offer-table thead{display:table-header-group}body.print-outgoing-offer .outgoing-offer-footer-meta{color:#00000059!important}body.print-outgoing-offer .outgoing-offer-total{margin-top:8px;font-size:11pt!important}body.print-outgoing-offer .outgoing-offer-total .label{font-size:11pt!important;font-weight:700!important}body.print-outgoing-offer .outgoing-offer-total .value{font-size:13pt!important;font-weight:700!important}body.print-outgoing-offer .outgoing-offer-total .vat{font-size:9pt!important;color:#6b7280!important}body.print-outgoing-offer .outgoing-offer-terms{display:block!important;page-break-inside:auto!important;break-inside:auto!important}body.print-outgoing-offer .outgoing-offer-terms-section{display:block!important;page-break-inside:auto!important;break-inside:auto!important;margin-bottom:10px!important}}.geo-suggest-list{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:60;max-height:220px;overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 8px 22px #0f172a29}.geo-suggest-item{width:100%;text-align:left;border:none;border-bottom:1px solid var(--border);background:transparent;color:var(--text);padding:8px 10px;cursor:pointer}.geo-suggest-item:last-child{border-bottom:none}.geo-suggest-item:hover{background:var(--surface-soft)}@media(max-width:1200px){.quote-extra-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.quote-extra-row-fields{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:760px){.quote-extra-grid,.quote-extra-row-fields{grid-template-columns:1fr}}.project-table{table-layout:fixed}.project-table th:nth-child(1),.project-table td:nth-child(1){width:22%}.project-table th:nth-child(2),.project-table td:nth-child(2){width:16%}.project-table th:nth-child(3),.project-table td:nth-child(3){width:13%}.project-table th:nth-child(4),.project-table td:nth-child(4){width:12%}.project-table th:nth-child(5),.project-table td:nth-child(5){width:12%}.project-table th:nth-child(6),.project-table td:nth-child(6){width:11%}.project-table th:nth-child(7),.project-table td:nth-child(7){width:14%}.project-table th:nth-child(8),.project-table td:nth-child(8){width:10%}.project-table--lost th:nth-child(1),.project-table--lost td:nth-child(1){width:26%}.project-table--lost th:nth-child(2),.project-table--lost td:nth-child(2){width:18%}.project-table--lost th:nth-child(3),.project-table--lost td:nth-child(3){width:14%}.project-table--lost th:nth-child(4),.project-table--lost td:nth-child(4){width:12%}.project-table--lost th:nth-child(5),.project-table--lost td:nth-child(5){width:12%}.project-table--lost th:nth-child(6),.project-table--lost td:nth-child(6){width:18%}.remain-cell{font-weight:600}.remain-cell.bad{color:#b91c1c}.remain-cell.warn{color:#b45309}.remain-cell.mid{color:#a16207}.remain-cell.good{color:#15803d}.remain-pct{font-size:11px;color:#94a3b8;font-weight:500}hr{border:0;border-top:1px solid var(--border);margin:12px 0}.board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;align-items:flex-start}.col{--col-bg: rgba(227,233,245,.65);display:flex;flex-direction:column;gap:8px;min-width:0;position:relative;padding:12px 12px 14px;background:radial-gradient(120% 120% at 0% 0%,rgba(255,255,255,.7),transparent 60%),linear-gradient(180deg,var(--col-bg),rgba(255,255,255,.75));border:1px solid rgba(15,23,42,.08);box-shadow:0 6px 18px #0f172a0f,inset 0 1px #fff9;border-radius:14px;-webkit-backdrop-filter:saturate(150%) blur(6px);backdrop-filter:saturate(150%) blur(6px)}.col>h3{font-size:13px}.col .stat{font-size:11px}.col>h3{margin:0 0 6px 2px;font-size:14px;color:#334155}.col .stat{font-size:12px;color:#64748b;margin:0 0 8px 2px}.bucket{background:transparent;padding:4px;border-radius:12px;min-height:160px;border:1px dashed transparent}.card{background:var(--surface);border:1px solid rgba(37,99,235,.35);border-radius:16px;padding:12px 14px;cursor:default;margin-bottom:8px;box-shadow:0 8px 20px #0f172a14,inset 0 1px #ffffffb3;position:relative}.card:hover{background:var(--surface-soft)}.card .row{display:flex;align-items:center;gap:8px}.title{font-weight:700;font-size:15px;flex:1}.meta{font-size:12px;color:var(--muted);margin-top:4px;display:flex;gap:16px}.handle{display:none}.card.drag-origin{opacity:.45}.card.dragging{position:fixed;z-index:9999;pointer-events:none;box-shadow:0 12px 24px #0f172a33}.card-placeholder{background:transparent;border:1px dashed rgba(15,23,42,.08);border-radius:14px}.board,.col,.card{-webkit-user-select:none;user-select:none}.drop-target{border-color:#93c5fd;background:var(--surface-soft)}.drag-ghost{position:fixed;z-index:9999;pointer-events:none;background:var(--surface);border:1px solid #c7d2fe;border-radius:12px;padding:10px 12px;box-shadow:0 6px 18px #0000002e}.drag-ghost .title{font-weight:700;margin-bottom:4px}.drag-ghost .meta{font-size:12px;color:#6b7280}.approval-check{position:absolute;right:10px;bottom:10px;width:22px;height:22px;border-radius:50%;background:#22c55e;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px #22c55e59}.approval-check--rejected{background:#ef4444;box-shadow:0 6px 14px #ef444459}.approval-check--warn{background:#f59e0b;box-shadow:0 6px 14px #f59e0b59}.approval-lock{position:absolute;right:10px;bottom:38px;width:26px;height:26px;border-radius:50%;background:#0f172a1f;color:var(--text);font-size:14px;display:flex;align-items:center;justify-content:center;opacity:.65;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tabbar{display:inline-flex;gap:4px;padding:4px;border-radius:14px;background:var(--surface-muted);border:1px solid rgba(15,23,42,.08);margin:12px 0}.tab{padding:6px 12px;border:none;border-radius:12px;background:transparent;cursor:pointer;font-size:13px;color:var(--text-soft)}.tab.active{font-weight:600;color:var(--text);background:var(--surface);box-shadow:0 4px 10px #0f172a14,inset 0 1px #fffc}.section{display:none}.section.active{display:block}.split2{display:grid;grid-template-columns:280px 1fr;gap:16px}.list{border:1px solid var(--border);border-radius:12px;background:var(--surface);max-height:60vh;overflow:auto}.list-item{padding:10px 12px;border-bottom:1px solid var(--border);cursor:pointer}.list-item:hover{background:var(--surface-soft)}.modal{display:none;position:fixed;inset:0;background:var(--overlay);z-index:50;align-items:center;justify-content:center}.modal>div{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:820px;max-width:95vw}.modal header{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border)}.modal .body{padding:12px 16px}.modal-panel{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;max-width:480px;display:flex;flex-direction:column;box-shadow:0 12px 36px #0000002e}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);gap:12px}.modal-title{font-size:16px;font-weight:700}.modal-close{background:none;border:none;cursor:pointer;color:var(--text-soft);font-size:16px;padding:2px 6px;border-radius:6px;line-height:1}.modal-close:hover{background:var(--surface-soft);color:var(--text)}.modal-body{padding:20px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--border)}.form-label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:500}.modal>div.drilldown-modal{width:min(1000px,calc(100vw - 64px));max-width:none;box-shadow:0 20px 48px #0003}.drilldown-header{align-items:flex-start;gap:14px}.drilldown-header-title{font-size:17px;font-weight:700}.drilldown-header-sub{font-size:12px;color:var(--text-soft);margin-top:2px}.drilldown-header-total{margin-left:auto;margin-right:12px;font-size:20px;font-weight:700;white-space:nowrap}.drilldown-body{max-height:min(560px,70vh);overflow-y:auto;padding:4px 16px}.drilldown-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 4px;border-bottom:1px solid var(--border)}.drilldown-row:last-child{border-bottom:none}.drilldown-row.is-clickable{cursor:pointer;border-radius:10px}.drilldown-row.is-clickable:hover{background:var(--surface-soft)}.drilldown-row-main{display:flex;flex-direction:column;gap:4px;min-width:0}.drilldown-row-title{font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.drilldown-row-meta{font-size:12px;color:var(--text-soft)}.drilldown-row-amount{font-weight:700;font-size:16px;white-space:nowrap;text-align:right}.drilldown-badge{font-size:11px;padding:1px 8px}.drilldown-badge.tone-invoice{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.drilldown-badge.tone-warehouse{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.drilldown-badge.tone-order{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.drilldown-badge.tone-trip{background:#faf5ff;border-color:#e9d5ff;color:#6b21a8}.drilldown-badge.tone-default{background:var(--surface-soft);border-color:var(--border);color:var(--text-soft)}@media(max-width:640px){.drilldown-row{flex-direction:column;align-items:flex-start;gap:6px}.drilldown-row-amount{align-self:flex-end}}.modal>div.ckv-assign-modal{width:min(1320px,calc(100vw - 48px));max-width:none;box-shadow:0 20px 48px #0003;display:flex;flex-direction:column;max-height:88vh}.ckv-assign-cols{display:flex;flex:1;min-height:0;border-top:1px solid var(--border)}.ckv-assign-col{flex:1;min-width:0;overflow-y:auto;padding:14px 16px;transition:background .12s}.ckv-assign-col.is-over{background:var(--surface-soft)}.ckv-assign-col+.ckv-assign-col{border-left:1px solid var(--border)}.ckv-assign-col-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-soft);margin:0 0 10px;position:sticky;top:0;background:var(--surface);padding:2px 0 6px}.ckv-doc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;margin-bottom:8px;cursor:grab;background:var(--surface);transition:border-color .12s}.ckv-doc-row:hover{border-color:var(--accent,#3b82f6)}.ckv-doc-row.is-dragging{opacity:.5}.ckv-doc-row-main{display:flex;flex-direction:column;gap:3px;min-width:0}.ckv-doc-row-title{font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ckv-doc-row-meta{font-size:12px;color:var(--text-soft)}.ckv-doc-row-amount{font-weight:700;white-space:nowrap;text-align:right;flex-shrink:0}.ckv-row-group-title{font-size:11px;font-weight:700;color:var(--text-soft);margin:14px 0 6px}.ckv-row-group-title:first-child{margin-top:0}.ckv-row-box{border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin-bottom:8px;transition:border-color .12s,background .12s}.ckv-row-box.is-over{border-color:var(--accent,#3b82f6);border-style:dashed;background:var(--surface-soft)}.ckv-row-box-head{display:flex;align-items:center;gap:8px}@media(max-width:860px){.ckv-assign-cols{flex-direction:column}.ckv-assign-col+.ckv-assign-col{border-left:none;border-top:1px solid var(--border)}}.ckv-assign-btn{border-color:#3b82f6;background:#eff6ff;color:#1d4ed8;font-weight:600}.ckv-assign-btn:hover{background:#dbeafe}.ckv-assign-btn.needs-attention{border-color:#f59e0b;background:#fffbeb;color:#92400e;animation:ckvAssignPulse 1.8s ease-in-out infinite}.ckv-assign-btn.needs-attention:hover{background:#fef3c7}@keyframes ckvAssignPulse{0%,to{box-shadow:0 0 #f59e0b80}50%{box-shadow:0 0 0 7px #f59e0b00}}.badge{padding:2px 8px;border-radius:999px;background:#eef2ff;border:1px solid #c7d2fe;color:#3730a3;font-size:12px}.partner-picker{width:min(860px,92vw)}.partner-filter-input{position:relative;display:flex;align-items:center}.partner-filter-input input{padding-right:34px}.partner-filter-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:6px;border:none;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;opacity:.7}.partner-filter-btn:hover{opacity:1}.partner-filter-icon{width:16px;height:16px;background-color:#475569;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.5 3a7.5 7.5 0 1 1 5.62 12.54l3.17 3.17a1 1 0 0 1-1.42 1.42l-3.17-3.17A7.5 7.5 0 0 1 10.5 3zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z' fill='black'/></svg>") no-repeat center / contain;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.5 3a7.5 7.5 0 1 1 5.62 12.54l3.17 3.17a1 1 0 0 1-1.42 1.42l-3.17-3.17A7.5 7.5 0 0 1 10.5 3zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z' fill='black'/></svg>") no-repeat center / contain}.partner-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:8px 0 2px}.partner-filter-item{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px}.partner-list{margin-top:12px;max-height:360px;overflow:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.partner-option{width:100%;text-align:left;padding:12px 14px;border:none;border-bottom:1px solid #f1f5f9;background:#fff;cursor:pointer}.partner-option:hover{background:#f8fafc}.partner-option.selected{background:#eff6ff}.partner-option input[type=checkbox]{width:16px;height:16px;flex-shrink:0;cursor:pointer}.partner-option-title{font-weight:600;color:#0f172a}.partner-option-meta{margin-top:4px;font-size:12px;color:#64748b;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.partner-badges{display:inline-flex;gap:6px}.ledger-picker{width:min(700px,94vw)}.ledger-picker-hint{font-size:11px;color:var(--text-soft);margin-top:4px}.ledger-picker-list{margin-top:0;max-height:420px;overflow-y:auto;border-top:1px solid var(--border)}.ledger-option{display:flex;align-items:baseline;gap:12px;padding:8px 16px;border-bottom:1px solid var(--border-soft,#f1f5f9)}.ledger-option:hover,.ledger-option:focus{background:var(--surface-soft)}.ledger-option.selected{background:#eff6ff}.ledger-code{font-weight:700;font-variant-numeric:tabular-nums;min-width:52px;color:var(--primary);flex-shrink:0;font-size:13px}.ledger-desc{flex:1;text-align:left;font-size:13px;color:var(--text)}.ledger-pick-btn{background:none;border:1px solid var(--border);border-radius:6px;padding:3px 9px;cursor:pointer;font-size:13px;color:var(--text-soft);white-space:nowrap}.ledger-pick-btn:hover{background:var(--surface-soft);color:var(--primary)}.ledger-section-head{padding:6px 16px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-soft);background:var(--surface-soft);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1}.ledger-badge{font-size:10px;padding:1px 5px;border-radius:4px;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0;flex-shrink:0}.ledger-nodesc{color:var(--text-soft)}.partner-badge{padding:2px 6px;border-radius:999px;font-size:11px;border:1px solid #e2e8f0;background:#f8fafc;color:#334155}.partner-badge.is-customer{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.partner-badge.is-supplier{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.partner-badge.is-subcontractor{border-color:#fde68a;background:#fffbeb;color:#92400e}.partner-badge.is-residential{border-color:#fecaca;background:#fef2f2;color:#991b1b}.costs-top-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}@media(max-width:1100px){.costs-top-grid{grid-template-columns:1fr}}.cost-items-grid{display:block}.cost-item-card{margin-bottom:10px}.job-number-pill{display:inline-flex;align-items:center;margin-left:8px;padding:2px 8px;border-radius:999px;border:1px solid #60a5fa;background:#fff;color:#1e3a8a;font-size:12px;font-weight:600}.cost-items-grid{display:block;margin-top:12px}.cost-item-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 6px 14px #0f172a0f;overflow:hidden;margin-bottom:12px}.cost-item-head{width:100%;background:transparent;border:0;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;cursor:pointer;text-align:left}.cost-item-title{font-weight:700;color:#0f172a;margin-bottom:2px}.cost-item-amount{font-weight:700;color:#0f172a;white-space:nowrap}.cost-invoice-select-row{display:flex;gap:8px;align-items:center}.cost-invoice-select-row input{flex:1;min-width:0}.cost-invoice-summary{align-self:end;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);font-size:13px}.cost-invoice-detail-box{margin-top:16px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.cost-invoice-detail-grid{display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(460px,1fr);gap:14px;align-items:start}.cost-subtitle{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-soft);margin-bottom:8px;letter-spacing:.04em}.cost-invoice-lines-wrap{border:1px solid var(--border);border-radius:8px;overflow:auto;max-height:240px;background:var(--surface)}.cost-invoice-lines-wrap.wide{max-height:360px}.cost-invoice-lines-table{min-width:760px;font-size:12.5px}.cost-invoice-lines-table.selectable{min-width:1500px}.cost-invoice-lines-table th,.cost-invoice-lines-table td{padding:7px 8px;white-space:nowrap}.cost-invoice-lines-table td:first-child{min-width:auto;white-space:nowrap}.cost-invoice-lines-table td:nth-child(2){min-width:260px;white-space:normal}.cost-invoice-lines-table input[type=number]{width:88px}.cost-invoice-lines-table tr.is-locked{opacity:.68;background:#f8fafc}.cost-line-assignments{margin-top:4px;display:flex;flex-direction:column;gap:2px;color:var(--text-soft);font-size:11px;line-height:1.25;white-space:normal}.cost-line-context{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px;font-size:13px}.cost-split-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.cost-split-mode{display:flex;gap:4px}.cost-allocation-list{display:flex;flex-direction:column;gap:8px}.cost-allocation-row{display:grid;grid-template-columns:minmax(180px,1fr) 120px minmax(140px,.7fr) auto;gap:8px;align-items:end;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.cost-allocation-calculated{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--text-soft)}.cost-allocation-calculated span:first-child{color:var(--text);font-weight:700}.cost-allocation-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.cost-allocation-total{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;font-size:13px}.cost-allocation-total.bad{color:#dc2626}@media(max-width:1100px){.cost-invoice-detail-grid{grid-template-columns:1fr}}@media(max-width:760px){.cost-allocation-row{grid-template-columns:1fr}}.modal>div.cost-invoice-picker,.cost-invoice-picker{width:calc(100vw - 64px);max-width:1680px;max-height:92vh;display:flex;flex-direction:column}.cost-invoice-picker-body{display:flex;flex-direction:column;gap:12px;overflow:hidden}.cost-invoice-summary-strip{display:flex;flex-wrap:wrap;gap:8px}.cost-invoice-summary-strip span{border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);padding:5px 9px;font-size:12px;color:var(--text)}.cost-invoice-filter-grid{display:grid;grid-template-columns:minmax(320px,2fr) minmax(180px,1fr) minmax(130px,.8fr) repeat(7,minmax(118px,1fr));gap:8px;align-items:end}.cost-invoice-filter-grid label{min-width:0}.cost-invoice-filter-grid .span2{grid-column:span 2}.cost-invoice-filter-actions{display:flex;justify-content:flex-end}.cost-invoice-table-wrap{overflow:auto;max-height:58vh;border:1px solid var(--border);border-radius:8px}.cost-invoice-table{min-width:1360px;font-size:12.5px}.cost-invoice-table th,.cost-invoice-table td{padding:7px 8px;white-space:nowrap}.cost-invoice-table thead th{position:sticky;top:0;z-index:1;background:var(--surface)}.cost-invoice-table td:nth-child(3){max-width:300px;overflow:hidden;text-overflow:ellipsis}.cost-assignment-badge{display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--border);padding:2px 8px;font-size:11px;font-weight:700}.cost-assignment-badge.is-unassigned{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.cost-assignment-badge.is-partial{background:#fffbeb;border-color:#fde68a;color:#92400e}.cost-assignment-badge.is-full{background:#f1f5f9;color:#64748b}@media(max-width:1100px){.cost-invoice-filter-grid{grid-template-columns:1fr 1fr 1fr}}@media(max-width:720px){.cost-invoice-filter-grid{grid-template-columns:1fr}.cost-invoice-filter-grid .span2{grid-column:auto}}.cost-invoice-option-main{display:grid;grid-template-columns:140px 170px minmax(0,1fr);gap:12px;align-items:center}.cost-invoice-option-main span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cost-invoice-option-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:4px;color:var(--text-soft);font-size:12px}.cost-item-body{border-top:1px solid #e2e8f0;padding:12px 14px 14px}.cost-item-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 14px;margin-bottom:10px}.cost-attachments-box{margin-top:16px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.cost-attachments-box.is-compact{margin-top:12px;background:#fff}.cost-invoice-costed-lines{margin:12px 0;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.cost-invoice-costed-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.cost-invoice-costed-table{min-width:860px;font-size:12.5px}.cost-invoice-costed-table th,.cost-invoice-costed-table td{padding:7px 8px;white-space:nowrap}.cost-invoice-costed-table td:first-child{white-space:normal;min-width:260px}.cost-invoice-costed-table tr.is-current td{background:#eff6ff}.cost-attachment-heading{margin-top:0;margin-bottom:8px}.cost-attachment-form{display:grid;grid-template-columns:1.1fr .7fr 1.5fr 1fr;gap:10px;align-items:end;margin-top:8px}.cost-attachment-form-compact{grid-template-columns:1fr .7fr 1.4fr 1fr}.cost-attachment-toolbar{margin-top:10px}.cost-attachment-list{display:grid;gap:8px;margin-top:10px}.cost-attachment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.cost-attachment-type{display:inline-flex;align-items:center;margin-right:8px;padding:2px 8px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:600;white-space:nowrap}.cost-attachment-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}@media(max-width:1100px){.cost-attachment-form,.cost-attachment-form-compact{grid-template-columns:1fr 1fr}}@media(max-width:720px){.cost-attachment-form,.cost-attachment-form-compact{grid-template-columns:1fr}.cost-attachment-row{align-items:flex-start;flex-direction:column}.cost-attachment-actions{width:100%;justify-content:flex-end}}.cost-attachment-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.cost-attachment-link{font-size:12px;color:var(--primary);text-decoration:underline;white-space:nowrap;flex-shrink:0}.cost-attachment-del{background:none;border:none;color:#ef4444;cursor:pointer;font-size:16px;padding:0 4px;line-height:1;flex-shrink:0}.cost-attachment-del:hover{color:#dc2626}.cost-attachments-list{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.cost-attachment-add-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cost-attachment-add-row select{flex:0 0 130px;font-size:13px}.cost-attachment-add-row input:not([type=checkbox]):not([type=radio]){flex:1;min-width:120px;font-size:13px}.dms-file-picker{position:relative;display:inline-flex;align-items:center;flex:1;min-width:160px;min-height:36px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer;overflow:hidden}.dms-file-picker input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.dms-file-picker-label{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.dms-file-picker.has-file .dms-file-picker-label{color:var(--text);font-weight:600}@keyframes dmsUploadPulse{0%,to{box-shadow:0 0 #2563eb8c}50%{box-shadow:0 0 0 8px #2563eb00}}.dms-upload-pending{animation:dmsUploadPulse 1.4s ease-in-out infinite}.settings-mini-card{max-width:420px;width:100%;margin-right:auto}.settings-page{width:100%;max-width:none;margin:0;padding-bottom:18px}.settings-page .toolbar,.settings-page .card{margin-bottom:10px}.settings-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}.settings-compact-card{padding:10px 12px}.settings-main-card{max-width:none}.settings-section-card{max-width:600px;margin-right:auto}.settings-glass-card{max-width:none;margin-right:0}.settings-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-group-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.settings-group-title{font-size:16px;font-weight:700;margin-bottom:2px}.settings-group-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft);margin:0 0 10px}.settings-group-divider{border:none;border-top:1px solid var(--border);margin:18px 0 14px}.settings-system-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.settings-system-block{padding:4px 24px 4px 0;border-right:1px solid var(--border);margin-right:24px}.settings-system-block:last-child{border-right:none;margin-right:0;padding-right:0}.settings-block-title{font-size:14px;font-weight:700;margin-bottom:4px}.vies-lookup-row{display:flex;gap:8px;align-items:flex-end}.vies-lookup-row input{flex:1}.vies-suggestion-box{position:relative;margin-top:8px}.vies-suggestion-result{background:var(--card);border:1px solid var(--border);border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.vies-suggestion-name{font-weight:600;font-size:14px}.vies-suggestion-address{font-size:13px;color:var(--text-soft)}.vies-suggestion-error{color:var(--danger,#e53e3e);font-size:13px;padding:8px 0}.vies-suggestion-actions{display:flex;gap:8px;margin-top:10px}.company-lookup-modal{width:min(920px,96vw);max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.company-lookup-body{overflow:auto;display:flex;flex-direction:column;gap:12px}.company-lookup-search{display:grid;grid-template-columns:1.4fr 1fr 1fr .72fr .9fr;gap:10px;align-items:end}.company-lookup-search label{min-width:0}.company-lookup-search input:not([type=checkbox]):not([type=radio]){width:100%;min-width:0}.company-lookup-search-actions{display:flex;justify-content:flex-end}.company-lookup-search-actions .btn{min-width:112px}.company-lookup-notice{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;padding:10px 12px;color:var(--text-soft);font-size:13px}.company-lookup-notice.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.company-lookup-layout{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:14px;min-height:320px}.company-lookup-results{display:flex;flex-direction:column;gap:8px}.company-lookup-result{width:100%;text-align:left;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:3px;cursor:pointer}.company-lookup-result:hover,.company-lookup-result.active{border-color:var(--primary);box-shadow:0 0 0 2px #2563eb1f}.company-lookup-result-name{font-weight:700}.company-lookup-detail{border:1px solid var(--border);border-radius:8px;padding:12px;background:var(--surface)}.company-lookup-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid var(--border);padding-bottom:10px;margin-bottom:10px}.company-lookup-detail-title{font-weight:700;font-size:15px}.company-lookup-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.company-lookup-detail-row{border-bottom:1px solid var(--border);padding:7px 0;min-width:0}.company-lookup-detail-key{font-size:11px;text-transform:uppercase;color:var(--muted);font-weight:700}.company-lookup-detail-value{font-size:13px;color:var(--text);overflow-wrap:anywhere}@media(max-width:980px){.company-lookup-search{grid-template-columns:1fr 1fr}.company-lookup-layout,.company-lookup-detail-grid{grid-template-columns:1fr}}@media(max-width:620px){.company-lookup-search{grid-template-columns:1fr}}.settings-glass-spacer-row{display:grid;grid-template-columns:minmax(240px,2fr) minmax(140px,1fr) minmax(140px,1fr);gap:12px;align-items:end}.settings-glass-checkbox{display:flex;align-items:center;gap:8px;min-height:40px}.settings-glass-checkbox input[type=checkbox]{width:auto;min-width:0}.settings-offer-card{max-width:none;margin-right:0}.settings-offer-wrap{display:grid;grid-template-columns:minmax(840px,1.7fr) minmax(340px,.7fr);gap:14px;align-items:start;max-width:1560px}.settings-offer-common-card{max-width:none}.settings-offer-left-col{display:flex;flex-direction:column;gap:14px;min-width:0}.settings-offer-right-col{display:flex;flex-direction:column;min-width:0}.settings-offer-terms-card{max-width:none;margin-right:0}.settings-offer-left,.settings-offer-right{min-width:0}.settings-common-fieldset{margin:0 0 10px}.settings-common-fieldset:last-child{margin-bottom:0}.settings-common-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.settings-common-grid label{line-height:1.2}.settings-alu-groups{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.settings-alu-group{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:10px}.settings-alu-group-head{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;margin-bottom:8px}.settings-alu-options{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.settings-alu-option-row{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:8px}.settings-alu-hw-categories{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.settings-alu-hw-category{border:1px solid var(--border);border-radius:10px;background:var(--surface)}.settings-alu-hw-category>summary,.settings-alu-hw-group>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px}.settings-alu-hw-category>summary::-webkit-details-marker,.settings-alu-hw-group>summary::-webkit-details-marker{display:none}.settings-alu-hw-category-body{display:flex;flex-direction:column;gap:8px;padding:0 12px 12px}.settings-alu-hw-group{border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.settings-alu-hw-group-body{display:flex;flex-direction:column;gap:8px;padding:0 10px 10px}.settings-alu-hw-group-head{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;gap:8px;align-items:end}.settings-alu-hw-group-actions{display:flex;justify-content:flex-end}.settings-hw-order-block{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:10px}.settings-hw-order-list{display:flex;flex-direction:column;gap:6px}.settings-hw-order-row{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:6px 8px;background:var(--surface-soft)}.settings-hw-order-flags{margin-top:8px;display:flex;flex-direction:column;gap:6px}.settings-hw-flag-row{display:grid;grid-template-columns:16px 1fr;align-items:start;gap:8px;width:100%}.settings-hw-flag-row input[type=checkbox]{margin:2px 0 0;justify-self:start}@media(max-width:1460px){.settings-top-grid{grid-template-columns:1fr 1fr}.settings-main-card{max-width:100%}.settings-system-grid{grid-template-columns:1fr 1fr}.settings-section-card,.settings-offer-card,.settings-offer-common-card{max-width:100%}.settings-offer-wrap{grid-template-columns:1fr}}@media(max-width:800px){.settings-top-grid,.settings-form-grid,.settings-system-grid{grid-template-columns:1fr}.settings-system-block{border-right:none;margin-right:0;padding-right:0;border-bottom:1px solid var(--border);padding-bottom:14px;margin-bottom:14px}.settings-system-block:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.settings-glass-spacer-row,.settings-alu-group-head,.settings-alu-option-row,.settings-alu-hw-group-head,.alu-hw-groups,.alu-hw-preview-wrap{grid-template-columns:1fr}}.user-menu{position:relative}.user-btn{display:flex;align-items:center;gap:0;border:none;background:transparent;color:#e5e7eb;padding:0;border-radius:50%;cursor:pointer}.user-btn:hover .user-avatar{box-shadow:0 10px 22px #0f172a4d,0 0 0 3px #94a3b82e}.user-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#93c5fd);border:1px solid rgba(255,255,255,.55);color:#0f172a;font-weight:700;letter-spacing:.4px;box-shadow:0 8px 16px #0f172a38,inset 0 1px #ffffffbf}.user-caret{font-size:12px;opacity:.8}.user-btn #user_label,.user-caret{display:none}.user-dropdown{position:absolute;left:0;bottom:48px;min-width:190px;background:#ffffffe6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 12px 24px #0f172a26;padding:8px;display:none}.user-dropdown.show{display:block}.user-dropdown .menu-item{width:100%;text-align:left;padding:8px 10px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:13px;color:#0f172a}.user-dropdown .menu-item:hover{background:#2563eb14}.user-dropdown .menu-sep{height:1px;background:#0f172a14;margin:6px 4px}.messages-link{display:flex;align-items:center;justify-content:center;position:relative;color:#e5e7eb;text-decoration:none;padding:4px;border-radius:12px;border:1px solid transparent;background:transparent}.messages-link:hover{background:transparent}.rte-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.rte-select{height:30px;border-radius:10px;border:1px solid rgba(148,163,184,.6);padding:0 10px;background:#fff;font-size:12px;color:#0f172a}.rte-btn{border:1px solid rgba(148,163,184,.6);background:#fff;color:#0f172a;border-radius:10px;padding:6px 10px;font-size:12px;line-height:1;cursor:pointer}.rte-btn:hover{border-color:#3b82f680;box-shadow:0 6px 14px #3b82f62e}.rte-btn.active{background:#3b82f61f;border-color:#3b82f699;color:#1e3a8a}.rte-sep{width:1px;height:22px;background:#94a3b866;margin:0 2px}.rte-color{display:inline-flex;align-items:center;gap:6px;padding:0 8px;height:30px;border:1px solid rgba(148,163,184,.6);border-radius:10px;background:#fff;font-size:12px;color:#0f172a}.rte-color input{width:18px;height:18px;border:none;background:transparent;padding:0}.rte-color--bg{color:#2563eb}.rte-editor{border:1px solid rgba(148,163,184,.4);border-radius:12px;min-height:220px;padding:12px 14px;background:#fff;box-shadow:inset 0 1px 2px #0f172a0f}.rte-editor .ProseMirror{outline:none;white-space:pre-wrap}.rte-editor .ProseMirror p{margin:0 0 10px}.rte-editor .ProseMirror ul,.rte-editor .ProseMirror ol{margin:0 0 10px 18px}.rte-preview p{margin:0 0 10px}.compose-modal{width:min(1600px,98vw);height:min(82vh,820px);display:flex;flex-direction:column;overflow:hidden}.compose-modal>header{flex:0 0 auto}.compose-modal>.body{flex:1 1 auto;min-height:0}.compose-body{padding:14px 18px 12px;display:flex;flex-direction:column;gap:12px;height:100%;box-sizing:border-box;min-height:0;overflow:hidden}.compose-fields{display:grid;grid-template-columns:1fr;gap:12px}.compose-row{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:12px}.compose-label-btn{border:1px solid rgba(148,163,184,.6);background:#fff;color:#0f172a;border-radius:8px;padding:4px 8px;font-size:12px;cursor:pointer;text-align:left}.compose-label{font-size:12px;color:#475569}.compose-line{border:none;border-bottom:1px solid rgba(148,163,184,.6);border-radius:0;padding:6px;background:transparent}.compose-line:focus{outline:none;border-bottom-color:#3b82f6cc}.compose-editor{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0}.compose-editor .rte-editor{flex:1;overflow:auto;min-height:280px}.recipient-block{display:flex;flex-direction:column;gap:8px}.recipient-label{font-weight:600;color:#0f172a}.recipient-list{display:flex;flex-wrap:wrap;gap:8px}.recipient-chip{border:1px solid rgba(148,163,184,.6);background:#fff;color:#0f172a;border-radius:999px;padding:6px 12px;font-size:12px;cursor:pointer}.recipient-chip.active{background:#3b82f61f;border-color:#3b82f699;color:#1e3a8a}.compose-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(148,163,184,.35);padding-top:10px;padding-bottom:6px;box-sizing:border-box;width:100%;margin-top:auto;flex:0 0 auto;background:#fff}.rte-toolbar--top{margin-bottom:8px}.compose-actions{margin-left:auto;padding-right:16px}.compose-modal{padding-bottom:12px}.picker-modal{width:min(900px,90vw)}.picker-body{padding:16px;display:flex;flex-direction:column;gap:12px}.picker-top{display:grid;grid-template-columns:1fr 1fr;gap:12px}.picker-scope{display:flex;gap:12px;align-items:flex-end;font-size:12px;color:#475569}.picker-list{border:1px solid rgba(148,163,184,.4);border-radius:12px;min-height:220px;max-height:320px;overflow:auto;padding:6px;display:flex;flex-direction:column;gap:6px}.picker-item{border:1px solid transparent;border-radius:10px;padding:8px 10px;text-align:left;background:#fff;cursor:pointer}.picker-item:hover{background:#f1f5f9}.picker-item.active{border-color:#3b82f699;background:#3b82f614}.picker-name{font-weight:600;color:#0f172a}.picker-meta{font-size:12px;color:#64748b}.picker-bottom{display:flex;flex-direction:column;gap:6px;padding-top:0;border-top:none}.picker-actions{display:flex;justify-content:flex-end;gap:8px}.compose-actions{display:flex;align-items:center;gap:10px}.messages-icon{width:38px;height:38px;border-radius:18px;position:relative;background:radial-gradient(80% 70% at 30% 25%,#fffc,#fff0 60%),linear-gradient(160deg,#3b82f699,#2563eb59);border:1px solid rgba(147,197,253,.65);box-shadow:0 10px 20px #0f172a59,inset 0 2px 10px #fff6,0 0 18px #3b82f659}.messages-icon:before{content:"";position:absolute;inset:9px;background:#fffffff2;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6zm2 0v1.2l7 4.8 7-4.8V6H5zm14 3.1-6.4 4.4a1 1 0 0 1-1.2 0L5 9.1V18h14V9.1z' fill='black'/></svg>") no-repeat center / contain;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6zm2 0v1.2l7 4.8 7-4.8V6H5zm14 3.1-6.4 4.4a1 1 0 0 1-1.2 0L5 9.1V18h14V9.1z' fill='black'/></svg>") no-repeat center / contain;box-shadow:0 0 6px #fff6}.messages-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;display:grid;place-items:center;font-weight:700;z-index:2}.messages-badge.is-zero{background:#94a3b840;color:#e2e8f0cc}.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.sort-ind{display:inline-block;width:10px;height:10px;margin-left:6px;vertical-align:middle;background-color:#64748b;opacity:.6;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 7l5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 7l5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain}.sort-ind.active{opacity:1;background-color:#0f172a}.sort-ind[data-dir=asc]{transform:rotate(180deg)}.sort-ind[data-dir=desc]{transform:rotate(0)}.sort-ind[data-dir=""]{opacity:0}.build-info-btn{background:transparent;border:none;color:#e5e7ebb3;font-size:12px;cursor:pointer;padding:2px 6px;border-radius:8px}.build-info-btn:hover{color:#e5e7eb;background:#ffffff0f}.build-info-modal{width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden}.build-info-modal .body{overflow:auto;padding:16px 18px 20px}.build-info-head{display:grid;gap:6px;margin-bottom:16px}.build-info-title{font-size:16px;font-weight:700;color:var(--text)}.build-info-subtitle{max-width:760px;color:var(--muted);font-size:13px;line-height:1.45}.build-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.build-info-grid section{min-width:0}.build-info-grid h4{margin:0 0 6px;font-size:13px;color:#0f172a}.build-info-grid ul{margin:0;padding-left:18px;color:#1f2937;font-size:13px;line-height:1.45}.build-info-grid li+li{margin-top:3px}@media(max-width:760px){.build-info-grid{grid-template-columns:1fr}}.messages-layout{display:grid;grid-template-columns:360px 1fr;gap:16px;min-height:0}.messages-list{background:#ffffffd9;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:8px;max-height:calc(100vh - 220px);overflow:auto}.messages-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.tag{border:1px solid rgba(15,23,42,.12);background:#fff;color:#334155;font-size:11px;padding:4px 8px;border-radius:999px;cursor:pointer}.tag.active{background:#2563eb1f;border-color:#2563eb66;color:#1e3a8a;font-weight:600}.messages-card{width:100%;text-align:left;border:none;background:transparent;padding:8px 10px;border-radius:12px;cursor:pointer;transition:background .15s ease,box-shadow .15s ease;position:relative}.messages-card:hover{background:#2563eb14}.messages-card.active{background:#2563eb1f;box-shadow:0 6px 16px #0f172a14}.messages-card.unread .messages-subject,.messages-card.unread .messages-sender{font-weight:700}.messages-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.messages-sender{font-size:13px;color:#0f172a}.messages-time{font-size:11px;color:#64748b;white-space:nowrap}.messages-subject{margin-top:4px;font-size:13px;color:#111827}.messages-preview{margin-top:4px;font-size:12px;color:#6b7280}.messages-meta{margin-top:6px;display:flex;align-items:center;gap:6px}.unread-dot{width:8px;height:8px;border-radius:50%;background:#3b82f6}.messages-detail .card{height:100%}.messages-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.messages-detail-subject{font-size:18px;font-weight:700;color:#0f172a}.messages-body{white-space:pre-wrap;line-height:1.5}.messages-letter{display:flex;flex-direction:column;gap:10px;font-size:14px;color:#0f172a}.messages-block{display:flex;flex-direction:column;gap:4px}.message-field{display:grid;grid-template-columns:160px 1fr;gap:8px}.message-label{color:#475569;font-weight:600}.message-value{color:#0f172a}@media(max-width:900px){.messages-layout{grid-template-columns:1fr}.messages-list{max-height:40vh}}#clients.page.active{overflow:hidden}#clients{display:flex;flex-direction:column;min-height:0;height:100%}.clients-sticky{position:sticky;top:0;z-index:5;background:var(--bg);padding-bottom:8px;flex:0 0 auto}.clients-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:12px;position:relative}#clients .table thead th{position:sticky;top:0;z-index:4}.ckv-table-scroll{max-height:60vh;overflow:auto;border-radius:16px}.ckv-table-scroll .table thead th{position:sticky;top:0;z-index:4}.btn{text-decoration:none}[data-theme=dark] .partner-filter-item,[data-theme=dark] .partner-list,[data-theme=dark] .partner-option,[data-theme=dark] .cost-item-card,[data-theme=dark] .cost-attachments-box,[data-theme=dark] .cost-attachment-row,[data-theme=dark] .rte-select,[data-theme=dark] .rte-btn,[data-theme=dark] .rte-color,[data-theme=dark] .rte-editor,[data-theme=dark] .compose-label-btn,[data-theme=dark] .recipient-chip,[data-theme=dark] .compose-toolbar,[data-theme=dark] .picker-item,[data-theme=dark] .messages-list,[data-theme=dark] .tag,[data-theme=dark] .user-dropdown{background:var(--surface);color:var(--text);border-color:var(--border)}[data-theme=dark] .partner-option-title,[data-theme=dark] .cost-item-title,[data-theme=dark] .cost-item-amount,[data-theme=dark] .picker-name,[data-theme=dark] .messages-sender,[data-theme=dark] .messages-subject,[data-theme=dark] .messages-detail-subject,[data-theme=dark] .messages-letter,[data-theme=dark] .message-value,[data-theme=dark] .recipient-label{color:var(--text)}[data-theme=dark] .partner-option-meta,[data-theme=dark] .picker-meta,[data-theme=dark] .messages-time,[data-theme=dark] .messages-preview,[data-theme=dark] .message-label,[data-theme=dark] .compose-label{color:var(--muted)}[data-theme=dark] .messages-card:hover,[data-theme=dark] .messages-card.active,[data-theme=dark] .tag.active,[data-theme=dark] .picker-item.active,[data-theme=dark] .recipient-chip.active{background:var(--table-hover)}[data-theme=dark] .table{background:#0d1830;border-color:#94a3b83d;box-shadow:0 10px 24px #0206176b,inset 0 1px #94a3b81f}[data-theme=dark] .table th,[data-theme=dark] .table td{border-color:#94a3b824}[data-theme=dark] .table thead th{background:linear-gradient(180deg,#0f1f3cfa,#0c1931fa);color:#e7efff}[data-theme=dark] .table tbody tr:nth-child(odd){background:#0e1a319e}[data-theme=dark] .table tbody tr:nth-child(2n){background:#111f39bd}[data-theme=dark] .table tbody tr:hover{background:#3b82f633}[data-theme=dark] .col{--col-bg: rgba(15,23,42,.86);background:radial-gradient(120% 120% at 0% 0%,rgba(148,163,184,.12),transparent 62%),linear-gradient(180deg,#0f172ae6,#0a0f1cf0);border:1px solid rgba(148,163,184,.2);box-shadow:0 10px 26px #0206176b,inset 0 1px #94a3b824}[data-theme=dark] .col>h3{color:#dbe7ff}[data-theme=dark] .col .stat{color:#93a4c4}[data-theme=dark] .card{background:linear-gradient(180deg,#0f182cf0,#0c1323f5);border-color:#60a5fa73;box-shadow:0 10px 22px #0206176b,inset 0 1px #94a3b824}[data-theme=dark] .card:hover{background:linear-gradient(180deg,#141f38fa,#0e1628fa)}[data-theme=dark] .card-placeholder{border-color:#94a3b847}[data-theme=dark] .drag-ghost{background:var(--surface);border-color:#60a5fa73;box-shadow:0 12px 24px #02061785}[data-theme=dark] #clients .table{background:#0d1830;border-color:#94a3b83d;box-shadow:0 10px 24px #0206176b,inset 0 1px #94a3b81f}[data-theme=dark] #clients .table th,[data-theme=dark] #clients .table td{border-color:#94a3b824}[data-theme=dark] #clients .table thead th{background:linear-gradient(180deg,#0f1f3cfa,#0c1931fa);color:#e7efff}[data-theme=dark] #clients .table tbody tr:nth-child(odd){background:#0e1a319e}[data-theme=dark] #clients .table tbody tr:nth-child(2n){background:#111f39bd}[data-theme=dark] #clients .table tbody tr:hover{background:#3b82f633}@keyframes deadlineLateBlink{0%,to{background:#dc26261f;border-color:#dc2626;box-shadow:0 0 #dc262600}50%{background:#dc262647;border-color:#b91c1c;box-shadow:0 0 0 3px #dc26262e}}.deadline-late-flash{animation:deadlineLateBlink .95s ease-in-out infinite}.project-todo-card{border-color:#2563eb40}.project-assignments-card{border-color:#0ea5e947}.project-assignments-grid{display:grid;gap:8px}.assignment-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,260px);gap:10px;align-items:center;padding:8px;border:1px solid var(--border);border-radius:8px;background:#ffffff85}.assignment-label{font-weight:800;color:var(--text)}.assignment-warning{margin-top:8px;border:1px solid rgba(245,158,11,.35);background:#f59e0b1a;color:#92400e;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:700}.todo-create-grid{display:grid;grid-template-columns:minmax(180px,1fr) 160px 140px 130px auto;gap:8px;align-items:end}.todo-create-note{margin-top:8px}.todo-summary-line{display:flex;gap:14px;align-items:center;color:var(--muted);font-size:12px;margin:10px 0 8px}.project-todo-list,.todo-board{display:grid;gap:8px}.todo-row,.todo-list-card{border:1px solid var(--border);border-radius:8px;background:#ffffffa3;overflow:hidden}.todo-row.done,.todo-list-card.done{opacity:.72}.todo-row-main,.todo-list-main{width:100%;border:0;background:transparent;color:var(--text);display:grid;grid-template-columns:108px 84px minmax(180px,1fr) 150px 120px;gap:8px;align-items:center;text-align:left;padding:10px;cursor:pointer}.todo-row-main:hover,.todo-list-main:hover{background:#2563eb0f}.todo-title,.todo-list-title{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.todo-assignee,.todo-due{color:var(--muted);font-size:12px}.todo-due.is-late,.todo-counter .is-late{color:#dc2626;font-weight:700}.todo-due.is-today{color:#c2410c;font-weight:700}.todo-status-badge,.todo-priority{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid transparent;white-space:nowrap}.todo-status-badge.is-open{background:#3b82f61a;color:#1d4ed8;border-color:#3b82f63d}.todo-status-badge.is-in_progress{background:#0ea5e91f;color:#0369a1;border-color:#0ea5e940}.todo-status-badge.is-waiting{background:#f59e0b24;color:#92400e;border-color:#f59e0b47}.todo-status-badge.is-done{background:#22c55e21;color:#15803d;border-color:#22c55e47}.todo-status-badge.is-cancelled{background:#64748b1f;color:#475569;border-color:#64748b47}.todo-priority.is-low{background:#64748b1a;color:#475569}.todo-priority.is-normal{background:#2563eb1a;color:#1d4ed8}.todo-priority.is-high{background:#ea580c1f;color:#c2410c}.todo-priority.is-urgent{background:#dc26261f;color:#b91c1c}.todo-row-actions,.todo-list-actions{display:flex;gap:8px;align-items:center;padding:0 10px 10px}.todo-row-actions select,.todo-list-actions select{width:150px}.todo-detail,.todo-list-detail{display:grid;grid-template-columns:minmax(220px,1fr) 170px 140px 130px auto;gap:8px;padding:10px;border-top:1px solid var(--border);background:#f8fafcb8;align-items:end}.todo-detail-meta{display:flex;flex-direction:column;gap:3px;font-size:12px;color:var(--muted)}.todo-filter-panel{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(6,minmax(130px,1fr)) auto;gap:8px;align-items:end;margin:12px 0}.todo-counter{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px;margin-top:4px}.todo-page-header{align-items:flex-start}.todo-assignment-panel{margin:10px 0 12px}.todo-assignment-grid{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(220px,1.4fr) minmax(140px,.8fr) 140px 130px auto;gap:8px;align-items:end}.todo-assignment-panel textarea{margin-top:8px}.todo-list-card{padding:0}.todo-list-meta{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:12px;padding:0 10px 8px}.link-button{border:0;background:transparent;color:#2563eb;padding:0;cursor:pointer;font-weight:700}.link-button:hover{text-decoration:underline}@media(max-width:1100px){.todo-create-grid,.todo-filter-panel,.todo-assignment-grid{grid-template-columns:1fr 1fr}.todo-row-main,.todo-list-main,.todo-detail,.todo-list-detail,.assignment-row{grid-template-columns:1fr}}.page.active.calendar-page{display:flex;flex-direction:column;gap:10px}.calendar-summary{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px}.calendar-summary .is-late{color:#dc2626;font-weight:700}.calendar-filter-panel{display:grid;grid-template-columns:230px repeat(4,minmax(140px,1fr)) auto;gap:8px;align-items:center}.segmented{display:inline-flex;padding:4px;border:1px solid var(--border);border-radius:10px;background:#e2e8f099}.segmented button{border:0;background:transparent;color:var(--text);border-radius:8px;padding:7px 12px;cursor:pointer;font-weight:700}.segmented button.active{background:#fff;box-shadow:0 1px 4px #0f172a1f}.calendar-check{display:flex;gap:7px;align-items:flex-start;color:var(--muted);font-size:13px}.calendar-check input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin-top:2px;cursor:pointer}.calendar-title-row{display:flex;justify-content:space-between;align-items:center;padding:4px 2px}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:12px;min-height:620px}.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#ffffffb8}.calendar-week-head{padding:9px 10px;font-weight:800;text-align:center;background:#f1f5f9eb;border-bottom:1px solid var(--border);color:var(--muted)}.calendar-day{min-height:112px;border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:transparent;color:var(--text);padding:8px;text-align:left;display:flex;flex-direction:column;gap:5px;cursor:pointer}.calendar-day:nth-child(7n+1){border-left:0}.calendar-day.outside{background:#f8fafcb8;color:#94a3b8}.calendar-day.selected{outline:2px solid rgba(37,99,235,.55);outline-offset:-2px;background:#2563eb0f}.calendar-day-number{font-weight:800}.calendar-day-count{min-height:15px;color:var(--muted);font-size:11px}.calendar-day-events{display:grid;gap:4px}.calendar-event{width:100%;min-height:22px;border:1px solid transparent;border-radius:6px;padding:3px 6px;color:#0f172a;font-size:11px;font-weight:700;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.calendar-event.is-todo,.calendar-status-chip.is-todo{background:#2563eb1f;border-color:#2563eb38;color:#1d4ed8}.calendar-event.is-project_deadline,.calendar-status-chip.is-project_deadline{background:#ea580c21;border-color:#ea580c40;color:#c2410c}.calendar-event.is-project_start,.calendar-status-chip.is-project_start{background:#14b8a621;border-color:#14b8a640;color:#0f766e}.calendar-event.is-project_sent,.calendar-status-chip.is-project_sent{background:#64748b21;border-color:#64748b3d;color:#475569}.calendar-event.is-approval,.calendar-status-chip.is-approval{background:#7c3aed21;border-color:#7c3aed40;color:#6d28d9}.calendar-event.is-hr_hire,.calendar-status-chip.is-hr_hire{background:#16a34a21;border-color:#16a34a40;color:#15803d}.calendar-event.is-hr_termination,.calendar-status-chip.is-hr_termination{background:#dc26261f;border-color:#dc26263d;color:#b91c1c}.calendar-event.is-hr_probation_end,.calendar-status-chip.is-hr_probation_end,.calendar-event.is-hr_fixed_term_end,.calendar-status-chip.is-hr_fixed_term_end{background:#ca8a0421;border-color:#ca8a0440;color:#a16207}.calendar-event.is-hr_absence,.calendar-status-chip.is-hr_absence{background:#0891b221;border-color:#0891b240;color:#0e7490}.calendar-event.is-hr_qualification_expiry,.calendar-status-chip.is-hr_qualification_expiry{background:#db27771f;border-color:#db27773d;color:#be185d}.calendar-event.is-hr_process_task,.calendar-status-chip.is-hr_process_task{background:#4f46e51f;border-color:#4f46e53d;color:#4338ca}.calendar-event.is-hr_birthday,.calendar-status-chip.is-hr_birthday{background:#db77061f;border-color:#db77063d;color:#b45309}.calendar-event.is-late,.calendar-week-card.is-late,.calendar-list-row.is-late{box-shadow:inset 3px 0 #dc2626}.calendar-event.is-today,.calendar-week-card.is-today,.calendar-list-row.is-today{box-shadow:inset 3px 0 #f97316}.calendar-more{color:var(--muted);font-size:11px;padding-left:4px}.calendar-side-panel{border:1px solid var(--border);border-radius:10px;background:#ffffffb8;padding:12px;overflow:auto}.calendar-side-panel h3{margin:0 0 10px;font-size:16px}.calendar-side-event{width:100%;border:1px solid var(--border);border-radius:8px;background:#f8fafcdb;color:var(--text);display:grid;grid-template-columns:auto 1fr;gap:4px 8px;text-align:left;padding:9px;margin-bottom:8px;cursor:pointer}.calendar-side-event span:not(.calendar-type-dot){grid-column:2;color:var(--muted);font-size:12px}.calendar-type-dot{width:10px;height:10px;border-radius:50%;margin-top:4px;background:#64748b}.calendar-type-dot.is-todo{background:#2563eb}.calendar-type-dot.is-project_deadline{background:#ea580c}.calendar-type-dot.is-project_start{background:#14b8a6}.calendar-type-dot.is-project_sent{background:#64748b}.calendar-type-dot.is-approval{background:#7c3aed}.calendar-type-dot.is-hr_hire{background:#16a34a}.calendar-type-dot.is-hr_termination{background:#dc2626}.calendar-type-dot.is-hr_probation_end,.calendar-type-dot.is-hr_fixed_term_end{background:#ca8a04}.calendar-type-dot.is-hr_absence{background:#0891b2}.calendar-type-dot.is-hr_qualification_expiry{background:#db2777}.calendar-type-dot.is-hr_process_task{background:#4f46e5}.calendar-type-dot.is-hr_birthday{background:#db7706}.calendar-week-grid{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:8px}.calendar-week-column{min-height:560px;border:1px solid var(--border);border-radius:10px;background:#ffffffb8;overflow:hidden}.calendar-week-column header{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px;background:#f1f5f9eb;border-bottom:1px solid var(--border)}.calendar-week-events{display:grid;gap:8px;padding:8px}.calendar-week-card{border:1px solid var(--border);border-radius:8px;background:#f8fafce6;color:var(--text);display:grid;gap:3px;text-align:left;padding:9px;cursor:pointer}.calendar-week-card span,.calendar-week-card small{color:var(--muted);font-size:12px}.calendar-list{display:grid;gap:8px}.calendar-list-row{width:100%;display:grid;grid-template-columns:110px 150px minmax(160px,1fr) minmax(180px,1.3fr) 160px 140px;gap:10px;align-items:center;border:1px solid var(--border);border-radius:8px;background:#ffffffb8;color:var(--text);padding:10px;text-align:left;cursor:pointer}.calendar-list-date{font-weight:800}.calendar-status-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:999px;min-height:25px;padding:4px 8px;font-size:12px;font-weight:800}@media(max-width:1200px){.calendar-layout{grid-template-columns:1fr}.calendar-filter-panel,.calendar-list-row{grid-template-columns:1fr 1fr}.calendar-week-grid{grid-template-columns:1fr}}.cash-page{display:block;overflow:auto}.cash-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.cash-page-head h2{margin:0 0 4px}.cash-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:14px}.cash-summary-card{display:flex;flex-direction:column;gap:6px;min-height:94px}.cash-summary-card strong{font-size:20px}.cash-desk-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-bottom:16px}.cash-desk-card{display:flex;flex-direction:column;gap:10px;min-height:140px}.cash-desk-rows{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.cash-desk-card-inactive{opacity:.65}.cash-desk-card-warn{border-left:3px solid var(--warn,#f59e0b)}.cash-desk-card-code{font-size:11px;font-weight:600;color:var(--text-soft);text-transform:uppercase;letter-spacing:.06em;margin-right:8px}.cash-desk-card-name{font-size:15px;font-weight:600}.cash-desk-row-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.cash-desk-row-identity{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.cash-desk-row-actions{display:flex;gap:6px;flex-shrink:0}.cash-desk-row-stats{display:flex;border-top:1px solid var(--border);padding-top:14px}.cash-desk-stat{flex:1;padding:0 20px;border-right:1px solid var(--border)}.cash-desk-stat:first-child{padding-left:0}.cash-desk-stat:last-child{border-right:none}.cash-desk-stat-main .cash-desk-stat-value{font-size:28px;font-weight:700;line-height:1.1;letter-spacing:-.02em}.cash-desk-stat-value{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.cash-desk-stat-label{font-size:11px;color:var(--text-soft);margin-top:3px}.cash-filter-panel,.cash-report-controls,.cash-closing-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end;margin-bottom:12px}.cash-table-wrap{overflow:auto;border-radius:12px}.cash-receipt-table{min-width:1260px;table-layout:fixed;font-size:12.5px}.cash-receipt-table th,.cash-receipt-table td{padding:6px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cash-receipt-table th{font-size:11.5px}.cash-receipt-table .col-date{width:72px}.cash-receipt-table .col-dir{width:52px}.cash-receipt-table .col-num{width:110px}.cash-receipt-table .col-partner{width:140px}.cash-receipt-table .col-amount{width:86px;text-align:right}.cash-receipt-table .col-status{width:96px}.cash-receipt-table .col-desk{width:102px}.cash-receipt-table .col-report{width:62px;text-align:center}.cash-receipt-table .col-cashier{width:76px}.cash-receipt-table .col-actions{width:186px;text-align:center;overflow:hidden}.cash-row-actions{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-wrap:nowrap}.cash-row-actions .btn{padding:4px 7px;font-size:12px}.cash-form-card{display:flex;flex-direction:column;gap:12px}.cash-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.cash-attachments{display:flex;gap:8px;flex-wrap:wrap}.cash-report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px}.cash-report-summary div{border:1px solid var(--border);border-radius:10px;padding:10px;background:var(--surface-soft)}.cash-report-summary span,.cash-report-summary strong{display:block}.cash-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.cash-inline-form{display:grid;grid-template-columns:1fr 1.3fr 1fr auto;gap:8px;margin-bottom:12px}.cash-setting-row{display:grid;grid-template-columns:90px 1fr auto;gap:8px;padding:8px 0;border-top:1px solid var(--border)}.cash-warning{padding:8px 10px;border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:10px;margin:6px 0}.cash-error{border-color:#fecaca;color:#991b1b;background:#fef2f2}.cash-status-draft{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.cash-status-posted{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.cash-status-cancelled{background:#fef2f2;color:#991b1b;border-color:#fecaca}.cash-status-info{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}.cash-status-warning{background:#fffbeb;color:#92400e;border-color:#fde68a}.cash-status-manual{background:#f5f3ff;color:#5b21b6;border-color:#ddd6fe}.cash-income{color:#15803d;font-variant-numeric:tabular-nums}.cash-expense,.cash-doc-number{color:#dc2626;font-variant-numeric:tabular-nums}.incoming-registered-num{font-variant-numeric:tabular-nums;color:var(--text)}.incoming-fieldset{border:none;margin:0;padding:0;min-width:0}.incoming-fieldset:disabled{opacity:.72;pointer-events:none}.incoming-finalized-notice{border-color:#bbf7d0;color:#166534;background:#f0fdf4;font-size:13px}.incoming-head-actions{display:flex;gap:8px;align-items:center}.nav-import-modal{width:100%;max-width:640px}.nav-import-desc{margin-bottom:16px;color:var(--text-soft)}.nav-import-range{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.nav-import-range label{min-width:132px}.nav-import-result{margin-top:0}.nav-import-list-wrap{display:flex;flex-direction:column;gap:8px}.nav-import-list-header{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--text-soft)}.nav-import-list-actions{display:flex;gap:6px}.nav-import-list{display:flex;flex-direction:column;gap:4px;max-height:360px;overflow:auto;border:1px solid var(--border);border-radius:8px;padding:4px}.nav-import-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer}.nav-import-row:hover{background:var(--surface-soft, rgba(0,0,0,.03))}.nav-import-row-existing{opacity:.55;cursor:not-allowed}.nav-import-row-main{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}.nav-import-row-supplier{font-size:12px;color:var(--text-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-import-row-date{font-size:12px;color:var(--text-soft);width:90px;text-align:right}.nav-import-row-amount{font-variant-numeric:tabular-nums;width:110px;text-align:right}.nav-import-row-badge{font-size:11px;color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;padding:2px 8px;white-space:nowrap}.incoming-nav-check{min-height:32px;min-width:auto}.incoming-success{border-color:#bbf7d0;color:#166534;background:#f0fdf4}.incoming-page.page.active{overflow:hidden;display:flex;flex-direction:column}.incoming-page .cash-table-wrap{flex:1 1 0;min-height:0;overflow:auto}.incoming-stats-panel{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:10px 14px;margin-bottom:10px;flex:0 0 auto}.incoming-stats-head{display:flex;align-items:center;gap:10px;margin-bottom:9px;flex-wrap:wrap}.incoming-stats-label{font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--text-soft);white-space:nowrap}.incoming-stats-year-nav{display:flex;align-items:center;gap:3px}.incoming-stats-nav-btn{background:none;border:1px solid var(--border);border-radius:5px;width:22px;height:22px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;color:var(--text-soft);padding:0;line-height:1}.incoming-stats-nav-btn:hover{background:var(--surface-soft)}.incoming-stats-year{font-size:13px;font-weight:600;min-width:38px;text-align:center}.incoming-stats-months{display:flex;gap:2px;flex-wrap:wrap}.incoming-stats-month{padding:2px 5px;font-size:11px;border:1px solid transparent;border-radius:5px;background:none;cursor:pointer;color:var(--text-soft);line-height:1.5}.incoming-stats-month:hover{background:var(--surface-soft);color:var(--text)}.incoming-stats-month.active{background:var(--primary);color:#fff;border-color:var(--primary)}.incoming-stats-month-alert:not(.active){background:#fef2f2;border-color:#fca5a5;color:#dc2626}.incoming-stats-month-wide{margin-left:4px;border:1px solid var(--border)}.incoming-stats-warn{font-size:11.5px;color:#b45309;font-weight:500;margin-top:5px}.incoming-stats-loading{font-size:11px;color:var(--text-soft)}.incoming-stats-grid{display:flex;gap:8px;flex-wrap:wrap}.incoming-stats-card{flex:1;min-width:110px;padding:6px 10px;background:var(--bg);border:1px solid var(--border);border-radius:8px}.incoming-stats-val{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.incoming-stats-key{font-size:11px;color:var(--text-soft);margin-top:1px}.incoming-stat-paid{color:#166534}.incoming-stat-pending{color:#92400e}.incoming-stats-source-card{display:flex;flex-direction:column;justify-content:center}.incoming-stats-source-row{display:flex;gap:12px;font-size:13px;font-variant-numeric:tabular-nums}.incoming-stats-source-row .incoming-stats-key{display:inline;margin:0 2px 0 0}.incoming-filter-panel{grid-template-columns:minmax(260px,1.4fr) repeat(4,minmax(130px,1fr)) auto}.incoming-invoice-table{min-width:1420px;table-layout:fixed;font-size:12.5px}.incoming-invoice-table th,.incoming-invoice-table td{padding:7px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.incoming-invoice-table .num{text-align:right;font-variant-numeric:tabular-nums}.incoming-click-row{cursor:pointer}.incoming-click-row:hover{background:var(--surface-soft)}.incoming-status-neutral{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.incoming-status-ok{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.incoming-status-warn{background:#fffbeb;color:#92400e;border-color:#fde68a}.incoming-status-bad{background:#fef2f2;color:#991b1b;border-color:#fecaca}.incoming-status-info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.modal>div.incoming-invoice-modal,.cash-receipt-modal-panel.incoming-invoice-modal{width:min(1560px,calc(100vw - 64px));max-width:none}.incoming-invoice-modal .cash-receipt-modal-body{overflow-x:hidden}.incoming-form-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;margin-bottom:14px}.incoming-cash-link{border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin:4px 0 14px;background:var(--surface-soft)}.incoming-cash-link .incoming-section-head{margin:0 0 10px}.incoming-cash-grid{grid-template-columns:220px 280px minmax(280px,1fr);align-items:end;margin-bottom:0}.incoming-cash-hint{font-size:12px;color:var(--text-soft);line-height:1.35;padding-bottom:5px;min-width:0;overflow-wrap:anywhere}.incoming-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0}.incoming-items-table{min-width:860px;font-size:12.5px}.incoming-items-table th,.incoming-items-table td{padding:5px 6px}.incoming-items-table input,.incoming-items-table select{min-height:28px}.incoming-calc-field{background:var(--surface-soft)!important;color:var(--text-soft);cursor:default;font-variant-numeric:tabular-nums;text-align:right}.incoming-calc-gross{color:var(--text)!important;font-weight:600}.incoming-aam-warning{border-radius:8px;padding:8px 12px;font-size:13px;margin-bottom:6px;line-height:1.4}.incoming-aam-suspicious{background:#fef9c3;border:1px solid #fde047;color:#713f12}.incoming-aam-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.incoming-project-costing{border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin:12px 0;background:var(--surface-soft)}.incoming-project-costing .incoming-section-head{margin:0 0 10px}.cost-suggest-row{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.cost-suggest-group{display:flex;flex-direction:column;gap:4px}.cost-suggest-group-label{font-size:12px;font-weight:600;color:var(--text-soft)}.cost-suggest-list{display:flex;flex-wrap:wrap;gap:6px}.cost-suggest-chip{border:1px solid var(--accent,#2563eb);background:var(--surface);color:var(--accent,#2563eb);border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:600;cursor:pointer;text-align:left}.cost-suggest-chip:hover{background:var(--accent,#2563eb);color:#fff}.incoming-project-cost-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-bottom:10px}.incoming-project-cost-grid-small{grid-template-columns:repeat(4,minmax(160px,1fr));margin-top:10px}.incoming-project-lines-wrap{max-height:300px;overflow:auto;background:var(--surface);border-radius:8px}.incoming-project-lines-table{min-width:980px;font-size:12.5px}.incoming-project-lines-table th,.incoming-project-lines-table td{padding:6px 8px;vertical-align:middle}.incoming-project-lines-table th:first-child,.incoming-project-lines-table td:first-child{width:38px;text-align:center}.incoming-project-lines-table input[type=checkbox]{width:auto}.incoming-project-lines-table input:not([type=checkbox]):not([type=radio]),.incoming-project-lines-table select{min-height:30px}.incoming-project-lines-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.inc-proj-row-full>td{background:#f0fdf4;opacity:.7}.inc-proj-row-partial>td{background:#fffbeb}.inc-proj-row-warehouse>td{background:#f0f9ff;opacity:.75}.inc-proj-assigned-badge{display:inline-block;font-size:10px;border-radius:4px;padding:1px 5px;margin-left:5px;background:#d1fae5;color:#065f46;border:1px solid #6ee7b7;vertical-align:middle}.inc-proj-partial-badge{background:#fef3c7;color:#92400e;border-color:#fde68a}.inc-proj-assigned-val{color:#059669;font-weight:600}.incoming-total-row{display:flex;justify-content:flex-end;gap:24px;flex-wrap:wrap;font-variant-numeric:tabular-nums;padding-top:10px}.inc-workflow-modal{width:min(520px,calc(100vw - 48px))!important;max-width:none}.inc-workflow-info-row{display:flex;gap:8px;align-items:baseline;padding:3px 0;font-size:13.5px}.inc-wf-label{color:var(--text-soft);min-width:72px;font-size:12.5px}.inc-workflow-field{margin-top:10px}.inc-workflow-field label{font-size:13px;display:block}.inc-workflow-field textarea{margin-top:4px;font-size:13px;resize:vertical;border:1px solid var(--border);border-radius:6px;padding:6px 8px;background:var(--bg);color:var(--text)}.inc-workflow-approve-notice{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;border-radius:8px;padding:8px 12px;font-size:13px;margin:10px 0;line-height:1.4}.inc-workflow-paid-warning{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b;border-radius:8px;padding:8px 12px;font-size:13px;margin:10px 0;line-height:1.4}.inc-workflow-confirm-check{display:flex;align-items:flex-start;gap:8px;margin-top:10px;font-size:13px;line-height:1.4}.inc-workflow-confirm-check input[type=checkbox]{margin-top:2px;flex-shrink:0;width:auto}.btn.inc-btn-approve{background:#16a34a;color:#fff;border-color:#16a34a}.btn.inc-btn-approve:hover:not(:disabled){background:#15803d;border-color:#15803d}.btn.inc-btn-approve:disabled{opacity:.55}.btn.inc-btn-reject:disabled{opacity:.55}.btn.inc-btn-reject{background:#dc2626;color:#fff;border-color:#dc2626}.btn.inc-btn-reject:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.btn.inc-btn-storno{background:#ea580c;color:#fff;border-color:#ea580c}.btn.inc-btn-storno:hover:not(:disabled){background:#c2410c;border-color:#c2410c}.btn.inc-btn-storno:disabled{opacity:.5;cursor:not-allowed}.btn.inc-btn-storno-sm{background:none;border:1px solid #ea580c;color:#ea580c;font-size:12px;padding:4px 10px}.btn.inc-btn-storno-sm:hover{background:#fff7ed}.btn.inc-btn-review{background:#7c3aed;color:#fff;border-color:#7c3aed}.btn.inc-btn-review:hover:not(:disabled){background:#6d28d9;border-color:#6d28d9}.btn.inc-btn-pay{background:#0891b2;color:#fff;border-color:#0891b2}.btn.inc-btn-pay:hover:not(:disabled){background:#0e7490;border-color:#0e7490}.inc-review-info-panel{border-radius:10px;padding:10px 14px;margin-bottom:12px;border:1px solid;font-size:13px;background:#f0f9ff;border-color:#7dd3fc;color:#0c4a6e}.inc-review-info-title{font-weight:600;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px;opacity:.8}.inc-review-info-row{display:flex;gap:8px;align-items:flex-start;padding:2px 0;line-height:1.35}.inc-review-info-row>span:first-child{min-width:72px;color:inherit;opacity:.7;font-size:12.5px;flex-shrink:0}.inc-review-note{white-space:pre-wrap;word-break:break-word}.inc-review-rejected{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.inc-review-approved{background:#f0fdf4;border-color:#86efac;color:#166534}.inc-review-storno{background:#f8fafc;border-color:#cbd5e1;color:#475569}.inc-payment-info-panel{background:#ecfdf5;border-color:#6ee7b7;color:#065f46}.inc-payment-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.inc-payment-info-grid .inc-review-info-row{min-width:0}.incoming-row-rejected>td{background:#fff5f5}.incoming-row-storno>td{background:#f8fafc;opacity:.75}.incoming-row-storno .incoming-registered-num{text-decoration:line-through;color:var(--text-soft)}.incoming-row-overdue>td{background:#fee2e2}.incoming-row-due-warning>td{background:#fce7f3}.incoming-row-due-soon>td{background:#fef9c3}.incoming-reviewer-badge{display:inline-block;font-size:10.5px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;border-radius:4px;padding:1px 5px;margin-left:4px;vertical-align:middle}.incoming-assign-btn{position:relative;white-space:nowrap}.incoming-assign-badge{display:inline-flex;align-items:center;justify-content:center;background:#dc2626;color:#fff;font-size:10px;font-weight:700;border-radius:10px;min-width:16px;height:16px;padding:0 3px;margin-left:4px;vertical-align:middle;line-height:1}.cash-receipt-form{display:flex;flex-direction:column;gap:10px}.cash-receipt-meta-bar{display:flex;gap:20px;flex-wrap:wrap;padding:2px 0}.cash-section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-soft);margin-bottom:8px}.cash-balance-card .cash-two-pair{margin-top:4px}.cash-two-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cash-two-pair label,.cash-voucher-grid label{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:8px;font-size:13px}.cash-voucher-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.cash-label-row{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:8px;font-size:13px}.cash-receipt-form input:not([type=checkbox]):not([type=radio]),.cash-receipt-form select,.cash-receipt-form textarea{border-radius:6px;min-height:30px}.cash-receipt-form input[readonly],.cash-receipt-form select:disabled{background:var(--bg);color:var(--text-soft)}.cash-tabbar{margin-bottom:-1px}.cash-tab-body{border-top-left-radius:0}.cash-item-table{background:var(--surface)}.cash-item-table th,.cash-item-table td{height:28px;padding:4px 8px}.cash-partner-field{position:relative}.cash-partner-field input:not([type=checkbox]):not([type=radio]){padding-right:30px;width:100%}.cash-partner-search-btn{position:absolute;right:7px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:var(--text-soft);padding:2px;display:flex;align-items:center;line-height:1}.cash-partner-search-btn:hover{color:var(--primary,#2563eb)}.cash-partner-dropdown{position:absolute;top:calc(100% + 2px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #0f172a21;z-index:40;overflow:hidden;max-height:260px;overflow-y:auto}.cash-partner-suggest{display:flex;align-items:baseline;gap:10px;width:100%;padding:8px 12px;background:none;border:none;border-bottom:1px solid var(--border);cursor:pointer;text-align:left}.cash-partner-suggest:last-child{border-bottom:none}.cash-partner-suggest:hover{background:var(--bg)}.cash-partner-suggest-name{font-size:14px;font-weight:500;flex:1}.cash-partner-suggest-tax{font-size:12px;color:var(--text-soft);flex-shrink:0}.cash-item-overlay{position:fixed;inset:0;background:#00000059;z-index:50;display:flex;align-items:center;justify-content:center}.cash-item-editor-box{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:20px 22px;min-width:440px;max-width:94vw;box-shadow:0 8px 32px #0f172a2e}.cash-check{display:flex;gap:8px;align-items:center}.cash-check input{width:auto}.inc-advance-check{margin-bottom:12px;padding:8px 10px;background:var(--surface-soft);border:1px solid var(--border);border-radius:8px;font-size:13px}.cash-attachments{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:900px){.cash-two-pair,.cash-voucher-grid,.cash-two-pair label,.cash-voucher-grid label,.cash-label-row,.incoming-form-grid,.incoming-filter-panel,.incoming-cash-grid,.incoming-project-cost-grid,.incoming-project-cost-grid-small{grid-template-columns:1fr}.incoming-nav-card{align-items:flex-start;flex-direction:column}.incoming-nav-controls{justify-content:flex-start;width:100%}}@media(max-width:760px){.cash-page-head{flex-direction:column}.cash-inline-form{grid-template-columns:1fr}}.cash-receipt-modal-overlay{align-items:flex-start;justify-content:center;padding:24px 12px;overflow-y:auto}.cash-receipt-modal-panel{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;max-width:1000px;display:flex;flex-direction:column;max-height:calc(100vh - 48px);overflow:hidden}.cash-receipt-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);flex-shrink:0;gap:12px}.loading-overlay{position:absolute;inset:0;background:color-mix(in srgb,var(--surface) 88%,transparent);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;z-index:80;border-radius:inherit}.loading-overlay-spinner{width:34px;height:34px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:loading-overlay-spin .8s linear infinite}.loading-overlay-text{font-size:13px;font-weight:600;color:var(--text)}@keyframes loading-overlay-spin{to{transform:rotate(360deg)}}.cash-receipt-modal-body{overflow-y:auto;padding:16px 20px;flex:1}.cash-receipt-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--border);flex-shrink:0}.cash-receipt-modal-body .cash-receipt-form{gap:12px}.cash-closing-modal-overlay{align-items:flex-start;justify-content:center;padding:24px 12px;overflow-y:auto}.cash-closing-modal-panel{background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;max-width:860px;display:flex;flex-direction:column;max-height:calc(100vh - 48px);overflow:hidden}.cash-closing-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);flex-shrink:0;gap:12px}.cash-closing-modal-body{overflow-y:auto;padding:16px 20px;flex:1}.cash-closing-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--border);flex-shrink:0}.cash-closing-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cash-closing-section{display:flex;flex-direction:column;gap:8px}.cash-closing-section label{display:flex;flex-direction:column;gap:3px;font-size:13px}.cash-closing-balance-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px}.cash-denom-table{font-size:13px}.cash-denom-table .num{text-align:right}.cash-denom-input{width:64px;text-align:right;padding:2px 6px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text)}.cash-denom-input:disabled{background:var(--surface-soft);color:var(--text-soft)}.cash-closing-status-closed{background:#dcfce7;color:#166534;border-color:#bbf7d0}.cash-closing-status-reopened{background:#fef3c7;color:#92400e;border-color:#fde68a}.cash-closing-status-open{background:#f1f5f9;color:#475569;border-color:#cbd5e1}@media(max-width:640px){.cash-closing-two-col{grid-template-columns:1fr}}.cash-desk-row-forgalom{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.cash-stats-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap;gap:8px}.cash-stats-tabs{display:flex;gap:4px}.cash-stats-tab{padding:4px 10px;border:1px solid var(--border);border-radius:6px;background:var(--bg);font-size:12px;cursor:pointer;color:var(--text-soft)}.cash-stats-tab.active{background:var(--primary,#2563eb);color:#fff;border-color:var(--primary,#2563eb)}.cash-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.cash-stats-block{border:1px solid var(--border);border-radius:10px;padding:10px 14px;background:var(--surface-soft)}.cash-stats-label{font-size:11px;color:var(--text-soft);margin-bottom:2px}.cash-stats-value{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.cash-stats-block.income .cash-stats-value{color:#166534}.cash-stats-block.expense .cash-stats-value{color:#991b1b}.cash-stat-bar-wrap{margin-bottom:8px}.cash-stat-bar{height:6px;border-radius:3px;display:flex;overflow:hidden;background:var(--border)}.cash-stat-bar-income{background:#16a34a;height:100%}.cash-stat-bar-expense{background:#dc2626;height:100%}.cash-stat-bar-empty{background:var(--border);height:100%}.cash-stats-legend{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-soft)}.cash-stats-legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%}.cash-stats-legend-dot.income{background:#16a34a}.cash-stats-legend-dot.expense{background:#dc2626}.cs-layout{display:grid;grid-template-columns:220px 1fr;gap:0;min-height:480px;background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden}.cs-nav{border-right:1px solid var(--border);padding:8px;display:flex;flex-direction:column;gap:2px;background:var(--surface-soft)}.cs-nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:none;background:none;cursor:pointer;text-align:left;font-size:13.5px;color:var(--text);width:100%;transition:background .12s}.cs-nav-item:hover{background:var(--border)}.cs-nav-item.active{background:var(--primary,#2563eb);color:#fff;font-weight:600}.cs-nav-icon{font-size:16px;flex-shrink:0;width:20px;text-align:center}.cs-nav-count{margin-left:auto;background:#0000001f;border-radius:10px;padding:1px 7px;font-size:11px;font-weight:700}.cs-nav-item.active .cs-nav-count{background:#ffffff40}.cs-content{padding:24px 28px;min-width:0}.cs-section{display:flex;flex-direction:column;gap:0}.cs-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px;flex-wrap:wrap}.cs-section-title{font-size:17px;font-weight:700}.cs-section-sub{font-size:12.5px;color:var(--text-soft);margin-top:2px}.cs-list{display:flex;flex-direction:column;gap:0;border:1px solid var(--border);border-radius:10px;overflow:hidden}.cs-list-row{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid var(--border);background:var(--surface)}.cs-list-row:last-child{border-bottom:none}.cs-list-row:hover{background:var(--surface-soft)}.cs-list-row-main{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.cs-list-row-meta{display:flex;align-items:center;gap:8px;flex-shrink:0}.cs-list-row-actions{flex-shrink:0}.cs-code{font-size:12px;font-weight:700;font-family:monospace;background:var(--surface-soft);border:1px solid var(--border);border-radius:5px;padding:1px 6px;flex-shrink:0}.cs-name{font-size:13.5px;font-weight:500;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-balance{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.cs-empty{padding:24px;text-align:center;color:var(--text-soft);font-size:13px}.cs-policy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.cs-policy-group{display:flex;flex-direction:column;gap:10px}.cs-group-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft);margin-bottom:2px;padding-bottom:6px;border-bottom:1px solid var(--border)}@media(max-width:700px){.cs-layout{grid-template-columns:1fr}.cs-nav{flex-direction:row;border-right:none;border-bottom:1px solid var(--border);overflow-x:auto}.cs-content{padding:16px}}.outgoing-page.page.active{overflow:hidden;display:flex;flex-direction:column}.outgoing-page .cash-table-wrap{flex:1 1 0;min-height:0;overflow:auto}.cash-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.cash-filters input:not([type=checkbox]):not([type=radio]),.cash-filters select{flex:0 0 auto;width:auto;min-width:120px}.cash-filter-search{flex:1 1 200px!important;min-width:200px!important}.outgoing-stats-panel{margin-bottom:12px;padding:14px 18px}.outgoing-stats-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.outgoing-stats-year-nav{display:flex;align-items:center;gap:6px;flex-shrink:0}.outgoing-stats-nav-btn{background:none;border:1px solid var(--border);border-radius:6px;padding:2px 8px;cursor:pointer;font-size:16px;color:var(--text-soft);line-height:1}.outgoing-stats-nav-btn:hover{background:var(--surface-soft)}.outgoing-stats-year{font-size:15px;font-weight:700;min-width:44px;text-align:center}.outgoing-stats-months{display:flex;flex-wrap:wrap;gap:4px;flex:1}.outgoing-stats-month{padding:3px 8px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);cursor:pointer;font-size:12px;color:var(--text-soft);transition:all .12s}.outgoing-stats-month:hover{border-color:var(--primary);color:var(--primary)}.outgoing-stats-month.active{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.outgoing-stats-month-wide{min-width:72px}.outgoing-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.outgoing-stats-card{background:var(--surface-soft);border:1px solid var(--border);border-radius:8px;padding:10px 14px}.outgoing-stats-val{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}.outgoing-stats-key{font-size:11px;color:var(--text-soft);margin-top:2px}.outgoing-stat-gross .outgoing-stats-val{color:#0f4c81}.outgoing-stat-net .outgoing-stats-val,.outgoing-stat-paid .outgoing-stats-val{color:#166534}.outgoing-stat-overdue{border-color:#fca5a5;background:#fef2f2}.outgoing-stat-overdue .outgoing-stats-val{color:#dc2626}.outgoing-stats-loading{font-size:12px;color:var(--text-soft);padding:8px 0}.outgoing-invoice-number{font-variant-numeric:tabular-nums;font-weight:600;color:var(--text)}.outgoing-type-badge{display:inline-block;margin-left:6px;font-size:10px;font-weight:700;padding:1px 5px;border-radius:4px;vertical-align:middle}.outgoing-type-proforma{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.outgoing-type-storno{background:#fef2f2;color:#991b1b;border:1px solid #fca5a5}.outgoing-type-correction{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.outgoing-type-imported{background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe}.outgoing-invoice-table{min-width:960px;table-layout:fixed;font-size:12.5px}.outgoing-invoice-table th,.outgoing-invoice-table td{padding:6px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outgoing-invoice-table .num{text-align:right;font-variant-numeric:tabular-nums}.outgoing-row-overdue,.table tbody tr.outgoing-row-overdue,.table tbody tr.outgoing-row-overdue:nth-child(2n){background:#fef2f2}[data-theme=dark] .table tbody tr.outgoing-row-overdue,[data-theme=dark] .table tbody tr.outgoing-row-overdue:nth-child(odd),[data-theme=dark] .table tbody tr.outgoing-row-overdue:nth-child(2n){background:#7f1d1d47}.outgoing-due-overdue{color:#dc2626;font-weight:600}.outgoing-row-actions{display:flex;gap:4px;flex-wrap:nowrap;align-items:center}.outgoing-action-icon{width:34px;height:34px;min-width:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border,#d7dee9);border-radius:10px;background:var(--surface,#fff);color:var(--text,#1f2937);cursor:pointer;transition:background .15s,border-color .15s,color .15s,transform .15s}.outgoing-action-icon svg{width:18px;height:18px;pointer-events:none}.outgoing-action-icon:hover:not(:disabled){background:var(--surface-2,#f3f6fa);border-color:#8aa5ca;transform:translateY(-1px)}.outgoing-action-icon.primary{background:#2f6fd8;border-color:#2f6fd8;color:#fff}.outgoing-action-icon.primary:hover:not(:disabled){background:#245fc0;border-color:#245fc0}.outgoing-action-icon.danger{background:#fff;border-color:#fca5a5;color:#dc2626}.outgoing-action-icon.danger:hover:not(:disabled){background:#dc2626;border-color:#dc2626;color:#fff}.outgoing-action-icon:disabled{opacity:.45;cursor:not-allowed;transform:none}.outgoing-action-icon:focus-visible{outline:3px solid rgba(47,111,216,.3);outline-offset:2px}[data-theme=dark] .outgoing-action-icon{background:#172033;border-color:#39465d;color:#e6edf7}.btn.danger{background:#fef2f2;border-color:#fca5a5;color:#dc2626}.btn.danger:hover{background:#dc2626;color:#fff}.outgoing-status-draft{background:#f1f5f9;color:#64748b}.outgoing-status-issued{background:#eff6ff;color:#1d4ed8}.outgoing-status-sent{background:#f0fdf4;color:#166534}.outgoing-status-partial{background:#fffbeb;color:#92400e}.outgoing-status-paid{background:#dcfce7;color:#166534}.outgoing-status-overdue{background:#fef2f2;color:#dc2626}.outgoing-status-cancelled{background:#f1f5f9;color:#94a3b8}.outgoing-invoice-overlay{padding:6px 12px;align-items:center;overflow:hidden}.cash-receipt-modal-panel.cost-new-modal{width:min(1100px,calc(100vw - 48px));max-width:none;max-height:calc(100vh - 32px)}.cash-receipt-modal-panel.cost-new-modal .cash-receipt-modal-body{overflow-y:auto;padding:20px 28px}.cash-receipt-modal-panel.outgoing-invoice-modal{width:min(1400px,calc(100vw - 64px));max-width:none;height:min(900px,calc(100vh - 24px));max-height:calc(100vh - 24px);overflow:hidden}.cash-receipt-modal-panel.outgoing-invoice-modal .cash-receipt-modal-header{padding:10px 16px;flex:0 0 auto}.cash-receipt-modal-panel.outgoing-invoice-modal .cash-receipt-modal-body{padding:12px 28px 10px;overflow-y:auto;overflow-x:hidden;flex:1 1 auto;min-height:0}.cash-receipt-modal-panel.outgoing-invoice-modal .cash-receipt-modal-footer{padding:10px 28px 14px;gap:8px;flex:0 0 auto}.outgoing-fieldset{border:none;margin:0;padding:0;min-width:0}.outgoing-fieldset:disabled{opacity:.72;pointer-events:none}.outgoing-readonly-notice{border-color:#bbf7d0;color:#166534;background:#f0fdf4;font-size:13px;margin-bottom:10px}.outgoing-import-note{font-size:12px;line-height:1.45;color:#475569;background:#f8fafc;border:1px solid var(--border);border-radius:8px;padding:9px 11px;margin-bottom:10px}.outgoing-form-grid-3 label.outgoing-check-line,.outgoing-form-grid-4 label.outgoing-check-line{flex-direction:row;align-items:center;gap:8px;padding:25px 8px 0;color:var(--text);font-weight:500}.outgoing-check-line input[type=checkbox]{width:15px;height:15px;flex-shrink:0}.outgoing-form-section-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft);margin-bottom:6px;padding-bottom:5px;border-bottom:1px solid var(--border)}.outgoing-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.outgoing-form-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 10px}.outgoing-form-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 10px}.outgoing-form-grid label,.outgoing-form-grid-3 label,.outgoing-form-grid-4 label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:500;color:var(--text-soft)}.outgoing-form-grid label input:not([type=checkbox]):not([type=radio]),.outgoing-form-grid label select,.outgoing-form-grid-3 label input:not([type=checkbox]):not([type=radio]),.outgoing-form-grid-3 label select,.outgoing-form-grid-4 label input:not([type=checkbox]):not([type=radio]),.outgoing-form-grid-4 label select{font-size:13px;padding:5px 8px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);width:100%}.outgoing-form-grid label.span2,.outgoing-form-grid-3 label.span2,.outgoing-form-grid-4 label.span2{grid-column:span 2}.outgoing-form-grid-4 label.span3{grid-column:span 3}.outgoing-form-grid-4{margin-bottom:12px}@media(max-width:700px){.outgoing-form-grid-3,.outgoing-form-grid-4{grid-template-columns:1fr 1fr}.outgoing-form-grid-4 label.span3{grid-column:span 2}}.outgoing-items-wrap{border:1px solid var(--border);border-radius:8px;overflow:hidden}.outgoing-items-header{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;background:var(--surface-soft);border-bottom:1px solid var(--border);font-size:12px;font-weight:700;color:var(--text-soft);text-transform:uppercase;letter-spacing:.06em}.outgoing-items-table-wrap{overflow:auto;max-height:184px}.outgoing-items-table{width:100%;border-collapse:collapse;font-size:12px}.outgoing-items-table thead tr{background:#0f4c81;color:#fff}.outgoing-items-table thead th{position:sticky;top:0;z-index:1;background:#0f4c81;padding:6px 8px;text-align:left;font-weight:600;white-space:nowrap}.outgoing-items-table thead th.right,.outgoing-items-table td.right{text-align:right}.outgoing-items-table tbody tr:nth-child(2n){background:var(--surface-soft)}.outgoing-items-table tbody td{padding:4px 8px;border-bottom:1px solid var(--border)}.outgoing-item-input{width:100%;border:1px solid transparent;border-radius:4px;padding:2px 5px;background:transparent;font-size:12px;color:var(--text)}.outgoing-item-input:focus{border-color:var(--primary);background:var(--surface);outline:none}.outgoing-item-input.right{text-align:right}select.outgoing-item-input{appearance:auto;padding-right:20px;min-width:68px}.outgoing-item-svc-btn{background:none;border:1px solid var(--border);border-radius:4px;padding:2px 5px;cursor:pointer;font-size:13px;color:var(--text-soft);flex-shrink:0;line-height:1}.outgoing-item-svc-btn:hover{background:var(--surface-soft);color:var(--primary)}.outgoing-customer-input-wrap{display:flex;gap:4px;align-items:center}.outgoing-customer-input-wrap input{flex:1}.outgoing-client-pick-btn{padding:3px 8px;font-size:14px;flex-shrink:0}.outgoing-item-calc{display:block;text-align:right;font-variant-numeric:tabular-nums;font-size:12px;color:var(--text-soft)}.outgoing-item-gross{color:var(--text);font-weight:600}.outgoing-item-del{background:none;border:none;color:#ef4444;cursor:pointer;font-size:16px;padding:0 4px;line-height:1}.outgoing-ac-list{position:absolute;top:100%;left:0;right:0;z-index:200;background:var(--surface);border:1px solid var(--border);border-radius:6px;margin:2px 0 0;padding:0;list-style:none;box-shadow:0 4px 12px #0000001f;max-height:200px;overflow-y:auto}.outgoing-ac-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;cursor:pointer;font-size:12px}.outgoing-ac-item:hover{background:var(--surface-soft)}.outgoing-ac-name{flex:1;font-weight:500}.outgoing-ac-code{color:var(--text-soft);font-size:11px;white-space:nowrap}.outgoing-item-del:hover{color:#dc2626}.outgoing-items-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 12px;background:var(--surface-soft);border-top:1px solid var(--border)}.outgoing-vat-summary{display:flex;flex-direction:column;gap:4px;flex:1;font-size:11px}.outgoing-vat-row{display:flex;gap:16px;padding:3px 8px;border-radius:4px;background:var(--surface)}.outgoing-vat-rate{font-weight:700;color:var(--text);min-width:36px}.outgoing-totals-box{border:2px solid #0f4c81;border-radius:6px;padding:7px 14px;background:#f0f7ff;min-width:180px}.outgoing-total-row{display:flex;justify-content:space-between;gap:16px;padding:2px 0;font-size:12px}.outgoing-total-row span{color:var(--text-soft)}.outgoing-total-row.grand{border-top:2px solid #0f4c81;margin-top:4px;padding-top:5px;font-size:14px;font-weight:800;color:#0f4c81}.outgoing-pay-panel{max-width:480px;width:100%}.outgoing-pay-invoice-ref{font-size:13px;font-weight:600;color:var(--text);padding:8px 10px;background:var(--surface-soft);border:1px solid var(--border);border-radius:6px;margin-bottom:12px}.outgoing-pay-breakdown{border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-bottom:12px}.outgoing-pay-breakdown-row{display:flex;justify-content:space-between;align-items:center;padding:7px 12px;border-bottom:1px solid var(--border);font-size:13px}.outgoing-pay-breakdown-row:last-child{border-bottom:none}.outgoing-pay-breakdown-row.muted{background:var(--surface-soft);color:var(--text-soft)}.outgoing-pay-remaining-row{background:var(--surface-soft);font-weight:600}.outgoing-pay-check{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:13px}.outgoing-pay-check input[type=checkbox]{flex-shrink:0;width:15px;height:15px;cursor:pointer}.outgoing-pay-check label{cursor:pointer}.outgoing-pay-field{margin-bottom:10px;display:flex;flex-direction:column;gap:4px}.outgoing-pay-field-lbl{display:block;font-size:12px;font-weight:600;color:var(--text-soft)}.outgoing-pay-section{margin-top:14px;border-top:1px solid var(--border);padding-top:12px}.outgoing-pay-section-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-soft);margin-bottom:8px}.outgoing-pay-mode-row{display:flex;gap:16px;margin-bottom:4px}.outgoing-pay-mode-opt{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}.outgoing-pay-bpb-fields{margin-top:8px;padding:10px 12px;background:var(--surface-soft);border-radius:8px}.outgoing-pay-preset-btn{background:none;border:none;padding:0;color:var(--blue);cursor:pointer;font-size:12px;text-decoration:underline}.outgoing-paid-meta{display:flex;flex-direction:column;gap:1px;margin-top:3px}.outgoing-paid-ok{font-size:11px;color:#166534}.outgoing-paid-rem{font-size:11px;color:#b45309;font-weight:600}.settings-sections{display:flex;flex-direction:column;gap:16px}.settings-section-card{padding:20px 24px}.outgoing-settings-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,560px));gap:16px;align-items:start}.outgoing-settings-sections .settings-section-card{max-width:none}.outgoing-settings-sections .settings-section-card--wide{grid-column:1 / -1}@media(max-width:900px){.outgoing-settings-sections{grid-template-columns:1fr}}.settings-section-title{font-size:15px;font-weight:700;margin-bottom:4px}.outgoing-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.outgoing-settings-label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:500;color:var(--text-soft)}.outgoing-settings-label-text{font-size:12px;font-weight:600;color:var(--text-soft)}.outgoing-settings-input-wrap{display:flex;align-items:center;gap:8px}.outgoing-settings-input-wrap .input{flex:1}.settings-save-badge{font-size:11px;font-weight:600;white-space:nowrap}.settings-save-badge.saving{color:var(--text-soft)}.settings-save-badge.saved{color:#166534}.settings-save-badge.error{color:#dc2626}.outgoing-smtp-ok{color:#166534;font-size:12px;font-weight:600}.outgoing-smtp-err{color:#dc2626;font-size:12px}.pm-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.pm-row{display:flex;align-items:center;gap:6px;padding:4px 4px 4px 10px;background:var(--surface-soft);border:1px solid var(--border);border-radius:6px}.pm-label{font-size:13px;white-space:nowrap}.pm-actions{display:flex;gap:2px;flex-shrink:0}.pm-btn{padding:2px 6px;font-size:12px;min-width:24px}.pm-btn-del{color:#dc2626}.pm-add-row{display:flex;gap:8px;align-items:center;max-width:480px}.bank-account-form{background:var(--surface-soft);border:1px solid var(--border);border-radius:8px;padding:16px;margin-bottom:16px}.bank-account-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:12px}.bank-account-form-grid label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:500;color:var(--text-soft)}.bank-account-form-grid input:not([type=checkbox]):not([type=radio]),.bank-account-form-grid select{border:1px solid var(--border);border-radius:5px;padding:5px 8px;font-size:13px;background:var(--surface)}.bank-account-default-check{display:flex;flex-direction:row!important;align-items:center;gap:8px;padding-top:20px}.bank-account-form-actions{display:flex;gap:8px;justify-content:flex-end}#toast-root{position:fixed;bottom:24px;right:24px;z-index:99999;display:flex;flex-direction:column-reverse;gap:10px;pointer-events:none;max-width:380px}.toast-item{pointer-events:all;display:flex;align-items:flex-start;gap:10px;padding:12px 14px 12px 16px;border-radius:10px;font-size:13.5px;line-height:1.4;box-shadow:0 4px 18px #0000002e;border-left:4px solid transparent;opacity:0;transform:translate(24px);transition:opacity .28s,transform .28s;max-width:100%;word-break:break-word}.toast-item.toast-visible{opacity:1;transform:translate(0)}.toast-item.toast-exit{opacity:0;transform:translate(24px)}.toast-error{background:#fef2f2;border-color:#dc2626;color:#991b1b}.toast-success{background:#f0fdf4;border-color:#16a34a;color:#166534}.toast-warning{background:#fffbeb;border-color:#d97706;color:#92400e}.toast-info{background:#eff6ff;border-color:#2563eb;color:#1e40af}.toast-close{background:none;border:none;cursor:pointer;font-size:16px;line-height:1;padding:0 0 0 6px;color:inherit;opacity:.6;flex-shrink:0;margin-left:auto;align-self:flex-start}.toast-close:hover{opacity:1}.stngs-layout{display:grid;grid-template-columns:240px 1fr;gap:0;min-height:calc(100vh - 48px);background:var(--bg)}.stngs-sidebar{border-right:1px solid var(--border);padding:0;display:flex;flex-direction:column;background:var(--surface-soft);position:sticky;top:0;height:100vh;overflow-y:auto}.stngs-sidebar-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-soft);padding:20px 16px 10px;border-bottom:1px solid var(--border)}.stngs-nav{padding:8px;display:flex;flex-direction:column;gap:2px;flex:1}.stngs-nav-group{display:flex;flex-direction:column;gap:1px;margin-bottom:4px}.stngs-nav-group-header{display:flex;align-items:center;gap:8px;padding:8px 10px 6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft)}.stngs-nav-icon{font-size:15px;flex-shrink:0;width:20px;text-align:center}.stngs-nav-sub-item{display:block;padding:8px 10px 8px 34px;border-radius:8px;font-size:13px;color:var(--text);text-decoration:none;cursor:pointer;transition:background .1s}.stngs-nav-sub-item:hover{background:var(--border)}.stngs-nav-sub-item.active{background:var(--primary,#2563eb);color:#fff;font-weight:600}.stngs-nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;font-size:13.5px;color:var(--text);text-decoration:none;transition:background .12s;margin-bottom:2px}.stngs-nav-item:hover{background:var(--border)}.stngs-nav-item.active{background:var(--primary,#2563eb);color:#fff;font-weight:600}.stngs-content{padding:28px 32px;min-width:0;min-height:0;background:var(--bg);overflow-y:auto}.stngs-section{display:flex;flex-direction:column;gap:16px;max-width:860px}.settings-page-embedded.settings-offer-pane-base .settings-offer-wrap,.settings-page-embedded.settings-offer-pane-common .settings-offer-wrap,.settings-page-embedded.settings-offer-pane-glass-default .settings-offer-wrap,.settings-page-embedded.settings-offer-pane-terms .settings-offer-wrap{grid-template-columns:1fr}.settings-page-embedded.settings-offer-pane-base .settings-offer-right-col,.settings-page-embedded.settings-offer-pane-base .settings-offer-glass-default-card,.settings-page-embedded.settings-offer-pane-common .settings-offer-left-col,.settings-page-embedded.settings-offer-pane-common .settings-offer-terms-card,.settings-page-embedded.settings-offer-pane-glass-default .settings-offer-card,.settings-page-embedded.settings-offer-pane-glass-default .settings-offer-right-col,.settings-page-embedded.settings-offer-pane-terms .settings-offer-left-col,.settings-page-embedded.settings-offer-pane-terms .settings-offer-common-card{display:none}.settings-page-embedded.settings-offer-pane-common .settings-offer-right-col,.settings-page-embedded.settings-offer-pane-terms .settings-offer-right-col{display:block}.settings-page-embedded.settings-offer-pane-common .settings-section-card,.settings-page-embedded.settings-offer-pane-terms .settings-section-card{max-width:none}.stngs-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:4px}.stngs-section-title{font-size:20px;font-weight:700;line-height:1.2}.menu-theme{padding:8px 12px 10px}.menu-theme-label{display:block;margin-bottom:6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-soft)}.menu-theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:4px}.menu-theme-choice{padding:7px 8px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:12.5px;cursor:pointer}.menu-theme-choice:hover{background:var(--surface-soft)}.menu-theme-choice.active{background:var(--primary,#2563eb);border-color:var(--primary,#2563eb);color:#fff;font-weight:600}@media(max-width:800px){.stngs-layout{grid-template-columns:1fr}.stngs-sidebar{position:static;height:auto;border-right:none;border-bottom:1px solid var(--border)}.stngs-nav{flex-direction:row;flex-wrap:wrap;overflow-x:auto}.stngs-nav-group-header{display:none}.stngs-nav-sub-item{padding:8px 12px}.stngs-content{padding:16px}}.wh-page{min-height:100%}.wh-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px}.wh-kpi{border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);padding:12px 14px;display:flex;flex-direction:column;gap:6px}.wh-kpi span{font-size:12px;color:var(--text-soft)}.wh-kpi strong{font-size:22px}.wh-issue-cost-summary{margin-top:8px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);font-size:14px}.wh-issue-cost-summary strong{font-size:16px;margin-left:4px}.wh-kpi-clickable{cursor:pointer;transition:border-color .12s,transform .12s}.wh-kpi-clickable:hover{border-color:var(--accent,#3b82f6);transform:translateY(-1px)}.wh-kpi-warn strong{color:#b91c1c}.wh-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.wh-recent-panel{margin-top:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:4px 0;box-shadow:0 1px 2px #0f172a0a}.wh-recent-title{font-size:12px;font-weight:600;color:var(--text-soft);margin:10px 16px 4px;text-transform:uppercase;letter-spacing:.04em}.wh-recent-list{display:flex;flex-direction:column}.wh-recent-row{display:flex;align-items:center;gap:12px;padding:10px 16px;cursor:pointer;border-top:1px solid var(--border)}.wh-recent-list .wh-recent-row:first-child{border-top:none}.wh-recent-row:hover{background:var(--table-hover)}.wh-recent-icon{flex:0 0 auto;width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:15px;background:var(--surface-soft)}.wh-recent-icon-po{background:#3b82f624}.wh-recent-icon-receipt{background:#10b98124}.wh-recent-icon-issue{background:#f9731624}.wh-recent-icon-return{background:#a855f724}.wh-recent-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.wh-recent-number{font-size:14px;font-weight:600;color:var(--text)}.wh-recent-number em{font-weight:400;font-style:italic;color:var(--text-soft)}.wh-recent-type{font-size:12px;color:var(--text-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-recent-row .badge{flex:0 0 auto}.wh-recent-date{flex:0 0 auto;font-size:12px;color:var(--text-soft);min-width:78px;text-align:right}.wh-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.wh-form-grid label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-soft)}.wh-form-grid input,.wh-form-grid select,.wh-form-grid textarea{font-size:14px;color:var(--text)}.wh-items-table{width:100%;margin-bottom:8px}.wh-items-table th,.wh-items-table td{white-space:nowrap}.wh-items-table-name{white-space:normal!important;word-break:break-word;max-width:260px}.wh-waste-row,.wh-waste-row:nth-child(2n){background:color-mix(in srgb,#f59e0b 16%,transparent)!important}.wh-receive-qty-hint{white-space:normal!important;word-break:break-word;max-width:200px}.wh-receive-line-excluded{opacity:.5}.wh-receive-line-excluded td:not(:first-child){white-space:normal}.wh-scan-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.wh-scan-row input:not([type=checkbox]):not([type=radio]){flex:1;min-width:220px}.wh-upload{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.wh-upload input{display:none}.wh-alert{border:1px solid #f59e0b;background:#fffbeb;color:#92400e;border-radius:8px;padding:10px 12px;margin:10px 0;font-size:13px}.project-materials-card{overflow:hidden}.project-materials-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.project-materials-kpis>div{border:1px solid var(--border);border-radius:8px;padding:10px;background:var(--surface-soft);min-width:0}.project-materials-kpis span{display:block;font-size:11px;color:var(--text-soft);margin-bottom:5px}.project-materials-kpis strong{display:block;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-materials-table-wrap{overflow:auto}.wh-picker-list{display:flex;flex-direction:column;gap:2px;max-height:280px;overflow-y:auto;border:1px solid var(--border);border-radius:10px;padding:4px;margin-bottom:14px}.wh-picker-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;border-radius:8px;cursor:pointer;flex-wrap:wrap}.wh-picker-row:hover{background:var(--table-hover)}.wh-picker-row.active{background:#3b82f61f;outline:1px solid var(--accent,#3b82f6)}.wh-picker-row-static{cursor:default}.wh-picker-row-static:hover{background:none}.wh-picker-list>.wh-picker-row{flex-shrink:0}.wh-picker-header{cursor:default;padding:6px 10px;border-bottom:1px solid var(--border);margin-bottom:2px}.wh-picker-header:hover{background:none}.wh-picker-header .wh-picker-title,.wh-picker-header .wh-picker-sub,.wh-picker-header .wh-picker-meta span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--text-soft)}.wh-picker-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 260px}.wh-picker-title{font-weight:600;font-size:13px}.wh-picker-sub{font-size:12px;color:var(--text-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-picker-meta{display:flex;align-items:center;gap:0;font-size:12px;color:var(--text-soft);flex:0 0 auto}.wh-picker-col-category{flex:0 0 120px;width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-picker-col-unit{flex:0 0 44px;width:44px}.wh-picker-col-price{flex:0 0 90px;width:90px;text-align:right}.wh-picker-warehouses{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin-top:6px}.wh-picker-wh-chip{padding:5px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:12px;cursor:pointer}.wh-picker-wh-chip:hover{background:var(--table-hover);border-color:var(--accent,#3b82f6)}.wh-picker-wh-chip-empty{color:var(--text-soft);font-style:italic}.wh-picker-score-hit{color:#166534;font-weight:600}.wh-picker-score-miss{color:var(--text-soft)}.wh-picker-trigger{width:100%;text-align:left;justify-content:flex-start;font-weight:400}.wh-picker-create-btn{margin-bottom:10px}.wh-picker-location-filter{display:flex;align-items:center;gap:12px;margin-bottom:10px;font-size:13px;font-weight:600}.wh-picker-location-filter select{flex:1;min-width:0;width:auto}.wh-picker-stock-label{flex-basis:100%;font-size:12px;color:var(--text-soft)}.wh-picker-row[role=button]:focus-visible{outline:2px solid var(--accent,#3b82f6);outline-offset:-2px}.wh-receipt-picker-panel{max-height:85vh;display:flex;flex-direction:column}.wh-receipt-picker-panel .cash-receipt-modal-body{overflow-y:auto}.wh-receipt-picker-group{border:1px solid var(--border);border-radius:10px;margin-bottom:10px;overflow:hidden}.wh-receipt-picker-group-header{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;background:var(--surface-2,rgba(148,163,184,.08));font-weight:600}.wh-receipt-picker-group-header:hover{background:var(--table-hover)}.wh-receipt-picker-toggle{width:14px;text-align:center;color:var(--text-soft);flex:0 0 auto;font-weight:400}.wh-receipt-picker-items.wh-picker-list{border:none;border-top:1px solid var(--border);border-radius:0;margin-bottom:0;max-height:none}.wh-compare-search{position:relative}.wh-compare-search input:not([type=checkbox]):not([type=radio]){width:100%}.wh-compare-search-results{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0000001f;max-height:280px;overflow-y:auto;padding:4px}.wh-compare-table{table-layout:auto}.wh-compare-table th,.wh-compare-table td{white-space:normal;vertical-align:top;min-width:160px}.wh-compare-table td:first-child,.wh-compare-table th:first-child{font-weight:600;min-width:180px;white-space:nowrap;background:var(--surface-2,rgba(148,163,184,.06))}@media(max-width:900px){.wh-kpi-grid,.wh-form-grid{grid-template-columns:1fr}.project-materials-kpis{grid-template-columns:1fr 1fr}.wh-recent-row{flex-wrap:wrap}.wh-recent-date{margin-left:46px}}.dt-outer{display:flex;flex-direction:column;min-height:0}.dt-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.dt-col-menu{position:relative}.dt-col-menu-panel{position:absolute;right:0;top:calc(100% + 4px);z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 24px #0f172a29;padding:8px;min-width:200px;max-height:280px;overflow:auto}.dt-col-menu-item{display:flex;align-items:center;gap:8px;padding:5px 6px;font-size:13px;border-radius:6px;cursor:pointer;white-space:nowrap}.dt-col-menu-item:hover{background:var(--table-hover)}.dt-col-menu-item input{width:auto}.dt-col-menu-divider{height:1px;background:var(--border);margin:6px 2px}.dt-col-menu-reset{width:100%;text-align:left;background:none;border:none;padding:6px;font-size:12px;color:var(--text-soft);cursor:pointer;border-radius:6px;white-space:nowrap}.dt-col-menu-reset:hover{background:var(--table-hover);color:var(--text)}.dt-wrap{overflow:auto;border-radius:12px}.incoming-page .dt-wrap,.outgoing-page .dt-wrap{flex:0 1 auto}.dt-table{table-layout:fixed}.dt-table th,.dt-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dt-table td.finance-table-actions{white-space:normal}.dt-table .finance-table-actions .outgoing-row-actions,.dt-table .finance-table-actions .cash-row-actions,.dt-table .finance-table-actions>div>div{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:4px}.dt-th{position:relative;cursor:grab;-webkit-user-select:none;user-select:none}.dt-th:active{cursor:grabbing}.dt-th-label{pointer-events:none}.dt-resizer{position:absolute;top:0;right:0;bottom:0;width:8px;cursor:col-resize;touch-action:none}.dt-resizer:hover,.dt-resizer:active{background:var(--accent,#3b82f6);opacity:.35}[data-theme=dark] .dt-col-menu-panel{box-shadow:0 10px 24px #00000080}.nav-floating-disabled{display:block;padding:8px 12px;color:var(--muted);cursor:default;opacity:.72}.page.active.bt-page{display:flex;flex-direction:column;gap:18px;width:100%;max-width:none;margin:0;min-width:0}.bt-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}.bt-head .toolbar{margin-bottom:0;padding-top:0;flex:0 1 auto;justify-content:flex-end}.bt-head .btn{white-space:nowrap}.bt-report-tabs{display:flex;flex-wrap:wrap;gap:8px}.bt-report-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border:1px solid var(--border);background:var(--surface);border-radius:8px}.bt-report-filters input:not([type=checkbox]):not([type=radio]),.bt-report-filters select{width:auto;min-width:150px;min-height:36px}.bt-filters{display:grid;grid-template-columns:minmax(180px,1.4fr) 136px 136px minmax(150px,1fr) 120px minmax(138px,.85fr);gap:8px;padding:12px;border:1px solid var(--border);background:var(--surface);border-radius:8px}.bt-filters input:not([type=checkbox]):not([type=radio]),.bt-filters select,.bt-grid input:not([type=checkbox]):not([type=radio]),.bt-grid select,.bt-grid textarea,.bt-line input:not([type=checkbox]):not([type=radio]),.bt-line select{width:100%;min-height:36px}.bt-year{width:92px}.bt-page .dt-outer{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:visible;min-width:0}.bt-page .dt-toolbar{padding:8px 10px;background:var(--surface-soft);border-bottom:1px solid var(--border)}.bt-page .dt-wrap{width:100%;border-radius:0;scrollbar-gutter:stable}.bt-page .dt-table{min-width:100%}.bt-page .dt-table th,.bt-page .dt-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bt-page .dt-table tbody td{height:44px}.bt-status{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:999px;font-size:12px;background:#e2e8f0;color:#334155}.bt-status.RECORDED{background:#dbeafe;color:#1e40af}.bt-status.PENDING_APPROVAL{background:#fef3c7;color:#92400e}.bt-status.APPROVED{background:#dcfce7;color:#166534}.bt-status.SETTLED{background:#f3e8ff;color:#6b21a8}.bt-status.CANCELLED{background:#fee2e2;color:#991b1b}.sw-status{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:999px;font-size:12px;white-space:nowrap;background:#e2e8f0;color:#334155}.sw-status--info{background:#dbeafe;color:#1e40af}.sw-status--success{background:#dcfce7;color:#166534}.sw-status--warning{background:#fef3c7;color:#92400e}.sw-status--danger{background:#fee2e2;color:#991b1b}.sw-status--closed{background:#f3e8ff;color:#6b21a8}.sw-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:20px}.sw-kpi-card{border:1px solid var(--border, #e2e8f0);border-radius:10px;padding:14px 16px;background:var(--card-bg, #fff);cursor:pointer;text-align:left}.sw-kpi-card:hover{border-color:#94a3b8}.sw-kpi-card .sw-kpi-label{font-size:12px;color:var(--muted, #64748b);margin-bottom:6px}.sw-kpi-card .sw-kpi-value{font-size:24px;font-weight:600}.sw-kpi-card .sw-kpi-sub{font-size:12px;color:var(--muted, #64748b);margin-top:4px}.sw-kpi-section-title{font-size:14px;font-weight:600;margin:18px 0 8px}.sw-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;margin-bottom:12px}.sw-locked-field{opacity:.7;cursor:not-allowed}.sw-field-hint{font-size:11.5px;color:var(--muted, #64748b);margin-top:3px;font-weight:400}.sw-modal-panel{display:flex;flex-direction:column;max-height:calc(100vh - 48px);overflow:hidden}.sw-modal-panel>.body{overflow-y:auto;flex:1;min-height:0}.sw-toolbar select,.sw-toolbar input[type=text],.sw-toolbar input[type=search]{min-width:140px}.sw-risk-note{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;font-size:12px;margin-top:6px}.sw-risk-note--WARNING{background:#fef3c7;color:#92400e}.sw-risk-note--RISK{background:#fee2e2;color:#991b1b}.sw-risk-note--OK{background:#dcfce7;color:#166534}.sw-due-row-EXPIRED{color:#991b1b;font-weight:600}.sw-due-row-DUE_30,.sw-due-row-SOON{color:#92400e}.sw-error{background:#fee2e2;color:#991b1b;padding:8px 12px;border-radius:8px;font-size:13px;margin-bottom:10px}.sw-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sw-grid label.wide{grid-column:1 / -1}.sw-grid label>:is(input:not([type=checkbox]):not([type=radio]),select,textarea){margin-top:6px}.sw-grid textarea{width:100%;min-height:60px}@media(max-width:1100px){.sw-kpi-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sw-grid,.sw-kpi-grid{grid-template-columns:1fr}.sw-toolbar{flex-direction:column;align-items:stretch}.sw-toolbar select,.sw-toolbar input:not([type=checkbox]):not([type=radio]){width:100%}}.emp-status{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:12px;background:#e2e8f0;color:#334155}.emp-status.ACTIVE{background:#dcfce7;color:#166534}.emp-status.TERMINATED{background:#fee2e2;color:#991b1b}.emp-pill{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:12px;background:#f1f5f9;color:#475569}.emp-pill.yes{background:#dbeafe;color:#1e40af}.emp-expiring{color:#b3261e;font-weight:600}.bt-documents{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.bt-dashboard{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:12px 14px}.bt-dashboard-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-soft, #64748b);margin-bottom:9px}.bt-kpi-row{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.bt-kpi{display:flex;flex-direction:column;gap:4px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;text-decoration:none;color:inherit;cursor:pointer;font:inherit;text-align:left}.bt-kpi span{font-size:11.5px;color:var(--text-soft, #64748b);text-transform:uppercase;letter-spacing:.03em}.bt-kpi strong{font-size:20px}.bt-kpi-btn.warn strong{color:#b3261e}.bt-warnings{margin-top:8px;padding:10px 14px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;display:flex;flex-direction:column;gap:4px}.bt-warning-row{font-size:13px;color:#7f1d1d}.bt-documents-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:600;font-size:13px}.bt-document-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px}.bt-modal{align-items:center;justify-content:center;padding:18px}.bt-panel{display:grid;grid-template-columns:minmax(0,1fr) 300px;width:min(1560px,calc(100vw - 36px));max-height:calc(100vh - 36px);background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 24px 80px #0f172a57;overflow:hidden}.modal.bt-modal>.bt-panel{width:min(1560px,calc(100vw - 36px));max-width:none}.bt-panel header{grid-column:1 / -1;background:var(--surface);border-bottom:1px solid var(--border);padding:12px 16px;display:flex;align-items:center;gap:10px}.bt-form-status{margin-left:8px}.bt-readonly-pill{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:999px;font-size:12px;background:#e2e8f0;color:#475569}.bt-rejection-banner{grid-column:1 / -1;margin:12px 16px 0;padding:10px 14px;border-radius:8px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:13px}.bt-body{overflow:auto;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 108px);background:var(--surface);padding:16px;border:0;margin:0;min-width:0}.bt-body.readonly{opacity:.86}.bt-body section{border-top:1px solid var(--border);padding-top:12px}.bt-body section:first-child{border-top:0;padding-top:0}.bt-body h3{margin:0 0 10px;font-size:15px}.bt-grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px}.bt-grid .wide{grid-column:1 / -1}.bt-grid>label{min-width:0}.bt-grid>label:has(>input[type=checkbox]),.bt-grid>label:has(>input[type=radio]){display:flex;align-items:center;gap:6px;white-space:normal;overflow-wrap:anywhere}.bt-field-with-btn{display:flex;gap:8px;align-items:center}.bt-field-with-btn select{flex:1;min-width:0}.bt-field-with-btn .btn{flex-shrink:0;white-space:nowrap}.bt-grid>button{align-self:end}.bt-grid textarea{min-height:76px;resize:vertical}.bt-lines{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.bt-line{display:grid;grid-template-columns:130px minmax(170px,1.6fr) minmax(170px,1.6fr) 82px 82px 78px 100px 92px 66px;gap:8px;align-items:center}.bt-computed-field{background:var(--surface-soft, #f1f5f9);color:#0f5c62;font-weight:600;cursor:not-allowed}.bt-line:not(.expense)>input[placeholder="Út célja"]{grid-column:2 / 4}.bt-route-place{min-width:0}.bt-route-error{grid-column:2 / -1;color:#dc2626;font-size:12px}.bt-line.expense{grid-template-columns:132px minmax(140px,1fr) 104px 120px 126px 76px}.bt-summary{border-left:1px solid var(--border);padding:18px;background:var(--surface-soft);display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 108px);overflow:auto}.bt-summary div{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.bt-summary span{color:var(--muted);font-size:12px}.bt-summary strong{text-align:right}.bt-summary .final{margin-top:8px;padding-top:12px;border-top:1px solid var(--border)}.bt-summary .bt-autosave{display:block;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.bt-summary .bt-autosave span{color:var(--muted)}.bt-summary .bt-autosave.saved{border-color:#bbf7d0;background:#f0fdf4}.bt-summary .bt-autosave.saved span{color:#166534}.bt-summary .bt-autosave.pending,.bt-summary .bt-autosave.saving{border-color:#bfdbfe;background:#eff6ff}.bt-summary .bt-autosave.pending span,.bt-summary .bt-autosave.saving span{color:#1d4ed8}.bt-summary .bt-autosave.error{border-color:#fecaca;background:#fef2f2}.bt-summary .bt-autosave.error span{color:#991b1b}.bt-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.bt-vehicle-note{align-self:center;color:var(--muted)}.bt-readonly{min-height:42px;padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.bt-readonly span{display:block;margin-bottom:3px;color:var(--muted);font-size:12px}.bt-readonly strong{display:block;font-weight:700}.bt-vehicle-panel{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 24px 80px #0f172a57}@media(max-width:1100px){.bt-head{align-items:flex-start}.bt-head .toolbar{width:100%;justify-content:flex-start}.bt-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.bt-page{max-width:none}.bt-panel{grid-template-columns:1fr}.bt-summary{border-left:0;border-top:1px solid var(--border)}.bt-line,.bt-line.expense,.bt-grid{grid-template-columns:1fr}.bt-kpi-row{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.bt-filters{grid-template-columns:1fr}}.page.active.company-status-page{display:flex;flex-direction:column;gap:14px}.company-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.company-status-head h1{margin:0;font-size:24px;letter-spacing:0}.company-status-head input[type=number]{width:96px}.company-status-overview{display:flex;flex-direction:column;gap:22px}.company-status-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.company-status-kpi{min-height:148px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);text-align:left;display:flex;flex-direction:column;gap:8px;cursor:pointer}.company-status-kpi:hover{background:var(--surface-soft)}.company-status-kpi.active{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f;background:#f8fbff}.company-status-kpi span{font-size:12px;color:var(--muted)}.company-status-kpi strong{font-size:22px;line-height:1.15;letter-spacing:0}.company-status-kpi small{margin-top:auto;color:var(--muted);line-height:1.35}.company-status-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.company-status-meta>span:not(.badge){font-size:11px;padding:2px 6px;border:1px solid var(--border);border-radius:6px;color:var(--muted)}.company-status-layer-closed{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.company-status-layer-actual{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.company-status-layer-forecast{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.company-status-layer-plan{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}.company-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.company-status-grid>section,.company-status-sources{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.company-status-grid h3,.company-status-sources h3{margin:0 0 10px;font-size:16px;letter-spacing:0}.company-status-source-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.company-status-source-head h3{margin-bottom:4px}.company-status-source-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.company-status-source-summary>div{border:1px solid var(--border);border-radius:8px;padding:9px 10px;background:var(--surface-soft)}.company-status-source-summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.company-status-source-summary strong{display:block;font-size:15px;color:var(--text);letter-spacing:0}.company-status-source-note,.company-status-empty-detail{border:1px solid var(--border);border-radius:8px;padding:10px 12px;margin-bottom:10px;color:var(--muted);background:var(--surface);font-size:13px}.company-status-empty-detail{margin-bottom:0}.company-status-modal-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:flex-start;justify-content:center;padding:56px 20px 24px;background:#0f172a6b}.company-status-modal{width:min(1120px,100%);max-height:calc(100vh - 80px);overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 24px 70px #0f172a3d;padding:14px}.company-status-modern-chart{display:grid;gap:10px}.company-status-chart-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.company-status-chart-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:12px}.company-status-chart-legend span{display:inline-flex;align-items:center;gap:6px}.company-status-chart-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.company-status-chart-legend strong{margin-left:auto;color:var(--muted);font-weight:600}.company-status-chart-legend .revenue{background:#2563eb}.company-status-chart-legend .expense{background:#dc2626}.company-status-chart-legend .profit{background:#16a34a;border-radius:50%}.company-status-chart-legend .cash-balance{background:#0f766e;border-radius:50%}.company-status-chart-legend .cash-in{background:#16a34a}.company-status-chart-legend .cash-out{background:#dc2626}.company-status-chart-scale{color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.company-status-chart-inspector{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:var(--surface-soft);color:var(--muted);font-size:12px}.company-status-chart-inspector strong{color:var(--text);font-size:13px}.company-status-chart-inspector .positive{color:#166534;font-weight:700}.company-status-chart-inspector .negative{color:#b91c1c;font-weight:700}.company-status-chart-plot{position:relative;min-height:260px;display:grid;grid-template-columns:repeat(12,minmax(42px,1fr));gap:8px;padding:18px 8px 28px 42px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(to bottom,transparent calc(25% - .5px),var(--border) 25%,transparent calc(25% + .5px)),linear-gradient(to bottom,transparent calc(50% - .5px),rgba(15,23,42,.34) 50%,transparent calc(50% + .5px)),linear-gradient(to bottom,transparent calc(75% - .5px),var(--border) 75%,transparent calc(75% + .5px));overflow:hidden}.company-status-chart-gridline{position:absolute;left:10px;color:var(--muted);font-size:11px;line-height:1}.company-status-chart-gridline.top{top:15px}.company-status-chart-gridline.zero{top:calc(50% - 5px);font-weight:700;color:var(--text)}.company-status-chart-gridline.bottom{bottom:25px}.company-status-chart-month{position:relative;min-width:0;display:grid;grid-template-rows:1fr auto;gap:7px;align-items:end;border:0;background:transparent;color:inherit;padding:0;cursor:pointer;font:inherit}.company-status-chart-month:before{content:"";position:absolute;inset:-10px -3px 18px;border-radius:8px;background:transparent;transition:background .16s ease,box-shadow .16s ease}.company-status-chart-month:hover:before,.company-status-chart-month:focus-visible:before,.company-status-chart-month.active:before{background:#2563eb12;box-shadow:inset 0 0 0 1px #2563eb1f}.company-status-chart-month:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:3px}.company-status-chart-bars{position:relative;box-sizing:border-box;height:210px;display:flex;align-items:flex-end;justify-content:center;gap:4px;padding-bottom:105px}.company-status-chart-bars i{display:block;width:11px;min-height:3px;border-radius:5px 5px 0 0;transition:height .18s ease,opacity .16s ease,transform .16s ease}.company-status-chart-bars .revenue{background:#2563eb}.company-status-chart-bars .expense{background:#dc2626}.company-status-chart-month:hover i,.company-status-chart-month.active i{transform:translateY(-2px)}.company-status-chart-bars b{position:absolute;left:50%;width:10px;height:10px;border-radius:50%;border:2px solid var(--surface);transform:translate(-50%,50%);box-shadow:0 0 0 1px #0f172a29;transition:bottom .18s ease,transform .16s ease}.company-status-chart-month:hover b,.company-status-chart-month.active b{transform:translate(-50%,50%) scale(1.18)}.company-status-chart-bars b.positive{background:#16a34a}.company-status-chart-bars b.negative{background:#dc2626}.company-status-chart-month>span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:11px;text-align:center;white-space:nowrap}.company-status-chart-values{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px}.company-status-chart-values span{border:1px solid var(--border);border-radius:6px;padding:4px 7px;background:var(--surface-soft)}.company-status-cashflow-plot{position:relative;min-height:260px;display:grid;grid-template-columns:repeat(13,minmax(42px,1fr));gap:6px;padding:24px 8px 12px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(to bottom,transparent calc(25% - .5px),var(--border) 25%,transparent calc(25% + .5px)),linear-gradient(to bottom,transparent calc(50% - .5px),rgba(15,23,42,.28) 50%,transparent calc(50% + .5px)),linear-gradient(to bottom,transparent calc(75% - .5px),var(--border) 75%,transparent calc(75% + .5px));overflow:hidden}.company-status-cashflow-line{position:absolute;inset:16px 10px 44px;width:calc(100% - 20px);height:calc(100% - 60px);pointer-events:none}.company-status-cashflow-line line{stroke:#0f172a3d;stroke-width:.5}.company-status-cashflow-line path{fill:none;stroke:#0f766e;stroke-width:1.4;vector-effect:non-scaling-stroke}.company-status-cashflow-line circle{fill:#0f766e;stroke:var(--surface);stroke-width:.8;vector-effect:non-scaling-stroke}.company-status-cashflow-week{position:relative;z-index:1;min-width:0;min-height:222px;display:grid;grid-template-rows:auto 1fr auto;gap:6px;border:0;border-radius:8px;background:transparent;color:inherit;padding:6px 3px;cursor:pointer;font:inherit;transition:background .16s ease,box-shadow .16s ease}.company-status-cashflow-week:hover,.company-status-cashflow-week:focus-visible,.company-status-cashflow-week.active{background:#0f766e12;box-shadow:inset 0 0 0 1px #0f766e21}.company-status-cashflow-week:focus-visible{outline:2px solid rgba(15,118,110,.35);outline-offset:2px}.company-status-cashflow-week span,.company-status-cashflow-week strong{min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:center;white-space:nowrap}.company-status-cashflow-week span{color:var(--muted);font-size:11px}.company-status-cashflow-week strong{color:var(--muted);font-size:11px;font-weight:700}.company-status-cashflow-week.negative strong{color:#b91c1c}.company-status-cashflow-bars{display:flex;align-items:flex-end;justify-content:center;gap:4px;padding-bottom:58px}.company-status-cashflow-bars i{display:block;width:9px;min-height:3px;border-radius:5px 5px 0 0;transition:height .18s ease,transform .16s ease}.company-status-cashflow-bars .cash-in{background:#16a34a}.company-status-cashflow-bars .cash-out{background:#dc2626}.company-status-cashflow-week:hover .company-status-cashflow-bars i,.company-status-cashflow-week.active .company-status-cashflow-bars i{transform:translateY(-2px)}.company-status-warning{margin-bottom:8px;padding:8px 10px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:13px}.company-status-ratios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-status-ratios>div{border:1px solid var(--border);border-radius:8px;padding:12px}.company-status-ratios span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.company-status-ratios strong{font-size:20px}.company-status-import{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}.company-status-row-actions{display:flex;gap:6px}@media(max-width:1200px){.company-status-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.company-status-grid{grid-template-columns:1fr}}@media(max-width:760px){.company-status-head{flex-direction:column}.company-status-kpis{grid-template-columns:1fr}.company-status-source-head{flex-direction:column}.company-status-source-summary{grid-template-columns:1fr}.company-status-modal-backdrop{padding:16px 10px}.company-status-modal{max-height:calc(100vh - 32px)}.company-status-chart-top,.company-status-chart-inspector{grid-template-columns:1fr}.company-status-chart-top{align-items:flex-start;flex-direction:column}.company-status-chart-plot,.company-status-cashflow-plot{overflow-x:auto}.company-status-chart-plot{grid-template-columns:repeat(12,minmax(54px,1fr))}.company-status-cashflow-plot{grid-template-columns:repeat(13,minmax(58px,1fr))}}.page.active.tt-page{display:flex;flex-direction:column;gap:14px}.tt-page-embedded{padding:0;background:transparent}.tt-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.tt-kpis>div{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.tt-kpis span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.tt-kpis strong{display:block;color:var(--text);font-size:20px;line-height:1.15;letter-spacing:0}.tt-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.tt-form label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px;font-weight:600}.tt-form input:not([type=checkbox]):not([type=radio]),.tt-form select,.tt-form textarea{width:100%;min-height:38px}.tt-form textarea{min-height:74px;resize:vertical}.tt-form select[multiple]{min-height:150px}.tt-form .wide{grid-column:span 2}.tt-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end}.tt-hm-wrap{position:relative}.tt-hm-toggle{padding:0 8px;min-height:38px;line-height:1}.tt-hm-panel{position:absolute;top:calc(100% + 4px);left:0;z-index:40;display:flex;gap:4px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 32px #0000002e;padding:6px}.tt-hm-col{width:56px;max-height:180px;overflow-y:auto;scroll-behavior:smooth}.tt-hm-item{padding:6px 0;text-align:center;border-radius:6px;font-variant-numeric:tabular-nums;font-size:13px;color:var(--text);cursor:pointer}.tt-hm-item:hover{background:var(--surface-soft)}.tt-hm-item.selected{background:var(--primary);color:#fff;font-weight:600}.tt-status{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:12px;white-space:nowrap}.tt-status-ok{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.tt-status-info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.tt-status-warn{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.tt-status-bad{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.tt-actions{display:flex;align-items:center;gap:6px}.tt-two-col{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:12px}.tt-two-col .tt-form{grid-template-columns:1fr;align-content:start}.tt-two-col .tt-form .wide{grid-column:auto}.tt-placeholder{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:16px}.tt-placeholder h3{margin:0 0 8px;font-size:16px}.tt-placeholder p{margin:0;color:var(--muted)}.tt-page>.tt-placeholder{display:none}.tt-reports{display:grid;grid-template-columns:1fr;gap:12px}.tt-reports section{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.tt-reports h3{margin:0 0 10px;font-size:16px}.tt-timer,.tt-budget,.tt-month-close{align-items:end}.tt-timer{border-color:#bfdbfe;background:#f8fbff}.tt-timer-launcher{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #bfdbfe;background:#f8fbff;border-radius:8px;margin-bottom:12px}@media(max-width:1200px){.tt-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.tt-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tt-two-col{grid-template-columns:1fr}}@media(max-width:760px){.tt-kpis,.tt-form{grid-template-columns:1fr}.tt-form .wide{grid-column:auto}}body:has(.timer-widget){background:var(--bg)}.timer-widget{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;font-family:inherit}.timer-widget-card{width:100%;max-width:380px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:0 20px 50px #0000002e,0 2px 8px #00000014;padding:22px 22px 18px;display:flex;flex-direction:column;gap:14px}.timer-widget-head{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--text)}.timer-widget-dot{width:10px;height:10px;border-radius:50%;background:var(--muted);box-shadow:0 0 #0000}.timer-widget-dot[data-state=running]{background:#16a34a;animation:timerPulse 1.6s ease-in-out infinite}.timer-widget-dot[data-state=paused]{background:#d97706}@keyframes timerPulse{0%,to{box-shadow:0 0 #16a34a73}50%{box-shadow:0 0 0 6px #16a34a00}}.timer-widget-clock{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:44px;font-weight:700;letter-spacing:.02em;text-align:center;color:var(--text);font-variant-numeric:tabular-nums;padding:6px 0}.timer-widget-status{text-align:center;font-size:13px;color:var(--muted);margin-top:-10px}.timer-widget-error{background:#dc26261a;border:1px solid rgba(220,38,38,.3);color:#dc2626;border-radius:8px;padding:8px 10px;font-size:12.5px}.timer-widget-fields{display:flex;flex-direction:column;gap:10px}.timer-widget-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--muted)}.timer-widget-fields select{min-height:38px;border-radius:9px;border:1px solid var(--border);background:var(--surface-soft);color:var(--text);padding:0 10px;font-size:13.5px}.timer-widget-fields select:disabled{opacity:.65}.timer-widget-hint{font-size:12px;color:#d97706;text-align:center}.timer-widget-actions{display:flex;gap:8px}.timer-widget-btn{flex:1;min-height:44px;border-radius:11px;border:none;font-size:14px;font-weight:700;cursor:pointer;color:#fff;transition:filter .12s,transform .05s}.timer-widget-btn:hover{filter:brightness(1.06)}.timer-widget-btn:active{transform:scale(.98)}.timer-widget-btn:disabled{opacity:.5;cursor:not-allowed}.timer-widget-btn-start{background:linear-gradient(135deg,#16a34a,#15803d)}.timer-widget-btn-pause{background:linear-gradient(135deg,#f59e0b,#d97706)}.timer-widget-btn-stop{background:linear-gradient(135deg,#ef4444,#dc2626)}.timer-widget-footer{text-align:center;font-size:11px;color:var(--muted);line-height:1.4}.tt-employee-picker-btn{width:100%;min-height:38px;text-align:left;font-weight:400;color:var(--text);background:var(--surface);border:1px solid var(--border)}.tt-team-picker{display:flex;flex-direction:column;gap:8px}.tt-team-chips{display:flex;flex-wrap:wrap;gap:6px}.tt-team-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border-radius:999px;background:var(--surface-soft);border:1px solid var(--border);font-size:12.5px;color:var(--text)}.tt-team-chip button{border:none;background:transparent;color:var(--muted);cursor:pointer;font-size:14px;line-height:1;padding:2px 4px}.tt-team-chip button:hover{color:#dc2626}.dms-page.page.active{display:flex;flex-direction:column;gap:14px;overflow:auto}.dms-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dms-head h2{margin:0 0 4px;font-size:24px;letter-spacing:0}.dms-head p{margin:0;color:var(--muted)}.dms-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dms-kpis>div,.dms-panel{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.dms-kpis span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.dms-kpis strong{font-size:22px;letter-spacing:0;color:var(--text)}.dms-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.dms-tabs button,.dms-segment button{min-height:34px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;font-weight:600;padding:7px 10px}.dms-tabs button.active,.dms-segment button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.dms-layout{display:grid;grid-template-columns:minmax(420px,1.4fr) minmax(320px,.9fr);gap:12px;align-items:start}.dms-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.dms-panel-head h3{margin:0;font-size:16px;letter-spacing:0}.dms-panel-head input{max-width:280px;flex:1 1 120px;min-width:0}.dms-panel-head-actions{display:flex;align-items:center;gap:8px;min-width:0}.dms-panel-head-actions .btn{flex:0 0 auto;white-space:nowrap}.dms-settings-view{display:grid;gap:12px}.dms-subtabs{margin-bottom:4px}.dms-detail-tabs{flex-wrap:wrap;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}.dms-detail-tabs button{min-height:30px;padding:5px 9px;font-size:12px}.dms-upload-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.dms-upload-panel label,.dms-inline-form label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:12px;font-weight:600}.dms-upload-panel input:not([type=checkbox]):not([type=radio]),.dms-upload-panel select,.dms-inline-form input:not([type=checkbox]):not([type=radio]),.dms-inline-form select{width:100%;min-height:36px}.dms-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.dms-settings-form{display:grid;gap:9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:10px}.dms-settings-form h4{margin:0;font-size:14px;letter-spacing:0}.dms-settings-form label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:600}.dms-settings-form textarea{min-height:72px;resize:vertical}.dms-settings-form .dms-check{display:flex;align-items:center;gap:8px}.dms-settings-form .dms-check input{width:auto}.dms-segment{display:flex;gap:6px;align-items:center}.dms-segment button{flex:1}.dms-table-wrap{max-height:520px;overflow:auto}.dms-list-more{display:flex;justify-content:center;padding:12px 0 2px}.dms-table tbody tr{cursor:pointer}.dms-table tbody tr.active{background:#2563eb1a}.dms-status{display:inline-flex;align-items:center;min-height:24px;border:1px solid var(--border);border-radius:999px;padding:2px 8px;background:var(--surface-soft);color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.dms-status.INITIALIZED{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.dms-status.STRUCTURE_OUTDATED{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.dms-status.ERROR{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.dms-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.dms-meta-grid span,.dms-report-list>div,.dms-version-list>div{display:grid;gap:3px;border:1px solid var(--border);border-radius:8px;padding:9px;background:var(--surface-soft);color:var(--muted);font-size:12px}.dms-meta-grid strong,.dms-report-list strong,.dms-version-list strong{color:var(--text);font-size:13px}.dms-inline-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;align-items:center;margin-bottom:12px}.dms-inline-form .btn{align-self:center}.dms-inline-form input[type=color]{min-width:46px;padding:4px}.dms-workflow-form{grid-template-columns:1fr}.dms-workflow-actions{display:flex;gap:6px;flex-wrap:wrap}.dms-workflow-actions .btn{min-height:32px;padding:6px 8px}.dms-metadata-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.dms-metadata-form label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:600}.dms-metadata-form textarea{min-height:72px;resize:vertical}.dms-metadata-form .wide{grid-column:1/-1}.dms-detail h4{margin:14px 0 8px;font-size:14px;letter-spacing:0}.dms-chip-list{display:flex;gap:6px;flex-wrap:wrap}.dms-chip-list span{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:var(--surface-soft);color:var(--text);font-size:12px}.dms-chip-list button{border:0;background:transparent;color:inherit;font-weight:800;cursor:pointer;margin-left:4px}.dms-token{display:grid;gap:4px;border:1px dashed var(--border);border-radius:8px;padding:8px 10px;margin:8px 0 12px;background:var(--surface-soft)}.dms-token span{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.dms-version-list,.dms-report-list{display:grid;gap:8px}.dms-report-list>div>.btn,.dms-version-list>div>.btn{justify-self:start}.dms-report-list>.dms-clickable-row{cursor:pointer;transition:border-color .12s,background .12s}.dms-report-list>.dms-clickable-row:hover{border-color:var(--accent,#2563eb);background:var(--surface)}.dms-limit{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:600}.dms-limit input:not([type=checkbox]):not([type=radio]){width:76px;min-height:32px}.dms-migration-result{display:grid;gap:4px;border:1px solid #bbf7d0;border-radius:8px;background:#ecfdf5;color:#166534;padding:9px;margin-bottom:10px;font-size:12px}.dms-migration-result strong{font-size:13px}.dms-dry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.dms-dry-grid>div{display:grid;align-content:start;gap:4px;min-height:96px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:9px;font-size:12px}.dms-dry-grid strong{color:var(--text)}.dms-error{grid-column:1/-1;border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#b91c1c;padding:8px 10px;font-size:13px}.dms-panel-full{width:100%}.dms-panel-head-title{display:flex;align-items:center;gap:10px;min-width:0}.modal>div.dms-detail-modal{width:min(980px,calc(100vw - 64px));max-width:none;max-height:88vh;display:flex;flex-direction:column;overflow:hidden;padding:16px 20px}.dms-detail-modal .dms-detail{border:0;padding:0;max-height:none;overflow-y:auto}@media(max-width:1180px){.dms-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.dms-head{display:grid}.dms-kpis,.dms-upload-panel,.dms-settings-grid,.dms-meta-grid,.dms-metadata-form,.dms-dry-grid,.dms-inline-form{grid-template-columns:1fr}.dms-panel-head,.dms-panel-head-actions{flex-direction:column;align-items:stretch}.dms-panel-head input{max-width:none}}.project-dms-section{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:12px}.project-dms-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-dms-head h3{margin:0 0 4px;font-size:16px;letter-spacing:0}.project-dms-form{display:grid;grid-template-columns:1.2fr 1fr 1.2fr 1.2fr auto;gap:8px;align-items:center}.project-dms-form input:not([type=checkbox]):not([type=radio]),.project-dms-form select{min-height:36px;width:100%}.project-dms-list{display:grid;gap:8px}.project-dms-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:9px}.project-dms-row div{display:grid;gap:3px;min-width:0}.project-dms-row strong,.project-dms-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-dms-row span{color:var(--muted);font-size:12px}@media(max-width:1100px){.project-dms-form{grid-template-columns:1fr 1fr}}@media(max-width:760px){.project-dms-head,.project-dms-row,.project-dms-form{grid-template-columns:1fr}}.modal>div.dms-provider-modal{width:min(860px,96vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.dms-provider-modal .body{overflow:auto}.dms-path-row{display:flex;gap:8px;align-items:center;width:100%}.dms-path-row input{flex:1;min-width:0}.dms-folder-browser{border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);padding:12px;display:grid;gap:10px}.dms-browser-grid{display:grid;grid-template-columns:160px 1fr;gap:12px;min-height:220px}.dms-browser-grid>div{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:10px;display:flex;flex-direction:column;gap:6px;overflow:auto;max-height:320px}.dms-browser-grid strong{font-size:12px;color:var(--text);margin-bottom:4px;overflow-wrap:anywhere}.dms-folder-row{display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;text-align:left;border-radius:8px;padding:8px 10px;cursor:pointer;color:var(--text)}.dms-folder-row:hover{border-color:var(--border);background:var(--surface-soft)}@media(max-width:760px){.dms-path-row,.dms-browser-grid{grid-template-columns:1fr;display:grid}.dms-path-row{display:grid}}.dms-info-box{border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.4}.modal>div.dms-health-modal{width:min(480px,96vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.dms-health-modal .body{overflow:auto}.dms-health-steps{display:grid;gap:8px;margin-bottom:12px}.dms-health-step{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:9px 12px;font-size:13px}.dms-health-step-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;flex:0 0 auto;font-size:13px;font-weight:700;border:1px solid var(--border);color:var(--muted)}.dms-health-step-pending .dms-health-step-icon{animation:dms-health-spin 1s linear infinite;border-color:#93c5fd;color:#2563eb}.dms-health-step-OK .dms-health-step-icon{background:#dcfce7;border-color:#86efac;color:#15803d}.dms-health-step-ERROR .dms-health-step-icon{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}@keyframes dms-health-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dms-health-step-label{flex:1;min-width:0}.dms-health-step-msg{color:var(--muted);font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dms-health-result{border-radius:8px;padding:9px 12px;font-size:13px;margin-bottom:8px}.dms-health-result-ok{border:1px solid #86efac;background:#dcfce7;color:#15803d}.dms-health-result-error{border:1px solid #fca5a5;background:#fee2e2;color:#b91c1c}.app-boot-splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:var(--bg);transition:opacity .5s ease}.app-boot-splash.ready{opacity:0;pointer-events:none}.app-boot-logo{width:72px;height:72px;animation:appBootSpin 1s cubic-bezier(.45,0,.55,1) infinite,appBootPulse 1s ease-in-out infinite}[data-theme=dark] .app-boot-logo{filter:brightness(0) invert(1)}@keyframes appBootSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes appBootPulse{0%,to{transform:scale(1)}50%{transform:scale(1.18)}}.app-fade-in{animation:appFadeIn .5s ease both}@keyframes appFadeIn{0%{opacity:0}to{opacity:1}}.company-status-report-modal{max-width:1180px;width:min(1180px,calc(100vw - 48px))}.company-status-reports-section{display:block}.company-status-import-modal-row{align-items:end;margin:12px 0}.company-status-import-modal-row label{display:block}.company-status-import-modal-row .span2{min-width:320px;flex:1 1 360px}.company-status-close-check{align-self:center;margin-top:18px}.company-status-import-actions{display:flex;gap:8px;margin:8px 0 12px}.company-status-preview-block{display:grid;gap:8px}.company-status-row-actions{display:flex;gap:6px;flex-wrap:wrap}.wh-picker-stock-table{overflow-x:auto}.wh-picker-stock-table .wh-picker-row{flex-wrap:nowrap;min-width:760px}.wh-picker-stock-table .wh-picker-list{padding:0;border:none}.wh-picker-col-stock{flex:0 0 110px;width:110px;padding-right:12px;text-align:right;font-variant-numeric:tabular-nums}.wh-picker-col-stock strong{display:block;color:var(--text);font-size:13px}.wh-picker-col-stock small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400}.wh-stock-hint{display:inline-block;position:relative}input.wh-stock-insufficient{border-color:#dc2626!important;background:#fef2f2!important;color:#b91c1c!important}.wh-stock-tooltip{display:none;position:absolute;z-index:20;bottom:calc(100% + 8px);left:0;min-width:190px;max-width:280px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 4px 16px #0003;font-size:12px;white-space:normal;pointer-events:none}.wh-stock-tooltip strong{display:block;color:#b91c1c;margin-top:4px}.wh-stock-hint:hover .wh-stock-tooltip,.wh-stock-hint:focus-within .wh-stock-tooltip{display:block}.wh-item-picker-panel .wh-picker-title{flex-shrink:0;white-space:nowrap}.modal>.wh-item-picker-panel{width:min(1200px,calc(100vw - 48px))}@keyframes wh-stock-tooltip-timeout{0%{visibility:visible}to{visibility:hidden}}.wh-stock-hint:hover .wh-stock-tooltip,.wh-stock-hint:focus-within .wh-stock-tooltip{animation:wh-stock-tooltip-timeout 5s step-end forwards}.wh-stocktake-alert{padding:12px 16px;margin:12px 0;border:1px solid #e7b851;border-radius:10px;background:var(--surface);color:var(--text)}.wh-stocktake-form{max-width:1000px}.wh-stocktake-form .toolbar{margin-top:16px}.draft-recovery-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 16px 0;padding:8px 12px;border:1px solid var(--warning, #d9a400);border-radius:8px;background:var(--warning-bg, rgba(217, 164, 0, .12));font-size:13px}.draft-recovery-banner span{flex:1 1 200px}.mobile-topbar,.mobile-tabbar,.mobile-backdrop,.sidebar-close{display:none}@media(max-width:900px){:root{--m-top: calc(52px + env(safe-area-inset-top, 0px)) ;--m-tab: calc(60px + env(safe-area-inset-bottom, 0px)) }html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{overscroll-behavior:none}.app{height:100vh;height:100dvh}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;position:fixed;top:0;left:0;right:0;z-index:30;height:var(--m-top);padding:env(safe-area-inset-top,0px) 10px 0;background:var(--sidebar-bg);color:#e5e7eb;border-bottom:1px solid rgba(255,255,255,.08)}.mobile-topbar-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px}.mobile-topbar-brand img{width:22px;height:22px;filter:brightness(0) invert(1)}.mobile-topbar-btn{position:relative;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:12px;color:inherit;padding:0;cursor:pointer}.mobile-topbar-btn:active{background:#ffffff1a}.mobile-topbar-messages .messages-icon{width:34px;height:34px;border-radius:16px}.mobile-topbar-messages .messages-icon:before{inset:8px}.mobile-burger,.mobile-burger:before,.mobile-burger:after{display:block;width:22px;height:2px;border-radius:2px;background:#e5e7eb;content:"";position:relative}.mobile-burger:before{position:absolute;top:-7px}.mobile-burger:after{position:absolute;top:7px}.mobile-tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:30;height:var(--m-tab);padding:4px 4px env(safe-area-inset-bottom,0px);background:var(--sidebar-bg);border-top:1px solid rgba(255,255,255,.08)}.mobile-tabbar a,.mobile-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent;border:0;border-radius:12px;color:#e2e8f0ad;font:inherit;font-size:11px;text-decoration:none;cursor:pointer}.mobile-tabbar a.active,.mobile-tabbar button.active{color:#fff;background:#ffffff1a}.tab-ico{width:22px;height:22px;background:currentColor;-webkit-mask:var(--ico) no-repeat center / contain;mask:var(--ico) no-repeat center / contain}.tab-ico-home{--ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11l9-8 9 8v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>")}.tab-ico-projects{--ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/></svg>")}.tab-ico-todo{--ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>")}.tab-ico-calendar{--ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2zM5 10h14v10H5z'/></svg>")}.tab-ico-menu{--ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z'/></svg>")}.mobile-backdrop{display:block;position:fixed;inset:0;z-index:38;background:var(--overlay);animation:mFade .18s ease both}.sidebar{width:min(300px,86vw);z-index:40;padding:calc(16px + env(safe-area-inset-top,0px)) 14px calc(16px + env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;transform:translate(-104%);visibility:hidden;transition:transform .22s ease,visibility 0s linear .22s}.sidebar.open{transform:translate(0);visibility:visible;transition-delay:0s}.sidebar .brand{font-size:18px}.sidebar-close{display:flex;align-items:center;justify-content:center;margin-left:auto;width:40px;height:40px;background:transparent;border:0;border-radius:12px;color:#e5e7eb;font-size:26px;line-height:1;cursor:pointer}.nav a,.nav-group-btn{padding:12px 14px;font-size:15px;margin:2px 0}.nav-floating-panel{left:8px!important;right:8px;top:auto!important;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);max-height:72dvh;overflow-y:auto;overscroll-behavior:contain;border-radius:18px;padding:8px;animation:mSheetUp .2s cubic-bezier(.16,1,.3,1)}.nav-floating-panel:before{display:none}.nav-floating-panel a{padding:14px;font-size:15px;white-space:normal}.nav-floating-title{font-size:11px;padding:8px 12px 6px}.content{margin-left:0;height:100vh;height:100dvh;padding:calc(var(--m-top) + 10px) 12px calc(var(--m-tab) + 10px)}.page.active{-webkit-overflow-scrolling:touch}h2{font-size:22px}h3{font-size:17px}.card{max-width:100%}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px;min-height:42px;max-width:100%}.btn,button.btn{min-height:40px}.btn.small{min-height:36px}input[type=checkbox],input[type=radio]{width:20px;height:20px}.toolbar{gap:8px}.toolbar>input,.toolbar>select{flex:1 1 150px;min-width:0}label{max-width:100%}.modal{align-items:flex-end;padding:0}.modal>div,.modal-panel{width:100%!important;max-width:100%!important;max-height:94vh;max-height:94dvh;border-radius:18px 18px 0 0!important;padding-bottom:env(safe-area-inset-bottom,0px)}.modal>div{overflow-y:auto}.modal header{position:sticky;top:0;z-index:2;background:var(--surface)}.modal-header{padding:12px 14px}.modal-body{padding:14px}.modal-footer{padding:12px 14px;flex-wrap:wrap}table.table.m-cards,table.table.m-cards tbody,table.table.m-cards tfoot{display:block;width:100%!important;min-width:0!important}table.table.m-cards{background:transparent;border:0;box-shadow:none;border-radius:0}table.table.m-cards colgroup,table.table.m-cards thead{display:none}table.table.m-cards tr{display:block;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:4px 12px;margin:0 0 10px;box-shadow:0 2px 8px #0f172a0f}table.table.m-cards tbody tr:nth-child(2n){background:var(--surface)}table.table.m-cards tbody tr:hover{background:var(--surface)}table.table.m-cards td{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;width:auto!important;min-width:0!important;padding:8px 0!important;border:0!important;border-bottom:1px dashed var(--border)!important;text-align:right!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word}table.table.m-cards td:last-child{border-bottom:0!important}table.table.m-cards td:before{content:attr(data-label);flex:0 0 38%;max-width:44%;text-align:left;font-size:12px;font-weight:600;color:var(--muted)}table.table.m-cards td[data-label=""]:before{display:none}table.table.m-cards td[data-label=""]{justify-content:flex-end}table.table.m-cards td.m-title{display:block;text-align:left!important;font-weight:700;font-size:16px;padding-top:10px!important}table.table.m-cards td.m-title:before{display:none}table.table.m-cards td.m-full{display:block;text-align:left!important}table.table.m-cards td.m-full:before{display:none}.dt-col-menu{display:none}.dt-wrap{max-height:none!important;overflow:visible;border-radius:0}.incoming-page.page.active,.outgoing-page.page.active{overflow:auto!important;display:block!important}table.table.m-scroll{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}}@keyframes mFade{0%{opacity:0}to{opacity:1}}@keyframes mSheetUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px){.cost-control-grid,.cost-control-grid.is-project,.costs-top-grid,.cost-invoice-detail-grid,.split2,.settings-offer-wrap,.company-lookup-layout,.messages-layout,.calendar-layout,.bt-panel,.tt-two-col,.dms-layout,.user-permissions-layout,.cs-layout,.incoming-cash-grid,.compose-row,.message-field,.assignment-row,.dms-browser-grid,.settings-glass-spacer-row,.settings-alu-group-head,.settings-alu-option-row,.settings-alu-hw-group-head,.alu-hw-groups,.alu-desc-picker-options,.cost-allocation-row,.cost-invoice-option-main,.todo-row-main,.todo-list-main,.calendar-list-row,.bt-line,.bt-line.expense,.cash-setting-row,.cash-inline-form,.cash-two-pair label,.cash-voucher-grid label,.cash-label-row,.outgoing-share-link-row,.pvc-desc-tok-head,.pvc-desc-tok-row,.company-status-grid,.dashboard-activity-row{grid-template-columns:minmax(0,1fr)!important}.cost-kpi-grid,.cost-export-grid,.cost-commitment-form,.dashboard-stats,.dashboard-quick,.settings-top-grid,.settings-form-grid,.settings-system-grid,.settings-common-grid,.picker-top,.build-info-grid,.company-lookup-detail-grid,.company-lookup-search,.cash-stats-grid,.cash-two-pair,.cash-voucher-grid,.cash-closing-two-col,.outgoing-form-grid-3,.outgoing-form-grid-4,.wh-form-grid,.project-materials-kpis,.sw-grid,.bt-kpi-row,.bt-grid,.company-status-kpis,.company-status-source-summary,.company-status-ratios,.tt-kpis,.tt-form,.dms-kpis,.dms-upload-panel,.dms-settings-grid,.dms-meta-grid,.dms-metadata-form,.dms-dry-grid,.incoming-filter-panel,.todo-filter-panel,.todo-assignment-grid,.todo-create-grid,.todo-detail,.todo-list-detail,.calendar-filter-panel,.cost-attachment-form,.cost-attachment-form-compact,.cost-invoice-filter-grid,.incoming-form-grid,.incoming-project-cost-grid,.incoming-project-cost-grid-small,.bt-filters,.project-dms-form,.inc-payment-info-grid,.quote-extra-grid,.quote-extra-row-fields,.side-switch,.settings-section-grid,.outgoing-settings-grid,.cash-settings-grid,.cs-policy-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))!important}[style*=grid-template-columns]:not([style*="repeat(7"]){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}.cash-two-pair label,.cash-voucher-grid label{grid-template-columns:minmax(0,1fr)!important}.incoming-head-actions{flex-wrap:wrap}[style*="display: flex"]:not([style*=flex-wrap]):not([style*=nowrap]):not([style*=column]){flex-wrap:wrap}.dt-toolbar,.dt-toolbar-extra{flex-wrap:wrap;min-width:0}.dt-toolbar-extra{flex:1 1 100%}.cash-desk-row-stats{flex-wrap:wrap}.cash-desk-stat{flex:1 1 45%;min-width:0;padding:8px 12px;border-right:0;border-bottom:1px solid var(--border)}.cash-desk-stat:first-child{padding-left:12px}.wh-kpi-grid,.sw-kpi-grid,.cash-summary-grid,.outgoing-stats-grid,.cash-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tabbar{display:flex;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.tabbar::-webkit-scrollbar{display:none}.tab{flex:0 0 auto;white-space:nowrap;padding:9px 14px;font-size:14px}.board{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:0 0 12px;scrollbar-width:none}.board::-webkit-scrollbar{display:none}.board>.col{flex:0 0 82%;scroll-snap-align:start}.card-phase-move{display:block;margin-top:8px;width:100%;background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;padding:7px;font-size:12.5px;font-weight:600;color:var(--text-soft);cursor:pointer}.card-phase-sheet{position:fixed;left:8px;right:8px;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:45;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:8px;box-shadow:0 12px 30px #0f172a40;display:flex;flex-direction:column;gap:2px;max-height:60dvh;overflow-y:auto;animation:mSheetUp .18s cubic-bezier(.16,1,.3,1)}.card-phase-sheet-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:6px 10px}.card-phase-sheet button{text-align:left;background:transparent;border:0;border-radius:10px;padding:12px 10px;font-size:15px;color:var(--text);cursor:pointer}.card-phase-sheet button:active{background:var(--surface-soft)}.card-phase-sheet-cancel{margin-top:4px;border-top:1px solid var(--border);border-radius:0!important;color:var(--muted)!important;font-weight:600}}@media(min-width:901px){.card-phase-move,.card-phase-sheet{display:none}}@media(max-width:900px){.company-status-head{flex-direction:column;align-items:stretch;gap:10px}.company-status-head .toolbar{flex-wrap:wrap}.company-status-kpi{padding:12px}.company-status-chart-inspector{display:flex;flex-wrap:wrap;gap:4px 14px;grid-template-columns:none}.company-status-chart-inspector strong{flex:1 1 100%}.company-status-chart-plot,.company-status-cashflow-plot{overflow-x:auto;-webkit-overflow-scrolling:touch;grid-auto-columns:minmax(42px,1fr)}.company-status-chart-gridline{position:sticky;left:10px}.company-status-chart-values{gap:6px 10px}.company-status-chart-values span{font-size:11px}}@media(max-width:900px){.stngs-sidebar{max-height:52dvh;overflow-y:auto}.stngs-nav{flex-direction:column!important;flex-wrap:nowrap!important;overflow-x:visible!important}.stngs-nav-group-header{display:flex!important}.stngs-nav-item,.stngs-nav-sub-item{padding:11px 12px;font-size:14.5px}.stngs-nav-sub-item{padding-left:32px}}html[data-theme=dark]{--nav-liquid-start:#1c2026;--nav-liquid-mid:#252c35;--nav-liquid-end:#1c2026;--bg:#191c21;--surface:#252a31;--surface-soft:#20242b;--surface-muted:#30363f;--border:#414955;--text:#f0f2f5;--text-soft:#d0d5dd;--muted:#aeb7c4;--primary:#3278db;--overlay:rgba(8,10,14,.72);--table-hover:#303b4c;--table-row-even:#292f37;--sidebar-bg:#1c2026;--panel:var(--surface);--panel-soft:var(--surface-soft);--card:var(--surface);--card-bg:var(--surface);--line:var(--border);--input-bg:var(--surface-soft);--primary-soft:#293c54;color-scheme:dark}[data-theme=dark] .app .sidebar{box-shadow:none;border-right:1px solid #353b45}[data-theme=dark] .app .nav a,[data-theme=dark] .app .nav-group-btn{color:#d0d5dd;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}[data-theme=dark] .app .nav a:hover,[data-theme=dark] .app .nav-group-btn:hover{background:#2a3039;border-color:transparent}[data-theme=dark] .app .nav a.active,[data-theme=dark] .app .nav-group-btn.active{background:#293b53;border-color:#3d5777;color:#f5f8ff;box-shadow:inset 3px 0 #79b2ff}[data-theme=dark] .app .card,[data-theme=dark] .app .dashboard-stat,[data-theme=dark] .app .dashboard-section,[data-theme=dark] .app .company-status-kpi,[data-theme=dark] .app .sw-kpi-card{background:var(--surface);border:1px solid var(--border);box-shadow:0 2px 5px #0000001f;color:var(--text)}[data-theme=dark] .app .card:hover{background:var(--surface)}[data-theme=dark] .app .company-status-kpi{position:relative;border-radius:12px;padding:18px;min-height:134px;text-align:left}[data-theme=dark] .app .company-status-kpi:hover,[data-theme=dark] .app .sw-kpi-card:hover{background:#2b323c;border-color:#63748b}[data-theme=dark] .app .company-status-kpi.active{border-color:#79b2ff;background:#283548}[data-theme=dark] .app .company-status-kpi>span{color:var(--muted)}[data-theme=dark] .app .company-status-kpi strong{color:#f0f2f5;font-size:25px;letter-spacing:-.025em}[data-theme=dark] .app .company-status-tabs{background:var(--surface-soft);border:1px solid #353d47;border-radius:12px;padding:5px}[data-theme=dark] .app .company-status-tabs button.active{background:#344258;color:#f4f7fc}[data-theme=dark] .app .badge,[data-theme=dark] .app .tag{background:#303b4c;border-color:#465b76;color:#bdd5fa}[data-theme=dark] .app .badge.company-status-layer-actual,[data-theme=dark] .app .badge.company-status-layer-plan{background:#293c54;border-color:#456182;color:#bed9ff}[data-theme=dark] .app .badge.incoming-status-ok,[data-theme=dark] .app .badge.company-status-layer-closed{background:#233f36;border-color:#386350;color:#b2e5ca}[data-theme=dark] .app .badge.incoming-status-warn,[data-theme=dark] .app .badge.company-status-layer-forecast{background:#453a28;border-color:#716044;color:#f3d89c}[data-theme=dark] .app .badge.incoming-status-bad{background:#4c2d33;border-color:#7a4650;color:#ffc1c6}[data-theme=dark] .app .badge.incoming-status-neutral{background:#30363f;border-color:#4a535f;color:#d0d5dd}[data-theme=dark] .app .company-status-meta>span:not(.badge){color:#bdc5d0;border-color:#49525f}[data-theme=dark] .app .table,[data-theme=dark] .app #clients .table{background:var(--surface);border-color:var(--border);box-shadow:none;color:var(--text)}[data-theme=dark] .app .table th,[data-theme=dark] .app .table td,[data-theme=dark] .app #clients .table th,[data-theme=dark] .app #clients .table td{border-color:#3b434e}[data-theme=dark] .app .table thead th,[data-theme=dark] .app #clients .table thead th{background:#343c47;color:#eef1f6}[data-theme=dark] .app .table tbody tr:nth-child(odd),[data-theme=dark] .app #clients .table tbody tr:nth-child(odd){background:#252a31}[data-theme=dark] .app .table tbody tr:nth-child(2n),[data-theme=dark] .app #clients .table tbody tr:nth-child(2n){background:#292f37}[data-theme=dark] .app .table tbody tr:hover,[data-theme=dark] .app #clients .table tbody tr:hover{background:var(--table-hover)}[data-theme=dark] .app .table tbody tr.outgoing-row-overdue:nth-child(n){background:#442b31}[data-theme=dark] .app input:not([type=checkbox]):not([type=radio]),[data-theme=dark] .app select,[data-theme=dark] .app textarea{background:#20242b;color:var(--text);border-color:#566170;box-shadow:none}[data-theme=dark] .app input::placeholder,[data-theme=dark] .app textarea::placeholder{color:#a0aaba;opacity:1}[data-theme=dark] .app :is(input,select,textarea,button,a):focus-visible{outline:2px solid #8cbeff;outline-offset:2px}[data-theme=dark] .app :is(input,select,textarea):focus-visible{outline-offset:-2px}[data-theme=dark] .app :is(input,select,textarea):disabled{color:#a6afbc;background:#292e36}[data-theme=dark] .app .btn.primary{background:#3278db;color:#fff;border-color:#4c8ee7;box-shadow:none}[data-theme=dark] .app .col{--col-bg:#20242b;background:#20242b;border-color:var(--border);box-shadow:none}[data-theme=dark] .app .col>h3,[data-theme=dark] .app .dashboard-stat strong,[data-theme=dark] .app .dashboard-finance strong{color:var(--text)}[data-theme=dark] .app .col .stat{color:var(--muted)}[data-theme=dark] .app .company-status-cashflow-line line{stroke:#596372}[data-theme=dark] .app .company-status-cashflow-line path{stroke:#74d3bf}[data-theme=dark] .app .company-status-cashflow-line circle{fill:#74d3bf}.company-status-kpi .company-status-info{position:absolute;right:12px;top:12px;color:var(--muted);font-size:15px;font-weight:400}.company-status-kpi{position:relative}[data-theme=dark] .app :is(.contracts-settings-list,.contracts-settings-editor,.contracts-settings-section,.contracts-empty-state,.contracts-type-card){background:var(--surface);border-color:var(--border);color:var(--text)}[data-theme=dark] .app :is(.contracts-type-card small,.contracts-type-card em,.contracts-empty-state p,.muted){color:var(--muted)}[data-theme=dark] .invoice-issue-panel{background:var(--surface);color:var(--text)}[data-theme=dark] .app .pvc-desc-nyitas-item{background:var(--surface);color:var(--text);border-color:var(--border)}.outgoing-offer-sheet{--bg:#fff;--surface:#fff;--surface-soft:#f8fafc;--surface-muted:#e5e7eb;--border:#dce2eb;--text:#202b3d;--text-soft:#40516a;--muted:#64748b;--panel:#fff;--card:#fff;--card-bg:#fff;color:#202b3d;color-scheme:light}[data-theme=dark] .app .outgoing-offer-sheet :is(h1,h2,h3,h4,strong,p,li,div,span){color:inherit}[data-theme=dark] .app .outgoing-offer-sheet :is(.small,.muted){color:#64748b}[data-theme=dark] .app .outgoing-offer-sheet .table{background:#fff;color:#202b3d;border-color:#dce2eb;box-shadow:none}[data-theme=dark] .app .outgoing-offer-sheet .table :is(th,td){color:#202b3d;border-color:#dce2eb}[data-theme=dark] .app .outgoing-offer-sheet .table thead th{background:#edf1f7;color:#40516a}[data-theme=dark] .app .outgoing-offer-sheet .table tbody tr:nth-child(n){background:#fff}[data-theme=dark] .app .outgoing-offer-sheet .table tbody tr:nth-child(2n){background:#f8fafc}html[data-theme=light-modern]{--bg:#f3f5f8;--surface:#ffffff;--surface-soft:#f7f9fc;--surface-muted:#e9edf3;--border:#dce2eb;--text:#202b3d;--text-soft:#40516a;--muted:#64748b;--primary:#2563cf;--overlay:rgba(27,39,58,.4);--table-hover:#edf4ff;--table-row-even:#f8fafc;--sidebar-bg:linear-gradient(165deg,#111d46 0%,#18386a 52%,#0d1737 100%);--nav-liquid-start:#111d46;--nav-liquid-mid:#18386a;--nav-liquid-end:#0d1737;--panel:var(--surface);--panel-soft:var(--surface-soft);--card:var(--surface);--card-bg:var(--surface);--line:var(--border);--input-bg:var(--surface);--primary-soft:#e8f0fd;color-scheme:light}[data-theme=light-modern] .app .sidebar{color:#e8f2ff;border-right:1px solid #315784;box-shadow:4px 0 20px #14335d21;-webkit-backdrop-filter:none;backdrop-filter:none}[data-theme=light-modern] .app .sidebar>.brand{color:#fff}[data-theme=light-modern] .app .sidebar>.brand img{filter:brightness(0) invert(1);opacity:1}[data-theme=light-modern] .app .sidebar .build-info-btn{color:#c2d5ec}[data-theme=light-modern] .app .nav a,[data-theme=light-modern] .app .nav-group-btn{color:#e0ebfa;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:transparent}[data-theme=light-modern] .app .nav a:hover,[data-theme=light-modern] .app .nav-group-btn:hover{background:#ffffff1a;border-color:#a8ceff33}[data-theme=light-modern] .app .nav a.active,[data-theme=light-modern] .app .nav-group-btn.active{background:linear-gradient(110deg,#347bea,#2464c4);border-color:#699dea;color:#fff;box-shadow:inset 3px 0 #a8d7ff,0 4px 12px #05183833}[data-theme=light-modern] .app .card,[data-theme=light-modern] .app .dashboard-stat,[data-theme=light-modern] .app .dashboard-section,[data-theme=light-modern] .app .company-status-kpi,[data-theme=light-modern] .app .sw-kpi-card{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 7px #1e2f470a;color:var(--text)}[data-theme=light-modern] .app .company-status-kpi{padding:18px;min-height:134px;text-align:left}[data-theme=light-modern] .app .company-status-kpi strong{font-size:25px;letter-spacing:-.025em;color:#202b3d}[data-theme=light-modern] .app .company-status-kpi:hover,[data-theme=light-modern] .app .sw-kpi-card:hover{background:#fbfdff;border-color:#a5bfdc;box-shadow:0 4px 12px #1e2f470f}[data-theme=light-modern] .app .company-status-kpi.active{border-color:#5793dc;background:#f4f8ff}[data-theme=light-modern] .app .badge.company-status-layer-actual,[data-theme=light-modern] .app .badge.company-status-layer-plan{background:#edf4ff;border-color:#cbdcf6;color:#275b99}[data-theme=light-modern] .app .badge.incoming-status-warn,[data-theme=light-modern] .app .badge.company-status-layer-forecast{background:#fff6e5;border-color:#eddab3;color:#805b19}[data-theme=light-modern] .app .badge.incoming-status-ok,[data-theme=light-modern] .app .badge.company-status-layer-closed{background:#eaf6ee;border-color:#c9e2d2;color:#2d6947}[data-theme=light-modern] .app .badge.incoming-status-bad{background:#fff0f1;border-color:#efccd0;color:#aa3b48}[data-theme=light-modern] .app .table{background:#fff;border-color:var(--border);box-shadow:none;color:var(--text)}[data-theme=light-modern] .app .table th,[data-theme=light-modern] .app .table td{border-color:#e2e7ef}[data-theme=light-modern] .app .table thead th{background:#18558e;color:#fff;border-color:#3974a7}[data-theme=light-modern] .app .table tbody tr:nth-child(odd){background:#fff}[data-theme=light-modern] .app .table tbody tr:nth-child(2n){background:#f8fafc}[data-theme=light-modern] .app .table tbody tr:hover{background:#edf4ff}[data-theme=light-modern] .app .table tbody tr.outgoing-row-overdue:nth-child(n){background:#fff0f1}[data-theme=light-modern] .app input:not([type=checkbox]):not([type=radio]),[data-theme=light-modern] .app select,[data-theme=light-modern] .app textarea{background:#fff;border-color:#bcc8d8;color:var(--text);box-shadow:none}[data-theme=light-modern] .app input::placeholder,[data-theme=light-modern] .app textarea::placeholder{color:#6d7c90;opacity:1}[data-theme=light-modern] .app :is(input,select,textarea,button,a):focus-visible{outline:2px solid #3977cd;outline-offset:2px}[data-theme=light-modern] .app :is(input,select,textarea):focus-visible{outline-offset:-2px}[data-theme=light-modern] .app :is(input,select,textarea):disabled{background:#f0f3f7;color:#6d7c90}[data-theme=light-modern] .app .btn.primary{background:linear-gradient(110deg,#307bec,#235dc6);border-color:#2869cf;color:#fff;box-shadow:0 3px 8px #2563cf2e}[data-theme=light-modern] .nav-floating-panel{background:#fff;border-color:var(--border);box-shadow:0 10px 30px #1e2f4724}[data-theme=light-modern] .nav-floating-panel:before{background:#fff;border-color:var(--border)}[data-theme=light-modern] .nav-floating-panel a{color:#40516a}[data-theme=light-modern] .nav-floating-panel a:hover{background:#edf1f6;color:#202b3d}[data-theme=light-modern] .nav-floating-panel a.active{background:#e8f0fd;color:#174d96;box-shadow:inset 3px 0 #3b82df}[data-theme=light-modern] .nav-floating-title{color:#64748b}[data-theme=light-modern] .nav-floating-sep{background:var(--border)}[data-theme=light-modern] .app .dashboard-stat,[data-theme=light-modern] .app .company-status-kpi{border-top:3px solid #3b82df}[data-theme=light-modern] .app .dashboard-stat strong{color:#194f91}[data-theme=light-modern] .app .dashboard-stat.attention{border-top-color:#d99824;background:#fffcf5}[data-theme=light-modern] .app .dashboard-stat.attention strong{color:#855912}[data-theme=light-modern] .app .dashboard-stat.danger{border-top-color:#d96272;background:#fff9fa}[data-theme=light-modern] .app .dashboard-stat.danger strong{color:#a43647}[data-theme=light-modern] .app .dashboard-section-head h3{color:#174b86}[data-theme=light-modern] .app .dashboard-pipe-row{background:#eef5ff;border-left:3px solid #649de9}[data-theme=light-modern] .app .dashboard-pipe-row:nth-child(3n+2){background:#eff9f6;border-left-color:#46a68f}[data-theme=light-modern] .app .dashboard-pipe-row:nth-child(3n){background:#f5f1fc;border-left-color:#9680ce}[data-theme=light-modern] .app .dashboard-pipe-row:hover{background:#e1edfc;border-color:#4d8bda}[data-theme=light-modern] .app .dashboard-pipe-row strong{color:#20558e}[data-theme=light-modern] .app .outgoing-offer-sheet .table thead th{background:#edf1f7;color:#40516a;border-color:#dce2eb}:root{--field-focus:#3977cd}[data-theme=dark]{--field-focus:#8cbeff}.login-page{--field-focus:#60a5fa}:is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=button]):not([type=submit]):not([type=reset]),select,textarea,[contenteditable=true],[role=combobox]):is(:focus,:focus-visible){outline:2px solid var(--field-focus)!important;outline-offset:-2px!important;box-shadow:inset 0 0 0 1px var(--field-focus)!important}label>br+:is(input:not([type=checkbox]):not([type=radio]),select,textarea,div:has(>input)){margin-top:6px}.tabbar[data-liquid-tabs=ready]{position:relative;isolation:isolate}.tabbar[data-liquid-tabs=ready]:before{content:"";position:absolute;left:0;top:0;width:var(--liquid-tab-width);height:var(--liquid-tab-height);transform:translate3d(var(--liquid-tab-x),var(--liquid-tab-y),0);border-radius:12px 15px;background:radial-gradient(ellipse at 25% 0%,rgba(177,220,255,.18),transparent 70%),var(--surface);box-shadow:0 4px 10px #0f172a14,inset 0 1px #ffffff8c;pointer-events:none;z-index:0;transition:transform .44s cubic-bezier(.22,1.15,.36,1),width .34s cubic-bezier(.22,1,.36,1),height .34s ease}.tabbar[data-liquid-tabs=ready]>.tab{position:relative;z-index:1}.tabbar[data-liquid-tabs=ready]>.tab.active{background:transparent;box-shadow:none}@media(prefers-reduced-motion:reduce){.tabbar[data-liquid-tabs=ready]:before{transition:none}}@media(max-width:900px){.app .content,.app .page.active,.app .content>*,.modal form{min-width:0}#root .app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),:is(.modal,.scanner-overlay,.company-status-modal-backdrop,[data-modal-backdrop]) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:16px!important;min-height:44px;min-width:0;max-width:100%;box-sizing:border-box}.app :is(.btn,.tab),.modal :is(.btn,button[type=submit]){min-height:44px}:is(.modal,.scanner-overlay,.company-status-modal-backdrop,.pvc-image-modal-overlay,.cash-item-overlay,.invoice-issue-overlay,[data-modal-backdrop]){top:var(--mobile-viewport-top, 0px)!important;bottom:auto;height:var(--mobile-viewport-height, 100dvh)!important;max-height:var(--mobile-viewport-height, 100dvh);padding:0!important;align-items:flex-end;box-sizing:border-box}.modal>:is(div,section,form),.modal-panel,[role=dialog]{min-width:0;min-height:0;max-width:100%;max-height:calc(var(--mobile-viewport-height, 100dvh) - max(8px,env(safe-area-inset-top,0px)))!important;box-sizing:border-box}.modal :is(.body,.modal-body,.cash-receipt-modal-body,.bt-body){min-height:0;overscroll-behavior:contain}.modal :is(footer,.modal-footer,.cash-receipt-modal-footer){gap:8px;flex-wrap:wrap;padding-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-keyboard-open .mobile-tabbar{visibility:hidden;pointer-events:none}.mobile-backdrop{touch-action:none}.wh-scan-row{display:flex;flex-wrap:wrap;min-width:0;gap:8px}.wh-scan-row>input{flex:1 1 180px;width:auto;min-width:0}.wh-scan-row>:is(button,label){flex:0 1 auto}.dt-wrap:has(table.m-cards){max-height:none!important;overflow:visible}.dt-wrap:not(:has(table.m-cards)){max-width:100%;overflow-x:auto}table.table.m-cards td>:is(input,select,textarea,div){min-width:0}.outgoing-items-table-wrap:has(.m-cards){max-height:none;overflow:visible}table.outgoing-items-table.m-cards,table.outgoing-items-table.m-cards tbody{display:block;width:100%;min-width:0}table.outgoing-items-table.m-cards thead,table.outgoing-items-table.m-cards colgroup{display:none}table.outgoing-items-table.m-cards tr{display:block;margin:10px;border:1px solid var(--border);border-radius:10px;padding:4px 10px;background:var(--surface)}table.outgoing-items-table.m-cards td{display:flex;align-items:center;justify-content:space-between;gap:10px;width:auto!important;min-width:0;padding:8px 0;border-bottom:1px dashed var(--border);overflow-wrap:anywhere}table.outgoing-items-table.m-cards td:before{content:attr(data-label);flex:0 0 38%;text-align:left;font-size:12px;font-weight:600;color:var(--muted)}table.outgoing-items-table.m-cards td>:is(input,select,div){min-width:0;flex:1 1 0}table.outgoing-items-table.m-cards td:first-child{display:block}table.outgoing-items-table.m-cards td:first-child:before{display:block;margin-bottom:8px}table.outgoing-items-table.m-cards td:first-child>div{flex-wrap:nowrap}table.outgoing-items-table.m-cards td:last-child{border:0}table.outgoing-items-table.m-cards td[data-label=""]:before{display:none}.outgoing-item-svc-btn,.outgoing-item-del{min-width:40px;min-height:44px;flex-shrink:0}.outgoing-items-summary{flex-direction:column;align-items:stretch}.outgoing-vat-summary,.outgoing-totals-box{min-width:0;max-width:100%}.outgoing-vat-row{flex-wrap:wrap;gap:6px 12px;overflow-wrap:anywhere}.outgoing-customer-picker-row{min-width:0}}@media(max-width:420px){.wh-scan-row>input{flex-basis:100%}.wh-scan-row>:is(button,label){flex:1 1 130px}}
