/* Privacy Checker follows the cleanup pages, with findings instead of an output editor. */
.checker-shell { max-width:72rem; }
.checker-hero-copy { padding:0; }
.checker-title { max-width:27ch; margin-top:.2rem; color:#132b47; font-family:var(--ui-font); font-size:clamp(2.1rem,3vw,2.8rem); font-weight:700; line-height:1.15; letter-spacing:-.03em; }
.checker-subtitle { max-width:68rem; margin-top:2.15rem; color:#536d80; font-size:1.125rem; line-height:1.6; }
.checker-tool-frame { padding:1.5rem; border:1px solid #cbdfe8; border-radius:1rem; background:rgba(255,255,255,.7); }
.checker-tool-frame > .tool-privacy-note { margin-bottom:1.25rem; }
.checker-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:1.25rem; }
.checker-workspace > .panel { min-width:0; padding:0; border:0 !important; border-radius:0; background:transparent; box-shadow:none; }
.checker-workspace > .panel > div:first-child { min-height:32px; }
#sourceTextLabel, #resultsTitle { font-size:18px; font-weight:600; line-height:1.4; color:#17314d; }
.checker-input { height:clamp(18rem,38vh,24rem); overflow:auto; }
.checker-input:empty::before { content:attr(data-placeholder); color:#8aa0b8; pointer-events:none; }
.checker-source-footer { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-top:.65rem; }
.checker-source-footer #clearSourceBtn { min-height:0; padding:.2rem .45rem; border:1px solid #c5dce6; border-radius:.35rem; background:#f1f7fa; box-shadow:none; color:#155e75; font-size:.9rem; font-weight:600; line-height:1.4; }
.checker-source-footer #clearSourceBtn:hover { background:#e5f1f7; border-color:#92bdcf; }
.checker-actions #statusMsg { flex-basis:100%; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#536d80; font-size:.9rem; line-height:1.5; }
.checker-actions #statusMsg[data-state="error"] { color:#b42318; }
body[data-tool="privacy-checker"] #checkTextBtn { background:#b5dce8 !important; border:1px solid #78b4c8; border-radius:.6rem; color:#155e75; box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -2px 0 rgba(16,55,73,.12); }
body[data-tool="privacy-checker"] #checkTextBtn:hover { background:#a3d2e1 !important; filter:none; }
body[data-tool="privacy-checker"] #nextStepBtn { background:#0e7490 !important; border:1px solid #0e7490; border-radius:.6rem; box-shadow:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -2px 0 rgba(16,55,73,.16); }
body[data-tool="privacy-checker"] #nextStepBtn:hover { background:#155e75 !important; filter:none; }
body[data-tool="privacy-checker"] :is(#checkTextBtn,#nextStepBtn):active { box-shadow:inset 0 2px 3px rgba(16,55,73,.22); }
.detected-list { display:grid; gap:.75rem; }
.detected-item { padding:.85rem 1rem; border:0; border-left:3px solid #c5dce6; border-radius:0 .45rem .45rem 0; background:#f1f6f9; }
.detected-item[data-severity="high"] { border-left-color:#0e7490; background:#edf6f9; }
.detected-item[data-severity="review"] { border-left-color:#c48a23; background:#fffaf0; }
.detected-label { display:flex; justify-content:space-between; align-items:start; gap:.75rem; color:#17314d; font-size:1rem; line-height:1.5; font-weight:600; }
.detected-count { flex-shrink:0; padding:.15rem .5rem; border-radius:999px; background:#dfeff6; color:#155e75; font-size:.8rem; font-weight:600; white-space:nowrap; }
.detected-item[data-severity="review"] .detected-count { background:#f7ebcc; color:#805b16; }
.recommendation-panel[hidden] { display:none; }
.recommendation-panel { padding:1.5rem; border:1px solid #cbdfe8; border-radius:1rem; background:#edf6f9; box-shadow:none; scroll-margin-top:1rem; }
.recommendation-kicker { color:#0e7490; font-size:.9rem; font-weight:600; }
body[data-tool="privacy-checker"] .recommendation-panel h2, body[data-tool="privacy-checker"] .sensitive-info-panel > h2, body[data-tool="privacy-checker"] .checker-faq > h2 { font-family:var(--ui-font); font-size:1.35rem; font-weight:700; line-height:1.4; letter-spacing:-.02em; color:#132b47; }
.route-grid { display:grid; grid-template-columns:minmax(0,1fr); margin-top:1.25rem; }
.route-card { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:1rem; padding:1.1rem 0; border-top:1px solid #cbdfe8; color:#17314d; text-decoration:none; }
.route-card > span { min-width:0; }
.route-card strong { font-size:1.05rem; font-weight:600; }
.route-card span span { display:block; max-width:65ch; margin-top:.4rem; color:#536d80; font-size:.95rem; line-height:1.6; }
.route-card em { display:inline-flex; align-items:center; min-height:44px; padding:.55rem .85rem; border:1px solid #0e7490; border-radius:.6rem; background:#0e7490; color:white; font-size:.9rem; font-style:normal; font-weight:600; box-shadow:inset 0 1px 0 rgba(255,255,255,.32),inset 0 -2px 0 rgba(16,55,73,.16); }
.route-card:hover strong { color:#0e7490; }
.route-card:hover em { background:#155e75; }
.route-card:focus-visible { outline:3px solid #0e7490; outline-offset:4px; border-radius:.3rem; }
.checker-workflow { margin-top:2rem; }
.checker-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.checker-step { display:flex; align-items:start; gap:.65rem; }
.checker-step-number { display:inline-flex; justify-content:center; align-items:center; flex-shrink:0; width:1.9rem; height:1.9rem; border:1px solid #c5dce6; border-radius:50%; background:#edf6f9; color:#0e7490; font-size:.85rem; font-weight:600; }
.checker-step-copy strong { display:block; color:#17314d; font-size:1rem; font-weight:600; }
.checker-step-copy > span { display:block; margin-top:.3rem; color:#536d80; font-size:.9rem; line-height:1.6; }
.sensitive-info-panel, .checker-faq { margin-top:3rem; }
.sensitive-info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem 2rem; margin-top:1.25rem; }
.checker-explanation-row { min-width:0; padding:1rem 0; border-bottom:1px solid #dbe6ec; }
.checker-explanation-row strong { display:block; color:#17314d; font-size:1.05rem; line-height:1.5; font-weight:600; }
.checker-explanation-row > span { display:block; margin-top:.4rem; color:#536d80; font-size:.95rem; line-height:1.7; }
.checker-faq-list { margin-top:1.25rem; }
.checker-faq-item { padding:1.2rem 0; border-bottom:1px solid #dbe6ec; }
.checker-faq-item summary { color:#17314d; font-size:1.05rem; font-weight:600; line-height:1.5; cursor:pointer; }
.checker-faq-item summary::marker { color:#0e7490; }
.checker-faq-item summary:focus-visible { outline:3px solid #0e7490; outline-offset:4px; }
.checker-faq-item p { margin-top:.75rem; color:#536d80; font-size:1rem; line-height:1.7; }
body[data-tool="privacy-checker"] .site-footer { margin-top:2rem; padding-top:0; }
body[data-tool="privacy-checker"] .site-footer > nav { padding-top:4.5rem; }
@media(max-width:900px) {
  .checker-workspace { grid-template-columns:minmax(0,1fr); }
  .checker-workspace > article + article { padding-top:1.25rem; border-top:1px solid #e0eaf0 !important; }
  #sourceTextLabel, #resultsTitle { font-size:16px; }
  .sensitive-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .checker-steps { grid-template-columns:minmax(0,1fr); gap:1rem; }
}
@media(max-width:600px) {
  .checker-tool-frame, .recommendation-panel { padding:1rem; border-radius:.85rem; }
  .checker-input { height:18rem; }
  .checker-actions #checkTextBtn { width:100%; }
  .sensitive-info-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .route-card { grid-template-columns:minmax(0,1fr); gap:.75rem; }
  .route-card em { justify-self:start; }
}
