:root{--purple:#580189;--ink:#241d32;--muted:#635a70;--line:#e1dce8;--wash:#f7f5fa;--white:#fff;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--wash);color:var(--ink);font:1rem/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--purple);text-underline-offset:.22em}a:hover{text-decoration-thickness:2px}button,input,select{font:inherit}:focus-visible{outline:3px solid #332054;outline-offset:4px}.skip-link{position:absolute;top:-5rem;left:1rem;background:white;padding:1rem;z-index:2}.skip-link:focus{top:1rem}.site-header{max-width:1120px;margin:auto;padding:1.5rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{font-size:1.9rem;font-weight:850;letter-spacing:-.07em;text-decoration:none;color:var(--ink)}.brand-dot{color:var(--purple)}nav{display:flex;align-items:center;gap:1.25rem}.inline-form{display:inline}.text-button{background:none;color:var(--purple);border:0;padding:0;text-decoration:underline;text-underline-offset:.22em;cursor:pointer}.development-banner{padding:.6rem 1.25rem;text-align:center;background:#ece5f7;color:#493261;font-size:.85rem}.main-content{max-width:1120px;margin:0 auto;padding:4.5rem 2rem}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}.eyebrow{text-transform:uppercase;font-size:.75rem;font-weight:800;letter-spacing:.13em;color:var(--purple);margin:0 0 1rem}h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.13;letter-spacing:-.04em;margin:.3rem 0 1.5rem}h2{line-height:1.25;letter-spacing:-.02em}p{margin:.6rem 0 1rem}.lede{font-size:1.12rem}.muted,.helptext{color:var(--muted)}.card{background:var(--white);padding:2rem;border:1px solid var(--line);border-radius:1rem;box-shadow:0 10px 30px #241d3205}.field{margin-bottom:1.25rem}label{display:block;font-weight:650;margin-bottom:.35rem}input:not([type=checkbox]):not([type=hidden]),select{display:block;width:100%;padding:.65rem .8rem;border:1px solid #95899e;border-radius:.4rem;background:white;color:var(--ink)}input[type=checkbox]{width:1.2rem;height:1.2rem;accent-color:var(--purple)}.helptext{font-size:.85rem;margin:.4rem 0}.button,button[type=submit]:not(.text-button){display:inline-block;background:var(--purple);border:2px solid var(--purple);border-radius:.45rem;color:white;text-decoration:none;padding:.65rem 1.25rem;cursor:pointer;font-weight:650}.button:hover,button[type=submit]:not(.text-button):hover{background:#3f0163;border-color:#3f0163}.form-links{flex-direction:column;align-items:flex-start;gap:.65rem;margin-top:1.5rem;font-size:.9rem}.notice,.error-summary{padding:1rem;border-radius:.45rem;margin-bottom:1.5rem}.notice{background:#edf5ef;border:1px solid #a9c4af;color:#244a2d}.error-summary{background:#fff2f1;border:1px solid #b96b65;color:#762a24}.errorlist{color:#762a24;padding-left:1.3rem;font-size:.9rem}footer{max-width:1120px;margin:0 auto;padding:2rem;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}footer p{margin:.3rem 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.25rem}.section{margin-top:2rem}.badge{display:inline-block;padding:.2rem .65rem;border-radius:2rem;background:#ece5f7;color:#493261;font-size:.8rem;font-weight:650}dl{margin:1rem 0}dt{font-size:.85rem;color:var(--muted)}dd{margin:0 0 .8rem;font-weight:600}@media(max-width:700px){.site-header{padding:1rem;align-items:flex-start}.site-header nav{gap:.8rem;font-size:.85rem;flex-wrap:wrap;justify-content:flex-end}.main-content{padding:2.5rem 1rem}.auth-layout{grid-template-columns:1fr;gap:1.5rem}.card{padding:1.4rem}footer{padding:1.5rem 1rem}}

/* Plain-text issue intake: wrap long content without interpreting markup. */
textarea{font:inherit;display:block;width:100%;padding:.65rem .8rem;border:1px solid #95899e;border-radius:.4rem;resize:vertical}.issue-text{white-space:pre-wrap;overflow-wrap:anywhere}

/* Approved brand treatment is opt-in: address/intake/editor/feedback keep their shell. */
.branded-account { --ink: #292334; --muted: #665e73; --line: #e7e2ed; --wash: #faf9fc; }
.branded-account .brand { color: var(--purple); letter-spacing: -.06em; line-height: 1.2; }
.branded-account .brand-tagline { display: block; margin-top: .35rem; font-size: .65rem; font-weight: 750; letter-spacing: .12em; }
.branded-account .site-header nav a,
.branded-account .site-header .text-button { display: inline-flex; align-items: center; min-height: 44px; }
.branded-account .site-header .text-button { font: inherit; }
.branded-account .button { min-height: 44px; }

/* Preserve the full square artwork, with the V4 420px / 260px login proportions. */
.auth-page { background: var(--white); }
.auth-page .main-content { max-width: 600px; padding: .5rem 1.5rem 2.5rem; }
.auth-page .auth-panel { text-align: center; }
.auth-page .auth-logo { display: block; width: 320px; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto .5rem; }
.auth-page .login-panel .auth-logo { width: 420px; }
.auth-page h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: .5rem 0 1.5rem; }
.auth-page .auth-form { width: 100%; max-width: 360px; margin: 0 auto; text-align: left; }
.auth-page .login-panel .auth-form { max-width: 260px; }
.auth-page .field { margin-bottom: .85rem; }
.auth-page input:not([type=hidden]) { min-height: 44px; padding: .55rem .75rem; font-size: 1rem; }
.auth-page .auth-form .button { width: 100%; }
.auth-page .form-links { gap: 0; margin-top: .75rem; }
.auth-page .form-links a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-page .create-account-link { text-align: center; margin: .75rem 0 0; }
.auth-page .create-account-link a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-page .auth-context { max-width: 420px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; }
.auth-page .notice, .auth-page .error-summary { overflow-wrap: anywhere; }
/* Anonymous login alone uses the quiet splash; authenticated navigation stays visible. */
.auth-page.login-splash .site-header { display: none; }
.auth-page.login-splash #auth-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.account-page .main-content { padding-top: 2.5rem; }
.account-page .account-heading { max-width: 760px; }
.account-page .account-identity { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 1.1rem 1.5rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--white); }
.account-page .account-identity span { overflow-wrap: anywhere; min-width: 0; }
.account-page .representative-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.account-page .representative-list li { padding: 1.25rem; border: 1px solid var(--line); border-radius: .75rem; overflow-wrap: anywhere; }
.account-page .representative-list h3 { font-size: .875rem; font-weight: 650; color: var(--muted); margin: 0 0 1rem; }
.account-page .representative-name { font-size: 1.2rem; font-weight: 650; line-height: 1.4; }
.account-page .development-tools { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .875rem; }
.account-page .development-tools h2 { font-size: 1rem; }
.account-page .development-tools a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .branded-account .site-header { flex-wrap: wrap; }
  .branded-account .site-header nav { justify-content: flex-start; }
  .auth-page .main-content { padding: .5rem 1.25rem 2rem; }
  .account-page .representative-list { grid-template-columns: 1fr; }
  .account-page .account-identity { padding: 1rem; }
}


/* Article-only presentation: native explicit choices, no content parsing or clipping. */
.article-page .main-content { max-width: 900px; padding-top: 2.5rem; }
.article-page .article-heading { max-width: 760px; }
.article-page .article-form { margin: 1.5rem 0; }
.article-page .article-stance { padding: 0; border: 0; min-width: 0; }
.article-page .article-stance legend { width: 100%; margin-bottom: .65rem; font-weight: 650; text-align: center; }
.article-page .article-stance #id_stance { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.article-page .article-stance label { display: inline-flex; align-items: center; min-height: 44px; gap: .6rem; padding: .65rem 1.25rem; border: 1px solid #95899e; border-radius: .45rem; cursor: pointer; }
.article-page .article-stance input[type=radio] { display: inline-block; width: 1.2rem; height: 1.2rem; margin: 0; padding: 0; accent-color: var(--purple); }
.article-page .article-stance .helptext { text-align: center; }
.article-page .article-private-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.article-page .article-boundaries { margin-top: 2rem; font-size: .875rem; }
.article-page .article-boundaries h2 { font-size: 1rem; }
.article-page .notice, .article-page .error-summary { overflow-wrap: anywhere; }
.article-page .article-form button[type=submit] { min-height: 44px; }

/* V5 article explainer. The live copy distinguishes available and unconnected steps. */
.article-page .article-how { padding: 2rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.article-page .article-how h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.article-page .article-how h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); margin: .75rem 0; }
.article-page .article-how-tagline { color: var(--muted); font-size: 1.1rem; }
.article-page .article-how ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 2rem 0 0; padding-left: 1.5rem; }
.article-page .article-how li { padding-left: .25rem; overflow-wrap: anywhere; }
.article-page .article-how li::marker { color: var(--purple); font-weight: 800; }
.article-page .article-how li p { color: var(--muted); font-size: .9rem; margin: .4rem 0 0; }

/* V5 completion: local Avenir stack only; no font requests or script navigation. */
.completion-page .main-content, .review-context-page .main-content { max-width: 1000px; padding-top: 2.5rem; }
.dropbeared-page { max-width: 900px; margin: 1.5rem auto; padding: 3.5rem 2.25rem 2rem; text-align: center; }
.dropbeared-page h1 { max-width: 100%; margin: 1.75rem 0 2rem; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; letter-spacing: -.6px; }
.dropbeared-page .dropbeared-recipients { display: block; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.5; font-weight: 500; }
.dropbeared-page .dropbeared-recipient { display: block; overflow-wrap: anywhere; }
.dropbeared-page .dropbeared-lead { display: block; margin: 1.125rem 0 .5rem; font-size: 1.5625rem; line-height: 1.4; font-weight: 500; }
.dropbeared-page .dropbeared-word { display: block; color: #580189; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: clamp(1.875rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.2; letter-spacing: -.8px; overflow-wrap: anywhere; }
.dropbeared-page .dropbeared-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.dropbeared-page .dropbeared-actions .button { min-height: 48px; max-width: 100%; white-space: normal; line-height: 1.5; overflow-wrap: anywhere; }
.dropbeared-page .button-secondary { background: var(--white); color: var(--purple); }
.dropbeared-page .button-secondary:hover { background: #f3eafa; border-color: #3f0163; }
.completion-page summary { min-height: 44px; padding: .65rem 0; cursor: pointer; }
.review-context-page .review-context-recipients { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1rem; list-style: none; padding: 0; }
.review-context-page .review-context-recipients li { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .article-page .article-how { padding: 1.4rem; }
  .article-page .article-how ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dropbeared-page { padding: 1.875rem 1.125rem 1.5rem; margin: 0 auto; }
  .dropbeared-page .dropbeared-actions { flex-direction: column; }
  .dropbeared-page .dropbeared-actions .button { width: 100%; }
}

/* Full, equally weighted letters. No clipping or independent scroll panes. */
.comparison-page .main-content { max-width: 1360px; padding-top: 2.5rem; }
.letter-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.letter-pair > .card { min-width: 0; margin-top: 1rem; }
.letter-pair h2 { font-size: 1.35rem; overflow-wrap: anywhere; }
.letter-pair .issue-text { line-height: 1.75; }
.preference-panel fieldset { border: 0; padding: 0; min-width: 0; }
.preference-panel legend { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.preference-panel label { display: flex; gap: .75rem; align-items: center; min-height: 44px; cursor: pointer; }
.preference-panel input[type=radio] { display: inline-block; width: 1.2rem; height: 1.2rem; padding: 0; margin: 0; accent-color: var(--purple); flex: none; }
.intake-guide summary { cursor: pointer; min-height: 44px; padding: .6rem 0; color: var(--purple); font-weight: 650; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 1100px) { .letter-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.comparison-page .dropbeared-word { color: var(--purple); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }

/* Text wordmark only; use installed fonts, preserving supplied artwork. */
.brand .brand-wordmark { font-family: Avenir, "Avenir Next", "Segoe UI", sans-serif; color: var(--purple); }

.letter-pair.single-letter { grid-template-columns: minmax(0, 1fr); }
/* My Letters list + View dialog (2026-11-21) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.letters-list { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.letters-list th, .letters-list td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.letters-list th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.letters-list tr:last-child td { border-bottom: 0; }
.letters-list .button { padding: .4rem .9rem; }
.entry-dialog { width: min(760px, calc(100% - 2rem)); max-height: 90vh; overflow: auto; border: 1px solid var(--line); border-radius: 1rem; padding: 0 1.5rem 1.5rem; }
.entry-dialog::backdrop { background: #241d3299; }
.dialog-bar { position: sticky; top: 0; display: flex; justify-content: flex-end; background: var(--white); padding: 1rem 0 .5rem; }
@media (max-width: 700px) {
  .letters-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .letters-list, .letters-list tbody, .letters-list tr, .letters-list td { display: block; width: 100%; }
  .letters-list tr { border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .letters-list td { border: 0; padding: .25rem 1rem; }
  .letters-list td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .entry-dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; padding: 0 1rem 1rem; }
}
/* Horizontal radio groups: ratings, stance, preference (2026-11-21) */
.choice-row { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.choice-row legend { width: 100%; padding: 0; margin-bottom: .5rem; font-weight: 650; }
.choice-row label, .rating-scale label { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-weight: 600; cursor: pointer;
  padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.choice-row input[type=radio], .rating-scale input[type=radio] { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--purple); }
.choice-row label:has(input:checked), .rating-scale label:has(input:checked) { border-color: var(--purple); background: #f3eafa; }
.ratings-title { margin: 0 0 .5rem; }
fieldset.rating { border: 0; padding: 0; margin: 0 0 .9rem; min-width: 0; }
fieldset.rating legend { padding: 0; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.rating-wrap { display: inline-block; max-width: 100%; }
.rating-scale { display: flex; gap: .35rem; }
.rating-scale label { padding: .35rem .55rem; gap: .3rem; }
.rating-ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: .15rem; padding: 0 .2rem; }
@media (max-width: 420px) { .rating-scale { gap: .25rem; } .rating-scale label { padding: .3rem .4rem; } }

/* Learn More committees: every assignment, relevant ones highlighted (Cory 2026-11-21) */
.assignments li { margin: .25rem 0; }
.assignments li.relevant { background: #fff7d6; border-left: 3px solid #c99a00; padding: .2rem .5rem; }
.assignments .reason { display: block; font-size: .95em; }
.full-width { width: 100%; }
.pre-wrap { white-space: pre-wrap; }
/* Galago brand (docs/BRAND.md): small-head logo in the header, large-head logo on sign-in */
.brand .brand-logo { display: block; height: 44px; width: auto; max-width: 60vw; }
.auth-page .auth-logo { width: 220px; }
.auth-page .login-panel .auth-logo { width: 260px; }
.auth-page .site-header .brand-logo { display: none; }

/* Founder console */
.console-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .5rem; }
.console-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.console-table th, .console-table td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.console-wrap { overflow-x: auto; }
.console-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.console-filters label { font-weight: 500; }
.console-filters input, .console-filters select { width: auto; display: inline-block; }
.feedback-item.reviewed { opacity: .7; }
.research-records li { margin: .6rem 0; }
.research-records li.flagged { border-left: 3px solid #b3261e; padding-left: .5rem; }
.console .card, .console-wrap { max-width: 100%; min-width: 0; overflow-x: auto; }
