:root{color-scheme:dark;--bg:#101112;--surface:#191a1c;--surface-raised:#202123;--text:#ede9e2;--muted:#a9a5a0;--gold:#c6a36f;--red:#853541;--red-hover:#a04451;--border:#323234;--radius:14px;--radius-small:8px;--shadow:0 12px 40px #0002;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--content:1320px;--sidebar:242px;--font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 var(--font)}
a{color:inherit;text-decoration:none}
a:hover{color:var(--gold)}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
h1,h2,h3,p{margin:0 0 12px}
h1{font-size:clamp(27px,3vw,38px);line-height:1.2;letter-spacing:-1.1px;font-weight:600}
h2{font-size:21px;line-height:1.3;font-weight:550;letter-spacing:-.35px}
h3{font-size:17px;font-weight:550}
small{font-size:12px}
.muted,.help{color:var(--muted)}
.help{font-size:12px;margin:10px 0 18px}
.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--gold);margin-bottom:10px}
.app-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}
.sidebar{border-right:1px solid var(--border);padding:30px 20px;position:sticky;top:0;height:100vh;background:#141516;display:flex;flex-direction:column}
.brand{display:flex;gap:12px;align-items:center;margin:0 0 44px}
.brand img{width:55px;height:auto}
.brand>span{font-size:18px;line-height:1.25}
.brand b{display:block;font-weight:500}
.brand small{display:block;color:var(--muted);font-size:7px;letter-spacing:1.15px;margin-top:7px}
nav a{display:flex;align-items:center;gap:13px;color:var(--muted);padding:12px 15px;border-radius:8px;margin-bottom:5px}
nav a[aria-current]{background:#392127;color:#f2d9cd;box-shadow:inset 3px 0 var(--red)}
nav a:hover{background:var(--surface-raised)}
nav form{margin-top:26px;padding:12px 0;border-top:1px solid var(--border)}
.sidebar-foot{margin-top:auto;padding:24px 14px 0;font-size:11px;color:var(--muted)}
.sidebar-foot span{color:var(--gold)}
.workspace{min-width:0}
.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--border);gap:16px}
.topbar .eyebrow{color:var(--muted);margin:0;font-size:9px}
.account{display:flex;align-items:center;gap:12px;font-size:12px;min-width:0}
.account>span:last-child{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.main{padding:40px 42px;max-width:var(--content);margin:auto;min-height:calc(100vh - 150px)}
.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}
.page-header .muted{margin:12px 0 0}
.page-header h1{margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;min-height:44px;border-radius:var(--radius-small);border:1px solid transparent;font-size:13px;font-weight:550;line-height:1.35;text-align:center;white-space:normal;text-decoration:none;transition:background .15s}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-hover);color:#fff}
.btn-secondary{background:#252527;border-color:#484445;color:var(--text)}
.btn-secondary:hover{background:#343034;color:#fff}
.btn-ghost{background:transparent;color:var(--muted)}
.btn-ghost:hover{background:var(--surface-raised)}
.btn-danger{background:#803a32;color:#fff}
.btn-icon{width:44px;padding:10px;background:var(--surface-raised)}
.btn-small{min-height:36px;padding:8px 12px;font-size:12px}
.btn-large{min-height:52px;padding:15px 24px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow);min-width:0;margin-bottom:24px}
.badge{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #454247;border-radius:99px;color:#ccc4bd;font-size:10px;line-height:1.4;white-space:nowrap}
.badge.gold{border-color:#665338;color:#d8b787;background:#342c20}
.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.member-grid .card{margin:0}
.member-card{display:flex;flex-direction:column;padding:23px;transition:border-color .15s}
.member-card:hover{border-color:#84624b;color:var(--text)}
.member-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}
.member-card h2{font-size:17px;overflow-wrap:anywhere;margin-bottom:6px}
.member-card .role{color:var(--gold);font-size:12px;margin-bottom:5px}
.member-card .muted{font-size:12px}
.member-card-footer{margin-top:auto;border-top:1px solid var(--border);padding-top:15px;font-size:12px;color:#cec7be}
.member-card-footer small{display:block;margin-top:7px;color:var(--muted);font-size:10px}
.placeholder-label{font-size:9px;color:#aaa29b;margin-top:12px}
.avatar{flex:none;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;overflow:hidden;background:#3b3332;color:#e1c8a7;border:2px solid #494039;font-size:24px}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar-small{width:36px;height:36px;font-size:15px}
.avatar-large{width:80px;height:80px}
.avatar-hero{width:140px;height:140px}
.filters{display:flex;gap:12px;align-items:center;margin:0 0 20px;flex-wrap:wrap}
.filters .search{flex:1;min-width:180px}
.filters input{width:100%}
.result-count{font-size:12px}
input:not([type=checkbox]):not([type=hidden]),select,textarea{background:#121314;border:1px solid #464447;border-radius:var(--radius-small);color:var(--text);padding:11px 13px;min-height:44px;max-width:100%}
input::placeholder{color:#918d89}
textarea{min-height:120px;resize:vertical}
input[type=checkbox]{accent-color:var(--red);width:20px;height:20px}
.form-field{margin-bottom:22px}
.form-field label{display:block;font-size:13px;margin-bottom:8px}
.form-field input:not([type=checkbox]),.form-field select,.form-field textarea{width:100%}
.form-field input[type=file]{padding:12px;overflow:hidden}
.check-field{display:flex;align-items:center;gap:14px}
.check-field label{margin:0}
.form-card{max-width:780px}
.form-actions,.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.toolbar{margin-bottom:24px}
.error,.errorlist{color:#f1aaa2}
.errorlist{padding-left:20px;font-size:13px}
.alert{background:#312928;border:1px solid #66513e;padding:16px 20px;border-radius:var(--radius-small);margin-bottom:22px}
.empty-state{padding:68px 20px;text-align:center;border:1px dashed var(--border);border-radius:var(--radius);width:100%;grid-column:1/-1;color:var(--muted)}
.empty-state h2{color:var(--text)}
.empty-symbol{color:var(--gold);font-size:38px;display:block;margin-bottom:16px}
.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:32px;font-size:12px}
.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.two-column>.card{margin-bottom:0}
.two-column{margin-bottom:24px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.section-heading h2{margin:0}
.section-heading>a{font-size:11px;color:var(--gold)}
.welcome-banner{padding:36px 38px;border-radius:var(--radius);background:linear-gradient(110deg,#48282e,#262021 72%);border:1px solid #664149;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.welcome-banner h2{font-size:32px;font-weight:500}
.welcome-banner p:not(.eyebrow){color:#c6b9b4;font-size:14px}
.welcome-banner .btn{margin-top:12px}
.banner-mark{font-size:64px;font-weight:800;font-style:italic;color:#bc95635c;letter-spacing:-3px;line-height:.8;text-align:center;padding:20px}
.banner-mark small{font-style:normal;font-size:14px;letter-spacing:6px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stats strong{display:block;font-size:29px;font-weight:500;letter-spacing:-1px}
.stats span{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.stats>div{border-right:1px solid var(--border);padding-right:14px}
.stats>div:last-child{border:0}
.activity-card{display:flex;align-items:center;gap:24px}
.activity-card>div:nth-child(2){flex:1;min-width:0}
.activity-card h2{overflow-wrap:anywhere}
.date-tile{width:76px;min-width:76px;background:#262323;border:1px solid #49403d;border-radius:10px;padding:12px;text-align:center}
.date-tile strong{display:block;font-size:27px;font-weight:500}
.date-tile span{color:var(--gold);font-size:10px;text-transform:uppercase}
.activity-card .badge{margin-left:auto}
.stack .card:last-child{margin-bottom:0}
.profile-hero{display:flex;align-items:center;gap:26px;background:linear-gradient(110deg,#292021,#191a1c)}
.profile-hero>div{flex:1;min-width:0}
.profile-hero h1{overflow-wrap:anywhere}
.tabs{display:flex;gap:12px;overflow:auto;border-bottom:1px solid var(--border);margin-bottom:28px}
.tabs a{white-space:nowrap;font-size:12px;padding:12px 8px}
.back-link{display:inline-block;font-size:12px;color:var(--muted);margin-bottom:22px}
dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:13px;font-size:13px}
dt{color:var(--muted)}
dd{margin:0;overflow-wrap:anywhere}
.list-item{border-bottom:1px solid var(--border);padding:16px 0}
.list-item:last-child{border-bottom:0}
.list-item .muted{font-size:12px;overflow-wrap:anywhere}
.list-item a{font-size:12px;color:var(--gold)}
.bike-photo{width:100%;max-height:240px;object-fit:cover;border-radius:var(--radius-small);margin-bottom:18px}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}
th{color:var(--muted);font-weight:500;font-size:11px}
td,th{padding:15px 12px;border-bottom:1px solid var(--border)}
td:first-child,th:first-child{padding-left:0}
td select{min-width:170px}
.attendee{display:flex;align-items:center;gap:12px;font-size:12px;min-width:0}
.attendee small{display:block;color:var(--muted);font-size:10px}
.attendee-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.prose{overflow-wrap:anywhere}
.app-footer{display:flex;justify-content:space-between;padding:18px 42px;border-top:1px solid var(--border);font-size:10px;color:var(--muted)}
.mobile-nav{display:none}
.activation-page{background:radial-gradient(ellipse at top,#382328,#101112 70%);min-height:100vh;padding:40px 20px}
.activation-card{max-width:480px;margin:auto;padding:32px;background:#191a1cf5;border:1px solid var(--border);border-radius:18px}
.activation-logo{display:block;margin:0 auto 26px;height:auto}
.activation-card h1{font-size:29px}
.activation-card form{margin-top:26px}
.activation-card .btn{width:100%}
.activation-card>a:last-child{display:block;text-align:center;color:var(--gold);font-size:13px}
.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}
.skip-link{position:fixed;top:-100px;left:16px;background:var(--gold);color:#111;padding:12px;z-index:10}
.skip-link:focus{top:12px}
@media(min-width:1550px){.member-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1150px){:root{--sidebar:210px}
.main{padding:30px 26px}
.topbar{padding:0 26px}
.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sidebar{padding:26px 14px}
.attendee-grid{grid-template-columns:repeat(2,1fr)}
.profile-hero{flex-wrap:wrap}
.profile-hero>.btn{margin-left:auto}
.banner-mark{font-size:48px}
.stats{gap:16px}
.two-column{gap:18px}
}
@media(max-width:800px){.app-shell{display:block}
.sidebar{position:static;height:auto;padding:16px 22px;border-right:0;border-bottom:1px solid var(--border);display:block}
.brand{margin:0}
.brand img{width:42px}
.brand>span{font-size:15px}
.brand small{font-size:7px}
.desktop-nav,.sidebar-foot{display:none}
.mobile-nav{display:block;margin-top:14px}
.mobile-nav summary{display:flex;justify-content:space-between;padding:10px 12px;background:var(--surface-raised);border-radius:8px;cursor:pointer;font-size:13px;list-style:none}
.mobile-nav nav{padding-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:3px}
.mobile-nav nav form{margin:0;padding:0;border:0}
.topbar{height:64px;padding:0 22px}
.topbar .eyebrow{font-size:8px;max-width:140px}
.main{padding:28px 22px}
.page-header{align-items:flex-start;flex-wrap:wrap;gap:16px}
.two-column{grid-template-columns:1fr}
.stats{grid-template-columns:repeat(2,1fr);row-gap:24px}
.stats>div:nth-child(2){border:0}
.stats strong{font-size:27px}
.banner-mark{display:none}
.welcome-banner{padding:28px}
.profile-hero .avatar-hero{width:100px;height:100px}
.app-footer{padding:18px 22px}
.app-footer span{max-width:160px;text-align:right}
.profile-hero{gap:18px}
.attendee-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:460px){.main{padding:25px 16px}
.topbar{padding:0 16px}
.sidebar{padding:16px}
.account>span:last-child{max-width:125px}
.member-grid{gap:12px;grid-template-columns:1fr}
.member-card{padding:22px}
.member-card-top{margin-bottom:16px}
.member-card h2{font-size:18px}
.filters{gap:8px}
.filters .search{flex-basis:100%}
.filters select{max-width:160px}
.result-count{margin-left:auto}
.card{padding:21px}
.welcome-banner h2{font-size:28px}
.page-header{margin-bottom:24px}
.profile-hero{display:block}
.profile-hero>.avatar{margin-bottom:20px}
.profile-hero>.btn{margin-top:16px}
.activity-card{gap:14px;flex-wrap:wrap}
.activity-card .badge{margin-left:90px}
.activity-card h2{font-size:18px}
.activity-card .muted{font-size:12px}
.attendee-grid{grid-template-columns:1fr}
.stats{gap:20px 12px}
.stats span{font-size:10px}
.stats strong{font-size:26px}
.activation-page{padding:20px 14px}
.activation-card{padding:24px}
dl{grid-template-columns:100px minmax(0,1fr)}
.app-footer{padding:18px 16px}
.section-heading{align-items:flex-start}
.section-heading>a{min-width:70px}
.toolbar select{flex:1}
.table-wrap td{padding:12px 8px}
.table-wrap .attendee{min-width:125px}
.table-wrap td select{min-width:150px}
}


.attendance-save{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:14px;padding:12px 0;background:var(--surface)}.attendance-save .help{margin:0}

/* Motorcycle entry shares the existing form and card components. */
#motorcycle-form fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
#motorcycle-form legend { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
#motorcycle-form select { max-width: 100%; }
.bike-badges { display: flex; gap: .4rem; flex-wrap: wrap; }
.catalog-details { margin-top: 1rem; font-size: .85rem; }
.catalog-details summary { cursor: pointer; }

.catalog-preview { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--border, #ddd); border-radius: 12px; background: #f5f3ef; color: #26211d; }
.catalog-preview > img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.catalog-preview figcaption { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.catalog-preview figcaption img { border-radius: 50%; object-fit: cover; }
.catalog-preview small { display: block; flex-basis: 100%; }
.catalog-preview [hidden] { display: none; }

/* Member identity and the selected motorcycle share the directory card. */
.member-card-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-height:18px}
.member-sex{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none}
.member-sex-male{color:#819cae}
.member-sex-female{color:#b28e9f}
.remembering-label{font-size:10px;letter-spacing:.16em;color:var(--gold)}
.member-card-meta .badge{margin-left:auto}
.member-card .member-card-top{align-items:center;gap:14px}
.member-card-motorcycle{display:block;min-width:0;width:calc(100% - 94px);max-width:200px;height:100px;object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none}

/* The portrait retains its size and place; the bike fills the free right half. */
.profile-hero{position:relative;flex-wrap:nowrap;padding-right:calc(50% + 13px);min-height:258px}
.profile-hero>.profile-portrait{position:relative;flex:0 0 140px;height:140px}
.profile-edit{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);white-space:nowrap;min-height:32px;padding:6px 12px;font-size:12px}
.profile-hero>.profile-motorcycle-stage{position:absolute;left:22px;right:22px;top:16px;width:auto;height:calc(100% - 32px);overflow:hidden;pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent,#000 33.333%,#000);mask-image:linear-gradient(to right,transparent,#000 33.333%,#000)}
.profile-hero>.profile-portrait,.profile-hero>.profile-identity{position:relative;z-index:1}
.profile-motorcycle-motion{position:absolute;right:0;top:0;width:calc(50% - 13px);height:100%}
.profile-motorcycle{display:block;width:100%;height:100%;object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none;transform-origin:27% 82%}
@media(max-width:1150px){
.profile-hero{padding-right:26px;display:grid;grid-template-columns:140px minmax(0,1fr);gap:26px}
.profile-hero>.profile-motorcycle-stage{position:relative;left:auto;right:auto;top:auto;grid-column:1/-1;width:100%;height:220px;margin-top:26px}
.profile-motorcycle-motion{width:100%}
}
@media(max-width:800px){
.profile-hero{grid-template-columns:100px minmax(0,1fr);gap:18px}
.profile-hero>.profile-portrait{height:100px}
.profile-hero>.profile-motorcycle-stage{height:160px}
}
@media(max-width:460px){
.profile-hero{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;column-gap:14px;row-gap:18px;padding:22px}
.profile-hero>.profile-portrait{width:100px;margin-bottom:40px}
.profile-hero>.profile-identity{height:140px;display:flex;flex-direction:column;justify-content:space-between;gap:2px}
.profile-identity h1{font-size:clamp(15px,4.6vw,18px);line-height:1.1;margin:0}
.profile-identity p{font-size:11px;line-height:1.2;margin:0}
.profile-identity .member-card-meta{min-height:16px}
.profile-identity .member-sex,.profile-identity .member-sex svg{width:16px;height:16px}
.profile-identity .eyebrow{font-size:7px;letter-spacing:.12em}
.profile-identity small{display:block;font-size:9px;line-height:1.2}
.profile-hero>.profile-motorcycle-stage{height:140px;margin-top:8px}
}

/* The fixed feather spans the first third of the whole card, behind its identity. */
.profile-motorcycle-stage[data-motion="pending"] .profile-motorcycle-motion{transform:translateX(-205%)}
.profile-motorcycle-stage[data-motion="entering"] .profile-motorcycle-motion{animation:profile-bike-arrive 1500ms both;will-change:transform}
.profile-motorcycle-stage[data-motion="entering"] .profile-motorcycle{animation:profile-bike-brake 1500ms both;will-change:transform}
@keyframes profile-bike-arrive{
0%{transform:translateX(-205%);animation-timing-function:cubic-bezier(.2,.55,.3,1)}
76%,100%{transform:translateX(0)}
}
/* Compression peaks while rolling; the fork releases quickly after speed reaches zero. */
@keyframes profile-bike-brake{
0%,25%{transform:rotate(0deg);animation-timing-function:cubic-bezier(.35,0,.45,1)}
60%{transform:rotate(1.5deg);animation-timing-function:linear}
76%{transform:rotate(1.3deg);animation-timing-function:cubic-bezier(.15,.7,.3,1)}
84%{transform:rotate(-.12deg);animation-timing-function:ease-out}
100%{transform:rotate(0deg)}
}
@media(prefers-reduced-motion:reduce){
.profile-motorcycle-stage[data-motion] .profile-motorcycle-motion,
.profile-motorcycle-stage[data-motion] .profile-motorcycle{animation:none;transform:none;will-change:auto}
}

/* A fixed card-corner marker, independent of the responsive identity layout. */
.member-card{position:relative}
.member-card .member-sex,.profile-hero>.member-sex{position:absolute;top:12px;left:12px;width:16px;height:16px;z-index:2}
.member-card .member-sex svg,.profile-hero>.member-sex svg{width:16px;height:16px}
.member-card>.member-card-meta{padding-left:18px}

/* People administration follows Clubhouse cards and typography. */
.people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.people-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:20px 0}
.people-filters label{display:grid;gap:7px;flex:1 1 170px}
.people-filter-more{flex-basis:100%}.people-filter-more summary{cursor:pointer;color:var(--gold,#d3ad65)}
.person-card{display:block;color:inherit;text-decoration:none;overflow-wrap:anywhere}.person-card:hover{border-color:#b59354}
.person-card-heading{display:flex;align-items:center;gap:14px}.person-card-heading h2{font-size:1.25rem}
.person-badges,.person-tabs{display:flex;gap:10px;flex-wrap:wrap}.person-tabs{margin-bottom:24px}.person-tabs a{padding:10px 16px;border:1px solid #45413a;border-radius:8px}
.history-row{display:flex;gap:20px;justify-content:space-between;align-items:start}.history-notice{padding:16px;border-left:3px solid #b59354;background:#25231d}
.member-card.former-member,.profile-hero.former-member{background:#101113;opacity:.82;border-color:#343438}.former-member .muted{color:#b6b6b8}
@media(max-width:640px){.history-row{flex-direction:column}.people-filters label{flex-basis:100%}}

/* Permanent dashboard Board directory, driven by current mandates. */
.dashboard-board{margin:28px 0}
.dashboard-board .section-heading{align-items:center}
.dashboard-board h2{margin-bottom:0}
.board-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.board-member-card{position:relative;display:flex;align-items:center;gap:18px;min-width:0;padding:24px;border:1px solid var(--border);border-top:2px solid var(--gold);border-radius:var(--radius);background:linear-gradient(135deg,#c6a36f0c,transparent 65%),var(--surface);box-shadow:var(--shadow);transition:border-color .15s,background .15s}
.board-member-card:hover{border-color:var(--gold);background-color:var(--surface-raised);color:var(--text)}
.board-member-card .avatar{width:72px;height:72px;border-color:#c6a36f66;box-shadow:0 0 0 5px #c6a36f08}
.board-member-info{min-width:0;flex:1;overflow-wrap:anywhere}
.board-member-info h3{margin-bottom:6px;font-size:18px}
.board-member-role{color:var(--gold);font-size:12px;font-weight:550;margin-bottom:4px}
.board-member-info .muted{font-size:12px;margin:0}
.board-member-arrow{align-self:flex-start;color:var(--gold);font-size:18px}
@media(max-width:480px){.board-member-card{padding:20px;gap:14px}.board-member-card .avatar{width:56px;height:56px}.dashboard-board .section-heading{align-items:flex-start}}

/* Membership and access are separate, readable states; color never stands alone. */
.status-group{margin:14px 0;gap:8px;align-items:center}
.status-pill{display:inline-flex;align-items:center;align-self:flex-start;width:fit-content;gap:4px;padding:3px 7px;border-radius:5px;border:1px solid transparent;font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.01em;max-width:100%;white-space:normal}
.status-pill::before{content:none}
.status-member{background:#183127;color:#94cba9;border-color:#315440}
.status-proposed{background:#ffe49a;color:#523700;border-color:#f5cb63}
.status-deferred{background:#dfccff;color:#432363;border-color:#c9a8f8}
.status-active{background:#aeeefa;color:#103f4c;border-color:#79d3e5}
.status-pending{background:#ffd5b8;color:#643014;border-color:#efb18b}
.status-rejected{background:#ffbfce;color:#681b31;border-color:#ef91aa}
.status-neutral{background:#dedee9;color:#373746;border-color:#bcbccc}
.status-admin{background:#f1c5ef;color:#5e285b;border-color:#dba0d8}
.admission-steps{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.workflow-note{border-left:3px solid #baf5d2;padding:12px 18px;margin:16px 0 24px;background:#1b2421;border-radius:0 10px 10px 0;color:#d8e9df}

.status-board{background:var(--red);color:#fff0eb;border-color:var(--red)}
.member-card-footer .status-board{margin-top:10px}
.member-card>.status-pill{margin:2px 0 8px}
.status-invited{background:#203249;color:#a7cdf4;border-color:#355474}
.status-absent{background:#44252b;color:#f1acb7;border-color:#74404a}
.attendee .status-pill{margin-top:5px}
.proposal-attendee{align-items:flex-start;padding:14px 0}
.proposal-sponsor{display:flex;align-items:center;gap:7px;margin-top:12px;font-size:11px;color:var(--muted)}
.proposal-sponsor .avatar{width:24px;height:24px;flex:0 0 24px;font-size:10px}
.proposal-sponsor small{display:block;font-size:10px}
.people-sheet{max-height:70vh;overflow:auto;border:1px solid var(--border);border-radius:10px}
.people-sheet table{border-collapse:separate;border-spacing:0;min-width:1500px;width:100%}
.people-sheet td,.people-sheet th{padding:8px;border-bottom:1px solid var(--border);text-align:left}
.people-sheet thead th{position:sticky;top:0;z-index:2;background:#242424;white-space:nowrap}
.people-sheet .row-number{position:sticky;left:0;z-index:1;min-width:44px;background:#242424;text-align:center}
.people-sheet thead .row-number{z-index:3}
.people-sheet input,.people-sheet select{min-width:120px;margin:0;padding:7px 8px;font-size:12px}
.people-sheet input[type=email]{min-width:220px}
.people-sheet [aria-invalid=true]{border-color:#ef8496}
.people-sheet td:focus-within{background:#29362e}
.people-sheet td:nth-last-child(2){min-width:230px}
.people-sheet td:last-child{min-width:120px}
.people-sheet .status-group{margin:0;gap:4px}
.people-sheet input{width:160px}
.people-sheet input[data-field=display_name]{width:190px}
.people-sheet .row-number{padding-left:8px}
input::placeholder,textarea::placeholder{color:#858585;opacity:1;font-weight:400}

/* Calendar phases have explicit labels as well as distinct colors. */
.event-group { margin-top: 2rem; }
.event-group > h2 { margin-bottom: 1rem; }
.event-group .activity-card { border-left: 4px solid var(--gold, #b99a62); }
.event-ongoing .activity-card { border-left-color: #70bd93; background: #18221d; }
.event-future .activity-card { border-left-color: #c5a66c; }
.event-past .activity-card { border-left-color: #7b8790; }
.event-cancelled .activity-card { border-left-color: #be7180; }
.event-ongoing .eyebrow, .event-state.event-ongoing { color: #8ed3ac; }
.event-past .eyebrow, .event-state.event-past { color: #b1bbc3; }
.event-cancelled .eyebrow, .event-state.event-cancelled { color: #e79aa7; }
.event-counts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; }

/* Memorial marker: a high-contrast black band at the upper-left corner. */
.remembering-surface { position: relative; }
.remembering-corner { position: absolute; top: 0; left: 0; width: 128px; height: 128px; overflow: hidden; border-top-left-radius: inherit; z-index: 3; pointer-events: none; }
.remembering-ribbon { position: absolute; top: 33px; left: -36px; display: block; width: 190px; padding: 9px 0; transform: rotate(-45deg); text-align: center; background: #000; color: #fff; border-top: 1px solid #777; border-bottom: 1px solid #777; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; box-shadow: 0 3px 10px #0006; }
.status-remembering { background: #dedee9; color: #373746; border-color: #bcbccc; }

.person-tabs a[aria-current="page"] { background: #803544; color: #fff; border-color: #c5a66c; box-shadow: inset 0 -2px 0 #c5a66c; font-weight: 700; }
