/* Alumni journal: ink for reading, red for small editorial details. */
:root {
 --site-header-height:57px; --forum-toolbar-height:56px; --visible-height:100vh;
 color-scheme:light; --paper:#fff; --surface:#fff; --surface-soft:#f3f6f7; --ink:#1d2b3c; --muted:#546476; --line:#dce2e5;
 --brand:#264966; --brand-strong:#163652; --brand-soft:#eef3f6; --school-red:#a5373e; --on-brand:#fff; --danger:#ac342f; --danger-soft:#fff4f1; --focus:#2576a2; --radius:4px;
 --font-ui:system-ui,-apple-system,"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
 --font-editorial:"Songti SC","Noto Serif CJK SC","Source Han Serif SC","STSong","SimSun",serif;
 --space-1:.375rem; --space-2:.75rem; --space-3:1rem; --space-4:1.5rem; --space-5:2rem; --space-6:3rem;
 --accent:var(--brand); --accent-hover:var(--brand-strong); --accent-soft:var(--brand-soft); --error:var(--danger); --border:var(--line); --text:var(--ink); --text-muted:var(--muted);
}
* { box-sizing:border-box; }
html { scrollbar-color:var(--muted) var(--paper); scroll-padding-top:var(--site-header-height); }
body { margin:0; background:var(--paper); color:var(--ink); font:.9375rem/1.65 var(--font-ui); line-break:strict; }
::selection { color:var(--on-brand); background:var(--brand); }
a { color:var(--brand); text-decoration:none; }
a:hover { color:var(--brand-strong); }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
[hidden] { display:none !important; }
button,input,textarea,select { font:inherit; }
.shell { width:min(100% - 3rem,90rem); margin-inline:auto; }
.site-header { position:-webkit-sticky; position:sticky; top:0; z-index:40; background:var(--surface); border-bottom:1px solid var(--line); padding-top:constant(safe-area-inset-top); padding-top:env(safe-area-inset-top,0px); padding-left:env(safe-area-inset-left,0px); padding-right:env(safe-area-inset-right,0px); }
.header-inner { min-height:56px; display:flex; flex-wrap:wrap; align-items:center; gap:.25rem 1rem; }
.site-back { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-height:44px; gap:.4rem; padding:.35rem .7rem; border:1px solid var(--brand); border-radius:4px; background:var(--brand-soft); color:var(--brand-strong); font-size:.875rem; font-weight:600; text-decoration:none; }
.site-back:hover { background:var(--brand); color:var(--on-brand); }
.site-name { display:inline-flex; align-items:center; gap:.57rem; color:var(--brand-strong); font:700 1.38rem/1.25 var(--font-editorial); text-decoration:none; white-space:nowrap; }
.site-mark { width:30px; height:30px; flex:none; }
.theme-admin .site-mark { background:#f7f6f1; padding:3px; border-radius:2px; }
.site-name:hover { color:var(--brand); }
nav { display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-2); }
nav a,.text-button { display:inline-flex; align-items:center; min-height:44px; }
.primary-nav { flex:1; align-self:stretch; gap:var(--space-3); }
.primary-nav a { color:var(--muted); text-decoration:none; border-bottom:3px solid transparent; padding-top:3px; }
.primary-nav a[aria-current] { color:var(--brand); border-bottom-color:var(--school-red); font-weight:650; }
.account-nav { margin-left:auto; position:relative; }
.header-avatar { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin-left:auto; border-radius:var(--radius); }
.header-avatar + .account-nav { margin-left:0; }
.account-nav summary { min-height:44px; display:flex; align-items:center; gap:.5rem; cursor:pointer; color:var(--ink); list-style:none; max-width:16rem; }
.account-nav summary::-webkit-details-marker { display:none; }
.account-nav summary::after { content:""; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:0 .25rem .3rem; flex-shrink:0; }
.account-name { max-width:11rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-menu { position:absolute; top:calc(100% + .5rem); right:0; min-width:13rem; max-height:calc(var(--visible-height) - var(--site-header-height) - 1rem); overflow:auto; overscroll-behavior:contain; padding:.5rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); z-index:20; }
.account-menu a,.account-menu .text-button { display:flex; min-height:44px; padding:.5rem .75rem; width:100%; text-decoration:none; color:var(--ink); border-radius:3px; }
.account-menu a:hover,.account-menu .text-button:hover { background:var(--brand-soft); color:var(--brand); }
.header-auth { margin-left:auto; display:flex; align-items:center; gap:1rem; }
.header-auth a { display:inline-flex; align-items:center; min-height:44px; }
.main-content { min-height:calc(100vh - 130px); padding-block:1rem; }
h1,h2,h3 { line-height:1.4; text-wrap:balance; overflow-wrap:anywhere; }
h1 { margin:0 0 1rem; font-size:clamp(1.4rem,2.4vw,1.75rem); font-weight:700; letter-spacing:-.025em; }
h2 { font-size:1.125rem; margin:0 0 .75rem; }
h3 { font-size:1.05rem; }
p { margin:0 0 var(--space-2); max-width:72ch; overflow-wrap:anywhere; }
.lead { font-size:1.1rem; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:.4rem; min-height:36px; padding:.35rem .8rem; border:1px solid var(--brand); border-radius:var(--radius); background:var(--brand); color:var(--on-brand); font:inherit; font-weight:500; text-decoration:none; cursor:pointer; }
.button:hover { background:var(--brand-strong); border-color:var(--brand-strong); color:var(--on-brand); }
.button.secondary { background:var(--surface); color:var(--brand); border-color:var(--line); }
.button.secondary:hover { background:var(--brand-soft); border-color:var(--brand); }
.button.danger { background:var(--danger); border-color:var(--danger); color:#fff; }
.button:active { transform:translateY(1px); }
.actions { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem var(--space-3); margin-top:var(--space-3); }
.actions > a { display:inline-flex; align-items:center; min-height:44px; }
.inline-form { display:inline; margin:0; }
.text-button,.action-button { display:inline-flex; align-items:center; justify-content:center; gap:.35rem; min-height:36px; padding:.25rem .65rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); color:var(--muted); font:inherit; font-size:.8125rem; line-height:1.5; cursor:pointer; text-decoration:none; max-width:100%; overflow-wrap:anywhere; }
.text-button:hover,.action-button:hover { color:var(--ink); background:var(--surface-soft); border-color:var(--muted); text-decoration:none; }
.action-button.action-danger { color:var(--danger); }
.action-button.action-danger:hover { background:var(--danger-soft); border-color:var(--danger); }
.action-button svg { width:18px; height:18px; flex-shrink:0; }
.dashboard-direct-action { max-width:100%; margin-top:.25rem; }
.dashboard-direct-action > summary { list-style:none; }
.dashboard-direct-action > summary::-webkit-details-marker { display:none; }
.dashboard-direct-action[open] > summary { background:var(--surface-soft); border-color:var(--muted); }
.dashboard-direct-action .dashboard-direct-form { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; width:min(100%,28rem); margin-top:.5rem; padding:.65rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.dashboard-direct-action select { flex:1 1 13rem; font-size:.8125rem; }
.disclosure-actions { display:flex; flex-wrap:wrap; gap:.4rem; }
.header-auth a,.pagination a,.forum-pagination a,.dashboard-pagination a { text-decoration:none; }
.site-footer nav a { color:var(--muted); text-decoration:none; border-color:transparent; background:transparent; }
.site-footer nav { gap:.4rem; }
.site-footer nav a:hover { color:var(--ink); text-decoration:none; }
@media (pointer:coarse) { .text-button,.action-button { min-height:44px; } }
.skip-link { position:absolute; top:-6rem; left:1rem; padding:.75rem; background:var(--surface); z-index:100; }
.skip-link:focus { top:.75rem; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.site-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem var(--space-2); padding-block:var(--space-3); border-top:1px solid var(--line); color:var(--muted); font-size:.8125rem; }
.reading-width { width:min(100%,46rem); margin-inline:auto; }
.panel,.account-panel { padding:1.25rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.prose { max-width:46rem; margin-inline:auto; padding:clamp(1rem,3vw,2.25rem); border:0; border-top:2px solid var(--brand); line-height:1.85; }
.prose h1,.security-panel h1,.reading-width > h1 { font-family:var(--font-editorial); }
.prose h2 { margin-block:1.75rem .45rem; }
.prose p { max-width:none; }
.account-panel { width:min(100%,34rem); }
.account-panel > p:not(.lead) { color:var(--muted); font-size:.9375rem; }
.account-panel .actions .button { flex:1; }
.account-help { margin-top:var(--space-3); color:var(--muted); font-size:.875rem; }
.security-panel { padding:1rem 1.25rem; }
.security-panel h1 { font-size:1.25rem; margin-bottom:.75rem; }
.security-panel h2 { margin-top:1.25rem; font-size:1rem; }
.security-actions { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.75rem; }
.security-panel > ul { padding-left:1.25rem; font-size:.8125rem; }
.empty-state { padding-block:var(--space-5); color:var(--muted); }
.badge { display:inline-flex; align-items:center; padding:.15rem .5rem; border-radius:3px; background:var(--brand-soft); color:var(--brand); font-size:.8125rem; line-height:1.6; }
.messages { list-style:none; padding:0; margin:0 0 var(--space-3); }
.message { padding:var(--space-2); border:1px solid var(--line); background:var(--surface); border-radius:var(--radius); margin-bottom:var(--space-1); overflow-wrap:anywhere; }
.message.error,.form-errors { color:var(--danger); background:var(--danger-soft); padding:var(--space-2); border-radius:var(--radius); }
.form-errors p:last-child { margin-bottom:0; }
.form-field { margin-block:1rem; min-width:0; }
fieldset.form-field { padding:0; border:0; }
.form-field legend { padding:0; font-weight:600; margin-bottom:.4rem; }
.form-field label { display:block; font-weight:600; margin-bottom:.4rem; }
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select { width:100%; min-width:0; min-height:44px; border:1px solid var(--muted); border-radius:var(--radius); padding:.6rem .75rem; background:var(--surface); color:var(--ink); caret-color:var(--brand); }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:1; }
textarea { min-height:12rem; resize:vertical; line-height:1.8; }
input[type="checkbox"],input[type="radio"] { width:1.15rem; height:1.15rem; accent-color:var(--brand); }
.form-field .remember-login { display:flex; align-items:center; gap:.6rem; min-height:44px; cursor:pointer; font-weight:400; }
.help-text { color:var(--muted); font-size:.8125rem; margin-top:.4rem; }
.help-text ul { margin:.5rem 0 0; padding-left:1.25rem; }
.errorlist { color:var(--danger); padding-left:1.25rem; margin:.5rem 0; font-size:.875rem; }
[aria-invalid="true"] { border-color:var(--danger) !important; }
.plain-text { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
button:disabled,input:disabled { opacity:.6; cursor:not-allowed; }
.is-submitting [aria-disabled="true"] { opacity:.65; cursor:wait; }
.pagination { justify-content:center; gap:var(--space-3); padding-block:var(--space-3); font-size:.875rem; font-variant-numeric:tabular-nums; }
.home-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(16rem,1fr); gap:var(--space-6); align-items:start; }
.welcome h1 { font-size:clamp(2.25rem,4vw,3.5rem); }
.welcome > p:not(.lead),.trial-note > p { color:var(--muted); }
.trial-note { padding:var(--space-4); background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.facts { margin:var(--space-4) 0; }
.facts > div { padding-block:var(--space-2); border-top:1px solid var(--line); }
dt { color:var(--muted); font-size:.875rem; }
dd { margin:.25rem 0 0; }
.guide-section { margin-top:var(--space-5); }
.guide-section li { padding-left:.25rem; margin-bottom:var(--space-2); }
/* Topic lists use the workspace width; reading and forms retain their own measure. */
.topic-labels { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem .65rem; list-style:none; padding:0; margin:.25rem 0 0; }
.topic-labels a { display:inline-flex; align-items:center; gap:.3rem; padding:0; min-height:24px; border:0; border-radius:0; color:var(--muted); background:transparent; font-size:.8125rem; text-decoration:none; }
.topic-labels a:hover { color:var(--ink); background:transparent; }
.topic-swatch { display:inline-block; width:9px; height:9px; flex:none; border-radius:1px; background:#999; }
.topic-swatch--campus { background:#d39a1d; }
.topic-swatch--growth { background:#6389b6; }
.topic-swatch--interest { background:#b86f48; }
.topic-swatch--help { background:#6b947c; }
@media (pointer:coarse) { .button { min-height:44px; } }
@media (max-width:48rem) {
 :root { --site-header-height:97px; }
 input:is(:not([type]),[type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"]),textarea,select { font-size:1rem; }
 .shell { width:calc(100% - 2rem); } .header-inner { min-height:56px; flex-wrap:wrap; gap:0 .5rem; padding-top:.25rem; }
 .site-name { font-size:1.125rem; } .primary-nav { order:3; flex:1 0 auto; gap:1rem; } .primary-nav a { min-height:44px; }
 .header-inner::after { content:""; order:2; flex-basis:100%; }
 .header-inbox { order:3; margin-left:auto; gap:.35rem; }
 .site-back { padding-inline:.5rem; }
 .account-nav,.header-auth { margin-left:auto; } .header-avatar + .account-nav { margin-left:0; } .account-name { max-width:clamp(2rem,12vw,5rem); } .main-content { padding-block:1rem; }
 .home-layout { grid-template-columns:1fr; gap:var(--space-4); } .site-footer { padding-block:var(--space-2); } .site-footer span { display:block; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
@media (forced-colors:active) { .button,.badge,.account-menu { border:1px solid ButtonText; } }

/* Shared by topic rows, the member header and moderation navigation. */
.member-avatar { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; flex-shrink: 0; border-radius: 50%; }
a.member-avatar { min-width: 32px; min-height: 32px; }
.member-avatar img { display:block; max-width:100%; border-radius:50%; object-fit:cover; aspect-ratio:1; }
.member-avatar--small img { width:32px; height:32px; }
.member-avatar--medium img { width:48px; height:48px; }
.member-avatar--large img { width:72px; height:72px; }
.member-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .5rem 0; list-style: none; }
.member-tag { display:inline-flex; align-items:center; gap:.3rem; padding:0; border:0; color:var(--muted); background:transparent; font-size:.8125rem; overflow-wrap:anywhere; }
.member-tag::before { content:""; width:8px; height:8px; flex:none; border-radius:1px; background:var(--brand); }
.header-inbox { display:flex; align-items:center; flex-wrap:nowrap; gap:.65rem; flex-shrink:0; }
.header-inbox a { display:inline-flex; align-items:center; gap:.25rem; min-height:44px; font-size:.8125rem; white-space:nowrap; text-decoration:none; }
.inbox-count { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-width:1.25rem; padding:0 .3rem; border-radius:3px; color:var(--on-brand); background:var(--school-red,var(--brand)); font-size:.75rem; font-variant-numeric:tabular-nums; }
.inbox-tabs { display:flex; flex-wrap:wrap; gap:0 1.25rem; margin:0 0 1.25rem; border-bottom:1px solid var(--line); }
.inbox-tabs a { display:inline-flex; align-items:center; justify-content:center; gap:.3rem; min-height:36px; padding:.25rem 0; border-bottom:2px solid transparent; margin-bottom:-1px; color:var(--muted); font-size:.875rem; text-decoration:none; }
.inbox-tabs a:hover { color:var(--brand-strong); }
.inbox-tabs a[aria-current] { border-bottom-color:var(--brand); color:var(--brand); font-weight:500; }
.action-icon { display:block; width:20px; height:20px; flex-shrink:0; }
@media (max-width:36rem) {
 .inbox-tabs { gap:0 .9rem; }
 .inbox-tabs a { padding:.35rem 0; white-space:nowrap; }
}
@media (pointer:coarse) { .inbox-tabs a { min-height:44px; } }
@media (forced-colors:active) { .inbox-count { border:1px solid ButtonText; } }
