/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--text-xs:.75rem;--text-sm:.875rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}button{color:inherit;cursor:pointer}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.start\!{inset-inline-start:var(--spacing)!important}.end{inset-inline-end:var(--spacing)}.end\!{inset-inline-end:var(--spacing)!important}.block{display:block}.hidden{display:none}.table{display:table}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#1c2333;--muted:#788194;--line:#e7e9f0;--surface:#f5f6fa;--navy:#171c2b;--navy-soft:#242a3c;--purple:#6559e8;--purple-dark:#5046ce;--purple-soft:#eeecff;--mint:#179a7d;--amber:#d7842f}*{box-sizing:border-box}body,html{min-height:100%;color:var(--ink);font-family:var(--font-geist-sans),"Noto Sans JP","Hiragino Sans",sans-serif;margin:0}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #6559e838}.shell{min-height:100vh;display:flex}.sidebar{z-index:30;background:var(--navy);color:#fff;flex-direction:column;width:238px;padding:27px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:.01em;align-items:center;gap:11px;padding:0 6px;font-size:14px;font-weight:750;display:flex}.brand-mark{border-radius:11px;place-items:center;width:35px;height:35px;font-size:15px;display:grid;box-shadow:0 8px 20px #5c50d947}.brand>span:last-child{flex-direction:column;gap:2px;display:flex}.brand small{color:#9fa6bd;letter-spacing:.18em;font-size:7px}.company-switcher{flex-direction:column;gap:5px;margin-top:24px;display:flex}.company-switcher>small{color:#858da4;margin:0 4px 3px;font-size:8px;font-weight:700}.company-switcher button{color:#aab0c1;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:29px 1fr auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:7px 9px;display:grid}.company-switcher button:hover{color:#fff;background:#ffffff0d}.company-switcher button.active{color:#fff;background:#292d36;border-color:#988eff3d}.company-switcher button>i{color:#b8b2ff;background:#343a4f;border-radius:8px;place-items:center;width:28px;height:28px;font-size:8px;font-style:normal;font-weight:850;display:grid}.company-switcher button>span{flex-direction:column;gap:3px;min-width:0;display:flex}.company-switcher button strong{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.company-switcher button small{color:#858da3;font-size:7px}.company-switcher button b{color:#707891;font-size:13px;font-weight:500}.company-switcher button.active b{color:#b8b2ff}.month-card{background:#ffffff0b;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;gap:5px;margin:13px 0 18px;padding:12px 15px;display:flex}.month-card small{color:#9ea5ba;font-size:9px}.month-card span{color:#bdb8ff;background:#7f70f024;border-radius:5px;width:max-content;padding:3px 6px;font-size:8px}.sidebar nav{flex-direction:column;gap:5px;display:flex}.sidebar nav button{color:#aab0c1;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;height:43px;padding:0 13px;font-size:11px;font-weight:650;display:flex}.sidebar nav button:hover{color:#fff;background:#ffffff0f}.sidebar nav button.active{color:#fff;background:#292d36;box-shadow:inset 3px 0 #7b6ff0}.glyph{color:#8c94ad;text-align:center;width:20px;font-size:16px}.sidebar nav .active .glyph{color:#a89fff}.sidebar-note{color:#9ea5b8;border:1px solid #ffffff12;border-radius:11px;flex-direction:column;gap:5px;margin-top:26px;padding:14px;font-size:9px;line-height:1.4;display:flex}.sidebar-note b{color:#fff;margin-bottom:3px;font-size:10px}.sidebar-note span:before{content:"•";color:#7f72ed;margin-right:6px}.profile{border-top:1px solid #ffffff14;align-items:center;gap:10px;margin-top:auto;padding:16px 5px 0;display:flex}.profile>span{background:#353b50;border-radius:10px;place-items:center;width:33px;height:33px;font-size:10px;display:grid}.profile div{flex-direction:column;gap:3px;display:flex}.profile strong{font-size:10px}.profile small{color:#8f96aa;font-size:8px}.content{width:calc(100% - 238px);min-height:100vh;margin-left:238px}.topbar{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:#fffffff0;justify-content:space-between;align-items:center;padding:0 31px;display:flex;position:sticky;top:0}.topbar>div:first-child{flex-direction:column;gap:2px;display:flex}.top-actions{gap:8px;display:flex}.ghost-button,.primary-button{border-radius:9px;height:36px;padding:0 13px;font-size:9px;font-weight:750}.ghost-button{border:1px solid var(--line);background:#fff}.primary-button{background:var(--purple);color:#fff;border:0;box-shadow:0 6px 16px #564bcf33}.page{width:min(1440px,100%);margin:0 auto;padding:30px 32px 48px}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:23px;display:flex}.eyebrow{letter-spacing:.17em;margin-bottom:5px;font-size:8px;font-weight:850;display:block}.page-heading h1{letter-spacing:-.04em;margin:0 0 7px;font-size:25px}.page-heading p{color:var(--muted);margin:0;font-size:10px;line-height:1.7}.month-selector{grid-template-columns:34px 148px 34px;align-items:stretch;gap:5px;display:grid}.month-selector>button{border:1px solid var(--line);color:#6d7485;background:#fff;border-radius:9px;font-size:17px}.month-selector>button:hover{color:var(--purple);border-color:#c9c5ef}.month-selector>label{border:1px solid var(--line);background:#fff;border-radius:9px;flex-direction:column;justify-content:center;gap:2px;height:47px;padding:6px 10px;display:flex}.month-selector small{color:#969dad;font-size:6px}.month-selector input{color:#303849;cursor:pointer;background:0 0;border:0;outline:0;width:100%;padding:0;font-size:10px;font-weight:800}.segmented{border:1px solid var(--line);background:#fff;border-radius:10px;padding:3px;display:flex}.segmented button{color:#808899;background:0 0;border:0;border-radius:7px;height:31px;padding:0 11px;font-size:8px;font-weight:700}.segmented button.active{background:var(--navy);color:#fff;box-shadow:0 3px 8px #171c2b24}.payroll-filters{margin-bottom:13px;overflow:hidden}.payroll-filters>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:50px;padding:0 15px;display:flex}.payroll-filters>header>div{flex-direction:column;gap:3px;display:flex}.payroll-filters>header small,.payroll-filters>header>span{color:#9299a8;font-size:7px}.payroll-filters>header>span{color:#697184;background:#f2f3f7;border-radius:6px;padding:5px 7px;font-weight:700}.filter-controls{background:#fcfcfe;align-items:flex-end;gap:12px;min-height:63px;padding:10px 15px;display:flex}.filter-controls>div{flex-direction:column;gap:5px;display:flex}.filter-controls label{color:#7e8697;font-size:7px;font-weight:750}.employee-filter{min-width:235px}.employee-filter select{border:1px solid var(--line);color:#434b5c;background:#fff;border-radius:9px;width:100%;height:37px;padding:0 30px 0 10px;font-size:8px;font-weight:650}.display-switch>div,.period-switch>div{border:1px solid var(--line);background:#fff;border-radius:9px;padding:3px;display:flex}.display-switch button,.period-switch button{color:#858c9c;background:0 0;border:0;border-radius:6px;height:29px;padding:0 10px;font-size:7px;font-weight:750}.display-switch button.active,.period-switch button.active{background:var(--purple-soft);color:var(--purple)}.display-switch{margin-left:auto}.kpi-grid{grid-template-columns:1.25fr repeat(3,1fr);gap:11px;margin-bottom:13px;display:grid}.kpi{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;justify-content:center;min-height:118px;padding:18px;display:flex;box-shadow:0 3px 12px #1e243c06}.kpi>span{color:#7f8798;margin-bottom:8px;font-size:9px}.kpi strong{letter-spacing:-.04em;font-size:21px}.kpi em{margin-left:3px;font-size:9px;font-style:normal}.kpi small{color:#969cac;margin-top:7px;font-size:8px}.kpi.primary{border-color:var(--navy);background:var(--navy);color:#fff;box-shadow:0 9px 25px #4e44c033}.kpi.warning strong{color:var(--amber)}.summary-grid{grid-template-columns:minmax(0,3fr) minmax(245px,.8fr);gap:13px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:0 3px 12px #1e243c06}.employee-panel{overflow:hidden}.employee-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:67px;padding:0 18px;display:flex}.employee-panel h2,.quick-input h2{margin:0;font-size:13px}.employee-panel header button{color:var(--purple);background:0 0;border:0;font-size:8px;font-weight:750}.excel-summary>header{gap:18px;height:auto;min-height:76px}.excel-summary>header p{color:#8d94a4;margin:4px 0 0;font-size:7px}.summary-actions{white-space:nowrap;align-items:center;gap:9px;display:flex}.summary-actions>span{color:#7f8797;font-size:7px}.summary-actions>span i{vertical-align:-1px;background:#fff9cc;border:1px solid #eadf8c;border-radius:2px;width:8px;height:8px;margin-right:4px;display:inline-block}.summary-actions>span:nth-child(2) i{background:#f0efff;border-color:#d9d5f8}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{color:#555;text-align:left;background:#fafafd;height:36px;padding:0 10px;font-size:7px;font-weight:700}td,th{white-space:nowrap}td{color:#596173;border-top:1px solid #eff0f4;min-height:57px;padding:10px;font-size:8px}tbody tr:hover{background:#fbfbff}.payroll-table th{color:#706d56;background:#fffbe7}.payroll-table thead .calculated-column{color:#5a52c4;background:#f0efff}.payroll-table thead .total-column{background:var(--navy);color:#fff}.payroll-table td{height:59px}.payroll-table td.calculated-column{background:#fbfaff}.payroll-table td.total-column{color:#252b3d;background:#f7f7fc}.payroll-table tfoot td,.payroll-table tfoot th{color:#4f5768;white-space:nowrap;background:#f5f6f9;border-top:2px solid #dadde7;height:42px;padding:0 10px;font-size:8px;font-weight:800}.payroll-table tfoot .calculated-column{color:#554bc8;background:#eceaff}.payroll-table tfoot .total-column{background:var(--navy);color:#fff}.daily-payroll-table{min-width:1040px}.daily-payroll-table th{background:#f7f7fb}.daily-payroll-table thead .calculated-column{color:#5a52c4;background:#f0efff}.daily-payroll-table thead .total-column{background:var(--navy);color:#fff}.daily-payroll-table td{height:62px}.daily-payroll-table td.calculated-column{background:#fbfaff}.daily-payroll-table td.total-column{color:#252b3d;background:#f7f7fc}.daily-payroll-table tfoot td,.daily-payroll-table tfoot th{color:#4f5768;white-space:nowrap;background:#f5f6f9;border-top:2px solid #dadde7;height:42px;padding:0 10px;font-size:8px;font-weight:800}.daily-payroll-table tfoot .calculated-column{color:#554bc8;background:#eceaff}.daily-payroll-table tfoot .total-column{background:var(--navy);color:#fff}.daily-date{color:#31394a;font-size:9px}.daily-detail{color:#626a7b;text-overflow:ellipsis;white-space:nowrap;max-width:250px;display:block;overflow:hidden}.empty-table{color:#939aaa;text-align:center;height:110px!important}.daily-payroll-list{background:#f7f8fb;gap:9px;padding:12px;display:grid}.daily-payroll-card{background:#fff;border:1px solid #e3e5ec;border-radius:12px;overflow:hidden}.daily-payroll-card>header{border-bottom:1px solid #eff0f4;grid-template-columns:minmax(130px,.8fr) 1fr auto;align-items:center;gap:14px;min-height:61px;padding:0 14px;display:grid}.daily-card-date{flex-direction:column;gap:4px;display:flex}.daily-card-date strong{font-size:11px}.daily-card-date small{color:#969dac;font-size:7px}.daily-card-values{grid-template-columns:.8fr 1.8fr 1fr 1.1fr;display:grid}.daily-card-values>span{border-left:1px solid #eff0f4;flex-direction:column;justify-content:center;gap:5px;min-height:79px;padding:13px 14px;display:flex}.daily-card-values>span:first-child{border-left:0}.daily-card-values small{color:#8d94a4;font-size:7px}.daily-card-values b{font-size:9px}.daily-card-values b,.daily-card-values em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.daily-card-values em{color:#9aa0af;font-size:7px;font-style:normal}.daily-card-values .daily-card-total{background:#fafaff}.daily-card-total strong{color:var(--purple-dark);font-size:17px}.daily-list-empty{color:#9299a8;background:#fff;border:1px dashed #dfe2e9;border-radius:11px;place-items:center;min-height:125px;font-size:9px;display:grid}.employee-payroll-list{background:#f7f8fb;gap:9px;padding:12px;display:grid}.payroll-list-card{background:#fff;border:1px solid #e3e5ec;border-radius:12px;overflow:hidden}.payroll-list-card>header{border-bottom:1px solid #eff0f4;justify-content:space-between;align-items:center;min-height:60px;padding:0 14px;display:flex}.payroll-list-card .person>span{flex-direction:column;gap:3px;display:flex}.payroll-list-card .person small{color:#969dac;font-size:7px}.payroll-list-card>header>div{align-items:center;gap:6px;display:flex}.payroll-list-values{grid-template-columns:repeat(4,1fr);display:grid}.payroll-list-values>span{border-left:1px solid #eff0f4;flex-direction:column;justify-content:center;gap:5px;min-height:78px;padding:14px;display:flex}.payroll-list-values>span:first-child{border-left:0}.payroll-list-values small{color:#8d94a4;font-size:7px}.payroll-list-values b{font-size:10px}.payroll-list-values em{color:#9aa0af;font-size:7px;font-style:normal}.payroll-list-values .payroll-list-total{background:#fafaff}.payroll-list-values .payroll-list-total strong{color:var(--purple-dark);font-size:17px}.payroll-list-card>footer{background:#fcfcfe;border-top:1px solid #eff0f4;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:0 14px;display:flex}.payroll-list-card>footer span{color:#7f8797;white-space:nowrap;text-overflow:ellipsis;font-size:7px;overflow:hidden}.payroll-list-card>footer button{color:var(--purple);background:0 0;border:0;flex:none;font-size:7px;font-weight:750}.payroll-list-grand-total{background:var(--navy);color:#fff;border-radius:10px;grid-template-columns:1fr auto auto;align-items:center;gap:20px;min-height:54px;padding:0 16px;display:grid}.payroll-list-grand-total span{color:#b9bfce;font-size:8px}.payroll-list-grand-total b{font-size:9px}.person{color:#343b4b;align-items:center;gap:8px;display:flex}.person i{color:#fff;border-radius:9px;place-items:center;width:29px;height:29px;font-size:9px;font-style:normal;display:grid}.industry-tag{color:#5e56cc;background:#f0efff;border-radius:5px;width:max-content;padding:4px 6px;font-size:7px;font-weight:750;display:inline-flex}.industry-tag.bar{color:#218a70;background:#e8f7f3}.industry-tag.construction{color:#3577af;background:#eaf3fb}.overtime,.workplace{color:#9aa0ad;margin-top:4px;font-size:7px;display:block}.overtime{color:#5680aa}.status{border-radius:5px;padding:4px 6px;font-size:7px;font-weight:750;display:inline-flex}.status.ok{color:#21896d;background:#eaf7f3}.status.attention{color:#ca7729;background:#fff2e2}.quick-input{background:#fff;min-height:355px;padding:22px;overflow:hidden}.quick-input h2{letter-spacing:-.04em;margin-top:7px;font-size:19px;line-height:1.45}.quick-input>p{color:var(--muted);margin:10px 0 16px;font-size:9px;line-height:1.7}.message-preview{background:#f8f7ff;border:1px solid #ecebf8;border-radius:11px;margin-bottom:14px;padding:12px}.message-preview span{color:#6258d5;font-size:8px;font-weight:800}.message-preview p{color:#50586a;margin:5px 0 0;font-size:9px;line-height:1.6}.quick-input>button{background:var(--navy);color:#fff;border:0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;height:40px;padding:0 13px;font-size:9px;font-weight:750;display:flex}.quick-input>small{color:#9aa0af;text-align:center;margin-top:9px;font-size:7px;display:block}.input-page{max-width:1240px}.input-layout{grid-template-columns:minmax(360px,1fr) minmax(430px,1.05fr);align-items:start;gap:14px;display:grid}.input-card,.result-card{min-height:500px;padding:20px}.input-card>header,.result-header{justify-content:space-between;align-items:center;margin-bottom:19px;display:flex}.input-card header>div,.result-header>div{align-items:center;gap:10px;display:flex}.input-card header b,.result-header b{background:var(--purple-soft);width:28px;height:28px;color:var(--purple);border-radius:9px;place-items:center;font-size:10px;display:grid}.input-card header span span,.result-header span span{flex-direction:column;display:flex}.input-card header strong,.result-header strong{font-size:11px;display:block}.input-card header small,.result-header small{color:#969dad;margin-top:3px;font-size:7px;display:block}.safe-label{color:#248a70;background:#eaf7f3;border-radius:6px;padding:5px 7px;font-size:7px;font-weight:750}.sample-buttons{gap:7px;margin-bottom:10px;display:flex}.sample-buttons button{color:#6359d2;background:#faf9ff;border:1px solid #dfdcfa;border-radius:7px;height:28px;padding:0 10px;font-size:7px;font-weight:750}.input-card textarea{resize:vertical;color:#343c4d;background:#fcfcfe;border:1px solid #dfe2ea;border-radius:11px;outline:0;width:100%;height:220px;padding:15px;font-size:11px;line-height:1.8}.input-card textarea:focus{background:#fff;border-color:#8c83ec;box-shadow:0 0 0 4px #6559e814}.input-hint{flex-wrap:wrap;align-items:center;gap:5px;margin:12px 0 15px;display:flex}.input-hint span{color:#8c93a2;margin-right:3px;font-size:7px}.input-hint b{color:#737b8c;background:#f2f3f7;border-radius:5px;padding:4px 6px;font-size:7px}.analyze-button{background:var(--purple);color:#fff;border:0;border-radius:10px;justify-content:space-between;align-items:center;width:100%;height:43px;padding:0 15px;font-size:10px;font-weight:750;transition:all .18s;display:flex}.analyze-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.result-card.empty{background:#fbfbfd;border-style:dashed;place-items:center;display:grid}.empty-result{text-align:center;max-width:250px}.empty-result>span{color:#a19dab;background:#f0eff8;border-radius:13px;place-items:center;width:42px;height:42px;margin:0 auto 13px;display:grid}.empty-result h2{margin:0 0 8px;font-size:12px}.empty-result p{color:#9299a8;margin:0;font-size:8px;line-height:1.7}.result-card.ready{animation:rise .25s}.form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.form-grid label{color:#687083;font-size:8px;font-weight:700}.form-grid input,.form-grid select{color:#343c4d;background:#fff;border:1px solid #dfe2e9;border-radius:8px;outline:0;width:100%;height:38px;margin-top:6px;padding:0 10px;font-size:9px}.form-grid input:focus,.form-grid select:focus{border-color:#8c83ec;box-shadow:0 0 0 3px #6559e812}.form-grid .wide{grid-column:1/-1}.calculation{background:#f6f6fb;border-radius:11px;grid-template-columns:.8fr .8fr 1.2fr;gap:8px;margin-top:17px;padding:13px;display:grid}.calculation>span{border-right:1px solid #e1e3ea;flex-direction:column;justify-content:center;gap:5px;min-height:44px;padding-right:9px;display:flex}.calculation>span:last-child{border:0;padding:0}.calculation small{color:#8a91a1;font-size:7px}.calculation strong{color:var(--purple-dark);font-size:16px}.result-actions{align-items:center;gap:12px;margin-top:16px;display:flex}.result-actions>span{color:#8f96a6;margin-right:auto;font-size:7px}.result-actions i{background:#23a681;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.result-actions button{background:var(--navy);color:#fff;border:0;border-radius:9px;height:39px;padding:0 14px;font-size:9px;font-weight:750}.manual-primary-badge{color:#5f56cf;background:#f7f6ff;border:1px solid #d7d3f6;border-radius:9px;padding:8px 11px;font-size:8px;font-weight:800}.manual-input-layout{grid-template-columns:minmax(540px,1fr) 330px;align-items:start;gap:14px;display:grid}.manual-entry-card{overflow:hidden}.manual-card-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:65px;padding:0 20px;display:flex}.manual-card-header>div{align-items:center;gap:10px;display:flex}.manual-card-header>div>b,.manual-section>header>span{background:var(--purple-soft);width:27px;height:27px;border-radius:8px;place-items:center;font-size:9px;display:grid}.manual-card-header>div>span{flex-direction:column;gap:3px;display:flex}.manual-card-header strong{font-size:10px}.manual-card-header small{color:#969dac;font-size:7px}.required-note{color:#8d94a3;font-size:7px}.required-note i{background:#ec6e76;border-radius:50%;width:6px;height:6px;display:inline-block}.input-company-card{background:#f8f7ff;border:1px solid #dad6f7;border-radius:11px;grid-template-columns:36px 1fr;align-items:center;gap:10px;min-height:66px;margin:15px 20px 0;padding:11px 13px;display:grid}.input-company-card>i{color:#fff;background:#6559e8;border-radius:10px;place-items:center;width:36px;height:36px;font-size:10px;font-style:normal;font-weight:850;display:grid}.input-company-card>span{flex-direction:column;gap:4px;display:flex}.input-company-card strong{font-size:10px}.input-company-card small{color:#8e95a5;font-size:7px}.input-company-card>b{color:#5d53cd;background:#eeecff;border-radius:7px;padding:6px 8px;font-size:7px}.input-company-card.bar{background:#f5fcfa;border-color:#cdebe4}.input-company-card.bar>i{background:#279179}.input-company-card.bar>b{color:#217f69;background:#e5f5f0}.input-company-card.construction{background:#f6faff;border-color:#d5e5f3}.input-company-card.construction>i{background:#397bb3}.input-company-card.construction>b{color:#3574a9;background:#e8f2fa}.manual-section{border-bottom:1px solid var(--line);padding:18px 20px}.manual-section:last-child{border-bottom:0}.manual-section>header{align-items:center;gap:9px;margin-bottom:13px;display:flex}.manual-section>header>div{flex-direction:column;gap:3px;display:flex}.manual-section h2{margin:0;font-size:10px}.manual-section p{color:#989ead;margin:0;font-size:7px}.manual-fields{gap:11px;display:grid}.manual-fields.three-columns{grid-template-columns:repeat(3,1fr)}.manual-fields label{color:#636b7c;min-width:0;font-size:8px;font-weight:700}.manual-fields label>span{margin-bottom:6px;display:block}.manual-fields label>span i{color:#db6670;margin-left:3px;font-size:6px;font-style:normal}.manual-fields input,.manual-fields select{color:#343c4d;background:#fff;border:1px solid #dfe2e9;border-radius:8px;outline:0;width:100%;height:39px;padding:0 10px;font-size:9px}.ai-helper-card textarea:focus,.manual-fields input:focus,.manual-fields select:focus,.number-tile input:focus{border-color:#8c83ec;box-shadow:0 0 0 3px #6559e812}.manual-fields .span-two{grid-column:span 2}.prefix-input,.suffix-input{position:relative}.suffix-input input{padding-right:35px}.suffix-input b{color:#8a91a1;font-size:7px;position:absolute;bottom:11px;right:10px}.prefix-input input{padding-left:26px}.prefix-input>b{color:#8a91a1;font-size:8px;position:absolute;bottom:11px;left:10px}.count-input-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.number-tile{border:1px solid var(--line);background:#fcfcfe;border-radius:10px;grid-template-columns:6px 1fr auto;align-items:center;gap:8px;min-height:67px;padding:10px;display:grid}.number-tile>i{border-radius:5px;width:6px;height:32px}.number-tile>span{font-size:8px;font-weight:700}.number-tile>div{align-items:center;display:flex}.number-tile input{text-align:right;background:#fff;border:1px solid #dfe2e9;border-radius:7px;outline:0;width:50px;height:34px;padding:0 5px;font-size:11px;font-weight:800}.manual-entry-card input::placeholder{color:#a8b1aa;opacity:1}.number-tile b{color:#8b92a2;margin-left:4px;font-size:7px}.input-side-stack{flex-direction:column;gap:12px;display:flex}.live-total-card{overflow:hidden}.live-total-card>header{border-bottom:1px solid var(--line);padding:18px 18px 13px}.live-total-card h2{margin:0 0 4px;font-size:14px}.live-total-card header p{color:#9299a8;margin:0;font-size:7px}.live-total-lines{padding:4px 18px}.live-total-lines>span{border-bottom:1px solid #eff0f4;grid-template-columns:1fr auto;align-content:center;gap:4px 8px;min-height:55px;display:grid}.live-total-lines small{color:#737b8d;font-size:8px;font-weight:700}.live-total-lines b{color:#999fad;grid-row:2;font-size:7px;font-weight:500}.live-total-lines strong{grid-area:1/2/3;align-self:center;font-size:11px}.live-total{color:#fff;border-radius:10px;justify-content:space-between;align-items:center;margin:13px 18px 11px;padding:13px;display:flex}.live-total-card>button{background:var(--navy);color:#fff;border:0;border-radius:9px;width:calc(100% - 36px);height:42px;margin:0 18px;font-size:9px;font-weight:800}.live-total-card>button:disabled{opacity:.42;cursor:not-allowed}.live-total-card>small{color:#969dad;text-align:center;margin:8px 0 15px;font-size:6px;display:block}.ai-helper-card{background:#fff;border-color:#dcd9f3;padding:16px}.ai-helper-card>header{justify-content:space-between}.ai-helper-card header>div,.ai-helper-card>header{align-items:center;gap:8px;display:flex}.ai-mark{background:var(--purple-soft);width:28px;height:28px;color:var(--purple);border-radius:9px;place-items:center;font-size:8px;font-weight:850;display:grid}.ai-helper-card header>div>span:last-child{flex-direction:column;gap:3px;display:flex}.ai-helper-card header small{color:#959cac;font-size:7px}.ai-helper-card header em{color:#8b84c9;font-size:6px;font-style:normal}.ai-helper-card>p{color:#7f8797;margin:11px 0;font-size:7px;line-height:1.6}.ai-helper-card .sample-buttons{gap:4px;margin-bottom:7px}.ai-helper-card .sample-buttons button{height:25px;padding:0 6px;font-size:6px}.ai-helper-card textarea{resize:vertical;background:#fff;border:1px solid #dfe2e9;border-radius:8px;outline:0;width:100%;height:86px;padding:10px;font-size:8px;line-height:1.6}.ai-apply-button{color:#5c53cb;background:#f0efff;border:1px solid #d8d4f5;border-radius:8px;width:100%;height:35px;margin-top:7px;font-size:8px;font-weight:800}.ai-apply-button span{margin-right:4px;font-size:7px}.ai-apply-button:disabled{opacity:.45;cursor:not-allowed}.heading-button{background:var(--navy);color:#fff;border:0;border-radius:9px;height:37px;padding:0 14px;font-size:9px;font-weight:750;box-shadow:0 5px 14px #171c2b21}.master-page{max-width:1250px}.master-layout{grid-template-columns:290px minmax(520px,1fr);align-items:start;gap:13px;display:grid}.employee-list{overflow:hidden}.employee-list>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:58px;padding:0 16px;display:flex}.employee-list>header span{color:#939aaa;font-size:8px}.master-filter{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:5px;padding:10px 12px;display:flex}.master-filter b,.master-filter span{border-radius:6px;padding:5px 7px;font-size:7px}.master-filter span{background:var(--navy);color:#fff;font-weight:750}.master-filter b{color:#7b8292;background:#f2f3f7}.employee-list-items{max-height:650px;padding:6px;overflow:auto}.employee-list-items button{text-align:left;background:#fff;border:0;border-radius:10px;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;width:100%;min-height:62px;padding:8px;display:grid}.employee-list-items button:hover{background:#fafaff}.employee-list-items button.active{background:var(--purple-soft);box-shadow:inset 3px 0 0 var(--purple)}.employee-list-items button>i{color:#fff;border-radius:9px;place-items:center;width:32px;height:32px;font-size:9px;font-style:normal;display:grid}.employee-list-items button>span{flex-direction:column;gap:4px;min-width:0;display:flex}.employee-list-items small{color:#9299a8;white-space:nowrap;text-overflow:ellipsis;font-size:7px;overflow:hidden}.employee-list-items em{color:#51596b;font-size:8px;font-style:normal;font-weight:750}.employee-list-items em small{margin-left:2px;font-weight:500}.master-editor{overflow:hidden}.master-editor>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:73px;padding:0 20px;display:flex}.editor-person{align-items:center;gap:10px;display:flex}.editor-person>i{color:#fff;border-radius:11px;place-items:center;width:38px;height:38px;font-size:11px;font-style:normal;display:grid}.editor-person>span{flex-direction:column;gap:3px;display:flex}.editor-person small{color:#999fad;font-size:7px}.active-switch{color:#338a74;cursor:pointer;align-items:center;gap:7px;font-size:8px;font-weight:700;display:flex}.active-switch input{opacity:0;pointer-events:none;position:absolute}.active-switch span{background:#d7dbe3;border-radius:10px;width:31px;height:18px;position:relative}.active-switch span:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:all .18s;position:absolute;top:3px;left:3px;box-shadow:0 2px 4px #1e263a33}.active-switch input:checked+span:after{transform:translate(13px)}.editor-section{border-bottom:1px solid var(--line);padding:20px}.section-title{align-items:center;gap:9px;margin-bottom:15px;display:flex}.section-title>span:first-child{background:var(--purple-soft);width:26px;height:26px;color:var(--purple);border-radius:8px;place-items:center;font-size:8px;font-weight:800;display:grid}.section-title>div{flex-direction:column;gap:3px;display:flex}.section-title h2{margin:0;font-size:10px}.section-title p{color:#979dac;margin:0;font-size:7px}.formula-chip{color:#6158cf;background:#f0efff;border-radius:6px;margin-left:auto;padding:5px 7px;font-size:7px;font-weight:750}.formula-chip.blue{color:#3877ac;background:#eaf3fb}.master-fields{grid-template-columns:1fr 1fr;gap:11px;display:grid}.master-fields label{color:#687083;font-size:8px;font-weight:700}.master-fields input,.master-fields select{color:#343c4d;background:#fff;border:1px solid #dfe2e9;border-radius:8px;outline:0;width:100%;height:37px;margin-top:6px;padding:0 10px;font-size:9px}.master-fields input.locked-field{color:#7d8493;cursor:not-allowed;background:#f5f6f8;border-color:#e8e9ee}.unit-input{position:relative}.unit-input span{z-index:2;color:#818899;font-size:9px;position:absolute;bottom:10px;left:10px}.unit-input input{padding-left:25px}.master-editor input[type=number]{appearance:textfield}.master-editor input[type=number]::-webkit-inner-spin-button,.master-editor input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.drink-rate-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rate-card{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:7px 1fr auto;align-items:center;gap:8px;min-height:70px;padding:11px;display:grid}.rate-card>i{border-radius:5px;width:7px;height:35px}.rate-card>span{flex-direction:column;gap:4px;display:flex}.rate-card strong{font-size:8px}.rate-card small{color:#989ead;font-size:7px}.rate-card>div{align-items:center;display:flex}.rate-card>div b{color:#8b92a2;font-size:8px}.rate-card input{color:#343c4d;text-align:right;background:0 0;border:0;border-bottom:1px solid #d9dce5;outline:0;width:48px;padding:4px;font-size:11px;font-weight:800}.rate-table{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(3,1fr);margin-top:10px;display:grid;overflow:hidden}.rate-table>div{border-left:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;padding:11px;display:grid}.rate-table>div:first-child{border-left:0}.rate-table small,.rate-table span{display:block}.rate-table span{font-size:8px;font-weight:700}.rate-table small{color:#9aa0ae;margin-top:4px;font-size:6px}.rate-table label{grid-column:2;align-items:center;display:flex}.rate-table input{text-align:right;background:0 0;border:0;border-bottom:1px solid #d9dce5;outline:0;width:40px;padding:3px;font-size:11px;font-weight:800}.rate-table b{font-size:8px}.construction-rate{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:16px;min-height:78px;padding:14px;display:grid}.construction-rate>div{flex-direction:column;gap:4px;display:flex}.construction-rate span{font-size:9px;font-weight:750}.construction-rate small{color:#979dac;font-size:7px}.construction-rate label{align-items:center;display:flex}.construction-rate input{text-align:right;border:0;border-bottom:1px solid #d9dce5;outline:0;width:60px;font-size:13px;font-weight:800}.construction-rate label b{margin-left:3px;font-size:8px}.construction-rate em{color:#3976a9;background:#eaf3fb;border-radius:7px;padding:7px 9px;font-size:8px;font-style:normal}.master-editor>footer{justify-content:flex-end;align-items:center;gap:15px;min-height:67px;padding:0 20px;display:flex}.master-editor>footer span{color:#959cab;margin-right:auto;font-size:7px}.master-editor>footer button{background:var(--purple);color:#fff;border:0;border-radius:9px;height:37px;padding:0 14px;font-size:9px;font-weight:750}.records-page{max-width:1400px}.records-panel{overflow:hidden}.records-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:58px;padding:0 15px;display:flex}.records-panel>header>span{color:#969dad;font-size:8px}.record-tabs{gap:4px;display:flex}.record-tabs button{color:#7d8494;background:0 0;border:0;border-radius:7px;height:31px;padding:0 10px;font-size:8px;font-weight:700}.record-tabs button.warning.active{color:#ca7729;background:#fff2e2}.record-tabs b{background:#fffc;border-radius:8px;place-items:center;min-width:16px;height:16px;margin-left:3px;padding:0 4px;font-size:7px;display:inline-grid}.records-table td{height:59px}.records-table tbody tr{cursor:default}.record-detail{text-overflow:ellipsis;max-width:190px;display:block;overflow:hidden}.status-button{cursor:pointer;border:0}.status-button:hover{background:#f9dfbe}:root{--ink:#111;--muted:#6f6f6f;--line:#e1e1e1;--line-strong:#bdbdbd;--surface:#f5f5f5;--paper:#fff;--navy:#111;--navy-soft:#2b2b2b;--purple:#111;--purple-dark:#000;--purple-soft:#ededed;--text-xs:11px;--text-sm:13px;--text-body:15px;--text-title:19px;--text-display:34px;--radius-sm:5px;--radius-md:8px;--radius-lg:11px;--ledger-rule:#d7d7d7;--ledger-tint:#f3f3f3;--ledger-total:#ececec;--mint:#444;--amber:#222}body,html{font-size:var(--text-body);background:var(--surface);font-feature-settings:"palt";font-variant-numeric:tabular-nums;line-height:1.55}.sidebar{width:252px;padding:30px 20px 22px}.brand{letter-spacing:-.02em;font-size:16px;font-weight:800}.brand-mark{border-radius:var(--radius-md);color:var(--navy);box-shadow:none;background:#fff;border:1px solid #ffffff59}.brand small,.company-switcher button small,.month-card span{font-size:10px}.company-switcher>small,.month-card small{font-size:var(--text-xs)}.company-switcher button{border-radius:var(--radius-md)}.company-switcher button.active,.sidebar nav button.active{color:#fff;background:#ffffff1a}.company-switcher button.active{border-color:#ffffff38}.company-switcher button.active>i{color:var(--navy);background:#fff}.company-switcher button strong{font-size:var(--text-sm)}.company-switcher button>i{font-size:var(--text-xs)}.month-card{border-radius:var(--radius-md)}.month-card strong{font-size:16px}.sidebar nav button{border-radius:var(--radius-md);font-size:13px;font-weight:700}.nav-master-group{border-radius:var(--radius-md);background:#ffffff09;border:1px solid #ffffff24;margin:7px 0 2px;padding:10px 8px 8px}.nav-master-group>span{color:#9b9b9b;letter-spacing:.08em;padding:0 8px 6px;font-size:10px;font-weight:800;display:block}.nav-master-items{flex-direction:column;gap:3px;display:flex}.sidebar nav .nav-master-items button{height:38px;font-size:var(--text-sm);padding:0 10px}.sidebar nav .nav-master-items button.active{box-shadow:none;background:#ffffff1a}.content{width:calc(100% - 252px);margin-left:252px}.topbar{border-bottom-color:var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffffff5;height:70px;padding:0 36px}.topbar small{color:var(--muted);font-size:var(--text-xs)}.topbar strong{font-size:14px}.ghost-button,.heading-button,.primary-button{border-radius:var(--radius-md);height:42px;box-shadow:none;padding:0 16px;font-size:13px}.heading-button,.primary-button{background:var(--navy)}.analyze-button:hover,.primary-button:hover{background:var(--navy-soft);transform:none}.page{padding:38px 40px 60px}.eyebrow{color:var(--purple);font-size:var(--text-xs);letter-spacing:.12em}.page-heading h1{font-size:clamp(28px,2.6vw,var(--text-display));line-height:1.18;font-family:"Avenir Next Condensed","BIZ UDPGothic",var(--font-geist-sans),sans-serif;letter-spacing:-.045em;margin-bottom:7px;font-weight:700}.page-heading p{max-width:64ch;font-size:var(--text-body)}.month-selector small{font-size:10px}.employee-filter select,.month-selector input{font-size:13px}.display-switch>div,.employee-filter select,.month-selector button,.month-selector label,.period-switch>div{border-color:var(--line-strong);background:var(--paper)}.display-switch button.active,.period-switch button.active{background:var(--ledger-tint);color:var(--navy);box-shadow:inset 0 0 0 1px var(--ledger-rule)}.kpi,.panel{border-color:var(--line);border-radius:var(--radius-md);background:var(--paper);box-shadow:none}.payroll-filters{background:0 0;border:0}.filter-controls{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper)}.payroll-filters>header strong{font-size:14px}.display-switch button,.filter-controls label,.payroll-filters>header small,.payroll-filters>header>span,.period-switch button{font-size:var(--text-xs)}.kpi em,.kpi>span{font-size:var(--text-sm)}.kpi-grid{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);gap:0;overflow:hidden}.kpi{border:0;border-right:1px solid var(--line);border-radius:0}.kpi:last-child{border-right:0}.kpi strong{font-size:clamp(26px,2.4vw,34px);font-family:var(--font-geist-mono),monospace;font-weight:650}.kpi small{font-size:var(--text-xs)}.kpi.primary{border-color:var(--line-strong);border-left:3px solid var(--purple);background:var(--ledger-tint);color:var(--ink);box-shadow:none}.kpi.primary small,.kpi.primary>span{color:var(--muted)}.employee-panel h2,.quick-input h2{font-size:var(--text-title)}.excel-summary{border-top:3px solid var(--navy)}.excel-summary>header p,.summary-actions>span{font-size:var(--text-xs)}.employee-panel header button{font-size:var(--text-sm)}th{font-size:var(--text-xs)}td{font-size:13px}.calculation small,.empty-result p,.input-card header small,.message-preview p,.profile strong,.quick-input>p,.result-actions>span,.result-header small{font-size:var(--text-xs)}.input-hint b,.input-hint span,.message-preview span,.profile small,.safe-label{font-size:10px}.ai-helper-card,.quick-input{background:#fff}.message-preview{border-radius:var(--radius-md);background:var(--surface)}.analyze-button,.quick-input>button,.result-actions button{border-radius:var(--radius-md);min-height:42px;font-size:13px}.empty-result h2,.input-card header strong,.result-header strong{font-size:15px}.form-grid input,.form-grid select,.input-card textarea{font-size:var(--text-body)}.form-grid label{font-size:var(--text-sm)}.calculation b{font-size:13px}.payroll-table{min-width:1500px}.daily-payroll-table th,.payroll-table th,.records-table th{background:var(--ledger-tint);height:44px;color:var(--muted)}.daily-payroll-table thead .calculated-column,.payroll-table thead .calculated-column{color:var(--ink);background:#e9e9e9}.daily-payroll-table td.calculated-column,.daily-payroll-table td.total-column,.payroll-table td.calculated-column,.payroll-table td.total-column{color:var(--ink);background:#fafafa;font-weight:750}.daily-payroll-table td.total-column,.daily-payroll-table thead .total-column,.payroll-table td.total-column,.payroll-table thead .total-column{background:var(--ledger-total)}.daily-payroll-table tfoot td,.daily-payroll-table tfoot th,.payroll-table tfoot td,.payroll-table tfoot th{height:48px;font-size:var(--text-sm)}.daily-card-date strong,.daily-date{font-size:14px}.daily-card-date small,.daily-card-values em,.daily-card-values small,.payroll-list-card .person small,.payroll-list-card>footer span,.payroll-list-values em,.payroll-list-values small{font-size:var(--text-xs)}.daily-card-values b,.payroll-list-grand-total b,.payroll-list-values b{font-size:13px}.daily-card-total strong,.payroll-list-values .payroll-list-total strong{color:var(--ink);font-size:21px}.daily-payroll-list,.employee-payroll-list{background:var(--paper)}.daily-payroll-card,.payroll-list-card{border:0;border-bottom:1px solid var(--line);border-radius:0}.daily-card-values .daily-card-total,.payroll-list-card>footer,.payroll-list-values .payroll-list-total{background:#fff}.payroll-list-card>footer button{color:var(--ink);font-size:var(--text-sm);text-underline-offset:3px;text-decoration:underline}.payroll-list-grand-total{border-radius:var(--radius-md)}.payroll-list-grand-total span{font-size:var(--text-sm)}.payroll-list-grand-total strong{font-size:20px}.person i{border-radius:var(--radius-sm)}.industry-tag,.overtime,.person i,.status,.workplace{font-size:var(--text-xs)}.industry-tag,.status{border-radius:var(--radius-sm)}.status.ok{color:#333;background:#f4f4f4;border:1px solid #d3d3d3}.status.attention{color:#fff;background:#111;border:1px solid #111}.manual-primary-badge{border-color:var(--line);border-radius:var(--radius-md);color:var(--ink);font-size:var(--text-sm);background:#fff}.manual-card-header{min-height:72px}.input-company-card strong,.manual-card-header strong{font-size:15px}.input-company-card small,.input-company-card>b,.manual-card-header small,.manual-section p,.required-note{font-size:var(--text-xs)}.manual-card-header>div>b,.manual-section>header>span{border-radius:var(--radius-sm);background:var(--ledger-total);color:var(--purple);font-size:var(--text-xs)}.input-company-card,.input-company-card.bar,.input-company-card.construction{border-color:var(--line);border-radius:var(--radius-md);background:var(--surface)}.input-company-card.bar>i,.input-company-card.construction>i,.input-company-card>i{border-radius:var(--radius-sm);background:var(--navy);font-size:var(--text-sm)}.input-company-card.bar>b,.input-company-card.construction>b,.input-company-card>b{color:var(--ink);background:#fff}.manual-section{padding:24px 20px}.live-total-card h2,.manual-section h2,.section-title h2{font-size:17px}.manual-fields label,.number-tile>span{font-size:var(--text-sm)}.manual-fields label>span i{font-size:10px}.manual-fields input,.manual-fields select{border-radius:var(--radius-md);height:44px;font-size:var(--text-body)}.number-tile b,.prefix-input>b,.suffix-input b{font-size:var(--text-xs)}.number-tile{border-radius:var(--radius-md);background:#fff;min-height:78px}.number-tile input{border-radius:var(--radius-sm);width:62px;height:40px;font-size:16px}.live-total-card>header{padding:22px 20px 16px}.live-total-card header p,.live-total-card>small,.live-total-lines b,.live-total-lines small{font-size:var(--text-xs)}.live-total-lines strong{font-size:15px}.live-total{border-radius:var(--radius-md);background:var(--navy)}.live-total span{font-size:var(--text-sm)}.live-total strong{font-size:26px}.live-total-card>button{border-radius:var(--radius-md);font-size:13px}.ai-helper-card{border-color:var(--line);padding:20px}.ai-mark{border-radius:var(--radius-sm);background:var(--navy);color:#fff;font-size:var(--text-xs)}.ai-helper-card header strong{font-size:14px}.ai-helper-card header em,.ai-helper-card header small,.ai-helper-card>p{font-size:var(--text-xs)}.ai-helper-card header em{color:var(--muted)}.ai-helper-card .sample-buttons button{height:34px;font-size:var(--text-xs);padding:0 10px}.ai-helper-card textarea{min-height:110px;font-size:13px}.ai-apply-button{border-color:var(--navy);background:var(--navy);color:#fff;height:42px;font-size:13px}.ai-apply-button span{font-size:var(--text-xs)}.ai-input-rail{overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff;align-self:start;gap:0;max-height:calc(100vh - 112px);position:sticky;top:92px;overflow-y:auto}.ai-input-rail>.panel{border:0;border-radius:0}.ai-input-rail .ai-helper-card{border-bottom:1px solid var(--line);order:1;padding:0}.ai-input-rail .live-total-card{order:2;padding-bottom:18px}.ai-input-rail .ai-helper-card>header{border-bottom:1px solid var(--line);background:var(--ledger-tint);min-height:64px;color:var(--ink);padding:0 18px}.ai-input-rail .ai-mark{background:var(--purple);color:#fff}.ai-input-rail .sample-buttons{margin:18px 18px 8px}.ai-input-rail .ai-helper-card textarea{width:calc(100% - 36px);height:160px;min-height:160px;margin:0 18px}.ai-input-rail .ai-apply-button{width:calc(100% - 36px);margin:10px 18px 18px}.secondary-heading-button{border:1px solid var(--line);color:var(--ink);background:#fff}.input-cancel-button{border-radius:var(--radius-md);min-height:42px;padding:0 15px;font-size:13px;font-weight:700}.editing-notice{border-bottom:1px solid var(--line-strong);background:var(--ledger-total);min-height:48px;color:var(--ink);align-items:center;gap:10px;padding:0 18px;display:flex}.editing-notice b{border-radius:var(--radius-sm);background:var(--purple);color:#fff;padding:4px 7px;font-size:10px}.editing-notice span{font-size:12px;font-weight:650}.master-layout{grid-template-columns:320px minmax(520px,1fr);gap:16px}.employee-list>header{height:66px}.employee-list>header strong{font-size:15px}.employee-list>header span,.master-filter b,.master-filter span{font-size:var(--text-xs)}.employee-list-items{padding:8px}.employee-list-items button{border-radius:var(--radius-md);min-height:72px}.employee-list-items button.active,.employee-list-items button:hover{background:var(--surface)}.employee-list-items button.active{box-shadow:inset 2px 0 0 var(--ink)}.employee-list-items button>i{border-radius:var(--radius-sm);font-size:var(--text-xs)}.employee-list-items strong{font-size:14px}.employee-list-items small{font-size:var(--text-xs)}.employee-list-items em{font-size:var(--text-sm)}.editor-person strong{font-size:15px}.active-switch,.editor-person small,.master-status{font-size:var(--text-xs)}.editor-person>i{border-radius:var(--radius-sm)}.editor-section{padding:26px 24px}.editor-section.highlight{background:#fff}.section-title>span:first-child{border-radius:var(--radius-sm);background:var(--navy);color:#fff;font-size:var(--text-xs)}.formula-chip,.section-title p{font-size:var(--text-xs)}.formula-chip,.formula-chip.blue{background:var(--surface);color:var(--ink)}.master-fields label{font-size:var(--text-sm)}.master-fields input,.master-fields select{height:44px;font-size:var(--text-body)}.unit-input span{font-size:var(--text-sm)}.rate-card{border-radius:var(--radius-md);min-height:88px}.construction-rate span,.rate-card strong,.rate-table span{font-size:13px}.construction-rate small,.rate-card small,.rate-table small{font-size:var(--text-xs)}.construction-rate label b,.rate-card>div b,.rate-table b{font-size:var(--text-sm)}.rate-card input,.rate-table input{width:64px;font-size:16px}.construction-rate,.rate-table{border-radius:var(--radius-md)}.rate-table>div{padding:16px}.construction-rate em{background:var(--surface);color:var(--ink);font-size:var(--text-xs)}.master-status{border-radius:var(--radius-sm);background:var(--surface);color:var(--muted);padding:6px 9px;font-weight:700}.master-status.active{color:#333}.master-editor>footer span{font-size:var(--text-xs)}.master-editor>footer button{border-radius:var(--radius-md);background:var(--navy);height:42px;font-size:13px}.master-empty{text-align:center;place-content:center;gap:8px;min-height:300px;padding:36px;display:grid}.master-empty strong{font-size:18px}.master-empty p{color:var(--muted);margin:0;font-size:13px}.record-tabs b,.record-tabs button,.records-panel>header>span{font-size:var(--text-xs)}.record-tabs button{border-radius:var(--radius-sm);min-height:38px}.record-tabs button.active{background:var(--navy);color:#fff}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sheet-toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f7f7f7;grid-template-columns:minmax(220px,1fr) 150px 180px auto auto;align-items:center;gap:8px;min-height:64px;padding:10px 14px;display:grid}.sheet-toolbar label{min-width:0}.sheet-toolbar input,.sheet-toolbar select{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);width:100%;height:42px;color:var(--ink);outline:0;padding:0 12px;font-size:13px}.sheet-toolbar input[type=search]{appearance:none}.sheet-toolbar output{min-width:52px;color:var(--muted);font-family:var(--font-geist-mono),monospace;text-align:right;font-size:12px}.sheet-toolbar>button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);min-width:58px;height:42px;color:var(--ink);padding:0 10px;font-size:12px;font-weight:650}.spreadsheet-wrap{isolation:isolate;overscroll-behavior:contain;background:var(--paper);scrollbar-color:var(--line-strong) var(--surface);max-height:min(60vh,620px);position:relative;overflow:auto}.spreadsheet-wrap:focus-visible{z-index:2;position:relative}.spreadsheet-table{border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums}.payroll-table.nightlife-sheet{min-width:1420px}.daily-payroll-table.nightlife-sheet{min-width:1500px}.payroll-table.construction-sheet{min-width:1040px}.daily-payroll-table.construction-sheet{min-width:1260px}.spreadsheet-table td,.spreadsheet-table th{border-top:0;border-right:1px solid var(--ledger-rule);border-bottom:1px solid var(--ledger-rule);background:var(--paper);height:44px;min-height:44px;color:var(--ink);padding:0 10px;font-size:12px;font-weight:500}.spreadsheet-table thead th{z-index:4;color:#555;background:#f0f0f0;height:42px;font-size:11px;font-weight:700;position:sticky;top:0}.spreadsheet-table .numeric-cell{font-family:var(--font-geist-mono),monospace;text-align:right}.spreadsheet-table .calculated-column{background:#f7f7f7}.spreadsheet-table .total-column{background:var(--ledger-total);color:var(--ink);font-weight:700}.spreadsheet-table .sheet-index{z-index:2;color:#777;width:44px;min-width:44px;max-width:44px;font-family:var(--font-geist-mono),monospace;text-align:center;background:#f4f4f4;position:sticky;left:0}.spreadsheet-table thead .sheet-index{z-index:7;background:#e9e9e9}.payroll-table .sheet-employee{z-index:2;background:var(--paper);width:164px;min-width:164px;max-width:164px;box-shadow:2px 0 0 var(--ledger-rule);position:sticky;left:44px}.payroll-table thead .sheet-employee{z-index:6;background:#f0f0f0}.daily-payroll-table .sheet-date{z-index:2;background:var(--paper);width:108px;min-width:108px;max-width:108px;position:sticky;left:44px}.daily-payroll-table .sheet-employee{z-index:2;background:var(--paper);width:132px;min-width:132px;max-width:132px;box-shadow:2px 0 0 var(--ledger-rule);position:sticky;left:152px}.daily-payroll-table thead .sheet-date,.daily-payroll-table thead .sheet-employee{z-index:6;background:#f0f0f0}.sheet-person-button{text-align:left;background:0 0;border:0;align-items:center;gap:8px;width:100%;min-height:42px;padding:0;display:flex}.sheet-person-button>i,.sheet-person-name>i{border-radius:50%;flex:none;width:8px;height:8px}.sheet-person-button>span{flex-direction:column;gap:1px;min-width:0;display:flex}.sheet-person-button b,.sheet-person-name b{color:var(--ink);font-size:12px;font-weight:700}.sheet-person-button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500;overflow:hidden}.sheet-person-button:hover b{color:var(--purple-dark);text-underline-offset:3px;text-decoration:underline}.sheet-person-name{align-items:center;gap:8px;display:inline-flex}.sheet-site{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spreadsheet-table .sheet-action-column{z-index:3;background:var(--paper);width:76px;min-width:76px;max-width:76px;box-shadow:-2px 0 0 var(--ledger-rule);text-align:center;position:sticky;right:0}.spreadsheet-table thead .sheet-action-column{z-index:7;background:#f0f0f0}.spreadsheet-table tfoot .sheet-action-column{background:#f2f2f2}.daily-card-actions>button,.sheet-edit-button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);min-width:48px;min-height:34px;color:var(--ink);padding:0 10px;font-size:11px;font-weight:700}.daily-card-actions{align-items:center;gap:8px;display:flex}.records-table .record-actions{z-index:2;background:var(--paper);min-width:78px;box-shadow:-1px 0 0 var(--line);text-align:center;position:sticky;right:0}.records-table{min-width:1120px}.records-table td:nth-child(2),.records-table th:nth-child(2){z-index:1;background:var(--paper);min-width:120px;box-shadow:1px 0 0 var(--line);position:sticky;left:0}.records-table thead th:nth-child(2){z-index:3;background:var(--ledger-tint)}.records-table thead .record-actions{z-index:4;background:var(--ledger-tint)}.record-edit-button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);min-width:52px;min-height:36px;color:var(--ink);padding:0 10px;font-size:11px;font-weight:700}.spreadsheet-table tfoot td,.spreadsheet-table tfoot th{border-top:1px solid var(--line-strong);height:46px;color:var(--ink);background:#f2f2f2;border-bottom:0;font-size:12px;font-weight:700}.spreadsheet-table tfoot .calculated-column{background:#ededed}.spreadsheet-table tfoot .total-column{color:var(--ink);background:#e5e5e5}.dashboard-page{max-width:1400px}.dashboard-workbench{gap:14px;display:grid}.dashboard-kpis{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.dashboard-kpi{border-right:1px solid var(--line);flex-direction:column;justify-content:center;gap:6px;min-height:116px;padding:18px 20px;display:flex}.dashboard-kpi:last-child{border-right:0}.dashboard-kpi.primary{border-left:3px solid var(--purple);background:var(--ledger-tint)}.dashboard-kpi small,.dashboard-kpi>span{color:var(--muted);font-size:var(--text-xs)}.dashboard-kpi strong{font-family:var(--font-geist-mono),monospace;letter-spacing:-.05em;font-size:clamp(25px,2.2vw,32px)}.dashboard-kpi button{width:max-content;min-height:44px;color:var(--purple-dark);font-size:var(--text-xs);text-underline-offset:3px;background:0 0;border:0;align-items:center;padding:0;font-weight:750;text-decoration:underline;display:inline-flex}.dashboard-kpi.warning strong{color:var(--amber)}.dashboard-grid{grid-template-columns:minmax(0,1.75fr) minmax(300px,.85fr);gap:14px;display:grid}.dashboard-grid>.panel{border-radius:var(--radius-md);overflow:hidden}.dashboard-grid>.panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:0 18px;display:flex}.dashboard-grid>.panel>header>div:first-child{align-items:baseline;gap:10px;min-width:0;display:flex}.dashboard-grid h2{margin:0;font-size:17px;font-weight:700}.dashboard-grid header span{color:var(--muted);font-size:var(--text-xs)}.dashboard-grid header>button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);min-height:44px;color:var(--ink);font-size:var(--text-xs);padding:0 12px;font-weight:700}.dashboard-legend{gap:12px;display:flex}.dashboard-legend span{align-items:center;gap:5px;display:inline-flex}.dashboard-legend span:before{background:var(--navy);content:"";border-radius:2px;width:8px;height:8px}.dashboard-legend .pay-key:before{background:var(--purple)}.dashboard-trend-list{padding:8px 18px 14px}.dashboard-trend-row{border-bottom:1px solid var(--line);grid-template-columns:104px minmax(120px,1fr) 112px;align-items:center;gap:14px;min-height:62px;display:grid}.dashboard-trend-row:last-child{border-bottom:0}.dashboard-day,.dashboard-day-values{flex-direction:column;gap:3px;display:flex}.dashboard-day b,.dashboard-day-values b{font-size:13px}.dashboard-day small,.dashboard-day-values small{color:var(--muted);font-family:var(--font-geist-mono),monospace;font-size:11px}.dashboard-day-values{text-align:right}.dashboard-bars{flex-direction:column;gap:6px;display:flex}.dashboard-bars:after,.dashboard-bars:before{content:none;position:absolute}.dashboard-bars i{border-radius:2px;height:8px;display:block}.dashboard-bars .primary-bar{background:var(--navy)}.dashboard-bars .pay-bar{background:var(--purple)}.dashboard-recent-list{padding:2px 16px 10px}.dashboard-recent-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(100px,1fr) auto auto auto;align-items:center;gap:10px;min-height:65px;display:grid}.dashboard-recent-row:last-child{border-bottom:0}.dashboard-recent-person,.dashboard-recent-row>span:nth-child(2){align-items:center;gap:8px;min-width:0;display:flex}.dashboard-recent-person>i,.dashboard-staff-person>i{border-radius:50%;flex:none;width:8px;height:8px}.dashboard-recent-person>span,.dashboard-recent-row>span:nth-child(2){flex-direction:column;gap:2px;display:flex}.dashboard-recent-row b{font-size:12px}.dashboard-recent-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.dashboard-edit-button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);min-width:48px;min-height:36px;color:var(--ink);padding:0 10px;font-size:11px;font-weight:700}.dashboard-staff{grid-column:1/-1}.dashboard-staff-list{padding:0 18px 10px}.dashboard-staff-row{border-bottom:1px solid var(--line);grid-template-columns:36px minmax(150px,1.2fr) repeat(3,minmax(110px,.8fr));align-items:center;gap:14px;min-height:58px;display:grid}.dashboard-staff-row:last-child{border-bottom:0}.dashboard-rank{color:var(--muted);font-family:var(--font-geist-mono),monospace;text-align:center;font-size:12px}.dashboard-staff-person{align-items:center;gap:9px;display:flex}.dashboard-staff-row>span:not(.dashboard-rank):not(.dashboard-staff-person){text-align:right;flex-direction:column;gap:2px;display:flex}.dashboard-staff-row small{color:var(--muted);font-size:10px}.dashboard-staff-row b,.dashboard-staff-row strong{font-family:var(--font-geist-mono),monospace;font-size:12px}.dashboard-staff-row strong{color:var(--purple-dark)}.dashboard-empty{min-height:116px;color:var(--muted);font-size:var(--text-sm);place-items:center;display:grid}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.placeholder{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100vh - 70px);display:flex}.placeholder>span{background:var(--purple-soft);width:52px;height:52px;color:var(--purple);border-radius:15px;place-items:center;font-size:20px;display:grid}.placeholder h1{margin:15px 0 6px;font-size:20px}.placeholder p{color:var(--muted);margin:0;font-size:9px}.toast{z-index:100;border-radius:var(--radius-md);color:#fff;font-size:var(--text-sm);background:#111;padding:14px 17px;font-weight:700;animation:toast-in .25s;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 14px 34px #191f3240}.company-name-short,.mobile-entry-action,.mobile-input-back,.mobile-master-shortcuts{display:none}@keyframes rise{0%{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@media (max-width:1100px){.sidebar{width:204px}.content{width:calc(100% - 204px);margin-left:204px}.page{padding-left:20px;padding-right:20px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.summary-grid{grid-template-columns:1fr}.quick-input{min-height:auto}.input-layout{grid-template-columns:1fr}.input-card,.result-card{min-height:0}.manual-input-layout{flex-direction:column;align-items:stretch;display:flex}.manual-entry-card{order:2}.input-side-stack{display:contents}.ai-input-rail .ai-helper-card{order:1}.ai-input-rail .live-total-card{order:3}.filter-controls{flex-wrap:wrap}.display-switch{margin-left:0}.master-layout{grid-template-columns:245px minmax(470px,1fr)}.drink-rate-grid,.rate-table{grid-template-columns:1fr}.rate-table>div{border-top:1px solid var(--line);border-left:0}.rate-table>div:first-child{border-top:0}}@media (max-width:980px){.master-layout{grid-template-columns:1fr}.employee-list-items{grid-template-columns:repeat(2,minmax(0,1fr));max-height:320px;display:grid}.input-side-stack{display:contents}.ai-input-rail{background:0 0;border:0;border-radius:0;gap:12px;max-height:none;position:static;overflow:visible}.ai-input-rail>.panel{border:1px solid var(--line);border-radius:var(--radius-md);width:100%}.ai-input-rail .live-total-card{order:3}.ai-input-rail .ai-helper-card{border-bottom:1px solid var(--line);order:1;padding:20px}.ai-input-rail .ai-helper-card>header{min-height:0;color:var(--ink);background:0 0;border-bottom:0;padding:0}.ai-input-rail .ai-mark{background:var(--navy);color:#fff}.ai-input-rail .sample-buttons{margin:0 0 8px}.ai-input-rail .ai-helper-card textarea{width:100%;height:auto;min-height:110px;margin:0}.ai-input-rail .ai-apply-button{width:100%;margin:10px 0 0}.sheet-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-toolbar .sheet-search{grid-column:1/-1}.sheet-toolbar output{text-align:left}}@media (max-width:720px){.shell{display:block}.sidebar{width:100%;min-height:0;padding:12px;position:static}.month-card,.profile{display:none}.company-switcher{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.company-switcher>small{display:none}.company-switcher button{grid-template-columns:22px minmax(0,1fr);gap:6px;min-height:46px;padding:0 8px}.company-switcher button>i{width:22px;height:22px}.company-name-full,.company-switcher button b,.company-switcher button small{display:none}.company-name-short{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.mobile-master-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.mobile-master-shortcuts button{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);min-height:44px;color:var(--ink);font-size:12px;font-weight:700}.mobile-master-shortcuts button.active{border-color:var(--navy);background:var(--navy);color:#fff}.input-shell .mobile-master-shortcuts{display:none}.sidebar nav{z-index:120;min-height:64px;padding:7px 12px calc(7px + env(safe-area-inset-bottom));background:var(--navy);border-top:1px solid #000;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;display:grid;position:fixed;bottom:0;left:0;right:0}.sidebar nav button{justify-content:center;height:48px;padding:0 8px;font-size:12px}.input-shell .sidebar nav,.sidebar nav .glyph,.sidebar nav .nav-master-group{display:none}.content{width:100%;margin:0}.topbar{display:none}.topbar>div:first-child{flex:1;min-width:0}.topbar strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.top-actions{flex:none}.primary-button{white-space:nowrap}.ghost-button{display:none}.page{padding:24px 14px calc(94px + env(safe-area-inset-bottom))}.input-page{padding-bottom:calc(112px + env(safe-area-inset-bottom))}.input-heading-row{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:10px;display:grid}.mobile-input-back{border:1px solid var(--line);border-radius:var(--radius-md);width:44px;min-height:44px;color:var(--ink);background:#fff;place-items:center;font-size:20px;font-weight:800;display:grid}.page-heading{flex-direction:column;align-items:flex-start;gap:13px}.page-heading h1{font-size:24px}.month-selector{grid-template-columns:44px 1fr 44px;width:100%}.month-selector button,.month-selector label{min-height:44px}.employee-filter select,.month-selector input{font-size:16px}.segmented{width:100%}.segmented button{flex:1}.payroll-filters>header{flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;padding-top:9px;padding-bottom:9px}.filter-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;min-height:0;padding:12px;display:grid}.employee-filter{grid-column:1/-1;min-width:0}.filter-controls>.display-switch{display:flex}.employee-filter select{height:48px}.period-switch{width:100%}.display-switch{width:100%;margin-left:0}.display-switch>div button,.period-switch>div button{flex:1;min-height:44px;font-size:13px}.excel-summary>header{flex-direction:column;align-items:flex-start;padding-top:14px;padding-bottom:14px}.summary-actions{flex-wrap:wrap;width:100%}.summary-actions button{min-height:44px;margin-left:auto;padding:0 4px 0 12px}.payroll-list-values{grid-template-columns:repeat(2,1fr)}.payroll-list-values>span:nth-child(3){border-top:1px solid #eff0f4;border-left:0}.payroll-list-values>span:nth-child(4){border-top:1px solid #eff0f4}.daily-payroll-card>header{grid-template-columns:1fr 1fr auto}.daily-card-values{grid-template-columns:repeat(2,1fr)}.daily-card-values>span:nth-child(3){border-top:1px solid #eff0f4;border-left:0}.daily-card-values>span:nth-child(4){border-top:1px solid #eff0f4}.kpi-grid{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(2,1fr);gap:8px;overflow:visible}.kpi{border:1px solid var(--line);border-radius:var(--radius-md);min-height:94px;padding:12px}.kpi strong{font-size:clamp(21px,6vw,26px)}.employee-panel>header{padding:0 13px}.input-card,.result-card{padding:16px}.manual-input-layout{flex-direction:column;gap:12px;display:flex}.input-side-stack{display:contents}.manual-entry-card{order:2}.ai-input-rail .ai-helper-card{order:1}.ai-input-rail .live-total-card{order:3}.input-company-card{display:none}.manual-section{padding:18px 14px}.ai-helper-card textarea,.manual-fields input,.manual-fields select{font-size:16px}.manual-fields input,.manual-fields select{height:48px}.ai-helper-card .sample-buttons button{min-height:44px;font-size:13px}.ai-apply-button,.live-total-card>button{min-height:48px;font-size:14px}.number-tile input{min-height:44px}.live-total-card>button{display:none}.mobile-entry-action{z-index:140;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff7;justify-content:space-between;align-items:center;gap:12px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #1418221a}.mobile-entry-action>span{flex-direction:column;gap:2px;min-width:0;display:flex}.mobile-entry-action small{color:var(--muted);font-size:11px}.mobile-entry-action strong{letter-spacing:-.03em;font-size:22px}.mobile-entry-action button{border-radius:var(--radius-md);background:var(--navy);color:#fff;border:0;min-width:132px;min-height:48px;padding:0 18px;font-size:14px;font-weight:800}.toast{bottom:calc(78px + env(safe-area-inset-bottom));text-align:center;width:calc(100% - 28px)}.sheet-toolbar{padding:10px 12px}.sheet-toolbar input,.sheet-toolbar select{height:44px;font-size:16px}.spreadsheet-wrap{overscroll-behavior:auto;max-height:none}.spreadsheet-table .sheet-index{display:table-cell;position:static}.spreadsheet-table thead .sheet-index{z-index:4;position:sticky;top:0;left:auto}.payroll-table .sheet-employee{left:0}.daily-payroll-table .sheet-date{box-shadow:none;position:static}.daily-payroll-table .sheet-employee{box-shadow:2px 0 0 var(--ledger-rule);position:sticky;left:0}.master-layout{grid-template-columns:1fr}.employee-list-items{max-height:245px;display:block}.records-panel>header{flex-direction:column;align-items:flex-start;gap:8px;padding-top:10px;padding-bottom:10px}.record-tabs{width:100%;overflow-x:auto}.input-cancel-button,.record-tabs button,.sheet-toolbar>button,.status-button{min-height:44px}}@media (max-width:460px){.brand{justify-content:center}.sidebar nav button{font-size:var(--text-xs)}.company-switcher{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.company-switcher button{min-width:0}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{min-height:90px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.calculation{grid-template-columns:1fr}.calculation>span{border-bottom:1px solid #e1e3ea;border-right:0;padding:0 0 8px}.result-actions{flex-direction:column;align-items:stretch}.result-actions>span{margin:0}.manual-fields.three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-fields.three-columns>label:nth-child(3){grid-column:1/-1}.count-input-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.number-tile{grid-template-rows:auto 1fr;grid-template-columns:5px minmax(0,1fr);align-items:center;gap:7px;min-height:118px;padding:11px 9px}.number-tile>i{grid-row:1;width:5px;height:26px}.number-tile>span{min-width:0;line-height:1.35}.number-tile>div{grid-column:1/-1;align-self:end}.number-tile input{text-align:center;width:100%;min-width:0}.input-company-card{grid-template-columns:34px 1fr}.input-company-card>b{grid-column:2;width:max-content}.manual-fields .span-two{grid-column:1/-1}.input-side-stack{display:contents}.payroll-list-values{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-list-values>span{border-top:1px solid #eff0f4;min-height:72px}.payroll-list-values>span:nth-child(-n+2){border-top:0}.daily-payroll-card>header{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:58px;padding:8px 12px}.daily-payroll-card>header .person{grid-area:1/2;min-width:0}.daily-card-date small{display:none}.daily-card-values{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-card-values>span{border-top:1px solid #eff0f4;min-height:68px;padding:11px 12px}.daily-card-values>span:first-child{border-top:0;border-left:0;grid-area:1/1}.daily-card-values>span:nth-child(2){border-left:0;grid-area:2/1/auto/-1}.daily-card-values>span:nth-child(3){border-left:0;grid-area:3/1/auto/-1}.daily-card-values>span:nth-child(4){border-top:0;grid-area:1/2}.daily-card-values b,.daily-card-values em{text-overflow:clip;white-space:normal;overflow:visible}.payroll-list-card>footer{flex-direction:column;align-items:flex-start;padding-top:10px;padding-bottom:10px}.payroll-list-grand-total{grid-template-columns:1fr auto;gap:6px 12px;padding-top:10px;padding-bottom:10px}.payroll-list-grand-total strong{grid-column:2}.master-fields{grid-template-columns:1fr}.section-title{flex-wrap:wrap;align-items:flex-start}.formula-chip{margin-left:35px}.construction-rate{grid-template-columns:1fr auto}.construction-rate em{grid-column:1/-1}.master-editor>footer{flex-direction:column;align-items:stretch;padding-top:13px;padding-bottom:13px}.master-editor>footer span{margin:0}}@media (max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kpi:nth-child(2){border-right:0}.dashboard-kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.dashboard-grid{grid-template-columns:1fr}.dashboard-staff{grid-column:auto}}@media (max-width:720px){.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-kpis{background:0 0;border:0;gap:8px}.dashboard-kpi,.dashboard-kpi:nth-child(-n+2),.dashboard-kpi:nth-child(2){border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);min-height:98px;padding:13px}.dashboard-kpi.primary{border-left:3px solid var(--purple);background:var(--ledger-tint)}.dashboard-kpi strong{font-size:clamp(20px,6vw,26px)}.dashboard-grid{gap:10px}.dashboard-grid>.panel>header{min-height:58px;padding:0 13px}.dashboard-trend-list{padding:5px 12px 10px}.dashboard-trend-row{grid-template-columns:76px minmax(70px,1fr) 86px;gap:8px;min-height:66px}.dashboard-day b,.dashboard-day-values b{font-size:11px}.dashboard-day small,.dashboard-day-values small{font-size:9px}.dashboard-recent-list{padding:2px 12px 8px}.dashboard-recent-row{min-height:62px}.daily-card-actions>button,.dashboard-edit-button,.record-edit-button,.sheet-edit-button{min-height:44px}.dashboard-staff-list{padding:0 12px 8px}.dashboard-staff-row{grid-template-columns:26px minmax(78px,1fr) minmax(64px,auto) minmax(82px,auto);gap:8px;min-height:58px}.dashboard-staff.construction .dashboard-staff-row>span:nth-child(4),.dashboard-staff.nightlife .dashboard-staff-row>span:nth-child(3){display:none}}.brand small,.company-switcher button,.company-switcher button b,.company-switcher button small,.company-switcher>small,.nav-master-group>span,.sidebar nav .glyph,.sidebar nav button{color:#a8a8a8}.company-switcher button>i{color:#d8d8d8;background:#2b2b2b}.company-switcher button.active b,.sidebar nav .active .glyph{color:#fff}.profile>span{background:#333}.profile small,.sidebar-note,.sidebar-note span:before{color:#a8a8a8}.month-selector>button:hover{border-color:var(--line-strong);color:var(--ink)}.industry-tag,.industry-tag.bar,.industry-tag.construction{color:#333;background:#f2f2f2;border:1px solid #d6d6d6}.overtime,.person,.workplace{color:var(--muted)}.manual-fields label>span i{color:#444}.ai-helper-card .sample-buttons button,.sample-buttons button{border-color:var(--line-strong);color:var(--ink);background:#fff}.active-switch{color:var(--ink)}.active-switch span{background:#d8d8d8}.record-tabs button.warning.active,.status-button:hover{background:#111;border-color:#111}.payroll-list-grand-total span{color:#d0d0d0}.toast{box-shadow:0 14px 34px #00000040}.mobile-entry-action{box-shadow:0 -8px 24px #0000001a}@media (min-width:721px){body,html{height:100%;overflow:hidden}.shell,.sidebar{height:100dvh;min-height:0;overflow:hidden}.sidebar>.brand,.sidebar>.company-switcher,.sidebar>.month-card,.sidebar>.profile{flex:none}.sidebar nav{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;overflow-y:auto}.profile{flex:none;margin-top:12px}.content{overscroll-behavior-y:contain;scrollbar-gutter:stable;height:100dvh;min-height:0;scroll-padding-top:70px;overflow:hidden auto}.topbar{z-index:20;background:#fff;position:sticky;top:0}.spreadsheet-table tfoot td,.spreadsheet-table tfoot th{z-index:5;position:sticky;bottom:0}.daily-payroll-table tfoot .sheet-date,.daily-payroll-table tfoot .sheet-employee,.payroll-table tfoot .sheet-employee,.spreadsheet-table tfoot .sheet-action-column,.spreadsheet-table tfoot .sheet-index{z-index:8}.daily-payroll-list,.employee-payroll-list{overscroll-behavior:contain;max-height:min(60vh,620px);overflow-y:auto}.payroll-list-grand-total{z-index:12;position:sticky;bottom:0}}.top-actions{align-items:center}.save-status{min-width:68px;color:var(--muted);text-align:right;font-size:11px;font-weight:700}.save-status:before{content:"";vertical-align:1px;background:#111;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.save-status.loading:before,.save-status.saving:before{background:#777}.save-status.error:before{outline-offset:2px;outline:2px solid #111}button.save-status{cursor:pointer;background:0 0;border:0;padding:0}.data-loading-overlay{z-index:200;background:#fffffff5;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:fixed;inset:0}.data-loading-overlay strong{font-size:14px}.data-loading-overlay button{border:1px solid var(--ink);background:var(--ink);color:#fff;min-height:42px;padding:0 16px;font-size:13px;font-weight:700}.ai-review-notice{border:1px solid var(--line-strong);background:var(--ledger-tint);justify-content:space-between;align-items:center;gap:10px;margin:-4px 18px 18px;padding:11px 12px;display:flex}.ai-review-notice b,.ai-review-notice span{font-size:11px}.ai-review-notice span{color:var(--muted)}:root{--accent:#b42318;--accent-hover:#8f1d14;--accent-soft:#fff1f0;--success:#137a52;--success-soft:#ecfdf3;--warning:#8a4b00;--warning-soft:#fff4e8;--danger:#b42318;--purple:var(--accent);--purple-dark:var(--accent-hover);--purple-soft:var(--accent-soft);--mint:var(--success);--amber:var(--warning)}.spreadsheet-wrap:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.ai-helper-card textarea:focus,.manual-fields input:focus,.manual-fields select:focus,.number-tile input:focus,.sheet-toolbar input:focus,.sheet-toolbar select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #b4231824}.company-switcher button.active>i{background:var(--accent);color:#fff}.sidebar nav button.active{box-shadow:inset 3px 0 0 var(--accent)}.ai-apply-button:not(:disabled),.data-loading-overlay button,.heading-button:not(.secondary-heading-button),.live-total-card>button:not(:disabled),.master-editor>footer button,.mobile-entry-action button,.mobile-master-shortcuts button.active,.primary-button{border-color:var(--accent);background:var(--accent);color:#fff}.ai-apply-button:not(:disabled):hover,.data-loading-overlay button:hover,.heading-button:not(.secondary-heading-button):hover,.live-total-card>button:not(:disabled):hover,.master-editor>footer button:hover,.mobile-entry-action button:hover,.primary-button:hover{border-color:var(--accent-hover);background:var(--accent-hover)}.heading-button.secondary-heading-button{border-color:var(--line-strong);background:var(--paper);color:var(--ink)}.ai-apply-button:disabled,.live-total-card>button:disabled{color:#fff;opacity:1;background:#737373;border-color:#737373}.dashboard-kpi.primary,.kpi.primary{border-left-color:var(--accent);background:var(--accent-soft)}.status.ok{background:var(--success-soft);color:var(--success);border-color:#9fd8bd}.status.attention{background:var(--warning-soft);color:var(--warning);border-color:#e6b978}.record-tabs button.warning.active,.status-button:hover{border-color:var(--warning);background:var(--warning);color:#fff}.dashboard-kpi.warning strong,.kpi.warning strong{color:var(--warning)}.ai-review-notice{background:var(--warning-soft);border-color:#e6b978}.ai-review-notice b{color:var(--warning)}.active-switch input:checked+span{background:var(--success)}.master-status.active{background:var(--success-soft);color:var(--success)}.save-status.saved:before{background:var(--success)}.save-status.error{color:var(--danger)}.save-status.error:before{outline-color:var(--danger);background:#fff}body.payslip-open{overflow:hidden}.payslip-backdrop{box-sizing:border-box;width:100%;max-width:none;height:100%;max-height:none;color:inherit;z-index:300;background:#00000094;border:0;place-items:center;margin:0;padding:28px;display:grid;position:fixed;inset:0;overflow-y:auto}.payslip-dialog{border-radius:var(--radius-lg);background:#fff;border:1px solid #222;width:min(720px,100%);max-height:calc(100dvh - 56px);overflow-y:auto;box-shadow:0 28px 80px #00000057}.payslip-dialog-header{border-bottom:4px solid var(--accent);color:#fff;background:#111;justify-content:space-between;align-items:center;min-height:88px;padding:20px 24px;display:flex}.payslip-dialog-header span{color:#bdbdbd;letter-spacing:.16em;font-size:10px;font-weight:800}.payslip-dialog-header h2{letter-spacing:-.04em;margin:2px 0 0;font-size:25px}.payslip-dialog-header>button{color:#fff;background:0 0;border:1px solid #555;border-radius:50%;width:42px;height:42px;font-size:26px;line-height:1}.payslip-body{padding:26px 28px 20px}.payslip-company{justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:22px;display:flex}.payslip-company strong{font-size:20px}.payslip-company span{color:var(--accent);font-size:14px;font-weight:800}.payslip-meta{border-top:1px solid var(--line-strong);border-left:1px solid var(--line-strong);grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 24px;display:grid}.payslip-meta>div{border-right:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);min-height:64px;padding:11px 14px}.payslip-meta dt{color:var(--muted);font-size:10px;font-weight:700}.payslip-meta dd{color:var(--ink);margin:3px 0 0;font-size:14px;font-weight:750}.payslip-breakdown{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.payslip-breakdown td,.payslip-breakdown th{border:1px solid var(--line-strong);text-align:left;height:44px;padding:8px 11px;font-size:12px}.payslip-breakdown thead th{color:#555;background:#eee;font-size:10px}.payslip-breakdown tbody th{color:var(--ink);width:32%}.payslip-breakdown tbody td:nth-child(2){color:var(--muted)}.payslip-breakdown td:last-child,.payslip-breakdown tfoot td{width:26%;font-family:var(--font-geist-mono),monospace;text-align:right}.payslip-breakdown tfoot td,.payslip-breakdown tfoot th{color:#fff;background:#111;border-color:#111;font-size:15px}.payslip-breakdown tfoot td{color:#fff;border-left-color:#555;font-size:19px;font-weight:800}.payslip-alert{border-left:3px solid var(--warning);background:var(--warning-soft);color:var(--warning);margin:14px 0 0;padding:9px 11px;font-size:11px;font-weight:700}.payslip-note{color:var(--muted);margin:12px 0 0;font-size:10px}.payslip-actions{border-top:1px solid var(--line);background:#f5f5f5;justify-content:flex-end;gap:10px;min-height:72px;padding:14px 24px;display:flex}.payroll-list-actions button,.payslip-actions button{border:1px solid var(--line-strong);border-radius:var(--radius-md);min-height:42px;color:var(--ink);background:#fff;padding:0 14px;font-size:12px;font-weight:750}.payroll-list-actions .payslip-open-button,.payslip-actions .payslip-print-button,.sheet-edit-button.payslip-open-button{border-color:var(--accent);background:var(--accent);color:#fff}.payroll-list-actions .payslip-open-button:hover,.payslip-actions .payslip-print-button:hover,.sheet-edit-button.payslip-open-button:hover{border-color:var(--accent-hover);background:var(--accent-hover)}.payroll-list-actions{flex:none;align-items:center;gap:7px;display:flex}.payroll-list-card>footer .payroll-list-actions button{border:1px solid var(--line-strong);font-size:11px}@media (max-width:720px){.payslip-backdrop{place-items:stretch stretch;padding:0}.payslip-dialog{border:0;border-radius:0;width:100%;min-height:100dvh;max-height:none}.payslip-actions,.payslip-body,.payslip-dialog-header{padding-left:16px;padding-right:16px}.payslip-company{flex-direction:column;align-items:flex-start;gap:4px}.payslip-meta{grid-template-columns:1fr}.payslip-breakdown td,.payslip-breakdown th{padding:8px;font-size:11px}.payslip-breakdown tbody td:nth-child(2){font-size:10px}.payslip-actions{position:sticky;bottom:0}.payslip-actions button{flex:1}.payroll-list-card>footer{flex-direction:column;align-items:flex-start;padding-top:12px;padding-bottom:12px}.payroll-list-actions{width:100%}.payroll-list-actions button{flex:1}}@media print{@page{size:A4 portrait;margin:14mm}.shell,body,html{background:#fff!important;height:auto!important;overflow:visible!important}.shell>:not(.payslip-backdrop):not(.salon-payslip-dialog){display:none!important}.payslip-backdrop{background:#fff;height:auto;padding:0;display:block;position:static;overflow:visible}.payslip-dialog{width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;overflow:visible}.payslip-dialog-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}.payslip-actions,.payslip-dialog-header>button{display:none!important}.payslip-body{padding:24px 0 0}.payslip-breakdown tfoot td,.payslip-breakdown tfoot th,.payslip-breakdown thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.skip-link{z-index:200;border:2px solid var(--ink);border-radius:var(--radius-md);color:var(--ink);background:#fff;padding:10px 14px;font-size:12px;font-weight:800;transition:transform .16s;position:fixed;top:10px;left:12px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}#main-content:focus{outline:none}.entry-readiness-checks span,.master-context-grid small,.master-context-grid span,.records-summary-grid span{color:var(--muted);letter-spacing:.04em;font-size:10px;font-weight:750}.dashboard-focus button,.records-confirm-many{border:1px solid var(--ink);border-radius:var(--radius-md);background:var(--ink);color:#fff;white-space:nowrap;min-height:40px;padding:0 14px;font-size:11px;font-weight:800}.records-confirm-many{border-color:var(--accent);background:var(--accent)}.dashboard-focus{grid-column:1/-1;grid-template-columns:minmax(200px,.8fr) minmax(420px,2fr);gap:28px;padding:20px 22px;display:grid}.dashboard-focus>header{flex-direction:column;gap:12px;border:0!important;justify-content:center!important;align-items:flex-start!important;padding:0!important}.dashboard-focus>header button{align-self:flex-start}.dashboard-focus-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dashboard-focus-grid>div{border:1px solid var(--line);border-radius:var(--radius-md);background:#fafafa;min-width:0;padding:14px}.dashboard-focus-grid small,.dashboard-focus-grid span{color:var(--muted);font-size:10px;font-weight:700;display:block}.dashboard-focus-grid strong{margin:5px 0;font-size:17px;display:block}.dashboard-focus-progress{background:#dedede;border-radius:99px;height:5px;margin:9px 0 6px;overflow:hidden}.dashboard-focus-progress>i{border-radius:inherit;background:var(--ink);height:100%;display:block}.dashboard-focus-grid .warning{background:#fff8f7;border-color:#e6c0bc}.dashboard-focus-grid .warning small,.dashboard-focus-grid .warning strong,.records-summary-grid .has-attention strong{color:var(--accent)}.entry-readiness{padding:18px}.entry-readiness>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.entry-readiness>header b{font-variant-numeric:tabular-nums;font-size:12px}.entry-readiness-checks{grid-template-columns:1fr 1fr;gap:7px;margin-top:13px;display:grid}.entry-readiness-checks span{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fafafa;padding:8px 9px}.entry-readiness-checks .is-ready{color:#27663a;background:#f4faf6;border-color:#b8d5c0}.entry-readiness-checks .needs-work{color:var(--accent);background:#fff8f7;border-color:#e6c0bc}.entry-readiness-alert{border-left:3px solid var(--accent);color:var(--accent);background:#fff8f7;margin-top:10px;padding:9px 10px;font-size:11px;font-weight:700}.mobile-submit-button:disabled,.submit-button:disabled{cursor:not-allowed;opacity:.42}.master-context-grid,.records-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.master-context-grid>article,.records-summary-grid>div{border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;min-width:0;padding:14px 16px}.master-context-grid strong,.records-summary-grid strong{font-variant-numeric:tabular-nums;margin:4px 0 2px;font-size:15px;display:block}.records-toolbar{border-bottom:1px solid var(--line);background:#fafafa;grid-template-columns:minmax(210px,1.3fr) minmax(145px,.7fr) minmax(145px,.7fr) auto;align-items:end;gap:10px;padding:12px 16px;display:grid}.records-toolbar label{color:var(--muted);gap:5px;font-size:10px;font-weight:750;display:grid}.records-toolbar input,.records-toolbar select{width:100%;font:inherit;padding:0 10px}.records-clear,.records-toolbar input,.records-toolbar select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);min-height:38px;color:var(--ink);background:#fff}.records-clear{padding:0 12px;font-size:10px;font-weight:750}.records-summary-grid{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:stretch;padding:14px 16px}.records-summary-grid>div{background:#fafafa;padding:9px 12px}.records-confirm-many{align-self:stretch}.records-table .records-empty{color:var(--muted);text-align:center;padding:36px 18px}@media (max-width:1100px){.dashboard-focus{grid-template-columns:1fr}.records-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.records-clear,.records-search{grid-column:1/-1}}@media (max-width:820px){.dashboard-focus-grid,.master-context-grid,.records-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.records-confirm-many{grid-column:1/-1}}@media (max-width:520px){.dashboard-focus{gap:18px;padding:16px}.dashboard-focus-grid,.entry-readiness-checks{grid-template-columns:1fr}}@media (min-width:1101px){.ai-input-rail,.finance-input-rail,.salon-input-rail{overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;min-height:0;max-height:calc(100dvh - 102px);position:sticky;top:86px;overflow:hidden scroll}.ai-input-rail>.panel,.finance-input-rail>.panel,.salon-input-rail>.panel{flex:none}}.finance-input-layout,.salon-input-layout{margin-top:18px}.finance-entry-form,.finance-entry-form.manual-entry-card,.salon-entry-form,.salon-entry-form.manual-entry-card{padding:0}.finance-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-cost-grid,.salon-adjustment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.finance-cost-grid label,.finance-note-field,.salon-adjustment-grid label{min-width:0;color:var(--muted);gap:7px;font-size:13px;font-weight:750;display:grid}.finance-cost-grid input,.finance-note-field input,.salon-adjustment-grid input{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);width:100%;height:44px;color:var(--ink);padding:0 11px}.finance-readiness,.salon-readiness{order:1}.finance-readiness>header,.salon-readiness>header{gap:4px;display:grid}.finance-readiness>header span,.salon-readiness>header span{color:var(--muted);font-size:12px}.finance-readiness>div,.salon-readiness>div{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.finance-readiness>div span,.salon-readiness>div span{border:1px solid var(--line);color:var(--muted);background:#f6f6f6;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:750}.finance-readiness>div .ready,.salon-readiness>div .ready{color:#27663a;background:#f4faf6;border-color:#b8d5c0}.salon-readiness>div .attention{color:var(--accent);background:#fff8f7;border-color:#e6c0bc}.finance-input-rail .receipt-demo-card{border-top:1px solid var(--line);border-bottom:1px solid var(--line);order:2}.finance-live-total,.salon-live-total{order:3}.finance-live-total>button,.salon-live-total>button{border-radius:var(--radius-md);background:var(--accent);color:#fff;border:0;width:calc(100% - 36px);min-height:44px;margin:14px 18px 0;font-size:14px;font-weight:800}.finance-live-total>button:disabled,.salon-live-total>button:disabled{background:#737373}.profit-table-wrap{isolation:isolate;max-height:min(52dvh,560px)}.profit-table-wrap thead th{z-index:3;background:#eee;position:sticky;top:0}.profit-table-wrap tfoot td,.profit-table-wrap tfoot th{z-index:4;color:var(--ink);background:#eee;border-top:2px solid #222;border-bottom:0;font-weight:850;position:sticky;bottom:0}.profit-empty-row{height:90px;color:var(--muted);text-align:center!important}.finance-entry-form input[type=number],.salon-entry-form input[type=number]{appearance:textfield}.finance-entry-form input[type=number]::-webkit-inner-spin-button,.finance-entry-form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.salon-entry-form input[type=number]::-webkit-inner-spin-button,.salon-entry-form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.salon-workspace{overscroll-behavior:contain;height:100dvh;min-height:0;overflow:hidden auto}.salon-topbar{z-index:30}.salon-topbar,.salon-workspace .salon-topbar{position:sticky;top:0}.salon-topbar nav{border:1px solid var(--line);background:#f5f5f5;border-radius:10px;gap:3px;padding:4px;display:flex}.salon-topbar nav button{min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:0 14px;font-size:13px;font-weight:750}.salon-topbar nav button.active{color:#fff;background:#111}.salon-page{max-width:1440px;margin:0 auto}.salon-page-heading{align-items:end}@media (min-width:721px) and (max-width:1100px){.salon-page-heading{flex-direction:column;align-items:stretch}.salon-page-heading .salon-month-selector{align-self:flex-end}}.salon-month-selector{color:var(--muted);gap:5px;font-size:12px;font-weight:750;display:grid}.salon-month-selector input{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);min-height:42px;padding:0 10px}.salon-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.salon-overview-card{overflow:hidden}.salon-overview-card>header,.salon-summary-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:0 18px;display:flex}.salon-overview-card h2{margin:0;font-size:16px}.salon-overview-card button,.salon-payroll-table button,.salon-summary-toolbar button{border:1px solid var(--line-strong);background:var(--paper);border-radius:8px;min-height:36px;padding:0 11px;font-size:12px;font-weight:750}.salon-overview-list{padding:5px 18px}.salon-overview-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;min-height:68px;display:flex}.salon-overview-list>div:last-child{border-bottom:0}.salon-overview-list span{gap:4px;min-width:0;display:grid}.salon-overview-list small{color:var(--muted);font-size:12px}.salon-entry-form .manual-fields.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.salon-adjustment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.salon-input-rail .salon-ai-card{order:1}.salon-input-rail .salon-readiness{border-top:1px solid var(--line);border-bottom:1px solid var(--line);order:2}.salon-input-rail .salon-live-total{order:3}.salon-ai-body{gap:9px;padding:16px 18px 18px;display:grid}.salon-ai-body>button:first-child{border:1px solid var(--line-strong);background:var(--paper);border-radius:7px;justify-self:start;min-height:32px;padding:0 10px;font-size:11px;font-weight:750}.salon-ai-body textarea{resize:vertical;border:1px solid var(--line-strong);border-radius:var(--radius-md);width:100%;min-height:110px;padding:10px;font-size:13px;line-height:1.6}.salon-ai-body .ai-apply-button{width:100%;margin:0}.salon-summary-panel{margin-top:18px;overflow:hidden}.salon-summary-toolbar>div{background:#eee;border-radius:9px;gap:3px;padding:3px;display:flex}.salon-summary-toolbar>div button{background:0 0;border-color:#0000}.salon-summary-toolbar>div button.active{color:#fff;background:#111;border-color:#111}.salon-table-wrap{isolation:isolate;max-height:min(64dvh,680px);overflow:auto}.salon-payroll-table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;width:100%;min-width:1080px;font-size:12px}.salon-records-table{min-width:850px}.salon-payroll-table td,.salon-payroll-table th{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper);text-align:right;white-space:nowrap;height:50px;padding:9px 11px}.salon-payroll-table td:first-child,.salon-payroll-table th:first-child{text-align:left}.salon-payroll-table thead th{z-index:3;color:#444;background:#eee;font-weight:800;position:sticky;top:0}.salon-payroll-table tfoot td,.salon-payroll-table tfoot th{z-index:4;background:#eee;border-top:2px solid #222;border-bottom:0;font-weight:850;position:sticky;bottom:0}.salon-notice{z-index:80;color:#fff;background:#111;border-radius:10px;align-items:center;gap:12px;min-height:46px;padding:0 10px 0 16px;font-size:13px;font-weight:750;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 14px 34px #00000040}.salon-notice button{color:#fff;background:0 0;border:0;width:30px;height:30px}.salon-payslip-dialog{overscroll-behavior:contain;width:min(720px,100% - 32px);min-height:0;max-height:calc(100dvh - 32px);margin:auto;padding:0}.salon-payslip-dialog::backdrop{background:#00000094}@media print{body:has(.salon-payslip-dialog[open]) main>:not(.salon-payslip-dialog){display:none!important}.salon-payslip-dialog[open]{width:100%;max-height:none;position:static;overflow:visible}.salon-payslip-dialog>footer,.salon-payslip-dialog>header button{display:none!important}}.salon-payslip-dialog>header{border-bottom:4px solid var(--accent);color:#fff;background:#111;justify-content:space-between;align-items:center;min-height:82px;padding:18px 22px;display:flex}.salon-payslip-dialog>header small{color:#bdbdbd;letter-spacing:.12em;font-size:10px}.salon-payslip-dialog>header h2{margin:3px 0 0}.salon-payslip-dialog>header button{color:#fff;background:0 0;border:1px solid #555;border-radius:8px;min-height:38px;padding:0 12px}.salon-payslip-dialog .payslip-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px 22px;display:grid}.salon-payslip-dialog .payslip-meta span{overflow-wrap:anywhere;flex-direction:column;gap:4px;display:flex}.salon-payslip-dialog .payslip-meta small{color:#555}.salon-shell .salon-payslip-dialog td,.salon-shell .salon-payslip-dialog th{color:#333}.salon-payslip-dialog table{border-collapse:collapse;width:calc(100% - 44px);margin:0 22px 20px}.salon-payslip-dialog td,.salon-payslip-dialog th{border-bottom:1px solid var(--line);padding:11px 9px}.salon-payslip-dialog th{text-align:left}.salon-payslip-dialog td{text-align:right;font-variant-numeric:tabular-nums}.salon-payslip-dialog tfoot td,.salon-payslip-dialog tfoot th{border-top:2px solid #111;font-size:16px;font-weight:850}.salon-payslip-dialog>footer{justify-content:flex-end;padding:0 22px 22px;display:flex}.salon-payslip-dialog>footer button{color:#fff;background:#111;border:0;border-radius:8px;min-height:42px;padding:0 16px;font-weight:800}@media (max-width:1100px){.finance-readiness{order:1}.finance-entry-form,.salon-entry-form{order:2}.finance-input-rail .receipt-demo-card,.salon-input-rail .salon-readiness{order:3}.finance-input-rail .finance-live-total,.salon-input-rail .salon-live-total{order:4}.salon-input-rail .salon-ai-card{order:1}}@media (max-width:820px){.salon-workspace .salon-topbar{flex-wrap:wrap;align-items:flex-start}.salon-topbar nav{order:3;width:100%;overflow-x:auto}.salon-topbar nav button{flex:1 0 auto}.salon-dashboard-grid{grid-template-columns:1fr}}@media (max-width:720px){.finance-cost-grid,.finance-fields,.salon-adjustment-grid,.salon-entry-form .manual-fields.three-columns{grid-template-columns:1fr}.finance-live-total>button,.salon-live-total>button{display:block}.profit-table-wrap,.salon-table-wrap{max-height:min(58dvh,520px)}.salon-page-heading{align-items:stretch}.salon-month-selector,.salon-month-selector input{width:100%}.salon-summary-toolbar{flex-direction:column;align-items:stretch;padding:10px}.salon-summary-toolbar>div{width:100%}.salon-summary-toolbar>div button{flex:1}.salon-notice{bottom:12px;left:12px;right:12px}}.demo-login-shell{z-index:1000;overscroll-behavior:contain;background:#171c2b;place-items:safe center center;min-height:0;padding:32px 18px;display:grid;position:fixed;inset:0;overflow-y:auto}.demo-login-card{background:#fffffffa;border:1px solid #ffffff21;border-radius:24px;width:min(100%,470px);padding:32px;box-shadow:0 28px 80px #04071273}.demo-login-card>header,.salon-topbar>div{align-items:center;gap:13px;display:flex}.demo-login-card .brand-mark,.salon-topbar .brand-mark{color:var(--purple-dark);background:var(--purple-soft)}.demo-login-card header div,.salon-topbar>div>span:last-child{gap:3px;display:grid}.demo-login-card header small,.salon-topbar small{color:var(--purple-dark);letter-spacing:.14em;font-size:9px;font-weight:850}.demo-login-card h1{margin:0;font-size:22px}.demo-login-card fieldset{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:27px 0 20px;padding:0;display:grid}.demo-account-field>span,.demo-login-card legend,.demo-password-field>span{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:800}.demo-login-card fieldset label{border:1px solid var(--line);cursor:pointer;background:#fafafd;border-radius:13px;align-items:flex-start;gap:9px;min-height:76px;padding:13px;display:flex}.demo-login-card fieldset label.selected{border-color:var(--purple);background:var(--purple-soft)}.demo-login-card fieldset label span{gap:5px;display:grid}.demo-login-card fieldset label small{color:var(--muted);font-size:11px}.demo-account-field,.demo-password-field{display:grid}.demo-account-field{margin-top:27px}.demo-password-field{margin-top:14px}.demo-account-field input,.demo-password-field input,.finance-fields input,.free-adjustment-grid input,.salon-fields input,.salon-fields select{border:1px solid var(--line-strong,#d6dae4);background:var(--paper);border-radius:9px;width:100%;min-height:44px;padding:0 12px}.demo-login-card>button,.finance-entry-form>button,.salon-entry-form>button{background:var(--purple);color:#fff;border:0;border-radius:10px;width:100%;min-height:46px;margin-top:17px;font-weight:850}.demo-login-card>button:disabled{cursor:wait;opacity:.65}.demo-login-card>p{color:#bc3b46;margin:9px 0 0;font-size:12px;font-weight:750}.demo-login-card>footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;margin-top:15px;padding-top:14px;font-size:11px;display:flex}.demo-login-card>footer button,.profile button{color:var(--purple-dark);background:0 0;border:0;font-size:11px;font-weight:850}.profile button{color:#c2c7d8;text-align:left;padding:5px 0}.dashboard-profit-summary{grid-column:1/-1}.dashboard-profit-summary dl,.profit-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;display:grid}.dashboard-profit-summary dl>div,.profit-kpis article{border:1px solid var(--line);background:#fafafd;border-radius:12px;min-width:0;padding:17px 18px}.dashboard-profit-summary dt,.profit-kpis span{color:var(--muted);font-size:11px;font-weight:750}.dashboard-profit-summary dd,.profit-kpis strong{font-variant-numeric:tabular-nums;margin:7px 0 0;font-size:clamp(17px,2vw,23px);display:block}.positive{color:#087d63}.negative{color:#c43d4a}.profit-workspace,.salon-page{width:100%;padding:30px}.profit-kpis{margin:18px 0}.profit-layout,.salon-layout{grid-template-columns:minmax(0,1.5fr) minmax(290px,.85fr);align-items:start;gap:18px;display:grid}.finance-entry-form,.profit-table-card,.receipt-demo-card,.salon-entry-form,.salon-payroll-card{padding:22px}.finance-entry-form h2,.profit-table-card h2,.receipt-demo-card h2,.salon-entry-form h2,.salon-payroll-card h2{margin:0;font-size:16px}.finance-fields,.salon-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px;display:grid}.finance-fields label,.free-adjustment-grid label,.salon-fields label{min-width:0;color:var(--muted);gap:7px;font-size:11px;font-weight:800;display:grid}.finance-fields .finance-note{grid-column:1/-1}.receipt-demo-card>header{align-items:center;gap:10px;display:flex}.receipt-demo-card>header div{gap:4px;display:grid}.profit-table-card>header>span,.receipt-demo-card header small{color:var(--muted);font-size:11px}.receipt-demo-card>label{background:var(--purple-soft);text-align:center;cursor:pointer;border:1px dashed #aaa4ed;border-radius:13px;place-content:center;gap:4px;min-height:120px;margin-top:18px;display:grid}.receipt-demo-card>label input{opacity:0;width:1px;height:1px;position:absolute}.receipt-demo-card>label span,.receipt-demo-card>p,.receipt-result small{color:var(--muted);font-size:11px}.receipt-result{background:#eaf8f4;border-radius:10px;gap:4px;margin-top:14px;padding:13px;display:grid}.receipt-result b{color:#087d63;font-size:12px}.profit-table-card{margin-top:18px}.profit-table-card>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.profit-table-wrap{margin-top:15px;overflow:auto}.profit-table-wrap table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:850px;font-size:12px}.profit-table-wrap td,.profit-table-wrap th{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:11px 12px}.profit-table-wrap td:last-child,.profit-table-wrap th:first-child{text-align:left}.payroll-adjustment-section{background:#fbfbfe}.holiday-work-toggle{border:1px solid var(--line);background:var(--paper);border-radius:9px;align-items:center;gap:9px;min-height:46px;margin:15px 0;padding:0 13px;font-size:13px;font-weight:750;display:flex}.holiday-work-toggle input{width:18px;height:18px}.adjustment-money-grid,.free-adjustment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.free-adjustment-grid{margin-top:13px}.salon-workspace{background:var(--surface);min-height:100vh}.salon-topbar{border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;min-height:70px;padding:12px 28px;display:flex}.salon-topbar button{border:1px solid var(--line);background:var(--paper);border-radius:9px;min-height:38px;padding:0 15px;font-size:12px;font-weight:800}.salon-payroll-list{gap:12px;margin-top:15px;display:grid}.salon-payroll-list>section{border:1px solid var(--line);border-radius:12px;padding:15px}.salon-payroll-list footer,.salon-payroll-list header{justify-content:space-between;align-items:center;gap:10px;display:flex}.salon-payroll-list footer span,.salon-payroll-list header span{color:var(--muted);font-size:11px}.salon-payroll-list dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0;display:grid}.salon-payroll-list dl>div{background:#f7f7fa;border-radius:8px;padding:9px}.salon-payroll-list dt{color:var(--muted);font-size:10px}.salon-payroll-list dd{margin:4px 0 0;font-size:12px;font-weight:800}@media (max-width:920px){.profit-layout,.salon-layout{grid-template-columns:1fr}}@media (max-width:720px){.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}.sidebar nav button{padding-inline:2px;font-size:9px}.demo-login-shell{padding:14px}.demo-login-card{border-radius:18px;padding:23px 18px}.adjustment-money-grid,.dashboard-profit-summary dl,.demo-login-card fieldset,.finance-fields,.free-adjustment-grid,.profit-kpis,.salon-fields{grid-template-columns:1fr}.profit-workspace,.salon-page{padding:18px 14px 90px}.profit-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-fields .finance-note{grid-column:auto}.finance-entry-form,.profit-table-card,.receipt-demo-card,.salon-entry-form,.salon-payroll-card{padding:17px}.salon-topbar{padding:11px 14px}}.ai-input-rail .pending-entry-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);order:2;overflow:hidden}.ai-input-rail .live-total-card{order:3}.pending-entry-panel>header{background:var(--ledger-tint);justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:12px 18px;display:flex}.pending-entry-panel>header>div{align-items:baseline;gap:7px;display:flex}.pending-entry-panel>header span,.pending-entry-panel>header strong{font-size:13px}.pending-entry-panel>header>b{font-variant-numeric:tabular-nums;font-size:16px}.pending-entry-panel ol{max-height:260px;margin:0;padding:0;list-style:none;overflow-y:auto}.pending-entry-panel li{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 18px;display:grid}.pending-entry-panel li:first-child{border-top:0}.pending-entry-panel li>div,.pending-entry-panel li>div>span{align-items:center;gap:7px;min-width:0;display:flex}.pending-entry-panel li>div{flex-wrap:wrap}.pending-entry-panel li>div>span{width:100%}.pending-entry-panel li>div>span b,.pending-entry-panel li>div>strong{font-size:12px}.pending-entry-panel li>div>span i{color:var(--ink);background:#eee;border-radius:999px;padding:2px 6px;font-size:10px;font-style:normal;font-weight:800}.pending-entry-panel li>div>span i.ai{background:var(--accent-soft);color:var(--accent)}.pending-entry-panel li small{width:100%;color:var(--muted);font-size:11px}.pending-entry-actions{gap:5px;display:flex}.pending-entry-actions button{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--paper);min-height:34px;color:var(--ink);padding:0 8px;font-size:11px;font-weight:700}.pending-entry-panel>footer{border-top:1px solid var(--line);gap:9px;padding:12px 18px 16px;display:grid}.pending-entry-panel>footer small{color:var(--muted);font-size:11px}.pending-entry-panel>footer>button{border:1px solid var(--accent);border-radius:var(--radius-md);background:var(--accent);color:#fff;min-height:42px;font-size:13px;font-weight:800}.mobile-entry-buttons{gap:7px;display:flex}@media (max-width:720px){.ai-input-rail .pending-entry-panel{border:1px solid var(--line);border-radius:var(--radius-lg);order:3}.ai-input-rail .live-total-card{order:4}.pending-entry-panel ol{max-height:none}.pending-entry-panel li,.pending-entry-panel>footer{padding:14px}.mobile-entry-action>span{flex:1}.mobile-entry-buttons{flex:0 auto}.mobile-entry-buttons button{white-space:nowrap;min-width:0;padding:0 12px}.mobile-entry-buttons .mobile-add-entry:not(:only-child){border:1px solid var(--line-strong);background:var(--paper);color:var(--ink)}}.month-card span.month-card-meta{color:#bcbcbc;background:0 0;width:auto;padding:0;line-height:1.45}.month-card span.month-card-meta.has-attention{color:#ffb5ae}.sidebar nav{gap:10px}.nav-section{gap:4px;display:grid}.nav-section>span{color:#838383;letter-spacing:.09em;padding:0 12px;font-size:9px;font-weight:800}.nav-section-items{gap:3px;display:grid}.sidebar nav .nav-section button{min-width:0;position:relative}.sidebar nav .nav-section button>span:not(.glyph){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sidebar nav .nav-master-group{background:0 0;border:0;margin:0;padding:0}.sidebar nav .nav-master-group>span{padding:0 12px}.sidebar nav .nav-master-items button{height:40px;padding:0 13px;font-size:12px}.nav-badge{color:#c4c4c4;border:1px solid #ffffff29;border-radius:99px;place-items:center;min-width:22px;height:20px;margin-left:auto;padding:0 6px;font-size:9px;font-weight:800;line-height:1;display:inline-grid}.nav-badge.warning{color:#ffd1cd;background:#b4231847;border-color:#ffb5ae73}.table-reading-guide{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafafa;align-items:center;gap:16px;min-height:42px;padding:8px 14px;display:flex}.table-reading-guide span{color:#555;white-space:nowrap;align-items:center;gap:6px;font-size:10px;font-weight:750;display:inline-flex}.table-reading-guide i{border:1px solid var(--line-strong);background:#fff;border-radius:2px;width:11px;height:11px}.table-reading-guide .calculated-value{background:#f0f0f0}.table-reading-guide .total-value{background:#ddd;border-color:#111}.table-reading-guide small{color:var(--muted);margin-left:auto;font-size:10px}.table-reading-guide.compact{border-top:0}.spreadsheet-table .layered-table-head .table-group-row th{border-bottom-color:var(--line-strong);color:#555;letter-spacing:.04em;text-align:center;background:#e8e8e8;height:30px;min-height:30px;font-size:9px;top:0}.spreadsheet-table .layered-table-head .table-group-row th.calculated-column{background:#dedede}.spreadsheet-table .layered-table-head .table-column-row th{background:#f4f4f4;height:40px;min-height:40px;top:30px}.spreadsheet-table .layered-table-head .table-column-row th.calculated-column{background:#eaeaea}.spreadsheet-table .layered-table-head th[rowspan="2"]{vertical-align:middle;background:#ececec;height:70px}.spreadsheet-table .layered-table-head th.total-column[rowspan="2"]{color:var(--ink);background:#ddd}.spreadsheet-table tbody tr:nth-child(2n)>*{background:#fcfcfc}.spreadsheet-table tbody tr:nth-child(2n)>.calculated-column{background:#f4f4f4}.spreadsheet-table tbody tr:nth-child(2n)>.total-column{background:#ededed}.spreadsheet-table tbody tr:hover>*{background:#f4f4f4}.spreadsheet-table tbody tr:hover>.calculated-column,.spreadsheet-table tbody tr:hover>.total-column{background:#e7e7e7}.records-table-wrap{overscroll-behavior:contain;scrollbar-color:var(--line-strong) var(--surface);max-height:min(58vh,620px);overflow:auto}.records-table-wrap:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.records-table thead th{z-index:4;background:#eee;height:42px;position:sticky;top:0}.records-table .record-date-column{z-index:2;width:92px;min-width:92px;max-width:92px;box-shadow:1px 0 0 var(--line);color:var(--ink);text-align:left;background:#fff;position:sticky;left:0}.records-table td:nth-child(2),.records-table th:nth-child(2){left:92px}.records-table thead .record-actions,.records-table thead .record-date-column,.records-table thead th:nth-child(2){z-index:6;background:#eee}.records-table tbody tr:nth-child(2n)>*{background:#fcfcfc}.records-table tbody tr:hover>*{background:#f3f3f3}@media (max-width:720px){.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sidebar nav .nav-section-items,.sidebar nav .nav-section:not(.nav-master-group){display:contents}.sidebar nav .nav-badge,.sidebar nav .nav-master-group,.sidebar nav .nav-section>span{display:none}.sidebar nav .nav-section button{justify-content:center;min-width:0;height:48px;padding:0 4px}.sidebar nav .nav-section button>span:not(.glyph){font-size:10px}.table-reading-guide{gap:12px;padding:8px 12px;overflow-x:auto}.table-reading-guide small{display:none}.records-table-wrap,.spreadsheet-wrap{max-height:min(62vh,560px)}}.records-table-wrap,.spreadsheet-wrap{isolation:isolate}.daily-payroll-table tbody .sheet-date,.daily-payroll-table tbody .sheet-employee,.payroll-table tbody .sheet-employee,.spreadsheet-table tbody .sheet-index{z-index:3;background-clip:padding-box}.spreadsheet-table tbody .sheet-action-column{z-index:4;background-clip:padding-box}.spreadsheet-table thead th{z-index:20;background-clip:padding-box}.daily-payroll-table thead .sheet-date,.daily-payroll-table thead .sheet-employee,.payroll-table thead .sheet-employee,.spreadsheet-table thead .sheet-index{z-index:30}.spreadsheet-table thead .sheet-action-column{z-index:31}.spreadsheet-table tfoot td,.spreadsheet-table tfoot th{z-index:20;background-clip:padding-box;position:sticky;bottom:0}.spreadsheet-table tfoot .sheet-summary-label{z-index:30;box-shadow:2px 0 0 var(--ledger-rule);background:#f2f2f2}@media (min-width:721px){.spreadsheet-table tfoot .sheet-summary-label{left:0}}.daily-payroll-table tfoot .sheet-date,.daily-payroll-table tfoot .sheet-employee,.payroll-table tfoot .sheet-employee,.spreadsheet-table tfoot .sheet-index{z-index:30}.spreadsheet-table tfoot .sheet-action-column{z-index:31}@media (max-width:720px){.daily-payroll-table tbody .sheet-date,.spreadsheet-table tbody .sheet-index{box-shadow:none;position:static;left:auto}.daily-payroll-table thead .sheet-date,.spreadsheet-table thead .sheet-index{z-index:22;box-shadow:none;position:sticky;top:0;left:auto}.daily-payroll-table .sheet-employee,.payroll-table .sheet-employee{z-index:5;left:0}.daily-payroll-table thead .sheet-employee,.payroll-table thead .sheet-employee{z-index:32;left:0}.spreadsheet-table tbody .sheet-action-column{z-index:auto;box-shadow:none;position:static;right:auto}.spreadsheet-table tfoot .sheet-action-column{z-index:20;box-shadow:none;position:sticky;bottom:0;right:auto}.spreadsheet-table tfoot .sheet-summary-label{box-shadow:none;left:auto}.spreadsheet-table thead .sheet-action-column{z-index:22;box-shadow:none;position:sticky;top:0;right:auto}.records-table tbody .record-date-column{box-shadow:none;position:static;left:auto}.records-table thead .record-date-column{z-index:22;box-shadow:none;position:sticky;top:0;left:auto}.records-table td:nth-child(2),.records-table th:nth-child(2){z-index:5;left:0}.records-table thead th:nth-child(2){z-index:30}.records-table tbody .record-actions{z-index:auto;box-shadow:none;position:static;right:auto}.records-table thead .record-actions{z-index:22;box-shadow:none;position:sticky;top:0;right:auto}}.mobile-export-button,.records-mobile-list{display:none}.data-loading>.content,.data-loading>.sidebar{visibility:hidden}.data-loading-overlay{background:#fff}.spreadsheet-wrap{scrollbar-gutter:stable;max-height:min(52dvh,540px)}.spreadsheet-table tfoot td,.spreadsheet-table tfoot th{box-shadow:0 -2px 0 var(--ledger-rule)}.spreadsheet-table tfoot .sheet-summary-label{box-shadow:2px 0 0 var(--ledger-rule),0 -2px 0 var(--ledger-rule)}@media (max-width:720px){.company-switcher button{grid-template-columns:20px minmax(0,1fr);gap:5px;padding-inline:5px}.company-switcher button>i{width:20px;height:20px}.company-name-short{letter-spacing:-.02em;min-width:0;font-size:11px}.mobile-export-button{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);width:100%;min-height:46px;color:var(--ink);justify-content:center;align-items:center;margin:-10px 0 14px;font-size:14px;font-weight:800;display:inline-flex}.spreadsheet-wrap{overscroll-behavior:contain;max-height:min(48dvh,420px);overflow:auto}.records-page .table-reading-guide,.records-table-wrap{display:none}.records-mobile-list{background:#f5f5f5;gap:12px;padding:12px;display:grid}.records-mobile-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);overflow:hidden}.records-mobile-card>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 14px;display:flex}.records-mobile-card>header>div{gap:7px;min-width:0;display:grid}.records-mobile-card time{color:var(--muted);font-size:12px;font-weight:750}.records-mobile-card .person b{font-size:15px}.records-mobile-detail{border-bottom:1px solid var(--line);color:var(--muted);padding:12px 14px;font-size:13px;line-height:1.6}.records-mobile-card dl{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.records-mobile-card dl>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;padding:12px 14px}.records-mobile-card dl>div:nth-child(2n){border-right:0}.records-mobile-card dt{color:var(--muted);font-size:12px;font-weight:700}.records-mobile-card dd{font-variant-numeric:tabular-nums;margin:5px 0 0;font-size:14px;font-weight:800}.records-mobile-total{background:#f3f3f3}.records-mobile-card>footer{justify-content:flex-end;gap:8px;padding:10px 14px;display:flex}.records-mobile-card>footer button{min-height:42px}.records-mobile-confirm{border:1px solid var(--accent);border-radius:var(--radius-md);background:var(--accent);color:#fff;padding:0 12px;font-size:12px;font-weight:800}.records-mobile-empty{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);color:var(--muted);text-align:center;padding:32px 18px;font-size:14px}}.salon-company-switcher button{cursor:default}.salon-sidebar .month-card span{color:#fff}.salon-content{background:var(--surface)}.salon-content .salon-page{max-width:none;padding:38px 40px 60px}.salon-month-selector input{background:0 0;border:0;border-radius:0;min-height:0;padding:0}@media (min-width:721px){.salon-workspace.shell{overflow:hidden}}@media (max-width:720px){.salon-sidebar .company-switcher{grid-template-columns:1fr}.salon-sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.salon-content .salon-page{padding:24px 14px calc(94px + env(safe-area-inset-bottom))}.salon-workspace.input-shell .salon-page{padding-bottom:calc(112px + env(safe-area-inset-bottom))}}.demo-login-card>.demo-account-guide{align-items:stretch;gap:10px;display:grid}.demo-auth-check{min-height:132px;color:var(--muted);place-items:center;font-size:14px;display:grid}.demo-account-guide>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.demo-login-card .demo-account-guide button{border:1px solid var(--line-strong);min-height:68px;color:var(--ink);text-align:left;background:#fafafa;border-radius:10px;gap:5px;padding:11px 12px;display:grid}.demo-login-card .demo-account-guide button:hover{border-color:var(--purple);background:var(--purple-soft)}.demo-account-guide button strong{font-size:12px}.demo-account-guide button small{color:var(--muted);font-size:10px;font-weight:700}@media (max-width:520px){.demo-account-guide>div{grid-template-columns:1fr}}.finance-input-rail .finance-pending-entry{order:3}.finance-input-rail .finance-live-total{order:4}.pending-entry-empty{border-top:1px solid var(--line);color:var(--muted);margin:0;padding:20px 18px;font-size:12px;line-height:1.6}.pending-entry-panel>footer>button:disabled{cursor:not-allowed;opacity:.7;background:#8a8a8a;border-color:#8a8a8a}@media (max-width:720px){.sidebar:not(.salon-sidebar) .desktop-sidebar-nav{display:none}}.mobile-bottom-nav,.mobile-more-overlay{display:none}@media (max-width:720px){body.mobile-menu-open{overflow:hidden}.sidebar:not(.salon-sidebar) .mobile-master-shortcuts{display:none}.mobile-bottom-nav{z-index:120;min-height:calc(68px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;border-top:1px solid #00000024;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 26px #0000001a}.entry-input-shell>.mobile-bottom-nav{display:none}.mobile-bottom-nav button{color:#6c6c6c;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:52px;padding:4px 1px;font-family:inherit;font-size:10px;font-weight:750;line-height:1.1;display:flex}.mobile-bottom-nav button .glyph{color:currentColor;background:0 0;place-items:center;width:auto;height:21px;font-size:18px;font-weight:800;line-height:1;display:grid}.mobile-bottom-nav button.active{color:#111;background:#eee}.mobile-bottom-nav button.active .glyph{color:#111;background:0 0}.shell:not(.input-shell)>.toast{bottom:calc(82px + env(safe-area-inset-bottom))}.mobile-more-overlay{box-sizing:border-box;width:100%;max-width:none;height:100%;max-height:none;color:inherit;z-index:190;background:#0000007a;border:0;align-items:end;margin:0;padding:0;display:grid;position:fixed;inset:0}.mobile-more-sheet{box-sizing:border-box;overscroll-behavior:contain;z-index:1;width:100%;max-height:calc(100dvh - 40px);padding:10px 14px calc(16px + env(safe-area-inset-bottom));background:#fff;border-radius:20px 20px 0 0;animation:mobile-sheet-in .2s ease-out;position:relative;overflow-y:auto;box-shadow:0 -18px 48px #00000038}.mobile-more-sheet:before{content:"";background:#d1d1d1;border-radius:99px;width:38px;height:4px;margin:0 auto 8px;display:block}.mobile-more-sheet>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:0 2px 10px;display:flex}.mobile-more-links button>span,.mobile-more-sheet>footer>span,.mobile-more-sheet>header>div{gap:3px;min-width:0;display:grid}.mobile-more-sheet>header strong{font-size:17px}.mobile-more-links small,.mobile-more-sheet>footer small,.mobile-more-sheet>header small{color:var(--muted);font-size:11px;font-weight:600}.mobile-more-close{width:42px;height:42px;color:var(--ink);background:#eee;border:0;border-radius:50%;padding:0;font-size:24px;line-height:1}.mobile-more-links{gap:4px;padding:8px 0;display:grid}.mobile-more-links>button{width:100%;min-height:64px;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.mobile-more-links>button.active{background:#f3f3f3;border-color:#d2d2d2}.mobile-more-links .glyph{color:#111;background:#eee;border-radius:11px;place-items:center;width:42px;height:42px;font-size:16px;display:grid}.mobile-more-links strong{font-size:14px}.mobile-more-links b{color:var(--muted);font-size:12px}.mobile-more-sheet>footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 2px 0;display:flex}.mobile-more-sheet>footer>button{border:1px solid var(--line-strong);min-height:42px;color:var(--ink);background:#fff;border-radius:9px;padding:0 14px;font-size:12px;font-weight:750}}@keyframes mobile-sheet-in{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}