/* Shared full-width shell. Scope every override to this layout, including classic mode. */
html[data-app-layout="wide"]{--po-header-height:86px;--v4-sb-w:0px}
html[data-app-layout="wide"] body .app.po-app{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:var(--po-header-height) 0 0!important;min-height:100dvh;background:#f8fafb}
html[data-app-layout="wide"] body .po-app>.app-content{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:24px clamp(16px,2.4vw,40px) 36px!important}
html[data-app-layout="wide"][data-home="on"] body .po-app>.app-content{padding:0!important;zoom:1!important}
html[data-app-layout="wide"] body .po-app>.app-content>:is(.main,.gaso-view,.calc-view,.pt-view,.ia-view,.rename-view,.v4-pageheader,main,section){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
html[data-app-layout="wide"] body .po-app .v4m-root{top:calc(var(--localbar-height,0px) + var(--po-header-height))!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(100dvh - var(--localbar-height,0px) - var(--po-header-height))!important;max-height:none!important;padding:0!important}
html[data-app-layout="wide"] body .v4m-main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-width:0!important}
html[data-app-layout="wide"] body .v4m-searchbar{top:0!important}
html[data-app-layout="wide"] body :is(.v4m-sidebar,.v4m-shell,.v4-reopen-btn,.v4m-topbar,.v4m-topbar-fixed,.app-sidebar,.app-fullsidebar,.app-topnav-bar,.bottom-nav,.v4dock,.back-to-presc-wrap){display:none!important}
html[data-app-layout="wide"] body .v4m-viewlbl{display:inline!important}
.po-topbar,.po-dashboard{font-family:Inter,system-ui,sans-serif;color:#172436;line-height:1.5;font-size:14px}
.po-topbar *,.po-dashboard *{box-sizing:border-box}.po-topbar button,.po-dashboard button{font:inherit;cursor:pointer}.po-topbar svg,.po-dashboard svg{flex-shrink:0}.po-topbar button:focus-visible,.po-topbar summary:focus-visible,.po-dashboard button:focus-visible{outline:3px solid #1bb98c;outline-offset:4px}.po-dashboard :is(h1,h2,h3,p){margin:0}
.po-topbar{position:fixed;top:var(--localbar-height,0px);inset-inline:0;z-index:150;min-height:86px;padding:14px clamp(16px,2.4vw,40px);display:flex;align-items:center;gap:24px;background:#fffffffa;border-bottom:1px solid #e1e9ec;box-shadow:0 3px 14px #24374804;backdrop-filter:blur(16px)}
.po-brand{display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;padding:0;color:#101c2d;flex-shrink:0}.po-brand-mark{width:48px;height:50px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#04b46a,#006448);color:white;font:800 47px/1 system-ui;box-shadow:0 4px 10px #08634322;padding-bottom:4px}.po-brand strong{display:block;font-size:22px;letter-spacing:-.7px;font-weight:750}.po-brand small{display:block;color:#75849a;font-size:12px;margin-top:1px}

.po-top-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.po-support{display:flex;align-items:center;gap:8px;padding:9px 10px;border:0;border-radius:8px;background:#eff8f4;color:#16654d;font-size:12px!important;font-weight:600!important}.po-support b{background:#c92323;color:white;border-radius:9px;padding:1px 5px;font-size:9px}.po-icon-button,.po-logout,.po-display>summary{display:grid;place-items:center;background:#fff;border:1px solid #e7edf1;border-radius:11px;width:41px;height:43px;color:#556276;padding:0}.po-logout{color:#ee4448;border-color:#f9dddd;margin-left:5px}.po-logout:hover{background:#fff2f2}.po-profile{display:flex;align-items:center;gap:11px;text-align:left;background:transparent;border:0;border-left:1px solid #eef1f4;padding:0 0 0 12px;color:#172436;max-width:280px}.po-avatar{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:linear-gradient(140deg,#02a963,#006344);color:#fff;font-size:15px;font-weight:700}.po-profile-data{min-width:0}.po-profile-data strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-profile-data small{display:block;color:#78879a;font-size:11px;margin-top:2px}
.po-display{position:relative}.po-display>summary{list-style:none;cursor:pointer}.po-display>summary::-webkit-details-marker{display:none}.po-display[open]>summary{border-color:#67b59a;background:#f1faf6}.po-display-panel{position:absolute;top:52px;right:0;width:255px;padding:18px;background:white;border:1px solid #dce8e1;border-radius:12px;box-shadow:0 12px 30px #122b3320}.po-display-panel>p{font-size:11px;color:#718278;margin:6px 0 14px}.po-font-control{display:flex;gap:5px}.po-font-control button{flex:1;padding:9px 6px;border:1px solid #e0e8e3;border-radius:7px;background:#f8fbf9;color:#243d31}.po-font-control button:disabled{opacity:.4}.po-history{width:100%;margin-top:12px;padding:10px;border:0;border-radius:7px;background:#eaf5ef;color:#126c4b}
.po-dashboard{width:100%;padding:32px clamp(20px,2.6vw,44px) 22px;min-height:calc(100dvh - var(--po-header-height) - var(--localbar-height,0px));background:radial-gradient(ellipse at 64% 10%,#ecf9f330,transparent 60%),#fcfefe}
.po-home-hero{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,2.4fr);gap:30px;align-items:stretch}.po-welcome{display:flex;flex-direction:column;justify-content:center;padding:8px 0}.po-eyebrow{font-size:11px;font-weight:750;color:#008553;letter-spacing:1.5px}.po-welcome h1{font-size:clamp(35px,3.4vw,58px);font-weight:750;line-height:1.1;letter-spacing:-1.6px;margin-top:16px}.po-welcome h1 span{color:#006947}.po-intro{font-size:clamp(14px,1.22vw,19px);line-height:1.65;color:#687b95;margin-top:17px!important;max-width:380px}.po-care-note{display:flex;align-items:center;gap:16px;background:#f0f9f5;border:1px solid #dfeee8;border-radius:13px;padding:20px 18px;margin-top:25px;color:#006b4d}.po-care-note p{font-size:13px;color:#74899a;line-height:1.7}.po-care-note strong{font-weight:650;color:#086a4e}
.po-central{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;text-align:left;justify-content:space-between;gap:24px;width:100%;min-width:0;border:1px solid #33b684;border-radius:19px;padding:28px 30px;background:linear-gradient(125deg,#00a866 0%,#00825a 46%,#00503c 100%);color:#fff;box-shadow:0 10px 24px #0e855c1c;transition:box-shadow .2s,transform .2s}.po-central:before{content:'';position:absolute;width:280px;height:280px;border-radius:50%;background:#00c67d25;right:-34px;top:4px;z-index:-1}.po-central:hover{transform:translateY(-2px);box-shadow:0 14px 28px #0b65452a}.po-central-top{display:flex;align-items:center;gap:14px;justify-content:space-between}.po-main-label{display:inline-flex;font-size:10px;font-weight:750;border-radius:99px;padding:6px 14px;background:#ceffe9;color:#076f4e}.po-central h2{font-size:clamp(30px,3vw,52px);line-height:1.12;letter-spacing:-1.3px;font-weight:750;margin-top:16px}.po-central-top p{font-size:clamp(13px,1.3vw,20px);line-height:1.6;color:#e0f7ed;margin-top:12px}.po-doc-art{display:grid;place-items:center;color:#beffe2;filter:drop-shadow(0 8px 6px #003e4933);transform:rotate(-4deg);margin:0 8px}.po-doc-art svg{width:clamp(65px,8vw,126px);height:auto;stroke-width:1.2}
.po-central-features{padding:15px 16px 17px;background:linear-gradient(110deg,#effcf8,#def4ed);border:1px solid #dbfff1;border-radius:14px;color:#173a35}.po-central-features>strong{display:block;font-size:12px;color:#087253;margin-bottom:13px}.po-central-features>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.po-central-feature{display:flex;align-items:center;gap:11px;padding:0 12px;border-left:1px solid #c6e1d9;min-width:0}.po-central-feature:first-child{border-left:0;padding-left:0}.po-central-feature:last-child{padding-right:0}.po-central-feature i{display:grid;place-items:center;flex-shrink:0;width:44px;height:49px;background:#ffffffd9;color:#067251;border:1px solid #d8ede6;border-radius:10px}.po-central-feature b{font-size:14px;display:block;font-weight:700}.po-central-feature small{display:block;font-size:11px;line-height:1.5;color:#6d8594;margin-top:4px}.po-central-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}.po-central-bottom>span:first-child{font-size:11px;color:#e5fbf1}.po-central-bottom small{display:block;color:#bee4d2;font-size:10px;margin-top:4px}.po-enter{display:flex;align-items:center;gap:18px;justify-content:center;padding:17px 20px;border-radius:12px;background:#fff;color:#07503c;font-size:13px;font-weight:750;white-space:nowrap;box-shadow:0 4px 8px #003e2220}
.po-shortcuts{margin-top:30px}.po-section-heading{display:flex;align-items:center;gap:18px;margin-bottom:18px}.po-section-heading h2{font-size:11px;letter-spacing:1.3px;font-weight:700;color:#596d84;white-space:nowrap}.po-section-heading>span{height:1px;background:#e8eef1;flex:1}.po-section-heading p{font-size:11px;color:#7f90a8}.po-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.po-shortcut{display:flex;align-items:center;gap:13px;min-width:0;text-align:left;padding:19px 16px;min-height:105px;border:1px solid #e3ebf2;border-radius:13px;background:#fff;color:#18283b;box-shadow:0 2px 4px #334d5002;transition:transform .15s,border-color .15s,box-shadow .15s}.po-shortcut:hover{border-color:#92cbb5;transform:translateY(-2px);box-shadow:0 6px 14px #0968430a}.po-shortcut-icon{width:49px;height:58px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#e9f5ff;color:#248bdf}.po-green .po-shortcut-icon{background:#e4f8ef;color:#008465}.po-shortcut-copy{flex:1;min-width:0}.po-shortcut-copy>strong{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px;font-size:15px;font-weight:700;line-height:1.5}.po-shortcut-copy>small{display:block;color:#7d8ca2;font-size:12px;line-height:1.6;margin-top:5px}.po-badge{border-radius:99px;background:#ddfaec;color:#068459;font-size:9px;font-weight:650;padding:1px 7px}.po-shortcut-arrow{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#f3f7f8;color:#70899b}
.po-home-footer{margin-top:24px;padding-top:17px;border-top:1px solid #e6edf0;display:flex;justify-content:space-between;gap:20px;color:#8695a8;font-size:10px}.po-home-footer>span{display:flex;align-items:center;gap:7px}.po-home-footer b{font-weight:400;color:#b7c5ce}.po-status-dot{width:6px;height:6px;border-radius:50%;background:#22af79}
@media(min-width:1800px){.po-dashboard{padding-top:44px}.po-home-hero{gap:42px}.po-central{padding:36px 40px;gap:30px}.po-shortcut{min-height:122px}.po-shortcut-copy>strong{font-size:15px}.po-shortcut-copy>small{font-size:12px}}
@media(max-width:1250px){.po-topbar{gap:16px}.po-brand strong{font-size:19px}.po-brand-mark{width:42px;height:44px;font-size:40px}.po-top-actions{gap:8px}.po-profile-data{max-width:150px}.po-home-hero{gap:24px;grid-template-columns:minmax(210px,.8fr) minmax(0,2fr)}.po-central{padding:24px;gap:20px}.po-doc-art{display:none}.po-central-feature{padding:0 7px;gap:7px}.po-central-feature i{width:33px;height:39px}.po-central-feature i svg{width:23px}.po-central-bottom{align-items:flex-start;flex-direction:column;gap:14px}.po-enter{align-self:stretch;padding:13px}.po-care-note{padding:16px 12px;gap:10px}.po-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.po-profile-data{display:none}.po-topbar{min-height:78px;padding-block:12px}.po-top-actions{gap:7px}.po-support>span{display:none}.po-support{width:37px;justify-content:center;padding:8px}.po-topbar .po-profile{padding-left:8px}.po-icon-button,.po-logout,.po-display>summary{width:35px;height:39px}.po-home-hero{grid-template-columns:1fr}.po-welcome{display:grid;grid-template-columns:1fr 1fr;gap:8px 28px}.po-welcome .po-eyebrow{grid-column:1/-1}.po-welcome h1{grid-column:1;grid-row:2/4;font-size:42px;margin-top:6px}.po-intro{grid-column:2;grid-row:2;font-size:14px;margin-top:0!important;align-self:center}.po-care-note{grid-column:2;grid-row:3;margin-top:5px;padding:12px;max-width:390px}.po-care-note p{font-size:11px}.po-central-bottom{flex-direction:row;align-items:center}.po-enter{align-self:auto}.po-central-feature i{width:44px;height:46px}.po-central h2{font-size:37px}.po-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.po-topbar{gap:10px;padding:10px 14px;min-height:70px;flex-wrap:wrap}.po-brand{gap:7px}.po-brand-mark{width:31px;height:34px;border-radius:9px;font-size:31px}.po-brand strong{font-size:15px;letter-spacing:-.5px}.po-brand small{font-size:9px}.po-top-actions{gap:5px}.po-avatar{width:29px;height:29px;font-size:10px}.po-profile{border:0!important;padding:0!important}.po-icon-button,.po-logout,.po-display>summary{width:27px;height:32px;border:0;background:transparent}.po-logout{margin:0}.po-support{width:27px;height:32px;padding:3px;background:transparent}.po-support svg{width:18px}.po-icon-button svg,.po-display svg{width:18px}.po-display-panel{right:-104px;top:40px;width:244px}.po-dashboard{padding:23px 18px 20px}.po-home-hero{gap:21px}.po-welcome{display:block}.po-eyebrow{font-size:9px;letter-spacing:1.3px}.po-welcome h1{font-size:36px;margin-top:11px}.po-intro{font-size:13px;margin-top:13px!important;max-width:100%}.po-care-note{display:none}.po-central{border-radius:16px;padding:22px 18px;gap:20px}.po-central h2{font-size:31px;letter-spacing:-.8px}.po-central-top p{font-size:12px}.po-wide-break{display:none}.po-main-label{font-size:9px}.po-central-features{padding:13px 12px}.po-central-features>strong{font-size:11px}.po-central-features>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.po-central-feature{padding:0;border:0;gap:8px}.po-central-feature i{width:32px;height:38px}.po-central-feature b{font-size:10px}.po-central-feature small{font-size:9px}.po-central-bottom{flex-direction:column;align-items:stretch;gap:15px}.po-central-bottom>span:first-child{font-size:10px}.po-central-bottom small{font-size:9px}.po-enter{padding:14px;font-size:12px}.po-section-heading p,.po-section-heading>span{display:none}.po-section-heading h2{font-size:10px}.po-shortcut-grid{grid-template-columns:1fr;gap:10px}.po-shortcut{min-height:82px;padding:14px}.po-shortcut-icon{height:48px;width:47px}.po-shortcut-copy>strong{font-size:13px}.po-shortcut-copy>small{font-size:11px}.po-home-footer{flex-direction:column;gap:10px;font-size:9px}
html[data-app-layout="wide"] body .v4m-viewsel{width:100%;overflow:auto;flex-wrap:nowrap!important}html[data-app-layout="wide"] body .v4m-viewsel>div{flex-shrink:0}html[data-app-layout="wide"] body .v4m-searchbox{min-width:0!important;width:100%!important}html[data-app-layout="wide"] body .v4m-modes{padding-left:14px!important;padding-right:14px!important}}
@media(prefers-reduced-motion:reduce){.po-dashboard *{transition:none!important}}
@media print{.po-topbar{display:none!important}html[data-app-layout="wide"]{--po-header-height:0px!important}.po-dashboard{padding:0!important}.po-home-footer{display:none}}

html[data-app-layout="wide"] body .po-app .av-wrap{max-width:none!important;width:100%!important}
html[data-app-layout="wide"] body :is(.gaso-hero,.calc-hero,.ia-hero,.pt-hero,.rename-hero){display:none!important}
html[data-app-layout="wide"] body :is(.drawer,.history-drawer){top:calc(var(--localbar-height,0px) + var(--po-header-height))!important;max-height:calc(100dvh - var(--localbar-height,0px) - var(--po-header-height))!important}
html[data-app-layout="wide"] body .po-app>.app-content>div[style*="max-width: 900px"]{max-width:none!important;width:100%!important}
@media(max-width:720px){html[data-app-layout="wide"] body .v4m-searchbox{flex:0 0 auto!important;width:calc(100% - 28px)!important;height:60px!important;min-height:60px!important;margin:8px 14px!important}html[data-app-layout="wide"] body .v4m-viewsel{display:flex!important;min-width:0!important;width:100%;max-width:100%;overflow:auto;flex-wrap:nowrap!important}html[data-app-layout="wide"] body .v4m-viewsel>div{flex-shrink:0}}
/* Compact single-row header: logo, areas and account controls. */
.po-topbar{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:16px;min-height:68px;padding:10px 20px}
.po-topbar .po-brand{gap:8px}.po-topbar .po-brand-mark{width:37px;height:40px;font-size:37px;border-radius:10px}.po-topbar .po-brand strong{font-size:17px}.po-topbar .po-brand small{font-size:10px}
.po-area-nav{display:flex;align-items:center;flex:1;min-width:0;gap:4px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#b6d2c5 transparent;padding:3px 1px}
.po-area-nav button{display:flex;align-items:center;justify-content:center;flex:1 0 auto;gap:5px;min-height:38px;padding:8px clamp(5px,.5vw,10px);border:1px solid transparent;border-radius:8px;background:transparent;color:#52675e;font-size:clamp(11px,.78vw,13px);font-weight:650;line-height:1.2;white-space:nowrap;transition:background .15s}
.po-area-nav button:hover{background:#e9f5ef;color:#075f43}.po-area-nav button[aria-current="page"]{background:#087954;color:#fff}
.po-area-nav button:focus-visible{outline-offset:-3px}
.po-topbar .po-top-actions{flex-shrink:0;gap:7px;margin:0}.po-topbar .po-profile{max-width:205px;padding-left:8px;gap:8px}.po-topbar .po-avatar{width:34px;height:34px;font-size:12px}.po-topbar .po-icon-button,.po-topbar .po-logout,.po-topbar .po-display>summary{width:33px;height:36px}.po-topbar .po-support{padding:8px;font-size:11px!important}.po-topbar .po-profile-data strong{font-size:12px}.po-topbar .po-profile-data small{font-size:10px}
.po-account-toggle{display:none;border:0;padding:0;background:transparent;flex-shrink:0;border-radius:50%}
.po-display-panel{z-index:2;top:43px}
@media(max-width:1550px){.po-topbar{gap:10px;padding-inline:14px}.po-topbar .po-profile-data,.po-topbar .po-support>span{display:none}.po-topbar .po-support{width:33px;justify-content:center}.po-topbar .po-brand strong{font-size:15px}.po-topbar .po-brand small{font-size:9px}.po-area-nav button{gap:4px;padding-inline:6px;font-size:11px}.po-area-nav button svg{width:16px;height:16px}}
@media(max-width:1150px){.po-account-toggle{display:block}.po-topbar .po-top-actions{display:none;position:absolute;right:12px;top:calc(100% + 6px);padding:14px;background:white;border:1px solid #dce8e1;border-radius:12px;box-shadow:0 10px 28px #12342626;gap:9px;flex-wrap:wrap;width:290px}.po-topbar .po-top-actions.is-open{display:flex}.po-topbar .po-top-actions .po-profile{order:-1;width:100%;max-width:none;border:0;padding:0 0 10px!important;border-bottom:1px solid #eef1f4!important}.po-topbar .po-top-actions .po-profile-data{display:block;max-width:225px}.po-topbar .po-top-actions .po-support{width:auto}.po-topbar .po-top-actions .po-support>span{display:inline}.po-topbar .po-display-panel{right:-149px;top:45px;width:255px}.po-topbar .po-top-actions .po-logout{margin-left:auto}}
@media(max-width:800px){.po-topbar{min-height:58px;padding:7px 10px;gap:8px}.po-topbar .po-brand>span:last-child{display:none}.po-topbar .po-brand-mark{width:32px;height:35px;font-size:32px}.po-area-nav button{min-height:36px;padding:8px 7px;font-size:11px}.po-area-nav button svg{display:none}.po-area-nav button:first-child svg{display:block}.po-topbar .po-avatar{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.po-area-nav button{transition:none}}
html[data-app-layout="wide"] .hero-search-placeholder{right:12px;min-width:0;overflow:hidden}
/* Floating prescription workspace — keep the list and its scroll position. */
.po-rx-open-button{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:9px 0;background:none;border:0;text-align:left;color:#22362a;cursor:pointer;font:600 14px 'IBM Plex Sans',sans-serif}.po-rx-open-button>span:first-child{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-rx-open-button>span:last-child{color:#8a9b90;font-size:17px}.po-rx-list-card:hover{background:#f4faf7!important}
.po-rx-backdrop{position:fixed;inset:var(--localbar-height,0px) 0 0;z-index:180;display:grid;place-items:center;padding:24px;background:#102a2469;backdrop-filter:blur(5px);font-family:Inter,system-ui,sans-serif;color:#172b24}
.po-rx-dialog{display:flex;flex-direction:column;width:min(1080px,100%);max-height:100%;min-height:0;border:1px solid #d5e7dd;border-radius:20px;background:#fff;box-shadow:0 30px 100px #051b2440;overflow:hidden;animation:poRxEnter .18s ease-out}
.po-rx-dialog *{box-sizing:border-box}.po-rx-dialog button{cursor:pointer}.po-rx-dialog button:focus-visible{outline:3px solid #0c9568;outline-offset:2px}
.po-rx-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:#f0f8f4;border-bottom:1px solid #e1eee6;flex-shrink:0}.po-rx-topline>span{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:750;letter-spacing:1.4px;color:#27815d}.po-rx-close{display:flex;align-items:center;gap:8px;border:1px solid #d8e7de;border-radius:9px;background:#fff;color:#496457;padding:8px 11px;font-size:12px}
.po-rx-card{display:flex;flex-direction:column;min-height:0;overflow:hidden}.po-rx-heading{padding:22px 26px!important;flex-shrink:0;flex-wrap:wrap}.po-rx-title{font-size:clamp(19px,2vw,27px);font-weight:750;line-height:1.25;letter-spacing:-.5px;overflow-wrap:anywhere}.po-rx-heading>span{max-width:100%;overflow-wrap:anywhere}
.po-rx-actions{padding:12px 26px!important;gap:8px!important;border-bottom:1px solid #e7eee9;background:#fff;flex-shrink:0}.po-rx-tab{background:transparent;border:0;border-radius:0;min-height:38px}.po-rx-actions>div{gap:8px!important}.po-rx-actions button{min-height:38px}
.po-rx-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:22px 26px!important;background:#f5f8f6;flex:1}.po-rx-content>div{padding:16px 22px!important;border-color:#dfeae3!important;box-shadow:0 3px 12px #12362905;min-height:240px}.po-rx-content .editor-area{font:400 15px/1.8 Inter,system-ui,sans-serif;color:#283e34;overflow-wrap:anywhere;padding:14px 0;min-height:180px!important}.po-rx-content .editor-area p{margin:0 0 12px}.po-rx-content .editor-area :is(h1,h2,h3){color:#126347;line-height:1.4}.po-rx-content .editor-toolbar{background:transparent;border-bottom:1px solid #e5eee8;flex-wrap:wrap}.po-rx-content .editor-area table{max-width:100%}
.po-rx-footer{padding:12px 26px;border-top:1px solid #e1eae5;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#74877b;flex-shrink:0}.po-rx-confirm{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;color:#8c5412;flex-wrap:wrap}.po-rx-confirm>div{display:flex;gap:8px;flex-wrap:wrap}.po-rx-confirm button{padding:9px 12px;border:1px solid #dfcdb7;border-radius:8px;background:#fffaf2;color:#714211}.po-rx-confirm button:first-child{background:#087954;color:white;border-color:#087954}
html.po-rx-floating body .modal-overlay{z-index:210!important}html.po-rx-floating body .modal{z-index:211!important}
@media(max-width:650px){.po-rx-backdrop{padding:10px}.po-rx-dialog{border-radius:14px}.po-rx-topline{padding:10px 14px}.po-rx-topline>span{font-size:9px;letter-spacing:.6px}.po-rx-heading{padding:16px 14px!important;gap:8px!important}.po-rx-title{font-size:20px}.po-rx-actions{padding:9px 14px!important}.po-rx-actions>div{margin-left:0!important;width:100%}.po-rx-actions button{font-size:12px!important;padding:8px 10px!important}.po-rx-content{padding:12px!important}.po-rx-content>div{padding:10px 14px!important}.po-rx-content .editor-area{font-size:14px}.po-rx-footer{padding:10px 14px}.po-rx-footer>span:last-child{display:none}}
@keyframes poRxEnter{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.po-rx-dialog{animation:none}}
@media print{.po-rx-backdrop{display:none!important}}
html[data-app-layout="wide"]:has(.ped-calc-modal-v2) body .modal-overlay{z-index:180!important}
html[data-app-layout="wide"]:has(.ped-calc-modal-v2) body .modal{z-index:181!important}
html[data-app-layout="wide"] body .ped-calc-modal-v2{top:calc(50% + var(--localbar-height,0px)/2)!important;max-height:calc(100dvh - var(--localbar-height,0px) - 32px)!important}
@media(max-width:650px){html[data-app-layout="wide"] body .ped-calc-modal-v2{top:var(--localbar-height,0px)!important;max-height:calc(100dvh - var(--localbar-height,0px))!important;transform:none!important;left:0!important}.ped-calc-modal-v2 .modal-title-wrap{min-width:0}.ped-calc-modal-v2 .modal-title{overflow-wrap:anywhere}.ped-calc-modal-v2 .modal-header>div:last-child{flex-shrink:0}}
.po-rx-content .editor-area.editable{background:#fff!important}.po-rx-content .editor-area.editable:focus{background:#fbfefc!important;outline:none}
@media(max-width:650px){.po-rx-heading>div{order:-1;flex:1 0 100%!important;width:100%}.po-rx-heading{gap:8px!important}.po-rx-title{font-size:19px;line-height:1.3}.po-rx-heading>button:last-child{margin-left:auto}}
.po-add-cid{flex-shrink:0;border:1px dashed #a6c7b6;border-radius:7px;background:#f2faf6;color:#176c4c;padding:5px 8px;font:600 11px Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.po-rx-metadata{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.32fr);gap:12px;width:100%}.po-rx-metadata label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;color:#496357;min-width:0}.po-rx-metadata label small{font-weight:400;color:#7c8e84;display:contents}.po-rx-metadata input{width:100%;min-width:0;padding:10px 12px;border:1px solid #9fbfac;border-radius:8px;background:white;color:#172c21;font:500 14px Inter,system-ui,sans-serif}.po-rx-metadata>div{display:flex;gap:8px;grid-column:1/-1}.po-rx-metadata button{padding:9px 13px;border:1px solid #d2e2d8;border-radius:8px;background:white;color:#446150;font-weight:650}.po-rx-metadata button[type=submit]{background:#087954;border-color:#087954;color:white}.po-rx-metadata button:disabled{opacity:.6;cursor:wait}
@media(max-width:650px){.po-rx-metadata{grid-template-columns:1fr;gap:10px}.po-rx-metadata input{font-size:16px}}
/* Mode choice is a centered group, separate from layout controls. */
html[data-app-layout="wide"] body .v4m-modedivider{justify-content:center!important;width:100%;padding:20px 24px 0!important;gap:18px!important}
html[data-app-layout="wide"] body .v4m-modedivider>span{flex:1 1 0!important;max-width:140px}
#po-mode-heading{margin:0;text-align:center;font:750 clamp(16px,1.5vw,21px)/1.4 Inter,system-ui,sans-serif;color:#26483a;letter-spacing:-.3px;text-transform:none;flex:0 1 auto}
html[data-app-layout="wide"] body .v4m-modes{display:flex!important;flex-direction:column;align-items:center;gap:14px!important;padding-top:12px!important}
.po-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(780px,100%);margin:0 auto}
html[data-app-layout="wide"] body .po-mode-options .v4m-mode{justify-content:center!important;min-width:0;min-height:72px;padding:13px 16px!important;text-align:left;font:inherit}
html[data-app-layout="wide"] body .po-mode-options .v4m-mode-on{outline:2px solid var(--v4-primary);outline-offset:2px;box-shadow:0 5px 15px #123a2217!important}
.po-mode-tools{display:flex;gap:12px;align-items:center;width:100%;min-width:0}.po-mode-tools .v4m-viewsel{width:auto!important;max-width:100%}
.po-ped-card{border:1px solid var(--po-ped-border);border-radius:11px;background:white;box-shadow:inset 3px 0 var(--po-ped-accent);overflow:hidden}
.po-ped-row{display:flex;align-items:center;gap:8px;padding:5px 12px;min-width:0}.po-ped-cid{font:500 10px monospace;background:#f5f6fb;color:#586475;padding:3px 6px;border-radius:5px}.po-ped-delete{display:flex;align-items:center;gap:5px;border:1px solid #f4dede;border-radius:7px;background:#fff9f9;color:#b34242;padding:7px;font-size:11px;cursor:pointer;flex-shrink:0}.po-ped-delete:hover{background:#ffecec}
.po-ped-confirm{padding:15px;background:#fff6f5;border-top:1px solid #f2d8d5;color:#8c3932;font:13px/1.5 Inter,system-ui,sans-serif}.po-ped-confirm p{margin:5px 0 13px;overflow-wrap:anywhere}.po-ped-confirm>div{display:flex;gap:8px;flex-wrap:wrap}.po-ped-confirm button{padding:9px 12px;border:1px solid #dcdfe2;border-radius:8px;background:white;cursor:pointer;color:#46554e;font-weight:650}.po-ped-confirm .po-ped-confirm-delete{background:#b63636;border-color:#b63636;color:white}.po-ped-card button:disabled{opacity:.6;cursor:wait}
@media(max-width:720px){html[data-app-layout="wide"] body .v4m-modedivider{padding:17px 16px 4px!important;gap:8px!important}html[data-app-layout="wide"] body .v4m-modedivider>span{max-width:35px}#po-mode-heading{font-size:17px}.po-mode-options{gap:8px}html[data-app-layout="wide"] body .po-mode-options .v4m-mode{flex-direction:column;min-height:82px;padding:9px 4px!important;gap:6px!important;text-align:center}.po-mode-tools{flex-wrap:wrap}.po-mode-tools>div:empty{display:none}.po-ped-delete>span{display:none}.po-ped-row{padding-inline:10px;gap:6px}.po-mode-tools .v4m-viewsel{margin-left:auto}}

/* Prescription workspace: choose mode, browse, then act. */
html[data-app-layout="wide"] body .v4m-main{display:block!important;background:#f6f9f8}
.po-mode-panel{padding:0 0 19px;background:linear-gradient(180deg,#fff,#f0f6f3);border-bottom:1px solid #dfe9e4}
html[data-app-layout="wide"] body .po-mode-panel .v4m-modedivider{padding-top:18px!important}
html[data-app-layout="wide"] body #po-mode-heading{font:650 16px/1.4 Inter,system-ui,sans-serif;letter-spacing:0;color:#365448;text-transform:none}
html[data-app-layout="wide"] body .po-mode-panel .v4m-modes{padding-top:10px!important}
html[data-app-layout="wide"] body .po-mode-options{max-width:740px;gap:12px}
html[data-app-layout="wide"] body .po-mode-options .v4m-mode{min-height:62px;padding:10px 18px!important;border-radius:12px!important;box-shadow:none!important}
html[data-app-layout="wide"] body .po-mode-options .v4m-mode-on{outline-width:1px;outline-offset:1px;box-shadow:0 4px 12px #194d3410!important}
html[data-app-layout="wide"] body .v4m-mode-desc{color:#6b7e74!important}
html[data-app-layout="wide"] body .po-rx-intro{display:flex!important;padding:23px clamp(16px,2.4vw,30px) 17px!important;margin:0}
.po-rx-eyebrow{font:650 10px/1.4 Inter,system-ui,sans-serif;letter-spacing:1.5px;color:#6b8175}
.po-rx-intro h1{margin:5px 0 6px;font:700 clamp(23px,2vw,29px)/1.2 Inter,system-ui,sans-serif;letter-spacing:-.8px;color:#19372a}
.po-rx-intro p{margin:0;max-width:800px;font:400 13px/1.6 Inter,system-ui,sans-serif;color:#64796c}
html[data-app-layout="wide"] body .po-rx-toolbar{display:flex!important;position:sticky!important;top:0!important;z-index:30;align-items:flex-end;gap:18px!important;padding:14px clamp(16px,2.4vw,30px)!important;background:#f6f9f8f5;border-block:1px solid #e3ebe6;backdrop-filter:blur(12px);flex-wrap:wrap;box-shadow:none}
.po-rx-search-field{flex:1 1 330px;min-width:0}
.po-rx-search-field label{display:block;margin-bottom:7px;font:650 12px/1.4 Inter,system-ui,sans-serif;color:#395748}
html[data-app-layout="wide"] body .po-rx-toolbar .v4m-searchbox{position:relative!important;display:flex;align-items:center;gap:10px;width:100%!important;min-width:0!important;max-width:none!important;min-height:48px!important;height:48px!important;margin:0!important;padding:0 14px!important;border:1px solid #cbdcd2;border-radius:10px;background:white;box-shadow:0 2px 4px #19362b03!important;color:#6b8978}
html[data-app-layout="wide"] body .po-rx-toolbar .v4m-searchbox:focus-within{border-color:var(--v4-primary);box-shadow:0 0 0 3px var(--v4-primary-soft)!important}
.po-rx-toolbar .v4m-searchbox>svg{flex-shrink:0}
.po-rx-toolbar input{width:100%;min-width:0;height:100%;padding:0;border:0;background:transparent;outline:none;font:400 14px Inter,system-ui,sans-serif;color:#254133;box-shadow:none}
.po-rx-toolbar input::placeholder{color:#80948a}.po-rx-toolbar input::-webkit-search-cancel-button{display:none}
.po-search-clear{flex-shrink:0;width:28px;height:28px;border:0;border-radius:6px;background:#edf3ef;color:#486657;font-size:20px;cursor:pointer}
html[data-app-layout="wide"] body .po-rx-toolbar .v4m-actions{display:flex!important;position:static!important;width:auto!important;margin:0!important;gap:9px!important;flex-wrap:nowrap;align-items:center}
html[data-app-layout="wide"] body .po-rx-toolbar .v4m-actions>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 15px!important;border-radius:10px;white-space:nowrap;font:650 13px Inter,system-ui,sans-serif;cursor:pointer;transition:background .15s,box-shadow .15s}
.po-rx-toolbar .v4m-act-atestado{background:#eef3ff;color:#365eaa;border:1px solid #cddbf5;box-shadow:0 2px 3px #3d599005}
.po-rx-toolbar .v4m-act-atestado:hover{background:#e1ebff;border-color:#94b2e6}
.po-certificate-icon{display:grid;place-items:center;color:#4268ae}
.po-rx-toolbar .v4m-act-nova{background:var(--v4-primary);color:white;border:1px solid var(--v4-primary);box-shadow:0 3px 8px #15442c12}
.po-rx-toolbar .v4m-act-nova>span:first-child{font-size:21px;font-weight:400}.po-rx-toolbar .v4m-act-nova:hover{filter:brightness(.94)}
html[data-app-layout="wide"] body .po-rx-toolbar .hero-act-exam{min-height:48px!important;border-radius:10px!important;box-shadow:none!important;background:white!important;border:1px solid #d2ded7!important;color:#456352!important}
html[data-app-layout="wide"] body .po-mode-tools{padding:13px clamp(16px,2.4vw,30px) 0;box-sizing:border-box;gap:10px}
html[data-app-layout="wide"] body .po-mode-tools .v4m-viewsel{width:auto!important;font-family:Inter,system-ui,sans-serif}
.po-rx-toolbar button:focus-visible,.po-mode-panel button:focus-visible{outline:3px solid #73b79a;outline-offset:3px}
@media(max-width:1100px){html[data-app-layout="wide"] body .po-rx-toolbar .v4m-actions{flex:1 1 auto!important}html[data-app-layout="wide"] body .po-rx-toolbar .v4m-actions>button{flex:1}}
@media(max-width:720px){
 .po-mode-panel{padding-bottom:13px}
 html[data-app-layout="wide"] body #po-mode-heading{font-size:15px}
 html[data-app-layout="wide"] body .po-mode-options{gap:8px}
 html[data-app-layout="wide"] body .po-mode-options .v4m-mode{min-height:74px;padding:9px 4px!important;gap:6px!important}
 html[data-app-layout="wide"] body .po-rx-intro{padding:17px 16px 14px!important}
 .po-rx-eyebrow{font-size:9px}.po-rx-intro h1{font-size:24px}.po-rx-intro p{font-size:12px}
 html[data-app-layout="wide"] body .po-rx-toolbar{position:static!important;padding:13px 16px!important;gap:12px!important}
 .po-rx-search-field{flex-basis:100%}.po-rx-toolbar input{font-size:16px}
 html[data-app-layout="wide"] body .po-rx-toolbar .v4m-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:8px!important}
 html[data-app-layout="wide"] body .po-rx-toolbar .v4m-actions>button{padding:0 9px!important;font-size:12px;gap:6px}
 html[data-app-layout="wide"] body .po-mode-tools{padding:12px 16px 0;flex-wrap:wrap}
 html[data-app-layout="wide"] body .po-mode-tools .v4m-viewsel{margin-left:0!important;max-width:100%}
}

html[data-app-layout="wide"]:has(.po-certificate-modal) body .modal-overlay{z-index:180!important}
html[data-app-layout="wide"]:has(.po-certificate-modal) body .modal{z-index:181!important}
html[data-app-layout="wide"] body .po-certificate-modal{top:calc(50% + var(--localbar-height,0px)/2)!important;max-height:calc(100dvh - var(--localbar-height,0px) - 32px)!important}
@media(max-width:650px){html[data-app-layout="wide"] body .po-certificate-modal{top:var(--localbar-height,0px)!important;max-height:calc(100dvh - var(--localbar-height,0px))!important;transform:none!important;left:0!important}}
html[data-app-layout="wide"] body .po-rx-toolbar .hero-act-exam{display:flex!important}
html[data-app-layout="wide"] body .po-rx-toolbar .hero-act-exam>button:first-child>span{display:flex!important;align-items:center;justify-content:center}
html[data-app-layout="wide"] body .po-rx-toolbar .hero-act-exam>button:first-child>span>span{display:inline!important}
/* Sidebar experiment requested by the user: LOCALHOST only. */
html[data-navigation="sidebar"]{--po-sidebar-width:240px;--po-header-height:0px}
html[data-navigation="sidebar"] body .app.po-app{box-sizing:border-box!important;padding-left:var(--po-sidebar-width)!important}
html[data-navigation="sidebar"] body .po-app .v4m-root{left:var(--po-sidebar-width)!important;width:calc(100% - var(--po-sidebar-width))!important}
html[data-navigation="sidebar"] .po-sidebar{inset:var(--localbar-height,0px) auto 0 0;width:var(--po-sidebar-width);min-height:0;height:calc(100dvh - var(--localbar-height,0px));box-sizing:border-box;padding:22px 14px 15px;display:flex;flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap;border:0;border-right:1px solid #dce8e0;background:#fff;box-shadow:4px 0 18px #163d2405;z-index:150}
.po-sidebar-brand{display:flex;align-items:center;justify-content:space-between;gap:5px}
html[data-navigation="sidebar"] .po-sidebar .po-brand{gap:10px;padding:0 4px;flex-shrink:0;justify-content:flex-start}
html[data-navigation="sidebar"] .po-sidebar .po-brand>span:last-child{display:block;text-align:left}
html[data-navigation="sidebar"] .po-sidebar .po-brand strong{font-size:17px}.po-sidebar .po-brand small{font-size:10px!important}
html[data-navigation="sidebar"] .po-sidebar .po-brand-mark{width:38px;height:40px;font-size:38px}
.po-sidebar-label{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#8b9b93;margin:30px 12px 10px}
html[data-navigation="sidebar"] .po-sidebar .po-area-nav{flex-direction:column;align-items:stretch;justify-content:flex-start;overflow-x:hidden;overflow-y:auto;gap:5px;flex:1 1 auto;padding:2px;min-height:80px}
html[data-navigation="sidebar"] .po-sidebar .po-area-nav button{flex:0 0 auto;justify-content:flex-start;gap:11px;min-height:44px;padding:12px 13px;font-size:12px;border-radius:9px;color:#536b5e}
html[data-navigation="sidebar"] .po-sidebar .po-area-nav button svg{display:block;width:19px;height:19px;flex-shrink:0}
html[data-navigation="sidebar"] .po-sidebar .po-area-nav button[aria-current="page"]{color:#fff;background:#087954;box-shadow:0 3px 8px #08795416}
html[data-navigation="sidebar"] .po-sidebar .po-account-toggle{display:none}
html[data-navigation="sidebar"] .po-sidebar .po-top-actions{position:static;display:grid;grid-template-columns:1fr 34px 34px;gap:9px;width:100%;padding:15px 0 0;margin:12px 0 0;border:0;border-top:1px solid #e6ede8;border-radius:0;background:transparent;box-shadow:none;flex-shrink:0}
html[data-navigation="sidebar"] .po-sidebar .po-profile{grid-column:1/-1;order:-1;width:100%;max-width:none;min-width:0;padding:9px!important;margin:0;border:1px solid #e1eae4!important;border-radius:10px;background:#f6f9f7;justify-content:flex-start;gap:9px}
html[data-navigation="sidebar"] .po-sidebar .po-profile-data{display:block;min-width:0;max-width:150px;text-align:left}
html[data-navigation="sidebar"] .po-sidebar .po-profile-data strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-navigation="sidebar"] .po-sidebar .po-profile-data small{font-size:10px}
html[data-navigation="sidebar"] .po-sidebar .po-avatar{width:32px;height:32px;font-size:11px;flex-shrink:0}
html[data-navigation="sidebar"] .po-sidebar .po-support{width:auto;justify-content:flex-start;padding:8px;grid-column:1;font-size:11px!important}
html[data-navigation="sidebar"] .po-sidebar .po-support>span{display:inline}
html[data-navigation="sidebar"] .po-sidebar .po-logout{grid-column:1/-1;width:100%;height:32px;justify-content:flex-start;padding:0 10px;margin:0;border:0;background:none;font-size:11px;gap:9px}
html[data-navigation="sidebar"] .po-sidebar .po-logout::after{content:'Sair da conta'}
html[data-navigation="sidebar"] .po-sidebar .po-display-panel{top:auto;bottom:44px;left:auto;right:-34px;width:210px}
.po-mobile-menu-bar,.po-sidebar-close,.po-sidebar-scrim{display:none}
@media(max-width:800px){
 html[data-navigation="sidebar"]{--po-sidebar-width:0px;--po-header-height:58px}
 html[data-navigation="sidebar"] .po-sidebar{width:260px;transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s;z-index:172}
 html[data-navigation="sidebar"] .po-sidebar.is-open{transform:translateX(0);visibility:visible}
 .po-mobile-menu-bar{position:fixed;top:var(--localbar-height,0px);left:0;right:0;z-index:150;height:58px;box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #deebe3;background:#fff;color:#254434;font:14px Inter,system-ui,sans-serif}
 .po-mobile-menu-bar>button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dce9e1;border-radius:8px;background:#f4f9f6;color:#176748;cursor:pointer}
 .po-mobile-menu-bar>span{margin-left:auto;font-size:11px;color:#718679;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100px}
 .po-sidebar-close{display:block;width:28px;height:32px;flex-shrink:0;border:0;border-radius:6px;background:#edf5f0;color:#436a55;font-size:23px;cursor:pointer}
 .po-sidebar-scrim{display:block;position:fixed;inset:var(--localbar-height,0px) 0 0;border:0;background:#102e2759;backdrop-filter:blur(2px);z-index:171;cursor:pointer}
 html[data-navigation="sidebar"] .po-sidebar .po-area-nav button{font-size:13px}
 html[data-navigation="sidebar"] .po-sidebar .po-top-actions{width:100%}
}
@media(prefers-reduced-motion:reduce){html[data-navigation="sidebar"] .po-sidebar{transition:none}}
@media print{.po-sidebar,.po-mobile-menu-bar,.po-sidebar-scrim{display:none!important}html[data-navigation="sidebar"] body .app.po-app{padding-left:0!important}}
html[data-navigation="sidebar"] .po-sidebar .po-logout{display:flex!important;flex-direction:row!important;align-items:center!important;white-space:nowrap}
