.mona-simulation-dialog{display:flex;flex-direction:column;gap:0;width:calc(100vw - 32px);max-width:1050px!important;max-height:90dvh;padding:0;overflow:hidden;background:#fff;color:#17223b;border:1px solid #e2e8f0;border-radius:16px}
.mona-simulation-header{padding:24px 52px 20px 24px;border-bottom:1px solid #eef2f6}
.mona-simulation-eyebrow{font-size:12px;color:#64748b;margin-bottom:5px}
.mona-simulation-title{font-size:22px;font-weight:600;line-height:1.3;color:#0a1740}
.mona-simulation-description{font-size:14px;line-height:1.5;color:#64748b;margin-top:6px}
.mona-simulation-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px}
.mona-simulation-safe{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:8px;background:#eff6ff;color:#1448ac;font-size:13px;line-height:1.5}
.mona-simulation-safe svg{flex:none}
.mona-simulation-context{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid #eef2f6}
.mona-simulation-context h3,.mona-simulation-context strong{font-size:14px;font-weight:600;display:block;line-height:1.5}
.mona-simulation-context p,.mona-simulation-context span{display:block;font-size:13px;color:#64748b;margin-top:3px}
.mona-simulation-context>div:last-child{text-align:right}
.mona-simulation-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:12px 14px;font-size:13px;line-height:1.6;border-radius:8px;margin-top:16px}
.mona-simulation-empty{padding:32px 8px;text-align:center;font-size:14px;line-height:1.6;color:#64748b}
.mona-simulation-empty h3{font-size:16px;font-weight:600;color:#17223b;margin-bottom:8px}
.mona-simulation-empty p{max-width:560px;margin:0 auto}
.mona-simulation-progress{display:flex;align-items:center;justify-content:center;gap:12px;padding:30px 12px;color:#0055ff;font-size:14px}
.mona-simulation-progress strong{font-weight:600}
.mona-simulation-progress p{font-size:13px;color:#64748b;margin-top:4px}
.mona-simulation-run-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#64748b;margin-top:20px}
.mona-simulation-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:24px 0 14px;margin:0}
.mona-simulation-kpis dt{font-size:12px;color:#64748b;line-height:1.5}
.mona-simulation-kpis dd{font-size:24px;line-height:1.5;font-weight:600;margin:4px 0 0;color:#0a1740;font-variant-numeric:tabular-nums}
.mona-simulation-note{font-size:12px;color:#64748b;line-height:1.5;margin:0 0 18px}
.mona-simulation-ai{padding:18px 0;border-top:1px solid #eef2f6}
.mona-simulation-ai h3,.mona-simulation-policy h3,.mona-simulation-sync h3{font-size:14px;font-weight:600;color:#0a1740;line-height:1.5;margin:0 0 8px}
.mona-simulation-ai p,.mona-simulation-sync p{font-size:14px;line-height:1.65;white-space:pre-line;margin:0;color:#475569}
.mona-simulation-ai small,.mona-simulation-sync small{display:block;font-size:11px;color:#64748b;margin-top:10px}
.mona-simulation-quality{padding:14px 0;margin-bottom:16px;border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6;font-size:13px;color:#475569}
.mona-simulation-quality summary{cursor:pointer;min-height:24px;color:#17223b}
.mona-simulation-quality summary span{color:#64748b;margin-left:6px}
.mona-simulation-quality ul,.mona-simulation-detail ul{list-style:disc;padding-left:20px;margin-top:12px;line-height:1.7}
.mona-simulation-table-desktop{margin:8px 0 20px}
.mona-simulation-table-desktop th{font-size:12px;color:#64748b;background:#f8fafc;font-weight:500}
.mona-simulation-table-desktop td{font-size:13px;border-color:#eef2f6}
.mona-simulation-proposed{color:#0055ff;font-weight:600;font-variant-numeric:tabular-nums}
.mona-simulation-status{display:inline-flex;font-size:11px;line-height:1.5;padding:4px 8px;border-radius:6px;background:#f1f5f9;color:#475569;white-space:nowrap}
.mona-simulation-status[data-status=PROPOSED]{background:#eff6ff;color:#1448ac}
.mona-simulation-status[data-status=MISSING_DATA]{background:#fffbeb;color:#92400e}
.mona-simulation-explain{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#0055ff;min-height:40px;cursor:pointer;background:none;border:0}
.mona-simulation-explain:hover{color:#0044cc}
.mona-simulation-explain:focus-visible{outline:2px solid #0055ff;outline-offset:3px;border-radius:3px}
.mona-simulation-explain[aria-expanded=true] svg{transform:rotate(180deg)}
.mona-simulation-detail{font-size:12px;white-space:normal;padding:8px 12px 12px;color:#475569;background:#f8fafc;border-radius:6px}
.mona-simulation-detail dl{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:12px}
.mona-simulation-detail dt{font-size:11px;color:#64748b}
.mona-simulation-detail dd{font-weight:500;margin-top:2px}
.mona-simulation-policy{border-top:1px solid #eef2f6;padding:20px 0}
.mona-simulation-policy h3 span{font-size:11px;font-weight:400;color:#64748b;margin-left:8px}
.mona-simulation-policy dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:14px}
.mona-simulation-policy dt{font-size:12px;color:#64748b;line-height:1.5}
.mona-simulation-policy dd{font-size:14px;font-weight:500;margin-top:4px}
.mona-simulation-policy p{font-size:12px;color:#64748b;margin-top:14px}
.mona-simulation-sync{border-top:1px solid #eef2f6;padding:20px 0 4px}
.mona-simulation-footer{display:flex;justify-content:space-between;gap:12px;flex:none;padding:16px 24px;border-top:1px solid #e2e8f0;background:white}
.mona-simulation-footer button{min-height:40px}
.mona-simulation-primary{background:#0055ff!important;color:#fff!important;border-color:#0055ff!important}
.mona-simulation-primary:hover{background:#0044dd!important}
.mona-simulation-table-mobile{display:none}
.mona-simulation-market{padding:18px 0;border-top:1px solid #eef2f6;font-size:13px;line-height:1.6;color:#475569}
.mona-market-heading,.mona-market-quote-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.mona-market-heading h3{font-size:14px;font-weight:600;color:#0a1740;line-height:1.5;margin:0}
.mona-market-summary,.mona-market-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:14px 0}
.mona-market-summary dt,.mona-market-prices dt{font-size:12px;color:#64748b}
.mona-market-summary dd,.mona-market-prices dd{font-size:13px;font-weight:600;color:#17223b;margin:3px 0 0;overflow-wrap:anywhere}
.mona-market-note,.mona-market-dates{font-size:12px;line-height:1.6;color:#64748b;margin:8px 0}
.mona-market-reasons{list-style:disc;padding-left:20px;margin:10px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.mona-market-quotes>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;color:#17223b;font-size:13px;font-weight:500}
.mona-market-quotes>summary span{font-weight:400;color:#64748b}
.mona-market-quotes>summary:focus-visible,.mona-market-source:focus-visible{outline:2px solid #0055ff;outline-offset:3px}
.mona-market-quote{padding:14px 0;border-top:1px solid #eef2f6;min-width:0}
.mona-market-quote h4{font-size:13px;font-weight:600;color:#17223b;margin:0;overflow-wrap:anywhere}
.mona-market-source{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#0055ff;text-decoration:underline;text-underline-offset:3px}
.mona-market-quote .mona-simulation-status{white-space:normal}
.mona-market-quote [data-status=VERIFIED_NIGHTLY]{background:#ecfdf5;color:#065f46}
.mona-market-quote [data-status=EXCLUDED]{background:#fff7ed;color:#9a3412}
@media(max-width:640px){
 .mona-simulation-dialog{width:calc(100vw - 16px);max-height:94dvh;border-radius:12px}
 .mona-simulation-header{padding:20px 42px 16px 16px}
 .mona-simulation-title{font-size:20px}
 .mona-simulation-body{padding:16px}
 .mona-simulation-context{flex-direction:column;gap:12px;padding:18px 0}
 .mona-simulation-context>div:last-child{text-align:left}
 .mona-simulation-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 .mona-simulation-kpis dd{font-size:22px}
 .mona-simulation-table-desktop{display:none}
 .mona-simulation-table-mobile{display:block;margin-bottom:20px}
 .mona-simulation-table-mobile article{padding:16px 0;border-bottom:1px solid #eef2f6}
 .mona-simulation-mobile-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
 .mona-simulation-mobile-row strong{font-weight:600}
 .mona-simulation-table-mobile article>dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 2px}
 .mona-simulation-table-mobile dt{font-size:11px;color:#64748b}
 .mona-simulation-table-mobile dd{font-size:14px;margin-top:3px;font-variant-numeric:tabular-nums}
 .mona-simulation-policy dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mona-market-summary,.mona-market-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .mona-simulation-footer{padding:14px 16px;gap:8px}
 .mona-simulation-footer button{font-size:12px;min-height:44px;padding-left:12px;padding-right:12px}
}
