*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,system-ui,-apple-system,sans-serif;background:#f1f5f9;color:#1e293b;line-height:1.6}header{background:#1e40af;color:#fff;padding:1.5rem 2rem}header h1{font-size:1.6rem;font-weight:700;letter-spacing:-.01em}header p{font-size:.95rem;opacity:.85;margin-top:.25rem}main{max-width:1100px;margin:0 auto;padding:2rem 1.25rem;display:flex;flex-direction:column;gap:2rem}.card{background:#fff;border-radius:12px;padding:1.75rem;box-shadow:0 1px 4px #00000014}.card h2{font-size:1.15rem;font-weight:600;color:#1e40af;margin-bottom:1.25rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0}.chart-wrapper{position:relative;height:420px}.slider-section{display:flex;flex-direction:column;gap:1rem}.slider-inputs{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.slider-inputs label{font-weight:500;white-space:nowrap}#revenue-slider{flex:1;min-width:200px;accent-color:#1e40af;cursor:pointer;height:6px}#revenue-number{width:140px;padding:.4rem .6rem;border:1.5px solid #cbd5e1;border-radius:6px;font-size:.95rem;text-align:right}#revenue-number:focus{outline:none;border-color:#1e40af}.slider-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-top:.5rem}.result-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.85rem 1rem}.result-label{font-size:.8rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.3rem}.result-value{font-size:1.1rem;font-weight:700;color:#1e293b}table{width:100%;border-collapse:collapse;font-size:.9rem}th{background:#1e40af;color:#fff;padding:.65rem .9rem;text-align:right;font-weight:600;font-size:.82rem}th:first-child{text-align:left}td{padding:.6rem .9rem;text-align:right;border-bottom:1px solid #e2e8f0}td:first-child{text-align:left;font-weight:500}.row-a1{background:#2563eb0a}.row-a2{background:#dc26260a}tbody tr:hover{background:#f1f5f9}.diff-positive{color:#16a34a;font-weight:600}.diff-negative{color:#dc2626;font-weight:600}.best-a1{color:#2563eb;font-weight:700}.best-a2{color:#dc2626;font-weight:700}.best-neutral{color:#d97706;font-weight:700}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.calc-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1.1rem 1.25rem}.calc-box h3{font-size:.95rem;font-weight:600;margin-bottom:.6rem;color:#1e40af}.calc-box ul{list-style:none;font-size:.88rem;line-height:1.8;color:#475569}.calc-box ul li:before{content:"→ ";color:#94a3b8}.intersection-note{margin-top:1rem;padding:.85rem 1.1rem;background:#ecfdf5;border:1.5px solid #6ee7b7;border-radius:8px;font-size:.9rem;color:#065f46}@media (max-width: 640px){header h1{font-size:1.3rem}.calc-grid{grid-template-columns:1fr}table{font-size:.78rem}th,td{padding:.5rem}}
