/* Result preview, device results, recovery ================================ */

.result { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.result__meta { margin-bottom: 28px; }
.result__code { font-weight: 700; color: var(--hl-text); letter-spacing: .02em; }
.result__flag { margin-bottom: 28px; font-size: 15px; }
.result__flag p + p { margin-top: 6px; }
.result__flag a { font-weight: 600; }

.result-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: var(--hl-section-gap); }
.result-hero .card__label { margin-bottom: 14px; }
.result-hero__letters { margin-bottom: 18px; }
.result-hero__title { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.result-hero__summary { margin-bottom: 28px; }
.result-chart { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; align-items: center; }
.result-chart__scale { font-size: 13px; line-height: 1.5; color: var(--hl-muted); margin-top: 14px; }

.result-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 48px); }
.interp { list-style: none; border-top: 1px solid var(--hl-border); }
.interp li { display: grid; grid-template-columns: 32px 1fr; padding: 18px 0; border-bottom: 1px solid var(--hl-border); font-size: 16px; line-height: 1.6; }
.interp__key { font-weight: 600; font-size: 14px; line-height: 1.6; color: var(--ink); }
.interp b { font-weight: 600; }
.interp p span { color: var(--hl-muted); }
.career-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.career-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; line-height: 1.35; border-radius: var(--hl-radius); background: #fff; border: 1px solid var(--hl-border); font-size: 15px; }
.career-chips__note { margin-bottom: 6px; }

/* Full report gate */
.gate { background: var(--hl-navy); color: #fff; border-radius: var(--hl-radius-xl); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 4vw, 48px); margin-bottom: 24px; scroll-margin-top: calc(var(--hl-header-h) + 16px); }
.gate__eyebrow { font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hl-on-navy-accent); margin-bottom: 16px; }
.gate__title { color: #fff; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin-bottom: 16px; }
.gate__lead { font-size: 16px; line-height: 1.65; color: var(--hl-on-navy-muted); margin-bottom: 28px; }
.gate__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 20px; }
.gate__big { font-size: 40px; line-height: 1.2; font-weight: 700; }
.gate__terms { font-size: 14px; color: var(--hl-on-navy-muted); }
.gate__value { flex-basis: 100%; font-size: 14px; font-weight: 600; color: var(--hl-on-navy-muted); }
.gate__status { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; }
.gate__status .icon { width: 22px; height: 22px; color: var(--hl-I); }
.gate__fine { font-size: 13px; line-height: 1.6; color: var(--hl-on-navy-accent); margin-top: 14px; max-width: 520px; }
.gate .btn { min-width: 220px; }
.gate__modules { list-style: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--hl-radius-lg); padding: 8px 20px; align-self: start; }
.gate__modules li { display: grid; grid-template-columns: 32px 1fr 18px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.gate__modules li:last-child { border-bottom: 0; }
.gate__num { font-size: 13px; line-height: 1; font-weight: 600; color: var(--hl-on-navy-accent); }
.gate__modules .icon { width: 14px; height: 14px; color: var(--hl-on-navy-accent); }

/* Save + limits */
.result-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.result-bottom .card { padding: 24px; display: flex; flex-direction: column; }
.result-bottom .card__text { margin-bottom: 16px; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border: 1px dashed var(--hl-border-strong); border-radius: var(--hl-radius); margin-bottom: 14px; }
.code-box__value { flex: 1 1 100%; font-size: clamp(15px, 5vw, 18px); font-weight: 700; letter-spacing: .04em; }
.code-box .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.result-save__form { margin-bottom: 8px; }
.result-limits__links { margin-top: auto; align-items: center; }
.link-danger { border: 0; background: none; padding: 0; color: var(--hl-danger); font-weight: 600; font-size: 15px; }
.link-danger:hover { text-decoration: underline; }

/* Dialog */
.dialog { border: 0; border-radius: var(--hl-radius-xl); padding: clamp(24px, 4vw, 32px); max-width: min(480px, calc(100vw - 32px)); box-shadow: var(--hl-shadow-pop); color: var(--hl-text); }
.dialog::backdrop { background: rgba(14, 40, 95, .45); }
.dialog__title { font-size: 22px; line-height: 1.3; font-weight: 700; margin-bottom: 12px; }
.dialog__text { font-size: 15px; line-height: 1.6; color: var(--hl-muted); margin-bottom: 24px; }
.btn--danger { background: var(--hl-danger); color: #fff; }
.btn--danger:hover { background: #A02E18; color: #fff; }

/* Results on this device */
.device { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.device__title { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.device__lead { margin-bottom: 32px; }
.device-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.device-list li { background: #fff; border: 1px solid var(--hl-border); border-radius: var(--hl-radius-lg); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.device-list__code { font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.device-list__meta { font-size: 14px; color: var(--hl-muted); flex: 1 1 200px; }
.device-list .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.device-empty { padding: 24px; border: 1px dashed var(--hl-border-strong); border-radius: var(--hl-radius-lg); color: var(--hl-muted); margin-bottom: 24px; }

/* Recovery */
.recovery { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.recovery__title { font-size: clamp(34px, 5vw, 52px); line-height: 1.2; font-weight: 700; letter-spacing: -.025em; margin-bottom: 20px; }
.recovery__lead { margin-bottom: 32px; }
.recovery .eyebrow { margin-bottom: 20px; }
.recovery-card .segmented { margin-bottom: 24px; }
.recovery-card .field { margin-bottom: 18px; }
.recovery-card .btn { width: 100%; }
.recovery-sent { text-align: center; padding: 12px 0; }
.recovery-sent .status-icon { margin: 0 auto 20px; }
.recovery-sent h2 { font-size: 28px; line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
.recovery-sent p { font-size: 15px; line-height: 1.65; color: var(--hl-muted); margin-bottom: 24px; }
.recovery-sent .actions { justify-content: center; }
.recovery-local { margin-top: 16px; }
