/* ONE shared, self-contained Calenvella owner menu (November 4, 2026).
   No nested <details>, no legacy dropdown state, no membership-driven menu rewrites. */
header.sitebar.cv-v9-header{position:relative!important;z-index:8000!important;overflow:visible!important;isolation:isolate!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;box-sizing:border-box!important;min-height:64px!important;width:100%!important;margin:0!important;padding:10px 15px!important}
header.sitebar.cv-v9-header>a.logo{position:relative!important;order:0!important;flex:1 1 auto!important;min-width:0!important;font-size:clamp(17px,4vw,23px)!important;white-space:nowrap!important}
header.sitebar.cv-v9-header>.cv-alerts{position:relative!important;order:1!important;flex:0 0 auto!important;margin:0!important;z-index:8010!important}
header.sitebar.cv-v9-header>.cv-v9-main-toggle{order:2!important;flex:0 0 auto!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;padding:9px 12px!important;border:1px solid #4c9caf!important;border-radius:11px!important;background:#123441!important;color:#e5faff!important;font:800 14px/1.2 system-ui,-apple-system,sans-serif!important;touch-action:manipulation!important;cursor:pointer!important;white-space:nowrap!important;z-index:8040!important}
header.sitebar.cv-v9-header>.cv-v9-main-toggle[aria-expanded="true"]{background:#1d4b5a!important;border-color:#76dce7!important}
header.sitebar.cv-v9-header>.cv-v9-main-toggle:focus-visible,
header.sitebar.cv-v9-header nav.cv-v9-nav button:focus-visible,
header.sitebar.cv-v9-header nav.cv-v9-nav a:focus-visible{outline:2px solid #7cefff!important;outline-offset:2px!important}
header.sitebar.cv-v9-header nav.cv-v9-nav{position:absolute!important;top:calc(100% + 4px)!important;right:8px!important;left:auto!important;bottom:auto!important;z-index:8030!important;display:flex!important;flex-flow:column nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:3px!important;box-sizing:border-box!important;width:min(385px,calc(100vw - 16px))!important;min-width:0!important;max-height:min(77dvh,720px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;margin:0!important;padding:10px!important;border:1px solid #3d7285!important;border-radius:13px!important;background:#081c29!important;box-shadow:0 15px 42px #000b!important;transform:none!important;opacity:1!important;visibility:visible!important;contain:none!important}
header.sitebar.cv-v9-header nav.cv-v9-nav[hidden],
header.sitebar.cv-v9-header nav.cv-v9-nav [hidden]{display:none!important}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-email{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:26px!important;margin:0 0 4px!important;padding:8px 10px!important;border-bottom:1px solid #315463!important;color:#9ebbc6!important;font:400 12px/1.4 system-ui,-apple-system,sans-serif!important;overflow-wrap:anywhere!important}
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-v9-primary-link,
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-tools-toggle,
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-category-toggle,
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-logout{appearance:none!important;-webkit-appearance:none!important;display:flex!important;box-sizing:border-box!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;min-height:44px!important;width:100%!important;margin:0!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#e7fbff!important;font:750 14px/1.4 system-ui,-apple-system,sans-serif!important;letter-spacing:normal!important;text-decoration:none!important;text-align:left!important;white-space:normal!important;cursor:pointer!important;touch-action:manipulation!important;position:relative!important;transform:none!important}
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-tools-toggle[aria-expanded="true"],
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-category-toggle[aria-expanded="true"]{background:#173e4d!important;border-color:#376e80!important}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-tools-panel{box-sizing:border-box!important;width:100%!important;display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;margin:0!important;padding:5px 1px 5px 10px!important;border-left:2px solid #2b7081!important}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-category{display:block!important;min-width:0!important;width:100%!important;background:transparent!important}
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-category-toggle{background:#112f3e!important;border-color:#305f71!important;font-size:13px!important}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-chevron{font-size:16px!important;color:#73e8f5!important;line-height:1!important;margin-left:9px!important}
header.sitebar.cv-v9-header nav.cv-v9-nav button[aria-expanded="true"]>.cv-v9-chevron{transform:rotate(180deg)!important}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-category-panel{display:flex!important;box-sizing:border-box!important;flex-flow:column nowrap!important;gap:4px!important;width:100%!important;margin:4px 0!important;padding:3px!important}
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-v9-sub-link{display:flex!important;box-sizing:border-box!important;justify-content:space-between!important;align-items:center!important;min-height:42px!important;width:100%!important;margin:0!important;padding:8px 10px!important;border-radius:7px!important;background:#183b4b!important;color:#d9f7fb!important;font:700 12.5px/1.35 system-ui,-apple-system,sans-serif!important;text-align:left!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;cursor:pointer!important;touch-action:manipulation!important}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-requirement{font-size:10px!important;color:#e6ba80!important;white-space:nowrap!important;margin-left:9px!important}
header.sitebar.cv-v9-header nav.cv-v9-nav button.cv-v9-logout{margin-top:4px!important;border-color:#355b6e!important;background:#133746!important}
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9MenuError{margin:6px 2px!important;padding:5px!important;font-size:11px!important;color:#ffb7a3!important}
@media(max-width:390px){header.sitebar.cv-v9-header{padding:8px 9px!important;gap:6px!important}header.sitebar.cv-v9-header>.cv-v9-main-toggle{min-width:80px!important;padding:8px!important}}
/* Hidden panels must outrank panel display:flex rules, even in old global theme CSS. */
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-tools-panel[hidden],
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-category-panel[hidden]{display:none!important}
/* Fix the Client Management item as a single high-contrast tappable link. */
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-cm-direct{min-height:50px!important;background:#1b4857!important;border:1px solid #54d8e8!important;border-left:4px solid #fa8a44!important;color:#edfdff!important;font-size:14px!important;box-shadow:inset 0 0 0 1px #0c2934!important}
/* Freeze the document behind the iPad/phone menu while retaining internal scrolling. */
body.cv-v9-menu-open{overflow:hidden!important}
body.cv-v9-menu-open nav.cv-v9-nav{overscroll-behavior:contain;touch-action:pan-y}
@media(max-width:820px){header.sitebar.cv-v9-header nav.cv-v9-nav{max-height:min(76dvh,640px)!important}}

/* 2026-11-14: Booking and Automation Studios are first-level navigation destinations. */
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-studio-direct,
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-automation-direct{
 min-height:48px!important;padding:10px 12px!important;background:#1b4857!important;
 border:1px solid #54d8e8!important;border-left:4px solid #fa8a44!important;
 color:#edfdff!important;font-size:14px!important;
}
header.sitebar.cv-v9-header nav.cv-v9-nav .cv-v9-tools-panel{
 padding-left:6px!important;gap:4px!important;
}
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-studio-direct:active,
header.sitebar.cv-v9-header nav.cv-v9-nav a.cv-automation-direct:active{background:#245568!important}

/* Owner menu canonical v2: six equal Business Tools, one expandable category. */
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools.cv-v9-six-items,
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools{padding:5px 1px 5px 7px!important;gap:6px!important;}
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools > a.cv-v9-main-tool,
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools > section.cv-v9-main-category > button.cv-v9-main-tool{
 background:#183d4d!important;color:#edfdff!important;
 border:1px solid #44788b!important;border-left:1px solid #44788b!important;
 border-radius:9px!important;box-shadow:none!important;
 min-height:48px!important;line-height:1.35!important;
 font:700 14px/1.35 system-ui,-apple-system,sans-serif!important;
 padding:11px 12px!important;box-sizing:border-box!important;
 text-align:left!important;text-decoration:none!important;
}
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools > a.cv-v9-main-tool:active,
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools > section.cv-v9-main-category > button.cv-v9-main-tool[aria-expanded="true"]{
 background:#245365!important;border-color:#70d9e6!important;
}
header.sitebar.cv-v9-header nav.cv-v9-nav #cvV9Tools > section.cv-v9-main-category > .cv-v9-category-panel{
 padding:4px 0 4px 8px!important;margin:2px 0!important;
}
