:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe3ef;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --blue: #2563eb;
  --blue-soft: #eaf1ff;
  --cyan: #0891b2;
  --success: #047857;
  --success-soft: #ecfdf5;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--soft); }
body { margin: 0; min-height: 100vh; background: var(--soft); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
.hidden { display: none !important; }

.loading-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 14px; text-align: center; background: var(--navy); color: #dbeafe; }
.logo-orb, .brand-mark { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2563eb, #0891b2); box-shadow: 0 10px 30px rgba(37, 99, 235, .35); }
.logo-orb { width: 74px; height: 74px; border-radius: 24px; margin: auto; font-size: 2rem; font-weight: 900; }

.toast { position: fixed; z-index: 200; top: max(18px, env(safe-area-inset-top)); left: 50%; width: min(560px, calc(100% - 30px)); transform: translateX(-50%); padding: 14px 18px; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; color: #1e40af; box-shadow: 0 18px 50px rgba(15, 23, 42, .2); font-weight: 650; }
.toast.error { border-color: #fecaca; background: var(--danger-soft); color: var(--danger); }
.toast.success { border-color: #a7f3d0; background: var(--success-soft); color: var(--success); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-light { color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; font-weight: 900; }
.eyebrow { margin: 0 0 7px; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.eyebrow.light { color: #7dd3fc; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 1.1fr) minmax(420px, .9fr); }
.auth-intro { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: max(42px, env(safe-area-inset-top)) clamp(34px, 6vw, 88px) max(42px, env(safe-area-inset-bottom)); color: #fff; background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .55), transparent 34%), radial-gradient(circle at 85% 80%, rgba(8, 145, 178, .38), transparent 35%), var(--navy); }
.auth-intro h1 { max-width: 760px; margin: 12px 0 22px; font-size: clamp(2.4rem, 5vw, 5.1rem); line-height: .98; letter-spacing: -.06em; }
.auth-copy { max-width: 680px; color: #cbd5e1; font-size: 1.08rem; line-height: 1.72; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; color: #bae6fd; font-size: .9rem; font-weight: 650; }
.auth-card-wrap { display: grid; place-items: center; padding: 34px; background: #eef3fa; }
.auth-card { width: min(520px, 100%); padding: 34px; border: 1px solid rgba(255,255,255,.9); border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.auth-card h2 { margin: 0 0 24px; font-size: 1.8rem; letter-spacing: -.035em; }
.auth-links { display: flex; justify-content: space-between; gap: 14px; }

.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; margin-bottom: 30px; border-radius: 13px; background: #edf2f7; }
.segment-button { border: 0; border-radius: 9px; padding: 10px 12px; color: var(--muted); background: transparent; font-weight: 750; cursor: pointer; }
.segment-button.active { color: var(--navy); background: #fff; box-shadow: 0 3px 12px rgba(15,23,42,.08); }

.stack { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #334155; font-size: .91rem; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid #cbd5e1; border-radius: 11px; outline: 0; color: var(--ink); background: #fff; }
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.check { grid-template-columns: 18px 1fr; align-items: start; color: var(--muted); font-weight: 500; line-height: 1.48; }
.check input { width: 17px; height: 17px; margin-top: 2px; }
.button { border: 0; border-radius: 11px; padding: 11px 16px; font-weight: 800; cursor: pointer; transition: transform .16s ease, opacity .16s ease, background .16s ease; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.wide-button { width: 100%; }
.primary { color: #fff; background: linear-gradient(135deg, var(--blue), #1d4ed8); box-shadow: 0 8px 20px rgba(37,99,235,.22); }
.primary:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.secondary { color: var(--navy); background: #e9eff9; }
.subtle { color: #cbd5e1; background: rgba(255,255,255,.08); }
.danger { color: #fff; background: var(--danger); }
.danger-outline { color: var(--danger); border: 1px solid #fecaca; background: #fff; }
.link-button { border: 0; padding: 0; color: var(--blue); background: transparent; font-weight: 750; cursor: pointer; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 245px; padding: 28px 20px; color: #fff; background: var(--navy); }
.sidebar .brand { color: #fff; padding: 0 8px 28px; }
.side-nav { display: grid; gap: 6px; }
.nav-button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; color: #94a3b8; background: transparent; text-align: left; font-weight: 730; cursor: pointer; }
.nav-button:hover, .nav-button.active { color: #fff; background: rgba(255,255,255,.09); }
.nav-icon { width: 24px; font-size: 1.2rem; text-align: center; }
.sidebar-foot { margin-top: auto; padding-top: 24px; color: #94a3b8; font-size: .78rem; line-height: 1.5; }
.workspace { min-height: 100vh; margin-left: 245px; padding: 0 34px 70px; }
.desktop-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 118px; max-width: 1240px; margin: auto; }
.desktop-topbar h1 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.credit-chip { display: flex; align-items: baseline; gap: 5px; padding: 9px 13px; border: 1px solid #bfdbfe; border-radius: 999px; color: #1e40af; background: #eff6ff; cursor: pointer; }
.credit-chip strong { font-size: 1rem; }
.credit-chip span { font-size: .78rem; font-weight: 700; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #334155, #0f172a); font-weight: 850; }
.mobile-header, .bottom-nav { display: none; }

.view { display: none; max-width: 1240px; margin: auto; animation: viewIn .18s ease; }
.active-view { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.panel { padding: 26px; border: 1px solid #e2e8f0; border-radius: 20px; background: var(--surface); box-shadow: 0 12px 35px rgba(15,23,42,.055); }
.panel h2 { margin: 0 0 18px; font-size: 1.35rem; letter-spacing: -.025em; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-heading h2 { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.stat-card { display: grid; gap: 6px; padding: 22px; border: 1px solid #e2e8f0; border-radius: 17px; background: linear-gradient(150deg, #fff, #f8fafc); }
.stat-card span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.stat-card strong { font-size: 2rem; letter-spacing: -.04em; }
.stat-card small { color: #94a3b8; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 18px; }
.cost-pill { padding: 7px 10px; border-radius: 999px; color: #475569; background: #f1f5f9; font-size: .78rem; font-weight: 800; }
.result-card { margin-top: 22px; padding: 20px; border: 1px solid #bfdbfe; border-radius: 16px; background: linear-gradient(145deg, #eff6ff, #f8fafc); }
.result-card h3 { margin: 0 0 14px; }
.result-card dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 13px; margin: 0; }
.result-card dt { color: var(--muted); }
.result-card dd { margin: 0; font-weight: 720; overflow-wrap: anywhere; }
.result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.activity-list, .data-list { display: grid; gap: 0; }
.activity-item, .data-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf2f7; }
.activity-item:last-child, .data-row:last-child { border-bottom: 0; }
.item-title { font-weight: 780; }
.item-meta { margin-top: 4px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.status-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #94a3b8; }
.status-dot.found { background: var(--success); }
.empty-state { padding: 28px 12px; color: var(--muted); text-align: center; }
.toolbar, .filter-row { display: flex; gap: 10px; }
.filter-row { margin-bottom: 16px; }
.filter-row input { flex: 1; }
.filter-row select { width: 180px; }
.data-row { align-items: center; }
.data-right { color: var(--muted); font-size: .82rem; text-align: right; }
.match-pill { display: inline-block; padding: 5px 8px; border-radius: 999px; color: var(--success); background: var(--success-soft); font-size: .72rem; font-weight: 800; }
.no-match-pill { color: #475569; background: #f1f5f9; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.contact-card { padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.contact-head { display: flex; justify-content: space-between; gap: 12px; }
.contact-head h3 { margin: 0; font-size: 1.05rem; }
.favorite-button { border: 0; color: #94a3b8; background: transparent; font-size: 1.35rem; cursor: pointer; }
.favorite-button.active { color: #f59e0b; }
.contact-phone { margin: 5px 0; color: var(--blue); font-weight: 780; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { padding: 4px 8px; border-radius: 999px; color: #475569; background: #f1f5f9; font-size: .72rem; font-weight: 700; }
.contact-actions { display: flex; gap: 10px; margin-top: 15px; }
.contact-editor { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0; }

.plans-hero { padding: 38px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(8,145,178,.48), transparent 32%), linear-gradient(135deg, #0f172a, #1e3a8a); box-shadow: var(--shadow); }
.plans-hero h2 { max-width: 750px; margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.05em; }
.plans-hero p:last-child { max-width: 680px; color: #cbd5e1; line-height: 1.65; }
.pricing-segment { width: min(420px, 100%); margin: 22px auto 10px; }
.billing-note { color: var(--muted); text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 365px; padding: 24px; border: 1px solid #dbe3ef; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.price-card.featured { border: 2px solid var(--blue); transform: translateY(-5px); box-shadow: 0 18px 45px rgba(37,99,235,.14); }
.popular-badge { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--blue); font-size: .72rem; font-weight: 850; }
.price-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.price-copy { min-height: 45px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.price { margin: 15px 0 3px; font-size: 2.3rem; font-weight: 900; letter-spacing: -.055em; }
.price-period { color: var(--muted); }
.included { margin: 12px 0; color: var(--blue); font-weight: 800; }
.feature-list { display: grid; gap: 8px; padding: 0; margin: 12px 0 22px; list-style: none; color: #475569; font-size: .86rem; }
.feature-list li::before { content: '✓'; margin-right: 8px; color: var(--success); font-weight: 900; }
.price-card .button { margin-top: auto; }
.restore-row { display: flex; justify-content: center; padding: 22px 0; }

.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.wide-panel { grid-column: 1 / -1; }
.details-list { display: grid; gap: 0; margin: 0; }
.details-list div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid #edf2f7; }
.details-list div:last-child { border-bottom: 0; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; font-weight: 750; text-align: right; }
.setting-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid #edf2f7; }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong, .setting-row small { display: block; }
.setting-row small { margin-top: 4px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.setting-row input { width: 42px; height: 22px; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-grid a { padding: 15px; border: 1px solid #e2e8f0; border-radius: 12px; text-decoration: none; font-weight: 750; }
.danger-panel { border-color: #fecaca; }
.danger-text { color: var(--danger); }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; }

.compact .activity-item, .compact .data-row { padding: 8px 0; }
.compact .contact-card { padding: 13px; }

@media (max-width: 1040px) {
  .sidebar { width: 210px; }
  .workspace { margin-left: 210px; padding-inline: 22px; }
  .overview-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .price-card { min-height: auto; }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-intro { min-height: auto; padding: calc(30px + env(safe-area-inset-top)) 24px 42px; gap: 50px; }
  .auth-intro h1 { font-size: clamp(2.25rem, 12vw, 3.7rem); }
  .trust-list { display: grid; }
  .auth-card-wrap { padding: 20px 14px calc(28px + env(safe-area-inset-bottom)); }
  .auth-card { padding: 24px 20px; border-radius: 20px; }
  .sidebar, .desktop-topbar { display: none; }
  .workspace { margin-left: 0; padding: 0 13px 25px; }
  .mobile-header { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; min-height: calc(66px + env(safe-area-inset-top)); margin: 0 -13px 18px; padding: env(safe-area-inset-top) 16px 0; border-bottom: 1px solid rgba(226,232,240,.9); background: rgba(248,250,252,.94); backdrop-filter: blur(15px); }
  .mobile-header .brand span:last-child { display: none; }
  .bottom-nav { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); min-height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #dbe3ef; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
  .bottom-nav-button { display: grid; place-items: center; align-content: center; gap: 2px; border: 0; color: #94a3b8; background: transparent; }
  .bottom-nav-button span { font-size: 1.2rem; }
  .bottom-nav-button small { font-size: .65rem; font-weight: 750; }
  .bottom-nav-button.active { color: var(--blue); }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-card:nth-child(3) { grid-column: 1 / -1; }
  .panel { padding: 19px 16px; border-radius: 17px; }
  .panel-heading, .responsive-heading { align-items: flex-start; }
  .responsive-heading { flex-direction: column; }
  .toolbar { width: 100%; }
  .toolbar .button { flex: 1; }
  .filter-row { flex-direction: column; }
  .filter-row select { width: 100%; }
  .contact-grid, .account-grid { grid-template-columns: 1fr; }
  .wide-panel { grid-column: auto; }
  .plans-hero { padding: 26px 20px; }
  .price-card { padding: 21px; }
  .link-grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .result-card dl { grid-template-columns: 76px 1fr; }
  .details-list div { grid-template-columns: 1fr; gap: 5px; }
  .details-list dd { text-align: left; }
}

/* Cross-platform client components */
.history-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf2f7; }
.history-row:last-child { border-bottom: 0; }
.history-main { display: grid; gap: 4px; min-width: 0; }
.history-main strong { overflow-wrap: anywhere; }
.history-main small, .history-detail { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.history-detail { display: grid; justify-items: end; gap: 5px; text-align: right; }
.status-dot.not-found { background: #94a3b8; }
.empty-state strong { display: block; margin-bottom: 7px; color: #334155; }
.empty-state p { margin: 0; line-height: 1.55; }
.contact-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.contact-top > div { display: grid; gap: 4px; min-width: 0; }
.contact-top a { overflow-wrap: anywhere; text-decoration: none; font-size: .86rem; font-weight: 750; }
.contact-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-weight: 900; }
.contact-address { min-height: 42px; margin: 14px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.tag-list > span { padding: 4px 8px; border-radius: 999px; color: #475569; background: #f1f5f9; font-size: .72rem; font-weight: 700; }
.contact-notes { margin: 11px 0 0; padding: 11px; border-radius: 10px; color: #475569; background: #f8fafc; font-size: .82rem; line-height: 1.5; white-space: pre-wrap; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #edf2f7; }
.small-button { padding: 8px 10px; font-size: .78rem; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 24px; border: 1px solid #dbe3ef; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.pricing-card.featured { border: 2px solid var(--blue); transform: translateY(-5px); box-shadow: 0 18px 45px rgba(37,99,235,.14); }
.featured-badge { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--blue); font-size: .72rem; font-weight: 850; }
.pricing-card h3 { margin: 0 0 7px; font-size: 1.25rem; }
.pricing-card > p { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.price-line { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 3px; }
.price-line strong { font-size: 2.25rem; letter-spacing: -.055em; }
.price-line span { color: var(--muted); }
.credit-line { color: var(--blue) !important; font-weight: 800; }
.pricing-card ul { display: grid; gap: 8px; padding: 0; margin: 12px 0 22px; list-style: none; color: #475569; font-size: .86rem; }
.pricing-card li::before { content: '✓'; margin-right: 8px; color: var(--success); font-weight: 900; }
.pricing-card .button { margin-top: auto; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-heading h3 { margin: 0; }
.match-badge, .neutral-badge { padding: 5px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.match-badge { color: var(--success); background: var(--success-soft); }
.neutral-badge { color: #475569; background: #e2e8f0; }
.result-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 11px !important; margin: 16px 0 !important; }
.result-grid > div { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.7); }
.result-grid dt { font-size: .74rem; }
.result-grid dd { margin-top: 3px !important; }
.result-card > small { display: block; margin-top: 14px; color: var(--muted); }
.result-provenance { margin: 14px 0 0; padding: 11px 12px; border-left: 3px solid #94a3b8; border-radius: 8px; color: #475569; background: #f8fafc; font-size: .8rem; line-height: 1.5; }
.compact-results .history-row { padding: 8px 0; }
.compact-results .contact-card { padding: 13px; }

@media (max-width: 1040px) {
  .pricing-card { min-height: auto; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .history-row { grid-template-columns: 10px minmax(0, 1fr); }
  .history-detail { grid-column: 2; display: flex; justify-content: space-between; width: 100%; text-align: left; }
  .result-grid { grid-template-columns: 1fr !important; }
  .card-actions .button { flex: 1; }
}
.account-action { margin-top: 18px; }

/* Protection suite additions */
.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.feature-grid .wide-panel { grid-column:1 / -1; }
.provider-selector { border:1px solid var(--line, #d9dee8); border-radius:14px; padding:12px; }
.provider-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:8px 0; }
.provider-option { display:flex; gap:8px; align-items:flex-start; padding:8px; border-radius:10px; background:rgba(120,130,150,.08); }
.provider-option small { display:block; opacity:.72; }
.inline-status { padding:10px 12px; border-radius:10px; background:rgba(75,105,210,.09); font-size:.92rem; }
.muted-copy { opacity:.75; line-height:1.55; }
.result-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; margin-top:12px; }
.source-card { border:1px solid var(--line, #d9dee8); border-radius:12px; padding:12px; }
.source-card.error { border-color:#d97777; }
.risk-meter { height:10px; border-radius:10px; overflow:hidden; background:rgba(100,110,125,.15); margin:8px 0; }
.risk-meter > span { display:block; height:100%; width:var(--risk,0%); background:linear-gradient(90deg,#2f9e64,#e5a50a,#d54b4b); }
.protection-rule-form { grid-template-columns:1.3fr .8fr 1.2fr auto; }
.family-member-list { display:grid; gap:8px; margin-top:12px; }
.family-member { display:flex; justify-content:space-between; gap:12px; padding:10px; background:rgba(120,130,150,.08); border-radius:10px; }
textarea { width:100%; resize:vertical; }
@media (max-width: 800px) {
  .feature-grid { grid-template-columns:1fr; }
  .provider-options { grid-template-columns:1fr; }
  .protection-rule-form { grid-template-columns:1fr; }
  .bottom-nav { overflow-x:auto; justify-content:flex-start; }
  .bottom-nav-button { min-width:72px; }
}
.provider-catalog-panel { margin-top: 1rem; }
.provider-catalog-list { display: grid; gap: .75rem; }
.provider-source-card { display:grid; grid-template-columns:minmax(160px,1.1fr) minmax(130px,.7fr) minmax(180px,1fr) minmax(220px,1.4fr); gap:.8rem; align-items:start; padding:1rem; border:1px solid var(--line, #d9dee8); border-radius:14px; background:rgba(120,130,150,.045); }
.provider-source-card h3 { margin:0 0 .2rem; font-size:1rem; }
.provider-source-card p, .provider-source-card small { margin:0; }
.provider-source-card .source-role { text-transform:capitalize; font-weight:700; }
.provider-source-card .source-status { display:inline-flex; width:max-content; border-radius:999px; padding:.2rem .55rem; background:rgba(75,105,210,.1); font-size:.78rem; font-weight:700; }
.provider-source-card a { overflow-wrap:anywhere; }
.privacy-disclosure { border:1px solid var(--line, #d9dee8); border-radius:12px; padding:12px; background:rgba(75,105,210,.06); }
.privacy-disclosure p { margin:.4rem 0 .65rem; font-size:.9rem; }
@media (max-width: 900px) { .provider-source-card { grid-template-columns:1fr 1fr; } }
@media (max-width: 620px) { .provider-source-card { grid-template-columns:1fr; } }
.family-control-grid { display:grid; gap:.65rem; margin:1rem 0; }
.family-threshold-form { align-items:center; }
.family-threshold-form input { max-width:120px; }
.family-member { gap:.6rem; }
.url-intelligence { margin-top: 1rem; display: grid; gap: .65rem; }
.url-intelligence h4 { margin: 0; font-size: .95rem; }
.url-intelligence .source-card { overflow-wrap: anywhere; }
.url-intelligence .source-card ul { margin: .55rem 0 0; padding-left: 1.2rem; }
.url-intelligence .url-risk-high { border-color: #c2413b; background: rgba(194,65,59,.06); }
.url-intelligence .url-risk-medium { border-color: #c88719; background: rgba(200,135,25,.06); }

.decision-card { margin: 14px 0; padding: 16px; border: 1px solid #cbd5e1; border-radius: 14px; background: #f8fafc; }
.decision-card h4 { margin: 0 0 6px; font-size: 1.05rem; }
.decision-score { margin: 0 0 10px; font-weight: 700; }
.decision-recommendation { margin: 0 0 10px; line-height: 1.55; }
.decision-card details { margin-top: 10px; }
.decision-card summary { cursor: pointer; font-weight: 700; }
.decision-card ul { margin: 10px 0 0; padding-left: 20px; }
.decision-limitations { margin: 10px 0 0; color: #64748b; font-size: .85rem; }

.language-picker{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;margin-bottom:1rem;font-size:.78rem;font-weight:700;color:#475569}.language-picker select,.setting-row select{width:auto;min-width:8rem}.context-help{margin-top:1rem;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;padding:.75rem 1rem}.context-help summary,.help-card summary{cursor:pointer;font-weight:800;color:#1e3a8a}.context-help p,.help-card p{margin:.65rem 0 0;color:#475569;line-height:1.55}.help-hero{margin-bottom:1rem}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.help-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1rem 1.1rem;box-shadow:0 8px 28px rgba(15,23,42,.05)}@media(max-width:760px){.help-grid{grid-template-columns:1fr}.bottom-nav{overflow-x:auto;justify-content:flex-start}.bottom-nav-button{min-width:64px}}
.page-language-picker{max-width:1180px;margin:1rem auto 0;padding:0 1rem}
