/* IP Lookup V2: standalone presentation; no dependencies on site-wide UI styles. */
:root {
  color-scheme: light;
  --page: #f4f6f8;
  --surface: #fff;
  --ink: #162331;
  --muted: #657381;
  --line: #e1e7eb;
  --blue: #145e85;
  --navy: #102936;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
button, a, textarea, input, summary, [tabindex] { scroll-margin-top: 88px; }
:focus-visible { outline: 3px solid #2187b5; outline-offset: 4px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; padding: 12px 20px; background: #fff; z-index: 100; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { flex-shrink: 0; }
.brand img { display: block; width: 148px; height: 40px; object-fit: contain; }
.header-product { border-left: 1px solid var(--line); padding-left: 26px; font-size: 12px; color: var(--muted); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-link { padding-block: 6px; font-size: 12px; font-weight: 550; }
.nav-link:hover, .engine-link:hover, .reset-link:hover { color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; min-height: 42px; border: 1px solid #cdd7de; border-radius: 7px; background: #fff; color: #233746; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background 160ms, border-color 160ms, box-shadow 160ms; }
.btn:hover { border-color: #92a7b5; background: #f7fafb; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 2px 3px #12324812; }
.btn-primary:hover { background: #104d6c; border-color: #104d6c; }
.btn i { font-size: 17px; font-weight: 400; }
.btn-quiet { background: transparent; border-color: transparent; }
.btn-quiet:hover { border-color: transparent; background: #e9eef2; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-icon { width: 42px; padding: 0; }
.page { padding: 36px 0 0; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 650; letter-spacing: 1.45px; line-height: 1.5; color: var(--muted); }
.brand-mark { width: 6px; height: 6px; background: #2b7fa4; box-shadow: 3px -3px 0 #99c3d5; }
h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 550; line-height: 1.18; letter-spacing: -1.3px; margin: 10px 0 9px; }
.subcopy { color: var(--muted); font-size: 14px; }
.engine-link { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.engine-link > i:first-child { display: grid; place-items: center; width: 32px; height: 32px; color: var(--blue); border: 1px solid #d2e0e8; border-radius: 50%; font-size: 19px; }
.engine-link strong { color: #354957; font-weight: 600; }
.lookup-form { background: #fff; border: 1px solid #cad6df; border-radius: 10px; box-shadow: 0 3px 10px #1b394507; overflow: hidden; transition: border-color 150ms, box-shadow 150ms; }
.lookup-form:focus-within { border-color: #438aa9; box-shadow: 0 0 0 3px #2187b513; }
.lookup-editor { display: flex; align-items: center; gap: 18px; padding: 16px 18px 13px 22px; }
.search-icon { font-size: 26px; color: #60798a; align-self: flex-start; padding-top: 9px; }
.lookup-field { flex: 1; min-width: 0; }
.lookup-field label { display: block; font-size: 11px; color: #435867; font-weight: 650; margin-bottom: 4px; }
.lookup-field label span { color: var(--muted); font-weight: 400; margin-left: 4px; }
textarea { display: block; width: 100%; resize: vertical; min-height: 29px; max-height: 116px; border: 0; background: transparent; color: var(--ink); padding: 2px 0 0; font: 16px/1.65 var(--mono); overflow-wrap: anywhere; }
textarea::placeholder { color: #607382; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; }
textarea:focus-visible { outline-offset: 2px; outline-width: 2px; }
.lookup-submit { min-width: 160px; min-height: 46px; }
.lookup-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 10px 20px; border-top: 1px solid #ecf0f3; background: #fafcfd; color: var(--muted); font-size: 10px; }
.lookup-foot strong { font-weight: 550; }
.separator { margin: 0 7px; color: #a3aeb7; }
.lookup-shortcut { margin-left: auto; color: #607382; }
.entry-count { font-family: var(--mono); }
.reset-link { padding-left: 10px; border-left: 1px solid var(--line); }
.inline-alert { display: none; color: #9b3529; background: #fff3ef; padding: 10px 20px; font-size: 12px; }
.inline-alert.is-visible { display: block; }
.lookup-status:empty { display: none; }
.lookup-status { padding: 10px 20px; background: #edf5fa; color: #235d7c; font-size: 12px; }
.lookup-form.is-loading .search-icon { animation: searching 1.5s ease-in-out infinite; }
@keyframes searching { 50% { opacity: .3; } }
.alert { display: flex; align-items: flex-start; gap: 14px; padding: 20px; margin-top: 20px; color: #8d3428; border: 1px solid #f0d0c8; border-radius: 8px; background: #fff7f4; }
.alert > i { font-size: 22px; }
.alert p { margin-top: 4px; }
.alert a { text-decoration: underline; text-underline-offset: 3px; }
.notice { background: #eef5f9; border-color: #ccdfe9; color: #305f78; }
.result-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 27px 0 15px; }
.result-count { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.result-count h2 { font-size: 13px; font-weight: 650; }
.count-badge { background: #e6ecf0; border-radius: 4px; padding: 2px 7px; font: 10px/1.6 var(--mono); color: #4c6576; }
.accepted-count { font-size: 10px; color: var(--muted); padding-left: 7px; border-left: 1px solid #d4dee5; }
.results-actions { display: flex; gap: 8px; }
.shared-notice { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.result-stack { display: grid; gap: 24px; }
.intelligence-result { --risk: #60d7b2; --risk-ink: #187956; --risk-soft: #e9f7f0; min-width: 0; border: 1px solid #d9e2e8; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 5px 20px #12344805; }
.risk-minimal { --risk: #60d7b2; --risk-ink: #187956; --risk-soft: #e9f7f0; }
.risk-low { --risk: #69c9e0; --risk-ink: #096985; --risk-soft: #e8f7fb; }
.risk-medium { --risk: #eac36d; --risk-ink: #8a5905; --risk-soft: #fff7e5; }
.risk-high { --risk: #f49b70; --risk-ink: #b44b22; --risk-soft: #fff0e8; }
.risk-critical { --risk: #fa8c9a; --risk-ink: #b82f49; --risk-soft: #fff0f3; }
.risk-unknown { --risk: #b2c0cd; --risk-ink: #586b7c; --risk-soft: #edf1f4; }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 30px; }
.result-heading h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 500; letter-spacing: -.8px; line-height: 1.35; margin-top: 6px; overflow-wrap: anywhere; }
.result-heading > div { min-width: 0; }
.result-identity { max-width: 40%; display: grid; gap: 5px; color: #677784; font-size: 11px; }
.result-identity span { overflow-wrap: anywhere; }
.result-identity i { margin-right: 5px; }
.report-position { letter-spacing: 0; color: #698292; }
.assessment-hero { display: grid; grid-template-columns: 142px 1.15fr 1.1fr .6fr; align-items: center; gap: 30px; padding: 30px; background: var(--navy); color: #fff; position: relative; border-bottom: 3px solid var(--risk); }
.risk-gauge { position: relative; width: 142px; aspect-ratio: 1; }
.risk-gauge svg { width: 100%; height: 100%; transform: rotate(0deg); }
.gauge-segment { stroke: #ffffff19; stroke-linecap: round; }
.gauge-segment.is-filled { stroke: var(--risk); }
.gauge-value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.gauge-value strong { font-size: 57px; font-weight: 400; line-height: 1.08; letter-spacing: -2px; color: var(--risk); font-variant-numeric: tabular-nums; }
.gauge-value span { font: 9px/1.6 var(--mono); color: #98afbd; letter-spacing: 1px; margin-top: 6px; }
.hero-label { display: block; color: #a2b7c4; font-size: 9px; letter-spacing: 1.2px; font-weight: 500; margin-bottom: 8px; }
.risk-verdict, .hero-decision, .hero-confidence { min-width: 0; }
.risk-verdict h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 450; letter-spacing: -1px; color: var(--risk); line-height: 1.2; overflow-wrap: anywhere; }
.risk-scale { display: flex; gap: 4px; margin: 22px 0 7px; max-width: 205px; }
.risk-scale > span { flex: 1; height: 4px; border-radius: 1px; background: #ffffff25; position: relative; }
.risk-scale .is-current { background: var(--risk); }
.risk-scale .is-current::after { content: ''; position: absolute; width: 4px; height: 4px; background: var(--risk); transform: rotate(45deg); top: -7px; left: calc(50% - 2px); }
.scale-labels { display: flex; justify-content: space-between; max-width: 205px; color: #a2b7c4; font-size: 9px; }
.hero-decision { border-left: 1px solid #ffffff20; padding-left: 30px; display: grid; gap: 19px; }
.action-badge { display: inline-flex; gap: 7px; align-items: center; font-weight: 550; font-size: 17px; line-height: 1.4; padding: 4px 11px; border: 1px solid #ffffff30; border-radius: 5px; color: #ccd9e2; background: #ffffff08; overflow-wrap: anywhere; max-width: 100%; }
.action-allow { color: #83e4c3; background: #46c69413; border-color: #68ceaa40; }
.action-challenge { color: #f4d58b; background: #edc15913; border-color: #edc15940; }
.action-block { color: #ffadb7; background: #fa879913; border-color: #fa879940; }
.classification-value { font-size: 16px; font-weight: 500; line-height: 1.4; display: block; overflow-wrap: anywhere; }
.hero-confidence { padding-left: 8px; }
.hero-confidence > strong { display: block; font-size: 33px; line-height: 1.15; letter-spacing: -1px; font-weight: 450; overflow-wrap: anywhere; }
.hero-confidence small { font-size: 18px; padding-left: 2px; color: #b5cad7; }
.confidence-track { height: 3px; background: #ffffff20; margin: 14px 0 8px; max-width: 105px; }
.confidence-track span { display: block; height: 100%; background: #b7d3e3; }
.confidence-caption { font-size: 9px; color: #a2b7c4; }
.report-body { padding: 0 30px; }
.intelligence-grid { display: grid; grid-template-columns: 1.3fr 1fr; border-bottom: 1px solid var(--line); }
.evidence-panel { padding: 26px 35px 26px 0; }
.activity-panel { padding: 26px 0 26px 32px; border-left: 1px solid var(--line); }
.section-heading { display: flex; gap: 9px; align-items: center; margin-bottom: 17px; }
.section-number { font: 10px/1.5 var(--mono); color: #607382; }
.section-heading h3 { font-size: 13px; font-weight: 650; }
.section-heading > i { color: #7c92a1; margin-left: auto; font-size: 17px; }
.evidence-summary { font-size: 14px; color: #465966; line-height: 1.8; overflow-wrap: anywhere; }
.evidence-factors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.evidence-factors > span { display: inline-flex; align-items: baseline; gap: 6px; background: #f1f5f7; padding: 5px 9px; border: 1px solid #e6ecef; border-radius: 4px; font-size: 10px; color: #516978; overflow-wrap: anywhere; max-width: 100%; }
.evidence-factors i { color: #587f95; }
.observation-note { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #566f7e; margin-top: 21px; }
.observation-note i { font-size: 16px; }
.trend-label { margin-left: auto; color: var(--muted); font-size: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; overflow-wrap: anywhere; max-width: 40%; }
.activity-headline { display: flex; gap: 12px; align-items: center; margin: -4px 0 15px; }
.activity-headline strong { font-size: 29px; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.activity-headline > span { font-size: 10px; line-height: 1.5; color: var(--muted); }
.activity-windows { display: grid; gap: 8px; }
.activity-window { display: grid; grid-template-columns: 48px 1fr minmax(20px, auto); gap: 12px; align-items: center; font-size: 10px; color: var(--muted); }
.activity-window strong { font-size: 10px; color: #304a5b; font-weight: 500; }
.activity-track { height: 5px; background: repeating-linear-gradient(90deg,#edf1f4 0,#edf1f4 calc(25% - 2px),#fff calc(25% - 2px),#fff 25%); border-radius: 2px; overflow: hidden; }
.activity-track span { display: block; height: 100%; background: var(--risk-ink); }
.last-seen { display: flex; gap: 15px; justify-content: space-between; margin-top: 16px; padding-top: 10px; border-top: 1px solid #ecf0f2; font-size: 9px; color: var(--muted); }
.last-seen strong { text-align: right; font-weight: 500; }
.context-grid { display: grid; grid-template-columns: 1.3fr 1fr; border-bottom: 1px solid var(--line); }
.network-panel { padding: 24px 35px 24px 0; }
.network-facts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 15px 24px; margin: 0; }
.network-facts > div { min-width: 0; }
.network-facts dt { font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.network-facts dd { font-size: 12px; font-weight: 550; margin: 0; overflow-wrap: anywhere; }
.infrastructure-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.chip { display: inline-flex; align-items: baseline; gap: 5px; max-width: 100%; background: #f1f5f7; border: 1px solid #e2e9ee; border-radius: 4px; padding: 3px 7px; font-size: 10px; color: #4c6473; overflow-wrap: anywhere; margin: 2px; font-weight: 500; }
.chip-green { background: #edf8f2; color: #237958; }
.chip-red { background: #fff1f2; color: #a64150; }
.chip-amber { background: #fff8e8; color: #8a661a; }
.geography-panel { padding: 24px 0 16px 32px; border-left: 1px solid var(--line); min-width: 0; }
.country-code { margin-left: auto; font: 10px/1.5 var(--mono); color: #607382; background: #eef3f6; border-radius: 3px; padding: 2px 6px; }
.geography-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 12px; }
.geography-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.geography-text strong { font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.geography-text > span { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.geography-text .coordinates { font-size: 9px; }
.geography-text small { font-size: 9px; color: #607382; margin-top: 4px; }
.map-wrap { position: relative; height: 130px; overflow: hidden; min-width: 0; }
.ip-map { width: 100%; height: 100%; }
.ip-map .jvm-container { background: transparent !important; }
.ip-map svg { display: block; }
.map-status { display: none; }
.map-wrap.is-unavailable .ip-map { display: none; }
.map-wrap.is-unavailable .map-status { display: grid; place-items: center; height: 100%; background: #f4f7f9; color: #607382; padding: 14px; text-align: center; font-size: 10px; border-radius: 6px; }
.jvm-tooltip { background: #183b4f !important; color: white !important; font: 11px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; border-radius: 5px; padding: 7px 10px !important; }
.investigation-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 24px 0 10px; }
.investigation-heading > span:last-child { font-size: 10px; color: var(--muted); }
.detail-group { border-bottom: 1px solid var(--line); }
.detail-group:last-child { border-bottom: 0; }
.detail-group summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: 17px 0; }
summary::-webkit-details-marker { display: none; }
.detail-title { display: flex; align-items: baseline; gap: 18px; }
.detail-title strong { font-size: 12px; font-weight: 600; min-width: 145px; }
.detail-title > span { color: var(--muted); font-size: 11px; }
.detail-toggle { color: #6d8495; font-size: 18px; transition: transform 160ms; }
.detail-group[open] .detail-toggle, .raw-response[open] .detail-toggle { transform: rotate(180deg); }
.detail-group summary:hover .detail-title strong { color: var(--blue); }
.detail-content { padding: 10px 0 26px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.detail-block { min-width: 0; }
.detail-block.full { grid-column: 1 / -1; }
.detail-block h3 { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #5d7485; margin-bottom: 14px; }
.kv-list { display: grid; gap: 9px; }
.kv-row { display: grid; grid-template-columns: minmax(100px, .5fr) minmax(0, 1fr); gap: 18px; border-bottom: 1px solid #edf1f4; padding-bottom: 8px; font-size: 11px; }
.kv-row > span { color: var(--muted); }
.kv-row strong { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.empty-state, .muted { color: var(--muted); font-size: 11px; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: 11px; text-align: left; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #5d7180; font-weight: 600; }
td strong { font-weight: 600; }
.detail-block table { min-width: 650px; }
.detail-block td { max-width: 380px; overflow-wrap: anywhere; }
.detail-block thead { background: #f4f7f9; }
.report-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 30px; background: #f9fbfc; border-top: 1px solid var(--line); color: #607382; font-size: 9px; }
.report-footer i { margin-right: 5px; }
.raw-response { margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.raw-response summary { display: flex; align-items: center; gap: 10px; padding: 15px 20px; list-style: none; cursor: pointer; font-size: 11px; font-weight: 550; }
.raw-response summary > span { font-weight: 400; color: var(--muted); font-size: 10px; margin-left: 6px; }
.raw-response .detail-toggle { margin-left: auto; }
pre { margin: 0; max-height: 500px; overflow: auto; padding: 24px; background: #102936; color: #cfdee8; font: 11px/1.7 var(--mono); tab-size: 2; }
.api-cta { display: flex; align-items: center; gap: 20px; padding: 28px 0; margin-top: 20px; }
.api-icon { border: 1px solid #cfdae2; border-radius: 10px; display: grid; place-items: center; width: 45px; height: 45px; color: #4b758d; font-size: 23px; flex-shrink: 0; background: #ffffff60; }
.api-cta h2 { font-size: 16px; font-weight: 550; margin-bottom: 5px; letter-spacing: -.25px; }
.api-cta p { color: var(--muted); font-size: 11px; }
.api-cta .btn { margin-left: auto; flex-shrink: 0; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 23px 0; color: #607382; font-size: 10px; }
.page-footer a { color: #486a80; }
.comparison { border: 1px solid #d9e2e8; background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.comparison-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; }
.comparison-head h3 { font-size: 20px; font-weight: 550; margin-top: 5px; letter-spacing: -.5px; }
.batch-stats { display: flex; gap: 25px; }
.batch-stats > span { font-size: 10px; color: var(--muted); }
.batch-stats strong { display: block; font: 20px/1.4 var(--mono); color: var(--ink); }
.comparison-scroll { max-height: 354px; }
.comparison-table { min-width: 700px; table-layout: fixed; }
.comparison-table thead { position: sticky; top: 0; z-index: 1; background: #f1f5f7; }
.comparison-table thead th { font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.comparison-table th:first-child { width: 25%; padding-left: 24px; }
.comparison-table th:nth-child(2) { width: 17%; }
.comparison-table th:nth-child(3) { width: 14%; }
.comparison-table th:nth-child(4) { width: 25%; }
.comparison-table th:last-child { width: 40px; }
.comparison-table tbody tr { transition: background 120ms; }
.comparison-table tbody tr:hover { background: #f7fafc; }
.comparison-table tbody tr.is-selected { background: #eef5f9; box-shadow: inset 3px 0 #26759b; }
.comparison-table td, .comparison-table tbody th { vertical-align: middle; overflow-wrap: anywhere; font-size: 11px; font-weight: 400; }
.ip-select { display: inline-block; color: #255e7d; font-size: 12px; padding: 7px 0; }
.risk-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--risk-ink); font-weight: 600; }
.risk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--risk-ink); flex-shrink: 0; }
.inspect-link { display: grid; place-items: center; width: 32px; height: 32px; color: #65849a; }
.comparison-foot { display: flex; align-items: center; gap: 6px; padding: 11px 24px; background: #fafcfd; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }
.comparison-foot span { margin-left: auto; }
.empty-report { display: grid; grid-template-columns: 76px 1fr; gap: 24px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 42px; margin: 28px 0; }
.empty-symbol { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #d9e7ee; background: #f1f7fa; border-radius: 50%; font-size: 33px; color: #4584a4; }
.empty-report h2 { font-size: 25px; line-height: 1.25; font-weight: 500; letter-spacing: -.6px; margin: 9px 0; }
.empty-report p { color: var(--muted); max-width: 600px; font-size: 13px; }
.empty-capabilities { grid-column: 2; display: flex; flex-wrap: wrap; gap: 25px; color: #46697e; font-size: 11px; }
.empty-capabilities i { margin-right: 5px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 20px; background: #0c2236a8; backdrop-filter: blur(4px); }
.modal-backdrop.is-open { display: flex; }
.modal { width: min(560px, 100%); background: #fff; border: 1px solid #d2dfe7; border-radius: 12px; box-shadow: 0 24px 70px #0004; overflow: hidden; }
.modal header, .modal footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal h2 { font-size: 18px; font-weight: 550; }
.modal footer { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }
.modal-body { padding: 22px; }
.modal-body label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 7px; }
.share-input { width: 100%; min-height: 44px; border: 1px solid #cad8e1; border-radius: 6px; padding: 10px 12px; font: 12px var(--mono); color: #284b63; background: #f6f9fb; }
.share-status { min-height: 36px; margin-top: 13px; font-size: 12px; color: var(--muted); }
@media (min-width: 1600px) { .shell { width: min(1340px, calc(100% - 100px)); } .assessment-hero { gap: 40px; padding: 32px 40px; } }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .header-product { display: none; }
  .header-actions { gap: 20px; }
  .assessment-hero { grid-template-columns: 120px 1fr 1fr; gap: 23px; }
  .risk-gauge { width: 120px; }
  .hero-confidence { grid-column: 2 / 4; border-top: 1px solid #ffffff20; padding: 16px 0 0; display: flex; align-items: center; gap: 12px; }
  .hero-confidence .hero-label { margin-bottom: 0; }
  .hero-confidence > strong { font-size: 20px; }
  .hero-confidence small { font-size: 13px; }
  .confidence-track { flex: 1; margin: 0; }
  .intelligence-grid, .context-grid { grid-template-columns: 1fr 1fr; }
  .evidence-panel, .network-panel { padding-right: 24px; }
  .activity-panel, .geography-panel { padding-left: 24px; }
  .geography-layout { grid-template-columns: 1fr; gap: 6px; }
  .map-wrap { height: 112px; }
  .detail-title > span { font-size: 10px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; gap: 12px; flex-wrap: wrap; padding: 12px 0 9px; }
  .brand img { width: 130px; height: 32px; }
  .header-actions { gap: 15px; }
  .header-actions .btn { min-height: 36px; padding: 8px 11px; font-size: 11px; }
  .header-actions .nav-link { padding-block: 6px; font-size: 10px; }
  .header-actions .btn i { display: none; }
  .page { padding-top: 24px; }
  .intro { margin-bottom: 19px; }
  .engine-link { display: none; }
  h1 { font-size: 31px; }
  .subcopy { font-size: 12px; }
  .lookup-editor { gap: 12px; padding: 14px; }
  .search-icon { font-size: 22px; }
  .lookup-submit { min-width: 125px; font-size: 11px; padding: 10px; }
  .lookup-foot { padding: 10px 14px; gap: 8px; }
  .lookup-shortcut { display: none; }
  .entry-count { margin-left: auto; }
  .result-tools { align-items: flex-start; gap: 12px; }
  .result-count { gap: 7px; padding-top: 5px; }
  .accepted-count { flex-basis: 100%; padding: 0; border: 0; }
  .results-actions { gap: 0; }
  .results-actions .btn { padding: 9px; font-size: 10px; }
  .result-heading { padding: 20px; }
  .result-identity { font-size: 10px; }
  .assessment-hero { padding: 24px 20px; grid-template-columns: 110px 1fr; gap: 22px; }
  .risk-gauge { width: 110px; }
  .gauge-value strong { font-size: 45px; }
  .risk-verdict h3 { font-size: 30px; }
  .hero-decision { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding: 19px 0 0; border-left: 0; border-top: 1px solid #ffffff20; gap: 22px; }
  .hero-confidence { grid-column: 1 / -1; padding-top: 16px; }
  .hero-confidence .confidence-caption { margin-left: auto; }
  .classification-value { font-size: 15px; }
  .report-body { padding: 0 20px; }
  .intelligence-grid, .context-grid { grid-template-columns: 1fr; }
  .evidence-panel, .activity-panel, .network-panel, .geography-panel { padding: 23px 0; border-left: 0; }
  .activity-panel, .geography-panel { border-top: 1px solid var(--line); }
  .section-heading { margin-bottom: 14px; }
  .evidence-summary { font-size: 13px; }
  .activity-headline { margin-bottom: 17px; }
  .activity-windows { gap: 10px; }
  .activity-window { font-size: 11px; }
  .activity-window strong { font-size: 11px; }
  .geography-layout { grid-template-columns: 1fr 1fr; }
  .map-wrap { height: 120px; }
  .detail-title { display: grid; gap: 4px; }
  .detail-title strong { font-size: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-block.full { grid-column: auto; }
  .report-footer { padding: 13px 20px; }
  .raw-response summary > span { display: none; }
  .api-cta { flex-wrap: wrap; gap: 14px; }
  .api-cta > div:nth-child(2) { flex: 1; min-width: 220px; }
  .api-cta .btn { margin-left: 59px; }
  .comparison-head { padding: 18px; align-items: flex-start; }
  .comparison-head h3 { font-size: 18px; }
  .batch-stats { gap: 15px; }
  .batch-stats > span { max-width: 75px; }
  .comparison-foot { padding: 11px 18px; }
  .comparison-foot span { display: none; }
  .empty-report { padding: 25px; grid-template-columns: 1fr; }
  .empty-capabilities { grid-column: 1; gap: 12px; }
  .empty-report h2 { font-size: 23px; }
}
@media (max-width: 520px) {
  .header-actions { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .header-actions .nav-link { position: absolute; top: 54px; }
  .header-actions .nav-link:first-child { right: 119px; }
  .header-actions .nav-link:nth-child(2) { right: 16px; }
  .header-inner { padding-bottom: 36px; }
  .header-actions .btn { font-size: 11px; }
  .lookup-editor { flex-wrap: wrap; }
  .lookup-field { flex-basis: calc(100% - 40px); }
  .lookup-submit { width: 100%; min-height: 41px; }
  textarea { font-size: 14px; }
  textarea::placeholder { font-size: 12px; }
  .lookup-foot { font-size: 9px; }
  .lookup-foot .separator { margin: 0 4px; }
  .result-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .result-heading h2 { font-size: 26px; }
  .result-identity { display: flex; flex-wrap: wrap; gap: 5px 14px; max-width: 100%; }
  .hero-label { font-size: 8px; letter-spacing: .8px; }
  .hero-confidence { gap: 10px; }
  .hero-confidence .confidence-caption { font-size: 8px; }
  .risk-verdict h3 { font-size: 27px; }
  .risk-scale { margin-top: 17px; }
  .assessment-hero { gap: 20px 17px; grid-template-columns: 100px 1fr; }
  .risk-gauge { width: 100px; }
  .risk-gauge .gauge-value span { font-size: 8px; }
  .action-badge { font-size: 15px; }
  .section-heading h3 { font-size: 12px; }
  .investigation-heading > span:last-child { display: none; }
  .comparison-head { flex-direction: column; gap: 12px; }
  .batch-stats { width: 100%; gap: 24px; }
  .batch-stats > span { max-width: none; }
  .batch-stats strong { display: inline; font-size: 15px; margin-right: 5px; }
  .kv-row { grid-template-columns: 1fr; gap: 4px; }
  .page-footer { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .lookup-section, .results-actions, .api-cta, .modal-backdrop, .skip-link { display: none !important; }
  .shell { width: 100%; }
  .page { padding: 0; }
  .intelligence-result[hidden] { display: block !important; }
  .intelligence-result { break-inside: avoid; box-shadow: none; margin-bottom: 20px; }
  .comparison-scroll { max-height: none; }
  .assessment-hero { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

.report-navigation { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 30px; border-bottom: 1px solid var(--line); background: #fafcfd; font-size: 10px; color: var(--muted); }
.report-navigation a { color: var(--blue); padding-block: 5px; }
.report-navigation i { margin-right: 5px; }
@media (max-width: 520px) {
  .report-navigation { padding-inline: 20px; }
  .hero-label { font-size: 9px; }
  .hero-confidence .confidence-caption { font-size: 9px; }
  .results-actions .btn { white-space: nowrap; gap: 5px; padding-inline: 7px; }
  .comparison-table { min-width: 0; }
  .comparison-table th:first-child { width: 42%; padding-left: 16px; }
  .comparison-table th:nth-child(2) { width: 33%; }
  .comparison-table th:nth-child(3) { width: 25%; }
  .comparison-table th:nth-child(n+4), .comparison-table td:nth-child(n+4) { display: none; }
  .comparison-table td, .comparison-table th { padding: 10px 6px; }
  .comparison-table .ip-select { font-size: 11px; }
  .risk-tag { gap: 4px; font-size: 10px; }
}
.result-identity span, .classification-value { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hero-confidence { flex-wrap: wrap; }
@media (max-width: 360px) {
  .result-tools { flex-wrap: wrap; }
  .result-count { flex-basis: 100%; }
  .accepted-count { flex-basis: auto; margin-left: auto; }
  .results-actions { margin-left: auto; }
  .hero-confidence .confidence-caption { flex-basis: 100%; margin-left: 0; }
}
