.eco-table-app{--ink:#233745;--muted:#6c7f8b;--line:#e1e8eb;--teal:#147568;--blue:#267fa9;display:flex;gap:16px;margin:16px;height:calc(100vh - 98px);color:var(--ink);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.eco-table-app *{box-sizing:border-box}.eco-table-app button,.eco-table-app input,.eco-table-app select{font:inherit}.eco-table-app button{cursor:pointer}.eco-table-app button:disabled{cursor:default;opacity:.5}.eco-table-app button:focus-visible,.eco-table-app summary:focus-visible,.eco-table-app input:focus-visible,.eco-table-app select:focus-visible{outline:2px solid #269aab;outline-offset:2px}.eco-table-app .eco-eyebrow{display:block;text-transform:uppercase;font-size:11px;font-weight:650;letter-spacing:.09em;color:var(--muted)}
.eco-sidebar{flex:0 0 242px;background:#f8fafb;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}.eco-sidebar-heading{padding:20px 17px 16px;border-bottom:1px solid var(--line)}.eco-sidebar h1{margin:3px 0 17px;font-size:25px;color:var(--ink);font-weight:650}.eco-sidebar nav{padding:8px;overflow:auto;overscroll-behavior:contain}.eco-sidebar nav button{display:flex;gap:6px;justify-content:space-between;width:100%;border:0;background:none;text-align:left;padding:11px 10px;border-radius:7px;color:#4d6574;font-size:13px;line-height:1.4}.eco-sidebar nav button.active{background:#dceee9;color:#155f54;font-weight:650}.eco-sidebar nav button:hover:not(.active){background:#eaf0f3}.eco-approved-dot{color:#198676}
.eco-main{min-width:0;flex:1;background:white;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}.eco-table-header{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:20px 22px 16px}.eco-heading{min-width:180px}.eco-heading h2{font-size:19px;line-height:1.3;font-weight:650;color:#203c46;margin:5px 0 9px;max-width:650px}.eco-status-line{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.eco-status{padding:2px 8px;border:1px solid #dce5e9;border-radius:12px;background:#f8fafb}.eco-status.approved{color:var(--teal);background:#e8f5ee;border-color:#cce7d8}.eco-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.eco-button{border:1px solid #cddbdc;background:#fff;border-radius:7px;padding:8px 12px;color:#355665;white-space:nowrap;font-weight:600!important;font-size:13px!important;min-height:36px}.eco-button.primary{color:white;background:var(--teal);border-color:var(--teal)}.eco-button:hover:not(:disabled){filter:brightness(.96)}
.eco-menu{position:relative}.eco-menu summary{list-style:none;cursor:pointer;padding:2px 12px;font-size:24px;border-radius:6px}.eco-menu summary::-webkit-details-marker{display:none}.eco-menu>div{position:absolute;right:0;top:100%;z-index:30;background:white;min-width:210px;box-shadow:0 8px 25px #163c4825;border:1px solid var(--line);border-radius:8px;padding:5px}.eco-menu button{display:block;width:100%;text-align:left;padding:10px 12px;background:none;border:0;border-radius:5px;color:var(--ink);font-size:13px}.eco-menu button:hover{background:#eff6f5}
.eco-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:0 22px 14px}.eco-search{display:flex;gap:7px;align-items:center;max-width:350px;min-width:170px;flex:1;padding:0 10px;border:1px solid #d6e1e6;background:#f9fbfc;border-radius:7px}.eco-search>span{font-size:24px;color:#6b8b97;line-height:1}.eco-search input{min-width:0;width:100%;border:0;background:transparent;padding:9px 0;color:var(--ink);outline:none!important;font-size:13px}.eco-calculation{display:flex;gap:14px;align-items:center}.eco-calculation select{padding:8px 26px 8px 10px;border:1px solid #d6e1e6;border-radius:6px;background:white;color:var(--ink);font-size:13px}.eco-calculation label{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.eco-calculation input{accent-color:var(--teal)}.eco-help{padding:9px 22px;border-top:1px solid #f0f4f6;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#71848d;background:#fcfdfd}.eco-help b{font-weight:550}.eco-grid-wrap{position:relative;min-height:100px;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-color:#bbcbcf #f4f7f8}.eco-grid{border-collapse:separate;border-spacing:0;min-width:100%;table-layout:fixed}.eco-grid th,.eco-grid td{padding:0;border-right:1px solid #edf1f3;border-bottom:1px solid #e4ebee;text-align:center;min-width:44px;width:44px;color:var(--ink)}.eco-grid thead th{position:sticky;top:0;z-index:5;background:#f6f9fa;height:51px;font-size:13px;font-weight:600;border-top:1px solid var(--line);border-bottom:1px solid #d9e4e7}.eco-grid thead small{display:block;color:#8b9ba3;font-size:9px;font-weight:500;margin-top:3px}.eco-grid .eco-person{position:sticky;left:0;z-index:3;width:244px;min-width:244px;max-width:244px;background:white;text-align:left;padding:11px 16px;border-right:1px solid #d7e3e6}.eco-grid thead .eco-person{z-index:8;background:#f6f9fa}.eco-person-name{font-size:12px;font-weight:600;line-height:1.45;padding-right:12px}.eco-person-meta{font-size:10px;font-weight:400;color:#7e929d;line-height:1.4;margin-top:4px;max-width:210px}.eco-remove{position:absolute;right:4px;top:5px;width:22px;height:22px;border:0;background:none;color:#99aab3;border-radius:4px;opacity:0}.eco-grid tr:hover .eco-remove,.eco-remove:focus-visible{opacity:1}.eco-remove:hover{background:#fdeceb;color:#be544a}.eco-grid tbody td{height:72px;background:#fff}.eco-grid .eco-weekend{background:#f1f7f4}.eco-grid thead .eco-weekend{color:#67927f;background:#eaf3ef}.eco-grid thead .eco-today{color:#147b91;background:#dff2f5}.eco-grid .eco-mismatch{background:#fff3eb}.eco-grid tr:hover td{box-shadow:inset 0 0 0 999px #355c6605}.eco-grid tr:hover .eco-person{background:#fafcfc}.eco-entered{height:34px;display:flex;align-items:center;justify-content:center}.eco-entered>span{font-size:13px;color:#566c78}.eco-entered input{width:31px;height:25px;border:1px solid #cfdcdf;background:#ffffffbf;border-radius:4px;text-align:center;padding:0;color:#234856;font-size:13px}.eco-entered input:hover{border-color:#87aaa7}.eco-dirty .eco-entered input{border-color:#d7a84d;background:#fff9e9}.eco-perco{position:relative;border:0;background:none;color:#28808b;font-size:12px!important;font-weight:600;line-height:22px;width:26px;height:25px;padding:0;margin:0 auto 6px;display:block;border-radius:4px}.eco-perco:hover,.eco-perco:focus-visible{background:#dfefef}.eco-perco.uncertain{color:#97743d}.eco-question{position:absolute;left:calc(50% + 9px);top:0;font-size:10px;font-weight:600}.eco-grid .eco-total{position:sticky;right:0;z-index:2;min-width:78px;width:78px;background:#f8fbfb;border-left:1px solid #d9e5e7;border-right:0}.eco-grid thead .eco-total{z-index:6;background:#edf4f4}.eco-total b,.eco-total>span{display:block;font-size:13px;line-height:28px}.eco-total>span{color:#277e85}.eco-total sup{font-size:10px;margin-left:3px}.eco-loading{position:sticky;top:52px;left:0;height:0;z-index:10;text-align:center;color:#176d67;font-size:13px;pointer-events:none}.eco-grid-wrap[aria-busy=true] tbody{opacity:.38;pointer-events:none}.eco-empty{text-align:center;padding:60px 20px;color:var(--muted)}
.eco-footer{padding:12px 22px;display:flex;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:12px;color:#68818b;min-height:62px}.eco-footer small{display:block;margin-top:3px;font-size:10px;color:#91a1a9}.eco-draft-notice{color:#a1721f}.eco-pager{display:flex;gap:14px;align-items:center;white-space:nowrap}.eco-pager button{border:1px solid #d9e3e6;background:white;width:31px;height:30px;border-radius:5px;color:#366879;font-size:18px}.eco-pager button:hover:not(:disabled){background:#eef6f5}.eco-alert{padding:10px 20px;background:#fff1e6;color:#9f5524;font-size:12px;display:flex;justify-content:space-between;gap:10px}.eco-alert button{background:white;border:1px solid #d9b999;border-radius:4px;color:inherit}.eco-notice{padding:8px 22px;background:#ebf7f0;color:#397451;font-size:12px}
.eco-day-card{position:fixed;z-index:2000;border:1px solid #d3e1e5;border-radius:13px;background:white;box-shadow:0 12px 42px #1139442e;overflow:auto;padding:17px 18px;color:var(--ink);text-align:left}.eco-day-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.eco-day-card header strong{display:block;margin-top:4px;font-size:13px;font-weight:600;line-height:1.4}.eco-close{border:0;background:#f2f6f7;width:24px;height:24px;border-radius:50%;font-size:19px!important;line-height:1;color:#80959e;flex-shrink:0}.eco-day-total{display:flex;align-items:baseline;gap:11px;margin:17px 0 12px}.eco-day-total strong{font-size:31px;line-height:1.2;letter-spacing:-.03em;font-weight:650;color:#155e63}.eco-day-total>span{font-size:12px;color:#719099}.eco-day-metrics{display:grid;grid-template-columns:1fr 1fr;padding:10px 12px;background:#f2f7f7;border-radius:7px;gap:14px}.eco-day-metrics small{display:block;font-size:10px;color:#799098}.eco-day-metrics b{font-size:14px;font-weight:600;display:block;margin-top:3px}.eco-day-edges{display:flex;justify-content:space-between;margin:12px 0;font-size:11px;color:#80939b}.eco-day-edges b{color:#466c76;font-weight:550}.eco-day-details{border-top:1px solid var(--line);margin-top:13px}.eco-day-details summary{cursor:pointer;list-style:none;color:#237e80;font-weight:600;font-size:12px;padding:12px 0 3px}.eco-day-details summary:before{content:'▸';display:inline-block;margin-right:7px}.eco-day-details[open] summary:before{content:'▾'}.eco-timeline{display:flex;gap:3px;height:12px;border-radius:5px;overflow:hidden;margin:15px 0 8px}.eco-timeline span{min-width:2px;flex-basis:0;background:#428aa7}.eco-timeline .credit{background:#92c9ae}.eco-timeline .away{background:#e1ac86}.eco-day-legend{display:flex;gap:12px;font-size:9px;color:#82949b;margin-bottom:9px}.eco-day-legend span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:2px;background:#428aa7;margin-right:4px}.eco-day-legend .credit:before{background:#92c9ae}.eco-day-legend .away:before{background:#e1ac86}.eco-interval{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #eef3f4}.eco-interval b{font-size:10px;font-weight:600;color:#486b79}.eco-interval small{display:block;font-size:10px;color:#8ba0a8;margin-top:2px}.eco-interval>strong{font-size:11px;white-space:nowrap;color:#3c7182}.eco-interval.credit>strong{color:#498c6c}.eco-interval.away>strong{color:#a87654}.eco-day-warning{background:#fff4df;padding:8px 9px;border-radius:5px;color:#957333;font-size:11px;line-height:1.5;margin:10px 0 0}.eco-day-rule,.eco-last-passage{font-size:10px;color:#869ba5;margin:9px 0 0;line-height:1.5}.eco-day-card footer{font-size:10px;color:#93a7ad;padding-top:12px}.eco-modal-overlay{position:fixed;inset:0;background:#17384950;z-index:2200;display:flex;align-items:center;justify-content:center}.eco-modal{background:white;padding:22px;border-radius:12px;max-width:540px;width:calc(100% - 32px)}.eco-modal header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.eco-modal h3{margin:0}.eco-modal header button{border:0;background:none;font-size:22px}.eco-modal input,.eco-modal select{display:block;width:100%;margin:10px 0;padding:8px;border:1px solid #d4e0e4;border-radius:5px}.eco-modal p{color:#68808a}
@media(max-width:1250px){.eco-sidebar{flex-basis:205px}.eco-table-header{align-items:flex-start;flex-wrap:wrap;gap:10px;padding:16px}.eco-heading h2{font-size:17px}.eco-toolbar{padding:0 16px 12px;flex-wrap:wrap;gap:9px}.eco-help{padding:8px 16px;flex-wrap:wrap;gap:3px}.eco-calculation{gap:10px}.eco-grid .eco-person{min-width:210px;width:210px;max-width:210px}.eco-person-meta{max-width:180px}}
@media(max-width:800px){.eco-table-app{gap:8px;margin:8px;height:calc(100vh - 85px)}.eco-sidebar{flex-basis:155px}.eco-sidebar-heading{padding:12px 10px}.eco-sidebar nav button{padding:9px 5px;font-size:11px}.eco-main{border-radius:8px}.eco-actions{gap:5px}.eco-button{font-size:11px!important;padding:6px 8px}.eco-grid .eco-person{min-width:165px;width:165px;max-width:165px;padding:8px 10px}.eco-person-meta{max-width:140px}.eco-person-name{font-size:11px}.eco-footer{padding:9px 12px}.eco-footer small{display:none}.eco-calculation{flex-wrap:wrap}.eco-heading h2{font-size:16px}.eco-help>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.eco-table-app *{scroll-behavior:auto!important;transition:none!important}}
/* Dense layout: 52px rows are also the measured virtual-scroll stride. */
.eco-search .eco-search-icon{width:18px;height:18px;flex:0 0 18px;display:flex;align-items:center;justify-content:center;line-height:0;font-size:0}.eco-search-icon svg,.eco-close svg{display:block;flex:none}.eco-close,.eco-modal header .eco-close{display:inline-flex;align-items:center;justify-content:center;padding:0;width:26px;height:26px;min-width:26px;min-height:26px;line-height:0}
.eco-table-app{gap:10px;margin:10px;height:calc(100vh - 86px)}
.eco-table-header{padding:10px 16px 8px;gap:10px}.eco-heading h2{margin:2px 0 4px;font-size:17px}.eco-status-line{font-size:10px;gap:9px}.eco-status{padding:1px 6px}.eco-heading .eco-eyebrow{font-size:10px;letter-spacing:.06em;text-transform:none}.eco-toolbar{padding:0 16px 8px}.eco-search input{padding:6px 0}.eco-calculation select{padding:5px 24px 5px 8px}.eco-button{padding:6px 10px;min-height:32px}.eco-help{padding:5px 16px;font-size:10px}.eco-sidebar-heading{padding:14px 14px 12px}.eco-sidebar h1{font-size:21px;margin:2px 0 12px}.eco-footer{padding:7px 16px;min-height:43px;font-size:11px}.eco-pager{gap:10px}.eco-pager .eco-all-rows{width:auto;padding:0 10px;font-size:11px;white-space:nowrap}.eco-pager .eco-all-rows[aria-pressed=true]{background:#e5f3ef;color:#176e60}
.eco-grid thead th{height:40px}.eco-grid thead small{font-size:8px;margin-top:1px}.eco-grid tbody tr:not(.eco-spacer){height:52px}.eco-grid tbody td{height:52px}.eco-grid .eco-person{padding:4px 12px}.eco-person-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:14px;font-size:11px;max-height:28px}.eco-person-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:12px;font-size:9px;margin-top:1px}.eco-entered{height:27px}.eco-entered input{height:23px;font-size:12px}.eco-perco{height:22px;line-height:22px;margin:0 auto 2px}.eco-question{font-size:12px;line-height:22px}.eco-total b,.eco-total>span{line-height:23px;font-size:12px}.eco-grid .eco-spacer,.eco-grid .eco-spacer td{padding:0;border:0;background:#fafcfc;font-size:0;line-height:0;min-width:0;width:auto}.eco-grid .eco-spacer:hover td{box-shadow:none}.eco-loading{top:41px}

/* Selection is visual only and survives paged/virtual row remounts. */
.eco-grid button.eco-person-name{border:0;background:none;text-align:left;color:inherit;width:100%;padding:0 12px 0 0;font:600 11px/14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.eco-grid button.eco-person-name:hover{text-decoration:underline;text-underline-offset:2px}
.eco-grid tbody tr.eco-row-selected td{box-shadow:inset 0 0 0 999px #2f9bae20}
.eco-grid tbody tr.eco-row-selected .eco-person{background:#ddf0f3;box-shadow:inset 3px 0 #25899a}
.eco-export-modal{max-width:790px;max-height:calc(100vh - 32px);overflow:auto;padding:22px;color:var(--ink)}
.eco-export-modal h3{font-size:20px;line-height:1.25;margin-top:3px}.eco-export-modal .eco-eyebrow{font-size:9px}
.eco-report-layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:24px;align-items:start}
.eco-report-fields{min-width:0}.eco-report-fields>label{display:block;font-size:11px;font-weight:600;color:#5b7580;margin-top:12px}
.eco-report-fields input,.eco-report-fields select{font-size:12px;line-height:18px;min-height:35px;color:#284652;margin:5px 0 0;background:#fff;padding:7px 9px;width:100%;min-width:0}
.eco-report-fields>select{margin-top:7px}.eco-report-fields>small{font-size:10px;color:#708994;display:block;margin-top:6px}
.eco-report-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.eco-report-dates label{font-size:11px;font-weight:600;color:#5b7580}
.eco-period-shortcuts{display:flex;gap:12px;margin:8px 0 4px}.eco-period-shortcuts button{border:0;background:none;color:#287e83;padding:0;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.eco-report-fields .eco-report-note{background:#f0f7f5;border-left:3px solid #a8cec2;padding:9px 11px;font-size:11px;line-height:1.5;color:#557870;margin:15px 0 9px}
.eco-report-fields .eco-report-saved{font-size:10px;line-height:1.5;color:#83969d;margin:8px 0 14px}
.eco-report-buttons{display:flex;gap:8px;flex-wrap:wrap}.eco-chosen-month{padding:10px 0 8px}.eco-chosen-month small{display:block;color:#82959e;font-size:10px}.eco-chosen-month strong{font-size:24px;color:#176c66;text-transform:capitalize;display:block;margin-top:2px}
.eco-report-calendar{background:#f5f9f8;border:1px solid #e0ebe7;border-radius:10px;padding:14px}
.eco-calendar-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:8px}.eco-calendar-nav strong{font-size:13px;color:#315e62;text-transform:capitalize}
.eco-calendar-nav button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:1px solid #d7e5e0;border-radius:6px;background:#fff;color:#43817a;font-size:21px;padding:0;line-height:1}
.eco-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.eco-month-grid button{padding:13px 2px;border:1px solid #dfebe6;border-radius:6px;background:#fff;color:#567e79;font-size:11px;text-transform:capitalize}
.eco-report-calendar button.selected{background:#16796d;color:white;border-color:#16796d}.eco-report-calendar button:hover:not(.selected){background:#e5f1ed}
.eco-date-target{display:flex;gap:6px;margin-bottom:12px}.eco-date-target button{flex:1;border:1px solid #d8e7e1;background:white;color:#5d817c;border-radius:5px;font-size:11px;padding:6px}
.eco-week-labels,.eco-days-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.eco-week-labels{font-size:10px;color:#8b9d99;margin-bottom:5px}
.eco-days-grid button{height:29px;border:0;background:none;color:#426760;border-radius:5px;padding:0;font-size:11px}.eco-days-grid button.in-range{background:#e1efe9}.eco-days-grid button.weekend:not(.selected){color:#88a197}
.eco-report-calendar p{font-size:10px;color:#869e97;line-height:1.5;margin:13px 0 0}.eco-report-error{font-size:11px;color:#9b4b31;background:#fff0e8;border-radius:5px;padding:8px 10px;margin:10px 0}
@media(max-width:650px){.eco-export-modal{padding:16px}.eco-report-layout{grid-template-columns:1fr;gap:16px}.eco-report-calendar{max-width:340px;width:100%;justify-self:center}.eco-export-modal h3{font-size:17px}}
