:root{font-family:Inter,Segoe UI,Microsoft JhengHei,sans-serif;color:#233831;background:#f5f7f5;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #dbe3de;background:#fff;border-radius:7px;padding:10px 15px;color:#304a40;font-weight:600;white-space:nowrap;transition:background .15s}button:hover{background:#edf4ef}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #8bb69e;outline-offset:3px}.primary{background:#215b48;color:#fff;border-color:#215b48}.primary:hover{background:#174635}input,select{width:100%;background:#fff;border:1px solid #d5ded8;border-radius:7px;padding:11px 12px;color:#233831;min-height:43px}input:focus,select:focus{outline:2px solid #a3c8b4;outline-offset:1px}label{display:flex;flex-direction:column;gap:9px;font-weight:600;font-size:13px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650}h2{font-size:17px;font-weight:650}small{font-size:11px}p{line-height:1.7}.muted{color:#78867e}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#718879;display:block;margin-bottom:10px}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:650;letter-spacing:.3px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:7px;opacity:.6}.brand-mark{display:flex;align-items:center;justify-content:center;background:#d7e5b4;color:#244e3f;border-radius:9px;width:38px;height:38px;font-size:20px}.app-shell{display:flex;min-height:100vh}.sidebar{width:234px;background:#173c36;color:#e8f0e9;position:fixed;inset:0 auto 0 0;padding:32px 22px;display:flex;flex-direction:column}.sidebar .brand{font-size:15px;margin-bottom:42px}.nav-label{font-size:10px;color:#91aca0;letter-spacing:1.5px;margin:24px 12px 12px}.sidebar>.nav-label{margin-top:0}.sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;color:#b9cbc2;font-size:13px;padding:13px 14px;margin-bottom:6px;font-weight:500}.sidebar nav button.active{background:#31574a;color:#eef6ce}.sidebar nav button:hover{background:#254b40}.source-tag{margin-top:auto;font-size:12px;padding:22px 10px 0;border-top:1px solid #33534a}.source-tag>span:last-child{display:block;color:#9bb5a6;font-size:10px;margin-top:10px}.source-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c4dba1;margin-right:8px}.workspace{margin-left:234px;min-width:0;flex:1}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid #e3e8e3;background:#fff}.breadcrumb{font-size:12px;color:#64766a}.breadcrumb>span{margin:0 10px;color:#bbc4bc}.account{display:flex;align-items:center;gap:11px;font-size:12px}.account small{display:block;color:#839087;margin-top:4px}.avatar{width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf2e8;color:#51735a;font-size:15px}.text-button{border:0;background:transparent;font-weight:400;color:#77867c;margin-left:8px;padding:8px}.content{padding:35px 42px 24px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.page-heading p{margin-top:9px;font-size:13px}.scope-pill{font-size:11px;background:#e8eee2;color:#5e7751;border:1px solid #dbe5d2;padding:8px 12px;border-radius:20px;white-space:nowrap}.card{background:#fff;border:1px solid #e0e6df;border-radius:12px;box-shadow:0 2px 3px #23383103;overflow:hidden}.query-card{padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.quick-buttons{display:flex;gap:7px;flex-wrap:wrap}.quick-buttons button{font-size:11px;padding:6px 12px}.query-fields{display:flex;align-items:end;gap:15px}.query-fields label{flex:1;min-width:0}.query-fields label:nth-last-child(2){flex:1.25}.query-fields .primary{height:43px;min-width:112px}.date-divider{align-self:end;line-height:43px;color:#a1afa5}.helper{font-size:11px;color:#87938a;line-height:1.7;margin-top:13px}.summary-strip{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.3fr;padding:24px 0;gap:24px}.summary-strip>div{padding-left:23px;border-left:1px solid #dae2d9}.summary-strip>div:first-child{padding-left:0;border:0}.summary-strip .muted{font-size:11px;display:block}.summary-strip strong{display:block;font-size:27px;margin-top:7px;font-weight:600}.summary-strip small{font-size:12px;font-weight:400;color:#8a978d}.summary-strip .small-value{font-size:17px;padding-top:8px}.summary-strip .warning-value{font-size:17px;color:#a66c26;padding-top:8px}.summary-strip .summary-note{font-size:11px;color:#859286;line-height:1.8;align-self:center}.results-card>.section-heading,.management-card>.section-heading{padding:23px 24px 0}.results-card .section-heading .helper{margin-top:6px}.legend{display:flex;gap:18px;font-size:10px;color:#7b8b7f;padding:0 24px 18px;flex-wrap:wrap}.legend>span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:2px}.work{background:#e5eee1;color:#436b3e}.off{background:#e7edf7;color:#50719d}.leave{background:#f9edda;color:#a17031}.rest{background:#f1f3f1;color:#7f8a80}.conflict{background:#f9e3e0;color:#ae5247}.table-scroll{overflow:auto;max-height:65vh;scrollbar-width:thin}.schedule-table{border-collapse:separate;border-spacing:0;font-size:12px;width:100%}.schedule-table th,.schedule-table td{border-top:1px solid #edf0eb;border-right:1px solid #edf0eb;padding:9px;min-width:98px;vertical-align:middle}.schedule-table thead th{position:sticky;top:0;z-index:2;background:#f8faf6;font-weight:500;color:#5c735e;height:66px}.schedule-table th small{display:block;font-size:10px;color:#93a08f;margin-top:5px}.schedule-table .sticky{position:sticky;left:0;min-width:185px;z-index:1;background:#fff;text-align:left;padding-left:24px}.schedule-table thead .sticky{z-index:3;background:#f8faf6}.schedule-table .weekend{background:#eff3eb}.shift-cell{border-radius:5px;padding:9px 7px;min-height:47px;font-size:10px;text-align:center;max-width:128px}.shift-cell strong{display:block;font-size:11px;font-weight:600}.shift-cell small{display:block;font-size:9px;line-height:1.6;max-height:44px;overflow:auto;white-space:normal;margin-top:3px}.empty{padding:56px 20px;text-align:center;color:#8a978e;font-size:13px}.empty h3{font-size:16px;color:#586e5d;margin-bottom:10px;font-weight:500}.empty-symbol{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;background:#f1f5ed;border-radius:16px;font-size:34px;color:#8fa585;margin-bottom:20px}.footnote{font-size:10px;color:#8d9a8e;margin-top:15px}.alert{border-radius:7px;padding:12px 15px;font-size:12px;margin-bottom:20px;line-height:1.7}.error{background:#fbedeb;border:1px solid #edd0cc;color:#9a463b}.success{background:#eaf3e6;border:1px solid #d4e5cb;color:#507344}.management-card>.helper{margin:0 24px 18px}.data-table{border-collapse:collapse;width:100%;font-size:12px}.data-table th{background:#f7f9f4;text-align:left;color:#71806e;font-weight:500;white-space:nowrap}.data-table td,.data-table th{padding:15px 20px;border-top:1px solid #e9eee6}.data-table td{white-space:nowrap}.actions{display:flex;gap:8px}.actions button{font-size:11px;padding:7px 10px}.danger-text{color:#a35c52}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#142e2677;z-index:10;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.modal{background:#fff;border-radius:12px;box-shadow:0 12px 50px #15382733;padding:26px;width:610px;max-width:100%;max-height:90vh;overflow:auto}.small-modal{width:440px}.small-modal p{margin-top:15px;color:#74806f}.edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid #e3e9df}.danger{background:#a85146;color:#fff;border-color:#a85146}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#173c36;color:#ecf1d9;display:flex;flex-direction:column;justify-content:space-between;padding:55px 65px;min-height:100vh}.login-story .eyebrow{color:#a6bc97}.login-story h1{font-size:64px;font-weight:500;line-height:1.35;letter-spacing:-2px;margin:25px 0}.login-story p{color:#acc2b2;font-size:16px;line-height:2}.story-line{height:1px;width:70px;background:#73896a;margin:35px 0 20px}.muted-light{color:#90aa98;font-size:11px;letter-spacing:.6px}.login-panel{display:flex;align-items:center;justify-content:center;background:#fafbf8;padding:40px}.login-form{width:350px;max-width:100%}.login-form h2{font-size:26px;margin-bottom:12px;font-weight:600}.login-form>.muted{font-size:12px;margin-bottom:30px}.login-form label{margin-top:22px}.login-form input{margin-top:2px}.full{width:100%;margin-top:28px;padding:14px}.login-note{font-size:10px;color:#8c9a8c;margin-top:20px;text-align:center}.loading{display:flex;min-height:100vh;align-items:center;justify-content:center;color:#708672}@media(min-width:1500px){.content{padding-top:45px}.query-card{padding:28px}.login-story{padding:65px 90px}}@media(max-width:1100px){.sidebar{width:200px;padding:28px 15px}.workspace{margin-left:200px}.content{padding:28px 25px}.topbar{padding:0 25px}.query-fields{flex-wrap:wrap}.query-fields label{min-width:150px}.date-divider{display:none}.summary-strip{gap:12px}.summary-note{display:none}.summary-strip{grid-template-columns:1fr 1fr 1.2fr}.login-story{padding:40px}.login-story h1{font-size:50px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:18px 18px 10px}.sidebar .brand{margin:0 0 18px}.sidebar>.nav-label,.sidebar .source-tag,.sidebar nav .nav-label{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:7px}.sidebar nav button{width:auto;flex-shrink:0;padding:10px 13px;margin:0}.workspace{margin-left:0}.topbar{height:68px;padding:0 18px}.breadcrumb{font-size:10px}.account{font-size:11px;gap:7px}.avatar{display:none}.account small{font-size:9px}.content{padding:25px 16px}.page-heading{align-items:start;gap:8px}.page-heading h1{font-size:25px}.scope-pill{font-size:9px;padding:6px 8px;margin-top:27px}.page-heading p{font-size:11px}.query-card{padding:19px 16px}.section-heading{flex-wrap:wrap;gap:12px}.quick-buttons{gap:6px}.query-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px}.query-fields label{min-width:0}.query-fields label:nth-last-child(2){grid-column:1 / -1}.query-fields .primary{grid-column:1 / -1}.summary-strip strong{font-size:23px}.summary-strip>div{padding-left:12px}.summary-strip .small-value,.summary-strip .warning-value{font-size:13px}.results-card>.section-heading,.management-card>.section-heading{padding:20px 16px 0}.legend{padding:0 16px 17px;gap:12px}.schedule-table .sticky{min-width:145px;padding-left:15px}.table-scroll{max-height:60vh}.edit-fields{grid-template-columns:1fr}.modal{padding:20px}.login-layout{display:block}.login-story{min-height:auto;padding:26px}.login-story>div:nth-child(2),.login-story>span{display:none}.login-panel{padding:50px 25px;min-height:calc(100vh - 90px)}.login-form h2{font-size:25px}}.shift-cell{border:0;width:100%;white-space:normal;font-weight:400}.shift-cell:hover{filter:brightness(.97)}.cell-detail{overflow-wrap:anywhere;white-space:pre-wrap}.version-badge{display:inline-block;vertical-align:middle;padding:5px 9px;margin-left:5px;border:1px solid #cbdcc6;border-radius:6px;background:#eaf3e6;color:#285b46;font-size:12px;line-height:1.2;letter-spacing:.3px;white-space:nowrap}@media(min-width:761px){.sidebar{height:100dvh;overflow:hidden}.sidebar>.brand,.sidebar>.nav-label,.sidebar>.source-tag{flex-shrink:0}.sidebar nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#819e8c #173c36;padding-right:4px}}@media(min-width:761px)and (max-height:760px){.sidebar{padding-top:24px;padding-bottom:20px}.sidebar .brand{margin-bottom:22px}.sidebar nav button{padding-top:10px;padding-bottom:10px}.sidebar nav .nav-label{margin-top:16px;margin-bottom:10px}.sidebar .source-tag{padding-top:14px}}@media(min-width:761px)and (max-height:600px){.sidebar .source-tag{display:none}}.query-card{overflow:visible;margin-bottom:24px}.query-fields{display:grid;grid-template-columns:1fr 12px 1fr 1.6fr .8fr auto;align-items:end}.filter-field{display:flex;flex-direction:column;gap:10px;min-width:0}.people-picker{position:relative}.people-picker summary{padding:16px;border:1px solid #cdded5;border-radius:9px;cursor:pointer;min-height:54px;background:#fff}.people-options{position:absolute;top:100%;left:0;z-index:10;min-width:100%;width:max-content;max-width:80vw;max-height:300px;overflow:auto;padding:16px;background:#fff;box-shadow:0 12px 30px #173c3330;border:1px solid #cdded5;border-radius:9px}.people-options label{display:flex;flex-direction:row;align-items:center;gap:10px;padding:8px 0}.people-options input{width:18px;min-height:18px;height:18px}.dates-editor{border:1px solid #dce6dc;border-radius:10px;padding:18px;margin:0 0 20px;display:grid;gap:15px}.dates-editor legend{padding:0 8px}.date-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:end}.date-tags{display:flex;flex-wrap:wrap;gap:8px}.error{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.modal{max-height:90vh;overflow:auto}@media(max-width:1200px){.query-fields{grid-template-columns:1fr 1fr}.query-fields .date-divider{display:none}}@media(max-width:600px){.query-fields,.date-pair{grid-template-columns:1fr}.people-options{max-width:75vw}}.people-actions{position:sticky;top:-16px;z-index:1;background:#fff;padding:8px 0;margin-top:-8px;border-bottom:1px solid #dce6dc}.person-first{margin-bottom:20px}@media(min-width:1201px){.query-fields{grid-template-columns:1fr 12px 1fr .8fr 1.6fr auto}}.data-table .sort-header{border:0;background:transparent;padding:0;min-height:32px;color:inherit;font:inherit;text-align:left;white-space:nowrap;cursor:pointer}.data-table .sort-header:hover{color:#165d47;text-decoration:underline}.data-table .sort-header:focus-visible{outline:2px solid #165d47;outline-offset:5px}.calendar-warning{z-index:100}.date-warning-list{max-height:40vh;overflow:auto;overflow-wrap:anywhere}.date-warning-list p{margin:8px 0}.v2-scroll{--person-width:145px;--total-width:64px;isolation:isolate}.v2-schedule{table-layout:fixed;width:max-content;min-width:100%}.v2-schedule th,.v2-schedule td{box-sizing:border-box;width:112px;min-width:112px}.v2-schedule .person-column{width:var(--person-width);min-width:var(--person-width);max-width:var(--person-width);padding-left:12px;overflow-wrap:anywhere}.v2-schedule .total-column{width:var(--total-width);min-width:var(--total-width);max-width:var(--total-width);text-align:center;padding:7px;font-variant-numeric:tabular-nums}.v2-schedule .frozen{position:sticky;background:#fff;z-index:1}.v2-schedule .total-0{left:var(--person-width)}.v2-schedule .total-1{left:calc(var(--person-width) + var(--total-width))}.v2-schedule .total-2{left:calc(var(--person-width) + 2 * var(--total-width));box-shadow:3px 0 5px #173c3610}.v2-schedule thead tr:first-child th{height:66px;top:0}.v2-schedule thead tr:first-child .frozen{background:#f8faf6;z-index:4}.v2-schedule thead tr:first-child .sticky{z-index:4}.v2-schedule .staffing-row th{top:66px;height:auto;padding:10px 6px;z-index:2;font-size:10px}.v2-schedule .staffing-row span{display:block;white-space:nowrap;line-height:1.8}.v2-schedule .staffing-row .staffing-title{position:sticky;left:0;width:calc(var(--person-width) + 3 * var(--total-width));z-index:4;background:#eff4eb;text-align:left;padding-left:12px}.person-link{border:0;padding:4px 0;background:transparent;color:#285b46;text-align:left;text-decoration:underline;font-weight:600;white-space:normal}.week-warning{border:0;padding:3px 7px;background:transparent;color:#b46a0c;font-size:18px;line-height:1;vertical-align:middle}.week-checks{padding-left:20px}.week-checks li{margin:16px 0}.week-checks span{display:block;margin-top:5px}.week-checks .warning{color:#995700}.week-checks .unknown{color:#816b53}.week-checks .ok{color:#3c714f}.person-calendar-modal{width:820px}.person-totals{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.person-totals>span{background:#eff4eb;border-radius:7px;padding:10px 15px;font-size:12px}.person-totals strong{display:block;margin-top:6px;font-size:17px}.month-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 12px}.month-navigation button{font-size:11px}.person-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekday{text-align:center;font-size:11px;padding:8px}.person-calendar [role=gridcell]{min-height:78px}.calendar-day{width:100%;height:100%;padding:9px 6px;min-height:78px;border:1px solid #dbe4d7;white-space:normal;text-align:left;font-size:11px}.calendar-day>span{display:block;margin-bottom:9px}.calendar-day strong{font-size:11px;overflow-wrap:anywhere}.outside-range{color:#a2a8a0}.outside-range button{background:#f4f4f2;opacity:.65}.schedule-dialog:has(+.schedule-dialog){pointer-events:none}.schedule-dialog .modal:focus{outline:0}@media(max-width:760px){.v2-scroll{--person-width:104px;--total-width:48px}.v2-schedule .total-column{font-size:10px;padding:5px 3px}.v2-schedule .person-column{padding-left:7px}.v2-schedule .person-column small{font-size:9px}.person-calendar{gap:2px}.calendar-day{padding:6px 3px;font-size:9px;min-height:64px}.calendar-day strong{font-size:9px}.person-calendar [role=gridcell]{min-height:64px}.month-navigation button{padding:7px;font-size:10px}.person-calendar-modal{padding:15px}.person-totals{gap:5px}.person-totals>span{padding:8px;font-size:10px}}
