:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f5f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 48px 20px 80px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #65708a; }
h1 { margin: 8px 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.05; }
.sub { max-width: 760px; color: #647086; line-height: 1.6; }
.card, .partner { background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; box-shadow: 0 8px 28px rgba(24,39,75,.06); }
.card { padding: 22px; margin-top: 28px; }
label { display: block; font-weight: 700; margin-bottom: 9px; }
.input-row { display: flex; gap: 10px; }
input { flex: 1; min-width: 0; border: 1px solid #ccd4e2; border-radius: 10px; padding: 13px 14px; font-size: 15px; outline: none; }
input:focus { border-color: #6478ff; box-shadow: 0 0 0 3px rgba(100,120,255,.12); }
button { border: 0; border-radius: 10px; padding: 0 22px; background: #172033; color: #fff; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.hint { margin-top: 9px; color: #7b8598; font-size: 12px; }
.status { margin-top: 18px; padding: 13px 15px; border-radius: 10px; background: #eef2ff; color: #36427a; }
.status.error { background: #fff0f0; color: #a12828; }
.hidden { display: none; }
.summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 20px 0; }
.stat { background:#fff; border:1px solid #e3e8f1; border-radius:14px; padding:18px; }
.stat b { display:block; font-size:27px; margin-bottom:5px; }
.stat span { color:#737e91; font-size:12px; }
.results { display:flex; flex-direction:column; gap:14px; }
.partner { overflow:hidden; }
.partner-head { padding:16px 18px; display:flex; justify-content:space-between; gap:15px; align-items:center; border-bottom:1px solid #edf0f5; }
.partner-name { font-weight:800; }
.badge { background:#eef2ff; color:#4553a8; border-radius:999px; padding:5px 9px; font-size:12px; font-weight:800; }
.lines { margin:0; padding:0; list-style:none; }
.line { padding:11px 18px; border-bottom:1px solid #f0f2f6; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.line:last-child { border-bottom:0; }
.match-type { color:#8a93a4; font: 11px/1.2 Inter, sans-serif; margin-left:8px; }
.empty { text-align:center; padding:30px; color:#687387; }
@media (max-width:700px) {
  .input-row { flex-direction:column; }
  button { height:46px; }
  .summary { grid-template-columns:repeat(2,1fr); }
}

.result-section { display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.section-title { font-size:18px; font-weight:850; margin-top:4px; }
.section-note { color:#737e91; font-size:12px; margin-bottom:4px; }

.partner-coverage { color:#667085; font-size:12px; font-weight:650; margin-top:4px; }
.final-summary { margin-top:24px; padding:18px; border:1px solid #e3e7ee; border-radius:14px; background:#fafbfc; }
.summary-list { display:flex; flex-direction:column; margin-top:12px; }
.summary-row { display:flex; justify-content:space-between; gap:20px; padding:9px 0; border-bottom:1px solid #e9edf2; }
.summary-row:last-child { border-bottom:0; }
.summary-name { font-weight:750; }
.summary-value { color:#596579; text-align:right; }

.summary-header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.copy-advertisers { color:#111827 !important; border:1px solid #d7dce4; background:#fff; border-radius:8px; padding:8px 12px; font-size:12px; font-weight:750; cursor:pointer; white-space:nowrap; }
.copy-advertisers:hover { background:#f4f6f8; }

.summary-domain { font-size:15px; font-weight:800; margin-bottom:5px; }
