:root {
  color-scheme: light;
  --page:#f6efdf; --paper:#fffcf5; --ink:#172b4d; --muted:#46546a; --line:#ddd1be;
  --accent:#1d3c66; --lavender:#e2edf8; --peach:#f9e2d5; --green:#d5e8f7; --amber:#faead1;
  --orange:#c54e27; --sky:#accdee; --navy:#172b4d;
  --soft:#efe3ce; --shadow:0 16px 34px #402d1717; --focus:#a23b1b;
  font-family:"Instrument Sans","Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; background:var(--page); color:var(--ink); line-height:1.48; }
button,input,textarea,select { font:inherit; color:inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.65; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
img { display:block; max-width:100%; }
h1,h2,h3,p { margin:0; }
svg { width:20px; height:20px; flex-shrink:0; }
.skip { position:fixed; z-index:10; top:-50px; left:12px; padding:8px 12px; background:var(--paper); }
.skip:focus { top:10px; }
.shell { min-height:100vh; display:grid; grid-template-columns:228px minmax(0,1fr); }
.sidebar { position:sticky; top:0; height:100dvh; overflow-y:auto; display:flex; flex-direction:column; background:var(--paper); border-right:1px solid var(--line); padding:24px 16px 15px; }
.brand { display:flex; align-items:center; gap:9px; width:max-content; margin:0 0 39px 7px; font-size:19px; font-weight:820; letter-spacing:-.025em; }
.nav { display:grid; gap:5px; }
.nav a { display:flex; gap:11px; align-items:center; min-height:44px; padding:8px 12px; color:var(--muted); border-radius:9px; font-size:14px; font-weight:630; }
.nav a:hover,.nav a[aria-current="page"] { background:var(--lavender); color:var(--accent); }
.nav a[aria-current="page"] { font-weight:750; }
.compact-nav { min-width:0; }
.compact-nav summary { display:flex; align-items:center; justify-content:space-between; gap:6px; min-height:44px; padding:8px 12px; list-style:none; border-radius:9px; color:var(--muted); font-size:14px; font-weight:700; cursor:pointer; }
.compact-nav summary::-webkit-details-marker { display:none; }
.compact-nav summary::after { content:""; width:6px; height:6px; border:solid currentColor; border-width:0 1px 1px 0; transform:rotate(45deg); }
.compact-nav summary:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.compact-nav[open] summary,.compact-nav:has([aria-current="page"]) summary { color:var(--accent); background:var(--lavender); }
.compact-nav > div { margin-top:4px; padding:4px; }
.compact-nav > div a { padding-inline:8px; }
.sidebar-footer { margin-top:auto; padding-top:18px; }
.environment { display:flex; align-items:center; gap:8px; margin:0 7px 15px; color:var(--muted); font-size:11px; font-weight:700; }
.environment span { width:7px; height:7px; background:#748863; border-radius:50%; }
.profile-button { width:100%; display:flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:10px; background:var(--page); padding:8px; text-align:left; font-weight:690; font-size:13px; }
.profile-button > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.topbar { min-height:73px; display:flex; align-items:center; gap:13px; padding:11px 30px; border-bottom:1px solid var(--line); background:var(--paper); }
.topbar-label { margin-right:auto; overflow-wrap:anywhere; font-weight:735; font-size:14px; }
.search { display:flex; gap:8px; align-items:center; background:var(--page); border:1px solid var(--line); border-radius:9px; padding:0 10px; min-width:0; }
.search span { display:flex; color:var(--muted); }
.search svg { width:16px; height:16px; }
.search input { background:none; padding:9px 0; border:0; width:min(17vw,200px); min-width:0; font-size:13px; }
.search:focus-within { outline:2px solid var(--focus); outline-offset:2px; }
.search input:focus { outline:none; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:39px; padding:8px 12px; border:1px solid var(--line); border-radius:9px; background:var(--paper); font-size:13px; font-weight:730; text-align:center; }
.button:hover { border-color:#7f9cc0; }
.button.primary { color:white; border-color:#172b4d; background:#172b4d; }
.button.primary:hover { background:#284d7b; }
.button svg,.detail-meta svg { width:16px; height:16px; }
.button.ghost { background:none; }
.button.danger { color:#922b34; }
#content { max-width:1330px; margin:0 auto; padding:33px 34px 52px; }
.hero {
  position:relative; isolation:isolate; overflow:clip; display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(270px,.92fr); align-items:center;
  gap:clamp(20px,4vw,56px); min-height:390px; padding:clamp(25px,4vw,57px);
  border:1px solid #e0cbb1; border-radius:18px; color:var(--ink);
  background:#fff6e6;
  box-shadow:0 22px 48px -37px #493018;
}
.hero-geometry { position:absolute; z-index:-1; inset:0; pointer-events:none; }
.hero-geometry i { position:absolute; display:block; }
.hero-geometry i:nth-child(1) { width:clamp(110px,24vw,320px); aspect-ratio:1; background:var(--orange); right:-7%; top:-27%; border-radius:50%; }
.hero-geometry i:nth-child(2) { width:clamp(90px,17vw,215px); aspect-ratio:1; background:var(--sky); right:-5%; bottom:-18%; border-radius:50%; }
.hero-geometry i:nth-child(3) { width:clamp(60px,11vw,145px); height:23px; right:15%; bottom:0; background:var(--navy); }
.hero-heading { align-self:center; }
.hero-heading::before {
  content:""; display:block; width:43px; height:4px; margin-block-end:19px;
  background:var(--orange);
}
.hero h1 {
  font-weight:740; font-size:clamp(42px,5.6vw,82px); line-height:1.08;
  letter-spacing:-.038em; word-spacing:.039em; text-wrap:balance;
}
.hero h1 span { display:block; }
.hero-tagline { margin-top:clamp(14px,2vw,24px); max-width:40ch; }
.hero-options { display:grid; gap:9px; min-width:0; }
.intent {
  display:grid; grid-template-columns:36px minmax(0,1fr) 18px; align-items:center; gap:12px;
  min-height:55px; padding:9px 12px 9px 9px; border:1px solid #e0cfb9; border-radius:10px;
  text-align:left; font-weight:655; font-size:15px; line-height:1.38;
  color:var(--navy); background:#fffcf5;
}
.intent:hover,.intent:focus-visible { background:#e7f1fb; border-color:#8aa9cc; }
.hero button:focus-visible { outline-color:var(--focus); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .intent { transition:background-color .17s ease,border-color .17s ease; }
  .intent-arrow { transition:transform .19s ease; }
  .intent:hover .intent-arrow { transform:translate(2px,-2px); }
}
.intent-icon,.avatar,.project-placeholder { display:grid; place-items:center; background:var(--tint,var(--lavender)); color:var(--tint-ink,var(--accent)); }
.intent-icon,.avatar { width:34px; height:34px; border-radius:9px; flex-shrink:0; }
.intent-icon svg { width:16px; height:16px; }
.intent-arrow { position:relative; width:15px; height:15px; color:var(--accent); }
.intent-arrow::before { content:""; position:absolute; inset:3px 3px auto auto; width:6px; height:6px; border:solid currentColor; border-width:1.5px 1.5px 0 0; }
.intent-arrow::after { content:""; position:absolute; top:7px; left:2px; width:11px; height:1.5px; background:currentColor; transform:rotate(-45deg); }
.avatar { font-size:12px; font-weight:800; }
.avatar svg { width:16px; height:16px; }
.fern { --tint:var(--green); --tint-ink:#264665; }
.plum { --tint:var(--lavender); --tint-ink:#233f6b; }
.indigo { --tint:#e4eafa; --tint-ink:#334875; }
.rust { --tint:var(--peach); --tint-ink:#794130; }
.amber { --tint:var(--amber); --tint-ink:#644d21; }
.section-head { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:12px; margin:36px 0 18px; }
.section-head h2,.page-title h1 { font-size:clamp(25px,4vw,42px); font-weight:820; line-height:1.18; letter-spacing:-.025em; word-spacing:.025em; overflow-wrap:anywhere; }
.section-head h2 { font-size:clamp(22px,3.2vw,30px); }
.page-title { margin:0 0 20px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.filters { display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px; }
.filter { min-height:36px; padding:6px 10px; border:1px solid var(--line); border-radius:999px; font-size:12px; font-weight:685; background:var(--paper); }
.filter:hover,.filter[aria-pressed="true"] { color:var(--accent); background:var(--lavender); border-color:#a4bfdc; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,max(262px,calc((100% - 32px) / 3))),1fr)); gap:16px; }
.card { background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden; min-width:0; box-shadow:0 2px 3px #382e5307; }
.card > a:hover h3 { color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
.cover { width:100%; aspect-ratio:1.85; object-fit:cover; background:var(--soft); }
.project-placeholder { aspect-ratio:1.85; }
.project-placeholder svg { width:45px; height:45px; opacity:.7; stroke-width:1; }
.card-content { display:grid; align-content:start; gap:8px; padding:13px 14px; }
.card h3,.list-item h3 { font-size:18px; font-weight:795; line-height:1.28; letter-spacing:-.018em; overflow-wrap:anywhere; }
.card p,.list-item p,.detail p { color:var(--muted); font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.project-ask { font-size:13px; font-weight:670; overflow-wrap:anywhere; }
.topic,.time { width:max-content; display:inline-flex; align-items:center; max-width:100%; border-radius:999px; font-size:11px; font-weight:770; }
.topic { padding:4px 8px; color:var(--tint-ink,var(--accent)); background:var(--tint,var(--lavender)); }
.time { color:var(--muted); gap:5px; }
.time svg { width:13px; height:13px; }
.card-foot { min-height:44px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding:4px 12px; }
.card-foot .meta { min-width:0; overflow-wrap:anywhere; }
.icon-button { background:none; border:0; color:var(--muted); min-width:36px; min-height:36px; display:inline-grid; place-items:center; padding:6px; border-radius:7px; flex-shrink:0; }
.icon-button:hover,.icon-button[aria-pressed="true"] { background:var(--lavender); color:var(--accent); }
.meta { font-size:12px; color:var(--muted); }
.inline { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.between { justify-content:space-between; }
.stack { display:grid; gap:11px; }
.list-item { display:grid; gap:8px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.list-item .inline h3 { margin-right:auto; }
.list-item a:not(.button):hover { text-decoration:underline; }
.member-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr)); gap:7px; }
.person-card,.profile-member-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; }
.person-card { min-height:58px; padding:6px 11px; overflow:visible; }
.person-card .button,.profile-member-head .button { min-height:44px; }
.ai-roster,.member-directory { margin-top:16px; }
.ai-roster > .section-head,.member-directory > .section-head { margin:16px 0 8px; }
.ai-roster > .section-head h2,.member-directory > .section-head h2 { font-size:20px; }
.ai-tag { display:inline-flex; align-items:center; justify-content:center; width:max-content; border:1px solid #9bb6d4; border-radius:999px; padding:4px 7px; background:#e6effa; color:#1d3c66; font-size:10px; font-weight:850; letter-spacing:.045em; }
.ai-badge { position:relative; display:inline-grid; place-items:center; min-width:26px; min-height:24px; padding:2px 5px; margin-left:3px; border:1px solid #9bb6d4; border-radius:999px; background:#e6effa; color:#1d3c66; font-size:10px; font-weight:900; vertical-align:middle; cursor:help; }
.ai-badge-tooltip { position:absolute; z-index:4; left:50%; top:calc(100% + 5px); transform:translateX(-50%); width:max-content; max-width:160px; padding:5px 7px; border-radius:6px; background:#172b4d; color:#fff; font-size:11px; font-weight:700; opacity:0; pointer-events:none; transition:opacity .12s ease; }
.ai-badge:hover .ai-badge-tooltip,.ai-badge:focus-visible .ai-badge-tooltip,.ai-badge[aria-expanded="true"] .ai-badge-tooltip { opacity:1; }
.ai-avatar { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border:1px solid var(--line); border-radius:9px; background:var(--tint,var(--lavender)); color:var(--tint-ink,var(--accent)); font-size:14px; font-weight:850; }
.ai-profile { max-width:900px; margin:0 auto; padding:clamp(12px,2vw,20px); gap:10px; }
.ai-profile-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ai-profile-grid section,.ai-test-prompt { display:grid; align-content:start; gap:7px; padding:14px; border:1px solid var(--line); border-radius:10px; background:#fffefa; }
.ai-profile-grid h3,.ai-test-prompt h3 { font-size:14px; }
.ai-profile-grid p,.ai-test-prompt p { color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.ai-test-prompt { background:#f2f6fb; border-color:#c9d7e6; }
.member-directory { margin-top:12px; }
.detail { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(240px,.9fr); gap:17px; align-items:start; }
.detail .card-content { padding:17px; }
.detail .cover,.detail .project-placeholder { aspect-ratio:2.05; }
.detail h2 { font-size:21px; letter-spacing:-.025em; }
.detail-meta { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:var(--muted); font-size:13px; }
.back { display:inline-flex; align-items:center; gap:5px; color:var(--accent); margin-bottom:12px; font-size:13px; font-weight:720; }
.back svg { width:16px; height:16px; }
.preserve { white-space:pre-wrap; }
.empty,.alert { background:var(--paper); color:var(--muted); border:1px dashed var(--line); padding:14px; border-radius:10px; font-size:14px; }
.alert { border-style:solid; background:#fff4e1; color:#704c1b; margin-bottom:15px; }
.task { width:100%; justify-content:flex-start; text-align:left; }
.task[aria-pressed="true"] { color:var(--muted); text-decoration:line-through; }
dialog { width:min(480px,calc(100% - 24px)); max-height:calc(100dvh - 26px); border:1px solid var(--line); border-radius:15px; background:var(--paper); color:var(--ink); padding:19px; box-shadow:0 30px 80px #241a4350; }
dialog::backdrop { background:#142c3492; }
dialog h2 { font-size:23px; letter-spacing:-.021em; }
.dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:9px; margin-bottom:12px; }
.fields { display:grid; gap:12px; }
.fields label { display:grid; gap:5px; min-width:0; font-size:13px; font-weight:720; }
.fields label.check { display:flex; gap:7px; align-items:start; }
.fields label.check input { margin:3px 0 0; }
.fields input:not([type="checkbox"]),.fields select,.fields textarea { width:100%; border:1px solid var(--line); border-radius:8px; background:var(--page); min-height:39px; padding:8px 9px; font-size:16px; font-weight:460; }
.fields textarea { resize:vertical; }
.form-error { color:#952e39; font-size:13px; }
.toast { z-index:5; position:fixed; right:15px; bottom:15px; background:#172b4d; color:white; box-shadow:var(--shadow); border-radius:9px; padding:10px 13px; max-width:calc(100vw - 30px); font-size:14px; }
@media(max-width:1060px) {
  .shell { grid-template-columns:190px minmax(0,1fr); }
  #content { padding-inline:23px; }
  .topbar { padding-inline:23px; }
}
@media(max-width:960px) {
  .hero { grid-template-columns:1fr; min-height:0; gap:22px; }
  .hero[data-art]::before { background-position:center; }
  .hero::after { background:linear-gradient(112deg,#0e1921f5 1%,#0e1921ba 54%,#0e192152 100%); }
  .hero h1 { font-size:clamp(40px,6.9vw,70px); }
}
@media(max-width:830px) {
  .shell { display:block; }
  .sidebar { position:relative; height:auto; overflow:visible; flex-direction:row; flex-wrap:wrap; align-items:center; padding:10px 15px 5px; border-right:0; border-bottom:1px solid var(--line); }
  .brand { margin:0 auto 5px 0; }
  .nav { order:2; width:100%; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; padding-bottom:4px; }
  .nav a { min-width:0; padding:8px 6px; font-size:14px; gap:6px; }
  .nav > a,.compact-nav summary { justify-content:center; text-align:center; }
  .nav a svg { width:16px; height:16px; }
  .compact-nav { position:relative; z-index:3; }
  .compact-nav > div { position:absolute; top:100%; right:0; width:min(220px,calc(100vw - 32px)); max-height:55dvh; overflow:auto; padding:6px; border:1px solid var(--line); border-radius:12px; background:var(--paper); box-shadow:var(--shadow); }
  .compact-nav > div a { padding-inline:12px; }
  .sidebar-footer { padding:0 0 5px; }
  .profile-button { padding:3px; border:0; background:none; }
  .profile-button > span:last-child { display:none; }
  .topbar { min-height:58px; padding:7px 15px; }
  .topbar-label { font-size:13px; }
  .search input { width:clamp(75px,25vw,180px); font-size:16px; }
  #content { padding:18px 15px 36px; }
}
@media(max-width:600px) {
  .hero { padding:22px 16px 17px; border-radius:18px; }
  .hero-geometry i:nth-child(1) { right:-53px; top:-55px; }
  .hero-geometry i:nth-child(2) { right:-17px; bottom:0; width:78px; }
  .hero-geometry i:nth-child(3) { right:75px; bottom:0; height:8px; }
  .hero-heading::before { margin-block-end:13px; }
  .hero h1 { font-size:clamp(34px,10.9vw,52px); }
  .hero-options { gap:7px; }
  .intent { gap:9px; grid-template-columns:32px minmax(0,1fr) 16px; font-size:14px; min-height:51px; padding:8px; }
  .intent-icon { width:32px; height:32px; }
  .detail { grid-template-columns:1fr; }
  .grid { grid-template-columns:1fr; gap:14px; }
  .nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .nav > a { padding-inline:4px; }
  .nav > a span { min-width:0; }
  .topbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding-block:10px; }
  .topbar .search { grid-column:1 / -1; grid-row:2; }
  .topbar .search input { width:100%; min-height:44px; }
  .top-new { min-height:44px; }
  .filter { min-height:44px; }
  #content { padding-bottom:calc(36px + env(safe-area-inset-bottom)); }
  .ai-profile-grid { grid-template-columns:1fr; }
  .ai-roster > .section-head { align-items:flex-start; }
  .card-content { padding:11px; }
  .section-head { margin-block:26px 13px; }
}
@media(max-width:420px) {
  .nav > a svg { display:none; }
  .top-new { white-space:nowrap; }
}
.project-placeholder { min-height:110px; }
.project-placeholder > span {
  font-size:clamp(38px,6vw,76px);
  font-weight:820;
  letter-spacing:-.055em;
  transform:rotate(-9deg);
}
.fields input[readonly] { color:var(--accent); font-family:ui-monospace,monospace; font-size:13px; }
@media(max-width:830px) { .profile-button { min-height:44px; min-width:44px; justify-content:center; } }

.work-nav { display:flex; flex-wrap:wrap; gap:7px; margin:0 0 20px; }
.work-nav a { display:inline-flex; align-items:center; min-height:40px; padding:8px 12px; border:1px solid var(--line); border-radius:9px; background:var(--paper); font-size:13px; font-weight:690; }
.work-nav a[aria-current="page"],.work-nav a:hover { color:var(--accent); border-color:#a4bfdc; background:var(--lavender); }
.work-filter { grid-template-columns:minmax(130px,2fr) minmax(125px,1fr) minmax(110px,1fr) auto; align-items:end; margin-bottom:16px; }
.work-filter label,.work-form-grid label { min-width:0; }
.work-form-grid { display:grid; gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.work-listing strong,.work-pay { color:var(--accent); overflow-wrap:anywhere; }
.work-pay { font-size:clamp(22px,4vw,34px); }
.work-service-note { margin-block:12px; }
.work-detail { align-content:start; }
@media(max-width:650px) {
  .work-filter { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .work-filter label:first-child { grid-column:1/-1; }
  .work-filter button { grid-column:1/-1; justify-self:start; }
  .work-nav a,.work-detail button,.work-listing a { min-height:44px; }
  .work-listing .between { align-items:start; flex-direction:column; }
}
@media(max-width:360px) {
  .work-filter,.work-form-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:650px) { .work-listing h3 a { display:inline-flex; align-items:center; } }

.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.settings-grid .list-item { min-width:0; }
.settings-list { list-style:none; width:100%; margin:0; padding:0; }
.settings-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.settings-list li > div,.settings-list .meta { min-width:0; overflow-wrap:anywhere; }
.settings-list button { flex-shrink:0; }
.activity-links { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.people-search { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:0 0 16px; }
.people-search label { display:grid; gap:6px; font-size:13px; font-weight:700; }
.people-search label.check { display:flex; align-items:center; min-height:39px; }
.people-search input[type=search] { border:1px solid var(--line); background:var(--paper); border-radius:9px; min-height:39px; padding:6px 9px; max-width:100%; }
.factor-field summary { padding:6px 0; color:var(--accent); font-size:13px; cursor:pointer; }
.intro-messages { max-height:36dvh; overflow:auto; margin-bottom:14px; }
@media(max-width:640px) { .settings-grid { grid-template-columns:1fr; } }

.startup-card { min-width:0; display:flex; flex-direction:column; }
.startup-card .card-content { flex:1; padding:18px 17px 16px; gap:12px; }
.startup-card .card-foot { padding:10px 14px; }
.project-card-actions { flex:0 1 auto; margin-left:auto; }
.project-card-actions :is(.button,.icon-button) { min-height:44px; }
.startup-card h3 a:hover,.startup-card-line a:hover { text-decoration:underline; text-underline-offset:3px; }
.startup-card-line { display:grid; gap:3px; min-width:0; border-top:1px solid var(--line); padding-top:9px; font-size:13px; overflow-wrap:anywhere; }
.startup-card-line strong { color:var(--muted); font-size:11px; }
.startup-card-line a { color:var(--accent); font-weight:700; }
.startup-filter-more { margin:0 0 16px; }
.startup-filter-more summary { color:var(--accent); cursor:pointer; padding:5px 0; font-size:13px; font-weight:700; }
.startup-filter-more .filters { margin-top:7px; }
.builder-intents { display:flex; flex-wrap:wrap; gap:9px 15px; margin:0; border:1px solid var(--line); border-radius:8px; padding:8px 10px 10px; }
.builder-intents legend { font-size:13px; font-weight:700; }
.startup-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(136px,1fr)); gap:10px; }
.startup-metrics > div { background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:12px; }
.startup-metrics dt { color:var(--muted); font-size:13px; }
.startup-metrics dd { margin:4px 0 0; font-size:23px; font-weight:800; }
@media(min-width:1000px) {
  .work-filter { grid-template-columns:2fr repeat(3,minmax(110px,1fr)) auto; }
}

.participation { margin:0 0 20px; border-left:4px solid var(--orange); }
.hero:not([hidden]) + #route-content .participation { margin-top:20px; }
.participation h2 { font-size:20px; }
.member-cohort.founding { background:#f9e2d5; color:#703015; }
.member-cohort.early { background:#d5e8f7; color:#1d3c66; }
.member-cohort.community { background:#faead1; color:#58401b; }
.invite-source-table { width:100%; border-collapse:collapse; background:var(--paper); font-size:13px; }
.invite-source-table caption { text-align:left; padding:12px 0 7px; font-weight:730; }
.invite-source-table th,.invite-source-table td { padding:9px; text-align:left; border-bottom:1px solid var(--line); }

.membership-notice { margin:0 0 20px; border-left:4px solid var(--orange); }
.hero:not([hidden]) + #route-content .membership-notice { margin-top:20px; }

.build-settings { margin-block:10px; }
.build-settings summary { cursor:pointer; font-weight:760; min-height:24px; }
.build-settings > :not(summary) { margin-top:10px; }
.build-connection,.build-feed li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 18px; min-width:0; }
.build-feed,.build-badges { list-style:none; margin:0; padding:0; }
.build-feed { padding:14px 16px; }
.build-feed li + li { border-top:1px solid var(--line); padding-top:9px; }
.build-feed li > span,.build-badge > span:first-child { display:grid; gap:2px; min-width:0; }
.build-badges { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr)); gap:9px; }
.build-badge { display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center; justify-content:space-between; padding:11px 13px; background:var(--paper); border:1px solid var(--line); border-radius:11px; }
.build-badge-earned { background:#eaf1fa; border-color:#c4d4e9; }
.build-badge-status { color:#204a77; font-weight:740; font-size:12px; }
.build-dialog-actions { margin-top:14px; }

.forum-context { margin:0 0 16px; }
.forum-topics { max-width:850px; gap:14px; }
.forum-topic { list-style:none; margin:0; display:block; padding:0; }
.forum-post { display:grid; gap:8px; padding:16px; min-width:0; scroll-margin-top:16px; }
.forum-post + .forum-post { margin-inline-start:clamp(10px, 4vw, 28px); border-top:1px solid var(--line); border-inline-start:2px solid #c4d4e9; }
.forum-post:focus-visible { outline-offset:-3px; }
.forum-post h2 { font-size:18px; overflow-wrap:anywhere; }
.forum-removed { color:var(--muted); font-size:13px; }
.forum-identity { display:flex; align-items:flex-start; gap:9px; min-width:0; }
.forum-identity .ai-avatar { display:grid; place-items:center; flex:0 0 30px; height:30px; margin-left:-17px; margin-top:17px; border:2px solid var(--paper); border-radius:8px; color:white; font-size:15px; background:linear-gradient(145deg,#5e77d8,#7956a8); box-shadow:0 2px 5px #36457a33; }.ai-member-badge { display:inline-grid; place-items:center; min-width:22px; height:18px; padding:0 5px; border:1px solid #aab5e4; border-radius:5px; color:#263d84; background:#e5eafe; font-size:10px; line-height:1; font-weight:900; letter-spacing:.04em; }.ai-role { color:#536078; font-size:11px; font-weight:650; }
.forum-identity .avatar { flex:none; }
.forum-identity-copy { display:grid; gap:5px; min-width:0; overflow-wrap:anywhere; }
.forum-identity-copy a:hover { text-decoration:underline; }
.profile-achievements { gap:6px; }

.forum-board { display:grid; gap:0; list-style:none; margin:0; padding:0 14px; max-width:850px; }
.forum-board li { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; padding:11px 0; min-width:0; }
.forum-board li + li { border-top:1px solid var(--line); }
.forum-board li > span:nth-child(2) { display:grid; min-width:0; overflow-wrap:anywhere; }
.forum-position { display:grid; place-items:center; min-width:2em; min-height:2em; border-radius:50%; background:var(--page); font-weight:740; }
.forum-board-note { margin-bottom:9px; }
.forum-feed-card { justify-items:start; }
/* Learn & Build — community-authored learning library */
.learn-welcome { margin-bottom:20px; padding:20px; gap:14px; }
.learn-welcome h2 { font-size:21px; }
.learn-paths { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:9px; }
.learn-path { border:1px solid var(--line); border-radius:10px; background:var(--page); padding:13px; display:grid; gap:4px; min-width:0; }
.learn-path:hover,.learn-path:focus-visible { border-color:var(--accent); background:var(--lavender); }
.learn-path span { font-weight:730; }
.learn-path strong { font-size:12px; font-weight:600; color:var(--muted); }
.learn-search { display:grid; grid-template-columns:minmax(180px,1.7fr) repeat(3,minmax(115px,1fr)); gap:10px; margin-bottom:16px; }
.learn-search label { display:grid; gap:5px; font-size:12px; font-weight:700; }
.learn-search input,.learn-search select { width:100%; min-width:0; padding:8px; background:var(--paper); border:1px solid var(--line); border-radius:8px; }
.learn-card { min-width:0; align-content:start; }
.learn-card > h3 { font-size:18px; overflow-wrap:anywhere; }
.learn-card > p { color:var(--muted); overflow-wrap:anywhere; }
.learn-article { max-width:920px; gap:15px; padding:clamp(18px,3vw,32px); }
.learn-summary { font-weight:630; font-size:18px; }
.learn-body { margin-top:7px; padding-top:20px; border-top:1px solid var(--line); line-height:1.75; font-size:15px; white-space:pre-wrap; overflow-wrap:anywhere; }
.learn-sources { max-width:920px; padding:18px 35px; background:var(--paper); border:1px solid var(--line); border-radius:12px; overflow-wrap:anywhere; }
.learn-sources a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.learn-disclaimer { margin:22px 0; max-width:920px; }
dialog textarea[name="content"] { min-height:240px; }
@media(max-width:870px){.learn-search { grid-template-columns:repeat(2,minmax(0,1fr)); }}
@media(max-width:480px){.learn-search { grid-template-columns:1fr; }.learn-welcome { padding:14px; }}

.learn-references { display:flex; flex-wrap:wrap; gap:9px; }.learn-reference { border:1px solid var(--line);background:var(--paper);padding:10px 13px;border-radius:9px;color:var(--accent);font-size:13px;font-weight:690;}.learn-reference:hover { border-color:var(--accent); }
.member-strip { display:flex; align-items:center; min-width:0; flex:1 1 13rem; gap:8px; }
.member-strip-body { display:grid; min-width:0; gap:3px; }
.member-strip-identity,.member-strip-progress { display:flex; align-items:center; flex-wrap:wrap; gap:2px 8px; min-width:0; }
.member-strip-name,.member-strip-summary,.member-strip-badge { overflow-wrap:anywhere; }
.member-strip-name { color:var(--ink); font-weight:800; }
.member-strip-name a:hover { text-decoration:underline; text-underline-offset:3px; }
.member-strip-summary { min-width:0; flex:0 1 auto; }
.member-strip-badge { color:var(--accent); background:var(--lavender); border-radius:6px; padding:1px 5px; font-size:11px; font-weight:700; }
.xp-strip { display:inline-flex; align-items:center; flex-wrap:wrap; gap:4px 5px; }
.xp-level,.xp-count { color:var(--muted); font-size:11px; font-weight:750; white-space:nowrap; }
.xp-count { font-variant-numeric:tabular-nums; }
.xp-track { width:46px; height:7px; accent-color:var(--accent); vertical-align:middle; }
.profile-hero { background:linear-gradient(135deg,#fffdf8,#f4efe4 58%,#e8eef2); }
.profile-hero .member-strip-name { font-size:clamp(22px,3vw,32px); line-height:1.12; }
.profile-badges summary { max-width:max-content; color:var(--accent); cursor:pointer; }
.profile-sections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0 8px; }
.profile-section { min-width:0; padding:15px; border:1px solid var(--line); border-radius:13px; background:color-mix(in srgb,var(--paper) 88%,white); }
.profile-section .section-head { margin:0 0 10px; }.profile-section h3 { font-size:14px; }.profile-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }.profile-stats div { display:grid; gap:2px; }.profile-stats strong { font-size:20px; }.profile-stats span,.mini-projects span { color:var(--muted); font-size:12px; }.mini-projects { display:grid; gap:7px; }.mini-projects a { display:grid; gap:1px; padding:8px; border-radius:8px; background:var(--lavender); }.mini-projects a:hover { outline:2px solid var(--sky); }
@media(max-width:700px) { .profile-sections { grid-template-columns:1fr; } .profile-section { padding:13px; } }
.award-row { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:7px 0 4px; }
.badge-family { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin:7px 0 3px; }.badge-family-label { color:var(--muted); font-size:10px; font-weight:820; text-transform:uppercase; letter-spacing:.06em; min-width:72px; }.role-family { padding:5px 7px; border:1px dashed #b8c4d2; border-radius:9px; background:#f7fafc; }
.award { display:inline-flex; align-items:center; gap:5px; border:1px solid #d6c7aa; border-radius:99px; padding:4px 8px 4px 4px; font-size:11px; font-weight:780; background:#fff7e7; }
.graphic-award { position:relative; display:inline-grid; place-items:center; width:36px; min-width:36px; height:36px; padding:2px; border-radius:10px; color:#fff; background:linear-gradient(145deg,#e5a34e,#a85632); border:1px solid #ffffffb0; box-shadow:0 3px 8px #172b4830,inset 0 1px #ffffff88; transition:transform .18s ease,filter .18s ease,box-shadow .18s ease; cursor:help; }
.graphic-award:hover { transform:translateY(-2px) rotate(0deg); filter:saturate(1.12); }
.graphic-award svg { width:27px; height:27px; }.graphic-award .badge-icon-disc { fill:#081a30; stroke:#ffffffa8; stroke-width:1.5; }.graphic-award.fern { background:linear-gradient(145deg,#69a578,#23634f); }.graphic-award.indigo { background:linear-gradient(145deg,#728dc7,#273d77); }.graphic-award.amber { background:linear-gradient(145deg,#e8b85d,#ae5c2f); }.graphic-award.ember { background:linear-gradient(145deg,#e77955,#7a263c); }.graphic-award.plum { background:linear-gradient(145deg,#b982c7,#55316f); }.graphic-award.role { border-style:dashed; }.graphic-award.rare { box-shadow:0 0 0 1px #e7c56d,0 3px 8px #172b4830; }.graphic-award.epic { box-shadow:0 0 0 1px #c7a8ef,0 3px 8px #172b4830; }.graphic-award.legendary { box-shadow:0 0 0 2px #ffca6b,0 0 0 4px #ffca6b33,0 3px 9px #172b4840; }.graphic-award.earned { opacity:.95; }
.badge-tooltip { position:absolute; z-index:12; left:50%; bottom:calc(100% + 8px); transform:translate(-50%,4px); opacity:0; visibility:hidden; pointer-events:none; padding:6px 9px; border:1px solid #ffffff30; border-radius:7px; background:#10243d; color:white; box-shadow:0 5px 16px #10243d40; font-size:12px; font-weight:750; line-height:1.2; white-space:nowrap; transition:opacity .14s ease,transform .14s ease,visibility .14s; }.graphic-award:hover .badge-tooltip,.graphic-award:focus-visible .badge-tooltip { opacity:1; visibility:visible; transform:translate(-50%,0); }
.graphic-award:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.award-name { display:none; }
.award.fern { background:#e5f0e5; border-color:#aac9ae; }.award.indigo { background:#e8edf8; border-color:#b9c8e4; }.award.amber { background:#fff0cf; }

.feed-controls { margin:0 0 14px; }
.feed-controls .filters { margin:0; }
.feed-controls .button[aria-pressed="true"] { background:var(--lavender); border-color:#a4bfdc; }
.recommendation { padding-top:8px; border-top:1px solid var(--line); }

.feed-layout { display:grid; gap:18px; align-items:start; }
.feed-rail { min-width:0; }
.feed-project-filters { margin:0 0 14px; }
.feed-project-filters > summary { padding:8px 0; font-size:14px; font-weight:750; color:var(--accent); cursor:pointer; }
.feed-project-filters[open] > summary { margin-bottom:8px; }
.feed-quick-links { display:flex; flex-wrap:wrap; gap:6px; }
.mixed-feed-grid { display:grid; gap:8px; container-type:inline-size; }
.default-feed-row { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
@container (min-width:39rem) {
  .default-feed-row[data-pair="medium"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (min-width:52.5rem) {
  .default-feed-row[data-pair="wide"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.feed-post,.feed-post-project { --post-accent:#9cb3cb; --post-tint:#f5f8fc; --badge-tint:#e6eef7; --badge-ink:#294762; background:var(--post-tint); border-inline-start:3px solid var(--post-accent); }
.feed-post { display:grid; align-content:start; grid-template-rows:auto 1fr auto; gap:4px; padding:8px 10px 3px; }
.feed-post-heading { position:relative; display:grid; gap:4px; min-width:0; }
.feed-post-heading::after { content:""; position:absolute; inset-block-start:0; inset-inline-end:0; width:2.4rem; height:1rem; pointer-events:none; background:var(--post-motif); }
.feed-post-heading > .feed-post-meta { padding-inline-end:2.75rem; }
.feed-post-meta { display:flex; align-items:center; flex-wrap:wrap; min-width:0; gap:2px 8px; }
.feed-type-badge { display:inline-flex; width:max-content; max-width:100%; align-items:center; gap:4px; padding:2px 6px; border-radius:6px; background:var(--badge-tint); color:var(--badge-ink); font-size:11px; font-weight:800; }
.feed-type-badge svg { width:13px; height:13px; flex:none; }
.feed-post h3 { font-size:16px; }
.feed-post h3 a:hover { text-decoration:underline; text-underline-offset:3px; }
.feed-post-news { --post-accent:#d2916d; --post-tint:#fffbf6; --badge-tint:var(--peach); --badge-ink:#794130; --post-motif:repeating-linear-gradient(0deg,transparent 0 3px,#d2916d80 3px 4px); }
.feed-post-github { --post-accent:#7894b3; --post-tint:#f4f8fc; --badge-tint:#e2eaf4; --badge-ink:#263f5a; --post-motif:radial-gradient(circle,#7894b3 1px,transparent 1.5px) 0 0 / 6px 6px; }
.feed-post-guide { --post-accent:#c9a358; --post-tint:#fffdf4; --badge-tint:var(--amber); --badge-ink:#644d21; --post-motif:repeating-linear-gradient(90deg,#c9a35890 0 2px,transparent 2px 7px); }
.feed-post-discussion { --post-accent:#a396bf; --post-tint:#faf8fe; --badge-tint:#eee8f8; --badge-ink:#51426b; --post-motif:radial-gradient(ellipse at 35% 45%,#a396bf80 0 42%,transparent 45%) 0 0 / 15px 12px repeat-x; }
.feed-post-update { --post-accent:#699b99; --post-tint:#f4faf9; --badge-tint:#deeeeb; --badge-ink:#275c59; --post-motif:radial-gradient(circle,#699b99 2px,transparent 2.5px) 0 50% / 11px 11px repeat-x; }
.feed-post-group { --post-accent:#bf8ba6; --post-tint:#fdf8fb; --badge-tint:#f1e2eb; --badge-ink:#66425a; --post-motif:repeating-linear-gradient(135deg,transparent 0 5px,#bf8ba6a0 5px 7px); }
.feed-post-group-post { --post-accent:#ad79a3; --post-tint:#fdf7fc; --badge-tint:#f0e2ed; --badge-ink:#663e5c; --post-motif:radial-gradient(circle,#ad79a3 1px,transparent 1.5px) 0 0 / 7px 7px; }
.feed-post-comment { --post-accent:#aa8060; --post-tint:#fffaf1; --badge-tint:#f4e7d2; --badge-ink:#674729; --post-motif:repeating-linear-gradient(90deg,#aa806070 0 3px,transparent 3px 8px); }
[id^="group-post-"] { scroll-margin-top:4.25rem; }
.feed-post-project { --post-accent:#8ba998; --post-tint:#f7fbf7; --badge-tint:#e4efe6; --badge-ink:#345b48; }
.feed-post-project .card-content { position:relative; padding:10px 11px; gap:6px; }
.feed-post-project .card-content:not(.with-project-media) .project-card-copy > :is(.feed-post-meta,h3,p) { padding-inline-end:3rem; }
.feed-project-mark { position:absolute; inset-block-start:10px; inset-inline-end:11px; display:grid; place-items:center;
  width:2.5rem; height:2.5rem; border-radius:11px; color:var(--tint-ink,#345b48); font-size:14px; font-weight:850;
  background:radial-gradient(circle at 100% 100%,transparent 45%,#ffffffa0 46% 48%,transparent 49%),
    var(--tint,var(--badge-tint)); border:1px solid var(--post-accent); }
@container (min-width:39rem) {
  .feed-post-project .card-content:not(.with-project-media) .project-card-copy > :is(.feed-post-meta,h3,p) { padding-inline-end:4rem; }
  .feed-project-mark { width:3.5rem; height:3rem; font-size:17px; }
}
.feed-post-project .card-foot { padding:4px 10px; gap:5px 9px; }
.feed-post-project .card-foot .button { min-height:44px; }
.feed-post-foot { grid-row:3; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:end; align-self:end; gap:4px 8px; }
.feed-card-actions { display:flex; flex-wrap:wrap; gap:3px; align-items:center; }
.feed-card-actions .button { min-height:44px; padding-inline:7px; }
.feed-card-actions .button svg { width:14px; height:14px; }
.feed-title-button { border:0; padding:0; background:none; color:inherit; text-align:start; font:inherit; cursor:pointer; overflow-wrap:anywhere; }
.feed-title-button:hover { text-decoration:underline; text-underline-offset:3px; }
.feed-post[data-format="expanded"] { padding:12px; }
.feed-post[data-format="expanded"] h3 { font-size:18px; }
.feed-post[data-format="expanded"] .feed-post-excerpt { -webkit-line-clamp:4; }
.feed-thread,.feed-thread-list { display:grid; gap:9px; }
.feed-thread-comment { border:1px solid var(--line); border-radius:9px; padding:8px; display:grid; gap:3px; overflow-wrap:anywhere; }
.feed-thread-comment .feed-post-meta { justify-content:space-between; }
.feed-post-foot .meta { overflow-wrap:anywhere; }
.feed-source-link { display:inline-flex; align-items:center; min-height:32px; text-decoration:underline; text-underline-offset:2px; }
.feed-post .feed-post-excerpt,.feed-post .feed-post-summary { color:var(--muted); font-size:13px; line-height:1.35; overflow-wrap:anywhere; }
.feed-post-excerpt { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.feed-post-summary summary { cursor:pointer; }
.feed-post-summary[open] .feed-summary-ellipsis { display:none; }
.feed-post-summary[open] p { margin-block-start:3px; font-size:13px; }
.push-button { min-height:44px; gap:5px; padding-inline:8px; }
.push-button svg { transform:rotate(-34deg); }
@media(prefers-reduced-motion:no-preference) {
  .push-button { transition:background-color .14s ease,border-color .14s ease; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  :is(.feed-post,.feed-post-project) { transition:box-shadow .18s ease,border-color .18s ease; }
  :is(.feed-post,.feed-post-project):hover { box-shadow:0 3px 9px #253b5116; border-inline-start-color:var(--badge-ink); }
}
@media(prefers-reduced-motion:reduce) {
  .ai-badge-tooltip,.graphic-award,.badge-tooltip { transition:none; }
  .graphic-award:hover { transform:none; }
}
.push-button[aria-pressed="true"] { background:var(--lavender); border-color:#9bb6d4; color:var(--accent); }
.push-count { font-variant-numeric:tabular-nums; }
@media(min-width:1200px) {
  .feed-layout { grid-template-columns:minmax(0,1fr) minmax(205px,24%); }
  .feed-rail { grid-column:2; grid-row:1; border:1px solid var(--line); border-radius:14px; background:var(--paper); padding:14px; }
  @supports (backdrop-filter:blur(6px)) {
    .feed-rail { background:color-mix(in srgb,var(--paper) 92%,transparent); backdrop-filter:blur(6px); }
  }
  #mixed-feed { grid-column:1; grid-row:1; }
}

.feed-lab-panel { margin:0 0 12px; border:1px solid var(--line); padding:8px 10px; border-radius:10px; background:var(--paper); }
.feed-lab-panel summary { cursor:pointer; font-size:14px; font-weight:750; color:var(--accent); }
.feed-lab-panel[open] > :not(summary) { margin-top:9px; }
.feed-lab-panel .filters { margin-bottom:0; }
.feed-lab-panel .button[aria-pressed="true"] { background:var(--lavender); border-color:#a4bfdc; }
.feed-arrivals { display:flex; align-items:start; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.feed-arrivals > button { min-height:44px; }
.feed-fresh-shelf { flex:1 1 205px; padding:9px 12px; border:1px solid var(--line); background:var(--paper); border-radius:10px; color:var(--accent); }
.feed-fresh-shelf summary { cursor:pointer; font-size:13px; font-weight:750; }
.feed-fresh-shelf ul { margin:8px 0 0; padding-inline-start:19px; overflow-wrap:anywhere; }
.feed-composer { display:grid; gap:15px; container-type:inline-size; }
.feed-layout-row { display:grid; gap:10px; align-items:stretch; min-width:0; }
.feed-row-card { display:grid; min-width:0; }
.feed-row-card .startup-card { height:100%; }
.feed-row-label { margin:0 0 3px; color:var(--accent); font-weight:770; font-size:13px; grid-column:1 / -1; overflow-wrap:anywhere; }
.feed-layout-row[data-pattern="topic-cluster"] { padding:10px; background:var(--lavender); border:1px solid #c8d7e9; border-radius:12px; }
.feed-layout-row[data-pattern="topic-lanes"] { border-block-start:1px solid var(--line); padding-top:9px; }
.feed-layout-row[data-pattern="context-stack"] > .feed-row-card + .feed-row-card { border-block-start:2px solid var(--sky); padding-block-start:5px; }
.feed-layout-row[data-pattern="freshness-rail"] { padding-inline-start:11px; border-inline-start:2px solid #a4bfdc; }
.feed-layout-row[data-pattern="member-picks"] .push-button { border-color:#d1a38f; background:var(--peach); }
.feed-layout-row[data-pattern="open-call"] .startup-card { border-inline-start:4px solid var(--orange); }
.feed-layout-row[data-pattern="thread-stack"] .feed-post-foot .meta { font-weight:750; }
.feed-layout-row[data-pattern="source-pair"] { padding:8px; gap:7px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.feed-layout-row[data-pattern="source-pair"] .feed-post-news { background:#fff5ed; }
.feed-layout-row[data-pattern="source-pair"] .feed-post-github { background:#f4f8fd; }
.feed-layout-row[data-pattern="quick-reads"] .feed-post,.feed-layout-row[data-pattern="micro-grid"] .feed-post { padding:9px; gap:5px; }
.feed-layout-row[data-pattern="quick-reads"] .feed-post-excerpt,.feed-layout-row[data-pattern="micro-grid"] .feed-post-excerpt { -webkit-line-clamp:1; }
.feed-composer[data-density="compact"],.feed-composer[data-density="compact"] .feed-layout-row { gap:8px; }
.feed-composer[data-density="compact"] .feed-post { padding:10px; }
.feed-composer[data-density="comfortable"],.feed-composer[data-density="comfortable"] .feed-layout-row { gap:18px; }

@container (min-width:39rem) {
  .feed-layout-row[data-pair="medium"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feed-layout-row[data-pattern="build-diptych"] .startup-card .card-content.with-project-media { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); }
  .feed-layout-row[data-pattern="build-diptych"] .startup-card .feed-card-proof { grid-column:2; grid-row:1 / span 4; align-content:center; padding:12px; background:var(--lavender); border:0; border-radius:9px; }
}
@container (min-width:52.5rem) {
  .feed-layout-row[data-pair="wide"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feed-layout-row[data-size="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* Keep the next step close to the feed on every viewport. */
[hidden] { display: none !important; }
.hero#welcome-panel { min-height: 0; padding-block: clamp(1.05rem,3vw,2.4rem); }
.welcome-actions { position: relative; margin-top: .85rem; }
.community-banner, .participation-next { padding: .7rem .9rem; margin-block: .65rem; border: 1px solid var(--line,#665c78); border-radius: .75rem; }
.community-banner-line, .participation-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem .85rem; }
.participation-next > div { display: grid; gap: .2rem; }
.important-notice { margin: 0 0 .5rem; font-weight: 650; }
.feed-options { margin: .25rem 0 .75rem; }
.feed-options > summary { width: fit-content; padding: .6rem 0; cursor: pointer; }
.feed-options[open] > :not(summary) { margin-block: .55rem; }
.feed-layout.single-feed-layout { display: block; }
.progress-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .7rem; }
.progress-grid progress { display: block; margin-top: .65rem; width: 100%; accent-color: var(--accent,#b8a5fe); }
.progress-grid h2 { margin: 0 0 .55rem; }
.progress-actions { margin-block: 1rem; }
.edited-date { font-size: .76rem; opacity: .9; }

.hero#welcome-panel { gap: .7rem 2rem; }
.hero#welcome-panel h1 { font-size: clamp(2.15rem,4.25vw,4rem); }
.hero#welcome-panel h1 span { display: inline; }
.hero#welcome-panel .hero-tagline { margin-top: .5rem; }
.welcome-actions { align-self: end; }
@media (max-width: 600px) {
  .welcome-actions .button, .feed-card-actions .button { min-height: 44px; }
}

/* The same action slots anchor every feed card and both sides of a pair. */
#mixed-feed :is(.feed-post,.feed-post[data-format="expanded"]) { padding:8px 10px 5px; }
.feed-action-grid { display:grid; grid-template-columns:6.8rem 5.1rem 2rem; align-self:end; gap:3px; width:max-content; max-width:100%; }
.feed-action-grid .feed-action,
.feed-post-project .card-foot .feed-action { min-height:30px; height:auto; gap:4px; padding:2px 5px; justify-content:start; }
.feed-action-grid .feed-share-action { justify-content:center; }
.feed-action-grid .feed-action:disabled { opacity:.55; }
.feed-action-count { margin-inline-start:auto; font-size:11px; font-variant-numeric:tabular-nums; }
#mixed-feed .feed-post-foot > .feed-post-meta { justify-content:end; text-align:end; gap:2px 5px; padding-bottom:4px; }
#mixed-feed .feed-source-link { min-height:24px; }
#mixed-feed .feed-post-project .card-foot {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:end;
  padding:4px 10px 5px;
}
#mixed-feed .feed-post-project .card-foot > .member-strip { justify-self:end; }
#mixed-feed .project-card-actions { justify-self:end; justify-content:end; }
#mixed-feed .project-card-actions :is(.button,.icon-button) { min-height:30px; }
#mixed-feed .project-card-copy { display:grid; min-width:0; gap:5px; align-content:start; }
#mixed-feed .feed-post-project[data-format="expanded"] .project-card-copy h3 { font-size:19px; }
#mixed-feed .feed-post-project[data-format="expanded"] .card-content { padding-block:14px; }
.feed-recommendation { font-size:12px; }
.feed-recommendation summary { cursor:pointer; }
#mixed-feed .member-created {
  border-inline-start-color:#5d806b;
  background-image:linear-gradient(110deg,#b5dfbf38,transparent 31%);
}
#mixed-feed .member-created:is(:hover,:focus-within) { box-shadow:inset 0 0 0 1px #66897155,0 3px 12px #46685224; }
#mixed-feed .feed-post-project.member-created { border-inline-start-width:3px; }

.card-content.with-project-media {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,30%); align-items:start; column-gap:10px;
}
.project-card-copy > .feed-post-meta, .project-card-copy > p { overflow-wrap:anywhere; }
.project-media { position:relative; min-width:0; margin:0; }
.media-slides { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; border-radius:8px; touch-action:pan-x pan-y; }
.media-slides::-webkit-scrollbar { display:none; }
.media-slide { flex:0 0 100%; scroll-snap-align:start; min-width:0; }
.media-slide img { width:100%; height:100%; display:block; object-fit:cover; object-position:top; background:#e5edf2; }
.project-media-feed .media-slide { height:clamp(66px,12vw,112px); }
.feed-post-project[data-format="expanded"] .project-media-feed .media-slide { height:clamp(88px,16vw,155px); }
.project-media-detail .media-slide { aspect-ratio:16/10; }
.project-media-detail .media-slide img { object-fit:contain; }
.project-media-portfolio .media-slide,.project-media-profile .media-slide { aspect-ratio:16/10; }
.project-media-profile { margin-bottom:5px; }
.media-controls {
  position:absolute; inset-inline-end:4px; inset-block-end:4px; display:flex; align-items:center; gap:5px;
  padding:0 3px; border-radius:6px; background:#152b42; color:white; font-size:10px;
}
.media-arrow { border:0; background:transparent; color:inherit; height:25px; width:25px; font-size:20px; line-height:1; padding:0; }
.media-arrow:disabled { opacity:.4; }
.project-image-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,105px),1fr)); gap:8px; padding:0; list-style:none; }
.project-image-list img { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:7px; }
[data-image-manager] .button { margin-block:4px; }
@media (max-width: 680px) {
  #mixed-feed .feed-post-project .card-foot { grid-template-columns:minmax(0,1fr) auto; gap:3px 6px; }
  #mixed-feed .feed-post-project .card-foot > .member-strip { grid-column:1; grid-row:1; justify-self:start; }
  #mixed-feed .project-card-actions { grid-column:2; grid-row:1; }
  #mixed-feed .feed-post-project .card-foot .feed-action-grid { grid-column:1/-1; grid-row:2; }
  .feed-action-grid .feed-action,
  .feed-post-project .card-foot .feed-action { min-height:35px; }
  .media-arrow { height:28px; width:28px; }
}
