
:root{color-scheme:dark;--bg:#080908;--panel:#0d0f0e;--line:#292d2a;--muted:#969d98;--text:#f4f5f2;--accent:#f4f1e8;--user:#e9f4ff;--assistant:#151816}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-height:100vh}a{color:inherit}button,textarea,select{font:inherit}button,a,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #bbd3bd;outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.45}

.chat-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.chat-sidebar{box-sizing:border-box;height:100vh;height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;gap:32px;min-width:0;padding:26px 18px 20px;background:#0d0f0e;border-right:1px solid #292d2a;overflow-y:auto;z-index:20;color:#f4f5f2;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.chat-sidebar [hidden]{display:none!important}.chat-sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-sidebar-close{display:none;background:transparent;color:#c4c9c5;border:1px solid #343936;border-radius:6px;width:28px;height:28px;padding:0;flex:none;font-size:20px;cursor:pointer}.chat-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-size:18px;letter-spacing:-.035em;min-width:0}.chat-brand img{width:28px;height:28px;flex:none;filter:invert(1)}.chat-side-nav{display:grid;gap:7px}.chat-side-nav a,.chat-side-nav button{box-sizing:border-box;display:flex;align-items:center;gap:12px;text-decoration:none;color:#c4c9c5;font:inherit;font-size:14px;padding:12px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.chat-side-nav a[aria-current=page]{background:#1c211d;color:#fff}.chat-side-nav [data-chat-new]{border-color:#353c36;color:#f4f5f2;margin-bottom:9px}.chat-side-nav a:hover,.chat-side-nav button:hover{background:#202521}.chat-nav-icon{width:18px;font-size:18px;text-align:center;line-height:1}.chat-sidebar-note{margin:0;color:#737d75;font-size:12px;line-height:1.6}.chat-account{margin-top:auto;padding-top:18px;border-top:1px solid #292d2a;font-size:12px;line-height:1.5;min-width:0}.chat-account p{margin:0 0 12px;color:#969d98}.chat-google{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 10px;border:1px solid #454d46;border-radius:10px;text-decoration:none;color:#f4f5f2;font-size:13px;font-weight:550}.chat-google:hover{background:#202521}.chat-google-mark{font-size:17px;font-weight:750}.chat-account-name{font-size:14px;font-weight:600;margin-bottom:4px;overflow-wrap:anywhere}.chat-account-email{color:#969d98;overflow-wrap:anywhere}.chat-account-access{margin-top:10px;color:#bbd3bd}.chat-admin-badge{display:inline-block;margin-bottom:10px;border:1px solid #4a624b;border-radius:5px;padding:2px 7px;color:#c6e6c8;font-size:10px;letter-spacing:.06em;text-transform:uppercase}.chat-logout{padding:0;margin-top:14px;background:none;border:0;color:#aab3ad;font:inherit;font-size:12px;cursor:pointer}.chat-logout:hover{color:#fff}.chat-auth-notice{margin-top:12px;color:#e6bfa2;overflow-wrap:anywhere}.chat-workspace{min-width:0}.chat-header{box-sizing:border-box;height:74px;border-bottom:1px solid #292d2a;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 32px;position:sticky;top:0;background:rgba(8,9,8,.94);backdrop-filter:blur(16px);z-index:5;color:#f4f5f2;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.chat-header-title{font-size:12px;font-weight:650;letter-spacing:.15em}.chat-header-note{font-size:12px;color:#969d98}.chat-header-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.chat-menu-toggle{display:none;background:none;color:#fff;border:1px solid #343936;border-radius:8px;padding:8px 10px;font:inherit;font-size:13px;cursor:pointer}.chat-backdrop{display:none}.chat-privacy-link{display:block;width:fit-content;margin-top:16px;color:#969d98;font-size:11px;text-decoration:none}.chat-privacy-link:hover{color:#fff}.chat-sidebar a:focus-visible,.chat-sidebar button:focus-visible,.chat-header button:focus-visible{outline:2px solid #bbd3bd;outline-offset:4px}.chat-sidebar button:disabled{cursor:wait;opacity:.45}
@media(max-width:760px){.chat-shell{grid-template-columns:minmax(0,1fr)}.chat-sidebar{position:fixed;inset:0 auto 0 0;width:min(280px,calc(100vw - 44px));visibility:hidden;transform:translateX(-100%);transition:transform .18s ease}.chat-shell[data-sidebar-open=true] .chat-sidebar{visibility:visible;transform:translateX(0)}.chat-shell[data-sidebar-open=true] .chat-backdrop{display:block;position:fixed;inset:0;border:0;background:rgba(0,0,0,.65);z-index:15}.chat-menu-toggle{display:block}.chat-sidebar-close{display:block}.chat-header{padding:0 14px;height:64px;justify-content:flex-start}.chat-header-note{display:none}.chat-header-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.chat-sidebar{transition:none}}


.simulation-card{scroll-margin-top:90px;align-self:stretch;max-width:100%;width:100%;border:1px solid #33423a;border-radius:18px;overflow:hidden;background:#101713;white-space:normal}.simulation-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 14px}.simulation-kicker{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#94b8a2}.simulation-card h2{font-size:21px;font-weight:500;letter-spacing:-.025em;margin:5px 0 0}.simulation-card-subtitle{font-size:12px;color:#9dacA3;margin:8px 0 0;line-height:1.55}.simulation-state{font-size:10px;color:#c4d7cb;border:1px solid #3b5143;border-radius:999px;padding:5px 8px;white-space:nowrap}.simulation-visual{background:#08120e;position:relative;border-top:1px solid #263c2f;border-bottom:1px solid #263c2f;padding:16px;display:flex;justify-content:center}.simulation-visual canvas{display:block;width:min(100%,400px);height:auto;aspect-ratio:1;border-radius:5px}.simulation-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:11px 16px;font-size:10px;color:#a5b4a9;font-variant-numeric:tabular-nums}.simulation-legend-bar{height:5px;border-radius:3px;width:130px;background:linear-gradient(90deg,#166ebd,#e9f0e9,#f1883d)}.simulation-playback{display:flex;align-items:center;gap:12px;padding:6px 22px 14px}.simulation-playback button,.simulation-retry{background:#213c2c;color:#e4f2e9;border:1px solid #42634f;border-radius:7px;padding:8px 10px;font-size:11px;white-space:nowrap}.simulation-playback input{accent-color:#b7d9c3;min-width:40px;flex:1}.simulation-frame-label{min-width:70px;text-align:right;font-size:11px;color:#b7c6bc;font-variant-numeric:tabular-nums}.simulation-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:8px 22px 18px}.simulation-metric span{display:block;font-size:10px;color:#8ca494;margin-bottom:5px}.simulation-metric strong{display:block;font-size:15px;font-weight:500;color:#e3eee7;font-variant-numeric:tabular-nums}.simulation-caption{margin:0;padding:0 22px 16px;font-size:11px;line-height:1.6;color:#9aada1}.simulation-details{border-top:1px solid #2b3c31;padding:13px 22px 16px;color:#8fa599;font-size:11px;line-height:1.6}.simulation-details summary{cursor:pointer;width:fit-content}.simulation-details dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:7px;margin:12px 0}.simulation-details dt{color:#a8beb0}.simulation-details dd{margin:0;overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:10px}.simulation-details a{color:#b3d9c1;text-underline-offset:3px}.simulation-error{padding:17px 22px;border-top:1px solid #42332b;color:#d9b7a5;font-size:13px;line-height:1.6}.simulation-error p{margin:0 0 12px}.simulation-pending{padding:20px 22px;color:#a5b7ab;font-size:13px;line-height:1.7}.simulation-condition-grid{display:flex;flex-wrap:wrap;gap:7px;padding:0 22px 16px}.simulation-condition-grid span{font-size:11px;color:#bfd1c5;border:1px solid #314539;border-radius:7px;padding:6px 9px;background:#17261c}.simulation-pending small{display:block;color:#718b7a;font-size:11px}.simulation-running-mark{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b5d3bf;margin-right:9px;box-shadow:0 0 12px #8fae9c66}
@media(max-width:540px){.simulation-card-head{padding:17px 16px 12px}.simulation-card h2{font-size:19px}.simulation-state{font-size:9px}.simulation-playback{padding:6px 14px 14px;gap:8px}.simulation-metrics{padding:8px 16px 16px;gap:9px}.simulation-metric strong{font-size:13px}.simulation-metric span{font-size:9px}.simulation-caption{padding:0 16px 14px}.simulation-details{padding:12px 16px}.simulation-details dl{grid-template-columns:90px minmax(0,1fr)}}
.simulation-fluid-visual{padding:0;overflow:hidden;background:#08151a}.simulation-fluid-visual canvas{width:min(100%,640px);max-width:100%;aspect-ratio:8/5;border-radius:0;cursor:grab;touch-action:none;outline-offset:-4px}.simulation-fluid-visual canvas:active{cursor:grabbing}.simulation-fluid-view{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 22px;color:#9eb2ba;font-size:11px}.simulation-fluid-view button{border:1px solid #344951;border-radius:6px;background:#11242d;color:#c9dee8;font-size:11px;padding:6px 10px}.simulation-fluid-visual canvas:focus-visible{outline:2px solid #a7cee0}.simulation-fluid-card .simulation-frame-label{min-width:88px}.simulation-fluid-card .simulation-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:540px){.simulation-fluid-view{padding:10px 16px;gap:8px;font-size:10px}.simulation-fluid-card .simulation-playback{flex-wrap:wrap}.simulation-fluid-card .simulation-playback input{min-width:80px}}

.simulation-flow-card .simulation-visual canvas{width:100%;max-width:1200px;aspect-ratio:8/5}.simulation-flow-legend-bar{height:7px;border-radius:4px;width:160px;background:linear-gradient(90deg,#2278dc,#27bcdf,#31d5ac,#dce36c,#f7b447,#ff7552)}.simulation-flow-card .simulation-legend{padding:13px 18px}.simulation-flow-card .simulation-fluid-view{flex-wrap:wrap}.simulation-flow-card .simulation-caption{color:#aabcb3}.simulation-flow-card .simulation-frame-label{min-width:125px}.simulation-flow-empty{padding:20px;color:#b2c3bc}.simulation-flow-card canvas{user-select:none;touch-action:none;cursor:grab}.simulation-flow-card canvas:active{cursor:grabbing}.simulation-flow-density{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}.simulation-flow-density select{font:inherit;color:#e1eae5;background:#15201e;border:1px solid #42544b;border-radius:7px;padding:7px 28px 7px 10px}.simulation-flow-card .simulation-fluid-view{gap:10px}@media(max-width:540px){.simulation-flow-card .simulation-frame-label{min-width:105px;font-size:10px}.simulation-flow-card .simulation-legend{gap:8px;font-size:9px}}

.chat-zo-card .zo-advanced{border-top:1px solid #2c4233;margin:0 0 18px;padding-top:14px}.chat-zo-card .zo-advanced>summary{margin:0 22px 16px;cursor:pointer;color:#b1cbb9;font-size:14px}.chat-zo-card .zo-advanced[open]>summary{margin-bottom:18px}.chat-zo-card .zo-advanced:not([open])>:not(summary){display:none}
.chat-zo-card{width:100%;max-width:100%;min-width:0;align-self:stretch;border:1px solid #33483b;border-radius:18px;background:#101713;overflow:hidden;white-space:normal;scroll-margin-top:90px}
.chat-zo-card [hidden]{display:none!important}.chat-zo-card *{box-sizing:border-box}.chat-zo-card button,.chat-zo-card input,.chat-zo-card select{font:inherit}.chat-zo-card button:focus-visible,.chat-zo-card input:focus-visible,.chat-zo-card select:focus-visible,.chat-zo-card summary:focus-visible{outline:2px solid #bbd3bd;outline-offset:4px}
.chat-zo-card .zo-head{padding:20px 22px 16px;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.chat-zo-card .zo-kicker{margin:0 0 7px;font-size:10px;letter-spacing:.12em;color:#9db9a7;font-weight:600}.chat-zo-card h2{margin:0;color:#edf4ef;font-size:22px;letter-spacing:-.03em;font-weight:500}.chat-zo-card .zo-subtitle{margin:8px 0 0;color:#9db0a4;font-size:12px;line-height:1.7}.chat-zo-card .zo-badge{border:1px solid #415a49;border-radius:999px;padding:5px 9px;color:#c6dacc;font-size:10px;white-space:nowrap}
.chat-zo-card .zo-setup{margin:0 22px 16px;padding:12px 14px;border:1px solid #304537;border-radius:9px;background:#14221a;display:grid;grid-template-columns:100px minmax(0,1fr);gap:7px 12px;font-size:11px;line-height:1.6}.chat-zo-card .zo-setup dt{color:#9ab3a2}.chat-zo-card .zo-setup dd{margin:0;color:#d0e0d5;overflow-wrap:anywhere}
.chat-zo-card .zo-proposal-note{padding:0 22px 15px;margin:0;color:#99b09f;font-size:12px;line-height:1.7}.chat-zo-card .zo-issues{margin:0 22px 16px;padding:13px 15px;border:1px solid #69513a;border-radius:8px;background:#271f15;color:#d9c5a6;font-size:12px;line-height:1.6}.chat-zo-card .zo-issues p{margin:0 0 9px}.chat-zo-card .zo-issues ul{margin:0;padding-left:18px}.chat-zo-card .zo-issues li+li{margin-top:6px}.chat-zo-card .zo-issues small{display:block;color:#b29c7e;font-size:11px;overflow-wrap:anywhere}
.chat-zo-card .zo-form{margin:0}.chat-zo-card .zo-fields{border:0;padding:0 22px 16px;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 12px;min-width:0}.chat-zo-card .zo-fixed-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:3px}.chat-zo-card .zo-field{display:block;min-width:0;color:#b0c4b7;font-size:11px;line-height:1.5}.chat-zo-card .zo-field-label{display:flex;align-items:center;justify-content:space-between;gap:6px}.chat-zo-card .zo-provenance{font-size:9px;color:#789a86;font-weight:400}.chat-zo-card .zo-field input,.chat-zo-card .zo-field select{display:block;width:100%;min-width:0;height:39px;margin-top:6px;border:1px solid #36513e;border-radius:7px;padding:7px 9px;background:#14261a;color:#e0ece3;font-size:12px;font-variant-numeric:tabular-nums}.chat-zo-card .zo-field input{appearance:textfield;-moz-appearance:textfield}.chat-zo-card .zo-field input::-webkit-inner-spin-button{appearance:none}.chat-zo-card input:disabled,.chat-zo-card select:disabled{opacity:.5}.chat-zo-card .zo-section-label{margin:0 22px 11px;font-size:11px;color:#849d8d}
.chat-zo-card .zo-accept{display:flex;align-items:flex-start;gap:10px;margin:0 22px 16px;color:#d4c09c;font-size:12px;line-height:1.6}.chat-zo-card .zo-accept input{margin-top:4px;accent-color:#a5c4af;flex:none}.chat-zo-card .zo-actions{padding:0 22px 18px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-zo-card .zo-button{border:1px solid #405847;border-radius:999px;background:#1a2c20;color:#cbdfd1;padding:9px 13px;font-size:12px;min-height:37px;cursor:pointer}.chat-zo-card .zo-primary{background:#f4f1e8;border-color:#f4f1e8;color:#101610;font-weight:650}.chat-zo-card .zo-button:disabled{cursor:default;opacity:.4}.chat-zo-card .zo-button[aria-disabled=true]{opacity:.5}.chat-zo-card .zo-quiet{border-color:transparent;background:transparent;color:#96b0a0}
.chat-zo-card .zo-status{border-top:1px solid #2c4233;background:#132119;padding:11px 22px;font-size:12px;line-height:1.7;color:#a8c1b1}.chat-zo-card .zo-error{padding:13px 22px;color:#ebbaa5;background:#2b1f19;font-size:12px;line-height:1.6}
.chat-zo-card .zo-results{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #2c4233}.chat-zo-card .zo-panel{padding:18px;min-width:0}.chat-zo-card .zo-panel:first-child{border-right:1px solid #2c4233;background:#0b160f}.chat-zo-card .zo-panel h3{margin:0 0 13px;color:#d0e2d6;font-size:12px;font-weight:500}.chat-zo-card .zo-field-visual,.chat-zo-card .zo-loss-visual{position:relative;overflow:hidden;border:1px solid #2c4233;border-radius:8px;background:#0c180f}.chat-zo-card .zo-field-visual{aspect-ratio:1}.chat-zo-card canvas{display:block;width:100%;height:100%}.chat-zo-card .zo-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;margin:0;padding:20px;font-size:12px;color:#799c87;line-height:1.7;background:radial-gradient(ellipse at center,#1a3020,#0d1a12 75%)}
.chat-zo-card .zo-legend{display:grid;grid-template-columns:60px minmax(25px,1fr) 60px;gap:8px;align-items:center;margin-top:12px;font-size:10px;color:#abc6b5;font-variant-numeric:tabular-nums}.chat-zo-card .zo-legend span:last-child{text-align:right}.chat-zo-card .zo-legend-bar{height:6px;border-radius:5px;background:linear-gradient(90deg,#166ebd,#e9f0e9,#f1883d)}.chat-zo-card .zo-caption{font-size:11px;color:#88a993;line-height:1.7;margin:12px 0 0}.chat-zo-card .zo-loss-visual{aspect-ratio:560/300}
.chat-zo-card .zo-metrics{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:14px 0;border-bottom:1px solid #2c4233}.chat-zo-card .zo-metrics span{display:block;color:#8fac98;font-size:10px;line-height:1.6}.chat-zo-card .zo-metrics strong{display:block;margin-top:5px;color:#dcebe0;font-size:17px;font-weight:450;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.chat-zo-card .zo-residuals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 10px;margin:14px 0 0;font-size:11px;color:#94b2a0;line-height:1.6}.chat-zo-card .zo-residuals dd{margin:0;color:#d0e3d7;text-align:right;font-variant-numeric:tabular-nums}.chat-zo-card .zo-residuals dt{min-width:0}
.chat-zo-card .zo-method{border-top:1px solid #2c4233;padding:14px 22px;font-size:11px;color:#8daa96;line-height:1.8}.chat-zo-card .zo-method summary{cursor:pointer;color:#aec9b8}.chat-zo-card .zo-method p{margin:11px 0 0}.chat-zo-card .zo-method dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:6px 10px;margin:12px 0}.chat-zo-card .zo-method dd{margin:0;overflow-wrap:anywhere}.chat-zo-card .zo-method dt{color:#adc8b8}
@media(max-width:760px){.chat-zo-card .zo-results{grid-template-columns:1fr}.chat-zo-card .zo-panel:first-child{border-right:0;border-bottom:1px solid #2c4233}.chat-zo-card .zo-field-visual{width:min(100%,420px);margin:0 auto}.chat-zo-card .zo-head{padding:18px 16px 15px}.chat-zo-card h2{font-size:20px}.chat-zo-card .zo-kicker{font-size:9px}.chat-zo-card .zo-setup{margin-left:16px;margin-right:16px;grid-template-columns:87px minmax(0,1fr);font-size:11px}.chat-zo-card .zo-fields{padding-left:16px;padding-right:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.chat-zo-card .zo-fixed-fields{grid-template-columns:1fr}.chat-zo-card .zo-proposal-note,.chat-zo-card .zo-actions{padding-left:16px;padding-right:16px}.chat-zo-card .zo-issues,.chat-zo-card .zo-accept{margin-left:16px;margin-right:16px}.chat-zo-card .zo-section-label{margin-left:16px}.chat-zo-card .zo-status,.chat-zo-card .zo-error,.chat-zo-card .zo-method{padding-left:16px;padding-right:16px}.chat-zo-card .zo-panel{padding:16px}.chat-zo-card .zo-metrics span{font-size:11px}.chat-zo-card .zo-residuals{font-size:11px}.chat-zo-card .zo-method dl{grid-template-columns:110px minmax(0,1fr)}}
.chat-zo-card{font-size:16px}.chat-zo-card .zo-math{padding:0 22px 16px;color:#c7dfcf}.chat-zo-card .zo-equation{font-size:28px;line-height:1.4;margin:0 0 9px;color:#edf5ef;font-weight:450;letter-spacing:-.02em}.chat-zo-card .zo-variables{font-size:16px;line-height:1.7;margin:0;color:#b1cbb9}.chat-zo-card .zo-subtitle,.chat-zo-card .zo-proposal-note,.chat-zo-card .zo-issues,.chat-zo-card .zo-accept,.chat-zo-card .zo-status,.chat-zo-card .zo-error{font-size:16px}.chat-zo-card .zo-setup{font-size:16px;grid-template-columns:110px minmax(0,1fr)}.chat-zo-card .zo-field{font-size:16px}.chat-zo-card .zo-field input,.chat-zo-card .zo-field select{font-size:16px;height:46px}.chat-zo-card .zo-provenance{font-size:12px}.chat-zo-card .zo-field-label{align-items:flex-start;flex-wrap:wrap}.chat-zo-card .zo-button{font-size:14px;min-height:42px}.chat-zo-card .zo-caption{font-size:14px}.chat-zo-card .zo-residuals{font-size:14px}.chat-zo-card .zo-metrics span{font-size:12px}.chat-zo-card .zo-method{font-size:13px}.chat-zo-card .zo-issues small{font-size:13px}
@media(max-width:760px){.chat-zo-card .zo-math{padding-left:16px;padding-right:16px}.chat-zo-card .zo-setup{grid-template-columns:95px minmax(0,1fr);font-size:16px}.chat-zo-card .zo-setup dd{overflow-wrap:anywhere}.chat-zo-card .zo-fields:not(.zo-fixed-fields)>.zo-field:first-child{grid-column:1/-1}}
.chat-zo-card .pde-spec{width:100%;min-height:200px;background:#101b14;color:#dde9df;border:1px solid #405747;padding:12px;font:13px/1.5 ui-monospace,monospace}.chat-zo-card .pde-output{padding:0 22px 20px}.chat-zo-card .pde-output canvas{width:100%;height:auto;max-height:350px}.chat-zo-card .pde-stats{white-space:pre-wrap;font-size:14px;line-height:1.8;color:#c3d8c9}.chat-zo-card .pde-equation{font-size:22px;overflow-wrap:anywhere;white-space:pre-wrap}.chat-zo-card .pde-info{white-space:pre-wrap;font-size:15px;line-height:1.7}


.risk-heat-y{position:relative}.risk-heat-y span{position:absolute;right:0;transform:translateY(-50%)}.risk-heat-y span:first-child{transform:none}.risk-heat-y span:last-child{transform:translateY(-100%)}.risk-heat-x{position:relative;height:14px}.risk-heat-x span{position:absolute;transform:translateX(-50%)}.risk-heat-x span:first-child{transform:none}.risk-heat-x span:last-child{transform:translateX(-100%)}
.risk-cost-signed{display:block;width:100%;height:36px}.risk-cost-size-note{font-size:10px!important;line-height:1.6!important;color:#9fb5a7!important}
.risk-lab{--risk-green:#a9dcb3;--risk-loss:#e8a48f;--risk-ink:#f3f3e9;--risk-muted:#94a89a;--risk-line:#2a3b30;width:100%;margin-top:22px;color:var(--risk-ink);font-variant-numeric:tabular-nums}.risk-lab *{box-sizing:border-box}.risk-lab-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.risk-lab-eyebrow{font-size:10px;font-weight:650;letter-spacing:.2em;color:#aec8b5}.risk-lab-mode{font-size:10px;letter-spacing:.09em;padding:6px 9px;border:1px solid #38503e;border-radius:999px;color:#b5cbb9}.risk-lab-kpis{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin:0 0 22px}.risk-lab-kpi{padding:0 0 0 16px;border-left:2px solid #395c44;min-width:0}.risk-lab-kpi small{display:block;font-size:12px;color:#a2b5a8;margin-bottom:8px}.risk-lab-kpi strong{display:block;font-size:clamp(27px,4.4vw,42px);font-weight:450;letter-spacing:-.045em;line-height:1.1;overflow-wrap:anywhere}.risk-lab-kpi span{display:block;font-size:11px;color:#859d8b;margin-top:8px;line-height:1.5}.risk-lab [data-tone=positive]{color:var(--risk-green)}.risk-lab [data-tone=negative]{color:var(--risk-loss)}.risk-heat-shell{padding:20px 20px 16px;background:radial-gradient(ellipse at 30% 0%,#14271b 0%,#0b1510 75%);border:1px solid #304738;border-radius:14px;min-width:0}.risk-heat-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:16px}.risk-heat-title strong{font-size:14px;font-weight:500}.risk-heat-title span{font-size:10px;color:#839b8b;text-align:right}.risk-heat-grid{display:grid;grid-template-columns:35px minmax(0,1fr);gap:0 9px;min-width:0}.risk-heat-y{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;text-align:right;color:#9ab0a1;padding:0 0 1px}.risk-heat-map{position:relative;min-width:0}.risk-heat-map svg{display:block;width:100%;height:auto;aspect-ratio:5/3;overflow:visible;border-radius:5px;cursor:crosshair;touch-action:pan-y;outline-offset:4px}.risk-heat-map svg:focus-visible{outline:2px solid #e7efcf}.risk-heat-map svg .risk-zero-line{stroke:#fbf8df;stroke-width:1.8;stroke-dasharray:7 5;vector-effect:non-scaling-stroke;opacity:.8}.risk-heat-map svg .risk-crosshair{stroke:#eaf0d6;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:3 4;opacity:.55}.risk-heat-map svg .risk-selected-dot{stroke:#f5f3df;stroke-width:2;vector-effect:non-scaling-stroke;fill:#0a130e}.risk-heat-x{grid-column:2;display:flex;justify-content:space-between;font-size:10px;color:#9ab0a1;margin-top:8px}.risk-heat-axes{display:flex;justify-content:space-between;gap:12px;margin:10px 0 0 44px;color:#c2d0c6;font-size:11px}.risk-heat-key{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:15px 0 0 44px;font-size:10px;color:#9ab0a1}.risk-heat-gradient{height:5px;flex:1;max-width:200px;border-radius:999px;background:linear-gradient(90deg,#bd715d,#183423 50%,#96d7ab)}.risk-lab-controls{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0 13px}.risk-lab-control label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:12px;color:#adbdaf}.risk-lab-control output{color:#f2f3df;font-size:15px}.risk-lab-control input[type=range]{display:block;width:100%;margin:0;accent-color:#b9dcb5;height:22px;cursor:ew-resize}.risk-lab-control input[type=range]:disabled{opacity:.35;cursor:default}.risk-lab-selected{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;min-height:24px}.risk-lab-selected small{font-size:11px;color:#819b88}.risk-lab-reset{background:transparent;border:0;padding:5px 0;color:#c5d9ca;font-size:11px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.risk-lab-note{margin:10px 0!important;font-size:11px!important;color:#8da394!important;line-height:1.6!important}.risk-lab-reference{font-size:12px!important;line-height:1.6!important;color:#d9b99c!important;min-height:0}.risk-lab-reference:empty{display:none}.risk-lab-strategies{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}.risk-lab-strategy{padding:9px 13px;background:#111e16;border:1px solid #334d3b;border-radius:999px;font-size:12px;color:#b7cbbd;cursor:pointer}.risk-lab-strategy[aria-pressed=true]{background:#e3ead5;border-color:#e3ead5;color:#102017}.risk-lab-strategy[data-complete=false]{border-style:dashed}.risk-lab-strategy:focus-visible{outline:2px solid #d4e9b5;outline-offset:3px}.risk-lab-charts{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;margin-top:18px}.risk-lab-panel{min-width:0;border:1px solid #293f31;border-radius:12px;background:#0b140e;padding:17px}.risk-lab-panel h3{font-size:13px!important;font-weight:500;margin:0 0 5px!important;line-height:1.5}.risk-lab-panel>small{display:block;color:#82998a;font-size:10px;line-height:1.5;margin-bottom:18px}.risk-response-row{display:grid;grid-template-columns:75px minmax(0,1fr) 80px;gap:8px;align-items:center;margin:12px 0;min-height:22px;font-size:11px;color:#9fb4a7}.risk-response-row>strong{font-weight:450;text-align:right;color:#c5d5c9;font-size:11px}.risk-response-row[data-selected=true]{color:#f4f3df}.risk-response-row[data-selected=true]>strong{color:#f4f3df}.risk-response-track{height:14px;position:relative;border-radius:2px;background:#14251a;overflow:hidden}.risk-response-zero{position:absolute;top:0;bottom:0;width:1px;background:#84998a;opacity:.6}.risk-response-fill{position:absolute;height:8px;top:3px;min-width:1px;border-radius:2px;background:#95cfa4}.risk-response-fill[data-negative=true]{background:#c58a74}.risk-response-row[data-selected=true] .risk-response-fill{box-shadow:0 0 0 1px #e6edd2}.risk-response-row[data-complete=false] .risk-response-track{background:repeating-linear-gradient(135deg,#14231a,#14231a 4px,#1e3024 4px,#1e3024 7px)}.risk-cost-total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px;font-size:12px;color:#91a99a}.risk-cost-total strong{font-size:24px;font-weight:450;letter-spacing:-.03em;color:#f1f1de}.risk-cost-track{height:25px;display:flex;border-radius:4px;background:#17251d;overflow:hidden}.risk-cost-segment[data-kind=fee]{background:#c4d9a5}.risk-cost-segment[data-kind=slippage]{background:#80b8ac}.risk-cost-key{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:10px;color:#a6b9ad}.risk-cost-key span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:6px;background:#c4d9a5}.risk-cost-key span+span:before{background:#80b8ac}.risk-cost-improvement{font-size:11px!important;color:#b6d7be!important;margin:8px 0 0!important}.risk-cost-unavailable{color:#d7b495;font-size:12px;line-height:1.6;min-height:62px}.risk-lab-actual{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.risk-lab-position{font-size:11px;color:#a4baac;background:#15241a;border:1px solid #2d4234;border-radius:6px;padding:7px 10px}.risk-lab-snapshot{font-size:10px!important;color:#809789!important;margin:14px 0 0!important}.finance-risk-observed-details{margin-top:22px!important;padding-top:14px;border-top:1px solid #2d3d32}.finance-risk-observed-details summary{font-size:12px;color:#a9bbae}.finance-risk-observed-details>.finance-risk-metrics{margin-top:18px}.finance-risk-observed-details h3{margin-top:18px!important}
@media(max-width:700px){.risk-lab-charts{grid-template-columns:1fr}.risk-heat-shell{padding:15px 11px 13px}.risk-lab-kpis{gap:10px}.risk-lab-kpi{padding-left:11px}.risk-lab-kpi small{font-size:11px}.risk-lab-kpi strong{font-size:29px}.risk-heat-title{gap:8px}.risk-heat-title strong{font-size:12px}.risk-heat-title span{font-size:9px;max-width:110px}.risk-lab-controls{gap:15px}.risk-lab-strategy{padding:9px 11px;font-size:11px}.risk-heat-y,.risk-heat-x{font-size:9px}.risk-heat-axes{font-size:10px}.risk-lab-panel{padding:15px}.risk-response-row{grid-template-columns:78px minmax(0,1fr) 78px}.risk-lab-mode{font-size:9px}.risk-lab-eyebrow{font-size:9px}}
@media(max-width:480px){.risk-lab-kpis{grid-template-columns:1fr;gap:18px}.risk-lab-kpi strong{font-size:32px}}

.finance-risk-card,.finance-risk-card *{box-sizing:border-box}.finance-risk-card details{margin-top:16px;color:#aab9ae;font-size:12px}.finance-risk-card summary{cursor:pointer;line-height:1.6}
.finance-risk-card{width:100%;min-width:0;background:#111813;border:1px solid #35483b;border-radius:18px;padding:22px;white-space:normal;overflow:hidden}.finance-risk-card h2{font-size:21px;font-weight:550;margin:0 0 8px}.finance-risk-card h3{font-size:16px;margin:24px 0 8px}.finance-risk-card p{font-size:13px;line-height:1.7;color:#aab9ae;margin:8px 0;overflow-wrap:anywhere}.finance-risk-card .finance-risk-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.finance-risk-metrics div{padding:14px;background:#0b110d;border:1px solid #26382b;border-radius:10px}.finance-risk-metrics small{display:block;font-size:11px;color:#9cad9f;margin-bottom:7px}.finance-risk-metrics strong{font-size:21px;font-weight:500;overflow-wrap:anywhere}.finance-risk-table-wrap{overflow-x:auto}.finance-risk-card table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5;white-space:nowrap}.finance-risk-card th,.finance-risk-card td{text-align:right;padding:10px 8px;border-bottom:1px solid #2a392e}.finance-risk-card th{font-weight:450;color:#aab9ae}.finance-risk-card th:first-child,.finance-risk-card td:first-child{text-align:left}.finance-risk-card .finance-risk-warning{border-left:2px solid #d1b785;padding-left:12px;color:#d2c5ad}.finance-risk-card .finance-risk-positive{color:#8cdbad}.finance-risk-card .finance-risk-negative{color:#ff9e9e}.finance-risk-connect{background:#18251c;color:#d4e3d7;border:1px solid #536b59;border-radius:999px;padding:10px 15px;margin-top:12px;font-size:13px}.finance-risk-card [data-finance-cancel]{margin-left:8px}.finance-risk-conditions{white-space:pre-line!important}@media(max-width:600px){.finance-risk-card{padding:16px}.finance-risk-card .finance-risk-metrics{grid-template-columns:1fr}.finance-risk-metrics strong{font-size:20px}}

.chat-empty-suggestions a{color:#b8beba;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-size:13px;text-decoration:none}
.chat-main{width:min(940px,100%);margin:0 auto;padding:54px 24px 32px;display:flex;flex-direction:column;min-height:calc(100vh - 74px);min-width:0}.chat-intro{text-align:center;margin:auto auto 32px;max-width:680px}.chat-intro small{font-size:11px;letter-spacing:.22em;color:var(--muted);font-weight:700}.chat-intro h1{font-size:clamp(34px,6vw,64px);line-height:1.02;font-weight:420;letter-spacing:-.045em;margin:18px 0}.chat-intro p{color:var(--muted);font-size:16px;line-height:1.65;margin:0}.chat-log{display:flex;flex-direction:column;gap:18px;width:100%;padding:0 0 28px;min-width:0}.chat-message{max-width:84%;padding:16px 18px;border:1px solid var(--line);font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.user{align-self:flex-end;background:var(--user);color:#101510;border-color:var(--user);border-radius:18px 18px 3px 18px}.chat-message.assistant{align-self:flex-start;background:var(--assistant);border-radius:18px 18px 18px 3px}.chat-message.pending{color:var(--muted)}.chat-composer-wrap{margin-top:auto;position:sticky;bottom:0;padding:10px 0 0;background:linear-gradient(transparent,var(--bg) 28%);min-width:0}.chat-composer{background:#111311;border:1px solid #363b37;border-radius:20px;padding:12px;box-shadow:0 18px 50px rgba(0,0,0,.32)}.chat-composer textarea{width:100%;resize:none;min-height:78px;max-height:220px;border:0;background:transparent;color:#fff;padding:8px 10px;font:inherit;line-height:1.5}.chat-composer:focus-within{border-color:#809682}.chat-composer textarea:focus-visible{outline:none}.chat-composer textarea::placeholder{color:#737a75}.chat-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}.chat-model-label{min-width:0}.chat-model{max-width:100%;appearance:none;background:#171a18;color:#d8ddd9;border:1px solid #343936;border-radius:999px;padding:9px 34px 9px 13px;font-size:13px;background-image:linear-gradient(45deg,transparent 50%,#aeb4af 50%),linear-gradient(135deg,#aeb4af 50%,transparent 50%);background-position:calc(100% - 15px) 14px,calc(100% - 11px) 14px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}.chat-send{flex:none;border:0;border-radius:999px;background:var(--accent);color:#0d0e0d;font-weight:700;padding:10px 18px;cursor:pointer;font-size:13px}.chat-meta{display:flex;justify-content:space-between;gap:16px;padding:10px 12px 0;color:#777f79;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.chat-status[data-error=true]{color:#ff8d8d}.chat-empty-suggestions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:0 0 24px}.chat-empty-suggestions button{background:transparent;color:#b8beba;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-size:13px;cursor:pointer}.chat-empty-suggestions button:hover{border-color:#707773;color:#fff}
.chat-privacy-link{display:block;width:fit-content;margin-top:16px;color:#969d98;font-size:11px;text-decoration:none}.chat-privacy-link:hover{color:#fff}.chat-privacy{width:min(820px,100%);margin:0 auto;padding:64px 24px 80px;line-height:1.7;overflow-wrap:anywhere}.chat-privacy h1{font-size:clamp(32px,6vw,48px);font-weight:450;line-height:1.1;letter-spacing:-.035em;margin:0 0 18px}.chat-privacy h2{font-size:19px;font-weight:550;margin:32px 0 10px}.chat-privacy p{color:#b8c0ba;margin:0 0 16px}.chat-privacy .chat-privacy-intro{color:var(--muted)}.chat-privacy a{text-underline-offset:3px}.chat-privacy-header{justify-content:space-between}.chat-privacy-back{font-size:13px;text-decoration:none;color:#c4c9c5}
@media(max-width:760px){.chat-main{padding:36px 14px 18px;min-height:calc(100vh - 64px)}.chat-intro{margin-top:9vh}.chat-intro p{font-size:14px}.chat-message{max-width:94%}.chat-meta{display:block}.chat-status{display:block;margin-bottom:4px}.chat-actions{gap:8px}.chat-model{font-size:12px;padding-left:10px}.chat-send{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.chat-sidebar{transition:none}}
