/* Free Cyber Risk Cost Report. Layers on styles.css and v2.css: tokens only, no new colours. */
.crq-panel { min-height: 0; }
.crq-stage { justify-content: flex-start; }
.crq-form .as-q + .as-q { margin-top: 30px; }
.crq-form .as-q h3 { font-size: clamp(21px, 1.9vw, 27px); margin: 6px 0 16px; }
.crq-form .as-cta { margin-top: 28px; }
.crq-run[disabled] { opacity: .45; cursor: not-allowed; }
.crq-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); margin-bottom: 28px; }
.crq-tabs button { padding: 13px 10px; background: #fff; border: 0; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--slate); cursor: pointer; }
.crq-tabs button.on { background: var(--navy); color: #fff; }
.crq-tabs button:focus-visible, .crq-step button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.crq-step { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.crq-step button { width: 48px; height: 48px; background: #fff; border: 0; font-size: 22px; color: var(--navy); cursor: pointer; }
.crq-step output { min-width: 56px; text-align: center; font-family: var(--mono); font-size: 18px; color: var(--charcoal); }

.crq-result h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; color: var(--charcoal); margin: 6px 0 20px; }
.crq-result h4 { margin-top: 34px; }
.crq-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.crq-tile { border: 1px solid var(--line); background: var(--paper); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.crq-k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); }
.crq-v { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; color: var(--navy); }
.crq-n { font-family: var(--sans); font-size: 12.5px; line-height: 1.45; color: var(--slate); }
.crq-p { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--slate); margin: 0 0 12px; }
.crq-read { margin-top: 18px; color: var(--charcoal); }
.crq-list { margin: 0 0 4px; padding-left: 18px; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: var(--slate); }
.crq-list li { margin-bottom: 8px; }
.crq-list b { color: var(--charcoal); }
.crq-result a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.crq-result a.btn { text-decoration: none; }
.crq-result a.btn-primary { color: #fff; }
.crq-flag { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal); border: 1px solid var(--line-2); padding: 1px 6px; white-space: nowrap; }

.crq-fig { margin: 30px 0 0; }
.crq-fig figcaption { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.crq-fig figcaption b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--charcoal); }
.crq-fig figcaption span { font-family: var(--sans); font-size: 12.5px; color: var(--slate-2); }
.crq-plot { position: relative; }
.crq-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.crq-grid { stroke: var(--line); stroke-width: 1; }
.crq-ax { font-family: var(--sans); font-size: 11px; fill: var(--slate-2); }
.crq-line { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.crq-cross { stroke: var(--slate-2); stroke-width: 1; stroke-dasharray: 3 3; }
.crq-dot { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.crq-cross[hidden], .crq-dot[hidden], .crq-tip[hidden] { display: none; }
.crq-tip { position: absolute; top: 0; width: 190px; background: var(--charcoal); color: #fff; font-family: var(--sans); font-size: 12px; line-height: 1.4; padding: 8px 10px; pointer-events: none; }
.crq-tip b { display: block; }
.crq-table { width: 100%; border-collapse: collapse; margin: 12px 0 14px; font-family: var(--sans); font-size: 13px; color: var(--charcoal); }
.crq-table th { text-align: left; font-weight: 600; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-2); border-bottom: 1px solid var(--line-2); padding: 8px 10px 8px 0; }
.crq-table td { border-bottom: 1px solid var(--line); padding: 9px 10px 9px 0; vertical-align: top; }
.crq-table td small { color: var(--slate-2); font-size: 12px; }
.crq-table td:nth-child(n+2), .crq-table th:nth-child(n+2) { white-space: nowrap; }
.crq-ai, .crq-next { margin-top: 34px; padding: 20px 22px; border: 1px solid var(--line); background: var(--paper); }
.crq-ai h4, .crq-next h4 { margin-top: 0; }
.crq-next { border-color: var(--navy); }

@media (max-width: 640px) {
  .crq-tiles { grid-template-columns: 1fr; }
  .crq-table { font-size: 12.5px; }
  .crq-table td:nth-child(n+2), .crq-table th:nth-child(n+2) { white-space: normal; }
  .crq-ai, .crq-next { padding: 16px; }
}
@media print {
  body.as-print .crq-tabs, body.as-print .crq-ai, body.as-print .crq-again, body.as-print .crq-tip { display: none !important; }
  body.as-print .crq-next .as-cta { display: none !important; }
}
