@media screen {
/* Floating controls overlay the workspace; no reserved side column. */
html[data-app-layout="wide"] body .v4m-main{padding-right:0!important}
html[data-app-layout="wide"] body .po-app>.app-content{padding-right:clamp(16px,2.4vw,40px)!important}
.po-quick-tools{top:calc(var(--localbar-height,0px) + var(--po-header-height,0px) + 150px);right:18px}
html[data-app-layout="wide"] body .po-rx-dock.is-stuck{background:rgba(233,245,237,.84)!important;backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%);border-bottom-color:#a8c7b080!important;box-shadow:0 5px 22px #264e3119!important}
html[data-color-mode="dark"][data-app-layout="wide"] body .po-rx-dock.is-stuck{background:rgba(24,49,42,.84)!important;border-bottom-color:#6e948080!important;box-shadow:0 5px 22px #0003!important}
.pt-view{font-family:Inter,system-ui,sans-serif}
html[data-app-layout="wide"] body .pt-view .pt-cols{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.85fr);gap:24px;align-items:start}
.pt-view .pt-col-right{order:-1;min-width:0;background:#fff;border:1px solid #d5e5dc;border-radius:20px;padding:16px;box-shadow:0 6px 24px #224c3010}
.pt-view .pt-col-left{min-width:0;gap:14px}
.po-calendar-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:2px 2px 16px}
.po-calendar-heading>div>span{font-size:10px;letter-spacing:.1em;font-weight:750;color:#6b8275}
.po-calendar-heading h2{font-size:20px;color:#254a35;margin:5px 0 0;letter-spacing:-.5px}
.po-calendar-legend{font-size:11px;color:#5c7768;display:flex;align-items:center;gap:6px}
.po-calendar-legend i{display:block;width:8px;height:8px;background:#158559;border-radius:50%}
html[data-app-layout="wide"] body .pt-view .pt-cal{border-radius:12px;box-shadow:none!important;border:1px solid #deebe3;background:#fff!important}
html[data-app-layout="wide"] body .pt-view .pt-cal-dows{background:#eaf3ed!important;border-color:#dce8e1}
html[data-app-layout="wide"] body .pt-view .pt-cal-dow{padding:11px 1px;font-size:10px;color:#45624f!important}
html[data-app-layout="wide"] body .pt-view .pt-cc{min-height:60px;min-width:0;padding:5px 3px;border-radius:0!important;border-color:#e0eae3!important;box-sizing:border-box;background:#fff}
html[data-app-layout="wide"] body .pt-view .pt-cc-e{background:#f1f5f2!important}
html[data-app-layout="wide"] body .pt-view .pt-cc-wknd{background:#f7faf8}
html[data-app-layout="wide"] body .pt-view .pt-cc-num{font-size:12px;font-weight:650;color:#446052!important;width:24px;height:24px}
html[data-app-layout="wide"] body .pt-view .pt-cc-today{background:#e3f3e9!important;box-shadow:inset 0 0 0 2px #398b61!important}
html[data-app-layout="wide"] body .pt-view .pt-cc-today .pt-cc-num{background:#158559!important;color:white!important}
.pt-view .pt-cc-top{margin-bottom:3px}.pt-view .pt-cev{padding:3px;font-size:9px;line-height:1.4;max-width:100%;box-sizing:border-box}
.pt-view .pt-cal-hint{font-size:11px;line-height:1.5;color:#62796c;font-style:normal;margin:13px 0 0}
.pt-view .pt-mbar{margin:16px 0 20px}.pt-view .pt-mbar-in{gap:10px;padding:0;flex-wrap:wrap}
.pt-view .pt-mbar-in{padding-right:70px}
.pt-view .pt-mlbl{font-size:20px;font-weight:750;letter-spacing:-.4px}
.pt-view :is(.pt-novo,.pt-btn-rel){min-height:42px;padding:10px 16px;border-radius:12px}
.pt-view .pt-bloco{border:1px solid #dce8df;border-radius:16px;box-shadow:0 3px 12px #1a422809}
.pt-view .pt-bloco-hdr{padding:15px}.pt-view .pt-res-grid{gap:8px;padding:12px}
.pt-view .pt-col-left>.pt-bloco:first-child>.pt-bloco-hdr{padding-right:65px}
.pt-view .pt-rc{padding:12px 10px;border-radius:12px;box-shadow:none}
.pt-view .pt-empty-state{padding:24px 16px;border-radius:16px}.pt-view .pt-empty-ico{font-size:29px;margin-bottom:8px}
.pt-view .pt-past-row{padding:11px 12px;flex-wrap:wrap;gap:8px}
/* The form is a body-level portal, unaffected by content scaling. */
html body .po-shift-overlay{z-index:500!important;inset:var(--localbar-height,0px) 0 0!important;align-items:center!important;padding:24px!important;background:rgba(9,26,24,.58);backdrop-filter:blur(7px);box-sizing:border-box}
html body .po-shift-dialog{width:min(880px,100%)!important;max-width:880px!important;max-height:calc(100dvh - var(--localbar-height,0px) - 48px)!important;border-radius:22px!important;background:#f6faf7;border:1px solid #c8ddd1;box-shadow:0 28px 100px #001b2b66!important;font-family:Inter,system-ui,sans-serif;color:#244735}
.po-shift-dialog .pt-mbox-hdr{flex-shrink:0;padding:20px 24px;background:linear-gradient(110deg,#e3f3e9,#f8fcfa);border-bottom:1px solid #cddfd3}
.po-shift-dialog .pt-mbox-title{font-size:23px;color:#174d35}.po-shift-intro{font-size:12px;color:#5c7666;margin:7px 0 0;line-height:1.5}
.po-shift-dialog .pt-mbox-x{height:38px;width:38px;border-radius:11px;background:#fff;border:1px solid #c6dacd;color:#39634a}
.po-shift-dialog .pt-mbox-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start;overflow-y:auto;min-height:0;padding:20px!important}
.po-shift-dialog .pt-mbox-body>div{grid-column:1/-1}
.po-shift-dialog .pt-mbox-body>.pt-form-section{grid-column:auto;padding:17px;border:1px solid #d9e7de;border-radius:14px;background:#fff;margin:0}
html body .po-shift-dialog .pt-mbox-body>.pt-form-section{margin:0!important}
.po-shift-dialog .pt-form-sec-hdr{font-size:11px;color:#286447;letter-spacing:.04em;margin-bottom:16px}
.po-shift-dialog .pt-lbl{font-size:12px;font-weight:650;color:#3e5c48}
.po-shift-dialog .pt-inp{min-height:42px;border-radius:10px;border:1px solid #c5d9cc;background:#fafdfb;color:#253e2e;font-size:14px;box-sizing:border-box;max-width:100%}
.po-shift-dialog .pt-inp:focus{outline:2px solid #6eae8a;outline-offset:2px}
.po-shift-dialog .pt-tog{border-radius:10px;gap:5px}.po-shift-dialog .pt-tog-btn{border-radius:9px;padding:9px 6px;font-size:11px;min-width:0}
.po-shift-dialog .pt-turno-sub{font-size:9px}.po-shift-dialog .pt-turno-lbl{font-size:12px}
.po-shift-dialog .pt-info-box{font-size:11px;line-height:1.65;padding:11px;border-radius:9px}
.po-shift-dialog .pt-mbox-ftr{flex-shrink:0;padding:15px 22px;border-top:1px solid #cbded2;background:#fff;align-items:center;gap:10px}
.po-shift-dialog .pt-mbox-ftr button{min-height:42px;padding:10px 15px;border-radius:10px;font-size:12px}
html[data-color-mode="dark"] body .pt-view .pt-col-right{background:#182c2e;border-color:#3b5750;box-shadow:0 5px 20px #0002}
html[data-color-mode="dark"] .po-calendar-heading h2{color:#def0e4}
html[data-color-mode="dark"] :is(.po-calendar-heading>div>span,.po-calendar-legend,.pt-view .pt-cal-hint){color:#a8c9b5}
html[data-color-mode="dark"][data-app-layout="wide"] body .pt-view :is(.pt-cal,.pt-cc){background:#1b3033!important;border-color:#38524b!important}
html[data-color-mode="dark"][data-app-layout="wide"] body .pt-view :is(.pt-cc-e,.pt-cal-dows){background:#142725!important}
html[data-color-mode="dark"][data-app-layout="wide"] body .pt-view :is(.pt-cal-dow,.pt-cc-num){color:#c9e0d2!important}
html[data-color-mode="dark"][data-app-layout="wide"] body .pt-view .pt-cc-today{background:#28523c!important;box-shadow:inset 0 0 0 2px #86bf97!important}
html[data-color-mode="dark"] body .po-shift-dialog{background:#132627!important;border-color:#405d53!important;color:#d7e9df}
html[data-color-mode="dark"] body .po-shift-dialog :is(.pt-mbox-hdr,.pt-mbox-ftr){background:#203c32!important;border-color:#446251!important}
html[data-color-mode="dark"] body .po-shift-dialog .pt-form-section{background:#1c3032!important;border-color:#3b584e!important}
html[data-color-mode="dark"] body .po-shift-dialog :is(.pt-mbox-title,.pt-form-sec-hdr,.pt-lbl){color:#cfeddb!important}
html[data-color-mode="dark"] body .po-shift-dialog .po-shift-intro{color:#b9d0c2}
html[data-color-mode="dark"] body .po-shift-dialog :is(.pt-inp,.pt-mbox-x){background:#142825!important;border-color:#557761!important;color:#e0ede6!important}
html[data-color-mode="dark"] body .po-shift-dialog .pt-info-box{background:#203c50!important;color:#d3e9ff!important;border-color:#4c6a81!important}
@media(max-width:1000px){html[data-app-layout="wide"] body .pt-view .pt-cols{grid-template-columns:1fr}.pt-view .pt-col-right{max-width:700px;width:100%;box-sizing:border-box;justify-self:center}}
@media(max-width:800px){
 html[data-app-layout="wide"] body .po-app>.app-content{padding-top:24px!important}
 .po-quick-tools{top:calc(var(--localbar-height,0px) + var(--po-header-height,0px) + 164px);right:10px;gap:5px}
 .po-quick-tools>button{width:44px;min-height:44px;box-shadow:0 4px 20px #14352330}
 html[data-app-layout="wide"] body .po-rx-dock.is-stuck{padding-top:8px!important}
 .po-mode-panel{padding-top:0!important}
}
@media(max-width:600px){
 html body .po-shift-overlay{padding:10px!important}
 html body .po-shift-dialog{max-height:calc(100dvh - var(--localbar-height,0px) - 20px)!important;border-radius:16px!important}
 .po-shift-dialog .pt-mbox-hdr{padding:16px}.po-shift-dialog .pt-mbox-title{font-size:20px}
 .po-shift-dialog .pt-mbox-body{grid-template-columns:minmax(0,1fr);padding:12px!important;gap:10px}
 .po-shift-dialog .pt-mbox-ftr{padding:12px;gap:7px;flex-wrap:wrap}
 .po-shift-dialog .pt-mbox-ftr button{font-size:11px;padding:9px 10px}.po-shift-dialog .pt-mbox-ftr button:first-child{flex-basis:100%}
 .pt-view .pt-col-right{padding:10px;border-radius:15px}.po-calendar-heading{margin:4px 4px 12px}.po-calendar-heading h2{font-size:17px}
 html[data-app-layout="wide"] body .pt-view .pt-cc{min-height:63px;padding:4px 2px}.pt-view .pt-cev{font-size:8px}.pt-view .pt-cev-hora{display:none}
 .pt-view .pt-mlbl{font-size:17px}.pt-view .pt-mbar-in{gap:7px}.pt-view .pt-marr{width:33px;height:34px}
 .pt-view .pt-mbar-in{padding-right:100px}
}
@media(prefers-reduced-motion:reduce){.po-shift-dialog{animation:none!important}}
}

