/* CarcinoLogica Typography Standard 0.1.0
   Reference: Cancer Medicines (Drug Atlas) larger text scale, compared on 2026-10-22.
   No changes to SVG/canvas text, isotope mathematical superscripts, titles, or icon font glyphs.
   This stylesheet is intentionally independent of clinical module logic. */
:root {
  --cl-type-body: 20px;
  --cl-type-control: 18px;
  --cl-type-secondary: 18px;
  --cl-type-meta: 16px;
  --cl-type-h2: clamp(30px, 3vw, 40px);
  --cl-type-line: 1.55;
}
/* Plain WordPress content gets the shared scale. Scoped to block/post containers,
   not third-party viewers and not any module canvas/SVG. */
body:not(.wp-admin) :where(.wp-block-post-content, .entry-content) {
  font-size: var(--cl-type-body);
  line-height: var(--cl-type-line);
}
body:not(.wp-admin) :where(.wp-block-post-content, .entry-content) > :where(p, ul, ol, dl, blockquote) {
  font-size: var(--cl-type-body);
  line-height: var(--cl-type-line);
}
body:not(.wp-admin) :where(.wp-block-post-content, .entry-content) > :where(.wp-block-buttons) .wp-block-button__link,
body:not(.wp-admin) :where(.wp-block-post-content, .entry-content) > .wp-block-search :where(input, button) {
  font-size: var(--cl-type-control);
}
/* Brachytherapy v0.9.0 override - all 9-15px interface sizes raised.
   Uses important only within .clbt to safely beat the module's explicit pixel sizes. */
.clbt {font-size: var(--cl-type-body) !important; line-height: var(--cl-type-line)}
.clbt .clbt-brandline {font-size: 16px !important;}
.clbt .clbt-ver {font-size: 16px !important;}
.clbt .clbt-eyebrow {font-size: 16px !important;}
.clbt .clbt-heading p {font-size: 20px !important;}
.clbt .clbt-tabs button {font-size: 18px !important;}
.clbt .clbt-tabs button span {font-size: 18px !important;}
.clbt .clbt-kicker,.clbt .clbt-cardeyebrow,.clbt .clbt-mini-kicker,.clbt .clbt-refnum {font-size: 16px !important;}
.clbt .clbt-sectiontop p {font-size: 20px !important;}
.clbt .clbt-pill {font-size: 16px !important;}
.clbt .clbt-element {font-size: 14px !important;}
.clbt .clbt-element small {font-size: 14px !important;}
.clbt .clbt-isotope-text b {font-size: 18px !important;}
.clbt .clbt-isotope-text small {font-size: 16px !important;}
.clbt .clbt-metric-label,.clbt .clbt-mini-metrics span {font-size: 18px !important;}
.clbt .clbt-mini-metrics b {font-size: 18px !important;}
.clbt .clbt-sliderlabel {font-size: 18px !important;}
.clbt .clbt-sliderlabel output {font-size: 18px !important;}
.clbt .clbt-controlfoot {font-size: 16px !important;}
.clbt .clbt-controlactions button {font-size: 18px !important;}
.clbt .clbt-darkcard p {font-size: 20px !important;}
.clbt .clbt-formula-note {font-size: 16px !important;}
.clbt .clbt-explain>p {font-size: 20px !important;}
.clbt .clbt-factgrid span {font-size: 16px !important;}
.clbt .clbt-factgrid b {font-size: 18px !important;}
.clbt .clbt-workhead,.clbt .clbt-workfoot {font-size: 16px !important;}
.clbt .clbt-orientation {font-size: 14px !important;}
.clbt .clbt-legend span {font-size: 16px !important;}
.clbt .clbt-workbuttons button {font-size: 18px !important;}
.clbt .clbt-controlpane-head {font-size: 18px !important;}
.clbt .clbt-controlpane>p {font-size: 20px !important;}
.clbt .clbt-segment button {font-size: 18px !important;}
.clbt .clbt-controller-top {font-size: 18px !important;}
.clbt .clbt-controller-top strong {font-size: 18px !important;}
.clbt .clbt-controller-buttons button {font-size: 18px !important;}
.clbt .clbt-check {font-size: 18px !important;}
.clbt .clbt-teachingnote b {font-size: 18px !important;}
.clbt .clbt-teachingnote p {font-size: 20px !important;}
.clbt .clbt-field-scale {font-size: 16px !important;}
.clbt .clbt-quickpresets>span {font-size: 16px !important;}
.clbt .clbt-quickpresets button {font-size: 18px !important;}
.clbt .clbt-refs p {font-size: 20px !important;}
.clbt .clbt-refs a {font-size: 18px !important;}
.clbt .clbt-limits b {font-size: 18px !important;}
.clbt .clbt-limits ul {font-size: 20px !important;}
.clbt .clbt-footer {font-size: 16px !important;}
.clbt .clbt-footer b {font-size: 16px !important;}
.clbt .clbt-workhead {font-size: 16px !important;}
.clbt .clbt-workhead>span {font-size: 16px !important;}
.clbt .clbt-mini-metrics {font-size: 18px !important;}
.clbt .clbt-alpha-note>b {font-size: 18px !important;}
.clbt .clbt-alpha-note p {font-size: 20px !important;}
.clbt .clbt-guidance-top {font-size: 16px !important;}
.clbt .clbt-guidance-top>span:last-child {font-size: 16px !important;}
.clbt .clbt-image-pane-label {font-size: 18px !important;}
.clbt .clbt-image-pane-label span {font-size: 14px !important;}
.clbt .clbt-image-corner {font-size: 14px !important;}
.clbt .clbt-guidance-foot {font-size: 16px !important;}
.clbt .clbt-guidance-segment button {font-size: 18px !important;}
.clbt .clbt-guidance-sliders .clbt-sliderlabel {font-size: 18px !important;}
.clbt .clbt-guidance-actions button {font-size: 18px !important;}
.clbt .clbt-guidance-disclaimer {font-size: 20px !important;}
.clbt .clbt-dicom-import label {font-size: 18px !important;}
.clbt .clbt-dicom-import small {font-size: 16px !important;}
.clbt .clbt-dicom-import input {font-size: 18px !important;}
.clbt .clbt-dicom-toolbar button,.clbt .clbt-dicom-controls button {font-size: 18px !important;}
.clbt .clbt-dicom-state {font-size: 16px !important;}
.clbt .clbt-dicom-summary {font-size: 16px !important;}
.clbt .clbt-dicom-viewhead {font-size: 16px !important;}
.clbt .clbt-dicom-slider label {font-size: 18px !important;}
.clbt .clbt-dicom-marker label {font-size: 18px !important;}
.clbt .clbt-dicom-marker select {font-size: 18px !important;}
.clbt .clbt-dicom-markerlist {font-size: 16px !important;}
.clbt .clbt-contour-bridge p {font-size: 20px !important;}
.clbt .clbt-bridge-actions a,.clbt .clbt-bridge-actions button,.clbt .clbt-bridge-actions label {font-size: 18px !important;}
.clbt .clbt-bridge-actions label input {font-size: 18px !important;}
.clbt [data-bridge-status],.clbt .clbt-bridge-match {font-size: 18px !important;}
.clbt .clbt-bridge-structures>div,.clbt .clbt-channel-list>div {font-size: 16px !important;}
.clbt .clbt-channel-list {font-size: 16px !important;}
.clbt .clbt-mask-controls {font-size: 18px !important;}
.clbt .clbt-identity-confirm {font-size: 18px !important;}
.clbt [data-mask-warning] {font-size: 18px !important;}
.clbt-trajectory-preview p {font-size: 20px !important;}
.clbt-trajectory-preview label {font-size: 18px !important;}
.clbt-trajectory-preview [data-channel-step-status] {font-size: 16px !important;}
.clbt .clbt-channel-qa>strong {font-size: 18px !important;}
.clbt .clbt-channel-qa p,.clbt .clbt-channel-qa small {font-size: 20px !important;}
.clbt .clbt-channel-qa [data-channel-qa-status] {font-size: 18px !important;}
.clbt .clbt-channel-qa__metrics span {font-size: 16px !important;}
.clbt .clbt-channel-qa__metrics strong {font-size: 18px !important;}
.clbt .clbt-channel-qa button {font-size: 18px !important;}

/* Keep five radionuclides readable rather than squashing longer names. */
.clbt .clbt-isotope {min-width:0; align-items:center}
.clbt .clbt-isotope-text {overflow-wrap:anywhere;line-height:1.45}
.clbt .clbt-tabs button {min-width:165px;padding:16px 18px 19px}
.clbt .clbt-controlactions {flex-wrap:wrap;justify-content:flex-end}
.clbt .clbt-controlfoot {flex-wrap:wrap;gap:12px}
.clbt .clbt-brandline {flex-wrap:wrap;row-gap:7px}
.clbt .clbt-dicom-import input {max-width:100%}
.clbt .clbt-workhead,.clbt .clbt-workfoot,.clbt .clbt-guidance-top {flex-wrap:wrap;row-gap:7px}
.clbt .clbt-bridge-actions {flex-wrap:wrap}
.clbt :where(button, input, select, textarea) {max-width:100%}
/* Narrow screens: preserve legibility by stacking scientific source cards. */
@media (max-width:700px) {
  .clbt .clbt-isotope-grid {grid-template-columns:minmax(0,1fr)}
  .clbt .clbt-cols,.clbt .clbt-work-cols,.clbt .clbt-dicom-layout,.clbt .clbt-guidance-layout {grid-template-columns:minmax(0,1fr)}
  .clbt .clbt-sectiontop {flex-wrap:wrap}
  .clbt .clbt-heading p {max-width:65ch}
  .clbt .clbt-brandline {font-size:16px !important}
  .clbt .clbt-tabs button {min-width:165px}
}
@media (max-width:380px) {
  .clbt .clbt-isotope-text b {font-size:18px !important}
  .clbt .clbt-isotope-text small {font-size:16px !important}
  .clbt .clbt-element {width:55px}
  .clbt .clbt-controlactions {justify-content:flex-start}
}
