.pms-workspace.pms-shell-v3 { grid-template-columns: 220px minmax(0,1fr); gap: 0 24px; padding: 16px 24px 24px; }
.pms-shell-v3 > .pms-tabs { position: fixed; top: 16px; left: 24px; bottom: 16px; width: 220px; max-height: none; height: calc(100dvh - 32px); padding: 12px 10px; overflow: visible; gap: 10px; z-index: 60; box-sizing: border-box; }
.pms-shell-v3 .pms-sidebar-brand { margin: 0 3px; padding: 0 0 12px; grid-template-columns: 32px minmax(0,1fr); gap: 8px; flex: 0 0 auto; }
.pms-shell-v3 .pms-sidebar-mark { width: 32px; height: 34px; }
.pms-shell-v3 .pms-sidebar-brand strong { font-size: 15px; }
.pms-shell-v3 .pms-sidebar-brand small { font-size: 8px; letter-spacing: .08em; }
.pms-v3-primary, .pms-v3-groups { display: grid; gap: 3px; flex: 0 0 auto; }
.pms-v3-groups { padding-top: 10px; border-top: 1px solid #ffffff20; }
.pms-shell-v3 .pms-tabs button { min-height: 44px; padding: 10px; font-size: 13px; gap: 10px; }
.pms-shell-v3 .pms-tabs button::before { display: none; }
.pms-v3-icon { display: inline-flex; width: 21px; height: 21px; flex: 0 0 21px; }
.pms-v3-icon svg { width: 100%; height: 100%; }
.pms-shell-v3 .pms-tabs .pms-v3-nav-close { display: none; }
.pms-v3-chevron { margin-left: auto; font-size: 22px; line-height: 1; font-weight: 400; }
.pms-shell-v3 .pms-v3-category[aria-expanded="true"], .pms-shell-v3 .pms-v3-category.has-active-page { background: #ffffff16; color: #fff; }
.pms-shell-v3 .pms-v3-category.has-active-page { box-shadow: inset 3px 0 0 var(--pms-copper); }
.pms-shell-v3 .pms-sidebar-property { margin-top: auto; padding: 10px 4px 0; flex: 0 0 auto; gap: 0; }
.pms-shell-v3 .pms-sidebar-property label { gap: 5px; font-size: 11px; }
.pms-shell-v3 .pms-sidebar-property select { min-height: 40px; font-size: 12px; }
.pms-shell-v3 .pms-v3-flyout { position: fixed; z-index: 160; width: 276px; padding: 10px; background: #fcfaf6; color: var(--pms-ink); border: 1px solid #d8d0c3; border-radius: 12px; box-shadow: 0 18px 56px #152e2a30; box-sizing: border-box; }
.pms-v3-flyout[hidden] { display: none !important; }
.pms-v3-flyout-heading { display: grid; gap: 4px; padding: 7px 10px 13px; margin-bottom: 6px; border-bottom: 1px solid var(--pms-line); }
.pms-v3-flyout-heading strong { font-size: 15px; }
.pms-v3-flyout-heading small { color: var(--pms-muted); font-size: 12px; }
.pms-shell-v3 .pms-v3-flyout button { color: #333e38; border-radius: 6px; }
.pms-shell-v3 .pms-v3-flyout button:hover { background: #e9eee9; color: #17362e; }
.pms-shell-v3 .pms-v3-flyout button.is-active { background: #e3ebe4; color: #17362e; }
.pms-shell-v3 .pms-v3-flyout .pms-v3-back { display: none; }
.pms-shell-v3 .pms-header { margin-bottom: 12px; }
.pms-shell-v3 .pms-header .muted { display: none; }
.pms-shell-v3 > .pms-message:empty { display: none; }
.pms-shell-v3 .pms-tabs button:focus-visible { outline: 2px solid #bf9569; outline-offset: 2px; }
.pms-shell-v3 .pms-header h1 { font-size: 32px; }
.pms-v3-mail-workspace { display: flex; flex-direction: column; min-width: 0; min-height: 280px; border: 1px solid var(--pms-line); border-radius: 10px; background: #fff; overflow: hidden; }
.pms-v3-mail-workspace[hidden] { display: none !important; }
.pms-v3-mail-controls { display: flex; align-items: center; gap: 8px; padding: 6px 10px; flex: 0 0 auto; border-bottom: 1px solid var(--pms-line); background: var(--pms-paper); }
.pms-v3-mail-status { margin-right: auto; font-size: 11px; color: var(--pms-muted); }
.pms-v3-mail-controls button { min-height: 36px; padding: 6px 10px; font-size: 11px; white-space: nowrap; }
.pms-v3-frame-slot { flex: 1 1 auto; min-height: 0; display: flex; }
.pms-v3-mail-frame { width: 100%; height: 100%; border: 0; display: block; min-height: 0; }
.pms-shell-v3 .has-embedded-mail > :not(.pms-v3-mail-workspace) { display: none !important; }
.pms-shell-v3.pms-mail-open > .pms-toolbar, .pms-shell-v3.pms-mail-open .pms-header .muted, .pms-shell-v3.pms-mail-open #pms-new-booking { display: none !important; }
.pms-shell-v3.pms-mail-open .pms-header { margin-bottom: 10px; padding-bottom: 10px; }
.pms-shell-v3.pms-mail-open .pms-header h1 { font-size: 27px; }
@media (max-height: 640px) and (min-width: 981px) {
  .pms-shell-v3 > .pms-tabs { top: 8px; bottom: 8px; height: calc(100dvh - 16px); padding: 8px; gap: 6px; }
  .pms-shell-v3 .pms-sidebar-brand { padding-bottom: 7px; }
  .pms-shell-v3 .pms-sidebar-brand small { display: none; }
  .pms-v3-primary, .pms-v3-groups { gap: 0; }
  .pms-v3-groups { padding-top: 6px; }
  .pms-shell-v3 .pms-sidebar-property { padding-top: 7px; }
}
@media (max-height: 440px) and (min-width: 981px) {
  .pms-shell-v3 > .pms-tabs { overflow-y: auto; }
}
@media (max-width: 980px) {
  .pms-workspace.pms-shell-v3 { grid-template-columns: minmax(0,1fr); padding: 12px; }
  .pms-shell-v3 > .pms-tabs { z-index: 132; top: 0; bottom: 0; left: 0; width: min(86vw,312px); height: 100dvh; padding: 16px 12px; gap: 14px; }
  .pms-shell-v3 .pms-tabs button { min-height: 48px; font-size: 14px; }
  .pms-shell-v3 .pms-sidebar-brand { grid-template-columns: 32px minmax(0,1fr) 44px; }
  .pms-shell-v3 .pms-tabs .pms-v3-nav-close { display: grid; place-items: center; padding: 0; min-height: 44px; width: 44px; font-size: 24px; }
  .pms-v3-primary, .pms-v3-groups { gap: 6px; }
  .pms-shell-v3 .pms-v3-flyout { position: absolute; top: 68px; left: 8px; right: 8px; bottom: 94px; width: auto; border: 0; border-radius: 8px; box-shadow: none; overflow-y: auto; }
  .pms-shell-v3 .pms-v3-flyout .pms-v3-back { display: flex; color: #43604f; margin-bottom: 12px; }
  .pms-shell-v3.pms-mail-open .pms-header { gap: 8px; }
  .pms-shell-v3.pms-mail-open .pms-header-actions { display: flex; width: auto; }
  .pms-shell-v3.pms-mail-open .pms-header .eyebrow { display: none; }
  .pms-v3-mail-controls { flex-wrap: wrap; gap: 4px; padding: 6px; }
  .pms-v3-mail-status { width: 100%; font-size: 10px; }
  .pms-v3-mail-controls button { min-height: 44px; flex: 1; }
}
@media (max-width: 980px) and (max-height: 660px) {
  .pms-shell-v3 > .pms-tabs { gap: 6px; padding: 8px; }
  .pms-v3-primary, .pms-v3-groups { gap: 0; }
  .pms-shell-v3 .pms-sidebar-brand { padding-bottom: 6px; }
  .pms-shell-v3 .pms-sidebar-brand small { display: none; }
  .pms-shell-v3 .pms-v3-flyout { top: 48px; }
}
