Skip to content

The design language that makes your AI harness better at design.

JavaScript
135 KB
Raw Blame
{"args":["\n  * { margin: 0; padding: 0; box-sizing: border-box; }\n  body { font-family: monospace, monospace; font-size: 16px; }\n  .hero { padding: 40px; }\n  .terminal { background: #111; color: #eee; padding: 24px; width: 600px; }\n\n  @keyframes blink-anim { 50% { opacity: 0; } }\n  @keyframes flicker { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }\n  @keyframes caret-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }\n  @keyframes spin { to { transform: rotate(360deg); } }\n\n  /* FLAG: solid block cursor in the hero terminal */\n  .flag-block-cursor {\n    display: inline-block; width: 10px; height: 18px;\n    background: #33d17a; vertical-align: text-bottom;\n    animation: blink-anim 1.1s steps(1) infinite;\n  }\n\n  /* FLAG: glyph cursor, animation name says nothing but keyframes toggle opacity */\n  .flag-glyph-cursor { animation: flicker 1s steps(2) infinite; }\n\n  /* FLAG: underscore bar cursor */\n  .flag-underscore-cursor {\n    display: inline-block; width: 12px; height: 3px;\n    background: #eee; vertical-align: baseline;\n    animation: caret-blink 0.9s steps(1) infinite;\n  }\n\n  /* PASS: same block cursor shape, but deep below the landing region */\n  .pass-below-fold-cursor {\n    display: inline-block; width: 10px; height: 18px;\n    background: #33d17a;\n    animation: blink-anim 1.1s steps(1) infinite;\n  }\n\n  /* PASS: cursor inside real editable surfaces */\n  .pass-editable-cursor, .pass-textbox-cursor {\n    display: inline-block; width: 10px; height: 18px;\n    background: #444;\n    animation: blink-anim 1s steps(1) infinite;\n  }\n\n  /* PASS: round pulsing dot stays with the pulsing-dot rule */\n  .pass-round-dot {\n    display: inline-block; width: 8px; height: 8px;\n    background: #33d17a; border-radius: 50%;\n    animation: blink-anim 2s steps(1) infinite;\n  }\n\n  /* PASS: spinner animates transform, not visibility */\n  .pass-spinner {\n    display: inline-block; width: 16px; height: 16px;\n    border: 2px solid #999; border-top-color: #333; border-radius: 50%;\n    animation: spin 1s linear infinite;\n  }\n\n  /* PASS: a blinking word is not a cursor shape */\n  .pass-blinking-word { animation: flicker 1s steps(2) infinite; }\n\n  /* PASS: large blinking panel fails the caret-size gates */\n  .pass-blinking-panel {\n    display: inline-block; width: 200px; height: 90px;\n    background: #222;\n    animation: blink-anim 2s steps(1) infinite;\n  }\n\n  .spacer { height: 1400px; }\n\nstyle=\"margin-top: 24px;\"\nstyle=\"margin-top: 24px;\"\nstyle=\"margin-top: 24px;\""],"result":[]}
{"args":["\n    /* Fixture for the body-text-viewport-edge rule. The rule fires\n       when a <p> or <li> with substantial text content has rect.left\n       within 16px of the viewport edge (or rect.right within 16px\n       of viewport.width) AND the element has no own background-color\n       AND is not inside <nav>/<header> AND is in normal flow. */\n    body { font: 14px/1.5 system-ui, sans-serif; margin: 0; color: #111; background: #fff; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px; max-width: 1400px; margin: 0 auto; }\n    .col h2 { font: 600 14px/1 system-ui; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .case-label { display: block; font-size: 12px; color: #64748b; margin: 16px 0 4px; font-style: italic; }\n    .container-good { max-width: 720px; margin: 0 auto; padding: 16px 32px; }\n    .container-tight { padding: 16px 32px; }\n    .full-bleed-section { background: #fef3c7; padding: 24px 16px; }\n    nav.site-nav { padding: 12px 24px; background: #f5f5f5; }\n    header.banner { padding: 12px 24px; background: #e5e7eb; }\n\n    /* Override the grid container's own padding so we can demonstrate\n       a paragraph that genuinely bleeds to the viewport edge inside\n       the flag column — the col itself shouldn't reset its padding. */\n    .flag-fullwidth-p { /* no container; placed directly in body via .escape */ }\n    .escape { position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw; padding: 0; }\n    .edge-list { margin: 0; padding: 0; list-style-position: inside; }\n    .edge-list li { margin: 0; }\n  "],"result":[]}
{"args":["\n    body {\n      margin: 0;\n      padding: 24px;\n      background: #f8fafc;\n      color: #111827;\n      font: 14px/1.5 system-ui, sans-serif;\n    }\n\n    h1 {\n      max-width: 1180px;\n      margin: 0 auto 8px;\n      font-size: 34px;\n      line-height: 1.05;\n      font-weight: 720;\n    }\n\n    .intro {\n      max-width: 1180px;\n      margin: 0 auto 24px;\n      color: #4b5563;\n    }\n\n    .grid {\n      display: grid;\n      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n      gap: 32px;\n      max-width: 1180px;\n      margin: 0 auto;\n    }\n\n    .col h2 {\n      margin: 0 0 14px;\n      color: #475569;\n      font-size: 13px;\n      font-weight: 760;\n      letter-spacing: 0.08em;\n      text-transform: uppercase;\n    }\n\n    .case {\n      margin: 0 0 14px;\n      padding: 16px;\n      background: #fdfdfd;\n      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);\n    }\n\n    .case h3 {\n      margin: 0 0 4px;\n      font-size: 15px;\n      line-height: 1.25;\n    }\n\n    .case p {\n      margin: 0;\n      color: #475569;\n    }\n\n    .flag-left {\n      border-left: 4px solid #2563eb;\n      border-radius: 10px;\n    }\n\n    .flag-right {\n      border-right: 5px solid #dc2626;\n      border-radius: 10px;\n    }\n\n    .flag-left-plain {\n      border-left: 4px solid #0f766e;\n    }\n\n    .flag-top {\n      border-top: 4px solid #7c3aed;\n      border-radius: 10px;\n    }\n\n    .flag-bottom {\n      border-bottom: 3px solid #ea580c;\n      border-radius: 10px;\n    }\n\n    .flag-dark {\n      background: #141820;\n      color: #f4f7fb;\n      border-left: 4px solid #38bdf8;\n      border-radius: 10px;\n    }\n\n    .flag-dark p {\n      color: #cbd5e1;\n    }\n\n    .pass-full-border {\n      border: 1px solid #cbd5e1;\n      border-radius: 10px;\n    }\n\n    .pass-neutral-side {\n      border-left: 4px solid #d1d5db;\n      border-radius: 10px;\n    }\n\n    .pass-thin-side {\n      border-left: 1px solid #2563eb;\n      border-radius: 10px;\n    }\n\n    .pass-status-alert {\n      border-left: 4px solid #2563eb;\n    }\n\n    .flag-square-top {\n      border-top: 4px solid #7c3aed;\n      border-radius: 0;\n    }\n\n    .flag-square-bottom {\n      border-bottom: 3px solid #ea580c;\n      border-radius: 0;\n    }\n\n    .pass-tab-underline {\n      border-bottom: 3px solid #2563eb;\n      border-radius: 0;\n    }\n\n    .pass-thick-band {\n      border-top: 16px solid #7c3aed;\n      border-radius: 0;\n    }\n\n    .pass-dark-uniform {\n      background: #161a22;\n      color: #f4f7fb;\n      border: 1px solid #334155;\n      border-radius: 10px;\n    }\n\n    .pass-dark-uniform p {\n      color: #cbd5e1;\n    }\n  "],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #fff; }\n    .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }\n    .col { padding: 16px; }\n    .box { position: relative; width: 200px; height: 120px; margin: 0 0 24px; padding: 16px; border: 1px solid #ddd; }\n    .pop { position: absolute; top: 100%; left: 0; width: 220px; background: #222; color: #fff; padding: 8px; }\n    .tip-negative { position: absolute; top: -34px; left: 16px; width: 160px; background: #222; color: #fff; padding: 8px; }\n    .flyout { position: absolute; top: 28px; left: 100%; width: 180px; background: #222; color: #fff; padding: 8px; }\n    .contained-badge { position: absolute; top: 10px; right: 10px; width: 36px; height: 24px; background: #e5f0ff; }\n    .button-shine { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); }\n    .crop-photo { position: absolute; inset: -18px; background: linear-gradient(135deg, #b7d7ff, #486aa3); }\n    .inside-overlay { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 28px; background: rgba(255,255,255,.86); }\n    .pass-hidden-button { position: relative; overflow: hidden; width: 160px; height: 52px; border: 1px solid #ddd; background: #111; color: #fff; }\n    .pass-carousel-viewport,\n    .pass-fisheye-list,\n    .pass-split-container {\n      position: relative;\n      overflow: hidden;\n      width: 200px;\n      height: 120px;\n      margin: 0 0 24px;\n      border: 1px solid #ddd;\n    }\n    .carousel-slide-next { position: absolute; top: 100%; left: 0; width: 100%; height: 100%; padding: 16px; background: #f5f5f5; }\n    .fisheye-next-item { position: absolute; top: 100%; left: 0; width: 100%; padding: 8px; background: none; border: 0; text-align: left; }\n    .split-after-panel { position: absolute; top: 0; left: 50%; width: 100%; height: 100%; background: #f5f5f5; }\n  \nstyle=\"overflow: hidden\"\nstyle=\"overflow: clip\"\nstyle=\"overflow: hidden\"\nstyle=\"overflow: hidden\"\nstyle=\"overflow: hidden\"\nstyle=\"overflow: clip\"\nstyle=\"overflow: hidden\"\nstyle=\"position: static\"\nstyle=\"overflow: visible\"\nstyle=\"overflow: auto\"\nstyle=\"overflow: hidden\"\nstyle=\"overflow: hidden\"\nstyle=\"overflow: clip\""],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; background: #fafafa; padding: 24px; margin: 0; color: #1a1a1a; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin: 24px 0 8px; color: #64748b; }\n    .card { padding: 14px 16px; border-radius: 10px; margin-bottom: 10px; }\n    /* Styled button color cases (declared via stylesheet so jsdom resolves them\n       reliably — inline color doesn't always win over user-agent rules in jsdom\n       for <a> and <button>). */\n    .styled-pill-low { background-color: rgb(31, 26, 21); color: rgb(91, 79, 68); display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: 14px; text-decoration: none; }\n    .low-contrast-button { background-color: rgb(55, 65, 81); color: rgb(108, 114, 128); display: inline-block; padding: 10px 20px; border-radius: 8px; border: 0; font-size: 14px; }\n    .good-pill-high { background-color: rgb(20, 20, 25); color: rgb(245, 240, 232); display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: 14px; text-decoration: none; }\n    .inline-link-low { color: rgb(170, 170, 170); }\n    /* Chip / badge cases: text-bearing spans painting their own background. */\n    .chip-sev-low { display: inline-block; background-color: rgb(182, 50, 45); color: rgb(92, 84, 73); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 2px; }\n    .chip-ok-high { display: inline-block; background-color: rgb(20, 20, 25); color: rgb(245, 240, 232); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 2px; }\n    .chip-sub9-low { display: inline-block; background-color: rgb(182, 50, 45); color: rgb(150, 60, 55); font-size: 8px; padding: 1px 4px; }\n    .panel-reset { background: rgb(28, 30, 38); color: rgb(230, 232, 237); padding: 12px; }\n    .panel-reset code { background: rgb(246, 242, 244); border-radius: 3px; padding: 1px 4px; }\n    .panel-reset pre code { background: none; }\n    /* issue #409 Case A: gradient-clipped text. The gradient IS the glyph fill\n       (text-fill-color: transparent), not a backdrop. The inherited `color`\n       (#e8e6e3) is never painted, so measuring it against the element's own\n       gradient stops (#6d8cff / #a78bfa) is a false positive. */\n    .ox-grad-text { background: linear-gradient(135deg, #6d8cff 0%, #a78bfa 50%, #6d8cff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #e8e6e3; font-size: 40px; font-weight: 800; }\n    /* issue #409 Case B: a 9%-alpha accent glow stop over a dark surface. The\n       stop composites to ~#121f1f, not the full-opacity #34c0a8, so text stays\n       high-contrast. The dark wrapper supplies the surface beneath the glow. */\n    .ox-dark-wrap { background: #0f0f11; padding: 16px; }\n    .ox-glow { background: linear-gradient(160deg, rgba(52,192,168,0.09) 0%, #141419 65%); padding: 20px; }\n    .ox-glow p { color: #e8e6e3; font-size: 18px; }\n    .ox-glow .muted { color: #8e8c89; font-size: 16px; }\n    /* Gradient stop written as color-mix with a bright nested ingredient.\n       The stop paints as a 16% wash of the light oklch color (composited\n       over the dark wrap it is near-black); the nested oklch(90% ...) is an\n       INGREDIENT, never painted. A parser that re-extracts nested tokens\n       appends it as a phantom opaque light stop and the worst-case ratio\n       then flags the light text at ~1:1 against a color nobody sees. */\n    .mix-dark-wrap { background: #0f0f11; padding: 16px; }\n    .mix-glow { background: linear-gradient(160deg, color-mix(in oklab, oklch(90% 0.02 95) 16%, transparent) 0%, #141419 65%); padding: 20px; }\n    .mix-glow p { color: #ded9cf; font-size: 16px; }\n    /* currentcolor surface: background-color paints with the element's own\n       text color, which is itself a var() token here. jsdom hands both\n       through verbatim, so the walk must resolve the token via the\n       custom-prop map instead of abstaining on a knowable surface. */\n    :root { --fixture-bone: #e8e2d6; }\n    .currentcolor-surface { background-color: currentcolor; color: var(--fixture-bone); padding: 14px 16px; border-radius: 10px; margin-bottom: 10px; }\n    .currentcolor-low-text { color: #cfc9bd; font-size: 14px; }\n    .currentcolor-good-text { color: #3a352c; font-size: 14px; }\n    /* Same shape but the token does not exist: the surface truly cannot be\n       read, so the walk must abstain rather than guess. */\n    .currentcolor-unknown { background-color: currentcolor; color: var(--fixture-undefined-token); padding: 14px 16px; border-radius: 10px; }\n    .currentcolor-unknown p { color: #efe9dd; font-size: 14px; }\n  \nstyle=\"background: #000000; color: white;\"\nstyle=\"background: rgb(59, 130, 246);\"\nstyle=\"color: rgb(150, 150, 150);\"\nstyle=\"background: rgb(16, 185, 129);\"\nstyle=\"color: rgb(180, 180, 180);\"\nstyle=\"background: white;\"\nstyle=\"color: rgb(200, 200, 200);\"\nstyle=\"background: rgb(30, 30, 30);\"\nstyle=\"color: rgb(80, 80, 80);\"\nstyle=\"background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%); padding: 16px;\"\nstyle=\"color: #808080; font-size: 32px; font-weight: 800; margin: 0;\"\nstyle=\"color: #666666; font-size: 14px;\"\nstyle=\"background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.5rem;\"\nstyle=\"color: rgb(139, 92, 246); font-size: 1.5rem; margin: 0;\"\nstyle=\"background: black; color: white;\"\nstyle=\"background: rgb(59, 130, 246);\"\nstyle=\"color: rgb(156, 163, 175);\"\nstyle=\"color: rgb(168, 85, 247); font-size: 1.5rem; font-weight: 700;\"\nstyle=\"background: linear-gradient(to right, rgb(168, 85, 247), rgb(99, 102, 241)); color: white;\"\nstyle=\"background: rgb(26, 26, 30);\"\nstyle=\"color: rgb(240, 240, 245);\"\nstyle=\"background: rgb(250, 250, 252);\"\nstyle=\"color: rgb(20, 20, 25);\"\nstyle=\"background: #ffffff;\"\nstyle=\"color: #111827;\"\nstyle=\"background: rgb(30, 64, 175);\"\nstyle=\"color: rgb(240, 240, 245);\"\nstyle=\"background: rgb(16, 185, 129);\"\nstyle=\"color: rgb(5, 46, 32);\"\nstyle=\"color: rgb(220, 38, 38); font-size: 1.25rem; margin: 0;\"\nstyle=\"color: rgb(180, 83, 9); font-size: 1.25rem; margin: 8px 0 0;\"\nstyle=\"background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPj/HwADBwIAMCbHYQAAAABJRU5ErkJggg=='); background-size: cover; padding: 20px;\"\nstyle=\"color: rgb(255, 255, 255); font-size: 16px;\"\nstyle=\"background: rgba(0,0,0,0.03);\"\nstyle=\"background: rgba(0,0,0,0);\"\nstyle=\"background: rgba(0,0,0,0.5);\"\nstyle=\"color: white;\"\nstyle=\"background: #ffe4e6;\"\nstyle=\"color: #ffe4e6; font-size: 24px;\"\nstyle=\"background: #1a1a1a;\"\nstyle=\"color: #1a1a1a; font-size: 24px;\""],"result":[]}
{"args":["\n    /* Comprehensive fixture for the cramped-padding rule.\n       Both columns include a wide variety of cases so we can verify the\n       rule scales sensibly with font-size and treats the two axes\n       independently (vertical can be tighter because line-height already\n       provides built-in breathing room; horizontal has no equivalent). */\n    body { font-family: system-ui, sans-serif; background: #fafafa; padding: 24px; margin: 0; color: #0f172a; line-height: 1.5; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1400px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin: 28px 0 10px; color: #64748b; }\n    .case { margin-bottom: 14px; padding: 14px 16px; background: white; border: 1px solid #e2e8f0; border-radius: 10px; }\n    .case-label { display: block; font-size: 12px; color: #64748b; margin-bottom: 8px; font-style: italic; }\n\n    /* ── FLAG: cramped body in cards ── */\n    .flag-card-4 { padding: 4px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }\n    .flag-card-2 { padding: 2px; background: #f1f5f9; border-radius: 6px; font-size: 14px; }\n    .flag-card-bg4 { padding: 4px; background: #fef3c7; border-radius: 6px; font-size: 16px; }\n\n    /* ── FLAG: asymmetric cramping ── */\n    .flag-asym-v { padding: 1px 16px; background: #f1f5f9; border-radius: 6px; font-size: 14px; }\n    .flag-asym-h { padding: 12px 4px; background: #f1f5f9; border-radius: 6px; font-size: 14px; }\n\n    /* ── FLAG: cramped large text (currently MISSED by the 8px floor) ── */\n    .flag-heading-tight { padding: 8px; background: #f1f5f9; border-radius: 6px; font-size: 24px; font-weight: 600; line-height: 1.2; }\n    .flag-hero-tight { padding: 6px 16px; background: #f1f5f9; border-radius: 6px; font-size: 32px; font-weight: 700; line-height: 1.2; }\n\n    /* ── FLAG: cramped multi-line code block ── */\n    .flag-pre-tight { padding: 2px; background: #1e293b; color: #e2e8f0; border-radius: 6px; font-family: ui-monospace, monospace; font-size: 14px; line-height: 1.5; }\n\n    /* ── PASS: small inline pills (the .detection-cmd category) ── */\n    .pass-cmd {\n      display: inline-block;\n      font-family: ui-monospace, SFMono-Regular, monospace;\n      font-size: 13px;\n      line-height: 1.625;\n      color: #0f172a;\n      background: #f5f5f7;\n      padding: 6px 14px;\n      border-radius: 6px;\n      white-space: nowrap;\n    }\n    .pass-cmd::before { content: '➜ '; color: #ec4899; }\n    .pass-badge {\n      display: inline-block;\n      font-size: 11px;\n      line-height: 1.6;\n      padding: 4px 8px;\n      background: #dbeafe;\n      color: #1e40af;\n      border-radius: 999px;\n      font-weight: 600;\n    }\n    .pass-chip {\n      display: inline-block;\n      font-size: 12px;\n      line-height: 1.6;\n      padding: 4px 10px;\n      background: #fef3c7;\n      color: #92400e;\n      border-radius: 4px;\n      font-weight: 500;\n    }\n    .pass-inline-code-chip {\n      display: inline-block;\n      font-family: ui-monospace, SFMono-Regular, monospace;\n      font-size: 12px;\n      line-height: 2;\n      padding: 0.3em 0.5em;\n      background: #eef2f7;\n      color: #0f172a;\n      border-radius: 4px;\n    }\n\n    /* ── PASS: cards at current standards ── */\n    .pass-card-min { padding: 8px; background: #f1f5f9; border-radius: 6px; font-size: 16px; line-height: 1.6; }\n    .pass-card-good { padding: 16px; background: #f1f5f9; border-radius: 8px; font-size: 14px; line-height: 1.6; }\n    .pass-card-large { padding: 12px; background: #f1f5f9; border-radius: 8px; font-size: 18px; line-height: 1.6; }\n\n    /* ── PASS: comfortable code blocks ── */\n    .pass-pre-min { padding: 8px; background: #1e293b; color: #e2e8f0; border-radius: 6px; font-family: ui-monospace, monospace; font-size: 14px; line-height: 1.5; }\n    .pass-pre-good { padding: 12px; background: #1e293b; color: #e2e8f0; border-radius: 6px; font-family: ui-monospace, monospace; font-size: 14px; line-height: 1.5; }\n\n    /* ── PASS: interactive elements ── */\n    .pass-button-std { padding: 8px 16px; background: #3b82f6; color: white; border: 0; border-radius: 6px; font-size: 14px; cursor: pointer; }\n    .pass-input-std { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 16px; width: 100%; box-sizing: border-box; }\n\n    /* ── PASS: big text with proportional padding ── */\n    .pass-heading-good { padding: 16px; background: #f1f5f9; border-radius: 8px; font-size: 24px; font-weight: 600; line-height: 1.2; }\n    .pass-hero-good { padding: 20px 32px; background: #f1f5f9; border-radius: 8px; font-size: 32px; font-weight: 700; line-height: 1.2; }\n  "],"result":[]}
{"args":[""],"result":[]}
{"args":["\n    body { background: #f5efe2; color: #2a2622; font-family: Georgia, serif; margin: 0; padding: 40px; }\n    h1 { font-size: 40px; margin: 0 0 16px; }\n    p { max-width: 60ch; line-height: 1.6; }\n  "],"result":[]}
{"args":["\n  body { font-family: Georgia, serif; margin: 0; padding: 40px 24px; background: #fdfcf9; color: #1f2933; }\n  /* SHOULD FLAG (gradient-text + ai-color-palette): a real style rule. */\n  .gradient-heading {\n    background: linear-gradient(135deg, #7c3aed, #a855f7);\n    -webkit-background-clip: text;\n    background-clip: text;\n    -webkit-text-fill-color: transparent;\n    font-size: 44px;\n  }\n\nstyle=\"background: linear-gradient(90deg, #667eea, #764ba2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 28px;\""],"result":[]}
{"args":["\n  body { font-family: Georgia, 'Iowan Old Style', serif; margin: 0; padding: 32px 24px 40px; color: #1f2933; background: #fdfcf9; }\n  h1 { font-size: 34px; margin: 0 0 12px; }\n  h2 { font-size: 20px; margin: 28px 0 8px; }\n  p { font-size: 16px; max-width: 640px; }\n  pre { background: #f1efe9; padding: 16px; overflow-x: auto; font-size: 13px; }\n  code { font-family: 'SF Mono', ui-monospace, monospace; }\n"],"result":[]}
{"args":["\n  /* The impeccable.style false-positive class: the page ground is a gradient\n     set via `background:` shorthand, so the body's computed backgroundColor\n     is transparent and the ground exists only as a backgroundImage whose\n     stops serialize in oklch. The detector must measure text against those\n     stops (composited under any translucent layers), never against an\n     assumed white body. */\n  body {\n    margin: 0;\n    padding: 48px;\n    background: linear-gradient(180deg, oklch(7% 0.006 95), oklch(4% 0.004 95));\n    font-family: Arial, sans-serif;\n  }\n  body > * { margin: 0 0 32px; }\n\n  /* ── Should flag ─────────────────────────────────────────────────── */\n  .flag-muted-direct {\n    width: 560px;\n    color: oklch(30% 0 0);\n    font-size: 16px;\n    line-height: 1.7;\n  }\n  .flag-muted-nested-wrapper { width: 560px; }\n  .flag-muted-nested {\n    color: oklch(32% 0 0);\n    font-size: 16px;\n    line-height: 1.7;\n    margin: 0;\n  }\n  .frosted-light {\n    width: 480px;\n    padding: 24px;\n    background: rgba(250, 249, 246, 0.88);\n    border-radius: 4px;\n  }\n  .flag-light-on-frosted {\n    color: oklch(88% 0 0);\n    font-size: 15px;\n    line-height: 1.6;\n    margin: 0;\n  }\n\n  /* ── Should pass ─────────────────────────────────────────────────── */\n  .pass-hero-title {\n    width: 640px;\n    color: oklch(91% 0 0);\n    font-size: 48px;\n  }\n  .pass-hero-body {\n    width: 560px;\n    color: oklch(88% 0 0);\n    font-size: 16px;\n    line-height: 1.7;\n  }\n  .pass-on-raised {\n    width: 420px;\n    padding: 24px;\n    background: oklch(11% 0.006 95);\n    color: oklch(88% 0 0);\n    font-size: 15px;\n  }\n  .pass-dark-on-frosted {\n    color: oklch(15% 0.01 95);\n    font-size: 15px;\n    line-height: 1.6;\n    margin: 0 0 12px;\n  }\n  .pass-hex-gradient {\n    width: 520px;\n    padding: 24px;\n    background-image: linear-gradient(180deg, #14120f, #0a0908);\n    color: oklch(90% 0 0);\n    font-size: 15px;\n    line-height: 1.6;\n  }\n  .pass-image-backed {\n    width: 460px;\n    padding: 18px 22px;\n    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)), url(\"/fixtures/antipatterns/no-such-texture.png\") center / cover;\n    color: oklch(15% 0.01 95);\n    font-size: 15px;\n    line-height: 1.6;\n  }\n  .pass-photo-panel {\n    width: 460px;\n    padding: 18px 22px;\n    background-image: url(\"/fixtures/antipatterns/no-such-photo.jpg\");\n    color: oklch(20% 0 0);\n    font-size: 15px;\n    line-height: 1.6;\n  }\n  .pass-hidden-scene {\n    opacity: 0;\n    width: 560px;\n  }\n  .pass-hidden-scene p {\n    color: oklch(30% 0 0);\n    font-size: 16px;\n    line-height: 1.7;\n    margin: 0;\n  }\n"],"result":[]}
{"args":["\n  /* A lacquer-black ground painted as a gradient in oklch, the shape that\n     floods dark themes with \"on #ffffff\" low-contrast false positives when\n     the detector cannot read the ground and assumes white. */\n  body {\n    margin: 0;\n    padding: 24px;\n    background: linear-gradient(oklch(0.07 0.006 95), oklch(0.11 0.008 95));\n    font-family: Georgia, serif;\n    font-size: 15px;\n    line-height: 1.6;\n  }\n\n  section {\n    padding: 24px;\n    margin-bottom: 24px;\n    width: 640px;\n  }\n\n  p { margin: 0 0 12px; font-size: 15px; }\n\n  /* Readable grounds, each written in a color syntax a real browser keeps\n     verbatim in getComputedStyle output. */\n  .panel-srgb    { background-color: color(srgb 0.1 0.11 0.12); }\n  .panel-mix     { background-color: color-mix(in srgb, white 6%, #0b0b0d); }\n  .panel-p3      { background-color: color(display-p3 0.07 0.07 0.08); }\n  .panel-lch     { background-color: lch(18 4 60); }\n  .panel-light   { background-color: color(srgb 0.98 0.97 0.95); }\n\n  /* A color space the detector does not model. Nested inside the light\n     panel so a detector that walks PAST the unreadable layer would measure\n     light text against the light section and invent a finding. */\n  .panel-unreadable { background-color: color(rec2020 0.05 0.05 0.05); padding: 20px; }\n\n  /* An image layer stacked ABOVE a loud gradient. The image is the visible\n     surface and its pixels are unreadable; a detector that falls back to\n     gradient stops here measures a layer the visitor never sees. */\n  .panel-image-over-gradient { background-image: url(\"opaque-panel.png\"), linear-gradient(#ff0000, #0000ff); }\n\n  /* Keywords a real browser resolves before getComputedStyle output but a\n     partial cascade hands through verbatim: inherit takes the parent's\n     ground, currentcolor paints with the element's own text color. Both are\n     knowable surfaces; abstaining on them would hide real findings. */\n  .panel-inherit { background-color: inherit; padding: 20px; }\n  .panel-current { background-color: currentcolor; color: color(srgb 0.94 0.93 0.91); }\n  .text-pale-2   { color: color(srgb 0.78 0.77 0.75); }\n\n  .text-light  { color: oklch(0.92 0.01 90); }\n  .text-dark   { color: color(srgb 0.1 0.11 0.12); }\n\n  .text-muted-ground { color: oklch(0.32 0.01 90); }\n  .text-dim-srgb     { color: color(srgb 0.28 0.28 0.3); }\n  .text-dim-p3       { color: color(display-p3 0.35 0.35 0.36); }\n  .text-dim-lch      { color: lch(35 3 60); }\n  .text-pale-light   { color: color(srgb 0.75 0.74 0.72); }\n"],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #f2f2f4; }\n    h2 { padding: 16px 24px 0; font-size: 16px; }\n    .scroller { width: 600px; margin: 8px 24px 24px; overflow-x: auto; display: flex; scroll-snap-type: x mandatory; background: #e4e4e8; }\n    .panel { flex: 0 0 auto; scroll-snap-align: start; }\n    .card { background: #fff; border-radius: 10px; height: 90px; padding: 12px; box-sizing: border-box; margin-bottom: 12px; }\n    .plain { height: 90px; padding: 12px; box-sizing: border-box; }\n\n    /* FLAG: first panel is wider than the scroller's clip box, so its cards\n       keep a 16px left gutter but end 4px past the right clip edge. */\n    .flag-pager .panel-wide { width: 620px; }\n    .flag-pager .panel-wide .card { margin-left: 16px; width: 588px; }\n    .flag-pager .panel-ok { width: 600px; }\n    .flag-pager .panel-ok .card { margin-left: 16px; width: 568px; }\n\n    /* PASS: every panel keeps a symmetric inset. */\n    .pass-even .panel { width: 600px; }\n    .pass-even .card { margin-left: 16px; width: 568px; }\n\n    /* PASS: deliberate peek carousel; the third card is cut mid-card, far\n       past the clip edge, which reads as an affordance rather than a bug. */\n    .pass-peek { gap: 12px; padding: 12px 0 12px 16px; }\n    .pass-peek .card { flex: 0 0 auto; width: 260px; margin: 0; }\n\n    /* PASS: flush children without card styling are plain content, not cards. */\n    .pass-plain .panel { width: 620px; }\n    .pass-plain .plain { margin-left: 16px; width: 588px; }\n  "],"result":[]}
{"args":["\n    body { font-family: Georgia, serif; margin: 0; color: #1a1a1a; background: #fff; }\n    .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }\n    .col { padding: 16px; }\n    p, h2 { margin: 0 0 20px; }\n  \nstyle=\"letter-spacing: -0.06em\"\nstyle=\"letter-spacing: -4px; font-size: 64px\"\nstyle=\"letter-spacing: -0.07em\"\nstyle=\"letter-spacing: -0.02em; font-size: 72px\"\nstyle=\"letter-spacing: normal\""],"result":[]}
{"args":["\n  * { margin: 0; box-sizing: border-box; }\n  body { font-family: system-ui, sans-serif; color: #111; background: #fff; }\n  p { margin: 0 0 14px; line-height: 1.6; }\n\n  /* ── FLAG: two-column opening section, right column runs far past the fold\n        while the left column fits inside one viewport ── */\n  .flag { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 40px; }\n  .flag .short { }\n  .flag .short h1 { font-size: 40px; margin-bottom: 16px; }\n  .flag .tall .filler { height: 1600px; background: #eee; border-radius: 8px; padding: 16px; }\n\n  /* ── PASS: balanced two-column section, both fit ── */\n  .pass-balanced { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; }\n  .pass-balanced .col { }\n\n  /* ── PASS: single full-page hero (no sibling column) ── */\n  .pass-hero { padding: 40px; }\n  .pass-hero .art { height: 1400px; background: #f3f3f3; }\n"],"result":[]}
{"args":["\n    /* Fixture for the flush-against-border rule.\n\n       The rule is more general than its name suggests: it fires when a\n       container has any visible boundary (border, outline, OR a\n       non-transparent background) AND zero inline padding on the\n       bounded side, AND text-bearing children land flush against that\n       boundary.\n\n       Distinct from cramped-padding (which fires when an element has\n       its OWN direct text and the padding/font-size ratio is wrong).\n       Here the container has NO direct text; only children; so\n       cramped-padding gives it a pass. */\n\n    body { font-family: system-ui, sans-serif; background: #fafafa; padding: 24px; margin: 0; color: #0f172a; line-height: 1.5; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1400px; margin: 0 auto; }\n    .col h2 { font-size: 22px; font-weight: 700; margin: 0 0 16px; color: #0f172a; line-height: 1.2; }\n    .col h3 { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin: 28px 0 10px; color: #64748b; }\n    .case { margin-bottom: 14px; }\n    .case-label { display: block; font-size: 12px; color: #64748b; margin-bottom: 8px; font-style: italic; max-width: 60ch; }\n\n    /* ────────────────────────────────────────────────────────────\n       SHOULD FLAG\n       ──────────────────────────────────────────────────────────── */\n\n    /* ── FLAG: the /live-mode-frameworks bug; border + zero side-padding ── */\n    .flag-frameworks {\n      padding: 28px 0 0;\n      background: #fffbe6;\n      border: 1px solid #d4a017;\n      border-radius: 8px;\n      display: flex;\n      flex-direction: column;\n      gap: 10px;\n    }\n    .flag-frameworks-label {\n      font-family: ui-monospace, monospace;\n      font-size: 11px;\n      letter-spacing: 0.18em;\n      text-transform: uppercase;\n      color: #8b6914;\n    }\n    .flag-frameworks-list {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 8px;\n      list-style: none;\n      padding: 0;\n      margin: 0;\n    }\n    .flag-frameworks-list li {\n      font-family: ui-monospace, monospace;\n      font-size: 13px;\n      padding: 6px 12px;\n      background: #fef3c7;\n      border: 1px solid #d4a017;\n      border-radius: 4px;\n      color: #78350f;\n    }\n\n    /* ── FLAG: child text flush against the four borders of a card ── */\n    .flag-card-borders {\n      padding: 0;\n      background: white;\n      border: 1px solid #cbd5e1;\n      border-radius: 8px;\n    }\n    .flag-card-borders h4 { margin: 0; font-size: 14px; color: #0f172a; }\n    .flag-card-borders p { margin: 4px 0 0; font-size: 13px; color: #475569; }\n\n    /* ── FLAG: non-transparent background, zero padding ── */\n    .flag-bg-only {\n      padding: 0;\n      background: #fde68a;\n      border-radius: 6px;\n      border: 0;\n    }\n    .flag-bg-only h4 { margin: 0; font-size: 14px; color: #78350f; }\n    .flag-bg-only p { margin: 4px 0 0; font-size: 13px; color: #78350f; }\n\n    /* ── FLAG: outline (no border), zero padding ── */\n    .flag-outline-only {\n      padding: 0;\n      background: transparent;\n      border: 0;\n      outline: 2px solid #94a3b8;\n      outline-offset: 0;\n    }\n    .flag-outline-only h4 { margin: 0; font-size: 14px; color: #0f172a; }\n    .flag-outline-only p { margin: 4px 0 0; font-size: 13px; color: #475569; }\n\n    /* ── FLAG: border-left + zero left-padding, other sides fine ── */\n    .flag-asym-leftflush {\n      padding: 12px 16px 12px 0;\n      background: white;\n      border: 1px solid #cbd5e1;\n      border-radius: 4px;\n    }\n    .flag-asym-leftflush h4 { margin: 0; font-size: 14px; color: #0f172a; }\n    .flag-asym-leftflush p { margin: 4px 0 0; font-size: 13px; color: #475569; }\n\n    /* ────────────────────────────────────────────────────────────\n       SHOULD PASS\n       ──────────────────────────────────────────────────────────── */\n\n    /* ── PASS: no boundary at all (no bg, no border, no outline) ── */\n    .pass-no-boundary {\n      padding: 0;\n      background: transparent;\n      border: 0;\n      outline: 0;\n    }\n    .pass-no-boundary-label {\n      font-family: ui-monospace, monospace;\n      font-size: 11px;\n      letter-spacing: 0.18em;\n      text-transform: uppercase;\n      color: #475569;\n      margin-bottom: 10px;\n    }\n    .pass-no-boundary-list {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 8px;\n      list-style: none;\n      padding: 0;\n      margin: 0;\n    }\n    .pass-no-boundary-list li {\n      font-size: 13px;\n      padding: 6px 12px;\n      background: #f5f5f7;\n      border: 1px solid #e2e8f0;\n      border-radius: 4px;\n      color: #0f172a;\n    }\n\n    /* ── PASS: top-only border, no left/right border, padding-top fine ── */\n    .pass-top-rule {\n      padding: 24px 0 0;\n      background: transparent;\n      border: 0;\n      border-top: 1px solid #cbd5e1;\n    }\n    .pass-top-rule-label {\n      font-family: ui-monospace, monospace;\n      font-size: 11px;\n      letter-spacing: 0.18em;\n      text-transform: uppercase;\n      color: #475569;\n      margin-bottom: 10px;\n    }\n    .pass-top-rule-list {\n      display: flex;\n      flex-wrap: wrap;\n      gap: 8px;\n      list-style: none;\n      padding: 0;\n      margin: 0;\n    }\n    .pass-top-rule-list li {\n      font-size: 13px;\n      padding: 6px 12px;\n      background: #f5f5f7;\n      border: 1px solid #e2e8f0;\n      border-radius: 4px;\n      color: #0f172a;\n    }\n\n    /* ── PASS: bordered card with comfortable inset on all sides ── */\n    .pass-bordered-padded {\n      padding: 18px 20px;\n      background: white;\n      border: 1px solid #cbd5e1;\n      border-radius: 8px;\n    }\n    .pass-bordered-padded h4 { margin: 0; font-size: 14px; color: #0f172a; }\n    .pass-bordered-padded p { margin: 4px 0 0; font-size: 13px; color: #475569; }\n\n    /* ── PASS: background card with comfortable inset ── */\n    .pass-bg-padded {\n      padding: 14px 18px;\n      background: #fde68a;\n      border-radius: 6px;\n      border: 0;\n    }\n    .pass-bg-padded h4 { margin: 0; font-size: 14px; color: #78350f; }\n    .pass-bg-padded p { margin: 4px 0 0; font-size: 13px; color: #78350f; }\n\n    /* ── PASS: outline with comfortable inset ── */\n    .pass-outline-padded {\n      padding: 14px 18px;\n      outline: 2px solid #94a3b8;\n      outline-offset: 0;\n      border: 0;\n      background: transparent;\n    }\n    .pass-outline-padded h4 { margin: 0; font-size: 14px; color: #0f172a; }\n    .pass-outline-padded p { margin: 4px 0 0; font-size: 13px; color: #475569; }\n\n    /* ── PASS: image-only container, no text means no flush issue ── */\n    .pass-image-only {\n      padding: 0;\n      background: white;\n      border: 1px solid #cbd5e1;\n      border-radius: 8px;\n      width: 200px;\n      overflow: hidden;\n    }\n    .pass-image-only .placeholder-img {\n      width: 100%;\n      height: 80px;\n      background: linear-gradient(135deg, #cbd5e1, #94a3b8);\n    }\n\n    /* ── PASS: parent has zero padding, but child margins create the visible inset ── */\n    .pass-margin-inset {\n      padding: 0;\n      background: white;\n      border: 1px solid #cbd5e1;\n      border-radius: 8px;\n    }\n    .pass-margin-inset h4 { margin: 16px 18px 4px; font-size: 14px; color: #0f172a; }\n    .pass-margin-inset p { margin: 0 18px 16px; font-size: 13px; color: #475569; }\n\n    /* ── PASS: an inner shell, not the parent, owns the inset spacing ── */\n    .pass-inner-shell {\n      padding: 0;\n      background: white;\n      border: 1px solid #cbd5e1;\n      border-radius: 8px;\n    }\n    .pass-inner-shell .inner-shell {\n      margin: 18px;\n    }\n    .pass-inner-shell h4 { margin: 0 0 4px; font-size: 14px; color: #0f172a; }\n    .pass-inner-shell p { margin: 0; font-size: 13px; color: #475569; }\n\n    /* ── PASS: same background as parent, so the child draws no visible boundary ── */\n    .pass-same-bg-parent {\n      padding: 16px;\n      background: #eef2f7;\n      border-radius: 8px;\n    }\n    .pass-same-bg-child {\n      padding: 0;\n      background: #eef2f7;\n      border: 0;\n      border-radius: 8px;\n    }\n    .pass-same-bg-child h4 { margin: 0; font-size: 14px; color: #0f172a; }\n    .pass-same-bg-child p { margin: 4px 0 0; font-size: 13px; color: #475569; }\n\n    /* ── PASS: full-bleed marquee/surface, not a text card missing padding ── */\n    .pass-marquee-shell {\n      padding: 0;\n      background: #172033;\n      color: white;\n      overflow: hidden;\n      border: 0;\n    }\n    .pass-marquee-track {\n      display: flex;\n      gap: 12px;\n      width: max-content;\n    }\n    .pass-marquee-card {\n      width: 220px;\n      padding: 14px;\n      background: #23304a;\n      border: 1px solid rgba(255, 255, 255, 0.16);\n    }\n    .pass-marquee-card p { margin: 0; font-size: 13px; }\n\n    /* ── PASS: outer scene owns background; inner text surface owns padding ── */\n    .pass-inner-text-surface {\n      padding: 0;\n      background: #0f172a;\n      color: white;\n      overflow: hidden;\n      border: 0;\n    }\n    .pass-inner-text-surface-window {\n      display: grid;\n      gap: 6px;\n      min-height: 92px;\n      padding: 14px;\n      background: #111827;\n      border: 1px solid rgba(255, 255, 255, 0.16);\n    }\n    .pass-inner-text-surface-window p { margin: 0; font-size: 13px; }\n  "],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #fff; }\n    .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }\n    .col { padding: 16px; }\n    img { display: block; width: 160px; height: 120px; margin: 0 0 24px; background: #ddd; }\n    .flag-css-hover img { transition: transform 0.3s; }\n    .flag-css-hover img:hover { transform: scale(1.05); }\n    .card:hover { transform: translateY(-4px); }\n  "],"result":[]}
{"args":["\n    /* Two-column fixture: left = should flag, right = should pass.\n       The dark-glow rule fires when a colored box-shadow appears on a\n       child whose ancestor has a dark background. Each column wraps\n       its dark-context cases in its own .dark-context section so the\n       parent-bg lookup behaves predictably regardless of layout. */\n    body { font-family: system-ui, sans-serif; background: #f9fafb; padding: 24px; margin: 0; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin: 24px 0 8px; color: #64748b; }\n    .dark-context { background: #111827; padding: 16px; border-radius: 12px; }\n    .dark-context + .dark-context { margin-top: 12px; }\n    /* Card variants: explicit dark vs light pairings, both WCAG AA compliant */\n    .card { padding: 14px 16px; border-radius: 10px; margin-bottom: 10px; }\n    .card h4 { font-weight: 600; font-size: 13px; margin: 0; }\n    .card p { font-size: 12px; margin: 4px 0 0; }\n    .card-dark { background: #1f2937; }\n    .card-dark h4 { color: #f9fafb; }\n    .card-dark p { color: #cbd5e1; }\n    .card-light { background: white; }\n    .card-light h4 { color: #0f172a; }\n    .card-light p { color: #475569; }\n\n    /* ── FLAG: dark background + colored glow ── */\n    .glow-blue { box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }\n    .glow-purple { box-shadow: 0 0 25px rgba(139, 92, 246, 0.35); }\n    .glow-cyan { box-shadow: 0 0 15px rgba(6, 182, 212, 0.5); }\n    .glow-multi { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 30px rgba(168, 85, 247, 0.3); }\n\n    /* ── FLAG: modern color formats, var() refs, text-shadow ── */\n    :root { --fixture-glow: oklch(0.78 0.14 155); }\n    .glow-oklch { box-shadow: 0 0 18px oklch(0.72 0.15 195 / 0.5); }\n    .glow-hex { box-shadow: 0 0 16px #3b82f6; }\n    .glow-hsl { box-shadow: 0 0 22px hsl(280, 80%, 60%); }\n    .glow-var { box-shadow: 0 0 10px var(--fixture-glow); }\n    .glow-text h4 { text-shadow: 0 0 12px #22d3ee; }\n    /* Zero-offset chromatic halo is slop on light backgrounds too */\n    .glow-light-oklch { box-shadow: 0 0 20px oklch(0.65 0.2 300 / 0.45); }\n    /* Unreadable surface: url() image ancestor. The zero-offset halo tell\n       holds on ANY background, so an unknown surface must not suppress it.\n       Both element loops must agree here (the browser adapter once returned\n       [] for the whole element on an unresolved surface). */\n    .photo-context { background-image: url('/fixtures/antipatterns/missing-photo.png'); padding: 16px; border-radius: 12px; }\n    .glow-photo-halo { box-shadow: 0 0 26px rgba(217, 70, 239, 0.5); }\n    /* Opaque gradient atop a url() layer: every stop is opaque, so the\n       gradient provably covers the image — the surface IS the dark\n       gradient, and the dark-background glow tell may score against it\n       (browser hunt; the static loop has no gradient hunt). */\n    .photo-opaque-grad { background: linear-gradient(#111827, #0b1220), url('/fixtures/antipatterns/missing-photo.png'); padding: 16px; border-radius: 12px; }\n    .glow-photo-opaque { box-shadow: 0 6px 22px rgba(249, 115, 22, 0.5); }\n\n    /* ── PASS: same dark/light backgrounds, but neutral or no glow ── */\n    .light-colored-shadow { box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15); }\n    .dark-normal-shadow { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }\n    .dark-focus-ring { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }\n    .dark-subtle-shadow { box-shadow: 0 1px 3px rgba(59, 130, 246, 0.2); }\n    .dark-elevated-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }\n    .dark-elevated-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4); }\n    .dark-elevated-lg { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5); }\n    .dark-elevated-inset { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); }\n    .dark-elevated-multi { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2); }\n    .elevated-sm-light { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }\n    .elevated-md-light { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }\n    .elevated-warm-light { box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15); }\n    /* Medium-gray card: lighter than dark mode, used to demonstrate \"not dark enough\" for glow detection. White text for AA contrast. */\n    .card-medium { background: #6b7280; }\n    .card-medium h4 { color: #ffffff; }\n    .card-medium p { color: #ffffff; }\n    .medium-gray-shadow { box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3); }\n    /* Offset chromatic drop shadow on a light background: a real drop\n       shadow, not a halo — must NOT flag under the zero-offset rule.\n       (Element path; the page-level text scan caps at one finding.) */\n    .light-offset-colored { box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25); }\n    /* Achromatic zero-offset shadow: soft ambient elevation, stays legal */\n    .light-soft-neutral { box-shadow: 0 0 24px rgba(0, 0, 0, 0.15); }\n    /* Offset chromatic shadow under the same unreadable url() surface:\n       the dark-background glow tell needs a surface we can read — abstain. */\n    .photo-offset-colored { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35); }\n    /* Translucent gradient atop a url() layer: the image shows through the\n       20% wash, so the real surface is a blend with unknowable pixels (a\n       white photo composites to ~#cccccc, not black). Averaging the wash\n       stops as if they were the surface scored this \"dark\" — abstain. */\n    .photo-translucent-grad { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/fixtures/antipatterns/missing-photo.png'); padding: 16px; border-radius: 12px; }\n    .photo-translucent-offset { box-shadow: 0 6px 22px rgba(244, 63, 94, 0.45); }\n    /* Offset neutral text-shadow on dark card: legibility aid, not a glow */\n    .dark-text-offset h4 { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }\n  \nstyle=\"box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);\""],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #fff; }\n    .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }\n    .col { padding: 16px; }\n    .card { padding: 24px; margin: 0 0 24px; border-radius: 12px; }\n    .stripes { height: 80px; margin: 0 0 24px; border-radius: 12px; }\n    .grid { height: 80px; margin: 0 0 24px; border-radius: 12px; }\n  \nstyle=\"border: 1px solid #e5e7eb; box-shadow: 0 0 24px rgba(0,0,0,0.18)\"\nstyle=\"background: repeating-linear-gradient(45deg, #eee, #eee 10px, #fafafa 10px, #fafafa 20px)\"\nstyle=\"background: linear-gradient(90deg, oklch(96% 0.012 82 / 0.055) 1px, transparent 1px), linear-gradient(180deg, oklch(96% 0.012 82 / 0.05) 1px, transparent 1px); background-size: 78px 78px, 78px 78px;\"\nstyle=\"border: 1px solid #e5e7eb; box-shadow: 0 1px 4px rgba(0,0,0,0.08)\"\nstyle=\"border: 1px solid rgba(148, 163, 184, 0.16); box-shadow: 0 18px 48px -16px rgba(15, 23, 42, 0.18)\"\nstyle=\"border: 1px solid oklch(78% 0 0 / 0.16); box-shadow: 0 16px 36px -12px oklch(2% 0.004 95 / 0.18)\"\nstyle=\"background: linear-gradient(180deg, #f3f4f6, #ffffff)\"\nstyle=\"background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px); background-size: 100% 32px\"\nstyle=\"background: linear-gradient(90deg, #f3f4f6, #e5e7eb), linear-gradient(180deg, #eef2ff, #ffffff)\"\nstyle=\"background: linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px), linear-gradient(180deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px)\"\nstyle=\"background: linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(180deg, #000 1px, transparent 1px)\""],"result":[]}
{"args":["\n  * { margin: 0; padding: 0; box-sizing: border-box; }\n  body { font-family: Georgia, serif; font-size: 16px; line-height: 1.5; width: 720px; }\n  h2 { font-size: 28px; line-height: 1.2; }\n  h3 { font-size: 20px; line-height: 1.2; }\n  p { max-width: 60ch; }\n\n  /* FLAG: zero space above the heading, clear space below it */\n  .flag-crowded { margin: 0 0 40px; }\n  .flag-crowded + p { margin: 0 0 24px; }\n\n  /* PASS: generous space above, tight below */\n  .pass-generous { margin: 64px 0 16px; }\n\n  /* PASS: near-equal spacing is ambiguous, not inverted */\n  .pass-near-equal { margin: 20px 0 24px; }\n\n  /* PASS: eyebrow label bound to the heading; real space sits above the cluster */\n  .pass-eyebrow-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin: 72px 0 8px; }\n  .pass-eyebrow-heading { margin: 0 0 24px; }\n\n  /* PASS: small card, its boundary provides the separation */\n  .pass-card { box-shadow: 0 1px 4px rgba(0,0,0,0.2); background: #f4f4f4; padding: 16px; margin: 48px 0; width: 320px; }\n  .pass-card h3 { margin: 0 0 20px; }\n\n  /* PASS: heading first inside a banded section; the band edge separates */\n  .pass-band { background: #ececec; padding: 8px 0 32px; margin-top: 8px; }\n  .pass-band h2 { margin: 0 0 24px; }\n\nstyle=\"margin-top: 24px;\""],"result":[]}
{"args":["\n    /* ─── Layout convention: two-column fixture ─────────────────────────\n       Left column = patterns the rule SHOULD flag.\n       Right column = legitimate patterns the rule should NOT flag.\n       Each test case is annotated with a unique <h1> text so the test\n       can match snippets back to expectations.\n       ──────────────────────────────────────────────────────────────── */\n    body { font-family: system-ui, sans-serif; margin: 0; padding: 24px; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }\n    .col h2.col-label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .case { margin-bottom: 32px; padding: 24px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }\n    .case p { font-size: 14px; margin: 12px 0 0; color: #64748b; }\n    .case h1 { margin: 0; font-family: 'Inter', sans-serif; line-height: 1.05; }\n\n    /* Hero size used by most cases */\n    .hero { font-size: 88px; font-weight: 600; }\n\n    /* ── FLAG cases ── */\n\n    .eyebrow-classic {\n      text-transform: uppercase;\n      letter-spacing: 0.15em;\n      font-size: 12px;\n      color: #64748b;\n      font-weight: 600;\n      margin: 0 0 16px;\n    }\n\n    .eyebrow-span {\n      display: inline-block;\n      text-transform: uppercase;\n      letter-spacing: 0.16em;\n      font-size: 11px;\n      color: #475569;\n      font-weight: 600;\n      margin: 0 0 16px;\n    }\n\n    .eyebrow-pill {\n      display: inline-block;\n      text-transform: uppercase;\n      letter-spacing: 0.14em;\n      font-size: 12px;\n      background: #f1f5f9;\n      color: #334155;\n      border-radius: 999px;\n      padding: 4px 12px;\n      font-weight: 600;\n      margin: 0 0 16px;\n    }\n\n    .eyebrow-already-uppercase {\n      letter-spacing: 0.18em;\n      font-size: 11px;\n      color: #b45309;\n      font-weight: 700;\n      margin: 0 0 16px;\n    }\n\n    /* ── PASS cases ── */\n\n    .pass-eyebrow-no-tracking {\n      text-transform: uppercase;\n      letter-spacing: normal;\n      font-size: 12px;\n      color: #64748b;\n      font-weight: 600;\n      margin: 0 0 16px;\n    }\n\n    .pass-body-heading {\n      font-size: 24px;\n      font-weight: 600;\n      font-family: 'Inter', sans-serif;\n      margin: 0;\n    }\n\n    .pass-card-caption {\n      text-transform: uppercase;\n      letter-spacing: 0.18em;\n      font-size: 11px;\n      color: #94a3b8;\n      font-weight: 600;\n      margin: 0 0 8px;\n    }\n\n    .pass-bare-hero {\n      font-size: 64px;\n    }\n\n    .pass-h2-above-h1 {\n      font-size: 14px;\n      text-transform: uppercase;\n      letter-spacing: 0.18em;\n      font-weight: 700;\n      color: #475569;\n      margin: 0 0 16px;\n      font-family: 'Inter', sans-serif;\n    }\n\n    .pass-long-uppercase {\n      text-transform: uppercase;\n      letter-spacing: 0.14em;\n      font-size: 12px;\n      color: #475569;\n      font-weight: 600;\n      margin: 0 0 16px;\n    }\n  \nstyle=\"margin-top:32px\""],"result":[]}
{"args":["\n      /* impeccable: ignore overused-font */\n      body {\n        font-family: \"Roboto\", ui-sans-serif, system-ui, sans-serif;\n        margin: 0;\n        padding: 48px;\n      }\n\n      main {\n        max-width: 62ch;\n      }\n    "],"result":[]}
{"args":["\n    /* ─── Layout convention: two-column fixture ─────────────────────────\n       Left column = patterns the rule SHOULD flag.\n       Right column = legitimate patterns the rule should NOT flag.\n       Each test case is annotated with a unique <h3> text so the test\n       can match snippets back to expectations.\n       ──────────────────────────────────────────────────────────────── */\n    body { font-family: system-ui, sans-serif; margin: 0; padding: 24px; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 960px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .case { margin-bottom: 24px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }\n    .case h3 { font-size: 18px; margin: 0 0 4px; color: #0f172a; }\n    .case p { font-size: 14px; margin: 0; color: #64748b; }\n\n    /* ── FLAG cases ── */\n\n    /* 1: pastel-gradient icon-tile (the canonical massive-icons.html shape) */\n    .icon-pastel {\n      width: 80px; height: 80px;\n      border-radius: 20px;\n      background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);\n      display: flex; align-items: center; justify-content: center;\n      margin-bottom: 16px;\n    }\n\n    /* 2: solid-color icon-tile, white svg inside (no gradient) */\n    .icon-solid {\n      width: 64px; height: 64px;\n      border-radius: 16px;\n      background: #3b82f6;\n      display: flex; align-items: center; justify-content: center;\n      margin-bottom: 16px;\n    }\n\n    /* 3: white-bg outlined icon-tile (no chromatic background at all) */\n    .icon-white {\n      width: 72px; height: 72px;\n      border-radius: 18px;\n      background: #ffffff;\n      border: 1px solid #e2e8f0;\n      display: flex; align-items: center; justify-content: center;\n      margin-bottom: 16px;\n    }\n\n    /* 4: larger square (still inside the 32–128 range) */\n    .icon-large {\n      width: 96px; height: 96px;\n      border-radius: 24px;\n      background: #f1f5f9;\n      display: flex; align-items: center; justify-content: center;\n      margin-bottom: 16px;\n    }\n\n    /* 5: inline emoji icon — tile contains an emoji/symbol character directly,\n       not an <svg> or <i> child. This is the \"card-icon\" pattern from many\n       generated demos. */\n    .icon-emoji {\n      width: 48px; height: 48px;\n      border-radius: 12px;\n      background: linear-gradient(135deg, #8b5cf6, #a855f7);\n      display: flex; align-items: center; justify-content: center;\n      font-size: 24px;\n      margin-bottom: 16px;\n    }\n\n    /* ── PASS cases ── */\n\n    /* a: round avatar above name (border-radius: 50% — circle, not rounded square) */\n    .avatar-round {\n      width: 64px; height: 64px;\n      border-radius: 50%;\n      background: #f59e0b;\n      display: flex; align-items: center; justify-content: center;\n      margin-bottom: 16px;\n    }\n\n    /* b: wide thumbnail above article title (16:9, much wider than tall) */\n    .thumb-wide {\n      width: 200px; height: 112px;\n      border-radius: 8px;\n      background: #cbd5e1;\n      margin-bottom: 16px;\n    }\n\n    /* c: inline icon next to heading (icon and h3 on the same row, NOT stacked) */\n    .inline-row { display: flex; align-items: center; gap: 12px; }\n    .inline-row .icon-inline {\n      width: 80px; height: 80px;\n      border-radius: 20px;\n      background: #ddd6fe;\n      display: flex; align-items: center; justify-content: center;\n      flex-shrink: 0;\n    }\n\n    /* d: nothing above the heading at all */\n    .no-icon h3 { margin-top: 0; }\n\n    /* e: icon-tile that's too small (under 32px) — out of size range */\n    .icon-tiny {\n      width: 24px; height: 24px;\n      border-radius: 6px;\n      background: #93c5fd;\n      display: flex; align-items: center; justify-content: center;\n      margin-bottom: 16px;\n    }\n\n    /* f: oversized image card / hero image (over 128px) — out of size range */\n    .img-huge {\n      width: 200px; height: 200px;\n      border-radius: 16px;\n      background: #cbd5e1;\n      margin-bottom: 16px;\n    }\n  "],"result":[]}
{"args":["\n  body { margin: 0; padding: 40px; background: #17150f; font-family: Arial, sans-serif; }\n  /* A same-origin (data-URI) near-white image background. The analytic walk\n     cannot know its pixels, so the default overlay pass must sample the image\n     itself: white text on it fails, dark ink on it passes. */\n  .photo-panel {\n    width: 420px;\n    padding: 24px;\n    margin: 0 0 24px;\n    background: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><rect width='100' height='100' fill='%23f5f2ea'/></svg>\") center / cover no-repeat;\n  }\n  .flag-white-on-light { color: #fdfdfd; font-size: 16px; line-height: 1.6; margin: 0; }\n  .pass-ink-on-light { color: #262421; font-size: 16px; line-height: 1.6; margin: 0; }\n  /* Fourteen gradient-backed decoys sit BEFORE the photo panels in DOM\n     order. They are visual-contrast candidates (gradient background) but not\n     image-backed; with the default 12-candidate cap they would starve the\n     image-only pass to zero unless the mode filters inside the collector.\n     Their ink is dark on a light gradient, so no analytic finding fires. */\n  .decoy { display: inline-block; padding: 4px 8px; margin: 0 4px 6px 0; background: linear-gradient(180deg, #f2efe6, #e8e4d8); color: #24211c; font-size: 12px; }\n"],"result":[]}
{"args":["\n    /* ─── Layout convention: two-column fixture ─────────────────────────\n       Left column = patterns the rule SHOULD flag.\n       Right column = legitimate patterns the rule should NOT flag.\n       Each test case is annotated with a unique <h1>/<h2>/<blockquote>\n       text so the test can match snippets back to expectations.\n       ──────────────────────────────────────────────────────────────── */\n    body { font-family: system-ui, sans-serif; margin: 0; padding: 24px; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }\n    .col h2.col-label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .case { margin-bottom: 32px; padding: 24px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }\n    .case p { font-size: 14px; margin: 12px 0 0; color: #64748b; }\n\n    /* ── FLAG cases ── */\n\n    /* 1: Fraunces 88px italic — the Lumina hero pattern */\n    .hero-fraunces {\n      font-family: 'Fraunces', Georgia, serif;\n      font-style: italic;\n      font-size: 88px;\n      font-weight: 400;\n      line-height: 1.05;\n      margin: 0;\n    }\n\n    /* 2: Recoleta 64px italic */\n    .hero-recoleta {\n      font-family: 'Recoleta', serif;\n      font-style: italic;\n      font-size: 64px;\n      font-weight: 400;\n      margin: 0;\n    }\n\n    /* 3: Playfair Display 72px italic */\n    .hero-playfair {\n      font-family: 'Playfair Display', serif;\n      font-style: italic;\n      font-size: 72px;\n      font-weight: 500;\n      margin: 0;\n    }\n\n    /* 4: Unknown serif primary, but generic `serif` fallback in stack */\n    .hero-unknown-serif {\n      font-family: 'CustomSerifFace', serif;\n      font-style: italic;\n      font-size: 56px;\n      font-weight: 400;\n      margin: 0;\n    }\n\n    /* ── PASS cases ── */\n\n    /* a: italic, but sans-serif primary (Karla) — italic display in a sans is rare and usually intentional */\n    .pass-sans-italic {\n      font-family: 'Karla', sans-serif;\n      font-style: italic;\n      font-size: 64px;\n      font-weight: 600;\n      margin: 0;\n    }\n\n    /* b: serif at 88px, but font-style: normal */\n    .pass-roman-serif {\n      font-family: 'Fraunces', Georgia, serif;\n      font-style: normal;\n      font-size: 88px;\n      font-weight: 600;\n      margin: 0;\n    }\n\n    /* c: italic serif blockquote at 24px (genuine pull quote, not a hero) */\n    .pass-pull-quote {\n      font-family: 'Fraunces', Georgia, serif;\n      font-style: italic;\n      font-size: 24px;\n      font-weight: 400;\n      margin: 0;\n      color: #334155;\n    }\n\n    /* d: roman h1 with an italic <em> inside — v1 explicitly does NOT flag this */\n    .pass-roman-h1-em-italic {\n      font-family: 'Inter', sans-serif;\n      font-style: normal;\n      font-size: 72px;\n      font-weight: 600;\n      margin: 0;\n    }\n    .pass-roman-h1-em-italic em {\n      font-family: 'Fraunces', Georgia, serif;\n      font-style: italic;\n      font-weight: 400;\n    }\n\n    /* e: italic serif h2 at 32px — under the 48px hero threshold */\n    .pass-italic-serif-32 {\n      font-family: 'Fraunces', Georgia, serif;\n      font-style: italic;\n      font-size: 32px;\n      font-weight: 400;\n      margin: 0;\n    }\n\n    /* f: baseline-clean h1 — sans-serif roman */\n    .pass-h1-sans-roman {\n      font-family: 'Inter', sans-serif;\n      font-style: normal;\n      font-size: 64px;\n      font-weight: 700;\n      margin: 0;\n    }\n  "],"result":[]}
{"args":["\n    body {\n      margin: 0;\n      font-family: Arial, sans-serif;\n      background: #f6f2ec;\n      color: #171411;\n    }\n    main {\n      display: grid;\n      grid-template-columns: 1fr 1fr;\n      gap: 32px;\n      padding: 32px;\n    }\n    .col {\n      min-width: 0;\n      border: 1px solid #c9bfb2;\n      padding: 24px;\n    }\n    .case {\n      min-height: 120px;\n      margin: 0 0 24px;\n      padding: 16px;\n      background: #fffaf3;\n    }\n    .kicker,\n    .pass-kicker,\n    .pass-kicker-caps {\n      display: block;\n      width: 240px;\n      min-height: 16px;\n      margin: 0 0 8px;\n      font-size: 12px;\n      line-height: 16px;\n      letter-spacing: 0.11em;\n      color: #5b5046;\n    }\n    .kicker,\n    .pass-kicker-caps {\n      text-transform: uppercase;\n    }\n    /* The wild's most common kicker recipe: 0.08em tracking at a sub-13px\n       size computes to under 1px, which the old absolute floor excluded. */\n    .tight-tracked-kicker {\n      display: block;\n      width: 240px;\n      min-height: 16px;\n      margin: 0 0 8px;\n      font-size: 12px;\n      line-height: 16px;\n      letter-spacing: 0.08em;\n      text-transform: uppercase;\n      color: #5b5046;\n    }\n    .smallcaps-kicker {\n      display: block;\n      width: 240px;\n      min-height: 16px;\n      margin: 0 0 8px;\n      font-size: 12px;\n      line-height: 16px;\n      letter-spacing: 0.12em;\n      font-variant: small-caps;\n      color: #5b5046;\n    }\n    .untracked-caps {\n      display: block;\n      width: 240px;\n      min-height: 16px;\n      margin: 0 0 8px;\n      font-size: 12px;\n      line-height: 16px;\n      letter-spacing: normal;\n      text-transform: uppercase;\n      color: #5b5046;\n    }\n    h1,\n    h2 {\n      margin: 0 0 12px;\n      font-size: 32px;\n      line-height: 38px;\n      font-weight: 700;\n    }\n    h3 {\n      margin: 0 0 12px;\n      font-size: 24px;\n      line-height: 30px;\n      font-weight: 700;\n    }\n    h4 {\n      margin: 0 0 12px;\n      font-size: 20px;\n      line-height: 26px;\n      font-weight: 700;\n    }\n    .role-heading {\n      margin: 0 0 12px;\n      font-size: 28px;\n      line-height: 34px;\n      font-weight: 700;\n    }\n    .hero-h1 {\n      margin: 0 0 12px;\n      font-size: 64px;\n      line-height: 70px;\n      font-weight: 700;\n    }\n    .hero-eyebrow {\n      display: block;\n      width: 240px;\n      min-height: 16px;\n      margin: 0 0 8px;\n      font-size: 12px;\n      line-height: 16px;\n      letter-spacing: 2px;\n      text-transform: uppercase;\n      color: #5b5046;\n    }\n    p,\n    label,\n    figcaption,\n    a,\n    li {\n      font-size: 16px;\n      line-height: 24px;\n    }\n    nav,\n    form,\n    figure,\n    ol {\n      margin: 0 0 24px;\n      padding: 16px;\n      border: 1px solid #d8cec0;\n      min-height: 80px;\n    }\n    .card-grid {\n      display: grid;\n      grid-template-columns: repeat(2, minmax(0, 1fr));\n      gap: 12px;\n      margin: 0 0 24px;\n    }\n    .suite-card {\n      display: block;\n      min-height: 120px;\n      padding: 16px;\n      border: 1px solid #d8cec0;\n      background: #fff;\n    }\n    .taxonomy-label {\n      display: block;\n      margin: 0 0 8px;\n      font-size: 12px;\n      line-height: 16px;\n      letter-spacing: 0.11em;\n      text-transform: uppercase;\n      color: #5b5046;\n    }\n    .suite-card h3 {\n      font-size: 24px;\n      line-height: 30px;\n    }\n    .stat {\n      min-height: 100px;\n      padding: 16px;\n      background: #fffaf3;\n    }\n    .stat h3 {\n      font-size: 40px;\n      line-height: 46px;\n    }\n    .hidden-mockup {\n      display: grid;\n      gap: 12px;\n      margin: 0 0 24px;\n    }\n    .mockup-hero {\n      min-height: 120px;\n      padding: 16px;\n      border: 1px solid #d8cec0;\n      background: #fff;\n    }\n    .mockup-hero h2 {\n      font-size: 24px;\n      line-height: 30px;\n    }\n  \nstyle=\"width: 220px; height: 40px;\""],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; background: #f9fafb; padding: 24px; margin: 0; color: #111827; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1280px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin: 24px 0 8px; color: #64748b; }\n  \nstyle=\"background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); padding: 1.5rem; margin-bottom: 1rem;\"\nstyle=\"font-weight: 600; margin-bottom: 0.75rem;\"\nstyle=\"background: #f9fafb; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 1rem;\"\nstyle=\"font-size: 0.875rem; color: #6b7280;\""],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; background: #f9fafb; padding: 2rem; color: #111827; }\n    h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }\n    h2 { font-size: 1.125rem; margin: 2rem 0 0.75rem; color: #6b7280; }\n    .demo { max-width: 36rem; margin-bottom: 1.5rem; }\n  \nstyle=\"color: #6b7280; margin-bottom: 2rem;\"\nstyle=\"border-left: 4px solid #d1d5db; padding-left: 1rem; margin: 0; color: #4b5563; font-style: italic;\"\nstyle=\"width: 200px; background: white; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden;\"\nstyle=\"display: block; padding: 0.75rem 1rem; color: #6b7280; text-decoration: none; border-left: 3px solid transparent;\"\nstyle=\"display: block; padding: 0.75rem 1rem; color: #1d4ed8; text-decoration: none; border-left: 3px solid #3b82f6; background: #eff6ff; font-weight: 500;\"\nstyle=\"display: block; padding: 0.75rem 1rem; color: #6b7280; text-decoration: none; border-left: 3px solid transparent;\"\nstyle=\"margin-bottom: 1rem;\"\nstyle=\"display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem;\"\nstyle=\"width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #fca5a5; border-left: 3px solid #b91c1c; border-radius: 6px; outline: none; font-size: 0.875rem;\"\nstyle=\"color: #b91c1c; font-size: 0.75rem; margin-top: 0.25rem;\"\nstyle=\"border-left: 3px solid #e5e7eb; padding-left: 1.5rem; margin-left: 0.75rem;\"\nstyle=\"position: relative; padding-bottom: 1.5rem;\"\nstyle=\"position: absolute; left: -2.05rem; top: 0.125rem; width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; border: 2px solid white;\"\nstyle=\"font-weight: 500; margin: 0;\"\nstyle=\"font-size: 0.75rem; color: #6b7280; margin: 0.125rem 0 0;\"\nstyle=\"position: relative; padding-bottom: 1.5rem;\"\nstyle=\"position: absolute; left: -2.05rem; top: 0.125rem; width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; border: 2px solid white;\"\nstyle=\"font-weight: 500; margin: 0;\"\nstyle=\"font-size: 0.75rem; color: #6b7280; margin: 0.125rem 0 0;\"\nstyle=\"position: relative;\"\nstyle=\"position: absolute; left: -2.05rem; top: 0.125rem; width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; border: 2px solid white;\"\nstyle=\"font-weight: 500; margin: 0; color: #4b5563;\"\nstyle=\"font-size: 0.75rem; color: #6b7280; margin: 0.125rem 0 0;\"\nstyle=\"background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: 8px; font-size: 0.8125rem; overflow-x: auto; margin: 0;\"\nstyle=\"display: block; border-left: 3px solid #ef4444; padding-left: 0.75rem; background: rgba(239,68,68,0.1);\"\nstyle=\"display: block; border-left: 3px solid #22c55e; padding-left: 0.75rem; background: rgba(34,197,94,0.1);\"\nstyle=\"display: block; padding-left: calc(3px + 0.75rem);\"\nstyle=\"display: flex; border-bottom: 1px solid #e5e7eb;\"\nstyle=\"padding: 0.75rem 1.25rem; border: none; background: none; font-size: 0.875rem; color: #1d4ed8; border-bottom: 2px solid #3b82f6; font-weight: 500; cursor: pointer;\"\nstyle=\"padding: 0.75rem 1.25rem; border: none; background: none; font-size: 0.875rem; color: #6b7280; border-bottom: 2px solid transparent; cursor: pointer;\"\nstyle=\"padding: 0.75rem 1.25rem; border: none; background: none; font-size: 0.875rem; color: #6b7280; border-bottom: 2px solid transparent; cursor: pointer;\"\nstyle=\"width: 100%; border-collapse: collapse; font-size: 0.875rem;\"\nstyle=\"text-align: left; padding: 0.5rem; border-bottom: 2px solid #111827;\"\nstyle=\"text-align: right; padding: 0.5rem; border-bottom: 2px solid #111827;\"\nstyle=\"padding: 0.5rem; border-bottom: 1px solid #e5e7eb;\"\nstyle=\"text-align: right; padding: 0.5rem; border-bottom: 1px solid #e5e7eb;\"\nstyle=\"padding: 0.5rem; border-bottom: 1px solid #e5e7eb;\"\nstyle=\"text-align: right; padding: 0.5rem; border-bottom: 1px solid #e5e7eb;\"\nstyle=\"border: 1px solid #f59e0b; background: #fffbeb; padding: 0.75rem 1rem; font-size: 0.875rem; color: #92400e;\"\nstyle=\"color: #d97706;\""],"result":[]}
{"args":["\n    body {\n      margin: 0;\n      padding: 24px;\n      background: #f9fafb;\n      color: #111827;\n      font: 14px/1.5 system-ui, sans-serif;\n    }\n\n    h1 {\n      max-width: 1080px;\n      margin: 0 auto 8px;\n      font-size: 34px;\n      line-height: 1.05;\n    }\n\n    p.intro {\n      max-width: 1080px;\n      margin: 0 auto 24px;\n      color: #4b5563;\n    }\n\n    .grid {\n      display: grid;\n      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n      gap: 32px;\n      max-width: 1080px;\n      margin: 0 auto;\n    }\n\n    .col h2 {\n      margin: 0 0 14px;\n      color: #475569;\n      font-size: 13px;\n      letter-spacing: 0.08em;\n      text-transform: uppercase;\n    }\n\n    .cards {\n      display: grid;\n      gap: 14px;\n    }\n\n    h3 {\n      margin: 0 0 4px;\n      font-size: 15px;\n      line-height: 1.25;\n    }\n\n    .cards p {\n      margin: 0;\n      color: #4b5563;\n    }\n  \n/* External stylesheet that applies anti-pattern styles */\n\n/* Side-tab via external class */\n.external-side-tab {\n  background: white;\n  padding: 1rem;\n  border-radius: 12px;\n  border-left: 4px solid #3b82f6;\n  box-shadow: 0 1px 3px rgba(0,0,0,0.1);\n}\n\n/* Top border accent via external class */\n.external-top-accent {\n  background: white;\n  padding: 1rem;\n  border-radius: 12px;\n  border-top: 3px solid #8b5cf6;\n  box-shadow: 0 1px 3px rgba(0,0,0,0.1);\n}\n\n/* Overused font from external stylesheet */\n.external-inter {\n  font-family: 'Inter', sans-serif;\n}\n\n/* Clean card — should NOT flag */\n.external-clean {\n  background: white;\n  padding: 1rem;\n  border-radius: 12px;\n  border: 1px solid #e5e7eb;\n  box-shadow: 0 1px 3px rgba(0,0,0,0.1);\n}\n\n/* Neutral side rule — should NOT flag */\n.external-neutral-side {\n  background: white;\n  padding: 1rem;\n  border-radius: 12px;\n  border-left: 4px solid #d1d5db;\n  box-shadow: 0 1px 3px rgba(0,0,0,0.1);\n}\n\n/* Top rule without rounded card corners — should NOT flag */\n.external-square-top {\n  background: white;\n  padding: 1rem;\n  border-radius: 0;\n  border-top: 4px solid #8b5cf6;\n  box-shadow: 0 1px 3px rgba(0,0,0,0.1);\n}\n"],"result":[]}
{"args":["\n    /* Two-column fixture: left col = should-flag, right col = should-pass.\n       The side-tab snippet doesn't embed identifying text, so the test\n       asserts finding counts against the structural ids (#flag-N / #pass-N)\n       by reading the element via data attributes in the check path. Since\n       that isn't available to the Node fixture runner, we instead place a\n       unique number of FLAG elements (each a distinct side-tab) and verify\n       the side-tab count. */\n\n    /* CSS custom properties — variables used by the var()-case fixtures.\n       jsdom's CSSOM drops any border shorthand containing var(), which used\n       to make every side-tab built with CSS variables invisible to the\n       detector. These cases regression-test the fallback pass that parses\n       border shorthands directly off the rule (not the computed style). */\n    :root {\n      --brand: #87a8ff;\n      --warn: #8a6a2f;\n      --terracotta: #aa674d;\n      --line: #e5e7eb;    /* neutral gray — must NOT trigger */\n      --rule: #f3f4f6;    /* near-white — must NOT trigger */\n    }\n\n    body { font-family: system-ui, sans-serif; margin: 0; padding: 24px; background: #fafafa; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1120px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .case { padding: 12px 16px; margin-bottom: 16px; }\n    .case h3 { font-size: 14px; margin: 0 0 4px; }\n    .case p { font-size: 13px; margin: 0; color: #64748b; }\n\n    /* ── FLAG cases: colored side-tab borders using modern color formats ── */\n\n    /* 1: oklch border-left + border-radius (the canonical real-page bug) */\n    #flag-oklch-1 {\n      width: 400px;\n      background: oklch(100% 0 0);\n      border-radius: 4px;\n      border-left: 3px solid oklch(65% 0.12 250);\n    }\n\n    /* 2: oklch mixed — neutral 1px border all around + colored 4px left +\n          border-radius (mirrors .medication-card from the reproducer) */\n    #flag-oklch-2 {\n      width: 400px;\n      background: oklch(100% 0 0);\n      border: 1px solid oklch(80% 0.05 250);\n      border-left: 4px solid oklch(75% 0.15 45);\n      border-radius: 4px;\n    }\n\n    /* 3: oklch alert pattern — colored 4px border-left + border-radius */\n    #flag-oklch-3 {\n      width: 400px;\n      background: oklch(98% 0.01 60);\n      border-left: 4px solid oklch(75% 0.18 45);\n      border-radius: 4px;\n    }\n\n    /* 4: oklab border-left + border-radius */\n    #flag-oklab-1 {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 6px;\n      border-left: 4px solid oklab(60% 0.1 0.15);\n    }\n\n    /* 5: lch border-left + border-radius */\n    #flag-lch-1 {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 6px;\n      border-left: 4px solid lch(55% 60 250);\n    }\n\n    /* 6: lab border-left + border-radius */\n    #flag-lab-1 {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 6px;\n      border-left: 4px solid lab(50% 40 -30);\n    }\n\n    /* 7: card-shaped <label> with colored oklch side border + radius\n          (the checklist-item pattern from preop-portal reproducer) */\n    label#flag-label-oklch {\n      display: grid;\n      grid-template-columns: auto 1fr;\n      width: 400px;\n      padding: 16px;\n      background: oklch(100% 0 0);\n      border-radius: 4px;\n      border-left: 3px solid oklch(65% 0.12 250);\n      cursor: pointer;\n    }\n\n    /* 8: card-shaped <label> with colored rgb side border + radius —\n          proves the fix is not oklch-specific */\n    label#flag-label-rgb {\n      display: block;\n      width: 400px;\n      padding: 16px;\n      background: #ffffff;\n      border-radius: 6px;\n      border-left: 4px solid #3b82f6;\n      cursor: pointer;\n    }\n\n    /* 9: CSS variable in shorthand — the canonical real-page pattern from\n          evals (e.g. 09-physics-study: border-left:8px solid var(--brand-2)).\n          jsdom silently drops this entire declaration, so the computed-style\n          path used to miss it. */\n    #flag-var-shorthand {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 5px solid var(--brand);\n    }\n\n    /* 10: CSS variable + neutral 1px all-around border — mirrors the\n           medication-card pattern with a colored accent on the left. */\n    #flag-var-mixed {\n      width: 400px;\n      background: #ffffff;\n      border: 1px solid var(--line);\n      border-left: 4px solid var(--warn);\n      border-radius: 4px;\n    }\n\n    /* 11: CSS variable shorthand, right side. Ensures the fallback works\n           for both inline axes, not just border-left. */\n    #flag-var-right {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-right: 4px solid var(--terracotta);\n    }\n\n    /* 12: card-shaped <label> with var() side border + radius —\n           the checklist-row shape, built with tokens. */\n    label#flag-label-var {\n      display: block;\n      width: 400px;\n      padding: 16px;\n      background: #ffffff;\n      border-radius: 6px;\n      border-left: 4px solid var(--brand);\n      cursor: pointer;\n    }\n\n    /* ── PASS cases: legitimate or neutral borders, must NOT fire ── */\n\n    /* 1: oklch chroma ~0 — true neutral gray border should not fire */\n    #pass-oklch-neutral {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid oklch(80% 0 0);\n    }\n\n    /* 2: oklch low chroma (0.01) — still perceptually neutral */\n    #pass-oklch-nearneutral {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid oklch(75% 0.01 250);\n    }\n\n    /* 3: oklch colored border all around (not one-sided) — no side-tab */\n    #pass-oklch-allsides {\n      width: 400px;\n      background: #ffffff;\n      border: 3px solid oklch(65% 0.12 250);\n      border-radius: 4px;\n    }\n\n    /* 4: oklch colored 1px border-left (too thin to qualify) */\n    #pass-oklch-thin {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 1px solid oklch(65% 0.12 250);\n    }\n\n    /* 5: lab neutral (chroma near zero) — must not fire */\n    #pass-lab-neutral {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid lab(50% 0 0);\n    }\n\n    /* 6: lch neutral (chroma 0) */\n    #pass-lch-neutral {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid lch(50% 0 0);\n    }\n\n    /* 7: plain inline form label — no border, no padding, no radius.\n          Must NOT be flagged for anything. */\n    label#pass-label-plain {\n      font-size: 14px;\n      font-weight: 500;\n      color: #374151;\n    }\n\n    /* 8: form label with a small neutral gray left border — neutral color\n          should not fire the colored side-tab rule. */\n    label#pass-label-neutral-border {\n      display: block;\n      width: 400px;\n      padding: 8px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid #e5e7eb;\n    }\n\n    /* 9: inline label inside a form row — default inline layout,\n          no borders, must not fire. */\n    label#pass-label-inline {\n      font-size: 13px;\n      color: #6b7280;\n      margin-right: 8px;\n    }\n\n    /* 10: label with 1px colored left border — too thin to qualify\n          (matches the existing 1px thin rule for divs). */\n    label#pass-label-thin {\n      display: block;\n      width: 400px;\n      padding: 8px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 1px solid #3b82f6;\n    }\n\n    /* 11: CSS variable resolving to a neutral gray — must NOT fire,\n           even though the border shorthand contains var(). */\n    #pass-var-neutral {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid var(--line);\n    }\n\n    /* 12: thin (1px) var-based left border — under the side-tab width\n           threshold even when resolved. */\n    #pass-var-thin {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 1px solid var(--brand);\n    }\n\n    /* 13: var-based uniform border on all four sides. Not a side-tab. */\n    #pass-var-allsides {\n      width: 400px;\n      background: #ffffff;\n      border: 3px solid var(--brand);\n      border-radius: 4px;\n    }\n\n    /* 14: neutral 1px oklch right divider — context-bar hairline, not a side-tab. */\n    #pass-oklch-neutral-right-divider {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-right: 1px solid oklch(92% 0 0 / 0.12);\n    }\n  "],"result":[]}
{"args":["\n    /* ─── Two-column fixture convention ─────────────────────────────\n       Left column = should flag. Right column = should pass.\n       Tests assert (a) every flag-column rule fires and (b) the total\n       finding count matches the number of flag cases (no false\n       positives leaking from the pass column).\n       ──────────────────────────────────────────────────────────── */\n    body { font-family: system-ui, sans-serif; background: #f9fafb; padding: 24px; margin: 0; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin: 24px 0 8px; color: #64748b; }\n    .demo { padding: 14px 16px; background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 10px; }\n    .demo h4 { font-weight: 600; font-size: 13px; margin: 0; }\n    .demo p { font-size: 12px; color: #6b7280; margin: 4px 0 0; }\n\n    /* ── FLAG: bounce / elastic easing ── */\n    @keyframes bounce-keyframe {\n      0%, 100% { transform: translateY(0); }\n      50% { transform: translateY(-10px); }\n    }\n    .bounce-animation { animation: bounce-keyframe 1s infinite; }\n    .elastic-transition { transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); }\n\n    /* ── FLAG: layout property transitions ── */\n    .width-transition { transition: width 0.3s ease; }\n    .height-transition { transition: height 0.4s ease-out; }\n    .padding-transition { transition: padding 0.2s linear; }\n    .margin-transition { transition: margin 0.3s ease-in; }\n    .max-height-transition { transition: max-height 0.5s ease; }\n    .multi-layout-transition { transition: width 0.3s ease, height 0.3s ease; }\n    .mixed-transition { transition: width 0.3s ease, opacity 0.3s ease; }\n    .transition-property-width { transition-property: width; transition-duration: 0.3s; }\n\n    /* ── PASS: good easing ── */\n    @keyframes fade-in-keyframe {\n      from { opacity: 0; transform: translateY(8px); }\n      to { opacity: 1; transform: translateY(0); }\n    }\n    .fade-in-good { animation: fade-in-keyframe 0.4s cubic-bezier(0.16, 1, 0.3, 1); }\n    .ease-out-quart { transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }\n    .ease-out-expo { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }\n\n    /* ── PASS: safe transitions ── */\n    .transform-transition { transition: transform 0.3s ease-out; }\n    .opacity-transition { transition: opacity 0.2s ease; }\n    .color-transition { transition: color 0.15s ease, background-color 0.15s ease; }\n    .shadow-transition { transition: box-shadow 0.2s ease; }\n    .all-transition { transition: all 0.3s ease; }\n    .multi-safe-transition { transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.2s ease; }\n  "],"result":[]}
{"args":["\n    /* Two-column fixture: left col = should-flag, right col = should-pass.\n       Regression for issue #359: `border-left: 4px solid purple` in a .html\n       file never fired side-tab because the static cascade's shorthand color\n       extraction only recognized 9 named colors — every other spec name\n       (purple, rebeccapurple, crimson, teal, ...) was dropped from the\n       shorthand, leaving the side at the default black, which reads as\n       neutral and silently skips the check. The same declaration in a .css\n       file was flagged by the regex engine, so the two engines disagreed. */\n\n    :root {\n      --accent: orange; /* named color behind a var() — must resolve and flag */\n    }\n\n    body { font-family: system-ui, sans-serif; margin: 0; padding: 24px; background: #fafafa; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1120px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .case { padding: 12px 16px; margin-bottom: 16px; }\n    .case h3 { font-size: 14px; margin: 0 0 4px; }\n    .case p { font-size: 13px; margin: 0; color: #64748b; }\n\n    /* ── FLAG cases: colored side-tab borders using CSS named colors ── */\n\n    /* 1: the exact reproducer from issue #359 — named purple in a <style>\n          rule with background + padding + radius */\n    #flag-named-purple {\n      width: 400px;\n      background: #f6f6f6;\n      padding: 16px;\n      border-left: 4px solid purple;\n      border-radius: 8px;\n    }\n\n    /* 2: rebeccapurple — a longer name that contains another color name\n          (\"purple\") as a substring; must match whole-token. Width 5px so the\n          finding snippet is unique to this case. */\n    #flag-named-rebecca {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 5px solid rebeccapurple;\n    }\n\n    /* 3: horizontal stripe variant — named crimson riding the top edge */\n    #flag-named-crimson-top {\n      width: 400px;\n      background: #ffffff;\n      border-top: 4px solid crimson;\n    }\n\n    /* 4: named teal, 3px, no radius — the bare w >= 3 arm */\n    #flag-named-teal {\n      width: 400px;\n      background: #ffffff;\n      border-left: 3px solid teal;\n    }\n\n    /* 5: named color behind a var() in the shorthand. Width 6px so the\n          finding snippet is unique to this case. */\n    #flag-named-var {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 6px solid var(--accent);\n    }\n\n    /* ── PASS cases: neutral named colors and non-side-tab shapes ── */\n\n    /* 1: dimgray — chromatic-looking name, neutral value; must NOT fire */\n    #pass-named-dimgray {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 4px solid dimgray;\n    }\n\n    /* 2: gainsboro — light neutral named color */\n    #pass-named-gainsboro {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 3px solid gainsboro;\n    }\n\n    /* 3: named black side border — neutral, not a colored stripe */\n    #pass-named-black {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 4px solid black;\n    }\n\n    /* 4: 1px named purple — too thin to qualify */\n    #pass-named-thin {\n      width: 400px;\n      background: #ffffff;\n      border-radius: 4px;\n      border-left: 1px solid purple;\n    }\n\n    /* 5: uniform named purple border on all four sides — not a side-tab */\n    #pass-named-allsides {\n      width: 400px;\n      background: #ffffff;\n      border: 3px solid purple;\n      border-radius: 4px;\n    }\n  \nstyle=\"width: 400px; background: #ffffff; border-left: 7px solid purple\""],"result":[]}
{"args":["\n  :root{\n    --v3bg: #f0b64e;\n    --v3fg: #cfd9e9;\n  }\n  body{ margin:0; font-family: Georgia, serif; color:#1c2430; background:#ffffff; }\n  header{ display:flex; align-items:center; gap:2rem; padding:1rem 2rem; background:#12213a; }\n  .nav{ display:flex; gap:1.5rem; align-items:center; }\n  .nav a{ font-size:0.9rem; text-decoration:none; }\n  .cta{ display:inline-block; padding:0.6em 1.1em; border-radius:6px; font-weight:600; }\n\n  /* v1: solid bg + own low-contrast color, both on the button class */\n  a.cta.v1{ background:#e8b84b; color:#c9d6ea; }\n\n  /* v2: specificity cascade — .nav a (0,1,1) beats .v2 (0,1,0) for color */\n  .nav a{ color:#b7c6de; }\n  .v2{ background:#e5a93f; color:#26313f; }\n\n  /* v3: var() indirection for both colors */\n  a.cta.v3{ background:var(--v3bg); color:var(--v3fg); }\n\n  /* v4: gradient background, low-contrast text against every stop */\n  a.cta.v4{ background:linear-gradient(90deg,#f2b854,#e8a83e); color:#d3dcec; }\n\n  /* v5: pseudo-element paints the surface; button itself transparent */\n  a.cta.v5{ position:relative; background:transparent; color:#d0daea; }\n  .v5::before{ content:\"\"; position:absolute; inset:0; border-radius:6px; background:#efb352; z-index:-1; }\n\n  /* v6: color inherited from header, button only sets bg */\n  header{ color:#ccd8ea; }\n  .v6{ background:#eab04a; }\n\n  /* v7: alpha-composited own bg over the dark header */\n  a.cta.v7{ background:rgb(240 178 74 / 0.85); color:#d2dcec; }\n\n  /* v8: oklch serialization for both sides */\n  a.cta.v8{ background:oklch(0.82 0.15 75); color:oklch(0.80 0.05 258); }\n\n  /* v9: background-image url only (no computable color) + low contrast vs header */\n  a.cta.v9{ background-image:url(\"data:image/gif;base64,R0lGODlhAQABAIAAAP7uSwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==\"); color:#d5deed; }\n\nstyle=\"color:#f4f7fb;font-weight:700\"\nstyle=\"padding:4rem 2rem; max-width:60ch;\"\nstyle=\"font-size:2.4rem; margin:0 0 1rem;\"\nstyle=\"line-height:1.6;\"\nstyle=\"line-height:1.6;\""],"result":[]}
{"args":["\n  /* This CSS comment is deliberately longer than twenty characters so the style\n     element's text node clears the hasDirectText / textLen > 20 gate. */\n  body { font-size: 10px; font-family: system-ui, sans-serif; }\n  .rendered-body { font-size: 10px; }\n  .rendered-nav-link { font-size: 9px; }\n  .none-block { display: none; font-size: 10px; }\n  .hidden-block { visibility: hidden; font-size: 10px; }\n\nstyle=\"font-size: 10px\""],"result":[]}
{"args":["\n    body {\n      font-family: Georgia, serif;\n      font-size: 16px;\n      margin: 0;\n      padding: 40px;\n      background: #ffffff;\n      color: #222222;\n    }\n    .column { width: 520px; padding: 20px; }\n    h2 { font-size: 28px; margin: 0 0 12px; }\n    h3 { font-size: 22px; margin: 0 0 10px; }\n    section { margin-bottom: 48px; }\n\n    /* ── flag column styles ── */\n    .sec-index {\n      font-family: monospace;\n      font-size: 11px;\n      font-weight: 700;\n      color: #b45309;\n      display: block;\n      margin-bottom: 8px;\n    }\n    .sec-index-micro {\n      font-family: monospace;\n      font-size: 12px;\n      font-weight: 700;\n      letter-spacing: 2px;\n      color: #b45309;\n      display: block;\n      margin-bottom: 8px;\n    }\n\n    /* ── pass column styles ── */\n    .big-index {\n      font-size: 16px;\n      font-weight: 700;\n      font-family: monospace;\n      display: block;\n    }\n    .plain-note {\n      font-size: 12px;\n      font-weight: 400;\n      letter-spacing: 0;\n      color: #666666;\n      display: block;\n    }\n    .step-label {\n      font-family: monospace;\n      font-size: 11px;\n      font-weight: 700;\n      display: block;\n    }\n    .card {\n      border: 1px solid #d4d4d4;\n      border-radius: 8px;\n      padding: 16px;\n    }\n  "],"result":[]}
{"args":["\n    .fixture-grid {\n      display: grid;\n      grid-template-columns: 1fr 1fr;\n      gap: 32px;\n    }\n    .case {\n      margin: 0 0 18px;\n      padding: 16px;\n      border: 1px solid #d7d0c2;\n      border-radius: 8px;\n    }\n    .marker {\n      display: block;\n      font: 700 12px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace;\n      letter-spacing: 0.08em;\n      text-transform: uppercase;\n      color: #7c5c00;\n    }\n    .code-like::before {\n      content: \"01 02 03\";\n    }\n  "],"result":[]}
{"args":["\n    body {\n      font-family: system-ui, sans-serif;\n      background: #f9fafb;\n      padding: 2rem;\n      max-width: 900px;\n      margin: 0 auto;\n    }\n    h1 { font-size: 2rem; margin-bottom: 0.5rem; }\n    h2 { font-size: 1.125rem; margin: 2.5rem 0 0.75rem; color: #6b7280; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; }\n    .scenario { margin-bottom: 2rem; padding: 1rem; border: 1px dashed #d1d5db; border-radius: 8px; }\n    .scenario-label { font-size: 0.75rem; color: #6b7280; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }\n\n    /* ============================================\n       1. TRANSFORM ANCESTOR\n       position:absolute overlays on body use document coords,\n       but getBoundingClientRect is viewport-relative.\n       Transforms on ancestors create new stacking contexts.\n       ============================================ */\n    .transform-container {\n      transform: translateY(0);\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .transform-rotate {\n      transform: rotate(0deg);\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .transform-scale {\n      transform: scale(1);\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .transform-nested-outer {\n      transform: translateX(0);\n      padding: 1rem;\n      background: #e5e7eb;\n      border-radius: 8px;\n    }\n    .transform-nested-inner {\n      transform: translateY(0);\n      padding: 1rem;\n      background: #d1d5db;\n      border-radius: 8px;\n    }\n\n    /* ============================================\n       2. CLOSED <details>\n       Elements inside collapsed details may report\n       a bounding rect but aren't visually present.\n       ============================================ */\n    details { margin-bottom: 1rem; }\n    summary { cursor: pointer; font-weight: 600; }\n\n    /* ============================================\n       3. STICKY / FIXED POSITIONING\n       Sticky elements change their containing block\n       behavior during scroll.\n       ============================================ */\n    .sticky-container {\n      height: 200px;\n      overflow-y: auto;\n      border: 1px solid #d1d5db;\n      border-radius: 8px;\n    }\n    .sticky-header {\n      position: sticky;\n      top: 0;\n      background: #1f2937;\n      color: white;\n      padding: 0.5rem 1rem;\n      z-index: 10;\n    }\n    .sticky-content {\n      padding: 1rem;\n    }\n\n    /* ============================================\n       4. OVERFLOW HIDDEN\n       Elements that extend beyond an overflow:hidden\n       parent are visually clipped but still in the DOM.\n       ============================================ */\n    .overflow-hidden-container {\n      overflow: hidden;\n      height: 60px;\n      border: 1px solid #d1d5db;\n      border-radius: 8px;\n      padding: 0.5rem 1rem;\n    }\n\n    /* ============================================\n       5. ABSOLUTE / RELATIVE POSITIONING\n       Elements that are offset from their normal flow\n       position via top/left.\n       ============================================ */\n    .relative-offset {\n      position: relative;\n      top: 20px;\n      left: 40px;\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .absolute-container {\n      position: relative;\n      height: 120px;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .absolute-child {\n      position: absolute;\n      bottom: 10px;\n      right: 10px;\n    }\n\n    /* ============================================\n       6. FLEXBOX / GRID CENTERING\n       Elements centered via flex/grid may have\n       unexpected positions vs. document flow.\n       ============================================ */\n    .flex-center {\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      height: 120px;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .grid-center {\n      display: grid;\n      place-items: center;\n      height: 120px;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n\n    /* ============================================\n       7. WILL-CHANGE / CONTAIN / FILTER\n       These CSS properties create new containing\n       blocks, similar to transforms.\n       ============================================ */\n    .will-change-container {\n      will-change: transform;\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .contain-container {\n      contain: layout;\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .filter-container {\n      filter: brightness(1);\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .backdrop-filter-container {\n      backdrop-filter: blur(0px);\n      padding: 1rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n\n    /* ============================================\n       8. MARGIN COLLAPSE / NEGATIVE MARGINS\n       Elements with collapsed or negative margins\n       can shift from expected position.\n       ============================================ */\n    .negative-margin-container {\n      padding: 2rem;\n      background: #f3f4f6;\n      border-radius: 8px;\n    }\n    .negative-margin-child {\n      margin-top: -1rem;\n      margin-left: -1rem;\n    }\n\n    /* ============================================\n       Anti-pattern triggers (tiny-text, cramped, ai-color)\n       used across scenarios.\n       ============================================ */\n    .tiny { font-size: 10px; color: #374151; line-height: 1.4; }\n    .cramped-box { border: 1px solid #d1d5db; padding: 3px; font-size: 14px; border-radius: 4px; }\n    .ai-btn { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: white; padding: 8px 16px; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; }\n    .side-tab-card { border-left: 4px solid #8b5cf6; padding: 1rem; background: white; border-radius: 0 8px 8px 0; }\n  \nstyle=\"position: relative; height: 100px;\"\nstyle=\"position: absolute; bottom: 8px; right: 8px;\"\nstyle=\"position: fixed; bottom: 0; left: 0; right: 0; background: #1f2937; color: white; padding: 0.5rem 1rem; z-index: 50;\"\nstyle=\"height: 30px;\"\nstyle=\"padding-top: 2rem;\"\nstyle=\"position: relative; top: -1rem;\"\nstyle=\"position: relative; height: 150px;\"\nstyle=\"position: absolute; top: 10px; left: 10px; right: 10px;\"\nstyle=\"position: absolute; bottom: 10px; right: 10px;\"\nstyle=\"position: relative; overflow: hidden; height: 80px; background: #f3f4f6; border-radius: 8px; padding: 1rem;\"\nstyle=\"position: absolute; bottom: -20px; left: 0; right: 0;\"\nstyle=\"position: relative; left: 50px;\""],"result":[]}
{"args":["\n    body { font-family: Georgia, serif; margin: 0; color: #1a1a1a; background: #fff; }\n    main { display: grid; gap: 48px; padding: 32px; }\n    h1 { margin: 0; line-height: 1.04; }\n    .flag-dominating-h1 {\n      max-width: 1040px;\n      font-size: 104px;\n    }\n    .pass-contained-large-h1 {\n      max-width: 1120px;\n      font-size: 83px;\n    }\n  "],"result":[]}
{"args":["\n    body { font-family: Georgia, serif; margin: 0; color: #1a1a1a; background: #fff; }\n    .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }\n    .col { padding: 16px; }\n    h1 { margin: 0 0 24px; line-height: 1.05; }\n  \nstyle=\"font-size: 96px\"\nstyle=\"font-size: 80px\"\nstyle=\"font-size: 168px\"\nstyle=\"font-size: 120px\"\nstyle=\"font-size: 40px\""],"result":[]}
{"args":["\n  :root {\n    --ok: oklch(0.78 0.145 155);\n    --line: rgba(0, 0, 0, 0.08);\n  }\n\n  /* FLAG: classic ::before accent stripe — absolute, full height, left edge,\n     chromatic background resolved through a custom property. */\n  .card-stripe { position: relative; border-radius: 12px; }\n  .card-stripe::before {\n    content: \"\";\n    position: absolute;\n    left: 0; top: 0; bottom: 0;\n    width: 5px;\n    background: var(--ok);\n  }\n\n  /* FLAG: right-edge variant using inset shorthand + literal color. */\n  .row-stripe { position: relative; }\n  .row-stripe::after {\n    content: \"\";\n    position: absolute;\n    inset: 0 0 0 auto;\n    width: 4px;\n    background-color: #3b82f6;\n  }\n\n  /* PASS: 1px neutral hairline divider (below width threshold + neutral). */\n  .col + .col::before {\n    content: \"\";\n    position: absolute;\n    left: 0; top: 0; bottom: 0;\n    width: 1px;\n    background: var(--line);\n  }\n\n  /* PASS: neutral 4px rail (timeline spine) — chromatic gate rejects it. */\n  .timeline::before {\n    content: \"\";\n    position: absolute;\n    left: 0; top: 0; bottom: 0;\n    width: 4px;\n    background: rgb(210, 210, 214);\n  }\n\n  /* PASS: blockquote decoration is exempt in prose contexts. */\n  blockquote::before {\n    content: \"\";\n    position: absolute;\n    left: 0; top: 0; bottom: 0;\n    width: 4px;\n    background: #d97706;\n  }\n\n  /* PASS: toggle knob — offset from the edge, not a stripe. */\n  .switch::before {\n    content: \"\";\n    position: absolute;\n    left: 2px; top: 2px;\n    width: 10px; height: 10px;\n    border-radius: 50%;\n    background: #3b82f6;\n  }\n\n  /* PASS: wide decorative panel, not a stripe. */\n  .panel::before {\n    content: \"\";\n    position: absolute;\n    left: 0; top: 0; bottom: 0;\n    width: 40px;\n    background: #3b82f6;\n  }\n\n  /* PASS: horizontal underline accent (not full height, not edge-anchored\n     vertically). */\n  .heading::after {\n    content: \"\";\n    position: absolute;\n    left: 0; bottom: 0;\n    width: 6px; height: 3px;\n    background: #3b82f6;\n  }\n"],"result":[]}
{"args":["\n  :root { --dot: 8px; }\n\n  /* FLAG: tiny circular live dot on an infinite opacity pulse. */\n  .live-dot {\n    width: 7px; height: 7px;\n    border-radius: 50%;\n    background: #22c55e;\n    animation: pulse 2.4s ease-out infinite;\n  }\n  @keyframes pulse {\n    0%, 100% { opacity: 1; }\n    50% { opacity: 0.3; }\n  }\n\n  /* FLAG: box-shadow ripple variant, var-sized, pill radius. */\n  .status .dot {\n    width: var(--dot); height: var(--dot);\n    border-radius: 999px;\n    background: #ef4444;\n    animation: ripple 1.8s linear infinite;\n  }\n  @keyframes ripple {\n    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }\n    100% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }\n  }\n\n  /* FLAG: longhand animation-name + iteration-count. */\n  .beacon {\n    width: 10px; height: 10px;\n    border-radius: 50%;\n    background: #f59e0b;\n    animation-name: pulse;\n    animation-duration: 2s;\n    animation-iteration-count: infinite;\n  }\n\n  /* PASS: rotation-only spinner — same size class, must never flag. */\n  .spinner {\n    width: 14px; height: 14px;\n    border-radius: 50%;\n    border: 2px solid #e5e7eb;\n    border-top-color: #3b82f6;\n    animation: spin 0.8s linear infinite;\n  }\n  @keyframes spin { to { transform: rotate(360deg); } }\n\n  /* PASS: named pulse but the local keyframes only rotate. */\n  .fake-pulse {\n    width: 8px; height: 8px;\n    border-radius: 50%;\n    animation: pulse-ring 1s linear infinite;\n  }\n  @keyframes pulse-ring { to { transform: rotate(180deg); } }\n\n  /* PASS: large breathing card — not a dot. */\n  .breathing-card {\n    width: 240px; height: 120px;\n    border-radius: 16px;\n    animation: pulse 3s ease-in-out infinite;\n  }\n\n  /* PASS: finite attention pulse (no infinite). */\n  .nudge {\n    width: 8px; height: 8px;\n    border-radius: 50%;\n    animation: pulse 0.6s ease-out 3;\n  }\n\n  /* PASS: square badge, not circular. */\n  .square-badge {\n    width: 12px; height: 12px;\n    border-radius: 2px;\n    animation: pulse 2s infinite;\n  }\n\n  /* FLAG (error): header logo dot whose size and animation live in\n     separate rule blocks, animation added inside a matching media query,\n     with a reduced-motion reset that must not mask the default. */\n  .rec-mark {\n    width: 10px; height: 10px;\n    border-radius: 50%;\n    background: #dc2626;\n  }\n  @media (prefers-reduced-motion: no-preference) {\n    .rec-mark { animation: pulse 2.4s ease-in-out infinite; }\n  }\n  @media (prefers-reduced-motion: reduce) {\n    .rec-mark { animation: none; }\n  }\n"],"result":[]}
{"args":["\n    /* Two-column fixture: left = should flag, right = should pass.\n       Covers the typography-quality rules that need real browser layout\n       (line-length, tight-leading, tiny-text, justified-text, all-caps-body,\n       wide-tracking, skipped-heading). All are browser-only — see\n       tests/detect-antipatterns-browser.test.mjs for assertions. */\n    body { font-family: system-ui, sans-serif; background: #fafafa; padding: 24px; margin: 0; color: #0f172a; line-height: 1.6; }\n    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1280px; margin: 0 auto; }\n    .col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; color: #475569; }\n    .col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin: 24px 0 8px; color: #64748b; }\n    .case { margin-bottom: 16px; padding: 16px; background: white; border: 1px solid #e2e8f0; border-radius: 8px; }\n    .case-label { display: block; font-size: 12px; color: #64748b; margin-bottom: 6px; font-style: italic; }\n\n    /* ── FLAG: typography quality issues ── */\n\n    /* Line length: 12px body text fits >85 chars/line in a ~528px column.\n       12px is not below the tiny-text 12px floor (rule fires at <12px). */\n    .long-lines {\n      font-size: 12px;\n      line-height: 1.6;\n    }\n\n    /* Tight leading */\n    .tight-leading {\n      font-size: 16px;\n      line-height: 1.0;\n      max-width: 40em;\n    }\n\n    /* Tiny body text */\n    .tiny-text {\n      font-size: 10px;\n      line-height: 1.6;\n      max-width: 40em;\n    }\n    .tiny-text-11 {\n      font-size: 11px;\n      line-height: 1.6;\n      max-width: 40em;\n    }\n\n    /* Justified text without hyphens */\n    .justified-no-hyphens {\n      text-align: justify;\n      max-width: 30em;\n      font-size: 16px;\n      line-height: 1.6;\n    }\n\n    /* All-caps long body */\n    .all-caps-body {\n      text-transform: uppercase;\n      font-size: 16px;\n      max-width: 40em;\n      line-height: 1.6;\n    }\n\n    /* Wide letter spacing on body */\n    .wide-tracking-body {\n      letter-spacing: 0.15em;\n      font-size: 16px;\n      max-width: 40em;\n      line-height: 1.6;\n    }\n\n    /* ── PASS: comfortable typography ── */\n\n    .good-measure {\n      max-width: 65ch;\n      font-size: 16px;\n      line-height: 1.6;\n    }\n\n    .good-leading {\n      font-size: 16px;\n      line-height: 1.6;\n      max-width: 40em;\n    }\n\n    .good-text-size {\n      font-size: 16px;\n      line-height: 1.6;\n      max-width: 40em;\n    }\n\n    /* Justified text WITH hyphens — fine */\n    .justified-with-hyphens {\n      text-align: justify;\n      hyphens: auto;\n      -webkit-hyphens: auto;\n      max-width: 30em;\n      font-size: 16px;\n      line-height: 1.6;\n    }\n\n    /* Short label in all-caps (passes — under 30 chars) */\n    .label-caps {\n      text-transform: uppercase;\n      font-size: 12px;\n      font-weight: 600;\n      letter-spacing: 0.1em;\n      color: #475569;\n    }\n\n    /* Wide tracking on a short uppercase label (passes — both conditions excluded) */\n    .label-tracking {\n      letter-spacing: 0.15em;\n      text-transform: uppercase;\n      font-size: 12px;\n      font-weight: 600;\n      color: #475569;\n    }\n\n    .mock-terminal-title,\n    .mock-terminal-meta,\n    .mock-diff-line {\n      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n      color: #475569;\n      line-height: 1.5;\n    }\n    .mock-terminal-title { font-size: 11px; }\n    .mock-terminal-meta { font-size: 10.8px; }\n    .mock-diff-line { font-size: 11.84px; }\n  \nstyle=\"font-size: 20px; margin: 0 0 4px;\"\nstyle=\"font-size: 16px; margin: 0;\"\nstyle=\"font-size: 20px; margin: 0 0 4px;\"\nstyle=\"font-size: 18px; margin: 0 0 4px;\"\nstyle=\"font-size: 16px; margin: 0;\""],"result":[]}
{"args":["\n  /* jsdom / static-html engine does no layout: every case declares explicit\n     pixel width + height so the size gate can read them. */\n  body { margin: 0; background: #0b0d13; }\n  .grid { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; }\n  .case { color: #e6e6e6; }\n\n  /* ───────── SHOULD FLAG: decorative low-opacity chromatic spotlights ───────── */\n\n  /* The exact declaration that evaded the detector: soft blue spotlight fading\n     to transparent, painted on a large mobile hero. */\n  .flag-hero-blue {\n    width: 360px; height: 560px;\n    background: radial-gradient(circle at 52% 38%, rgba(80,111,255,0.26), transparent 44%);\n  }\n  /* Violet accent wash on a full section. */\n  .flag-section-violet {\n    width: 900px; height: 600px;\n    background-image: radial-gradient(circle, rgba(139,92,246,0.30), transparent 60%);\n  }\n  /* Cyan overlay-style glow (the pseudo-element overlay div reflex). */\n  .flag-overlay-cyan {\n    width: 760px; height: 480px;\n    background: radial-gradient(ellipse at top, rgba(34,211,238,0.22), transparent 70%);\n  }\n  /* Single glow drawn with two low-alpha stops of one hue fading out. */\n  .flag-two-stop-rose {\n    width: 640px; height: 400px;\n    background: radial-gradient(circle, rgba(255,90,120,0.28) 0%, rgba(255,90,120,0.12) 45%, transparent 75%);\n  }\n  /* Same tell written as an 8-digit hex (#506fff at alpha 0x3d ≈ 0.24). */\n  .flag-hex-alpha {\n    width: 700px; height: 460px;\n    background: radial-gradient(circle, #506fff3d, transparent 50%);\n  }\n\n  /* ───────── SHOULD PASS: real backgrounds, small elements, neutrals, rich art ───────── */\n\n  /* Opaque radial background — a real surface, not a glow (no transparent end). */\n  .pass-opaque-bg {\n    width: 800px; height: 520px;\n    background: radial-gradient(circle, #1e3a8a, #0f172a);\n  }\n  /* Small badge: chromatic low-alpha radial glow, but tiny. */\n  .pass-badge {\n    width: 40px; height: 40px;\n    background: radial-gradient(circle, rgba(80,111,255,0.30), transparent);\n  }\n  /* Avatar-scale light: the subject IS a small light, exempt by size. */\n  .pass-avatar-light {\n    width: 72px; height: 72px;\n    background: radial-gradient(circle, rgba(255,196,64,0.35), transparent 70%);\n  }\n  /* Neutral near-black vignette — grayscale, not the accent-glow tell. */\n  .pass-neutral-vignette {\n    width: 800px; height: 520px;\n    background: radial-gradient(circle, rgba(0,0,0,0.40), transparent 80%);\n  }\n  /* Neutral near-white vignette — grayscale, exempt. */\n  .pass-white-vignette {\n    width: 820px; height: 540px;\n    background: radial-gradient(ellipse, rgba(255,255,255,0.35), transparent 70%);\n  }\n  /* Rich three-color radial composition — real color structure, opaque, no fade. */\n  .pass-rich-composition {\n    width: 800px; height: 520px;\n    background: radial-gradient(circle, #ff0080 0%, #7928ca 45%, #0070f3 100%);\n  }\n  /* Rich composition that does fade out, but its color stops are opaque. */\n  .pass-rich-transparent {\n    width: 780px; height: 500px;\n    background: radial-gradient(circle, rgba(255,0,128,0.90) 0%, rgba(121,40,202,0.85) 50%, transparent);\n  }\n  /* Opaque center glow (the radial-halo case, alpha ≥ 0.45) — not this rule. */\n  .pass-opaque-center {\n    width: 800px; height: 520px;\n    background: radial-gradient(circle, rgba(80,111,255,0.85), transparent);\n  }\n  /* Low-alpha chromatic wash, but LINEAR, not radial. */\n  .pass-linear-wash {\n    width: 800px; height: 520px;\n    background: linear-gradient(120deg, rgba(80,111,255,0.28), transparent 60%);\n  }\n"],"result":[]}
{"args":["\n    body {\n      font-family: Georgia, serif;\n      font-size: 16px;\n      margin: 0;\n      padding: 40px;\n      background: #f5f5f4;\n      color: #222222;\n    }\n    .card {\n      background: #ffffff;\n      border: 1px solid #d6d3d1;\n      border-radius: 10px;\n      padding: 20px;\n      width: 360px;\n      margin-bottom: 32px;\n    }\n    .shadow-card {\n      background: #ffffff;\n      border-radius: 10px;\n      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);\n      padding: 20px;\n      width: 360px;\n      margin-bottom: 32px;\n    }\n    h2 { font-size: 22px; margin: 0 0 10px; }\n    .big-word { font-size: 30px; font-weight: 700; color: #b91c1c; }\n    .tag { font-size: 12px; text-transform: uppercase; color: #b91c1c; }\n    .row { padding: 6px 0; border-bottom: 1px solid #eeeeee; }\n    .status { font-size: 13px; color: #57534e; }\n    td, th { padding: 6px 10px; font-size: 14px; }\n  "],"result":[]}
{"args":["\n    html { scroll-behavior: smooth; }\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #fff; }\n    main { max-width: 640px; margin: 0 auto; padding: 32px 24px; }\n    section { margin: 0 0 480px; }\n    .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }\n    .reveal.in-view { opacity: 1; transform: none; }\n    .menu { display: none; }\n  "],"result":[]}
{"args":["\n  body { margin: 0; padding: 40px; background: #faf8f4; font-family: Arial, sans-serif; color: #262421; }\n  /* Every case carries a UNIQUE border-left width so each finding's snippet\n     (`border-left: Npx`) attributes to exactly one case. Flag widths: 5, 6,\n     8, 12. Pass widths: 4, 7, 9, 10, 11. */\n  .tabbed {\n    width: 420px;\n    padding: 16px 20px;\n    margin: 0 0 24px;\n    background: #ffffff;\n    border: 1px solid #ddd8d0;\n    border-left: 6px solid #b8422e;\n  }\n  .w4 { border-left-width: 4px; }\n  .w5 { border-left-width: 5px; }\n  .w7 { border-left-width: 7px; }\n  .w8 { border-left-width: 8px; }\n  .w9 { border-left-width: 9px; }\n  .w10 { border-left-width: 10px; }\n  .w11 { border-left-width: 11px; }\n  .w12 { border-left-width: 12px; }\n  /* Marquee specimen: keyframes + an infinite loop track. The section that\n     hosts it carries a marquee waiver; the CSS-scan finding must resolve the\n     selector to the live element and honor the ancestor attribute. */\n  @keyframes ticker-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }\n  .quote-track { display: flex; width: max-content; animation: ticker-loop 80s linear infinite; }\n  .quote-track span { padding: 8px 16px; }\n  /* Dead grid CSS: this two-axis hairline grid selector matches nothing on\n     this page, so the browser pass must drop the codex-grid finding — the\n     pattern never renders here. */\n  .never-rendered-grid {\n    background:\n      linear-gradient(90deg, rgba(200,180,120,0.08) 1px, transparent 1px),\n      linear-gradient(180deg, rgba(200,180,120,0.08) 1px, transparent 1px);\n    background-size: 24px 24px;\n  }\n  /* Overshoot bezier inside a keyframe STEP: enclosingCssSelector must refuse\n     `to` as a selector (it would match nothing and wrongly drop the finding),\n     so this bounce-easing finding stays page-level and is retained. */\n  @keyframes springy {\n    from { transform: none; }\n    to { transform: translateY(-4px); animation-timing-function: cubic-bezier(0.3, 1.8, 0.6, 1); }\n  }\n"],"result":[]}
{"args":["\n    html { scroll-behavior: smooth; }\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #fff; }\n    main { max-width: 640px; margin: 0 auto; padding: 32px 24px; }\n    section { margin: 0 0 480px; }\n    .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }\n    .reveal.in-view { opacity: 1; transform: none; }\n  "],"result":[]}
{"args":["\n  body { font-family: system-ui, sans-serif; background: #ffffff; color: #1a1a1a; margin: 0; padding: 24px; }\n  .product { max-width: 640px; margin: 0 auto; }\n  h1 { font-size: 28px; margin: 0 0 12px; }\n  .price { font-size: 20px; font-weight: 600; }\n  form { margin-top: 16px; }\n  .add-to-cart { background: #1a1a1a; color: #ffffff; border: 0; padding: 12px 24px; border-radius: 6px; font-size: 16px; cursor: pointer; }\n  label { display: block; margin: 8px 0 4px; font-size: 14px; }\n  select, input[type=\"number\"] { padding: 8px; font-size: 14px; }\n"],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; background: #f9fafb; padding: 2rem; }\n    h1 { font-size: 2rem; margin-bottom: 0.5rem; }\n    h2 { font-size: 0.875rem; margin: 2.5rem 0 0.75rem; color: #4b5563; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }\n    p.intro { color: #6b7280; margin-bottom: 2rem; max-width: 36rem; }\n    .cards { display: grid; gap: 1rem; max-width: 28rem; }\n    .card { background: white; padding: 1rem; border-radius: 0.375rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }\n    .card h3 { font-weight: 600; color: #111827; font-size: 0.875rem; }\n    .card p { font-size: 0.8125rem; color: #6b7280; margin-top: 0.25rem; }\n\n    /* CSS side-tab variants */\n    .card-shorthand-left { border-left: 4px solid #3b82f6; }\n    .card-shorthand-right { border-right: 5px solid #8b5cf6; }\n    .card-longhand-left { border-left-width: 3px; border-left-style: solid; border-left-color: #10b981; }\n    .card-longhand-right { border-right-width: 6px; border-right-style: solid; border-right-color: #ef4444; }\n\n    /* CSS top/bottom + border-radius */\n    .card-css-top { border-radius: 12px; border-top: 4px solid #3b82f6; }\n    .card-css-bottom { border-radius: 12px; border-bottom: 3px solid #8b5cf6; }\n  \nstyle=\"background: #1f2937; padding: 1rem; border-radius: 12px; border-left: 4px solid #f472b6; max-width: 28rem;\"\nstyle=\"font-weight: 600; font-size: 0.875rem; color: white;\"\nstyle=\"font-size: 0.8125rem; color: #9ca3af;\""],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; background: #f9fafb; padding: 2rem; }\n    h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }\n    h2 { font-size: 1.125rem; margin: 2.5rem 0 0.75rem; color: #6b7280; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; }\n    p.intro { color: #6b7280; margin-bottom: 2rem; max-width: 36rem; }\n    .section { max-width: 28rem; }\n    .card-rounded { background: white; padding: 1.5rem; border-radius: 0.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); max-width: 28rem; margin-bottom: 1rem; }\n    .card-rounded h3 { font-weight: 600; color: #111827; }\n    .card-rounded p { font-size: 0.875rem; color: #6b7280; margin-top: 0.25rem; }\n    .card-flat { background: white; padding: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); max-width: 28rem; margin-bottom: 1rem; }\n    .badge { display: inline-block; font-size: 0.75rem; padding: 0.125rem 0.5rem; border-radius: 9999px; background: #dbeafe; color: #1d4ed8; }\n\n    /* Below-threshold side borders without radius */\n    .thin-left { border-left: 1px solid #3b82f6; }\n    .thin-right { border-right: 2px solid #8b5cf6; }\n  \nstyle=\"border: 1px solid #e5e7eb;\"\nstyle=\"max-width: 28rem; margin-bottom: 1rem; padding: 1.5rem; background: white; border-top: 1px solid #3b82f6; box-shadow: 0 1px 3px rgba(0,0,0,0.1);\"\nstyle=\"font-weight: 600; color: #111827;\"\nstyle=\"font-size: 0.875rem; color: #6b7280; margin-top: 0.25rem;\"\nstyle=\"max-width: 28rem; margin-bottom: 1rem; padding: 1.5rem; background: white; border-bottom: 2px solid #10b981; box-shadow: 0 1px 3px rgba(0,0,0,0.1);\"\nstyle=\"font-weight: 600; color: #111827;\"\nstyle=\"font-size: 0.875rem; color: #6b7280; margin-top: 0.25rem;\"\nstyle=\"border-left: 1px solid #10b981;\"\nstyle=\"background: #1f2937; padding: 1.5rem; border-radius: 0.5rem; border: 1px solid #374151; max-width: 28rem; margin-bottom: 1rem;\"\nstyle=\"font-weight: 600; color: white;\"\nstyle=\"font-size: 0.875rem; color: #9ca3af; margin-top: 0.25rem;\"\nstyle=\"background: #111827; padding: 1.5rem; max-width: 28rem; margin-bottom: 1rem; border-bottom: 2px solid #6366f1;\"\nstyle=\"font-weight: 600; color: white;\"\nstyle=\"font-size: 0.875rem; color: #9ca3af; margin-top: 0.25rem;\"\nstyle=\"background: #1e293b; padding: 1.5rem; border-radius: 0.5rem; max-width: 28rem; margin-bottom: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.3);\"\nstyle=\"font-weight: 600; color: white;\"\nstyle=\"font-size: 0.875rem; color: #94a3b8; margin-top: 0.25rem;\""],"result":[]}
{"args":["\n  * { margin: 0; box-sizing: border-box; }\n  body { font-family: system-ui, sans-serif; color: #111; background: #fff; }\n  section { padding: 40px; position: relative; }\n\n  /* ── FLAG 1: opaque box painted over text (>30%) ── */\n  .flag-box-wrap { position: relative; height: 120px; }\n  .flag-box-text { position: absolute; top: 40px; left: 40px; font-size: 20px; width: 300px; }\n  .flag-box-cover { position: absolute; top: 30px; left: 30px; width: 240px; height: 60px;\n    background: #1f7a3d; border-radius: 8px; z-index: 5; }\n\n  /* ── FLAG 2: inline element with opaque fill + leaked vertical padding ── */\n  .flag-leak-host { position: relative; margin-top: 30px; }\n  .flag-leak { display: inline; background: #2f8543; padding: 36px; border-radius: 6px; }\n  .flag-leak-card { background: #14202b; color: #fff; padding: 24px; border-radius: 6px; }\n\n  /* ── FLAG 3: big headline overhanging an opaque card ── */\n  .flag-hero { position: relative; height: 220px; }\n  .flag-headline { position: absolute; top: 40px; left: 0; font-size: 64px; font-weight: 800;\n    width: 760px; color: #b22; white-space: nowrap; }\n  .flag-card { position: absolute; top: 20px; left: 700px; width: 360px; height: 180px;\n    background: #f4f5f7; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0,0,0,.08); border-radius: 8px; }\n\n  /* ── PASS: stacked headline with tight leading (line-box bleed, no real overlap) ── */\n  .pass-stack { margin-top: 40px; }\n  .pass-eyebrow { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #a33; }\n  .pass-title { font-size: 96px; line-height: .9; font-weight: 800; }\n\n  /* ── PASS: text over image with a scrim, text on top (readable) ── */\n  .pass-hero { position: relative; height: 200px; overflow: hidden; border-radius: 8px; }\n  .pass-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }\n  .pass-hero .scrim { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); }\n  .pass-hero .cap { position: absolute; bottom: 16px; left: 16px; color: #fff; font-size: 24px; z-index: 2; }\n\n  /* ── PASS: fixed status bar over content at the fold ── */\n  .pass-under { margin-top: 20px; font-size: 16px; }\n  /* Invisible interaction layer: an opacity-0 scrubber input stretched over\n     text, like a before/after comparison handle. It paints nothing, so it must\n     not read as an occluder despite its UA background-color. */\n  .pass-scrubber-wrap { position: relative; margin-top: 30px; height: 80px; }\n  .pass-scrubber-text { position: absolute; top: 20px; left: 10px; font-size: 20px; width: 320px; }\n  .pass-scrubber-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 5; margin: 0; }\n  .pass-fixedbar { position: fixed; left: 0; right: 0; bottom: 0; height: 40px; background: #b22;\n    color: #fff; display: flex; align-items: center; padding: 0 16px; }\n"],"result":[]}
{"args":["\n    body { font-family: system-ui, sans-serif; margin: 0; color: #1a1a1a; background: #fff; }\n    .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; align-items: start; }\n    .col { padding: 16px; }\n    .box { width: 160px; border: 1px solid #ddd; margin: 0 0 24px; padding: 8px; }\n    .sr-only {\n      position: absolute;\n      width: 1px;\n      height: 1px;\n      padding: 0;\n      margin: -1px;\n      overflow: hidden;\n      white-space: nowrap;\n      border-width: 0;\n    }\n    .sr-only-clip-path { clip-path: inset(50%); }\n    .sr-only-legacy-clip { clip: rect(0, 0, 0, 0); }\n    .sr-only-tiny-hidden { clip: auto; }\n    .sr-only-clipped-wide {\n      position: absolute;\n      width: 160px;\n      height: 20px;\n      overflow: visible;\n      white-space: nowrap;\n      clip-path: inset(50%);\n    }\n    .hidden-slide {\n      opacity: 0;\n      pointer-events: none;\n    }\n    .hidden-slide .pass-hidden-slide-overflow {\n      display: block;\n      width: 120px;\n      white-space: nowrap;\n    }\n  \nstyle=\"white-space: nowrap\"\nstyle=\"white-space: nowrap\"\nstyle=\"overflow-x: auto; white-space: nowrap\"\nstyle=\"overflow: visible\"\nstyle=\"overflow-x: auto\"\nstyle=\"white-space: nowrap; display: inline-block\"\nstyle=\"white-space: nowrap\""],"result":[]}
{"args":["\n    body {\n      font-family: 'Inter', sans-serif;\n      background: #f9fafb;\n      padding: 2rem;\n    }\n    h1 { font-size: 18px; font-weight: 700; margin-bottom: 0.5rem; }\n    h2 { font-size: 16px; font-weight: 600; margin: 2rem 0 0.75rem; color: #6b7280; }\n    h3 { font-size: 15px; font-weight: 600; }\n    p { font-size: 14px; color: #6b7280; margin-top: 0.25rem; }\n    .caption { font-size: 13px; color: #6b7280; }\n  "],"result":[]}
{"args":["\n    body {\n      font-family: 'Karla', system-ui, sans-serif;\n      background: #f9fafb;\n      padding: 2rem;\n      font-size: 16px;\n      color: #111827;\n    }\n    h1 {\n      font-family: 'Newsreader', Georgia, serif;\n      font-size: 48px;\n      font-weight: 700;\n      margin-bottom: 0.5rem;\n    }\n    h2 {\n      font-family: 'Newsreader', Georgia, serif;\n      font-size: 32px;\n      font-weight: 700;\n      margin: 2rem 0 0.75rem;\n    }\n    h3 { font-size: 24px; font-weight: 600; }\n    p { font-size: 16px; color: #6b7280; margin-top: 0.25rem; }\n    .caption { font-size: 12px; color: #6b7280; }\n  "],"result":[]}
{"args":["\n    body {\n      margin: 0;\n      padding: 24px;\n      background: #f9fafb;\n      color: #111827;\n      font: 16px/1.5 system-ui, sans-serif;\n    }\n\n    .grid {\n      display: grid;\n      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n      gap: 32px;\n      max-width: 1180px;\n      margin: 0 auto;\n    }\n\n    .col {\n      min-width: 0;\n    }\n\n    .col-label {\n      margin: 0 0 14px;\n      color: #475569;\n      font-size: 13px;\n      font-weight: 760;\n      letter-spacing: 0.08em;\n      text-transform: uppercase;\n    }\n\n    .flag-type {\n      font-family: 'Inter', sans-serif;\n      background: #fdfdfd;\n      padding: 22px;\n      border: 1px solid #e5e7eb;\n    }\n\n    .flag-type h1 {\n      margin: 0 0 8px;\n      font-size: 18px;\n      line-height: 1.2;\n    }\n\n    .flag-type h2 {\n      margin: 24px 0 8px;\n      color: #4b5563;\n      font-size: 16px;\n      line-height: 1.25;\n    }\n\n    .flag-type h3 {\n      margin: 18px 0 4px;\n      font-size: 15px;\n      line-height: 1.25;\n    }\n\n    .flag-type p {\n      margin: 0 0 10px;\n      color: #4b5563;\n      font-size: 14px;\n    }\n\n    .flag-type .caption {\n      color: #6b7280;\n      font-size: 13px;\n    }\n\n    .flag-type .tight-leading-demo {\n      line-height: 1.05;\n    }\n\n    .flag-type .tiny-body-demo {\n      color: #374151;\n      font-size: 10px;\n      line-height: 1.6;\n    }\n\n    .flag-type .caps-body-demo {\n      text-transform: uppercase;\n    }\n\n    .flag-type .tracked-body-demo {\n      letter-spacing: 0.08em;\n    }\n\n    .flag-type .justified-body-demo {\n      text-align: justify;\n    }\n\n    .pass-type {\n      background: #fdfdfd;\n      padding: 22px;\n      border: 1px solid #e5e7eb;\n    }\n\n    .pass-type h1,\n    .pass-type h2 {\n      font-family: 'Newsreader', Georgia, serif;\n    }\n\n    .pass-type h1 {\n      margin: 0 0 10px;\n      font-size: 48px;\n      line-height: 0.98;\n      font-weight: 700;\n    }\n\n    .pass-type h2 {\n      margin: 32px 0 10px;\n      font-size: 30px;\n      line-height: 1.08;\n      font-weight: 700;\n    }\n\n    .pass-type h3,\n    .pass-type p,\n    .pass-type .caption {\n      font-family: 'Karla', system-ui, sans-serif;\n    }\n\n    .pass-type h3 {\n      margin: 22px 0 6px;\n      font-size: 22px;\n      line-height: 1.15;\n    }\n\n    .pass-type p {\n      margin: 0 0 12px;\n      color: #374151;\n      font-size: 16px;\n    }\n\n    .pass-type .caption {\n      color: #4b5563;\n      font-size: 12px;\n    }\n  "],"result":[]}
{"args":["\n  /* Explicit pixel dimensions because jsdom does no layout. */\n  body { font-family: system-ui, sans-serif; font-size: 16px; }\n  .col { display: inline-block; width: 480px; vertical-align: top; }\n\n  /* --- should-flag styles --- */\n  .nav-link      { font-size: 8px; }\n  .category      { font-size: 8px; }\n  .meta          { font-size: 9px; }\n  .btn-small     { font-size: 10px; width: 120px; height: 24px; }\n  .cell-small    { font-size: 9px; }\n  .caps-label    { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }\n  .footer-link   { font-size: 8px; }\n\n  /* --- should-pass styles --- */\n  .legal         { font-size: 10px; line-height: 1.5; }         /* non-interactive footer smallprint at 10px */\n  .sr-only       { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); font-size: 4px; }\n  .sup-marker    { font-size: 8px; }\n  .sub-marker    { font-size: 8px; }\n  .em-parent     { font-size: 20px; }\n  .em-child      { font-size: 0.6em; }                          /* resolves to 12px, above the floor */\n  .mock-terminal { width: 400px; }\n  .term-line     { font-size: 9px; }                            /* legitimately small code/terminal text */\n  .normal-link   { font-size: 12px; }                           /* at the floor, allowed */\n"],"result":[]}
{"args":["\n    :root {\n      --paper: #f7f3ee;\n      --ink: #171717;\n      --muted: #566174;\n    }\n\n    body {\n      margin: 0;\n      padding: 32px;\n      background: var(--paper);\n      color: var(--ink);\n      font-family: system-ui, sans-serif;\n    }\n\n    .grid {\n      display: grid;\n      grid-template-columns: repeat(2, minmax(0, 1fr));\n      gap: 24px;\n      max-width: 980px;\n      margin: 0 auto;\n    }\n\n    .column {\n      display: grid;\n      gap: 14px;\n    }\n\n    .column > h2 {\n      margin: 0 0 2px;\n      color: var(--muted);\n      font-size: 13px;\n      font-weight: 700;\n      letter-spacing: 0.08em;\n      line-height: 1.4;\n      text-transform: uppercase;\n    }\n\n    .image-card {\n      position: relative;\n      display: grid;\n      align-content: end;\n      min-height: 180px;\n      padding: 28px;\n      border-radius: 8px;\n      overflow: hidden;\n      background-size: cover;\n      background-position: center;\n    }\n\n    .image-card p {\n      position: relative;\n      z-index: 1;\n      max-width: 28ch;\n      margin: 0;\n      font-size: 18px;\n      font-weight: 700;\n      line-height: 1.45;\n    }\n\n    .light-image {\n      background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 240'%3E%3Crect width='420' height='240' fill='%23ece8df'/%3E%3Ccircle cx='308' cy='58' r='132' fill='%23faf7f0'/%3E%3Cpath d='M0 186c52-22 92-26 142-8s98 18 148-8 92-22 130 0v70H0z' fill='%23f5efe4'/%3E%3C/svg%3E\");\n    }\n\n    .pale-pattern {\n      background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 240'%3E%3Crect width='420' height='240' fill='%23edf2f7'/%3E%3Cg fill='%23f8fafc'%3E%3Ccircle cx='60' cy='64' r='42'/%3E%3Ccircle cx='182' cy='142' r='58'/%3E%3Ccircle cx='336' cy='84' r='74'/%3E%3C/g%3E%3Cg stroke='%23dbe4ef' stroke-width='14' opacity='.55'%3E%3Cpath d='M-20 220C74 112 150 94 232 164s138 46 214-62' fill='none'/%3E%3C/g%3E%3C/svg%3E\");\n    }\n\n    .mist-image {\n      background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 240'%3E%3Crect width='420' height='240' fill='%23b9c4cf'/%3E%3Cpath d='M0 52c74-28 138-22 194 18s124 38 226-28v198H0z' fill='%23cbd3dc'/%3E%3Ccircle cx='82' cy='176' r='68' fill='%23aeb8c4'/%3E%3C/svg%3E\");\n    }\n\n    .dark-image {\n      background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 240'%3E%3Crect width='420' height='240' fill='%23191b20'/%3E%3Ccircle cx='316' cy='50' r='132' fill='%232d3440'/%3E%3Cpath d='M0 182c70-48 138-42 204-6s128 24 216-58v122H0z' fill='%23101318'/%3E%3C/svg%3E\");\n    }\n\n    .underlay {\n      isolation: isolate;\n      background: #1a1d24;\n    }\n\n    .underlay.light-shell {\n      background: #f5f2ea;\n    }\n\n    .underlay img,\n    .underlay svg {\n      position: absolute;\n      inset: 0;\n      z-index: 0;\n      width: 100%;\n      height: 100%;\n      object-fit: cover;\n    }\n\n    .underlay svg {\n      display: block;\n    }\n  \nstyle=\"color: rgb(255, 255, 255);\"\nstyle=\"color: rgb(28, 30, 35);\"\nstyle=\"color: rgba(255, 255, 255, 0.72);\"\nstyle=\"color: rgb(138, 146, 156);\"\nstyle=\"color: rgb(250, 247, 239);\"\nstyle=\"color: rgb(31, 35, 42);\"\nstyle=\"color: rgb(246, 242, 232);\"\nstyle=\"color: rgb(35, 31, 27);\"\nstyle=\"color: rgb(255, 255, 255);\""],"result":[]}
{"args":["\n  .faint { color: #ff00aa; }\n  .brand { font-family: Verdana } /* impeccable-disable-line design-system-font */\n  .also { font-family: Verdana }\n"],"result":[]}
{"args":["\n  .card { font-family: Verdana, sans-serif; }\n  .brand { font-family: Inter, sans-serif; }\n  .dot { width: 8px; height: 8px; border-radius: 50%; animation: blink 1s infinite; }\n  .off { color: #ff00aa; }\n"],"result":[]}