:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17221d;background:#f4f6f4;font-synthesis:none;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible{outline:3px solid #70b697;outline-offset:3px}.app-shell{display:grid;grid-template-columns:14rem minmax(0,1fr);min-height:100vh}.app-sidebar{background:#14392e;color:#fff;padding:1.5rem 1rem}.brand{display:block;font-size:1.25rem;font-weight:750;letter-spacing:-.025em;margin:0 .4rem 1.5rem}.app-sidebar nav{display:flex;flex-direction:column;gap:.5rem}nav button{border:1px solid transparent;border-radius:6px;background:transparent;color:#d5e6de;padding:.55rem .9rem}nav button:hover{background:#255343;color:#fff}nav button[aria-current=page]{background:#e1f3e9;color:#14392e;font-weight:700}main{max-width:1200px;margin:0 auto;padding:clamp(1.5rem,4vw,3rem) clamp(1.25rem,5vw,4rem)}.eyebrow{color:#2f6d53;font-size:.75rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;margin:0 0 .5rem}h1{font-size:clamp(1.9rem,4vw,2.6rem);letter-spacing:-.04em;line-height:1.15;margin:0}h2{font-size:1.1rem;margin:0 0 1rem}.subtitle{color:#52645b;margin:.6rem 0 2rem}.panel,.management-form,.table-wrap{background:#fff;border:1px solid #dce3de;border-radius:10px;box-shadow:0 2px 4px #193c2710}.management-form{padding:1.5rem;margin-bottom:1.5rem}.form-row{display:grid;grid-template-columns:1.3fr 1.3fr .7fr;gap:1rem}label{display:flex;flex-direction:column;gap:.35rem;color:#344b40;font-size:.85rem;font-weight:650}input{width:100%;background:#fff;border:1px solid #a9b9af;border-radius:5px;color:#17221d;padding:.65rem .75rem}.form-actions,.row-actions{display:flex;flex-wrap:wrap;gap:.6rem}.form-actions{margin-top:1.25rem}button{background:#fff;border:1px solid #a9b9af;border-radius:5px;color:#254c3c;padding:.5rem .85rem;font-weight:600}button:hover{background:#edf5f0}button.primary{background:#246248;border-color:#246248;color:#fff}button.primary:hover{background:#184d36}button.danger{color:#982d29}.error{background:#fff0ed;border-left:4px solid #b1372c;color:#922a23;padding:.8rem 1rem}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}caption{font-weight:700;padding:1rem 1.25rem;text-align:left}th,td{border-top:1px solid #e5eae6;padding:.85rem 1.25rem;vertical-align:middle}thead th{background:#f0f5f1;color:#4b6255;font-size:.8rem}.row-actions button{white-space:nowrap;font-size:.85rem}.empty-table,[role=status]{color:#52645b;padding:0 1.25rem 1rem}.empty-state{padding:2rem;text-align:center}.empty-state p{color:#52645b}.grid-months{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:1.25rem}.grid-months span{background:#e0e9e3;border-radius:5px;color:#365343;padding:.35rem .65rem;white-space:nowrap;font-size:.8rem;font-weight:650}.grid-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.grid-toolbar>button{margin-top:1.6rem;white-space:nowrap}.grid-toolbar .allocation-form{flex:1;margin:0}.search-label{width:min(100%,28rem)}.allocation-form-row{grid-template-columns:repeat(4,1fr)}select{width:100%;background:#fff;border:1px solid #a9b9af;border-radius:5px;color:#17221d;padding:.65rem .75rem}.allocation-grid-wrap{overflow-x:auto}.allocation-grid{min-width:920px}.allocation-grid th:first-child{min-width:11rem}.allocation-grid tbody th button{border:0;padding:0;text-align:left;width:100%}.allocation-grid tbody th button:hover{background:transparent}.allocation-grid tbody th button span,.person-total small,.person-total strong{display:block}.allocation-grid small{color:#52645b;font-size:.72rem;font-weight:400}.person-total{min-width:7rem;position:relative}.person-total:focus-visible{outline:3px solid #9a4b00;outline-offset:-3px}.person-total.over-allocated{background:#ffd6a5;box-shadow:inset 0 0 0 1px #b45309}.utilisation-tooltip{position:absolute;z-index:1;top:calc(100% - .35rem);left:.5rem;width:max-content;max-width:min(14rem,80vw);padding:.4rem .6rem;border:1px solid #7c3f00;border-radius:4px;background:#fff;color:#652d00;font-size:.8rem;visibility:hidden}.person-total:hover .utilisation-tooltip,.person-total:focus .utilisation-tooltip{visibility:visible}@media(max-width:720px){.utilisation-tooltip{left:.25rem;max-width:calc(100vw - 2.5rem);white-space:normal}}.total-allocation{display:block;font-size:.78rem}.product-row th{padding-left:2rem;font-size:.85rem}.allocation-editor input{min-width:5rem;padding:.45rem}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:720px){.form-row{grid-template-columns:1fr}.app-shell{display:block}.app-sidebar{padding:1rem 1.25rem}.brand{margin:0 0 1rem}.app-sidebar nav{flex-direction:row;flex-wrap:wrap;gap:.25rem}nav button{padding:.5rem .65rem}th,td{padding:.75rem}}
