:root{font-family:system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:#1a1a1a;background-color:#fafafa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px}.app{max-width:1200px;margin:0 auto;padding:2rem;font-family:system-ui,-apple-system,sans-serif}header{text-align:center;margin-bottom:2rem}header h1{margin:0 0 .5rem;font-size:1.8rem;color:#1a1a1a}header p{margin:0;color:#666}.global-inputs{display:flex;gap:1.5rem;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.field{display:flex;flex-direction:column;gap:.25rem}.field label{font-size:.85rem;font-weight:500;color:#444}.field input[type=number],.field input[type=text]{padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:.95rem;width:160px}.toggle-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.85rem;color:#666}.toggle-text{font-weight:400}.offers-row{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.offer-panel{flex:1;min-width:220px;border:1px solid #ddd;border-radius:8px;padding:1rem;background:#fff}.offer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.offer-header h3{margin:0;font-size:1rem}.remove-btn{background:none;border:none;font-size:1.4rem;color:#999;cursor:pointer;line-height:1;padding:0 .25rem}.remove-btn:hover{color:#dc2626}.offer-form{display:flex;flex-direction:column;gap:.6rem}.actions{display:flex;gap:.75rem;margin-bottom:1.5rem}.btn-primary{padding:.6rem 1.5rem;background:#2563eb;color:#fff;border:none;border-radius:6px;font-size:1rem;cursor:pointer;font-weight:500}.btn-primary:hover{background:#1d4ed8}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{padding:.6rem 1.2rem;background:#fff;color:#2563eb;border:1px solid #2563eb;border-radius:6px;font-size:.95rem;cursor:pointer}.btn-secondary:hover{background:#eff6ff}.error{color:#dc2626;padding:.75rem;background:#fef2f2;border-radius:6px;margin-bottom:1rem}.chart-container{margin-bottom:2rem}.chart-container h2{font-size:1.2rem;margin-bottom:1rem}.chart-with-summary{display:flex;gap:1.5rem;align-items:flex-start}.chart-area{flex:1;min-width:0}.chart-totals{flex:0 0 180px;padding-top:.25rem}.chart-totals h3{font-size:.85rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.75rem}.chart-totals ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.chart-totals li{border-left:3px solid currentColor;padding-left:.6rem}.totals-label{font-size:.8rem;font-weight:600;opacity:.9}.totals-amount{font-size:1rem;font-weight:700;margin-top:.1rem}.totals-diff{font-size:.75rem;margin-top:.1rem}.totals-diff--more{color:#6b7280}.totals-diff--cheapest{font-weight:600;color:#6b7280}.scenario-note{font-size:.72rem;color:#9ca3af;margin-top:.15rem}.chart-summary{flex:0 0 auto;padding-top:.25rem}.chart-summary h3{font-size:.85rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.75rem}.chart-summary table{border-collapse:collapse;font-size:.85rem;white-space:nowrap}.chart-summary th,.chart-summary td{padding:.4rem .75rem;text-align:right;border-bottom:1px solid #eee}.chart-summary th:first-child,.chart-summary td:first-child{text-align:left;color:#6b7280;font-weight:500;padding-left:0}.chart-summary thead th{background:#f8f9fa;font-weight:600;color:#444}.chart-summary thead th:first-child{background:transparent}.difference{font-size:.85rem;color:#444;margin-top:.75rem}
