/* Tenet occupies its intervention region; the green Dart host stays intact. */
.overlay-study { font-family: "Plus Jakarta Sans", sans-serif; }
.overlay-study .ov-panel,
.overlay-study .ov-panel * { box-sizing: border-box; }
.overlay-study .ov-panel { margin-top: 1px; padding: 11px; display: flex; flex-direction: column; gap: 8px; border: 1px solid #52606a; border-radius: 17px; background: #172d3e; color: #f1f1ed; box-shadow: 0 8px 24px #0003; }
.overlay-study .ov-heading { display: flex; align-items: center; justify-content: space-between; min-height: 20px; gap: 8px; }
.overlay-study .ov-brand { color: #ead5a4; font: 600 10px/1.3 "IBM Plex Mono", monospace; letter-spacing: .14em; }
.overlay-study .ov-status { color: #f3e6c7; font: 600 10px/1.3 "Plus Jakarta Sans", sans-serif; padding: 3px 7px; border-radius: 5px; background: #ead5a415; }
.overlay-study .ov-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.overlay-study .ov-fact { padding: 9px; border: 1px solid #486070; border-radius: 10px; background: #102434; }
.overlay-study .ov-fact-label { display: flex; align-items: center; gap: 5px; color: #c5d2da; font: 500 10px/1.4 "Plus Jakarta Sans", sans-serif; }
.overlay-study .ov-fact-label svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #ead5a4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.overlay-study .ov-value { display: flex; align-items: baseline; gap: 7px; margin: 5px 0 3px; font: 500 23px/1 "Plus Jakarta Sans", sans-serif; }
.overlay-study .ov-value strong { color: #ead5a4; font-weight: 700; }
.overlay-study .ov-requested { color: #c4d0d8; }
.overlay-study .ov-arrow { color: #92a7b7; font-size: 16px; }
.overlay-study .ov-unit { font-size: 12px; color: #c4d0d8; }
.overlay-study .ov-explanation { display: block; color: #c4d0d8; font: 400 9.5px/1.45 "Plus Jakarta Sans", sans-serif; }
.overlay-study .ov-panel button { width: 100%; min-height: 44px; margin: 0; cursor: pointer; text-align: center; font-family: "Plus Jakarta Sans", sans-serif; }
.overlay-study .ov-panel button:focus-visible { outline: 2px solid #fff6df; outline-offset: 3px; }
.overlay-study .ov-primary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px; border: 1px solid #ead5a4; border-radius: 11px; background: #ead5a4; color: #132735; }
.overlay-study .ov-primary span { font-size: 12px; font-weight: 700; line-height: 1.3; }
.overlay-study .ov-review { margin: 0; text-align: center; color: #cbd7df; font: 400 10px/1.4 "Plus Jakarta Sans", sans-serif; }
.overlay-study .ov-secondary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid #738795; border-radius: 10px; background: transparent; color: #edf1f4; font-size: 11px; font-weight: 600; }
.overlay-study .ov-action-sub { color: #c4d0d8; font-size: 9px; font-weight: 400; }
.overlay-study .ov-cancel { border: 1px solid #738795; border-radius: 10px; background: transparent; color: #edf1f4; font-size: 11px; font-weight: 600; }
.overlay-study .ov-panel button:hover { filter: brightness(1.07); }

.overlay-study .ov-order{margin:0;color:#f1f1ed;font:500 11.5px/1.4 "Plus Jakarta Sans",sans-serif}.overlay-study .ov-order span{color:#c4d0d8;font-weight:400}.overlay-study .ov-fact-label{font-size:11px}.overlay-study .ov-explanation{font-size:10.5px}.overlay-study .ov-review{font-size:11px}.overlay-study .ov-action-sub{font-size:10px}.overlay-study .ov-secondary,.overlay-study .ov-cancel{font-size:12px}

.overlay-study .ov-order-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.overlay-study .ov-panel .ov-why{width:auto;min-height:28px;padding:3px 4px;border:0;background:transparent;color:#ead5a4;font:500 11px "Plus Jakarta Sans",sans-serif;text-decoration:underline;text-underline-offset:3px}

/* Keep status and actions legible at the original phone size. */
.overlay-study .ov-status{font-size:12px;padding:0;background:none;display:flex;gap:6px;align-items:center;color:#ead5a4}
.overlay-study .ov-brand{font-size:9px;color:#c4d0d8}
.overlay-study .ov-primary span{font-size:14px}
.overlay-study .ov-secondary,.overlay-study .ov-cancel{font-size:13px}
.overlay-study .ov-explanation{font-size:11.5px}
.overlay-study .ov-action-sub{font-size:11px}
.overlay-study .ov-unit{font-size:11px}

/* Subsequent choices remain inside Tenet's original region over Dart. */
.overlay-study .ov-panel.ov-flow{padding:0;gap:0;overflow:hidden}
.overlay-study .ov-step-head{flex:none;padding:10px 11px 8px;border-bottom:1px solid #486070;background:#172d3e}
.overlay-study .ov-step-head>span{display:block;color:#ead5a4;font:500 11px/1.4 'Plus Jakarta Sans',sans-serif}
.overlay-study .ov-panel .ov-step-head button{width:auto;min-height:28px;border:0;background:none;color:#c4d0d8;font-size:10px;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.overlay-study .ov-step-body{overflow-y:auto;overscroll-behavior:contain;padding:13px 11px;min-height:0;scrollbar-width:thin;scrollbar-color:#8c9da6 transparent;font-size:12px;line-height:1.5;scroll-padding:8px}
.ov-step-body h2{font-size:19px;line-height:1.25;font-weight:500;margin-bottom:11px;outline:none}
.ov-step-body p{font-size:12px;line-height:1.5;color:#c4d0d8;margin:10px 0}
.ov-step-body .reason-options{gap:6px;margin:13px 0 8px}
.ov-step-body .reason-option{font-size:11px;line-height:1.4;min-height:40px;padding:8px;gap:8px}
.ov-step-body .reason-option input{width:15px;height:15px}
.ov-step-body .field-label{font-size:11px;margin-top:12px}
.ov-step-body textarea{display:block;width:100%;resize:none;min-height:64px;border:1px solid #8c9da6;border-radius:7px;background:#112331;color:#f5f3ec;padding:8px;font:400 13px/1.5 'Plus Jakarta Sans',sans-serif}
.ov-step-body textarea:focus-visible{outline:2px solid #ead5a4;outline-offset:2px}
.ov-step-body .meta{font-size:10px;line-height:1.5;color:#bccbd1}
.ov-step-body .form-error{color:#ffb5a7;font-size:11px}
.overlay-study .ov-step-body .modal-action{font-size:12px;padding:9px;margin-top:9px;border-radius:8px;color:#132735}
.overlay-study .ov-step-body .quiet{background:transparent;color:#f1f1ed;border:1px solid #738795}
.ov-step-body .order-summary{padding-top:12px;margin-top:10px}
.ov-step-body .order-summary>span{font-size:9px}
.ov-step-body .order-summary>strong{font-size:21px}
.ov-step-body dl{margin:12px 0}
.ov-step-body dl>div{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #486070;padding:8px 0;font-size:11px}
.ov-step-body dt{color:#c4d0d8}.ov-step-body dd{margin:0;color:#ead5a4;font:500 12px 'IBM Plex Mono',monospace}
.ov-step-body .review-status{display:none}
.ov-step-body .override-summary{padding:10px}.ov-step-body .override-summary>strong{font-size:11px}.ov-step-body .override-summary p{font-size:11px;margin-bottom:0}
.ov-step-body .reason-review{font-size:11px;overflow-wrap:anywhere}.ov-step-body .reason-review>span{font-size:10px}
.overlay-study .ov-step-body .text-action{width:auto;min-height:32px;font-size:10px;padding:5px 0;text-align:left}

.overlay-study .ov-step-head{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:7px 11px}
.overlay-study .ov-step-head>span{font-size:10px}
.overlay-study .ov-step-head>button{font-size:9px!important}
.overlay-study .ov-step-actions{flex:none;display:grid;gap:7px;padding:10px 11px;border-top:1px solid #486070;background:#172d3e}
.overlay-study .ov-step-actions .modal-action{min-height:40px;margin:0;padding:8px;font-size:12px}
.overlay-study .ov-step-actions .quiet{background:transparent;color:#f1f1ed;border:1px solid #738795}

.ov-step-body .compact-order{display:flex;flex-direction:column;gap:2px;margin:0 0 11px}.compact-order strong{font-size:18px;font-weight:500}.compact-order>span{font:400 10px 'IBM Plex Mono',monospace;color:#c4d0d8}.compact-quote{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-block:1px solid #486070;padding:9px 0}.compact-quote>span{font-size:10px;color:#c4d0d8}.compact-quote strong{display:block;font:500 13px 'IBM Plex Mono',monospace;color:#ead5a4;margin-top:4px}.ov-step-body .compact-consequence{border-left:2px solid #ead5a4;padding-left:9px;font-size:11px;margin:11px 0 7px;color:#f5f3ec}.compact-reason>div{display:flex;align-items:center;justify-content:space-between;color:#c4d0d8;font-size:10px}.overlay-study .compact-reason .text-action{min-height:24px;padding:2px 0}.ov-step-body .compact-reason p{font-size:10px;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#c4d0d8}

/* A quiet broker order ticket beneath Tenet's intervention. */
.overlay-study.broker-study{width:322px;height:660px;padding:17px 13px 24px;box-sizing:border-box;position:relative;overflow:hidden;border-radius:34px;border:1px solid #20252a;background:#090b0d;color:#f0f3f5;box-shadow:0 26px 50px -30px #0a0e128c}
.broker-status{display:flex;justify-content:space-between;padding:0 8px;font:600 10px 'IBM Plex Mono',monospace}.broker-status>span:last-child{color:#85909a;letter-spacing:2px}
.broker-brand{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.broker-brand strong{font:800 19px 'Plus Jakarta Sans',sans-serif;color:#c8f65d;letter-spacing:-.06em}.broker-brand>span{font-size:10px;color:#a3adb5}
.broker-contract{margin-top:24px}.broker-contract p{font-size:11px;color:#a3adb5;margin:0 0 5px}.broker-contract h3{font:600 26px/1.2 'Plus Jakarta Sans',sans-serif;letter-spacing:-.04em;margin:0 0 7px}.broker-contract>span{font-size:12px;color:#c0c8ce}
.broker-ticket{display:flex;flex-direction:column;height:404px;padding-top:22px}.broker-fields{margin:0}.broker-fields>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #24292e;min-height:58px;font-size:13px}.broker-fields dt{color:#c0c8ce}.broker-fields dd{margin:0;font-size:17px;font-weight:500}.broker-fields .broker-premium{min-height:70px}.broker-premium dd{font-size:23px}.broker-calculation{margin:0;font-size:10px;color:#8f9aa3;text-align:right}.broker-underlying{display:flex;justify-content:space-between;margin-top:24px;color:#8f9aa3;font-size:10px}.broker-submit{margin-top:auto}.broker-submit p{font-size:10px;color:#a3adb5;text-align:center;margin:0 0 12px}.broker-submit button{width:100%;border:0;border-radius:25px;min-height:48px;font:600 14px 'Plus Jakarta Sans',sans-serif;color:#111a0b;background:#c8f65d;cursor:pointer}.broker-submit button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.broker-home{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);width:100px;height:4px;border-radius:4px;background:#a8aeb4}
.broker-scrim{position:absolute;inset:181px 0 29px;background:#000b;z-index:1}
.broker-study .ov-panel{position:absolute;top:195px;left:13px;right:13px;z-index:2;min-height:398px;margin:0;padding:12px;gap:9px;box-shadow:0 10px 30px #0007}
.broker-study .ov-panel.ov-flow{padding:0;gap:0}
.overlay-study .ov-secondary{padding:8px 10px;gap:3px;min-height:52px}
.overlay-study .ov-secondary>span{line-height:1.35}
.overlay-study .ov-primary>span{line-height:1.35}
.broker-study .ov-order{font-size:11px}.broker-study .ov-order span{display:block;font-size:10px;margin-top:1px}.broker-study .ov-panel .ov-why{min-height:32px}

.broker-study .ov-order{font-size:12px}

/* No simulated system status bar. Keep the contract visible above the intervention. */
.broker-brand{margin-top:9px}.broker-study .ov-panel{top:167px}.broker-scrim{top:153px}.broker-ticket{height:432px}

.broker-study[data-host-state="held"] .broker-ticket{visibility:hidden}

/* A real deadline drives the timer; the broker remains held until confirmation. */
.ov-panel[data-cooldown-phase] .ov-step-body{flex:1;padding:16px 13px}
.ov-panel[data-cooldown-phase] .compact-order{gap:7px;margin:0 0 10px}
.ov-panel[data-cooldown-phase] .compact-order>span{line-height:1.5}
.ov-step-body .cooldown-reduced{font-size:11px;margin:0 0 16px}
.cooldown-clock{border-block:1px solid #486070;padding:13px 0 15px}
.cooldown-clock>span{display:block;color:#c4d0d8;font-size:11px;margin-bottom:7px}
.cooldown-clock>strong{display:block;font:500 37px/1.15 'IBM Plex Mono',monospace;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:#ead5a4}
.ov-step-body .cooldown-next{margin:16px 0 8px;line-height:1.65}
.ov-step-body .cooldown-assurance{margin:18px 0 0;color:#ead5a4;font-size:12px}
.cooldown-demo-skip{display:block;margin:10px auto 16px;padding:9px 12px;border:1px dashed #738795;border-radius:8px;background:transparent;color:inherit;font:500 12px/1.4 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.cooldown-demo-skip[hidden]{display:none}
.cooldown-demo-skip:focus-visible{outline:2px solid currentColor;outline-offset:3px}
