/* Account surfaces follow the existing jade palette and restrained project UI. */
.account-editor .account-generate{justify-content:flex-start;padding:0;font-size:12px;color:var(--brand);min-height:36px}
.account-editor .account-help,.account-editor .account-message{grid-column:1/-1}
.account-field [aria-invalid=true]{border-color:var(--warn)}
.account-created{display:grid;grid-template-columns:minmax(200px,1fr) minmax(200px,300px);gap:18px 28px;padding:22px 24px;border:1px solid var(--border-strong);border-radius:12px;background:var(--soft);margin-bottom:24px}
.account-created strong{display:block;font-size:14px;overflow-wrap:anywhere}.account-created .account-help{margin:8px 0 0}.account-created .account-actions{grid-column:1/-1}.account-created .account-field{font-size:12px}
@media(max-width:767px){.account-created{grid-template-columns:1fr;padding:20px}.account-created .account-actions button{font-size:12px}}
.account-surface .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header .account-header{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--paper);font-size:13px;transition:background .18s ease,border-color .18s ease}
.account-header svg{width:19px;height:19px;flex-shrink:0}.account-header span{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-header .account-header:hover{background:var(--soft);border-color:var(--border-strong)}
.account-surface{padding:34px 0 70px}.account-narrow{width:min(100%,480px);margin-inline:auto}.account-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);font-size:13px;margin-bottom:20px}.account-back svg{width:17px;height:17px}.account-back:hover{color:var(--brand)}
.account-card{min-width:0;padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}.account-card h1,.account-page-heading h1{font-size:30px;line-height:1.3;letter-spacing:-.6px;margin:13px 0 14px}.account-card h2{font-size:20px;line-height:1.4;margin:0 0 20px}.account-eyebrow{color:var(--muted);font-size:10px;letter-spacing:1.7px}.account-lead{color:var(--muted);font-size:14px;line-height:1.85;margin:0 0 28px;max-width:680px}.account-form{display:grid;gap:18px}.account-field{display:grid;gap:8px;font-size:13px;font-weight:600}.account-field input,.account-field select,.account-search input{width:100%;min-height:46px;border:1px solid var(--line);border-radius:9px;padding:11px 13px;color:var(--text);background:var(--bg);font-size:15px;line-height:1.4;font-weight:400}.account-field input:focus,.account-field select:focus,.account-search input:focus{border-color:var(--brand);outline:2px solid var(--border-strong);outline-offset:2px}.account-field input[readonly]{color:var(--muted);background:var(--soft)}.account-password{position:relative;display:flex}.account-password input{padding-right:50px}.account-password .account-password-toggle{position:absolute;right:1px;top:1px;width:44px;min-height:44px;padding:11px;border:0;border-radius:8px;color:var(--muted);background:transparent}.account-password-toggle svg{width:20px;height:20px}.account-password .account-password-toggle:hover{color:var(--brand);background:var(--soft)}.account-password-toggle[aria-pressed=true]{color:var(--brand)}.account-help{font-size:12px;line-height:1.8;color:var(--muted);margin:-7px 0 0}.account-submit{width:100%;margin-top:3px;min-height:46px}.account-footnote{border-top:1px solid var(--line);padding-top:21px;margin:25px 0 0;font-size:12px;color:var(--muted);line-height:1.8}.account-message{padding:13px 16px;border-radius:9px;border:1px solid var(--line);color:var(--brand);background:var(--soft);font-size:13px;line-height:1.7;margin:0 0 18px;overflow-wrap:anywhere}.account-message--error{color:var(--warn);background:var(--warn-bg);border-color:color-mix(in srgb,var(--warn) 25%,var(--line))}.account-form>.account-message{margin:0}.account-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:26px;margin-bottom:22px}.account-page-heading .account-lead{margin-bottom:0}.account-page-heading>button{margin-top:24px;flex-shrink:0}.account-profile-grid{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(300px,1fr);gap:26px;max-width:960px}.account-profile{align-self:start}.account-profile h2{margin:19px 0 5px;overflow-wrap:anywhere}.account-emblem{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--soft);color:var(--brand);margin-bottom:20px}.account-emblem svg{width:25px;height:25px}.account-username{color:var(--muted);font-size:14px;overflow-wrap:anywhere;margin:0 0 18px}.account-pill{display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border-radius:5px;color:var(--brand);background:var(--soft);font-size:11px;white-space:nowrap}.account-pill.is-disabled{color:var(--muted);background:var(--bg);border:1px solid var(--line)}.account-profile>.account-help{margin-top:15px}.account-profile-links{display:grid;gap:3px;margin-top:22px;border-top:1px solid var(--line);padding-top:14px}.account-profile-links a{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;color:var(--brand)}.account-workspace-note{display:flex;gap:14px;align-items:center;padding:17px 20px;border:1px solid var(--line);border-radius:12px;background:var(--paper);margin:20px 0 4px}.account-workspace-note>span{color:var(--brand)}.account-workspace-note svg{width:22px;height:22px}.account-workspace-note strong{font-size:13px}.account-workspace-note p{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.6}.account-workspace-note>a{display:flex;align-items:center;gap:6px;min-height:44px;margin-left:auto;font-size:13px;white-space:nowrap;color:var(--brand)}.account-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:25px;padding-bottom:15px}.account-tabs button{background:transparent;border-color:transparent;color:var(--muted)}.account-tabs button[aria-pressed=true]{color:var(--brand);background:var(--soft)}.account-admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.account-editor{padding:24px}.account-editor-heading,.account-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.account-editor-heading h2,.account-list-heading h2{margin:0}.account-editor-heading button{padding:5px;font-size:12px}.account-list-heading>span{font-size:12px;color:var(--muted)}.account-search{display:flex;gap:9px;margin-bottom:19px}.account-search input{min-width:0}.account-search button{flex-shrink:0}.account-table-scroll{overflow-x:auto}.account-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.account-table th{font-size:11px;letter-spacing:.3px;color:var(--muted);font-weight:500;white-space:nowrap;padding:11px 10px;border-bottom:1px solid var(--line)}.account-table td{padding:15px 10px;border-bottom:1px solid var(--line);vertical-align:middle}.account-table th:first-child,.account-table td:first-child{padding-left:0}.account-table th:last-child,.account-table td:last-child{padding-right:0}.account-table td strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.account-table td small{display:block;color:var(--muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}.account-table .is-selected{background:var(--soft)}.account-row-actions{display:flex;gap:3px;justify-content:flex-end}.account-row-actions button{font-size:12px;min-width:44px;padding:6px}.account-pagination{display:flex;justify-content:flex-end;gap:10px;padding-top:20px}.account-pagination button{font-size:12px}.account-empty{padding:35px 0;text-align:center;color:var(--muted);font-size:14px}.account-reset{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.account-reset summary{cursor:pointer;min-height:44px;font-size:13px;display:flex;align-items:center;color:var(--brand)}.account-reset .account-help{margin:0 0 15px}.account-loading{padding-block:60px;text-align:center;color:var(--muted)}.account-actions{display:flex;gap:10px;flex-wrap:wrap}.account-confirm p{overflow-wrap:anywhere}.account-surface button:disabled{opacity:.55;cursor:wait}.account-surface .account-pagination button:disabled{cursor:default}.account-form[aria-busy=true]{opacity:.8}.account-surface :focus-visible,.account-header:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(max-width:1100px){.account-admin-grid{grid-template-columns:minmax(0,1fr) 300px}.account-list{padding:24px}.site-header .account-header span{max-width:70px}.site-header .header-inner{column-gap:16px}.site-header .header-inner .main-nav{gap:18px}}
@media(max-width:900px){.account-admin-grid{grid-template-columns:1fr}.account-editor{max-width:none}.account-editor .account-form{grid-template-columns:1fr 1fr}.account-editor .account-form>.account-help,.account-editor .account-form>.account-submit,.account-editor .account-form>.account-password{grid-column:1/-1}.account-reset .account-form{display:grid;grid-template-columns:1fr}.account-reset{max-width:450px}.account-table-scroll{max-width:100%}}
@media(max-width:767px){.site-header .account-header{width:44px;padding:10px}.site-header .account-header span{display:none}.site-header .header-inner{column-gap:8px}.site-header .header-tools{gap:5px}.account-surface{padding:22px 0 42px}.account-card{padding:24px 21px}.account-card h1,.account-page-heading h1{font-size:26px}.account-profile-grid{grid-template-columns:1fr}.account-profile{display:block}.account-profile-links{margin-top:17px}.account-page-heading{gap:14px}.account-page-heading>button{font-size:12px;padding:9px}.account-page-heading .account-lead{font-size:13px}.account-workspace-note{padding:15px;gap:10px;align-items:flex-start}.account-workspace-note>span{padding-top:3px}.account-workspace-note>a{align-self:center}.account-workspace-note p{font-size:11px}.account-admin .account-page-heading{flex-wrap:wrap}.account-admin .account-page-heading>button{margin-top:0}.account-list-heading{align-items:flex-start}.account-table{min-width:480px}.account-editor .account-form{grid-template-columns:1fr}.account-editor .account-form>*{grid-column:1}.account-table-scroll{margin-right:-8px}.account-field input,.account-field select,.account-search input{font-size:16px}.account-back{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.site-header .account-header{transition:none}}

/* The non-interactive route focus target must not frame the entire page. */
main#main[tabindex="-1"]:focus{outline:none}
/* Account settings: calm surfaces, clear identity, and separate access controls. */
.account-page,.account-admin{max-width:1160px;margin-inline:auto}
.account-page-heading{align-items:center;margin-bottom:32px}
.account-page-heading h1{font-size:34px;letter-spacing:-.8px;margin:10px 0}
.account-page-heading>button,.account-page-heading>.btn{margin:0;min-height:46px}
.account-page-heading>div{min-width:0}.account-page-heading .account-lead{max-width:560px}
.account-profile-grid{max-width:none;grid-template-columns:minmax(280px,.88fr) minmax(320px,1.12fr);gap:24px;align-items:start}
.account-profile-column{display:grid;gap:20px;min-width:0}
.account-card{border-radius:18px;box-shadow:0 4px 22px color-mix(in srgb,var(--text) 2%,transparent)}
.account-profile{background:linear-gradient(145deg,var(--soft),var(--paper) 62%)}
.account-profile-identity{display:flex;align-items:center;gap:18px;padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:24px}
.account-profile-identity>div{min-width:0}.account-profile h2{font-size:24px;line-height:1.4;margin:10px 0 4px}.account-profile .account-username{margin:0}
.account-avatar{display:inline-grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid var(--border-strong);border-radius:12px;background:var(--soft);color:var(--brand);font-weight:650;font-size:15px}
.account-avatar--large{width:70px;height:70px;border-radius:22px;background:var(--paper);font-size:28px;box-shadow:0 6px 20px color-mix(in srgb,var(--brand) 7%,transparent)}
.account-section-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}
.account-section-heading h3,.account-access h3{font-size:15px;margin:0;font-weight:650}
.account-live-status{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--brand);white-space:nowrap}
.account-live-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.account-facts{display:grid;gap:18px;margin:0 0 25px}.account-facts>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;font-size:13px;line-height:1.6}
.account-facts dt{color:var(--muted)}.account-facts dd{margin:0;overflow-wrap:anywhere;text-align:right;color:var(--text)}
.account-profile-links a{gap:9px}.account-profile-links svg{width:17px;height:17px}.account-profile-links a>span{margin-left:auto}
.account-session{display:flex;gap:20px;align-items:center;padding:22px 26px;box-shadow:none}
.account-session>div{min-width:0}.account-session h2{font-size:15px;margin:0 0 6px}.account-session p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.account-session button{flex-shrink:0;font-size:13px;min-height:44px}
.account-security{padding:32px}.account-security-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.account-security-heading .account-emblem{margin:0;width:46px;height:46px;border-radius:14px}.account-security-heading h2{font-size:23px;margin:5px 0 0}.account-security-heading .account-eyebrow{margin:0;font-size:11px;letter-spacing:.4px}
.account-security .account-lead{font-size:13px;margin-bottom:26px}.account-security .account-form{gap:20px}.account-security .account-submit{margin-top:5px}
.account-security .account-help{font-size:13px;line-height:1.65}.account-security .account-footnote{margin-top:25px;margin-bottom:0}
.account-tabs{gap:24px;margin-bottom:25px;padding-bottom:0}.account-tabs button{position:relative;min-height:48px;border-radius:0;padding:10px 1px 16px;font-size:14px}
.account-tabs button[aria-pressed=true]{background:transparent}.account-tabs button[aria-pressed=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--brand);border-radius:3px}
.account-admin-grid{grid-template-columns:minmax(0,1.32fr) minmax(330px,.88fr);gap:24px}
.account-list{padding:26px}.account-list-heading{margin-bottom:24px}.account-list-heading h2{font-size:18px}.account-list-heading>span{border:1px solid var(--line);padding:5px 9px;border-radius:7px;white-space:nowrap}
.account-search{display:grid;gap:9px;margin-bottom:16px}.account-search>label{font-size:12px;color:var(--muted)}.account-search>div{display:flex;gap:8px}.account-search button{font-size:13px;min-height:46px}
.account-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 24px}.account-filters>span{font-size:12px;color:var(--muted);margin-right:4px}
.account-filters select{width:auto;min-width:0;max-width:100%;min-height:40px;padding:7px 26px 7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--text);font:inherit;font-size:12px;cursor:pointer}
.account-people-table{table-layout:fixed;font-size:12px}.account-people-table th:first-child{width:46%}.account-people-table th:nth-child(2){width:18%}.account-people-table th:nth-child(3){width:20%}.account-people-table th:last-child{width:16%;text-align:right}
.account-people-table th,.account-people-table td{padding:16px 8px}.account-people-table th{padding-top:0;padding-bottom:12px}.account-people-table td:last-child{text-align:right}
.account-person{display:flex;align-items:center;gap:10px;min-width:0}.account-person>div{min-width:0}.account-person strong{line-height:1.5;overflow-wrap:anywhere}.account-you{font-size:10px;font-weight:500;color:var(--muted);white-space:nowrap}
.account-table td .account-reset-label{color:var(--warn);font-size:11px}.account-people-table tr.is-selected{box-shadow:inset 3px 0 var(--brand)}.account-people-table .is-selected td:first-child{padding-left:9px}
.account-edit-button{display:inline-flex;align-items:center;gap:5px;background:transparent;border-color:transparent;color:var(--brand);min-height:44px;min-width:44px;padding:6px 7px;font-size:12px;border-radius:8px;white-space:nowrap}
.account-edit-button:hover,.account-edit-button[aria-pressed=true]{background:var(--soft);border-color:var(--border-strong)}
.account-pagination{align-items:center;gap:8px;margin-top:8px}.account-pagination>span{font-size:12px;color:var(--muted);margin-right:auto}.account-pagination button{min-width:42px;min-height:42px;padding:8px}
.account-editor{padding:26px;border-color:var(--border-strong)}.account-editor-heading{align-items:flex-start;gap:14px}.account-editor-heading>div{min-width:0}.account-editor-heading .account-eyebrow{margin:0 0 9px;letter-spacing:.4px;font-size:11px}
.account-editor-heading h2{font-size:20px;line-height:1.5;overflow-wrap:anywhere}.account-editor-heading button{flex-shrink:0;min-height:40px;padding:4px 0;color:var(--muted)}
.account-editor-username{font-size:12px;color:var(--muted);line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}.account-editor-username .account-pill{margin-left:5px}
.account-editor .account-form{gap:16px;grid-template-columns:1fr}.account-editor .account-form>*{grid-column:1}.account-field{font-size:13px}
.account-permissions{border:0;border-top:1px solid var(--line);margin:4px 0 0;padding:17px 0 0;min-width:0}.account-permissions legend{font-size:12px;color:var(--muted);padding-right:10px}.account-permissions .account-help{margin:10px 0 0;line-height:1.7}
.account-form-divider{display:flex;align-items:center;gap:10px;margin:2px 0;color:var(--muted);font-size:12px}.account-form-divider:after{content:'';height:1px;background:var(--line);flex:1}
.account-editor .account-generate{font-size:12px;min-height:42px;border:1px dashed var(--border-strong);border-radius:8px;padding:9px 12px;justify-content:center;background:var(--soft);white-space:normal;text-align:left;line-height:1.6}
.account-reset{padding-top:14px;margin-top:24px}.account-reset summary{justify-content:space-between;gap:12px;min-height:48px;font-weight:600}.account-reset[open] summary{margin-bottom:12px}.account-reset[open] summary>span:last-child{transform:rotate(45deg)}
.account-access{margin-top:22px;padding-top:22px;border-top:1px solid var(--line)}.account-access p{color:var(--muted);font-size:12px;line-height:1.7;margin:8px 0 15px}
.account-danger-button{color:var(--warn);border:1px solid color-mix(in srgb,var(--warn) 35%,var(--line));background:var(--paper);min-height:44px;font-size:13px}.account-danger-button:hover{background:var(--warn-bg);border-color:var(--warn)}
.account-enable{background:var(--soft);color:var(--brand);min-height:44px}.account-self-note{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;line-height:1.7;margin:24px 0 0}.account-self-note svg{flex-shrink:0;width:18px;height:18px}
.account-editor-empty{padding:42px 30px;background:linear-gradient(150deg,var(--soft),var(--paper) 75%);border-style:dashed}.account-editor-empty h2{font-size:21px;margin:0 0 12px}.account-editor-empty p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 26px;max-width:260px}.account-editor-empty .btn{font-size:13px;min-height:44px}
.account-empty{display:grid;justify-items:center;gap:10px;padding:30px 12px 36px;min-height:220px}.account-empty .account-emblem{margin:0 0 4px}.account-empty p{margin:0;color:var(--text);font-size:14px}.account-empty small{font-size:12px;line-height:1.6}.account-empty button{margin-top:10px;min-height:44px}
.account-list-loading{padding:24px 0;min-height:235px}.account-list-loading p{font-size:13px;color:var(--muted);margin:0 0 20px}.account-list-loading>div{display:grid;gap:18px}.account-list-loading span{height:42px;border-radius:9px;background:linear-gradient(90deg,var(--soft),var(--bg));display:block}
.account-created{border-radius:16px}.account-created .account-actions{margin-top:0}.account-created .account-password-toggle{min-height:44px}
.account-surface :is(input,select,button,a,summary){scroll-margin-top:110px;touch-action:manipulation}
.account-people-table tr,.account-surface button{transition:background .16s ease,border-color .16s ease,color .16s ease}
@media(max-width:1020px){.account-admin-grid{grid-template-columns:minmax(0,1.2fr) minmax(290px,.9fr);gap:18px}.account-list,.account-editor{padding:22px}.account-people-table th:first-child{width:42%}.account-people-table th:nth-child(2){width:18%}.account-people-table th:nth-child(3){width:22%}.account-people-table th:last-child{width:18%}.account-person .account-avatar{display:none}}
@media(max-width:850px){.account-admin-grid{grid-template-columns:1fr}.account-person .account-avatar{display:inline-grid}.account-profile-grid{grid-template-columns:1fr}.account-profile-column{grid-template-columns:1fr}.account-session{padding:22px 26px}.account-editor-empty{padding:30px}.account-editor-empty p{max-width:none}.account-security{padding:28px}.account-table-scroll{margin:0}.account-admin-grid .account-editor{scroll-margin-top:110px}}
@media(max-width:560px){.account-page-heading{align-items:flex-start;flex-wrap:wrap;gap:18px}.account-page-heading h1{font-size:29px}.account-page-heading .account-lead{font-size:13px}.account-page-heading>.btn,.account-page-heading>button{font-size:13px;min-height:44px}.account-card,.account-security{padding:23px 19px;border-radius:15px}.account-profile-identity{gap:13px}.account-avatar--large{width:56px;height:56px;border-radius:17px;font-size:24px}.account-profile h2{font-size:21px}.account-session{align-items:flex-start;flex-wrap:wrap;gap:13px}.account-session button{padding-left:0}.account-filters{gap:7px}.account-filters>span{width:100%;margin:0 0 2px}.account-filters select{flex:1;font-size:13px;min-height:44px}.account-search input{font-size:16px}.account-list-heading{gap:8px}.account-list-heading h2{font-size:17px}.account-people-table{min-width:0;table-layout:auto}.account-people-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.account-people-table,.account-people-table tbody{display:block;width:100%}.account-people-table tr{display:grid;grid-template-columns:1fr auto;gap:0 10px;border-bottom:1px solid var(--line);padding:15px 8px}.account-people-table td{padding:4px 0!important;border:0;min-width:0}.account-people-table td:first-child{grid-column:1;grid-row:1/3}.account-people-table td:nth-child(2){font-size:11px;text-align:right}.account-people-table td:nth-child(3){text-align:right}.account-people-table td:last-child{grid-column:1/-1;margin-top:4px}.account-people-table tr.is-selected{box-shadow:inset 3px 0 var(--brand);border-radius:9px}.account-person{gap:9px}.account-person .account-avatar{width:32px;height:32px;border-radius:10px}.account-editor-heading button{max-width:82px;line-height:1.5}.account-facts>div{grid-template-columns:74px minmax(0,1fr)}.account-table td strong{font-size:13px}.account-pagination>span{font-size:11px}.account-pagination{gap:6px}.account-created{padding:21px 18px}.account-created .account-actions{display:grid;grid-template-columns:1fr}.account-security .account-lead{margin-bottom:23px}}
@media(prefers-reduced-motion:reduce){.account-people-table tr,.account-surface button{transition:none}}

.account-affiliation{border:0;border-top:1px solid var(--line);margin:4px 0 0;padding:17px 0 0;min-width:0}.account-affiliation legend{font-size:12px;color:var(--muted);padding-right:10px}.account-affiliation>.account-help{margin:10px 0 0}.account-organization-field{margin-top:18px}.account-organization-field[hidden]{display:none}.account-organization-field>.account-help{font-weight:400;margin:0}.account-table td .account-person-affiliation{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
/* Administration uses a compact directory and a focused editing surface. */
.account-admin .account-page-heading{margin-bottom:25px}.account-admin .account-page-heading h1{font-size:31px}.account-admin .account-page-heading .account-lead{font-size:13px}.account-admin .account-tabs{gap:28px;margin-bottom:24px}.account-admin .account-tabs button{min-height:46px;padding-bottom:13px}.account-admin-grid{gap:22px;grid-template-columns:minmax(0,1.18fr) minmax(350px,.92fr)}
.account-admin .account-list,.account-admin .account-editor{padding:23px}.account-admin .account-list-heading{margin-bottom:20px}.account-admin .account-search{gap:7px;margin-bottom:13px}.account-admin .account-filters{margin-bottom:20px}.account-admin .account-people-table td{padding-block:12px}.account-admin .account-people-table tr.is-selected{box-shadow:inset 3px 0 var(--brand);background:var(--soft)}.account-admin .account-people-table .account-person{gap:9px}.account-admin .account-person-affiliation{margin-top:4px}.account-admin .account-editor-heading{margin-bottom:19px}.account-admin .account-editor-heading h2{font-size:19px}.account-admin .account-editor .account-form{gap:13px}.account-admin .account-editor .account-help{font-size:12px;line-height:1.6}.account-admin .account-affiliation,.account-admin .account-permissions{padding-top:13px}.account-admin .account-organization-field{margin-top:14px}.account-admin .account-reset{margin-top:19px;padding-top:10px}.account-admin .account-access{margin-top:18px;padding-top:18px}
.account-ai-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}.account-ai-functions{padding:16px 0;min-width:0}.account-ai-functions>.account-eyebrow{margin:0 15px 15px;font-size:12px;letter-spacing:.3px}.account-ai-functions>div{display:grid;gap:8px}.account-ai-functions button{position:relative;display:grid;justify-content:stretch;text-align:left;gap:7px;padding:17px 40px 17px 17px;min-height:80px;width:100%;border-color:transparent;background:transparent;border-radius:12px}.account-ai-functions button>span:first-child{font-size:14px}.account-ai-functions button small{font-size:12px;font-weight:400;color:var(--muted)}.account-ai-functions button[aria-pressed=true]{background:var(--paper);border-color:var(--border-strong);box-shadow:inset 3px 0 var(--brand)}.account-ai-function-arrow{position:absolute;right:17px;top:21px;font-size:17px}.account-ai-functions>.account-help{margin:25px 16px 0;font-size:12px;line-height:1.8}
.account-ai-editor{padding:28px 30px;min-width:0;scroll-margin-top:115px}.account-ai-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px}.account-ai-heading>div{min-width:0}.account-ai-heading .account-eyebrow{font-size:11px;letter-spacing:.5px;margin-bottom:7px}.account-ai-heading h2{font-size:25px;line-height:1.35;margin:0;overflow-wrap:anywhere}.account-ai-heading h2:focus{outline:none}.account-ai-description{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:11px}.account-ai-effective{font-size:12px;line-height:1.7;color:var(--brand);margin-bottom:14px}.account-ai-updated{font-size:12px;color:var(--muted);line-height:1.7;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.account-ai-editor form>label{display:block;font-size:13px;font-weight:600;margin-bottom:10px}.account-ai-editor textarea{width:100%;min-height:360px;max-height:800px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.85;padding:18px;background:var(--bg);border-color:var(--border-strong);border-radius:10px;overflow-wrap:anywhere}.account-ai-editor textarea:focus{outline:2px solid var(--brand);outline-offset:2px}.account-ai-field-meta{display:flex;gap:12px;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:8px}.account-ai-field-meta>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.account-ai-field-meta .is-invalid,.account-ai-feedback.is-error{color:var(--warn)}.account-ai-feedback{min-height:22px;font-size:13px;line-height:1.7;margin:13px 0 8px;color:var(--brand)}.account-ai-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.account-ai-actions>[data-ai-dirty]{margin-right:auto;font-size:12px;color:var(--muted)}.account-ai-actions>button{min-height:44px;font-size:13px}.account-ai-default{margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.account-ai-default summary{cursor:pointer;font-size:13px;color:var(--muted);min-height:36px;line-height:1.7;padding-block:7px}.account-ai-editor pre{font-family:inherit;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;margin:14px 0 0;background:var(--bg);padding:18px;border:1px solid var(--line);border-radius:9px;color:var(--muted)}.account-ai-try{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:10px;font-size:13px;color:var(--brand)}.account-ai-conflict{padding:18px;margin:0 0 22px;border:1px solid color-mix(in srgb,var(--warn) 30%,var(--line));background:var(--warn-bg);border-radius:11px}.account-ai-conflict h3{font-size:14px;line-height:1.6;margin:0 0 8px}.account-ai-conflict p{font-size:13px;line-height:1.7;margin-bottom:12px}.account-ai-conflict button{font-size:12px;min-height:44px;max-width:100%;white-space:normal}.account-ai-conflict details{margin:17px 0}.account-ai-conflict summary{font-size:13px;cursor:pointer}.account-ai-conflict .account-help{margin:12px 0 0}
@media(max-width:1020px){.account-admin-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.95fr)}.account-ai-layout{grid-template-columns:205px minmax(0,1fr);gap:18px}.account-ai-editor{padding:25px}}
@media(max-width:850px){.account-admin-grid,.account-ai-layout{grid-template-columns:1fr}.account-ai-layout{gap:17px}.account-ai-functions{padding:0}.account-ai-functions>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.account-ai-functions button{padding:14px;min-height:86px;align-content:center}.account-ai-function-arrow{display:none}.account-ai-functions>.account-eyebrow{margin-left:0}.account-ai-functions>.account-help{margin:13px 0 0}.account-ai-functions button[aria-pressed=true]{box-shadow:inset 0 -3px var(--brand)}}
@media(max-width:560px){.account-admin .account-page-heading h1{font-size:28px}.account-admin .account-tabs{gap:20px}.account-admin .account-tabs button{font-size:13px}.account-admin .account-list,.account-admin .account-editor,.account-ai-editor{padding:22px 18px}.account-admin .account-people-table tr{padding-block:12px}.account-ai-functions button{padding:12px 10px;min-height:92px}.account-ai-functions button>span:first-child{font-size:13px;line-height:1.5}.account-ai-functions button small{font-size:11px}.account-ai-heading{gap:10px;align-items:flex-start}.account-ai-heading h2{font-size:23px}.account-ai-heading .account-pill{margin-top:5px}.account-ai-editor textarea{font-size:16px;min-height:370px;padding:14px}.account-ai-actions>[data-ai-dirty]{flex-basis:100%;margin:0 0 3px}.account-ai-actions>button{flex:1;padding-inline:10px}.account-ai-field-meta{font-size:11px}.account-ai-editor pre{padding:14px}.account-ai-conflict{padding:15px}}

/* Personal details lead; password fields appear only after an explicit action. */
.account-page .account-profile-grid{grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr);max-width:1060px}
.account-page .account-profile-column .account-session{display:block}.account-page .account-session button{margin-top:16px}
.profile-password{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
.profile-password-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.profile-password-row h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px}.profile-password-row h3 svg{width:20px;height:20px;color:var(--brand);flex-shrink:0}.profile-password-row p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 0}.profile-password-row button{flex-shrink:0;min-height:44px;font-size:13px}
#account-password-panel[hidden]{display:none}#account-password-panel .account-form{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
@media(max-width:850px){.account-page .account-profile-grid{grid-template-columns:1fr}.profile-password-row{flex-wrap:wrap;gap:14px}.profile-password-row button{margin-left:auto}}
