.sheet-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f3f3f3;color:#222;padding:9px;border:1px solid #c6c6c6;border-radius:6px 6px 0 0;font:13px Arial,sans-serif}.sheet-toolbar button,.sheet-formula button{background:white;color:#222;border:1px solid #bbb;border-radius:3px;padding:6px 9px}.sheet-toolbar select{background:white;color:#222;width:auto;padding:4px}.sheet-toolbar label{display:flex;gap:8px;align-items:center}.sheet-formula{display:flex;gap:8px;align-items:center;background:#eee;color:#444;padding:7px;border:1px solid #c6c6c6;border-top:0}.sheet-formula input{background:white;color:#111;border:1px solid #aaa;border-radius:2px;padding:7px;font:14px Arial,sans-serif}.sheet-formula #sheetAddress{width:90px}.sheet-formula #sheetFormula{flex:1;min-width:100px}.sheet-help{font-size:12px;margin:8px 0;color:var(--muted)}.sheet-scroll{width:100%;overflow:auto;max-height:73vh;background:white;border:1px solid #b0b0b0;outline:none}.excel-sheet{table-layout:fixed;border-collapse:separate;border-spacing:0;width:max-content;color:#000;background:white;font:11pt Arial,sans-serif}.excel-sheet th{background:#eee;color:#555;font:12px Arial,sans-serif;text-align:center;font-weight:400;border-right:1px solid #ccc;border-bottom:1px solid #ccc;min-width:40px;padding:4px;position:sticky}.excel-sheet thead th{top:0;z-index:6;height:24px}.excel-sheet tbody th{left:0;z-index:5}.excel-sheet .sheet-corner{left:0;z-index:7}.excel-sheet td{padding:2px 5px;border-right:1px solid #dadada;border-bottom:1px solid #dadada;overflow:hidden;text-overflow:clip;line-height:1.2;outline:none;min-width:0;cursor:cell}.excel-sheet td.sheet-selected{box-shadow:inset 0 0 0 1px #217346}.excel-sheet td.sheet-current{outline:2px solid #217346;outline-offset:-2px}.excel-sheet td.sheet-error{color:#c00000!important}.excel-sheet td[contenteditable=true]{overflow:visible;white-space:nowrap!important;outline:2px solid #217346;position:relative;z-index:8}.sheet-footer{display:flex;justify-content:space-between;gap:12px;font:13px Arial,sans-serif;padding:8px 12px;background:#e8e8e8;color:#333;border:1px solid #bbb}.sheet-footer>span:first-child{background:white;border-bottom:3px solid #217346;padding:5px 12px}@media(max-width:600px){.sheet-formula #sheetAddress{width:65px}.sheet-formula button{padding:6px}.sheet-scroll{max-height:65vh}.sheet-footer{flex-wrap:wrap}}

@media(max-width:900px){.excel-sheet td.sheet-frozen{position:static!important}.excel-sheet th.sheet-frozen{left:auto!important}}

.resource-analysis{margin-top:24px}.resource-analysis h3{margin-top:0}.resource-analysis .resource-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.resource-analysis .resource-stat strong{font-size:24px}.resource-utilization{margin:16px 0;color:var(--text)}.resource-utilization-track{height:12px;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:8px}.resource-utilization-track>span{display:block;height:100%;background:var(--good)}.resource-utilization-track>span.is-overloaded{background:var(--bad)}
