:root{--navy:#142c50;--ink:#1b2e47;--muted:#5c6c80;--canvas:#f4f6f9;--line:#e5eaf0;--green:#267045;--blue:#2c63a8;--red:#ab4145;--yellow:#896613;--radius:12px;--font:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}::selection{background:#cddcf2;color:var(--navy)}:focus-visible{outline:3px solid #6b92c6;outline-offset:3px}input{caret-color:var(--blue)}input::placeholder{color:#62738a;opacity:1}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#c2cbd7;border-radius:10px;border:2px solid var(--canvas)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:12px;top:-70px;z-index:20;background:#fff;padding:12px}.skip-link:focus{top:12px}.sidebar{width:238px;background:var(--navy);color:#eaf0f8;position:fixed;inset:0 auto 0 0;padding:32px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;font-size:15px;font-weight:650}.brand-mark{position:relative;background:#fff;color:var(--navy);font-size:14px;font-weight:800;letter-spacing:-.6px;border-radius:10px;min-width:44px;height:44px;display:grid;place-content:center}.brand-mark>span{position:absolute;width:9px;height:9px;right:-2px;bottom:-2px;background:#a6c696;border:2px solid var(--navy);border-radius:50%}.brand-subtitle{display:block;font-size:12px;color:#b5c6dd;font-weight:400;margin-top:1px}.sidebar nav{display:grid;gap:9px;margin-top:56px}.nav-item{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#c7d4e6;padding:13px 12px;border-radius:8px;text-align:left;font-size:13px;font-weight:550;width:100%}.nav-item svg{width:18px;height:18px}.nav-item.active{background:#2b4265;color:#fff}.nav-item:hover{background:#263e61;color:#fff}.nav-dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#a6c696}.sidebar-bottom{display:flex;gap:10px;margin-top:auto;padding:21px 10px 0;border-top:1px solid #354b6a;font-size:12px}.sidebar-bottom p{margin:4px 0 0;font-size:11px;color:#bdcce0}.public-indicator,.state-dot{display:inline-block;width:7px;height:7px;background:#a6c696;border-radius:50%;margin-top:6px;flex-shrink:0}main{margin-left:238px;max-width:1780px;padding:38px 38px 22px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}h1{margin:0;font-size:32px;letter-spacing:-1px;line-height:1.2;font-weight:700}.year{margin-left:12px;font-size:24px;font-weight:400;color:#7e8b9d}h1+p{margin:9px 0 0;color:var(--muted);font-size:14px}.header-actions{display:flex;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:8px;border:1px solid transparent;padding:9px 15px;font-weight:600;font-size:13px;white-space:nowrap;transition:background .15s}.button svg{height:17px;width:17px}.primary{background:var(--navy);color:white}.primary:hover{background:#24486f}.secondary{border-color:#dbe2eb;background:#fff;color:#374d67}.secondary:hover{background:#eaf0f7}.danger{color:#a8363c;background:#fff1f1}.danger:hover{background:#f8dddd}.month-overview{background:#fff;border-radius:var(--radius);border:1px solid var(--line);padding:22px 24px;display:flex;align-items:center;gap:22px;margin-bottom:25px}.month-badge{display:grid;grid-template-columns:25px 1fr;column-gap:10px;align-items:center;padding-right:25px;border-right:1px solid var(--line)}.month-badge svg{grid-row:span 2;color:#687d98;width:23px;height:23px}.month-badge strong{font-size:15px}.month-badge>span:last-child{font-size:11px;color:#758399}.overview-copy{display:grid;gap:4px}.overview-copy strong{font-size:14px;font-weight:600}.overview-copy>span{font-size:12px;color:var(--muted)}.save-state{margin-left:auto;display:flex;align-items:flex-start;gap:9px;min-width:174px}.save-state .state-dot{background:#438568}.save-state strong{font-size:12px;font-weight:600}.save-state div>span{display:block;font-size:11px;color:var(--muted);margin-top:2px}.save-state.error .state-dot{background:var(--red)}.save-state.saving .state-dot{background:var(--yellow)}.workspace{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.workspace-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 18px}.workspace-heading h2{font-size:18px;letter-spacing:-.35px;margin:0;font-weight:650}.workspace-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;width:34px;height:34px;color:#6e7e91}.icon-button:hover{background:#eaf0f7;color:var(--navy)}.team-tabs{display:flex;gap:3px;padding:0 24px;border-bottom:1px solid var(--line);overflow-x:auto}.team-tab{position:relative;display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:12px 14px 15px;background:transparent;border:0;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.team-tab:first-child{padding-left:0;margin-right:12px}.team-tab>span{font-size:10px;background:#edf0f5;border-radius:4px;padding:1px 5px;color:#68798d}.team-tab.selected{color:var(--navy)}.team-tab.selected:after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:2px;background:var(--navy)}.team-tab:first-child.selected:after{left:0}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}.dot.green{background:#438764}.dot.blue{background:#5c8ac5}.dot.red{background:#c56f74}.dot.yellow{background:#d1ad4b}.filters{padding:19px 24px;display:flex;align-items:center;gap:12px}.search{display:flex;align-items:center;gap:9px;border:1px solid #dce3ec;border-radius:8px;padding:9px 12px;min-width:200px;flex:1}.search>span{color:#8b99aa}.search svg{height:17px;width:17px}.search input{width:100%;border:0;background:none;outline:none;color:var(--ink);min-width:0;font-size:12px}.search:focus-within{border-color:#6b92c6;box-shadow:0 0 0 2px #e1eaf7}kbd{font:11px var(--font);border:1px solid #e5eaf0;border-radius:3px;padding:0 5px;color:#5d6e85}.area-select{position:relative}.area-select select{appearance:none;border:1px solid #dce3ec;border-radius:8px;background:white;color:#4d6078;font-size:12px;min-height:38px;padding:8px 34px 8px 12px;max-width:210px}.area-select>span:last-child{position:absolute;right:9px;top:11px;pointer-events:none}.area-select svg{width:15px;height:15px}.open-filter{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.open-filter input{accent-color:var(--navy);width:14px;height:14px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;table-layout:fixed}th{text-align:left;font-size:11px;font-weight:600;padding:11px 12px;background:#f9fafc;color:#6a7b91;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}th:first-child{padding-left:24px}.function-column{width:25%}.action-column{width:42px}.team-heading{display:flex;align-items:center;gap:7px}.team-heading.green{color:var(--green)}.team-heading.blue{color:var(--blue)}.team-heading.red{color:var(--red)}.team-heading.yellow{color:var(--yellow)}.area-row th{background:#f0f3f8;border:0;padding-top:10px;padding-bottom:10px}.area-toggle{display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;font-size:11px;font-weight:650;color:#334e70;text-transform:uppercase;letter-spacing:.4px;width:100%}.area-toggle svg{width:13px;height:13px;transform:rotate(0deg);transition:transform .15s}.area-toggle.collapsed svg{transform:rotate(-90deg)}.area-toggle span:last-child{font-size:10px;font-weight:400;color:#647891;text-transform:none;letter-spacing:normal;margin-left:3px}td{padding:10px 9px;border-bottom:1px solid #edf0f4;vertical-align:middle}.function-cell{padding:13px 12px 13px 24px}.function-cell strong{font-size:12px;display:block;font-weight:600;line-height:1.45}.function-cell small{display:block;color:#5d7088;font-size:10px;margin-top:3px}.assignment{display:block;width:100%;border:1px solid transparent;border-radius:6px;padding:8px 5px;text-align:left;background:transparent;color:#33465f;min-height:35px;font-size:12px;line-height:1.45;overflow-wrap:anywhere;transition:background .15s}.assignment:hover{border-color:#d8e1ec;background:#f3f6fb}.assignment.empty{color:#64758a;font-size:11px;font-style:italic}.assignment.empty:hover{color:var(--blue)}.team-cell.green .assignment:hover{background:#edf6ef}.team-cell.blue .assignment:hover{background:#edf3fc}.team-cell.red .assignment:hover{background:#fcf0f0}.team-cell.yellow .assignment:hover{background:#fcf8e9}.row-edit{opacity:1;width:27px;height:30px}.row-edit svg{height:14px;width:14px}tr:hover .row-edit,.row-edit:focus-visible{opacity:1}.cell-editor{display:flex;flex-wrap:wrap;gap:5px;padding:3px 0;min-width:0}.cell-editor input{width:100%;min-width:0;border:1px solid #6b92c6;padding:7px;border-radius:5px;font-size:12px;background:#fff}.cell-editor button{border:0;border-radius:4px;background:#eaf0f7;padding:4px;color:var(--navy)}.cell-editor button:first-of-type{background:var(--navy);color:#fff}.cell-editor svg{width:15px;height:15px}.table-footer{padding:15px 24px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#5e7087;background:#fcfdfe}.table-footer>span:last-child{display:flex;align-items:center;gap:6px}.table-footer svg{width:12px;height:12px}.loading-cell,.empty-cell{text-align:center;padding:52px 20px;color:var(--muted)}.empty-cell strong{display:block;font-size:14px;color:var(--ink);margin-bottom:5px}.page-footer{display:flex;justify-content:space-between;gap:20px;padding-top:21px;color:#607086;font-size:10px}.page-footer>span:first-child{font-weight:600}.load-error{text-align:center;padding:35px}.load-error h3{margin:0}.load-error p{color:var(--muted)}dialog{color:var(--ink);border:0;padding:28px;box-shadow:0 16px 60px #0f23312b;border-radius:14px}dialog::backdrop{background:#152a4566;backdrop-filter:blur(2px)}.side-panel{width:min(540px,calc(100vw - 28px));max-height:90dvh}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.dialog-heading h2{font-size:21px;letter-spacing:-.5px;margin:0}.dialog-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px}.form-grid label{display:grid;gap:6px;font-size:12px;font-weight:600}.form-grid label>span{display:flex;gap:7px;align-items:center}.form-grid input{width:100%;min-width:0;border:1px solid #d5dfeb;border-radius:7px;padding:10px 11px;font-size:13px;color:var(--ink);background:#fff}.full{grid-column:1/-1}.form-section{padding-top:8px;border-top:1px solid var(--line);color:#5d7088;font-size:11px}.dialog-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.form-error{font-size:12px;color:var(--red);min-height:18px}.history-content{font-size:13px}.history-empty{background:#f4f6f9;border-radius:9px;padding:25px;text-align:center;color:var(--muted)}.history-list{list-style:none;margin:0;padding:0}.history-list li{padding:17px 0;border-top:1px solid var(--line)}.history-list h3{font-size:13px;margin:0 0 3px}.history-list time{font-size:10px;color:#5d6e85}.history-change{font-size:12px;padding:5px 0;overflow-wrap:anywhere}.history-change span{color:var(--muted)}.history-change del{color:#9f5558;text-decoration:none}.history-change strong{color:var(--green);font-weight:500}.history-list .button{margin-top:7px;min-height:29px;font-size:11px;padding:5px 9px}.toast{position:fixed;z-index:20;bottom:26px;left:calc(50% + 100px);transform:translateX(-50%);padding:12px 20px;background:var(--navy);color:#fff;border-radius:9px;box-shadow:0 7px 24px #16294726;font-size:13px;max-width:min(90vw,600px)}.toast.error{background:#8b303a}[hidden]{display:none!important}
@media(min-width:1550px){main{padding-left:48px;padding-right:48px}td .assignment{font-size:13px}.function-cell strong{font-size:13px}}
@media(max-width:1180px){.sidebar{width:204px;padding-left:13px;padding-right:13px}main{margin-left:204px;padding:30px 24px}.brand{padding-left:5px;font-size:14px}.nav-item{font-size:12px;gap:8px}.filters{flex-wrap:wrap}.open-filter{margin-left:auto}.function-column{width:26%}.page-header{align-items:flex-start}h1{font-size:28px}.year{font-size:21px}.header-actions{gap:6px}.button{padding:9px 11px}.month-overview{gap:15px}.month-badge{padding-right:15px}.save-state{min-width:150px}.toast{left:calc(50% + 75px)}}
@media(max-width:900px){.sidebar{position:static;width:auto;padding:16px 22px;flex-direction:row;align-items:center;justify-content:space-between}.brand-subtitle{display:none}.sidebar nav{margin:0;display:flex}.nav-item.active{display:none}.nav-item{width:auto;font-size:0;padding:10px}.nav-item svg{width:21px;height:21px}.sidebar-bottom{display:none}main{margin:0;padding:26px 22px}.brand{font-size:15px}.brand-mark{height:37px;min-width:38px}.page-header{margin-bottom:22px}.save-state{min-width:150px}.toast{left:50%}.page-footer{font-size:10px}}
@media(max-width:620px){main{padding:24px 14px 18px}.sidebar{padding:13px 17px}.page-header{display:block;margin-bottom:20px}h1{font-size:28px}.year{font-size:20px;margin-left:8px}h1+p{font-size:12px}.header-actions{margin-top:19px;justify-content:space-between}.header-actions .button{flex:1;min-height:41px}.month-overview{flex-wrap:wrap;padding:17px 18px;gap:15px;margin-bottom:20px}.month-badge{padding-right:17px}.overview-copy{flex:1;min-width:140px}.overview-copy strong{font-size:12px}.overview-copy>span{font-size:10px}.save-state{width:100%;margin-left:0;padding-top:12px;border-top:1px solid var(--line);align-items:center}.save-state div{display:flex;align-items:center;gap:10px}.save-state div>span{margin:0;font-size:10px}.state-dot{margin-top:0}.workspace-heading{padding:19px 17px 13px}.workspace-heading h2{font-size:16px}.workspace-heading p{font-size:11px}.team-tabs{padding:0 17px;gap:0}.team-tab{padding:12px 10px 13px;font-size:11px;gap:6px}.team-tab:first-child{margin-right:3px}.team-tab>span{display:none}.filters{padding:15px 17px;gap:9px}.search{width:100%;flex:initial;min-width:0}.area-select{flex:1}.area-select select{max-width:100%;width:100%}.open-filter{font-size:10px}.table-scroll{overflow:visible}table,tbody{display:block;width:100%}thead{display:none}tr{display:grid;grid-template-columns:1fr 1fr;position:relative;border-bottom:1px solid var(--line);padding:0 13px 11px;gap:3px 10px}td{display:block;border:0;padding:0}.area-row{display:block;padding:0;border:0}.area-row th{display:block;padding:12px 17px}.area-toggle{font-size:10px}.function-cell{grid-column:1/-1;padding:13px 34px 4px 4px}.function-cell strong{font-size:13px}.function-cell small{font-size:10px}.team-cell:before{content:attr(data-label);display:block;font-size:9px;font-weight:600;margin:7px 0 0 5px;color:var(--muted)}.team-cell.green:before{color:var(--green)}.team-cell.blue:before{color:var(--blue)}.team-cell.red:before{color:var(--red)}.team-cell.yellow:before{color:var(--yellow)}.assignment{font-size:12px;min-height:30px;padding:4px 5px}.assignment.empty{font-size:10px}.action-cell{position:absolute;right:13px;top:9px}.row-edit{opacity:.7}.table-footer{padding:14px 17px;flex-direction:column;gap:6px}.page-footer{display:block;padding:18px 3px}.page-footer>span{display:block;margin-top:5px}.side-panel{padding:23px;max-height:92dvh}.form-grid{gap:15px 12px}.form-grid input{font-size:16px}.cell-editor input{font-size:16px}.toast{font-size:12px;bottom:15px;width:calc(100% - 32px);text-align:center}.loading-cell,.empty-cell{grid-column:1/-1;padding:35px 10px}.team-only tr{grid-template-columns:1fr}.team-only .function-cell{grid-column:1}.team-only .team-cell{padding:0 4px}.team-only .team-cell:before{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{body{background:#fff;font-size:10px}.sidebar,.header-actions,.filters,.team-tabs,.print-button,.row-edit,.table-footer,.page-footer,.save-state,.toast,dialog{display:none!important}main{margin:0;padding:0;max-width:none}.page-header{margin-bottom:15px}h1{font-size:24px}.workspace{border:0}.workspace-heading{padding:8px 0}.month-overview{padding:10px;border-radius:0;margin-bottom:12px}.assignment{font-size:10px;padding:2px}.function-cell{padding:7px 5px}td,th{padding:5px}tr{break-inside:avoid}.table-scroll{overflow:visible}.area-row th{padding:6px 5px}.team-cell[hidden]{display:table-cell!important}}
