:root {
  --blue: #355c7d;
  --blue-dark: #203e58;
  --green: #5da72f;
  --green-dark: #3e7e1f;
  --ink: #233746;
  --muted: #647784;
  --line: #d9e3e9;
  --surface: #ffffff;
  --page: #edf2f5;
  font-family: Aptos, Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #f8fbfd 0, var(--page) 48rem); }
button, input, textarea { font: inherit; }
.shell { width: min(980px, calc(100% - 28px)); margin: 28px auto 60px; }
.brand-card { display: flex; justify-content: center; padding: 20px 28px 18px; background: #fff; border-radius: 18px 18px 0 0; border-bottom: 4px solid var(--green); box-shadow: 0 16px 40px rgba(36, 62, 80, .10); }
.brand-logo { width: min(310px, 75vw); height: auto; display: block; }
.form-card, .dashboard-card, .status-card { background: var(--surface); padding: clamp(24px, 5vw, 52px); border-radius: 0 0 18px 18px; box-shadow: 0 16px 40px rgba(36, 62, 80, .10); }
.intro { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { color: var(--blue); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.03em; }
.intro > p:last-child, .status-card > p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; margin: 0; }
.question-card, .free-card, .identity-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 0 0 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.question-card legend { width: 100%; padding: 0 0 16px; color: var(--blue-dark); font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 12px; }
.question-number { width: 30px; height: 30px; flex: 0 0 30px; display: inline-grid; place-items: center; background: #e7f1f7; color: var(--blue); border-radius: 50%; }
.question-symbol { width: 34px; height: 34px; flex: 0 0 34px; display: inline-grid; place-items: center; background: #edf7e8; color: #397323; border: 1px solid #cfe6c2; border-radius: 10px; font-size: 1.15rem; line-height: 1; }
.choice-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.choice-button { position: relative; cursor: pointer; min-width: 0; }
.choice-button input { position: absolute; opacity: 0; pointer-events: none; }
.choice-button > span { min-height: 62px; height: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; color: #355263; background: #f5f8fa; border: 2px solid #dce5ea; border-radius: 10px; text-align: center; font-size: .88rem; font-weight: 700; line-height: 1.25; box-shadow: 0 2px 0 rgba(35, 55, 70, .05); transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.choice-button:hover > span { transform: translateY(-1px); border-color: #91a8b7; box-shadow: 0 5px 14px rgba(35, 55, 70, .10); }
.choice-icon { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #9aabb5; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px #fff; }
.choice-button input:focus-visible + span { outline: 3px solid rgba(53, 92, 125, .28); outline-offset: 2px; }
.choice-button input:checked + span { color: #285b24; background: #e8f5df; border-color: var(--green); box-shadow: 0 0 0 3px rgba(93, 167, 47, .14); transform: translateY(-1px); }
.choice-button input:checked + span .choice-icon { border-color: var(--green); background: var(--green); }
.question-card.needs-answer { border-color: #c55345; box-shadow: 0 0 0 3px rgba(197, 83, 69, .12); }
.free-card > label { display: block; color: var(--blue-dark); font-size: 1.12rem; font-weight: 800; margin-bottom: 7px; }
.free-card > p { color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
textarea, .field-grid input, .login-form input { width: 100%; border: 2px solid #d7e1e7; border-radius: 10px; padding: 13px 14px; color: var(--ink); background: #fbfcfd; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
textarea:focus, .field-grid input:focus, .login-form input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53, 92, 125, .12); }
.counter { color: var(--muted); font-size: .78rem; text-align: right; margin-top: 5px; }
.switch-row { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.switch-row > input { position: absolute; opacity: 0; }
.switch { position: relative; width: 50px; height: 29px; flex: 0 0 50px; border-radius: 20px; background: #c8d2d8; transition: background .2s; }
.switch::after { content: ""; position: absolute; width: 23px; height: 23px; top: 3px; left: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s; }
.switch-row > input:checked + .switch { background: var(--green); }
.switch-row > input:checked + .switch::after { transform: translateX(21px); }
.switch-row > input:focus-visible + .switch { outline: 3px solid rgba(53, 92, 125, .28); outline-offset: 2px; }
.switch-row strong, .switch-row small { display: block; }
.switch-row strong { color: var(--blue-dark); }
.switch-row small { color: var(--muted); margin-top: 3px; }
.identity-fields { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-grid label, .login-form label { color: var(--blue-dark); font-size: .86rem; font-weight: 700; }
.field-grid input, .login-form input { display: block; margin-top: 7px; font-weight: 400; }
.submit-area { text-align: center; padding-top: 14px; }
.submit-button { border: 0; border-radius: 11px; padding: 15px 26px; color: #fff; background: linear-gradient(135deg, #66b538, #4a9225); font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(75, 144, 39, .28); display: inline-flex; align-items: center; justify-content: center; gap: 24px; transition: transform .15s, filter .15s, box-shadow .15s; }
.submit-button:hover { transform: translateY(-2px); filter: brightness(1.03); box-shadow: 0 11px 22px rgba(75, 144, 39, .34); }
.submit-button:active { transform: translateY(1px); box-shadow: 0 4px 9px rgba(75, 144, 39, .25); }
.submit-area p { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.honey { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.messages { margin: 14px 0; }.message { padding: 12px 16px; border-radius: 10px; }.message.error { background: #fee9e6; color: #8f3e34; }
.status-card { text-align: center; padding-block: 70px; }.status-card.compact { max-width: 620px; margin: 0 auto; }.status-icon { width: 66px; height: 66px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; font-size: 2rem; font-weight: 900; }.status-icon.success { color: #317a27; background: #e5f5dc; }.status-icon.neutral { color: var(--blue); background: #e7f1f7; }
.login-form { max-width: 360px; margin: 28px auto 0; display: grid; gap: 18px; }
.dashboard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.dashboard-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }.dashboard-actions { display: flex; align-items: center; gap: 12px; }.secondary-button { color: #fff; background: var(--blue); text-decoration: none; padding: 10px 14px; border-radius: 8px; font-weight: 700; }.link-button { border: 0; color: var(--blue); background: transparent; cursor: pointer; text-decoration: underline; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }.metrics article { padding: 20px; border-radius: 12px; background: #f1f6f8; }.metrics strong, .metrics span { display: block; }.metrics strong { color: var(--blue); font-size: 2rem; }.metrics span { color: var(--muted); margin-top: 4px; }
.theme-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.theme-results article { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }.theme-results h2 { font-size: 1rem; min-height: 42px; color: var(--blue-dark); }.score strong, .score span { display: block; }.score strong { color: var(--green-dark); font-size: 2rem; }.score span { color: var(--muted); }.distribution { display: grid; gap: 7px; margin-top: 15px; }.distribution span { color: var(--muted); font-size: .78rem; }.distribution b { color: var(--ink); display: inline-block; min-width: 20px; }
.section-title { color: var(--blue-dark); margin-top: 34px; }.table-wrap { overflow-x: auto; }table { border-collapse: collapse; width: 100%; font-size: .82rem; }th, td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }th { color: var(--blue-dark); background: #f5f8fa; }.status { white-space: nowrap; padding: 4px 7px; border-radius: 20px; }.status.accepted { color: #2f662a; background: #e8f5df; }.status.review { color: #82621f; background: #fff2d5; }
details { margin-top: 25px; color: var(--muted); }

@media (max-width: 760px) {
  .shell { width: min(100% - 18px, 620px); margin-top: 9px; }
  .form-card, .dashboard-card, .status-card { padding: 22px 16px 32px; }
  .choice-row { grid-template-columns: 1fr 1fr; }
  .choice-button > span { min-height: 58px; }
  .field-grid, .metrics, .theme-results { grid-template-columns: 1fr; }
  .dashboard-head { display: block; }.dashboard-actions { margin-top: 18px; }
}

@media (max-width: 400px) {
  .choice-row { gap: 7px; }
  .choice-button > span { font-size: .78rem; padding-inline: 5px; }
  .choice-icon { display: none; }
}
