: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}.results-summary h2{font-size:1.2rem;margin-bottom:.75rem}.results-summary table{width:100%;border-collapse:collapse;margin-bottom:1rem}.results-summary th,.results-summary td{padding:.6rem 1rem;text-align:left;border-bottom:1px solid #eee}.results-summary th{background:#f8f9fa;font-weight:600;font-size:.85rem;color:#444}.results-summary td{font-size:.95rem}.difference{font-size:.95rem;color:#444}
