/* Shared readable type, including embedded booking/service forms. No remote fonts. */
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:100%;--ux-muted:#526680}
body.ux-v1{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:1.08675rem;line-height:1.5}
body.ux-v1 :is(input,select,textarea){font-size:1.08675rem;line-height:1.4;min-height:42px}
body.ux-v1 :is(input[type=checkbox],input[type=radio],input[type=hidden]){min-height:0}
body.ux-v1 :is(button,.button){line-height:1.4;min-height:40px}
body.ux-v1 :is(h1,h2,h3){line-height:1.3}
body.ux-v1 :is(td,th){line-height:1.5}
body.ux-v1 :is(.muted,.help){color:#526680}
body.ux-v1 .workspace>header{height:auto;min-height:72px;flex-wrap:wrap}
body.ux-v1 .workspace-nav .nav-items a{font-size:1.018828125rem;line-height:1.45;padding-block:11px}
body.ux-v1 .workspace-nav .nav-group>summary{font-size:1.08675rem;line-height:1.4}
body.ux-v1 .workspace-nav .stage{color:#b2c5d8}
body.ux-v1 .st-reference{font-family:inherit}
body.ux-v1 .pc-heading{flex-wrap:wrap}
body.ux-v1 .pc-metric{flex-wrap:wrap;gap:8px}
body.ux-v1 .pc-metric h3{white-space:normal}
body.ux-v1 .pc-metric strong{white-space:normal;overflow-wrap:anywhere;letter-spacing:0}
body.ux-v1 .pc-period{flex-wrap:wrap}
body.ux-v1 .pc-pill{height:auto;min-height:26px;white-space:normal}
body.ux-v1 .pc-day{min-height:112px}
@media(max-width:1100px){body.ux-v1 .pc-layout{grid-template-columns:minmax(0,1fr)}body.ux-v1 .pc-day-panel{min-width:0}}
@media(max-width:760px){body.ux-v1 .workspace>header{gap:12px}body.ux-v1 main{padding-inline:16px}body.ux-v1 .editor-grid{grid-template-columns:1fr}}
/* One sidebar width across calendar and booking layouts, including legacy page skins. */
body.ux-v1{--crm-sidebar-width:292px}
body.ux-v1 aside.workspace-nav{width:var(--crm-sidebar-width)!important;padding:24px 16px!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
body.ux-v1:has(>.workspace-nav)>.workspace{margin-left:var(--crm-sidebar-width)!important}
body.ux-v1 .workspace-nav .brand{font-size:26.082px;gap:12px;padding:0 10px 22px}
body.ux-v1 .workspace-nav .brand small{font-size:14.12775px;letter-spacing:2px}
body.ux-v1 .workspace-nav .nav-group{margin:8px 0}
body.ux-v1 .workspace-nav .nav-group>summary{font-size:18.47475px;font-weight:650;line-height:1.45;padding:13px 8px;gap:10px;color:#f0f6fc}
body.ux-v1 .workspace-nav .nav-items{margin-left:18px;padding-left:12px}
body.ux-v1 .workspace-nav .nav-items a{font-size:17.388px;font-weight:450;line-height:1.5;padding:11px 12px;white-space:normal;overflow-wrap:normal;word-break:normal;color:#d5e2ee;border-radius:8px}
body.ux-v1 .workspace-nav .nav-items a[aria-current=page]{font-size:17.388px;font-weight:650;white-space:normal;padding:11px 12px;color:#fff;background:#075bff;box-shadow:0 3px 12px #001e6040}
body.ux-v1 .workspace-nav .nav-items a:hover{color:white;background:#ffffff15}
body.ux-v1 .workspace-nav .nav-items a[aria-current=page]:hover{background:#075bff}
body.ux-v1 .workspace-nav .stage{font-size:14.12775px;line-height:1.6;margin:24px 12px;color:#b2c5d8}
@media(max-width:1100px) and (min-width:761px){body.ux-v1{--crm-sidebar-width:272px}}
@media(max-width:760px){body.ux-v1 aside.workspace-nav{width:100%!important;padding:16px!important}body.ux-v1:has(>.workspace-nav)>.workspace{margin-left:0!important}body.ux-v1 .workspace-nav .brand{padding:0}}

/* Product owner's approved desktop density: 85% baseline reduced by a further 5%.
   Embedded forms inherit the outer scale and must not be scaled twice. */
@media screen and (min-width:761px){
  html:has(>body.ux-v1:not(.crm-embedded)){zoom:.8075}
}
/* Embedded pages still contain a hidden navigation node. They must not reserve
   the outer CRM sidebar a second time (including WebKit/Safari). */
body.ux-v1.crm-embedded:has(>.workspace-nav)>.workspace,
body.ux-v1.crm-embedded>.workspace{
  margin-left:0!important;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}

/* Reset the inherited page zoom in WebKit nested browsing contexts. */
html:has(>body.crm-embedded){zoom:1!important}
