.ipd-intro { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; }
.ipd-hero-ip { min-width: 0; padding: 24px; border: 1px solid var(--resource-line); border-radius: 14px; background: var(--resource-surface); }
.ipd-hero-ip-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--resource-muted); font-size: .74rem; }
.ipd-hero-ip-top > strong { padding: 3px 8px; border-radius: 6px; background: var(--resource-selected); color: var(--resource-accent); font-size: .7rem; }
.ipd-ip-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 15px; }
.ipd-ip-line > strong { min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.3rem, 2.8vw, 2.1rem); line-height: 1.35; letter-spacing: -.04em; overflow-wrap: anywhere; }
.ipd-copy { min-height: 36px; padding: 6px 10px; font-size: .75rem; }
.resource-hero .ipd-hero-ip > p { font-size: .8rem; }
.ipd-hero-ip-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--resource-line); }
.ipd-hero-ip-meta span, .ipd-hero-ip-meta strong { display: block; font-size: .75rem; overflow-wrap: anywhere; }
.ipd-hero-ip-meta span { margin-bottom: 3px; color: var(--resource-muted); }
.ipd-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.resource-hero .ipd-scan-disclosure { font-size: .8rem; }
.ipd-overview, .ipd-tests, .ipd-inbound-test { scroll-margin-top: 100px; }
.ipd-score-card { display: flex; align-items: center; gap: 20px; }
.ipd-score-ring { display: flex; align-items: baseline; justify-content: center; gap: 4px; flex-shrink: 0; min-width: 86px; padding: 14px 12px; border-radius: 12px; background: var(--resource-selected); color: var(--resource-accent); }
.ipd-score-ring > strong { font-size: 1.8rem; line-height: 1.1; }
.ipd-score-ring > span { font-size: .8rem; }
.ipd-kicker { color: var(--resource-muted); font-size: .74rem; }
.ipd-score-copy h2 { margin: 5px 0; font-size: 1.25rem; font-weight: 750; line-height: 1.4; }
.ipd-score-copy p { margin: 0; color: var(--resource-muted); font-size: .85rem; }
.ipd-network-verdicts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ipd-verdict { padding: 17px; border: 1px solid var(--resource-line); border-radius: 10px; background: var(--resource-soft); }
.ipd-verdict small, .ipd-verdict strong { display: block; }
.ipd-verdict small { color: var(--resource-muted); font-size: .73rem; }
.ipd-verdict strong { margin: 7px 0; font-size: .925rem; font-weight: 700; }
.ipd-verdict p { margin: 0; font-size: .8rem; color: var(--resource-muted); }
.ipd-verdict a { display: inline-block; margin-top: 10px; font-size: .8rem; color: var(--resource-accent); }
.ipd-verdict.safe strong { color: #047857; }
.ipd-verdict.warning strong { color: #b45309; }
.ipd-verdict.danger strong { color: #b91c1c; }
.dark .ipd-verdict.safe strong { color: #6ee7b7; }
.dark .ipd-verdict.warning strong { color: #fcd34d; }
.dark .ipd-verdict.danger strong { color: #fca5a5; }
.ipd-progress { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--resource-line); }
.ipd-progress > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--resource-muted); }
.ipd-progress-track { height: 5px; margin-top: 10px; overflow: hidden; border-radius: 10px; background: var(--resource-line); }
.ipd-progress-track span { display: block; height: 100%; width: 0; background: #6366f1; transition: width .3s; }
.ipd-section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ipd-section-heading > span { font-size: .8rem; color: var(--resource-muted); }
.ipd-empty-card { padding: 22px; border: 1px dashed var(--resource-line); border-radius: 12px; color: var(--resource-muted); font-size: .875rem; background: var(--resource-soft); }
.ipd-findings-list { display: grid; gap: 10px; }
.ipd-findings-list > .resource-details { margin-top: 0; }
.ipd-additional { display: grid; gap: 10px; margin-top: 16px; }
.ipd-finding { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--resource-line); border-radius: 12px; background: var(--resource-soft); }
.ipd-finding-mark { width: 4px; border-radius: 5px; flex-shrink: 0; background: #818cf8; }
.ipd-finding.warning .ipd-finding-mark { background: #f59e0b; }
.ipd-finding.critical .ipd-finding-mark { background: #ef4444; }
.ipd-finding h3 { margin: 0 0 5px; font-size: .95rem; font-weight: 700; }
.ipd-finding p { margin: 0; color: var(--resource-muted); font-size: .85rem; }
.ipd-finding small { display: block; margin-top: 8px; font-size: .83rem; }
.ipd-tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.ipd-test { min-width: 0; border: 1px solid var(--resource-line); border-radius: 12px; background: var(--resource-surface); overflow: hidden; }
.ipd-test summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; cursor: pointer; list-style: none; }
.ipd-test summary::-webkit-details-marker { display: none; }
.ipd-test summary::before { content: "+"; color: var(--resource-accent); font-size: 1.2rem; }
.ipd-test[open] summary::before { content: "−"; }
.ipd-test summary > span:first-of-type { flex: 1; min-width: 0; }
.ipd-test summary strong, .ipd-test summary small { display: block; }
.ipd-test summary strong { font-size: .9rem; font-weight: 650; }
.ipd-test summary small { margin-top: 4px; color: var(--resource-muted); font-size: .75rem; }
.ipd-state { padding: 4px 8px; border-radius: 6px; background: var(--resource-soft); color: var(--resource-muted); font-size: .67rem; font-weight: 700; white-space: nowrap; }
.ipd-state.running, .ipd-state.info { color: var(--resource-accent); background: var(--resource-selected); }
.ipd-state.safe { color: #047857; background: #d1fae5; }
.ipd-state.warning { color: #92400e; background: #fef3c7; }
.ipd-state.leak { color: #b91c1c; background: #fee2e2; }
.dark .ipd-state.safe { color: #6ee7b7; background: #064e3b; }
.dark .ipd-state.warning { color: #fcd34d; background: #422f16; }
.dark .ipd-state.leak { color: #fca5a5; background: #450a0a; }
.ipd-details { padding: 16px 18px; border-top: 1px solid var(--resource-line); }
.ipd-kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ipd-kv { min-width: 0; padding: 10px; border-radius: 8px; background: var(--resource-soft); }
.ipd-kv span { display: block; color: var(--resource-muted); font-size: .68rem; }
.ipd-kv strong { display: block; margin-top: 4px; font-size: .77rem; font-weight: 600; overflow-wrap: anywhere; }
.ipd-empty, .ipd-callout { color: var(--resource-muted); font-size: .8rem; }
.ipd-test-link { display: inline-block; margin: 0 18px 16px; color: var(--resource-accent); font-size: .8rem; font-weight: 600; }
.ipd-inbound-test > p { color: var(--resource-muted); font-size: .875rem; }
.ipd-inbound-test form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ipd-inbound-test label { font-size: .85rem; font-weight: 650; }
.ipd-inbound-test input { width: 130px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--resource-line); border-radius: 8px; color: var(--resource-ink); background: var(--resource-surface); }
.ipd-inbound-test .ipd-test-link { margin: 6px 0 0; }
@media (max-width: 850px) { .ipd-intro { grid-template-columns: 1fr; gap: 24px; } .ipd-network-verdicts { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ipd-tests { grid-template-columns: 1fr; } .ipd-score-card { align-items: flex-start; gap: 12px; } .ipd-score-ring { min-width: 64px; flex-wrap: wrap; } .ipd-hero-ip { padding: 18px; } .ipd-hero-ip-meta { gap: 8px; } .ipd-kv-grid { grid-template-columns: 1fr; } .ipd-inbound-test form { display: grid; grid-template-columns: 1fr auto; } .ipd-inbound-test label { grid-column: 1 / -1; } .ipd-inbound-test input { width: 100%; } }
