.recon-page { display: grid; gap: 1rem; }
.recon-hero { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.35rem; border: 1px solid #334155; border-radius: .85rem; background: radial-gradient(circle at 12% 0%, rgba(16,185,129,.15), transparent 35%), #111827; }
.recon-kicker { color: #6ee7b7; font: 700 .68rem/1.2 monospace; letter-spacing: .12em; }
.recon-hero h2 { margin-top: .35rem; color: #f8fafc; font-size: 1.55rem; font-weight: 800; }
.recon-hero p { max-width: 46rem; margin-top: .45rem; color: #94a3b8; font-size: .84rem; line-height: 1.55; }
.recon-scope-box { min-width: 17rem; padding: .8rem; border: 1px solid rgba(16,185,129,.25); border-radius: .65rem; background: rgba(6,78,59,.14); }
.recon-scope-box > span { display: block; margin-bottom: .45rem; color: #6ee7b7; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
#reconScopes { display: flex; flex-wrap: wrap; gap: .35rem; }
.recon-scope { padding: .2rem .42rem; border: 1px solid #047857; border-radius: .35rem; color: #a7f3d0; background: rgba(6,95,70,.25); font: .66rem/1.2 monospace; }
.recon-scope-empty { color: #fca5a5; font-size: .7rem; }
.recon-tools { display: flex; flex-wrap: wrap; gap: .4rem .7rem; margin-top: .65rem; font-size: .64rem; }
.tool-ok { color: #86efac; }
.tool-missing { color: #fca5a5; }

.recon-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.recon-section-head > div:first-child { display: flex; align-items: center; gap: .65rem; }
.recon-section-head h3 { color: #f1f5f9; font-size: 1.02rem; font-weight: 700; }
.recon-step { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid #047857; border-radius: .45rem; color: #6ee7b7; background: #022c22; font: 700 .68rem/1 monospace; }
.recon-mode { color: #86efac; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.recon-label { display: block; margin: .4rem 0 .35rem; color: #cbd5e1; font-size: .76rem; font-weight: 650; }
textarea.recon-domains { min-height: 7.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.recon-help { margin-top: .4rem; color: #64748b; font-size: .68rem; line-height: 1.45; }
.recon-help code { color: #94a3b8; }
.recon-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .9rem; }
.recon-check { display: flex; align-items: flex-start; gap: .55rem; padding: .65rem; border: 1px solid #334155; border-radius: .55rem; color: #cbd5e1; background: rgba(15,23,42,.45); font-size: .76rem; line-height: 1.4; }
.recon-check input { margin-top: .15rem; accent-color: #10b981; }
.recon-consent { margin-top: .75rem; border-color: rgba(245,158,11,.28); color: #fde68a; background: rgba(120,53,15,.12); }
.recon-launch { width: 100%; margin-top: .85rem; padding: .72rem 1rem; background: linear-gradient(135deg, #059669, #0f766e); }
.recon-status { min-height: 1.25rem; margin-top: .65rem; color: #94a3b8; font-size: .75rem; }
.recon-status.is-error { color: #fca5a5; }
.recon-status.is-success { color: #86efac; }
.recon-progress { height: .35rem; margin-top: .45rem; overflow: hidden; border-radius: 1rem; background: #0f172a; }
#reconProgressBar { width: 0; height: 100%; background: linear-gradient(90deg, #10b981, #22d3ee); transition: width .35s ease; }
.recon-export-actions { display: flex; gap: .4rem; }

.recon-metrics { display: grid; grid-template-columns: repeat(5, minmax(7rem, 1fr)); gap: .55rem; margin-bottom: .9rem; }
.recon-metrics > div { padding: .7rem; border: 1px solid #334155; border-radius: .55rem; background: #0f172a; text-align: center; }
.recon-metrics strong { display: block; color: #6ee7b7; font-size: 1.25rem; }
.recon-metrics span { color: #64748b; font-size: .65rem; }
.recon-warning { margin: .35rem 0; padding: .55rem .7rem; border-left: 3px solid #f59e0b; color: #fcd34d; background: rgba(120,53,15,.13); font-size: .7rem; }
.recon-findings { display: grid; gap: .5rem; margin: .9rem 0 1.1rem; }
.recon-findings h4 { color: #f8fafc; font-size: .9rem; font-weight: 700; }
.recon-finding { padding: .7rem .8rem; border: 1px solid #334155; border-left-width: 3px; border-radius: .55rem; background: #0f172a; }
.recon-finding-critical { border-left-color: #d946ef; }
.recon-finding-high { border-left-color: #ef4444; }
.recon-finding-medium { border-left-color: #f59e0b; }
.recon-finding-low { border-left-color: #3b82f6; }
.recon-finding-info { border-left-color: #64748b; }
.recon-finding-head { display: flex; align-items: center; gap: .55rem; }
.recon-finding-head strong { color: #e2e8f0; font-size: .8rem; }
.recon-finding code { display: block; margin-top: .45rem; color: #67e8f9; font-size: .67rem; overflow-wrap: anywhere; }
.recon-finding p { margin-top: .35rem; color: #cbd5e1; font-size: .74rem; line-height: 1.5; }
.recon-finding small { display: block; margin-top: .35rem; color: #64748b; font-size: .65rem; line-height: 1.45; }
.recon-empty { padding: .8rem; color: #64748b; font-size: .75rem; text-align: center; }

.recon-domain-section { margin-top: .9rem; border: 1px solid #334155; border-radius: .65rem; overflow: hidden; }
.recon-domain-head { display: flex; justify-content: space-between; gap: .8rem; padding: .7rem .8rem; background: #0f172a; }
.recon-domain-head h4 { color: #a7f3d0; font: 700 .82rem/1.3 monospace; }
.recon-domain-head span { color: #64748b; font-size: .67rem; }
.recon-table-wrap { max-height: 30rem; overflow: auto; }
.recon-table { width: 100%; border-collapse: collapse; font-size: .66rem; }
.recon-table th { position: sticky; top: 0; z-index: 1; padding: .55rem; color: #94a3b8; background: #1e293b; text-align: left; white-space: nowrap; }
.recon-table td { max-width: 18rem; padding: .48rem .55rem; border-top: 1px solid #1e293b; color: #cbd5e1; overflow-wrap: anywhere; vertical-align: top; }
.recon-table tr:hover td { background: rgba(51,65,85,.28); }
.recon-risk-row td { background: rgba(127,29,29,.12); color: #fecaca; }
.recon-disclaimer { margin-top: 1rem; color: #64748b; font-size: .68rem; line-height: 1.5; }

.recon-history { display: grid; gap: .45rem; }
.recon-history-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .55rem; }
.recon-history-row > button:first-child { display: grid; grid-template-columns: minmax(12rem,1fr) minmax(12rem,.8fr) auto; align-items: center; gap: .7rem; width: 100%; padding: .65rem .75rem; border: 1px solid #334155; border-radius: .5rem; color: inherit; background: #0f172a; text-align: left; }
.recon-history-row > button:first-child:hover { border-color: #047857; }
.recon-history-row strong { color: #cbd5e1; font-size: .74rem; overflow-wrap: anywhere; }
.recon-history-row span { color: #64748b; font-size: .67rem; }

@media (max-width: 900px) {
    .recon-hero { display: grid; }
    .recon-scope-box { min-width: 0; }
    .recon-options { grid-template-columns: 1fr; }
    .recon-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .recon-history-row, .recon-history-row > button:first-child { grid-template-columns: 1fr; }
    .recon-domain-head { display: grid; }
    .recon-metrics { grid-template-columns: 1fr 1fr; }
}
