/* Assessment module styles. Uses the site's Iron variables from /styles.css */
.assess-page { max-width: 820px; }
.assess-app { margin-top: 8px; }
.assess-app h2 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 0; }
.assess-app h2.sec { margin-top: 48px; }
.assess-app .area-intro { color: var(--muted); font-size: 19px; line-height: 1.55; margin: 12px 0 24px; }
.assess-app .progress { height: 6px; background: #2A2E33; margin-bottom: 24px; }
.assess-app .bar-fill { height: 100%; background: var(--accent); transition: width .25s; }
.assess-app fieldset.q { border: 0; border-top: 1px solid #2A2E33; margin: 0; padding: 20px 0 14px; min-width: 0; }
.assess-app fieldset.q legend { padding: 0 0 12px; font-size: 19px; line-height: 1.4; color: var(--sage); float: left; width: 100%; }
.assess-app fieldset.imp legend { color: var(--accent); }
.scale-wrap { clear: both; }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.scale .opt { position: relative; }
.scale input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.scale label { display: flex; align-items: center; justify-content: center; min-height: 48px; background: var(--green-2); border: 2px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 20px; cursor: pointer; }
.scale input:hover + label { border-color: var(--muted); }
.scale input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--green); }
.scale input:focus-visible + label { outline: 3px solid var(--sage); outline-offset: 2px; }
.ends { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.ends .mid { text-align: center; }
.nav-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.assess-app .btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; height: auto; min-height: 56px; line-height: 1.2; padding-top: 14px; padding-bottom: 14px; text-align: center; }
.assess-app .btn:disabled { opacity: .4; cursor: not-allowed; }
.assess-app .btn.ghost { background: transparent; color: var(--sage); border: 2px solid var(--line); }
.assess-app .btn.ghost:hover { border-color: var(--sage); }

/* Results */
.summary { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--green-2); border-top: 3px solid var(--accent); padding: 24px; margin: 16px 0 8px; }
.summary .num { font-family: var(--display); font-weight: 700; font-size: 88px; line-height: 1; color: var(--accent); }
.summary .of { font-family: var(--display); font-size: 28px; color: var(--muted); }
.summary .lab { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 18px; }
.summary .sub { margin: 6px 0 0; color: var(--muted); max-width: 42ch; line-height: 1.5; }
.radar-wrap { background: var(--green-2); padding: 12px; }
.radar { display: block; width: 100%; height: auto; max-width: 740px; margin: 0 auto; }
.radar .ring { fill: none; stroke: #2A2E33; stroke-width: 1; }
.radar .spoke { stroke: #2A2E33; stroke-width: 1; }
.radar .shape { fill: rgba(255,90,54,.28); stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; }
.radar .dot { fill: var(--accent); }
.radar .alabel { fill: var(--sage); font: 600 17px var(--body); }
.radar .aval { fill: var(--accent); font: 700 16px var(--display); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 17px; margin-bottom: 6px; align-items: baseline; }
.bar-head .nm { display: inline-flex; gap: 10px; align-items: baseline; }
.bar-head .rk { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--accent); color: var(--green); font-family: var(--display); font-weight: 700; font-size: 16px; }
.bar-val { color: var(--muted); font-size: 14px; }
.bar-val.band-low { color: var(--accent); }
.bar-track { position: relative; height: 12px; background: #2A2E33; }
.bar-fill2 { height: 100%; background: var(--accent); }
.imp-mark { position: absolute; top: -4px; width: 3px; height: 20px; background: var(--sage); transform: translateX(-1.5px); }
.legend { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.result-card { background: var(--green-2); border-top: 3px solid var(--accent); padding: 24px; margin: 20px 0; }
.result-card .rank { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-size: 15px; }
.result-card h3 { margin: 6px 0 8px; font-family: var(--display); font-size: 30px; text-transform: uppercase; }
.result-card p { color: var(--muted); line-height: 1.6; margin: 8px 0; }
.result-card .score { font-size: 15px; }
.result-card .first { color: var(--sage); }
.result-card a, .assess-app .talk a, .assess-app .fine a { color: var(--accent); font-weight: 600; }
.all-h { margin: 36px 0 12px; font-family: var(--display); font-size: 26px; text-transform: uppercase; }
.brief { border-top: 1px solid #2A2E33; padding: 14px 0; }
.brief p { margin: 0; color: var(--muted); line-height: 1.55; }
.brief .bn { color: var(--sage); margin-bottom: 4px; }
.tip { margin: 28px 0 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--green-2); color: var(--sage); line-height: 1.55; }
.result-form { margin-top: 40px; padding: 24px; background: var(--green-2); max-width: none; }
.result-form h3 { margin: 0; font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.result-form .goal-l { margin-top: 20px; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--sage); }
.result-form textarea { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; background: var(--green); color: var(--sage); border: 2px solid var(--line); border-radius: 0; resize: vertical; }
.assess-app .talk { margin: 24px 0; color: var(--muted); }
.assess-app .fine { margin-top: 28px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.assess-results .assess-page > .prose { display: none; }

@media (max-width: 640px) {
  .scale { grid-template-columns: repeat(10, 1fr); gap: 3px; }
  .scale label { min-height: 54px; font-size: 16px; border-width: 1px; }
  .scale input:checked + label { border-width: 1px; }
  .ends .mid { display: none; }
  .summary .num { font-size: 72px; }
  .radar .alabel { font-size: 25px; } .radar .aval { font-size: 23px; }
}
@media print {
  body { background: #fff !important; color: #111 !important; }
  .stripe, .nav, .site-footer, .nav-row, .result-form, .talk, .skip { display: none !important; }
  .assess-page, .assess-app, h1, h2, h3, p, li, .nm, .bar-val { color: #111 !important; }
  .summary, .radar-wrap, .result-card, .tip { background: #fff !important; border: 1px solid #ccc; }
  .radar .ring, .radar .spoke { stroke: #bbb; } .radar .alabel { fill: #111; } .bar-track { background: #ddd; }
  .imp-mark { background: #111; } .result-card, .brief { break-inside: avoid; }
}

/* Enquiry form and thank-you page */
.sent-banner { background: var(--green-2); border-left: 4px solid var(--accent); padding: 16px 20px; margin: 16px 0; color: var(--sage); line-height: 1.5; }
.send-error { margin-top: 16px; color: var(--accent); }
.send-error a { color: var(--accent); }
.enquiry-form { max-width: 640px; margin: 24px 0 0; display: grid; gap: 16px; }
.enquiry-form label { display: block; font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form textarea { width: 100%; font: inherit; font-size: 18px; padding: 12px 14px; background: var(--green-2); color: var(--sage); border: 2px solid var(--line); border-radius: 0; }
.enquiry-form textarea { resize: vertical; min-height: 120px; }
.enquiry-form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); line-height: 1.5; }
.enquiry-form .consent input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.enquiry-form .hp { position: absolute; left: -9999px; }
.enquiry-form .msg { margin: 0; min-height: 1.4em; color: var(--accent); }
.enquiry-form button.btn { justify-self: start; }
.skip-link { margin-top: 32px; font-size: 15px; } .skip-link a { color: var(--muted); }
.enquiry-form[hidden], #enquiry-fallback[hidden] { display: none; }
