/* Equity & Equality Lab — public site */
:root {
  --bg: #FBFAF6; --card: #FFFFFF; --line: #E4E2D9; --line-2: #EEECE4;
  --plum: #2E1D4D; --plum-2: #40296A; --plum-3: #46336B;
  --purple: #5B3A8C; --lav: #F1EBF8; --lav-line: #CFC3E0; --lav-text: #E9E1F3;
  --orange: #F28C28; --orange-dk: #C4570A; --orange-text: #A64A0A; --peach: #FDEBDB; --peach-lt: #F7B77A;
  --cream: #F4EFE6; --text: #2E1D4D; --body: #4A3F5E; --muted: #5E5470;
  --serif: "Fraunces", Georgia, "Nanum Myeongjo", serif;
  --sans: "Inter", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --gut: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
a { color: var(--purple); }
a:hover { color: var(--plum); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sec { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); }
.h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 76px); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; }
.h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; line-height: 1.1; }
.lede { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--body); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 5; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); min-height: 44px; white-space: nowrap; }
.logo .word { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.logo .amp { font-style: italic; font-weight: 300; color: #E37B12; }
.logo .lab { padding-left: 12px; border-left: 1px solid var(--lav-line); font-size: 10.5px; font-weight: 600; letter-spacing: .32em; color: var(--purple); line-height: 18px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); }
.main-nav a.on { color: var(--purple); font-weight: 600; box-shadow: inset 0 -3px 0 var(--orange); }
.main-nav .sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid #D6D3C7; border-radius: 12px; background: #fff; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { display: none; flex-direction: column; padding: 8px var(--gut) 20px; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 12px 4px; text-decoration: none; font-weight: 500; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line-2); }
.site-head.open .mobile-nav { display: flex; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo .word { font-size: 20px; }
  .logo .lab { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--plum); color: #fff; }
.btn-orange { background: var(--orange); color: var(--plum); }
.btn-orange:hover { background: #E37B12; color: var(--plum); }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--plum-2); color: #fff; }
.btn-outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-ghost { border-color: #D6D3C7; background: #fff; color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-link { background: none; border: 0; padding: 0; min-height: 40px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.btn-link:hover { color: var(--plum); }
.btn-block { width: 100%; }

/* flash */
.flashes { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 14px; font-weight: 500; }
.flash.ok { background: #E7F5EE; border: 1px solid #BFE3CF; color: #1F4D36; }
.flash.error { background: #FBE4E4; border: 1px solid #F1C0C0; color: #7A2121; }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-art { flex: 1 1 360px; min-width: 0; margin: 0; background: #fff; border-radius: 28px; padding: clamp(16px, 3vw, 32px); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(46,29,77,.35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* dark band */
.band-dark { background: var(--plum); color: #fff; }
.band-dark .eyebrow { color: var(--peach-lt); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.steps li { background: var(--plum-2); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.steps .num { width: 44px; height: 44px; border-radius: 999px; background: var(--orange); color: var(--plum); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.steps .t { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.steps p { margin: 0; color: var(--lav-text); }
.steps a { margin-top: auto; color: var(--peach-lt); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* grids & cards */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.sec-head > div { display: flex; flex-direction: column; gap: 12px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--purple); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); }
.topic { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; text-decoration: none; color: var(--text); min-height: 200px; background: var(--tint, var(--lav)); }
.topic .ic { width: 14px; height: 14px; border-radius: 999px; background: var(--c, var(--purple)); }
.topic .t { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; }
.topic .d { font-size: 15px; color: var(--body); line-height: 1.5; }
.topic .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--purple); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 28px); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--lav); color: var(--purple); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tag.white { background: #fff; }
.tag.solid { background: var(--purple); color: #fff; }
.tag.peach { background: var(--peach); color: var(--orange-text); }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex: 0 0 auto; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }

.report-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--text); }
.report-card .t { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; }
.report-card .d { color: var(--body); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature { background: var(--lav); border: 0; padding: clamp(24px, 4vw, 40px); gap: 18px; }
.feature .t { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }

/* pro/con bars */
.bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--cream); }
.bar .pro { background: var(--purple); }
.bar .con { flex: 1; background: var(--orange); }
.bar.lg { height: 14px; }
.bar-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.bar-labels .p { color: var(--purple); }
.bar-labels .c { color: var(--orange-text); }
.debate-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.debate-card .t { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; }
.debate-card .foot { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line-2); margin-top: auto; }

/* proposals */
.band-peach { background: var(--peach); }
.prop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.prop { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.prop .t { font-weight: 600; font-size: 17px; line-height: 1.4; }
.prop .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.support { flex: 0 0 72px; min-height: 72px; border-radius: 16px; border: 1.5px solid var(--purple); background: #fff; color: var(--purple); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; }
.support.on { background: var(--purple); color: #fff; }
.support[disabled] { border-color: var(--line); background: var(--cream); cursor: default; }
.support b { font-family: var(--serif); font-size: 20px; line-height: 1; }
.progress { display: flex; align-items: center; gap: 10px; }
.progress .track { flex: 1; height: 8px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.progress .fill { height: 100%; background: var(--orange); }
.progress .fill.done { background: var(--purple); }
.progress span { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* page hero (inner pages) */
.page-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.band-lav { background: var(--lav); border-bottom: 1px solid #E4DAF0; }
.band-dark .lede, .band-dark p { color: var(--lav-text); }
.filters { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #D6D3C7; background: #fff; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--plum); border-color: var(--plum); color: #fff; }
@media (max-width: 760px) { .chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--cream); padding: 4px; border-radius: 14px; }
.tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.tabs a.on { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(46,29,77,.15); }

/* two-column layout */
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.col-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.side-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-card.peach { background: var(--peach); border: 0; }
.side-card.peach h2 { color: var(--orange-text); }
.side-card.lav { background: var(--lav); border: 0; }
.side-card.lav h2 { color: var(--purple); }
.side-card ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--body); line-height: 1.5; }

/* report */
.report-head { display: flex; flex-direction: column; gap: 20px; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.report-title { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; max-width: 18em; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 15px; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--peach-lt); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; flex: 0 0 auto; }
.avatar.sm { width: 38px; height: 38px; font-size: 14px; font-family: var(--sans); }
.toc { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.toc a { display: flex; gap: 12px; padding: 8px 0; text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.4; }
.toc a span:first-child { color: var(--orange-dk); font-weight: 600; font-variant-numeric: tabular-nums; }
.prose { font-size: 18px; line-height: 1.75; color: var(--body); max-width: 720px; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); font-weight: 600; line-height: 1.2; color: var(--text); margin: 48px 0 14px; scroll-margin-top: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--text); margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 18px; }
.prose blockquote { margin: 24px 0; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--plum); color: #fff; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.prose blockquote p { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.refs { padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--cream); }
.refs h2 { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.refs ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--body); }
.debate-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--plum); color: #fff; text-decoration: none; }
.debate-banner:hover { color: #fff; background: var(--plum-2); }
.debate-banner .q { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.25; }
.debate-banner .bar { background: var(--plum-3); height: 8px; }
.debate-banner .bar .pro { background: var(--lav-line); }
.author-box { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.ai-note { font-size: 13px; color: var(--muted); }

/* debate */
.vote-box { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 20px; }
.vote-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vote-btn { min-height: 64px; border-radius: 18px; border: 2px solid var(--purple); background: #fff; color: var(--purple); font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.vote-btn.con { border-color: var(--orange); color: var(--plum); }
.vote-btn.on { background: var(--purple); color: #fff; }
.vote-btn.con.on { background: var(--orange); color: var(--plum); }
.brief { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: var(--lav); text-decoration: none; color: var(--text); }
.brief .t { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.3; }
.best { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.best article { padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.best .for { border-top: 6px solid var(--purple); }
.best .against { border-top: 6px solid var(--orange); }
.composer { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 20px; }
.composer.locked { align-items: flex-start; background: var(--lav); border: 0; }
textarea, input[type=text], input[type=email], input[type=password], input[type=url], select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid #D6D3C7; background: var(--bg); font: inherit; font-size: 16px; color: var(--text);
}
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
label.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
label.f .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--body); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--purple); flex: 0 0 auto; }
.ops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.op { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--bar, var(--lav-line)); scroll-margin-top: 20px; }
.op.agree { --bar: var(--purple); }
.op.disagree { --bar: var(--orange); }
.op-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stance { padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--cream); color: var(--body); }
.stance.agree { background: var(--lav); color: var(--purple); }
.stance.disagree { background: var(--peach); color: var(--orange-text); }
.op-body { margin: 0; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.op-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.op-actions form { margin: 0; }
.helpful { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.helpful.on { background: var(--lav); border-color: var(--lav-line); color: var(--purple); font-weight: 600; }
.replies { margin-left: clamp(8px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.reply { padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
details.reply-box > summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--muted); }
details.reply-box > summary::-webkit-details-marker { display: none; }
details.reply-box form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* forms pages */
.form-card { max-width: 520px; margin: clamp(32px, 6vw, 72px) auto; display: flex; flex-direction: column; gap: 16px; }
.errors { padding: 12px 16px; border-radius: 12px; background: #FBE4E4; color: #7A2121; }
.errors ul { margin: 0; padding-left: 18px; }
.empty { padding: 32px; border-radius: 20px; border: 1.5px dashed var(--lav-line); text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; padding-top: 12px; }

/* footer */
.site-foot { background: var(--plum); color: var(--lav-text); margin-top: 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.site-foot .logo { color: #fff; }
.site-foot .logo .amp { color: #F7A350; }
.site-foot .logo .lab { color: var(--lav-line); border-color: #6A5490; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.foot-nav a { color: var(--lav-text); text-decoration: none; padding: 10px 0; }
.foot-copy { width: 100%; margin: 0; padding-top: 24px; border-top: 1px solid var(--plum-3); font-size: 14px; color: var(--lav-line); }

/* AI Citizens' Panel — always visibly labelled */
.ai-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; background: #E8F0FB; color: #2B4C7E; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
a.ai-badge:hover { background: #D6E4F7; color: #1E3A63; }
.avatar.ai { background: #E8F0FB; color: #2B4C7E; }
.op.persona { background: #FBFCFE; border-left-style: dashed; }
.reply.persona { background: #F7FAFE; border-style: dashed; }
.panel-tally { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: #F7FAFE; border: 1px dashed #BFD2EC; }
.panel-tally .bar .pro { background: #6E58A0; }
.panel-tally .bar .con { background: #F5AE6A; }
.lean-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; margin-top: 4px; }
.lean-grid > div { display: flex; flex-direction: column; gap: 4px; }
.lean-grid .bar { height: 6px; }
.dist { width: 100%; border-collapse: collapse; font-size: 15px; }
.dist th, .dist td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.dist th:first-child, .dist td:first-child { text-align: left; }
.dist thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dist tfoot td { font-weight: 700; border-bottom: 0; }

/* ---- 홈 최신 보고서 카드: 토론 참여 현황 (독자 / AI 패널 분리) ---- */
.rc-debate { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.rc-debate.big { padding-top: 14px; border-top: 1px solid var(--lav-line); gap: 8px; }
.rc-debate .bar { height: 5px; }
.rc-debate.big .bar { height: 8px; }
.rc-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text); }
.rc-row b { font-weight: 600; color: var(--purple); }
.rc-row .con { font-weight: 600; color: var(--orange-text); }
.rc-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rc-first { color: var(--purple); font-weight: 600; }
.rc-ai { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--lav-line); }
.rc-ai .rc-row { align-items: center; }
.rc-ai .ai-badge { flex-shrink: 0; }
.rc-pct { font-size: 13px; font-weight: 600; color: #2B4C7E; white-space: nowrap; }
.rc-debate .bar.ai .pro { background: #6E58A0; }
.rc-debate .bar.ai .con { background: #F5AE6A; }
.rc-debate:not(.big) .bar.ai { height: 4px; }

/* 큰 카드(최신 보고서): 토론 페이지와 같은 독자 막대 + AI 패널 상자 */
.fc-title { color: var(--text); text-decoration: none; }
.fc-title:hover { color: var(--purple); }
.fc-debate { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid var(--lav-line); }
.fc-readers { display: flex; flex-direction: column; gap: 8px; }
.fc-links { font-weight: 600; color: var(--purple); margin-top: auto; }
.fc-links a { text-decoration: none; }
.fc-links a:hover { text-decoration: underline; }
.fc-debate .lean-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 마이페이지: 검토 대기 중인 내 제안 수정·삭제 */
.prop-own { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 14px; margin-top: 4px; }
.prop-edit { flex: 0 1 auto; }
.prop-edit[open] { flex: 1 1 100%; }
.prop-edit > summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--purple); list-style: none; }
.prop-edit > summary::-webkit-details-marker { display: none; }
.prop-edit[open] > summary { color: var(--muted); }
.prop-edit form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.prop-del { min-height: 36px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: #9B2C2C; }
.prop-del:hover { text-decoration: underline; }

/* 회원가입·마이페이지: 기본 정보 (지역·연령·성별) */
.about-you { margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; }
.about-you legend { padding: 0; font-weight: 600; font-size: 16px; }
.about-you .f > span { font-weight: 600; font-size: 15px; }
.privacy-note { margin: 0; font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--lav); }

/* 홈 About 섹션 (뉴질랜드) */
.about { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.about-top { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start; }
.about-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.about-lead { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--body); }
.about-lead p { margin: 0; }
.about-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.about-grid li { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.about-grid .k { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--text); }
.about-grid p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.about-foot { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }

/* 쿠키 안내 배너 + 개인정보 처리방침 */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--plum); color: #fff; box-shadow: 0 -8px 30px rgba(46, 29, 77, .25); }
.cookie-bar[hidden] { display: none; }
.cookie-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 48px; padding-top: 24px; padding-bottom: 24px; max-height: 85vh; overflow-y: auto; }
.cookie-title { flex: 0 0 auto; margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; color: #fff; }
.cookie-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--lav-text); }
.cookie-text p { margin: 0; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.cookie-links a, .cookie-links button { padding: 0; border: 0; background: none; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cookie-prefs { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; padding: 16px; border-radius: 14px; background: var(--plum-2); }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cookie-opt-h { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: 15px; }
.cookie-opt input { width: 18px; height: 18px; accent-color: var(--orange); }
.cookie-always { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--plum-3); color: var(--lav-line); }
.cookie-prefs .btn { align-self: flex-start; }
.cookie-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 12px; }
.foot-link { padding: 10px 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--lav-text); cursor: pointer; }
.foot-link:hover { color: #fff; }
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 32px; }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.legal p, .legal li { color: var(--body); line-height: 1.7; }
.legal p { margin: 0; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); font-weight: 600; background: #fff; }
