:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#101828;background-color:#f5f5f7;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit}#root{min-height:100vh}.app-shell{padding:24px;min-height:100vh;background:linear-gradient(180deg,#f7f9fc,#fefefe 60%)}h1,h2,h3,label{color:#0f172a}.grid{display:grid;gap:16px}@media(min-width:960px){.grid.two-columns{grid-template-columns:1fr 1fr}}.card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 15px 30px #0f172a14}.card h2{margin-top:0}.preamble-card{margin:24px auto 0;max-width:1200px}.preamble-text{color:#475467;margin:0}input,select,button{font:inherit}form{display:grid;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-section{border:1px solid #e4e7ec;border-radius:16px;padding:16px;background:#f9f5ff}.form-section h3{margin:0 0 8px}.form-hint{color:#475467;font-size:.9rem;margin:-4px 0 12px}.form-group.full-width{grid-column:span 2}input,select{border-radius:12px;border:1px solid #d0d5dd;padding:10px 14px;transition:border .2s ease,box-shadow .2s ease;background-color:#fff}input:focus,select:focus{outline:none;border-color:#7f56d9;box-shadow:0 0 0 3px #7f56d933}button{border:none;border-radius:1000px;padding:12px 20px;cursor:pointer;font-weight:600;transition:transform .15s ease,box-shadow .15s ease}button.primary{background:#7f56d9;color:#fff;box-shadow:0 15px 30px #7f56d940}button.secondary{background:#e4e7ec;color:#000}button:active{transform:translateY(1px)}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.sankey-card{background:linear-gradient(135deg,#f3e8ff,#dbf4ff);border:1px solid rgba(15,23,42,.08)}.methodology-subtitle{color:#475467;margin-top:-6px}.math-line{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0}.pill{border-radius:999px;padding:10px 18px;display:flex;flex-direction:column;font-weight:600;color:#fff;min-width:140px;text-align:center}.pill small{font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.08em}.pill-healthy{background:#16a34a}.pill-money{background:#0ea5e9}.pill-time{background:#f97316}.pill-efficiency{background:#7c3aed}.pill-balanced{background:#1d4ed8}.pill-restaurant{background:#fb8c00}.operator{font-size:1.5rem;font-weight:600;color:#475467}.methodology-note{margin:0;color:#475467;line-height:1.6}.spacious-card{padding:28px}.line-chart-wrapper{height:360px;width:100%}.chart-tooltip{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:8px 12px;box-shadow:0 10px 20px #0f172a1f;font-size:.85rem}.formula-block{background:#0f172a0f;padding:12px 16px;border-radius:12px;font-family:IBM Plex Mono,SFMono-Regular,Menlo,monospace;font-size:.9rem;overflow-x:auto;white-space:pre-wrap;margin:8px 0}.variable-table{width:100%;border-collapse:collapse;margin-top:12px}.variable-table td{padding:8px 12px;border-bottom:1px solid #e4e7ec}.variable-table tr:last-child td{border-bottom:none}.priority-table{width:100%;border-collapse:collapse;margin-top:16px}.priority-table th,.priority-table td{text-align:left;padding:10px 12px;border-bottom:1px solid #e4e7ec}.priority-table tr:last-child td{border-bottom:none}.priority-rank{font-weight:700;color:#7f56d9}.metric-card{border-radius:16px;padding:16px;background:#f4f0ff;border:1px solid rgba(127,86,217,.3)}.metric-value{font-size:1.75rem;font-weight:700;margin:8px 0 0}.metric-subtitle{color:#475467;font-size:.875rem}.sankey-wrapper{height:540px}@media(max-width:720px){.form-group.full-width{grid-column:auto}.app-shell{padding:16px}}
