:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#17303a;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #dce6e8;border-radius:8px;background:#fff;color:#17303a;padding:9px 12px;font-size:12px;font-weight:700}button:hover{background:#f4fafa}.primary{background:#0f9c8f;border-color:#0b7a70;color:#fff}.primary:hover{background:#0b7a70}.danger{color:#b62727;background:#fff5f5;border-color:#f1c9c9}.shell{min-height:100vh;display:grid;grid-template-columns:minmax(200px,240px) minmax(0,1fr);transition:grid-template-columns .2s ease}.shell.sidebar-closed{grid-template-columns:minmax(0,1fr)}.shell aside{min-height:100vh;padding:20px 14px 18px;background:linear-gradient(180deg,#0a161c,#070f14);color:#dbe9ec;display:flex;flex-direction:column;min-width:0;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.shell.sidebar-closed aside{display:none}.sidebar-backdrop{display:none}.menu-toggle{display:inline-flex;border:1px solid #dce6e8;background:#fff;width:40px;height:40px;border-radius:10px;font-size:18px;flex:0 0 auto;align-items:center;justify-content:center;line-height:1}.menu-toggle:hover{background:#f4fafa;border-color:#b7d4cf}.header-lead{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}.aside-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}.aside-top .brand{padding:2px 4px 12px;flex:1;min-width:0}.aside-close{border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#91abb1;width:34px;height:34px;border-radius:8px;padding:0;flex:0 0 auto}.aside-close:hover{background:#ffffff1a;color:#fff}.shell nav button em{font-style:normal}.brand{padding:2px 9px 25px;position:relative}.brand b{display:block;color:#f2fbfb;font-size:20px;letter-spacing:-.04em}.brand small{display:block;margin-top:4px;color:#76a1a4;font-size:9px;font-weight:800;letter-spacing:.12em}.demo-pill{display:inline-block;margin-top:10px;padding:3px 8px;border-radius:999px;background:#f59e0b2e;color:#fbbf24;font-size:10px;font-weight:800;font-style:normal;letter-spacing:.08em}.aside-status{margin-top:auto;padding:18px 10px 4px;display:grid;gap:6px;color:#6c8791;font-size:11px}.aside-status .warn{color:#fbbf24}.aside-status .ok{color:#4bc4b4}.title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.title-editable{cursor:pointer;border-radius:8px;padding:2px 6px;margin:-2px -6px;transition:background .15s}.title-editable:hover{background:#f4fafa}.title-edit{margin:0;min-width:0;flex:1}.title-edit input{font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;color:inherit;width:100%;min-width:0;max-width:100%;padding:4px 8px;border:1px solid #b7d4cf;border-radius:8px;background:#fffaf0;box-sizing:border-box}.demo-badge,.dirty-badge,.saved-badge,.saved-hint{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800}.demo-badge{background:#fff7e8;color:#9a6b12;border:1px solid #f0d9a4}.dirty-badge{background:#fff5f5;color:#b62727;border:1px solid #f1c9c9}.saved-badge{background:#eefbf7;color:#0b7a70;border:1px solid #b7e4db}.saved-hint{background:#f4f7f8;color:#5c7681;border:1px solid #dce6e8;font-weight:700}.aside-status b{color:#dbe9ec;font-weight:700}.aside-status .aside-saved{color:#6c8791;font-size:10px}.source-line{margin:6px 0 0;color:#5c7681;font-size:12px}.welcome{display:grid;gap:18px;padding:26px 28px;border:1px solid #d7eee9;border-radius:16px;background:linear-gradient(135deg,#f3fffc,#fff 55%,#fff8eb)}.welcome p{margin:0 0 6px;color:#0b7a70;font-size:10px;font-weight:800;letter-spacing:.12em}.welcome h2{margin:0;font-size:24px}.welcome span{display:block;max-width:620px;color:#5c7681;font-size:13px;line-height:1.45}.welcome-actions{display:flex;flex-wrap:wrap;gap:8px}.welcome-msg{color:#0b7a70;font-size:12px;font-style:normal}.restore-banner{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;border:1px solid #b7e4db;border-radius:12px;background:#eefbf7}.restore-banner b{display:block;color:#0b7a70}.restore-banner span{color:#5c7681;font-size:12px}.meta-list p{margin:0 0 8px;color:#5c7681;font-size:13px}.meta-list b{color:#0d2027}.shell nav{display:grid;gap:4px}.shell nav button{border:0;text-align:left;background:transparent;color:#91abb1;padding:11px 12px;display:flex;align-items:center;gap:0}.shell nav button span{display:inline-block;width:21px;color:#4bc4b4;font-size:16px;flex:0 0 auto}.shell nav button.active{color:#fff;background:#2dd4bf1f;box-shadow:inset 3px 0 #2dd4bf}.shell footer{margin-top:auto;padding:22px 9px 0;color:#dcebf0;font-size:11px}.shell footer i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2dd4bf;margin-right:8px}.shell footer small{color:#6c8791}main{min-width:0;padding:30px clamp(20px,4vw,60px) 60px}main>header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 16px;align-items:flex-start;margin-bottom:28px}main>header>.controls{flex:1 1 100%;max-width:100%}.header-lead>div{min-width:0;max-width:100%}.title-row h1,.title-edit{min-width:0;max-width:100%}.title-row h1:not(.title-edit){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}header p,.intro p,.hero p{margin:0 0 5px;color:#5c7681;font-size:10px;font-weight:800;letter-spacing:.13em}h1,h2,h3{margin:0;color:#0d2027;letter-spacing:-.04em}h1{font-size:27px}.controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;align-items:flex-start}.controls input{display:none}.controls em{flex:1 1 100%;width:100%;color:#0b7a70;text-align:left;font-size:11px;font-style:normal;line-height:1.4}.tools-menu{position:relative}.tools-toggle{display:inline-flex;align-items:center;gap:4px}.tools-dropdown{position:absolute;top:calc(100% + 4px);right:0;z-index:20;min-width:230px;padding:6px;border:1px solid #dce6e8;border-radius:12px;background:#fff;box-shadow:0 12px 32px #081c2429;display:grid;gap:2px}.tools-dropdown button{width:100%;justify-content:flex-start;text-align:left;border:0;background:transparent;border-radius:8px;padding:10px 12px;font-weight:650}.tools-dropdown button:hover{background:#f1fbf8}.tools-dropdown button:disabled{opacity:.5;cursor:not-allowed}.stack{display:grid;gap:20px}.hero{display:flex;justify-content:space-between;gap:24px;padding:30px 34px;border-radius:18px;background:radial-gradient(circle at 85% 5%,#276b6a,transparent 33%),linear-gradient(122deg,#16323b,#070f14);color:#fff;box-shadow:0 24px 56px -18px #081c2447}.hero p{color:#94dfd4}.hero h2{max-width:640px;color:#fff;font-size:26px}.hero span{display:block;margin-top:9px;color:#b6d3d6;font-size:13px}.filter{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));align-content:start;gap:10px;min-width:350px}.filter label,.fields label{display:grid;gap:5px;color:#b6d3d6;font-size:10px;font-weight:700}.filter input,.filter select{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff}.filter option{color:#17303a}.notice{display:flex;gap:15px;align-items:center;justify-content:space-between;width:100%;padding:15px 18px;border:1px solid #ecdcae;border-radius:12px;background:#fffcf5;text-align:left}.notice b{display:block;color:#9a6b12}.notice span{display:block;margin-top:4px;color:#667982;font-size:12px}.notice-link{cursor:pointer;transition:border-color .15s,background .15s,transform .12s}.notice-link:hover{border-color:#e0b45a;background:#fff8e8;transform:translateY(-1px)}.notice-link em{font-style:normal;color:#9a6b12;font-size:12px;font-weight:800;white-space:nowrap}.issue-list{display:grid;gap:10px}.focus-banner{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;border:1px solid #f0d9a4;border-radius:12px;background:#fff7e8}.focus-banner b{display:block;color:#9a6b12}.focus-banner span{color:#667982;font-size:12px}tr.row-issue{background:#fff8f0}tr.row-issue td{border-bottom-color:#f0d9a4}.input-issue{border-color:#e0a8a8!important;background:#fff5f5!important;box-shadow:0 0 0 1px #dc3d3d1f}.issue-hint{display:block;margin-top:4px;color:#b62727;font-size:10px;font-weight:700}.empty-hint{display:block;padding:12px 0;color:#0b7a70;font-size:13px}.kpi-click{cursor:pointer;font:inherit;text-align:left;width:100%}.kpi-click:hover{background:#fff8f8}.sort-th{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.sort-th span{opacity:.55;font-size:10px}.linkish{border:0;background:transparent;color:#0b7a70;padding:0 6px 0 0;font-size:11px;font-weight:700;text-decoration:underline;cursor:pointer}.linkish:hover{color:#0a5f57}.table-hint{margin:0 0 12px;color:#5c7681;font-size:12px}.table-foot{display:block;margin-top:10px;color:#5c7681}.data-table{width:100%;border-collapse:separate;border-spacing:0}.data-table th{position:sticky;top:0;z-index:2;background:#f3f7f7;border-bottom:1px solid #dce6e8;padding:12px 14px;white-space:nowrap}.data-table td{padding:12px 14px;border-bottom:1px solid #eef2f3;vertical-align:middle;font-size:13px;color:#243b44}.data-table .row-view:hover{background:#f7fbfb}.data-table .row-stamp,.data-table .row-stamp .cell-main{color:#6d848d}.data-table .row-open{background:linear-gradient(90deg,#f3fffc,transparent 40%)}.data-table .row-editing{background:#fffaf0}.data-table .row-editing td{padding:10px 12px}.cell-sub{margin-top:2px;color:#7a929b;font-size:11px}.cell-empty{color:#9aafb7;font-style:italic;font-weight:500}.order-cell{display:flex;align-items:center;gap:8px;min-width:150px}.order-code{display:inline-block;padding:4px 8px;border-radius:7px;background:#eef4f4;color:#0d2027;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700}.chip{border:1px solid #cfe4e0;border-radius:999px;background:#f1fbf8;color:#0b7a70;padding:3px 9px;font-size:11px;font-weight:700}.chip:hover{background:#dff7f1}.step-pill{display:inline-block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 10px;border-radius:999px;background:#edf1f3;color:#425d66;font-size:12px;font-weight:650}.step-pill.open{background:#e3f7f1;color:#0b7a70}.ma-pill{display:inline-flex;min-width:34px;justify-content:center;padding:3px 8px;border-radius:7px;background:#f0f4f4;color:#5c7681;font-weight:700;font-variant-numeric:tabular-nums}.ma-pill.open{background:#eaf2ff;color:#1d4ed8}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.duration{font-weight:700;color:#0d2027}.duration small{color:#8098a2;font-weight:600}.row-actions{display:flex;align-items:center;gap:6px;justify-content:flex-end;white-space:nowrap}.ghost{border:1px solid #dce6e8;background:#fff;color:#425d66;padding:6px 10px;border-radius:8px;font-size:11px;font-weight:700}.ghost:hover{background:#f4fafa;border-color:#b7d4cf;color:#0b7a70}.stack-cell{display:grid;gap:6px}.actions .search,.intro .actions .search{width:min(320px,100%);height:38px;padding:8px 12px;border:1px solid #dce6e8;border-radius:8px;background:#fff}.area-chip{display:inline-flex;align-items:center;gap:7px;max-width:220px;font-weight:650;color:#0d2027}.area-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 0 2px #ffffffe6}.color-swatch{display:inline-block;width:28px;height:18px;border-radius:6px;border:1px solid #dce6e8}.tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700}.tag-ok{background:#e3f7f1;color:#0b7a70}.tag-muted{background:#edf1f3;color:#5c7681}.pill-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.check-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:#425d66}.compact-select{min-width:140px;max-width:220px;height:34px;padding:4px 8px;border:1px solid #dce6e8;border-radius:8px;background:#fff}.data-table.compact-metrics td,.data-table.compact-metrics th{padding:10px 12px;font-size:12px}.data-table .total td{background:#f3f7f7;border-top:1px solid #dce6e8;font-weight:700}.data-table input,.data-table select{width:100%;min-width:0}.kpis,.kpis-6{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.meter{display:grid;gap:5px;min-width:0;max-width:280px}.scroll,.data-scroll{overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch;border:1px solid #edf1f3;border-radius:10px;background:linear-gradient(90deg,#fff 30%,#fff0),linear-gradient(90deg,#fff0,#fff 70%) 100% 0,linear-gradient(90deg,rgba(9,30,38,.08),transparent),linear-gradient(90deg,transparent,rgba(9,30,38,.08)) 100% 0;background-repeat:no-repeat;background-size:40px 100%,40px 100%,14px 100%,14px 100%;background-attachment:local,local,scroll,scroll}.data-scroll{max-height:min(75vh,820px)}.scroll{max-height:none}.data-table,.compact-metrics{white-space:normal}.data-table th,.compact-metrics th,.num,.duration,.row-actions,.status{white-space:nowrap}.cell-main{max-width:min(280px,40vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:#0d2027}.premises,.machine-premises{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:16px 18px;border:1px solid #e2e8ec;border-radius:12px;background:#fff}.premises small,.machine-premises small{display:block;color:#5c7681;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.premises strong,.machine-premises strong{display:block;margin-top:6px;color:#0d2027;font-size:18px}.premise-card{padding:4px 2px;border-radius:8px;cursor:default}.premise-card[title]{cursor:pointer}.premise-card:hover{background:#f7fbfb}.premise-card.editing{background:#fffaf0;padding:8px;cursor:default}.premise-edit{display:flex;align-items:center;gap:6px;margin-top:6px}.premise-edit input{width:100%;min-width:0;height:34px;padding:4px 8px;border:1px solid #b7d4cf;border-radius:8px}.premise-edit em{font-style:normal;color:#5c7681;font-weight:700}.area-bar{padding:16px 18px;border:1px solid #e2e8ec;border-radius:12px;background:#fff}.area-bar-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:12px;flex-wrap:wrap}.area-bar-head b{color:#0d2027;font-size:14px}.area-bar-head span{color:#5c7681;font-size:12px}.staff-summary{display:grid;grid-template-columns:minmax(120px,160px) 1fr;gap:14px;align-items:stretch;margin-bottom:14px;padding:14px;border:1px solid #e7f1f0;border-radius:12px;background:linear-gradient(135deg,#f3fffc,#fff)}.staff-summary-total{display:grid;align-content:center;gap:2px;padding-right:12px;border-right:1px solid #dce6e8}.staff-summary-total strong{font-size:32px;line-height:1;color:#0d2027;letter-spacing:-.04em}.staff-summary-total span{color:#0b7a70;font-size:12px;font-weight:800}.staff-summary-total small{color:#5c7681;font-size:11px}.staff-summary-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.staff-summary-item{display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:auto auto;column-gap:7px;row-gap:2px;align-items:center;text-align:left;border:1px solid #e2e8ec;border-radius:10px;background:#fff;padding:10px 12px;color:#243b44}.staff-summary-item:hover{border-color:#b7d4cf;background:#f7fbfb}.staff-summary-item.active{border-color:#0b7a70;background:#e3f7f1}.staff-summary-item.external{opacity:.8}.staff-summary-item.warn{border-color:#f0d9a4;background:#fff8e8}.staff-summary-item .area-dot{grid-row:1 / span 2}.staff-summary-name{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.staff-summary-item b{font-size:18px;letter-spacing:-.03em;color:#0d2027}.staff-summary-item em{font-style:normal;color:#5c7681;font-size:11px;font-weight:700}.staff-summary-item small{grid-column:2 / -1;color:#7a929b;font-size:11px}.area-chips{display:flex;flex-wrap:wrap;gap:8px}.area-filter-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #dce6e8;border-radius:999px;background:#f7fbfb;color:#243b44;padding:7px 12px;font-size:12px;font-weight:700}.area-filter-chip:hover{border-color:#b7d4cf;background:#eefbf7}.area-filter-chip.active{border-color:#0b7a70;background:#e3f7f1;color:#0b7a70}.area-filter-chip.external{opacity:.75}.area-filter-chip.add{border-style:dashed;color:#0b7a70}.area-filter-chip em{font-style:normal;min-width:18px;padding:1px 6px;border-radius:999px;background:#0b7a701a;font-size:11px}.area-filter-chip.editing{border-radius:12px;background:#fffaf0;border-color:#f0d9a4}.area-filter-chip.editing input:not(.color){width:min(160px,40vw);height:28px;padding:2px 8px;border:1px solid #dce6e8;border-radius:6px}.area-filter-chip .chip-x{border:0;background:transparent;color:#b62727;padding:0 4px;font-size:16px;line-height:1}.meter i{display:block;height:8px;background:#edf1f3;border-radius:8px;overflow:hidden}.meter b{display:block;height:100%;border-radius:8px}.meter b.planned{background:#4f86e8}.meter b.over{background:#ef4444}.meter span{font-size:11px;color:#5c7681;white-space:normal}.rest-cell{display:grid;gap:3px;min-width:110px}.rest-cell strong{font-size:13px}.rest-cell small{font-size:11px;font-weight:700}.rest-cell.ok strong,.rest-cell.ok small{color:#0b7a70}.rest-cell.over strong,.rest-cell.over small{color:#b62727}.rest-cell.ok{padding:6px 8px;border-radius:8px;background:#e3f7f1}.rest-cell.over{padding:6px 8px;border-radius:8px;background:#fdeaea}.good{color:#0b7a70!important;font-weight:800}.info{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:4px;border-radius:50%;background:#e8f1f2;color:#5c7681;font-size:10px;font-weight:800;cursor:help;vertical-align:middle}.info:hover,.info:focus{background:#0f9c8f;color:#fff;outline:0}.info:after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%);width:max-content;max-width:260px;padding:8px 10px;border-radius:8px;background:#0d2027;color:#fff;font-size:11px;font-weight:500;line-height:1.35;white-space:normal;opacity:0;pointer-events:none;transition:opacity .15s;z-index:5;box-shadow:0 8px 24px #0003}.info:hover:after,.info:focus:after{opacity:1}.chart-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}.chart-tabs button{padding:7px 12px}.chart-tabs button.active{background:#0f9c8f;border-color:#0b7a70;color:#fff}.chart-legend{display:flex;align-items:center;gap:10px;margin-left:auto;color:#5c7681;font-size:11px;font-weight:650;flex-wrap:wrap}.chart-legend i{display:inline-block;width:14px;height:8px;border-radius:4px}.chart-legend i.planned{background:#4f86e8}.chart-legend i.capacity{background:#d7e8e6;border:1px solid #7aa8a2}.chart-legend i.free{background:#2dd4bf}.chart-legend i.over{background:#ef4444}.capacity-chart{display:grid;gap:14px}.chart-row{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:12px}.chart-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;color:#17303a}.compare{display:grid;gap:7px;min-width:0}.compare-bar{position:relative;display:flex;align-items:stretch;height:18px;min-width:0}.compare-capacity{display:flex;height:100%;border-radius:9px;overflow:hidden;background:#e7f1f0;border:1px solid #b7d4cf;box-sizing:border-box;min-width:2px}.compare-planned,.compare-free,.compare-over{display:block;height:100%;min-width:0}.compare-planned{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.compare-free{background:linear-gradient(90deg,#14b8a6,#2dd4bf)}.compare-over{border-radius:0 9px 9px 0;margin-left:2px;background:linear-gradient(90deg,#f87171,#ef4444);min-width:3px}.compare-mark{position:absolute;top:-3px;bottom:-3px;width:2px;background:#0f766e;border-radius:2px;transform:translate(-1px);pointer-events:none}.compare-stats{display:flex;flex-wrap:wrap;gap:6px}.compare-stats .stat{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2}.compare-stats .stat.planned{background:#eaf2ff;color:#1d4ed8}.compare-stats .stat.capacity{background:#eef6f5;color:#0f766e}.compare-stats .stat.free{background:#e3f7f1;color:#0b7a70}.compare-stats .stat.over{background:#fdeaea;color:#b62727}tr.total td{background:#f6f9f9;font-weight:700}.kpi{min-height:126px;padding:19px;border:1px solid #e2e8ec;border-top:3px solid #2dd4bf;border-radius:12px;background:#fff;box-shadow:0 1px 2px #091e260d}.kpi.blue{border-top-color:#4f86e8}.kpi.slate{border-top-color:#94a3b8}.kpi.red{border-top-color:#dc3d3d}.kpi p{margin:0;color:#5c7681;font-size:12px;font-weight:650}.kpi strong{display:block;margin-top:16px;color:#0d2027;font-size:27px;letter-spacing:-.05em}.kpi small{margin-left:5px;color:#8098a2;font-size:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:21px;border:1px solid #e2e8ec;border-radius:12px;background:#fff;box-shadow:0 1px 2px #091e260d}.panel h3{margin-bottom:15px;font-size:16px}.bars{display:grid}.bars>div{display:grid;grid-template-columns:125px 1fr 76px 95px;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #edf1f3;font-size:12px}.bars>div:first-child{border-top:0}.bars i{height:7px;background:#f0f4f4;border-radius:8px;overflow:hidden}.bars b{display:block;height:100%;border-radius:8px}.bars em{font-style:normal;text-align:right;color:#5c7681}.status{display:inline-block;width:max-content;border-radius:99px;padding:4px 8px;font-size:10px;font-weight:800}.green{background:#e3f7f1;color:#0b7a70}.amber{background:#fdf0d4;color:#9a6b12}.red{background:#fbdede;color:#b62727}.intro{display:flex;align-items:end;justify-content:space-between;gap:16px}.intro h2{font-size:24px}.intro span,.panel p{display:block;margin-top:7px;color:#5c7681;font-size:12px}.intro input{width:250px}.scroll{overflow:auto}table{width:100%;border-collapse:collapse}th{text-align:left;background:#f6f9f9;color:#5c7681;font-size:10px;letter-spacing:.08em;text-transform:uppercase;position:sticky;top:0}th,td{padding:11px 12px;border-bottom:1px solid #edf1f3}td{color:#425d66;font-size:12.5px}.bad{color:#dc3d3d!important;font-weight:800}td input,td select{min-width:88px;width:100%;height:32px;padding:5px 7px}td input.color{width:42px;min-width:42px;padding:2px;height:32px}.intro .actions input{display:block;width:250px;height:38px;padding:8px 10px;border:1px solid #dce6e8;border-radius:8px}.delete{padding:3px 8px;color:#b62727;background:#fdeaea;border:0;font-size:18px}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fields label{color:#5c7681;font-size:11px}.fields input{height:38px}.actions{display:flex;flex-wrap:wrap;gap:9px}.loading{display:grid;min-height:100vh;place-items:center;background:#071014;color:#dbe9ec}.col-secondary{display:table-cell}.col-wide{min-width:160px}.kpi{overflow:hidden}.kpi p{line-height:1.35}.kpi strong{font-size:clamp(20px,2.4vw,27px);word-break:break-word}.hero{min-width:0}.hero h2{overflow-wrap:anywhere}.filter{min-width:0;max-width:100%}.panel{min-width:0;overflow:hidden}@media(max-width:1280px){main>header{flex-direction:column;align-items:stretch}.controls{justify-content:flex-start}}@media(max-width:1200px){.shell.sidebar-open:not(.sidebar-closed){grid-template-columns:minmax(180px,210px) minmax(0,1fr)}.col-wide .meter span{display:none}}@media(max-width:1100px){.col-secondary{display:none}}@media(max-width:960px){.shell,.shell.sidebar-open,.shell.sidebar-closed{grid-template-columns:minmax(0,1fr)}.shell aside{display:flex;position:fixed;inset:0 auto 0 0;width:min(280px,86vw);z-index:40;transform:translate(-105%);box-shadow:none}.shell.sidebar-open aside{display:flex;transform:translate(0);box-shadow:16px 0 40px #00000047}.shell.sidebar-closed aside{display:flex;transform:translate(-105%)}.shell.sidebar-open .sidebar-backdrop{display:block;position:fixed;inset:0;z-index:30;border:0;background:#070f1473;padding:0}main{padding:16px clamp(12px,3vw,24px) 36px;min-width:0}.hero,.intro,.welcome,.restore-banner{flex-direction:column}.filter{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.controls{justify-content:flex-start}.chart-row{grid-template-columns:minmax(64px,90px) 1fr;gap:8px}.chart-legend{width:100%;margin-left:0}.staff-summary{grid-template-columns:1fr}.staff-summary-total{border-right:0;border-bottom:1px solid #dce6e8;padding-right:0;padding-bottom:12px}.col-wide{display:none}.meter{max-width:100%}}@media(max-width:560px){.filter,.fields{grid-template-columns:1fr}.hero{padding:20px}.hero h2,h1{font-size:20px}.info:after{left:0;transform:none;max-width:200px}.controls button{padding:8px 10px}.panel{padding:14px}.kpi{min-height:0;padding:14px}.kpi strong{margin-top:10px;font-size:22px}}.modal-backdrop{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:#040d119e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fadeIn .15s ease;cursor:default}.import-modal{width:min(720px,100%);max-height:90vh;overflow:auto;padding:28px;border-radius:18px;background:#fff;box-shadow:0 25px 80px #00000059;animation:popIn .2s ease}.import-modal>p{margin:0 0 5px;color:#0b7a70;font-size:10px;font-weight:800;letter-spacing:.13em}.import-modal h2{font-size:23px}.import-modal>span,.import-modal>small{display:block;margin-top:8px;color:#5c7681;font-size:13px;line-height:1.4}.import-modal h3{margin:20px 0 9px;font-size:14px}.import-modal ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}.import-modal li{padding:7px 9px;border-radius:7px;background:#f1fbf8;color:#0b7a70;font-size:11px}.import-modal li b{color:#17303a}.import-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}.import-grid div{padding:14px;border:1px solid #e2e8ec;border-radius:10px;background:#f8fbfb}.import-grid b{display:block;color:#0d2027;font-size:22px}.import-grid small{color:#5c7681;font-size:11px}.project-modal .import-grid{grid-template-columns:repeat(3,1fr)}.project-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;padding:12px 14px;border-radius:10px;background:#f1fbf8;color:#0b7a70;font-size:12px;font-weight:650}.warnings{display:grid;gap:5px;margin-top:17px;padding:12px;border:1px solid #ecdcae;border-radius:9px;background:#fffcf5;color:#79540f;font-size:12px}.warnings b{margin-bottom:3px}.import-modal .actions{margin-top:20px}.vault-modal label{display:grid;gap:6px;margin-top:14px;color:#17303a;font-size:13px;font-weight:650}.vault-modal input{width:100%;padding:10px 12px;border:1px solid #d5e2e6;border-radius:10px;font:inherit;background:#f8fbfb}.vault-pw-row{display:flex;gap:8px}.vault-pw-row input{flex:1}.vault-pw-row button{flex:0 0 auto}.vault-error{display:block;margin-top:12px;color:#b42318;font-size:13px;font-style:normal;font-weight:650}.pw-strength{margin-top:12px;padding:12px 14px;border:1px solid #e2e8ec;border-radius:12px;background:#f8fbfb}.pw-strength-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#5c7681}.pw-strength-head strong{color:#0d2027;font-size:13px}.pw-strength-0 .pw-strength-head strong,.pw-strength-1 .pw-strength-head strong{color:#b42318}.pw-strength-2 .pw-strength-head strong{color:#b54708}.pw-strength-3 .pw-strength-head strong{color:#a15c07}.pw-strength-4 .pw-strength-head strong,.pw-strength-5 .pw-strength-head strong{color:#0b7a70}.pw-strength-bar{margin-top:8px;height:8px;border-radius:99px;background:#e7eef1;overflow:hidden}.pw-strength-bar i{display:block;height:100%;border-radius:99px;background:#94a3b8;transition:width .2s ease}.pw-strength-0 .pw-strength-bar i,.pw-strength-1 .pw-strength-bar i{background:#f04438}.pw-strength-2 .pw-strength-bar i{background:#f79009}.pw-strength-3 .pw-strength-bar i{background:#fdb022}.pw-strength-4 .pw-strength-bar i,.pw-strength-5 .pw-strength-bar i{background:#12b76a}.pw-strength-list{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:10px 0 0;padding:0;list-style:none}.pw-strength-list li{color:#7a9099;font-size:12px;font-weight:600}.pw-strength-list li.ok{color:#0b7a70}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes popIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:560px){.import-modal ul,.import-grid,.project-modal .import-grid,.pw-strength-list{grid-template-columns:1fr}}
