/* Breast-specific interface. Input choices are always visible; details contain secondary content only. */
.bcen-root[data-breast-menu]{--ink:#173e43;--edge:#9abfbe;--accent:#087c82;background:#fff;color:var(--ink);border-radius:10px;padding:0;max-width:1200px}
.bcen-root[data-breast-menu] .breast-native-store{display:none!important}
.bcen-root[data-breast-menu][data-external-title=true]>.bcen-header{display:none}
.bcen-root[data-breast-menu]>.bcen-header{margin:0;padding:6px 10px;gap:8px;align-items:center;background:transparent;box-shadow:none}
.bcen-root[data-breast-menu]>.bcen-header h1{font-size:17px;line-height:1.25;margin:0}


.breast-menu{color:var(--ink);font:15px/1.35 system-ui,sans-serif;max-width:1200px;margin:0 auto;padding:8px}
.breast-menu *{box-sizing:border-box}.breast-menu [hidden]{display:none!important}
.breast-toolbar,.breast-keys,.breast-navigation,.breast-trail,.breast-answers>div{display:flex;flex-wrap:wrap;gap:5px}
.breast-menu button,.breast-menu .prism-key,.breast-menu input,.breast-menu textarea{font:inherit;line-height:1.25;border:1px solid var(--edge);border-radius:7px;background:#fff;color:var(--ink);padding:8px 10px;min-height:44px;max-width:100%;box-shadow:none;white-space:normal;text-transform:none;letter-spacing:normal}
.breast-menu button{cursor:pointer}.breast-menu button[aria-pressed=true]{background:#dff1ee;border-color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
.breast-menu button:focus-visible,.breast-menu summary:focus-visible,.breast-menu input:focus-visible{outline:2px solid #087c82;outline-offset:2px}
.breast-menu button:disabled{opacity:.5;cursor:default}.breast-menu .prism-key::before{content:none!important}
.breast-menu details{border:1px solid var(--edge);border-radius:8px;background:#fff;margin:6px 0;padding:8px}
.breast-menu summary{cursor:pointer;font-weight:600;min-height:28px}.breast-menu h2{font-size:18px;line-height:1.3;margin:0 0 9px}.breast-menu h3{font-size:16px}.breast-menu p{margin:5px 0}
.breast-toolbar{align-items:start;margin:0 0 8px;position:relative}.breast-toolbar>button{font-size:14px}
.breast-menu .breast-date{border:0;padding:0;margin:0 0 0 auto;font-size:12px}
.breast-date>summary{padding:10px 6px;min-height:44px;font-weight:500}.breast-date[open]{flex-basis:100%;margin:0;padding:8px;border:1px solid var(--edge)}
.breast-date label{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:6px 0}.breast-evidence,.breast-why,.breast-change{font-size:12px;color:#486368}
.breast-workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:12px;align-items:start}
.breast-stage{border:1px solid var(--edge);border-top:3px solid var(--accent);border-radius:9px;padding:12px;background:#fff;scroll-margin-top:15px}
.breast-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.breast-field{border:0;padding:0;margin:0;min-width:0}
.breast-field legend{font-size:14px;font-weight:600;margin:0 0 5px;padding:0}.breast-field .breast-keys>input,.breast-field textarea{width:100%}.breast-field>.breast-keys{gap:5px}
.breast-basis{width:100%;padding-bottom:3px}.breast-menu .breast-basis button{font-size:12px;padding:6px 9px}
.breast-field small{display:block;font-size:12px;line-height:1.3;color:#54686a;margin-top:4px}.breast-sites{grid-column:1/-1}.breast-sites>.breast-keys{margin-bottom:8px}
.breast-sites label{display:flex;flex-direction:column;gap:4px}.breast-navigation{justify-content:space-between;margin:7px 0}
.breast-live{position:sticky;top:12px;border:1px solid var(--edge);border-radius:9px;padding:10px;background:#f4faf9;max-height:85vh;overflow:auto}
.breast-live h2{font-size:16px;margin:0}.breast-live article{border:0;border-bottom:1px solid #d6e3e2;padding:9px 0;font-size:13px}.breast-live article strong{font-size:14px}.breast-live article p{font-size:13px}.breast-live article em,.breast-live article a{font-size:12px}
.breast-live details{margin:5px 0;padding:7px}.breast-indication-title{display:block;font-size:12px;font-weight:400;margin:3px 0 0 12px}
.breast-menu .breast-invalid{border:2px solid #b32834;padding:6px;border-radius:8px}.breast-menu .breast-error{color:#a3212d;font-size:13px}
.breast-menu .prism-history{grid-column:1/-1;border:0;padding:0}.breast-menu .prism-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breast-menu .prism-history h3{margin:0}.breast-menu .prism-history-help,.breast-menu .prism-history-summary{font-size:13px}
.breast-menu .prism-categories,.breast-menu .prism-keys,.breast-menu .prism-history-tabs{display:flex;flex-wrap:wrap;gap:5px}.breast-menu .prism-history-submenu{background:#f4faf9;padding:8px;border:1px solid var(--edge);border-radius:8px}
.breast-group>div{padding-top:8px}.breast-menu .breast-group{margin:0 0 8px}.breast-trail{margin-bottom:8px}.breast-menu .source-grid{display:block}.breast-menu .breast-tools{overflow-wrap:anywhere}
@media(max-width:720px){
 .breast-menu{padding:5px}.breast-workspace{display:flex;flex-direction:column;gap:5px}.breast-workspace>div{width:100%;order:0}.breast-live{position:static;order:1;width:100%;max-height:none;overflow:visible;padding:8px}
 .breast-fields{grid-template-columns:1fr;gap:10px}.breast-stage{padding:10px}.breast-menu .prism-detail-grid{grid-template-columns:1fr}.breast-menu button{padding:8px 9px}
 .breast-toolbar{gap:4px}.breast-toolbar>button{padding:7px 8px}.breast-date>summary{padding:11px 3px}
 .breast-menu .breast-trail{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.breast-trail button{flex-shrink:0}
 .breast-menu .breast-tools,.breast-menu .breast-answers{font-size:13px;padding:7px}.breast-menu .breast-tools>summary,.breast-menu .breast-answers>summary{min-height:30px;padding:4px 0}
}
.bcen-root[data-breast-menu]{width:100%;max-width:1200px;position:relative;left:auto;transform:none;overflow:visible;margin:0 auto}
.breast-menu .prism-detail-grid{display:grid;gap:8px}.breast-menu .prism-detail-grid label{display:flex;flex-direction:column;gap:4px;font-size:13px}.breast-menu .prism-history h4{font-size:14px;margin:8px 0}.breast-menu .prism-history-tabs{margin:8px 0}.breast-menu .prism-field-conflict{border:2px solid #b32834;background:#fff7f7}.breast-menu .prism-history-conflict{color:#a3212d;font-size:13px}
.breast-stage[data-group=context]>.breast-fields>.breast-field>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

.breast-treatment-card{border:1px solid #a8c4c6;border-radius:9px;padding:10px;margin:8px 0;background:white}.breast-treatment-card h4{margin:0 0 5px;font-size:15px}.breast-treatment-card p{margin:7px 0;font-size:14px}.breast-treatment-card small{display:block}.breast-treatment-card a{display:block;overflow-wrap:anywhere;margin:8px 0}.breast-stage pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.breast-treatment-section h3{font-size:17px;margin:12px 0 6px}

.breast-treatment-card table{width:100%;border-collapse:collapse;margin:8px 0;font-size:12px}.breast-treatment-card th,.breast-treatment-card td{padding:6px 3px;border-bottom:1px solid #dbe7e8;text-align:left;overflow-wrap:anywhere}

/* Compact node accounting, shared by Simple and Advanced. */
.breast-node-counts{grid-column:1/-1;min-width:0}.breast-node-counts table{width:100%;border-collapse:collapse;table-layout:fixed}.breast-node-counts th,.breast-node-counts td{padding:.45rem;text-align:center;border-bottom:1px solid #b5d2ce;overflow-wrap:anywhere}.breast-node-counts th:first-child{text-align:left}.breast-node-counts td .breast-field{border:0;padding:0;margin:0}.breast-node-counts td .breast-keys{justify-content:center}.breast-node-counts input[type=number]{width:5.5rem!important;min-width:0!important;max-width:100%;text-align:center;box-sizing:border-box}.breast-node-counts output{font-variant-numeric:tabular-nums}.breast-node-counts .breast-error{font-size:.85rem}.breast-node-counts details{margin-top:.7rem}@media(max-width:480px){.breast-node-counts th,.breast-node-counts td{padding:.3rem}.breast-node-counts input[type=number]{width:4rem!important}}

.breast-endocrine-reference table{width:100%;border-collapse:collapse}.breast-endocrine-reference th,.breast-endocrine-reference td{padding:.65rem;border-bottom:1px solid #b5d2ce;text-align:left;vertical-align:top}.breast-endocrine-reference td p{font-size:.9rem}.bcen-handoff-review{max-width:36rem;width:calc(100% - 3rem);border:2px solid #34877d;border-radius:12px;padding:1.5rem;color:#183d38;background:white}.bcen-handoff-review::backdrop{background:#163b3866}.bcen-handoff-review button{padding:.7rem 1.1rem;margin:.5rem;border:1px solid #34877d;border-radius:8px;background:white;color:#183d38}@media(max-width:600px){.breast-endocrine-reference table{font-size:.85rem}.breast-endocrine-reference th,.breast-endocrine-reference td{padding:.3rem;overflow-wrap:anywhere}}

/* Keep medicine names intact in the guided review column. */
.breast-endocrine-reference table{table-layout:fixed}
.breast-endocrine-reference th:first-child,.breast-endocrine-reference td:first-child{width:23%;overflow-wrap:normal;word-break:normal}
.breast-endocrine-reference th:nth-child(2),.breast-endocrine-reference td:nth-child(2){width:25%}
.breast-endocrine-reference th:nth-child(3),.breast-endocrine-reference td:nth-child(3){width:52%}

/* First paint: keep inactive clinical state hidden until the menu initializes. */
.bcen-root[data-bcen-initializing="true"] > :not(.bcen-boot-loading):not(noscript){display:none!important}
.bcen-root .bcen-boot-loading{box-sizing:border-box;width:100%;border:1px solid #bedbd8;background:#f3faf9;border-radius:12px;padding:18px 20px;color:#19595e;font:600 15px/1.4 system-ui,sans-serif;margin:8px 0}
.bcen-root:not([data-bcen-initializing]) > .bcen-boot-loading{display:none!important}
.bcen-root .bcen-noscript{font:14px/1.5 system-ui,sans-serif;color:#6b3342}
/* Trial discovery belongs alongside the generated modality result, never inside a closed details. */
.breast-menu .breast-modality-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.breast-menu .breast-trial-shortcut{font-size:13px;font-weight:750;color:#10656a;text-decoration:underline;text-underline-offset:3px}
.breast-menu .breast-trials{scroll-margin-top:20px;border:1.5px solid #7dbbb5;border-left:6px solid #087c82;border-radius:13px;background:linear-gradient(125deg,#f0faf8,#f9fcfd);padding:16px 18px;margin:15px 0 18px;box-shadow:0 3px 9px #063f3b0a;overflow-wrap:anywhere}
.breast-menu .breast-trials-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.breast-menu .breast-trials h2{color:#075960;font-size:22px;font-weight:850;letter-spacing:-.015em;margin:0}
.breast-menu .breast-trials-head p{font-size:14px;color:#355b60;margin:0}
.breast-menu .breast-trials .trial-seed{padding:10px 12px;border:1px solid #afd4d2;background:#fff;border-radius:9px;font-size:14px;color:#234c50;line-height:1.55;margin:0 0 12px}
.breast-menu .breast-trial-scope{display:inline-block;border-radius:7px;background:#def1ee;color:#12555a;padding:3px 7px;margin-left:5px;font-size:12px;font-weight:700}
.breast-menu .breast-trials .trial-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}
.breast-menu .breast-trials .trial-links a:not([hidden]){border:1px solid #92bebb;border-radius:10px;padding:12px 14px;background:#fff;color:#11565b;text-decoration:none;min-height:74px;transition:border-color .15s,background .15s;overflow-wrap:anywhere}
.breast-menu .breast-trials .trial-links a:focus-visible{outline:3px solid #096e78;outline-offset:2px}
.breast-menu .breast-trials .trial-links a:hover{background:#e7f5f3;border-color:#348c85}
.breast-menu .breast-trials .trial-links a strong{font-size:16px;line-height:1.35;font-weight:800;display:block}
.breast-menu .breast-trials .trial-links a span{font-size:12px;line-height:1.45;display:block;margin-top:5px;color:#476366}
.breast-menu .breast-trial-caveat{font-size:12px;line-height:1.5;color:#51676a;margin:11px 0 0}
.breast-menu .breast-teaching-note{font-size:12px;line-height:1.45;color:#587173;border-top:1px solid #cadeda;padding:10px 2px;margin:10px 0 0}
@media(max-width:620px){.breast-menu .breast-trials{padding:12px}.breast-menu .breast-trials h2{font-size:20px}.breast-menu .breast-trials .trial-links{grid-template-columns:1fr}.breast-menu .breast-trials .trial-links a:not([hidden]){min-height:62px}}

/* With scripts disabled, keep a visible explanation rather than hiding it with preboot rules. */
.bcen-root[data-bcen-initializing="true"] > noscript{display:block!important}

/* Consolidated practice country: exactly one visible editable selection. */
.breast-menu .breast-country-control{border:1px solid #9fc8c4;background:#f3faf9;padding:12px 14px;border-radius:11px;margin:4px 0 13px}
.breast-menu .breast-country-control label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:780;font-size:15px}
.breast-menu .breast-country-control select{display:block!important;position:static!important;opacity:1!important;left:auto!important;top:auto!important;width:min(100%,330px)!important;height:auto!important;min-height:45px;border:1px solid #8bb7b4;border-radius:9px;background:#fff;color:#16434a;padding:8px 12px;font:inherit;font-weight:650}
.breast-menu .breast-country-note{font-size:13px;line-height:1.5;color:#325c60;margin:7px 0 0}
.breast-menu .breast-country-sources{font-size:12px;padding:7px 10px;margin-top:8px;background:#fff}
.breast-menu .breast-country-sources .context-summary{padding:6px;line-height:1.5}
.breast-menu .breast-tool-group{margin:8px 0;background:#f9fcfc}
.breast-menu .breast-tool-group>.breast-keys{margin:8px 0 2px}
.breast-menu .breast-country-control select:focus-visible{outline:3px solid #087c82;outline-offset:3px}
@media(max-width:620px){.breast-menu .breast-country-control label{display:block}.breast-menu .breast-country-control select{margin-top:7px;max-width:100%}}

/* Rule provenance lives only inside the existing collapsible Rules control. */
.breast-rule-provenance{font:12px/1.5 system-ui,sans-serif;color:#365a5c;margin:10px 0 0;padding:8px 10px;border-left:3px solid #5b8288;background:#f2f7f7;border-radius:3px;max-width:100%;overflow-wrap:anywhere}
.breast-rule-provenance p{margin:5px 0}.breast-rule-provenance strong{font-weight:750}.breast-rule-provenance a{color:#00666c;text-decoration:underline}

/* M12: keyboard focus and compact-width legibility, no new nested menus. */
.breast-menu .breast-country-control select:focus-visible{outline:3px solid #087c82;outline-offset:3px}
@media(max-width:720px){
 .breast-menu{font-size:16px;line-height:1.45}
 .breast-menu .breast-live article,.breast-menu .breast-live article p{font-size:14px;line-height:1.45}
 .breast-menu .breast-live article strong{font-size:15px}
 .breast-menu .breast-field legend{font-size:15px}
 .breast-menu .breast-country-note{font-size:14px}
 .breast-menu .breast-trial-caveat{font-size:13px}
}

/* M25: visible, accessible country provenance and explicit reset on all viewports. */
.breast-country-control .breast-country-auto {margin:0 .4rem;min-height:2.5rem;white-space:nowrap;}
.breast-country-control .breast-country-note {font-size:clamp(.92rem,1.15vw,1.04rem);line-height:1.45;max-width:100%;overflow-wrap:anywhere;}
@media(max-width:600px){.breast-country-control .breast-country-auto {margin:.55rem 0 0;display:inline-flex;} .breast-country-control select {max-width:100%;width:100%;}}

/* M28: compact, accessible reference-completeness details directly below treatment cards. */
.bcen-systemic-completeness{margin:.8rem 0 0;border:1px solid var(--bcen-border,#9bb);border-radius:10px;padding:.65rem .85rem;font-size:clamp(.94rem,1vw,1.05rem);line-height:1.5}
.bcen-systemic-completeness>summary{cursor:pointer;font-weight:700;min-height:38px}
.bcen-systemic-completeness-list{margin:.6rem 0;padding-left:1.3rem;display:grid;gap:.6rem}
.bcen-systemic-completeness-list li{padding:.4rem .25rem}
.bcen-systemic-completeness-list p{margin:.15rem 0}
.bcen-systemic-completeness a{overflow-wrap:anywhere;text-decoration:underline}

/* M34: structured review facts are optional, non-prescribing and sized for mobile. */
.bcen-m34-record{border:1px solid #b4d1d5;border-radius:10px;padding:clamp(10px,2vw,16px);margin:10px 0;background:rgba(229,248,249,.45);color:#153d43}
.bcen-m34-record p{margin:.35em 0 .8em;line-height:1.45}
.bcen-m34-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.bcen-m34-grid .field{min-width:0;display:flex;flex-direction:column;gap:5px}
.bcen-m34-grid input,.bcen-m34-grid select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:42px;border:1px solid #7caaaf;border-radius:7px;padding:7px;background:white;color:#173b42;font:inherit}
.bcen-m34-alert{border-left:4px solid #b45309;padding:8px;background:#fff5e6;color:#713f12;font-weight:600}
#bcenM34Review{padding:8px 0}
@media(max-width:450px){.bcen-m34-record{padding:10px}.bcen-m34-grid{grid-template-columns:minmax(0,1fr)}}
