#sc-app {
      font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: #1a1a1a;
      max-width: 760px;
      margin: 0 auto;
      padding: 40px 24px 80px;
      background: #fafafa;
}
#sc-app h1 {
      font-size: 22px;
      margin: 0 0 4px 0;
}
#sc-app .subtitle {
      font-size: 13px;
      color: #666;
      margin-bottom: 24px;
}
#sc-app .meta {
      font-size: 12px;
      color: #888;
      margin-bottom: 28px;
}
#sc-app .actions {
      display: flex;
      gap: 10px;
      margin-bottom: 28px;
}
#sc-app button {
      padding: 10px 16px;
      border: none;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
}
#sc-app #download-pdf-btn {
      background: #2d6a4f;
      color: white;
}
#sc-app #download-pdf-btn:hover { background: #245741;
}
#sc-app #download-txt-btn {
      background: white;
      color: #1a1a1a;
      border: 1px solid #ccc;
}
#sc-app #download-txt-btn:hover { background: #f0f0f0;
}
#sc-app .summary-bar {
      display: flex;
      gap: 16px;
      margin-bottom: 28px;
      padding: 16px;
      background: white;
      border-radius: 8px;
      border: 1px solid #eee;
}
#sc-app .summary-stat {
      flex: 1;
      text-align: center;
}
#sc-app .summary-stat .num {
      font-size: 26px;
      font-weight: 700;
}
#sc-app .summary-stat .lbl {
      font-size: 11px;
      color: #888;
      margin-top: 2px;
}
#sc-app .stat-critical .num { color: #c0392b;
}
#sc-app .stat-important .num { color: #a06600;
}
#sc-app .stat-nice .num { color: #667;
}
#sc-app section {
      background: white;
      border: 1px solid #eee;
      border-radius: 8px;
      padding: 4px 16px;
      margin-bottom: 20px;
}
#sc-app section h2 {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #666;
      margin: 16px 0 4px 0;
}
#sc-app .check-row {
      display: flex;
      gap: 10px;
      padding: 10px 0;
      border-bottom: 1px solid #f2f2f2;
      align-items: flex-start;
}
#sc-app .check-row:last-child { border-bottom: none;
}
#sc-app .icon-pass { color: #2d6a4f; font-size: 15px;
}
#sc-app .icon-fail { color: #c0392b; font-size: 15px;
}
#sc-app .check-text { flex: 1; font-size: 13px;
}
#sc-app .check-tip { color: #888; font-size: 11.5px; margin-top: 3px;
}
#sc-app .priority-badge {
      display: inline-block;
      font-size: 9.5px;
      font-weight: 700;
      padding: 1px 6px;
      border-radius: 3px;
      margin-right: 6px;
      vertical-align: middle;
}
#sc-app .priority-CRITICAL { background: #fdecea; color: #c0392b;
}
#sc-app .priority-IMPORTANT { background: #fef6e0; color: #a06600;
}
#sc-app .priority-NICE_TO_HAVE { background: #eef1f3; color: #667;
}
#sc-app #empty-state {
      display: none;
      padding: 40px 0;
      text-align: center;
      color: #888;
      font-size: 13px;
}
#sc-app #pages-list {
      font-size: 12px;
      color: #444;
}
#sc-app #pages-list li {
      margin-bottom: 12px;
      word-break: break-all;
      line-height: 1.6;
}
#sc-app #passing-pages-section {
      display: none;
      margin-top: 8px;
}
#sc-app #passing-pages-summary {
      cursor: pointer;
      font-size: 12px;
      color: #2d6a4f;
      font-weight: 600;
}
#sc-app #passing-pages-list {
      font-size: 11.5px;
      color: #888;
      margin-top: 8px;
      word-break: break-all;
}
#sc-app #passing-pages-list li { margin-bottom: 3px;
}
#sc-app #business-details-section {
      padding: 4px 16px 16px;
}
#sc-app #business-details summary {
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      padding: 12px 0;
}
#sc-app .detail-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px 16px;
      margin-bottom: 12px;
}
#sc-app .detail-grid label {
      font-size: 11px;
      color: #666;
      display: flex;
      flex-direction: column;
      gap: 4px;
}
#sc-app .detail-grid input {
      width: 100%;
      box-sizing: border-box;
      padding: 7px 9px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 12.5px;
      font-family: inherit;
}
#sc-app #save-details-btn {
      background: #1a1a1a;
      color: white;
      padding: 7px 14px;
      font-size: 12px;
}
#sc-app #save-details-btn:hover { background: #333;
}
#sc-app #save-details-confirm {
      margin-left: 10px;
      color: #2d6a4f;
      font-size: 12px;
      font-weight: 600;
}
#sc-app .fix-actions {
      margin-top: 6px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
}
#sc-app .fix-btn {
      padding: 4px 10px;
      font-size: 11px;
      font-weight: 600;
      border-radius: 4px;
      cursor: pointer;
      border: 1px solid #ccc;
      background: white;
      color: #1a1a1a;
}
#sc-app .fix-btn:hover { background: #f0f0f0;
}
#sc-app .fix-btn.copied {
      background: #2d6a4f;
      color: white;
      border-color: #2d6a4f;
}
#sc-app #warning-checker-section .section-desc {
      font-size: 12px;
      color: #666;
      margin-bottom: 10px;
}
#sc-app #warning-input {
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 12.5px;
      font-family: inherit;
      resize: vertical;
      margin-bottom: 10px;
}
#sc-app #warning-check-btn {
      background: #1a1a1a;
      color: white;
      padding: 8px 16px;
      font-size: 12px;
}
#sc-app #warning-check-btn:hover { background: #333;
}
#sc-app #warning-results {
      margin-top: 14px;
}
#sc-app .warning-match {
      padding: 10px 0;
      border-bottom: 1px solid #f2f2f2;
      font-size: 13px;
}
#sc-app .warning-match:last-child { border-bottom: none;
}
#sc-app .warning-none {
      font-size: 12.5px;
      color: #888;
      padding: 10px 0;
}
#sc-app { background: transparent; padding-top: 0; }
#sc-app .sc-card { background: white; border: 1px solid #eee; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
#sc-app .sc-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
#sc-app #sc-url { flex: 1; min-width: 240px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; }
#sc-app #sc-start-btn { background: #2d6a4f; color: white; }
#sc-app #sc-start-btn:disabled { opacity: .6; cursor: default; }
#sc-app .sc-hint { font-size: 12px; color: #888; margin-top: 8px; }
#sc-app .sc-status { padding: 12px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 20px; }
#sc-app .sc-status-info { background: #eef5f1; color: #1d4d38; }
#sc-app .sc-status-ok { background: #e3f3ea; color: #1d4d38; }
#sc-app .sc-status-error { background: #fdecea; color: #a5281b; }
#sc-app .sc-status-warn { background: #fff1dc; color: #7a4a00; }
#sc-app #sc-history-list { font-size: 12.5px; padding-left: 18px; margin: 8px 0 0; }
#sc-app #sc-history-list li { margin-bottom: 4px; word-break: break-all; }

/* ---------- 0.2 ---------- */
#sc-app .settings-bar { display: flex; flex-wrap: wrap; gap: 14px; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
#sc-app .settings-bar label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 600; color: #444; min-width: 180px; }
#sc-app .settings-bar select { font-size: 13px; padding: 4px 6px; border: 1px solid #ccc; border-radius: 5px; }
#sc-app .muted { color: #888; font-weight: 400; font-size: 11px; }
#sc-app .report-note { background: #f4f8ff; border-left: 3px solid #4a7bd0; padding: 8px 12px; margin: 6px 0; font-size: 12.5px; color: #334; border-radius: 4px; }
#sc-app .source-badge { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-right: 6px; letter-spacing: .2px; cursor: help; }
#sc-app .source-GOOGLE { background: #e8f0fe; color: #1a56c4; }
#sc-app .source-RECOMMENDATION { background: #e9eef5; color: #2d3c55; }
#sc-app .source-RISK { background: #fff1e0; color: #9a5200; }
#sc-app .source-LAW { background: #efe8fb; color: #5b2fa6; }
#sc-app .status-icon { width: 20px; text-align: center; font-weight: 700; font-size: 15px; flex: none; }
#sc-app .icon-pass { color: #2d6a4f; }
#sc-app .icon-partial { color: #a06600; }
#sc-app .icon-fail { color: #c0392b; }
#sc-app .icon-na { color: #aaa; }
#sc-app .check-head { line-height: 1.7; }
#sc-app .status-word { font-size: 11px; color: #888; margin-left: 4px; }
#sc-app .status-fail .status-word { color: #c0392b; }
#sc-app .status-partial .status-word { color: #a06600; }
#sc-app .check-lines { font-size: 12px; color: #444; margin-top: 2px; }
#sc-app .fix-steps { margin: 6px 0 4px 18px; padding: 0; font-size: 12px; color: #333; }
#sc-app .fix-steps li { margin: 2px 0; }
#sc-app .finding-pages { font-size: 11.5px; margin-top: 4px; }
#sc-app .finding-pages ul { margin: 4px 0 0 16px; padding: 0; word-break: break-all; }
#sc-app .na-list { margin-top: 10px; font-size: 12px; color: #777; }
#sc-app #compare-section h3 { font-size: 12.5px; margin: 10px 0 4px; }
#sc-app .cmp-fixed li { color: #2d6a4f; }
#sc-app .cmp-worse li { color: #c0392b; }
#sc-app .cmp-open li { color: #a06600; }
#sc-app .section-desc { font-size: 12px; color: #666; line-height: 1.8; margin-bottom: 10px; }
#sc-app #compare-section ul { font-size: 13px; margin: 2px 0 6px 18px; padding: 0; }

/* ---------- 0.3: score, categories, top 5, history ---------- */
#sc-app #score-section { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 18px; margin: 14px 0; }
#sc-app .score-main { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
#sc-app .score-ring { width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; border: 6px solid #ddd; }
#sc-app .score-ring .score-num { font-size: 30px; font-weight: 700; line-height: 1; }
#sc-app .score-ring .score-of { font-size: 10px; color: #888; margin-top: 2px; }
#sc-app .score-text { flex: 1; min-width: 220px; }
#sc-app .score-verdict { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
#sc-app .score-note { font-size: 11.5px; color: #777; margin-top: 6px; line-height: 1.6; }
#sc-app .v-good { border-color: #2d6a4f; color: #2d6a4f; }
#sc-app .v-ok { border-color: #a06600; color: #a06600; }
#sc-app .v-warn { border-color: #d35400; color: #d35400; }
#sc-app .v-bad { border-color: #c0392b; color: #c0392b; }
#sc-app .cat-list { margin-top: 14px; border-top: 1px solid #f0f0f0; padding-top: 10px; }
#sc-app .cat-row { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 12.5px; }
#sc-app .cat-name { width: 170px; flex: none; color: #444; }
#sc-app .cat-bar { flex: 1; height: 9px; background: #eee; border-radius: 5px; overflow: hidden; min-width: 80px; }
#sc-app .cat-fill { display: block; height: 100%; border-radius: 5px; background: #999; }
#sc-app .cat-fill.v-good { background: #2d6a4f; }
#sc-app .cat-fill.v-ok { background: #c8921a; }
#sc-app .cat-fill.v-warn { background: #d35400; }
#sc-app .cat-fill.v-bad { background: #c0392b; }
#sc-app .cat-val { width: 86px; flex: none; text-align: right; font-weight: 600; }
#sc-app .check-num { display: inline-block; font-size: 10.5px; font-weight: 700; color: #777; background: #f1f1f1; border-radius: 4px; padding: 1px 5px; margin-right: 6px; }
#sc-app .top-list { margin: 0 0 0 18px; padding: 0; font-size: 13.5px; }
#sc-app .top-list li { margin: 7px 0; }
#sc-app .top-list a { color: #1a56c4; text-decoration: none; font-weight: 600; }
#sc-app .top-list a:hover { text-decoration: underline; }
#sc-app .delta { font-weight: 700; font-size: 12.5px; padding: 1px 6px; border-radius: 4px; }
#sc-app .delta-up { background: #e3f3ea; color: #1d6b43; }
#sc-app .delta-down { background: #fdecea; color: #a5281b; }
#sc-app .delta-same { background: #f1f1f1; color: #777; }
#sc-app .score-compare { font-size: 15px; margin: 8px 0 10px; }
#sc-app .cmp-table, #sc-app .hist-table { border-collapse: collapse; font-size: 12.5px; margin: 6px 0 10px; width: 100%; }
#sc-app .cmp-table th, #sc-app .hist-table th { text-align: left; font-size: 11px; text-transform: uppercase; color: #777; border-bottom: 1px solid #e5e5e5; padding: 4px 8px 4px 0; font-weight: 700; }
#sc-app .cmp-table td, #sc-app .hist-table td { padding: 4px 8px 4px 0; border-bottom: 1px solid #f4f4f4; }
#sc-app .hist-now td { background: #f7fbf9; }
#sc-app .finding-pages summary { cursor: pointer; font-weight: 600; color: #555; }

/* ---------- 0.4.1: findings as cards a non-technical reader can follow ---------- */
#sc-app #checks-list { display: flex; flex-direction: column; gap: 14px; }
#sc-app .finding {
  background: #fff; border: 1px solid #e3e3e3; border-left: 5px solid #ccc;
  border-radius: 10px; padding: 16px 18px 14px; font-size: 14px; line-height: 1.65; color: #1f2328;
}
#sc-app .finding.f-fail { border-left-color: #c0392b; }
#sc-app .finding.f-partial { border-left-color: #d98c00; }
#sc-app .finding.f-pass { border-left-color: #2d6a4f; background: #fcfdfc; padding-bottom: 10px; }
#sc-app .finding.f-na { border-left-color: #ccc; opacity: .75; }
#sc-app .f-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
#sc-app .f-title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.4; color: #11161a; }
#sc-app .finding.f-pass .f-title { font-size: 14.5px; font-weight: 600; }
#sc-app .f-chip { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
#sc-app .chip-fail { background: #fdecea; color: #a5281b; }
#sc-app .chip-partial { background: #fff4e0; color: #8a5a00; }
#sc-app .chip-pass { background: #e6f4ec; color: #1d6b43; }
#sc-app .chip-na { background: #f1f1f1; color: #666; }
#sc-app .f-tags { margin: 7px 0 2px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
#sc-app .prio-plain { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: #eef1f4; color: #41505e; }
#sc-app .prio-CRITICAL { background: #fbe3e0; color: #9c2a1d; }
#sc-app .prio-IMPORTANT { background: #fdf0d9; color: #8a5a00; }
#sc-app .f-block { margin-top: 12px; }
#sc-app .f-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: #51606e; margin-bottom: 4px;
}
#sc-app .f-found div { color: #1f2328; }
#sc-app .f-why { color: #39444f; background: #f6f8fa; border-radius: 7px; padding: 9px 12px; }
#sc-app .f-steps { margin: 0 0 0 20px; padding: 0; }
#sc-app .f-steps li { margin: 5px 0; color: #1f2328; }
#sc-app .f-help { background: #f2f8f5; border: 1px solid #dceae3; border-radius: 8px; padding: 11px 13px; }
#sc-app .f-help .f-label { color: #1d6b43; }
#sc-app .help-item { display: flex; gap: 11px; align-items: flex-start; margin: 8px 0; flex-wrap: wrap; }
#sc-app .help-text { flex: 1; min-width: 190px; font-size: 13px; color: #3c4854; line-height: 1.55; }
#sc-app .help-text em { color: #a5281b; font-style: normal; font-weight: 600; }
#sc-app .fix-btn {
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 6px;
  border: 1px solid #c3cfd8; background: #fff; color: #1f2328; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
#sc-app .fix-btn:hover { background: #f4f7f9; }
#sc-app .fix-btn.primary { background: #2d6a4f; border-color: #2d6a4f; color: #fff; }
#sc-app .fix-btn.primary:hover { background: #255a42; }
#sc-app .f-pages { margin-top: 10px; }
#sc-app .finding-pages { font-size: 13px; margin-top: 6px; }
#sc-app .finding-pages summary { cursor: pointer; font-weight: 600; color: #41505e; }
#sc-app .finding-pages ul { margin: 6px 0 0 18px; padding: 0; word-break: break-all; color: #3c4854; }
#sc-app .score-means { font-size: 14px; color: #1f2328; margin: 4px 0 6px; line-height: 1.6; max-width: 70ch; }
#sc-app .score-sub { font-size: 13px; color: #41505e; }
#sc-app .score-note { font-size: 12.5px; color: #5a6672; margin-top: 7px; line-height: 1.55; max-width: 70ch; }
#sc-app .muted { color: #5a6672; font-size: 12.5px; }
#sc-app .report-note { font-size: 13.5px; color: #26313a; line-height: 1.6; }
#sc-app .section-desc { font-size: 13px; color: #41505e; }
#sc-app .na-list { margin-top: 14px; font-size: 13px; color: #51606e; }
#sc-app .na-list summary { cursor: pointer; font-weight: 600; }
#sc-app .na-list .finding { margin-top: 10px; }
#sc-app .top-list { font-size: 15px; }
#sc-app .top-list li { margin: 10px 0; }
#sc-app .top-list .muted { font-size: 12.5px; }
#sc-app .top-list li { margin: 12px 0; line-height: 1.7; }
#sc-app .top-sub { font-size: 12.5px; color: #51606e; margin-top: 3px; }
#sc-app #top-section { border: 1px solid #e3e3e3; }

/* ---------- 0.5: live view while the scan runs ---------- */
#sc-app .sc-live { background: #fff; border: 1px solid #e3e3e3; border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
#sc-app .live-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
#sc-app .live-title { font-size: 16px; font-weight: 700; color: #11161a; }
#sc-app .live-sub { font-size: 13px; color: #51606e; margin-top: 2px; max-width: 60ch; line-height: 1.55; }
#sc-app .live-count { font-size: 14px; font-weight: 700; color: #2d6a4f; white-space: nowrap; }
#sc-app .live-bar { height: 8px; background: #eef1f3; border-radius: 5px; overflow: hidden; margin: 12px 0 14px; }
#sc-app .live-bar span { display: block; height: 100%; background: #2d6a4f; border-radius: 5px; transition: width .6s ease; }
#sc-app .browser-frame { border: 1px solid #d8dee3; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(16,24,32,.07); }
#sc-app .browser-bar { display: flex; align-items: center; gap: 6px; background: #eef1f4; padding: 8px 10px; border-bottom: 1px solid #e1e6ea; }
#sc-app .browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
#sc-app .browser-bar .d1 { background: #ff5f57; }
#sc-app .browser-bar .d2 { background: #febc2e; }
#sc-app .browser-bar .d3 { background: #28c840; }
#sc-app .browser-url {
  flex: 1; margin-left: 8px; background: #fff; border: 1px solid #dfe5ea; border-radius: 5px;
  padding: 4px 10px; font-size: 12.5px; color: #41505e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#sc-app .browser-view { position: relative; height: 290px; overflow: hidden; background: #f6f8fa; }
#sc-app .browser-view img { width: 100%; display: block; }
#sc-app .live-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #7b8894; font-size: 13.5px; }
#sc-app .scanline {
  position: absolute; left: 0; right: 0; height: 64px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(45,106,79,0) 0%, rgba(45,106,79,.16) 55%, rgba(45,106,79,.5) 100%);
  border-bottom: 2px solid rgba(45,106,79,.75);
  animation: sc-sweep 2.4s linear infinite;
}
@keyframes sc-sweep { 0% { top: -64px; } 100% { top: 290px; } }
@media (prefers-reduced-motion: reduce) { #sc-app .scanline { animation: none; top: 0; opacity: .25; } }
#sc-app .live-log { list-style: none; margin: 12px 0 0; padding: 0; font-size: 12.5px; }
#sc-app .live-log li { color: #51606e; padding: 3px 0; word-break: break-all; }
#sc-app .live-log li.now { color: #11161a; font-weight: 600; }
#sc-app .live-log li.now::before { content: '◉'; color: #2d6a4f; margin-right: 6px; }
#sc-app .live-log .tick { color: #2d6a4f; margin-right: 6px; }

/* ---------- 0.6: stop button, free check, upsell ---------- */
#sc-app .live-right, .sc-free .live-right { display: flex; align-items: center; gap: 10px; }
#sc-app .live-stop, .sc-free .live-stop { border-color: #d8b2ac; color: #a5281b; }
#sc-app .live-stop:hover, .sc-free .live-stop:hover { background: #fdf2f0; }
#sc-app .sc-cancel-running { margin-left: 10px; }

.sc-free { font-size: 15px; line-height: 1.65; color: #1f2328; }
.sc-free .scf-intro { margin-bottom: 18px; }
.sc-free .scf-intro h2 { font-size: 24px; margin: 0 0 8px; color: #11161a; }
.sc-free .scf-lead { font-size: 16px; color: #39444f; max-width: 68ch; margin: 0 0 12px; }
.sc-free .scf-moments { margin: 0 0 4px 18px; padding: 0; }
.sc-free .scf-moments li { margin: 6px 0; color: #39444f; }
.sc-free .sc-card { background: #fff; border: 1px solid #e3e3e3; border-radius: 10px; padding: 16px; margin-bottom: 18px; }
.sc-free .sc-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-free #scf-url { flex: 1; min-width: 240px; padding: 12px 14px; border: 1px solid #c3cfd8; border-radius: 7px; font-size: 15px; }
.sc-free #scf-start-btn { background: #2d6a4f; color: #fff; border: none; border-radius: 7px; padding: 12px 20px; font-size: 15px; font-weight: 600; cursor: pointer; }
.sc-free #scf-start-btn:disabled { opacity: .6; cursor: default; }
.sc-free .sc-hint { font-size: 13px; color: #51606e; margin-top: 10px; }
.sc-free .scf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sc-free .sc-status { padding: 12px 14px; border-radius: 7px; font-size: 14px; margin-bottom: 16px; }
.sc-free .sc-status-info { background: #eef5f1; color: #1d4d38; }
.sc-free .sc-status-ok { background: #e3f3ea; color: #1d4d38; }
.sc-free .sc-status-error { background: #fdecea; color: #a5281b; }
.sc-free .scf-keep { background: #fff8e6; border: 1px solid #f0dfb0; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 13.5px; color: #4a3c13; }
.sc-free .scf-keep input { width: 100%; margin: 8px 0; padding: 8px 10px; border: 1px solid #ddd0a8; border-radius: 5px; font-size: 12.5px; background: #fff; }
.sc-free .scf-after { background: #f2f8f5; border: 1px solid #dceae3; border-radius: 10px; padding: 16px 18px; margin-top: 22px; }
.sc-free .scf-after h3 { margin: 0 0 6px; font-size: 18px; color: #1d6b43; }
.sc-free .scf-after p { margin: 0 0 10px; color: #39444f; max-width: 68ch; }
.sc-free .f-locked { background: #f7f9fb; border: 1px dashed #c8d3dc; border-radius: 8px; padding: 11px 13px; }
.sc-free .f-locked .f-label { color: #51606e; }
.sc-free .locked-text { font-size: 13.5px; color: #41505e; }
.sc-free .locked-text .fix-btn { margin-left: 6px; display: inline-block; }
.sc-free .fix-btn { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 6px; border: 1px solid #c3cfd8; background: #fff; color: #1f2328; cursor: pointer; text-decoration: none; display: inline-block; }
.sc-free .fix-btn.primary { background: #2d6a4f; border-color: #2d6a4f; color: #fff; }

/* ---------- Language picker ---------- */
.sc-topbar { display:flex; justify-content:flex-end; margin:0 0 8px; }
.sc-lang-label { font-size:12px; color:#5a6672; display:inline-flex; align-items:center; gap:6px; }
.sc-lang-label select {
  font-size:12px; padding:4px 8px; border:1px solid #d6dde4; border-radius:6px;
  background:#fff; color:#1f2328;
}

/* ---------- The free result: counts, never names ---------- */
.free-score { margin-bottom: 22px; }
.free-h { font-size:17px; margin:26px 0 12px; color:#1f2328; }
.fcat-list { border:1px solid #e3e8ed; border-radius:10px; overflow:hidden; }
.fcat-row {
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:13px 16px; border-bottom:1px solid #eef2f5; background:#fff;
}
.fcat-row:last-child { border-bottom:none; }
.fcat-name { font-weight:600; color:#1f2328; }
.fcat-val { font-size:14px; white-space:nowrap; }
.fcat-bad .fcat-val { color:#c0392b; font-weight:600; }
.fcat-ok .fcat-val { color:#1e824c; }
.fcat-none .fcat-val { color:#8b95a1; }
.fcat-bad { background:#fffaf9; }

.free-locked {
  margin:16px 0 0; padding:14px 16px; background:#f6f8fa;
  border-left:3px solid #c3ccd5; border-radius:0 8px 8px 0;
  color:#44505c; font-size:14px; line-height:1.55;
}

.free-upsell {
  margin-top:28px; padding:22px; border:1px solid #d9e2ea;
  border-radius:12px; background:linear-gradient(180deg,#fbfdff 0%,#f4f8fb 100%);
}
.free-upsell .free-h { margin-top:0; }
.free-numbers { font-size:15px; color:#1f2328; line-height:1.6; margin:0 0 14px; }
.free-get { margin:0 0 18px; padding-left:20px; color:#39444f; line-height:1.75; }
.free-get li { margin-bottom:2px; }
.free-cta { display:inline-block; font-size:15px; padding:11px 20px; }

@media (max-width: 560px) {
  .fcat-row { flex-direction:column; align-items:flex-start; gap:4px; }
  .fcat-val { white-space:normal; }
}

/* ---------- While a scan runs ---------- */
/* The intro and the form step aside, so the live window — the part people
   actually watch — sits at the top of the screen instead of below the fold. */
.sc-scanning .scf-intro,
.sc-scanning #scf-formcard,
.sc-scanning #sc-formcard { display: none; }
.sc-scanning .sc-live { margin-top: 4px; }

/* ---------- Language buttons ---------- */
.sc-lang-switch {
  display: inline-flex; border: 1px solid #d6dde4; border-radius: 8px;
  overflow: hidden; background: #fff;
}
.sc-lang-btn {
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .03em;
  padding: 6px 14px; border: 0; background: #fff; color: #5a6672;
  cursor: pointer; line-height: 1.2;
}
.sc-lang-btn + .sc-lang-btn { border-left: 1px solid #e6ebf0; }
.sc-lang-btn:hover { background: #f4f7fa; color: #1f2328; }
.sc-lang-btn.is-on { background: #1f6f4a; color: #fff; }
.sc-lang-btn.is-on:hover { background: #1f6f4a; color: #fff; }

/* The language button that leads to the twin page is a link, not a button. */
a.sc-lang-btn { text-decoration: none; display: inline-flex; align-items: center; }

.f-points{margin:10px 0 4px;padding:10px 12px;border-radius:8px;background:rgba(0,0,0,.03);font-size:.92em}
.f-point{display:flex;gap:8px;align-items:baseline;padding:2px 0}
.pt-icon{font-weight:700;width:1.2em;text-align:center}
.pt-pass .pt-icon{color:#1a7f4b}
.pt-partial .pt-icon{color:#b26a00}
.pt-fail .pt-icon{color:#b42318}

.letter-text{white-space:pre-wrap;background:#F5F7F9;border:1px solid #D9E0E8;border-radius:8px;padding:16px;font-family:inherit;font-size:15px;line-height:1.5;color:#33414F}

.report-alert{background:#FFF4E5;border-left:4px solid #C2620A;color:#5C2E00;font-weight:600}

/* B1: samenvatting als donker vlak */
#sc-app #summary-bar { display: none !important; }
#sc-app #score-section { background: #0F1B2D; color: #fff; border: 0; border-radius: 16px; padding: 32px 34px 28px; margin: 18px 0; }
#sc-app .hero-score { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
#sc-app .hero-num { font-size: 96px; font-weight: 800; letter-spacing: -.05em; line-height: .9; }
#sc-app .hero-num small { font-size: 24px; font-weight: 600; letter-spacing: 0; color: #9FB0CC; }
#sc-app .hero-text { flex: 1; min-width: 240px; }
#sc-app .hero-verdict { font-size: 26px; font-weight: 750; line-height: 1.15; color: #fff; }
#sc-app .hero-means { font-size: 16px; color: #D5DEEC; margin-top: 8px; line-height: 1.55; max-width: 62ch; }
#sc-app .hero-sub { font-size: 14px; color: #9FB0CC; margin-top: 8px; }
#sc-app .grp-stack { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 3px; margin-top: 26px; }
#sc-app .grp-stack i { display: block; height: 100%; }
#sc-app .grp-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
#sc-app .grp-legend div { font-size: 14px; color: #B9C6DC; }
#sc-app .grp-legend b { display: block; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
#sc-app .g-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
#sc-app .g-GOOGLE { background: #E5484D; }
#sc-app .g-LAW { background: #9B5DE5; }
#sc-app .g-RISK { background: #F2A900; }
#sc-app .g-RECOMMENDATION { background: #8FA0BB; }
#sc-app #score-section .score-note { color: #9FB0CC; font-size: 13px; margin-top: 20px; max-width: 70ch; }
@media (max-width: 640px) { #sc-app .hero-num { font-size: 72px; } #sc-app .grp-legend { grid-template-columns: 1fr 1fr; } }

/* B2: Fix-first kaarten */
#sc-app .top-cards { display: grid; gap: 10px; }
#sc-app .top-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #F1F4F9; border-radius: 12px; color: inherit; text-decoration: none; transition: background .15s; }
#sc-app .top-card:hover, #sc-app .top-card:focus-visible { background: #E6ECF5; }
#sc-app .top-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #0A2540; color: #fff; font-weight: 700; }
#sc-app .top-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#sc-app .top-title { font-weight: 600; font-size: 1.05em; }
#sc-app .top-sub { font-size: .875em; color: #5B6B82; }
@media (max-width: 640px) { #sc-app .top-card { flex-wrap: wrap; } #sc-app .top-main { flex-basis: calc(100% - 50px); } }

/* B3: groepen */
#sc-app .grp { margin-top: 28px; }
#sc-app .grp:first-child { margin-top: 0; }
#sc-app .grp-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; font-weight: 700; color: #0A2540; }
#sc-app .grp-title .g-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
#sc-app .grp-title .g-GOOGLE { background: #E5484D; }
#sc-app .grp-title .g-LAW { background: #9B5DE5; }
#sc-app .grp-title .g-RISK { background: #F2A900; }
#sc-app .grp-title .g-RECOMMENDATION { background: #8FA0BB; }
#sc-app .grp-open { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #F1F4F9; color: #41505e; }
#sc-app .grp .finding { margin-top: 12px; }
#sc-app .grp-done { margin-top: 12px; }
#sc-app .grp-done > summary { cursor: pointer; font-weight: 600; color: #41505e; padding: 10px 14px; background: #F1F4F9; border-radius: 10px; }

/* B4: uitklapkaarten */
#sc-app .fcard { margin-top: 12px; background: #F1F4F9; border-radius: 12px; }
#sc-app .fcard[open] { background: #F8FAFC; }
#sc-app .fcard > summary {
  list-style: none; display: flex; align-items: center;
  gap: 14px; padding: 16px 18px; cursor: pointer;
}
#sc-app .fcard > summary::-webkit-details-marker { display: none; }
#sc-app .fcard > summary::after {
  content: "▾"; flex: none; color: #5B6B82;
  transform: rotate(-90deg); transition: transform .15s;
}
#sc-app .fcard[open] > summary::after { transform: none; }
#sc-app .fcard-main {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px;
}
#sc-app .fcard-title { font-weight: 600; font-size: 1.05em; color: #11161a; }
#sc-app .fcard-line { font-size: .875em; color: #5B6B82; }
#sc-app .fcard > .finding {
  border: 0; border-radius: 0 0 12px 12px; background: transparent; padding-top: 0;
}
#sc-app .grp .fcard > .finding { margin-top: 0; }
#sc-app .fcard .finding .f-head,
#sc-app .fcard .finding .f-tags { display: none; }
#sc-app .f-label { font-size: 13px; letter-spacing: 0; text-transform: none; }
@media (max-width: 640px) {
  #sc-app .fcard > summary { flex-wrap: wrap; }
  #sc-app .fcard-main { flex-basis: 100%; order: 3; }
}

/* B4b: rustiger lijst */
#sc-app section h2 {
  font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none;
}
#sc-app section.grp {
  background: none; border: 0; border-radius: 0; padding: 0; margin: 0;
}
#sc-app #checks-list { gap: 28px; }
#sc-app .grp-done .finding {
  margin-top: 8px; border: 0; border-radius: 10px;
  background: #fff; padding: 12px 16px;
}
#sc-app .grp-done .f-tags, #sc-app .grp-done .f-points { display: none; }
#sc-app .grp-done .f-block { margin-top: 4px; }

/* ---------- scanpagina 0.10.35: look of the approved mockup (only #sc-app) ---------- */
#sc-app { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 24px; color: #0F1B2D; align-items: start; }
#sc-app > * { grid-column: 1 / -1; min-width: 0; }
#sc-app > .sc-topbar { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0; }
#sc-app > h1 { grid-column: 1; grid-row: 1; margin: 0; font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: #0F1B2D; align-self: end; }
#sc-app > .subtitle.subtitle { grid-column: 1; grid-row: 2; margin: -16px 0 0; color: #36445A; font-size: 18px; line-height: 1.55; }

/* language switch */
#sc-app .sc-lang-switch { display: flex; border: 1px solid #DCE3EC; border-radius: 8px; background: #fff; overflow: hidden; }
#sc-app .sc-lang-switch .sc-lang-btn { font-size: 14px; font-weight: 700; line-height: 1; padding: 11px 16px; border: 0; background: #fff; color: #36445A; cursor: pointer; }
#sc-app .sc-lang-switch .sc-lang-btn + .sc-lang-btn { border-left: 1px solid #DCE3EC; }
#sc-app .sc-lang-switch .sc-lang-btn.is-on, #sc-app .sc-lang-switch .sc-lang-btn.is-on:hover { background: #0F1B2D; color: #fff; }

/* cards */
#sc-app > .sc-card { background: #fff; border: 1px solid #DCE3EC; border-radius: 14px; padding: 28px; margin: 0; }
#sc-app > #sc-formcard { border: 2px solid #0F1B2D; }
#sc-app .sc-url-label { display: block; margin: 0 0 14px; font-weight: 700; font-size: 16px; color: #0F1B2D; }
#sc-app .sc-form-row { display: flex; gap: 10px; flex-wrap: wrap; border: 2px solid #0F1B2D; border-radius: 12px; padding: 6px; background: #fff; }
#sc-app .sc-form-row #sc-url { flex: 1 1 240px; min-height: 52px; border: 0; border-radius: 0; padding: 0 12px; font-size: 18px; font-weight: 500; color: #0F1B2D; background: transparent; }
#sc-app .sc-form-row #sc-url:focus, #sc-app .sc-form-row #sc-url:focus-visible { outline: none; }
#sc-app .sc-form-row:focus-within { outline: 3px solid #E08A00; outline-offset: 2px; }
#sc-app .sc-form-row #sc-start-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px; font-size: 17px; font-weight: 700; background: #2140D6; color: #fff; border: 2px solid #2140D6; cursor: pointer; }
#sc-app .sc-form-row #sc-start-btn:hover { background: #0F1B2D; border-color: #0F1B2D; }
#sc-app .sc-form-row #sc-start-btn:disabled { opacity: .6; cursor: default; }

/* credits chip + hints */
#sc-app .sc-hintrow { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 14px; font-size: 15px; color: #5B6880; }
#sc-app .sc-hintrow .sc-hint { margin: 0; font-size: 15px; color: #5B6880; }
#sc-app .sc-hintrow #sc-hint { display: contents; }
#sc-app .sc-hintrow #sc-hint b { color: #0F1B2D; }
#sc-app .sc-hintrow #sc-credits { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#sc-app .sc-hintrow .chip { display: inline-flex; align-items: center; gap: 8px; background: #EEF2FF; color: #14297F; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 15px; }
#sc-app .sc-hintrow .chip svg { flex: 0 0 18px; }
#sc-app .sc-hintrow #sc-credits a { color: #2140D6; font-weight: 650; font-size: 15px; }

/* status message and running scan */
#sc-app .sc-status { padding: 16px 20px; border-radius: 12px; font-size: 15px; margin: 0; }
#sc-app .sc-status-info { background: #EEF2FF; color: #14297F; }
#sc-app .sc-status-ok { background: #DDF3E7; color: #0F5C38; }
#sc-app .sc-live { background: #F1F5FF; border: 1px solid #C9D6FF; border-radius: 14px; padding: 24px; margin: 0; }
#sc-app .live-title { font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: #0F1B2D; }
#sc-app .live-sub { font-size: 15px; color: #36445A; }
#sc-app .live-count { color: #2140D6; }
#sc-app .live-bar { height: 10px; background: #E6EBF2; border-radius: 5px; }
#sc-app .live-bar span { background: #2140D6; border-radius: 5px; }
#sc-app .browser-frame { border-radius: 12px; border-color: #DCE3EC; }
#sc-app .scanline { background: linear-gradient(to bottom, rgba(33,64,214,0) 0%, rgba(33,64,214,.14) 55%, rgba(33,64,214,.45) 100%); border-bottom: 2px solid rgba(33,64,214,.75); }
#sc-app .live-log li.now::before, #sc-app .live-log .tick { color: #2140D6; }

/* recent scans */
#sc-app > .sc-card > h2 { font-size: 22px !important; font-weight: 750 !important; letter-spacing: -.02em !important; text-transform: none !important; color: #0F1B2D !important; margin: 0 !important; line-height: 1.2 !important; }
#sc-app #sc-history-list { list-style: none; padding: 0; margin: 14px 0 0; font-size: inherit; border-top: 2px solid #0F1B2D; }
#sc-app #sc-history-list li { margin: 0; word-break: normal; }
#sc-app #sc-history-list li.sc-item { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid #DCE3EC; }
#sc-app #sc-history-list li.sc-empty { padding: 20px 0; color: #5B6880; font-size: 15px; }
#sc-app .sc-iname { margin: 0; font-weight: 700; font-size: 18px; color: #0F1B2D; word-break: break-all; }
#sc-app .sc-imeta { margin: 2px 0 0; font-size: 14px; color: #5B6880; }
#sc-app .sc-pill { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
#sc-app .sc-pill.p-run { background: #DCE4FF; color: #14297F; }
#sc-app .sc-pill.p-warn { background: #FFE9B8; color: #5C3600; }
#sc-app .sc-pill.p-ok { background: #DDF3E7; color: #0F5C38; }
#sc-app a.sc-ibtn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 700; background: #fff; color: #0F1B2D; border: 2px solid #0F1B2D; text-decoration: none; white-space: nowrap; }
#sc-app a.sc-ibtn:hover { background: #0F1B2D; color: #fff; }

@media (max-width: 700px) {
  #sc-app { grid-template-columns: 1fr; }
  #sc-app > .sc-topbar, #sc-app > h1, #sc-app > .subtitle.subtitle { grid-column: 1; grid-row: auto; }
  #sc-app > .sc-topbar { justify-self: start; }
  #sc-app > h1 { font-size: 36px; }
  #sc-app > .subtitle.subtitle { margin-top: -12px; }
  #sc-app > .sc-card { padding: 20px; }
  #sc-app #sc-history-list li.sc-item { grid-template-columns: 1fr; }
}

/* 0.10.52: geen dubbele zin in een open kaart */
details.fcard[open] .fcard-line{display:none}

/* 0.10.53: bedrijfsgegevens als opvallende kaart bovenaan */
#sc-app #business-details-section{padding:0;margin:18px 0}
#sc-app .biz-card{background:#fff;border:2px solid #2140D6;border-radius:12px;padding:20px 22px;box-shadow:0 2px 12px rgba(33,64,214,.10)}
#sc-app .biz-card h2{font-size:20px;line-height:1.3;color:#14297F;margin:0 0 6px}
#sc-app .biz-card .biz-lead{font-size:15px;color:#26313a;margin:0 0 12px;line-height:1.55}
#sc-app .biz-card .biz-steps{margin:0 0 16px;padding:12px 14px 12px 34px;background:#EEF2FF;border-radius:8px;font-size:14.5px;color:#14297F;line-height:1.6}
#sc-app .biz-card .biz-steps li{margin:3px 0}
#sc-app .biz-card .detail-grid{gap:12px 16px}
#sc-app .biz-card .detail-grid label{font-size:13px;font-weight:600;color:#26313a}
#sc-app .biz-card .detail-grid input{padding:10px 12px;font-size:15px;border:1px solid #b9c3d6;border-radius:7px}
#sc-app .biz-card .detail-grid input:focus{outline:2px solid #2140D6;outline-offset:1px;border-color:#2140D6}
#sc-app .biz-card #save-details-btn{background:#2140D6;color:#fff;border:0;border-radius:8px;padding:12px 22px;font-size:15px;font-weight:700;cursor:pointer}
#sc-app .biz-card #save-details-btn:hover{background:#14297F}
#sc-app .biz-card #save-details-confirm{font-size:14px}
@media (max-width:600px){#sc-app .biz-card{padding:16px}#sc-app .biz-card .detail-grid{grid-template-columns:1fr}}

/* 0.10.54: regel over checks die niet meetellen */
#sc-app .hero-skip{margin-top:4px;font-size:12.5px;opacity:.85}

/* ---------- 0.11 leesbaar rapport: alleen opmaak, geen inhoud ---------- */
#sc-app .fcard[open] { background: #fff; box-shadow: 0 1px 2px rgba(20,35,58,.06), 0 8px 24px rgba(20,35,58,.06); }
#sc-app .fcard .finding { padding: 0 0 6px; }
#sc-app .fcard .finding > .f-block { margin: 0; padding: 18px 22px; }
#sc-app .fcard .finding > .f-block + .f-block, #sc-app .fcard .finding > .f-points { border-top: 1px solid #edf0f4; }
#sc-app .fcard .finding .f-label { font-size: 13px; font-weight: 700; color: #6b7a90; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .04em; }
#sc-app .fcard .finding .f-found div { font-size: 16px; line-height: 1.55; }
#sc-app .fcard .finding .f-why { background: #eef4ff; color: #1d3358; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
#sc-app .fcard .finding .f-points { margin: 0; padding: 14px 22px; border-radius: 0; background: none; display: grid; gap: 8px; font-size: 15px; }
#sc-app .fcard .finding .f-point { align-items: center; gap: 12px; border-radius: 12px; padding: 10px 14px; }
#sc-app .fcard .finding .f-point.pt-pass { background: #eef8f1; }
#sc-app .fcard .finding .f-point.pt-partial { background: #fff8e1; }
#sc-app .fcard .finding .f-point.pt-fail { background: #fdf0ef; }
#sc-app .fcard .finding .pt-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
#sc-app .fcard .finding .pt-pass .pt-icon { background: #2f9e5b; }
#sc-app .fcard .finding .pt-partial .pt-icon { background: #e0a100; }
#sc-app .fcard .finding .pt-fail .pt-icon { background: #e5484d; }
#sc-app .fcard .finding .f-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: sc-step; }
#sc-app .fcard .finding .f-steps li { position: relative; margin: 0; padding-left: 42px; counter-increment: sc-step; font-size: 15px; line-height: 1.55; }
#sc-app .fcard .finding .f-steps li::before { content: counter(sc-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #2140D6; color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
#sc-app .fcard .finding .f-guide { margin: 14px 0 0; font-size: 15px; }
#sc-app .fcard .finding .f-guide a { font-weight: 700; }
#sc-app .fcard .finding .f-help { margin: 0 22px 18px; padding: 16px; border-radius: 12px; }
#sc-app .fcard .finding .f-pages { padding: 0 22px 14px; border-top: 0; }

#sc-app .fcard .finding .pt-ans { margin-left: auto; font-weight: 700; padding-left: 12px; }
#sc-app .fcard .finding .pt-pass .pt-ans { color: #1f7a44; }
#sc-app .fcard .finding .pt-partial .pt-ans { color: #7a5600; }
#sc-app .fcard .finding .pt-fail .pt-ans { color: #a4281c; }
#sc-app .fcard .finding .f-steps .t { display: block; font-weight: 700; }

/* ---------- 0.12 duidelijk rapport: grote leesbare tekst, Open/Sluit, markering, voorbeeldcode, beweging ---------- */
#sc-app { --r-ink: #0F1B2D; --r-text: #36445A; --r-blue: #2140D6; --r-mark: #FFE45C; --r-line: #DCE3EC; --r-paper: #F4F7FB; }

/* Geen kleine grijze letters meer */
#sc-app .muted, #sc-app .sc-hint, #sc-app .check-tip, #sc-app .hero-sub, #sc-app .hero-skip,
#sc-app #score-section .score-note, #sc-app .grp-legend div, #sc-app .fcard-line, #sc-app .top-sub,
#sc-app .help-text, #sc-app .cat-val, #sc-app .hist-table, #sc-app .finding-pages summary { font-size: 16px; line-height: 1.55; }
#sc-app .muted, #sc-app .help-text, #sc-app .fcard-line, #sc-app .top-sub, #sc-app .check-tip { color: var(--r-text); opacity: 1; }
#sc-app #meta { font-size: 17px; color: var(--r-text); }
#sc-app .f-label { font-size: 19px; font-weight: 750; color: var(--r-ink); letter-spacing: 0; text-transform: none; margin: 0 0 12px; }
#sc-app .fcard .finding .f-label { font-size: 19px; font-weight: 750; color: var(--r-ink); letter-spacing: 0; text-transform: none; margin: 0 0 12px; }

/* Grote donkere koppen */
#sc-app section > h2, #sc-app #value-strip > h2 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--r-ink); text-transform: none; margin: 0 0 18px; }
#sc-app .grp-title { font-size: 23px; font-weight: 800; letter-spacing: -.015em; color: var(--r-ink); margin: 0 0 14px; }
#sc-app .grp-title .g-dot { width: 14px; height: 14px; }
#sc-app .grp-open { font-size: 15px; padding: 4px 12px; background: #E8EEFF; color: #14297F; }
#sc-app .grp-done > summary { font-size: 17px; color: var(--r-ink); padding: 14px 18px; }

/* Rustig bovenaan: instellingen */
#sc-app #settings-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; background: #fff; border: 1px solid var(--r-line); border-radius: 14px; padding: 20px 22px; margin: 18px 0; }
#sc-app #settings-bar label { display: flex; flex-direction: column; gap: 8px; font-size: 17px; font-weight: 750; color: var(--r-ink); }
#sc-app #settings-bar select { min-height: 48px; border: 2px solid var(--r-line); border-radius: 10px; padding: 0 12px; font-size: 17px; font-weight: 600; color: var(--r-ink); background: #fff; }
#sc-app #settings-bar select:focus-visible { outline: 3px solid #E08A00; outline-offset: 2px; border-color: var(--r-ink); }
#sc-app #settings-bar .muted { font-weight: 500; }

/* Rustig bovenaan: meldingen */
#sc-app .report-note { background: #EEF2FF; color: #14297F; border: 0; border-radius: 12px; padding: 16px 20px; font-size: 17px; line-height: 1.55; margin: 12px 0; }
#sc-app .scan-info { margin: 12px 0; background: #fff; border: 1px solid var(--r-line); border-radius: 12px; }
#sc-app .scan-info > summary { cursor: pointer; padding: 14px 18px; font-size: 17px; font-weight: 700; color: var(--r-ink); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#sc-app .scan-info > summary::-webkit-details-marker { display: none; }
#sc-app .scan-info > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--r-blue); border-bottom: 2.5px solid var(--r-blue); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
#sc-app .scan-info[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
#sc-app .scan-info ul { margin: 0; padding: 0 20px 16px 38px; display: grid; gap: 8px; font-size: 16px; line-height: 1.55; color: var(--r-text); }

/* Samenvatting */
#sc-app .hero-means { font-size: 18px; color: #E3EAF6; }
#sc-app .hero-sub { color: #C9D5E8; }
#sc-app #score-section .score-note { color: #C9D5E8; font-size: 16px; }
#sc-app .grp-legend div { color: #D5DEEC; }
#sc-app .grp-legend b { font-size: 36px; }

/* Wat je krijgt */
#sc-app #value-strip { margin: 28px 0; }
#sc-app .vs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#sc-app .vs-tile { background: #fff; border: 1px solid var(--r-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
#sc-app .vs-ico { width: 46px; height: 46px; border-radius: 12px; background: #EEF2FF; color: var(--r-blue); display: grid; place-items: center; margin-bottom: 4px; }
#sc-app .vs-h { font-size: 20px; font-weight: 750; line-height: 1.2; color: var(--r-ink); }
#sc-app .vs-p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--r-text); }
#sc-app .vs-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
#sc-app .vs-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--r-blue); background: #fff; color: var(--r-blue); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
#sc-app .vs-btn:hover { background: var(--r-blue); color: #fff; }
#sc-app .vs-btn:active { transform: scale(.97); }
@media (max-width: 900px) { #sc-app .vs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { #sc-app .vs-grid { grid-template-columns: 1fr; } }

/* Dit eerst oplossen */
#sc-app .top-card { background: var(--r-paper); border: 1px solid var(--r-line); border-radius: 14px; padding: 20px 22px; gap: 16px; transition: transform .18s, border-color .18s, background .18s; }
#sc-app .top-card:hover, #sc-app .top-card:focus-visible { background: #fff; border-color: var(--r-blue); transform: translateY(-2px); }
#sc-app .top-n { width: 42px; height: 42px; background: var(--r-blue); font-size: 19px; }
#sc-app .top-title { font-size: 20px; font-weight: 750; color: var(--r-ink); }

/* Kaarten met Open/Sluit */
#sc-app .fcard { background: var(--r-paper); border: 1px solid var(--r-line); }
#sc-app .fcard[open] { background: #fff; border-color: #C9D3E3; }
#sc-app .fcard > summary { padding: 18px 20px; gap: 16px; }
#sc-app .fcard > summary::after { content: none; }
#sc-app .fcard-title { font-size: 19px; font-weight: 750; color: var(--r-ink); }
#sc-app .fcard-tg { flex: none; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--r-blue); background: #fff; color: var(--r-blue); border-radius: 999px; padding: 9px 16px; font-size: 16px; font-weight: 700; line-height: 1; transition: background .15s, color .15s; }
#sc-app .fcard-tg::after { content: ""; width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
#sc-app .fcard[open] .fcard-tg::after { transform: rotate(-135deg) translateY(-1px); }
#sc-app .fcard .fcard-tg .tg-c, #sc-app .fcard[open] .fcard-tg .tg-o { display: none; }
#sc-app .fcard[open] .fcard-tg .tg-c { display: inline; }
#sc-app .fcard > summary:hover .fcard-tg, #sc-app .fcard > summary:focus-visible .fcard-tg { background: var(--r-blue); color: #fff; }
#sc-app .fcard > summary:focus-visible { outline: 3px solid #E08A00; outline-offset: 2px; border-radius: 12px; }
#sc-app .fcard[open] > .finding { animation: r-open .3s ease-out; }
@media (max-width: 640px) { #sc-app .fcard-tg { order: 2; margin-left: auto; } }

/* Binnen een kaart */
#sc-app .fcard .finding .f-found div { font-size: 18px; line-height: 1.55; color: var(--r-ink); }
#sc-app mark.hl { color: var(--r-ink); font-weight: 700; padding: 0 4px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(transparent 10%, var(--r-mark) 10%, var(--r-mark) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; animation: r-hl .7s .2s ease-out forwards; }
#sc-app .fcard .finding .f-why { font-size: 17px; line-height: 1.6; padding: 16px 18px; }
#sc-app .fcard .finding .f-steps li { font-size: 17px; line-height: 1.6; padding-left: 46px; }
#sc-app .fcard .finding .f-steps li::before { width: 32px; height: 32px; font-size: 16px; }
#sc-app .fcard .finding .f-point { font-size: 17px; }
#sc-app .fcard .finding .f-guide { font-size: 17px; }
#sc-app .fcard .finding .f-help { background: #EAF6EF; border: 1px solid #BFE3CE; padding: 20px; }
#sc-app .fcard .finding .f-help .help-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
#sc-app .fcard .finding .f-help .help-text { font-size: 16px; color: var(--r-ink); flex: 1 1 260px; }
#sc-app .fix-btn.primary { background: var(--r-blue); color: #fff; border: 0; border-radius: 999px; padding: 0 24px; min-height: 48px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, transform .1s; }
#sc-app .fix-btn.primary:hover { background: var(--r-ink); }
#sc-app .fix-btn:active { transform: scale(.97); }
#sc-app .fix-pre { margin: 12px 0 0; background: var(--r-ink); color: #E3EAF6; border-radius: 12px; padding: 18px 20px; font: 500 15px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; max-height: 340px; overflow: auto; }
#sc-app .fix-pre code { font: inherit; }
#sc-app .fix-pre .v { background: var(--r-mark); color: var(--r-ink); border-radius: 3px; padding: 0 3px; font-weight: 700; }

/* Recente scans */
#sc-app > .sc-card > h2 { font-size: 30px !important; font-weight: 800 !important; }
#sc-app .sc-iname { font-size: 20px; }
#sc-app .sc-imeta { font-size: 16px; color: var(--r-text); }
#sc-app .sc-pill { font-size: 15px; padding: 6px 14px; }
#sc-app a.sc-ibtn { background: var(--r-blue); color: #fff; border: 2px solid var(--r-blue); border-radius: 999px; min-height: 48px; padding: 0 24px; font-size: 16px; transition: background .15s, border-color .15s, transform .1s; }
#sc-app a.sc-ibtn::after { content: "→"; margin-left: 10px; transition: transform .2s; }
#sc-app a.sc-ibtn:hover { background: var(--r-ink); border-color: var(--r-ink); color: #fff; }
#sc-app a.sc-ibtn:hover::after { transform: translateX(4px); }
#sc-app a.sc-ibtn:active { transform: scale(.97); }
#sc-app #sc-history-list li.sc-more { padding: 18px 0 0; }
#sc-app .sc-morebtn { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--r-blue); background: #fff; color: var(--r-blue); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
#sc-app .sc-morebtn:hover { background: var(--r-blue); color: #fff; }

/* Beweging: alleen bij het openen van een rapport, en rustig */
@keyframes r-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes r-hl { to { background-size: 100% 100%; } }
@keyframes r-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes r-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes r-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .35); } 50% { box-shadow: 0 0 0 8px rgba(180, 35, 24, 0); } }
#sc-app.sc-enter #score-section { animation: r-rise .6s ease-out both; }
#sc-app.sc-enter .grp-stack { animation: r-wipe .9s .3s ease-out both; }
#sc-app.sc-enter .top-card { animation: r-rise .5s ease-out both; }
#sc-app.sc-enter .top-card:nth-child(1) { animation-delay: .25s; }
#sc-app.sc-enter .top-card:nth-child(2) { animation-delay: .35s; }
#sc-app.sc-enter .top-card:nth-child(3) { animation-delay: .45s; }
#sc-app.sc-enter .vs-tile { animation: r-rise .5s ease-out both; }
#sc-app.sc-enter .vs-tile:nth-child(1) { animation-delay: .3s; }
#sc-app.sc-enter .vs-tile:nth-child(2) { animation-delay: .4s; }
#sc-app.sc-enter .vs-tile:nth-child(3) { animation-delay: .5s; }
#sc-app.sc-enter .vs-tile:nth-child(4) { animation-delay: .6s; }
#sc-app.sc-enter .top-card .chip-fail { animation: r-pulse 1.4s .8s 3; }
@media (prefers-reduced-motion: reduce) {
  #sc-app *, #sc-app *::before, #sc-app *::after { animation: none !important; transition: none !important; }
  #sc-app mark.hl { background-size: 100% 100%; }
}
#sc-app .f-chip, #sc-app .prio-plain, #sc-app .na-list > summary, #sc-app .grp-done .f-found div { font-size: 15px; }
#sc-app .fix-btn:not(.primary) { min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; }
#sc-app .f-guide a { font-size: 17px; color: var(--r-blue); }

/* Bedrijfsgegevens: zelfde stijl als de rest */
#sc-app .biz-card { border-radius: 14px; padding: 26px 28px; box-shadow: none; }
#sc-app .biz-card h2 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--r-ink); margin: 0 0 10px; }
#sc-app .biz-card .biz-lead { font-size: 18px; color: var(--r-text); line-height: 1.55; }
#sc-app .biz-card .biz-steps { font-size: 17px; line-height: 1.6; padding: 16px 18px 16px 38px; border-radius: 12px; }
#sc-app .biz-card .detail-grid label { font-size: 16px; font-weight: 700; color: var(--r-ink); }
#sc-app .biz-card .detail-grid input { min-height: 48px; padding: 0 14px; font-size: 17px; border: 2px solid var(--r-line); border-radius: 10px; }
#sc-app .biz-card #save-details-btn { min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 17px; transition: background .15s, transform .1s; }
#sc-app .biz-card #save-details-btn:active { transform: scale(.97); }
#sc-app .biz-card #save-details-confirm { font-size: 17px; font-weight: 700; color: #0F5C38; }

/* 0.12.2: instellingen netjes op één lijn, knoppen zonder afbreken */
@media (min-width: 801px) {
  #sc-app #settings-bar { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto); row-gap: 8px; align-items: start; }
  #sc-app #settings-bar label { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 8px; align-content: start; }
}
#sc-app .vs-btns { flex-direction: column; align-items: stretch; }
#sc-app .vs-btn { white-space: nowrap; }

/* 0.12.3: keuzelijsten binnen het vak, geen kleine letters meer */
@media (min-width:801px){#sc-app #settings-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}
#sc-app #settings-bar select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
#sc-app .section-desc, #sc-app #sc-report .subtitle { font-size: 16px; line-height: 1.55; color: #36445A; }
#sc-app .hist-table th, #sc-app .hist-table td, #sc-app .cmp-table th, #sc-app .cmp-table td { font-size: 15px; }
#sc-app #compare-body *, #sc-app #pages-list, #sc-app #pages-list li, #sc-app #passing-pages-list li, #sc-app #warning-input { font-size: 15px; }
#sc-app #compare-body h3 { font-size: 19px; }
#sc-app .check-num { font-size: 14px; }
#sc-app .source-badge { font-size: 14px; }
#sc-app #sc-report .section-desc, #sc-app #sc-report .actions button, #sc-app #warning-check-btn, #sc-app #passing-pages-summary, #sc-app .finding-pages li, #sc-app .finding-pages .muted, #sc-app .f-found div { font-size: 16px !important; }
#sc-app #sc-report .actions button, #sc-app #warning-check-btn { min-height: 48px; padding: 0 22px; border-radius: 999px; }

/* 0.12.4: score in de lijst met recente scans */
#sc-app #sc-history-list li.sc-item { grid-template-columns: 1fr auto auto auto; }
#sc-app .sc-score { display: inline-flex; align-items: baseline; gap: 2px; min-width: 84px; justify-content: flex-end; color: #0F1B2D; }
#sc-app .sc-score b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
#sc-app .sc-score span { font-size: 15px; color: #36445A; }
@media (max-width: 700px) { #sc-app #sc-history-list li.sc-item { grid-template-columns: 1fr; } #sc-app .sc-score { justify-content: flex-start; } }

/* 0.12.5: kleur per oordeel in de lijst: groen 90+, geel 70-89, oranje 40-69, rood onder 40 */
#sc-app .sc-pill.p-hi { background: #FFD8B8; color: #6B2600; }
#sc-app .sc-pill.p-bad { background: #FFD3D3; color: #8A0F0F; }
