.mesh-simulator-wrap{background:var(--color-surface);border:1px solid var(--border-hairline);box-shadow:var(--shadow-card-hover);border-radius:16px;padding:2rem 2.5rem 2.5rem;transition:background-color .2s,border-color .2s}html[data-theme=dark] .mesh-simulator-wrap{background:#090e1a;border-color:#ffffff1a;box-shadow:0 20px 40px #00000080}.mesh-sim-head{max-width:820px;margin-bottom:1.5rem}.sim-badge{font-family:var(--font-mono);color:#0284c7;background:#0284c714;border:1px solid #0284c740;border-radius:4px;margin-bottom:.75rem;padding:.25rem .65rem;font-size:.72rem;font-weight:700;display:inline-block}html[data-theme=dark] .sim-badge{color:#38bdf8;background:#38bdf81a;border-color:#38bdf840}.sim-title{color:var(--color-navy);margin-bottom:.5rem;font-size:clamp(1.4rem,2.5vw,1.85rem);font-weight:800;line-height:1.25}html[data-theme=dark] .sim-title{color:#fff}.sim-desc{color:var(--color-slate-500);font-size:.95rem;line-height:1.5}html[data-theme=dark] .sim-desc{color:#94a3b8}.sim-presets-bar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.sim-presets-label{font-family:var(--font-mono);color:var(--color-slate-400);letter-spacing:.05em;font-size:.68rem;font-weight:700}.sim-preset-pills{background:var(--color-slate-100);border:1px solid var(--border-hairline);border-radius:9999px;gap:.4rem;padding:4px;display:flex}html[data-theme=dark] .sim-preset-pills{background:#0f172ab3;border-color:#ffffff14}.preset-pill{font-family:var(--font-sans);color:var(--color-slate-500);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:9999px;align-items:center;gap:.4rem;padding:.4rem .85rem;font-size:.78rem;font-weight:600;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex}html[data-theme=dark] .preset-pill{color:#94a3b8}.preset-pill:hover{color:var(--color-charcoal)}html[data-theme=dark] .preset-pill:hover{color:#fff}.preset-pill.pill-risk.active{color:#e11d48;background:#fff1f2;box-shadow:0 1px 4px #f43f5e33}html[data-theme=dark] .preset-pill.pill-risk.active{color:#fb7185;background:#f43f5e33}.preset-pill.pill-compare.active{color:#0284c7;background:#fff;box-shadow:0 1px 4px #00000014}html[data-theme=dark] .preset-pill.pill-compare.active{color:#38bdf8;background:#38bdf833}.preset-pill.pill-safe.active{color:#059669;background:#f0fdf4;box-shadow:0 1px 4px #10b98133}html[data-theme=dark] .preset-pill.pill-safe.active{color:#34d399;background:#10b98133}.split-slider-container{border:1px solid var(--border-hairline);background:#f8fafc;border-radius:12px;height:400px;position:relative;overflow:hidden}html[data-theme=dark] .split-slider-container{background:#060912;border-color:#ffffff1f}.split-pane{width:100%;height:100%;position:absolute;inset:0}.pane-before{background:#fff1f2}html[data-theme=dark] .pane-before{background:#0c0f1a}.pane-after{background:#f0fdf4}html[data-theme=dark] .pane-after{background:#081525}.pane-content{flex-direction:column;justify-content:space-between;height:100%;padding:1.5rem;display:flex}.pane-flag{font-family:var(--font-mono);border-radius:4px;align-items:center;gap:.5rem;width:fit-content;padding:.35rem .8rem;font-size:.72rem;font-weight:700;display:inline-flex}.flag-rose{color:#e11d48;background:#f43f5e1f;border:1px solid #f43f5e40}html[data-theme=dark] .flag-rose{color:#fb7185;background:#f43f5e26;border-color:#f43f5e4d}.flag-dot{background:#f43f5e;border-radius:50%;width:6px;height:6px}.flag-emerald{color:#059669;background:#10b9811f;border:1px solid #10b98140}html[data-theme=dark] .flag-emerald{color:#34d399;background:#10b98126;border-color:#10b9814d}.flag-dot-green{background:#10b981;border-radius:50%;width:6px;height:6px}.cards-stack{grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem;display:grid}.sim-card{border-radius:8px;flex-direction:column;justify-content:space-between;height:255px;padding:1.25rem;display:flex}.card-risk{background:#fffffff2;border:1px solid #f43f5e40;box-shadow:0 2px 8px #f43f5e0f}html[data-theme=dark] .card-risk{box-shadow:none;background:#f43f5e0d;border-color:#f43f5e33}.card-safe{background:#fffffff2;border:1px solid #10b9814d;box-shadow:0 2px 8px #10b9810f}html[data-theme=dark] .card-safe{box-shadow:none;background:#10b9810d;border-color:#10b98140}.card-top{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.risk-label,.safe-label{color:var(--color-navy);font-size:.95rem;font-weight:700}html[data-theme=dark] .risk-label,html[data-theme=dark] .safe-label{color:#fff}.risk-tag{font-family:var(--font-mono);color:#e11d48;background:#f43f5e1f;border-radius:3px;padding:2px 6px;font-size:.65rem}html[data-theme=dark] .risk-tag{color:#fb7185;background:#f43f5e26}.safe-tag{font-family:var(--font-mono);color:#059669;background:#10b9811f;border-radius:3px;padding:2px 6px;font-size:.65rem}html[data-theme=dark] .safe-tag{color:#34d399;background:#10b98126}.sim-card p{color:var(--color-slate-700);font-size:.85rem;line-height:1.45}html[data-theme=dark] .sim-card p{color:#94a3b8}.risk-foot,.safe-foot{font-family:var(--font-mono);border-top:1px solid #0f172a0f;padding-top:.6rem;font-size:.72rem;font-weight:600}html[data-theme=dark] .risk-foot,html[data-theme=dark] .safe-foot{border-top-color:#ffffff0f}.slider-divider{pointer-events:none;z-index:10;background:#0284c7;width:2px;transition:opacity .15s;position:absolute;top:0;bottom:0;transform:translate(-50%)}html[data-theme=dark] .slider-divider{background:#38bdf8}.divider-handle{color:#fff;font-family:var(--font-mono);white-space:nowrap;pointer-events:none;z-index:15;background:#0284c7;border:2px solid #fff;border-radius:9999px;justify-content:center;align-items:center;padding:.35rem .65rem;font-size:.65rem;font-weight:700;transition:left 50ms ease-out;display:flex;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 15px #0284c799}html[data-theme=dark] .divider-handle{border-color:#060912}.slider-invisible-input{opacity:0;cursor:ew-resize;z-index:20;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.mesh-sim-footer{font-family:var(--font-mono);color:var(--color-slate-400);margin-top:1rem;font-size:.72rem}.footer-hint{justify-content:space-between;align-items:center;display:flex}.hint-btn{font-family:var(--font-mono);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 6px;font-size:.72rem;font-weight:600;transition:opacity .2s}.hint-btn:hover{opacity:.8;text-decoration:underline}.hint-btn-rose{color:#e11d48}html[data-theme=dark] .hint-btn-rose{color:#fb7185}.hint-btn-emerald{color:#059669}html[data-theme=dark] .hint-btn-emerald{color:#34d399}@keyframes simFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (width<=768px){.mesh-simulator-wrap{border-radius:12px;padding:1.5rem 1rem}.sim-presets-bar{flex-direction:column;align-items:stretch;gap:.5rem;margin-bottom:1rem}.sim-presets-label{display:none}.sim-preset-pills{border-radius:8px;grid-template-columns:1fr 1fr;width:100%;padding:3px;display:grid}.desktop-only{display:none!important}.preset-pill{border-radius:6px;justify-content:center;padding:.65rem .5rem;font-size:.75rem}.split-slider-container{background:0 0!important;border:none!important;height:auto!important;overflow:visible!important}.slider-divider,.divider-handle,.slider-invisible-input,.mesh-sim-footer{display:none!important}.split-pane{border:1px solid var(--border-hairline);border-radius:12px;padding:1rem;clip-path:none!important;width:100%!important;height:auto!important;position:relative!important;inset:auto!important}.pane-mobile-hidden{display:none!important}.pane-mobile-visible{animation:.25s ease-out simFadeIn;display:block!important}.pane-content{height:auto!important;padding:0!important}.cards-stack{grid-template-columns:1fr!important;gap:.75rem!important;margin-top:.85rem!important}.sim-card{gap:.5rem;height:auto!important;min-height:auto!important;padding:1rem!important}.sim-card p{font-size:.85rem;line-height:1.45}}
