html body :is(button,input[type=submit]).hub-save-button{background:#1b347c!important;border-color:#1b347c!important;color:#fff!important}
html body :is(button,input[type=submit]).hub-save-button:disabled{background:#1b347c!important;color:#fff!important;opacity:.6}
html body button.missing-field-icon{display:inline-flex!important;align-items:center;justify-content:center;width:22px!important;min-width:22px!important;height:22px!important;min-height:22px!important;margin:0 0 0 6px!important;padding:0!important;border:0!important;background:transparent!important;color:#b3261e!important;font:bold 18px/1 system-ui!important;vertical-align:middle;cursor:pointer}
.missing-field-info{display:block;color:#b3261e;font:13px/1.35 system-ui;margin:4px 0}.missing-field-info[hidden]{display:none!important}
.note-history{text-align:left;font:13px/1.4 system-ui;margin:8px 0;color:#465267}.note-history small{font-size:12px}.note-history summary{cursor:pointer;margin-top:6px}.note-history-entry{padding:8px 0;border-top:1px solid #dce1e9}.note-history-entry p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.job-photo-picker select{font:16px system-ui;padding:8px;max-width:100%;grid-column:1/-1}

.note-history:empty{display:none}

/* Shared button lettering only: preserve each control layout, colors and behavior. */
html body button:not([data-hub-nav]):not(.hub-detail-close):not(.job-fullscreen-back):not(.missing-field-icon),
html body input[type="button"],html body input[type="submit"],html body input[type="reset"],
html body [role="button"]:not([data-hub-nav]),html body a.button,html body a.btn{
 font:700 13px/1.25 system-ui!important;text-align:center!important;align-content:center!important;align-items:center!important;justify-content:center!important;
}
html body button:not([data-hub-nav]):not(.hub-detail-close):not(.job-fullscreen-back):not(.missing-field-icon) :is(span,strong,b,small,label):not([aria-hidden="true"]){font:inherit!important;text-align:center!important}

/* Important layer takes precedence over page-specific button font overrides. */
@layer hub-button-typography {
html body button:not([data-hub-nav]):not(.hub-detail-close):not(.job-fullscreen-back):not(.missing-field-icon),
html body input[type="button"],html body input[type="submit"],html body input[type="reset"],
html body [role="button"]:not([data-hub-nav]),html body a.button,html body a.btn{
 font:700 13px/1.25 system-ui!important;text-align:center!important;align-content:center!important;align-items:center!important;justify-content:center!important;
}
html body button:not([data-hub-nav]):not(.hub-detail-close):not(.job-fullscreen-back):not(.missing-field-icon) :is(span,strong,b,small,label):not([aria-hidden="true"]){font:inherit!important;text-align:center!important}
}

/* Menu rows keep a shared left edge; action buttons retain centered lettering. */
@layer hub-button-typography {
html body #biz-account-menu .biz-menu-panel > :is(button,a.button),
html body #biz-account-menu .biz-menu-panel > details > summary,
html body #biz-account-menu .biz-menu-panel #language-toggle {
 text-align:left!important;justify-content:flex-start!important;font-size:14px!important;
}
html body #biz-account-menu .biz-menu-panel :is(button,a.button,summary) :is(span,strong,b,small,label):not([aria-hidden="true"]) {text-align:left!important}
}

/* Invitation selection persists independently of focus or touch. */
html body .invite-mode > button[aria-pressed="true"] {background:#1b347c!important;border-color:#1b347c!important;color:#fff!important}
html body .invite-mode > button[aria-pressed="false"] {background:#fff!important;color:#172d71!important}

/* Photos, pictures and Add actions use the approved yellow everywhere. */
html body button.hub-yellow-control{background:#f5c842!important;border-color:#f5c842!important;color:#172d71!important}
