.role-fields,.permission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 22px }
.role-fields input[type=color] { width:100%; height:40px; padding:4px }
section.permission-group { padding:16px 0 }
.permission-option { display:flex; align-items:flex-start; gap:9px; padding:6px }
.permission-option strong,.permission-option small { display:block }
.permission-option strong { font-weight:500; color:var(--text) }
.permission-option small { margin-top:3px }
.profile-edit { display:inline-flex; align-items:center; gap:7px; margin:12px 0 }
.award-edit summary { width:fit-content; color:var(--accent); cursor:pointer }
.group-editor { max-width:900px; padding:clamp(18px,3vw,32px) }
.group-editor h2 { margin:0 0 20px }
.group-editor small,.group-field p { color:var(--muted); font-size:.85rem }
.group-field { display:grid; grid-template-columns:minmax(130px,1fr) minmax(0,3fr); gap:16px; padding:20px 0; border-top:1px solid var(--line) }
.group-field > label,.group-field > span { display:block; font-size:.95rem; color:var(--text) }
.group-field select { width:100% }
.group-field p { margin:6px 0 }
.group-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr)); gap:4px 12px; margin-top:10px }
.group-options .choice { padding:6px 0 }
.group-options [hidden] { display:none }
.group-actions { display:flex; align-items:center; gap:16px; padding-top:16px; border-top:1px solid var(--line) }
@media(max-width:620px) { .group-field { grid-template-columns:1fr; gap:8px } }
.profile-edit-form { display:flex; flex-wrap:wrap; gap:10px; align-items:end; padding:14px 0 }
.awards-card { position:relative }
.awards-card:has(.award-edit) .section-heading { padding-right:36px }
.award-edit summary { position:absolute; right:clamp(20px,2.5vw,30px); top:clamp(18px,2.4vw,28px); display:grid; place-items:center; width:28px; height:28px }
.award-edit summary:hover { background:var(--hover); border-radius:5px }
.award-edit[open] { margin-bottom:12px; border-bottom:1px solid var(--line) }
.award-icon { width:48px; height:48px; object-fit:contain; flex:none; border-radius:6px }
.secondary-role + .secondary-role::before { content:', ' }
@media(max-width:600px) { .role-fields,.permission-grid { grid-template-columns:1fr } }
:root {
    color-scheme: dark;
    --main: #111315; --sidebar: #16181b; --card: #1a1c1f; --active: #292b2d; --hover: #202326;
    --accent: #d6bc58; --text: #eeefeb; --muted: #abaead; --border: #343638; --line: #2b2e30;
    font: 15px/1.55 "Segoe UI", system-ui, sans-serif; color: var(--text); background: var(--main);
}
* { box-sizing: border-box }
body { min-height: 100dvh; margin: 0; display: flex; flex-direction: column }
a { color: inherit; text-underline-offset: .24em }
a:hover { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
.skip { position: absolute; left: 12px; top: -100px; z-index: 10; padding: 8px; background: var(--card) }
.skip:focus { top: 0 }
.glyph { width: 18px; height: 18px; flex: none; vertical-align: middle }
.topbar { position: relative; z-index: 3; background: var(--sidebar); border-bottom: 1px solid var(--border) }
.topbar-inner, main, footer > div { width: min(1180px,calc(100% - 80px)); margin-inline: auto }
.topbar-inner { min-height: 70px; display: flex; align-items: center; gap: clamp(20px,4vw,62px) }
.wordmark, .account-nav, .account-link, .primary-nav, .primary-nav > a, .workspace summary, .account-menu summary,
.hero-button, .section-heading a, .user-menu a, .social-link, footer span, footer nav { display: inline-flex; align-items: center }
.wordmark, .account-link, .topbar a, .hero-button, .section-heading a, .user-menu a, .social-link, footer a { text-decoration: none }
.wordmark { gap: 10px; font-weight: 550; font-size: 1.04rem; letter-spacing: -.02em; overflow-wrap: anywhere }
.wordmark img { width: 30px; height: 30px }
.primary-nav { gap: 24px; font-size: .88rem; align-self: stretch }
.primary-nav > a { position: relative; white-space: nowrap; color: var(--muted) }
.primary-nav > a[aria-current], .primary-nav > a:hover { color: var(--text) }
.primary-nav > a[aria-current]::after { content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: var(--accent) }
.workspace { align-self: center }
summary { cursor: pointer }
.topbar summary { list-style: none }
.topbar summary::-webkit-details-marker { display: none }
.workspace summary { gap: 6px; color: var(--muted) }
.workspace summary .glyph:first-child { display: none }
.workspace summary .glyph:last-child, .account-menu summary .glyph { width: 14px }
details[open] > summary { color: var(--accent) }
.nav-sheet, .account-menu > div { position: absolute; z-index: 4; background: #1c1e20; border: 1px solid var(--border);
    border-radius: 10px; box-shadow: 0 14px 42px #0008; max-height: 70dvh; overflow: auto }
.nav-sheet { top: calc(100% + 5px); left: 50%; transform: translateX(-50%); width: min(840px,94vw);
    padding: 22px; display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 18px }
.nav-group h2, .overline { font-size: .7rem; font-weight: 550; letter-spacing: .13em; text-transform: uppercase }
.nav-group h2 { color: var(--accent); margin: 0 8px 7px }
.nav-group a, .account-menu a, .account-menu button { display: block; padding: 5px 8px; color: var(--muted); overflow-wrap: anywhere }
.nav-group a:hover, .nav-group a[aria-current], .account-menu a:hover, .account-menu button:hover { background: var(--active); color: var(--text); border-radius: 4px }
.account-nav { margin-left: auto; gap: 4px; min-width: 0; font-size: .88rem }
.account-link { gap: 8px; overflow-wrap: anywhere; min-width: 0 }
.account-menu { position: relative; flex: none }
.account-menu summary { min-width: 26px; min-height: 32px; justify-content: center }
.account-menu > div { top: 100%; right: 0; min-width: 145px; padding: 7px }
.account-menu button { border: 0; background: transparent; font: inherit; text-align: left; width: 100% }
main { flex: 1; min-width: 0 }
.breadcrumb { color: var(--muted); font-size: .8rem; padding: 19px 0; overflow-wrap: anywhere }
.breadcrumb a { text-decoration: none }.breadcrumb span { margin: 0 10px; color: #727573 }
.content { padding-bottom: 56px; overflow-wrap: anywhere }
h1,h2,h3,p { margin-top: 0 }
h1,h2,h3 { font-weight: 460; line-height: 1.2 }
h1 { font-size: clamp(1.9rem,4vw,2.7rem); letter-spacing: -.045em; margin-bottom: 24px }
h2 { font-size: 1.32rem; letter-spacing: -.028em; margin-bottom: 15px }
h3 { font-size: 1.04rem; margin-bottom: 5px }
.overline { color: var(--accent); margin: 0 0 8px }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; border-radius: 12px 12px 0 0;
    background: #222724 url('/assets/alpine-haul.webp') center 54% / cover; min-height: clamp(225px,24vw,300px); }
.hero::before { content: ''; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg,#101311c9,transparent 69%) }
.hero-copy { padding: clamp(25px,4vw,52px); color: #fff }
.hero h1 { font-size: clamp(3.2rem,5.5vw,5.1rem); font-weight: 350; line-height: 1.04; margin: 6px 0 23px }
.hero-button { gap: 18px; padding: 8px 14px; background: #191b19cf; border: 1px solid #abae9a86; border-radius: 5px; font-size: .88rem }
.hero-button:hover { color: white; border-color: var(--accent) }
.hero-button .glyph { width: 16px; color: var(--accent) }
.metrics { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 14px clamp(20px,4vw,50px); background: #202222;
    border: 1px solid var(--border); border-top: 0; border-radius: 0 0 12px 12px }
.metrics > div { display: inline-flex; align-items: center; gap: 9px }
.metrics > div + div { border-left: 1px solid #454640; padding-left: 30px }
.metrics .glyph { color: var(--accent) }.metrics strong { font-size: 1.12rem; font-weight: 500 }
.metrics span,.member-row small,.shortcut small,.quiet,.muted,.meta,.award-row small,.timeline small,.timeline span { color: var(--muted) }
.metrics span,.member-row small,.shortcut small,.award-row small { font-size: .84rem }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; min-width: 0 }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-top: 30px }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px }
.section-heading h2,.quiet:last-child { margin-bottom: 0 }
.section-heading a,.social-link { font-size: .84rem; gap: 6px; color: var(--accent) }
.section-heading a .glyph { width: 15px }
.shortcuts,.member-list,.directory { padding: 2px 18px }
.shortcut,.member-row { display: flex; gap: 13px; align-items: center; text-decoration: none; min-width: 0; padding: 15px 0 }
.shortcut + .shortcut,.member-row + .member-row,.award-row + .award-row { border-top: 1px solid var(--line) }
.shortcut > span:nth-child(2),.member-row > span:nth-child(2) { min-width: 0 }
.shortcut strong,.member-row strong,.account-heading strong { font-weight: 500 }
.shortcut small,.member-row small { display: block }
.shortcut > .glyph,.row-end { margin-left: auto; color: var(--muted); font-size: .78rem }
.shortcut:hover > .glyph { color: var(--accent) }
.tile-icon,.avatar { display: inline-grid; place-items: center; flex: none; background: #302f25; color: #e4cd7a }
.tile-icon { width: 39px; height: 39px; border: 1px solid #494530; border-radius: 9px }
.avatar { width: 39px; height: 39px; overflow: hidden; border-radius: 50%; font-size: 1.02rem; font-weight: 500; background: #38372e }
.avatar img { width: 100%; height: 100%; object-fit: cover }
.avatar.mini { width: 28px; height: 28px; font-size: .82rem }
.member-list .quiet,.directory .quiet { padding: 16px 0 }
.profile-heading,.account-heading { display: flex; align-items: center; gap: 20px; min-width: 0 }
.profile-heading { min-height: 170px; padding: 28px clamp(20px,4vw,40px); border: 1px solid var(--line); border-radius: 12px;
    background: linear-gradient(90deg,#191b1cf5 12%,#1d201de6 50%,#16181570),url('/assets/alpine-haul.webp') center 43% / cover }
.profile-heading > div { min-width: 0 }
.avatar.portrait { width: 88px; height: 88px; border: 2px solid #a1986a; font-size: 2.3rem }
.profile-heading h1 { margin: 0 0 5px; color: white }
.profile-role { color: #e6ce77; font-size: .94rem }.profile-number { color: #c4c6c1; font-size: .85rem; padding-left: 5px }
.profile-grid { display: grid; grid-template-columns: minmax(0,2.2fr) minmax(225px,1fr); gap: 22px; margin-top: 22px; align-items: start }
.profile-main,.profile-rail { display: grid; gap: 18px; min-width: 0 }
.profile-card,.personal-card { padding: clamp(20px,2.5vw,30px) }
.profile-card h2 { font-size: 1.22rem }
.bio { line-height: 1.7 }.bio p { white-space: pre-line }
.bio > :last-child,.award-row p:last-child { margin-bottom: 0 }
.bio h3 { font-size: 1.18rem; margin: 20px 0 8px }
.bio > :first-child { margin-top: 0 }
.bio img { display: block; max-width: 100%; max-height: 75vh; border-radius: 6px; margin: 14px 0 }
.bio ul,.bio ol { padding-left: 24px }.bio li::marker { color: var(--accent) }
.facts { margin: 0 }.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 8px 0 }
.facts div + div { border-top: 1px solid var(--line) }.facts dt { color: var(--muted) }.facts dd { margin: 0 }
.count { color: var(--accent); font-variant-numeric: tabular-nums }
.award-row { display: flex; align-items: flex-start; gap: 15px; padding: 15px 0 }.award-row:last-child { padding-bottom: 0 }
.award-row p { margin: 6px 0 }.timeline { list-style: none; margin: 0; padding: 0 0 0 8px }
.timeline li { position: relative; padding: 0 0 18px 17px; border-left: 1px solid var(--border) }
.timeline li:last-child { padding-bottom: 0 }.timeline li::before { position: absolute; left: -4px; top: 8px; content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 50% }
.account-heading { gap: 12px }.account-heading .overline { margin: 0 }.account-heading strong { font-size: 1.2rem }
.user-menu { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--border); margin: 15px 0 22px }
.user-menu a { color: var(--muted); gap: 7px; font-size: .9rem; padding: 10px 0; border-bottom: 2px solid transparent }
.user-menu a[aria-current] { color: var(--accent); border-color: var(--accent) }.user-menu a:hover { color: var(--text) }
.personal-card { max-width: 850px }.personal-card h1 { font-size: 1.65rem }
.panel { margin: 22px 0; border-bottom: 1px solid var(--line); padding-bottom: 20px }
.placeholder,.empty-small { color: var(--muted) }
.placeholder { display: grid; align-content: center; justify-items: center; gap: 8px; min-height: 165px; border: 1px dashed var(--border); border-radius: 8px }
.placeholder p { margin: 0 }.empty-icon { font-size: 1.5rem; color: var(--accent) }
.empty-small { margin-bottom: 0 }.quiet,.empty-small { font-size: .93rem }
form { margin: 0 }.editor { max-width: 660px; display: grid; gap: 16px; margin: 15px 0 22px }.editor:last-child { margin-bottom: 0 }
label,legend,.form-hint { font-size: .88rem; color: var(--muted) }label { display: grid; gap: 5px }
.form-hint { margin: -10px 0 0 }.dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px }
input,textarea,select,button,.button { font: inherit; color: var(--text); background: #151719; border: 1px solid #404344; border-radius: 6px; padding: 8px 12px; min-width: 0 }
textarea { resize: vertical; min-height: 80px }
button,.button { cursor: pointer; font-size: .86rem; justify-self: start; text-decoration: none }
button:hover,.button:hover { background: var(--active); color: var(--text) }
.primary { background: var(--accent); color: #171713; font-weight: 550; border-color: transparent }
.primary:hover { background: #e4cb6d; color: #171713 }
fieldset { min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px }
.choices { max-height: 220px; overflow: auto; display: grid; gap: 4px; grid-template-columns: repeat(auto-fit,minmax(min(190px,100%),1fr)) }
.choice { display: flex; gap: 6px; align-items: center; color: var(--text); overflow-wrap: anywhere }
input[type=checkbox] { accent-color: var(--accent) }
.search,.pager { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 14px 0 }
.search label { max-width: 100% }.pager:empty { display: none }
.table-scroll { overflow-x: auto }table { width: 100%; border-collapse: collapse; text-align: left }
th,td { padding: 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top }
th { font-size: .8rem; color: var(--muted); font-weight: 500 }td a { color: var(--accent) }
.permission-group { padding: 6px 0; border-bottom: 1px solid var(--line) }.permission-group .choices { padding: 8px 0 }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem }.warning { color: #e1c87a }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem }
footer > div { min-height: 65px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 12px }
footer img { width: 18px; height: 18px }footer span { gap: 8px }footer nav { gap: 17px }
@media (max-width: 960px) {
    .topbar-inner,main,footer > div { width: calc(100% - 40px) }
    .topbar-inner { gap: 20px }.primary-nav { gap: 14px }
}
@media (max-width: 760px) {
    .topbar-inner,main,footer > div { width: calc(100% - 32px) }
    .topbar-inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 0 0; min-height: auto }
    .wordmark { flex: 1; min-width: 0 }.wordmark img { width: 25px; height: 25px }
    .account-nav { max-width: 49% }.account-nav > .button { font-size: .78rem }
    .primary-nav { width: 100%; order: 3; justify-content: space-between; gap: 8px; font-size: .8rem }
    .primary-nav > a,.workspace summary { padding: 8px 0 }
    .breadcrumb { padding: 13px 0 }
    .hero { min-height: 215px; background-position: 67% 55% }
    .dashboard-grid,.profile-grid { grid-template-columns: 1fr; gap: 20px }.dashboard-grid { margin-top: 22px }
    .profile-rail { grid-row: auto }.user-menu { gap: 0 13px }.user-menu a { font-size: .83rem }
    .avatar.portrait { width: 65px; height: 65px }.profile-heading { min-height: 139px; gap: 14px }
    .metrics { gap: 10px 18px }.metrics > div + div { padding-left: 16px }
    .metrics span { font-size: .78rem }.metrics .glyph { width: 16px }
    .content { padding-bottom: 34px }
}
@media (max-width: 400px) {
    .metrics { gap: 10px; padding: 12px }.metrics > div { gap: 5px }.metrics > div + div { padding-left: 10px }
    .primary-nav { gap: 6px }.dates { grid-template-columns: 1fr }
    .hero-copy { padding: 23px 18px }.hero { background-position: 63% center }
    .hero::before { background: linear-gradient(90deg,#101311df,#10131110) }
}
.language-picker summary { padding:7px 10px; border:1px solid var(--border); border-radius:5px }
.language-list { max-height:15rem; overflow:auto; margin-top:5px; padding:4px; background:var(--main) }
.language-list label { display:flex; align-items:center; gap:8px; padding:5px 9px; cursor:pointer }
.language-list label:has(:checked) { background:var(--active); color:var(--text) }
.social-fields { display:grid; gap:13px }
.notification-bell { position:relative; display:inline-flex; align-items:center; padding:8px; color:var(--text); }
.notification-count { position:absolute; top:-3px; right:-5px; background:#d6bc58; color:#16181b; border-radius:12px; padding:1px 5px; font-size:11px; font-weight:600; }
.notification-count[hidden] { display:none; }
.account-nav { position:relative }
.member-search summary { display:grid; place-items:center; width:38px; height:38px }
.member-search form { position:absolute; top:calc(100% + 10px); right:0; width:min(420px,90vw); padding:16px; background:var(--card); border:1px solid var(--border); border-radius:8px; box-shadow:0 10px 35px #0006; z-index:5 }
.member-query { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px }
.member-query button { padding-inline:18px }
#member-results { max-height:50dvh; overflow:auto }
#member-results a { display:flex; gap:12px; align-items:center; padding:12px 6px; border-bottom:1px solid var(--line); overflow-wrap:anywhere }
#member-results a:first-child { margin-top:10px }
#member-results small { display:block; color:var(--muted) }
#member-results a:focus,#member-results a:hover { background:#ffffff0c; }
.directory-heading { text-align:center; padding:clamp(24px,5vw,58px) 0; border-bottom:1px solid var(--line); margin-bottom:30px }
.directory-heading form { max-width:520px; margin:auto }
.member-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,2vw,24px) }
.member-card { display:flex; flex-direction:column; overflow:hidden; text-align:center; text-decoration:none }
.member-card:hover,.member-card:focus-visible { border-color:var(--accent) }
.avatar.directory-portrait { width:100%; height:auto; aspect-ratio:1; border-radius:0; font-size:clamp(2.5rem,7vw,5rem); font-weight:350 }
.member-caption { display:grid; gap:4px; padding:18px 8px }
.member-caption strong { font-size:1.22rem; font-weight:500 }
.member-caption small,.notification-settings p { color:var(--muted) }
.directory-empty,.member-cards + .pager { text-align:center; justify-content:center }
.notification-settings { margin-top:36px }
.discord-roles .choice { padding:6px 4px; gap:8px }
.discord-roles svg { flex:none }
.position-history { list-style:none; padding:0; margin:1rem 0 0; border-top:1px solid var(--line) }
.position-history li { display:grid; grid-template-columns:minmax(6rem,22%) 1rem minmax(0,1fr); gap:.8rem }
.position-date,.position-detail { padding-block:.85rem; overflow-wrap:anywhere }
.position-history small { display:block; color:var(--muted); margin-top:.2rem }
.position-detail strong { font-weight:500 }
.position-track { position:relative; display:flex; justify-content:center }
.position-track::before { content:''; width:2px; background:var(--line) }
.position-track i { position:absolute; top:1.15rem; width:.6rem; height:.6rem; border-radius:3px; background:currentColor }
.position-detail summary { cursor:pointer; font-size:.8rem; margin-top:.5rem }
.position-detail form { margin:.6rem 0 }
.stat-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.8rem 1.5rem }
.profile-affiliations,.division-tabs { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem .75rem }
.profile-affiliations > span + span { border-inline-start:1px solid var(--line); padding-inline-start:.75rem }
.division-tabs { margin-bottom:1.25rem }
.division-tabs a { padding:.4rem .2rem; text-decoration:none }
.division-tabs [aria-current] { border-bottom:2px solid var(--accent) }
.profile-stat-group { border-top:1px solid var(--line); padding-top:.75rem; margin-top:.8rem }
.profile-stat-group h3 { font-size:.9rem; margin:0 0 .35rem }
.profile-stat-group .facts div { border:0; padding:.2rem 0 }
.stat-editor { margin-block:1rem }
[data-cargo-picker] [hidden] { display:none }
.role-import-tools:not([hidden]) { display:grid; gap:.75rem; margin-bottom:1rem }
.role-import-actions { display:flex; flex-wrap:wrap; gap:.5rem }
.choices.discord-roles { max-height:min(55vh,36rem); align-content:start; grid-template-columns:1fr }
.discord-roles .choice[hidden] { display:none }
.discord-roles small { display:block; color:var(--muted); font-size:.74rem }
.notification-settings fieldset { padding:16px 22px 20px }
.notification-settings legend { padding:0 5px; font-size:1rem; color:var(--text) }
.notification-settings .choice { gap:12px; font-size:.96rem; align-items:baseline }
.notification-settings input { margin:0; width:16px; height:16px; flex:none; align-self:start; margin-top:4px }
.notification-settings p { margin:5px 0 16px 28px; font-size:.88rem }
.notification-settings .choice:last-child { border-top:1px solid var(--line); padding-top:16px }
.ledger-filters { display:flex; align-items:end; flex-wrap:wrap; padding:18px; gap:12px; margin-bottom:20px; border:1px solid var(--line); border-radius:8px; background:var(--card) }
.ledger-filters label:first-child { flex:1 1 230px }
.ledger-filters select { min-height:39px }
main:has(.ledger-filters) { width:calc(100% - clamp(32px,5vw,100px)) }
.ledger-table { font-variant-numeric:tabular-nums }
.ledger-table th,.ledger-table td { vertical-align:middle; overflow-wrap:normal }
.ledger-table th,.ledger-table td:is(:nth-child(1),:nth-child(2),:nth-child(6),:nth-child(7),:nth-child(8)) { white-space:nowrap }
.ledger-table th:nth-child(6),.ledger-table th:nth-child(7),.ledger-table td:nth-child(6),.ledger-table td:nth-child(7) { text-align:right }
.ledger-toggle { white-space:nowrap; padding:5px 9px }
.ledger-toggle::before { content:'▸'; color:var(--accent); margin-right:6px }
.ledger-toggle[aria-expanded=true]::before { content:'▾' }
.ledger-expanded > td { background:var(--card); padding:20px; white-space:normal !important }
.ledger-detail { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:16px 24px; margin:0 }
.ledger-detail dt { color:var(--muted); font-size:.82rem }
.ledger-detail dd { margin:4px 0 0; overflow-wrap:anywhere }
@media(max-width:800px) {
    .ledger-table,.ledger-table tbody { display:block }
    .ledger-table thead { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden }
    .ledger-table tbody { border:1px solid var(--line); border-radius:8px; margin-bottom:12px }
    .ledger-table tbody tr:first-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:16px }
    .ledger-table tbody tr:first-child td { display:block; padding:0; border:0; text-align:left; white-space:normal; overflow-wrap:anywhere }
    .ledger-table td[data-label]::before { display:block; content:attr(data-label); color:var(--muted); font-size:.76rem }
    .ledger-expanded:not([hidden]),.ledger-expanded > td { display:block }
}
@media(max-width:850px) { .member-cards { grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media(max-width:760px) {
    .account-nav { max-width:60% }
    .account-link span[class^="role-"] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
}
@media(max-width:600px) { .member-cards { grid-template-columns:repeat(2,minmax(0,1fr)) } }
