/* Pilot styles apply only to the verified owner in the selected Business dashboard. */
html body.business-design-pilot #business-dashboard .biz-tiles{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;background:#fff!important;border:1px solid #dce1e9;border-radius:12px;padding:8px!important;box-shadow:0 2px 8px #152b4810;direction:ltr}
html body.business-design-pilot #business-dashboard .biz-tiles>:is(button,details){width:100%!important;min-width:0!important;margin:0!important;grid-area:auto!important}
html body.business-design-pilot #business-dashboard .biz-tiles>button,html body.business-design-pilot #business-dashboard .biz-tiles>#biz-account-menu>summary{display:flex!important;flex-direction:column!important;align-items:center;justify-content:center;gap:6px;min-height:76px!important;height:100%!important;padding:10px 4px!important;background:#fff!important;color:#192e61!important;border:0!important;border-radius:8px!important;box-shadow:none!important;white-space:normal!important;font-size:16px!important}
html body.business-design-pilot #business-dashboard .biz-tiles :is(button>strong,#biz-account-menu>summary>span){font-size:16px!important;line-height:1.3;white-space:normal!important;overflow-wrap:normal;word-break:normal;color:#192e61!important}
html body.business-design-pilot #business-dashboard .biz-tiles svg{width:24px!important;height:24px!important;flex-shrink:0}
html body.business-design-pilot #business-dashboard #biz-account-menu{position:static!important}
html body.business-design-pilot #business-dashboard .biz-tiles{position:relative!important}
html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel{position:absolute!important;inset-inline:0!important;bottom:calc(100% + 8px)!important;top:auto!important;width:100%!important;max-width:none!important;max-height:65dvh;overflow-y:auto;padding:8px!important;border:1px solid #dce1e9!important;border-radius:12px!important;background:white;box-shadow:0 6px 24px #152b4820;box-sizing:border-box}
html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel>:is(button,a){display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:10px;width:100%!important;min-height:52px!important;height:auto!important;margin:0!important;padding:12px!important;border:0!important;border-bottom:1px solid #eef0f4!important;border-radius:0!important;background:white!important;color:#192e61!important;font-size:16px!important;box-shadow:none!important;white-space:normal!important}
html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel>:is(button,a)>strong{font-size:inherit!important;color:inherit!important}
html body.business-design-pilot #business-dashboard :is(.biz-shell,.biz-box,.biz-summary,.upcoming-day){border-color:#dce1e9!important;box-shadow:0 2px 8px #152b4808;border-radius:12px}
html body.business-design-pilot #business-dashboard .biz-account-controls{gap:8px}
html body.business-design-pilot #business-dashboard :is(button,a,summary):focus-visible{outline:3px solid #496db7;outline-offset:2px}
@media(min-width:1024px){html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel{top:calc(100% + 8px)!important;bottom:auto!important;inset-inline-start:auto!important;width:min(420px,90vw)!important}}
html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel>[data-company-page="/business-customers.html"]:not(:has(strong)){display:none!important}
html body.business-design-pilot #business-dashboard .biz-tiles>[hidden],html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel>[hidden]{display:none!important}
@media(max-width:1023px){html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel{position:fixed!important;inset-inline:12px!important;bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;top:auto!important;width:auto!important;max-height:calc(100dvh - 120px);z-index:1200}}
/* Owner pilot refinement: balanced header controls, smaller chrome, compact dates. */
html body.business-design-pilot #business-dashboard .biz-account-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important;grid-auto-rows:auto!important;gap:8px!important;width:100%!important;max-width:720px;margin:0 auto!important;align-items:stretch}
html body.business-design-pilot #business-dashboard .biz-account-controls>#company-dashboard-search{grid-column:1!important;grid-row:1!important;width:100%!important;height:44px!important;min-height:44px!important;max-height:none!important;margin:0!important;padding:0!important}
html body.business-design-pilot #business-dashboard #company-search-toggle,html body.business-design-pilot #business-dashboard .biz-account-controls>.company-new-jobs{box-sizing:border-box;width:100%!important;height:44px!important;min-height:44px!important;max-height:none!important;margin:0!important;padding:8px!important;border-radius:8px!important;align-self:stretch}
html body.business-design-pilot #business-dashboard .biz-account-controls>.company-new-jobs{grid-column:2!important;grid-row:1!important}
html body.business-design-pilot #business-dashboard .employee-app-mark{width:36px!important;height:36px!important;min-width:36px!important}
html body.business-design-pilot #business-dashboard .employee-header-row{grid-template-columns:36px minmax(0,1fr) 36px!important;margin-bottom:8px!important}
html body.business-design-pilot #business-dashboard .biz-tiles>button,html body.business-design-pilot #business-dashboard .biz-tiles>#biz-account-menu>summary{min-height:68px!important;padding:6px 4px!important;gap:4px!important}
html body.business-design-pilot #business-dashboard .biz-tiles{padding:6px!important;grid-auto-rows:minmax(68px,auto)!important}
html body.business-design-pilot .sc-tasks>input[type="date"]{display:block;width:12rem!important;max-width:100%!important;min-width:0!important;margin-inline:auto!important;box-sizing:border-box}
html body.business-design-pilot #business-dashboard .sc-range{width:fit-content;max-width:100%;margin-inline:auto}
html body.business-design-pilot .business-accounting-pilot{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto;padding:16px;border:1px solid #dce1e9;border-radius:12px;color:#192e61;background:white;text-align:center}
.business-accounting-pilot .accounting-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.business-accounting-pilot label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font-size:16px}
.business-accounting-pilot :is(select,input,button){box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;padding:8px;border:1px solid #dce1e9;border-radius:8px;background:white;color:#192e61}
.business-accounting-pilot [hidden]{display:none!important}
@media(max-width:1023px){html body.business-design-pilot #business-dashboard #biz-account-menu .biz-menu-panel{bottom:calc(172px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100dvh - 196px)}}
/* Final owner-pilot header and spacing adjustments. Text sizes remain unchanged. */
html body.business-design-pilot #business-dashboard .biz-account-controls{width:calc(100% - 32px)!important;max-width:480px!important;margin:0 auto!important}
html body.business-design-pilot #business-dashboard .biz-login-row{padding-top:10px!important;padding-bottom:10px!important}
html body.business-design-pilot #business-dashboard .employee-app-mark{width:32px!important;height:32px!important;min-width:32px!important}
html body.business-design-pilot #business-dashboard .employee-header-row{display:grid!important;grid-template-columns:32px minmax(0,1fr) 44px!important;align-items:center;gap:8px!important;margin-bottom:8px!important}
html body.business-design-pilot #business-dashboard .employee-header-row>#biz-notification-bell{display:inline-flex!important;justify-content:center;align-items:center;position:relative;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:8px!important;font-size:0!important;margin:0!important;grid-column:3}
html body.business-design-pilot #business-dashboard #biz-notification-bell .notification-count{font-size:14px!important}
html body.business-design-pilot #business-dashboard .biz-tiles>button,html body.business-design-pilot #business-dashboard .biz-tiles>#biz-account-menu>summary{min-height:62px!important;padding:4px!important;gap:3px!important}
html body.business-design-pilot #business-dashboard .biz-tiles{grid-auto-rows:minmax(62px,auto)!important;gap:6px!important;padding:5px!important}
html body.business-design-pilot #business-dashboard #biz-job-list :is(.upcoming-day,.pilot-empty-day)>h3{width:fit-content;max-width:100%;margin:4px auto 6px!important;padding:0!important;text-align:center}
html body.business-design-pilot #business-dashboard .pilot-empty-day{text-align:center;padding:4px 12px}
html body.business-design-pilot #business-dashboard .pilot-empty-day h4{margin:24px 0 8px;font-size:18px}
html body.business-design-pilot #business-dashboard .pilot-empty-day p{margin:8px 0;font-size:16px}
/* Requested Search outline; shared dimensions above remain unchanged. */
html body.business-design-pilot #business-dashboard #company-search-toggle{border:2px solid #192e61!important;background:#fff!important;color:#192e61!important;text-align:center!important}
html body.business-design-pilot #business-dashboard #company-search-toggle::placeholder{color:#192e61!important;opacity:1}
.business-accounting-pilot .accounting-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}
.business-accounting-pilot .accounting-tabs button{height:100%;white-space:normal}
.business-accounting-pilot .accounting-tabs [aria-pressed="true"]{background:#192e61;color:white;border-color:#192e61}
.business-accounting-pilot .accounting-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.business-accounting-pilot .accounting-metrics>div{padding:12px 8px;border:1px solid #dce1e9;border-radius:8px;min-width:0}
.business-accounting-pilot .accounting-metrics dt{font-size:16px;overflow-wrap:normal}
.business-accounting-pilot .accounting-metrics dd{margin:6px 0 0;font-size:20px;font-weight:700}
.business-accounting-pilot p{font-size:16px;line-height:1.5}
.business-accounting-pilot h3{font-size:20px;margin:16px 0 8px}
.business-accounting-pilot h4{font-size:18px;margin:12px 0 8px}
.business-accounting-pilot .accounting-comparison{border-block:1px solid #dce1e9;padding:8px 0}

/* In the Business menu, position the label in the same column as Email Connections. */
html body #business-dashboard #biz-account-menu #biz-language-slot #language-toggle:not([hidden]) {
 display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;
 align-items:center!important;justify-content:start!important;column-gap:10px!important;
 padding-inline:12px!important;box-sizing:border-box;width:100%!important;margin:0!important;
}
html body #business-dashboard #biz-account-menu #biz-language-slot #language-toggle::before {
 grid-area:1/1!important;position:static!important;width:16px;margin:0;text-align:center;
}
html body #business-dashboard #biz-account-menu #biz-language-slot #language-toggle>span:not([aria-hidden]) {
 grid-area:1/2!important;position:static!important;justify-self:start!important;text-align:start!important;
 width:auto!important;margin:0!important;transform:none!important;
}
html body #business-dashboard #biz-account-menu #biz-language-slot #language-toggle>:is(svg,[aria-hidden="true"]) {
 display:none!important;
}

html body #business-dashboard #biz-account-menu .biz-menu-panel > * {
  flex-shrink: 0;
}

html body #business-dashboard #biz-account-menu .biz-menu-panel > #biz-support-call > strong {
  font-size: 14px !important;
  font-weight: 700 !important;
}
