/* Aerodynamics Community: UI prototype.
   Direction: text first, with small 2D duotone icons that give each place a colour and a gesture.
   White reading surface, SRAC blue and Manrope, Chinese set with open tracking and generous leading.
   Motion answers people (hover, tab switch) plus one quiet moment on load. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --soft: #f4f5f7;
  --ink: #16191e;
  --ink-2: #5a6472;
  --line: #e6e8ec;
  --smoke: #c8ced6;
  --blue: #0071e3;
  --lift: #157a4b;
  --err: #b42318;
  --mark-bg: #16191e;
  /* one colour per place, used only on icons, tiles and chips */
  --cat-qa: #0071e3;
  --cat-sim: #0b8576;
  --cat-proj: #c2620b;
  --cat-srac: #16191e;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: clamp(18px, 5vw, 48px);
  --max: 1080px;
  --read: 720px;
  /* Chinese wants open tracking and taller lines; Latin can sit tighter */
  --track: 0em;
  --lh: 1.8;
  --lh-head: 1.22;
  color-scheme: light;
}
:root:lang(en) { --track: -0.028em; --lh: 1.62; --lh-head: 1.06; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1217;
    --soft: #181c23;
    --ink: #eef1f5;
    --ink-2: #9ba6b4;
    --line: #262c35;
    --smoke: #3b4451;
    --blue: #3d94ff;
    --lift: #45b77e;
    --err: #ff7b72;
    --mark-bg: #242b36;
    --cat-qa: #4b9dff;
    --cat-sim: #2fb6a5;
    --cat-proj: #ec9a45;
    --cat-srac: #e9edf2;
    color-scheme: dark;
  }
}
.c-qa { --c: var(--cat-qa); }
.c-sim { --c: var(--cat-sim); }
.c-proj { --c: var(--cat-proj); }
.c-srac { --c: var(--cat-srac); }
[class*="c-"] { --c-soft: color-mix(in srgb, var(--c) 9%, var(--bg)); --c-soft-2: color-mix(in srgb, var(--c) 15%, var(--bg)); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/var(--lh) var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2 { margin: 0; font-weight: 750; line-height: var(--lh-head); letter-spacing: var(--track); }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.col { max-width: calc(820px + 2 * var(--gutter)); }
.read { max-width: calc(var(--read) + 2 * var(--gutter)); }
.ic { width: 20px; height: 20px; flex: none; }
.muted, .hint { color: var(--ink-2); }
.hint { font-size: 14px; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 650 15px/1 var(--font); cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background-color .15s, border-color .15s; }
.btn--primary { background: #0071e3; color: #fff; }
.btn--primary:hover { background: #0062c4; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--smoke); }
.btn--quiet:hover { border-color: var(--ink-2); }
.btn--block { width: 100%; min-height: 48px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.iconbtn:hover { background: var(--soft); }
.linkbtn, .quietbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.quietbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; color: var(--ink-2); font-size: 14px; }
.quietbtn:hover { background: var(--soft); color: var(--ink); }
.quietbtn .ic { width: 17px; height: 17px; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--smoke); border-radius: 12px; }
input, textarea { width: 100%; padding: 11px 14px; }
textarea { resize: vertical; line-height: 1.7; }
select { min-height: 40px; padding: 0 12px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); }

/* header */
.hdr { border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 16.5px; letter-spacing: var(--track); text-decoration: none !important; }
.brand__mark { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; }
.brand__mark svg { width: 32px; height: 32px; }
.brand__mark--lg, .brand__mark--lg svg { width: 52px; height: 52px; }
.brand__mark--lg { align-self: center; }
.hdr__right { display: flex; align-items: center; gap: 8px; }
.av { display: inline-grid; place-items: center; border-radius: 50%; background: var(--av); color: #fff; font-weight: 700; text-decoration: none !important; flex: none; }
.av--sm { width: 32px; height: 32px; font-size: 13px; }
.av--lg { width: 76px; height: 76px; font-size: 30px; }

/* icons: duotone strokes; .anim draws itself in once */
.df { fill: currentColor; stroke: none; opacity: .2; }
.m-plot { stroke-dasharray: 1; }
.anim path:not(.df) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s cubic-bezier(.3, .6, .2, 1) forwards; }
.anim .df { animation: fillin .5s .6s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { from { opacity: 0; } }
svg g { transform-box: fill-box; transform-origin: center; }
@keyframes tilt { 25% { transform: rotate(-9deg); } 60% { transform: rotate(5deg); } 100% { transform: rotate(0); } }
@keyframes flow { 50% { transform: translateX(3px); } }
@keyframes hop { 40% { transform: translateY(-3px); } 100% { transform: translateY(0); } }
@keyframes redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
:is(.door, .row, .chip):is(:hover, :focus-within) .m-tilt { animation: tilt .6s ease-in-out; }
:is(.door, .row, .chip):is(:hover, :focus-within) .m-flow { animation: flow 1.1s ease-in-out infinite; }
:is(.door, .row, .chip):is(:hover, :focus-within) .m-hop { animation: hop .6s ease-out; }
:is(.door, .row, .chip):is(:hover, :focus-within) .m-plot { animation: redraw .8s ease-out; }
.tile { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--c-soft-2); color: var(--c); flex: none; }
.tile__ic { width: 25px; height: 25px; }
.tile--lg { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px; }
.tile--lg .tile__ic { width: 34px; height: 34px; }

/* hero: centred type, the SRAC speed lines draw in once, the search box suggests questions */
.hero { padding: clamp(52px, 9vw, 104px) 0 clamp(44px, 6vw, 72px); }
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.flowmark { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; width: 72px; margin-bottom: 26px; }
.flowmark i { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, transparent, #0071e3); transform-origin: right; animation: streak 1s cubic-bezier(.2, .7, .2, 1) both; }
.flowmark i:nth-child(1) { width: 72px; }
.flowmark i:nth-child(2) { width: 50px; animation-delay: .12s; }
.flowmark i:nth-child(3) { width: 28px; animation-delay: .24s; opacity: .55; }
@keyframes streak { from { transform: scaleX(0); opacity: 0; } }
/* hero art: srac.site's side-view drawing with its streamlines, baked to 2D (same as the theme) */
.hero:has(.hero-art) { padding-top: clamp(24px, 4vw, 52px); }
.hero-art { display: block; width: min(700px, 100%); height: auto; margin: 0 0 clamp(10px, 2.6vw, 26px); overflow: visible; color: var(--ink); }
.hero-art path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
/* the pen: the car is inked left to right, then the air is drawn underfloor first, bottom to top */
.hero-art__car { stroke: currentColor; stroke-width: 1px; clip-path: inset(0 100% 0 0); animation: pen 1.8s cubic-bezier(.45, .05, .25, 1) .1s forwards; }
@keyframes pen { to { clip-path: inset(0 0 0 0); } }
.hero-art__ground { stroke: currentColor; stroke-width: 1px; opacity: .25; }
.hero-art__line { stroke-width: 1.5px; opacity: .8; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.4, .1, .2, 1) forwards; animation-delay: calc(.5s + var(--n) * .1s); }
/* slow ticks travel downstream once the lines are in, like the site */
.hero-art__tick { stroke-width: 2.8px; stroke-dasharray: .012 .099; opacity: 0; animation: ticks 3s linear infinite, tickin .8s forwards; animation-delay: calc(var(--n) * -.43s), calc(2.1s + var(--n) * .08s); }
@keyframes ticks { to { stroke-dashoffset: -.111; } }
@keyframes tickin { to { opacity: .95; } }
.hero.is-idle .hero-art * { animation-play-state: paused; }
.hero__h { font-size: clamp(40px, 6.6vw, 76px); font-weight: 800; }
.lead { margin-top: 20px; max-width: 32em; color: var(--ink-2); font-size: clamp(16.5px, 1.7vw, 19px); text-wrap: balance; }
.searchbox { position: relative; width: min(580px, 100%); margin-top: 34px; }
.searchbox > .ic { position: absolute; left: 20px; top: 18px; color: var(--ink-2); }
.searchbox input { min-height: 58px; padding-left: 52px; border-radius: 999px; font-size: 16.5px; background: var(--soft); border-color: transparent; transition: background-color .2s, border-color .2s; }
.searchbox input:focus { background: var(--bg); }
.searchbox input::placeholder { color: var(--ink-2); opacity: .85; }
.searchbox--page { width: auto; margin-top: 20px; }

/* three ways in */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.door { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 26px; border-radius: 22px; background: var(--c-soft); color: var(--ink); text-decoration: none !important; transition: background-color .2s, transform .2s; }
.door:hover { background: var(--c-soft-2); transform: translateY(-2px); }
.door__ic { width: 46px; height: 46px; color: var(--c); margin-bottom: 14px; }
.door b { font-size: 19px; font-weight: 750; letter-spacing: var(--track); }
.door span { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.door:nth-child(2) .anim path:not(.df) { animation-delay: .15s; }
.door:nth-child(3) .anim path:not(.df) { animation-delay: .3s; }
.door:nth-child(2) .anim .df { animation-delay: .75s; }
.door:nth-child(3) .anim .df { animation-delay: .9s; }

/* recent discussions */
.feed { padding-top: clamp(52px, 7vw, 80px); padding-bottom: 88px; }
.feed__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.feed__head h2 { font-size: 24px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--soft); }
.seg::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 2); border-radius: 999px; background: var(--bg); box-shadow: 0 1px 3px rgba(22, 25, 30, .1), 0 0 0 1px var(--line); transition: transform .32s cubic-bezier(.3, .7, .2, 1); }
.seg[data-active="open"]::before { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; min-width: 88px; min-height: 36px; padding: 0 16px; border: 0; background: none; border-radius: 999px; font: 600 14.5px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: color .2s; }
.seg [aria-pressed="true"] { color: var(--ink); }
.list { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 14px; margin: 0 -14px; border-radius: 16px; transition: background-color .15s; }
.row:hover { background: var(--soft); }
.row .tile { margin-top: 2px; }
.row__title { color: var(--ink); font-weight: 650; font-size: 17.5px; line-height: 1.5; letter-spacing: var(--track); }
.row__title::after { content: ''; position: absolute; inset: 0; }
.row { position: relative; }
.row__title:hover { text-decoration: none; }
.row:hover .row__title { color: var(--blue); }
.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.row__meta a { position: relative; z-index: 1; color: var(--ink-2); }
.row__ex { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.ok { display: inline-flex; align-items: center; gap: 4px; color: var(--lift); font-weight: 650; }
.ok .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.swap .row { animation: rowin .3s ease-out both; }
@keyframes rowin { from { opacity: 0; transform: translateY(4px); } }
.empty { padding: 44px 0; text-align: center; color: var(--ink-2); }
.cats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.cats > span { width: 100%; font-size: 14px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 10px; border-radius: 999px; background: var(--c-soft); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none !important; transition: background-color .15s; }
.chip:hover { background: var(--c-soft-2); }
.chip__ic { width: 22px; height: 22px; color: var(--c); }

/* category */
.crumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 32px; font-size: 14px; color: var(--ink-2); }
.crumb > a:not(.chip) { color: var(--ink-2); }
.crumb .chip { min-height: 34px; font-size: 14px; }
.crumb__sub::before { content: '/'; margin-right: 10px; color: var(--smoke); }
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 18px 0 30px; }
.pagehead > div { flex: 1 1 420px; }
.pagehead h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; }
.lead--sm { font-size: 16.5px; margin-top: 10px; text-align: left; }
.locked { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; }
.locked .ic { width: 16px; height: 16px; }
.subnav { display: flex; gap: 6px; margin: 0 0 22px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 7px 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none !important; }
.subnav a:hover { background: var(--soft); color: var(--ink); }
.subnav a[aria-current] { background: var(--ink); color: var(--bg); }
.note { margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; background: var(--soft); font-size: 14.5px; color: var(--ink-2); }

/* topic */
.title { font-size: clamp(28px, 4.4vw, 38px); font-weight: 800; margin: 16px 0 12px; text-wrap: balance; }
main > .title:first-child { margin-top: 40px; }
.answer { position: relative; display: grid; gap: 4px; margin: 28px 0 8px; padding: 18px 22px 20px 70px; border-radius: 18px; background: color-mix(in srgb, var(--lift) 8%, var(--bg)); color: var(--ink); text-decoration: none !important; }
.answer--official { background: var(--soft); }
.answer::before, .answer::after { content: ''; position: absolute; left: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--lift)); }
.answer::before { top: 28px; width: 32px; }
.answer::after { top: 36px; left: 34px; width: 20px; }
.answer--official::before, .answer--official::after { background: linear-gradient(90deg, transparent, var(--ink)); }
.answer__k { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 750; color: var(--lift); }
.answer--official .answer__k { color: var(--ink); }
.answer__k .ic { display: none; }
.answer__m { font-size: 13px; color: var(--ink-2); }
.answer__t { font-size: 15.5px; line-height: 1.75; }
.answer__go { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--blue); font-weight: 650; }
.answer__go .ic { width: 16px; height: 16px; transition: transform .2s; }
.answer:hover .answer__go .ic { transform: translateX(3px); }
.thread { margin-top: 20px; }
.post { padding: 24px 0 12px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.post:target .post__user { color: var(--blue); }
.post__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.post__user { color: var(--ink); font-weight: 700; }
.post__time { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.flair { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 650; background: var(--soft); color: var(--ink-2); }
.flair--official { background: var(--ink); color: var(--bg); }
.tagline { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 13.5px; font-weight: 700; }
.tagline .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.tagline--ok { color: var(--lift); }
.tagline--official { color: var(--ink); }
.post__foot { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: var(--soft); color: var(--ink); }
.menu__pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 10; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(22, 25, 30, .14); animation: pop .16s ease-out; transform-origin: bottom right; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.menu__pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: 15px/1.3 var(--font); cursor: pointer; }
.menu__pop button:hover { background: var(--soft); }
.replyform { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; margin: 32px 0 88px; }
.replyguest { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 32px 0 88px; padding: 18px 22px; border-radius: 18px; background: var(--soft); color: var(--ink-2); }

/* rendered post content */
.prose { margin-top: 10px; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 12px; }
.prose ol, .prose ul { padding-left: 1.4em; margin-bottom: 0; }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
.prose blockquote { margin: 12px 0 0; padding: 2px 16px; border-left: 3px solid var(--line); color: var(--ink-2); }
.prose blockquote cite { display: block; font-size: 13px; font-style: normal; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 7px 20px 7px 0; text-align: left; white-space: nowrap; }
.prose th { font-weight: 650; border-bottom-color: var(--smoke); }
.prose .tpl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 16px 18px; border-radius: 14px; background: var(--soft); font-size: 15.5px; }
.prose .tpl dt { color: var(--ink-2); font-weight: 650; }
.prose .tpl dd { margin: 0; }
.plot { margin: 14px 0 0; }
.plot figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.plotsvg { display: block; width: 100%; height: auto; font-family: var(--font); background: var(--soft); border-radius: 14px; }
.plot__grid line { stroke: var(--line); }
.plot__grid text { fill: var(--ink-2); font-size: 11px; }
.plot__lab { fill: var(--ink-2); font-size: 12px; }
.plot__line { fill: none; stroke: var(--blue); stroke-width: 2; }
.plot__win { fill: color-mix(in srgb, var(--blue) 10%, transparent); }
.plot__winl { fill: var(--blue); font-size: 11.5px; font-weight: 650; }

/* compose */
.compose { display: flex; flex-direction: column; gap: 26px; margin: 24px 0 88px; }
.step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step legend { font-weight: 750; font-size: 18px; margin-bottom: 12px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice__in { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 18px 20px; border-radius: 18px; background: var(--c-soft); border: 1.5px solid transparent; cursor: pointer; font-size: 16.5px; transition: border-color .15s, background-color .15s; }
.choice__in .door__ic { width: 36px; height: 36px; margin: 0; }
.choice__in:hover { background: var(--c-soft-2); }
.choice input:checked + .choice__in { border-color: var(--c); background: var(--c-soft-2); }
.choice input:focus-visible + .choice__in { outline: 2px solid var(--blue); outline-offset: 3px; }
.sub { display: none; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--soft); font-size: 15px; }
.compose[data-type="ask"] .sub--ask, .compose[data-type="srac"] .sub--srac { display: flex; }
.sub__l { flex-basis: 100%; font-size: 13.5px; color: var(--ink-2); }
.radio { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: #0071e3; }
.radio--off { color: var(--ink-2); cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-weight: 700; font-size: 15px; }
.more summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--blue); cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary .ic { width: 17px; height: 17px; transition: transform .2s; }
.more[open] summary .ic { transform: rotate(45deg); }
.more[open] summary { margin-bottom: 10px; }
.more--inline { margin-top: 10px; }
.more--inline summary { font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--smoke); background: var(--bg); color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; }
.tag[aria-pressed="true"] { background: #0071e3; border-color: #0071e3; color: #fff; }
.upload { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.err { font-size: 14px; color: var(--err); }
.actionsbar { display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }

/* search */
.count { margin: 26px 0 10px; color: var(--ink-2); font-size: 15px; }
mark { background: color-mix(in srgb, #ffd60a 50%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

/* auth */
.auth { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: clamp(40px, 8vw, 88px); padding-bottom: 88px; }
.authcard { width: min(420px, 100%); display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 36px); border-radius: 22px; background: var(--soft); }
.authcard h1 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.authlinks { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); }
.authlinks--c { justify-content: center; }
.authcard .more { display: flex; flex-direction: column; gap: 12px; }

/* profile */
.profile { display: flex; gap: 22px; align-items: center; padding: 44px 0 16px; }
.profile h1 { font-size: 30px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile p { margin-top: 4px; }
.sub-h { font-size: 19px; margin: 28px 0 10px; }

/* footer: dark band, like the SRAC hero */
.ftr { background: #16191e; color: #c9d0da; }
.ftr__in { display: flex; flex-direction: column; gap: 16px; padding-top: 34px; padding-bottom: 40px; font-size: 14px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.ftr__links a, .ftr__links .linkbtn { color: #ffffff; }
.ftr__proto { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: #8d98a8; font-size: 13px; }
.ftr__proto select { min-height: 32px; font-size: 13px; padding: 0 8px; border-radius: 8px; background: #232a35; color: #fff; border-color: #3a4452; }
.ftr a:focus-visible, .ftr button:focus-visible, .ftr select:focus-visible { outline-color: #8cc0ff; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; overflow-wrap: anywhere; }
.toast--on { opacity: 1; transform: translate(-50%, 0); }

/* narrower screens */
@media (max-width: 720px) {
  .doors { grid-template-columns: 1fr; gap: 10px; }
  .door { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px 20px; border-radius: 18px; }
  .door__ic { grid-row: span 2; width: 40px; height: 40px; margin: 2px 0 0; }
  .choices { grid-template-columns: 1fr; }
  .choice__in { flex-direction: row; align-items: center; padding: 14px 16px; }
  .row { gap: 14px; }
}
@media (max-width: 420px) {
  .brand__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim path:not(.df), .hero-art__line { stroke-dashoffset: 0; }
  .hero-art__car { clip-path: none; }
  .hero-art__ticks { display: none; }
}

.hdr__menu { flex: none; }
.hdr__in .brand { margin-right: auto; min-width: 0; }
.hdr__in .brand__mark { width: 40px; height: 40px; }
.hdr__in .brand__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr__menu .menu__pop { left: 0; right: auto; top: calc(100% + 6px); bottom: auto; }
.hdr__account { flex: none; }
.hdr__account .menu__pop { top: calc(100% + 6px); bottom: auto; transform-origin: top right; }
.hdr__nav { display: flex; gap: 2px; flex: none; }
.hdr__control {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  cursor: pointer; text-decoration: none !important;
}
.hdr__control:hover, .hdr__control:active { background: var(--soft); }
@media (max-width: 580px) { .hdr__in .brand__name { display: none; } }
.hdr__site { padding: 8px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
@media (max-width: 760px) { .hdr__site { display: none; } }
.menu__pop a { display: block; padding: 9px 12px; color: var(--ink); font-size: 15px; }
.menu__pop a:hover { background: var(--soft); border-radius: 9px; text-decoration: none; }
.brand__mark img { display: block; width: 100%; height: 100%; border-radius: 9px; }
.pager { margin: 20px 0; }
.signup-hint { line-height: 1.55; overflow-wrap: anywhere; }
.example-language { color: var(--blue); min-height: 36px; font-size: 14px; }
.login-identifier-help { margin-top: -10px; line-height: 1.45; }
.btn[data-pending] { cursor: wait; }
.btn--primary[data-pending] { background: #005fbe; }
.submit-spinner {
  width: 15px; height: 15px; flex: none; margin-inline-end: 3px;
  border: 2px solid rgb(255 255 255 / .4); border-inline-end-color: currentColor;
  border-radius: 50%; animation: submit-spin 700ms linear infinite;
}
@keyframes submit-spin { to { transform: rotate(360deg); } }
.forum-page { display: flow-root; }
.forum-loading-page body::after {
  content: ''; position: fixed; inset: 0; z-index: 25;
  pointer-events: none; background: rgb(0 0 0 / .065);
}
::view-transition-group(root) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-old(root) { animation: forum-hold .56s both; }
::view-transition-new(root) { animation: none; transform-origin: top left; }
@keyframes forum-hold { from, to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  [data-motion-pending]:not(:focus-within):not(:target) { opacity: 0; }
}
@media (max-width: 440px) {
  .hdr__in { gap: 6px; }
  .brand { gap: 6px; font-size: 14px; }
  .hdr__right { gap: 3px; }
  .hdr__right .btn { padding-inline: 8px; }
  .hdr__right .iconbtn { display: none; }
}
@media (max-width: 360px) {
  .hdr__in { padding-inline: 10px; gap: 4px; }
}
[data-two-factor][hidden] {
  display: none;
}
