.d-module-nav{display:flex;gap:8px;margin-right:auto}.d-module-nav button[aria-pressed=true]{background:var(--ink,#17384b);color:white;border-color:transparent}.topbar{gap:20px}#derivatives{max-width:1480px;margin:auto;padding:24px}#derivatives .panel{margin-bottom:24px;padding:24px}#derivatives h2{margin:0 0 18px}#derivatives p{line-height:1.6}.d-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:16px 0}.d-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px}.d-fields input,.d-fields select{width:100%;min-height:44px}.d-scroll{overflow:auto;max-height:470px;margin:16px 0}.d-scroll table{width:100%;border-collapse:collapse;white-space:nowrap}.d-scroll td,.d-scroll th{text-align:left;padding:12px;border-bottom:1px solid #dce5ea}.d-scroll th{background:#f2f6f8;position:sticky;top:0}.d-scroll small{display:block;color:#586e7c;font-size:12px}.d-leg{border:1px solid #dce5ea;border-radius:12px;padding:20px;margin:16px 0;background:#fafcfd}.d-leg h3{margin:0}.d-warning,#d-error{color:#9a351d;font-weight:600}#derivatives[hidden],#main[hidden]{display:none!important}@media(max-width:650px){.topbar{flex-wrap:wrap;gap:10px}.d-module-nav{order:3;width:100%}#derivatives{padding:16px}#derivatives .panel{padding:16px}.d-fields{grid-template-columns:1fr 1fr}.d-fields label{min-width:0}.d-module-nav button{flex:1}}@media(max-width:400px){.d-fields{grid-template-columns:1fr}}
.d-chart-legend{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.d-chart-legend label{display:flex;align-items:center;gap:6px;font-size:13px}#da-chart svg{width:100%;min-width:560px;background:#fff;border:1px solid #dce5ea;border-radius:12px}#da-chart{overflow:auto}#da-chart text{font:12px system-ui;fill:#425c6c}#da-chart svg:focus{outline:2px solid #087f8c}
/* Mirrored option ladder: subdued sides and a distinct exchange central strike. */
#d-option-tools[hidden]{display:none}.d-board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.d-board-toolbar p{margin:0}.d-board-toolbar button{flex-shrink:0}#d-board{border:1px solid #dce5ea;border-radius:12px;scroll-behavior:auto;overscroll-behavior:contain;min-height:80px}#d-board>p{padding:12px}.d-option-board{font-variant-numeric:tabular-nums}.d-option-board td,.d-option-board th{padding:10px 14px}.d-option-board .d-call{background:#f4faf8}.d-option-board .d-put{background:#fcf7f6}.d-option-board thead th{z-index:2;height:46px;font-size:12px;letter-spacing:.025em}.d-option-board thead .d-call{background:#e3f1ed;color:#246358}.d-option-board thead .d-put{background:#f4e9e6;color:#835047}.d-option-board .d-strike{text-align:center;background:#edf2f5;color:#18394d;min-width:112px;border-left:1px solid #dce5ea;border-right:1px solid #dce5ea}.d-option-board tbody th{position:static}.d-option-board tbody .d-atm>*{background:#e2f2ef;box-shadow:inset 0 1px #76b5aa,inset 0 -1px #76b5aa}.d-option-board tbody .d-atm .d-strike{background:#176b64;color:white;box-shadow:none}.d-option-board .d-atm .d-strike small{color:#d9f2ec;font-size:10px;font-weight:500}.d-option-board tbody tr:hover td{background:#eaf1f5}.d-option-contract .quiet{padding:5px 0;min-height:32px;color:#21485a}.d-option-contract small{font-size:10px}.d-option-board td:not(:first-child):not(:last-child){text-align:right}.d-option-board .d-option-contract{min-height:48px}.d-option-board button:focus-visible{outline:2px solid #087f8c;outline-offset:3px}@media(max-width:650px){.d-board-toolbar{align-items:flex-start;flex-direction:column}.d-option-board td,.d-option-board th{padding:8px}#d-board{max-height:520px}}
#d-option-tools .d-fields{grid-template-columns:minmax(0,1fr)}
.d-iv-panel{border-top:1px solid #dce5ea;margin-top:18px;padding-top:16px}.d-iv-panel p{overflow-wrap:anywhere}.d-iv-base{background:#e2f2ef;font-weight:600}

.d-risk-amount{display:block;margin-top:8px;color:#176b64;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

.d-scenario-table th{white-space:normal;min-width:110px;max-width:240px}
