.event-op-select{display:grid;grid-template-columns:2fr 1fr 2fr;gap:12px;padding:16px}.event-op-select input,.event-op-select select{min-width:0;width:100%}.event-op-section{border-top:1px solid var(--line);padding:16px!important}.event-op-section>summary{font-weight:650;cursor:pointer}.event-op-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.event-op-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px}.event-op-metrics>div{padding:12px;border:1px solid var(--line);border-radius:10px}.event-op-metrics small,.event-op-metrics strong{display:block}.event-op-metrics small{color:var(--muted);font-size:12px}.event-op-metrics strong{font-size:19px;margin-top:8px;overflow-wrap:anywhere}.event-ops-panel .strategy-table{font-size:12px}.event-ops-panel .tiny{white-space:nowrap}.event-ops-panel .field{min-width:0}#event-op-form .form-grid{max-height:60vh;overflow:auto;padding:2px}#event-op-form input,#event-op-form select{min-width:0;max-width:100%}@media(max-width:700px){.event-op-select{grid-template-columns:1fr}.event-op-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.event-op-metrics strong{font-size:16px}.event-op-section{padding:12px!important}#event-op-form .form-grid{grid-template-columns:1fr}}

.modal:has(#event-op-form),.modal:has(#op-cancel-form),.modal:has(#rights-form){width:min(820px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0}.modal-body:has(#event-op-form){min-width:0}#event-op-form{min-width:0;width:100%;overflow-wrap:anywhere}#event-op-form .field{min-width:0}

.modal:has(#event-monthly-rate-form){width:min(820px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0}

.modal:has(#event-op-match-form){width:min(820px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0}#event-op-selection .event-op-actions{padding:0 16px}
.modal:has(#event-source-borrow-form){width:min(820px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0}#event-source-borrow-form select{max-width:100%;min-width:0}

/* Event workspace: one compact P&L sheet, followed by holdings and folded operations. */
.event-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--line)}
.event-section-head h2{font-size:16px;margin:0;font-weight:700}.event-section-head p{margin:6px 0 0;font-size:11px;color:var(--muted)}.event-section-head p span{margin-left:8px}
.event-head-actions{display:flex;gap:8px;flex-shrink:0}.event-head-actions button{font-size:12px;padding:8px 12px}
.event-single-sheet table.event-sheet-table{min-width:940px;font-size:12px;table-layout:fixed}
.event-single-sheet .event-sheet-table th:nth-child(1){width:180px}.event-single-sheet .event-sheet-table th:nth-child(2){width:160px}
.event-single-sheet .event-sheet-table th:nth-child(3),.event-single-sheet .event-sheet-table th:nth-child(4){width:130px}
.event-single-sheet .event-sheet-table th:nth-child(5){width:100px}.event-single-sheet .event-sheet-table th:nth-child(6){width:115px}
.event-single-sheet .event-sheet-table th:nth-child(7){width:140px}.event-single-sheet .event-sheet-table th:nth-child(8){width:110px}
.event-single-sheet .event-sheet-table th{padding:12px 14px;background:var(--surface2,#f7f8fa);font-size:11px;color:var(--muted);font-weight:600;vertical-align:middle}
.event-single-sheet .event-sheet-table td{padding:18px 14px;line-height:1.5;vertical-align:middle;border-bottom:1px solid var(--line)}
.event-single-sheet .event-sheet-table tbody tr:last-child td{border-bottom:0}
.event-single-sheet .event-sheet-table td:first-child,.event-single-sheet .event-sheet-table th:first-child{position:sticky;left:0;z-index:2;background:var(--surface,#fff);border-right:1px solid var(--line)}
.event-single-sheet .event-sheet-table th:first-child{background:var(--surface2,#f7f8fa);z-index:3}
.event-single-sheet .event-sheet-table .event-identity-cell>.rights-detail-button{font-size:14px;font-weight:700;line-height:1.4}
.event-stock-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin:4px 0 10px}.event-issue-line{font-size:11px;color:var(--muted)}.event-issue-line>span{color:var(--text);font-weight:600}
.event-single-sheet .event-issue-line small{display:inline-block;margin:0 0 0 5px;padding:1px 5px;background:var(--surface2);font-size:9px;font-weight:500;white-space:nowrap;border-radius:4px}
.event-account-label{font-size:11px!important;color:var(--muted)!important;font-weight:600!important;min-height:20px!important}
.event-single-sheet .rights-quantities{display:flex;gap:8px;margin-top:4px;max-width:none}.event-single-sheet .rights-quantities label{min-width:0;flex:1;display:block}.event-single-sheet .rights-quantities label>span{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}
.event-single-sheet .rights-quantities input{width:100%;min-width:0;padding:6px;font-size:12px;font-weight:600;border-radius:6px;background:var(--surface2,#f7f8fa);border-color:transparent;height:32px}
.event-single-sheet .rights-quantities input:focus{border-color:var(--primary);background:var(--surface);outline:2px solid var(--primary-soft,#f9eded)}
.event-single-sheet .event-sheet-amount{display:block;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;letter-spacing:-.25px}
.event-single-sheet .event-total-cell{background:var(--surface2,#f7f8fa)}.event-single-sheet .event-total-cell .event-sheet-amount{font-size:14px;font-weight:750}
.event-single-sheet .event-sheet-table td .event-cell-note{display:block;font-size:9px;line-height:1.45;color:var(--muted);white-space:normal;margin-top:6px;text-align:right}
.event-single-sheet .event-sheet-table .event-status-label{display:block;font-size:9px;line-height:1.4;color:var(--muted);font-weight:500;white-space:normal;margin-top:6px;text-align:right}
.event-date-cell>div{display:flex;justify-content:space-between;gap:8px;line-height:1.9;font-size:10px}.event-date-cell>div>span{color:var(--muted)}.event-date-cell strong{font-weight:550;color:var(--text)}
.event-sheet-basis{padding:12px 20px!important;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.event-sheet-basis>summary{font-size:11px;font-weight:550;cursor:pointer}.event-sheet-basis p{font-size:11px;line-height:1.7;margin:12px 0 4px}.event-basis-row{padding:10px 0;border-bottom:1px solid var(--line)}.event-basis-row strong{display:block;color:var(--text);margin-bottom:4px}.event-basis-row small{display:block;margin-top:4px}
.event-holdings-panel{margin-top:22px}.event-holdings-panel .strategy-table td{padding:15px 20px}.event-holdings-panel .strategy-table th{padding:12px 20px;font-size:11px}.event-holdings-panel .strategy-table th:nth-child(n+2),.event-holdings-panel .strategy-table td:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}.event-holdings-panel .strategy-table small{font-size:10px;font-weight:400}
.event-holding-details{margin:10px 0 22px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.event-holding-details>summary{padding:14px 20px;font-size:12px;color:var(--muted);cursor:pointer}.event-holding-details .event-package{margin:0 12px 10px;border-radius:9px}.event-holding-details .event-package>.panel-head{padding:16px}
.event-ops-panel>.panel-head{padding:18px 20px;gap:12px}.event-ops-panel>.panel-head h2{font-size:15px}.event-ops-panel>.panel-head button{font-size:11px;padding:7px 10px}
.event-ops-panel [hidden]{display:none!important}.event-ops-panel .event-op-select{grid-template-columns:minmax(0,1fr);padding:18px 20px;gap:12px;border-bottom:1px solid var(--line)}
.event-ops-panel .event-op-select:has([data-op-stock]:not([readonly])){grid-template-columns:2fr 2fr 1fr}.event-ops-panel .event-op-select .field{font-size:10px;color:var(--muted)}.event-ops-panel .event-op-select select,.event-ops-panel .event-op-select input{font-size:12px;min-height:38px;color:var(--text)}
.event-ops-panel .event-op-section{padding:0!important;border-top:1px solid var(--line)}.event-ops-panel .event-op-section>summary{padding:15px 20px;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}.event-ops-panel .event-op-section[open]>summary{background:var(--surface2,#f7f8fa)}
.event-ops-panel .event-op-section>.event-op-actions{padding:12px 20px;margin:0}.event-ops-panel .event-op-section .strategy-table th{font-size:10px;background:var(--surface2)}.event-ops-panel .event-op-section .strategy-table td{font-size:11px;padding:12px 16px;line-height:1.55;vertical-align:middle}.event-ops-panel .event-op-section .tiny{font-size:10px;padding:5px 8px;border-radius:6px}.event-section-count{font-size:10px;font-weight:400;color:var(--muted);margin-left:8px}
.event-ops-panel .event-op-metrics{padding:16px 20px;gap:10px}.event-ops-panel .event-op-metrics strong{font-size:16px}.event-ops-panel .detail-footnote{font-size:10px;padding:8px 20px;line-height:1.65}.event-ops-panel .event-op-basis{padding:15px 20px}.event-op-source-table{min-width:800px}
.event-single-sheet+.event-holdings-panel{margin-top:22px}.unheld-events>summary{cursor:pointer;padding:18px 20px}.unheld-events>summary h2{font-size:15px}.unheld-events .strategy-table th{font-size:11px}.unheld-events .strategy-table td{padding:14px 18px;font-size:12px}.unheld-events .detail-footnote{font-size:10px}
@media(max-width:700px){.event-section-head{padding:16px;gap:12px;align-items:flex-start}.event-section-head h2{font-size:15px}.event-head-actions{gap:6px}.event-head-actions button{font-size:10px;padding:7px 9px}.event-single-sheet table.event-sheet-table{min-width:940px}.event-single-sheet .event-sheet-table td{padding:14px 12px}.event-single-sheet .event-sheet-table td:first-child,.event-single-sheet .event-sheet-table th:first-child{width:160px}.event-ops-panel .event-op-select:has([data-op-stock]:not([readonly])){grid-template-columns:1fr}.event-holdings-panel .strategy-table td{padding:12px}.event-ops-panel .event-op-metrics{grid-template-columns:1fr 1fr}.event-holding-details{margin-bottom:16px}.event-ops-panel .event-op-select{padding:16px}.event-sheet-basis{padding:11px 16px!important}}
/* Event overview: positions, allocations and cost assumptions on one sheet. */
.event-single-sheet .event-cost-negative{color:var(--blue,#21638f)!important}
.event-single-sheet .event-phase{display:block;width:fit-content;font-size:10px;font-weight:600;color:var(--accent,#ad2834);background:var(--surface2,#f7f8fa);padding:3px 7px;border-radius:5px;margin-top:7px}
.event-single-sheet .event-phase.is-finishing{color:var(--muted);background:var(--surface2,#f7f8fa)}
.event-single-sheet .event-finishing>td{background:var(--surface2,#f7f8fa)}
.event-single-sheet .event-overview-row>td:first-child{position:static;border-right:0;padding:0 14px 16px;background:var(--surface,#fff)}
.event-single-sheet .event-overview-content{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;border-top:1px dashed var(--line);padding:14px 0 0;white-space:normal;min-width:1000px;font-size:11px}
.event-single-sheet .event-overview-label{font-weight:650;color:var(--muted);margin-bottom:7px;font-size:10px}
.event-single-sheet .event-overview-label small{display:inline;margin-left:7px;font-weight:400}
.event-single-sheet .event-position-line{display:flex;align-items:baseline;gap:15px;padding:4px 0;line-height:1.5}
.event-single-sheet .event-position-line>b{min-width:58px}.event-single-sheet .event-position-line span{white-space:nowrap}.event-single-sheet .event-position-line strong{margin-left:3px;font-variant-numeric:tabular-nums}.event-single-sheet .event-short strong{color:var(--blue,#21638f)}
.event-single-sheet .event-position-totals{display:flex;flex-wrap:wrap;gap:8px 16px;background:var(--surface2,#f7f8fa);padding:9px;margin-top:7px;border-radius:5px;font-size:10px}
.event-single-sheet .event-position-totals b{font-variant-numeric:tabular-nums}
.event-single-sheet .event-overview-allocation>div{margin-bottom:5px}.event-single-sheet .event-overview-allocation small{display:inline;color:var(--muted);margin-left:5px;font-size:9px}
.event-single-sheet .event-loan-summary{border-top:1px solid var(--line);padding-top:8px;margin-top:9px;display:flex;flex-wrap:wrap;gap:4px 12px}.event-single-sheet .event-loan-summary>span{color:var(--blue,#21638f)}.event-single-sheet .event-loan-summary details{width:100%;color:var(--muted);font-size:10px}.event-single-sheet .event-loan-summary summary{cursor:pointer;padding:4px 0}
.event-single-sheet .event-closing-note{color:var(--muted);font-size:11px;margin:8px 0}
.event-single-sheet .event-sheet-table{min-width:940px}
.event-single-sheet .event-sheet-table th:nth-child(1){width:145px}.event-single-sheet .event-sheet-table th:nth-child(2){width:140px}.event-single-sheet .event-sheet-table th:nth-child(3),.event-single-sheet .event-sheet-table th:nth-child(4){width:115px}.event-single-sheet .event-sheet-table th:nth-child(5){width:85px}.event-single-sheet .event-sheet-table th:nth-child(6){width:105px}.event-single-sheet .event-sheet-table th:nth-child(7){width:135px}.event-single-sheet .event-sheet-table th:nth-child(8){width:100px}
.event-single-sheet .event-sheet-table th,.event-single-sheet .event-sheet-table td{padding-left:10px;padding-right:10px}
.event-single-sheet .event-sheet-table .event-overview-content{min-width:900px;grid-template-columns:1.2fr 1fr;gap:18px}
.event-single-sheet .event-position-line{gap:10px}.event-single-sheet .event-position-line>b{min-width:54px}
/* Compact default sheet and stock-focused detail dialog. */
.event-compact-sheet .event-compact-table{width:100%;min-width:900px;table-layout:fixed;border-collapse:collapse;font-size:12px}
.event-compact-table th{background:var(--surface2,#f7f8fa);font-size:11px;font-weight:600;color:var(--muted);text-align:left;padding:13px 16px}
.event-compact-table th:nth-child(1){width:17%}.event-compact-table th:nth-child(2){width:20%}.event-compact-table th:nth-child(3){width:12%}.event-compact-table th:nth-child(4){width:21%}.event-compact-table th:nth-child(5){width:19%;text-align:right}.event-compact-table th:nth-child(6){width:11%}
.event-compact-table td{padding:23px 16px;vertical-align:middle;border-top:1px solid var(--line);line-height:1.6}
.event-compact-table small{display:block;font-size:10px;color:var(--muted);line-height:1.55;margin-top:5px;font-weight:400;white-space:normal}
.event-focus-name{display:flex;gap:10px;align-items:center;width:100%;background:none;border:0;padding:0;color:var(--text);text-align:left;font-size:14px;font-weight:700;cursor:pointer;line-height:1.4}.event-focus-name span{margin-left:auto;color:var(--muted);font-size:20px;font-weight:400}.event-focus-name:hover{color:var(--accent,#ae2934)}
.event-compact-number{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.event-compact-table .event-compact-profit{text-align:right;background:var(--surface2,#f7f8fa)}.event-compact-profit strong.event-sheet-amount{font-size:17px;font-weight:750;white-space:nowrap}.event-compact-profit strong span{font-size:10px;margin-left:3px;font-weight:400}.event-compact-profit small{max-width:175px;margin-left:auto}
.event-borrow-fraction{font-variant-numeric:tabular-nums;white-space:nowrap}.event-borrow-fraction b{font-size:15px;font-weight:700}.event-borrow-fraction span{font-size:11px;color:var(--muted)}.event-borrow-meter{height:4px;max-width:160px;margin-top:9px;border-radius:3px;background:var(--line);overflow:hidden}.event-borrow-meter i{display:block;height:100%;background:var(--blue,#21638f);border-radius:3px}.event-compact-table .event-unmatched{color:var(--blue,#21638f);font-size:9px}.event-next-date{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.event-secondary-holdings>summary,.event-input-tools>summary{cursor:pointer;font-size:13px;font-weight:600;padding:16px 20px}.event-secondary-holdings{margin-bottom:16px}.event-input-tools{border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);margin-bottom:16px}.event-input-tools .event-ops-panel{border:0;margin:0}
.modal:has(.event-focus-detail){width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 32px)}.event-focus-detail{font-size:12px}.event-focus-detail>section,.event-focus-detail #event-focus-operations>section{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.event-focus-detail h3{font-size:14px;margin:0 0 12px;font-weight:700}.event-focus-detail .strategy-table{font-size:12px}.event-focus-detail .strategy-table th,.event-focus-detail .strategy-table td{padding:10px 12px;line-height:1.6}.event-focus-detail .table-wrap{overflow:auto}
.event-focus-pnl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;background:var(--surface2,#f7f8fa);padding:18px;border-radius:10px}.event-focus-pnl small{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}.event-focus-pnl strong{font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}.event-focus-pnl>div:last-child strong{font-weight:750}.event-focus-note{font-size:11px;color:var(--muted);line-height:1.65;margin:10px 0}.event-focus-equation{font-size:12px;padding:12px 14px;background:var(--surface2,#f7f8fa);border-radius:6px}.event-focus-detail .event-cost-negative{color:var(--blue,#21638f)!important}.event-focus-borrow-total{margin-bottom:14px}.event-focus-borrow-total small{display:inline-block;margin-left:12px;color:var(--muted)}.event-focus-detail details{margin:12px 0}.event-focus-detail summary{font-weight:600;font-size:12px;cursor:pointer;padding:8px 0}.event-focus-actions{margin-top:18px}.event-focus-detail .rights-quantities{display:flex;align-items:center;gap:6px}.event-focus-detail .rights-quantities input{width:94px;min-width:70px;padding:7px}.event-focus-detail .tiny{margin:3px}
@media(max-width:700px){.event-compact-table td{padding:18px 13px}.event-focus-pnl{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:16px}.event-focus-pnl strong{font-size:14px}.event-focus-pnl>div:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}.modal:has(.event-focus-detail){width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.event-focus-detail .strategy-table{min-width:600px}}
/* Inline stock expansion and a separate booking-impact column. */
.event-compact-sheet .event-compact-table{min-width:940px}
.event-compact-table>thead>tr>th:nth-child(1){width:16%}.event-compact-table>thead>tr>th:nth-child(2){width:17%}.event-compact-table>thead>tr>th:nth-child(3){width:10%}.event-compact-table>thead>tr>th:nth-child(4){width:18%}.event-compact-table>thead>tr>th:nth-child(5){width:16%;text-align:right}.event-compact-table>thead>tr>th:nth-child(6){width:15%;text-align:right}.event-compact-table>thead>tr>th:nth-child(7){width:8%}
.event-compact-table .event-compact-additional{text-align:right;background:var(--surface2,#f7f8fa)}.event-compact-additional .event-sheet-amount{font-size:17px;font-weight:750;white-space:nowrap;letter-spacing:-.4px}.event-compact-table .event-compact-profit .event-sheet-amount{font-size:14px;font-weight:650}.event-compact-table .event-finishing>.event-compact-additional{background:color-mix(in srgb,var(--blue,#21638f) 7%,var(--surface,#fff))}
.event-compact-table>tbody>.event-inline-row>td{padding:20px 24px 28px;background:var(--surface2,#f7f8fa);border-top:1px solid var(--line)}
.event-inline-row .event-focus-detail{padding:18px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:10px;white-space:normal}.event-inline-row .strategy-table th{width:auto}.event-inline-row .event-focus-pnl{gap:10px;padding:14px}.event-inline-row .event-focus-pnl strong{font-size:14px}.event-inline-row .event-focus-note{font-size:11px}.event-inline-row .event-focus-detail p{white-space:normal}.event-inline-row .event-focus-detail .event-focus-note{color:var(--muted)}
.event-focus-name[aria-expanded=true]{color:var(--accent,#ae2934)}
@media(max-width:700px){.event-compact-table>tbody>.event-inline-row>td{padding:12px}.event-inline-row .event-focus-detail{padding:12px}.event-inline-row .event-focus-pnl{grid-template-columns:repeat(5,minmax(0,1fr))}.event-inline-row .event-focus-pnl>div:last-child{grid-column:auto;border-top:0;padding-top:0}}
.event-compact-table .event-position-value{font-size:11px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:5px;color:var(--text)}
.event-compact-table .event-borrow-separate strong{font-size:11px;font-weight:650;color:var(--blue,#21638f);line-height:1.5}.event-compact-table .event-borrow-separate small{font-size:9px}.event-compact-table .event-borrow-separate+small{border-top:1px solid var(--line);padding-top:5px}

/* Merger arbitrage: same inline sheet convention, scoped to the event page. */
.event-merger-panel{margin-top:18px}.event-merger-panel>.table-wrap>.strategy-table{min-width:920px;table-layout:fixed}.event-merger-panel>.table-wrap>.strategy-table th:nth-child(1){width:24%}.event-merger-panel>.table-wrap>.strategy-table th:nth-child(2){width:23%}.event-merger-panel>.table-wrap>.strategy-table th:nth-child(3){width:19%}.event-merger-panel>.table-wrap>.strategy-table th:nth-child(4){width:18%}.event-merger-panel>.table-wrap>.strategy-table th:nth-child(5){width:16%}.event-merger-panel small{display:block;line-height:1.6;color:var(--muted);font-size:11px;margin-top:4px}.event-merger-panel .detail-cell{font-size:12px;line-height:1.7}.event-merger-panel .detail-cell b{white-space:nowrap;font-size:14px}.event-merger-panel>details{padding:16px;border-top:1px solid var(--line)}.event-merger-panel>details>summary{font-weight:600;cursor:pointer}.event-merger-panel>details>p{font-size:12px;line-height:1.7;white-space:normal}.event-merger-panel .event-cost-note{color:var(--blue,#21638f)}

.merger-trading-deck{padding:20px 24px}.merger-tape,.merger-positions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.merger-tape>div{padding:8px 0}.merger-tape span,.merger-positions span{display:block;font-size:12px;color:var(--muted)}.merger-tape strong{display:block;font-size:32px;font-weight:750;line-height:1.5;font-variant-numeric:tabular-nums}.merger-tape strong>small{display:inline;font-size:13px;margin-left:5px}.merger-spread{border-left:1px solid var(--line);padding-left:24px!important}.merger-ratio{margin:16px 0;padding:14px 16px;background:var(--bg);border-radius:8px;font-size:15px}.merger-positions b{display:block;font-size:20px;font-variant-numeric:tabular-nums;margin-top:7px}.merger-live-status{font-size:10px;color:var(--muted);margin-top:16px}#event-merger-live>.event-merger-panel{margin-top:0;margin-bottom:18px}.event-merger-panel>details>.table-wrap>.strategy-table{min-width:920px}.event-merger-panel>details>.table-wrap .detail-cell small{white-space:normal}
@media(max-width:700px){.merger-trading-deck{padding:14px}.merger-tape,.merger-positions{gap:10px}.merger-tape strong{font-size:23px}.merger-spread{padding-left:12px!important}.merger-positions b{font-size:16px}.merger-ratio{font-size:13px}.merger-trading-deck small{font-size:10px}.merger-tape span,.merger-positions span{font-size:10px}}

/* Compact trading tape: gross/net spreads carry equal visual weight. */
.event-merger-panel>.panel-head{padding:12px 16px;min-height:0}.event-merger-panel>.panel-head h2{font-size:15px}.merger-trading-deck{padding:8px 16px 10px}.merger-tape{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.merger-tape>div{padding:3px 0}.merger-tape strong{font-size:26px;line-height:1.3}.merger-spread{padding-left:14px!important}.merger-tape small{font-size:10px;line-height:1.35;margin-top:3px}.merger-ratio{margin:9px 0;padding:7px 10px;font-size:13px}.merger-positions{gap:14px}.merger-positions>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 7px}.merger-positions span{font-size:11px}.merger-positions b{display:inline;font-size:16px;margin-top:0}.merger-positions small{font-size:10px;margin-top:0;line-height:1.4}.merger-live-status{font-size:9px;margin-top:7px}.event-merger-panel>details{padding:10px 16px}
@media(max-width:700px){.merger-trading-deck{padding:8px 12px 10px}.merger-tape{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px}.merger-tape>div:nth-child(3){border-left:0;padding-left:0!important;border-top:1px solid var(--line);padding-top:7px}.merger-tape>div:nth-child(4){padding-left:0!important;border-left:0;border-top:1px solid var(--line);padding-top:7px}.merger-tape strong{font-size:25px}.merger-positions{gap:8px}.merger-positions span{font-size:10px}.merger-positions b{font-size:14px}.merger-ratio{font-size:12px;margin:8px 0}.event-merger-panel>.panel-head{padding:10px 12px}}

/* A shared event overview, with aligned merger / rights summaries. */
.event-overview-head{display:flex;align-items:baseline;gap:16px;margin:8px 0 14px}.event-overview-head h2{font-size:19px;margin:0}.event-overview-head p{font-size:11px;color:var(--muted);margin:0}
.event-overview h3{font-size:15px;margin:0;font-weight:700}.event-overview .event-merger-panel{margin-bottom:18px}.event-overview .event-merger-panel>.panel-head{border-bottom:1px solid var(--line)}
.event-merger-summary{min-width:940px;width:100%;table-layout:fixed}.event-merger-summary th{font-size:11px}.event-merger-summary td{padding:16px 14px;vertical-align:top}.event-merger-summary td small{white-space:normal}.event-merger-summary .event-borrow-meter{margin-top:9px}.event-merger-summary .event-compact-profit .event-sheet-amount{font-size:14px}.event-merger-summary .event-compact-additional .event-sheet-amount{font-size:17px}
.merger-open-position{font-size:11px;color:var(--muted);margin:0 0 3px}.merger-open-position b{font-size:12px;color:var(--text)}
@media(max-width:700px){.event-overview-head{display:block}.event-overview-head p{margin-top:5px}.event-merger-summary td{padding:18px 13px}}

/* The summary sheet leads; the pair-specific market strip follows below. */
.merger-market-strip{border-top:1px solid var(--line);background:var(--surface,#fff)}
.merger-market-caption{padding:10px 16px 0;font-size:11px;font-weight:650;color:var(--text)}.merger-market-caption span{font-size:10px;font-weight:400;color:var(--muted);margin-left:8px}
@media(max-width:700px){.merger-market-caption{padding:10px 12px 0}}

/* Residual hedge exposure carries the same weight as both spreads. */
.merger-tape{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.merger-net-position strong{white-space:nowrap;letter-spacing:-.6px}.merger-net-position strong>small{font-size:12px}.merger-net-position>small{white-space:normal}
@media(max-width:700px){.merger-tape{grid-template-columns:repeat(2,minmax(0,1fr))}.merger-tape>.merger-net-position{grid-column:1/-1;border-left:0;padding:9px 0 2px!important;border-top:1px solid var(--line)}.merger-net-position strong{font-size:25px}}

.merger-net-position .merger-pair-action{font-size:12px;font-weight:650;color:var(--text);margin-top:3px}

/* Borrow-only names remain visible even before a long position exists. */
.event-borrow-review-panel{margin-bottom:18px}.event-borrow-review-panel>.panel-head{padding:14px 16px}.event-borrow-review-panel .event-borrow-review-table{width:100%;min-width:1020px;table-layout:fixed;border-collapse:collapse}.event-borrow-review-table th,.event-borrow-review-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:12px;line-height:1.6}.event-borrow-review-table th{font-size:11px;color:var(--muted);background:var(--surface2,#f7f8fa)}.event-borrow-review-table small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:4px;white-space:normal}.event-borrow-review-table th:nth-child(1){width:12%}.event-borrow-review-table th:nth-child(2),.event-borrow-review-table th:nth-child(3){width:9%}.event-borrow-review-table th:nth-child(4){width:17%}.event-borrow-review-table th:nth-child(5){width:23%}.event-borrow-review-table th:nth-child(6){width:22%}.event-borrow-review-table th:nth-child(7){width:8%}.event-borrow-audit{margin-bottom:18px}.event-borrow-audit>summary{padding:14px 16px;cursor:pointer;font-size:12px;font-weight:650}

.event-recognition-line{display:grid;grid-template-columns:1fr;gap:3px;padding:6px 0;text-align:right;font-variant-numeric:tabular-nums}.event-recognition-line+.event-recognition-line{border-top:1px solid var(--line)}.event-recognition-line .event-recognition-kind{font-size:11px;font-weight:650;color:var(--text)}.event-recognition-line strong{font-size:15px;font-weight:750;white-space:nowrap}.event-compact-table .event-recognition-line small{font-size:10px;line-height:1.5;margin:0;white-space:normal}

/* The shared phone card conversion must override the desktop sheet width. */
@media(max-width:700px){
 .event-compact-sheet table.event-compact-table.mobile-records{display:block;width:100%!important;min-width:0!important;max-width:100%;table-layout:auto!important}
 .event-compact-sheet .event-compact-table.mobile-records>thead{display:none!important}
 .event-compact-sheet .event-compact-table.mobile-records>tbody{display:block;width:100%}
 .event-compact-sheet .event-compact-table.mobile-records>tbody>tr:not(.event-inline-row){display:block;padding:12px;border-bottom:1px solid var(--line)}
 .event-compact-sheet .event-compact-table.mobile-records>tbody>tr:not(.event-inline-row)>td{display:grid!important;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:4px 8px;width:auto!important;min-width:0!important;padding:7px 0!important;height:auto!important;white-space:normal!important;overflow:visible!important}
 .event-compact-sheet .event-compact-table.mobile-records>tbody>tr:not(.event-inline-row)>td:before{grid-column:1;grid-row:1;min-width:0;white-space:normal;font-size:10px;line-height:1.5}
 .event-compact-sheet .event-compact-table.mobile-records>tbody>tr:not(.event-inline-row)>td>*{grid-column:2;min-width:0;max-width:100%;margin-top:0}
 .event-compact-sheet .event-compact-table.mobile-records>tbody>tr:not(.event-inline-row)>td:first-child{display:block!important;border-bottom:1px solid var(--line);padding-bottom:10px!important;margin-bottom:4px;text-align:left}
 .event-compact-sheet .event-compact-table.mobile-records>tbody>tr:not(.event-inline-row)>td:first-child:before{content:none}
 .event-compact-sheet .event-compact-table.mobile-records .event-focus-name{font-size:15px}
 .event-compact-sheet .event-compact-table.mobile-records .event-recognition-line strong{font-size:16px}
 .event-compact-sheet .event-compact-table.mobile-records .event-recognition-line small{font-size:11px;line-height:1.5}
 .event-compact-sheet .event-compact-table.mobile-records .event-borrow-meter{width:100%;justify-self:end}
}
