:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#5a4155;background:#f9f7fb}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}textarea,select{width:100%;border:1px solid #d6deef;border-radius:12px;padding:12px 14px;background:#fbfcff}.shell{max-width:1120px;margin:0 auto;padding:48px 20px 64px}.hero{background:linear-gradient(135deg,#fef6f6,#f4f8fc);color:#2d455d;border:1px solid #ecdede;border-radius:24px;padding:32px;box-shadow:0 20px 50px #7891aa1f}.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#e9f2fa;color:#3b607d;font-size:.8rem;margin-bottom:14px}.hero h1{margin:0 0 12px;font-size:clamp(2rem,4vw,3.5rem)}.hero p{max-width:760px;margin:0;color:#61778a}.hero-branding{display:flex;align-items:center;gap:20px}.hero-crest{width:96px;height:96px;object-fit:contain}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:24px}.top-grid{align-items:start}.bottom-grid{grid-template-columns:1.2fr .8fr}.card{background:#fef6f6;border:1px solid #ecdede;border-radius:20px;padding:24px;box-shadow:0 10px 30px #7891aa14}.card h2,.casePanel h3{margin-top:0;font-size:1.15rem}.form{display:grid;gap:12px}.form input{width:100%;border:1px solid #d6deef;border-radius:12px;padding:12px 14px;background:#fbfcff}.toggleRow,.caseTabs,.actionRow,.pageNav{display:inline-flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}.toggle,.primary,.secondary,.menuButton{border:0;border-radius:12px;padding:11px 16px;cursor:pointer}.toggle,.secondary,.menuButton{background:#eef1f4;color:#4f6578}.toggle.active,.primary{background:#dbe9f5;color:#35516a}.primary:disabled{opacity:.7;cursor:progress}.chips,.metrics{display:flex;flex-wrap:wrap;gap:10px}.chip,.metrics span{background:#e9f2fa;color:#3b607d;padding:8px 12px;border-radius:999px;font-size:.92rem}.rule{margin-top:18px;font-weight:700;color:#8f1d1d}.error{margin:0;color:#aa2337;font-weight:600}.result p,.result ul,.result ol,.historyItem p,.caseHeader p,.casePanel p,.checklistItem p{margin:0 0 10px}.muted{color:#6f7c96;font-size:.9rem}.decision{font-weight:700;color:#3b607d}.delta.positive{color:#1b7a43;font-weight:700}.delta.negative{color:#a53a3a;font-weight:700}.delta.neutral{color:#6f7c96;font-weight:700}.beforeAfterGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0}.beforeAfterGrid>div{background:#f8faff;border:1px solid #e5ebf7;border-radius:12px;padding:12px}.checklistGrid{display:grid;gap:14px}.checklistItem{border:1px solid #dbe7f2;border-radius:14px;padding:16px;background:#fff}.completionMessage{margin-top:18px;padding:14px 16px;border-radius:14px;background:#f4f8fc;color:#48667f;font-weight:600}.historyList{display:grid;gap:12px}.historyList.stacked{margin-top:14px}.historyItem,.caseHeader{display:flex;justify-content:space-between;gap:16px;align-items:center}.historyItem{border:1px solid #e5ebf7;border-radius:14px;padding:14px}.stackedCard{align-items:flex-start}.status{display:inline-flex;align-items:center;border-radius:999px;padding:8px 10px;font-size:.84rem;white-space:nowrap}.status.ok{background:#e5f7ed;color:#1b7a43}.status.blocked{background:#fff0f0;color:#a53a3a}.status.neutral{background:#eef1f4;color:#4f6578}.casesCard{margin-top:24px}.caseGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.casePanel{border:1px solid #dbe7f2;border-radius:16px;padding:18px;background:#fff}.appHeader{margin-top:24px}.headerTop{display:flex;align-items:flex-start;gap:16px}.menuButton{font-size:1.4rem;line-height:1}.pageNav{margin-top:18px}@media(max-width:860px){.bottom-grid,.beforeAfterGrid{grid-template-columns:1fr}.hero-branding{flex-direction:column;align-items:flex-start}.pageNav{display:none;flex-direction:column;width:100%}.pageNav.open{display:flex}}
