@media screen {
html[data-app-layout="wide"]{--po-tools-height:0px}
.po-sidebar-tools{display:flex;flex-direction:column;gap:12px;padding:14px 16px;border-top:1px solid var(--border,#dce8e1);flex-shrink:0}
.po-sidebar-tools .po-font-control{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0}
.po-sidebar-tools .po-font-control>span{display:inline;font-size:12px}
.po-sidebar-tools .po-font-control button{border:1px solid #d5e3db;background:#fff;border-radius:8px;min-height:32px;padding:0 8px;color:#294c3a;cursor:pointer}
.po-sidebar-tools .po-history-shortcut{min-height:42px;background:var(--v4-primary-2,#087954);font-size:13px}
.po-sidebar-tools button:disabled{opacity:.4;cursor:default}
.po-rx-intro{display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap}
.po-rx-intro>div:first-child{flex:1;min-width:min(100%,320px)}
.po-rx-intro .v4m-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.po-rx-intro .v4m-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;border-radius:12px;padding:10px 14px;font:600 13px Inter,system-ui,sans-serif;cursor:pointer;transition:filter .15s,box-shadow .15s}
.po-rx-intro .v4m-actions>button:hover{filter:brightness(.96);box-shadow:0 4px 12px #20382f15}
.po-rx-intro .v4m-act-atestado{background:#edf3ff;border:1px solid #cbdaf5;color:#315d9f}
.po-rx-intro .v4m-act-nova{background:var(--v4-primary-2,#087954);border:1px solid var(--v4-primary-2,#087954);color:#fff;box-shadow:0 3px 10px #173f2915}
html[data-color-mode="dark"] .po-rx-intro .v4m-act-atestado{background:#233451;border-color:#445d80;color:#c9ddff}
.po-rx-intro .v4m-act-nova{display:flex;gap:8px;align-items:center;padding:10px 15px}
.po-rx-intro .v4m-act-nova small{display:block;font-size:10px;font-weight:500;opacity:.85}
.po-rx-toolbar .po-rx-search-field{width:100%;max-width:none;flex:1}
.po-mode-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.po-mode-tools .v4m-viewsel{order:-1;margin-right:auto}
.po-pediatric-shortcuts{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;margin-left:auto}
.po-pediatric-shortcuts button{display:flex;align-items:center;gap:10px;border:1px solid #dfbbd1;border-radius:13px;padding:11px 15px;text-align:left;cursor:pointer;font:700 14px Inter,system-ui,sans-serif}
.po-pediatric-shortcuts small{display:block;font-size:10px;font-weight:500;margin-top:3px}
@media(max-width:700px){html[data-app-layout="wide"] body .po-pediatric-shortcuts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;margin:0}html[data-app-layout="wide"] body .po-pediatric-shortcuts>button{position:static!important;flex:initial!important;width:100%!important;min-width:0!important;margin:0!important;justify-content:flex-start!important;overflow-wrap:normal}html[data-app-layout="wide"] body .po-pediatric-shortcuts small{line-height:1.4}html[data-app-layout="wide"] body .po-pediatric-shortcuts>button>svg{flex-shrink:0}}
.po-pediatric-shortcuts .v4m-apres{background:linear-gradient(125deg,#972260,#751c58);color:white;border-color:#972260;box-shadow:0 5px 14px #8c1b5b25}
.po-pediatric-shortcuts .po-quickcalc-open{background:#fff7fc;color:#8d215e}
.po-pediatric-shortcuts button:hover{filter:brightness(1.06);transform:translateY(-1px)}
.po-catalog-layer{justify-content:flex-end;padding:16px}
html[data-app-layout="wide"] body .po-catalog-layer>.ped-catalog-modal{width:min(1060px,calc(100vw - 32px))!important;height:100%!important;border-radius:22px!important}
.po-catalog-layer .modal-header{background:linear-gradient(115deg,#fbf0f7,#fff);border-bottom:1px solid #ecd7e3}
.po-catalog-layer .modal-header h2{font-size:24px;margin:8px 0;color:#702049}
.po-catalog-layer .modal-header p{font-size:13px;color:#71616b;margin:0}
.po-quickcalc-body{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(300px,1.15fr);gap:24px;flex:1;padding:24px!important}
.po-quickcalc-picker{display:flex;flex-direction:column;min-height:0;gap:10px}
.po-quickcalc-count{font-size:11px;color:#776777}
.po-quickcalc .field input{box-sizing:border-box;width:100%;border:1px solid #d9c7d4;border-radius:10px;padding:12px 14px;background:#fff;color:#402836;font:14px Inter,system-ui,sans-serif;outline-offset:3px}
.po-quickcalc .field input:focus-visible{outline:2px solid #ad477f}
html[data-color-mode="dark"] .po-quickcalc .field input{background:#191f25;border-color:#604457;color:#fbe5f1}
.editor-area p,.preview-content p{line-height:1.65;margin:0 0 .7em}
.editor-area ul,.preview-content ul{padding-left:1.5em;margin:.6em 0 1em}
.editor-area li,.preview-content li{line-height:1.65;margin:.45em 0}
.editor-area .clinical-section-heading,.preview-content .clinical-section-heading{margin-top:1.4em;padding-bottom:.4em;border-bottom:1px solid currentColor;font-size:1.05em}
.po-quickcalc-options{overflow-y:auto;min-height:0;max-height:55vh;display:flex;flex-direction:column;gap:8px;padding:2px}
.po-quickcalc-options button{text-align:left;display:flex;flex-direction:column;gap:5px;border:1px solid #e5dce3;background:#fff;border-radius:12px;padding:14px;cursor:pointer;color:#44313c}
.po-quickcalc-options button[aria-pressed="true"]{border-color:#a12b6a;background:#fcf0f8;box-shadow:0 0 0 1px #a12b6a}
.po-quickcalc-options small{font-size:12px}.po-quickcalc-options span{font-size:10px;color:#7d6c78}
.po-quickcalc-result{min-width:0;padding:20px;border:1px solid #ebdde6;background:#fffafc;border-radius:18px;align-self:start;overflow-wrap:anywhere}
.po-quickcalc-med{display:flex;align-items:center;gap:12px;color:#922261;margin-bottom:20px}
.po-quickcalc-med h3{margin:0 0 4px;font-size:20px}.po-quickcalc-med p{margin:0;font-size:12px}
.po-quickcalc-weight>div{display:flex;align-items:center;gap:10px;max-width:240px}.po-quickcalc-weight input{font-size:24px!important;font-weight:700;width:100%;min-width:0}
.po-quickcalc-weight b{flex-shrink:0;white-space:nowrap}
@media(min-width:701px){.po-quickcalc-body{overflow:hidden!important;grid-template-rows:minmax(0,1fr)}.po-quickcalc-picker{height:100%;min-height:0}.po-quickcalc-options{flex:1;max-height:none}.po-quickcalc-result{height:100%;min-height:0;box-sizing:border-box;overflow-y:auto}.po-quickcalc .modal-header{padding:16px 24px}.po-quickcalc .modal-header h2{margin:4px 0}}
.po-dose-result{margin:20px 0;background:#91215f;color:#fff;padding:20px;border-radius:14px}
.po-dose-result>span{display:block;font-size:10px;letter-spacing:.08em;opacity:.85}.po-dose-result>strong{display:block;font-size:24px;line-height:1.4;margin-top:8px}.po-dose-result p{font-size:12px;margin-bottom:0}
.po-clinical-alert{font-size:12px;line-height:1.6;color:#7a4411;background:#fff4df;border:1px solid #eed4a4;padding:12px;border-radius:10px}.po-clinical-alert a{color:inherit;text-decoration:underline}
.po-quickcalc-note{font-size:12px;line-height:1.7}.po-quickcalc-disclaimer{display:block;font-size:11px;line-height:1.6;color:#786270;margin:16px 0}
.po-copy-dose{width:100%;justify-content:center;white-space:normal!important;min-height:46px}.po-copy-dose:disabled{opacity:.45;cursor:not-allowed}
.po-quickcalc-empty{padding:50px 10px;text-align:center;color:#87617c}.po-quickcalc-empty p{font-size:13px;line-height:1.7}
html[data-color-mode="dark"] .po-sidebar-tools .po-font-control button{background:#172a25;border-color:#355047;color:#d5e8df}
html[data-color-mode="dark"] .po-sidebar-tools .po-font-control>span{color:#b4cabe}
html[data-color-mode="dark"] .po-catalog-layer .modal-header{background:linear-gradient(110deg,#332331,#1b252c);border-color:#4b3545}
html[data-color-mode="dark"] .po-catalog-layer .modal-header h2{color:#ffc9e6}html[data-color-mode="dark"] .po-catalog-layer .modal-header p{color:#c3b8c3}
html[data-color-mode="dark"] .po-pediatric-shortcuts .po-quickcalc-open{background:#342436;color:#f6c5e3;border-color:#624059}
html[data-color-mode="dark"] .po-quickcalc-result{background:#241f29;border-color:#51364b;color:#eadce7}
html[data-color-mode="dark"] .po-quickcalc-med{color:#ffb7de}
html[data-color-mode="dark"] .po-quickcalc-options button{background:#24232d;color:#f1e4ed;border-color:#4c3a4b}
html[data-color-mode="dark"] .po-quickcalc-options button[aria-pressed="true"]{background:#45263b;border-color:#db87b6}
html[data-color-mode="dark"] :is(.po-quickcalc-count,.po-quickcalc-options span,.po-quickcalc-disclaimer,.po-quickcalc-empty){color:#c7b7c4}
html[data-color-mode="dark"] .po-clinical-alert{background:#3d3020;color:#ffdda2;border-color:#725631}
@media(max-width:700px){.po-rx-intro .v4m-actions{width:100%}.po-rx-intro .v4m-actions>button{flex:1}.po-pediatric-shortcuts{width:100%;gap:7px}.po-pediatric-shortcuts button{flex:1;min-width:0;font-size:12px;padding:10px}.po-pediatric-shortcuts small{font-size:9px}.po-mode-tools .v4m-viewsel{width:100%}.po-catalog-layer{padding:8px}.po-quickcalc-body{grid-template-columns:minmax(0,1fr);padding:15px!important;gap:16px}.po-quickcalc-options{max-height:180px}.po-quickcalc-result{padding:15px}.po-dose-result>strong{font-size:21px}html[data-app-layout="wide"] body .po-catalog-layer>.ped-catalog-modal{width:100%!important;border-radius:16px!important}}
}
@media print{.po-sidebar-tools,.po-quickcalc-layer{display:none!important}}

.rename-review-filter{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--text-soft);padding:8px 0}.rename-review-filter select{padding:7px 10px;border-radius:8px;background:var(--surface);color:var(--text);border:1px solid var(--border)}.rename-source{font-size:12px;color:var(--text-soft)}.rename-source a{color:var(--accent)}.po-rx-card>.po-clinical-alert{margin:12px 15px}

@media screen{html[data-color-mode="dark"] .rename-source a,html[data-color-mode="dark"] .rename-footer a{color:#9de2c8!important}html[data-color-mode="dark"] .ped-catalog-modal .pci-dose{color:#ffb3d8!important}}
.rename-source{grid-column:1/-1;line-height:1.6;overflow-wrap:anywhere}.rename-source span{display:block;margin-top:4px}
