:root{--brand:#b2003b;--brand-dark:#8c0934;--brand-pale:#fff0f4;--ink:#2e2a28;--muted:#675f58;--line:#e8e5e3;--canvas:#f7f6f4;--white:#fff;--green:#24734b;--green-pale:#eef8f1;--amber:#946215;--amber-pale:#fff7e7;--radius:14px;--shadow:0 8px 28px rgba(46,42,40,.06);font-family:"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);font-synthesis:none;background:var(--canvas)}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--brand)}[hidden]{display:none!important}h1,h2,h3,h4,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-.9px}h2{font-size:22px;line-height:1.35;letter-spacing:-.35px}h3{font-size:16px;line-height:1.4}small{font-size:12px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8c0934;outline-offset:3px}button svg{pointer-events:none}.skip-link{position:fixed;top:-60px;left:20px;z-index:1000;background:var(--brand);color:white;padding:12px}.skip-link:focus{top:10px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:750;color:var(--brand)}.brand-lockup{display:flex;align-items:center;gap:12px;font-weight:800;font-size:16px;line-height:1.2;letter-spacing:1.4px}.brand-lockup small{font-size:10px;letter-spacing:2.1px;font-weight:600}.brand-mark{width:45px;height:45px;display:grid;place-items:center;border:1px solid var(--brand);border-radius:12px;color:var(--brand);font-weight:750;font-size:20px;letter-spacing:-1.5px;flex-shrink:0}.brand-mark.large{width:64px;height:64px;font-size:28px}.local-dot{height:7px;width:7px;display:inline-block;border-radius:50%;background:var(--green);flex-shrink:0}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:var(--muted)}.app-shell{display:flex;min-height:100vh}.sidebar{width:235px;background:var(--white);border-right:1px solid var(--line);padding:28px 18px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:30}.sidebar .brand-lockup{padding:0 9px}.workspace-label{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#736860;margin:35px 14px 13px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-link{border:0;background:transparent;color:#6c6662;display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;border-radius:10px;min-height:45px;font-weight:600}.nav-link svg{width:19px;height:19px;stroke-width:1.65}.nav-link:hover{background:#f7f5f4;color:var(--ink)}.nav-link[aria-current=page]{background:var(--brand-pale);color:var(--brand)}.nav-count{margin-left:auto;border-radius:5px;background:white;padding:0 6px;font-size:11px;line-height:21px}.sidebar-footer{display:flex;gap:9px;align-items:center;margin-top:auto;padding:24px 12px 0;font-size:12px;color:#6c6662}.sidebar-footer small{display:block;color:#6b625c;font-size:10px}.main-shell{flex:1;margin-left:235px;min-width:0}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:var(--white);border-bottom:1px solid var(--line);gap:20px}.topbar-company{font-weight:600;display:flex;align-items:center;gap:12px}.subtle-pill{background:#f4f2ef;color:#6b625c;border-radius:5px;padding:2px 7px;font-size:10px;font-weight:500;letter-spacing:.4px}.topbar-actions{display:flex;align-items:center;gap:18px}.user-info{line-height:1.3;text-align:right;max-width:180px}.user-info strong{font-size:12px;font-weight:650;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-info small{font-size:10px;color:var(--muted);display:block}.storage-banner{display:flex;align-items:center;gap:9px;padding:10px 38px;background:#f0f5f1;border-bottom:1px solid #dfe9e1;color:#476751;font-size:11px}.banner-separator{margin:0 5px}.storage-help{margin-left:auto;color:#57665a;font-size:10px}.storage-banner.offline{background:var(--amber-pale);color:var(--amber)}.storage-banner.offline .local-dot{background:var(--amber)}main{padding:31px 38px 48px;max-width:1600px;margin:auto;min-height:calc(100vh - 169px)}.page-footer{border-top:1px solid var(--line);padding:16px 38px;display:flex;gap:15px;font-size:10px;color:#6b625c}.page-footer span{margin-left:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.page-heading .eyebrow{margin-bottom:8px}.page-heading p{margin-top:10px;color:var(--muted);max-width:680px;font-size:13px}.heading-actions{display:flex;gap:9px;flex-shrink:0;padding-top:13px}.button{min-height:42px;border:1px solid var(--line);background:white;border-radius:8px;padding:10px 16px;font-weight:650;font-size:12px;display:inline-flex;justify-content:center;align-items:center;gap:8px;color:var(--ink);text-decoration:none;transition:background .15s}.button:hover{background:#f8f6f4}.button.primary{background:var(--brand);border-color:var(--brand);color:white;box-shadow:0 3px 8px #b2003b12}.button.primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}.button.danger{border-color:#e9cad2;background:#fff6f8;color:var(--brand)}.button.green{background:var(--green);border-color:var(--green);color:white}.button.small{font-size:11px;padding:7px 11px;min-height:34px}.button svg{width:16px;height:16px}.button.text-button{border-color:transparent;background:transparent;padding:8px 5px;color:var(--muted);font-size:11px}.button.wide{width:100%}.icon-button{border:1px solid var(--line);background:white;border-radius:8px;width:38px;height:38px;display:grid;place-items:center;color:#76706b}.icon-button:hover{background:#f6f3f1}.refresh-symbol{font-size:23px;line-height:1}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px 21px;position:relative}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;font-weight:600}.stat-icon{width:31px;height:31px;border-radius:9px;background:#f7f5f3;color:#6b625c;display:grid;place-items:center}.stat-icon svg{height:16px;width:16px}.stat-card.accent .stat-icon{color:var(--brand);background:var(--brand-pale)}.stat-value{font-size:35px;letter-spacing:-1.2px;line-height:1.2;margin:14px 0 8px;font-weight:700}.stat-foot{color:#6b625c;font-size:10px}.stat-card.accent{border-top:3px solid var(--brand);padding-top:20px}.stat-card .button{margin-top:8px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:23px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.card-header{padding:21px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #f0ece9}.card-header p{font-size:11px;color:var(--muted);margin-top:4px}.card-body{padding:22px 23px}.card-stack{display:grid;gap:23px;align-content:start}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:227px;padding:34px 24px}.empty-icon{height:47px;width:47px;border-radius:14px;background:#f7f4f1;color:#71655c;display:grid;place-items:center;margin-bottom:15px}.empty-icon svg{width:24px;height:24px}.empty-state h3{font-size:14px}.empty-state p{font-size:12px;color:var(--muted);max-width:340px;margin:8px auto 18px}.empty-state.compact{min-height:145px;padding:24px}.review-callout{background:linear-gradient(115deg,#fff5f7,#fff);border:1px solid #efdde4;border-radius:var(--radius);padding:24px;display:flex;align-items:center;gap:20px;margin-bottom:24px}.review-callout .callout-icon{width:41px;height:41px;display:grid;place-items:center;background:var(--brand-pale);color:var(--brand);border-radius:12px;flex-shrink:0}.review-callout h3{font-size:14px}.review-callout p{font-size:12px;color:#685760;margin-top:5px;max-width:750px}.review-callout .button{margin-left:auto;flex-shrink:0}.notice{background:var(--amber-pale);border:1px solid #efe0bd;color:#866423;padding:13px 16px;border-radius:9px;font-size:12px;margin-bottom:18px}.notice.info{background:#f2f6f9;border-color:#dce6ee;color:#485f6d}.notice.neutral{background:#f8f6f3;border-color:#e9e3dc;color:#665d54}.notice p+p{margin-top:7px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search-wrap{position:relative;min-width:210px}.search-wrap svg{position:absolute;left:12px;top:12px;width:17px;height:17px;color:#736860}.search-wrap input{padding-left:37px;width:100%}.toolbar input,.toolbar select{min-height:40px;font-size:12px}.result-count{font-size:11px;color:var(--muted)}.table-scroll{position:relative;overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px}.data-table th{text-align:left;font-size:10px;color:#6b625c;text-transform:uppercase;letter-spacing:.65px;font-weight:650;background:#fbfaf9;padding:13px 20px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:17px 20px;border-bottom:1px solid #f0ece9;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fdfbfa}.person-cell{display:flex;align-items:center;gap:11px;min-width:160px}.avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f4f0ed;color:#66594f;font-size:11px;font-weight:700;flex-shrink:0}.person-cell strong{font-size:12px;font-weight:650;display:block}.person-cell small{font-size:10px;color:#6b625c;display:block}.link-button{border:0;padding:0;background:transparent;text-align:left;color:var(--ink);font:inherit;cursor:pointer}.link-button:hover{color:var(--brand)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.3;padding:5px 8px;border-radius:6px;white-space:nowrap;background:#f3f0ec;color:#685d55;font-weight:600}.badge.pending,.badge.unreviewed{background:var(--amber-pale);color:var(--amber)}.badge.approved,.badge.active{background:var(--green-pale);color:var(--green)}.badge.rejected{background:#fff0f1;color:#a4525b}.badge.cancelled,.badge.inactive{background:#f0f0f0;color:#665f59}.badge.burgundy{color:var(--brand);background:var(--brand-pale)}.unset{color:#6b625c;font-size:11px}.balance-pair{display:flex;flex-direction:column;gap:3px;min-width:90px;font-size:11px}.balance-pair span{color:#6b625c}.balance-pair strong{color:var(--ink);font-weight:600}.row-actions{display:flex;gap:6px;justify-content:flex-end}.page-note{font-size:11px;color:#6b625c;padding:13px 21px;background:#fbfaf9;border-top:1px solid var(--line)}.request-list{list-style:none;margin:0;padding:0}.request-list li{display:flex;align-items:center;gap:13px;padding:18px 23px;border-bottom:1px solid #f0ece9}.request-list li:last-child{border:0}.request-list .list-content{flex:1;min-width:0}.list-content strong{font-size:12px;font-weight:650;display:block}.list-content small{display:block;color:#6b625c;font-size:10px;margin-top:3px}.date-tile{border:1px solid #eee4de;border-radius:9px;text-align:center;width:46px;padding:5px;color:#786860;flex-shrink:0;background:#fdfbf9}.date-tile strong{font-size:17px;display:block;line-height:1.2;color:var(--ink)}.date-tile small{font-size:9px;text-transform:uppercase;letter-spacing:.5px}.section-spacer{margin-top:24px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;border-bottom:1px solid var(--line)}.calendar-controls{display:flex;gap:7px;align-items:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekday{font-size:10px;font-weight:650;letter-spacing:.6px;text-align:center;padding:12px 5px;color:#6b625c;text-transform:uppercase;background:#fbfaf9;border-bottom:1px solid var(--line)}.calendar-day{border-right:1px solid #eee9e5;border-bottom:1px solid #eee9e5;min-height:120px;padding:9px;overflow:hidden}.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{background:#faf9f7;color:#756a61}.calendar-day.weekend:not(.outside){background:#fdfbf9}.day-number{font-size:11px;display:grid;place-items:center;width:25px;height:25px;margin-bottom:5px}.day-number.today{border-radius:50%;background:var(--brand);color:white}.calendar-leave{border:0;text-align:left;background:var(--brand-pale);color:var(--brand);border-left:3px solid var(--brand);border-radius:4px;display:block;width:100%;padding:4px 5px;font-size:10px;margin:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-leave:hover{background:#f8dfe8}.calendar-leave.other{border-color:#819d90;background:#f0f5f2;color:#38604d}.calendar-holiday{font-size:9px;color:#775719;margin:4px 0;overflow:hidden;text-overflow:ellipsis}.calendar-legend{display:flex;gap:21px;align-items:center;padding:15px 22px;font-size:10px;color:#6b625c}.legend-dot{display:inline-block;width:8px;height:8px;background:var(--brand);border-radius:2px;margin-right:6px}.legend-dot.other{background:#819d90}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:23px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid .full{grid-column:1/-1}label,.field-label{display:block;font-size:11px;font-weight:650;color:#74675f}label input,label select,label textarea{margin-top:7px}input,select,textarea{border:1px solid #96897f;border-radius:7px;min-height:43px;padding:10px 12px;background:white;color:var(--ink);max-width:100%;width:100%;transition:border-color .15s}input:hover,select:hover,textarea:hover{border-color:#86756a}input:focus,select:focus,textarea:focus{border-color:var(--brand)}input::placeholder,textarea::placeholder{color:#73675f}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:16px;min-height:16px;height:16px;accent-color:var(--brand);margin:0;flex-shrink:0}input[type=number]{font-variant-numeric:tabular-nums}.field-hint{font-size:10px;color:#6b625c;margin-top:6px;font-weight:400}.check-label{display:flex;align-items:center;gap:9px;color:#776a62;font-weight:500;min-height:33px}.check-label input{margin-top:0}.schedule-picker{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.day-check{border:1px solid #e6ddd6;border-radius:7px;display:flex;align-items:center;gap:6px;padding:9px 8px;font-size:10px;color:#68584f;font-weight:500}.form-section-title{border-bottom:1px solid var(--line);padding-bottom:10px;margin:23px 0 17px;font-size:13px}.form-section-title:first-child{margin-top:0}.form-error{background:#fff0f2;color:#a13750;border:1px solid #f0c9d2;border-radius:7px;padding:11px 14px;font-size:12px;margin:0 0 17px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:23px;margin-top:22px;border-top:1px solid var(--line)}.form-actions .left-action{margin-right:auto}.holiday-row{display:grid;grid-template-columns:140px minmax(0,1fr) 34px;gap:8px;margin-bottom:9px;align-items:center}.holiday-row input{font-size:11px;min-height:37px;padding:7px 9px}.holiday-row .icon-button{width:33px;height:33px;color:#685e54}.holiday-list{max-height:295px;overflow-y:auto;margin-bottom:13px}.settings-card p{font-size:12px;color:var(--muted);margin:0 0 18px}.settings-card .button+.button{margin-left:5px}.settings-card .check-label{margin:10px 0}.settings-card label+label{margin-top:15px}.settings-card hr{border:0;border-top:1px solid var(--line);margin:22px 0}.settings-card .form-actions{margin-top:15px;padding-top:15px}.key-value-list{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:12px;margin:20px 0}.key-value-list dt{color:#6b625c}.key-value-list dd{margin:0;font-weight:600}.account-list{margin:0;padding:0;list-style:none}.account-list li{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eee8e3}.account-list li:last-child{border:0}.account-list .list-content{flex:1}.account-list small{font-size:10px}.inline-actions{display:flex;gap:8px;flex-wrap:wrap}.audit-table td{vertical-align:top}.audit-details{font-size:10px;max-width:400px;color:#6b625c;white-space:normal;overflow-wrap:anywhere}.toast-region{position:fixed;right:24px;bottom:23px;z-index:150;pointer-events:none;max-width:420px}.toast{background:var(--ink);color:white;border-radius:10px;padding:14px 19px;font-size:12px;box-shadow:0 8px 25px #0002;border-left:4px solid #80ac90;animation:toast-in .15s ease}.toast.error{border-left-color:#ed88a5}.toast-region:empty{display:none}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}dialog{border:1px solid #e5d9d2;border-radius:17px;padding:0;width:min(740px,calc(100vw - 36px));max-height:calc(100vh - 44px);background:white;color:var(--ink);box-shadow:0 30px 80px #2e2a2833}dialog::backdrop{background:#2e2a2860;backdrop-filter:blur(3px)}dialog .dialog-header{padding:24px 28px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:15px}dialog .dialog-header p{font-size:12px;color:var(--muted);margin-top:5px}dialog .dialog-body{padding:23px 28px 27px}dialog h2{font-size:23px}dialog.wide-dialog{width:min(880px,calc(100vw - 36px))}dialog .close-dialog{border:0;background:#f7f4f1;border-radius:7px;color:#685d55;height:32px;width:32px;font-size:20px;flex-shrink:0}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:24px}.detail-grid dt{font-size:10px;color:#6b625c;margin-bottom:5px}.detail-grid dd{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.detail-grid .full{grid-column:1/-1}.detail-grid .notes{font-size:12px;font-weight:400;white-space:pre-wrap}.decision-panel{padding:18px;background:#faf7f5;border:1px solid #ece3dc;border-radius:10px}.decision-panel h3{font-size:13px;margin-bottom:9px}.decision-panel .inline-actions{margin-top:13px}.private-warning{background:#f4f1ee;border:1px solid #e7ddd5;color:#68584f;font-size:11px;padding:13px 16px;border-radius:8px;margin-bottom:20px}.source-card{border:1px solid #e6ddd5;border-radius:8px;margin:9px 0;padding:12px;background:#fcfaf8}.source-card .candidate-meta{display:flex;gap:8px;align-items:center;justify-content:space-between}.source-card strong{font-size:11px}.source-card p{font-size:11px;color:#66594f;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:5px}.source-card .source-path{font-size:9px;color:#6b625c;max-height:75px;overflow:auto}.candidate-value{font-family:inherit;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;color:#655347;background:#f2ece7;padding:8px;border-radius:5px}.source-list{max-height:350px;overflow-y:auto}.bank-row{border:1px solid #e8dfd7;background:#fdfbf9;border-radius:8px;padding:15px;margin:12px 0}.bank-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;font-size:11px;color:#685e54}.private-readonly{border:1px solid var(--line);border-radius:8px;padding:12px 14px;background:#fcfaf8;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin-top:6px;min-height:42px}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#2e2a28;color:white;min-height:100vh;padding:44px 10%;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;bottom:-210px;left:-70px;width:580px;height:580px;border:1px solid #ffffff09;border-radius:50%;pointer-events:none}.login-story .brand-mark{color:#f4becf;border-color:#84616c}.login-story .brand-lockup{font-size:18px}.login-story-copy{margin:auto 0;position:relative;z-index:1}.login-story-copy .eyebrow{color:#d3a3b3;margin-bottom:22px}.login-story-copy h1{font-size:clamp(28px,3vw,47px);line-height:1.3;letter-spacing:-1.4px;font-weight:650}.login-story-copy p{color:#baaca7;font-size:14px;max-width:380px;margin-top:24px}.login-local{font-size:11px;color:#ac9d98;display:flex;gap:9px;align-items:center}.login-panel{display:grid;place-items:center;padding:40px;background:var(--canvas)}.login-card{max-width:360px;width:100%}.login-card .eyebrow{margin-bottom:11px}.login-card h2{font-size:31px}.login-card>.muted{font-size:12px;margin:11px 0 30px}.login-card label{margin:18px 0}.login-card input{background:white;min-height:47px}.login-card .button{margin-top:8px;min-height:47px}.login-card .button span{margin-left:auto;font-size:19px}.login-note{margin-top:28px;font-size:11px;line-height:1.75;color:#6b625c}.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.stack-gap{display:grid;gap:14px}.short-divider{width:25px;height:3px;background:var(--brand);border-radius:2px;margin-bottom:20px}.ledger-table{font-size:11px}.ledger-table td,.ledger-table th{padding:10px 12px}.tab-strip{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:0 0 22px;padding-bottom:9px}.tab-strip .button{border:0;background:transparent;color:#6b625c}.tab-strip .button.active{background:var(--brand-pale);color:var(--brand)}.view-error{padding:30px;background:white;border:1px solid var(--line);border-radius:14px}.view-error p{margin:10px 0 20px;color:var(--muted)}
svg{width:18px;height:18px;vertical-align:middle;flex-shrink:0}.private-warning svg{width:14px;height:14px;margin-right:5px;vertical-align:-2px}.card-header>svg{color:#786a60}body:has(dialog[open]){overflow:hidden}.sidebar nav{scrollbar-width:thin;scrollbar-color:#dfd0d5 transparent}.sidebar nav::-webkit-scrollbar{height:3px}.sidebar nav::-webkit-scrollbar-thumb{background:#e6dce0;border-radius:20px}
@media(min-width:1600px){.dashboard-grid{grid-template-columns:1.4fr 1fr}main{padding-top:38px}.stat-card{padding:26px}}
@media(max-width:1150px){.sidebar{width:205px;padding:25px 13px}.main-shell{margin-left:205px}.sidebar .brand-lockup{font-size:13px;gap:9px}.sidebar .brand-mark{width:38px;height:38px}.sidebar .brand-lockup small{font-size:8px}.topbar{padding:0 26px}.storage-banner{padding:10px 26px}main{padding:27px 26px 40px}.page-footer{padding:16px 26px}.stats-grid{gap:12px}.stat-card{padding:19px 16px}.stat-card.accent{padding-top:17px}.dashboard-grid,.settings-grid{grid-template-columns:1fr}.card-stack{grid-template-columns:1fr 1fr}.dashboard-grid>.card-stack{align-items:start}.storage-help{display:none}.calendar-day{min-height:105px;padding:6px}.data-table td,.data-table th{padding-left:15px;padding-right:15px}}
@media(max-width:780px){.sidebar{position:static;width:100%;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand-lockup{padding:0;font-size:13px}.sidebar .brand-mark{width:35px;height:35px;border-radius:10px}.workspace-label,.sidebar-footer{display:none}.sidebar nav{flex-direction:row;overflow:auto;gap:4px;padding:16px 0 10px;margin:0 -6px}.nav-link{width:auto;white-space:nowrap;padding:8px 10px;gap:7px;font-size:11px;min-height:39px}.nav-link svg{width:15px;height:15px}.nav-count{display:none}.app-shell{display:block}.main-shell{margin-left:0}.topbar{height:59px;padding:0 22px}.topbar-company{font-size:10px;gap:5px}.topbar-actions{gap:12px}.topbar-actions .icon-button{width:31px;height:31px}.user-info strong{font-size:10px;max-width:100px}.user-info small{font-size:9px}.topbar .text-button{font-size:10px}.storage-banner{padding:9px 22px;font-size:10px}main{padding:25px 22px 35px}.page-heading{margin-bottom:23px;flex-wrap:wrap}.heading-actions{padding-top:0}h1{font-size:28px}.page-heading p{font-size:12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stat-card{padding:17px 16px}.stat-value{font-size:29px;margin:10px 0 6px}.stat-card.accent{padding-top:15px}.review-callout{padding:18px;align-items:flex-start;gap:12px;flex-wrap:wrap}.review-callout .callout-icon{display:none}.review-callout .button{margin-left:0}.card-stack{grid-template-columns:1fr}.toolbar{padding:15px;gap:13px}.toolbar-controls{width:100%;align-items:stretch}.search-wrap{flex:1;min-width:170px}.toolbar select{max-width:170px}.result-count{width:100%}.card-header{padding:18px 19px}.card-body{padding:20px}.page-footer{padding:15px 22px;display:block}.page-footer span{display:block;margin-top:3px}.calendar-day{min-height:91px;padding:3px}.calendar-leave{font-size:8px;padding:3px;border-left-width:2px;margin:3px 0}.calendar-holiday{font-size:8px}.day-number{width:21px;height:21px;font-size:10px}.calendar-toolbar{padding:16px}.calendar-toolbar h2{font-size:18px}.calendar-weekday{font-size:8px;padding:10px 0}.calendar-legend{font-size:9px;padding:14px 16px;flex-wrap:wrap;gap:10px}.login-screen{grid-template-columns:1fr}.login-story{min-height:unset;padding:24px 28px}.login-story-copy{margin:35px 0 15px}.login-story-copy h1{font-size:27px;line-height:1.3}.login-story-copy p,.login-local{display:none}.login-story .brand-mark{width:34px;height:34px;font-size:17px}.login-story .brand-lockup{font-size:12px}.login-story-copy .eyebrow{margin-bottom:12px;font-size:9px}.login-panel{padding:35px 26px}.login-card h2{font-size:26px}.login-card>.muted{margin-bottom:22px}dialog .dialog-header{padding:22px 20px 17px}dialog .dialog-body{padding:20px}dialog h2{font-size:21px}.form-grid{gap:15px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.holiday-row{grid-template-columns:130px minmax(0,1fr) 33px}.toast-region{left:20px;right:20px;bottom:20px}.audit-table{min-width:660px}}
@media(max-width:460px){main{padding:22px 16px 32px}.topbar{padding:0 16px}.topbar-company{display:none}.topbar-actions{width:100%;justify-content:flex-end}.topbar-actions .icon-button{margin-right:auto}.storage-banner{padding:8px 16px}.sidebar{padding-left:16px;padding-right:16px}.nav-link{gap:5px;padding:8px;font-size:10px}.nav-link svg{width:14px;height:14px}.stats-grid{gap:8px}.stat-card{padding:16px 13px}.stat-top{font-size:10px}.stat-icon{width:26px;height:26px}.stat-foot{font-size:9px}.page-heading h1{font-size:26px}.heading-actions{width:100%}.heading-actions .button{width:100%}.card-header h3{font-size:14px}.card-header .button{padding:6px;font-size:10px}.review-callout p{font-size:11px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.holiday-row{grid-template-columns:minmax(0,1fr) 34px}.holiday-row>label+label{margin-top:0}.holiday-row>label:first-child{grid-column:1/-1}.calendar-controls{gap:4px}.calendar-controls .button{padding:7px;font-size:10px}.calendar-controls .icon-button{width:30px;height:32px}.calendar-day{min-height:81px}.calendar-leave{padding:2px 1px;font-size:7px;max-width:100%;min-height:16px}.calendar-holiday{display:none}.day-number{font-size:9px}.calendar-toolbar h2{font-size:16px}.detail-grid{gap:14px}.form-actions{flex-wrap:wrap}.form-actions .left-action{width:100%;margin-right:0}.page-footer{padding:13px 16px}.data-table td,.data-table th{padding-left:13px;padding-right:13px}.schedule-picker{gap:5px}.day-check{padding:8px 6px;font-size:9px}.search-wrap{min-width:100%}.toolbar select{max-width:100%;width:100%}}
.workspace-feedback{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 38px 0;padding:16px 20px;background:#fff7e7;border:1px solid #ad7930;border-radius:10px;color:#624815}.workspace-feedback strong{font-size:13px;color:#245c3c}.workspace-feedback p{font-size:12px;margin-top:4px;max-width:850px}.workspace-feedback .button{flex-shrink:0}.holiday-row>label,.form-grid>label{min-width:0}.button:not(.primary):not(.green):not(.danger),.icon-button{border-color:#978a80}.button.danger{border-color:#a6556d}.day-check{border-color:#978a80}
.record-history{margin-top:12px;font-size:11px;color:var(--ink)}.record-history summary{cursor:pointer;color:var(--brand);font-weight:600;overflow-wrap:anywhere}.record-history p{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.history-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;margin:9px 0}.history-table th,.history-table td{text-align:left;vertical-align:top;padding:10px;border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}.history-table thead{background:#f8f6f3}.history-table th{font-weight:600}.private-history-section .button{margin:12px 0 0}.private-history-section{min-width:0}
@media(max-width:780px){.workspace-feedback{margin:15px 22px 0;align-items:flex-start;flex-direction:column;gap:12px}.workspace-feedback .button{width:100%}}
@media(max-width:460px){.workspace-feedback{margin:13px 16px 0;padding:14px 16px}}
.calendar-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:780px){
  body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .sidebar{padding-top:max(18px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  main,.topbar,.storage-banner,.page-footer{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .page-footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}
  .login-panel{padding-bottom:max(35px,env(safe-area-inset-bottom))}
  input:not([type=checkbox]),select,textarea,.toolbar input,.toolbar select,.holiday-row input{font-size:16px;min-height:44px}
  button,.button,a.button,.nav-link,.button.small,.icon-button,.topbar-actions .icon-button,.calendar-controls .icon-button,.holiday-row .icon-button,dialog .close-dialog{min-width:44px;min-height:44px;height:auto;touch-action:manipulation}
  .icon-button,.topbar-actions .icon-button,.calendar-controls .icon-button,.holiday-row .icon-button,dialog .close-dialog{width:44px;height:44px}
  .nav-link,.text-button,.button{font-size:12px}.nav-link{flex-shrink:0}.sidebar nav{scroll-padding:16px;-webkit-overflow-scrolling:touch}
  .check-label,.day-check{min-height:44px;cursor:pointer}.check-label{padding:5px 0}.day-check{min-width:44px}
  .holiday-row{grid-template-columns:130px minmax(0,1fr) 44px}.search-wrap svg{top:14px}
  .calendar-toolbar{flex-wrap:wrap}.calendar-grid{min-width:420px}.calendar-leave{min-height:44px;font-size:11px}.calendar-day{padding:6px}.calendar-controls{gap:8px}
  .record-history summary{min-height:44px;padding:12px 0}
  dialog,dialog.wide-dialog{position:fixed;top:var(--visual-viewport-top,0px);bottom:auto;margin:16px auto;margin-top:max(16px,env(safe-area-inset-top));max-height:calc(100vh - 32px);max-height:calc(var(--visual-viewport-height,100dvh) - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));width:calc(100vw - max(16px,env(safe-area-inset-left)) - max(16px,env(safe-area-inset-right)));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .toast-region{bottom:max(20px,env(safe-area-inset-bottom))}
}
@media(max-width:460px){.holiday-row{grid-template-columns:minmax(0,1fr) 44px}.topbar{height:65px}.calendar-toolbar h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.sync-summary{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere}.sync-summary strong{font-size:12px;font-weight:650}.sync-summary span,.sync-summary small{font-size:11px}.storage-banner .button{flex-shrink:0}.storage-banner.sync-attention,.storage-banner.sync-paused{background:#fff7e7;border-bottom-color:#ad7930;color:#624815}.storage-banner.sync-attention .local-dot,.storage-banner.sync-paused .local-dot{background:#866423}.workspace-feedback.queued strong{color:#624815}.sync-error{overflow-wrap:anywhere;white-space:pre-wrap}.sync-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}.sync-reference{display:block;font-size:10px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.sync-table{min-width:560px}.sync-table td:last-child{max-width:260px;overflow-wrap:anywhere;white-space:pre-wrap}.badge.sync-connected{background:#f2f6f9;color:#485f6d}.settings-card .card-body>.button{margin-top:12px}
@media(max-width:780px){.storage-banner:has(.sync-summary){align-items:flex-start;flex-wrap:wrap;gap:10px}.storage-banner:has(.sync-summary)>.local-dot{margin-top:6px}.storage-banner:has(.sync-summary)>.button{margin-left:17px}.sync-summary strong{font-size:12px}.sync-summary small{font-size:11px}.sync-actions{width:100%;flex-direction:column}.sync-actions .button{width:100%}}
.install-entry{white-space:normal}.login-card .install-entry{margin-top:18px;width:100%}.page-footer{align-items:center;flex-wrap:wrap}.page-footer .install-entry{font-size:11px}.install-guide{display:grid;gap:22px}.install-guide p,.install-guide li{font-size:13px;color:var(--muted);line-height:1.65}.install-guide h3{margin-bottom:8px}.install-guide ol{padding-left:22px;margin:0}.install-guide li+li{margin-top:8px}.install-guide .notice{margin-bottom:0}
.brand-lockup small{font-size:9px;letter-spacing:.2px;text-transform:none;font-weight:500}.brand-mark{color:#24734b;border-color:#24734b}
@media(max-width:780px){.page-footer .install-entry{margin-top:12px;margin-bottom:8px;display:flex;max-width:100%;width:100%}}
