
/* Calenvella compact owner management. Scope intentionally excludes public booking pages. */
body.cv-services-hub .tool-shell{max-width:870px;padding:10px 12px 60px}
body.cv-services-hub .tool-hero{padding:6px 0 4px}
.cv-serv-titlebar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.cv-serv-titlebar h1{font-size:clamp(23px,4vw,30px);margin:2px 0 3px}
.cv-serv-titlebar .subtle{color:#afc9d4;font-size:13px;margin:0}
.cv-plus-menu{position:relative;flex:none;z-index:20}
.cv-plus-menu>summary{list-style:none;display:grid;place-items:center;width:46px;height:46px;border:1px solid #61e6f1;background:#43d9e9;color:#06171f;border-radius:12px;font-size:31px;font-weight:600;cursor:pointer;line-height:1}
.cv-plus-menu>summary::-webkit-details-marker{display:none}
.cv-plus-menu>summary:focus-visible{outline:3px solid white;outline-offset:2px}
.cv-plus-actions{position:absolute;top:calc(100% + 7px);right:0;min-width:210px;background:#132c3a;border:1px solid #3f7c8c;box-shadow:0 14px 30px #0009;border-radius:12px;padding:6px;z-index:25}
.cv-plus-actions button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#ecf8fc;padding:12px 13px;border-radius:8px;font-weight:700;font-size:14px}
.cv-plus-actions button:focus-visible,.cv-plus-actions button:hover{background:#195267;color:#fff}
.cv-mini-links{display:flex!important;gap:7px!important;overflow-x:auto;flex-wrap:nowrap!important;margin:5px 0 9px!important;padding:0 0 3px!important;scrollbar-width:thin}
.cv-mini-links a{flex:none!important;font-size:11px!important;min-height:33px!important;padding:7px 9px!important;border-radius:8px!important;white-space:nowrap!important}
.cv-management-hub{display:grid;gap:8px;margin:10px 0 13px}
.cv-hub-group{background:#102433;border:1px solid #315366;border-radius:13px;overflow:hidden}
.cv-hub-group[open]{border-color:#3e7b90}
.cv-hub-group>summary{min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;color:#f1fbfd;font-size:16px;font-weight:760;cursor:pointer;list-style:none}
.cv-hub-group>summary::-webkit-details-marker{display:none}
.cv-hub-group>summary:focus-visible{outline:2px solid #42e1f1;outline-offset:-3px}
.cv-hub-right{display:flex;gap:10px;align-items:center;color:#93cdd8;font-size:13px}
.cv-hub-count{font-weight:500;color:#a7cad4}
.cv-chevron{font-size:22px;line-height:1;display:inline-block;transition:transform .16s ease}
.cv-hub-group[open] .cv-chevron{transform:rotate(180deg)}
.cv-hub-content{padding:4px 10px 10px;border-top:1px solid #26495c}
.cv-hub-content .tool-list{gap:5px}
.cv-hub-content .item{margin:4px 0!important;padding:9px 10px!important;border-radius:9px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px!important}
.cv-hub-content .item>strong{grid-column:1;min-width:0;font-size:14px!important;overflow-wrap:anywhere}
.cv-hub-content .item>small,.cv-hub-content .item>.tool-muted{grid-column:1;color:#aac7d5!important;font-size:12px!important}
.cv-hub-content .item>.btn,.cv-hub-content .item>button,.cv-hub-content .item>.tool-action{grid-column:2;grid-row:1 / span 2;margin-left:auto;min-height:36px;white-space:nowrap;font-size:12px!important;padding:7px 10px!important}
.cv-hub-content .item:has(> .btn:nth-last-child(2)) {grid-template-columns:minmax(0,1fr) auto auto}
.cv-hub-content .item:has(> .btn:nth-last-child(2))>.btn:last-child{grid-column:3}
.cv-hub-content .item:has(> .btn:nth-last-child(2))>.btn:nth-last-child(2){grid-column:2}
.cv-hub-content .tool-fold{padding:8px 9px;margin:9px 0 0}
.cv-hub-content .cv-legacy-addons{margin:9px 0;padding:8px 9px;border:1px solid #325368;border-radius:10px}
.cv-hub-content .cv-legacy-addons>summary{font-size:13px;font-weight:700;color:#ccedf5}
.cv-hub-content #categoryServiceMap .tool-row{padding:5px;border-bottom:1px solid #315164}
.cv-management-editor{position:relative;scroll-margin-top:18px;background:#122735!important;border:1px solid #3f7888!important;padding:13px!important;margin:12px 0!important}
.cv-management-editor[hidden]{display:none!important}
.cv-management-editor h2{margin:3px 36px 4px 0!important;font-size:19px!important}
.cv-management-editor>p.tool-muted{font-size:12px;line-height:1.4;margin:4px 0 9px}
.cv-editor-close{position:absolute;right:12px;top:9px;border:1px solid #3e6575;border-radius:9px;width:34px;height:34px;color:#e2f1f6;background:#132b3a;font-size:23px;line-height:1}
.cv-services-hub .cv-management-editor .tool-grid{gap:6px 10px}
.cv-services-hub .cv-management-editor .field{font-size:13px;margin:4px 0}
.cv-services-hub .cv-management-editor .field>input:not([type=checkbox]),.cv-services-hub .cv-management-editor .field>select,.cv-services-hub .cv-management-editor .field>textarea{min-height:41px;padding:8px 10px}
.cv-services-hub .cv-related-documents{padding:11px!important;margin-top:11px!important}
.cv-services-hub .cv-related-documents h2{font-size:15px;margin:0 0 4px}
.cv-services-hub .cv-related-documents p{font-size:12px;margin:4px 0 8px}
.cv-services-hub #builderAccess:empty{display:none}
/* Owner-only compact scheduling and client requests. Keep mobile tap and input sizes usable. */
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell{max-width:880px;padding:11px 12px 55px}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell>section.card{padding:13px 14px!important;margin:10px 0!important;border-radius:12px}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .card h2{font-size:19px!important;line-height:1.25;margin:4px 0 7px!important}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .card .fine,body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .card .tool-muted{font-size:13px;line-height:1.4}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .field{margin:5px 0!important;gap:4px}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .field input:not([type=checkbox]),body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .field select{min-height:43px!important;padding:8px 10px!important}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .tool-grid{gap:5px 10px}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .item,body.cv-compact-owner-page:not(.cv-services-hub) .phase7-list-item{padding:10px!important;margin:5px 0!important;gap:5px}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .cv-weekly-policy-grid{gap:7px 10px!important}
body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .cv-weekly-description{margin-bottom:10px!important}
@media(max-width:600px){
 body.cv-services-hub .tool-shell{padding:7px 9px 48px}
 .cv-serv-titlebar h1{font-size:25px}
 .cv-serv-titlebar .subtle{font-size:12px;max-width:260px}
 .cv-plus-menu>summary{width:44px;height:44px}
 .cv-hub-group>summary{min-height:52px;padding:10px 12px;font-size:15px}
 .cv-hub-content{padding:4px 7px 8px}
 .cv-hub-content .item{padding:8px!important;gap:4px!important}
 .cv-hub-content .item>strong{font-size:13px!important}
 .cv-hub-content .item>small{font-size:11px!important}
 body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell{padding:7px 9px 44px}
 body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell>section.card{padding:10px 11px!important}
 body.cv-compact-owner-page:not(.cv-services-hub) .tool-shell .card h2{font-size:18px!important}
}

.cv-hub-content .item[hidden]{display:none!important}
.cv-list-pagination{display:flex;align-items:center;justify-content:center;gap:9px;margin:9px 0 2px}
.cv-list-pagination[hidden]{display:none!important}
.cv-list-pagination button{min-height:35px;font-size:12px!important;padding:7px 9px!important}
.cv-list-pagination button:disabled{opacity:.4;cursor:default}
.cv-pagination-status{font-size:12px;color:#b3cbd5;white-space:nowrap}

/* 2026-11-03: Compact iPhone + menu, without an artificial spacer.
   The trigger stays in the upper-right corner. When opened the menu is a
   normal-flow element directly under the title and directly above Back,
   preventing overlaps AND the 175px empty region from the previous release. */
body.cv-services-hub .tool-hero{
  position:relative;
  overflow:visible!important;
  padding-bottom:4px!important;
}
body.cv-services-hub .cv-serv-titlebar{
  display:block;
  position:relative;
}
body.cv-services-hub .cv-serv-titlebar>div:first-child{
  padding-right:64px;
}
body.cv-services-hub #cvAddMenu{
  position:static;
  width:100%;
  z-index:auto;
}
body.cv-services-hub #cvAddMenu>summary{
  position:absolute;
  top:0;
  right:0;
  z-index:2;
}
body.cv-services-hub #cvAddMenu[open]{
  margin-top:8px;
}
body.cv-services-hub #cvAddMenu .cv-plus-actions{
  box-sizing:border-box;
  position:static;
  display:block;
  top:auto;
  right:auto;
  width:min(250px,100%);
  max-width:100%;
  min-width:0;
  margin-left:auto;
  border-radius:12px;
  box-shadow:0 8px 18px #0006;
}
body.cv-services-hub #cvAddMenu .cv-plus-actions button{
  display:block;
  width:100%;
  min-height:42px;
  padding:10px 12px;
  white-space:normal;
  overflow-wrap:break-word;
}
@media (max-width:380px){
 body.cv-services-hub .cv-serv-titlebar>div:first-child{padding-right:55px}
 body.cv-services-hub #cvAddMenu .cv-plus-actions{width:min(228px,100%)}
}
