/* A single frame for every workspace route. Only the content surface changes. */
body:has(.shell){overflow:hidden}.shell{height:100dvh;min-height:0}.shell .sidebar,.sheet-mode .sidebar{width:216px;padding:22px 14px}.shell .main,.sheet-mode .main,.overview-mode .main{margin-left:216px;width:calc(100% - 216px);min-width:0;height:100dvh;overflow:hidden;display:flex;flex-direction:column}.shell .topbar,.sheet-mode .topbar{height:56px;min-height:56px;flex:0 0 56px;padding:0 24px}.shell .content,.sheet-mode .content,.overview-mode .content{padding:24px;flex:1;height:auto;min-height:0;min-width:0;overflow:auto;scrollbar-gutter:stable}.sheet-mode .content{display:flex;flex-direction:column;overflow:hidden;overflow-y:auto}.shell .brand,.sheet-mode .brand{font-size:17px;padding:0 9px 24px}.shell .workspace,.sheet-mode .workspace{margin-bottom:24px}.shell .nav-btn,.sheet-mode .nav-btn{font-size:13px}.shell .guide-card{display:none}.sheet-title,.dash-heading,.overview-heading{padding:0;margin:0 0 16px;min-height:58px;flex-shrink:0}.sheet-title h1,.dash-heading h1,.overview-heading h1{font-size:24px;line-height:1.4;letter-spacing:0}.sheet-views{flex-shrink:0}.sheet-scroll{min-height:110px}.dash-period{justify-content:flex-start;gap:16px;min-height:38px;margin-bottom:16px}.dash-period-label{font-size:12px;color:#7e8d84}.dash-presets select{font:inherit;font-size:12px;color:#718178;border:0;background:transparent;border-radius:6px;padding:7px 10px;max-width:260px;cursor:pointer}.dash-presets select.selected{background:white;color:#24765f;box-shadow:0 2px 5px #243d3610}.dash-stat:hover{transform:none}.drill-banner{margin:0 0 12px}.drill-banner+.sheet-title{padding:0}.todo-periods{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:white;border:1px solid #e2e8e5;border-radius:8px;margin-bottom:12px;flex-shrink:0}.todo-periods>span{font-size:12px;color:#74877a;margin-right:4px}.todo-periods button{font-size:12px;padding:6px 12px;border-radius:5px;color:#648071;background:#f5f8f6}.todo-periods button.active{background:#e1f0e8;color:#236e52;font-weight:600}.todo-periods b{margin-left:7px;font-variant-numeric:tabular-nums}.todo-periods small{color:#92a297;font-size:11px;margin-left:auto}@media(max-width:1000px){.shell .sidebar,.sheet-mode .sidebar{width:180px;padding:22px 10px}.shell .main,.sheet-mode .main,.overview-mode .main{margin-left:180px;width:calc(100% - 180px)}.shell .content,.sheet-mode .content,.overview-mode .content{padding:20px}.shell .topbar,.sheet-mode .topbar{padding:0 20px}.sheet-toolbar{flex-wrap:wrap}.sheet-title h1,.dash-heading h1,.overview-heading h1{font-size:22px}.todo-periods small{display:none}}
.sheet-summary button{padding:5px 7px;border-radius:5px;color:#597666}.sheet-summary button:hover{background:#e7f2ec}.receipt-chart{height:230px;display:flex;gap:6px;padding:38px 12px 0;margin-top:10px}.receipt-column{flex:1;min-width:0;display:flex;flex-direction:column;position:relative}.receipt-bar-hit{height:160px;position:relative;padding:0;width:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dfe8e2}.receipt-bar{display:block;width:65%;max-width:34px;background:#3c9475;border-radius:5px 5px 0 0;min-height:2px}.receipt-tooltip{display:none;position:absolute;bottom:100%;left:50%;transform:translateX(-50%);z-index:5;padding:8px 11px;background:#263f34;color:#fff;font-size:11px;white-space:nowrap;border-radius:6px;box-shadow:0 4px 12px #172b3220;pointer-events:none}.receipt-tooltip b{display:block;font-size:14px;margin-top:3px}.receipt-bar-hit:hover .receipt-tooltip,.receipt-bar-hit:focus-visible .receipt-tooltip{display:block}.receipt-bar-hit:hover .receipt-bar{background:#257459}.receipt-column:first-child .receipt-tooltip{left:0;transform:none}.receipt-column:last-child .receipt-tooltip{left:auto;right:0;transform:none}.receipt-tick{text-align:center;height:26px;padding-top:6px;white-space:nowrap;font-size:11px;color:#8a9b90}.daily-scroll-controls{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:12px;color:#7c9285}.daily-scroll-controls button{border:1px solid #dce5de;border-radius:5px;width:30px;height:27px;background:white;font-size:19px}.overview-trend{scroll-snap-type:x proximity}.trend-day{scroll-snap-align:start;flex-shrink:0}.trend-day:first-child{border-color:#91bea4;background:#eff7f2}
.manager-period{justify-content:space-between}.manager-period input[type=date]{cursor:pointer;min-height:34px}.manager-period input[type=date]:hover{border-color:#8bb8a2;background:#f8fcfa}@media(max-width:1200px){.sheet-summary{display:flex;flex-wrap:wrap;gap:3px}.sheet-summary>span{margin:0 3px}.sheet-summary button{font-size:11px;padding:4px}.sheet-title{flex-wrap:wrap;gap:8px}.sheet-summary #save-state{font-size:10px}}
.manager-period input[readonly]{cursor:pointer;min-height:34px;text-align:center}.overview-calendar{position:fixed;z-index:1000;width:286px;background:white;border:1px solid #dce8e0;box-shadow:0 10px 40px #163c2926;border-radius:10px;padding:12px}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:10px}.calendar-head select{border:1px solid #e2e9e4;border-radius:5px;background:#fafcfb;padding:5px;color:#476653;font-size:12px}.calendar-head button{width:26px;font-size:20px}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-days span{font-size:11px;color:#93a297;text-align:center;padding:5px}.calendar-days button{height:31px;border-radius:6px;font-size:12px;color:#536c5e}.calendar-days button:hover{background:#e6f3ec}.calendar-days button.selected{background:#277b5f;color:white}.calendar-today{margin-top:10px;padding:6px;width:100%;border-top:1px solid #eef2ee;color:#2c795b;font-size:12px}
.staff-table-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px}.staff-table-tools input,.staff-table-tools select{border:1px solid #dde7e0;border-radius:6px;background:white;padding:7px 10px;font-size:12px;color:#526b5d}.staff-table-tools input{width:210px;max-width:100%}.staff-table-tools>span{font-size:11px;color:#8b9c90;margin-left:auto}.dash-panel th button{font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:6px;padding:0;width:100%;text-align:left}.sort-arrow{color:#a4b6a8;font-size:13px}th[aria-sort=ascending] button,th[aria-sort=descending] button{color:#267653;font-weight:600}th[aria-sort=ascending] .sort-arrow,th[aria-sort=descending] .sort-arrow{color:#267653}.staff-no-results{text-align:center;padding:25px!important;color:#94a298!important}
.department-chevron{margin-left:auto;display:flex;transition:transform .15s}.department-chevron svg{width:14px;height:14px}.department-chevron.expanded{transform:rotate(90deg)}.department-list{min-height:0;overflow:auto;flex:0 1 auto;margin-bottom:6px}.sidebar .sidebar-bottom{flex-shrink:0}.department-list .nav-btn{width:100%}.department-list .sub-nav{width:calc(100% - 15px)}
