
:root {
  --bg: #fbf6ef; --bg-soft: #f6ede1; --surface: #fff;
  --text: #2f2a26; --muted: #6f655d; --line: #eadfd2;
  --accent: #c4513a; --accent-hover: #ab4330; --accent-soft: #fbe5dd; --accent-tint: #fff3ee;
  --error: #a63a2b; --error-bg: #fdecea;
  --ok: #2f7a4f; --ok-bg: #e3f3e8; --bad: #b23b3b; --bad-bg: #fbe4e2; --mid: #9a6512; --mid-bg: #fdf0d5;
  --r: 16px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(80,50,30,.05), 0 8px 24px rgba(80,50,30,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body { background: radial-gradient(ellipse 70% 280px at 80% -40px, #fde3d6 0%, rgba(251,246,239,0) 70%), var(--bg); min-height: 100vh; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px 48px; }

header.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.brand-logo { width: 52px; height: 52px; display: block; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 42px; line-height: 0.8; letter-spacing: -.03em; color: #1f4f57; }
@media (max-width: 700px) { .brand-logo { width: 42px; height: 42px; } .brand-name { font-size: 34px; } }
h1 { font-size: clamp(1.5rem, 3vw, 1.95rem); font-weight: 700; letter-spacing: -.02em; }
h1 .hl { color: var(--accent); }
.subtitle { color: var(--muted); font-size: .95rem; margin: 6px 0 0; max-width: 46em; }
.head-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.btn-download { background: var(--accent); color: #fff; border: none; padding: 10px 16px; border-radius: 10px; font-weight: 700; cursor: pointer; font: inherit; box-shadow: 0 4px 12px rgba(196,81,58,.22); }
.btn-download:hover { background: var(--accent-hover); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .82rem; color: #4a423c; }
.chip svg { color: var(--accent); flex: none; }

.test-banner { background: #fff3c4; border: 1.5px dashed #b8860b; color: #5a4300; font-weight: 700; text-align: center; border-radius: 10px; padding: 8px 12px; margin: 0 0 16px; font-size: .9rem; }
.notice { background: var(--bg-soft); border-radius: var(--r-sm); padding: 12px 14px; font-size: .9rem; color: #4a423c; margin: 0 0 16px; }

.grid-layout, .report-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) {
  .grid-layout, .report-grid { grid-template-columns: 1fr; }
  header.top { flex-direction: column; align-items: flex-start; }
  .head-actions, .chips { align-items: flex-start; justify-content: flex-start; }
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; margin-bottom: 24px; }
.card-title { font-size: 1.12rem; font-weight: 700; margin: 0 0 14px; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.card-title .num { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; }

.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.how-step { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-tint); border-radius: var(--r-sm); padding: 10px; }
.how-icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(196,81,58,.12); }
.how-num { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--accent-tint); }
.how-step h3 { font-size: .95rem; margin: 0 0 2px; }
.how-step p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.4; }

.label { display: block; font-weight: 700; margin: 0 0 10px; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 95px; padding: 12px 16px; border: 2px dashed #e3c3b5; border-radius: var(--r); background: var(--accent-tint); cursor: pointer; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: #ffece4; }
.dropzone:focus-within { box-shadow: 0 0 0 4px rgba(196,81,58,.22); border-color: var(--accent); }
.dropzone.has-file { border-style: solid; border-color: #b9dcc6; background: #f1faf4; }
.dz-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(196,81,58,.15); }
.has-file .dz-icon { color: var(--ok); }
.dz-title { font-weight: 700; }
.dz-sub { color: var(--muted); font-size: .9rem; }
.dz-browse { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dz-file { max-width: 100%; margin-top: 6px; background: var(--surface); border: 1px solid #cfe6d7; color: var(--ok); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hint { color: var(--muted); font-size: .875rem; margin: 10px 2px 14px; }
.or-link { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.or-link::before, .or-link::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
input[type="text"], input[type="url"], input[type="email"] { display: block; width: 100%; padding: 12px 14px; margin: 0 0 12px; font: inherit; font-size: 1.02rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(196,81,58,.18); }
button { font: inherit; cursor: pointer; border-radius: 999px; }
#analyze-btn:disabled, #free-analyze-btn:disabled { opacity: .55; cursor: default; }
button:focus-visible { outline: 3px solid rgba(196,81,58,.45); outline-offset: 2px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--accent); color: #fff; border: none; padding: 14px 22px; font-weight: 700; box-shadow: 0 6px 16px rgba(196,81,58,.25); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.price-tag { font-weight: 600; opacity: .9; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--text); border: 1.5px solid #dccdbf; padding: 10px 16px; font-weight: 600; }
.btn-secondary:hover:not(:disabled) { background: var(--accent-tint); border-color: var(--accent); }
.btn-link { background: none; border: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 10px 8px; }
.error { color: var(--error); background: var(--error-bg); border-radius: 10px; padding: 8px 12px; margin: 10px 0; font-size: .925rem; font-weight: 500; }
.status { display: flex; align-items: center; gap: 10px; background: #fff8f4; border: 2px solid var(--accent); border-radius: var(--r); box-shadow: 0 8px 24px rgba(196,81,58,.22); padding: 12px 16px; margin: 0; color: var(--text); position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); max-height: calc(100% - 24px); overflow-y: auto; width: min(560px, calc(100% - 24px)); z-index: 100; }
.status[hidden] { display: none !important; }
.status.busy::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.pct { font-size: 1.1rem; font-weight: 800; color: var(--accent); display: block; line-height: 1.1; }
.status .progress-track { display: block; height: 5px; background: #f0e0d6; border-radius: 3px; margin: 4px 0 2px; overflow: hidden; }
.status .progress-bar { display: block; height: 100%; width: 0%; background: var(--accent); border-radius: 3px; transition: width .3s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .status.busy::before { animation: none; } }

.report { background: transparent; border: 0; box-shadow: none; padding: 8px 0 0; margin: 8px 0 0; }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.rep-ref { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.rep-ref b { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.report-head h2 { font-size: 1.35rem; font-weight: 700; }
.score-box { text-align: center; padding: 22px 16px; background: var(--accent-tint); border-radius: 12px; border: 1px solid #f0cfc4; }
.score-value { font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1.1; }
.band-label { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.band { --pill: var(--bg-soft); --dot: var(--muted); display: inline-block; font-size: 1.05rem; font-weight: 800; margin: 10px 0 0; padding: 8px 16px 8px 32px; border-radius: 999px; background: radial-gradient(circle at 16px 50%, var(--dot) 6px, transparent 6.5px), var(--pill); }
.band::first-letter { text-transform: uppercase; }
.band-true { --pill: var(--ok-bg); --dot: var(--ok); color: var(--ok); }
.band-false { --pill: var(--bad-bg); --dot: var(--bad); color: var(--bad); }
.band-unclear { --pill: var(--mid-bg); --dot: var(--mid); color: var(--mid); }
.score-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.quote-item { border-left: 3px solid var(--accent); padding: 2px 0 8px 14px; margin: 0 0 12px; color: #3d352f; font-style: italic; }
.quote-time { font-style: normal; font-size: .8rem; color: var(--accent); font-weight: 800; margin-right: 6px; }
.reason { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; overflow-wrap: break-word; font-style: normal; }
.warning { border-top: 1px solid var(--line); margin: 16px 0 0; padding-top: 12px; color: var(--muted); font-size: .85rem; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-green { background: var(--ok-bg); color: var(--ok); }
.badge-yellow { background: var(--mid-bg); color: var(--mid); }
.side-list { margin: 0; padding: 0 0 0 18px; color: var(--muted); font-size: .9rem; }
.side-list li { margin: 0 0 8px; }
.side-list strong { color: var(--text); }
.person { margin: 0 0 8px; }
.obs-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .88rem; }
.obs-table th, .obs-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.obs-table th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.obs-table td:first-child { white-space: nowrap; font-weight: 700; color: var(--accent); }
.fact-card { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 10px; border: 1px solid var(--line); }
.fact-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.subhead { font-size: .95rem; margin: 16px 0 8px; color: var(--text); }
.explain { display: grid; gap: 10px; }
.xcard { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); padding: 12px 14px; font-size: .9rem; }
.xcard.w-zwaar { background: var(--surface); border-left: 4px solid var(--accent); padding: 16px 18px; font-size: 1rem; }
.xcard header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; }
.xcard h3 { margin: 0; font-size: 1em; }
.weight { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wbar { display: block; height: 4px; border-radius: 2px; background: var(--line); margin: 6px 0 10px; }
.wbar i { display: block; height: 100%; width: 22%; border-radius: 2px; background: #c4b4a6; }
.w-zwaar .wbar i { width: 82%; background: var(--accent); }
.why-h { font-weight: 700; margin: 0 0 2px; }
.why { margin: 0 0 8px; }
.dir { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--bg-soft); font-size: .75rem; font-weight: 700; }
.dir-true { background: var(--ok-bg); color: var(--ok); }
.dir-false { background: var(--bad-bg); color: var(--bad); }
.seen { margin: 0 0 6px; color: #4a423c; }
.meaning { margin: 0; font-size: .8rem; color: var(--muted); }
.xcard.off { padding: 8px 12px; font-size: .85rem; color: var(--muted); }
.details { margin-top: 10px; white-space: pre-line; font-style: normal; }
.more-btn { margin-top: 12px; background: var(--surface); border: 1.5px solid #e3c3b5; color: var(--accent); border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.more-btn:hover { background: var(--accent-tint); }
.fc .reason p { margin: 0 0 6px; }
.fc .reason p:last-child { margin: 0; }
.fc .reason .dir { margin-left: 0; }
.fc-claims { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.honest { border-left: 5px solid #e2a63b; }
.terms-frame { display: block; width: 80%; height: 56px; border: 0; margin: 6px auto 0; background: transparent; }
@media (max-width: 900px) { .terms-frame { height: 120px; } }
.save-bar { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px 0 28px; padding: 22px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); text-align: center; }
.save-bar .btn-download { min-width: 260px; padding: 14px 28px; font-size: 1.05rem; }
.save-bar p { margin: 0; }
.df-banner { border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; border: 2px solid transparent; }
.df-banner h2 { font-size: 1.2rem; margin: 0 0 6px; }
.df-banner p { margin: 0; }
.df-clear { background: var(--ok-bg); border-color: #b7dfc6; color: var(--ok); }
.df-hit { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); animation: pulse-warn 1.15s ease-in-out infinite; }
.df-hit h2 { font-size: 1.45rem; letter-spacing: -.02em; }

.ad-slot { display: block; margin: 0 0 8px; }
.ad-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.ad-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad-top-actions { display: flex; align-items: center; gap: 8px; }
.ad-pause { appearance: none; background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; min-height: 32px; padding: 4px 10px; cursor: pointer; }
.ad-pause:focus-visible, .ad-dots button:focus-visible, .ad-cta:focus-visible { outline: 2px solid #1f4f57; outline-offset: 2px; }
.ad-stage { position: relative; min-height: 207px; }
.ad-card { display: none; min-height: 207px; padding: 14px 14px 12px; }
.ad-card.is-on { display: flex; flex-direction: column; gap: 6px; }
.ad-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ad-card h3 { font-size: 1.05rem; margin: 0; }
.ad-card p { margin: 0; color: #4a423c; font-size: .88rem; }
.ad-cta { margin-top: auto; align-self: flex-start; background: #1f4f57; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; min-height: 40px; font-weight: 700; cursor: pointer; }
.ad-dots { display: flex; gap: 4px; justify-content: center; padding: 0 0 8px; }
.ad-dots button { width: 44px; height: 28px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.ad-dots button::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto; border-radius: 50%; background: #e3c3b5; }
.ad-dots button.is-on::before { background: #1f4f57; }
.ad-note { margin: 8px 2px 0; font-size: .75rem; color: var(--muted); }
.ad-link { display: flex; flex-direction: column; gap: 6px; flex: 1; color: inherit; text-decoration: none; }
.ad-link:focus-visible { outline: 2px solid #1f4f57; outline-offset: 2px; border-radius: 8px; }
.ad-link .ad-cta { display: inline-flex; align-items: center; }
.ad-img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; border-radius: 10px; background: #fff; }
.ad-sale { background: #f3f7f7; }
.ad-sale .ad-sale-c { margin-top: auto; font-size: .8rem; color: var(--muted); }
@media (min-width: 901px) {
  .ad-slot { position: static; }
  .ad-stage, .ad-card { min-height: 392px; }
  .ad-card { padding: 18px 16px 16px; }
  .ad-card h3 { font-size: 1.2rem; }
  .ad-card p { font-size: .92rem; }
}
@media (max-width: 900px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .ad-slot {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    margin: 0; background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(80,50,30,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .ad-frame { border: 0; border-radius: 0; box-shadow: none; display: flex; align-items: stretch; }
  .ad-top {
    border: 0; padding: 0 8px 0 12px; flex: none; align-self: center;
    letter-spacing: .04em;
  }
  .ad-top-actions span, .ad-note, .ad-card p, .ad-dots { display: none; }
  .ad-pause { min-height: 36px; padding: 4px 8px; }
  .ad-stage { flex: 1; min-width: 0; min-height: 0; }
  .ad-card { min-height: 0; }
  .ad-card.is-on {
    flex-direction: row; align-items: center; gap: 8px;
    min-height: 73px; padding: 6px 12px 6px 0;
  }
  .ad-kicker { display: none; }
  .ad-link { flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
  .ad-img { width: 64px; height: 44px; max-height: 44px; flex: none; object-fit: cover; }
  .ad-sale h3 { white-space: normal; }
  .ad-card h3 {
    flex: 1; min-width: 0; font-size: .92rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .ad-cta { margin: 0; min-height: 36px; padding: 6px 12px; font-size: .82rem; flex: none; }
  .overlay { z-index: 30; }
}
@media print { .ad-slot { display: none !important; } }
.keep-open { display: inline-block; margin-top: 4px; color: var(--error); font-weight: 800; letter-spacing: .01em; animation: pulse-warn 1.15s ease-in-out infinite; }
@keyframes pulse-warn { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .keep-open { animation: none; } }
footer { padding: 8px 2px 0; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.overlay { position: fixed; inset: 0; background: rgba(47,34,26,.45); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 16px 12px; z-index: 20; }
.panel { background: var(--surface); border-radius: 22px; box-shadow: 0 20px 48px rgba(80,50,30,.16); width: 100%; max-width: 460px; padding: 24px 20px; margin: auto 0; }
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pay-head h2 { margin: 0; font-size: 1.25rem; }
.pay-amount { flex: none; background: var(--accent-soft); color: var(--accent); font-weight: 800; border-radius: 999px; padding: 4px 14px; }
.pay-sub { color: var(--muted); font-size: .925rem; margin: 0 0 18px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); border: 1.5px solid var(--accent-soft); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.qr { text-align: center; margin: 0 0 20px; }
.qr img { display: inline-block; max-width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.alt-pay { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0 16px; margin-bottom: 20px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.actions .btn-primary { width: auto; flex: 1 1 auto; }
.methods { border: 0; padding: 0; margin: 0 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.methods legend { padding: 0; margin-bottom: 6px; }
.methods label { border: 1.5px solid #dccdbf; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.methods label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
[hidden] { display: none !important; }
@media (max-width: 700px) { .obs-table td:first-child { white-space: normal; } }
@media print {
  body { background: #fff; }
  .btn-download, .save-bar, #pay-overlay, #free-overlay, #free-done, .upload-card, .how-card, .test-banner, .flow-note, .honest, .terms-frame { display: none !important; }
  .card { break-inside: avoid; box-shadow: none; }
  .more-btn, button[aria-controls], details > summary::marker { display: none !important; }
  details > * { display: block !important; }
  .grid-layout, .report-grid { display: block; }
}

/* Andere pagina's (sleutels, betaald, admin, betalingen): behouden uit de vorige stijl */
.column { max-width: 720px; margin: 0 auto; padding: 28px 18px 40px; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 18px; margin-bottom: 24px; }
@media (min-width: 600px) { .column { padding: 48px 28px 56px; } .block { padding: 28px 30px; } }
.code { display: inline-block; font: 700 1.15rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; background: var(--accent-tint); color: var(--accent); border: 1.5px dashed #e3c3b5; border-radius: var(--r-sm); padding: 8px 14px; margin: 8px 0 4px; max-width: 100%; overflow-wrap: break-word; user-select: all; }
.tabel { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tabel th, .tabel td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #eadfd4; }
.tabel tr.nieuw { background: #d9f5d0; font-weight: 700; }
.tag-test { background: #fff3c4; border: 1px dashed #b8860b; border-radius: 6px; padding: 0 5px; font-size: .78rem; font-weight: 700; }

.brand { flex-wrap: wrap; row-gap: 4px; }
.slogan { margin-left: 76px; font-size: clamp(1.5rem, 3vw, 1.95rem); font-weight: 700; font-style: italic; letter-spacing: -.02em; color: var(--accent); align-self: center; line-height: 1.15; }
.slogan:empty { display: none; }
@media (min-width: 1000px) { .brand { flex-wrap: nowrap; white-space: nowrap; width: max-content; } }
@media (max-width: 999px) { .slogan { margin-left: 0; flex-basis: 100%; } }
.app-version{margin-left:8px;font-size:.75rem;font-weight:600;opacity:.6;align-self:center}
.lang-switch{display:flex;gap:4px}.lang-switch button{border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:.75rem;font-weight:700;padding:3px 9px;line-height:1.4}.lang-switch button.is-on{background:var(--accent);border-color:var(--accent);color:#fff}
.badge-red { background: var(--bad-bg); color: var(--bad); }
.mdf-line { margin: 12px 0 2px; font-size: .95rem; }
.mdf-reasons { margin: 0 0 4px; font-size: .88rem; color: var(--muted); }

/* Afdrukken/PDF (v1.15): licht watermerk (logo) en referentienummer onderaan elke pagina */
.print-wm { display: none; }
@page { margin: 14mm 12mm 16mm; @bottom-center { content: "Story Checkers"; font: 8pt sans-serif; color: #7a6a5e; } }
@media print {
  .print-wm { display: block; position: fixed; top: 50%; left: 50%; width: 120mm; height: 120mm; object-fit: contain; transform: translate(-50%, -50%); opacity: .07; z-index: 1000; pointer-events: none; }
  .report, .card { background: transparent !important; }
}

.overlay-center { align-items: center; }

/* v1.33 professionals-balk en binnenkort-pagina */
.pro-bar { display: flex; align-items: center; gap: 10px; min-height: 64px; margin: 0 0 10px; padding: 8px 14px; box-sizing: border-box; border: 1.5px solid #c9dcdc; border-radius: 14px; background: #eef5f5; color: #1f4f57; text-decoration: none; font-size: .9rem; line-height: 1.3; font-weight: 700; transition: background .15s, border-color .15s; }
.pro-bar:hover { background: #e3eeee; border-color: #1f4f57; }
.pro-bar:focus-visible { outline: 2px solid #1f4f57; outline-offset: 2px; }
.pro-t { flex: 1; min-width: 0; }
.pro-soon { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: #1f4f57; border-radius: 999px; padding: 3px 9px; }
.pro-arrow { flex: none; font-size: 1.1rem; color: #1f4f57; }
@media (max-width: 900px) { .pro-bar { margin: 0 0 12px; } }
.pw { max-width: 640px; margin: 0 auto; padding: 32px 20px 48px; }
.pw-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pw .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1f4f57; font-weight: 800; font-size: 1.5rem; }
.pw .brand img { width: 40px; height: 40px; }
.pc { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 24px; }
.pc .pro-soon { display: inline-block; }
.pc h1 { margin: 12px 0 8px; font-size: 1.7rem; }
.pc h1 .hl { color: var(--accent); }
.pc > p { color: #4a423c; margin: 0 0 20px; }
.pc form { display: flex; gap: 8px; flex-wrap: wrap; }
.pc label { width: 100%; font-weight: 700; font-size: .9rem; }
.pc input[type=email] { flex: 1 1 240px; padding: 12px 14px; border: 1.5px solid #dccdbf; border-radius: 12px; font: inherit; }
.pc input[type=email]:focus { outline: none; border-color: #1f4f57; }
.pc button { background: #1f4f57; color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.pc button:disabled { opacity: .6; cursor: default; }
.pc .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pc .pro-msg { margin: 12px 0 0; font-weight: 600; }
.pc .pro-msg.ok { color: var(--ok); } .pc .pro-msg.err { color: var(--bad); }
.pc .priv { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.pw .back { display: inline-block; margin-top: 18px; color: var(--muted); }

/* v1.34 gratis test: vermelding in het rapport (ook in de PDF) */
.fc-upsell { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid #1f4f57; background: #eef5f5; border-radius: 8px; font-size: .88rem; color: #1f4f57; }
@media print { .fc-upsell { background: #fff; border: 1px solid #1f4f57; border-left-width: 4px; } }

/* v1.35 knop Volledige analyse onder de gratis-kader; in de PDF een klikbare link */
.fc-upsell-wrap .fc-upsell { margin-bottom: 10px; }
.up-btn { display: inline-flex; align-items: center; gap: 8px; background: #1f4f57; color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; min-height: 44px; font-weight: 700; font-size: .95rem; cursor: pointer; }
.up-btn:hover { background: #173d43; }
.up-btn:focus-visible { outline: 3px solid #c9dcdc; outline-offset: 2px; }
.up-sub { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.up-pdf { display: none; }
@media print {
  .up-btn, .up-sub { display: none !important; }
  .up-pdf { display: inline-block; margin-top: 4px; padding: 6px 14px; border: 1.5px solid #1f4f57; border-radius: 999px; color: #1f4f57; font-weight: 700; text-decoration: none; }
}

/* v1.37 6-delig rapport */
.sec-body p { margin: 0 0 8px; line-height: 1.55; }
.sec-body .sec-who { margin: 12px 0 4px; font-size: .95rem; color: #1f4f57; }
.sec-body .sec-cat { margin: 10px 0 4px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #7a6a5e; }
.sec-body .sec-obs, .sec-body .sec-int { padding: 6px 10px; border-radius: 8px; margin: 0 0 6px; }
.sec-body .sec-obs { background: #f6f2ec; border-left: 3px solid #b9aa98; }
.sec-body .sec-int { background: #eef5f5; border-left: 3px solid #1f4f57; }
.sec-body .sec-list { margin: 0 0 8px 18px; padding: 0; }
.sec-sub { margin: 14px 0 6px; font-size: .95rem; }
.sec-app { margin-top: 10px; padding-top: 8px; border-top: 1px solid #ece5dc; }
.card-title .num.sub { opacity: .55; }
@media print { .sec-obs, .sec-int, .sec-who { break-inside: avoid; } .card.sec[hidden] { display: none !important; } }
.fc-claims .fc-meta { display: inline-block; margin-left: 8px; font-size: .8rem; color: #7a6a5e; }
.fc-claims .fc-src { display: block; margin-top: 4px; font-size: .8rem; color: #5b5048; word-break: break-word; }
.dir.dir-part { background: #fbf1dc; color: #8a5a00; }
@media print { #fc-claims { display: block !important; } #fc-more { display: none !important; } }

/* v1.41: feitencheck niet afgerond */
.fc-failed { border-left: 4px solid #b3261e; padding: 8px 12px; background: #fdf1ef; border-radius: 6px; }
@media print { .fc-failed { border-left: 4px solid #b3261e !important; } }

/* v1.41: bron (bestandsnaam/link) en vingerafdruk naast het referentienummer */
.rep-src { margin: 2px 0 0; font-size: .9rem; overflow-wrap: anywhere; word-break: break-word; }
.rep-sha { color: #7a6a5e; font-size: .72rem; font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
@media print { .rep-src { display: block; } .rep-src[hidden] { display: none; } }

/* v1.41: gratis knop ongeveer even groot als Analyseer; laatste twee kleine regels naast elkaar */
.btn-free { padding: 6px 14px; min-height: 48px; line-height: 1.15; row-gap: 0; }
.btn-free .free-priv, .btn-free .free-row { display: block; flex-basis: 100%; text-align: center; font-size: .66rem; color: #9a948e; font-weight: 400; margin-top: 1px; }
.btn-free .free-row span { display: inline; white-space: nowrap; }
@media (max-width: 420px) { .btn-free .free-row span { white-space: normal; } .btn-free .free-priv, .btn-free .free-row { font-size: .62rem; } }
/* v1.46 voorwaarden-regel in de betaalknop */
#analyze-btn.has-tos { flex-wrap: wrap; padding: 6px 14px; min-height: 48px; line-height: 1.15; row-gap: 0; }
#analyze-btn .tos-line { display: block; flex-basis: 100%; text-align: center; font-size: .66rem; color: rgba(255,255,255,.78); font-weight: 400; margin-top: 1px; }
#analyze-btn .tos-link { text-decoration: underline; cursor: pointer; }
#analyze-btn .tos-link:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-radius: 2px; }
@media (max-width: 420px) { #analyze-btn .tos-line { font-size: .62rem; } }
/* v1.46b: gratis knop: grijze regels op één lijn, zelfde hoogte als de betaalknop */
.btn-free .free-sub { display: block; flex-basis: 100%; text-align: center; font-size: .62rem; color: #9a948e; font-weight: 400; margin-top: 1px; line-height: 1.2; }
.btn-free .free-sub .free-priv, .btn-free .free-sub .free-row { display: inline; flex-basis: auto; font-size: inherit; margin: 0; }
.btn-free .free-sub .free-priv::after { content: " · "; }
.btn-free .free-sub .free-row span { white-space: normal; }
#analyze-btn.has-tos .tos-line { font-size: .62rem; line-height: 1.2; }

/* v1.60: nieuw geanimeerd logo (basis + oranje vinkje dat zacht fadet); statisch bij reduced-motion en print */
.logo-container { width: 52px; height: 52px; position: relative; flex: 0 0 auto;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.25));
  animation: logoEntrance 1.2s cubic-bezier(0.22, 1.4, 0.36, 1) forwards;
  transform: scale(0.3) rotateZ(-12deg); }
.logo-base, .logo-orange { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.logo-base { background-image: url('logo-base.png'); }
.logo-orange { background-image: url('logo-orange.png'); animation: orangeFade 2.6s ease-in-out 1.2s infinite; }
@keyframes logoEntrance { to { transform: scale(1) rotateZ(0deg); } }
@keyframes orangeFade { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.logo-container:hover .logo-orange { animation: none; opacity: 1; }
@media (max-width: 700px) { .logo-container { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .logo-container { animation: none; transform: none; } .logo-orange { animation: none; opacity: 1; } }
@media print { .logo-container { animation: none; transform: none; filter: none; } .logo-orange { animation: none; opacity: 1; } }
/* v1.60: taalknoppen/chips rechtsboven passen netjes (wrappen i.p.v. over de rand) */
header.top > div:first-child { flex: 1 1 auto; min-width: 0; }
.head-actions { flex: 0 1 240px; min-width: 0; max-width: 100%; }
.lang-switch { flex-wrap: wrap; justify-content: flex-end; }
.chips .chip { white-space: nowrap; }
@media (max-width: 900px) { .head-actions { flex-basis: auto; } .lang-switch { justify-content: flex-start; } }
/* v1.62: betaalmethodes als logo-knoppen (naam blijft als alt/title) */
.methods label.pm-opt { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 6px 12px; background: #fff; min-height: 40px; }
.methods .pm-logo { height: 24px; width: auto; max-width: 96px; display: block; }
.methods .pm-logo[src*="bancontact"] { height: 34px; max-width: 110px; margin: -5px 0; } /* v1.63: Bancontact-logo heeft veel witruimte: iets groter */

/* v1.71: pagina 'Waarom Story Checkers anders is' */
.pw.wa { max-width: 880px; }
.wa .brand .logo-container { width: 44px; height: 44px; }
.wa h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; margin: 36px 0 12px; }
.wa-intro { font-size: 1.1rem; color: var(--muted, #6f655d); max-width: 640px; }
.wa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 32px 0; }
.wa-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.wa-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft, #fbe5dd); color: var(--accent); font-weight: 700; align-items: center; justify-content: center; }
.wa-card h2 { font-size: 1.1rem; margin: 12px 0 6px; }
.wa-card p { margin: 0; color: var(--muted, #6f655d); }
.wa-tag { text-align: center; background: #fff3ee; border: 1px solid var(--accent-soft, #fbe5dd); border-radius: 16px; padding: 26px 16px; font-size: clamp(1.2rem, 3.5vw, 1.6rem); font-weight: 700; color: var(--accent); }
.wa-back { text-align: center; margin-top: 24px; }
.site-links a { color: inherit; }

/* v1.75: te groot bestand */
.dropzone.too-big { border-style: solid; border-color: #e0a4a4; background: #fdf1f1; }
#analyze-btn:disabled, #free-analyze-btn:disabled { opacity: .55; cursor: not-allowed; }

/* v1.79: vaste rapportopmaak (deelclaims-tabel) */
.rep { margin-top: 6px; }
.rep .rep-row { margin: 4px 0; font-size: .9rem; }
.rep-subs { width: 100%; border-collapse: collapse; font-size: .82rem; margin: 4px 0 6px; }
.rep-subs th, .rep-subs td { border: 1px solid #e3d9cf; padding: 4px 6px; text-align: left; vertical-align: top; }
.rep-subs th { background: #f6f0ea; }
@media print { .rep-subs { page-break-inside: avoid; } }

/* v1.80: reclamevak verborgen op publieke site (gsm + desktop) */
.ad-slot { display: none !important; }

@media print{#share-x{display:none!important}}
