:root{--fl-accent:#0284c7;--fl-accent-2:#02599c;--fl-ink:#0c2340}.fl-portrait img{height:auto}.hwl-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1rem 0}.hwl-pillars code{font-size:.8rem;overflow-wrap:anywhere}.hwl-lab{border:1px solid var(--line,#d2d2d7);border-radius:12px;padding:1.2rem;margin:1.2rem 0;background:var(--surface-elevated,#fff)}.hwl-controls{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1rem}.hwl-btn{font:inherit;font-weight:600;font-size:.85rem;padding:.45rem .85rem;border-radius:999px;border:1px solid var(--line,#cbd5e1);background:var(--surface,#f8fafc);color:var(--text,#0f172a);cursor:pointer;transition:.15s}.hwl-btn:hover{background:var(--surface-hover,#e2e8f0)}.hwl-btn[aria-pressed=true]{background:var(--fl-accent,#0284c7);border-color:var(--fl-accent,#0284c7);color:#fff}.hwl-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:stretch}.hwl-panel{border:1px solid var(--line,#cbd5e1);border-radius:8px;padding:1rem;background:var(--surface,#f8fafc);min-width:0}.hwl-panel h3{margin-top:0;font-size:1rem;margin-bottom:.6rem}.hwl-rule-stack{display:flex;flex-direction:column;gap:.5rem;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:.8rem}.hwl-rule-item{padding:.5rem .75rem;border-radius:6px;border-left:4px solid #94a3b8;background:#fff;border:1px solid var(--line,#e2e8f0)}.hwl-rule-item.winning{border-left-color:#10b981;background:rgba(16,185,129,.08)}.hwl-rule-item.overridden{opacity:.6;text-decoration:line-through}.hwl-rule-source{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted,#64748b);display:block}.hwl-preview-stage{border:2px dashed var(--line,#cbd5e1);border-radius:8px;padding:1.5rem;min-height:200px;display:flex;align-items:center;justify-content:center;background:#fff}.hwl-target-element{padding:1.25rem;border-radius:8px;text-align:center;max-width:320px;width:100%;transition:.3s}.hwl-target-element h4{margin:0 0 .4rem;font-size:1.1rem}.hwl-target-element p{margin:0;font-size:.88rem}.hwl-explanation{margin-top:.8rem;font-size:.85rem;color:var(--text-muted,#475569);min-height:2.2em}@media (max-width:760px){.hwl-grid,.hwl-pillars{grid-template-columns:1fr}}.hwl-mission{margin-top:1.4rem;padding:1.2rem;border-inline-start:4px solid var(--fl-accent);background:var(--surface,#f8fafc);border-radius:0 12px 12px 0}.hwl-mission p{margin:.5rem 0 1rem}.hwl-mission a{display:inline-block;text-decoration:none}.hwl-markup{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.hwl-rule-item{display:grid;grid-template-columns:auto 1fr;gap:.4rem .6rem;color:var(--text,#0f172a);background:var(--surface,#f8fafc);cursor:pointer}.hwl-rule-item input{grid-row:span 2;margin-top:.2rem;accent-color:#0369a1}.hwl-rule-item code{overflow-wrap:anywhere}.hwl-rule-source{margin:0;color:inherit}.hwl-btn[aria-pressed=true]{background:#0369a1;border-color:#0369a1}.hwl-btn:focus-visible,.hwl-rule-item:focus-within{outline:3px solid var(--fl-accent);outline-offset:3px}#hwl-preview{width:100%;height:170px;border:1px solid var(--line,#cbd5e1);border-radius:8px;background:#fff}#hwl-computed{overflow-wrap:anywhere;font:.8rem/1.5 ui-monospace,monospace}.hwl-scope{font-size:.85rem;line-height:1.6}.fl-problem-row .fl-ans-input{max-width:100%}@media print{#hwl-result[hidden]{display:block}#hwl-curtain,#hwl-reveal{display:none}}