@media screen {
/* The scroll container reaches the edge; its content keeps space for the handles. */
html[data-navigation="sidebar"]{--po-edge-width:44px}
html[data-navigation="sidebar"] body .po-app .v4m-root{right:0!important;width:calc(100% - var(--po-sidebar-width))!important}
html[data-app-layout="wide"] body .v4m-main{padding-right:0!important;box-sizing:border-box;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#bfdcca transparent}
/* Full-width section backgrounds; only interactive content has an edge inset. */
html[data-app-layout="wide"] body .v4m-main>.v4m-cols{padding-right:calc(clamp(16px,2.4vw,30px) + var(--po-edge-width))!important}
html[data-app-layout="wide"] body .po-rx-dock.po-rx-toolbar{padding-right:calc(30px + var(--po-edge-width))!important}
html[data-color-mode="dark"][data-app-layout="wide"] body .v4m-main{scrollbar-color:#4e7565 transparent}
html[data-navigation="sidebar"] body .po-app>.app-content{margin-right:0!important;padding-right:calc(var(--po-edge-width) + 24px)!important;box-sizing:border-box}
.pt-view .pt-mbar-in{padding-right:0}
html body .po-quick-tools{right:0;top:auto;bottom:5vh;bottom:5dvh;transform:none;display:flex;flex-direction:column;align-items:flex-end;gap:8px;width:var(--po-edge-width,44px)}
html body .po-quick-tools>button{width:38px;min-height:60px;border-radius:13px 0 0 13px;border:1px solid #cbdfe9;border-right:0;box-shadow:-3px 3px 12px #18486d18;gap:5px}
html body .po-quick-tools>.po-floating-history{height:196px;min-height:196px;padding:13px 6px;background:linear-gradient(170deg,#308bdd,#205da8);border-color:#367fc0;color:#fff;gap:10px}
.po-quick-tools>.po-floating-history>span{writing-mode:vertical-rl;transform:rotate(180deg);text-transform:uppercase;letter-spacing:1px;font-size:11px;font-weight:750;white-space:nowrap}
html body .po-quick-tools>.po-floating-history>b{position:static;min-width:18px;padding:3px;border:0;background:#fff;color:#246ab0;border-radius:10px;font-size:10px}
html body .po-quick-tools>.po-floating-font strong{font-size:19px;line-height:22px}
html body .po-quick-tools>.po-floating-font span{font-size:9px}
html body .po-font-popover{top:0;right:calc(100% + 8px);width:min(230px,calc(100vw - 60px));max-height:calc(100dvh - 160px);overflow:auto}
html[data-navigation="sidebar"] .po-sidebar .po-top-actions .po-support{grid-column:1/-1;height:64px!important;width:100%;padding:10px 12px;gap:11px;border:1px solid #cde4d8;border-radius:15px;background:#e8f4ed;justify-content:flex-start;text-align:left;box-sizing:border-box}
html[data-navigation="sidebar"] .po-sidebar .po-support>.po-support-symbol{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid #cde4d8;color:#08734e;font-size:17px;font-weight:700}
html[data-navigation="sidebar"] .po-sidebar .po-support>.po-support-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.po-support-copy strong{font-size:12px;color:#183e31;white-space:nowrap}.po-support-copy small{font-size:10px;color:#6e8c7c;white-space:nowrap;font-weight:400}
html[data-navigation="sidebar"] .po-sidebar .po-account-settings{grid-column:2}
html[data-navigation="sidebar"] .po-sidebar .po-account-shortcuts{grid-column:2;display:flex;flex-direction:column;align-items:center;gap:5px}
html[data-navigation="sidebar"] .po-sidebar .po-account-shortcuts .po-account-settings{width:30px;height:30px!important;border-radius:8px;background:transparent}
html body .po-quick-tools>.po-light-toggle{min-height:50px;gap:4px}
html body .po-quick-tools>.po-light-toggle span{font-size:9px}
html[data-navigation="sidebar"] .po-sidebar .po-light-toggle{grid-column:3}
html[data-color-mode="dark"] body .po-quick-tools>.po-floating-history{background:linear-gradient(170deg,#286aa3,#214c7c);border-color:#4b87b5;color:#f4f9ff}
html[data-color-mode="dark"][data-navigation="sidebar"] .po-sidebar .po-top-actions .po-support{background:#203d33;border-color:#3d6553}
html[data-color-mode="dark"][data-navigation="sidebar"] .po-sidebar .po-support>.po-support-symbol{background:#183128;border-color:#527562;color:#a8e7c5}
html[data-color-mode="dark"] .po-support-copy strong{color:#e4f4ec}html[data-color-mode="dark"] .po-support-copy small{color:#aac5b6}
@media(max-width:720px){html[data-app-layout="wide"] body .po-rx-dock.po-rx-toolbar{padding-right:calc(16px + var(--po-edge-width))!important}}
@media(hover:hover) and (pointer:fine){html body .po-quick-tools>button:hover{translate:-2px 0;filter:brightness(1.08)!important}}
@media(max-width:800px){html[data-navigation="sidebar"]{--po-edge-width:38px}html body .po-quick-tools>button{width:34px}html body .po-quick-tools>.po-floating-history{height:178px;min-height:178px}.po-quick-tools>.po-floating-history>span{font-size:10px}}
@media(max-width:800px){html[data-navigation="sidebar"] body .po-app>.app-content{padding-right:calc(var(--po-edge-width) + 12px)!important}}
@media(prefers-reduced-motion:reduce){html body .po-quick-tools>button:hover{translate:none!important}}
@media(max-height:600px){html body .po-quick-tools>button{min-height:42px}html body .po-quick-tools>.po-light-toggle{min-height:38px}html body .po-quick-tools>.po-floating-history{height:130px;min-height:130px;padding-block:8px;gap:5px}.po-quick-tools>.po-floating-history>span{font-size:9px;letter-spacing:.5px}}
}
