:root{color-scheme:light;--bg: #fff;--surface: #fff;--surface-alt: #f3f3f3;--fg: #000;--muted: #4b4b4b;--border: #e2e2e2;--hover: #f3f3f3;--shadow: 0 2px 8px #0000000a;--inverse: #fff;--focus-ring: #00000024;--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234b4b4b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--accent: #000;--accent-soft: #f3f3f3;--accent-border: #e2e2e2;--on-accent: #fff}:root[data-theme=dark]{color-scheme:dark;--bg: #161616;--surface: #161616;--surface-alt: #292929;--fg: #fff;--muted: #c4c4c4;--border: #383838;--hover: #292929;--shadow: 0 2px 8px #00000026;--inverse: #161616;--focus-ring: #ffffff30;--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c4c4c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");--accent: #fff;--accent-soft: #292929;--accent-border: #383838;--on-accent: #161616}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}svg{flex-shrink:0}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{color:inherit}input,select{min-width:0;max-width:100%;background:var(--surface);color:var(--fg);border:1px solid var(--border);border-radius:8px;padding:11px 12px;min-height:42px;line-height:1.4;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--focus-ring)}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:var(--select-chevron);background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding-right:40px;text-overflow:ellipsis;cursor:pointer}input:disabled,select:disabled{opacity:.6;cursor:not-allowed}input::placeholder{color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.1px;font-weight:600;line-height:1.2}h2{font-size:17px;font-weight:600;letter-spacing:-.3px}small{color:var(--muted);font-size:12px}.muted{color:var(--muted)}.eyebrow{display:block;font-size:12px;text-transform:uppercase;font-weight:600;letter-spacing:1.6px;color:var(--muted);margin-bottom:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:10px 15px;font-size:14px;font-weight:550;white-space:nowrap}.button:hover{background:var(--hover)}.button.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.button.primary:hover{opacity:.85}.icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:7px;color:var(--muted)}.icon-button:hover{background:var(--hover);color:var(--fg)}.text-button{border:0;background:transparent;text-decoration:underline;color:inherit;padding:5px}.error,.notice{padding:13px 16px;margin:16px 0;border:1px solid var(--border);background:var(--surface-alt);border-radius:8px;overflow-wrap:anywhere}.error{border-left:3px solid var(--fg)}.skip-link{position:fixed;left:12px;top:-100px;z-index:100;background:var(--fg);color:var(--inverse);padding:12px}.skip-link:focus{top:10px}.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:21px;letter-spacing:-.6px}.brand-mark{display:inline-block;width:40px;height:40px;flex-shrink:0;background:currentColor;mask:url(/elredo-mark.svg) center / contain no-repeat}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;font-size:11px;font-weight:600;background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent-border)}.avatar img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.avatar.large{width:52px;height:52px;font-size:16px}.login-layout{position:relative;min-height:100dvh;display:grid;grid-template-columns:1fr}.login-story{position:relative;overflow:hidden;background:#191919;color:#fafafa;padding:28px;display:grid;grid-template-rows:auto 1fr;min-height:350px}.login-story .brand{justify-self:start;position:relative;z-index:1}.login-story>div:not(.orbit){position:relative;z-index:1}.login-story-copy{align-self:center;padding:36px 0}.login-story .eyebrow{color:#aaa;margin:0 0 18px}.login-story h1{white-space:pre-line;font-size:39px;line-height:1.14;letter-spacing:-1.5px;font-weight:500}.login-story p{color:#aaa;margin-top:24px;font-size:14px;line-height:1.8;white-space:nowrap}.orbit{position:absolute;border:1px solid #333;border-radius:50%;width:400px;height:400px;right:-190px;bottom:-240px;pointer-events:none}.orbit-two{width:520px;height:520px;right:-250px;bottom:-300px}.login-form{display:flex;align-items:center;justify-content:center;padding:44px 24px;min-width:0}.login-box{width:100%;max-width:350px}.login-box h2{font-size:26px;letter-spacing:-.7px}.login-box>p{color:var(--muted);margin-top:12px}.login-button{margin-top:30px;width:100%;justify-content:space-between;min-height:48px}.login-theme{position:absolute;top:20px;right:20px;z-index:2}.login-theme .icon-button{background:var(--surface)}body:has(.editor-dialog[open]){overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.workspace{height:100dvh;display:flex;overflow:hidden}.sidebar{overflow-y:auto;overscroll-behavior:contain;width:242px;flex-shrink:0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border);padding:30px 18px 0;z-index:40;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:translate(0)}.sidebar>.brand{padding-left:7px}.workspace-label{display:flex;align-items:center;gap:9px;margin:30px 8px 31px;font-size:13px;padding-bottom:20px;border-bottom:1px solid var(--border);color:var(--muted)}.workspace-dot{width:6px;height:6px;background:var(--accent);border-radius:50%}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:var(--muted);margin:0 12px 12px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:11px;padding:12px;border-radius:7px;color:var(--muted);font-size:14px;min-height:44px}.sidebar nav a.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-count{margin-left:auto;font-size:12px;padding:1px 6px;background:var(--surface);border:1px solid var(--border);border-radius:5px}.sidebar-bottom{margin-top:auto}.sidebar-controls{display:flex;align-items:center;gap:8px;padding:12px 5px}.role-preview[aria-pressed=true]{background:var(--accent-soft);color:var(--fg)}.account{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:20px 0}.account>div{flex:1;min-width:0}.account strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account small{font-size:12px}.account .icon-button{width:30px}.sidebar-shade{position:fixed;top:0;right:0;bottom:0;left:0;border:0;padding:0;z-index:39;background:#0007}.mobile-close{position:absolute;right:8px;top:29px}.mobile-menu{position:fixed;left:24px;bottom:24px;width:44px;height:44px;z-index:30;background:var(--surface);border:1px solid var(--border);color:var(--fg);box-shadow:var(--shadow)}@media(min-width:900px){.sidebar{transform:translate(0)}.main-content{margin-left:242px}.mobile-menu,.mobile-close,.sidebar-shade{display:none}}@media(max-width:899px){.org-board .org-canvas{padding-bottom:72px}.mobile-employee-list{padding-bottom:64px}}.main-content{flex:1;width:100%;min-width:0;padding:16px;overflow:auto}.main-content:has(.people-page){display:flex}.people-page{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;min-height:0}.people-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;flex-shrink:0;align-items:center}.people-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:1 / -1}.people-statement{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;grid-column:1 / -1;min-width:0}.people-statement p{margin:0;color:var(--muted);font-size:14px}.people-access-filter{display:flex;align-items:center;gap:8px;min-width:0;font-size:14px}.people-access-filter>span{font-weight:500;white-space:nowrap}.people-access-filter select{min-width:0;max-width:190px}.people-view-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px}.people-add{margin-right:16px;position:relative;width:32px;height:32px;padding:0;border:1px solid var(--accent);border-radius:50%;background:var(--accent);color:var(--on-accent)}.people-add:after{content:"";position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:50%}.people-add:hover{background:var(--accent-soft);color:var(--accent)}.stat-card{border:1px solid var(--accent-border);border-radius:10px;background:var(--surface);padding:12px;min-width:0}.stat-card-heading{display:flex;align-items:center;justify-content:space-between;min-height:36px;gap:8px}.stat-card-heading span{font-size:14px;color:var(--fg);font-weight:600}.stat-card-heading>strong{font-size:24px;font-weight:600;color:var(--accent)}.employee-counts{display:flex;flex-wrap:wrap;gap:2px 8px;margin-top:2px;font-size:12px;color:var(--muted)}.employee-counts span{font-size:inherit;font-weight:400;color:var(--muted);white-space:nowrap}.people-summary .stat-card{display:flex;flex-direction:column;justify-content:space-between}.people-summary select{width:100%;margin-top:12px;font-size:14px;padding-left:10px}.search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;color:var(--muted);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:0 12px}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--focus-ring)}.search input{width:100%;border:0;background:transparent;padding:10px 0;min-height:44px}.search input:focus{box-shadow:none}.view-switch{display:flex;flex-shrink:0;gap:2px;padding:3px;border-radius:24px;border:1px solid var(--border);background:var(--surface-alt)}.view-switch button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:38px;min-height:38px;padding:6px 12px;border:0;border-radius:20px;background:transparent;color:var(--muted);font-size:14px}.view-switch button.selected{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}.filter-summary{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;flex-shrink:0}.people-page>.notice,.people-page>.error{margin:0}.org-board,.employee-list{width:100%;flex:1;min-height:160px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:12px;background:var(--surface-alt)}.org-board{background:var(--bg)}.employee-list{background:var(--surface)}.employee-table{width:100%;border-collapse:collapse;font-size:14px}.employee-table th{text-align:left;color:var(--muted);background:var(--surface-alt);font-size:13px;font-weight:500;white-space:nowrap;position:sticky;top:0;z-index:1}.employee-table th,.employee-table td{padding:14px 18px;border-bottom:1px solid var(--border)}.employee-table tr:last-child td{border-bottom:0}.employee-table tbody tr:hover{background:var(--hover)}.employee-name{display:flex;align-items:center;gap:10px;min-width:180px}.employee-heading{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}.employee-name .employee-heading{flex:1}.employee-heading strong{overflow-wrap:anywhere}.external-badge{display:inline-flex;width:max-content;padding:1px 6px;border-radius:4px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap}.tree-person .external-badge,.org-root .external-badge{margin-top:4px}.employee-name strong{font-size:14px;font-weight:550}.employee-name>svg{margin-left:auto;color:var(--muted)}.employee-contact a{display:block;color:var(--muted);overflow-wrap:anywhere}.employee-table .role-badge{font-size:13px;white-space:nowrap}.mobile-employee{display:flex;align-items:flex-start;gap:12px;padding:16px;border-bottom:1px solid var(--border)}.mobile-employee:last-child{border-bottom:0}.mobile-employee-info{flex:1;min-width:0}.mobile-employee-info>span{display:block;overflow-wrap:anywhere}.mobile-employee-info>span{color:var(--muted);font-size:13px;margin-top:3px}.tree-person.context strong{color:var(--muted)}@media(min-width:1200px){.people-controls{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.people-summary,.people-statement{grid-column:auto}.people-statement{flex-direction:column;align-items:flex-end;justify-content:center;padding:12px;text-align:right;align-self:stretch}}@media(max-width:599px){.people-statement p{font-size:12px}.people-summary select{padding-right:30px;background-position:right 8px center}.view-switch button{padding:6px}.view-switch span{display:none}}.heading-count{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;border:1px solid var(--border);border-radius:7px;padding:3px 9px;letter-spacing:0;background:var(--surface);vertical-align:middle}.role-badge{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:5px}.role-badge:before{content:"";width:4px;height:4px;border-radius:50%;background:var(--muted)}.role-badge.admin{color:var(--accent)}.role-badge.admin:before{background:var(--accent)}.empty-state{min-height:220px;padding:35px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted);text-align:center}.empty-state h3{font-size:16px;color:var(--fg)}.empty-state p{font-size:14px}.editor-dialog{border:1px solid var(--border);border-radius:14px;padding:0;background:var(--surface);color:var(--fg);width:calc(100% - 24px);max-width:550px;max-height:calc(100dvh - 24px);box-shadow:0 30px 90px #0003}.editor-dialog::backdrop{background:#0007;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.editor-dialog header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--border)}.editor-dialog header .eyebrow{margin-bottom:5px}.form-body{padding:24px;display:grid;gap:17px}.form-body label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:500}.form-body label small{font-size:12px;font-weight:400;line-height:1.6}.form-columns{display:grid;grid-template-columns:1fr;gap:17px}.editor-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:18px 24px;border-top:1px solid var(--border)}.back-link{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:14px;margin-bottom:25px}.employee-profile{width:100%;max-width:1200px;margin:0 auto;padding:12px 4px 64px}.profile-header{padding-bottom:28px;border-bottom:1px solid var(--border)}.profile-hero{display:flex;flex-wrap:wrap;align-items:center;gap:20px}.profile-identity{display:flex;align-items:center;gap:16px;min-width:0;flex:1}.profile-heading{min-width:0}.profile-identity h1{font-size:24px;letter-spacing:-.6px;overflow-wrap:anywhere}.profile-identity p{font-size:16px;margin-top:6px;overflow-wrap:anywhere}.profile-identity .avatar{width:64px;height:64px;font-size:20px}.profile-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.profile-tag{border:1px solid var(--border);background:var(--surface-alt);padding:2px 9px;border-radius:16px;font-size:12px;overflow-wrap:anywhere}.profile-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}.profile-more{position:relative}.profile-more summary{list-style:none;cursor:pointer}.profile-more summary::-webkit-details-marker{display:none}.profile-more summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.profile-actions-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:10;min-width:190px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow)}.profile-actions-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px;border:0;border-radius:6px;background:transparent;text-align:left}.profile-actions-menu button:hover{background:var(--hover)}.profile-contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.profile-contact-actions .button{min-width:0;max-width:100%;white-space:normal}.profile-contact-actions span{min-width:0;overflow-wrap:anywhere}.profile-layout{display:grid;gap:28px;margin-top:28px}.profile-sidebar{min-width:0}.profile-contact dl{margin:20px 0 0}.profile-contact dl>div+div{margin-top:18px}.profile-contact dd{margin:0}.profile-contact a{display:flex;align-items:center;gap:12px;min-height:24px}.profile-contact a span{min-width:0;overflow-wrap:anywhere}.profile-access{margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}.profile-access-row{display:flex;align-items:center;gap:12px;margin-top:12px;min-height:40px}.profile-access-row .icon-button{margin-left:auto}.profile-team{min-width:0}.profile-team h3{font-size:14px;font-weight:600}.profile-manager{margin-top:24px;padding-bottom:20px;border-bottom:1px solid var(--border)}.profile-person{display:flex;align-items:center;gap:12px;min-width:0;min-height:64px;padding:10px 8px;border-radius:8px}.profile-person:hover{background:var(--hover)}.profile-person .avatar{width:40px;height:40px;font-size:12px}.report-details{flex:1;min-width:0}.report-details strong{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;font-weight:600;overflow-wrap:anywhere}.report-details small{display:block;margin-top:2px;overflow-wrap:anywhere}.profile-reports-heading{margin-top:24px}.profile-reports-heading span{color:var(--muted);font-weight:400;margin-left:5px}.report-list{display:grid;gap:4px 20px;margin-top:12px}.profile-no-manager,.profile-no-reports{margin-top:16px}@media(min-width:640px){.report-list{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-profile{padding:20px 16px 48px}.profile-identity h1{font-size:28px}.profile-identity .avatar{width:80px;height:80px;font-size:24px}}@media(min-width:1100px){.employee-profile{padding:24px 32px 48px}.profile-layout{grid-template-columns:250px minmax(0,1fr);gap:32px}.profile-sidebar{padding-right:28px;border-right:1px solid var(--border)}}@media(max-width:639px){.profile-identity{flex-basis:100%}.profile-contact-actions{flex-direction:column}.profile-contact-actions .button{justify-content:flex-start}.profile-team{border-top:1px solid var(--border);padding-top:24px}}.panel{border:1px solid var(--border);border-radius:10px;padding:24px;background:var(--surface)}.panel h2{font-size:15px}.org-canvas{width:max-content;min-width:100%;padding:16px}.org-root:hover{border-color:var(--muted)}.org-root{display:flex;flex-shrink:0;align-items:center;gap:10px;border:1px solid var(--border);padding:10px 14px;background:var(--surface);border-radius:10px}.org-root .avatar{width:32px;height:32px;font-size:11px}.org-root h2{font-size:16px}.org-root p{font-size:12px;color:var(--muted);margin-top:4px}.org-forest{display:flex;justify-content:center;align-items:flex-start;gap:24px}.org-branch{position:relative;display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:max-content}.org-manager{display:flex;align-items:center;border:1px solid var(--accent-border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow)}.org-manager .org-root{border:0}.org-manager>.icon-button{width:28px;height:32px;margin-right:6px}.org-manager.context h2{color:var(--muted)}.org-children{position:relative;display:flex;align-items:flex-start;gap:12px;padding-top:40px}.org-children:before{content:"";position:absolute;top:0;left:50%;height:20px;border-left:1px solid var(--border)}.org-children>.org-branch:before{content:"";position:absolute;top:-20px;left:50%;height:20px;border-left:1px solid var(--border)}.org-children>.org-branch:after{content:"";position:absolute;top:-20px;left:-6px;width:calc(100% + 12px);border-top:1px solid var(--border)}.org-children>.org-branch:first-child:after{left:50%;width:calc(50% + 6px)}.org-children>.org-branch:last-child:after{width:calc(50% + 6px)}.org-children>.org-branch:only-child:after{display:none}.department-card{position:relative;flex:0 0 auto;width:max-content;min-width:202px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:42px 10px 10px;box-shadow:var(--shadow)}.department-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:absolute;top:8px;right:10px;max-width:calc(100% - 20px);padding:3px 8px;border-radius:6px;background:var(--accent-soft);font-size:12px;font-weight:600;color:var(--accent)}.employee-tree,.employee-tree ul{list-style:none;margin:0;padding:0}.employee-tree{width:max-content;min-width:180px}.employee-tree ul{margin-left:12px;padding-left:12px;border-left:1px solid var(--border)}.employee-tree ul>li{position:relative}.employee-tree ul>li:before{content:"";position:absolute;top:26px;left:-12px;width:12px;border-top:1px solid var(--border)}.tree-person{display:flex;align-items:center;gap:4px;width:180px;min-width:180px;padding:5px 0}.tree-person>a{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid transparent;background:transparent;border-radius:8px;padding:7px}.tree-person>a:hover{background:var(--hover)}.tree-person a>span:last-child{min-width:0;flex:1}.tree-person strong{font-size:13px;display:block;overflow-wrap:anywhere;font-weight:550}.tree-person small{display:block;font-size:12px;overflow-wrap:anywhere}.tree-person .avatar{width:26px;height:26px;font-size:10px}.tree-person>.icon-button{width:24px;height:32px}.employee-tree>li>.tree-person{padding-top:0;padding-bottom:8px}.employee-tree>li>.tree-person strong{font-weight:650}@media(min-width:520px){.form-columns{grid-template-columns:1fr 1fr}}@media(min-width:900px){.login-layout{grid-template-columns:1fr 1fr}.login-story{padding:44px;min-height:100dvh}.login-story h1{font-size:49px}.login-form{padding:88px 50px 50px}.orbit{width:650px;height:650px;right:-350px;bottom:-460px}.orbit-two{width:850px;height:850px;right:-450px;bottom:-560px}}@media(min-width:1200px){.login-story{padding:50px 60px}.login-story h1{font-size:59px}}@media(max-width:519px){input,select,.search input,.people-summary select{font-size:16px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.calendar-page{display:flex;flex-direction:column;gap:20px;padding-bottom:64px}.calendar-page-heading,.calendar-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-page-heading h1{font-size:26px}.calendar-page-heading .button{padding:10px 12px}.calendar-summary-row{display:grid;gap:16px}.calendar-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.calendar-balance{display:flex;flex-direction:column;gap:8px}.calendar-balance .stat-card-heading>svg{color:var(--muted)}.calendar-balance-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 8px}.calendar-balance-value strong{font-size:32px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.calendar-balance-value span,.calendar-balance p{font-size:12px;color:var(--muted)}.calendar-preview-note{color:var(--muted);font-size:13px;line-height:1.6;max-width:440px;align-self:center}.calendar-preview-note>span{display:block;color:var(--fg);font-weight:600;margin-bottom:4px}.calendar-page>.notice,.calendar-page>.error{margin:0}.calendar-layout{display:grid;align-items:start;gap:16px;min-width:0}.calendar-panel,.calendar-detail-panel{min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.calendar-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px}.calendar-month-navigation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;flex:1;gap:10px;min-width:0}.calendar-month-navigation h2{font-size:18px;min-width:145px}.calendar-month-navigation>div{display:flex;align-items:center;gap:2px}.calendar-today{min-height:36px;padding:6px 10px;font-size:13px}.calendar-toolbar>select{max-width:210px;font-size:14px}.calendar-month{padding:0 12px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays>span{text-align:center;padding:10px 0;color:var(--muted);font-size:12px;font-weight:500}.calendar-grid{overflow:hidden;border-top:1px solid var(--border);border-left:1px solid var(--border);border-radius:8px}.calendar-day{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;min-height:66px;padding:6px;border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);color:var(--fg);text-align:left}.calendar-day.weekend,.calendar-day.outside{color:var(--muted);background:var(--surface-alt)}.calendar-day.outside .calendar-date{font-weight:400}.calendar-day:hover{background:var(--hover)}.calendar-day.selected{box-shadow:inset 0 0 0 2px var(--accent)}.calendar-day:focus-visible{outline-offset:-3px}.calendar-date{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.calendar-day[aria-current=date] .calendar-date{color:var(--on-accent);background:var(--accent)}.calendar-day-entries{display:none;flex-direction:column;width:100%;gap:6px}.calendar-entry{display:flex;align-items:center;gap:5px;min-width:0;padding:4px;background:var(--surface-alt);border-radius:5px}.calendar-entry strong{display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.calendar-more{font-size:12px;color:var(--muted)}.calendar-day-count{display:inline-flex;align-items:center;justify-content:center;align-self:center;width:18px;height:18px;border:1px solid var(--border);border-radius:50%;background:var(--accent-soft);color:var(--fg);font-size:12px;font-weight:600}.calendar-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:16px;font-size:12px;color:var(--muted)}.calendar-legend>span{display:inline-flex;align-items:center;gap:6px}.calendar-draft-label{padding:2px 7px;border:1px dashed var(--muted);border-radius:5px}.calendar-details{display:grid;gap:16px;min-width:0}.calendar-detail-panel{padding:16px}.calendar-section-heading h2{font-size:15px;letter-spacing:0}.calendar-section-heading>.icon-button{width:32px;height:32px}.calendar-day-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px 0;color:var(--muted);font-size:13px}.calendar-selected-entry{display:flex;align-items:center;gap:10px;padding-top:16px}.calendar-selected-entry>div{min-width:0}.calendar-selected-entry strong,.calendar-selected-entry span{display:block;overflow-wrap:anywhere;font-size:13px}.calendar-selected-entry span{color:var(--muted)}.calendar-requests-empty{padding:24px 0 8px;color:var(--muted);font-size:13px}.calendar-request{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.calendar-request-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.calendar-request-heading>strong{font-size:14px}.calendar-request-heading .icon-button{width:32px;height:32px}.calendar-request>p{font-size:13px}.calendar-request>small{display:block;margin-top:4px}.calendar-request-note{color:var(--muted);margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}.time-off-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.time-off-types>button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;text-align:left;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.time-off-types>button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.time-off-types strong{font-size:14px}.time-off-types small{line-height:1.5}.time-off-duration{font-size:14px}.time-off-duration>strong{font-variant-numeric:tabular-nums}.time-off-duration small{display:block;margin-top:4px}.form-body .optional-label{display:inline}.calendar-note{min-width:0;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font:inherit;resize:vertical}.calendar-note::placeholder{color:var(--muted);font-weight:400}.calendar-note:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--focus-ring)}.calendar-local-note{font-size:12px;line-height:1.6;color:var(--muted)}.time-off-dialog button:disabled{cursor:not-allowed}.time-off-dialog .form-body>.error{margin:0}@media(min-width:640px){.calendar-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1200px){.calendar-page{padding-bottom:0}.calendar-summary-row{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px}.calendar-preview-note{justify-self:end}.calendar-layout{grid-template-columns:minmax(0,1fr) 280px}.calendar-details{grid-template-columns:1fr}.calendar-day{min-height:88px}.calendar-day-entries{display:flex}.calendar-day-count{display:none}}@media(max-width:599px){.calendar-toolbar{padding:12px;gap:12px}.calendar-toolbar>select{width:100%;max-width:none;font-size:16px}.calendar-month{padding:0 6px}.calendar-day{padding:3px}.calendar-date{width:24px;height:24px}.calendar-note{font-size:16px}}
