html:root #bs-group-home .bs-group-quick-links > a {
  min-block-size: var(--ep-control-size);
  border-radius: var(--ep-control-radius);
}

html:root #bs-group-home .bs-group-quick-text {
  min-inline-size: 0;
}

html:root #bs-group-home .bs-group-quick-text strong {
  color: #213a58;
  font-size: var(--ep-label-size);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

html:root #bs-group-home .bs-group-period-details > summary {
  min-block-size: var(--ep-control-size);
  line-height: 1.45;
}

html:root .people-shell :is(.people-heading, .people-record-title, .people-brand-workspace-heading) :is(h1, h2) {
  line-height: 1.22;
  text-wrap: balance;
}

html:root .people-shell .people-responsibility-links a {
  min-block-size: var(--ep-control-size);
  border-radius: var(--ep-control-radius);
  font-size: var(--ep-detail-size);
  line-height: 1.4;
}

html:root .people-shell .people-directory-list article > div {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

html:root :is(.fin-main, #bs-finance-root) :is(h1, h2) {
  line-height: 1.25;
  text-wrap: balance;
}

html:root .fin-main .fin-store-picker button {
  min-block-size: var(--ep-control-size);
}

html:root .ms-main .ms-period h2 {
  white-space: normal;
  font-size: var(--ep-label-size);
  line-height: 1.35;
  text-align: center;
}

html:root .ms-main .ms-view-switch button[aria-pressed="false"] {
  color: #526780;
}

html:root .ms-main .ms-week-strip small {
  font-size: 0.6875rem;
}

html:root .nf-main :is(input:not([type="hidden"]), select, .nf-status-filters button) {
  border-radius: var(--ep-control-radius);
}

html:root .nf-main :is(.nf-stat small, .nf-filter-toggle small) {
  color: #506453;
  font-size: 0.75rem;
  line-height: 1.45;
}

html:root .nf-main .nf-status-filters button {
  min-block-size: var(--ep-control-size);
  font-size: var(--ep-label-size);
}

html:root .usage-main .usage-update small {
  color: #536680;
  font-size: 0.75rem;
}

html:root .usage-main .usage-update button {
  min-block-size: var(--ep-control-size);
}

html:root .usage-main .usage-card {
  padding-inline: var(--ep-panel-padding);
  border-radius: var(--ep-panel-radius);
}

html:root .usage-main .usage-card > strong {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.18;
}

@media (max-width: 480px) {
  html:root #bs-group-home .bs-group-quick-links {
    gap: var(--ep-space-2);
  }

  html:root #bs-group-home .bs-group-quick-links > a {
    gap: var(--ep-space-2);
    padding: var(--ep-space-2);
  }

  html:root .people-shell .people-responsibility-links a {
    flex: 1 1 100%;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1120px) {
  html:root .portal-design,
  html:root body:has(> main.studio) {
    --bs-desktop-space: clamp(16px, 1.65vw, 24px);
    --bs-desktop-gap: clamp(12px, 1.25vw, 18px);
  }

  html:root .portal-design .goal-admin-main:where(:not(:has(> .bs-cockpit-sidebar, > .admin-module-nav))) {
    max-inline-size: 1360px;
  }
  html:root .portal-design :is(.cockpit-hero, .goal-admin-hero, .inv-page-heading) h1,
  html:root :is(.studio .intro h1, #purchase-budget h1, .nf-heading h1, .ma-manager-hero h1) {
    font-size: clamp(1.65rem, 2.1vw, 2.125rem);
    line-height: 1.18;
    text-wrap: balance;
  }
  html:root .portal-design :is(.cockpit-hero, .goal-admin-hero, .inv-page-heading) p,
  html:root :is(.studio .intro, .ma-hero-main, #purchase-budget) h1 + p {
    max-inline-size: 68ch;
    text-wrap: pretty;
  }

  html:root .portal-design :is(.cockpit-period-filter, .manager-filter-bottom, .hr-documents-hero) {
    padding-block: var(--bs-desktop-space);
  }
  html:root .portal-design .cockpit-period-filter {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem) auto;
    gap: var(--bs-desktop-gap);
    align-items: end;
  }
  html:root .portal-design .cockpit-kpis.cockpit-kpis-live {
    gap: var(--bs-desktop-gap);
  }
  html:root .portal-design .cockpit-kpis.cockpit-kpis-live > article {
    min-inline-size: 0;
    padding: var(--bs-desktop-space);
  }
  html:root .portal-design .cockpit-kpis-live strong {
    font-variant-numeric: tabular-nums;
  }
  html:root .portal-design .cockpit-annual-table :is(th, td) {
    padding-block: 0.75rem;
  }
  html:root .portal-design .manager-main .manager-filter-bar {
    position: relative;
    top: auto;
  }
  html:root .portal-design .manager-main .manager-filter-heading {
    padding-block: var(--bs-desktop-space);
  }
  html:root .portal-design .manager-main .manager-places a {
    min-block-size: 42px;
  }
  html:root .portal-design .manager-main .manager-period-controls {
    max-inline-size: 48rem;
    gap: var(--bs-desktop-gap);
  }
  html:root .portal-design .manager-main .manager-summary {
    gap: var(--bs-desktop-gap);
  }
  html:root .portal-design .ma-workspace {
    max-inline-size: 1392px;
    gap: clamp(20px, 2vw, 32px);
  }
  html:root .portal-design .ma-workspace > .ma-workspace-main {
    min-inline-size: 0;
  }
  html:root .portal-design :is(.ma-manager-hero, .ma-compare) {
    padding: var(--bs-desktop-space);
  }

  html:root .portal-design .monthly-plan-main .goal-admin-filters {
    gap: var(--bs-desktop-gap);
    align-items: end;
  }
  html:root .portal-design .monthly-plan-main .plan-scope-heading {
    padding: var(--bs-desktop-space);
  }
  html:root .portal-design .inv-shell > .inv-panel {
    max-inline-size: 100%;
    margin-inline: 0;
  }
  html:root .portal-design :is(.inv-transfer-heading, .hr-doc-overview, .sa-filter-fields) {
    gap: var(--bs-desktop-gap);
  }
  html:root .portal-design .sa-module .sa-filter-fields {
    justify-content: start;
    align-items: end;
  }

  html:root main.studio {
    box-sizing: border-box;
    width: 100%;
    max-inline-size: 1240px;
    padding: 28px clamp(24px, 2.6vw, 36px) 48px;
  }
  html:root main.studio .desk {
    gap: clamp(18px, 2vw, 28px);
  }
  html:root main.studio :is(.sheet-head, .ig-head) {
    padding-block: var(--bs-desktop-space);
  }
  html:root .nf-main {
    max-inline-size: 1280px;
  }
  html:root .nf-main .nf-note-open {
    padding-block: 0.875rem;
  }
  html:root .portal-design .portal-shell > .main-content > :is(.dashboard, .seller-earnings-main) {
    max-inline-size: 1280px;
    margin-inline: auto;
  }
}
