/* Business projection laboratory — simulations only, independent of finance ledger. */
#lmProjectionSimulator{max-width:1250px;margin:28px auto 65px;font-family:Nunito,system-ui,sans-serif;color:#2e4050}
#lmProjectionSimulator *{box-sizing:border-box}
#lmProjectionSimulator .sim-shell{background:#fff;border:1px solid #eddce5;border-radius:22px;padding:clamp(16px,2.5vw,29px);box-shadow:0 12px 30px rgba(48,34,53,.045)}
#lmProjectionSimulator .sim-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid #f2e7ed}
#lmProjectionSimulator .sim-kicker{font-size:10px;color:#bb3271;font-weight:900;letter-spacing:.13em}
#lmProjectionSimulator h2{margin:6px 0;font-size:clamp(22px,2.4vw,29px);font-weight:900;color:#303a47;line-height:1.18}
#lmProjectionSimulator h3{margin:0 0 5px;font-size:16px;font-weight:900;color:#33414d}
#lmProjectionSimulator p{margin:0;line-height:1.55}
#lmProjectionSimulator .sim-muted{font-size:12px;color:#748694;max-width:720px}
#lmProjectionSimulator .sim-actions{display:flex;gap:7px;flex-wrap:wrap}
#lmProjectionSimulator button{cursor:pointer;font:800 12px Nunito,system-ui,sans-serif}
#lmProjectionSimulator .sim-btn{border:1px solid #e9bbd0;background:white;border-radius:10px;padding:9px 12px;min-height:36px;color:#a52b67}
#lmProjectionSimulator .sim-btn:hover{background:#fff0f7}
#lmProjectionSimulator .sim-btn.primary{background:#e54d90;color:white;border-color:#e54d90}
#lmProjectionSimulator .sim-info{background:#fff5fa;border:1px solid #f5d5e2;border-radius:12px;padding:11px 14px;margin-top:15px;font-size:12px;color:#80536a}
#lmProjectionSimulator .sim-preset-bar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:16px}
#lmProjectionSimulator .sim-preset-bar>span{font-size:11px;font-weight:900;color:#7d8894;margin-right:4px}
#lmProjectionSimulator .sim-preset{background:#faf6f8;color:#a03771;border:1px solid #efdce6;border-radius:9px;padding:7px 11px}
#lmProjectionSimulator .sim-presets-note{font-size:10px;color:#91a0aa}
#lmProjectionSimulator .sim-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
#lmProjectionSimulator .sim-metric{border:1px solid #ebdfe5;border-radius:14px;padding:16px;background:#fff;min-width:0}
#lmProjectionSimulator .sim-metric small{display:block;font-size:10px;font-weight:900;color:#7b8996;line-height:1.4}
#lmProjectionSimulator .sim-metric strong{display:block;margin:5px 0;font-size:clamp(18px,2.1vw,25px);font-weight:900;overflow-wrap:anywhere}
#lmProjectionSimulator .sim-metric span{font-size:10px;color:#89949e}
#lmProjectionSimulator .sim-metric.accent{border-color:#f3bfd7;background:#fff5fa}
#lmProjectionSimulator .sim-metric.accent strong{color:#cb397b}
#lmProjectionSimulator .sim-metric.good strong{color:#218365}
#lmProjectionSimulator .sim-metric.loss strong{color:#bd3852}
#lmProjectionSimulator .sim-workspace{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(315px,.84fr);gap:16px;align-items:start}
#lmProjectionSimulator .sim-stack{display:grid;gap:12px}
#lmProjectionSimulator .sim-panel{border:1px solid #ede2e7;background:#fff;border-radius:15px;padding:16px;min-width:0}
#lmProjectionSimulator .sim-panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}
#lmProjectionSimulator .sim-panel-head small{font-weight:900;color:#ba4482;font-size:10px}
#lmProjectionSimulator .sim-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
#lmProjectionSimulator label.sim-field{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#536673;min-width:0}
#lmProjectionSimulator input[type=number],#lmProjectionSimulator input[type=text],#lmProjectionSimulator select{min-height:38px;padding:8px 10px;font:800 13px Nunito,system-ui,sans-serif;color:#2f4654;background:#fff;border:1px solid #dbe2e7;border-radius:9px;min-width:0;width:100%;outline-offset:2px}
#lmProjectionSimulator input:focus-visible,#lmProjectionSimulator select:focus-visible{outline:2px solid #e68bb8;border-color:#e68bb8}
#lmProjectionSimulator .sim-field small{font-size:10px;color:#8899a5;font-weight:500;line-height:1.3}
#lmProjectionSimulator .sim-wide{grid-column:1/-1}
#lmProjectionSimulator .sim-ad-row{padding:12px 0;border-top:1px solid #f1e8ec}
#lmProjectionSimulator .sim-ad-row:first-child{border-top:0;padding-top:0}
#lmProjectionSimulator .sim-ad-title{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;font-weight:900;margin-bottom:8px}
#lmProjectionSimulator .sim-ad-name{display:inline-flex;align-items:center;gap:7px}
#lmProjectionSimulator .sim-ad-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr);gap:8px}
#lmProjectionSimulator .sim-switch{display:flex;gap:9px;align-items:center;padding:10px 11px;background:#faf8fa;border:1px solid #f2e7ee;border-radius:10px;margin-top:8px;font-size:11px;color:#526672;cursor:pointer}
#lmProjectionSimulator .sim-switch input{width:17px;height:17px;accent-color:#df4c8d;flex:none}
#lmProjectionSimulator .sim-switch strong{color:#a73571}
#lmProjectionSimulator .sim-switch span{margin-left:auto;font-weight:900;color:#7b8690;white-space:nowrap}
#lmProjectionSimulator .sim-detail{padding:10px 0;border-bottom:1px solid #f3e9ed;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#667985}
#lmProjectionSimulator .sim-detail b{color:#324453;white-space:nowrap;font-size:12px}
#lmProjectionSimulator .sim-detail.total{font-size:14px;font-weight:900;border-top:1px solid #e7dce2;margin-top:6px}
#lmProjectionSimulator .sim-detail.total b{font-size:16px;color:#b82f74}
#lmProjectionSimulator .sim-detail.excluded{color:#9e8593}
#lmProjectionSimulator .sim-detail.excluded b{text-decoration:line-through;color:#9e8593}
#lmProjectionSimulator .sim-insight{padding:13px 14px;background:#f7fafb;border-radius:12px;margin-top:13px;font-size:12px;color:#536e7b;line-height:1.5}
#lmProjectionSimulator .sim-breakdown h4{margin:17px 0 3px;font-weight:900;color:#8f3d67;font-size:12px;letter-spacing:.035em}
#lmProjectionSimulator .sim-breakdown h4:first-child{margin-top:0}
#lmProjectionSimulator .sim-foot{display:flex;justify-content:space-between;align-items:center;gap:10px 20px;flex-wrap:wrap;margin-top:16px;font-size:11px;color:#7e8e99}
#lmProjectionSimulator .sim-error{padding:15px;color:#a42f48}
@media(max-width:880px){#lmProjectionSimulator .sim-workspace{grid-template-columns:1fr}#lmProjectionSimulator .sim-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:470px){#lmProjectionSimulator .sim-ad-fields{grid-template-columns:1fr 1fr}#lmProjectionSimulator .sim-ad-fields label:last-child{grid-column:1/-1}#lmProjectionSimulator .sim-fields{grid-template-columns:1fr 1fr}#lmProjectionSimulator .sim-shell{padding:14px}#lmProjectionSimulator .sim-results{gap:7px}#lmProjectionSimulator .sim-metric{padding:10px}}