:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}*,:before,:after{box-sizing:border-box}body{margin:0}h1{font-family:var(--font-brand)}:focus-visible{outline-offset:2px;outline:2px solid}h1[tabindex="-1"]:focus{outline:none}.icon{flex:none}.brand-theme{background:var(--color-background);min-height:100dvh;color:var(--color-text)}.brand-name{overflow-wrap:anywhere;min-width:0;font-family:var(--font-brand);margin:0;font-size:1.3125rem;font-weight:700;line-height:1.2}.admin-badge{border:1px solid var(--color-line);color:var(--color-muted);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;flex:none;padding:4px 10px;font-size:.75rem;font-weight:700;line-height:1.2}.button{background:var(--color-primary);min-width:44px;min-height:44px;color:var(--color-on-primary);font:inherit;cursor:pointer;border:0;border-radius:8px;padding:0 16px;font-weight:600}.session-screen{flex-direction:column;min-height:100dvh;padding:32px 24px 24px;display:flex}.session-brand{align-items:center;gap:12px;min-height:44px;display:flex}.session-brand .admin-badge{margin-left:auto}.session-main{flex-direction:column;flex:1;display:flex}.session-card{text-align:center;flex-direction:column;flex:1;align-items:center;gap:14px;display:flex}.session-icon{border-radius:22px;place-items:center;width:72px;height:72px;margin-top:auto;display:grid}.session-icon .icon{width:32px;height:32px}.session-icon[data-tone=calm]{background:var(--color-calm-bg);color:var(--color-primary-on-bg)}.session-icon[data-tone=warn]{background:var(--color-warn-bg);color:var(--color-text)}.session-copy{flex-direction:column;gap:14px;display:flex}.session-copy h1{margin:6px 0 0;font-size:1.625rem;line-height:1.15}.session-copy:last-child{margin-bottom:auto}.session-copy p{color:var(--color-muted);margin:0;font-size:.9375rem}.session-action{border-radius:14px;width:100%;min-height:52px;margin-top:auto;font-size:1rem;font-weight:700}.admin-header-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name sign-out""account language";align-items:center;row-gap:10px;padding:24px 20px 0;display:grid}.admin-header .brand-name{grid-area:name}.admin-header .admin-badge{display:none}.operator-role{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;grid-area:account;margin:0;font-size:.8125rem;overflow:hidden}.header-sign-out{border:1px solid var(--color-border);background:var(--color-surface);width:44px;height:44px;color:var(--color-text);border-radius:22px;grid-area:sign-out;justify-content:center;align-items:center;margin-left:12px;padding:0;display:inline-flex;position:relative}.header-sign-out .icon{width:20px;height:20px}.sign-out-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.language-select{border:1px solid var(--color-border);background:var(--color-surface);min-width:44px;color:var(--color-text);border-radius:22px;flex:none;align-items:center;gap:6px;display:inline-flex;position:relative}.language-select .icon{width:16px;height:16px;color:var(--color-muted)}.language-select>.icon{pointer-events:none;position:absolute;left:12px}.language-select select{min-height:44px;color:inherit;font:inherit;appearance:none;cursor:pointer;background:0 0;border:0;margin:0;padding:0 32px 0 34px;font-size:.9375rem;font-weight:600}.language-select select:focus-visible{outline-offset:6px;outline:3px solid}.language-select option{background:var(--color-surface);color:var(--color-text)}.language-select-chevron{pointer-events:none;display:flex;position:absolute;right:12px}.language-select-chevron .icon{width:14px;height:14px}.language-select-header{grid-area:language;justify-self:end;margin-left:12px}.language-select-page{align-self:flex-end;margin-bottom:16px}.admin-home{flex-direction:column;gap:16px;padding:16px 20px 24px;display:flex}.home-heading{flex-direction:column;display:flex}.home-heading h1{margin:8px 0 0;font-size:1.375rem;line-height:1.2}.home-intro{color:var(--color-muted);margin:0;font-size:1rem;display:none}.home-empty{color:var(--color-muted);margin:0}.tiles{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.tile{border:1px solid var(--color-border);background:var(--color-surface);min-height:72px;color:var(--color-text);border-radius:18px;align-items:center;gap:14px;padding:14px 16px;text-decoration:none;display:flex}.tile:hover{opacity:.85}.tile-icon{background:var(--color-primary);width:44px;height:44px;color:var(--color-on-primary);border-radius:14px;flex:none;place-items:center;display:grid}.tile-icon .icon{width:22px;height:22px}.tile-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.tile-title{font-weight:700}.tile-description{color:var(--color-muted);font-size:.8125rem;line-height:1.35;display:none}.tile-chevron{color:var(--color-muted);display:flex}.tile-chevron .icon{width:18px;height:18px}@media (width>=640px){.brand-name{font-size:1.1875rem}.session-screen{align-items:center;padding:48px 16px}.session-brand{justify-content:center}.session-brand .admin-badge{margin-left:0}.session-main{justify-content:center;width:100%;max-width:440px}.session-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:22px;flex:none;padding:36px 32px}.session-icon{border-radius:18px;width:60px;height:60px;margin-top:0}.session-icon .icon{width:28px;height:28px}.session-copy h1{margin:0;font-size:1.75rem}.session-action{margin-top:8px}.admin-header{background:var(--color-primary);color:var(--color-on-primary)}.admin-header-bar{flex-wrap:wrap;align-items:center;gap:12px;max-width:1200px;margin:0 auto;padding:14px clamp(16px,4vw,40px);display:flex}.admin-header .admin-badge{border-color:var(--color-on-primary-line);color:var(--color-on-primary-muted);display:inline-block}.operator-role{color:var(--color-on-primary-muted);letter-spacing:.06em;text-transform:uppercase;margin-left:auto;font-size:.75rem;font-weight:700}.operator-role+.language-select-header{margin-left:4px}.header-sign-out{border:1.5px solid var(--color-on-primary-line);width:auto;height:auto;color:var(--color-on-primary);background:0 0;border-radius:12px;gap:8px;margin-left:4px;padding:0 16px;font-size:.9375rem;font-weight:700}.header-sign-out .icon{width:18px;height:18px}.sign-out-label{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.language-select-header{border:1.5px solid var(--color-on-primary-line);color:var(--color-on-primary);background:0 0;border-radius:12px;gap:8px;margin-left:auto}.language-select-header .icon{width:18px;height:18px;color:inherit}.language-select-header select{min-height:44px;padding-right:36px;font-weight:700}.language-select-header .language-select-chevron .icon{width:16px;height:16px}.admin-home{gap:28px;max-width:1200px;margin:0 auto;padding:40px clamp(16px,4vw,40px) 56px}.home-heading{gap:6px}.home-heading h1{letter-spacing:-.01em;margin:0;font-size:clamp(1.875rem,3vw,2.5rem);line-height:1.1}.home-intro{display:block}.tiles{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.tile{flex-direction:column;align-items:flex-start;gap:12px;min-height:168px;padding:22px}.tile-icon{width:48px;height:48px}.tile-icon .icon{width:24px;height:24px}.tile-text{gap:12px}.tile-title{font-family:var(--font-brand);font-size:1.25rem}.tile-description{font-size:.875rem;line-height:1.45;display:block}.tile-chevron{display:none}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.button:disabled{opacity:.45;cursor:not-allowed}.button-icon{border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-weight:700;display:inline-flex}.button-icon .icon{width:18px;height:18px}.button-secondary{border:1.5px solid var(--color-muted);background:var(--color-surface);color:var(--color-text)}.admin-page{flex-direction:column;align-items:flex-start;gap:16px;max-width:1200px;margin:0 auto;padding:16px 20px 24px;display:flex}.admin-page h1{margin:8px 0 0;font-size:1.375rem;line-height:1.2}.admin-page-intro{color:var(--color-muted);margin:0}.home-link{align-items:center;text-decoration:none;display:inline-flex}@media (width>=640px){.admin-page{padding:40px clamp(16px,4vw,40px) 56px}.admin-page h1{margin:0;font-size:clamp(1.875rem,3vw,2.5rem);line-height:1.1}}.feature-page{align-items:stretch}.back-link{min-height:44px;color:var(--color-text);align-self:flex-start;align-items:center;gap:6px;font-size:.9375rem;font-weight:600;text-decoration:none;display:inline-flex}.back-link .icon{width:18px;height:18px;color:var(--color-primary)}.page-heading{flex-direction:column;gap:4px;display:flex}.page-heading h1{letter-spacing:-.01em}.notice,.outcome{border:1px solid var(--color-border);background:var(--color-surface);border-radius:14px;align-items:flex-start;gap:10px;margin:0;padding:14px 16px;font-size:.875rem;line-height:1.45;display:flex}.notice a{color:var(--color-text);font-weight:600}.notice .icon,.outcome .icon,.load-error .icon{width:20px;height:20px;color:var(--color-primary)}.outcome{padding:16px;font-size:.9375rem}.outcome[data-tone=success]{background:var(--color-calm-bg)}.outcome[data-tone=problem],.load-error{border-color:var(--color-danger-line);background:var(--color-danger-bg)}.outcome[data-tone=problem] .icon,.load-error .icon{color:var(--color-danger)}.outcome-text{overflow-wrap:anywhere;flex-direction:column;gap:2px;min-width:0;display:flex}.outcome:focus{outline:none}.outcome a{min-height:44px;color:var(--color-text);align-self:flex-start;align-items:center;font-weight:600;display:inline-flex}.notice[data-tone=danger]{border-color:var(--color-danger-line);font-size:.9375rem}.notice[data-tone=danger] .icon{color:var(--color-danger)}.panel{border:1px solid var(--color-border);background:var(--color-surface);border-radius:18px;flex-direction:column;gap:16px;padding:18px 16px;display:flex}.panel h2,.audit-results-heading h2{margin:0;font-size:1.375rem;line-height:1.2}.invite-form{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));align-items:start;gap:14px 16px;display:grid}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field label{font-size:.875rem;font-weight:600}.field input,.field select,.field textarea{border:1.5px solid var(--color-muted);background:var(--color-background);min-height:48px;color:var(--color-text);font:inherit;border-radius:12px;padding:0 12px;font-size:1rem}.field textarea{resize:vertical;min-height:96px;padding:10px 12px}.field [aria-invalid=true]{border-color:var(--color-danger)}.field .mono-input,.audit-mono,.recovery-mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.field-hint,.field-error{margin:0;font-size:.8125rem}.field-hint{color:var(--color-muted)}.field-error{color:var(--color-danger);align-items:center;gap:6px;font-size:.875rem;display:flex}.field-error .icon{width:16px;height:16px}.invite-actions,.recovery-actions{flex-wrap:wrap;grid-column:1/-1;gap:10px;display:flex}.invite-send,.recovery-submit{width:100%;padding:0 20px}.recovery-form{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));align-items:start;gap:14px 16px;display:grid}.recovery-wide{grid-column:1/-1}.field-hint-split{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.button-danger{background:var(--color-danger);color:var(--color-on-danger)}.confirm-dialog{background:var(--color-surface);width:100%;max-width:100%;max-height:90%;color:var(--color-text);border:0;border-radius:18px 18px 0 0;margin:auto 0 0;padding:24px 20px 32px}.confirm-dialog[open]{flex-direction:column;gap:16px;display:flex}.confirm-dialog::backdrop{background:#1118278c}.confirm-dialog-title{overflow-wrap:anywhere;margin:0;font-size:1.375rem;line-height:1.25}.confirm-dialog-title:focus{outline:none}.confirm-dialog-body{flex-direction:column;gap:10px;font-size:.9375rem;display:flex}.confirm-dialog-body p{margin:0}.confirm-dialog-effects{flex-direction:column;gap:6px;margin:0;padding:0 0 0 20px;display:flex}.confirm-dialog-summary{background:var(--color-background);border-radius:12px;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;margin:0;padding:12px 14px;display:grid}.confirm-dialog-summary dt{color:var(--color-muted)}.confirm-dialog-summary dd{overflow-wrap:anywhere;margin:0}.confirm-dialog-emphasis{font-weight:700}.confirm-dialog-check{border:1.5px solid var(--color-muted);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;min-height:44px;padding:10px 12px;font-weight:600;display:flex}.confirm-dialog-check input{width:22px;height:22px;accent-color:var(--color-primary);flex:none;margin:1px 0 0}.confirm-dialog-actions{flex-direction:column-reverse;gap:10px;display:flex}.confirm-dialog-actions .button{border-radius:14px;min-height:48px;padding:0 20px;font-size:1rem;font-weight:700}.audit-filter{flex-wrap:wrap;align-items:flex-end;gap:8px 10px;display:flex}.audit-filter-field{flex:1 1 0}.audit-filter-error{flex-basis:100%}.audit-filter .field input{background:var(--color-surface)}.audit-filter-submit{width:48px;padding:0}.audit-filter-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.load-error{border-style:solid;border-width:1px;border-radius:14px;flex-direction:column;gap:12px;padding:14px 16px;font-size:.875rem;display:flex}.load-error-text{align-items:flex-start;gap:10px;display:flex}.load-error-actions{flex-wrap:wrap;gap:8px;display:flex}.load-error .button{border-radius:12px;align-self:flex-start;font-weight:700}.audit-empty{border:1px solid var(--color-border);background:var(--color-surface);text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:10px;padding:32px 20px;display:flex}.audit-empty>.icon{width:28px;height:28px;color:var(--color-muted)}.audit-empty p{margin:0}.audit-empty-title{font-size:1.25rem;font-weight:700}.audit-empty-detail{color:var(--color-muted);font-size:.9375rem}.audit-empty .button{align-self:stretch;margin-top:6px}.audit-results{flex-direction:column;gap:12px;display:flex}.audit-results-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;display:flex}.audit-muted{color:var(--color-muted)}.audit-results-heading .audit-muted{font-size:.875rem}.audit-table-wrap{display:none;overflow-x:auto}.audit-table{border:1px solid var(--color-border);border-collapse:separate;border-spacing:0;background:var(--color-surface);border-radius:18px;width:100%;font-size:.9375rem}.audit-table th{color:var(--color-muted);letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap;padding:14px 16px;font-size:.75rem;font-weight:700}.audit-table td{border-top:1px solid var(--color-border);vertical-align:top;padding:12px 16px}.audit-table .audit-mono{font-size:.8125rem}.audit-when{white-space:nowrap}.audit-wrap{overflow-wrap:anywhere}.audit-action{font-weight:700}.audit-reason{overflow-wrap:anywhere;max-width:280px}.audit-cards{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.audit-card{border:1px solid var(--color-border);background:var(--color-surface);overflow-wrap:anywhere;border-radius:18px;flex-direction:column;gap:4px;padding:12px 14px;font-size:.875rem;display:flex}.audit-card .audit-action{font-size:1rem}.audit-pager{flex-direction:column;align-items:stretch;gap:10px;display:flex}.audit-pager .button{font-size:.9375rem;font-weight:600}.audit-pager-text{text-align:center;font-size:.9375rem;font-weight:600}@media (width>=640px){.feature-page{gap:24px;padding-top:24px}.panel{padding:24px}.confirm-dialog{border-radius:18px;width:calc(100% - 32px);max-width:560px;margin:auto;padding:24px}.confirm-dialog-actions{flex-flow:wrap;justify-content:flex-end}.invite-send,.recovery-submit{width:auto}.audit-filter{gap:10px}.audit-filter-field{flex:0 320px}.audit-filter-submit{width:auto;padding:0 18px}.audit-filter-label{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.audit-table-wrap{display:block}.audit-cards{display:none}.audit-pager{flex-flow:wrap;justify-content:space-between;align-items:center}}.nexus-mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.nexus-results,.nexus-toolbar{flex-direction:column;gap:16px;display:flex}.nexus-toolbar-text{flex-direction:column;gap:2px;min-width:0;display:flex}.nexus-toolbar h2{overflow-wrap:anywhere;margin:0;font-size:1.25rem;line-height:1.2}.nexus-summary{color:var(--color-muted);font-size:.8125rem}.nexus-tools{flex-direction:column-reverse;gap:8px;display:flex}.nexus-tools .button,.nexus-actions .button{font-size:.9375rem}.nexus-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.nexus-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:18px;flex-direction:column;gap:12px;padding:16px;display:flex}.nexus-card[data-revoked]{background:var(--color-background)}.nexus-card-head{grid-template-areas:"name""badge""meta";justify-items:start;gap:6px;display:grid}.nexus-card-head h3{overflow-wrap:anywhere;grid-area:name;margin:0;font-size:1.125rem;line-height:1.25}.nexus-card-meta{color:var(--color-muted);grid-area:meta;margin:0;font-size:.8125rem}.nexus-badge{border:1px solid var(--color-border);background:var(--color-calm-bg);color:var(--color-text);white-space:nowrap;border-radius:999px;grid-area:badge;align-items:center;gap:6px;padding:4px 10px;font-size:.8125rem;font-weight:700;line-height:1.3;display:inline-flex}.nexus-badge .icon{width:14px;height:14px}.nexus-badge[data-tone=muted]{color:var(--color-muted)}.nexus-badge[data-tone=note]{border-color:var(--color-line);background:var(--color-surface)}.nexus-badge[data-tone=bad]{border-color:var(--color-danger-line);background:var(--color-danger-bg);color:var(--color-danger)}.nexus-problem{border:1px solid var(--color-danger-line);background:var(--color-danger-bg);border-radius:14px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:.8125rem;line-height:1.45;display:flex}.nexus-problem .icon{width:18px;height:18px;color:var(--color-danger)}.nexus-problem[data-tone=note]{border-color:var(--color-border);background:var(--color-surface)}.nexus-problem[data-tone=note] .icon{color:var(--color-primary)}.nexus-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:0;display:grid}.nexus-rows>div{flex-direction:column;gap:2px;min-width:0;display:flex}.nexus-rows dt{color:var(--color-muted);font-size:.8125rem;font-weight:600}.nexus-rows dd{overflow-wrap:anywhere;margin:0;font-size:.875rem}.nexus-rows dd[data-problem]{color:var(--color-danger);font-weight:700}.nexus-more summary{cursor:pointer;align-items:center;min-height:44px;font-size:.9375rem;font-weight:600;display:inline-flex}.nexus-more .nexus-rows{padding-top:6px}.nexus-actions{border-top:1px solid var(--color-border);flex-direction:column;gap:8px;padding-top:12px;display:flex}.nexus-actions .button{border-radius:12px;min-height:44px}.nexus-revoke{border-color:var(--color-danger);color:var(--color-danger)}.nexus-create-form{flex-direction:column;gap:14px;display:flex}.credential-lead{margin:0;font-size:.9375rem}.credential-row{flex-direction:column;gap:8px;display:flex}.credential-row input{min-width:0;font-size:.9375rem}.credential-status{min-height:1.5em;color:var(--color-muted);margin:0;font-size:.8125rem}.credential-status[data-tone=danger]{color:var(--color-danger)}.credential-steps{flex-direction:column;gap:4px;margin:0;padding:0 0 0 20px;font-size:.875rem;display:flex}.credential-note{background:var(--color-background);font-size:.8125rem}@media (width>=640px){.nexus-results,.nexus-list{gap:14px}.nexus-toolbar{flex-flow:wrap;justify-content:space-between;align-items:center;gap:10px 16px}.nexus-toolbar h2{font-size:1.375rem}.nexus-summary{font-size:.875rem}.nexus-tools{flex-flow:wrap;gap:10px}.nexus-tools .button{padding:0 18px}.nexus-card{gap:14px;padding:20px 22px}.nexus-card-head{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name badge""meta badge";align-items:start;gap:2px 16px}.nexus-card-head h3{font-size:1.25rem}.nexus-card-meta{font-size:.875rem}.nexus-badge{padding:5px 12px;font-size:.875rem}.nexus-badge .icon{width:16px;height:16px}.nexus-problem{gap:10px;padding:12px 14px;font-size:.875rem}.nexus-problem .icon{width:20px;height:20px}.nexus-rows{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px 20px}.nexus-rows dd{font-size:.9375rem}.nexus-actions{flex-flow:wrap;gap:10px;padding-top:14px}.credential-dialog{max-width:600px}.credential-row{flex-flow:wrap}.credential-row input{flex:280px}.credential-row .button{padding:0 18px}.credential-steps{gap:6px;padding-left:22px;font-size:.9375rem}.credential-note{font-size:.875rem}}
