:root{--forest: #0b3b2e;--forest-2: #0e4a3a;--forest-3: #12523f;--forest-ink: #072a20;--ink: #0f1c17;--ink-2: #34433d;--ink-3: #5e6b65;--white: #ffffff;--pale: #eef2ee;--honey: #e8ba58;--yellow-soft: #fbf0d9;--yellow-ink: #7a5410;--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--display: var(--sans);--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--radius-xs: 4px;--radius-sm: 6px;--radius: 8px;--radius-lg: 8px;--ease: cubic-bezier(.2, .7, .2, 1);--fast: .12s;--base: .2s;--slow: .34s}:root,[data-theme=light]{color-scheme:light;--bg: #ffffff;--surface: #ffffff;--surface-2: #f4f6f3;--surface-3: var(--pale);--surface-hover: #f8faf8;--sidebar-bg: #f4f6f3;--field: #ffffff;--border: #dde4df;--border-soft: #e9eeea;--border-strong: #c5d0c9;--text: var(--ink);--text-2: var(--ink-2);--muted: var(--ink-3);--accent: var(--forest);--accent-hover: var(--forest-3);--on-accent: #ffffff;--accent-soft: #eaf0ec;--accent-line: #c3d6cb;--primary: var(--forest);--primary-hover: var(--forest-2);--on-primary: #ffffff;--nav-on: var(--forest);--on-nav: #ffffff;--highlight: var(--honey);--ring: rgba(11, 59, 46, .16);--danger: #a8322a;--danger-hover: #8f2a23;--on-danger: #ffffff;--danger-bg: #f8e7e4;--danger-line: #ebc3bd;--success: #1c7a52;--on-success: #ffffff;--success-bg: #e5f2ea;--success-line: #bfdccb;--warning: #8a5700;--warning-bg: #fbf0d9;--warning-line: #eed9a8;--info: #36505f;--info-bg: #e9eff2;--info-line: #c4d1da;--error-bg: var(--danger-bg);--error-text: var(--danger);--error-line: var(--danger-line);--neutral-bg: var(--pale);--neutral-text: var(--ink-2);--avatar-bg: #e7efe9;--avatar-fg: #1f5b45;--shadow-sm: 0 1px 2px rgba(10, 35, 27, .06), 0 1px 1px rgba(10, 35, 27, .04);--shadow: 0 1px 2px rgba(10, 35, 27, .06), 0 8px 24px -6px rgba(10, 35, 27, .14);--shadow-lg: 0 2px 4px rgba(10, 35, 27, .08), 0 18px 40px -10px rgba(10, 35, 27, .28);--scrim: rgba(15, 28, 23, .28);--hero-from: #f4f6f3;--hero-to: #f4f6f3;--hero-glow: transparent;--hero-text: var(--ink);--hero-muted: var(--ink-2)}[data-theme=dark]{color-scheme:dark;--bg: #0a1f19;--surface: #0e2620;--surface-2: #132f27;--surface-3: #17342b;--surface-hover: #132f27;--sidebar-bg: #0c231d;--field: #0b211b;--border: #21423a;--border-soft: #1a3730;--border-strong: #315a4e;--text: #eef2ec;--text-2: #c9d5ce;--muted: #97aba1;--accent: #7fd1a8;--accent-hover: #9fdfbe;--on-accent: #072a20;--accent-soft: rgba(127, 209, 168, .12);--accent-line: rgba(127, 209, 168, .34);--primary: #23704f;--primary-hover: #2a7d5b;--on-primary: #ffffff;--nav-on: #1d5e46;--on-nav: #ffffff;--highlight: var(--honey);--ring: rgba(127, 209, 168, .28);--danger: #f2a596;--danger-hover: #f6bcb0;--on-danger: #2a0d08;--danger-bg: rgba(230, 120, 100, .13);--danger-line: rgba(230, 120, 100, .36);--success: #7fd1a8;--on-success: #072a20;--success-bg: rgba(127, 209, 168, .12);--success-line: rgba(127, 209, 168, .32);--warning: #f0c873;--warning-bg: rgba(232, 186, 88, .12);--warning-line: rgba(232, 186, 88, .34);--info: #a8c6d8;--info-bg: rgba(140, 180, 205, .12);--info-line: rgba(140, 180, 205, .32);--error-bg: var(--danger-bg);--error-text: var(--danger);--error-line: var(--danger-line);--neutral-bg: #17342b;--neutral-text: #c9d5ce;--avatar-bg: #1b4135;--avatar-fg: #bfe6d1;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .42);--shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 56px -8px rgba(0, 0, 0, .66);--scrim: rgba(2, 10, 8, .55);--hero-from: #0e2620;--hero-to: #0e2620;--hero-glow: transparent;--hero-text: #eef2ec;--hero-muted: #c9d5ce}*{box-sizing:border-box}html,body,#root{min-height:100%}html{overflow-x:clip;background:var(--bg)}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-weight:600;letter-spacing:-.015em}.num,.fig,.mono{font-family:var(--mono);font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.01em}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}a{color:var(--accent);text-underline-offset:2px}::selection{background:var(--highlight);color:var(--ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}[data-theme=dark] :focus-visible{outline-color:var(--highlight)}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}summary{list-style:none}summary::-webkit-details-marker{display:none}.theme-switching,.theme-switching *{transition:background-color var(--base) var(--ease),border-color var(--base) var(--ease),color var(--base) var(--ease)!important}.logo{display:inline-grid}.logo-img{grid-area:1 / 1;display:block;width:100%;height:auto}.logo-for-dark,[data-theme=dark] .logo-for-light{visibility:hidden}[data-theme=dark] .logo-for-dark{visibility:visible}.logo-sidebar{width:148px}.sunday-mark{display:block;width:36px;height:36px}.shell{display:flex;min-height:100vh}.sidebar{width:240px;flex:none;background:var(--sidebar-bg);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:20px 14px 14px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px 22px}.brand-actions{display:flex;align-items:center;gap:8px}.sidebar-menu{display:flex;flex-direction:column;flex:1;min-height:0}.menu-toggle{display:none;width:40px;height:40px;place-items:center;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text)}.menu-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.menu-toggle:hover{background:var(--surface-2)}.nav{display:flex;flex-direction:column;gap:2px}.nav-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text-2);padding:8px 10px;border-radius:var(--radius-sm);font-size:14px;font-weight:500;position:relative;transition:background-color var(--fast) var(--ease),color var(--fast) var(--ease)}.nav-icon{width:18px;height:18px;flex:none;color:var(--muted);transition:color var(--fast) var(--ease)}.nav-link:hover{background:var(--hover-tint, rgba(15, 28, 23, .045));color:var(--text)}.nav-link.active{background:var(--nav-on);color:var(--on-nav);font-weight:600}.nav-link.active .nav-icon{color:var(--on-nav)}.sidebar-foot{margin-top:auto;padding:14px 6px 4px;border-top:1px solid var(--border);display:flex;flex-direction:column;align-items:stretch;gap:10px}.sidebar-logout{width:100%;white-space:nowrap}.who{display:flex;align-items:center;gap:10px;min-width:0}.avatar{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--avatar-bg);color:var(--avatar-fg);font-size:13px;font-weight:600}.who-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}.who-text strong{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.who-text span{color:var(--muted);font-size:12px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.page-enter{animation:rise var(--slow) var(--ease) both}.theme-toggle{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text-2);transition:background-color var(--fast) var(--ease),color var(--fast) var(--ease),border-color var(--fast) var(--ease)}.theme-toggle:hover{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}.theme-icon{grid-area:1 / 1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:opacity var(--base) var(--ease),transform var(--base) var(--ease)}.theme-icon-sun{opacity:0;transform:rotate(-60deg) scale(.6)}[data-theme=dark] .theme-icon-sun{opacity:1;transform:none}[data-theme=dark] .theme-icon-moon{opacity:0;transform:rotate(60deg) scale(.6)}.site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 18px;margin-top:auto;padding:16px 32px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--border);color:var(--muted);font-size:13px}.site-footer-links{display:flex;flex-wrap:wrap;gap:6px 18px}.site-footer a{color:var(--text-2);font-weight:500;text-decoration:none;transition:color var(--fast) var(--ease)}.site-footer a:hover{color:var(--accent)}.site-footer .cookie-settings-link{color:var(--text-2)}.page{width:100%;max-width:1120px;padding:28px 32px 64px}.page-wide{max-width:1480px}.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:24px}.page-head .cluster,.page-head .row{align-items:flex-end}.page-head .input,.page-head .btn{height:38px}.page-head>:last-child:not(:first-child){flex:none}.page-section{margin-top:36px}.page-section-first{margin-top:0}.page-title{font-family:var(--sans);font-size:24px;font-weight:600;letter-spacing:-.02em;line-height:1.2}.section-title{font-family:var(--sans);font-size:17px;font-weight:600;letter-spacing:-.01em;margin:28px 0 12px}.section-title:first-child{margin-top:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:none;padding:20px}.card+.card{margin-top:14px}.stack{display:flex;flex-direction:column;gap:14px}.stack>.card+.card,.split>.card+.card,.grid-2>.card+.card,.history-month>.card+.card{margin-top:0}.toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 14px;padding:16px 20px}.toolbar-end{margin-left:auto;display:flex;align-items:center;gap:8px;min-height:38px}.filter-card{margin-bottom:20px}.filter-row{margin-bottom:16px}.card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}.confirm-text{color:var(--text-2);font-weight:500}.link-button{justify-self:start;width:fit-content;border:0;background:none;padding:2px 0;color:var(--accent);font-size:14px;font-weight:600}.link-button:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}.item-head{display:grid;gap:4px;min-width:0}.item-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px 16px;flex-wrap:wrap}.item-top .card-title{flex:1 1 260px;min-width:0}.item-marks{display:flex;align-items:center;gap:8px;flex:none}.item-facts{color:var(--muted);font-size:14px}.item-body{margin-top:6px;color:var(--text-2)}.item-note{margin-top:6px;padding-left:10px;border-left:2px solid var(--border-strong);color:var(--text-2);font-size:14px}.item-edit{margin-top:16px;padding-top:16px;border-top:1px dashed var(--border-strong)}.attendance{display:grid;gap:12px}.attendance-totals{display:flex;flex-wrap:wrap;gap:6px 20px;color:var(--text-2)}.attendance-totals strong{margin-right:4px;font-family:var(--mono);font-size:20px;font-weight:500;color:var(--text);font-variant-numeric:lining-nums tabular-nums}.attendance-absent,.attendance-absent strong{color:var(--warning)!important}.absence-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.absence-list li{display:inline-flex;gap:8px;padding:2px 8px;border-radius:var(--radius-xs);background:var(--warning-bg);border:1px solid var(--warning-line);font-size:13px;font-weight:500}.absence-list .muted{font-weight:500}.disclosure,.attendance-all summary{display:inline-flex;align-items:center;gap:8px;width:fit-content;cursor:pointer;color:var(--accent);font-size:14px;font-weight:600}.attendance-all summary:after,.timeline-summary:after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform var(--fast) var(--ease)}.attendance-all[open] summary:after,.timeline[open] .timeline-summary:after{transform:translateY(1px) rotate(-135deg)}.day-strip{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}.day-chip{padding:6px 4px;border-radius:8px;background:var(--surface-2);color:var(--text-2);font-size:13px;text-align:center}.day-chip-absent{background:var(--warning-bg);color:var(--warning);font-weight:700;box-shadow:inset 0 0 0 1px var(--warning-line)}.comments{display:grid;gap:10px;margin-top:14px}.comment-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.comment-item{padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-2)}.comment-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:14px}.comment-meta time{color:var(--muted);font-size:13px}.comment-form{display:grid;gap:8px}.comment-form-actions{display:flex;justify-content:flex-end}.format-box{position:relative}.mention{display:inline-block;padding:0 4px;border-radius:4px;background:var(--accent-soft);color:var(--accent);font-weight:600;white-space:nowrap}.mention-list{position:absolute;z-index:45;top:calc(100% + 6px);left:8px;width:min(340px,calc(100% - 16px));margin:0;padding:6px;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);animation:select-in var(--fast) var(--ease) both}.mention-option{display:grid;gap:1px;padding:8px 10px;border-radius:8px;cursor:pointer}.mention-option.is-active{background:var(--accent-soft)}.mention-name{font-size:14px;font-weight:600;color:var(--text)}.mention-detail{font-size:12px;color:var(--muted)}.mention-empty{padding:8px 10px;font-size:13px;color:var(--muted)}.format-editor.is-empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.format-box.is-compact{display:flex;flex-wrap:wrap;align-items:flex-start}.format-box.is-compact .format-toolbar{order:2;margin:0 8px 8px}.format-box.is-compact .format-editor{order:1;flex:1 0 100%;min-height:44px;padding:10px 12px 6px}.card>.card-head:last-child{margin-bottom:0}.toolbar>.usage,.toolbar>.usage-tip{align-self:flex-end;margin-bottom:8px}.card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px;flex-wrap:wrap}.card-title{font-size:15px;font-weight:600;letter-spacing:-.005em;overflow-wrap:anywhere}.work-highlight{background:var(--surface-2);border-left:3px solid var(--highlight);border-radius:8px;padding:8px 12px}.work-highlight .formatted,.work-highlight .formatted-plain{margin:0}.card-toggle{border:0;background:none;padding:0;text-align:left;color:inherit}.card-toggle:hover .card-title{color:var(--accent)}.work-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}.work-row{display:grid;gap:4px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.work-row-inline{display:flex;justify-content:space-between;align-items:center;gap:12px}.project-actions{flex:none}.split{display:grid;grid-template-columns:280px 1fr;gap:16px;align-items:start}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.cluster{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.grow{flex:1;min-width:180px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.month-field{min-width:220px}.field-label{font-size:13px;font-weight:500;color:var(--text-2)}.input,.select,.textarea{width:100%;max-width:100%;background:var(--field);border:1px solid var(--border-strong);border-radius:var(--radius-sm);min-height:38px;padding:7px 12px;outline:none;font-size:14px;transition:border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease),background-color var(--fast) var(--ease)}.input::placeholder,.textarea::placeholder{color:#7c8882}[data-theme=dark] .input::placeholder,[data-theme=dark] .textarea::placeholder{color:#7e948a}.input:hover,.select:hover,.textarea:hover{border-color:var(--muted)}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.input:disabled,.select:disabled,.textarea:disabled{background:var(--surface-2);color:var(--muted);cursor:not-allowed}.textarea{min-height:96px;resize:vertical}.format-box{background:var(--field);border:1px solid var(--border-strong);border-radius:var(--radius-sm);transition:border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease)}.format-box:hover{border-color:var(--muted)}.format-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.format-toolbar{display:inline-flex;align-items:center;gap:2px;margin:8px 8px 0;padding:2px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.format-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:var(--text);font-size:14px;line-height:1}.format-btn:hover{background:var(--surface)}.format-btn.is-on{background:var(--accent-soft);color:var(--accent)}.format-btn em{font-family:Georgia,Iowan Old Style,Palatino,serif;font-style:italic;font-weight:700;font-size:17px}.format-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.format-btn svg circle{fill:currentColor;stroke:none}.format-editor{min-height:96px;padding:8px 12px 10px;outline:none;font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.format-editor:focus-visible{outline:none}.format-editor ul,.formatted ul{margin:.25em 0 .25em 1.25em;padding:0;list-style:disc}.format-editor li,.formatted li{margin:.15em 0}.format-editor div:empty:before{content:"";display:inline-block}.formatted{overflow-wrap:anywhere}.formatted p,.formatted div{margin:0}.formatted-plain{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:var(--radius-sm);min-height:36px;padding:7px 14px;background:transparent;color:var(--text);font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:none;transition:background-color var(--fast) var(--ease),border-color var(--fast) var(--ease),color var(--fast) var(--ease),transform var(--fast) var(--ease)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);color:var(--on-primary)}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-ghost{border-color:var(--border);background:var(--surface)}.btn-ghost:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-strong)}.btn-danger{background:var(--danger);color:var(--on-danger)}[data-theme=dark] .btn-danger{background:transparent;color:var(--danger);border-color:var(--danger-line)}[data-theme=dark] .btn-danger:hover:not(:disabled){background:var(--danger-bg)}.btn-danger:hover:not(:disabled){background:var(--danger-hover)}.btn-danger-quiet{background:var(--surface);color:var(--danger);border-color:var(--danger-line)}.btn-danger-quiet:hover:not(:disabled){background:var(--danger-bg);border-color:var(--danger)}.btn-request{background:var(--accent-soft);color:var(--accent);border-color:var(--accent-line)}.btn-request:hover:not(:disabled){background:var(--accent-soft)}.btn-small{min-height:30px;padding:5px 11px;font-size:13px}.btn-icon{width:16px;height:16px;margin-left:-4px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}.btn-block{width:100%}.btn-spinner{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}.btn[aria-busy=true]{position:relative;color:transparent!important;opacity:1;cursor:progress}.btn[aria-busy=true]>*{visibility:hidden}.btn[aria-busy=true]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:16px;height:16px;border-radius:50%;border:2px solid;border-color:var(--text) var(--text) var(--text) transparent;animation:spin .7s linear infinite}.btn-primary[aria-busy=true]:after{border-color:var(--on-primary) var(--on-primary) var(--on-primary) transparent}.btn-danger[aria-busy=true]:after{border-color:var(--on-danger) var(--on-danger) var(--on-danger) transparent}.timeline{margin-top:14px;border:1px solid var(--border);border-radius:var(--radius-sm)}.timeline-summary{display:flex;flex-wrap:nowrap;align-items:center;gap:4px 10px;padding:9px 14px;cursor:pointer;border-radius:var(--radius-sm);transition:background-color var(--fast) var(--ease)}.timeline-summary:hover{background:var(--surface-hover)}.timeline-summary:after{margin-left:auto;color:var(--muted)}.timeline[open] .timeline-summary{border-bottom:1px solid var(--border);border-radius:var(--radius-sm) var(--radius-sm) 0 0}.timeline-summary .timeline-dot{margin-top:0;width:10px;height:10px}.timeline-title{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.timeline-latest{flex:1;color:var(--text-2);font-size:14px;min-width:0}.timeline-summary .timeline-title{flex:none}.timeline-list{list-style:none;margin:0;padding:14px 16px 4px;animation:fade var(--base) var(--ease) both}.timeline-event{position:relative;display:grid;grid-template-columns:14px 1fr;gap:12px;padding-bottom:12px}.timeline-event:not(:last-child):before{content:"";position:absolute;left:6px;top:16px;bottom:0;width:2px;border-radius:2px;background:var(--border-strong)}.timeline-dot{width:14px;height:14px;margin-top:3px;border-radius:50%;border:2px solid var(--muted);background:var(--surface);flex:none}.timeline-requested .timeline-dot,.timeline-tone-requested .timeline-summary .timeline-dot{border-color:var(--accent)}.timeline-approved .timeline-dot,.timeline-tone-approved .timeline-summary .timeline-dot{border-color:var(--success);background:var(--success)}.timeline-rejected .timeline-dot,.timeline-tone-rejected .timeline-summary .timeline-dot{border-color:var(--danger);background:var(--danger)}.timeline-changes .timeline-dot,.timeline-tone-changes .timeline-summary .timeline-dot{border-color:var(--accent);background:var(--accent-soft)}.timeline-waiting .timeline-dot,.timeline-tone-waiting .timeline-summary .timeline-dot{border-style:dashed;border-color:var(--warning);animation:pulse 1.8s var(--ease) infinite}.timeline-body{min-width:0}.timeline-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:15px}.timeline-head time{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}.timeline-detail{color:var(--text-2);font-size:14px;margin-top:2px}.usage{display:inline-flex;align-items:baseline;gap:5px;padding:4px 10px 5px;border-radius:var(--radius-xs);background:var(--accent-soft);color:var(--accent);font-weight:600;line-height:1;white-space:nowrap}.usage-value{font-family:var(--mono);font-size:18px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:lining-nums tabular-nums}.usage-unit{font-size:14px;font-weight:700}.usage-note{font-size:13px;font-weight:600;color:var(--text-2)}.usage-tip{position:relative;display:inline-flex}.usage-tip .usage{cursor:help}.usage-tip .usage:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.usage-breakup{display:none;position:absolute;z-index:30;left:0;bottom:calc(100% + 8px);min-width:196px;padding:10px 12px;background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow);font-size:13px;font-weight:600}.usage-tip:hover .usage-breakup,.usage-tip:focus-within .usage-breakup{display:grid;gap:6px}.usage-breakup>span{display:flex;justify-content:space-between;gap:16px}.usage-breakup strong{font-family:var(--mono);font-weight:500;color:var(--accent);font-variant-numeric:tabular-nums}.usage-row{align-self:flex-end}.usage-card{display:inline-block;margin-top:10px}.usage svg{width:16px;height:16px;align-self:center;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}td.hours-cell{text-align:right;width:1%}td.hours-cell .usage{padding:3px 10px 4px}td.hours-cell .usage-value{font-size:17px}td.hours-cell .usage-unit{font-size:13px}th.hours-cell{text-align:right}.select-trigger{width:100%;min-height:38px;display:flex;align-items:center;gap:10px;background:var(--field);color:var(--text);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:6px 10px 6px 12px;text-align:left;font-size:14px;outline:none;transition:border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease),background-color var(--fast) var(--ease)}.select-trigger:hover:not(:disabled){border-color:var(--muted)}.select-trigger:focus-visible,.select-trigger.is-open{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.select-trigger:disabled{background:var(--surface-2);color:var(--muted);cursor:not-allowed}.select-value{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px;overflow:hidden}.select-label{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto;min-width:0}.select-trigger.is-empty .select-label{color:var(--muted);font-weight:400}.select-hint{color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1000 auto;min-width:0}.select-chevron{flex:none;width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--base) var(--ease),stroke var(--fast) var(--ease)}.select-trigger:hover:not(:disabled) .select-chevron{stroke:var(--text)}.select-trigger.is-open .select-chevron{transform:rotate(180deg);stroke:var(--accent)}.select-pop{position:fixed;z-index:70;display:flex;flex-direction:column;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);overflow:hidden;transform-origin:top center;animation:select-in var(--fast) var(--ease) both}.select-pop.is-up{transform-origin:bottom center}.select-search{flex:none;display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border)}.select-search svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}.select-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:15px}.select-search input::placeholder{color:var(--muted)}.select-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:6px;outline:none}.select-option{display:flex;align-items:center;gap:10px;padding:9px 10px 9px 12px;border-radius:10px;cursor:pointer;transition:background-color var(--fast) var(--ease)}.select-option.is-active{background:var(--surface-2)}.select-option.is-selected{background:var(--accent-soft)}.select-option.is-selected.is-active{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-line)}.select-option-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.select-option-label{font-size:15px;font-weight:500;overflow-wrap:anywhere}.select-option.is-selected .select-option-label{font-weight:600;color:var(--accent)}.select-option-hint{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.select-check{flex:none;width:17px;height:17px;fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.6);transition:opacity var(--fast) var(--ease),transform var(--fast) var(--ease)}.select-option.is-selected .select-check{opacity:1;transform:none}.select-empty{padding:14px 12px;color:var(--muted);font-size:14px;text-align:center}.hours{display:inline-flex;align-items:stretch;width:100%;max-width:220px;min-width:168px;background:var(--field);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:3px;transition:border-color var(--fast) var(--ease),box-shadow var(--fast) var(--ease)}.hours:hover{border-color:var(--muted)}.hours:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}.hours.is-disabled{background:var(--surface-2);border-color:var(--border)}.hours-step{flex:none;width:34px;height:34px;border-radius:4px;display:grid;place-items:center;background:var(--surface-2);color:var(--text);border:0;transition:background-color var(--fast) var(--ease),color var(--fast) var(--ease),transform var(--fast) var(--ease)}.hours-step svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.hours-step:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.hours-step:active:not(:disabled){transform:scale(.92)}.hours-step:disabled{color:var(--muted);opacity:.45;cursor:not-allowed}.hours-field{flex:1;display:flex;align-items:baseline;justify-content:center;gap:2px;min-width:0;cursor:text}.hours-input{width:3.2ch;min-width:0;border:0;outline:none;background:transparent;text-align:right;font-family:var(--mono);font-size:19px;font-weight:500;letter-spacing:-.02em;color:var(--accent);font-variant-numeric:lining-nums tabular-nums;padding:7px 0;align-self:center}.hours-input::placeholder{color:var(--muted);font-weight:500}.hours-input:disabled{color:var(--muted);cursor:not-allowed}.hours-unit{color:var(--accent);font-size:14px;font-weight:600;align-self:center}.field-hint{font-size:12.5px;color:var(--muted)}.field-hint-error{color:var(--error-text);animation:fade var(--base) var(--ease) both}.toaster{position:fixed;z-index:50;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}.toast{position:relative;overflow:hidden;width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:10px;padding:13px 12px 14px 14px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);pointer-events:auto;animation:toast-in var(--base) var(--ease) both}.toast-leaving{animation:toast-out .2s var(--ease) both}.toast-icon{width:22px;height:22px;display:grid;place-items:center;border-radius:50%}.toast-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.toast-ok .toast-icon{color:var(--success)}.toast-error .toast-icon{color:var(--danger)}.toast-message{font-size:15px;line-height:1.45;padding-top:1px;overflow-wrap:anywhere}.toast-close{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted);transition:background-color var(--fast) var(--ease),color var(--fast) var(--ease)}.toast-close svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.toast-close:hover{background:var(--surface-2);color:var(--text)}.toast-timer{position:absolute;left:0;bottom:0;height:3px;width:100%;transform-origin:left;animation:toast-timer linear both}.toast-ok .toast-timer{background:var(--success)}.toast-error .toast-timer{background:var(--danger)}.activity-bar{position:fixed;z-index:60;top:0;left:0;right:0;height:3px;overflow:hidden;pointer-events:none;opacity:0;transition:opacity var(--base) var(--ease)}.activity-bar.is-active{opacity:1;transition-delay:.12s}.activity-bar span{position:absolute;top:0;bottom:0;width:40%;border-radius:0 3px 3px 0;background:linear-gradient(90deg,transparent,var(--highlight) 30%,var(--accent));animation:activity 1.1s var(--ease) infinite}.empty{color:var(--muted);padding:6px 0}.card.empty{padding:28px 20px;text-align:center;border-style:dashed;box-shadow:none;background:transparent}.skeleton{display:block;border-radius:8px;background:linear-gradient(90deg,var(--surface-2) 25%,var(--border) 37%,var(--surface-2) 63%);background-size:400% 100%;animation:skeleton 1.4s ease infinite}.skeleton-copy{flex:1;display:grid;gap:8px;min-width:0}.skeleton-title{width:min(240px,55%);height:22px;margin-bottom:12px}.skeleton-copy .skeleton-title{margin-bottom:0}.skeleton-line{width:min(160px,36%);height:14px}.skeleton-pill{width:92px;height:34px;border-radius:var(--radius-sm);flex:none}.skeleton-table{display:grid;gap:14px}.skeleton-head{height:16px;width:100%}.skeleton-row{display:grid;grid-template-columns:1.4fr 1.6fr 1fr .7fr;gap:16px}.skeleton-row .skeleton{height:14px}.skeleton-short{max-width:72px}.skeleton-lines{display:grid;gap:8px}.skeleton-line-row{height:42px}.skeleton-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.skeleton-stat{height:86px;border-radius:var(--radius)}.skeleton-sheet{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.skeleton-cell{height:72px}.comment{background:var(--surface-2);border-left:3px solid var(--highlight);padding:10px 12px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;margin:4px 0 12px;color:var(--text-2)}.comment p{margin:0}.comment p+p{margin-top:6px}.comment .next-step{color:var(--text);font-weight:600}.comment-request{background:var(--accent-soft);border:1px solid var(--accent-line);border-left:4px solid var(--accent);padding:14px 16px}.comment-label{display:block;margin-bottom:6px;font-family:var(--sans);font-size:12.5px;font-weight:600;color:var(--accent)}.comment-quote{color:var(--accent);font-family:var(--sans);font-size:18px;font-weight:500;line-height:1.35;letter-spacing:-.015em}.comment-request .next-step{margin-top:10px;color:var(--text);font-family:var(--sans);font-size:14px;font-weight:600}.comment-by{margin:0 0 6px;font-family:var(--sans);font-size:13px;font-weight:700;color:var(--text)}.comment-request .comment-by{color:var(--accent)}.person-tip{position:relative;display:inline-flex}.person-tip strong{cursor:help;font-weight:700}.person-tip:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.person-card{display:none;position:absolute;z-index:30;left:0;bottom:calc(100% + 8px);min-width:180px;padding:8px 10px;background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow);font-family:var(--sans);font-size:13px;font-weight:600;line-height:1.35;letter-spacing:0;text-transform:none}.person-tip:hover .person-card,.person-tip:focus-within .person-card{display:grid;gap:4px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}.table-nowrap th,.table-nowrap td{white-space:nowrap;padding-left:6px;padding-right:6px}.table-nowrap td{font-size:14px}.table-nowrap td.cell-truncate{max-width:210px;overflow:hidden;text-overflow:ellipsis}.table-nowrap td.cell-action{text-align:right}.btn-icon-only{width:32px;height:32px;padding:0}.btn-icon-only svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.btn-icon-only .edit-text{display:none}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border-soft);vertical-align:middle}th{font-size:12.5px;color:var(--muted);font-weight:500;background:var(--surface-2);border-bottom-color:var(--border)}tbody tr{transition:background-color var(--fast) var(--ease)}tbody tr:hover{background:var(--surface-hover)}tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;gap:6px;min-height:22px;border-radius:var(--radius-xs);padding:1px 8px;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;border:1px solid transparent}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}.badge-present,.badge-inactive{background:var(--neutral-bg);color:var(--neutral-text)}.badge-submitted,.badge-absent{background:var(--warning-bg);color:var(--warning);border-color:var(--warning-line)}.badge-manager_approved{background:var(--info-bg);color:var(--info);border-color:var(--info-line)}.badge-approved,.badge-active{background:var(--success-bg);color:var(--success);border-color:var(--success-line)}.badge-completed{background:var(--success);color:var(--on-success)}.badge-rejected{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-line)}.badge-changes_requested{background:transparent;color:var(--accent);border-color:var(--accent);border-style:dashed}.badge-draft{background:transparent;color:var(--muted);border-color:var(--border-strong);border-style:dashed}.list-button,.check{width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:var(--radius-sm);padding:10px 12px;transition:background-color var(--fast) var(--ease),border-color var(--fast) var(--ease)}.list-button{display:flex;flex-direction:column;gap:2px}.list-button strong{font-weight:600}.check:hover,.list-button:hover{background:var(--surface-2)}.list-button.active{background:var(--accent-soft);border-color:var(--accent-line)}.check{display:flex;gap:10px;align-items:flex-start;cursor:pointer}.check input{margin-top:4px;accent-color:var(--accent)}.picker{display:flex;flex-direction:column;gap:4px;max-height:640px;overflow:auto}.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.cal-dow{font-size:12px;font-weight:600;color:var(--muted);padding:0 4px 2px;text-transform:uppercase;letter-spacing:.06em}.cal-cell{border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px;background:var(--surface);min-height:96px;display:flex;flex-direction:column;gap:6px;transition:background-color var(--base) var(--ease),border-color var(--base) var(--ease)}.cal-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:16px 0 12px}.cal-progress{color:var(--text-2);font-size:14px}.cal-progress strong{color:var(--text)}.cal-cell.unmarked{background:transparent;border-style:dashed;border-color:var(--border-strong)}.cal-cell.present{background:var(--surface)}.cal-cell.weekend:not(.absent){background:var(--surface-2)}.cal-cell.weekend .day-num,.cal-cell.weekend .day-dow{color:var(--muted)}.cal-cell.absent{background:var(--warning-bg);border-color:var(--warning-line)}.cal-cell.absent .day-num{color:var(--warning)}.cal-cell p{font-size:14px;color:var(--text-2)}.day-num{font-weight:700;font-variant-numeric:lining-nums tabular-nums}.day-dow{color:var(--muted);font-size:12px;margin-left:6px;font-weight:500}.seg{display:flex;gap:2px;padding:3px;background:var(--surface-3);border:1px solid var(--border);border-radius:var(--radius)}.seg button{flex:1;border:0;background:transparent;color:var(--text-2);border-radius:5px;padding:4px 2px;font-size:12px;font-weight:500;transition:background-color var(--fast) var(--ease),color var(--fast) var(--ease)}.seg button:hover{color:var(--text)}.seg button[aria-pressed=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 0 0 1px var(--border)}.seg button.seg-absent[aria-pressed=true]{background:var(--warning-bg);color:var(--warning);box-shadow:0 0 0 1px var(--warning-line)}.sheet-actions{position:sticky;bottom:0;z-index:4;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px -20px -20px;padding:14px 20px max(14px,env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius)}.sheet-actions:empty{display:none}.seg-choice{border-radius:var(--radius)}.seg-choice button{padding:6px 14px;font-size:13px;border-radius:5px;min-height:32px}.cal-cell .select-trigger{min-height:34px;padding:5px 8px 5px 10px;font-size:13px;gap:6px}.cal-cell .select-chevron{width:15px;height:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;box-shadow:none}.stat-value{font-family:var(--mono);font-size:26px;font-weight:500;letter-spacing:-.02em;line-height:1.15;font-variant-numeric:lining-nums tabular-nums}.subsection-title{font-size:15px;font-weight:600;color:var(--text-2);margin:4px 0 10px}.stats+.subsection-title{margin-top:4px}.stat-accent{background:var(--accent-soft);border-color:var(--accent-line)}.stat-accent .stat-value{color:var(--accent);font-size:30px}.stat-accent .stat-label{color:var(--accent);font-weight:600;font-size:13px}.stat-label{color:var(--muted);font-size:13px;margin-top:2px}.stats-compact .stat{padding:12px 16px;background:var(--surface-2);border-color:transparent;box-shadow:none}.stats-compact .stat-value{font-size:20px}.history-month{display:flex;flex-direction:column;gap:12px}.history-month+.history-month{margin-top:28px}.history-month .section-title{margin:0 0 4px}.history-summary{color:var(--muted);font-size:14px}.history-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--scrim);display:grid;place-items:center;padding:20px;z-index:40;animation:fade var(--base) var(--ease) both}.modal{width:min(460px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px;box-shadow:var(--shadow-lg);animation:pop var(--base) var(--ease) both}.modal-title{font-family:var(--sans);font-size:20px;font-weight:600;letter-spacing:-.015em;margin-bottom:4px}.modal-lead{margin-bottom:16px}.modal-actions{margin-top:16px}.modal-form{width:min(640px,100%)}.modal-form .grid-3{grid-template-columns:1fr}@media(min-width:640px){.modal-form .grid-3{grid-template-columns:1fr 1fr}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes glow{0%{transform:translateZ(0)}to{transform:translate3d(10%,8%,0)}}@keyframes toast-in{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}@keyframes toast-out{to{opacity:0;transform:translate(24px)}}@keyframes toast-timer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes pulse{0%,to{box-shadow:0 0 0 0 var(--ring)}50%{box-shadow:0 0 0 5px transparent}}@keyframes select-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}@keyframes activity{0%{left:-40%}to{left:100%}}@keyframes skeleton{0%{background-position:100% 0}to{background-position:0 0}}@media(max-width:760px){.input,.select,.textarea,.format-editor,.select-trigger{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}.loader-ring,.btn-spinner,.btn[aria-busy=true]:after{animation:spin 1.6s linear infinite!important}.activity-bar span{animation:activity 2.2s linear infinite!important}.toast-timer{display:none}}@media(max-width:960px){.split,.stats,.grid-3{grid-template-columns:1fr}.stats,.skeleton-stats{grid-template-columns:1fr 1fr}.skeleton-sheet{grid-template-columns:repeat(2,minmax(0,1fr))}.skeleton-row{grid-template-columns:1fr 1fr}.page-head{flex-direction:column;align-items:stretch}.page-head .row{width:100%}}@media(max-width:800px){.shell{flex-direction:column;min-height:100dvh}.sidebar{width:100%;height:auto;position:sticky;top:0;z-index:5;border-right:0;border-bottom:1px solid var(--border);padding:max(10px,env(safe-area-inset-top)) 12px 8px}.brand{padding:0}.logo-sidebar{width:124px}.menu-toggle{display:grid}.sidebar-menu{display:none}.sidebar.is-open{box-shadow:var(--shadow-lg)}.sidebar.is-open .sidebar-menu{display:flex;gap:8px;padding-top:12px;max-height:calc(100dvh - 64px);overflow-y:auto;animation:fade var(--base) var(--ease) both}.nav-link{min-height:44px}.sidebar-foot{margin-top:4px;padding:12px 6px 4px;flex-direction:row;align-items:center;justify-content:space-between}.sidebar-logout{width:auto}.card-actions .btn,.sheet-actions .btn{flex:1 1 auto}.sheet-actions{margin:16px -16px -16px;padding-left:16px;padding-right:16px}.toolbar{padding:16px}.toolbar>.field,.filter-row>.field{flex:1 1 140px}.toolbar-end{margin-left:0;width:100%}.toolbar-end .btn{flex:1 1 auto}.page-head>.btn{align-self:flex-start}.page{padding:20px 14px max(32px,env(safe-area-inset-bottom));padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.page-title{font-size:30px}.section-title{font-size:22px}.stat-value{font-size:26px}.stat-accent .stat-value{font-size:32px}.usage-value{font-size:24px}.grid-2{grid-template-columns:1fr}.card{padding:16px}.card-head{align-items:flex-start}.work-row{flex-direction:column}.btn{min-height:44px}.btn-small{min-height:36px}.cluster .btn{flex:1 1 auto}.table-wrap .input,.table-wrap .select-trigger{min-width:140px}.toaster{left:16px;right:16px;width:auto;align-items:stretch}.cal{grid-template-columns:1fr;gap:8px}.cal-dow,.cal-pad{display:none}.cal-cell{min-height:0;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px}.seg{flex:1;min-width:160px}.seg button{padding:8px 4px}.cal-cell .select-trigger{flex:1 1 140px;width:auto}.cal-cell>div:first-child{flex:none;width:64px}.modal{padding:18px}.site-footer{flex-direction:column;align-items:center;text-align:center;padding-left:14px;padding-right:14px}}@media(max-width:420px){.stats{gap:8px}.timeline-summary .timeline-title{display:none}.stat{padding:12px 14px}.stat-value{font-size:24px}.stat-accent .stat-value{font-size:30px}}@media(max-width:640px){.table-cards thead{display:none}.table-cards,.table-cards tbody{display:block;width:100%}.table-cards tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:14px 0;border-bottom:1px solid var(--border)}.table-cards tbody tr:hover{background:transparent}.table-cards tr:last-child{border-bottom:0}.table-cards td{display:block;padding:0;border:0;font-size:14px;overflow-wrap:anywhere;white-space:normal}.table-cards td:before{content:attr(data-label);display:block;margin-bottom:2px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.table-cards td.cell-primary{grid-column:1 / -1;font-size:16px;font-weight:600}.table-cards td.cell-primary:before,.table-cards td.cell-action:before{display:none}.table-cards td.cell-action{grid-column:1 / -1}.table-cards td.cell-action .btn{width:100%;height:auto;padding:6px 12px}.table-cards td.cell-action .edit-text{display:inline}.table-wrap .table-cards .input,.table-wrap .table-cards .select-trigger{min-width:0}}.cookie-notice{position:fixed;left:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:150;width:min(380px,calc(100vw - 32px));padding:14px 16px;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:var(--text-2);box-shadow:var(--shadow-lg);font-family:var(--sans);font-size:13px;line-height:1.5;animation:cookie-in var(--base) var(--ease)}.cookie-notice p{margin:0}.cookie-notice a{color:var(--accent);font-weight:600}.cookie-notice-now{margin-top:6px!important;color:var(--muted)}.cookie-notice-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.cookie-settings-link{border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:500;cursor:pointer}.cookie-settings-link:hover{color:var(--accent)}@keyframes cookie-in{0%{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.cookie-notice{animation:none}}.new-look{margin:20px 32px 0;max-width:1056px;display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:16px 18px;border:1px solid var(--accent-line);border-left:3px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent-soft)}.new-look-text{display:grid;gap:4px;min-width:0}.new-look h2{font-size:15px;font-weight:600;color:var(--text);margin:0 0 2px}.new-look p{margin:0;font-size:14px;line-height:1.5;color:var(--text-2)}.new-look-actions{display:flex;align-items:center;gap:4px;flex:none}.new-look-close{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:var(--radius-sm);background:none;color:var(--muted);cursor:pointer}.new-look-close:hover{background:var(--surface);color:var(--text)}.new-look-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}@media(max-width:800px){.new-look{margin:16px 14px 0;flex-direction:column;gap:10px}.new-look-actions{align-self:stretch;justify-content:space-between}}.badge-due{background:var(--warning-bg);color:var(--warning);border-color:var(--warning-line)}.badge-paid{background:var(--success-bg);color:var(--success);border-color:var(--success-line)}.badge-waived{background:var(--neutral-bg);color:var(--neutral-text)}.badge-overdue{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-line)}.billing-hero{padding:20px}.billing-hero .section-title{margin:10px 0 4px}.billing-due{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 18px;margin-bottom:16px;border-color:var(--warning-line);background:var(--warning-bg)}.billing-due.is-overdue{border-color:var(--danger-line);background:var(--danger-bg)}.billing-due p{margin:2px 0 0}.billing-was{font-size:15px;color:var(--muted);margin-left:8px;font-weight:400}.billing-how{padding:16px 18px;margin-bottom:16px}.billing-how .section-title{margin-top:0}.billing-points{margin:0;padding-left:20px;color:var(--text-2);line-height:1.6}.billing-points li+li{margin-top:4px}.billing-small{font-size:12.5px}.tour{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;pointer-events:none}.tour-block{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:auto;background:transparent}.tour-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--scrim);animation:fade var(--base) var(--ease) both}.tour-spot{position:fixed;border-radius:var(--radius);box-shadow:0 0 0 9999px var(--scrim),0 0 0 3px var(--highlight);transition:top var(--base) var(--ease),left var(--base) var(--ease),width var(--base) var(--ease),height var(--base) var(--ease)}.tour-card{position:fixed;z-index:61;width:min(340px,calc(100vw - 32px));pointer-events:auto;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:16px 16px 12px;display:grid;gap:8px;animation:rise var(--base) var(--ease) both}.tour-center{left:50%;top:50%;transform:translate(-50%,-50%);animation:fade var(--base) var(--ease) both}.tour-dock{left:16px;right:16px;bottom:16px;width:auto}.tour-meta{display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:var(--muted)}.tour-title{margin:0;font-family:var(--sans);font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1.3}.tour-body{margin:0;font-size:14px;line-height:1.55;color:var(--text-2)}.tour-dots{display:flex;gap:6px}.tour-dots span{width:6px;height:6px;border-radius:3px;background:var(--border-strong);transition:width var(--base) var(--ease),background var(--base) var(--ease)}.tour-dots span.on{width:16px;background:var(--accent)}.tour-actions{display:flex;align-items:center;gap:6px;margin-top:4px}.tour-grow{flex:1}.email-settings{display:grid;gap:12px}.email-settings label{display:flex;gap:10px;align-items:flex-start}.email-settings label span{display:grid;gap:2px}@media(prefers-reduced-motion:reduce){.tour-spot,.tour-card,.tour-scrim{transition:none;animation:none}}.billing-yearly,.billing-details{padding:16px 18px;margin-bottom:16px}.billing-yearly .section-title,.billing-details .section-title{margin-top:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.billing-yearly-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.billing-yearly-head p{margin:2px 0 12px}.billing-save{font-size:12px}.billing-yearly-form{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.billing-yearly-form .field{width:160px;margin:0}.billing-yearly-sum{display:grid;gap:2px;min-width:220px;flex:1}.billing-yearly-sum strong{font-family:var(--mono);font-size:22px;font-weight:500}.billing-form{align-items:start}
