:root {
  --navy-950: #051329;
  --navy-900: #071a37;
  --navy-800: #0d2854;
  --blue-700: #124aa5;
  --blue-600: #1764d7;
  --blue-100: #deebff;
  --cyan: #39d4ed;
  --ice: #f2f7ff;
  --paper: #fbfcff;
  --ink: #10213c;
  --muted: #60708b;
  --line: #d8e1ef;
  --orange: #ff6b42;
  --green: #0c9a73;
  --shadow: 0 24px 70px rgba(8, 31, 73, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; color: #fff; background: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: rgba(5, 19, 41, 0.94);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; width: max-content; }
.brand-mark { width: 48px; height: 44px; display: grid; place-content: center; color: var(--navy-950); background: var(--cyan); border-radius: 13px 13px 4px 13px; line-height: .8; text-align: center; transform: rotate(-2deg); }
.brand-mark span { font: 700 7px/1 "Inter", sans-serif; letter-spacing: .09em; }
.brand-mark b { font: 800 22px/1 "Inter", sans-serif; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy b { font: 800 13px/1 "Inter", sans-serif; letter-spacing: .03em; }
.brand-copy small { color: #95acd0; font: 600 8px/1 "Inter", sans-serif; letter-spacing: .14em; }
.site-header nav { display: flex; justify-content: center; gap: 28px; white-space: nowrap; }
.site-header nav a { color: #cbd9ef; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #fff; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.header-start { min-height: 40px; padding: 0 18px; color: #071a37; background: #39d0e8; border: 0; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.header-start:hover, .header-start:focus-visible { background: #67dced; }
.header-link { white-space: nowrap; justify-self: end; padding: 10px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 104px max(28px, calc((100vw - var(--max)) / 2)) 110px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 7%, rgba(57, 212, 237, .2) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 69% 11%, rgba(255, 255, 255, .42) 0 1px, transparent 2px),
    radial-gradient(circle at 16% 45%, rgba(57, 212, 237, .12), transparent 35%),
    linear-gradient(145deg, var(--navy-950) 0%, #092759 62%, #0f3b79 100%);
}
.hero-section::after { content: ""; position: absolute; top: 110px; right: -230px; width: 630px; height: 630px; border: 1px solid rgba(95, 192, 255, .16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(95,192,255,.035), 0 0 0 145px rgba(95,192,255,.025); pointer-events: none; }
.hero-copy, .public-preview-notice, .status-card { position: relative; z-index: 1; }
.hero-copy { max-width: 850px; }
.eyebrow, .kicker { font: 800 11px/1.2 "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #acdfff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(57, 212, 237, .12); }
.hero-copy h1 { margin: 24px 0 21px; max-width: 850px; font-size: clamp(44px, 6vw, 82px); line-height: 1.04; letter-spacing: -.055em; }
.hero-copy h1 { max-width: none; white-space: nowrap; font-size: clamp(42px, 5.6vw, 76px); }
.hero-copy h1 em { color: var(--cyan); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-actions a, .hero-actions button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 11px 18px; border-radius: 12px; font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: none; }
.hero-primary { color: var(--navy-950); background: var(--cyan); border: 1px solid var(--cyan); }
.hero-team-link { color: #fff; background: transparent; border-color: rgba(255,255,255,.36); }
.hero-secondary { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.public-preview-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 20px 22px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(126, 211, 255, .78);
  border-radius: 20px;
  box-shadow: 0 22px 65px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.08) inset;
  backdrop-filter: blur(16px);
}
.public-preview-icon { width: 50px; height: 50px; display: grid; place-content: center; gap: 4px; background: #e1f8fd; border-radius: 15px; transform: rotate(-2deg); }
.public-preview-icon span { display: block; height: 3px; background: var(--blue-600); border-radius: 999px; }
.public-preview-icon span:nth-child(1) { width: 14px; }
.public-preview-icon span:nth-child(2) { width: 25px; background: var(--cyan); }
.public-preview-icon span:nth-child(3) { width: 19px; }
.public-preview-copy { min-width: 0; }
.public-preview-label { color: var(--blue-600); font: 800 10px/1.2 "Inter", sans-serif; letter-spacing: .14em; }
.public-preview-copy h2 { margin: 6px 0 5px; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.public-preview-copy p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.public-preview-actions { min-width: 236px; display: grid; justify-items: end; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.public-preview-actions > span { color: #60708b; font-size: 11px; white-space: nowrap; }
.public-preview-actions > span b { color: #08745c; }
.public-preview-actions a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 17px; color: #fff; background: var(--blue-600); border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(23,100,215,.22); }
.public-preview-actions a:hover, .public-preview-actions a:focus-visible { background: var(--blue-700); }
.public-preview-actions a b { color: var(--cyan); font-size: 16px; }
.status-card { margin-top: 22px; color: var(--ink); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 42px 110px rgba(0,0,0,.32); overflow: hidden; }
.card-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 35px 40px 28px; border-bottom: 1px solid var(--line); }
.kicker { color: var(--blue-600); }
.card-heading h2, .section-heading h2 { margin: 9px 0 0; font-size: clamp(26px, 4vw, 40px); line-height: 1.25; letter-spacing: -.035em; }
.status-formula { margin: 12px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.verified-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; color: #08745c; background: #dff8ef; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.verified-chip span { width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 11px; }
.journey-progress { padding: 36px 40px 30px; }
.journey-progress ol { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.journey-progress ol::before { content: ""; position: absolute; z-index: 0; top: 20px; left: 10%; right: 10%; height: 3px; background: #dce5f1; }
.journey-progress ol::after { content: ""; position: absolute; z-index: 0; top: 20px; left: 10%; width: 20%; height: 3px; background: var(--blue-600); transition: width .3s ease; }
.journey-progress[data-stage="team"] ol::after { width: 40%; }
.journey-progress[data-stage="project"] ol::after { width: 60%; }
.journey-progress li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; color: #8190a5; text-align: center; }
.journey-node { width: 42px; height: 42px; display: grid; place-items: center; color: #718199; background: #fff; border: 3px solid #dce5f1; border-radius: 50%; font: 800 13px/1 "Inter", sans-serif; transition: .2s ease; }
.journey-progress li b { color: #697b94; font-size: 14px; }
.journey-progress li small { min-height: 18px; font-size: 12px; }
.journey-progress li.complete .journey-node { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.journey-progress li.complete b { color: var(--ink); }
.journey-progress li.complete small { color: var(--blue-600); font-weight: 700; }
.journey-progress li.current .journey-node { color: var(--blue-700); background: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 7px rgba(23,100,215,.11); }
.journey-progress li.current b { color: var(--blue-700); }
.journey-progress li.current small { color: var(--blue-600); font-weight: 800; }
.journey-action-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .8fr); gap: 18px; padding: 28px 40px; background: var(--ice); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-current, .journey-next { display: grid; align-content: start; }
.journey-current > span, .journey-next > span { color: var(--blue-600); font: 800 11px/1.2 "Inter", sans-serif; letter-spacing: .14em; }
.journey-current h3 { margin: 9px 0 7px; font-size: 23px; letter-spacing: -.025em; }
.journey-current p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.journey-next { padding: 17px 18px; background: #fff; border: 1px solid #cfdaea; border-radius: 14px; }
.journey-next a { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--navy-900); font-size: 15px; font-weight: 800; text-decoration: none; }
.journey-next a b { color: var(--blue-600); font-size: 19px; }
.journey-next small { margin-top: 7px; color: #76879e; font-size: 12px; line-height: 1.5; }
.verified-checklist { margin: 0; }
.verified-checklist summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 58px; padding: 14px 40px; color: #3f5472; cursor: pointer; list-style: none; }
.verified-checklist summary::-webkit-details-marker { display: none; }
.verified-checklist summary span { font-size: 14px; font-weight: 800; }
.verified-checklist summary small { color: #7789a1; font-size: 12px; }
.verified-checklist summary small::after { content: " +"; color: var(--blue-600); font-weight: 800; }
.verified-checklist[open] summary small::after { content: " −"; }
.verified-checklist ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0 40px 18px; list-style: none; }
.verified-checklist li { display: flex; justify-content: space-between; gap: 10px; padding: 12px; color: #516681; background: #f7f9fc; border: 1px solid #dfe6f0; border-radius: 10px; font-size: 13px; }
.verified-checklist li b { color: #08745c; }
.check-mark { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; color: #fff !important; background: #0b9c76; border-radius: 50%; font-size: 13px; line-height: 1; }
.verified-checklist > p { margin: 0; padding: 0 40px 23px; color: #78889e; font-size: 12px; line-height: 1.6; }

.match-section { padding: 108px max(28px, calc((100vw - var(--max)) / 2)); background: #edf3fb; }
.match-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.match-heading h2 { margin: 9px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.18; letter-spacing: -.04em; }
.match-intro { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.match-intro strong { color: var(--ink); }
.demo-notice { display: flex; gap: 14px; align-items: start; margin-bottom: 18px; padding: 14px 17px; color: #6b4d16; background: #fff6dc; border: 1px solid #f2d687; border-radius: 12px; font-size: 11px; line-height: 1.65; }
.demo-notice b { flex: 0 0 auto; color: #8b5a00; }
.participant-notice { color: #31587c; background: #eaf4ff; border-color: #c7dcf5; font-size: 14px; }
.participant-notice b { color: #164f91; }
.match-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 780px; background: #fff; border: 1px solid #d6e0ef; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.finder-shell { display: block; min-height: 0; }
.match-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 24px 16px; color: #fff; background: var(--navy-900); }
.session-card { display: grid; gap: 7px; padding: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
.session-label { color: var(--cyan); font: 800 8px/1.2 "Inter", sans-serif; letter-spacing: .11em; }
.session-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.session-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; background: rgba(57,212,237,.14); border: 1px solid rgba(57,212,237,.2); border-radius: 10px; font-size: 18px; }
.session-card strong { font: 800 20px/1.2 "Inter", sans-serif; letter-spacing: -.02em; }
.session-card small { color: #9fb2cf; font-size: 9px; line-height: 1.5; }
.session-card button { min-height: 37px; margin-top: 5px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; font-size: 10px; font-weight: 700; cursor: pointer; }
.match-tabs { display: grid; gap: 5px; margin-top: 20px; }
.match-tabs button { display: grid; grid-template-columns: 27px 1fr; align-items: center; min-height: 50px; padding: 7px 12px; color: #9eb2cf; background: transparent; border: 0; border-radius: 11px; font-size: 11px; font-weight: 700; text-align: left; cursor: pointer; }
.match-tabs button span { color: #617997; font: 700 8px/1 "Inter", sans-serif; }
.match-tabs button.active { color: #fff; background: rgba(57,212,237,.13); }
.match-tabs button.active span { color: var(--cyan); }
.official-team-link { margin-top: auto; padding: 16px 10px 4px; color: #a8bbd6; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; font-weight: 700; text-decoration: none; }
.match-workspace { min-width: 0; padding: 34px; }
.my-space-review { padding: 96px max(28px, calc((100vw - var(--max)) / 2)); background: #f7f9fd; }
.my-space-heading { margin-bottom: 30px; }
.case-stack { display: grid; gap: 34px; }
.case-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-width: 0; background: #fff; border: 1px solid #d6e0ef; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.case-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 24px 16px; color: #fff; background: var(--navy-900); }
.case-menu { display: grid; gap: 5px; margin-top: 20px; }
.case-menu a { display: grid; grid-template-columns: 27px 1fr; align-items: center; min-height: 50px; padding: 7px 12px; color: #9eb2cf; border-radius: 11px; font-size: 12px; font-weight: 750; text-decoration: none; }
.case-menu a span { color: #617997; font: 700 8px/1 "Inter", sans-serif; }
.case-menu a.active { color: #fff; background: rgba(57,212,237,.13); }
.case-menu a.active span { color: var(--cyan); }
.case-workspace { min-width: 0; padding: 34px; }
.owner-case { border-color: #bcd3ee; }
.owner-session-card { border-color: rgba(57,212,237,.28); }
.email-preference { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 12px; margin-top: 20px; padding: 16px; color: #244f78; background: #edf6ff; border: 1px solid #c9dff4; border-radius: 13px; cursor: pointer; }
.email-preference input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-600); }
.email-preference span { display: grid; gap: 4px; }
.email-preference b { color: var(--ink); font-size: 14px; }
.email-preference small { color: #637b99; font-size: 12px; line-height: 1.55; }
.contact-log { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.compact-heading { padding-bottom: 18px; }
.contact-log-list { display: grid; gap: 10px; padding-top: 18px; }
.contact-log-list article { padding: 16px; background: #f7f9fc; border: 1px solid #dfe7f1; border-radius: 12px; }
.contact-log-list article > div { display: flex; justify-content: space-between; gap: 12px; }
.contact-log-list article b { font-size: 14px; }
.contact-log-list article p { margin: 8px 0; color: #536983; font-size: 13px; line-height: 1.6; }
.contact-log-list article small { color: #8290a3; font-size: 11px; }
.log-status { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.log-status.sent { color: #08745c; background: #ddf8ee; }
.log-status.pending { color: #806018; background: #fff1c7; }
.workspace-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.workspace-heading h3 { margin: 7px 0 0; font-size: 30px; letter-spacing: -.035em; }
.live-count, .save-state, .owner-status { flex: 0 0 auto; padding: 8px 10px; color: #61748e; background: var(--ice); border-radius: 8px; font: 700 9px/1 "Inter", sans-serif; letter-spacing: .06em; }
.live-count b { color: var(--blue-600); }
.owner-status { color: #067357; background: #ddf8ee; }
.owner-status.closed { color: #766332; background: #f3ead2; }
.team-discovery { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.team-discovery-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 22px; }
.team-discovery-top h3 { margin: 6px 0 7px; font-size: 22px; letter-spacing: -.025em; }
.team-discovery-top p { margin: 0; color: #6e8098; font-size: 14px; line-height: 1.6; }
.seeking-cta-wrap { display: grid; justify-items: end; gap: 8px; flex: 0 0 auto; }
.seeking-cta-wrap button { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 11px 17px; color: #fff; background: var(--blue-600); border: 0; border-radius: 14px; box-shadow: 0 10px 24px rgba(23,100,215,.22); font-size: 14px; font-weight: 800; cursor: pointer; }
.seeking-cta-wrap button b { min-width: 27px; height: 27px; display: grid; place-items: center; color: var(--blue-700); background: #fff; border-radius: 50%; font-size: 12px; }
.seeking-cta-wrap button span { font-size: 18px; }
.seeking-cta-wrap small { color: #71839b; font-size: 12px; line-height: 1.55; text-align: right; }
.group-bubbles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.group-bubbles button { aspect-ratio: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 15px; color: #214e85; background: #eaf3ff; border: 1px solid #bed5f4; border-radius: 50%; text-align: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.group-bubbles button:nth-child(2) { color: #086a69; background: #e7f7f5; border-color: #bde4df; }
.group-bubbles button:nth-child(3) { color: #8a5416; background: #fff3dd; border-color: #f0d4a4; }
.group-bubbles button:nth-child(4) { color: #5b4995; background: #f1edff; border-color: #d8cef7; }
.group-bubbles button:nth-child(5) { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.group-bubbles button:hover, .group-bubbles button.selected { transform: translateY(-4px); border-color: var(--blue-600); box-shadow: 0 12px 26px rgba(9,48,91,.15); }
.group-bubbles button small { font-size: 11px; font-weight: 800; line-height: 1.25; }
.group-bubbles button b { font-size: 13px; line-height: 1.3; }
.group-bubbles button span { font-size: 12px; font-weight: 700; opacity: .78; }
.team-list-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 26px; }
.team-list-heading h4 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.025em; }
.team-list-heading a { color: var(--blue-600); font-size: 13px; font-weight: 800; }
.directory-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.directory-switch > span { color: #9aacbf; font-size: 20px; }
.directory-switch button { padding: 0; color: #8290a4; background: transparent; border: 0; font-size: 21px; font-weight: 800; letter-spacing: -.025em; cursor: pointer; }
.directory-switch button.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 4px; text-underline-offset: 7px; }
.team-filters { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.35fr) auto; gap: 10px; align-items: end; padding: 23px 0; }
.team-filters label, #owner-form > label, .owner-two-column label { display: grid; gap: 7px; }
.team-filters label > span, #owner-form label > span, .owner-fieldset > span { color: #60728c; font-size: 10px; font-weight: 700; }
.team-filters select, #owner-form input, #owner-form select, #owner-form textarea, .dialog-card textarea { width: 100%; min-height: 43px; padding: 9px 11px; color: var(--ink); background: #fff; border: 1px solid #d3deec; border-radius: 10px; outline: 0; }
.participant-directory { padding-top: 23px; }
.participant-directory-note { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 13px 15px; color: #31587c; background: #eaf4ff; border: 1px solid #c7dcf5; border-radius: 11px; font-size: 12px; }
.participant-directory-note b { color: #164f91; }
.participant-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.participant-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid #d6e2ef; border-radius: 15px; background: #fff; }
.participant-card > div:first-child { display: flex; align-items: center; gap: 11px; }
.participant-card > div:first-child > span:last-child { display: grid; gap: 4px; }
.participant-avatar { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; background: #edf5ff; border-radius: 13px; font-size: 22px; }
.participant-card small { color: var(--blue-600); font-size: 9px; font-weight: 850; letter-spacing: .09em; }
.participant-card b { font-size: 15px; }
.participant-card > p { flex: 1; margin: 15px 0; color: #536983; font-size: 13px; line-height: 1.65; }
.participant-card dl { display: grid; gap: 9px; margin: 0 0 16px; }
.participant-card dl div { display: grid; gap: 3px; padding-top: 9px; border-top: 1px solid #e2e8f1; }
.participant-card dt { color: #7d8ca0; font-size: 10px; font-weight: 750; }
.participant-card dd { margin: 0; color: #243f61; font-size: 11px; font-weight: 750; line-height: 1.45; }
.participant-card > button { min-height: 42px; color: #fff; background: var(--blue-600); border: 0; border-radius: 10px; font-size: 11px; font-weight: 800; cursor: pointer; }
.team-filters select:focus, #owner-form input:focus, #owner-form select:focus, #owner-form textarea:focus, .dialog-card textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(23,100,215,.11); }
.team-filters button { min-height: 43px; padding: 9px 13px; color: var(--blue-700); background: #edf4ff; border: 1px solid #bbd2f3; border-radius: 10px; font-size: 10px; font-weight: 800; cursor: pointer; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.team-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; background: #fff; border: 1px solid #dbe4f0; border-radius: 16px; }
.team-contact-active { border-color: #77b8ae; box-shadow: 0 0 0 1px #d7eee9; }
.team-contact-muted { background: #f7f9fc; border-color: #e0e6ee; }
.team-contact-muted h4, .team-contact-muted .team-meta b { color: #56667b; }
.team-contact-note { margin: 10px 0 0; color: #52647b; font-size: 11px; line-height: 1.7; }
.team-contact-active .team-contact-note { color: #08745c; }
.team-contact-legend { margin: 0 0 14px; color: #52647b; font-size: 12px; line-height: 1.8; }
.team-card-top { display: flex; justify-content: space-between; gap: 12px; }
.team-sample { color: #755d17; background: #fff3c8; padding: 5px 7px; border-radius: 5px; font: 800 8px/1 "Inter", sans-serif; letter-spacing: .08em; }
.team-sample.official { color: #08745c; background: #e1f7f0; }
.team-confirmed { color: #7789a1; font-size: 9px; }
.team-card h4 { margin: 15px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.team-challenge { min-height: 36px; display: flex; gap: 8px; margin: 0; color: #31527d; font-size: 10px; line-height: 1.5; }
.team-challenge small { flex: 0 0 auto; color: var(--blue-600); font: 800 9px/1.5 "Inter", sans-serif; }
.team-copy { flex: 1; margin: 13px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.team-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #667a96; font-size: 9px; }
.team-meta b { color: var(--ink); font-size: 12px; }
.team-role-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.team-role-list span { padding: 5px 7px; color: #335c92; background: #edf4ff; border-radius: 6px; font-size: 8px; font-weight: 700; }
.match-score { margin: 10px 0 0; color: #08745c; font-size: 9px; font-weight: 800; }
.team-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 15px; }
.team-actions a, .team-actions button { min-height: 39px; display: grid; place-items: center; padding: 8px; border-radius: 9px; font-size: 9px; font-weight: 800; text-decoration: none; cursor: pointer; }
.team-actions a { color: #49627f; background: #f5f8fc; border: 1px solid #dbe4ef; }
.team-actions button { color: #fff; background: var(--blue-600); border: 1px solid var(--blue-600); }
.match-empty { padding: 34px; color: var(--muted); background: var(--ice); border-radius: 13px; text-align: center; font-size: 12px; }

#profile-form { padding-top: 24px; }
.profile-welcome { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 15px; align-items: start; margin-bottom: 16px; padding: 18px; color: #244f78; background: linear-gradient(135deg, #eaf6ff, #eef9f5); border: 1px solid #c8e2eb; border-radius: 15px; }
.profile-welcome-avatar { width: 58px; height: 58px; display: grid; place-items: center; color: var(--blue-700); background: #fff; border: 1px solid #cadceb; border-radius: 17px; font: 800 15px/1 "Inter", sans-serif; box-shadow: 0 8px 20px rgba(9,48,91,.08); }
.profile-welcome b { color: var(--navy-900); font-size: 17px; font-weight: 850; line-height: 1.4; }
.profile-welcome p { margin: 8px 0 7px; color: #244f78; font-size: 14px; font-weight: 600; line-height: 1.65; }
.profile-welcome small { color: #526f89; font-size: 12px; font-weight: 600; line-height: 1.6; }
.profile-id-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 9px; align-items: end; padding: 18px; background: var(--ice); border-radius: 14px; }
.profile-id-row label { display: grid; gap: 7px; }
.profile-id-row label span { color: #58708e; font-size: 10px; font-weight: 700; }
.profile-id-row input { min-height: 44px; padding: 9px 12px; color: var(--navy-900); background: #fff; border: 1px solid #cad8e9; border-radius: 10px; font: 800 15px/1 "Inter", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.profile-id-row button { min-height: 44px; padding: 9px 14px; color: #fff; background: var(--navy-800); border: 0; border-radius: 10px; font-size: 10px; font-weight: 800; cursor: pointer; }
.profile-id-row > small { grid-column: 1 / -1; color: #7e8ea3; font-size: 9px; }
.profile-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.field-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 13px; }
.field-heading > div { display: grid; gap: 4px; }
.field-heading b { font-size: 13px; }
.field-heading span { color: #7d8da3; font-size: 9px; }
.field-heading > small { color: var(--blue-600); font: 800 10px/1.2 "Inter", sans-serif; }
.role-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.role-picker button { min-height: 42px; padding: 9px 13px; color: #4f6584; background: #fff; border: 1px solid #c8d7ea; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.25; cursor: pointer; }
.profile-block #current-role-picker,
.profile-block #desired-role-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profile-proposal-note { margin: 12px 0 0; padding: 11px 13px; color: #6f5700; background: #fff8d8; border: 1px solid #ead883; border-radius: 10px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.profile-block #current-role-picker button,
.profile-block #desired-role-picker button { width: 100%; min-height: 48px; }
.role-picker button.selected { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.avatar-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.avatar-picker button { min-width: 46px; min-height: 46px; padding: 8px 10px; color: #61748f; background: #fff; border: 1px solid #d2ddeb; border-radius: 13px; font-size: 20px; cursor: pointer; }
.avatar-picker button:first-child { font-size: 9px; font-weight: 800; }
.avatar-picker button.selected { color: var(--blue-700); background: #eaf3ff; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(23,100,215,.1); }
.copy-field { display: grid; gap: 10px; }
.copy-field > span { display: flex; justify-content: space-between; gap: 12px; }
.copy-field > span > b { font-size: 13px; }
.copy-field small { color: #7c8da4; font-size: 9px; font-weight: 500; }
.copy-field textarea { width: 100%; padding: 12px; color: var(--ink); border: 1px solid #d2ddeb; border-radius: 11px; resize: vertical; outline: 0; }
.copy-field textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(23,100,215,.11); }
.challenge-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; }
.challenge-group { min-width: 0; border: 1px solid #d7e1ee; border-radius: 12px; overflow: hidden; }
.challenge-group summary { height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: #f8fafe; cursor: pointer; list-style: none; }
.challenge-group summary::-webkit-details-marker { display: none; }
.challenge-group summary > span { display: grid; gap: 3px; }
.challenge-group summary b { color: #071d40; font-size: 13px; font-weight: 800; line-height: 1.35; }
.challenge-group summary small { color: #526b8e; font-size: 10px; font-weight: 650; line-height: 1.45; }
.challenge-group summary em { min-width: 29px; min-height: 29px; display: grid; place-items: center; padding: 5px; color: var(--blue-600); background: #e5efff; border-radius: 50%; font: normal 800 10px/1 "Inter", sans-serif; white-space: nowrap; }
.challenge-group.has-selection { border-color: #e5bd37; box-shadow: 0 0 0 2px rgba(245, 196, 48, .14); }
.challenge-group.has-selection summary { background: #fff9df; cursor: default; }
.challenge-group.has-selection summary em { color: #735500; background: #ffd94f; }
.challenge-options { display: grid; gap: 1px; padding: 6px; background: #edf2f8; }
.challenge-option { position: relative; display: block; cursor: pointer; }
.challenge-option input { position: absolute; opacity: 0; pointer-events: none; }
.challenge-option > span { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 5px; padding: 10px; background: #fff; border: 1px solid transparent; border-radius: 8px; }
.challenge-option small { color: var(--blue-600); font: 800 9px/1.5 "Inter", sans-serif; }
.challenge-option b { font-size: 11px; line-height: 1.5; }
.challenge-option.selected > span { color: #3f3100; background: #fff2a8; border-color: #e1b91f; box-shadow: inset 4px 0 0 #f2c300; }
.challenge-option.selected small { color: #6e5200; }
.challenge-option input:focus-visible + span { outline: 3px solid rgba(23,100,215,.2); }
.challenge-source-link { height: 76px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 8px; padding: 12px 14px; color: var(--blue-600); text-decoration: none; }
.challenge-source-link span { color: #526b8e; font: 900 9px/1.2 "Inter", sans-serif; letter-spacing: .1em; }
.challenge-source-link b { font-size: 12px; font-weight: 800; line-height: 1.5; }
.challenge-source-link:hover b { text-decoration: underline; text-underline-offset: 3px; }
.workspace-primary { min-height: 46px; display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 22px; padding: 10px 16px; color: #fff; background: var(--blue-600); border: 0; border-radius: 11px; font-size: 11px; font-weight: 800; cursor: pointer; }

.owner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 25px; padding-top: 24px; }
#owner-form { min-width: 0; }
#owner-form > label, .owner-two-column, .owner-fieldset, .seeking-toggle, .owner-policy { margin-bottom: 15px; }
#owner-form textarea { resize: vertical; }
.owner-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.owner-fieldset { display: grid; gap: 9px; padding: 15px; background: var(--ice); border-radius: 12px; }
.seeking-toggle { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; padding: 13px; border: 1px solid #cfe4dc; border-radius: 11px; cursor: pointer; }
.seeking-toggle input { width: 17px; height: 17px; accent-color: var(--green); }
.seeking-toggle > span { display: grid; gap: 3px; }
.seeking-toggle b { color: var(--ink); font-size: 11px; }
.seeking-toggle small { color: #6e8097; font-size: 9px; }
.owner-policy { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px; color: #6c5829; background: #fff7df; border-left: 3px solid #e5b946; border-radius: 8px; font-size: 9px; line-height: 1.6; }
.owner-policy b { color: #7b5710; }
.request-inbox { min-width: 0; padding: 17px; background: var(--navy-900); border-radius: 15px; color: #fff; }
.request-inbox > div:first-child { display: grid; gap: 7px; }
.request-inbox .kicker { color: var(--cyan); font-size: 8px; }
.request-inbox strong { font-size: 15px; }
.request-list { display: grid; gap: 8px; margin-top: 15px; }
.request-list article { padding: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.request-list article > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.request-list article > div:first-child b { font: 800 10px/1.3 "Inter", sans-serif; }
.request-list article > div:first-child span { color: #86a0c3; font-size: 7px; }
.request-list article p { margin: 9px 0; color: #b9c9df; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.request-list article > small { display: block; margin-top: 8px; color: var(--cyan); font-size: 8px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.request-actions button { min-height: 29px; padding: 5px 7px; color: #cbd8e9; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 6px; font-size: 7px; font-weight: 700; cursor: pointer; }
.request-inbox > p { margin: 15px 0 9px; color: #8fa5c2; font-size: 8px; line-height: 1.6; }
.request-inbox > button, .request-directory-link { width: 100%; min-height: 37px; display: grid; place-items: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; font-size: 10px; font-weight: 800; cursor: pointer; text-decoration: none; }

.hub-dialog { width: min(520px, calc(100% - 28px)); padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 19px; box-shadow: 0 32px 100px rgba(0,0,0,.4); }
.hub-dialog::backdrop { background: rgba(3,12,28,.72); backdrop-filter: blur(5px); }
.dialog-card { position: relative; display: grid; gap: 15px; margin: 0; padding: 30px; background: #fff; border-radius: 19px; }
.dialog-card h2 { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing: -.03em; }
.dialog-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 35px; height: 35px; color: #5c6f89; background: #edf2f8; border: 0; border-radius: 50%; font-size: 20px; cursor: pointer; }
.auth-steps { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.auth-steps li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 11px; background: var(--ice); border-radius: 10px; }
.auth-steps li > span { width: 27px; height: 27px; display: grid; place-items: center; color: #fff; background: var(--navy-800); border-radius: 8px; font: 800 9px/1 "Inter", sans-serif; }
.auth-steps li div { display: grid; gap: 3px; }
.auth-steps li b { font-size: 11px; }
.auth-steps li small { color: #75869d; font-size: 9px; }
.mock-auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-auth-actions button { min-height: 43px; color: var(--ink); background: #fff; border: 1px solid #cbd7e7; border-radius: 9px; font-size: 10px; font-weight: 800; cursor: pointer; }
.dialog-card > label { display: grid; gap: 7px; }
.dialog-card > label span { color: #5e708b; font-size: 10px; font-weight: 700; }
.dialog-card > small { color: #7d8da3; font-size: 8px; }
.login-card { gap: 18px; padding: 36px 30px 30px; text-align: center; }
.login-card .kicker { justify-self: center; }
.login-card h2 { font-size: 32px; }
.login-card .login-intro { color: #41546e; font-size: 16px; line-height: 1.75; }
.login-card .login-email-guidance { color: #41546e; font-size: 13px; line-height: 1.8; text-align: left; }
.auth-provider-actions { display: grid; gap: 11px; }
.auth-provider-actions button { position: relative; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 18px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.auth-provider-actions .provider-google { color: #17243a; background: #fff; border: 1px solid #ccd5e2; }
.auth-provider-actions .provider-naver { color: #fff; background: #03c75a; border: 1px solid #03c75a; }
.provider-icon { position: absolute; left: 20px; display: grid; width: 26px; height: 26px; place-items: center; font-size: 20px; font-weight: 900; }
.google-icon { color: #4285f4; }
.naver-icon { color: #fff; }
.login-card .auth-security-note { padding-top: 2px; color: #5f6f84; font-size: 13px; line-height: 1.7; }
.login-card > small { font-size: 12px; }
.contact-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-compare > div { display: grid; gap: 6px; padding: 13px; background: var(--ice); border-radius: 10px; }
.contact-compare b { color: var(--blue-700); font-size: 10px; }
.contact-compare span { color: #667993; font-size: 9px; line-height: 1.6; }
.dialog-footnote { padding-top: 12px; border-top: 1px solid var(--line); }
.contact-participant-form > p { font-size: 13px; }
.contact-participant-form label > span { font-size: 12px; }
.contact-participant-form textarea { font-size: 14px; line-height: 1.6; resize: vertical; }
.relay-privacy-note { display: grid; gap: 5px; padding: 13px 15px; color: #38516f; background: #eef6ff; border: 1px solid #cfe1f6; border-radius: 11px; }
.relay-privacy-note b { color: var(--blue-700); font-size: 12px; }
.relay-privacy-note span { font-size: 12px; line-height: 1.6; }
.relay-submit-state { padding: 11px 13px; color: #075f4f; background: #e6f8f2; border-radius: 9px; font-size: 12px; line-height: 1.6; }
.hub-toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; width: max-content; max-width: calc(100% - 30px); transform: translateX(-50%); padding: 12px 16px; color: #fff; background: var(--navy-950); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; box-shadow: 0 13px 40px rgba(0,0,0,.28); font-size: 10px; font-weight: 700; text-align: center; }

.journey-section, .help-section { padding: 108px max(28px, calc((100vw - var(--max)) / 2)); }
.journey-section { background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 44px; }
.section-heading > p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.owner-tag { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 6px; font-size: 9px; line-height: 1; white-space: nowrap; }
.owner-tag.official { color: #225baf; background: #e9f1ff; }
.owner-tag.seoul { color: #08745c; background: #dff8ef; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.journey-grid li { position: relative; min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-grid li::after { content: ""; position: absolute; top: -2px; left: 29px; width: 34px; height: 3px; background: var(--blue-600); }
.step-no { display: block; margin-bottom: 28px; color: #9aacbf; font: 800 12px/1 "Inter", sans-serif; }
.journey-grid h3 { margin: 15px 0 9px; font-size: 18px; }
.journey-grid p { min-height: 67px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.journey-grid a { color: var(--blue-600); font-size: 11px; font-weight: 800; text-underline-offset: 3px; }
.waitlist-card { display: grid; grid-template-columns: .85fr 1.4fr; gap: 48px; margin-top: 46px; padding: 46px; color: #fff; background: var(--navy-900); border-radius: 24px; box-shadow: var(--shadow); }
.waitlist-title span { color: var(--cyan); font: 800 10px/1 "Inter", sans-serif; letter-spacing: .16em; }
.waitlist-title h3 { margin: 16px 0 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.3; letter-spacing: -.03em; }
.waitlist-copy > p { margin: 0 0 22px; color: #bccce3; font-size: 14px; line-height: 1.75; }
.waitlist-copy strong { color: #fff; }
.waitlist-copy ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.waitlist-copy li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.waitlist-copy li b { color: #fff; }
.waitlist-copy li span { color: #9eb2cf; }
.waitlist-note { grid-column: 1 / -1; padding: 14px 17px; color: #cbd7e9; background: rgba(255,255,255,.07); border-left: 3px solid var(--cyan); border-radius: 8px; font-size: 11px; }

.help-section { background: #f1f5fb; }
.help-heading { align-items: center; }
.audience-switch { display: flex; padding: 4px; background: #dfe7f3; border-radius: 12px; }
.audience-switch button { min-height: 42px; padding: 9px 15px; border: 0; border-radius: 9px; color: #657792; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.audience-switch button.active { color: var(--navy-900); background: #fff; box-shadow: 0 4px 12px rgba(20,43,81,.1); }
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 24px; }
.faq-search { position: relative; width: min(400px, 100%); }
.search-icon { position: absolute; left: 16px; top: 10px; color: #68809f; font-size: 23px; line-height: 1; }
.faq-search input { width: 100%; height: 46px; padding: 0 16px 0 48px; border: 1px solid #d3ddeb; border-radius: 12px; color: var(--ink); background: #fff; outline: 0; }
.faq-search input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(23,100,215,.12); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-row button { min-height: 42px; padding: 8px 13px; border: 1px solid #d0dae9; border-radius: 999px; color: #5d708d; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-row button.active { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 30px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid #dbe3ef; border-radius: 14px; }
.faq-list summary { position: relative; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 22px; height: 22px; flex: 0 0 22px; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 5px; top: 10px; width: 12px; height: 2px; background: var(--blue-600); transition: transform .2s; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--blue-700); }
.faq-list details p { margin: 0; padding: 0 54px 20px 20px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.empty-state { padding: 30px; color: var(--muted); background: #fff; border-radius: 14px; text-align: center; }
.official-links { position: sticky; top: 102px; padding: 25px; color: #fff; background: var(--navy-900); border-radius: 18px; }
.official-links .kicker { color: var(--cyan); }
.official-links h3 { margin: 8px 0 20px; font-size: 24px; }
.official-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.official-links a span { display: grid; gap: 5px; font-size: 12px; font-weight: 700; }
.official-links a small { color: #8299ba; font: 700 8px/1 "Inter", sans-serif; letter-spacing: .12em; }
.official-links a b { color: var(--cyan); }
.official-links > p { margin: 17px 0 0; color: #778fae; font-size: 9px; }

.operator-view { color: #fff; background: var(--navy-900); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.operator-intro { display: flex; justify-content: space-between; gap: 40px; padding: 36px 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.operator-intro .kicker { color: var(--cyan); }
.operator-intro h3 { margin: 9px 0 0; font-size: 29px; }
.operator-intro p { max-width: 480px; margin: 0; color: #a7bad5; font-size: 12px; line-height: 1.8; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.policy-grid article { min-height: 210px; padding: 30px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.policy-grid article:nth-child(3n) { border-right: 0; }
.policy-grid article span { color: var(--cyan); font: 700 9px/1 "Inter", sans-serif; letter-spacing: .12em; }
.policy-grid h4 { margin: 18px 0 10px; font-size: 18px; }
.policy-grid p { margin: 0; color: #9eb1cd; font-size: 12px; line-height: 1.8; }
.policy-callout { display: grid; grid-template-columns: 110px 1fr; gap: 20px; margin: 28px 30px 30px; padding: 17px 20px; color: #c5d3e8; background: rgba(255,255,255,.07); border-left: 3px solid var(--orange); border-radius: 9px; font-size: 12px; line-height: 1.7; }
.policy-callout b { color: #fff; }

footer { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 34px; align-items: center; padding: 40px max(28px, calc((100vw - var(--max)) / 2)); color: #8296b5; background: var(--navy-950); font-size: 10px; }
footer > div { display: grid; gap: 4px; }
footer b { color: #fff; font-size: 12px; }
footer p { margin: 0; line-height: 1.7; }
footer a { justify-self: end; color: #b5c5dc; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(57,212,237,.6); outline-offset: 3px; }

@media (max-width: 900px) {
  .challenge-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { grid-template-columns: 1fr auto; height: 68px; padding-inline: 18px; }
  .site-header nav { display: none; }
  .header-link { font-size: 0; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; }
  .header-link span { font-size: 16px; }
  .header-actions { gap: 7px; }
  .header-start { min-height: 40px; padding-inline: 14px; }
  .hero-section { padding: 72px 20px 76px; }
  .match-section { padding: 76px 20px; }
  .match-heading { align-items: start; flex-direction: column; }
  .match-shell { grid-template-columns: 1fr; }
  .case-shell { grid-template-columns: 1fr; }
  .case-sidebar { padding: 16px; }
  .case-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
  .participant-case .case-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-menu a { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .participant-card-grid { grid-template-columns: 1fr; }
  .match-sidebar { display: grid; grid-template-columns: 1fr; padding: 16px; }
  .match-tabs { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
  .match-tabs button { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .official-team-link { margin-top: 12px; padding-top: 12px; text-align: center; }
  .owner-layout { grid-template-columns: 1fr; }
  .group-bubbles { grid-template-columns: repeat(5, minmax(128px, 1fr)); overflow-x: auto; padding: 5px 4px 18px; scroll-snap-type: x proximity; }
  .group-bubbles button { scroll-snap-align: start; }
  .request-inbox { order: -1; }
  .journey-section, .help-section { padding: 76px 20px; }
  .section-heading { align-items: start; flex-direction: column; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .waitlist-card { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout { grid-template-columns: 1fr; }
  .official-links { position: static; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .policy-grid article:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.1); }
  .policy-grid article:nth-child(2n) { border-right: 0; }
  footer { grid-template-columns: 1fr; }
  footer a { justify-self: start; }
}

@media (max-width: 560px) {
  .challenge-groups { grid-template-columns: 1fr; }
  .challenge-source-link { height: auto; min-height: 70px; padding: 12px 4px; }
  .profile-block #current-role-picker,
  .profile-block #desired-role-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-copy { display: none; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy h1 { white-space: normal; font-size: 42px; }
  .status-card { margin-top: 36px; }
  .hero-actions { display: grid; }
  .hero-actions a, .hero-actions button { width: 100%; }
  .card-heading { flex-direction: column; padding: 28px 22px 22px; }
  .verified-chip { white-space: normal; }
  .journey-progress { padding: 28px 10px 24px; }
  .journey-progress ol::before, .journey-progress ol::after { top: 17px; }
  .journey-node { width: 36px; height: 36px; border-width: 2px; font-size: 11px; }
  .journey-progress li { gap: 5px; }
  .journey-progress li b { font-size: 11px; line-height: 1.35; }
  .journey-progress li small { font-size: 10px; line-height: 1.3; }
  .journey-action-row { grid-template-columns: 1fr; gap: 13px; padding: 23px 18px; }
  .journey-current h3 { font-size: 20px; }
  .journey-next { padding: 15px; }
  .verified-checklist summary { padding: 14px 20px; }
  .verified-checklist ul { grid-template-columns: 1fr; padding: 0 20px 16px; }
  .verified-checklist > p { padding: 0 20px 20px; }
  .demo-notice { display: grid; gap: 5px; }
  .match-section { padding-inline: 12px; }
  .match-heading { padding-inline: 8px; }
  .match-shell { border-radius: 18px; }
  .match-sidebar { padding: 12px; }
  .match-tabs { gap: 3px; }
  .match-tabs button { min-height: 54px; padding: 7px 4px; font-size: 9px; }
  .match-workspace { padding: 24px 15px; }
  .my-space-review { padding: 72px 12px; }
  .case-shell { border-radius: 18px; }
  .case-sidebar { padding: 12px; }
  .case-menu a { min-height: 54px; padding: 7px 4px; font-size: 10px; }
  .case-workspace { padding: 24px 15px; }
  .team-list-heading { align-items: start; flex-direction: column; }
  .directory-switch { gap: 7px; }
  .directory-switch button { font-size: 17px; }
  .participant-directory-note { align-items: start; flex-direction: column; }
  .workspace-heading { align-items: start; }
  .workspace-heading h3 { font-size: 25px; }
  .live-count, .save-state, .owner-status { font-size: 7px; }
  .team-filters { grid-template-columns: 1fr; }
  .team-discovery-top { flex-direction: column; }
  .seeking-cta-wrap { width: 100%; justify-items: stretch; }
  .seeking-cta-wrap button { justify-content: center; }
  .seeking-cta-wrap small { text-align: left; }
  .team-list-heading { align-items: start; flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 17px; }
  .profile-id-row { grid-template-columns: 1fr; }
  .profile-id-row > small { grid-column: auto; }
  .profile-welcome { grid-template-columns: 46px minmax(0, 1fr); padding: 15px; }
  .profile-welcome-avatar { width: 46px; height: 46px; border-radius: 14px; }
  .owner-two-column { grid-template-columns: 1fr; }
  .contact-compare, .mock-auth-actions { grid-template-columns: 1fr; }
  .dialog-card { padding: 27px 20px 22px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid li { min-height: auto; }
  .journey-grid p { min-height: auto; }
  .waitlist-card { padding: 30px 24px; }
  .waitlist-copy li { grid-template-columns: 1fr; gap: 4px; }
  .help-heading { gap: 24px; }
  .audience-switch { width: 100%; }
  .audience-switch button { flex: 1; }
  .faq-tools { display: grid; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-row button { flex: 0 0 auto; }
  .faq-list summary { align-items: start; padding: 17px; }
  .faq-list details p { padding: 0 42px 20px 17px; }
  .operator-intro { flex-direction: column; padding: 30px 24px; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-grid article, .policy-grid article:nth-child(3n) { min-height: auto; border-right: 0; }
  .policy-callout { grid-template-columns: 1fr; gap: 7px; margin: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.auth-connection-state {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #bdd3f2;
  border-radius: 10px;
  background: #eef5ff;
  color: #12335f;
  font-size: 14px;
  line-height: 1.55;
}

.auth-connection-state[data-kind="success"] {
  border-color: #9edcc9;
  background: #ebfaf5;
  color: #08745c;
}

.auth-connection-state[data-kind="error"] {
  border-color: #efb9b5;
  background: #fff2f1;
  color: #9b2f28;
}

.auth-security-note {
  margin-top: 16px;
  color: #405777;
}

/* Keep both external destinations identifiable on compact screens. */
@media (min-width: 561px) and (max-width: 1200px) {
  .site-header { gap: 14px; padding-inline: 20px; }
  .site-header nav { gap: 16px; }
  .header-link { padding-inline: 10px; font-size: 11px; }
}
@media (max-width: 560px) {
  .site-header { height: auto; min-height: 68px; grid-template-columns: 1fr; gap: 10px; padding-block: 12px; }
  .header-actions { justify-self: stretch; flex-wrap: wrap; }
  .header-link { width: auto; height: auto; display: inline-flex; align-items: center; gap: 4px; padding: 10px; font-size: 10px; }
  .header-link span { font-size: 12px; }
}

@media (min-width: 561px) and (max-width: 900px) {
  .header-link { width: auto; height: auto; display: inline-flex; align-items: center; gap: 4px; padding: 10px; font-size: 10px; }
  .header-link span { font-size: 12px; }
}

.hero-journey-link { width: fit-content; min-height: 36px; letter-spacing: .04em; text-decoration: none; }
.hero-journey-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.match-heading > .match-intro { flex: 0 1 430px; margin: 0; }
.finder-shell .team-discovery { padding: 0; border-bottom: 0; }
.discovery-results { margin-top: 24px; scroll-margin-top: 120px; }
.discovery-results .team-list-heading { padding-top: 0; scroll-margin-top: 120px; }
.team-filter-summary { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .match-heading > .match-intro { flex: auto; max-width: 100%; }
}

/* One stable matching surface: topic selection updates both directories in place. */
.finder-shell .team-discovery { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.group-bubbles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.group-bubbles button { padding: 14px 10px; gap: 9px; overflow-wrap: anywhere; }
.group-bubbles button small { font-size: 13px; line-height: 1.3; }
.group-bubbles button b { font-size: 15px; line-height: 1.35; }
.group-bubbles button span { font-size: 13px; }
.group-bubbles button:nth-child(6) { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.group-bubbles button:hover, .group-bubbles button.selected { transform: none; }
.group-bubbles button.selected { outline: 3px solid var(--cyan); outline-offset: 3px; }
.directory-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 14px 0 0; border: 1px solid #cddbee; border-radius: 12px; overflow: hidden; }
.directory-switch button { min-height: 66px; padding: 14px 18px; color: #526783; background: #eff4fb; font-size: 21px; font-weight: 850; text-align: center; }
.directory-switch button + button { border-left: 1px solid #cddbee; }
.directory-switch button.active { color: #fff; background: var(--navy-800); text-decoration: none; }
.directory-switch button:focus-visible { outline-offset: -4px; }
@media (max-width: 1100px) {
  .group-bubbles { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .group-bubbles button { max-width: 260px; width: 100%; justify-self: center; }
  .group-bubbles button small { font-size: 14px; }
  .group-bubbles button b { font-size: 17px; }
}
@media (max-width: 560px) {
  .group-bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .group-bubbles button small { font-size: 12px; }
  .group-bubbles button b { font-size: 14px; }
  .directory-switch button { min-height: 72px; padding: 12px 8px; font-size: 17px; line-height: 1.45; }
}

/* Align recruitment counts below the topic labels inside every circle. */
.group-bubbles button { position: relative; }
.group-bubbles button .bubble-labels { position: absolute; top: 46%; left: 7%; right: 7%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 9px; opacity: 1; }
.group-bubbles button .bubble-labels b { word-break: keep-all; overflow-wrap: normal; }
.group-bubbles button .bubble-count { position: absolute; left: 8%; right: 8%; bottom: 9%; line-height: 1.3; }

.participant-login-gate { margin-top: 24px; padding: 32px 24px; text-align: center; background: #f3f7fc; border: 1px solid #d6e2ef; border-radius: 14px; }
.participant-login-gate h3 { margin: 0; font-size: 19px; }
.participant-login-gate p { margin: 12px 0 20px; color: var(--muted); font-size: 14px; }
.participant-login-gate button { width: auto; min-width: 0; }

.preview-toolbar { position: sticky; top: 0; z-index: 200; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 28px; background: #fff8e7; border-bottom: 1px solid #ead19b; color: #543d13; }
.preview-toolbar > div { display: grid; gap: 5px; }
.preview-toolbar small { font-size: 12px; }
.preview-toolbar label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.preview-toolbar select { min-height: 40px; border: 1px solid #ceb87d; border-radius: 8px; padding: 8px 12px; background: white; font: inherit; }
.preview-toolbar a { color: #543d13; font-size: 13px; }
#my-space, #profile, #owner-title, #sent-contact-log { scroll-margin-top: 96px; }
@media (max-width: 700px) { .preview-toolbar { flex-wrap: wrap; padding: 16px 18px; gap: 12px; } }

.profile-owner-badge { display: inline-block; vertical-align: middle; padding: 6px 10px; margin-left: 8px; border-radius: 999px; color: #08715d; background: #ddf8ee; font-size: 12px; font-weight: 800; letter-spacing: 0; }

/* Communication actions: site interests in burgundy, email/external actions in blue. */
.dialog-card textarea { color: var(--ink); }
.dialog-card textarea::placeholder { color: #9aa8b8; opacity: 1; }
.interest-field-label { display: flex !important; justify-content: space-between; align-items: center; gap: 10px; }
.interest-field-label small { margin: 0; white-space: nowrap; }
.team-actions .interest-action, .workspace-primary.interest-action { color: #fff; background: #7c2948; border-color: #7c2948; }
.team-actions .interest-action:hover, .workspace-primary.interest-action:hover { background: #64203a; }
.team-contact-muted .team-actions button,
.team-contact-muted .team-actions button:hover,
.team-actions .interest-action:disabled,
.team-actions .interest-action:disabled:hover { color: #566275; background: #e4e9ef; border-color: #d7dfe8; opacity: 1; }
.team-actions button:disabled { cursor: not-allowed; }
.email-action { min-height: 40px; padding: 10px 14px; border: 0; border-radius: 10px; color: #fff; background: var(--blue-600); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.request-list .email-action { margin-top: 12px; }

.team-name-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 15px 0 8px; }
.team-name-row h4 { margin: 0; overflow-wrap: anywhere; }
.team-name-row a { flex: 0 0 auto; color: var(--blue-600); font-size: 11px; font-weight: 700; text-decoration: none; }
.team-name-row a:hover { text-decoration: underline; }
.participant-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; }
.participant-actions button { min-height: 42px; padding: 8px; border: 0; border-radius: 9px; font-size: 11px; font-weight: 800; cursor: pointer; }
.participant-actions .interest-action { color: #fff; background: #7c2948; }
.email-action:disabled { cursor: not-allowed; opacity: .45; }
.team-actions.login-required .interest-action,
.team-actions.login-required .interest-action:hover { color: #665d63; background: #e5dfe2; border-color: #e5dfe2; }
.team-actions.login-required .email-action,
.team-actions.login-required .email-action:hover { color: #5c6572; background: #e1e6ed; border-color: #e1e6ed; }
@media (max-width: 560px) { .team-name-row { flex-wrap: wrap; gap: 6px; } }

/* Shared participation summary in the public and role review views. */
.participant-interest-logs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.interest-log-columns .contact-log { min-width: 0; }
#profile-editor[hidden], [data-participant-navigation][hidden] { display: none; }
#received-contact-log { scroll-margin-top: 96px; }
@media (max-width: 720px) { .participant-interest-logs { grid-template-columns: 1fr; gap: 8px; } }
.hero-section { padding-top: 48px; padding-bottom: 48px; }
.hero-copy { max-width: none; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); align-items: center; gap: 32px; }
.hero-copy h1 { margin: 0; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.2; white-space: normal; }
.hero-status-description { margin: 0; color: #b7cbe1; font-size: 14px; line-height: 1.7; }
.status-card { margin-top: 24px; }
.status-card .card-heading { align-items: center; padding: 14px 28px; }
.status-card .card-heading h2.kicker { margin: 0; font-size: 11px; line-height: 1.2; letter-spacing: .16em; }
.status-card .journey-progress { padding: 20px 28px 18px; }
.status-card .journey-action-row { padding: 16px 28px; align-items: center; }
.status-card .journey-current h3 { margin: 6px 0; font-size: 20px; }
.status-card .journey-next { padding: 12px 16px; }
.status-card .verified-checklist summary { min-height: 44px; padding: 10px 28px; }
@media (max-width: 720px) {
  .hero-section { padding-top: 32px; padding-bottom: 32px; }
  .hero-copy { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy h1 { font-size: clamp(28px, 6vw, 38px); }
  .public-preview-notice { grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 24px; padding: 18px; }
  .public-preview-icon { width: 44px; height: 44px; }
  .public-preview-copy h2 { font-size: 18px; }
  .public-preview-actions { grid-column: 1 / -1; min-width: 0; width: 100%; justify-items: stretch; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .public-preview-actions > span { white-space: normal; }
  .public-preview-actions a { width: 100%; justify-content: space-between; }
  .status-card .card-heading { flex-direction: row; flex-wrap: wrap; gap: 10px; padding: 12px 18px; }
  .status-card .journey-progress { padding: 20px 10px 18px; }
  .status-card .journey-action-row { grid-template-columns: 1fr; padding: 16px 18px; }
  .status-card .verified-checklist summary { padding: 10px 18px; }
}

.email-preferences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#owner-form input[readonly], #owner-form select:disabled { color: #52657c; background: #f0f3f7; opacity: 1; cursor: default; }
#owner-preview-card { min-height: 0; }
@media (max-width: 720px) { .email-preferences { grid-template-columns: 1fr; gap: 0; } }

/* All main tabs land at the same compact distance below the sticky header. */
html { scroll-padding-top: var(--header-height, 76px); }
#top, #match, #my-space, #help { padding-top: 32px; padding-bottom: 40px; scroll-margin-top: 0; }
#profile, #owner-title, #owner-inbox, #sent-contact-log, #received-contact-log,
.discovery-results, .discovery-results .team-list-heading { scroll-margin-top: 16px; }
.match-heading, .section-heading { margin-bottom: 24px; gap: 24px; }
.match-heading h2, .section-heading h2 { margin-top: 6px; font-size: clamp(28px, 3.3vw, 40px); }
.my-space-heading h2 { margin-top: 0; }
@media (max-width: 720px) {
  #top, #match, #my-space, #help { padding-top: 24px; padding-bottom: 32px; }
  .match-heading, .section-heading { margin-bottom: 20px; gap: 12px; }
}
.interest-thread { display: grid; gap: 10px; min-width: 0; }
.thread-quota { display: block; color: #52657c; font-size: 12px; }
.thread-messages { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.thread-messages li { padding: 10px; background: #fff; border: 1px solid #e0e5ed; border-radius: 8px; overflow-wrap: anywhere; }
.thread-messages li.mine { border-left: 3px solid #7c2948; }
.thread-messages li p { margin: 6px 0 0; font-size: 14px; }
.thread-state { margin: 0; font-size: 13px; color: #52657c; }
.thread-reply { display: grid; gap: 8px; }
.thread-reply textarea { width: 100%; padding: 10px; resize: vertical; border: 1px solid #cfdaea; border-radius: 8px; font: inherit; font-size: 14px; }
.thread-reply textarea::placeholder { color: #9aa8b8; }
.thread-reply button { padding: 10px; color: #fff; background: #7c2948; border: 0; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.thread-state { padding: 8px 10px; border-radius: 8px; background: #eaf0f7; }
.thread-state[data-status="reply"] { color: #732642; background: #f4e9ee; }
.thread-state[data-status="complete"] { color: #476355; background: #eaf2ed; }
.thread-conversation > summary { padding: 10px 0; color: #415978; font-size: 13px; font-weight: 700; cursor: pointer; }
.thread-conversation[open] > .thread-messages { margin: 4px 0 12px; }
.contact-log-list .interest-thread, .request-list .interest-thread { padding: 12px 14px; gap: 6px; }
.thread-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.thread-status { flex: 0 0 auto; padding: 4px 8px; border-radius: 6px; color: #52657c; background: #eaf0f7; font-size: 12px; font-weight: 700; }
.thread-status[data-status="reply"] { color: #732642; background: #f4e9ee; }
.contact-log-list .thread-quota-row, .request-list .thread-quota-row { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; line-height: 1.6; }
.thread-quota-row span { white-space: nowrap; }
.quota-mine { color: #7c2948; }
.quota-other { color: #1764d7; }
.quota-total { color: #64748b; }
.thread-quota-row span + span::before { content: "|"; margin-right: 8px; color: #c0cad7; }
.thread-conversation > summary { padding: 6px 0; }
.owner-interest-logs #sent-contact-log .contact-log-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
@media (max-width: 900px) { .owner-interest-logs #sent-contact-log .contact-log-list { grid-template-columns: 1fr; } }
.thread-conversation > summary { padding: 9px 12px; color: #7c2948; background: #f7edf1; border: 1px solid #dec0cd; border-radius: 8px; }
.thread-conversation > summary:hover { background: #f0dfe7; border-color: #ba829a; }
.thread-conversation > summary:focus-visible { outline: 2px solid #7c2948; outline-offset: 2px; }
.thread-conversation[open] > summary { margin-bottom: 10px; }
.email-action:disabled, .team-actions .email-action:disabled { color: #77808d; background: #e6e9ed; border-color: #e6e9ed; opacity: 1; cursor: not-allowed; }

#profile-seeking-status { display:block; width:100%; padding:12px; margin:10px 0; border:1px solid #cbdcf4; border-radius:10px; background:white; color:#122540; font:inherit; }
#approval-request-panel { margin:16px 0; padding:16px; border:1px solid #cbdcf4; border-radius:12px; }
#approval-request-panel input { display:block; width:100%; box-sizing:border-box; padding:10px; margin:8px 0; }
#approval-request-panel button { padding:12px; border:0; border-radius:10px; }

.seeking-status-options { border:0; padding:0; margin:0 0 12px; min-width:0; }
.seeking-status-options legend { font-weight:700; margin-bottom:12px; }
.seeking-status-choices { display:flex; flex-wrap:wrap; gap:10px; }
.seeking-status-choices label { position:relative; cursor:pointer; }
.seeking-status-choices input { position:absolute; opacity:0; width:1px; height:1px; }
.seeking-status-choices span { display:block; padding:12px 16px; border:1px solid #cbdcf4; border-radius:10px; background:#fff; color:#526782; font-weight:700; }
.seeking-status-choices input:checked + span { color:#7d2848; background:#f6e9ef; border-color:#7d2848; }
.seeking-status-choices input:focus-visible + span { outline:3px solid #30cbe1; outline-offset:3px; }

.profile-status-summary { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:24px; align-items:start; }
.profile-status-side,.profile-challenge-summary { min-width:0; }
.profile-challenge-summary > b { display:block; margin-bottom:12px; }
#selected-challenge-summary { display:flex; flex-wrap:wrap; gap:8px; }
.selected-challenge-tag { display:block; max-width:100%; box-sizing:border-box; padding:8px 12px; border-radius:8px; background:#fff2bc; color:#654816; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
@media (max-width:700px) { .profile-status-summary { grid-template-columns:minmax(0,1fr); gap:20px; } }


.challenge-group summary em { display:flex; align-items:center; justify-content:center; }
.challenge-fold-chevron { display:block; width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.challenge-group[open] .challenge-fold-chevron { transform:translateY(2px) rotate(225deg); }

.owner-layout.inbox-view { grid-template-columns: minmax(0, 1fr); }
.owner-layout.inbox-view .request-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .owner-layout.inbox-view .request-list { grid-template-columns: 1fr; } }
