body.hs-app { --hs-button-min-height: 44px; --hs-button-font-size: 1rem; --hs-button-padding-y: .65rem; --hs-button-padding-x: 1rem; }
[hidden] { display: none !important; }
.md-content { gap: .75rem; }
.md-brand, .md-brand-full { display: inline-flex; align-items: center; min-width: 0; }
.md-brand img { object-fit: contain; object-position: left center; }
.md-brand-main, .md-brand-inverse { width: 190px; height: 48px; }
.md-brand-inverse, .md-brand-symbol { display: none; }
:root[data-hs-theme="dark"] .md-brand-main { display: none; }
:root[data-hs-theme="dark"] .md-brand-inverse { display: block; }
.md-offline main { max-width: 42rem; }
.md-offline .md-brand { display: flex; justify-content: center; margin: 0 auto 2rem; }
.md-offline .md-sign-in { margin: 0 auto; }
.md-fixture-notice { color: var(--hs-muted-text); font-size: .875rem; }
.md-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.md-form { max-width: 30rem; }
.md-form label { display: block; margin-top: 1rem; }
.md-form .btn { margin-top: 1rem; }
.md-eyebrow { color: var(--hs-muted-text); font-size: .75rem; font-weight: 650; letter-spacing: .09em; margin-bottom: .65rem; }
.md-sign-in { max-width: 34rem; margin: 1rem auto 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
.md-sign-in h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; margin-bottom: .75rem; }
.md-sign-in .md-form { max-width: none; margin-top: 1.5rem; }
.md-sign-in .form-control { min-height: 3rem; }
.md-sign-in .md-form .btn { width: 100%; min-height: 3rem; margin-top: 1.5rem; }
.md-sign-in > .btn { width: 100%; margin-top: 1rem; white-space: normal; }
#message { min-height: 1.5em; margin: 0; color: var(--hs-muted-text); overflow-wrap: anywhere; }
#message:empty { display: none; }
#recovery { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--hs-border); border-radius: .6rem; background: var(--hs-surface); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


.hs-header-actions .hs-icon-button,
.hs-header-actions .hs-font-size-button { min-width: 44px; min-height: 44px; }
.hs-app-header .hs-header-actions { overflow: visible; }
@media (max-width: 575.98px) {
  .hs-app-header .md-brand-full { display: none; }
  .hs-app-header .md-brand-symbol { display: block; width: 38px; height: 44px; }
  .hs-header-inner { gap: 8px; padding: 10px 12px; }
  .hs-header-actions { gap: 6px; }
  .hs-header-actions .hs-font-size-controls { gap: 4px; }
  .hs-header-actions .hs-font-size-button { width: 44px; padding: 0 4px; }
}
@media (max-width: 420px) { .hs-brand-title { display: none; } }

.md-profile-card { max-width: 42rem; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2rem); }
.md-profile-card h2 { margin-top: 0; }
.md-profile-card .md-form { max-width: none; }
.md-profile-card .form-control { min-height: 3rem; }
.md-profile-card .form-control[readonly] { background: var(--hs-muted-surface); color: var(--hs-muted-text); }
.md-profile-feedback { margin: 1rem 0 0; overflow-wrap: anywhere; }
.md-profile-card .md-actions .btn { margin-top: 0; }
#profile-menu { width: min(22rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); }
#profile-menu .hs-profile-summary { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
#profile-menu .hs-profile-summary strong,
#profile-menu .hs-profile-summary small { overflow: visible; text-overflow: clip; white-space: normal; }
#profile-menu .hs-font-size-controls { display: flex; }
.md-display-menu { width: min(22rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); }
.md-display-menu .hs-profile-preference-label { font-size: 1.125rem; }
.md-display-menu .hs-font-size-controls { display: flex; }
.md-display-menu .hs-font-size-button { flex: 1; min-width: 44px; min-height: 44px; font-size: 1.125rem; }
.md-display-menu .dropdown-item { min-height: 44px; white-space: normal; }
.md-brand:focus-visible { outline: 2px solid var(--hs-accent); outline-offset: 4px; border-radius: .25rem; }
