/* Extends the established renal PACS viewer layout and palette. */
/* Drag handles are separate from the image and orbit controls, including on touchscreens. */
.panels{grid-template-columns:minmax(0,var(--model-width)) 18px minmax(0,1fr);gap:0;align-items:start}
#model-panel{grid-column:1;grid-row:1}#image-panel{grid-column:3;grid-row:1}
#panels.model-only,#panels.image-only{grid-template-columns:minmax(0,1fr)}
#panels.model-only #model-panel,#panels.image-only #image-panel{grid-column:1}
.panels.model-only .resize-width,.panels.image-only .resize-width{display:none}
.model{height:var(--viewer-height)}
.image-stage,.four-grid,.panels.image-only .image-stage,.panels.image-only .four-grid{height:var(--slice-height,455px);min-height:240px}
#model-panel .panel-head,#image-panel .panel-head{flex-wrap:wrap}
.mpr-note{overflow:auto;min-height:0}
.resize-hint{font-size:11px;line-height:1.6;color:#adc8d5;margin:0 0 9px}.resize-hint span{color:#8ba7b7}
.resize-handle{display:flex;align-items:center;justify-content:center;touch-action:none;user-select:none;-webkit-user-select:none;color:#a8cec9;background:#102a34;position:relative}
.resize-handle:hover,.resize-handle:focus-visible,.resize-handle.is-dragging{background:#194c4a;color:#c0fff0}
.resize-handle:focus-visible{outline:2px solid #fcce8e;outline-offset:-3px;z-index:4}
.resize-width{grid-column:2;grid-row:1;align-self:stretch;min-height:100px;cursor:col-resize;background:transparent;border-radius:5px}
.resize-grip{display:block;flex-shrink:0;background:#5b9e99;border-radius:3px}
.resize-width .resize-grip{width:4px;height:46px;box-shadow:5px 0 0 -1px #325e62,-5px 0 0 -1px #325e62}
.resize-height{height:28px;gap:9px;cursor:row-resize;border-top:1px solid #31535c;border-bottom:1px solid #31535c;font-size:10px;letter-spacing:.15px}
.resize-height .resize-grip{width:30px;height:3px;box-shadow:0 4px 0 -1px #467577,0 -4px 0 -1px #467577}
.viewer-resizing,.viewer-resizing *{user-select:none!important;-webkit-user-select:none!important}
.viewer-resizing-x,.viewer-resizing-x *{cursor:col-resize!important}.viewer-resizing-y,.viewer-resizing-y *{cursor:row-resize!important}
@media(max-width:1180px){.panels{grid-template-columns:minmax(0,1fr);gap:12px}#model-panel,#image-panel{grid-column:1;grid-row:auto}.resize-width{display:none}.resize-height{height:36px}.model{height:var(--viewer-height)}.image-stage,.four-grid{height:var(--slice-height,455px)}}
@media(pointer:coarse){.resize-height{height:40px}.resize-width:before{content:'';position:absolute;inset:0 -6px;z-index:3}}
.sequence-availability{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px 22px;background:#10242b;color:#9fe0d4;font-size:11px}.sequence-availability>span,.sequence-availability>a{padding:6px 9px;border:1px solid #365250;border-radius:5px}.sequence-availability a{color:#a9f0df}.sequence-availability .unavailable{color:#dfc79d;border-color:#64513b}.sequence-availability small{color:#aac0ce}.dce-panel{margin-top:18px;scroll-margin-top:18px}.dce-panel .panel-head{gap:10px;flex-wrap:wrap}.dce-panel .panel-head a{font-size:11px;color:#8dddc9}.dce-warning{margin:0;padding:14px 18px;color:#dac59e;background:#382b1c45;font-size:12px;line-height:1.7}.dce-status{padding:12px 18px;background:#132b35;color:#acd9da;font-size:11px;line-height:1.6;margin:0}.dce-panel fieldset{border:0;padding:0;margin:0;min-width:0}.dce-panel fieldset:disabled{opacity:.6}.dce-layout{display:grid;grid-template-columns:minmax(300px,1.7fr) minmax(245px,1fr)}.dce-stage{position:relative;background:#000;min-width:0;height:560px;touch-action:none;overflow:hidden}.dce-stage canvas{display:block;width:100%;height:100%}.dce-stage .readout{pointer-events:none}.dce-settings{padding:18px;background:#0e1f2d;min-width:0}.dce-settings h3{font-size:15px;margin:0 0 15px;color:#d8eef2}.dce-settings .stack{margin:15px 0}.dce-settings .row{flex-wrap:wrap}.dce-settings .micro{font-size:11px;line-height:1.7}.dce-settings input[type=range]{width:100%}.dce-window{display:flex;gap:12px;margin-top:16px}.dce-window label{display:grid;gap:6px;font-size:11px;color:#adc8d5;min-width:0}.dce-window input{width:100%;min-width:0}.dce-measurement{padding:10px;color:#e6cda1;background:#29281e;font-size:11px;line-height:1.7;border-radius:4px}.dce-inventory{padding:12px 18px;font-size:11px;line-height:1.7;color:#a7c0cf}.dce-inventory summary{cursor:pointer;color:#c7dbe3}.dce-inventory a{color:#8de1d1}.dce-inventory p{max-width:1000px}@media(max-width:850px){.dce-layout{grid-template-columns:1fr}.dce-stage{height:500px}.dce-settings{padding:14px}.sequence-availability{padding:10px 14px}}@media(max-width:480px){.dce-stage{height:380px}.sequence-availability small{width:100%}}
/* Literal inherited colors also preserve the schematic in SVG renderers. */
.urethra-figure .u-segment{color:#87b8ce}
.urethra-figure .u-segment[data-urethra-segment=intramural]{color:#d9bf7d}
.urethra-figure .u-segment[data-urethra-segment=prostatic]{color:#82e5c8}
.urethra-figure .u-segment[data-urethra-segment=membranous]{color:#c4a5ef}
.urethra-figure .u-segment[data-urethra-segment=bulbar]{color:#f5a785}
.urethra-figure .u-segment[data-urethra-segment=penile]{color:#8dc6fb}
.urethra-figure .u-segment>path:not(.u-leader),.urethra-figure .u-segment .u-leader{stroke:currentColor}
.urethra-figure .u-segment text{fill:currentColor}
.title{min-width:0}.title h1{max-width:650px;text-wrap:balance}.layoutbar>.row{flex-wrap:wrap}.urethra-jump{font-size:11px;color:#a0e7da;padding:8px 4px;text-underline-offset:3px}.urethra-panel{margin-top:18px;scroll-margin-top:16px}.urethra-panel .panel-head{flex-wrap:wrap;gap:10px}.urethra-panel .pill{font-size:9px}.urethra-intro{padding:16px 18px 0;margin:0;color:#b8cddd;font-size:13px;line-height:1.7;max-width:950px}.urethra-layout{display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(250px,1fr);gap:22px;padding:18px}.urethra-figure{margin:0;min-width:0;align-self:start;background:#0a1722;border:1px solid #293e50;border-radius:10px;overflow:hidden}.urethra-figure svg{display:block;width:100%;height:auto;font-family:inherit}.urethra-figure figcaption{padding:12px 16px;border-top:1px solid #293e50;font-size:11px;color:#a4bdca;line-height:1.7}.u-bladder{fill:#1b3949;stroke:#6c97ad;stroke-width:2}.u-prostate{fill:#453c282e;stroke:#c9ab70;stroke-width:2}.u-corpus{fill:none;stroke:#3d3f4e;stroke-width:46;stroke-linecap:round}.u-sphincter{fill:#6e526929;stroke:#c199b8;stroke-width:2;stroke-dasharray:4 3}.u-organ-label{fill:#bcd1dd;font-size:14px}.u-small-label{fill:#91acbf;font-size:12px}.u-orientation{fill:#718e9f;font-size:10px;letter-spacing:1px}.u-context-line{stroke:#678393;fill:none;stroke-width:1}.u-segment{--urethra-color:#87b8ce}.u-segment[data-urethra-segment=intramural]{--urethra-color:#d9bf7d}.u-segment[data-urethra-segment=prostatic]{--urethra-color:#82e5c8}.u-segment[data-urethra-segment=membranous]{--urethra-color:#c4a5ef}.u-segment[data-urethra-segment=bulbar]{--urethra-color:#f5a785}.u-segment[data-urethra-segment=penile]{--urethra-color:#8dc6fb}.u-segment>path:not(.u-leader){stroke:var(--urethra-color);stroke-width:9;fill:none;opacity:.5}.u-segment text{fill:var(--urethra-color);font-size:15px;opacity:.72}.u-segment .u-leader{stroke:var(--urethra-color);stroke-width:1;fill:none;opacity:.6}.u-segment[data-active=true]>path:not(.u-leader){stroke-width:13;opacity:1}.u-segment[data-active=true] text{font-weight:700;opacity:1}.urethra-parts{display:grid;grid-template-columns:1fr 1fr;gap:7px}.urethra-parts button{padding:11px;text-align:left;font-size:12px}.urethra-parts button[aria-pressed=true]{color:#a5f0df;border-color:#72d3bd;background:#163b3e}.urethra-detail{padding:16px;margin-top:14px;background:#10232e;border-left:3px solid #82d5c4;border-radius:3px}.urethra-detail h3,.urethra-landmarks h3{font-size:15px;color:#e0edf3;margin:0 0 9px}.urethra-detail p{font-size:12px;color:#bfd1dc;line-height:1.7}.urethra-detail .urethra-coverage{font-size:11px;color:#dfcaa8;border-top:1px solid #304751;padding-top:12px}.urethra-detail button{margin-top:4px}#urethra-locate[hidden]{display:none}.urethra-landmarks{margin-top:18px}.urethra-landmarks h3{font-size:12px}.urethra-landmarks .row{flex-wrap:wrap}.urethra-landmarks button{font-size:11px}.urethra-status{margin:0;padding:12px 18px;font-size:11px;line-height:1.7;color:#a7d6d0;background:#112730}.urethra-source-note{padding:12px 18px;font-size:10px;line-height:1.8;color:#99b1c1;margin:0}.urethra-source-note a{color:#b5e7df;text-underline-offset:3px}.urethra-controls button:focus-visible{outline:2px solid #e4d5ae;outline-offset:3px}@media(max-width:850px){.urethra-layout{grid-template-columns:1fr;gap:16px}.urethra-figure{width:100%;max-width:620px;justify-self:center}.urethra-panel .pill{white-space:normal}.urethra-parts{grid-template-columns:repeat(3,1fr)}}@media(max-width:480px){.urethra-layout{padding:12px}.urethra-parts{grid-template-columns:1fr 1fr}.urethra-parts button{font-size:11px}.urethra-intro{padding:12px 12px 0}}
.model-label{max-width:145px}.comparison,.case-panel{margin-top:14px}.comparison-intro,.case-panel>div:not(.panel-head){padding:16px 18px;color:#b8cddd;font-size:13px;line-height:1.7}.comparison-intro strong{color:#f0c788}.comparison table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.6;text-align:left}.comparison th,.comparison td{padding:12px 16px;border-top:1px solid #293c4e;vertical-align:top}.comparison th:first-child{width:22%;min-width:130px}.comparison th{color:#d0e5ec}.comparison thead th:nth-child(2){color:#81dfce}.comparison thead th:nth-child(3){color:#ff91a4}.comparison tbody td:nth-child(3){background:#291e2a40}.comparison .micro{padding:0 18px 10px}.table-scroll{overflow-x:auto}.comparison table{min-width:580px}.case-panel p{margin:8px 0}.case-panel h3{color:#7fe3d0}.mpr-note{padding:18px;color:#c4d9e3;font-size:12px;line-height:1.7;background:#101c29}.mpr-note p{margin-top:10px}.grid-cell canvas{object-fit:fill}.contour-controls{padding:10px;font-size:12px;background:#17353c}.contour-controls[hidden]{display:none}.layer small{display:block;font-size:10px;color:#9db3c5;margin:3px 0 0 14px}.detail .source{font-size:10px;color:#82d3c7}.detail .metric{display:block;margin-top:9px;color:#e9c88b}#opacity-value{font-size:11px;color:var(--muted)}.grid-cell{touch-action:none}.image-stage[hidden]{display:none}.anatomy-mode{color:#d9bc86!important}.case-panel button{font-size:11px}.draft .locate{text-overflow:ellipsis}.panel-foot a{text-decoration:underline}#overlay .draft-label{pointer-events:auto;cursor:move;touch-action:none}.loading-error{color:#ffa891}.readout{white-space:pre-line}.models-unavailable{padding:30px;color:#e1bb99}.coverage{line-height:1.6}.panel-head h2{font-size:14px}
@media(min-width:1181px){.sidebar{max-height:calc(100vh - 114px);overflow-y:auto;position:sticky;top:0;align-self:start}.panels{position:relative}}
@media(max-width:720px){.comparison th,.comparison td{padding:10px 12px}.comparison table{font-size:11px}.mpr-note{padding:10px;font-size:10px}.layer small{font-size:9px}.layoutbar{gap:12px}.case-panel .panel-head{flex-wrap:wrap}}
.qualitybar{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;margin:0 0 12px;padding:12px;background:#101e2b;border:1px solid #2a3d4e;border-radius:8px;font-size:11px;color:#b8cddd}.qualitybar label{display:flex;gap:7px;align-items:center}.qualitybar select{max-width:175px}.qualitybar span{color:#8db4be;font-size:10px}.coverage a{color:#89e2d4;text-underline-offset:3px}.source-anatomy{pointer-events:none}.report-panel{margin-top:18px;scroll-margin-top:16px}.report-tabs{display:flex;gap:3px;padding:10px 18px 0;border-bottom:1px solid #2c4050}.report-tabs button{background:transparent;border:0;border-radius:0;padding:13px 16px;font-size:13px;color:#9fb8c9;border-bottom:3px solid transparent}.report-tabs button[aria-selected=true]{color:#91ead9;border-bottom-color:#79daca;background:#122c34}.report-body{padding:18px}.report-body[hidden],#report-results[hidden],#report-empty[hidden]{display:none}.report-status{margin:0;padding:10px 18px;background:#101f2c;color:#b2c9d6;font-size:11px;min-height:35px}.report-intro h3,.report-empty h3{font-size:17px;margin:0 0 8px;color:#e1eff4}.report-intro p,.report-empty p{font-size:13px;line-height:1.7;color:#a8c0cf;max-width:780px}.voicebar,.report-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}.voicebar label,.report-actions label{font-size:12px;color:#c7dce6;display:flex;align-items:center;gap:8px}.voicebar button[aria-pressed=true]{color:#ffb8c6;border-color:#ee8197;background:#3c2632}.voice-interim{font-size:12px;min-height:18px;color:#e4cda2;font-style:italic}.note-label{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:#dcecf3;margin:12px 0 8px}.note-label span{color:#91aebe;font-size:11px}#interpretation{display:block;resize:vertical;min-height:320px;max-height:900px;width:100%;border:1px solid #42596b;border-radius:8px;padding:18px;background:#081520;color:#e4f0f5;font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}#interpretation::placeholder{color:#7894a7}#interpretation:focus{outline:2px solid #79daca;outline-offset:2px}.report-actions .primary-action{padding:12px 18px;color:#081e23;background:#83dfce;border-color:#83dfce;font-weight:700}.report-actions .primary-action:disabled{opacity:.5}.report-empty{padding:24px 8px}.note-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px}.note-comparison article{min-width:0;border:1px solid #354c60;border-radius:8px;background:#0d1b28;padding:18px}.note-comparison article:first-child{border-top:3px solid #96bbec}.note-comparison article:last-child{border-top:3px solid #7ad7c5}.note-comparison h3{font-size:14px;margin:0 0 12px;color:#e1eff4}.note-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#bbd1de;margin:0;max-height:620px;overflow:auto}.review-heading{font-size:15px;color:#dcecf4;margin:24px 0 8px}.rubric-table{width:100%;min-width:740px;border-collapse:collapse;font-size:12px;line-height:1.7;text-align:left}.rubric-table th,.rubric-table td{padding:12px;vertical-align:top;border-bottom:1px solid #2d4354}.rubric-table thead{background:#132735;color:#cfe2ed}.rubric-table th{width:17%;color:#d9e9ef}.rubric-table td{color:#a8c4d5}.rubric-table td:nth-child(2){width:32%}.rubric-table td:nth-child(3){width:32%}.rubric-table strong{font-size:10px;color:#dcbe8c}.rubric-table p{margin:6px 0}.rubric-table select{max-width:175px;font-size:11px}.correlation{margin-top:20px;color:#bdd2df;font-size:12px;line-height:1.8}.correlation h4{color:#debd8a}.report-sources{display:grid;gap:7px;margin-top:18px;font-size:11px}.report-sources a{color:#85d6ce}.report-panel .micro{line-height:1.7}#voice-dialog,#clear-report-dialog{max-width:560px}#voice-dialog p,#clear-report-dialog p{font-size:13px;line-height:1.7;color:#bfd2df}
@media(max-width:900px){.note-comparison{grid-template-columns:1fr}.report-tabs{padding-left:8px;padding-right:8px}.report-tabs button{padding:12px 9px}.report-body{padding:14px}.qualitybar{gap:10px}.report-panel .panel-head{flex-wrap:wrap}}
