:root{--bg:#f6f5f2;--surface:#fff;--surface-2:#faf9f7;--text:#1f2328;--muted:#646a70;--border:#e3e1dc;--grid:#ecebe7;--brand:#1d5c5a;--brand-strong:#164846;--brand-soft:#edf3f2;--brand-ink:#fff;--accent:#b5541b;--accent-soft:#f8ece3;--side-bg:#fbfaf8;--side-text:#2c3136;--side-muted:#8a8f94;--focus:#2563eb;--ok-bg:#e9f3ec;--ok:#24613a;--warn-bg:#fbf2dc;--warn:#7a5300;--danger-bg:#f9e6e4;--danger:#9b2c22;--info-bg:#e9eff7;--info:#284f80;--neutral-bg:#f0efeb;--series-1:#9b3d51;--series-2:#2f5f95;--radius:6px;--radius-lg:8px;--serif:"Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#15171a;--surface:#1c1f23;--surface-2:#202429;--text:#e7e5e0;--muted:#9da2a7;--border:#2e3237;--grid:#282c31;--brand:#6fb3ae;--brand-strong:#8cc6c1;--brand-soft:#1f2e2d;--brand-ink:#0f1a19;--accent:#e08a52;--accent-soft:#33241a;--side-bg:#181a1e;--side-text:#d9d7d2;--side-muted:#7f848a;--ok-bg:#1b3324;--ok:#93d1a6;--warn-bg:#362c14;--warn:#e9c87a;--danger-bg:#3a1d1b;--danger:#f0a49c;--info-bg:#1b2a3d;--info:#9dbde6;--neutral-bg:#23272c;--series-1:#e590a3;--series-2:#8db4e3;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font:15px/1.5 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1{margin:0 0 .25rem;font-size:1.5rem}h2{margin:0;font-size:1rem}p{margin:.25rem 0}a{color:var(--brand)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:.85rem}.mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.prewrap{white-space:pre-wrap}.error{color:var(--danger);background:var(--danger-bg);border-radius:var(--radius);padding:.5rem .75rem}.success{color:var(--ok)}button,.button{font:inherit;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;align-items:center;gap:.25rem;padding:.4rem .8rem;text-decoration:none;display:inline-flex}button:hover,.button:hover{border-color:var(--brand)}button:disabled{opacity:.55;cursor:not-allowed}.primary{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}button.link{color:var(--brand);background:0 0;border:none;padding:.25rem}input,select,textarea{font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--text);padding:.45rem .6rem}input[type=checkbox]{width:auto}label{flex-direction:column;gap:.25rem;font-weight:500;display:flex}label.inline{flex-direction:row;align-items:center;font-size:.9rem;font-weight:400}.auth-page{place-items:center;min-height:100vh;padding:1rem;display:grid}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:.9rem;width:min(420px,100%);padding:1.5rem;display:flex}.brand{letter-spacing:.08em;color:var(--brand);font-weight:800}.topbar{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:1.5rem;padding:.6rem 1.25rem;display:flex}.topbar nav{flex:1;gap:.25rem;display:flex}.topbar nav a{border-radius:var(--radius);color:var(--text);padding:.35rem .75rem;text-decoration:none}.topbar nav a.active{background:var(--neutral-bg);font-weight:600}.count{background:var(--danger);color:#fff;border-radius:999px;margin-left:.35rem;padding:0 .45rem;font-size:.75rem}.user{align-items:center;gap:.5rem;display:flex}.user-name{color:var(--muted);font-size:.9rem;text-decoration:none}.content{max-width:1280px;margin:0 auto;padding:1.25rem}.footer{text-align:center;padding:1rem;font-size:.8rem}.page{flex-direction:column;gap:1rem;display:flex}.page.narrow{max-width:860px}.grid-2{grid-template-columns:repeat(auto-fit,minmax(380px,1fr));align-items:start;gap:1rem;display:grid}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem 1rem;display:flex}.panel-actions{gap:.5rem;display:flex}.empty{padding:.5rem 0}.rows{margin:0;padding:0;list-style:none}.row{border-bottom:1px solid var(--grid);justify-content:space-between;gap:1rem;padding:.7rem 0;display:flex}.row:last-child{border-bottom:none}.row-main{flex:1;min-width:0}.row-actions{align-items:flex-start;gap:.5rem;display:flex}.row-actions.stack,.stack{flex-direction:column;align-items:stretch;gap:.4rem;min-width:200px}.row.unread{font-weight:500}.row.read{opacity:.75}.badge{background:var(--neutral-bg);color:var(--text);vertical-align:middle;border-radius:999px;padding:.05rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}.badge-ok{background:var(--ok-bg);color:var(--ok)}.badge-warn{background:var(--warn-bg);color:var(--warn)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-info{background:var(--info-bg);color:var(--info)}.badge-muted{color:var(--muted)}.chips{flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.chip{border:1px solid var(--border);border-radius:999px;padding:.2rem .75rem;font-size:.85rem}.chip-ok{background:var(--ok-bg);border-color:#0000}.chip-off{background:var(--neutral-bg)}.callout{background:var(--info-bg);border-radius:var(--radius);margin-bottom:.5rem;padding:.5rem .75rem}.patient-link{text-decoration:none}.patient-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.table{border-collapse:collapse;width:100%;margin-top:.5rem;font-size:.9rem}.table th,.table td{text-align:left;border-bottom:1px solid var(--grid);vertical-align:top;padding:.45rem .5rem}.table th{color:var(--muted);font-weight:600}.table tr.inactive td{color:var(--muted);text-decoration:line-through}.table tr.inactive td:nth-child(6),.table tr.inactive td:nth-child(7){text-decoration:none}.panel-body{overflow-x:auto}.form{flex-direction:column;gap:.75rem;margin-bottom:.75rem;display:flex}.form-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;display:grid}.form-actions{flex-wrap:wrap;gap:.5rem;display:flex}.search{gap:.5rem;max-width:560px;display:flex}.facts{grid-template-columns:max-content 1fr;gap:.35rem 1rem;margin:0;display:grid}.facts dt{color:var(--muted)}.facts dd{margin:0}.history{padding-left:1.25rem}.chart{margin:0}@media (width<=640px){.grid-2{grid-template-columns:1fr}.row{flex-direction:column}.content{padding:.75rem}}.stats{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.stat{border:1px solid var(--grid);border-radius:var(--radius);flex-direction:column;gap:.15rem;padding:.75rem;display:flex}.stat-value{font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:700}.stat-label{color:var(--muted);font-size:.85rem}.boxed{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);padding:.75rem}.filters{margin-bottom:.25rem}.inline-form{gap:.5rem;margin-top:.5rem;display:flex}fieldset{border:none;flex-direction:column;gap:.75rem;margin:0;padding:0;display:flex}.pager{justify-content:center;align-items:center;margin-top:.75rem}.table tr.flagged td{background:var(--warn-bg)}.secret{border:1px solid var(--info);flex-direction:column;gap:.5rem;display:flex}.secret-value{letter-spacing:.04em;-webkit-user-select:all;user-select:all;font-size:1.25rem}.auth-card.wide{width:min(560px,100%)}.steps{margin:0;padding-left:1.25rem}.mfa-qr{flex-wrap:wrap;align-items:center;gap:1rem;margin:.75rem 0;display:flex}.mfa-qr img{border-radius:var(--radius);background:#fff;padding:6px}.recovery-codes{-webkit-user-select:all;user-select:all;grid-template-columns:repeat(2,max-content);gap:.25rem 1.5rem;margin:0;padding:0;font-size:1.05rem;list-style:none;display:grid}.error-inline{color:var(--danger)}.activation-code{letter-spacing:.12em;-webkit-user-select:all;user-select:all;font-size:2.2rem;font-weight:700}@media print{:is(.topbar,.footer,.panel:not(:has(.activation-code))){display:none!important}}.warning-text{color:var(--warn);background:var(--warn-bg);border-radius:var(--radius);margin-top:.3rem;padding:.2rem .4rem}.checks{flex-wrap:wrap;gap:.4rem 1rem;display:flex}fieldset legend{font-weight:600}.answers{gap:.4rem;margin:0;display:grid}.answers dt{font-size:.9rem;font-weight:600}.answers dd{margin:0 0 .4rem}.auth-card.wide{max-width:760px}.auth-footer{text-align:center;margin-top:.75rem}.head-actions{flex-wrap:wrap;align-items:flex-start;gap:.5rem;display:flex}.page-head p{max-width:60rem;margin-top:.25rem}.mc-widget{z-index:50;flex-direction:column;align-items:flex-end;gap:12px;display:flex;position:fixed;bottom:20px;right:20px}.mc-fab{width:58px;height:58px;color:var(--brand-ink);background:var(--brand);border:none;border-radius:50%;place-items:center;padding:0;transition:transform .15s;display:grid;position:relative;box-shadow:0 8px 24px #00000038}.mc-fab:hover{background:var(--brand);transform:scale(1.06)}.mc-badge{background:var(--danger);color:#fff;border:2px solid var(--surface);border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:.75rem;font-weight:700;display:grid;position:absolute;top:-2px;right:-2px}.mc-panel{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;width:min(400px,100vw - 32px);height:min(600px,100vh - 110px);animation:.18s ease-out mc-pop;display:flex;overflow:hidden;box-shadow:0 18px 48px #00000040}@keyframes mc-pop{0%{opacity:0;transform:translateY(12px)scale(.98)}}.mc-panel-head{color:var(--brand-ink);background:var(--brand);align-items:center;gap:10px;padding:12px 14px;display:flex}.mc-panel-head div{flex-direction:column;flex:1;display:flex}.mc-panel-logo{background:#ffffff38;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.mc-x{color:inherit;background:0 0;border:none;padding:0 4px;font-size:1.5rem;line-height:1}.mc-x:hover{background:#ffffff26}.mc-list{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.mc-list ul{margin:0;padding:0;list-style:none}.mc-tabs{border-bottom:1px solid var(--border);background:var(--surface);gap:4px;padding:8px;display:flex;position:sticky;top:0}.mc-tabs button{background:0 0;border:none;border-radius:999px;flex:1}.mc-tabs button.on{background:var(--neutral-bg);font-weight:600}.mc-row{text-align:left;border:none;border-bottom:1px solid var(--grid);background:0 0;border-radius:0;gap:10px;width:100%;padding:10px 12px;display:flex}.mc-row.sel{background:var(--info-bg)}.mc-row.unread strong{color:var(--brand)}.mc-row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mc-row-top{justify-content:space-between;gap:8px;display:flex}.mc-row-sub{white-space:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.mc-row-sub .muted{text-overflow:ellipsis;overflow:hidden}.mc-tags{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.mc-dot{background:var(--brand);border-radius:50%;flex:none;width:8px;height:8px}.mc-avatar{width:36px;height:36px;color:var(--brand);background:var(--neutral-bg);border-radius:50%;flex:none;place-items:center;font-size:.85rem;font-weight:700;display:grid}.mc-empty{text-align:center;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:.25rem;padding:2rem 1rem;display:flex}.mc-empty-icon{font-size:2rem}.mc-pad{padding:1rem}.mc-thread{flex-direction:column;flex:1;min-height:0;display:flex}.mc-thread-head{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;display:flex}.mc-thread-title{flex-direction:column;flex:1;min-width:10rem;display:flex}.mc-thread-actions{align-items:center;gap:6px;display:flex}.mc-messages{background:var(--bg);flex-direction:column;flex:1;gap:10px;padding:12px;display:flex;overflow-y:auto}.mc-system{color:var(--info);background:var(--info-bg);text-align:center;border-radius:999px;align-self:center;margin:0;padding:4px 12px;font-size:.8rem}.mc-msg{flex-direction:column;gap:2px;max-width:82%;display:flex}.mc-msg.them{align-self:flex-start}.mc-msg.us{align-self:flex-end;align-items:flex-end}.mc-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--border);border-radius:16px 16px 16px 4px;padding:8px 12px}.mc-msg.us .mc-bubble{background:var(--brand);color:var(--brand-ink);border-color:#0000;border-bottom-right-radius:4px;border-bottom-left-radius:16px}.mc-ideas{border-top:1px solid var(--border);flex-direction:column;gap:6px;max-height:40%;padding:8px 12px;display:flex;overflow-y:auto}.mc-ideas-head{justify-content:space-between;display:flex}.mc-idea{text-align:left;flex-direction:column;gap:2px;font-size:.85rem;display:flex}.mc-idea span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mc-compose{border-top:1px solid var(--border);background:var(--surface);flex-direction:column;gap:6px;padding:8px 12px;display:flex}.mc-compose textarea{resize:vertical;width:100%;font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);box-sizing:border-box;padding:8px 10px}.mc-compose-bar{justify-content:space-between;align-items:center;gap:8px;display:flex}.mc-page{background:var(--surface);border:1px solid var(--border);border-radius:12px;grid-template-columns:minmax(260px,340px) 1fr;height:calc(100vh - 230px);min-height:420px;display:grid;overflow:hidden}.mc-page .mc-list{border-right:1px solid var(--border)}.mc-page-empty{height:100%}@media (width<=720px){.mc-page{grid-template-columns:1fr;height:auto}.mc-page .mc-list{border-right:none;max-height:40vh}}.stat-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:1rem 0;display:grid}.stat-row .stat{flex-direction:column;display:flex}.stat-row .stat strong{color:var(--brand);font-size:1.6rem}.centre-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.centre-list li.inactive{opacity:.6}.centre-card{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.centre-head{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.services-pick{border:1px solid var(--border);border-radius:var(--radius);grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px;padding:10px 14px;display:grid}label.check{flex-direction:row;align-items:center;gap:6px;display:flex}.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;margin:1rem 0;display:grid}.bars{align-items:flex-end;gap:10px;height:160px;padding-top:18px;display:flex}.bar{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;height:100%;display:flex}.bar-fill{background:var(--brand);border-radius:6px 6px 0 0;width:100%;min-height:2px}.bar-value{font-size:.8rem;font-weight:600}.notice{background:var(--info-bg);color:var(--info);border-radius:var(--radius);margin:.75rem 0;padding:.75rem 1rem}.tabs{border-bottom:1px solid var(--grid);flex-wrap:wrap;gap:.25rem;margin:.5rem 0 1rem;display:flex}.tabs a{border-radius:var(--radius) var(--radius) 0 0;color:inherit;padding:.5rem .85rem;text-decoration:none}.tabs a.active{border-bottom:3px solid var(--brand);font-weight:600}body{-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font:15px/1.55 Segoe UI,system-ui,-apple-system,Roboto,Helvetica Neue,Arial,sans-serif}h1{font-family:var(--serif);letter-spacing:-.005em;margin:0 0 .25rem;font-size:1.75rem;font-weight:600;line-height:1.2}h2{font-size:1rem;font-weight:600}a{color:var(--brand);text-underline-offset:2px;text-decoration-thickness:1px}.app{--side-w:248px;grid-template-columns:var(--side-w) 1fr;min-height:100vh;display:grid}.app.app-slim{--side-w:68px}.side{background:var(--side-bg);border-right:1px solid var(--border);height:100vh;color:var(--side-text);z-index:40;flex-direction:column;gap:8px;padding:18px 12px 12px;display:flex;position:sticky;top:0}.side-brand{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:0 8px 16px;display:flex}.side-logo{width:30px;height:30px;color:var(--brand);border:1.5px solid var(--brand);border-radius:6px;flex:none;place-items:center;display:grid}.side-logo svg{width:18px;height:18px}.side-brand-text{flex-direction:column;min-width:0;line-height:1.15;display:flex}.side-brand-text strong{font-family:var(--serif);letter-spacing:.02em;color:var(--text);font-size:1.2rem;font-weight:600}.side-brand-text small{color:var(--side-muted);font-size:.78rem}.side-close{color:var(--muted);background:0 0;border:none;margin-left:auto;padding:4px;display:none}.side-nav{scrollbar-width:thin;flex-direction:column;flex:1;gap:18px;padding:10px 0 4px;display:flex;overflow-y:auto}.side-group{flex-direction:column;gap:1px;display:flex}.side-group-label{color:var(--side-muted);padding:0 10px 6px;font-size:.74rem;font-weight:600}.side-link,.side-out{color:var(--side-text);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:11px;width:100%;padding:7px 10px;font-size:.92rem;text-decoration:none;display:flex;position:relative}.side-link svg,.side-out svg{width:18px;height:18px;color:var(--side-muted);flex:none}.side-link:hover,.side-out:hover{background:var(--neutral-bg)}.side-link.active{background:var(--brand-soft);color:var(--brand);font-weight:600}.side-link.active:before{content:"";background:var(--brand);width:3px;position:absolute;top:6px;bottom:6px;left:-12px}.side-link.active svg{color:var(--brand)}.side-link-text{white-space:nowrap;text-overflow:ellipsis;text-align:left;flex:1;min-width:0;overflow:hidden}.side-count{background:var(--accent);color:#fff;font-variant-numeric:tabular-nums;border-radius:10px;place-items:center;min-width:20px;height:19px;padding:0 6px;font-size:.72rem;font-weight:600;display:grid}.side-foot{border-top:1px solid var(--border);flex-direction:column;gap:2px;padding-top:10px;display:flex}.side-user{color:var(--side-text);border-radius:6px;align-items:center;gap:10px;padding:6px 8px;text-decoration:none;display:flex}.side-user:hover,.side-user.active{background:var(--neutral-bg)}.side-user-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.side-user-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:600;overflow:hidden}.side-user-text small{color:var(--side-muted);font-size:.76rem}.avatar{width:32px;height:32px;color:var(--brand);background:var(--brand-soft);border:1px solid color-mix(in srgb, var(--brand) 25%, transparent);border-radius:50%;flex:none;place-items:center;font-size:.8rem;font-weight:600;display:grid}.side-slim{color:var(--side-muted);cursor:pointer;background:0 0;border:none;align-self:flex-end;padding:6px}.side-slim:hover{color:var(--text)}.app-slim .side-brand-text,.app-slim .side-link-text,.app-slim .side-group-label,.app-slim .side-user-text{display:none}.app-slim .side-link,.app-slim .side-out,.app-slim .side-user{justify-content:center}.app-slim .side-count{min-width:16px;height:16px;padding:0 4px;font-size:.62rem;position:absolute;top:0;right:0}.app-slim .side-slim{align-self:center}.side-scrim{display:none}.main{flex-direction:column;min-width:0;display:flex}.appbar{z-index:30;background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:10px 32px;display:flex;position:sticky;top:0}.appbar-menu{border:1px solid var(--border);background:0 0;padding:6px;display:none}.appbar-hello{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.appbar-hello strong{font-size:.95rem;font-weight:600}.appbar-hello span{color:var(--muted);font-size:.85rem}.appbar-right{align-items:center;gap:6px;margin-left:auto;display:flex}.appbar-icon{width:36px;height:36px;color:var(--muted);border:1px solid #0000;border-radius:6px;place-items:center;display:grid;position:relative}.appbar-icon:hover{color:var(--text);border-color:var(--border)}.appbar-icon.active{color:var(--brand)}.appbar-icon .side-count{position:absolute;top:-2px;right:-4px}.content{width:100%;max-width:1240px;margin:0 auto;padding:32px 32px 48px}.footer{color:var(--muted);text-align:left;width:100%;max-width:1240px;margin:0 auto;padding:0 32px 24px;font-size:.78rem}.page{gap:20px}.page>h1+p.muted,.page>h1+p{max-width:68ch;color:var(--muted);margin-top:-14px}.page-header{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:flex-end;gap:16px;padding-bottom:16px;display:flex}.page-header-icon{display:none}.page-header-text{flex:1;min-width:240px}.page-header-text p{color:var(--muted);max-width:68ch;margin:0}.page-header-actions{flex-wrap:wrap;gap:8px;display:flex}.panel{border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:none;overflow:visible}.panel-head{border-bottom:1px solid var(--grid);padding:14px 20px 10px}.panel-head h2{font-size:.98rem}.panel-body{padding:14px 20px 18px}.centre-card{background:var(--surface);border-radius:var(--radius-lg);padding:16px 20px}.boxed{background:var(--surface-2);border-radius:var(--radius);padding:14px 16px}.grid-2{gap:20px;margin:0}.callout,.notice{border-radius:var(--radius);border-left:3px solid var(--info)}.error{border-radius:var(--radius);border-left:3px solid var(--danger)}.row{flex-wrap:wrap;padding:12px 0}.row-main{min-width:min(240px,100%)}.row-actions{flex-wrap:wrap}.table{border-collapse:collapse;font-size:.92rem}.table th{color:var(--muted);border-bottom:1px solid var(--border);background:0 0;padding:8px 12px 8px 0;font-size:.8rem;font-weight:600}.table td{border-bottom:1px solid var(--grid);padding:11px 12px 11px 0}.table tbody tr:hover td{background:var(--surface-2)}.table a{font-weight:600;text-decoration:none}.table a:hover{text-decoration:underline}.table .mono{white-space:nowrap}.table td:has(>.mono){white-space:nowrap}button,.button{border-radius:var(--radius);box-shadow:none;background:var(--surface);border:1px solid var(--border);padding:.45rem .9rem;font-weight:500;transition:background .12s,border-color .12s}button:hover:not(:disabled),.button:hover{background:var(--surface-2);border-color:#c9c6bf}.primary,button.primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}.primary:hover:not(:disabled),button.primary:hover:not(:disabled){background:var(--brand-strong);border-color:var(--brand-strong)}button.link{background:0 0;border:none;font-weight:500}input,select,textarea{border-radius:var(--radius);background:var(--surface);border:1px solid #d6d3cc;padding:.5rem .7rem}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 16%, transparent);outline:none}input[type=checkbox],input[type=radio]{accent-color:var(--brand);width:16px;height:16px}label{font-size:.9rem;font-weight:500}.filters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.filters input,.filters select{width:auto;min-width:200px}.search{max-width:620px}.badge{border-radius:4px;padding:.08rem .5rem;font-size:.74rem;font-weight:600}.stats{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:0;overflow:hidden}.stats .stat{border:none;border-right:1px solid var(--grid);border-bottom:1px solid var(--grid);border-radius:0;margin:0 -1px -1px 0;padding:14px 16px}.stat-row .stat{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);padding:14px 16px}.stat-value,.stat-row .stat strong{font-family:var(--serif);color:var(--text);font-size:1.7rem;font-weight:600;line-height:1.15}.stat-label{font-size:.84rem}.tabs{border:none;border-bottom:1px solid var(--border);background:0 0;border-radius:0;gap:22px;margin:0;padding:0;display:flex;overflow-x:auto}.tabs a{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;border-radius:0;margin-bottom:-1px;padding:8px 0 10px;font-weight:500;text-decoration:none}.tabs a:hover{color:var(--text)}.tabs a.active{color:var(--text);border-bottom-color:var(--brand);box-shadow:none;background:0 0;font-weight:600}.home-head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:18px;display:flex}.home-head h1{margin:0;font-size:2rem}.home-head p{color:var(--muted);max-width:64ch;margin:4px 0 0}.home-actions{flex-wrap:wrap;gap:8px;display:flex}.home-actions .button svg{width:16px;height:16px;color:var(--muted)}.home-actions .button.primary svg{color:inherit}.section-title{justify-content:space-between;align-items:baseline;gap:12px;margin:8px 0 -8px;display:flex}.section-title h2{font-family:var(--serif);font-size:1.2rem;font-weight:600}.tiles{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.tile{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);color:var(--text);align-items:flex-start;gap:12px;padding:14px 16px;text-decoration:none;display:flex}a.tile:hover{background:var(--surface-2);border-color:#c9c6bf}.tile-icon{color:var(--muted);flex:none;padding-top:3px}.tile-icon svg{width:18px;height:18px}.tile.tone-danger .tile-icon{color:var(--danger)}.tile.tone-accent .tile-icon{color:var(--accent)}.tile-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.tile-text strong{font-family:var(--serif);font-variant-numeric:tabular-nums;font-size:1.55rem;font-weight:600}.tile-text span{color:var(--muted);font-size:.86rem}.tile.calm strong{font-family:inherit;font-size:.95rem}.all-clear{border-radius:var(--radius-lg);border:1px solid color-mix(in srgb, var(--ok) 25%, var(--border));background:var(--ok-bg);color:var(--ok);align-items:center;gap:10px;padding:12px 16px;display:flex}.all-clear svg{width:18px;height:18px}.auth-page{background:var(--bg)}.auth-card{border-radius:var(--radius-lg);box-shadow:none;border:1px solid var(--border);padding:2rem 2rem 1.75rem}.auth-card h1{font-size:1.6rem}.auth-card .brand{font-family:var(--serif);letter-spacing:.02em;color:var(--text);align-items:center;gap:10px;margin-bottom:.5rem;font-size:1.15rem;font-weight:600;display:flex}.auth-logo{width:28px;height:28px}.auth-motto{letter-spacing:0;color:var(--muted);margin-left:auto;font-family:Segoe UI,system-ui,sans-serif;font-size:.78rem;font-weight:400}.auth-card button.primary{justify-content:center;padding:.65rem 1rem}@media (width<=960px){.app,.app.app-slim{grid-template-columns:1fr}.side{border-right:1px solid var(--border);width:272px;transition:transform .18s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.app-open .side{transform:none}.app-slim .side-brand-text,.app-slim .side-link-text,.app-slim .side-group-label,.app-slim .side-user-text{display:initial}.app-slim .side-link,.app-slim .side-out,.app-slim .side-user{justify-content:flex-start}.side-close{display:grid}.side-slim{display:none}.app-open .side-scrim{z-index:35;background:#14161959;display:block;position:fixed;inset:0}.appbar-menu{display:grid}.appbar{padding:8px 16px}.content{padding:20px 16px 32px}.footer{padding:0 16px 20px}.filters input,.filters select{flex:1;min-width:0}.home-head h1{font-size:1.6rem}}
