.shell{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.shell>.screen{grid-column:2}@media (max-width:860px){.shell{grid-template-columns:1fr}.shell>.screen{grid-column:1}}.sidebar{gap:var(--space-6);padding:var(--space-5) var(--space-3);background:var(--surface-inverse);color:var(--text-oninverse);overscroll-behavior:contain;z-index:10;flex-direction:column;width:240px;display:flex;position:fixed;top:0;bottom:0;left:0;overflow-y:auto}@media (max-width:860px){.sidebar{width:auto;height:auto;position:static}}.sidebar a{color:var(--text-oninverse)}.sidebar :focus-visible{outline-color:var(--focus-ring-inverse)}.sidebar-brand{padding:0 var(--space-2) var(--space-5);line-height:0;display:block}.sidebar-brand img{border-radius:var(--radius-sm);width:40px;height:40px;display:block}.sidebar-groups{gap:var(--space-5);flex-direction:column;display:flex}.sidebar-group{flex-direction:column;gap:2px;display:flex}.sidebar-group-title{font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--text-oninverse-muted);padding:0 var(--space-3) var(--space-1);margin:0}.sidebar-group a{padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-base);transition:background var(--motion), color var(--motion)}.sidebar-group a:hover{color:var(--text-oninverse);background:#241c160f}.sidebar-group a[aria-current=page]{background:var(--accent-primary);color:var(--text-onaccent);font-weight:var(--weight-semibold)}.sidebar-group a{align-items:baseline;gap:var(--space-1);display:flex}.sidebar-group a .nav-count{background:var(--warning-100);color:var(--warning-600);border-radius:var(--radius-sm);padding:0 var(--space-1);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.sidebar-group a .nav-dot{background:var(--warning-100);border-radius:50%;flex:none;align-self:center;width:8px;height:8px;margin-left:auto}.sidebar-user{gap:var(--space-2);padding-top:var(--space-4);border-top:1px solid var(--border-inverse);flex-direction:column;margin-top:auto;display:flex}.sidebar-user .topnav-user{font-size:var(--text-sm);color:var(--text-oninverse-muted);margin:0}.sidebar-user button{border:1px solid var(--border-inverse);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);font:inherit;font-size:var(--text-sm);color:var(--text-oninverse);cursor:pointer;transition:background var(--motion);background:0 0}.sidebar-user button:hover{background:#241c160f}.sidebar-top{padding:0 var(--space-2) var(--space-5);justify-content:space-between;align-items:center;display:flex}.sidebar-top .sidebar-brand{padding:0}.sidebar-toggle{border:1px solid var(--border-inverse);border-radius:var(--radius-sm);color:var(--text-oninverse);width:28px;height:28px;font:inherit;cursor:pointer;transition:background var(--motion);background:0 0;justify-content:center;align-items:center;display:flex}.sidebar-toggle:hover{background:#241c160f}.sidebar-reveal{top:var(--space-3);left:var(--space-3);z-index:20;border:1px solid var(--border-hairline);border-radius:var(--radius-sm);background:var(--paper-0);width:32px;height:32px;font:inherit;cursor:pointer;justify-content:center;align-items:center;display:none;position:fixed}.shell{transition:grid-template-columns var(--motion)}.sidebar{transition:transform var(--motion)}.shell[data-sidebar=hidden]{grid-template-columns:0 minmax(0,1fr)}.shell[data-sidebar=hidden] .sidebar{transform:translate(-100%)}.shell[data-sidebar=hidden] .sidebar-reveal{display:flex}.shell[data-sidebar=hidden] .screen{padding-top:calc(var(--space-6) + 40px)}@media (max-width:860px){.sidebar-toggle,.sidebar-reveal{display:none}.shell[data-sidebar=hidden]{grid-template-columns:1fr}.shell[data-sidebar=hidden] .sidebar{transform:none}.shell[data-sidebar=hidden] .screen{padding-top:var(--space-4)}.sidebar{gap:var(--space-3);padding:var(--space-4);flex-direction:column;display:flex}.sidebar-brand{padding:0}.sidebar-groups{gap:var(--space-2) var(--space-5);flex-flow:wrap}.sidebar-group{align-items:baseline;gap:2px var(--space-1);flex-flow:wrap}.sidebar-group-title{padding:0 var(--space-1) 0 0}.sidebar-group a{padding:var(--space-1) var(--space-2)}.sidebar-user{justify-content:space-between;align-items:center;gap:var(--space-2);padding-top:var(--space-3);flex-flow:wrap;margin-top:0}}.screen{padding:var(--space-6);width:100%;min-width:0;max-width:var(--container-wide)}.screen>.record,.screen>section{max-width:none}.screen-head{align-items:baseline;gap:var(--space-2) var(--space-4);margin-bottom:var(--space-5);flex-wrap:wrap;display:flex}.screen-head h1,.members-head h1,.record h1,.login h1{font-family:var(--font-sans);font-weight:var(--weight-semibold);font-size:var(--text-2xl);line-height:var(--leading-tight);letter-spacing:var(--tracking-tight);margin:0}.screen-head .count,.members-count{color:var(--text-secondary);font-family:var(--font-mono);font-size:var(--text-sm)}.screen-head .actions{gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.screen-eyebrow{font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--text-secondary);flex:0 0 100%}.screen-back{text-transform:none;letter-spacing:normal;font-size:var(--text-sm)}.screen-description{color:var(--text-secondary);text-wrap:pretty;flex:0 0 100%}.screen-head .screen-eyebrow,.screen-head .screen-description{max-width:none}.statrow{gap:var(--space-3);margin-bottom:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));display:grid}.stat{gap:var(--space-1);padding:var(--space-4);background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-md);flex-direction:column;display:flex}.stat-label{font-size:var(--text-sm);color:var(--text-secondary)}.stat-value{font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:var(--text-2xl);line-height:var(--leading-tight);color:var(--text-primary)}.stat-value.is-ok{color:var(--success-600)}.stat-value.is-warn{color:var(--warning-600)}.stat-value.is-danger{color:var(--danger-600)}.stat-value.is-compound{font-size:var(--text-lg)}.stat-note{font-size:var(--text-sm);color:var(--text-secondary)}.btn,.toolbar select,.toolbar-actions select,.toolbar a.btn{align-items:center;gap:var(--space-2);white-space:nowrap;height:var(--control-h);padding:0 var(--space-4);font:inherit;font-size:var(--text-base);font-weight:var(--weight-semibold);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-card);color:var(--ink-900);cursor:pointer;transition:background var(--motion), border-color var(--motion);display:inline-flex}.btn{height:var(--control-h)}.btn:hover:not(:disabled){background:var(--surface-sunken)}.btn:active:not(:disabled){background:var(--paper-200)}.btn-accent{background:var(--accent-primary);color:var(--text-onaccent);border-color:#0000}.btn-accent:hover:not(:disabled){background:var(--accent-primary-hover)}.btn-accent:active:not(:disabled){background:var(--gold-700);color:var(--paper-0)}.btn-danger{background:var(--danger-600);color:var(--paper-0);border-color:#0000}.btn-danger:hover:not(:disabled){background:var(--danger-600-hover)}.btn:disabled{background:var(--surface-sunken);color:var(--ink-300);border-color:var(--border-hairline);cursor:default}.btn-sm{height:var(--control-h-sm);padding:0 var(--space-3);font-size:var(--text-sm)}.toolbar{align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.tabpanel>.toolbar{margin-top:var(--space-4)}.toolbar .spacer{flex:1}.viewform{gap:var(--space-2) var(--space-3);margin:var(--space-4) 0;flex-wrap:wrap;align-items:flex-end;display:flex}.viewform label,label.chip{align-items:center;gap:var(--space-2);display:inline-flex}.checkline{align-items:center;gap:var(--space-2);font-weight:var(--weight-regular);display:inline-flex}.schedule{align-items:flex-start;gap:var(--space-4);margin:var(--space-4) 0;flex-direction:column;display:flex}.schedule-day{align-items:center;gap:var(--space-3);margin-left:calc(var(--space-6) + var(--space-1));display:flex}.schedule-day input{width:5.5rem}.picker-field{gap:var(--space-1);flex-direction:column;min-width:0;display:inline-flex}.picker-field>label{font-size:var(--text-sm);color:var(--ink-700)}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]):not([type=range]):not([type=color]),select,textarea,.filter-trigger,.filter-search{font:inherit;font-size:var(--text-base);padding:0 var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--ink-900);transition:border-color var(--motion)}input:not([type=checkbox]):not([type=radio]),select,.filter-trigger{height:var(--control-h)}textarea{padding:var(--space-2) var(--space-3);min-height:6rem}.rich-body{border:1px solid var(--border-hairline);border-radius:var(--radius-sm);background:var(--surface-card)}.rich-body-toolbar{gap:var(--space-1);padding:var(--space-1);border-bottom:1px solid var(--border-hairline);background:var(--surface-sunken);display:flex}.rich-body-toolbar .btn{height:var(--control-h-sm)}.rich-body-toolbar .btn[aria-pressed=true]{background:var(--accent-primary-tint);border-color:var(--border-strong)}.rich-body .ProseMirror{padding:var(--space-2) var(--space-3);outline:none;min-height:6rem}.rich-body .ProseMirror:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.rich-body .ProseMirror p{margin:0 0 var(--space-2)}.rich-body .ProseMirror p:last-child{margin-bottom:0}.rich-body .ProseMirror a{color:var(--accent-text);text-decoration:underline}.filter-search{height:var(--control-h-sm)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover,.filter-trigger:hover:not(:disabled){border-color:var(--ink-300)}input:disabled,select:disabled,textarea:disabled{background:var(--surface-sunken);color:var(--ink-300);cursor:default}input[type=checkbox],input[type=radio]{accent-color:var(--accent-primary-hover);cursor:pointer;flex:none;width:1.05rem;height:1.05rem}label{color:inherit}.toggle{border:1px solid var(--border-strong);background:var(--surface-sunken);cursor:pointer;width:2.5rem;height:1.4rem;transition:background var(--motion), border-color var(--motion);border-radius:999px;flex:none;padding:0;position:relative}.toggle:after{content:"";background:var(--paper-0);width:1rem;height:1rem;transition:left var(--motion);border-radius:50%;position:absolute;top:50%;left:2px;transform:translateY(-50%)}.toggle[aria-checked=true]{background:var(--accent-primary);border-color:var(--accent-primary)}.toggle[aria-checked=true]:after{left:calc(100% - 1rem - 2px)}.toggle:disabled{cursor:default;opacity:.45}select{appearance:none;padding-right:var(--space-8);background-image:linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);background-position:right var(--space-4) center, right var(--space-3) center;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.members-search input,.toolbar-search input{width:100%;font-size:var(--text-md);padding:0 var(--space-4);height:var(--control-h);border-radius:var(--radius-md)}.toolbar-search,.toolbar-search .filter-field{flex:18rem;width:auto;min-width:12rem;max-width:26rem}.tabpanel,.popover-panel,.table-scroll,.mail-frame,.rowmenu-list,.avatar-menu,.filter-popover,.overlay-panel,.drawer{background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-md)}.tabpanel{padding:var(--space-4);margin-bottom:var(--space-4)}.viewsmenu{flex-direction:column;min-width:14rem;display:flex}.viewsmenu-list{flex-direction:column;gap:2px;max-height:15rem;display:flex;overflow-y:auto}.viewsmenu-actions{gap:var(--space-2);margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--border-hairline);flex-wrap:wrap;display:flex}.popover-anchor{display:inline-flex;position:relative}.popover-panel{top:calc(100% + var(--space-2));z-index:40;min-width:16rem;max-width:min(26rem, calc(100vw - 2 * var(--space-4)));max-height:min(60vh,28rem);padding:var(--space-4);box-shadow:var(--shadow-md);position:absolute;overflow-y:auto}.popover-end{right:0}.popover-start{left:0}.popover-panel>:first-child{margin-top:0}.popover-panel>:last-child{margin-bottom:0}.popover-panel .tagpick{gap:var(--space-1);flex-flow:column}@media (max-width:640px){.popover-panel{left:var(--space-4);right:var(--space-4);min-width:0;max-width:none;position:fixed;top:auto}}.record{padding:0}.record h2,.panel h2{font-size:var(--text-lg);font-weight:var(--weight-semibold);margin:var(--space-6) 0 var(--space-3);padding-top:var(--space-4);border-top:1px solid var(--border-hairline)}.record h3{font-size:var(--text-base);font-weight:var(--weight-semibold);margin:var(--space-4) 0 var(--space-2)}.record pre{white-space:pre-wrap;font:inherit}.record ul{margin:var(--space-2) 0 var(--space-3) var(--space-5)}.record ol{margin:var(--space-2) 0 var(--space-3) var(--space-5);padding-left:var(--space-2)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.table-wrap,.table-scroll{-webkit-overflow-scrolling:touch;scrollbar-gutter:stable both-edges;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;overflow:auto}.table-wrap::-webkit-scrollbar{width:10px;height:10px}.table-scroll::-webkit-scrollbar{width:10px;height:10px}.table-wrap::-webkit-scrollbar-track{background:0 0}.table-scroll::-webkit-scrollbar-track{background:0 0}.table-wrap::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:var(--radius-md)}.table-scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:var(--radius-md)}.table-scroll{width:100%;max-height:70vh}@media (max-width:640px){.members-table th,.members-table td,.data-table th,.data-table td{padding:var(--space-2) var(--space-3)}}table.members-table,table.data-table{border-collapse:separate;border-spacing:0;background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-md);width:100%;overflow:hidden}.table-scroll table.members-table,.table-scroll table.data-table,.tabpanel table.members-table,.drawer table.members-table{border:0;border-radius:0}.members-table th,.members-table td,.data-table th,.data-table td{text-align:left;padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--border-hairline);vertical-align:middle;font-size:var(--text-base);line-height:var(--leading-snug)}.members-table.is-compact td,.data-table.is-compact td{padding:var(--space-1) var(--space-4)}.members-table thead th,.data-table thead th{z-index:1;background:var(--surface-sunken);color:var(--ink-700);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;position:sticky;top:0}.members-table thead th button,.data-table thead th button{font:inherit;color:inherit;cursor:pointer;text-transform:inherit;letter-spacing:inherit;background:0 0;border:0;padding:0}.members-table thead th button[aria-pressed=true]{color:var(--accent-text)}.members-table tbody tr:hover,.data-table tbody tr:hover{background:var(--surface-sunken)}.members-table tbody tr:last-child td,.data-table tbody tr:last-child td{border-bottom:0}.data-table tr.row-expanded,.data-table tr.row-expanded:hover{background:var(--surface-sunken)}.data-table tr.row-expanded>td{padding-top:var(--space-3);padding-bottom:var(--space-3)}.members table.data-table.is-compact{width:max-content;min-width:100%}.cell-clamp{-webkit-line-clamp:3;line-clamp:3;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;min-width:8rem;max-width:20rem;display:-webkit-box;overflow:hidden}.cell-clamp.is-prose{min-width:14rem;max-width:24rem}.cell-clamp[tabindex]{cursor:help;border-radius:var(--radius-sm)}.cell-clamp[tabindex]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.cell-tooltip{z-index:60;white-space:pre-wrap;overflow-wrap:anywhere;width:max-content;max-width:min(28rem,100vw - 16px);max-height:50vh;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--ink-900);color:var(--paper-0);font-size:var(--text-sm);font-weight:var(--weight-regular);line-height:var(--leading-snug);box-shadow:var(--shadow-md);position:fixed;overflow-y:auto}.members-table td.is-numeric,.data-table td.is-numeric,.pagination-range,.members-count,.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.data-table th.is-numeric,.data-table td.is-numeric{text-align:right}.data-table th.is-centered,.data-table td.is-centered{text-align:center}.data-table th.col-actions,.data-table td.col-actions{width:var(--space-10);text-align:right}.members-table td.field-actions,.members-table th.field-actions{white-space:nowrap;text-align:right;width:1%}.members-table td.field-actions .field-actions{justify-content:flex-end}.members-table a{color:var(--accent-text);font-weight:var(--weight-medium)}.members-table a:hover{color:var(--ink-900)}.state{padding:var(--space-12) var(--space-6);text-align:center;color:var(--text-secondary)}.state[role=alert]{color:var(--danger-600);text-align:left;padding:var(--space-3) var(--space-4)}.table-empty,.empty-state{text-align:center;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;display:flex}.table-empty{min-height:12rem;padding:var(--space-6)}.empty-state{min-height:18rem;padding:var(--space-8)}.test-result{margin-top:var(--space-4);padding:var(--space-4);border:1px solid var(--border-hairline);border-radius:var(--radius-md);background:var(--paper-50)}.test-result>:first-child{margin-top:0}.test-result>:last-child{margin-bottom:0}.test-result ul{margin:var(--space-2) 0 0;padding-left:var(--space-5)}.test-result li{margin-bottom:var(--space-1)}.badge{align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);background:var(--surface-sunken);color:var(--ink-700);font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.badge-ok{background:var(--success-100);color:var(--success-600)}.badge-warn{background:var(--warning-100);color:var(--warning-600)}.badge-danger{background:var(--danger-100);color:var(--danger-600)}.badge-info{background:var(--info-100);color:var(--info-600)}.chip button:hover{opacity:1}.chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.tag-sage{background:var(--tag-sage-bg);color:var(--tag-sage)}.tag-slate{background:var(--tag-slate-bg);color:var(--tag-slate)}.tag-mauve{background:var(--tag-mauve-bg);color:var(--tag-mauve)}.tag-ochre{background:var(--tag-ochre-bg);color:var(--tag-ochre)}.tag-clay{background:var(--tag-clay-bg);color:var(--tag-clay)}.tag-plum{background:var(--tag-plum-bg);color:var(--tag-plum)}.flag{align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);background:var(--warning-100);color:var(--warning-600);font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap;display:inline-flex}.state-cue{align-items:center;gap:var(--space-2);white-space:nowrap;flex-wrap:nowrap;display:inline-flex}.cue{color:var(--accent-text);cursor:help;display:inline-flex;position:relative}.cue:after{content:attr(data-tip);bottom:calc(100% + var(--space-2));white-space:normal;text-align:left;width:max-content;max-width:16rem;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--ink-900);color:var(--paper-0);font-size:var(--text-xs);font-weight:var(--weight-regular);line-height:var(--leading-snug);box-shadow:var(--shadow-md);opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--motion);z-index:30;position:absolute;left:50%;transform:translate(-50%)}.cue:hover:after,.cue:focus-visible:after{opacity:1;visibility:visible}.notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px solid #0000}.notice-ok{background:var(--success-100);color:var(--success-600);border-color:var(--success-600)}.notice-alert{background:var(--warning-100);color:var(--warning-600);border-color:var(--warning-600);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md)}.notice a{color:inherit;font-weight:var(--weight-medium);text-decoration:underline}.record-inactive{gap:var(--space-3);flex-direction:column;display:flex}.record-inactive p{margin:0}.notice-list{margin:var(--space-2) 0 0;padding:0;list-style:none}.notice-list li+li{margin-top:var(--space-1)}.notice-row td{background:var(--warning-100)}.cell-reason{min-width:22rem}.tabs{align-items:stretch;gap:var(--space-1);margin-bottom:var(--space-5);border-bottom:1px solid var(--border-hairline);flex-wrap:wrap;display:flex}dl{gap:var(--space-3) var(--space-5);margin:0 0 var(--space-5);grid-template-columns:minmax(8rem,max-content) 1fr;align-items:baseline;display:grid}dl>dt{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--ink-700);grid-column:1}dl>dd{color:var(--ink-900);grid-column:2;margin:0}@media (max-width:640px){dl{gap:var(--space-1) 0;grid-template-columns:1fr}dl>dt{margin-top:var(--space-3);grid-column:1}dl>dd{grid-column:1}}.tabs a,.tabs [role=tab],.tabs button{min-height:var(--control-h);padding:var(--space-2) var(--space-4);font:inherit;font-size:var(--text-base);font-weight:var(--weight-medium);color:var(--ink-500);cursor:pointer;transition:color var(--motion);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;margin-bottom:-1px;display:inline-flex}.tabs a:hover,.tabs [role=tab]:hover,.tabs button:hover{color:var(--ink-900)}.tabs a[aria-current=page],.tabs [role=tab][aria-selected=true],.tabs button[aria-current=page]{color:var(--accent-text);border-bottom-color:var(--accent-primary)}.section-edit{gap:var(--space-2);margin:0 0 var(--space-3);align-items:center;display:flex}.tab-count{margin-left:var(--space-2);padding:0 var(--space-2);border-radius:var(--radius-full);background:var(--surface-sunken);color:var(--ink-700);font-size:var(--text-xs);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.record-head{align-items:baseline;gap:var(--space-2) var(--space-5);margin-bottom:var(--space-2);flex-wrap:wrap;display:flex}.record-grid{gap:var(--space-8);grid-template-columns:1fr;align-items:start;display:grid}.record-grid .tabs+section>h2:first-child{margin-top:var(--space-4);border-top:0;padding-top:0}dl:has(>.field){margin:var(--space-4) 0;display:block}.field{gap:var(--space-2) var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--border-hairline);grid-template-columns:12rem 1fr;display:grid}.field dt{color:var(--text-secondary);font-size:var(--text-sm);font-weight:var(--weight-medium)}.field dd{align-items:baseline;gap:var(--space-2) var(--space-3);flex-wrap:wrap;min-width:0;display:flex}.field-value{overflow-wrap:anywhere;min-width:0}.field-actions{gap:var(--space-3);display:inline-flex}.field-meta{font-size:var(--text-sm);color:var(--text-secondary);flex-basis:100%}.field-error{color:var(--danger-600)}.field>.field-error{grid-column:2;margin:0}.field-label{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--text-secondary);margin-bottom:var(--space-1);display:block}.phone-field{gap:var(--space-1);flex-direction:column;display:flex}.phone-field-row{gap:var(--space-2);display:flex}.phone-field-row select{flex:none;max-width:12rem}.phone-field-row input{flex:auto;min-width:0}@media (max-width:640px){.field{gap:var(--space-1) 0;grid-template-columns:1fr}.field>.field-error{grid-column:1}}.field-edit{gap:var(--space-2);flex-wrap:wrap;align-items:flex-start;width:100%;display:flex}.field-edit input:not([type=checkbox]),.field-edit select,.field-edit textarea{min-width:16rem;max-width:100%}.field-edit textarea{width:100%;min-height:6rem}.field-prose{max-width:var(--container-max)}.field-prose.is-folded{-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.note-fold{align-self:flex-start}.tagpick{gap:var(--space-2) var(--space-4);flex-wrap:wrap;width:100%;display:flex}.tagpick label{align-items:center;gap:var(--space-2);display:inline-flex}.field-edit .tagpick-wrap{align-self:stretch;gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.tagpick-wrap .tagpick{overscroll-behavior:contain;gap:var(--space-1);max-height:16rem;padding:var(--space-2);border:1px solid var(--border-hairline);border-radius:var(--radius-md);scrollbar-width:thin;scrollbar-color:var(--ink-300) transparent;flex-flow:column;overflow-y:auto}.tagpick-wrap .tagpick label{overflow-wrap:anywhere;align-items:flex-start}.tagpick-wrap .tagpick label input{flex:none;margin-top:.2em}.tagpick-wrap .tagpick-action{max-width:100%;height:auto;min-height:var(--control-h);padding:var(--space-2) var(--space-3);white-space:normal;text-align:left;overflow-wrap:anywhere;align-self:flex-start}.field-edit .tagpick-chosen{gap:var(--space-1) var(--space-2);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.tagpick-chosen li{align-items:flex-start;gap:var(--space-1);overflow-wrap:anywhere;max-width:100%;padding:2px var(--space-2);border:1px solid var(--border-hairline);border-radius:var(--radius-md);background:var(--surface-card);font-size:var(--text-sm);display:inline-flex}.record-head .actions,.record>.actions{margin:var(--space-2) 0;flex-basis:100%}.record-badges{align-items:center;gap:var(--space-2) var(--space-3);margin:var(--space-1) 0 var(--space-3);flex-wrap:wrap;display:flex}.drawer{border:0;border-left:1px solid var(--border-hairline);width:min(40rem,100vw);box-shadow:var(--shadow-lg);padding:var(--space-6);z-index:40;border-radius:0;position:fixed;inset:0 0 0 auto;overflow:auto}.drawer-head{justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-4);display:flex}.drawer h2{font-family:var(--font-display);font-weight:var(--weight-regular);font-size:var(--text-xl);border:0;margin:0;padding:0}.overlay{z-index:40;padding:var(--space-8) var(--space-4);background:var(--scrim);justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0;overflow-y:auto}.overlay>.overlay-panel{margin:auto}.overlay-body.modal-body{flex-flow:column;align-items:stretch}.modal-body>*{min-width:0}.overlay-panel{border-radius:var(--radius-lg);width:min(52rem,100%);box-shadow:var(--shadow-lg);flex-direction:column;max-height:100%;display:flex}.overlay-panel:focus{outline:none}.overlay-head{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border-hairline);display:flex}.overlay-panel{position:relative}.overlay-head{padding-right:var(--space-8);border-top:0}.overlay-panel>.overlay-head:first-child{margin-top:0}.overlay-close{top:var(--space-3);right:var(--space-4);font-size:var(--text-xl);line-height:1;position:absolute}.overlay-head h2{font-family:var(--font-display);font-weight:var(--weight-regular);font-size:var(--text-xl);border-top:0;margin:0;padding-top:0}.overlay-body{padding:var(--space-5);gap:var(--space-4) var(--space-3);flex-wrap:wrap;display:flex;overflow-y:auto}.overlay-foot{justify-content:flex-end;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-top:1px solid var(--border-hairline);display:flex}.overlay-panel.overlay-wide{width:min(52rem,100%)}.overlay-panel:not(.overlay-wide){width:min(34rem,100%)}.overlay-body>form{gap:var(--space-4);flex-direction:column;width:100%;display:flex}.overlay-body>form>label{gap:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--ink-700);flex-direction:column;display:flex}.overlay-body>form>.form-actions,.modal-actions{justify-content:flex-end;gap:var(--space-3);margin-top:var(--space-2);flex-direction:row;display:flex}.overlay-body>form>label.checkline{align-items:center;gap:var(--space-2);font-weight:var(--weight-regular);flex-direction:row}.overlay-body>form .form-hint{font-size:var(--text-sm);margin:0}.rowmenu{display:inline-block;position:relative}.rowmenu-trigger{font:inherit;font-size:var(--text-md);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);color:var(--ink-500);cursor:pointer;background:0 0;border:0;line-height:1}.rowmenu-trigger:hover{background:var(--surface-sunken);color:var(--ink-900)}.rowmenu-list{z-index:60;min-width:11rem;box-shadow:var(--shadow-md);padding:var(--space-1);flex-direction:column;display:flex;position:fixed}.rowmenu-list a,.rowmenu-list button{text-align:left;font:inherit;font-size:var(--text-base);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--ink-900);cursor:pointer;background:0 0;border:0}.rowmenu-list a:hover,.rowmenu-list button:hover:not(:disabled){background:var(--surface-sunken)}.rowmenu-list button.is-danger{color:var(--danger-600)}.rowmenu-list button:disabled{color:var(--ink-300);cursor:default}.rowmenu-item{flex-direction:column;display:flex}.rowmenu-item .action-hint{font-size:var(--text-xs);color:var(--ink-700);padding:0 var(--space-3) var(--space-2);max-width:22rem}.filters{border-right:1px solid var(--border-hairline);padding:var(--space-4) var(--space-5) var(--space-8);background:var(--surface-card);max-height:calc(100vh - 10rem);position:sticky;top:0;overflow-y:auto}@media (max-width:860px){.filters{border-right:0;border-bottom:1px solid var(--border-hairline);max-height:none;position:static}}fieldset{margin:0 0 var(--space-5);border:0;min-inline-size:0;padding:0}legend{margin-bottom:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--ink-700);padding:0}fieldset>label{align-items:center;gap:var(--space-2);padding:var(--space-1) 0;display:flex}.filters fieldset{max-height:14rem;overflow-y:auto}.filters legend{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--ink-700);margin-bottom:var(--space-2)}.filters label{align-items:center;gap:var(--space-2);cursor:pointer;padding:2px 0;display:flex}.filters-empty{color:var(--text-secondary);font-size:var(--text-sm)}.toolbar-rows{gap:var(--space-3);margin-bottom:var(--space-5);flex-direction:column;display:flex}.toolbar-row{align-items:flex-end;gap:var(--space-3) var(--space-4);flex-wrap:nowrap;display:flex}.toolbar-filters{align-items:flex-end;row-gap:var(--space-2)}.toolbar-actions{align-items:flex-end;gap:var(--space-2);flex-wrap:nowrap;flex:0 auto;min-width:0;margin-left:auto;display:flex}.toolbar-reset{height:var(--control-h);white-space:nowrap;align-self:flex-end;align-items:center;display:inline-flex}.filter-fields,.filterbar{gap:var(--space-4) var(--space-3);flex-wrap:wrap;flex:auto;align-items:flex-end;min-width:min(100%,22rem);display:flex}.datefield{gap:var(--space-1);flex-direction:column;flex:none;width:13rem;min-width:0;display:flex;position:relative}.filter-field>input:not([type=checkbox]):not([type=radio]),.filter-field>select,.datefield>.filter-trigger{width:100%;min-width:0}.filter-dates,.filter-numbers{flex:none;width:19rem}.filter-dates .filter-range,.filter-numbers .filter-range{min-width:0}.filter-dates .datefield{flex:1 1 0;width:auto}@media (max-width:640px){.filter-field,.filter-dates,.filter-numbers,.datefield{flex:100%;width:100%}}.filterbar label{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--ink-700);gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.filterbar label>input,.filterbar label>select{width:100%;min-width:0}.filter-trigger{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;height:var(--control-h);cursor:pointer;text-align:left;display:flex}.filter-trigger:disabled{background:var(--surface-sunken);color:var(--ink-300);cursor:default}.filter-trigger-value{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.filter-trigger>span[aria-hidden]{flex:none}.column-legend{margin-left:var(--space-2);display:inline-block}.legend-trigger{border:1px solid var(--border-hairline);background:var(--surface-card);color:var(--ink-700);width:1.25rem;height:1.25rem;line-height:1;font-size:var(--text-xs);cursor:pointer;border-radius:50%;padding:0}.legend-trigger:hover{background:var(--surface-sunken);color:var(--ink-900)}.legend-group{flex:0 0 100%;min-width:0}.legend-group+.legend-group{margin-top:var(--space-5)}.legend-group-title{font-size:var(--text-xs);letter-spacing:.06em;color:var(--ink-700);margin:0 0 var(--space-3);font-weight:var(--weight-semibold)}.legend-group dl{grid-template-columns:12rem 1fr;margin:0}@media (max-width:640px){.legend-group dl{grid-template-columns:1fr}}.legend-action{margin-top:var(--space-1);color:var(--ink-900);font-weight:var(--weight-medium);display:block}.filter-options label{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);cursor:pointer;display:flex}.filter-options label:hover{background:var(--surface-sunken)}.filter-group{flex-direction:column;gap:2px;display:flex}.filter-group+.filter-group{border-top:1px solid var(--border-hairline);padding-top:var(--space-1);margin-top:var(--space-1)}.filter-group-head{font-weight:var(--weight-semibold)}.filter-group>label:not(.filter-group-head){padding-left:var(--space-5)}.search-results{padding:var(--space-1);border:1px solid var(--border-hairline);border-radius:var(--radius-md);max-height:15rem;margin:0;list-style:none;overflow-y:auto}.search-results li+li{margin-top:2px}.search-results button{text-align:left;border-radius:var(--radius-sm);width:100%;padding:var(--space-2) var(--space-3);font:inherit;cursor:pointer;color:var(--text-primary);background:0 0;border:0;display:block}.search-results button:hover,.search-results button:focus-visible{background:var(--surface-sunken)}.filter-toggle{align-items:center;gap:var(--space-2);width:auto;height:var(--control-h);white-space:nowrap;cursor:pointer;flex-direction:row;flex:none;align-self:flex-end}.filter-range{align-items:center;gap:var(--space-2);display:flex}.filter-range input{flex:1;min-width:0}.btn-filters-on{background:var(--accent-primary-tint);border-color:var(--accent-primary)}.pagination,.pager{align-items:center;gap:var(--space-3) var(--space-5);padding:var(--space-3) var(--space-1);color:var(--text-secondary);font-size:var(--text-sm);flex-wrap:wrap;display:flex}.pager select{height:var(--control-h-sm);padding:0 var(--space-6) 0 var(--space-2);font-size:var(--text-sm)}.pagination-pages{align-items:center;gap:var(--space-1);margin-left:auto;display:flex}.pagination-page,.pagination-step{font:inherit;font-family:var(--font-mono);font-size:var(--text-sm);min-width:var(--control-h);height:var(--control-h);padding:0 var(--space-2);border-radius:var(--radius-sm);color:var(--ink-700);cursor:pointer;transition:background var(--motion);background:0 0;border:1px solid #0000}.pagination-page:hover:not([aria-current]),.pagination-step:hover:not(:disabled){background:var(--surface-sunken)}.pagination-page[aria-current=page]{background:var(--accent-primary);color:var(--text-onaccent);font-weight:var(--weight-semibold)}.pagination-step:disabled{color:var(--ink-300);cursor:default}.pagination-gap{padding:0 var(--space-1)}.month-grid{grid-template-columns:repeat(3,1fr);gap:2px;min-width:13rem;display:grid}.time-grid{grid-template-columns:repeat(6,1fr);gap:2px;min-width:15rem;display:grid}.time-label{margin:var(--space-2) 0 var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--ink-500);text-transform:uppercase;letter-spacing:.05em}.month-cell,.time-cell{padding:var(--space-2) var(--space-1);border-radius:var(--radius-sm);font:inherit;font-size:var(--text-sm);color:var(--ink-900);cursor:pointer;text-align:center;background:0 0;border:1px solid #0000}.time-cell{font-family:var(--font-mono)}.month-cell:hover,.time-cell:hover{background:var(--surface-sunken)}.month-cell[aria-pressed=true],.time-cell[aria-pressed=true]{background:var(--accent-primary);color:var(--text-onaccent);font-weight:var(--weight-semibold)}.confirm{margin-top:var(--space-4);background:var(--warning-100);border-color:var(--warning-600)}.confirm h3{font-family:var(--font-display);font-weight:var(--weight-regular);font-size:var(--text-lg);margin:0 0 var(--space-2)}.confirm p{max-width:62ch;margin-bottom:var(--space-2)}.mail-frame{padding:var(--space-4)}.mail-frame .mail-subject{margin:var(--space-2) 0 var(--space-3);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-hairline);font-weight:var(--weight-semibold)}.mail-frame .mail-body{line-height:var(--leading-normal)}.rescue-mail .rescue-link{white-space:nowrap;flex:auto}.rescue-mail .rescue-link input{flex:auto;min-width:0;max-width:36rem}.chat-bubble{max-width:26rem;padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);background:var(--accent-primary-tint);color:var(--ink-900);line-height:var(--leading-snug);display:inline-block}.login{background:var(--surface-inverse);max-width:none;min-height:100vh;color:var(--text-oninverse);grid-template-columns:1.15fr 1fr;margin:0;padding:0;display:grid}.login-mark{justify-content:center;gap:var(--space-5);padding:var(--space-20) var(--space-12);flex-direction:column;display:flex}.login .login-wordmark{font-family:var(--font-display);font-weight:var(--weight-regular);letter-spacing:var(--tracking-tight);color:var(--accent-text);margin:0;font-size:clamp(4rem,11vw,9rem);line-height:.9}.login .login-wordmark img{border-radius:var(--radius-md);width:clamp(96px,14vw,160px);height:auto;display:block}.login-tagline{max-width:28ch;font-size:var(--text-md);line-height:var(--leading-normal);color:var(--text-secondary);margin:0}.login-panel{background:var(--surface-card);color:var(--text-primary);padding:var(--space-16) var(--space-12);flex-direction:column;justify-content:center;display:flex}.login-panel h2{font-family:var(--font-display);font-weight:var(--weight-regular);font-size:var(--text-2xl);margin:0}.login-lede{margin:var(--space-2) 0 var(--space-8);color:var(--text-secondary)}.login-form{gap:var(--space-5);flex-direction:column;display:flex}.login-form p{margin:0}.login-form label{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--ink-700);margin-bottom:var(--space-2);display:block}.login-form input:not([type=checkbox]){width:100%;height:var(--control-h-lg)}.login-form button{height:var(--control-h-lg);padding:0 var(--space-4);font:inherit;font-size:var(--text-md);font-weight:var(--weight-semibold);border-radius:var(--radius-md);background:var(--accent-primary);color:var(--text-onaccent);cursor:pointer;transition:background var(--motion);border:0}.login-form button:hover:not(:disabled){background:var(--accent-primary-hover)}.login-form button:disabled{cursor:default;opacity:.6}.login-form [role=alert]{color:var(--danger-600);font-size:var(--text-sm);margin:0}@media (max-width:860px){.login{grid-template-columns:1fr;min-height:100dvh}.login-mark{padding:var(--space-12) var(--space-6) var(--space-8)}.login-panel{padding:var(--space-8) var(--space-6) var(--space-16)}}.screen>*+*,.members>*+*,.record>*+*{margin-top:var(--space-5)}.screen>.toolbar,.members>.toolbar{margin-bottom:0}.screen>h1+*,.members-head+*,.members>table,.screen>table{margin-top:var(--space-5)}.toolbar-rows+.table-scroll,.toolbar-rows+.results,.screen-head+.table-scroll,.screen-head+.results{margin-top:0}.tabs+*{margin-top:var(--space-5)}.screen>p,.record p,.panel p{margin-bottom:var(--space-3);max-width:68ch}.screen-head+p,.tabs+p{margin-bottom:var(--space-5)}.members{padding:0;display:block}.members-head{align-items:baseline;gap:var(--space-2) var(--space-4);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.members-head .actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.results{min-width:0}@media (max-width:860px){.screen{padding:var(--space-4)}.toolbar-row{flex-wrap:wrap}.toolbar-actions{width:100%;margin-left:0}}.settings-form{align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-5);flex-direction:column;display:flex}.settings-form>label{gap:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--ink-700);flex-direction:column;display:flex}.settings-form>label:has(>input[type=checkbox]){align-items:center;gap:var(--space-2);flex-direction:row}.settings-form>label>input[type=number]{width:8rem}.settings-form .window-row{align-items:flex-end;gap:var(--space-3) var(--space-4);flex-wrap:wrap;display:flex}.newuser{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.newuser h2{font-size:var(--text-base);font-weight:var(--weight-semibold);color:var(--ink-700);border:0;flex-basis:100%;margin:0;padding:0}.newuser input,.newuser select{flex:12rem;min-width:0}.newuser .form-hint{font-size:var(--text-sm);flex-basis:100%;margin:0}.members-table td,.data-table td{overflow-wrap:break-word}.members-table td.is-numeric,.data-table td.is-numeric,.members-table td.field-actions{overflow-wrap:normal}.btn{white-space:normal;text-align:left}.toolbar .btn,.toolbar-actions .btn,.pagination-page,.pagination-step{white-space:nowrap}.field-actions{flex-wrap:wrap}.score-bar{background:var(--border-hairline);vertical-align:middle;border-radius:4px;width:48px;height:8px;display:inline-block;overflow:hidden}.score-bar-fill{background:var(--accent-primary);height:100%;display:block}.member-record{gap:var(--space-5);flex-direction:column;display:flex}.member-record>*{margin:0}.member-record .back-link a{font-size:var(--text-sm);color:var(--ink-500);text-decoration:none}.member-record .back-link a:hover{color:var(--ink-900)}.member-hero{justify-content:space-between;align-items:center;gap:var(--space-6);padding:var(--space-6) var(--space-6);background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);flex-wrap:wrap;display:flex}.member-hero-id{align-items:center;gap:var(--space-5);min-width:0;display:flex}.member-hero-text{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.member-hero-text>*{margin:0}.member-hero h1{font-size:26px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight)}.avatar{background:var(--gold-100);width:72px;height:72px;color:var(--gold-700);font-size:26px;font-weight:var(--weight-bold);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.avatar-photo{flex:none;position:relative}.avatar-button{cursor:pointer;border:0;padding:0;font-family:inherit;overflow:hidden}.avatar-button:hover:not(:disabled),.avatar-button[aria-expanded=true]{box-shadow:0 0 0 3px var(--gold-100), 0 0 0 4px var(--gold-700)}.avatar-button:disabled{cursor:progress;opacity:.7}.avatar-button img{object-fit:cover;width:100%;height:100%;display:block}.avatar-menu{z-index:60;top:calc(100% + var(--space-2));min-width:13rem;box-shadow:var(--shadow-md);padding:var(--space-1);flex-direction:column;display:flex;position:absolute;left:0}.avatar-menu button{text-align:left;font:inherit;font-size:var(--text-base);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--ink-900);cursor:pointer;background:0 0;border:0}.avatar-menu button:hover{background:var(--surface-sunken)}.avatar-menu button.is-danger{color:var(--danger-600)}.avatar-menu .action-hint{font-size:var(--text-xs);color:var(--ink-700);padding:var(--space-1) var(--space-3) var(--space-2);margin:0}.avatar-photo .notice{z-index:5;top:calc(100% + var(--space-2));width:max-content;max-width:18rem;margin:0;position:absolute;left:0}.member-record .record-badges{margin:0}.hero-stats{gap:var(--space-6);flex-wrap:wrap;margin:0;display:flex}.hero-stat{padding-right:var(--space-6);border-right:1px solid var(--surface-sunken);flex-direction:column;gap:2px;display:flex}.hero-stat:last-child{border-right:0;padding-right:0}.hero-stat dt,.hero-stat dd{grid-column:auto;margin:0}.hero-stat dt{font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.05em;color:var(--ink-500)}.hero-stat dd{font-size:17px;font-weight:var(--weight-semibold);color:var(--ink-900)}.hero-stat-next dd{color:var(--gold-700)}.member-strip{align-items:center;gap:var(--space-5);padding:var(--space-4) var(--space-6);background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);flex-wrap:wrap;display:flex}.strip-group{align-items:center;gap:var(--space-3) var(--space-4);flex-wrap:wrap;display:flex}.strip-group+.strip-group{padding-left:var(--space-5);border-left:1px solid var(--surface-sunken)}.strip-membership{flex-direction:column;gap:2px;display:flex}.stage-status{gap:var(--space-2);padding:var(--space-4) var(--space-6);background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);flex-direction:column;display:flex}.stage-status h2.stage-status-title{font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.05em;color:var(--ink-500);border:0;margin:0;padding:0}.stage-status-row{align-items:center;gap:var(--space-3) var(--space-5);flex-wrap:wrap;display:flex}.stage-status-item{align-items:center;gap:var(--space-2);display:flex}.stage-status-label{font-size:var(--text-sm);color:var(--ink-500)}.stage-status-form{align-items:center;gap:var(--space-2) var(--space-3);flex-wrap:wrap;margin:0;display:flex}.stage-status-sep{color:var(--ink-500)}.stage-status .notice{margin:0}.stage-status .stage-status-hint{font-size:var(--text-sm);margin:0}.resume-automation-stage{gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.resume-automation-field{gap:var(--space-1);flex-direction:column;display:flex}.resume-automation-field .field-meta{margin:0}.resume-automation fieldset .notice{align-items:center;gap:var(--space-2) var(--space-3);margin:var(--space-2) 0;flex-wrap:wrap;display:flex}.resume-automation fieldset .notice p{margin:0}.strip-membership .muted{font-size:11.5px}.ring{background:conic-gradient(var(--gold-500) 0 var(--ring,0%), var(--surface-sunken) var(--ring,0%) 100%);border-radius:50%;flex:none;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.ring-inner{background:var(--surface-card);width:46px;height:46px;font-size:var(--text-sm);font-weight:var(--weight-bold);color:var(--ink-900);border-radius:50%;justify-content:center;align-items:center;display:flex}.strip-links a{color:var(--ink-900);align-items:center;gap:6px;font-size:13.5px;text-decoration:none;display:inline-flex}.strip-links a:hover{color:var(--gold-700)}.strip-flags>span{color:var(--ink-900);align-items:center;gap:6px;font-size:13.5px;display:inline-flex}.icon{color:var(--gold-700);flex:none}.icon-ok{color:var(--success-600)}.state-dot{box-sizing:border-box;border:1.75px solid var(--ink-300);border-radius:50%;flex:none;width:15px;height:15px}.state-dot-on{border-color:var(--warning-600);background:var(--warning-600)}.membership-meaning{max-width:var(--container-max)}.member-record .actions{gap:var(--space-3);flex-direction:column;flex-basis:auto;margin:0;display:flex}.member-record .actions>.toolbar{gap:var(--space-2);background:0 0;border:0;margin:0;padding:0}.member-record .actions>.toolbar .btn{height:44px;padding:0 var(--space-4);border-radius:var(--radius-full);font-weight:var(--weight-semibold);align-items:center;display:inline-flex}.member-record .actions>.toolbar .btn:not(.btn-accent):not(.btn-danger){background:var(--surface-card);border:1px solid var(--border-strong);color:var(--ink-900)}.member-record .actions>.toolbar .btn-danger{background:var(--surface-card);border:1px solid var(--danger-100);color:var(--danger-600)}.member-record .actions>.toolbar .btn-icon{margin-right:var(--space-2);flex:none}.member-record .actions>.viewform{margin:0}.member-record .actions>.toolbar .rowmenu-trigger{border:1px solid var(--border-strong);border-radius:var(--radius-full);background:var(--surface-card);width:44px;height:44px;color:var(--ink-700);font-size:var(--text-lg);padding:0}.member-record .actions>.toolbar .rowmenu-trigger:hover{background:var(--surface-sunken)}.member-record .action-item{align-items:center;gap:var(--space-2);display:inline-flex}.member-record .action-hint{font-size:var(--text-xs);color:var(--ink-700)}.record-tabs{gap:var(--space-4);flex-direction:column;display:flex}.tab-group{flex-direction:column;gap:6px;display:flex}.tab-group-label{font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.05em;color:var(--ink-500)}.pilltabs{gap:var(--space-1);padding:var(--space-1);background:var(--surface-sunken);border-radius:22px;flex-wrap:wrap;width:fit-content;max-width:100%;display:inline-flex}.pilltabs [role=tab]{height:36px;padding:0 var(--space-4);border-radius:var(--radius-full);font:inherit;font-size:13px;font-weight:var(--weight-semibold);color:var(--ink-500);cursor:pointer;background:0 0;border:0;align-items:center;display:inline-flex}.pilltabs [role=tab]:hover{color:var(--ink-900)}.pilltabs [role=tab][aria-selected=true]{background:var(--surface-card);color:var(--ink-900);box-shadow:var(--shadow-sm)}.card-panel{background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);padding:var(--space-6);overflow:hidden}.member-record .card-panel .section-edit{max-width:none;margin-bottom:var(--space-4);justify-content:flex-end}.panel-strip{align-items:flex-end;gap:var(--space-2);margin:calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-4);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border-hairline);flex-wrap:wrap;display:flex}.panel-strip p,.panel-strip .viewform{margin:0}.card-panel .pager{margin-top:var(--space-4)}.record dl.field-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(230px,1fr));align-items:stretch;margin:0;display:grid}.field-grid .field{background:var(--surface-page);border:1px solid var(--border-hairline);border-radius:10px;flex-direction:column;gap:6px;min-width:0;padding:14px;display:flex}.field-grid .field dd{min-width:0}:is(.field-grid .field-meta,.field-grid .field-value:not(:has(.field-prose))){overflow-wrap:anywhere;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.field-grid .field dt{font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:var(--tracking-wide);color:var(--ink-500)}.field-grid .field dd{align-items:stretch;gap:var(--space-1);flex-flow:column;margin:0;display:flex}.field-grid .field-value{font-size:15px;font-weight:var(--weight-medium);color:var(--ink-900)}.field-grid .field-meta{font-size:var(--text-sm);color:var(--ink-500);flex-basis:auto}.field-grid .field-actions{margin-top:var(--space-1)}.field-grid .field-refusal{align-items:flex-start;gap:var(--space-2);font-size:var(--text-sm);color:var(--danger-600);flex-direction:column;display:flex}.field-grid .field-edit{flex-flow:column}.field-grid .field-edit input:not([type=checkbox]),.field-grid .field-edit select,.field-grid .field-edit textarea{width:100%;min-width:0}.field-grid .phone-field-row select{width:auto;max-width:7.5rem}.field-grid .phone-field-row input{width:auto}.panel-strip .viewform{align-items:flex-end}.timeline{margin:0;padding:0;list-style:none}.timeline-item{gap:14px;display:flex}.timeline-rail{flex-direction:column;flex:none;align-items:center;display:flex}.timeline-dot{background:var(--ink-300);border-radius:50%;flex:none;width:10px;height:10px;margin-top:4px}.timeline-dot-pairs{background:var(--gold-700)}.timeline-dot-events{background:var(--info-600)}.timeline-dot-messages{background:var(--success-600)}.timeline-dot-contacts{background:var(--tag-plum)}.timeline-line{background:var(--surface-sunken);flex:1;width:2px;min-height:24px}.timeline-body{min-width:0;padding-bottom:var(--space-5);flex:1}.timeline-item:last-child .timeline-body{padding-bottom:0}.timeline-head{justify-content:space-between;gap:var(--space-3);display:flex}.timeline-title{font-weight:var(--weight-semibold);color:var(--ink-900)}.timeline-date{font-size:var(--text-sm);color:var(--ink-500);white-space:nowrap}.timeline-meta{color:var(--ink-500);margin-top:2px;font-size:13px}.panel-legend{align-items:center;gap:var(--space-2);margin:0 0 var(--space-4);font-size:var(--text-sm);display:flex}.card-panel>.empty-state{text-align:center;padding:var(--space-6);margin:0}@media (max-width:860px){.member-hero{padding:var(--space-5)}.strip-group+.strip-group{border-left:0;padding-left:0}.hero-stat{padding-right:var(--space-4)}}@media (max-width:640px){.member-hero-id{flex-direction:column;align-items:flex-start}.hero-stats{gap:var(--space-4)}.hero-stat{border-right:0;padding-right:0}.card-panel{padding:var(--space-4)}.panel-strip{margin:calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-4)}.timeline-head{flex-direction:column;gap:0}}.cohort-record{gap:var(--space-4);flex-direction:column;display:flex}.cohort-record>*{margin:0}.cohort-record .back-link a{font-size:var(--text-sm);color:var(--ink-500);text-decoration:none}.cohort-record .back-link a:hover{color:var(--ink-900)}.cohort-title{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.cohort-title h1{margin:0}.cohort-panel{display:block}.cohort-stack{gap:var(--space-4);flex-direction:column;display:flex}.cohort-stack>*{margin-top:0;margin-bottom:0}.cohort-stack h3{margin:var(--space-2) 0 0;font-size:var(--text-md);font-weight:var(--weight-semibold)}.badge-gold{background:var(--gold-100);color:var(--gold-700)}.card-block{background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);padding:var(--space-5) var(--space-6);gap:var(--space-3);flex-direction:column;display:flex}.card-block>p{margin:0}.notice-ok{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--success-100);border:1px solid var(--success-600);color:var(--success-600);margin:0}.kpi-row{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.kpi-row-sm{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.kpi{background:var(--surface-card);border:1px solid var(--border-hairline);padding:var(--space-4);border-radius:12px;flex-direction:column;gap:6px;display:flex}.kpi-label{font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.05em;color:var(--ink-500)}.kpi-value{font-size:22px;font-weight:var(--weight-bold);color:var(--ink-900)}.kpi-row-sm .kpi-value{font-size:20px}.kpi-note{color:var(--ink-900);font-size:13px}.kpi-gold{color:var(--gold-700)}.kpi-danger{color:var(--danger-600)}.kpi-ok{color:var(--success-600)}.kpi-info{color:var(--info-600)}.kpi-warn{color:var(--warning-600)}.split-bar{border-radius:var(--radius-full);background:var(--surface-sunken);height:8px;display:flex;overflow:hidden}.split-fill{background:var(--gold-500)}.funnel{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.funnel-step{padding:var(--space-2) var(--space-4);background:var(--surface-page);border-radius:10px;flex-direction:column;align-items:center;gap:2px;display:flex}.funnel-step strong{font-size:var(--text-lg);font-weight:var(--weight-bold)}.funnel-step small{color:var(--ink-500);font-size:11.5px}.funnel-last{background:var(--gold-50);border:1px solid var(--gold-500)}.funnel-arrow{color:var(--ink-300)}.section-head{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.section-head h3{margin:0}.section-head .btn{border-radius:var(--radius-full);height:36px}.pair-search{gap:var(--space-3);flex-wrap:wrap;display:flex}.avatar-sm,.avatar-md{background:var(--gold-100);color:var(--gold-700);font-weight:var(--weight-bold);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.avatar-sm{width:28px;height:28px;font-size:var(--text-xs)}.avatar-md{width:34px;height:34px;font-size:var(--text-sm)}.person{align-items:center;gap:var(--space-3);display:inline-flex}.signup{border-radius:var(--radius-full);font-size:11.5px;font-weight:var(--weight-semibold);padding:2px 10px;display:inline-block}.signup-recurring{background:var(--tag-sage-bg);color:var(--tag-sage)}.signup-oneoff{background:var(--tag-ochre-bg);color:var(--tag-ochre)}.chip-plain{background:var(--surface-sunken);color:var(--ink-700)}.danger-link{color:var(--danger-600)}.ok-link{color:var(--success-600)}.master-cards,.row-cards,.pair-cards,.unpaired-pills{margin:0;padding:0;list-style:none}.master-cards{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));display:grid}.master-card{background:var(--surface-card);border:1px solid var(--border-hairline);padding:14px var(--space-4);gap:var(--space-2);border-radius:12px;flex-direction:column;display:flex}.master-card-people{align-items:center;gap:var(--space-2);font-weight:var(--weight-medium);flex-wrap:wrap;display:flex}.master-card .linkbtn{align-self:flex-end}.pair-link{color:var(--ink-300);margin:0 var(--space-1);flex:none}.row-cards{gap:var(--space-2);flex-direction:column;display:flex}.row-cards li{justify-content:space-between;align-items:center;gap:var(--space-2);background:var(--surface-card);border:1px solid var(--border-hairline);padding:10px var(--space-4);border-radius:10px;flex-wrap:wrap;display:flex}.weight-bar{border-radius:var(--radius-full);height:10px;display:flex;overflow:hidden}.weight-factual{background:var(--gold-500)}.weight-cross{background:var(--info-600)}.weight-semantic{background:var(--tag-plum)}.weight-legend{gap:var(--space-4);font-size:var(--text-sm);color:var(--ink-500);flex-wrap:wrap;display:flex}.dot{width:8px;height:8px;margin-right:var(--space-1);border-radius:50%;display:inline-block}.dot-factual{background:var(--gold-500)}.dot-cross{background:var(--info-600)}.dot-semantic{background:var(--tag-plum)}.pill-toolbar{margin:0}.pill-toolbar .btn{height:40px;padding:0 var(--space-5);border-radius:var(--radius-full);font-weight:var(--weight-semibold)}.cohort-stack>.confirm{margin:0}.pair-cards{gap:var(--space-3);flex-direction:column;display:flex}.pair-card{background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);padding:18px var(--space-5);gap:var(--space-2);flex-direction:column;display:flex}.pair-card-rejected{border-color:var(--danger-100)}.pair-main{justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;display:flex}.pair-people{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.pair-person{flex-direction:column;display:flex}.pair-person a{font-weight:var(--weight-semibold)}.pair-person .muted{font-size:12px}.pair-badges{align-items:center;gap:var(--space-3);display:flex}.pair-justification{font-size:var(--text-sm);margin:0}.pair-actions{gap:var(--space-4);margin-top:var(--space-2);flex-wrap:wrap}.pair-expand{margin-top:var(--space-2);padding:var(--space-3) 14px;background:var(--surface-page);border-radius:var(--radius-md);font-size:var(--text-sm);flex-direction:column;gap:6px;display:flex}.ring-sm{width:34px;height:34px}.ring-sm .ring-inner{width:26px;height:26px;font-size:9px}.unpaired-pills{flex-wrap:wrap;gap:10px;display:flex}.unpaired-pills li{background:var(--warning-100);border:1px solid var(--warning-600);border-radius:var(--radius-full);padding:var(--space-2) var(--space-4);color:var(--warning-600);font-size:13.5px}.unpaired-pills a{color:var(--warning-600);font-weight:var(--weight-semibold)}@media (max-width:640px){.card-block,.pair-card{padding:var(--space-4)}}.cohort-record .pair-cards,.cohort-record .master-cards,.cohort-record .row-cards,.cohort-record .unpaired-pills{margin-left:0}.pair-expand.viewform{flex-flow:wrap;align-items:center}.pair-expand.viewform input{flex:14rem;min-width:0}.pair-search>*{flex:0 min(26rem,100%);max-width:none}.card-block .state{text-align:left;max-width:none}.member-space-panel{gap:var(--space-2);margin:var(--space-4) 0;padding:var(--space-4);border:1px solid var(--border-hairline);border-radius:var(--radius-md);background:var(--surface-card);flex-direction:column;display:flex}.member-space-panel h2{font-size:var(--text-md);border-top:0;margin:0;padding-top:0}.member-space-panel p{margin:0}.card-panel>.member-space-panel{margin:calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-4);padding:var(--space-4) var(--space-5);border:0;border-bottom:1px solid var(--border-hairline);background:0 0;border-radius:0}.card-panel>.member-space-panel+.panel-strip{margin-top:calc(var(--space-4) * -1)}@media (max-width:640px){.card-panel>.member-space-panel{margin:calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-4)}}.member-space-fields{gap:var(--space-2);border:0;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));margin:0;padding:0;display:grid}.member-space-fields label{align-items:center;gap:var(--space-2);display:flex}.member-space-settings{gap:var(--space-8);flex-direction:column;max-width:56rem;display:flex}.member-space-settings section{gap:var(--space-3);flex-direction:column;display:flex}.member-space-settings h2,.member-space-settings p.muted{margin:0}.home-photos{gap:var(--space-5);max-width:72rem;margin-top:var(--space-5);grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));display:grid}.home-photos-slot{align-items:flex-start;gap:var(--space-3);background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-lg);padding:var(--space-5);flex-direction:column;display:flex}.home-photos-slot h2{font-size:var(--text-md);margin:0}.home-photos-slot p{margin:0}.home-photos-row{grid-column:1/-1}.home-photos-empty{color:var(--text-secondary);font-style:italic}.home-photos-list{gap:var(--space-3);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.home-photos-list li{gap:var(--space-2);flex-direction:column;display:flex}.home-photos-list img{object-fit:cover;border-radius:var(--radius-md);background:var(--surface-sunken);width:12rem;max-width:100%;display:block}.home-photos-row .home-photos-list img{width:auto;height:9rem}.home-photos-actions{gap:var(--space-1);display:flex}.home-photos-slot label.btn{cursor:pointer}.home-photos-slot label.btn:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}.home-photos-slot label.btn.is-disabled{opacity:.5;cursor:not-allowed}.content-logo{height:var(--space-8);width:auto;max-width:calc(var(--space-8) * 3);object-fit:contain;display:block}.content-form .content-field{column-gap:var(--space-4);row-gap:var(--space-1);padding:var(--space-3) 0;border-bottom:1px solid var(--border-hairline);grid-template-columns:12rem minmax(0,1fr);align-items:start;display:grid}.content-form .content-field>*{grid-column:1/-1;min-width:0}.content-form .content-field>.field{border-bottom:0;padding:0}.content-form .content-field>p.muted{grid-column:2;margin:0}.content-form .content-field>:is(.filter-field,.datefield){column-gap:var(--space-4);grid-template-columns:12rem minmax(0,1fr);place-items:start;width:auto;display:grid}.content-form .content-field>.datefield>.filter-trigger{justify-content:space-between;width:12rem}.content-form .content-field>.datefield>.calendar{left:calc(12rem + var(--space-4))}.content-form .content-field :is(.filter-label,.choice-row>legend){font-size:inherit;font-weight:inherit;color:inherit;text-transform:none;letter-spacing:normal;margin:0}.content-form .choice-row{border:0;min-width:0;margin:0;padding:0}.content-form .choice-row>legend{float:left;width:12rem;padding:0}.content-form .choice-list{margin-left:calc(12rem + var(--space-4));gap:var(--space-2) var(--space-5);flex-wrap:wrap;display:flex}@media (max-width:640px){.content-form .content-field,.content-form .content-field>:is(.filter-field,.datefield){grid-template-columns:minmax(0,1fr)}.content-form .content-field>p.muted{grid-column:1}.content-form .choice-row>legend{float:none;width:auto;margin-bottom:var(--space-2)}.content-form .choice-list{margin-left:0}.content-form .content-field>.datefield>.calendar{left:0}}.content-form form>.toolbar{margin-top:var(--space-4)}.event-poster img{width:calc(var(--space-8) * 5);border-radius:var(--radius-sm);max-width:100%;height:auto;display:block}.content-thumb{width:calc(var(--space-8) * 2);height:calc(var(--space-8) * 2);object-fit:cover;border-radius:var(--radius-sm);display:block}.content-form progress{vertical-align:middle}.block-list{margin:var(--space-4) 0 0;gap:var(--space-3);flex-direction:column;padding:0;list-style:none;display:flex}.block-card{padding:var(--space-4);background:var(--surface-card);border:1px solid var(--border-hairline);border-radius:var(--radius-md);gap:var(--space-3);flex-direction:column;display:flex}.block-head{justify-content:space-between;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.block-head h3{margin:0}.block-tools{gap:var(--space-2);flex-wrap:wrap;display:flex}.block-card textarea{width:100%}.block-images{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));margin:0;padding:0;list-style:none;display:grid}.block-image{gap:var(--space-2);flex-direction:column;display:flex}.block-image .field{gap:var(--space-1);border-bottom:0;grid-template-columns:1fr;padding:0}.block-image .field input{width:100%;min-width:0}.contact-description{white-space:pre-wrap}.contact-form input{flex:20rem;min-width:0}.contact-form textarea{flex:100%;min-height:6rem}.gtk-editor{gap:var(--space-4);display:grid}.gtk-editor textarea{width:100%;font-family:inherit}.gtk-preview{border:1px solid var(--border-hairline);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);max-height:32rem;overflow:auto}.gtk-preview .simple-text h2,.gtk-preview .simple-text h3{margin-top:var(--space-3)}@media (min-width:1000px){.gtk-editor{grid-template-columns:1fr 1fr}}.attachments{padding:var(--space-3) 0}.attachments ul{margin:var(--space-2) 0}.cropper{z-index:60;padding:var(--space-4);background:#120e0b99;place-items:center;display:grid;position:fixed;inset:0}.cropper-panel{background:var(--surface-card);border-radius:var(--radius-lg);width:min(100%,420px);max-height:100%;box-shadow:var(--shadow-lg);padding:var(--space-5);gap:var(--space-4);flex-direction:column;display:flex;overflow-y:auto}.cropper-title{font-size:var(--text-lg);margin:0}.cropper-hint{color:var(--text-secondary);margin:0}.cropper-frame{aspect-ratio:1;border-radius:var(--radius-md);background:var(--surface-sunken);touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;width:100%;position:relative;overflow:hidden}.cropper-frame:active{cursor:grabbing}.cropper-frame:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.cropper-frame img{pointer-events:none;max-width:none;position:absolute}.cropper-zoom{align-items:center;gap:var(--space-3);font-weight:var(--weight-semibold);display:flex}.cropper-zoom input{accent-color:var(--ink-900);flex:1}.cropper-error{color:var(--danger-600);margin:0}.cropper-actions{justify-content:flex-end;gap:var(--space-3);display:flex}
