/* Exotic Option Pricer (v3: Binaries | Barriers tabs, 25Δ / 10Δ hedge comparison) — same palette as the Option Pricer: sand inputs, teal outputs */
.exo-tabs{display:flex;align-items:center;gap:10px;margin:0 0 12px}.exo-tab{border:1px solid var(--navy);background:#fff;color:var(--navy);border-radius:4px;height:32px;padding:0 14px;font-size:13px;font-weight:700;cursor:pointer}.exo-tab:hover{background:#eef3f4}.exo-tab.active{background:var(--navy);color:#fff;cursor:default}
.exo-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;margin-bottom:13px}
.exo-panel{padding:15px 17px}.exo-panel h3,.exo-results h3,.exo-hedge h3,.exo-method h3{font-size:15px;margin:0;color:var(--navy)}
.exo-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.exo-head .secondary-button{height:32px;padding:0 12px;font-size:12px}
.exo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px 12px;margin-top:12px}
.exo-grid label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted);font-weight:650;min-width:0}
.exo-grid .exo-wide{grid-column:span 2}
.exo-grid select,.exo-grid input{width:100%;min-width:0;height:36px;border:1px solid #d5bd8c;border-radius:4px;background:#fbf6ea;padding:0 9px;color:var(--ink);font:13px Inter,Segoe UI,Arial,sans-serif;font-variant-numeric:tabular-nums}
.exo-grid [data-m]{background:#eff8f6;border-color:#c9e1dc}.exo-grid [data-m].exo-ovr{background:#fbf6ea;border-color:#d5bd8c}
.exo-out{display:flex;align-items:center;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:4px;background:#f4f6f5;color:#153c47;font-size:13px;font-variant-numeric:tabular-nums}
.exo-live{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:3px;background:#e8f4f2;color:#157674;font-size:10px;font-weight:700;letter-spacing:.4px;vertical-align:middle;text-transform:uppercase}.exo-live.edited{background:#f5eddf;color:#8b6d35}
.exo-def{margin:10px 0 0;line-height:1.5}
.exo-results{padding:15px 17px;margin-bottom:13px}.exo-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:10px;margin-top:11px}
.exo-card{background:#eff8f6;border:1px solid #d6e8e4;border-radius:4px;padding:10px 12px;min-width:0}.exo-card strong{display:block;color:#526671;font-size:11px;margin-bottom:3px}.exo-card .v{display:block;color:var(--navy);font-size:19px;font-weight:750;font-variant-numeric:tabular-nums}.exo-card small{display:block;color:var(--muted);font-size:11px;margin-top:2px;font-variant-numeric:tabular-nums}
.exo-card.key{background:#102b3b;border-color:#102b3b}.exo-card.key strong{color:#9cd1cc}.exo-card.key .v{color:#fff}.exo-card.key small{color:#c2d2d5}
.exo-warn{margin-top:10px;padding:10px 12px;border-radius:4px;background:#f8e8e6;color:#8d4c47;font-size:12px}
.exo-hedge{padding:15px 17px;margin-bottom:13px}.exo-hedge>p{margin:4px 0 0}.exo-scroll{max-height:none;margin-top:10px;overflow-x:auto}.exo-scroll table{font-size:12px}.exo-scroll td,.exo-scroll th{white-space:nowrap}
.exo-method{padding:15px 17px;margin-bottom:25px}.exo-method ul{margin:8px 0 0;padding-left:18px;font-size:12px;color:#344d59;line-height:1.6}.exo-method li{margin-bottom:6px}.exo-method code{font-size:11px;background:#f0f4f3;padding:1px 4px;border-radius:3px}
@media(max-width:900px){.exo-top{grid-template-columns:1fr}}
@media(max-width:520px){.exo-grid{grid-template-columns:1fr 1fr;gap:9px 10px}.exo-grid .exo-wide{grid-column:span 2}.exo-cards{grid-template-columns:1fr 1fr;gap:8px}.exo-card{padding:9px 10px}.exo-card .v{font-size:17px}.exo-grid select,.exo-grid input{font-size:16px}.exo-scroll td:first-child,.exo-scroll th:first-child{position:sticky;left:0;background:#fff;z-index:1}.exo-scroll th:first-child{background:#f0f4f3}}

/* v3: hedge with RR/Fly 25Δ vs 10Δ */
.exo-cmp{padding:15px 17px;margin-bottom:13px}.exo-cmp-head{flex-wrap:wrap}
.exo-seg{display:inline-flex;border:1px solid var(--navy);border-radius:4px;overflow:hidden}.exo-seg button{border:0;background:#fff;color:var(--navy);height:30px;padding:0 14px;font-size:13px;font-weight:700;cursor:pointer}.exo-seg button+button{border-left:1px solid var(--navy)}.exo-seg button.active{background:var(--navy);color:#fff}.exo-seg button:disabled{opacity:.4;cursor:not-allowed}
.exo-cmp-t td,.exo-cmp-t th{text-align:right;font-variant-numeric:tabular-nums}.exo-cmp-t td:first-child,.exo-cmp-t th:first-child{text-align:left}
.exo-cmp-t .exo-sel{background:#eff8f6;font-weight:700;color:var(--navy)}
.exo-cheap{display:inline-block;margin-left:4px;padding:0 5px;border-radius:3px;background:#e8f4f2;color:#157674;font-size:10px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;cursor:help;vertical-align:1px}
.exo-foot{margin:9px 0 0;line-height:1.5}.exo-rule{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.exo-link{border:0;background:none;padding:0;color:#157674;font:inherit;text-decoration:underline;cursor:pointer}
@media(max-width:520px){.exo-cmp{padding:13px 12px}.exo-cmp .exo-scroll{overflow-x:visible}.exo-cmp-t{font-size:11.5px;width:100%}.exo-cmp-t td,.exo-cmp-t th{padding:6px 4px}.exo-cmp-t td:first-child,.exo-cmp-t th:first-child{white-space:normal;position:static;padding-left:0}.exo-cmp-t .exo-cheap{display:block;width:max-content;margin:2px 0 0 auto}}

.exo-net td{border-top:2px solid #d6e8e4}
.exo-nw{white-space:nowrap}.exo-sub{display:block;color:var(--muted);font-size:11px;font-weight:400;white-space:nowrap}

/* v10: Double Barriers | Double Binaries | European Digital tabs */
.exo-tabs{flex-wrap:wrap}
@media(max-width:520px){.exo-tabs{gap:6px}.exo-tab{height:30px;padding:0 10px;font-size:12px;flex:1 1 auto}}
.exo-warn code{font-size:11px}

@media(max-width:520px){#exo-pane-dbar table[id$="-legs"],#exo-pane-dbin table[id$="-legs"],#exo-pane-edig table[id$="-legs"]{font-size:10.5px;width:100%}
#exo-pane-dbar table[id$="-legs"] td,#exo-pane-dbar table[id$="-legs"] th,#exo-pane-dbin table[id$="-legs"] td,#exo-pane-dbin table[id$="-legs"] th,#exo-pane-edig table[id$="-legs"] td,#exo-pane-edig table[id$="-legs"] th{padding:5px 3px;text-align:right}
#exo-pane-dbar table[id$="-legs"] td:first-child,#exo-pane-dbar table[id$="-legs"] th:first-child,#exo-pane-dbin table[id$="-legs"] td:first-child,#exo-pane-dbin table[id$="-legs"] th:first-child,#exo-pane-edig table[id$="-legs"] td:first-child,#exo-pane-edig table[id$="-legs"] th:first-child{white-space:normal;text-align:left;position:static;padding-left:0}}
