@import "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap";
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f2ed;--bg-1:#f7efe5;--bg-2:#f3f2ed;--bg-3:#ece7de;--ink:#1f2421;--accent:#c95f2d;--accent-dark:#8f3f1c;--card:#fff;--surface:#fff;--surface-alt:#fff5ec;--surface-muted:#1f24210a;--surface-muted-2:#1f242108;--border:#1f24211f;--border-strong:#1f242133;--text-muted:#1f242199;--text-muted-2:#1f242180;--status-pending-bg:#c95f2d26;--status-pending-text:#8f3f1c;--status-approved-bg:#1e783c26;--status-approved-text:#1e783c;--status-declined-bg:#9b1c0e26;--status-declined-text:#9b1c0e;--status-cancelled-bg:#6b728026;--status-cancelled-text:#6b7280;--overlay:#1414144d;--range-bg:#00f;--range-text:#fff;--range-strong:#00f;--shadow:0 12px 30px #1f242114}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1110;--bg-1:#161b19;--bg-2:#0f1412;--bg-3:#0b0f0d;--ink:#eef2ed;--accent:#d96c36;--accent-dark:#f2a074;--card:#171c1a;--surface:#171c1a;--surface-alt:#1d2320;--surface-muted:#ffffff0f;--surface-muted-2:#ffffff0d;--border:#ffffff1f;--border-strong:#fff3;--text-muted:#eef2edb3;--text-muted-2:#eef2ed8c;--status-pending-bg:#d96c3633;--status-pending-text:#f2a074;--status-approved-bg:#38a96b38;--status-approved-text:#7fe0a6;--status-declined-bg:#dd564433;--status-declined-text:#ff9b8b;--status-cancelled-bg:#94a3b833;--status-cancelled-text:#cbd5f5;--overlay:#0000008c;--range-bg:#00f;--range-text:#fff;--range-strong:#00f;--shadow:0 16px 30px #00000059}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f2ed;--bg-1:#f7efe5;--bg-2:#f3f2ed;--bg-3:#ece7de;--ink:#1f2421;--accent:#c95f2d;--accent-dark:#8f3f1c;--card:#fff;--surface:#fff;--surface-alt:#fff5ec;--surface-muted:#1f24210a;--surface-muted-2:#1f242108;--border:#1f24211f;--border-strong:#1f242133;--text-muted:#1f242199;--text-muted-2:#1f242180;--status-pending-bg:#c95f2d26;--status-pending-text:#8f3f1c;--status-approved-bg:#1e783c26;--status-approved-text:#1e783c;--status-declined-bg:#9b1c0e26;--status-declined-text:#9b1c0e;--status-cancelled-bg:#6b728026;--status-cancelled-text:#6b7280;--overlay:#1414144d;--range-bg:#00f;--range-text:#fff;--range-strong:#00f;--shadow:0 12px 30px #1f242114}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1110;--bg-1:#161b19;--bg-2:#0f1412;--bg-3:#0b0f0d;--ink:#eef2ed;--accent:#d96c36;--accent-dark:#f2a074;--card:#171c1a;--surface:#171c1a;--surface-alt:#1d2320;--surface-muted:#ffffff0f;--surface-muted-2:#ffffff0d;--border:#ffffff1f;--border-strong:#fff3;--text-muted:#eef2edb3;--text-muted-2:#eef2ed8c;--status-pending-bg:#d96c3633;--status-pending-text:#f2a074;--status-approved-bg:#38a96b38;--status-approved-text:#7fe0a6;--status-declined-bg:#dd564433;--status-declined-text:#ff9b8b;--status-cancelled-bg:#94a3b833;--status-cancelled-text:#cbd5f5;--overlay:#0000008c;--range-bg:#00f;--range-text:#fff;--range-strong:#00f;--shadow:0 16px 30px #00000059}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{background:var(--bg)}body{background:radial-gradient(circle at top left,var(--bg-1)0%,var(--bg-2)60%,var(--bg-3)100%);color:var(--ink);min-height:100vh;font-family:Space Grotesk,Segoe UI,Helvetica Neue,Arial,sans-serif}.container{max-width:1100px;margin:0 auto;padding:2.5rem 1.5rem 3.5rem}.page-shell{position:relative}.hero{gap:1.25rem;margin-bottom:1.75rem;display:grid}.brand{align-items:center;gap:.9rem;display:inline-flex}.logo{object-fit:contain;filter:drop-shadow(0 8px 12px #1f242147)drop-shadow(0 2px 3px #1f242152);width:92px;height:92px}.brand-title{color:var(--ink);font-size:clamp(1.8rem,3vw,2.6rem);font-weight:700}.grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;display:grid}.calendar-header{grid-template-columns:1fr auto auto;align-items:center;gap:1.25rem;display:grid}.calendar-controls{flex-direction:column;align-items:flex-end;gap:.35rem;display:flex}.calendar-legend{flex-direction:column;align-items:flex-start;gap:.45rem;padding-right:4rem;display:flex}.calendar-legend-item{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.85rem;font-weight:600;display:inline-flex}.calendar-legend-bar{background:#6d28d9;border-radius:999px;width:46px;height:12px;display:inline-block}.calendar-legend-bar.pending{background:repeating-linear-gradient(45deg,#ffffff59,#ffffff59 4px,#0000 4px 8px),#6d28d9}.calendar-month{color:var(--ink);font-weight:700}.calendar-nav-group{gap:.35rem;display:inline-flex}.calendar-nav{border:1px solid var(--border);background:var(--surface-muted);height:30px;color:var(--ink);border-radius:999px;padding:0 .6rem;font-size:.7rem;font-weight:600}.calendar-grid{--calendar-gap:.75rem;--calendar-cell-width:calc((100% - (6*var(--calendar-gap)))/7);gap:var(--calendar-gap);margin-top:1.25rem;display:grid}.calendar-day-row{grid-template-columns:repeat(7,var(--calendar-cell-width));gap:var(--calendar-gap);width:100%;display:grid}.calendar-day-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);text-align:center;font-size:.75rem}.calendar-week{--calendar-bar-offset:34px;--calendar-bar-height:18px;--calendar-bar-gap:6px;box-sizing:border-box;width:100%;position:relative}.calendar-week-cells{grid-template-columns:repeat(7,var(--calendar-cell-width));gap:var(--calendar-gap);width:100%;display:grid}.calendar-cell{background:var(--surface-muted);border:1px solid var(--border);border-radius:16px;gap:.4rem;min-height:116px;padding:.6rem;display:grid;position:relative}.calendar-cell.calendar-weekend{background:color-mix(in srgb,var(--surface-muted)85%,#1b2731 15%)}.calendar-cell.calendar-holiday{border-color:#3b82f699;box-shadow:inset 0 0 0 1px #3b82f640}.calendar-cell.calendar-anniversary{border-color:#eab30899;box-shadow:inset 0 0 0 1px #eab30840}.calendar-muted{opacity:.55;border-color:#ffffff14}.calendar-cell-holiday.calendar-muted:hover .calendar-holiday-tooltip{opacity:1}.calendar-date{color:var(--ink);width:fit-content;font-size:.9rem;font-weight:700;position:relative}.calendar-holiday-tooltip{color:#fff;white-space:nowrap;box-shadow:var(--shadow);opacity:0;pointer-events:none;z-index:10;background:#d46a1f;border:1px solid #b85616;border-radius:10px;padding:.35rem .5rem;font-size:.72rem;transition:opacity .2s;position:absolute;top:-10px;left:50%;transform:translate(-50%,-100%)}.calendar-cell-holiday:hover .calendar-holiday-tooltip{opacity:1}.calendar-more{color:var(--text-muted);cursor:pointer;text-align:right;background:0 0;border:none;padding:0;font-size:.7rem;font-weight:600;position:absolute;top:.45rem;right:.55rem}.calendar-week-bars{pointer-events:none;position:absolute;inset:0}.calendar-week.expanded .calendar-week-cells{min-height:calc(116px + var(--expanded-extra,0px))}.calendar-bar{background:var(--badge-color);color:#fff;pointer-events:auto;cursor:pointer;border-radius:999px;align-items:center;gap:.35rem;height:18px;padding:0 2px;font-size:.6rem;font-weight:700;display:flex;position:absolute;overflow:visible}.team-calendar-popover{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);z-index:40;border-radius:12px;gap:.25rem;min-width:200px;padding:.6rem .75rem;display:grid;position:absolute;transform:translate(-50%,calc(-100% - 12px))}.team-calendar-popover:before{content:"";border-style:solid;border-width:8px 8px 0;border-color:var(--border)transparent transparent;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.team-calendar-popover:after{content:"";border-style:solid;border-width:7px 7px 0;border-color:var(--surface)transparent transparent;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)}.team-calendar-popover strong{color:var(--ink);font-size:.9rem}.team-calendar-popover span{color:var(--text-muted);font-size:.75rem}.calendar-bar.pending{background:repeating-linear-gradient(45deg,#ffffff40,#ffffff40 4px,transparent 4px,transparent 8px),var(--badge-color)}.calendar-weekend-day .rdp-day_button{color:#687683}.calendar-holiday-day .rdp-day_button{background:#3b82f626;border-radius:999px}.calendar-anniversary-day .rdp-day_button{background:#eab30826;border-radius:999px}.calendar-pill{background:var(--badge-color);color:#fff;border:1px solid #ffffffa6;border-radius:999px;place-items:center;width:20px;height:20px;font-size:.6rem;font-weight:700;display:grid}.calendar-pill.start{margin-left:0;transform:translate(-2px)}.calendar-pill.end{margin-left:auto;margin-right:0;transform:translate(2px)}.calendar-pill.half.am{background:linear-gradient(90deg,var(--badge-color)50%,transparent 50%)}.calendar-pill.half.pm{background:linear-gradient(90deg,transparent 50%,var(--badge-color)50%)}.auth-card{background:linear-gradient(135deg,var(--surface-alt)0%,var(--surface)60%);box-shadow:var(--shadow);border:1px solid #c95f2d33;border-radius:20px;gap:1.25rem;margin-bottom:2.5rem;padding:1.75rem;display:grid}.auth-card h2{margin-bottom:.35rem}.auth-actions{flex-wrap:wrap;gap:.75rem;display:flex}button{cursor:pointer;border:none;border-radius:999px;padding:.7rem 1.4rem;font-family:inherit;font-weight:600;transition:transform .2s,box-shadow .2s}button.primary{background:var(--accent);color:#fff;box-shadow:0 8px 16px #c95f2d40}button.primary.is-disabled,button.primary:disabled{opacity:.55;box-shadow:none;cursor:not-allowed}button.secondary{color:#fff;background:#1e783c;box-shadow:0 8px 16px #1e783c40}button.ghost{border:1px solid var(--border-strong);background:0 0}button.ghost.is-disabled,button.ghost:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}button:hover{transform:translateY(-2px)}.tab:hover,.history-tabs button:hover,.profile-tabs button:hover{transform:none}.profile{background:var(--surface-muted);border-radius:12px;justify-content:space-between;align-items:center;padding:.75rem 1rem;font-size:.95rem;display:flex}.profile span{color:var(--text-muted);display:block}.role-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem;display:grid}.role-button{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:16px;gap:.4rem;padding:1rem 1.2rem;display:grid;box-shadow:0 10px 18px #1f242114}.role-button span{font-size:1.05rem;font-weight:600}.role-button em{color:var(--text-muted);font-size:.9rem;font-style:normal}.error{color:#9b1c0e;font-weight:600}.notice{color:var(--accent);font-weight:600}.toast{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);z-index:30;border-radius:12px;padding:.75rem 1rem;animation:5s forwards toast-fade;position:fixed;bottom:24px;right:24px}.banner{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:12px;margin:.75rem 0 1rem;padding:.75rem 1rem}@keyframes toast-fade{0%{opacity:0;transform:translateY(8px)}10%{opacity:1;transform:translateY(0)}80%{opacity:1}to{opacity:0;transform:translateY(6px)}}.leave-panel{background:var(--surface);box-shadow:var(--shadow);border:1px solid #1f242114;border-radius:20px;gap:1.5rem;margin:.75rem 0 2rem;padding:2rem;display:grid;position:relative}.leave-panel header{gap:.4rem;display:grid}.leave-panel header p{color:var(--text-muted)}.payroll-panel{gap:1.5rem}.payroll-tabs{background:var(--surface-alt);border:1px solid var(--border);border-radius:999px;gap:.4rem;width:fit-content;padding:.35rem;display:inline-flex}.payroll-tabs button{color:var(--text-muted);box-shadow:none;background:0 0;border-radius:999px;padding:.4rem 1rem;font-size:.85rem;font-weight:600}.payroll-tabs button.active{background:var(--accent);color:#fff;box-shadow:0 6px 14px #c95f2d33}.payroll-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:inline-flex}.history-filters .payroll-actions{place-self:end}.payroll-select-all{color:var(--text-muted);justify-content:center;align-items:center;gap:.4rem;font-size:.8rem;display:inline-flex}.payroll-select-all input{width:16px;height:16px}.payroll-table{gap:.55rem;display:grid}.payroll-header-row,.payroll-row.compact{grid-template-columns:26px minmax(38px,54px) minmax(120px,1.1fr) minmax(180px,1.6fr) minmax(90px,.9fr) minmax(90px,.9fr) minmax(70px,.7fr) minmax(70px,.7fr) 110px;align-items:center;gap:.45rem;display:grid}.payroll-header-row{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:0 .75rem;font-size:.75rem;font-weight:700}.payroll-sort{color:inherit;box-shadow:none;text-align:left;white-space:nowrap;background:0 0;border-radius:0;min-width:0;padding:0}.payroll-row.compact{border:1px solid var(--border);background:var(--surface-alt);box-shadow:var(--shadow);cursor:pointer;border-radius:14px;padding:.65rem .75rem}.payroll-row.compact span{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.85rem;overflow:hidden}.payroll-row.compact:focus-visible{outline-offset:2px;outline:2px solid #c95f2d80}.payroll-row.compact .payroll-select{justify-content:center;display:flex}.payroll-row.compact .payroll-select input{width:16px;height:16px}.payroll-row.compact .status-action{justify-self:end;padding:.35rem .9rem;font-size:.78rem}.status-tag.processed{color:#fff;background:#1e783c;border-radius:999px;justify-self:end;align-items:center;padding:.3rem .8rem;font-size:.78rem;font-weight:600;display:inline-flex}.payroll-row.compact.expanded{align-items:start}.payroll-detail-panel{border-top:1px solid var(--border);cursor:default;grid-column:2/-1;gap:.5rem;margin-top:.35rem;padding:.5rem 0;display:grid}.payroll-detail-row{grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:.4rem .8rem;font-size:.85rem;display:grid}.payroll-detail-row .label{color:var(--text-muted);font-weight:600}.payroll-detail-row .value{color:var(--ink)}.payroll-override-inline{flex-wrap:wrap;align-items:center;gap:.5rem;display:inline-flex}.payroll-override-inline input{border:1px solid var(--border-strong);background:var(--surface);width:80px;color:var(--ink);border-radius:8px;padding:.3rem .45rem;font-family:inherit}.payroll-detail-panel textarea.is-disabled,.payroll-override-inline input:disabled{opacity:.6;cursor:not-allowed}.payroll-detail-note{gap:.25rem;font-size:.85rem;display:grid}.payroll-detail-panel textarea{border:1px solid var(--border-strong);background:var(--surface);min-height:60px;color:var(--ink);border-radius:12px;padding:.5rem .65rem;font-family:inherit}.payroll-select input{width:18px;height:18px}.payroll-main{gap:.8rem;display:grid}.payroll-header{flex-wrap:wrap;align-items:center;gap:.6rem 1rem;font-size:.9rem;display:flex}.payroll-header span{color:var(--text-muted);font-size:.85rem}.payroll-detail{flex-wrap:wrap;gap:.6rem 1.5rem;font-size:.9rem;display:flex}.payroll-detail span{color:var(--text-muted)}.payroll-metrics{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.payroll-metrics div{gap:.25rem;font-size:.85rem;display:grid}.payroll-note{gap:.75rem;display:grid}.payroll-note label{gap:.4rem;font-size:.85rem;font-weight:600;display:grid}.payroll-note textarea{border:1px solid var(--border-strong);background:var(--surface);min-height:80px;color:var(--ink);resize:vertical;border-radius:12px;padding:.6rem .7rem;font-family:inherit}.payroll-overrides{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.payroll-overrides label{gap:.3rem;font-size:.8rem;font-weight:600;display:grid}.payroll-overrides input{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:10px;min-width:110px;padding:.4rem .6rem}.leave-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:.75rem;display:grid}.excluded-hint{color:var(--text-muted);margin:-.4rem 0 0;font-size:.95rem}.leave-form label{gap:.35rem;font-size:.85rem;font-weight:600;display:grid}.field-with-icon{align-items:center;gap:.5rem;display:inline-flex}.field-label{padding-left:calc(26px + .5rem)}.field-with-icon select{flex:1;min-width:0}.field-hint{color:var(--text-muted);font-size:.75rem;font-weight:500}.range-label .field-hint{text-align:center;align-self:center}.leave-form input,.leave-form select,.leave-form textarea{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:12px;padding:.55rem .65rem;font-family:inherit;font-size:.9rem}.leave-form textarea{grid-column:1/-1}.date-row{grid-column:3/-1;grid-template-columns:1fr;place-self:start;gap:.75rem;max-width:520px;margin-left:5rem;display:grid}.date-row label{gap:.35rem;font-size:.9rem;font-weight:600;display:grid}.date-row .notes-field textarea{width:100%}@media (max-width:840px){.leave-form{grid-template-columns:1fr}.date-row{grid-column:1/-1;grid-template-columns:1fr}.range-label .range-calendar{width:100%}}.range-label{gap:.35rem;font-size:.85rem;font-weight:600;display:grid;position:relative}.range-label .rdp-root{--rdp-accent-color:#00f;--rdp-accent-background-color:#0000ff29}[data-theme=dark] .range-label .rdp-root{--rdp-accent-color:#00f;--rdp-accent-background-color:#0000ff4d}.range-label .rdp-day.half-day .rdp-day_button,.range-label .rdp-day.half-day.rdp-selected .rdp-day_button{border:var(--rdp-selected-border);color:var(--rdp-accent-color);background:0 0}.range-label .rdp-day.half-day{background:0 0!important}.range-label .rdp-day.half-day.half-day-am .rdp-day_button{background:linear-gradient(90deg,var(--rdp-accent-color)0%,var(--rdp-accent-color)50%,#0000ff1f 50%,#0000ff1f 100%);color:#fff}.range-label .rdp-day.half-day.half-day-pm .rdp-day_button{background:linear-gradient(90deg,#0000ff1f 0%,#0000ff1f 50%,var(--rdp-accent-color)50%,var(--rdp-accent-color)100%);color:#fff}.date-trigger{border:1px solid var(--border-strong);background:var(--surface);white-space:nowrap;text-overflow:ellipsis;text-align:left;width:100%;color:var(--ink);border-radius:12px;justify-content:space-between;padding:.55rem .65rem;font-size:.9rem;font-weight:400;overflow:hidden}.calendar-popover{z-index:5;background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--border);border-radius:16px;max-width:90vw;padding:.75rem;position:absolute;top:calc(100% + .5rem);left:0}.calendar-inline{background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--border);border-radius:16px;width:fit-content;padding:.75rem}.calendar-actions{justify-content:space-between;margin-top:.5rem;display:flex}.calendar-options{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;font-size:.85rem;font-weight:600;display:flex}.option-group{gap:.4rem;display:flex}.option{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:999px;padding:.35rem .6rem;font-size:.8rem}.option.active{background:var(--accent);color:#fff;border-color:#0000}.range-label .rdp-day.half-day{color:var(--ink);background:conic-gradient(from 90deg,#c95f2d80 0deg 180deg,#c95f2d26 180deg 360deg)}.leave-actions{grid-column:1/-1;align-items:center;gap:.75rem;display:flex}.leave-summary{grid-column:1/-1;align-items:center;gap:.5rem;font-weight:600;display:flex}.leave-blocks ul{gap:.75rem;margin-top:.5rem;list-style:none;display:grid}.block-total{color:var(--text-muted);font-size:.9rem;font-weight:500}.leave-blocks li{background:var(--surface-muted);border-radius:12px;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.leave-blocks li span{color:var(--text-muted);margin-top:.2rem;display:block}.leave-form .checkbox{grid-column:span 1;align-items:center;gap:.5rem;font-weight:500;display:flex}.leave-form button{grid-column:1/-1;justify-self:start}.leave-list ul{gap:.75rem;margin-top:.5rem;list-style:none;display:grid}.leave-list li{background:var(--surface-muted);border-radius:12px;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.leave-list li span{color:var(--text-muted);display:block}.fine-print{color:var(--text-muted-2);font-size:.75rem}.history-filters{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.history-filters button{justify-self:start;width:auto}.history-filters label{gap:.35rem;font-size:.9rem;font-weight:600;display:grid}.history-filters input,.history-filters select{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:12px;padding:.65rem .75rem;font-family:inherit}.pagination{align-items:center;gap:.75rem;margin-top:.75rem;display:flex}.status-row{align-items:flex-start;gap:.25rem;margin-left:auto;display:inline-flex}.status-action{margin-top:0}.status-stack{justify-items:end;row-gap:.1rem;display:grid}.status-line{align-items:center;gap:.35rem;display:inline-flex}.status-meta{margin-top:.45rem}.status-meta+.status-meta{margin-top:.1rem}.icon-button{border:1px solid var(--border-strong);background:var(--surface);border-radius:50%;width:26px;height:26px;padding:0;font-weight:700}.link-button{color:var(--accent-dark);cursor:pointer;background:0 0;border:none;padding:0;font-weight:600}.modal-body textarea{border:1px solid var(--border-strong);background:var(--surface);width:100%;color:var(--ink);border-radius:12px;padding:.6rem .7rem;font-family:inherit}.toggle-switch{background:var(--surface-muted);box-sizing:border-box;width:200px;box-shadow:0 0 0 1px var(--border);border:0;border-radius:999px;align-items:center;padding:0;line-height:30px;display:grid;position:relative;height:30px!important;min-height:30px!important}.toggle-indicator{-webkit-backdrop-filter:blur(6px)saturate(135%);backdrop-filter:blur(6px)saturate(135%);background:#ffffff38;border:1px solid #ffffff7a;border-radius:999px;height:calc(100% - 2px);transition:transform .2s;position:absolute;top:1px;left:1px;overflow:hidden;box-shadow:0 8px 18px #c95f2d40,inset 0 1px #fff9}.toggle-switch button{height:100%;color:var(--text-muted);box-shadow:none;z-index:1;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;font-size:.7rem;font-weight:600;transition:none;display:flex;position:relative}.toggle-switch button.active{color:var(--ink)}.toggle-switch button:hover{transform:none}.theme-toggle-switch{grid-template-columns:repeat(3,1fr)}.theme-toggle-switch .theme-indicator{width:calc(33.3333% - .666667px)}.theme-toggle-switch[data-value=dark] .theme-indicator{transform:translate(100%)}.theme-toggle-switch[data-value=light] .theme-indicator{transform:translate(200%)}.status-filter{grid-template-columns:repeat(3,1fr)}.status-filter .toggle-indicator{width:calc(33.3333% - .666667px)}.status-filter[data-value=processed] .toggle-indicator{transform:translate(100%)}.status-filter[data-value=all] .toggle-indicator{transform:translate(200%)}.modal-body label{gap:.35rem;font-size:.85rem;font-weight:600;display:grid}.modal-body select,.modal-body input[type=text]{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:12px;padding:.6rem .7rem;font-family:inherit}.time-settings{gap:.6rem;display:grid}.time-settings strong{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:.8rem}.time-grid{grid-template-columns:repeat(2,max-content);align-items:start;gap:.5rem;display:grid}.time-grid .MuiInputBase-root,.time-grid .MuiPickersInputBase-root,.time-grid .MuiPickersInputBase-sectionsContainer{flex-wrap:nowrap}.time-grid .MuiInputAdornment-root{margin-left:auto}@media (max-width:700px){.time-grid{grid-template-columns:1fr}}.time-grid input{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:12px;padding:.3rem .5rem;font-family:inherit}.status{text-transform:uppercase;border-radius:999px;padding:.25rem .7rem;font-size:.75rem;font-weight:700}.status-action{padding:.25rem .7rem;font-size:.75rem;font-weight:700}.block-actions{justify-content:flex-end;width:100%;margin-left:auto}.status-action.danger{color:#fff;background:#8b1e1e;border:1px solid #0000}.status-action.is-disabled,.status-action:disabled{cursor:not-allowed;opacity:.6}.status-action.danger.is-disabled,.status-action.danger:disabled{color:#f3dede;background:#6a1d1d}.status-pending{background:var(--status-pending-bg);color:var(--status-pending-text)}.status-approved{background:var(--status-approved-bg);color:var(--status-approved-text)}.status-declined{background:var(--status-declined-bg);color:var(--status-declined-text)}.status-cancelled{background:var(--status-cancelled-bg);color:var(--status-cancelled-text)}.status-processed{color:#3a6fb5;background:#4678be26}.muted{color:var(--text-muted-2)}.approval-actions{gap:.5rem;display:flex}.approval-section+.approval-section,.approval-section{margin-top:1.25rem}.manager-item details{width:100%}.manager-item summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;list-style:none;display:flex}.manager-item summary::-webkit-details-marker{display:none}.manager-item summary span{color:var(--text-muted);display:block}.request-id{letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted-2);font-size:.8rem}.manager-detail{background:var(--surface-muted-2);border-radius:12px;gap:.6rem;margin-top:.75rem;padding:.75rem;display:grid}.change-history{border-top:1px solid var(--border);gap:.6rem;padding-top:.5rem;display:grid}.change-entry{color:var(--text-muted);gap:.25rem;font-size:.85rem;display:grid}.change-block{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;gap:.5rem;padding:.6rem;display:grid}.change-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.tabs-shell{gap:1rem;display:grid}.tabs{background:var(--surface);box-shadow:var(--shadow);border-radius:999px;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.4rem;display:flex;position:relative}.tab{color:var(--text-muted);z-index:1;background:0 0;border:none;border-radius:999px;padding:.5rem 1.05rem;font-weight:600;transition:color .2s;position:relative}.tab.active{color:var(--ink)}.tab.alert:not(.active){color:#fff;background:#1e783c;animation:2.6s ease-out infinite tabPulse;box-shadow:0 8px 16px #1e783c40}.tab-content{gap:1.5rem;display:grid}@keyframes tabPulse{0%{box-shadow:0 0 #1e783c59,0 8px 16px #1e783c40}70%{box-shadow:0 0 0 8px #1e783c00,0 8px 16px #1e783c40}to{box-shadow:0 0 #1e783c00,0 8px 16px #1e783c40}}.history-item details{width:100%}.history-item summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;list-style:none;display:flex}.history-item summary::-webkit-details-marker{display:none}.profile-badge{background:var(--surface);width:56px;height:56px;box-shadow:var(--shadow);z-index:10;border:none;border-radius:50%;place-items:center;padding:0;display:grid;position:fixed;top:24px;right:24px}.profile-badge img,.profile-badge .initials{object-fit:cover;background:var(--surface-muted);width:54px;height:54px;color:var(--ink);border-radius:50%;place-items:center;font-weight:700;display:grid}.profile-badge .ring{pointer-events:none;background:conic-gradient(#cfd6df 0deg 360deg);border-radius:50%;position:absolute;inset:-3px;-webkit-mask:radial-gradient(circle,#0000 65%,#000 66%);mask:radial-gradient(circle,#0000 65%,#000 66%)}@property --ring-progress{syntax:"<angle>";inherits:false;initial-value:0deg}.profile-badge.loading .ring{background:conic-gradient(#2871d6 0deg,#2871d6 var(--ring-progress),transparent var(--ring-progress)360deg);animation:1.6s ease-in-out infinite ring-progress}.profile-badge.ready .ring{background:conic-gradient(#1e783c 0deg 360deg)}@keyframes ring-progress{0%{--ring-progress:0deg}70%{--ring-progress:320deg}to{--ring-progress:360deg}}.modal-overlay{background:var(--overlay);z-index:20;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0}.modal{background:var(--surface);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:20px;gap:1rem;padding:1.5rem;display:grid}.modal.large{width:min(90vw,450px);max-width:450px;max-height:85vh}.modal-wide,.modal.large.modal-wide{width:min(90vw,560px);max-width:560px}.change-summary{gap:.35rem;margin-bottom:.5rem;display:grid}.profile-modal{grid-template-rows:auto 1fr auto;width:720px;max-width:720px;height:780px;max-height:780px}.modal header{justify-content:space-between;align-items:center;display:flex}.modal-body{align-content:start;place-items:start stretch;gap:.85rem;padding-top:.75rem;display:grid;overflow:auto}.modal-body>div{gap:.2rem;display:grid}.modal-body .profile-tabs{border:1px solid var(--border);background:var(--surface-muted);border-radius:999px;justify-self:start;gap:.4rem;width:fit-content;padding:.3rem;display:inline-flex;position:relative}.profile-tabs button{color:var(--text-muted);z-index:1;background:0 0;border:none;border-radius:999px;min-width:90px;padding:.35rem 1rem;font-size:.75rem;font-weight:700;position:relative}.profile-tabs button.active{color:var(--ink)}.profile-tabs .tab-indicator{top:3px;bottom:3px}.profile-panel{justify-self:stretch;gap:.9rem;width:100%;display:grid}.settings-group{background:var(--surface-muted);border:1px solid var(--border);border-radius:16px;gap:.75rem;width:100%;padding:.9rem;display:grid}.settings-group>strong{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:.8rem}.calendar-settings-row{gap:.45rem;max-width:260px;display:grid}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.profile-grid>div{gap:.2rem;display:grid}.profile-actions{justify-content:flex-end;margin-top:.75rem;display:flex}.tour-splash-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:90;background:#0a0c0e99;place-items:center;display:grid;position:fixed;inset:0}.tour-splash-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:24px;gap:1rem;width:min(90vw,420px);padding:2.2rem 2rem 1.8rem;display:grid;box-shadow:0 30px 60px #00000040}.tour-splash-logo{justify-self:center;width:72px;height:72px}.tour-splash-card h3{margin:0;font-size:1.35rem}.tour-splash-card p{color:var(--text-muted);margin:0;font-size:.95rem;line-height:1.4}.tour-splash-actions{justify-content:center;gap:.75rem;margin-top:.5rem;display:flex}.profile-hint{color:var(--text-muted);margin:0;font-size:.85rem}.calendar-access-list{gap:.5rem;display:grid}.calendar-access-chip{background:var(--surface);border:1px solid var(--border);border-radius:14px;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .8rem;font-size:.85rem;display:flex}.calendar-access-chip span{color:var(--ink)}.ooo-toggle{justify-content:flex-start;align-items:center;gap:1rem;min-height:30px;padding:0;font-weight:600;display:flex}.ooo-toggle-switch{grid-template-columns:repeat(2,1fr)}.ooo-toggle-switch .ooo-toggle-indicator{width:calc(50% - 1px)}.ooo-toggle-switch[data-enabled=false] .ooo-toggle-indicator{transform:translate(100%)}.ooo-toggle+.profile-hint{margin-top:.45rem}.toggle-indicator:before,.toggle-indicator:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0}.toggle-indicator:before{opacity:.9;background:linear-gradient(#ffffff59,#0000 55%)}.toggle-indicator:after{opacity:.9;background:radial-gradient(circle at 25% 20%,#ffffff73,#0000 60%),linear-gradient(#c95f2d73,#c95f2d26)}.ooo-template{gap:.5rem;display:grid}.ooo-template textarea{min-height:180px}.profile-hint{margin-top:-.25rem;margin-bottom:.5rem}.modal-body strong{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:.8rem}.modal-body span{font-size:1rem}.modal-footer{justify-content:flex-end;gap:.75rem;display:flex}.card{background:var(--card);box-shadow:var(--shadow);border:1px solid #c95f2d1f;border-radius:18px;padding:1.75rem}.card h2{margin-bottom:.5rem;font-size:1.25rem}.card p{line-height:1.5}.error-text{color:#b43b2e;font-weight:600}.timesheet-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.timesheet-cell{background:var(--card);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:.75rem;min-height:220px;padding:1rem;display:flex}.timesheet-cell-header{justify-content:space-between;gap:.5rem;font-weight:700;display:flex}.add-time{background:var(--accent);color:#fff;border:none;border-radius:999px;align-self:flex-start;margin-top:auto;padding:.25rem .7rem;font-weight:700}.timesheet-actions{gap:.5rem;margin-top:auto;display:flex}.timesheet-submit{justify-content:flex-end;gap:.6rem;margin-top:1rem;display:flex}.cancel-time{border:1px solid var(--border);color:var(--ink);background:0 0;border-radius:999px;padding:.25rem .7rem;font-weight:600}.timesheet-entries{gap:.35rem;display:grid}.timesheet-entry{grid-template-columns:1fr auto auto;align-items:center;gap:.5rem;font-size:.85rem;display:grid}.timesheet-editor{gap:.5rem;display:grid}.timesheet-editor label{gap:.35rem;font-size:.85rem;font-weight:600;display:grid}.timesheet-editor input,.timesheet-editor textarea{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:12px;padding:.5rem .6rem;font-family:inherit}.timesheet-cell-body{gap:.5rem;display:grid}.entry-delete{color:var(--accent);background:0 0;border:none;place-items:center;width:26px;height:26px;padding:0;display:grid}.entry-delete svg{width:16px;height:16px}.required{color:#b43b2e;margin-left:.2rem;font-weight:800}.label-inline{align-items:center;gap:.2rem;display:inline-flex}.history-tabs{border:1px solid var(--border);background:var(--surface-muted);border-radius:999px;gap:.4rem;width:fit-content;margin-bottom:.75rem;padding:.3rem;display:inline-flex;position:relative}.payroll-tab-row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.status-filter.toggle-switch{min-width:240px}.history-tabs button{color:var(--text-muted);z-index:1;background:0 0;border:none;border-radius:999px;padding:.35rem .9rem;font-size:.75rem;font-weight:700;transition:color .2s;position:relative}.history-tabs button.active{color:var(--ink)}.tab-indicator{-webkit-backdrop-filter:blur(6px)saturate(135%);backdrop-filter:blur(6px)saturate(135%);z-index:0;background:#ffffff38;border:1px solid #ffffff7a;border-radius:999px;transition:transform .2s,width .2s,background .2s;position:absolute;top:5px;bottom:5px;left:0;box-shadow:0 8px 18px #c95f2d40,inset 0 1px #fff9}.tab-indicator.alert{background:#ffffff38;border:1px solid #fff6;animation:1.4s ease-in-out infinite tabPulseActive;box-shadow:0 8px 16px #1e783c40}@keyframes tabPulseActive{0%{box-shadow:0 0 #1e783c73,0 8px 16px #1e783c40,inset 0 0 #1e783c59}50%{box-shadow:0 0 0 10px #1e783c0d,0 10px 20px #1e783c66,inset 0 0 0 6px #1e783c2e}to{box-shadow:0 0 #1e783c00,0 8px 16px #1e783c40,inset 0 0 #1e783c00}}.tab-indicator:before,.tab-indicator:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0}.tab-indicator:before{opacity:.9;background:linear-gradient(#ffffff59,#0000 55%)}.tab-indicator:after{opacity:.9;background:radial-gradient(circle at 25% 20%,#ffffff73,#0000 60%),linear-gradient(#c95f2d73,#c95f2d26)}@media (max-width:640px){.container{padding-top:3rem}.profile-modal{width:100%;max-width:100%;height:auto;max-height:none}.profile-grid{grid-template-columns:1fr}}
