:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-synthesis:none;--bg:#f3f6fa;--surface:#fff;--text:#17324d;--muted:#50647a;--line:#d8e1eb;--input-line:#9baec2;--soft:#edf2f7;--table-head:#f0f4f8;--accent:#974000;--orange:#f58232;--focus:#f58232;--success-bg:#e5f3ec;--success-text:#236044;--danger:#ad2340;color:var(--text);background:var(--bg);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-appearance=light]){--bg:#0d1724;--surface:#152638;--text:#eaf1f8;--muted:#b1c2d3;--line:#35506a;--input-line:#617a92;--soft:#22394f;--table-head:#1c3147;--accent:#ffb775;--orange:#f58232;--focus:#ffb775;--success-bg:#183f37;--success-text:#a1dfc0;--danger:#ffa9b8;color-scheme:dark}}:root[data-appearance=dark]{--bg:#0d1724;--surface:#152638;--text:#eaf1f8;--muted:#b1c2d3;--line:#35506a;--input-line:#617a92;--soft:#22394f;--table-head:#1c3147;--accent:#ffb775;--orange:#f58232;--focus:#ffb775;--success-bg:#183f37;--success-text:#a1dfc0;--danger:#ffa9b8;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:.65rem 1rem;background:var(--surface);color:var(--text);font-weight:600}button:hover{background:var(--soft)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--orange);border-color:var(--orange);color:#172b40}button.danger{color:var(--danger)}button.link{background:none;border:none;padding:.3rem;color:var(--accent)}input,select,textarea{border:1px solid var(--input-line);border-radius:6px;padding:.65rem;background:var(--surface);color:var(--text);max-width:100%;width:100%}input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:var(--accent);flex-shrink:0}input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%235b6b80' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .65rem center;padding-right:2.1rem}label{font-size:.9rem;display:flex;flex-direction:column;gap:.5rem;font-weight:500}h1{font-size:1.9rem;letter-spacing:-.04em;margin:.3rem 0 .65rem}h2{font-size:1.16rem;margin:0 0 .8rem}h3{font-size:1rem}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:.88rem}.loading{margin:3rem}.layout{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:#17324d;color:#e1eaed;padding:2rem 1.2rem;display:flex;flex-direction:column;gap:2rem}.brand{font-size:1.25rem;letter-spacing:-.04em;font-weight:750;display:flex;align-items:center;gap:.65rem}.sidebar label{color:#b5c8d0}.sidebar select{background-color:#203f5b;border-color:#58728b;color:#fff}.nav{display:flex;flex-direction:column;gap:.4rem}.nav button{background:transparent;border:0;color:#d9e7eb;text-align:left;font-weight:500}.nav button.active{background:#304e6b;color:#ffd7b2}.sidebar-foot{margin-top:auto;font-size:.85rem;line-height:1.7;color:#b6cbd1}.main{padding:2.5rem 3rem;max-width:1450px;width:100%}.topline{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem}.eyebrow{font-size:.85rem;color:var(--muted)}.role{background:var(--soft);padding:.4rem .8rem;border-radius:25px;font-size:.85rem;color:var(--accent)}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.8rem}.page-heading p{margin:0;max-width:48rem}.actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:1.5rem;margin:1.25rem 0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.grid .card{margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem 1.5rem}.wide{grid-column:1/-1}.field-check{flex-direction:row;align-items:center;min-height:2.6rem}.callout{padding:1rem 1.2rem;background:var(--soft);border-left:3px solid var(--orange);border-radius:3px;line-height:1.6;margin:1rem 0;color:var(--text)}.empty{padding:3rem 1rem;text-align:center;color:var(--muted)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9rem;text-align:left}th{color:var(--muted);font-size:.82rem;font-weight:600;background:var(--table-head)}th,td{padding:.95rem;border-bottom:1px solid var(--line);vertical-align:top}td code{font-size:.85rem}table tr:last-child td{border-bottom:0}.table-card{padding:0;overflow:hidden}.searchbar{padding:1rem;border-bottom:1px solid var(--line)}.searchbar input{max-width:24rem}.pill{padding:.25rem .6rem;border-radius:5px;background:var(--success-bg);color:var(--success-text);font-size:.8rem}.pill.gray{background:var(--soft);color:var(--muted)}.auth{max-width:460px;margin:9vh auto;padding:2rem}.auth .brand{margin-bottom:2rem}.auth form{display:flex;flex-direction:column;gap:1.2rem}.auth h1{font-size:1.6rem}#notice{position:fixed;bottom:1.5rem;right:1.5rem;max-width:520px;background:#17324d;color:#fff;padding:1rem 1.4rem;border-radius:8px;z-index:20;display:none;box-shadow:0 4px 25px #132b3530}#notice.error{background:#8f263a}dialog{width:min(750px,92vw);border:1px solid var(--line);border-radius:12px;padding:2rem;color:var(--text);background:var(--surface);max-height:90vh}dialog::backdrop{background:#0f253a80}dialog .actions{margin-top:1.4rem;justify-content:flex-end}dialog textarea{min-height:8rem}.dialog-error{color:var(--danger);line-height:1.5}details{background:var(--surface);border:1px solid var(--line);border-radius:10px;margin:.8rem 0;padding:1.25rem}summary{font-weight:650;cursor:pointer}details>p{font-size:.9rem;color:var(--muted)}fieldset{border:0;padding:0;margin:0}pre{background:#17324d;color:#e8eff6;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere;padding:1.2rem;font-size:.85rem;line-height:1.6}code{font-family:SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.editor-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;padding:1rem 0;border-bottom:1px solid var(--line)}.editor-row .actions{align-self:end}.plan{position:relative}.plan.selected{border:2px solid var(--accent)}.plan p{min-height:5rem}.metadata{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}.toolbar{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:1rem 0;display:flex;justify-content:space-between;gap:1rem;align-items:end}.toolbar label{max-width:16rem}.history{max-height:300px;overflow:auto}.policy-note{font-size:.85rem;color:var(--muted)}.preview-output{max-height:360px;overflow:auto}.inline-error{color:var(--danger)}.list-line{display:flex;justify-content:space-between;align-items:center;padding:.7rem 0;border-bottom:1px solid var(--line);gap:1rem}.nowrap{white-space:nowrap}@media(max-width:1000px){.main{padding:2rem 1.5rem}.layout{grid-template-columns:210px minmax(0,1fr)}.form-grid,.grid{grid-template-columns:1fr}.wide{grid-column:auto}}@media(max-width:700px){.layout{display:block}.sidebar{padding:1.2rem;gap:1rem}.nav{flex-direction:row;overflow-x:auto}.nav button{white-space:nowrap;font-size:.9rem;padding:.6rem}.sidebar>label{max-width:100%}.main{padding:1.5rem 1rem}.topline{margin-bottom:1rem}.page-heading{flex-direction:column}.editor-row{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.auth{margin:3vh auto}.card{padding:1.1rem}.table-card{padding:0}dialog{padding:1.2rem}}.punch-photo{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:1rem auto}.sidebar{gap:1.3rem}.nav{gap:.2rem}.nav button{padding:.5rem .8rem}.list-line>div:first-child{min-width:0;overflow-wrap:anywhere}@media(max-width:700px){.list-line{align-items:flex-start;flex-wrap:wrap}}@media(max-width:700px){.sidebar-foot{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.sidebar-foot br{display:none}.sidebar-foot button{margin-left:auto}}.sidebar-foot button{background:#203f5b;border-color:#58728b;color:#e1eaed}.primary-nav{gap:.35rem}.primary-nav button{font-weight:650;padding:.7rem .8rem}.section-menu{border-top:1px solid #405a73;padding-top:1rem;min-width:0}.nav-caption{font-size:.73rem;letter-spacing:.08em;text-transform:uppercase;color:#9bb7c1;margin:0 0 .65rem .8rem}.secondary-nav button{font-size:.88rem;padding:.5rem .8rem;border-left:2px solid transparent;border-radius:4px}.secondary-nav button.active{border-left-color:#ffb775;background:#203f5b}.sidebar .primary-nav{margin-bottom:0}@media(max-width:700px){.primary-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:.3rem}.primary-nav button{text-align:center;white-space:normal;font-size:.83rem;padding:.6rem .35rem}.section-menu{padding-top:.8rem;max-width:100%}.nav-caption{margin-left:.35rem}.secondary-nav{display:flex;flex-direction:row;overflow-x:auto;max-width:100%;padding-bottom:.2rem}.secondary-nav button{white-space:nowrap}.secondary-nav button.active{border-left-color:transparent;border-bottom:2px solid #ffb775}}.card>.actions{margin-top:1rem}.account-identity{min-width:0;overflow-wrap:anywhere}.sidebar-foot>button{margin-top:.5rem}@media(max-width:700px){.sidebar-foot .account-identity{flex:1;font-size:.8rem}.sidebar-foot>button{margin-top:0}}.face-fingerprint{overflow-wrap:anywhere}.face-reference-photo{max-width:180px;max-height:180px;object-fit:contain}.job-photo{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:0 auto .6rem}.brand-logo{width:48px;height:48px;object-fit:contain;flex-shrink:0}.auth>.brand{font-size:1.65rem}.auth>button:last-child{margin-top:1.25rem}.sidebar .brand{gap:.5rem}.sidebar .brand-logo{width:42px;height:42px}.sidebar{background:#17324d}.nav button.active{color:#ffd7b2;background:#304e6b}.sidebar button:focus-visible{outline-color:#ffb775}button.primary:hover{background:#ffac6d}a{color:var(--accent)}.time-grid{min-width:1180px;table-layout:fixed}.time-grid th,.time-grid td{vertical-align:top}.time-grid th:first-child{width:155px}.time-grid th:last-child{width:95px}.time-grid th:first-child,.time-grid td:first-child{position:sticky;left:0;background:var(--surface);z-index:1}.time-grid .time-employee{font-weight:400;text-align:left}.time-employee strong{display:block}.time-employee div{font-size:.85rem;margin-top:.3rem}.time-day summary{cursor:pointer;list-style:none;padding:.2rem 0}.time-day summary:before{content:"\25b8";display:inline-block;margin-right:.25rem;color:var(--accent)}.time-day[open] summary:before{content:"\25be"}.time-range{font-size:.78rem;line-height:1.65;font-variant-numeric:tabular-nums}.time-day-total{font-weight:650;margin-top:.4rem;color:var(--accent);font-size:.85rem}.time-transfer{display:inline-block;font-size:.65rem;color:var(--muted);margin-left:.2rem}.time-detail{border-top:1px solid var(--line);padding-top:.5rem;margin-top:.5rem}.time-pair-detail{padding:.5rem 0;overflow-wrap:anywhere}.time-pair-detail strong{font-size:.8rem}.time-pair-detail>div{margin-top:.3rem}.time-warning{color:var(--danger)}.time-week-total{font-weight:700;white-space:nowrap}.time-empty{color:var(--muted)}.time-grid-wrap{max-height:75vh;overflow:auto}.time-grid thead th{position:sticky;top:0;background:var(--table-head);z-index:2}.time-grid thead th:first-child{z-index:3}.time-grid td,.time-grid .time-employee{padding:.7rem}.time-grid .time-day{border:0;border-radius:0;padding:0;margin:0;background:transparent}.time-grid .time-day>summary{padding:0;margin:0;background:none}.time-grid .time-day>summary:before{float:left;margin-right:.35rem}.time-detail{font-size:.78rem}.time-note{padding:0;border:0;margin:.4rem 0}.time-note>summary{font-size:.75rem}.time-range.time-meal{border:1px solid rgba(96,165,250,.45);border-radius:5px;padding:3px 5px;margin:4px 0;background:#60a5fa0b}.time-meal-label{display:block;font-size:.7rem;line-height:1.2;color:var(--muted);font-weight:500}.schedule-day{min-width:150px;vertical-align:top}.schedule-chip{padding:8px;margin:4px 0;border:1px solid var(--border);border-radius:7px}.schedule-chip .actions{gap:4px}.schedule-chip button{font-size:.75rem;padding:4px 7px}.schedule-grid{table-layout:auto;min-width:100%}.schedule-grid th:not(:first-child):not(:last-child),.schedule-grid td.schedule-day{min-width:160px}.schedule-grid th:first-child{min-width:150px}.schedule-grid th:last-child{min-width:90px}.time-grid:not(.schedule-grid){min-width:1320px}.time-pair{margin:3px 0}.time-pair-line{white-space:nowrap;font-size:.78rem;line-height:1.7;font-variant-numeric:tabular-nums}.time-pair-fit{width:100%;min-width:0;overflow:hidden}.time-pair-times{display:inline-flex;align-items:center;gap:3px;width:max-content;white-space:nowrap;transform-origin:left center}.time-grid .time-punch-time{font:inherit;font-weight:600;color:var(--text);background:none;border:0;border-radius:2px;padding:0;white-space:nowrap;min-height:0}.time-grid button.time-punch-time{cursor:pointer}.time-grid button.time-punch-time:hover{text-decoration:underline;color:var(--accent)}.time-grid .time-pair-toggle{display:inline-flex;align-items:center;justify-content:center;gap:1px;padding:0 2px;font-size:13px;line-height:1.5;background:none;color:var(--muted);border:0;min-height:0;cursor:pointer}.time-grid .time-pair-toggle:hover{color:var(--accent);background:var(--table-head)}.time-pair-info{font-size:.73rem;padding:2px 1px 4px;line-height:1.4}.time-pair.time-meal{border:1px solid rgba(96,165,250,.4);border-radius:5px;padding:2px 3px;background:#60a5fa09}.time-meal-icon{display:inline-flex;align-items:center;color:#6092bc}.time-pair-info[hidden]{display:none}.time-pair-shared{text-align:center}.time-pair-split{display:grid;grid-template-columns:1fr 1fr;gap:4px}.time-pair-split>div:last-child{text-align:right}.time-pair-split[hidden]{display:none}.time-pair.time-meal .time-meal-icon{padding:0 3px}.time-day-review{font-size:.72rem;color:var(--danger);margin-top:4px}.time-view-switch{margin:1rem 0}.time-view-switch button[aria-pressed=true]{background:var(--text);color:var(--surface);border-color:var(--text)}.hours-grid{min-width:1100px}.hours-grid th,.hours-grid td{white-space:nowrap;text-align:right}.hours-grid th:first-child{text-align:left;min-width:170px;position:sticky;left:0;background:var(--surface)}.hours-grid tbody th{font-weight:400}.hours-grid tbody th div{font-size:.8rem;color:var(--muted)}.daily-hours-grid th,.daily-hours-grid td{text-align:left;white-space:normal}.daily-hours-grid .hour-type-line{font-size:.78rem;line-height:1.65;white-space:nowrap}.daily-hours-total{font-size:.8rem;font-weight:650;border-top:1px solid var(--line);margin-top:5px;padding-top:4px;white-space:nowrap}.daily-hours-grid .time-week-total{font-size:.8rem;white-space:normal}[hidden]{display:none!important}.schedule-add{display:block;width:100%;min-height:38px;padding:7px;border:1px dashed var(--line);background:transparent;color:var(--muted);font-size:.78rem}.schedule-add:hover{color:var(--text);background:var(--table-head)}.time-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:-1rem 0 .6rem}.time-toolbar select,.time-toolbar input{min-height:2.4rem;padding:.35rem .6rem;margin:0;width:auto}.time-toolbar select{min-width:9.5rem}.segmented{display:inline-flex;border:1px solid var(--input-line);border-radius:999px;overflow:hidden;background:var(--surface)}.segmented button{border:0;border-radius:0;margin:0;padding:.45rem .95rem;background:transparent;color:var(--text);font-weight:600;min-height:2.4rem}.segmented button[aria-pressed=true]{background:var(--orange);color:#17324d}.stepper{display:inline-flex;align-items:center;gap:.25rem}.icon-arrow{min-width:2.2rem;min-height:2.4rem;padding:0 .5rem;margin:0;font-size:1.35rem;line-height:1;border-radius:.6rem}.time-week-date{width:9.5rem}.time-week-finder{width:12.5rem}.time-week-status:empty{display:none}.time-week-status{margin:0 0 .5rem}.time-pair-who{font-weight:600;line-height:1.2;margin-top:2px}.time-pair-info .time-site{font-size:.86rem;font-weight:500}.time-pair-info .time-task{font-size:.66rem}.time-meal .time-punch-time,.time-meal .time-punch-time:hover{cursor:default;font-weight:500;color:var(--muted);text-decoration:none}.template-editor h3{margin:1.4rem 0 .5rem}.template-list{display:flex;flex-direction:column;gap:.2rem}.template-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:.7rem;align-items:end;padding:.55rem 0;border-bottom:1px solid var(--line)}.template-row:has(>label:nth-of-type(3)){grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto}.template-list>button{align-self:flex-start;margin-top:.6rem}.row-tools{display:flex;gap:.3rem}.row-tools button{padding:.5rem .65rem}.template-sample{max-height:12rem;overflow:auto;white-space:pre}.warning-list{border-left:4px solid var(--orange)}.warning-list ul{margin:0;padding-left:1.2rem;line-height:1.6}dialog:has(.template-editor){width:min(920px,94vw)}.export-preview th,.export-preview td{white-space:nowrap;padding:.6rem .8rem}.template-editor .form-grid+.form-grid{margin-top:1.2rem}.section-title{margin:2rem 0 .4rem}.file-settings{display:grid;grid-template-columns:minmax(0,16rem) 1fr auto;gap:1rem;align-items:end;margin-bottom:1rem}.file-line{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.35rem 0}.file-line+.file-line{border-top:1px solid var(--line)}.files-table td{vertical-align:middle}.files-table td:nth-child(3){min-width:22rem}:root{--bg:#f4f6f9;--surface:#fff;--text:#17324d;--muted:#5b6f84;--line:#e1e7ee;--soft:#eef2f6;--table-head:#f6f8fb;--orange:#f58232;--orange-soft:rgba(245,130,50,.14);--navy:#17324d;--navy-deep:#102538;--good:#1f8a5b;--good-bg:#e4f4ec;--warn:#9a5b00;--warn-bg:#fdf0dc;--bad:#b4233f;--bad-bg:#fbe6ea}:root[data-appearance=dark]{--bg:#0b1520;--surface:#121f2d;--text:#e6eef6;--muted:#9fb2c5;--line:#22364a;--soft:#1a2b3d;--table-head:#16273a;--orange-soft:rgba(245,130,50,.18);--good:#5fd09a;--good-bg:rgba(95,208,154,.14);--warn:#f3b65a;--warn-bg:rgba(243,182,90,.14);--bad:#ff8297;--bad-bg:rgba(255,130,151,.14)}@media(prefers-color-scheme:dark){:root:not([data-appearance=light]){--bg:#0b1520;--surface:#121f2d;--text:#e6eef6;--muted:#9fb2c5;--line:#22364a;--soft:#1a2b3d;--table-head:#16273a;--orange-soft:rgba(245,130,50,.18);--good:#5fd09a;--good-bg:rgba(95,208,154,.14);--warn:#f3b65a;--warn-bg:rgba(243,182,90,.14);--bad:#ff8297;--bad-bg:rgba(255,130,151,.14)}}body{background:var(--bg)}.sidebar{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);gap:1.1rem;padding:1.4rem 1rem}.brand{margin-bottom:.4rem}.primary-nav{gap:.15rem}.nav button{border-radius:8px;padding:.5rem .75rem;color:#cfdce8;font-weight:500;position:relative}.nav button:hover{background:#ffffff0f;color:#fff}.nav button.active{background:#f5823229;color:#fff;font-weight:650}.nav button.active:before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:3px;border-radius:3px;background:var(--orange)}.nav-caption{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#8ea6bd;margin:.2rem 0 .3rem .75rem}.secondary-nav button{font-size:.88rem;padding:.38rem .75rem}.main{padding:1.4rem 2rem}.topline{margin-bottom:.6rem}.eyebrow{font-size:.78rem;letter-spacing:.02em}.page-heading{margin-bottom:.9rem;align-items:center}.page-heading h1{font-size:1.55rem;margin:0;display:flex;align-items:center;gap:.5rem;letter-spacing:-.03em}.info-tip{margin:0;width:1.35rem;height:1.35rem;min-height:0;padding:0;border-radius:50%;font:italic 700 .78rem/1 Georgia,serif;color:var(--muted);background:transparent;border:1px solid var(--line)}.info-tip:hover{color:var(--text);border-color:var(--orange)}.card:not(.auth){border-radius:12px;border-color:var(--line);box-shadow:0 1px 2px #1025380d;padding:1.1rem 1.2rem;margin:0 0 .9rem}.card h2{font-size:1.02rem;margin:0 0 .6rem}.card h3{font-size:.95rem;margin:0 0 .4rem}button{border-radius:8px;padding:.5rem .9rem}button.primary{background:var(--orange);border-color:var(--orange);color:#17324d}button.primary:hover{filter:brightness(1.05)}table th{font-weight:600}.data-table{width:100%;border-collapse:collapse;font-size:.9rem}.data-table th,.data-table td{padding:.55rem .7rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.data-table thead th{background:var(--table-head);font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.data-table tbody tr:hover{background:var(--soft)}.data-table .num{text-align:right;font-variant-numeric:tabular-nums}.pill{display:inline-block;border-radius:999px;padding:.18rem .6rem;font-size:.76rem;font-weight:600}.pill.green{background:var(--good-bg);color:var(--good)}.pill.amber{background:var(--warn-bg);color:var(--warn)}.pill.red{background:var(--bad-bg);color:var(--bad)}.stat-row{display:flex;gap:.7rem;margin:0 0 .9rem;flex-wrap:wrap}.stat{display:flex;align-items:baseline;gap:.5rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.6rem 1rem;min-width:9rem}.stat strong{font-size:1.45rem;font-variant-numeric:tabular-nums}.stat span{color:var(--muted);font-size:.85rem}.stat-green strong{color:var(--good)}.stat-red strong{color:var(--bad)}.stat-gray strong{color:var(--muted)}.time-toolbar{margin:0 0 .8rem}.callout{display:none}.data-table .row-actions{text-align:right;white-space:nowrap}.data-table .row-actions button{padding:.3rem .65rem;font-size:.82rem;margin:0 0 0 .3rem;min-height:0}.data-table tr.is-void td,.data-table tr.is-void th{opacity:.55}.data-table th[scope=row]{font-weight:600;white-space:nowrap}.settings-section{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:.2rem 1.1rem;margin:0 0 .7rem}.settings-section>summary{cursor:pointer;font-weight:650;padding:.75rem 0;display:flex;align-items:center;gap:.5rem;list-style:none}.settings-section>summary::-webkit-details-marker{display:none}.settings-section>summary:before{content:"\203a";display:inline-block;transition:transform .15s;color:var(--orange);font-size:1.2rem;line-height:1}.settings-section[open]>summary:before{transform:rotate(90deg)}.settings-section .form-grid{padding-bottom:1rem}.settings-section h3{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:.6rem 0 0}.group-title{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:1.1rem 0 .5rem}.data-table td{white-space:nowrap}.time-grid td{position:relative}.time-add{position:static;display:block;margin:3px 0 0 auto!important;width:1.5rem;height:1.5rem;min-height:0;padding:0;margin:0;border-radius:6px;border:1px dashed var(--line);background:transparent;color:var(--muted);font-size:1rem;line-height:1;opacity:.35}.time-grid td:hover .time-add,.time-add:focus-visible{opacity:1;border-color:var(--orange);color:var(--orange)}.time-empty .time-add{opacity:.25}.time-empty .time-add{display:inline-block;margin:0 0 0 .4rem!important;vertical-align:middle}.time-add-row{display:flex;justify-content:center;gap:10px;margin-top:5px}.time-empty .time-add-row{display:flex;margin:4px 0 0}.time-add-row .time-add{display:inline-flex;align-items:center;justify-content:center;position:static;width:1.45rem;height:1.45rem;margin:0!important;border-style:solid;opacity:.6}.time-grid td:hover .time-add-row .time-add{opacity:.85}.time-add-row .time-add:hover,.time-add-row .time-add:focus-visible{opacity:1;color:var(--orange);border-color:var(--orange)}.time-leave{font-size:.74rem;font-weight:600;color:var(--good);margin:2px 0}.wizard{max-width:860px;margin:0 auto;padding:2rem 1.5rem 4rem}.wizard-top{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.wizard-progress{list-style:none;display:flex;gap:.4rem;padding:0;margin:0 0 1rem;flex-wrap:wrap}.wizard-progress li{display:flex;align-items:center;gap:.4rem;padding:.35rem .7rem;border-radius:999px;background:var(--soft);color:var(--muted);font-size:.82rem}.wizard-progress li.done{color:var(--accent)}.wizard-progress li.current{background:var(--orange);color:#17324d;font-weight:650}.wizard-dot{font-weight:700}.wizard-auth .wizard-progress .wizard-label{display:none}.wizard-auth .wizard-progress li.current .wizard-label{display:inline}.wizard-card h2{margin-top:1.6rem}.wizard-form{display:flex;flex-direction:column;gap:1.1rem}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid var(--line);padding-top:1.2rem;margin-top:.5rem}.wizard-note{padding:1rem 1.2rem;background:var(--soft);border-left:3px solid var(--orange);border-radius:3px;line-height:1.6;margin:1rem 0}.wizard-preview{margin:.8rem 0}.wizard-preview tr.bad td{color:var(--danger)}.rule-summary{line-height:1.9;padding-left:1.2rem}.people-list{padding-left:1.2rem;line-height:1.8}.site-list{display:flex;flex-direction:column;gap:1rem}.site-line{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap}.site-line p{margin:.2rem 0}.site-map{margin:0}.site-map-frame{position:relative;width:256px;height:160px;overflow:hidden;border-radius:8px;border:1px solid var(--line)}.site-map-frame img{position:absolute;max-width:none}.map-pin{position:absolute;width:22px;height:22px;left:117px;top:58px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#d62839;border:3px solid #fff;box-shadow:0 1px 4px #0006}.trial-badge{background:var(--success-bg);color:var(--success-text);padding:.4rem .8rem;border-radius:25px;font-size:.85rem;font-weight:600}.trial-badge.ending{background:var(--soft);color:var(--danger)}.sandbox-bar{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:-1rem 0 1.5rem;padding:.6rem .8rem;border-radius:10px;background:var(--soft)}.sandbox-bar.active{background:#6b3fa0;color:#fff}.sandbox-bar.active .segmented{background:#fff}.sandbox-bar.active .actions button{color:#fff;background:transparent;border-color:#ffffff80}.sandbox-bar.active .segmented button:not(.active){color:#17324d;background:#fff}.sandbox-bar .segmented button.active{background:var(--orange);color:#17324d}.main.sandbox-mode{border-top:6px solid #6b3fa0}.signup-link{text-align:center}.wizard [hidden]{display:none!important}.wizard-options{display:flex;flex-direction:column;gap:.6rem}.wizard-option{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;text-align:left;width:100%;padding:.9rem 1.1rem;border-radius:10px}.wizard-option:hover{border-color:var(--orange)}.wizard-option.selected{border:2px solid var(--orange);background:var(--soft)}.wizard-segment{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:0 0 1rem}.wizard-segment button{border:0;border-radius:0}.wizard-segment button.selected{background:var(--orange);color:#17324d;font-weight:650}.wizard-check{display:flex;flex-direction:row;gap:.8rem;align-items:flex-start;padding:.55rem 0;max-width:none;font-size:1rem}.wizard-check input{margin-top:.25rem;width:1.1rem;height:1.1rem;flex:none;padding:0}.wizard-check>span{display:flex;flex-direction:column;gap:.15rem}.wizard-price{padding:1rem 1.2rem;background:var(--soft);border-radius:10px;margin-top:1rem}.wizard-price p{margin:.35rem 0}.wizard-points{line-height:1.7;padding-left:1.2rem}.wizard-other{margin-top:1rem}.wizard-other summary{cursor:pointer;font-weight:600}.task-list{display:flex;flex-direction:column;gap:.35rem;margin:.6rem 0}.task-row{display:grid;grid-template-columns:minmax(0,22rem) auto auto;gap:.8rem;align-items:center;border:0;padding:0;margin:0}.task-row.task-fixed{grid-template-columns:minmax(0,22rem) auto;padding:.45rem .1rem}.task-row .field-check{margin:0}.link-button{background:none;border:0;padding:0;color:var(--orange);font:inherit;font-weight:600;cursor:pointer}.link-button:hover{text-decoration:underline}.link-button:disabled{color:var(--muted);cursor:not-allowed;text-decoration:none}.employee-link{color:var(--text);font-weight:500;text-align:left}.stage-cell{white-space:nowrap}.stage-cell .link-button{margin-left:.5rem;font-size:.85rem}.select-cell{width:2rem}.timecard-period-table tr.is-locked td,.timecard-period-table tr.is-locked th{opacity:.7}.exception-list{margin-top:.2rem;line-height:1.3}.bulk-actions{margin:.2rem 0 .8rem;align-items:center;min-height:2.2rem}.stat-amber strong{color:var(--warn)}.site-person{border-left:3px solid var(--orange);background:var(--soft);border-radius:6px;padding:.3rem .45rem .35rem;margin:0 0 .45rem}.site-person:nth-of-type(2n){border-left-color:#4f8fd6}.site-person-name{font-size:.78rem;margin-bottom:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-person .time-pair{margin-bottom:.15rem}.week-approval{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;margin-top:.35rem}.small-pill{font-size:.68rem;padding:.05rem .4rem}.week-approval .link-button{font-size:.8rem}.hour-type-total{vertical-align:top;text-align:left}.week-approval{gap:.3rem;margin-top:.45rem}.approve-btn{display:inline-flex;align-items:center;gap:.25rem;border-radius:999px;padding:.22rem .65rem;font-size:.75rem;font-weight:600;line-height:1.2;border:1px solid transparent;white-space:nowrap}.approve-btn.is-action{background:var(--orange);color:#fff;border-color:var(--orange);cursor:pointer;box-shadow:0 1px 2px #10253826}.approve-btn.is-action:hover{filter:brightness(1.07)}.approve-btn.is-done{background:var(--good-bg);color:var(--good);border-color:color-mix(in srgb,var(--good) 35%,transparent)}.approve-btn.is-waiting,.approve-btn.is-locked{background:var(--soft);color:var(--muted);border-color:var(--line)}.assistant-open{border-color:var(--orange);color:var(--orange);font-weight:600}.assistant-panel{position:fixed;top:0;right:0;bottom:0;width:min(400px,100vw);z-index:40;display:flex;flex-direction:column;background:var(--surface);border-left:1px solid var(--line);box-shadow:-8px 0 24px #1025381f}.assistant-head{display:flex;align-items:center;gap:.5rem;padding:.8rem 1rem;border-bottom:1px solid var(--line)}.assistant-head-actions{margin-left:auto;display:flex;gap:.6rem;align-items:center}.assistant-log{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.7rem}.assistant-empty p{margin:0 0 .5rem;color:var(--muted)}.assistant-empty ul{margin:0;padding-left:1.1rem;line-height:1.9}.assistant-msg{border-radius:12px;padding:.6rem .8rem;line-height:1.45;white-space:pre-wrap;max-width:92%}.assistant-msg.is-you{align-self:flex-end;background:var(--orange-soft)}.assistant-msg.is-bot{align-self:flex-start;background:var(--soft)}.assistant-msg.is-error{background:var(--bad-bg);color:var(--bad)}.assistant-msg.is-busy{color:var(--muted);font-style:italic}.assistant-action{display:inline-block;margin-top:.5rem;font-size:.85rem}.assistant-draft{margin-top:.6rem;border:1px solid var(--orange);border-radius:10px;padding:.6rem .7rem;background:var(--surface);white-space:normal;display:flex;flex-direction:column;gap:.25rem}.assistant-draft.is-applied{border-color:var(--good)}.assistant-draft.is-discarded{border-color:var(--line);opacity:.75}.assistant-draft .actions{margin-top:.3rem}.assistant-change{font-size:.95rem}.assistant-draft p{margin:.2rem 0 0}.assistant-compose{display:flex;gap:.5rem;padding:.7rem 1rem;border-top:1px solid var(--line)}.assistant-compose textarea{flex:1;resize:none}.assistant-note{margin:0;padding:0 1rem .8rem;font-size:.75rem;color:var(--muted)}.searchbar select{max-width:24rem}.wizard-tip{padding:1rem 1.2rem;background:var(--soft);border-left:3px solid var(--orange);border-radius:6px;margin:0 0 1.4rem}.wizard-tip p{margin:0 0 .8rem}.assistant-gauge{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;color:var(--muted);white-space:nowrap}.assistant-gauge-bar{display:inline-block;width:48px;height:6px;border-radius:3px;background:var(--line);overflow:hidden}.assistant-gauge-bar>span{display:block;height:100%;background:var(--good)}.assistant-gauge.is-low .assistant-gauge-bar>span{background:var(--warn)}.assistant-gauge.is-low{color:var(--warn)}.assistant-gauge.is-empty{color:var(--bad)}.time-grid.time-punch-grid{min-width:900px;width:100%}.time-punch-grid th:first-child{width:140px}.time-punch-grid.has-status th:last-child{width:150px}.time-punch-grid td{padding:.55rem .45rem}.hours-grid.has-status th:last-child{width:150px;text-align:left}.hours-grid .time-status{text-align:left;white-space:normal}.time-grid .is-weekend{background-color:color-mix(in srgb,var(--text) 3.5%,transparent)}.time-grid .is-today{background-color:color-mix(in srgb,var(--orange) 9%,transparent)}.time-grid thead th.is-today{background-color:color-mix(in srgb,var(--orange) 22%,var(--table-head));color:var(--text)}.time-grid thead th.is-weekend:not(.is-today){background-color:color-mix(in srgb,var(--text) 5%,var(--table-head))}.time-grid td.has-critical{background-color:var(--bad-bg);box-shadow:inset 3px 0 0 var(--bad)}.time-grid td.has-review{box-shadow:inset 3px 0 0 var(--warn)}.time-critical-note{font-size:.72rem;line-height:1.3;color:var(--bad);font-weight:600;margin-top:2px;white-space:normal}.time-grid .time-day-review{color:var(--warn);white-space:normal;line-height:1.3}.time-fix-count{display:inline-block;margin-top:.35rem!important;padding:.1rem .5rem;border-radius:999px;background:var(--bad-bg);color:var(--bad);font-size:.72rem!important;font-weight:600;cursor:pointer;border:0;font-family:inherit}.time-fix-count:hover{text-decoration:underline}.time-fix-list{display:grid;gap:.9rem;min-width:min(26rem,80vw)}.time-fix-item p{margin:.2rem 0 .4rem}.time-status .week-approval{flex-direction:column;align-items:flex-start;margin-top:0}.week-approve-warning{background:var(--warn-bg);color:var(--text);border-left:3px solid var(--warn);padding:.6rem .75rem;margin:0 0 .75rem;font-size:.9rem}.time-grid td .time-add-row{position:absolute;right:4px;bottom:4px;margin:0;gap:4px;padding:2px;border-radius:6px;background:var(--surface);opacity:0;pointer-events:none;transition:opacity .12s}.time-grid td:hover .time-add-row,.time-grid td:focus-within .time-add-row{opacity:1;pointer-events:auto}.time-grid td .time-add-row .time-add{opacity:.85}.time-grid td.time-empty .time-add-row{position:absolute}@media(hover:none){.time-grid td .time-add-row{position:static;opacity:1;pointer-events:auto;background:none;justify-content:flex-start;margin-top:4px}}.time-punch-grid:not(.has-status) th:last-child{width:auto}.time-grid.daily-hours-grid{min-width:900px;width:100%}.daily-hours-grid th:first-child{width:140px;min-width:0}.daily-hours-grid td{padding:.55rem .4rem}.daily-hours-grid .hour-type-line{font-size:.74rem}.daily-hours-grid th.time-status-head,.daily-hours-grid td.time-status{width:150px}.daily-hours-grid:not(.has-status) th:last-child,.daily-hours-grid.has-status th:nth-last-child(2){width:105px}.daily-hours-grid .hour-type-line{white-space:normal;line-height:1.35;margin-bottom:2px}.time-grid td:not(.time-empty) .time-add-row{position:static;justify-content:flex-end;margin-top:3px;padding:0;background:none;height:1.25rem}.time-grid td:not(.time-empty) .time-add-row .time-add{width:1.25rem;height:1.25rem}.staff-page{display:block}.staff-main{max-width:1100px;margin:0 auto;padding:2rem 1.25rem}.staff-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:.5rem}.staff-head h1{margin:.2rem 0 0}.staff-main input[type=search]{width:100%;max-width:420px;margin:1rem 0 .5rem}.staff-table{width:100%}.staff-table th,.staff-table td{text-align:left;padding:.6rem .7rem;vertical-align:middle;border-bottom:1px solid var(--line)}.staff-table td.num{text-align:right;font-variant-numeric:tabular-nums}.staff-switch{display:inline-flex;gap:.45rem;align-items:center;cursor:pointer}.staff-status{min-height:1.2em}.staff-switch input{width:auto;min-height:0;margin:0}.staff-table tbody th{background:none;font-weight:400}.staff-table label.staff-switch{flex-direction:row;display:inline-flex}.staff-filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end}.staff-filters input[type=search]{flex:1 1 280px}.staff-main label.staff-month{flex-direction:row;display:inline-flex;align-items:center;gap:.5rem;margin:1rem 0 .5rem}.staff-month input{width:auto}.assistant-msg.is-tip .assistant-text{margin-top:.25rem}.assistant-tip-badge{display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.02em;opacity:.8}.assistant-steps{margin:.4rem 0 .5rem;padding-left:1.25rem}.assistant-steps li{margin:.25rem 0}.assistant-tip-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}.wizard-choice{border:1px solid var(--line,#d5dbe5);border-radius:10px;padding:1rem 1.2rem;margin:0 0 1rem}.wizard-choice h3{margin:0 0 .4rem}.wizard-choice p{margin:0 0 .8rem}.standing-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.standing-bar.locked,.standing-bar.closed{border-color:#c0392b}.company-logo-row{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.company-logo-preview{width:72px;height:72px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:6px}.company-logo-empty{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.8rem;background:var(--soft)}.workspace-row{display:flex;align-items:flex-end;gap:.6rem}.workspace-row>label{flex:1;min-width:0}.workspace-logo{width:40px;height:40px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:7px;padding:3px;margin-bottom:1px}.employee-picker{display:grid;gap:.15rem;max-height:15rem;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:.4rem .7rem;background:var(--surface)}.picker-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.3rem 0 .5rem}.picker-tools input{flex:1;min-width:12rem}.inline-number{display:flex;align-items:center;gap:.6rem;margin:0 0 .4rem 1.8rem}.inline-number input{width:5.5rem}.compact-details{padding:.5rem .8rem;margin:.4rem 0}.time-shift-head{display:block;width:100%;text-align:left;font:inherit;font-weight:600;background:none;border:1px dashed var(--line,#ccd);border-radius:6px;padding:4px 6px;cursor:pointer}.time-shift-head[aria-expanded=true]{border-style:solid}.time-stops{margin:4px 0 0 8px;padding-left:6px;border-left:2px solid var(--line,#ccd)}.wizard-tag{display:inline-block;font-size:.8rem;font-weight:600;padding:.15rem .55rem;border-radius:25px;background:var(--soft);color:var(--orange);border:1px solid var(--orange)}.field-help{display:block;font-weight:400}.input-locked{opacity:.6;cursor:not-allowed}.issue-screenshot{max-width:100%;max-height:520px;border-radius:12px;border:1px solid var(--line,#d5dce4)}.time-pair-break{font-size:.7rem;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:3px;margin-top:2px}.site-address{display:grid;grid-template-columns:1fr auto;align-items:end;gap:.5rem .75rem}.site-address>input{grid-column:1}.site-address>button{grid-column:2;grid-row:2;white-space:nowrap}.site-map-status{margin:-.6rem 0 0;min-height:1.2em}.site-map-status.site-map-error{color:var(--danger)}.site-map{position:relative;height:280px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#e8e6e1;touch-action:none;cursor:grab;user-select:none}.site-map.site-map-dragging{cursor:grabbing}.site-map-tiles img{position:absolute;width:256px;height:256px;max-width:none;pointer-events:none}.site-map-circle{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.site-map-circle circle{fill:#f27c2126;stroke:#f27c21;stroke-width:2}.site-map-pin{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-22px 0 0 -11px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#d9480f;border:2px solid #fff;box-shadow:0 1px 4px #00000073;pointer-events:none}.site-map-zooms{position:absolute;top:8px;right:8px;display:flex;flex-direction:column;gap:4px}.site-map-zoom{width:32px;height:32px;padding:0;font-size:1.1rem;line-height:1;background:#fff;color:#1d2b36;border:1px solid #c9d1d9;border-radius:6px}.site-map-credit{position:absolute;right:0;bottom:0;padding:1px 6px;font-size:.7rem;background:#fffc;color:#333}.site-map-empty{position:absolute;inset:0;display:none;align-items:center;justify-content:center;margin:0;padding:1rem;text-align:center;color:#55606b}.site-map.site-map-unset{cursor:default}.site-map.site-map-unset .site-map-empty{display:flex}.site-map.site-map-unset .site-map-pin,.site-map.site-map-unset .site-map-zooms{display:none}.settings-grid{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.85rem 1.6rem}.settings-grid>label:not(.field-check){align-items:flex-start}.settings-grid select{width:auto;min-width:11rem}.settings-grid input[type=number]{width:7.5rem}.settings-grid input[type=time],.settings-grid input[type=date]{width:11rem}.settings-grid input[type=text],.settings-grid .field-help{max-width:28rem}.settings-section h3.settings-group{border-top:1px solid var(--line);padding-top:.85rem;margin:.35rem 0 -.2rem}.settings-section .settings-grid>h3.settings-group:first-child,.settings-section h3.settings-group:first-of-type{border-top:0;padding-top:0}.settings-grid>label.wide input[type=text]{max-width:none}.guide-card{max-width:760px}.guide-card h2{margin:.2rem 0 1rem}.guide-step{margin:0}.guide-question{margin:0 0 1.4rem}.guide-question h3,.guide-card h3{font-size:1rem;margin:0 0 .6rem}.guide-row{display:flex;flex-wrap:wrap;gap:1rem 1.6rem;margin:.4rem 0 1.2rem}.guide-field{flex:0 1 auto}.guide-field select{width:auto;min-width:11rem}.guide-field input{width:9rem}.guide-leave{display:flex;flex-direction:column;gap:.4rem;margin:.6rem 0 1rem}.guide-leave-row{display:grid;grid-template-columns:14rem 8rem;gap:1rem;align-items:center}.guide-leave-row input[type=text]{padding:.45rem .6rem}.guide-card .wizard-actions{margin-top:1rem}.guide-rows{margin:.4rem 0 1.2rem}.guide-rows .guide-added{align-items:flex-end;margin:0 0 .6rem}.guide-added .field-check{align-self:center}.guide-group{margin:0 0 1rem;padding:1rem 1.2rem}.guide-group details{margin:0 0 1rem}.guide-group summary{cursor:pointer;margin-bottom:.6rem}.policy-changes h3{margin:1rem 0 .4rem;font-size:1rem}.policy-changes ul{margin:0;padding-left:1.2rem;display:grid;gap:.35rem}.policy-changes .policy-from{text-decoration:line-through;color:var(--muted)}.policy-changes .policy-to{font-weight:600}
