/* Shared in-page editor: one document scroll and one content action header. */
.pro-workspace[hidden]{display:none!important}
.pro-workspace{grid-column:1/-1;width:100%;min-width:0;max-width:1040px;margin-inline:auto;color:var(--pm-text);background:var(--pm-canvas);padding-bottom:24px}
.pro-workspace-head{position:sticky;top:var(--pro-workspace-head-offset,0px);z-index:30;display:grid;grid-template-columns:minmax(76px,1fr) minmax(0,2fr) auto 44px;gap:8px;align-items:center;min-height:66px;padding:10px clamp(12px,2.5vw,24px);background:var(--pm-canvas);border-bottom:1px solid var(--pm-line)}
.pro-workspace-head h2{font-size:17px;line-height:1.25;margin:0;text-align:center;overflow-wrap:anywhere;font-weight:700}
.pro-workspace-leading,.pro-workspace-actions{display:flex;align-items:center;gap:8px;min-width:0}
.pro-workspace-actions{justify-content:flex-end}
.pro-workspace-head button,.pro-workspace-nav select{font:inherit;min-height:44px;cursor:pointer}
.pro-workspace-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--pm-soft);color:var(--pm-text)}
.pro-workspace-nav{padding:12px clamp(12px,2.5vw,24px);border-bottom:1px solid var(--pm-line)}
.pro-workspace-nav label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:var(--pm-muted)}
.pro-workspace-nav select{min-width:0;max-width:70%;padding:8px 12px;border:1px solid var(--pm-line);border-radius:12px;background:var(--pm-surface);color:var(--pm-text);font-size:16px}
.pro-workspace-content{min-width:0;container-name:pro-dialog;container-type:inline-size}
.pro-workspace-content>.pro-event-work-body{width:100%;min-width:0;overflow:visible!important;max-height:none!important;padding-bottom:18px}
.pro-workspace-content button{min-height:44px;min-width:44px}
.pro-workspace .dayMenu{width:44px;height:44px}
.pro-workspace-content input,.pro-workspace-content textarea,.pro-workspace-content select{font-size:16px;font-family:inherit;color:var(--pm-text);max-width:100%}
.pro-workspace-content :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea){min-height:44px}
.pro-workspace-content [data-pro-event-header-save],.pro-workspace-content .stickySave:has([data-pro-event-header-save]){display:none!important}
.pro-workspace-footer{display:flex;gap:10px;flex-wrap:wrap;padding:16px clamp(12px,2.5vw,24px)}
.pro-workspace-footer>.pro-ui-btn{flex:1;min-width:160px;min-height:44px}
.pro-workspace .dayTabs{position:static;max-width:100%}
.pro-workspace :focus-visible{outline:3px solid var(--pm-link);outline-offset:3px}
@media(min-width:1000px){.pro-workspace-content>.pro-event-work-body{max-width:900px;margin-inline:auto}.pro-workspace-head{grid-template-columns:minmax(140px,1fr) minmax(0,3fr) auto 44px}}
@media(max-width:360px){.pro-workspace-head{grid-template-columns:68px minmax(0,1fr) auto 44px;gap:4px;padding-inline:8px}.pro-workspace-head h2{font-size:15px}.pro-workspace-close{width:44px}}
