/* Från → Till: select the current treatment, then read the target beside it. */
.main:has(#opioid-root)>.breadcrumb{margin:0 0 16px}.opioid-workspace{width:100%;margin:0}.op-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.op-heading .page-heading{margin:0}.op-heading h1{font-size:27px;line-height:1.25;letter-spacing:-.8px;margin:0}.op-heading .page-heading p{font-size:12px;line-height:1.6;color:var(--muted);margin:5px 0 0}.op-source-field{width:255px;flex-shrink:0}.op-source-field>label{display:block;font-size:10px;font-weight:500;color:var(--muted);margin:0 0 5px}.op-source-field select{width:100%}.op-source-field .select-trigger{font-size:12px;min-height:44px;background:var(--surface);border-color:transparent;border-radius:8px;box-shadow:0 1px 4px #0f172a07}
.opioid-workspace .op-population{display:flex;align-items:center;gap:12px;max-width:none;border:0;background:#EFF6FB;border-radius:10px;margin:0 0 20px;padding:14px 18px;cursor:pointer;color:var(--ink)}.op-population>svg{width:21px;height:21px;flex-shrink:0;color:#38758C}.opioid-workspace .op-population input{height:20px;width:20px;flex-shrink:0;margin:0;accent-color:var(--brand)}.op-population>span{min-width:0}.op-population strong{display:block;font-size:12px;line-height:1.6;font-weight:550}.op-population small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:1px}
.opioid-workspace .op-flow{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:start;gap:14px}.op-panel{min-width:0;border:0;border-radius:12px;background:var(--surface);padding:22px;box-shadow:0 4px 6px -1px #0f172a08,0 2px 4px -2px #0f172a08}.op-panel-heading{display:flex;align-items:baseline;gap:9px;margin-bottom:21px}.op-panel-heading h2{font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.9px;text-transform:uppercase;color:var(--brand);margin:0}.op-panel-heading>span{font-size:11px;line-height:1.5;color:var(--muted)}.op-control>label{display:block;font-size:12px;font-weight:550;line-height:1.5;margin:0 0 8px}.op-control>select{width:100%}.op-control .select-trigger{min-height:52px;border-color:var(--line);border-radius:8px;background:var(--bg);font-size:13px}.select-control-opioid .select-trigger{display:flex;align-items:center;gap:10px}.select-value-title{flex:1;min-width:0;font-weight:550}.select-route-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;white-space:nowrap;background:var(--chip);color:var(--chip-ink);border-radius:5px;padding:3px 7px;font-size:10px;font-weight:550;line-height:1.5}
.op-flow-arrow{display:flex;align-items:center;justify-content:center;padding-top:126px;color:#94A3B8}.op-flow-arrow svg{width:26px;height:26px;flex-shrink:0}.opioid-workspace .op-dose{margin-top:23px;padding:0;border:0}.op-dose h3{font-size:12px;line-height:1.5;font-weight:550;margin:0}.opioid-workspace .op-dose>p{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0 12px}.opioid-workspace .op-dose-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.opioid-workspace .op-dose-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:74px;margin:0;padding:12px 5px;border:0;border-radius:8px;background:var(--bg);box-shadow:0 1px 3px #0f172a05;color:var(--ink);transition:background .16s,color .16s,box-shadow .16s,transform .16s}.op-dose-options button>strong{font:700 20px/1.2 Geist,Arial,sans-serif;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.opioid-workspace .op-dose-options button>span{font-size:11px;font-weight:400;line-height:1.4;color:var(--muted)}.opioid-workspace .op-dose-options button:hover{background:#EAF2F6;transform:translateY(-1px);box-shadow:0 4px 8px #0f172a0b}.opioid-workspace .op-dose-options button.selected,.opioid-workspace .op-dose-options button.selected:hover{background:var(--brand);color:#FFFFFF;box-shadow:0 3px 8px #0f4c5c20}.opioid-workspace .op-dose-options button.selected>span{color:#E0F2FE}.op-dose-options .op-dose-empty{grid-column:1/-1;padding:18px 0 8px;font-size:12px;line-height:1.7;color:var(--muted);margin:0}.opioid-workspace button:focus-visible,.op-guidance>summary:focus-visible,.op-full-table>summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.op-result-card{margin-top:22px;padding:22px;border:0;border-radius:10px;background:#EAF3F7;color:var(--ink)}.op-result-eyebrow{display:block;font-size:10px;font-weight:550;letter-spacing:.5px;text-transform:uppercase;color:#507083;margin-bottom:13px}.op-result-card h3{font-size:16px;line-height:1.45;letter-spacing:-.2px;margin:0 0 7px}.op-result-card p{font-size:12px;line-height:1.65;margin:7px 0 0;color:var(--muted)}.op-value-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.op-result-card .op-big{display:block;font:700 clamp(36px,3.5vw,48px)/1.1 Geist,Arial,sans-serif;color:var(--brand);letter-spacing:-1.7px;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.op-value-unit{font-size:13px;line-height:1.5;color:#507083}.op-result-card .op-target-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:600;color:var(--ink);margin-top:13px}.op-route-label{font-size:11px;font-weight:400;color:var(--muted)}.op-result-card .op-result-meta{font-size:11px;margin-top:6px}.op-result-card .op-result-detail{font-size:11px}.op-result-card .op-placeholder{font-size:35px;color:#93A9B4;letter-spacing:0;margin-bottom:13px}.op-result-card .op-copy{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:20px 0 0;padding:11px 15px;border:0;border-radius:7px;background:var(--brand);color:#FFFFFF;font-size:12px;font-weight:550;box-shadow:none;transition:background .15s,color .15s}.op-result-card .op-copy[hidden]{display:none!important}.op-copy svg{width:17px;height:17px;flex-shrink:0}.op-result-card .op-copy:hover{background:#126176}.op-result-card .op-copy:disabled{background:#DCE8EE;color:#78909F;opacity:1;cursor:default}.op-result-card .op-copy.is-copied{background:#E0EEE7;color:#20734E}.op-result-card .op-confirm{min-height:46px;border:0;border-radius:7px;font-size:12px;margin-top:14px;background:var(--brand);color:#FFFFFF}.op-result-card.is-guide{background:#F8F1E4}.op-result-card .op-product-link{display:inline-flex;min-height:44px;margin:14px 0 4px;border-color:transparent;background:#FFFFFF;font-size:12px}.op-result-card.is-waiting .op-copy{margin-top:16px}
.op-brief-note{font-size:11px;line-height:1.7;color:var(--muted);margin:15px 0 0;max-width:70ch}.op-reference-area{margin-top:19px}.op-guidance,.opioid-workspace .op-full-table{border:0;margin:0;padding:0;font-size:12px;line-height:1.7}.op-guidance>summary,.opioid-workspace .op-full-table>summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;gap:16px;list-style:none;cursor:pointer;font-size:11px;color:var(--muted);font-weight:500}.op-guidance>summary::-webkit-details-marker,.op-full-table>summary::-webkit-details-marker{display:none}.op-guidance>summary:after,.op-full-table>summary:after{content:'+';font-size:17px;font-weight:400}.op-guidance[open]>summary:after,.op-full-table[open]>summary:after{content:'−'}.op-guidance-content{padding:4px 0 12px}.op-guidance-content>p,.op-full-table>p{max-width:70ch;font-size:12px;line-height:1.75;margin:0 0 13px}.op-guidance .source-list{max-width:75ch;margin:0 0 14px}.op-guidance .source-list a{font-size:12px;line-height:1.7}.op-guidance .source-meta{font-size:10px;line-height:1.7;color:var(--muted)}.op-table-wrap{overflow-x:auto;max-width:100%;margin:0 0 14px}.op-table-wrap .reference-table{min-width:850px;margin-top:4px;font-size:11px}
.select-popover-opioid{padding:6px;border:0;border-radius:12px;box-shadow:0 14px 45px #0f172a1c,0 2px 8px #0f172a0d}.select-popover-opioid .select-option{display:flex;align-items:center;gap:12px;min-height:48px;border-radius:7px;padding:10px 12px}.select-popover-opioid .select-option[aria-selected=true]{box-shadow:none;background:var(--chip)}.select-popover-opioid .select-option:hover,.select-popover-opioid .select-option:focus{box-shadow:none;background:var(--hover)}.select-popover-opioid .select-filter{top:-6px;padding:6px 5px 10px}.select-popover-opioid .select-filter input{height:46px;border:1px solid var(--line);border-radius:8px;padding:10px 12px 10px 37px;background:var(--bg);outline:0;box-shadow:none;font-size:14px}.select-popover-opioid .select-filter input:focus{border-color:#BADEED;box-shadow:0 0 0 2px #0284c70a}.select-filter-icon{position:absolute;left:17px;top:20px;width:17px;height:17px;color:#7B8D9D;pointer-events:none}
.dark .op-population{background:#1B303D}.dark .op-population>svg{color:#93BCCF}.dark .op-result-card{background:#1B3541}.dark .op-result-eyebrow,.dark .op-value-unit{color:#A7C1CF}.dark .op-result-card .op-big{color:#BDE3F1}.dark .op-result-card .op-copy{background:#235D72}.dark .op-result-card .op-copy:disabled{background:#294550;color:#829DAA}.dark .op-result-card .op-copy.is-copied{background:#234336;color:#A9DEBB}.dark .op-result-card.is-guide{background:#3A3020}.dark .op-result-card .op-product-link{background:#2D3941}.dark .op-dose-options button:hover{background:#293F4A}.dark .op-dose-options button.selected,.dark .op-dose-options button.selected:hover{background:#235D72}.dark .op-dose-options button.selected>span{color:#D5EAF3}
@media(max-width:1000px){.opioid-workspace .op-flow{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:10px}.op-panel{padding:19px}.op-result-card{padding:19px}.op-panel-heading{gap:7px;flex-wrap:wrap}.op-dose-options button>strong{font-size:19px}}
@media(max-width:760px){.op-heading{align-items:flex-start;gap:16px;margin-bottom:17px}.op-heading h1{font-size:24px}.op-source-field{width:220px}.opioid-workspace .op-flow{grid-template-columns:minmax(0,1fr);gap:14px}.op-flow-arrow{display:none}.op-panel{padding:20px}.op-panel-heading{margin-bottom:17px}.op-result-card{margin-top:19px}.opioid-workspace .op-population{padding:13px 15px;margin-bottom:16px;gap:10px}.op-dose-options button>strong{font-size:21px}.op-result-card .op-big{font-size:44px}.op-brief-note{margin-top:13px}.op-reference-area{margin-top:14px}.op-dose-options .op-dose-empty{padding-bottom:0}}
@media(max-width:520px){.op-heading{display:block}.op-heading .page-heading p{font-size:11px}.op-source-field{width:100%;margin-top:15px}.op-source-field .select-trigger{min-height:46px}.op-panel{padding:18px}.op-panel-heading{gap:8px}.op-population>svg{display:none}.op-population strong{font-size:11px}.op-population small{font-size:10px}.op-dose-options button>strong{font-size:20px}.op-result-card{padding:19px}.op-result-card .op-big{font-size:42px}.op-guidance>summary,.opioid-workspace .op-full-table>summary{font-size:11px}.select-popover-opioid .select-option{gap:8px;font-size:13px}.select-route-badge{font-size:10px;padding:3px 6px}}
@media(max-width:370px){.opioid-workspace .op-dose-options{grid-template-columns:repeat(3,minmax(0,1fr))}.op-panel{padding:15px}.op-control .select-trigger{font-size:12px}.op-result-card .op-big{font-size:38px}}
@media(prefers-reduced-motion:reduce){.opioid-workspace .op-dose-options button,.op-result-card .op-copy{transition:none}.opioid-workspace .op-dose-options button:hover{transform:none}}
@media print{.op-source-field,.op-population,.op-copy,.op-flow-arrow{display:none!important}.opioid-workspace .op-flow{grid-template-columns:1fr 1fr}.op-panel{box-shadow:none}.op-reference-area{display:none}}
