/* Playrs: deep navy, warm gold, open white space. */
:root {
  --ink: #0b1c26;
  --navy: #06151e;
  --muted: #60707a;
  --gold: #dbb65f;
  --gold-deep: #795b20;
  --gold-hover: #e4c47d;
  --gold-wash: #f6f1e5;
  --bg: #f7f8f8;
  --line: #dce2e5;
  --white: #fff;
  --radius: 5px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 5px; }
a:hover { text-decoration-color: var(--gold-deep); }
h1, h2, h3 { margin: 0 0 18px; font-weight: 750; line-height: 1.12; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
h2 { font-size: 1.35rem; letter-spacing: -.025em; }
p { margin: 0 0 18px; }
::selection { background: var(--gold); color: var(--navy); }
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px max(28px, calc((100vw - 1280px) / 2));
  background: var(--navy);
  border-bottom: 1px solid #32434d;
  color: var(--white);
}
.brand {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 3px;
  color: white;
  text-decoration: none;
  line-height: 1;
}
.brand-wordmark { font-size: 1.4rem; font-weight: 500; letter-spacing: .27em; }
.brand-accent { color: var(--gold); }
.brand-caption { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: #cbd5da; }
.site-header nav { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; justify-content: flex-end; }
.site-header nav > a { padding: 7px 0; color: white; font-size: .94rem; text-decoration: none; border-bottom: 1px solid transparent; }
.site-header nav > a:hover, .site-header nav > a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-header .account-link { display: inline-flex; align-items: center; gap: 7px; }
.account-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.site-header .muted { color: #cbd5da; font-size: .82rem; }
.container { max-width: 1280px; margin: auto; padding: 52px 28px; }
footer.container { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .78rem; }
footer a { color: inherit; }
.eyebrow {
  display: table;
  margin-bottom: 25px;
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
  color: var(--gold-deep);
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .065em;
  text-transform: uppercase;
  line-height: 1.35;
}
.muted, .hint { color: var(--muted); }
.hint { font-size: .85rem; line-height: 1.65; margin: 9px 0 0; }
.narrow { max-width: 590px; margin: 10px auto 34px; }
.narrow > p:not(.eyebrow) { color: var(--muted); }
.narrow > a:first-child, .survey-page > a:first-child { display: inline-block; font-size: .84rem; margin-bottom: 24px; }
.narrow > h1 { margin-top: 9px; }
.survey-page { max-width: 950px; margin: auto; }
.card { margin-bottom: 26px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.narrow > form.card { border-top: 3px solid var(--gold); }
.grid { display: grid; gap: 24px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: 2fr 1fr; }
.stats { margin-bottom: 12px; }
.stats .card { padding: 28px 30px; border-top: 3px solid var(--gold); }
.stats strong { display: block; margin-top: 10px; font-size: 3.4rem; line-height: 1.15; font-weight: 700; letter-spacing: -.055em; }
.stats small { font-size: 1.25rem; color: var(--muted); font-weight: 400; }
.stats .card:first-child { background: var(--navy); color: var(--gold); border-color: var(--navy); border-top-color: var(--gold); }
.stats .card:first-child .muted { color: #e4e9ec; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.page-heading > div { min-width: 0; }
.page-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.page-heading h1 { margin-bottom: 15px; }
.actions, .inline-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions { flex-shrink: 0; }
.button, input[type="submit"], button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  min-height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.button:hover, input[type="submit"]:hover, button:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.button.secondary, button.secondary { color: var(--ink); background: transparent; border-color: #c5ced3; }
.button.secondary:hover, button.secondary:hover { background: #eef2f4; border-color: #a6b4bd; }
.button.small { min-height: 36px; padding: 8px 15px; font-size: .79rem; }
button:disabled, input[type="submit"]:disabled { opacity: .6; cursor: wait; }
.site-header .button.secondary { color: white; border-color: #4e626e; }
.site-header .button.secondary:hover { background: #162b38; border-color: #8295a0; }
.stack { display: flex; flex-direction: column; gap: 23px; }
.stack > .card { margin: 0; }
label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; line-height: 1.5; }
input:not([type="radio"], [type="checkbox"], [type="submit"]), select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #bcc8cf;
  border-radius: 3px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
}
input::placeholder, textarea::placeholder { color: #74818a; }
textarea { resize: vertical; }
textarea[readonly] { background: #f3f6f7; font-size: .84rem; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible { outline-color: #f4d794; }
.inline-form label { margin: 0; }
.inline-form select { width: auto; max-width: 100%; }
.badge { display: inline-block; padding: 5px 12px; border: 1px solid #e3d8bd; border-radius: 30px; background: var(--gold-wash); color: #655734; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.flash { padding: 18px 22px; margin-bottom: 28px; border: 1px solid #b99038; border-left: 5px solid #f0c65f; border-radius: var(--radius); background: #8a682a; color: white; font-weight: 600; box-shadow: 0 8px 22px rgba(6, 21, 30, .12); }
.flash.notice { background: #214a3a; border-color: #356c57; border-left-color: var(--gold); color: #fffdf7; }
.flash.alert { background: #783632; border-color: #9a4e48; border-left-color: #efbd59; color: #fff8f5; }
.flash a { color: inherit; text-decoration-color: rgba(255, 255, 255, .65); }
.flash ul { margin: 0; padding-left: 20px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .9rem; }
th, td { padding: 18px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
td:first-child, th:first-child { padding-left: 0; }
tbody tr:last-child td { border-bottom: 0; }
td a { font-size: .82rem; text-decoration-color: #ad9c71; }
.empty { padding: 26px 0; color: var(--muted); }
.version-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.question-editor { margin: 0 0 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; min-width: 0; }
.question-editor > legend { padding: 0 10px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.question-editor > div { margin-bottom: 20px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.privacy-note { padding: 18px 21px; border-left: 3px solid var(--gold); background: var(--gold-wash); color: #4c5e69; font-size: .9rem; line-height: 1.7; }
.survey-page section.card { border-top: 3px solid var(--navy); }
.survey-page section.card > h2 { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.survey-question { margin: 0; padding: 18px 0; border: 0; min-width: 0; }
.survey-question + .survey-question { border-top: 1px solid var(--line); }
.survey-question legend { padding: 12px 0; max-width: 100%; font-weight: 600; font-size: .98rem; }
.answer-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.answer-choice { display: flex; align-items: flex-start; gap: 9px; padding: 16px 12px; margin: 0; border: 1px solid #cbd5db; border-radius: 4px; font-size: .77rem; font-weight: 400; cursor: pointer; transition: background-color .15s, border-color .15s; }
.answer-choice:hover { background: #f3f6f7; border-color: #869ba8; }
.answer-choice:has(input:checked) { background: var(--gold-wash); border-color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.answer-choice input { accent-color: var(--navy); margin: 5px 0 0; flex-shrink: 0; }
.answer-choice strong { display: block; font-size: 1.15rem; margin-bottom: 7px; }
.progress-line { padding: 14px 0; color: var(--muted); font-size: .86rem; border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
details textarea, details p { margin-top: 14px; }
.language-switch { display: flex; align-items: center; }
.language-switch select { width: auto; min-height: 36px; padding: 7px 25px 5px 1px; border: 0; border-bottom: 1px solid #71828b; border-radius: 0; background-color: transparent; color: white; font-size: .79rem; }
.language-switch select:hover { border-bottom-color: var(--gold); }
.site-header .language-switch select:focus-visible { outline: 0; border-bottom-color: #dce4e8; }
.language-switch select option { color: var(--ink); background: white; }
.site-header .language-switch .button { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.site-header .language-switch .button:hover { color: var(--navy); background: var(--gold-hover); border-color: var(--gold-hover); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.auth-alternatives { display: grid; gap: 7px; }
.auth-alternatives p { margin: 0; color: var(--muted); }
.legal-note { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.settings-page { max-width: 760px; margin: auto; }
.settings-page > .muted { margin-bottom: 28px; }
.settings-password-fields { margin-top: 18px; }
.danger-zone { margin-top: 38px; border-top: 3px solid #813b37; }
.danger-zone > p { color: var(--muted); }
.danger-zone .button.danger { justify-self: start; }
.legal-page { max-width: 920px; margin: auto; }
.legal-document-status { display: flex; gap: 9px 18px; margin-bottom: 34px; padding: 18px 20px; flex-wrap: wrap; border-left: 4px solid var(--gold); background: var(--gold-wash); }
.legal-document-status span { color: var(--muted); }
.legal-page article > h1 { margin-bottom: 8px; }
.legal-updated { margin-bottom: 38px; color: var(--muted); }
.legal-page section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-page section h2 { margin-bottom: 13px; }
.legal-page section p:last-child, .legal-page section ul:last-child { margin-bottom: 0; }
.legal-page li + li { margin-top: 7px; }

/* A more editorial introduction, with the same two entry points. */
.landing-page { background: white; }
.landing-page main.container { max-width: none; padding: 0; }
.landing-page main > .flash { max-width: 1224px; margin: 24px auto; }
.hero {
  display: grid;
  min-height: calc(100vh - 88px);
  min-height: calc(100svh - 88px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: clamp(40px, 7vw, 100px);
  align-items: end;
  padding: 80px max(28px, calc((100vw - 1224px) / 2)) 86px;
  background: var(--navy);
  color: #faf9f2;
}
.hero .eyebrow { color: var(--gold); margin-bottom: 38px; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(2.6rem, 4.8vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 em { display: block; margin-top: 12px; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.14; letter-spacing: -.035em; }
.hero .lead { max-width: 460px; margin: 0 0 34px; color: #e0e7eb; font-size: 1.1rem; line-height: 1.85; }
.hero .actions { align-items: stretch; gap: 14px; }
.hero .button.secondary { color: white; border-color: #526975; }
.hero .button.secondary:hover { background: #162b38; border-color: #8295a0; }
.home-steps { padding-top: 66px; padding-bottom: 50px; gap: 54px; }
.home-steps .card { margin: 0; padding: 0; border: 0; border-radius: 0; }
.home-steps p { color: var(--muted); line-height: 1.85; margin-bottom: 0; }
.home-steps h2 { font-size: 1.25rem; margin-bottom: 14px; }
.step { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 29px; color: var(--gold-deep); font-family: Impact, "Arial Narrow", Arial, sans-serif; font-size: 1.05rem; letter-spacing: .06em; }
.step::after { content: ""; width: 54px; height: 1px; background: #c1b18c; }

@media (max-width: 1100px) {
  .site-header { gap: 22px; }
  .site-header nav { gap: 17px; }
  .site-header .muted { display: none; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; }
  .hero { grid-template-columns: 1.15fr 1fr; column-gap: 40px; }
}
@media (max-width: 760px) {
  .site-header { padding: 20px; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
  .brand-wordmark { font-size: 1.2rem; }
  .brand-caption { font-size: .53rem; }
  .site-header nav { flex: 1 1 220px; gap: 12px 18px; }
  .site-header nav > a { font-size: .83rem; }
  .language-switch select { min-height: 32px; }
  .container { padding: 34px 20px; }
  .grid.three { grid-template-columns: 1fr; }
  .grid.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stats .card { padding: 16px 11px; }
  .stats .muted { font-size: .73rem; line-height: 1.4; display: block; }
  .stats strong { font-size: 2rem; margin-top: 14px; }
  .stats small { font-size: 1rem; }
  .card { padding: 22px; }
  .page-heading { flex-direction: column; gap: 22px; margin-bottom: 27px; }
  .actions { max-width: 100%; gap: 10px; }
  .button, input[type="submit"], button { padding: 12px 20px; font-size: .88rem; }
  .inline-form { width: 100%; }
  .inline-form select { flex: 1; min-width: 0; }
  .grid.two { grid-template-columns: 1fr; }
  .question-editor { padding: 20px; }
  .version-row { flex-wrap: wrap; gap: 12px; }
  .answer-choices { grid-template-columns: 1fr; gap: 9px; }
  .answer-choice { padding: 14px; align-items: center; font-size: .87rem; }
  .answer-choice input { margin: 0; }
  .answer-choice span { display: flex; align-items: center; gap: 14px; }
  .answer-choice strong { margin: 0; font-size: 1rem; min-width: 10px; }
  .privacy-note { padding: 16px 18px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 49px 24px 52px; }
  .hero .eyebrow { margin-bottom: 29px; }
  .hero h1 { font-size: clamp(2.5rem, 8.7vw, 3.7rem); }
  .hero .lead { font-size: 1rem; line-height: 1.8; margin-bottom: 26px; }
  .home-steps { gap: 36px; padding-top: 42px; padding-bottom: 24px; }
  .home-steps .card + .card { border-top: 1px solid var(--line); padding-top: 30px; }
  .step { margin-bottom: 18px; }
  footer.container { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Live password feedback and clearer sharing actions. */
.password-input { position: relative; }
.password-input input { padding-right: 108px !important; }
.password-toggle { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); min-height: 32px; padding: 5px 12px; border-radius: 4px; border: 0; background: #edf2f5; color: var(--ink); font-size: .8rem; }
.password-toggle:hover { background: #dde7ed; }
.password-feedback { min-height: 1.5em; }
.password-fields [data-state="matched"] { color: #355831; }
.password-fields [data-state="pending"] { color: #80612b; }
.password-progress { appearance: none; -webkit-appearance: none; width: 100%; height: 5px; display: block; margin-top: 13px; border: 0; border-radius: 8px; overflow: hidden; background: #e5eaed; }
.password-progress::-webkit-progress-bar { background: #e5eaed; }
.password-progress::-webkit-progress-value { background: #b49c5d; transition: width .15s; }
.password-progress::-moz-progress-bar { background: #b49c5d; }
.password-progress[data-state="matched"]::-webkit-progress-value { background: #5c7950; }
.password-progress[data-state="matched"]::-moz-progress-bar { background: #5c7950; }
.invite-link-card { background: #eef3f6; border-color: #cbd8e0; border-top: 3px solid #526e80; }
.invite-link-card p { color: var(--muted); }
.share-invitation { padding: 22px; background: #eef3f6; border: 1px solid #cbd8e0; border-radius: var(--radius); }
.share-invitation h2 { font-size: 1.15rem; }
.share-invitation textarea { margin: 14px 0; background: #fff; }
.share-invitation [role="status"] { display: block; margin-top: 10px; color: #355831; font-size: .85rem; }
.invitation-email-form { margin-top: 8px; padding: 24px; border: 1px solid var(--line); background: #f8f9f9; }
.invitation-email-form input[type="submit"] { justify-self: start; }
.invitation-row-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.button-link { appearance: none; padding: 0; color: var(--ink); background: transparent; border: 0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.button-link.danger-link { color: #813b37; }
.invitation-delete-action { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.invitation-accepted { padding: 22px; border-left: 4px solid #285a42; background: #edf5f1; }
.invitation-accepted h2 { margin-bottom: 10px; }
.measurement-overview { border-top: 3px solid var(--gold); }
turbo-frame#measurement_dashboard { display: block; }
.results-section { padding-bottom: 32px; }
.results-topline { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 20px; }
.measurement-summary { display: flex; align-items: center; gap: 28px; min-width: 0; }
.measurement-picker { display: flex; align-items: center; gap: 12px; min-width: 390px; }
.measurement-picker-label { flex-shrink: 0; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.measurement-select { position: relative; flex: 1; min-width: 240px; }
.measurement-select summary { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 9px 42px 9px 16px; background: white; border: 1px solid #bdcbd3; border-radius: var(--radius); cursor: pointer; list-style: none; }
.measurement-select summary::-webkit-details-marker { display: none; }
.measurement-select summary::after { content: ""; position: absolute; right: 17px; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.measurement-select[open] summary { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(219, 182, 95, .25); }
.measurement-select[open] summary::after { transform: translateY(3px) rotate(225deg); }
.measurement-select-name { min-width: 0; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.measurement-select .round-status { flex-shrink: 0; padding: 3px 8px; font-size: .62rem; }
.measurement-options { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; width: 100%; min-width: 310px; padding: 7px; background: white; border: 1px solid #bdcbd3; border-radius: var(--radius); box-shadow: 0 14px 32px rgba(6, 21, 30, .16); }
.measurement-option { display: block; padding: 11px 12px; border-radius: 3px; color: var(--ink); text-decoration: none; }
.measurement-option:hover { background: var(--gold-wash); }
.measurement-option[aria-current="true"] { background: #eef2f4; }
.measurement-option-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 700; }
.measurement-option time { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; }
.measurement-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.measurement-title h2 { margin: 0; font-size: 1.85rem; }
.round-status { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 30px; color: white; font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.round-status-open { background: #285a42; }
.round-status-closed { background: #813b37; }
.score-method { margin: 12px 0 0; }
.measurement-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 30px; }
.results-section + .participation-section { padding-top: 32px; border-top: 1px solid var(--line); }
.participation-section > .page-heading { margin-bottom: 24px; }
.overall-score { min-width: 180px; padding-left: 28px; border-left: 1px solid var(--line); }
.overall-score strong { color: var(--gold-deep); font-size: 3.5rem; line-height: 1; letter-spacing: -.06em; }
.overall-score span { color: var(--muted); }
.overall-score small { display: block; margin-top: 9px; color: var(--muted); }
.score-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.pillar-score > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 54px; }
.pillar-score span { font-size: .82rem; font-weight: 600; line-height: 1.4; }
.pillar-score strong { color: var(--gold-deep); font-size: 1.35rem; line-height: 1; }
.pillar-score progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 7px; border: 0; border-radius: 10px; overflow: hidden; background: var(--line); }
.pillar-score progress::-webkit-progress-bar { background: var(--line); }
.pillar-score progress::-webkit-progress-value { background: var(--gold); }
.pillar-score progress::-moz-progress-bar { background: var(--gold); }
.results-privacy { margin: 25px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.results-locked { padding: 22px; background: var(--gold-wash); border-left: 3px solid var(--gold); }
.results-locked p { margin: 5px 0 0; color: var(--muted); }
.impact-comparison { margin-top: 30px; padding: 28px; border: 1px solid #d7c38f; border-radius: var(--radius); background: var(--gold-wash); }
.impact-comparison-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.impact-comparison-heading .eyebrow { margin-bottom: 8px; }
.impact-comparison-heading h3, .impact-comparison-heading p { margin-bottom: 0; }
.comparison-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; overflow: hidden; border-radius: var(--radius); }
.comparison-summary > div { min-height: 92px; padding: 17px 20px; background: white; border-right: 1px solid var(--line); }
.comparison-summary > div:last-child { border-right: 0; }
.comparison-summary span { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.comparison-summary strong { display: inline-block; margin-top: 7px; font-size: 1.7rem; line-height: 1; }
.comparison-summary small { font-size: .72rem; font-weight: 600; }
.comparison-summary .comparison-change { color: white; background: #285a42; }
.comparison-summary .comparison-change.negative { background: #813b37; }
.comparison-summary .comparison-change span, .comparison-summary .comparison-change small { color: rgba(255, 255, 255, .78); }
.comparison-change > small { display: inline-block; margin-left: 8px; }
.comparison-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.comparison-pillar { display: grid; align-content: space-between; min-height: 112px; padding: 14px; background: white; border: 1px solid rgba(121, 91, 32, .18); border-radius: 3px; }
.comparison-pillar > span:first-child { font-size: .72rem; font-weight: 700; line-height: 1.35; }
.comparison-values { color: var(--muted); font-size: .75rem; }
.comparison-pillar strong { font-size: 1.1rem; }
.comparison-pillar .positive { color: #285a42; }
.comparison-pillar .negative { color: #813b37; }
.comparison-unavailable { margin-top: 30px; padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--gold-wash); color: var(--gold-deep); }
.compact-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.compact-stat { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; padding: 13px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.compact-stat span { color: var(--muted); font-size: .78rem; font-weight: 600; line-height: 1.3; }
.compact-stat strong { flex-shrink: 0; color: var(--ink); font-size: 1.35rem; line-height: 1; }
.compact-stat small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.compact-stat-primary { background: var(--navy); border-color: var(--navy); }
.compact-stat-primary span { color: #dce4e8; }
.compact-stat-primary strong { color: var(--gold); }
.compact-stat-label-mobile { display: none; }
.platform-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.platform-section { margin-top: 46px; }
.platform-management-panel { padding: 30px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { margin: 0; }
.platform-company-list { display: grid; gap: 18px; }
.platform-company-card { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.platform-company-card[hidden] { display: none; }
.platform-company-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.platform-company-heading h3 { margin-bottom: 7px; font-size: 1.45rem; }
.platform-company-heading h3 a { color: var(--ink); text-decoration-color: transparent; }
.platform-company-heading h3 a:hover { text-decoration-color: var(--gold); }
.platform-company-heading p { margin: 0; }
.platform-overall-score { display: flex; align-items: baseline; gap: 5px; color: var(--gold-deep); }
.platform-overall-score strong { font-size: 2.8rem; line-height: 1; letter-spacing: -.05em; }
.platform-overall-score span { color: var(--muted); }
.platform-company-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; border: 1px solid var(--line); }
.platform-company-metrics div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-right: 1px solid var(--line); }
.platform-company-metrics div:last-child { border-right: 0; }
.platform-company-metrics span, .platform-pillar-grid span { color: var(--muted); font-size: .72rem; font-weight: 600; }
.platform-company-metrics strong { font-size: 1.15rem; }
.platform-pillar-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.platform-pillar-grid div { display: flex; justify-content: space-between; gap: 12px; min-height: 70px; padding: 13px; border-top: 2px solid var(--gold); background: var(--gold-wash); }
.platform-pillar-grid strong { color: var(--gold-deep); font-size: 1.2rem; }
.platform-score-pending { margin: 0; padding: 15px 18px; border-left: 3px solid var(--gold); background: var(--gold-wash); color: var(--muted); }
.company-search-field { max-width: 560px; margin-bottom: 22px; }
.company-search-field label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; }
.company-search-field input { width: 100%; }
.company-detail-link { display: inline-block; margin-top: 20px; font-weight: 700; }
.company-search-empty { margin: 24px 0 0; }
.platform-survey-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; }
.platform-survey-heading strong { font-size: 1.25rem; }
.platform-survey-heading span { color: var(--muted); font-size: .82rem; }
.primary-survey-note { margin: 0 0 22px; padding: 14px 17px; border-left: 4px solid #285a42; background: #edf5f0; color: #214a3a; font-weight: 600; }
.badge-primary { color: white; background: #285a42; border-color: #285a42; }
.management-tabs { display: flex; gap: 32px; margin: 26px 0 0; border-bottom: 1px solid var(--line); }
.management-tab { padding: 0 2px 13px; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.management-tab:hover { color: var(--ink); }
.management-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.management-panel [hidden] { display: none; }
.management-panel { margin-bottom: 0; padding-top: 24px; border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.management-panel > div > .table-scroll table { margin-top: 0; }
.management-panel-actions { display: flex; justify-content: flex-start; margin-bottom: 16px; }
.platform-company-page-heading .back-link { display: inline-block; margin-bottom: 24px; }
.platform-company-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platform-detail-section { margin-top: 28px; }
.platform-detail-section.card { padding: 30px; }
.platform-round-list { display: grid; gap: 18px; }
.platform-round-card { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.platform-round-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.platform-round-heading p { margin: 8px 0 0; }
.platform-round-heading .measurement-title { justify-content: flex-start; }
.platform-round-heading .measurement-title h3 { margin: 0; }
.platform-round-metrics { margin-bottom: 20px; }
.platform-participation-details { margin-top: 22px; border-top: 1px solid var(--line); }
.platform-participation-details summary { padding-top: 18px; font-weight: 700; cursor: pointer; }
.platform-participation-details .table-scroll { margin-top: 16px; }
.impact-empty-state { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; padding: 34px; text-align: center; }
.impact-empty-state h2 { max-width: 520px; margin-bottom: 24px; }
.membership-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button.danger { color: #813b37; background: transparent; border-color: #cda9a6; }
.button.danger:hover { color: white; background: #813b37; border-color: #813b37; }
@media (max-width: 900px) { .score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .platform-stats, .platform-pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .compact-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .compact-stat { gap: 8px; padding: 12px 14px; } .compact-stat-invitations { display: none; } .compact-stat-label-full { display: none; } .compact-stat-label-mobile { display: inline; } .management-tabs { gap: 20px; overflow-x: auto; } }
@media (max-width: 760px) { .results-topline { align-items: flex-start; flex-direction: column; } .measurement-summary { width: 100%; } .measurement-picker { order: -1; width: 100%; min-width: 0; flex-direction: column; align-items: stretch; gap: 7px; } .measurement-picker-label { align-self: flex-start; } .measurement-select { width: 100%; min-width: 0; } .measurement-options { left: 0; right: auto; min-width: min(310px, calc(100vw - 84px)); } .impact-comparison-heading { align-items: flex-start; flex-direction: column; } .measurement-title { display: none; } .comparison-summary { grid-template-columns: 1fr; } .comparison-summary > div { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .score-grid { grid-template-columns: 1fr; } .overall-score { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 620px) { .section-heading, .platform-company-heading { align-items: flex-start; flex-direction: column; } .platform-company-metrics { grid-template-columns: 1fr; } .platform-company-metrics div { border-right: 0; border-bottom: 1px solid var(--line); } .platform-company-metrics div:last-child { border-bottom: 0; } }
@media (max-width: 620px) { .platform-management-panel, .platform-detail-section.card, .platform-company-card, .platform-round-card { padding: 18px; } .platform-company-stats { grid-template-columns: 1fr; } .platform-round-heading { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .password-progress::-webkit-progress-value { transition: none; } }
.response-card { position: relative; }
.response-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.response-title-row h2, .response-title-row .badge { margin: 0; }
.response-card .badge-completed { color: white; background: #285a42; border-color: #285a42; }
@media (max-width: 620px) { .response-card { margin-top: 18px; } .response-title-row { margin-bottom: 14px; } .response-title-row .badge { position: absolute; top: -14px; right: 16px; } }
.survey-editor-actions {
  margin-bottom: 30px;
}
