/* NexNith assessment tools — security persona styles.
   Additive to tools.css: only the components the security briefing introduces
   (the exposure band, the three dimensions, the reduce grid, the action plan).
   Tokens come from tools.css; nothing here is redefined. */

.sec-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); background: var(--white); border: 1px solid var(--rule-light); margin: 6px 0 8px; box-shadow: 0 12px 34px rgba(15, 27, 45, 0.06); }
.sec-band-main { padding: 36px 40px; border-right: 1px solid var(--rule-light); }
.sec-band-label { color: var(--muted); }
.sec-level { font-family: 'Fraunces', Georgia, serif; font-size: clamp(42px, 6vw, 66px); line-height: 1; letter-spacing: -0.03em; margin: 12px 0 20px; display: flex; align-items: center; gap: 16px; }
.sec-swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; background: currentColor; }
.sec-dim-v .sec-swatch { width: 9px; height: 9px; }
.sec-lead { font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.sec-dims { display: flex; flex-direction: column; }
.sec-dim { padding: 22px 28px; border-bottom: 1px solid var(--rule-light); }
.sec-dim:last-child { border-bottom: 0; }
.sec-dim-k { color: var(--muted); }
.sec-dim-v { font-family: 'Fraunces', Georgia, serif; font-size: 25px; margin: 6px 0 4px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.sec-dim-p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.sev-very-low, .sev-unknown { color: var(--muted); border-color: var(--muted); }

.sec-finding .tl-risk-headbody { flex: 1; }
.sec-why { font-size: 15.5px; line-height: 1.6; max-width: 820px; margin: 0 0 12px; }
.sec-trig { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.sec-trig-label { color: var(--muted); margin-right: 4px; }
.sec-chip { font-size: 12.5px; background: var(--paper-warm); border: 1px solid var(--rule-light); padding: 4px 10px; border-radius: 2px; }
.sec-chip b { font-weight: 600; color: var(--navy); }
.sec-expand > .tl-expand-summary { color: var(--navy); }
.sec-reduce { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 6px; }
.sec-reduce-g { border-top: 2px solid var(--navy); padding-top: 12px; }
.sec-reduce-label { color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.sec-reduce-g p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.sec-reduce-g p + .sec-ctl-refs { margin-top: 8px; }
.sec-ctl-refs { font-size: 12.5px; line-height: 1.5; margin-bottom: 12px; }
.sec-basis { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--rule-light); font-size: 13px; color: var(--muted); }
.sec-basis b { color: var(--navy); font-weight: 600; }
.sec-learn { font-size: 13px; color: var(--muted); margin-top: 8px; }
.sec-learn a { border-bottom: 1px solid var(--rule-light); }
.sec-also-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule-light); font-size: 15px; }
.sec-also-row:last-child { border-bottom: 0; }
.sec-also-title { flex: 1; }

.sec-ask { counter-reset: q; list-style: none; max-width: 860px; }
.sec-ask li { counter-increment: q; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-light); font-size: 16.5px; line-height: 1.5; }
.sec-ask li::before { content: counter(q, decimal-leading-zero); font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--accent); font-size: 18px; padding-top: 2px; }

.sec-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.sec-area { background: var(--white); border: 1px solid var(--rule-light); padding: 18px 20px; }
.sec-area-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-area-name { font-size: 18px; font-weight: 500; }
.sec-area-count { color: var(--muted); white-space: nowrap; }
.sec-area-addr { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.sec-ctl { padding: 10px 0; border-bottom: 1px dashed var(--rule-light); font-size: 14px; }
.sec-ctl:last-child { border-bottom: 0; }
.sec-ctl-id { color: var(--accent); font-size: 12px; margin-right: 6px; }
.sec-ctl-src { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

.sec-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-plan-col { background: var(--white); border: 1px solid var(--rule-light); border-top: 3px solid var(--navy); padding: 22px 22px 18px; }
.sec-plan-first { border-top-color: var(--accent); }
.sec-plan-h { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--navy); margin-bottom: 4px; font-size: 12px; }
.sec-plan-sub { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.sec-plan-item { padding: 12px 0; border-top: 1px solid var(--rule-light); font-size: 14.5px; line-height: 1.55; }
.sec-plan-from { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

.sec-boundary { background: var(--navy); color: var(--paper); padding: 30px 36px; margin: 0 0 40px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.sec-boundary-k { color: rgba(248, 245, 238, 0.6); }
.sec-boundary p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(248, 245, 238, 0.92); max-width: 860px; }

@media (max-width: 900px) {
  .sec-band { grid-template-columns: 1fr; }
  .sec-band-main { border-right: 0; border-bottom: 1px solid var(--rule-light); padding: 26px 22px; }
  .sec-dim { padding: 18px 22px; }
  .sec-reduce, .sec-plan, .sec-areas { grid-template-columns: 1fr; }
  .sec-boundary { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
}

@media print {
  .sec-band { box-shadow: none; break-inside: avoid; }
  .sec-finding { break-inside: avoid; }
  .sec-boundary { background: #fff; color: #000; border: 1px solid #999; }
  .sec-boundary p, .sec-boundary-k { color: #000; }
}

/* Small accent text at 4.5:1 on paper (the shared --accent measures 4.42:1 at 12px).
   Scoped to pages that load this file; proposed for tools.css as --accent-text. */
.tl-section-eyebrow, .nav-links a.is-current, .tl-next-kicker, .sec-reduce-label, .sec-ask li::before { color: #A0450F; }
