.pms-workspace.pms-shell-v3.pms-viewport-v4 [data-pms-panel="sitecontroller"]{padding:0;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}
.pms-workspace.pms-shell-v3.pms-viewport-v4 [data-pms-panel="sitecontroller"][hidden]{display:none}
.sc-shell{display:flex;flex:1;flex-direction:column;min-height:0;height:100%;gap:8px;background:#faf9f6;color:#302d28}
.sc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid #ddd7cc;flex-wrap:wrap}
.sc-toolbar h2{font-size:20px;margin:0;font-family:inherit}.sc-subtitle{font-size:12px;color:#786f61;margin:4px 0 0}.sc-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.sc-actions button,.sc-actions a,.sc-open{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #d8d0c3;background:#fffdf9;border-radius:6px;font:inherit;font-size:13px;color:#514534;text-decoration:none;cursor:pointer}
.sc-actions [hidden]{display:none}.sc-actions [data-sc-external],.sc-open{background:#a85d42;color:white;border-color:#a85d42}
.sc-status{font-size:12px;color:#71685b;padding:0 12px;margin:0}.sc-status:empty{display:none}.sc-status.is-error,.sc-form-status{color:#9d3529}
.sc-body{flex:1;min-height:0;overflow:auto;background:#fff;border:1px solid #e0dacf;border-radius:6px;margin:0 8px 8px}
.sc-body>h3,.sc-body>p,.sc-body>button,.sc-body>.sc-open{margin:20px}.sc-frame{display:block;border:0;width:100%;height:100%;min-height:0;background:#fff}
.sc-shell:fullscreen{height:100dvh;padding:8px}.sc-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #d8d0c3;border-radius:12px;padding:24px;background:#fffdf9;color:#302d28;overflow:auto}
.sc-dialog::backdrop{background:#25221a66}.sc-dialog form{display:grid;gap:14px}.sc-dialog h2{margin:0;font-size:22px}.sc-dialog label{display:grid;gap:5px;font-size:14px}.sc-dialog input,.sc-dialog select{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:9px;border:1px solid #cec7ba;border-radius:6px;background:white;color:inherit;font:inherit}.sc-dialog .sc-check{display:flex;align-items:center;gap:8px}.sc-dialog .sc-check input{width:18px;min-height:18px}.sc-dialog p{margin:0;font-size:13px;line-height:1.7}.sc-help,.sc-company{color:#706859}.sc-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.sc-dialog-actions button{padding:10px 18px;min-height:42px}.sc-dialog button:disabled{opacity:.55;cursor:wait}
.sc-shell.sc-expanded{position:fixed;inset:0;z-index:10050;width:100vw;height:100dvh;box-sizing:border-box;padding:8px}
@media(max-width:600px){.sc-toolbar{gap:8px;padding:8px}.sc-toolbar h2{font-size:18px}.sc-actions{width:100%}.sc-actions>*{flex:1;white-space:nowrap}.sc-actions button,.sc-actions a{padding:7px 8px;font-size:12px}.sc-dialog{padding:18px}.sc-status{font-size:11px}}

/* Only this screen: recover the redundant heading/date row for the work area. */
.pms-workspace.pms-viewport-v4.pms-ryokan.pms-sc-open,
.pms-workspace.pms-viewport-v4.pms-header-compact.pms-ryokan.pms-sc-open:not(.pms-mail-open){grid-template-rows:48px 0 minmax(0,1fr);row-gap:6px}
.pms-sc-open .pms-ryokan-titlebar,.pms-sc-open .pms-header .pms-toolbar{display:none!important}
.sc-launch{box-sizing:border-box;width:min(100%,800px);margin:0 auto;padding:clamp(20px,4vw,48px)}
.sc-launch-label{display:block;font-size:13px;font-weight:600;color:#81725f;letter-spacing:.05em}
.sc-launch h3{margin:10px 0 14px;font:600 clamp(26px,4vw,36px)/1.3 system-ui,sans-serif;color:#302d28}
.sc-launch-description{max-width:48em;margin:0 0 24px;font-size:16px;line-height:1.8;color:#595044}
.sc-launch-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.sc-launch .sc-open{min-height:50px;padding:12px 24px;font-size:17px;font-weight:600}
.sc-same-tab{color:#66513a;text-underline-offset:4px;font-size:14px;padding:10px 0}
.sc-launch-note{font-size:12px;line-height:1.7;color:#776e62;margin:20px 0}
.sc-login-help{border-top:1px solid #e5dfd5;padding-top:16px;color:#62594c;font-size:14px;line-height:1.7}
.sc-login-help summary{cursor:pointer;min-height:32px}.sc-login-help p{margin:8px 0;max-width:50em}
.sc-shell[data-mode=embedded] .sc-toolbar{padding:5px 10px}
.sc-shell[data-mode=embedded] .sc-toolbar>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sc-shell[data-mode=embedded] .sc-toolbar h2{font-size:16px}
.sc-shell[data-mode=embedded] .sc-subtitle{display:none}
.sc-actions button:focus-visible,.sc-open:focus-visible,.sc-same-tab:focus-visible,.sc-login-help summary:focus-visible{outline:3px solid #356c60;outline-offset:3px}
@media(max-width:600px){.sc-launch{padding:22px 18px}.sc-launch-actions{gap:8px}.sc-launch .sc-open{width:100%;font-size:16px}.sc-launch-description{font-size:14px;margin-bottom:18px}.sc-same-tab{display:block;width:100%;text-align:center}.sc-toolbar h2{font-size:17px}}
@media(max-width:700px){.pms-workspace.pms-viewport-v4.pms-ryokan.pms-sc-open,.pms-workspace.pms-viewport-v4.pms-header-compact.pms-ryokan.pms-sc-open:not(.pms-mail-open){grid-template-rows:94px 0 minmax(0,1fr)}}
