/* Search and New Jobs together match the existing 64px Support control. */
html body #business-dashboard .biz-account-controls{grid-template-rows:28px 28px;grid-auto-rows:28px;row-gap:8px}
html body #business-dashboard .biz-account-controls>#biz-support-call{grid-column:1;grid-row:1 / 3;height:64px!important;min-height:64px!important;max-height:64px!important;align-self:start;box-sizing:border-box;margin:0;width:100%}
html body #business-dashboard .biz-account-controls>#company-dashboard-search{grid-column:2;grid-row:1;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0;box-sizing:border-box;margin:0;width:100%}
html body #business-dashboard #company-search-toggle{box-sizing:border-box;width:100%;height:28px!important;min-height:28px!important;max-height:28px!important;margin:0;padding:3px 8px;border:1px solid #9ca9b8;border-radius:6px;font:700 16px/1.25 system-ui;text-align:center;background:white;color:#172d71}
html body #business-dashboard .biz-account-controls>.company-new-jobs{grid-column:2;grid-row:2;position:static;width:100%!important;height:28px!important;min-height:28px!important;max-height:28px!important;margin:0;padding:3px 8px;border:1px solid #172d71;border-radius:6px!important;background:#172d71!important;color:white!important;font:700 16px/1.25 system-ui!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
@layer hub-button-typography {
  html body #business-dashboard .biz-account-controls :is(#company-search-toggle,.company-new-jobs){
    font:700 14px/1.25 system-ui!important;
  }
}
html body #business-dashboard #company-search-toggle::placeholder{
  font:inherit;
}
/* Compact dashboard controls, preserving their horizontal layout and lettering. */
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-account-controls{
  --dashboard-job-control-height:26px;
}
html body:is(.business-design-pilot,.teckrom-desktop) #business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-account-controls{
  --dashboard-job-control-height:34px;
}
html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-account-controls :is(#company-dashboard-search,#company-search-toggle,.company-new-jobs){
  height:var(--dashboard-job-control-height)!important;
  min-height:var(--dashboard-job-control-height)!important;
  max-height:var(--dashboard-job-control-height)!important;
  padding-block:0!important;
}
@layer hub-action-colors {
  html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-account-controls :is(#company-search-toggle,.company-new-jobs){
    background:#7c8ba4!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html body #business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-account-controls #company-search-toggle::placeholder{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    opacity:1;
  }
}
html body .company-job-editor{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:14px;overflow:auto;border:1px solid #bac5d6;border-top:3px solid #172d71;border-radius:16px;background:white;color:#172d71;text-align:center}
html body .company-job-editor h2{font-size:22px!important;margin:0 0 10px}.company-job-editor fieldset{margin:10px 0;padding:10px;border:1px solid #d4dae5;border-radius:12px;min-width:0}.company-job-editor legend{font-size:16px;font-weight:700;padding:0 6px}.company-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-job-grid label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:13px;font-weight:700;min-width:0;text-align:center}.company-job-grid input,.company-job-grid select,.company-job-grid textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:8px;border:1px solid #bbc5d5;border-radius:8px;background:white;color:#172d71;font:16px system-ui;text-align:center}.company-job-grid textarea{min-height:80px;resize:vertical}.company-job-wide{grid-column:1/-1}.company-job-editor p{font-size:13px;margin:6px 0}.company-job-editor button{font:inherit;min-height:44px;border:1px solid #bbc5d5;border-radius:8px;padding:8px 14px;background:white;color:#172d71;cursor:pointer}.company-job-editor .company-job-actions{display:flex;gap:10px}.company-job-actions>button{flex:1}.company-job-editor button.biz-primary{background:#172d71;color:white}.company-job-editor button:disabled{opacity:.6}.company-job-editor [hidden]{display:none!important}

html body dialog.company-job-editor{padding:12px;width:min(640px,calc(100vw - 24px));scrollbar-gutter:stable both-edges}
html body dialog.company-job-editor form{margin:0;padding:0}
html body dialog.company-job-editor fieldset{margin:8px 0;padding:8px;min-width:0}
html body dialog.company-job-editor .company-job-grid{gap:8px;align-items:end}
html body dialog.company-job-editor .company-job-grid label{margin:0;padding:0;font-size:13px;line-height:1.3;text-align:center}
html body dialog.company-job-editor .company-job-grid :is(input:not([type=hidden]),select,textarea){min-height:44px;padding:8px;margin:0;font:16px/1.3 system-ui;text-align:center}
html body dialog.company-job-editor .company-job-grid textarea{height:80px;min-height:72px}
html body dialog.company-job-editor :is(.company-job-label-actions,.company-job-actions){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
html body dialog.company-job-editor button{min-height:44px;padding:8px;font-size:14px;line-height:1.3;margin:0}
html body dialog.company-job-editor .company-job-matches{display:grid;gap:6px;max-height:240px;overflow:auto}
html body dialog.company-job-editor .company-job-matches button{width:100%;overflow-wrap:anywhere}
html body dialog.company-job-editor .hub-address-suggestions{grid-column:1/-1;display:grid;gap:6px}
html body dialog.company-job-editor .hub-address-suggestions button{width:100%;font-size:14px;white-space:normal;overflow-wrap:anywhere}
html body dialog.company-job-editor .job-address-status{grid-column:1/-1;margin:0}
html body dialog.company-job-editor :is(p:empty,[hidden]){display:none!important}

html body dialog.company-job-editor .job-address-status[data-state=error]{color:#b42318;font-weight:650}

html body dialog.company-job-editor .company-contact-box>label{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;margin:4px 0 8px}html body dialog.company-job-editor #different-job-contact{width:20px;height:20px;min-height:20px;flex:0 0 20px}html body dialog.company-job-editor .company-contact-change{width:auto;min-width:64px;min-height:36px;margin:8px auto 0;display:block}html body dialog.company-job-editor .company-contact-box select{font-size:14px}

/* Agreed job form adjustments: readable labels, two-line address, lower actions. */
@layer hub-button-typography {
html body .company-job-editor .company-job-actions>button,html body .company-label-picker button{font-size:16px!important;line-height:1.3!important}
}
html body dialog.company-job-editor .company-job-grid label{font-size:16px;line-height:1.3}
html body dialog.company-job-editor .company-job-label-actions{display:none}
html body dialog.company-job-editor .company-job-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
html body dialog.company-job-editor .company-job-actions>button{width:100%;height:100%;min-height:52px;white-space:normal}
html body dialog.company-job-editor .hub-street-unit:has(#new-job-address){grid-template-columns:minmax(0,3fr) minmax(75px,1fr)!important;grid-column:1/-1!important}
html body dialog.company-job-editor .hub-address-suggestions button{white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}
html body .company-label-picker{width:min(420px,calc(100vw - 24px));box-sizing:border-box}
html body .company-label-picker .hub-confirm-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body .company-label-picker button{min-height:52px;width:100%;margin:0}
html body dialog.company-job-editor .hub-address-suggestions>button{overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}

/* Keep the Create Job controls at their approved sizes; tighten the space around them. */
html body dialog.company-job-editor form > fieldset {
  margin-block: 4px;
  padding-block: 3px 5px;
}
html body dialog.company-job-editor form .company-job-grid {
  row-gap: 4px;
}
html body dialog.company-job-editor form .company-job-grid label {
  row-gap: 2px;
}
html body dialog.company-job-editor form .company-contact-box > label {
  margin-block: 0;
}
html body dialog.company-job-editor form .company-contact-box > label:has(:checked) {
  margin-bottom: 4px;
}
html body dialog.company-job-editor form .company-job-grid > p.company-job-wide {
  margin-block: 2px;
}

/* Compact the single-line fields themselves, including expanded contact and appliance fields. */
html body dialog.company-job-editor form .company-job-grid :is(input:not([type=checkbox],[type=file],[type=hidden]),select) {
  box-sizing: border-box;
  height: 32px !important;
  min-height: 32px !important;
  padding-block: 2px !important;
  text-align: center;
}
html body dialog.company-job-editor form fieldset > legend {
  margin-inline: auto;
  text-align: center;
}
html body dialog.company-job-editor form .company-job-grid label {
  text-align: center;
}
html body dialog.company-job-editor form :is(.hub-street-unit,.hub-address-locality) {
  align-items: end !important;
}

html body dialog.company-job-editor form label {font-size:13px!important;font-weight:700!important}
html body dialog.company-job-editor form :is(input:not([type=checkbox],[type=file]),select,textarea) {font-size:16px!important;font-weight:400!important}
html body dialog.company-job-editor form ::placeholder {font-size:inherit;font-weight:inherit}


/* Center Create Job in the page space below the existing Jobs card. */
html body>main>#business-dashboard.active:has([data-biz-view="jobs"]:not([hidden])){
 display:flex;flex-direction:column;flex:1 0 auto;
}
html body #business-dashboard:has([data-biz-view="jobs"]:not([hidden]))>.biz-shell{
 width:100%;box-sizing:border-box;flex:none;
}
html body #business-dashboard .company-jobs-actions{display:none}
html body #business-dashboard:has([data-biz-view="jobs"]:not([hidden]))>.company-jobs-actions{
 flex:1 0 auto;display:grid;place-items:center;padding:12px 0;min-height:68px;box-sizing:border-box;
}
html body #business-dashboard .company-jobs-actions>.company-create-job{
 width:min(100%,180px);min-height:44px;margin:0;padding:8px;border:1px solid #172d71;
 border-radius:8px;background:#172d71!important;color:white!important;font:700 16px/1.25 system-ui!important;
}

 #business-dashboard #listing-form #biz-service-picker {width:100%;min-width:0;margin:0;padding:0}
 #business-dashboard #listing-form :is(label[for="listing-category"],#biz-services-label) {display:block;width:100%;text-align:center!important;font-family:inherit!important;font-size:1rem!important;font-weight:600!important;line-height:1.35!important;color:#26364b!important;margin:12px 0 5px!important}
 #business-dashboard #listing-form :is(#listing-category,#biz-services-dropdown>summary,#listing-services) {box-sizing:border-box;width:100%!important;margin:0!important;border:1px solid #9ca9b8!important;border-radius:9px!important;background:#fff!important;color:#192e49!important;font-family:inherit!important;font-size:1rem!important}
 #business-dashboard #listing-form #biz-services-dropdown {margin:0;padding:0;border:0}
 #business-dashboard #listing-form #biz-services-dropdown>summary {list-style:none;position:relative;display:flex!important;align-items:center;min-height:44px;padding:10px 34px 10px 12px!important;text-align:left!important;font-weight:400;cursor:pointer}
 #biz-services-dropdown>summary::-webkit-details-marker {display:none}
 #biz-services-dropdown>summary::after {content:'';position:absolute;right:12px;top:50%;width:7px;height:7px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-70%) rotate(45deg)}
 #biz-services-dropdown[open]>summary::after {transform:rotate(225deg)}
 #biz-service-value {font:inherit!important;color:inherit!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 #business-dashboard #listing-form #listing-category {padding-inline-start:12px!important}
 #business-dashboard #listing-form #listing-services {display:block!important;max-height:min(45dvh,22rem);overflow:auto;padding:0}
 #business-dashboard #biz-service-picker #listing-services label {box-sizing:border-box;display:flex!important;flex-direction:row-reverse!important;align-items:center;justify-content:space-between!important;text-align:left!important;min-height:44px;margin:0!important;padding:8px 12px!important;gap:10px;font:inherit!important;color:inherit!important}
 #business-dashboard #biz-service-picker #listing-services label+label {border-top:1px solid var(--line)}
 #business-dashboard #biz-service-picker #listing-services input {flex:none;margin:0!important}

