.front-home {
  --front-ink: #101d34;
  --front-muted: #445c76;
  --front-blue: #075bd7;
  --front-border: #d3e1f1;
  --front-shadow: 0 1px 2px #183b660a;
  background: #f6f8fb;
  color: var(--front-ink);
}
.front-home .container {
  width: min(var(--public-max), calc(100% - 2 * var(--public-gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}
.front-home main :is(section[id], nav[id]) { scroll-margin-top: 86px; }
.front-home :is(h1, h2, h3) { color: var(--front-ink); }
.front-home .workspace-nav { min-height: 0; background: #fff; border-bottom: 1px solid var(--front-border); box-shadow: none; }
.front-home .workspace-nav .nav-container { min-height: var(--public-header); gap: 18px; }
.front-home .workspace-nav .logo { gap: 10px; }
.front-home .workspace-nav .logo-mark { display: grid; width: 40px; height: 40px; background: transparent; box-shadow: none; border: 0; }
.front-home .workspace-nav .logo-icon, .front-footer-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.front-home .workspace-nav .logo-main, .front-home .workspace-footer .logo-main { color: var(--front-ink); }
.front-home .workspace-nav .logo-accent, .front-home .workspace-footer .logo-accent { color: var(--front-blue); }
.front-brand-copy { line-height: 1.05; }
.front-brand-copy small { display: block; margin-top: 3px; color: var(--front-muted); font: 500 10px/1.2 Inter, sans-serif; letter-spacing: 0; }
.front-home .workspace-nav .nav-links a { padding-inline: 4px; color: var(--front-ink); font-size: 14px; }
.front-home .workspace-nav .nav-links a:hover { color: var(--front-blue); }
.front-home .workspace-nav :is(.rustore-button,.nav-auth-btn) {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--front-border);
  background: #fff;
  color: var(--front-ink);
  box-shadow: none;
}
.front-home .workspace-nav :is(.rustore-button,.nav-auth-btn):hover { border-color: #8bb6ee; background: #f1f7ff; }
.front-nav-store { display: flex; align-items: center; }
.front-nav-store:has([hidden]) { display: none; }
.front-nav-store img { width: 112px; height: auto; }

.front-home .home-refresh { background: transparent; }
.front-home .front-hero {
  background: #e8f2ff url("./waves.svg") center bottom / cover no-repeat;
  border-bottom: 1px solid #c6ddf9;
}
.front-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-block: 20px 36px; }
.front-home .front-hero h1 { color: #143456; margin: 0 0 8px; font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.02; letter-spacing: -.05em; text-wrap: initial; }
.front-hero p { margin: 0; font-size: 17px; color: var(--front-muted); }





.front-home .front-workspace {
  position: relative;
  margin-top: -19px;
}
.front-search-panel {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #c8dcf4;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--front-shadow);
}
.front-home .front-search-panel .section-heading { align-items: center; margin-bottom: 12px; }
.front-home .front-search-panel h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.14; letter-spacing: -.035em; }
.front-home .front-search-panel .search-content { max-width: none; }
.front-home .front-search-panel .hero-description { margin: 8px 0 14px; }
.front-home .front-search-panel .search-form { gap: 6px; }
.front-home .front-search-panel .search-field { min-height: 46px; border-radius: 10px; }
.front-home .front-search-panel .search-field input { height: 44px; }
.front-home .front-search-panel .search-submit { border-radius: 10px; background: linear-gradient(180deg,#0877e8,#0755cc); }
.front-home .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 15px; }
.front-home .specialty-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.front-home .specialty-grid button { min-height: 40px; flex-direction: row; justify-content: flex-start; align-items: center; background: #fff; }
.front-home .document-list { border: 0; }
.front-home .document-list > li { border: 1px solid #dce7f4; border-radius: 9px; background: #fff; }
.front-home .document-list > li + li { margin-top: 4px; border-top: 1px solid #dce7f4; }
.front-home .document { min-height: 46px; padding-block: 6px; }
.front-home .doc-icon { background: transparent; }
.front-home .results { margin-top: 12px; }






.front-home .front-offline {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 165px;
  margin-top: 22px;
  padding: 20px clamp(24px, 5vw, 58px) 20px clamp(24px, 12vw, 180px);
  overflow: hidden;
  border: 1px solid #cfe1f7;
  border-radius: 16px;
  background: linear-gradient(115deg,#ecf4ff,#dceeff);
}
.front-offline[hidden], .front-home [data-app-android][hidden] { display: none; }
.front-offline-tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #1557a0; font-size: 13px; font-weight: 700; }
.front-offline h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.75vw, 1.85rem); line-height: 1.1; }
.front-offline p { max-width: 600px; margin: 0; color: #294d72; line-height: 1.5; }

.front-offline-cta { display: grid; justify-items: center; gap: 8px; }
.front-qr {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #b6cff1;
  border-radius: 10px;
  background: #fff;
  color: var(--front-blue);
  font: 700 .88rem Inter, sans-serif;
  cursor: pointer;
}
.front-qr:hover { background: #f3f8ff; border-color: #6b9fe6; }
.front-qr i { margin-right: 5px; }
.front-store { display: inline-flex; align-items: center; border-radius: 9px; }
.front-store img { width: 146px; height: auto; display: block; }
.front-web { color: #254d77; font-size: 13px; }

.front-home .front-section, .front-home .content-section { margin-top: var(--public-gap); padding-block: 0; background: none; border: 0; }
.front-home .front-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.front-home .front-section-head h2, .front-home .front-directory h2 { margin: 0; font-size: clamp(1.27rem, 2.4vw, 1.55rem); line-height: 1.15; letter-spacing: -.035em; }
.front-section-head a { color: var(--front-blue); font-size: .875rem; font-weight: 700; }
.front-home .section-lead { max-width: 900px; margin: 0 0 11px; color: var(--front-muted); font-size: .88rem; line-height: 1.5; }
.front-tiles, .front-home .clinical-entry__grid { display: grid; gap: 11px; }
.front-home .clinical-entry__grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.front-tiles-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.front-tiles-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.front-home .front-tile {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 77px;
  padding: 11px 12px;
  border: 1px solid var(--front-border);
  border-radius: 13px;
  background: #fff;
  color: var(--front-ink);
  box-shadow: var(--front-shadow);
  text-decoration: none;
}
.front-home .front-tile:hover { color: var(--front-blue); border-color: #8db8f1; background: #f4f9ff; }
.front-tile > .bi:first-child { color: #0067eb; font-size: 24px; line-height: 1; }
.front-tile > .bi:last-child { font-size: 12px; color: var(--front-blue); }
.front-tile strong, .front-tile small, .front-tile-context { display: block; overflow-wrap: anywhere; }
.front-tile strong { font-size: .9rem; line-height: 1.22; }
.front-tile small { margin-top: 4px; color: var(--front-muted); font-size: .75rem; line-height: 1.3; }
.front-tile-context { margin-bottom: 3px; color: var(--front-blue); font-size: .69rem; line-height: 1.25; }
.front-home .front-tile-accent { background: #e4eefc; }
.front-home .clinical-entry__topics { margin-block: 10px 6px; gap: 5px 12px; }
.front-home .clinical-entry__topics a { padding: 0; border: 0; background: none; font-size: .78rem; }
.front-home .clinical-entry > .container > .btn { min-height: 32px; padding: 4px 8px; font-size: .78rem; }
.front-more { margin-top: 10px; color: var(--front-muted); }
.front-more > summary { width: fit-content; cursor: pointer; color: var(--front-blue); font-weight: 700; font-size: .88rem; }
.front-more > p { margin-block: 8px; font-size: .86rem; }
.front-home .front-more .container { width: 100%; }
.front-home .front-normative-details .content-section { margin-top: 12px; }
.front-home .front-normative-details :is(.legal-workspace__grid,.services-workspace__grid) { padding: 14px; background: #fff; border: 1px solid var(--front-border); border-radius: 12px; }
.front-home .front-more .calculator-layout { margin-top: 12px; }
.front-home .front-directory { display: flex; flex-wrap: wrap; gap: 7px; }
.front-home .front-directory h2 { flex: 0 0 100%; margin-bottom: 3px; }
.front-home .front-directory a { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 7px 10px; background: #fff; border: 1px solid var(--front-border); border-radius: 9px; color: var(--front-ink); font-size: .82rem; font-weight: 650; box-shadow: var(--front-shadow); }
.front-home .front-directory a:hover { color: var(--front-blue); border-color: #8db8f1; }
.front-home .seo-layout { display: block; padding: 16px 0 24px; border-top: 1px solid var(--front-border); }
.front-home .seo-copy { padding: 0; box-shadow: none; border: 0; background: transparent; }
.front-home .seo-copy h2 { font-size: 1.35rem; }
.front-home .workspace-footer { background: #edf3fa; color: var(--front-muted); padding-block: 23px; border-top: 1px solid var(--front-border); }
.front-home .workspace-footer .footer-inner { grid-template-columns: minmax(0,1fr); gap: 15px; }
.front-home .workspace-footer .footer-brand .logo { gap: 8px; width: fit-content; }
.front-home .workspace-footer .footer-brand p { margin-top: 8px; max-width: none; }
.front-home .workspace-footer :is(.footer-brand p,.footer-seo-group a,.footer-bottom,.footer-bottom a) { color: var(--front-muted); }
.front-home .workspace-footer .footer-seo-group h3 { margin-bottom: 6px; color: var(--front-ink); text-transform: none; letter-spacing: 0; }
.front-home .workspace-footer .footer-seo-group a:hover { color: var(--front-blue); padding-left: 0; }
.front-home .workspace-footer .footer-bottom { margin-top: 6px; padding-top: 12px; }
.front-home .search-fab { background: #075bd7; }

@media (max-width: 1070px) {

  .front-home .front-search-panel { padding-inline: 15px; }
  .front-home .catalog-layout { grid-template-columns: minmax(0,170px) minmax(0,1fr); }
}
@media (max-width: 900px) {
  .front-tiles-four { grid-template-columns: repeat(2,minmax(0,1fr)); }


}
@media (max-width: 820px) {
  .front-home .container { width: calc(100% - 30px); }
  .front-home .workspace-nav .nav-container { min-height: var(--public-header); }


  .front-home .results-head { padding-right: 0; }
  .front-home .doc-icon { flex-basis: 27px; }
  .front-home .front-offline { padding-left: 22px; }

  .front-home .front-hero-inner { gap: 15px; }
}
@media (max-width: 620px) {
  .front-home .workspace-nav .nav-container { gap: 8px; }
  .front-home .workspace-nav .logo { gap: 7px; }
  .front-home .workspace-nav :is(.logo-mark,.logo-icon) { width: 32px; height: 32px; }
  .front-home .workspace-nav .logo { font-size: 19px; }
  .front-brand-copy small { display: none; }
  .front-home .workspace-nav { --front-mobile-store-width: 97px; }
  .front-nav-store img { width: var(--front-mobile-store-width); }
  .front-home .workspace-nav .nav-toggle {
    position: relative;
    border: 0;
    background: transparent;
  }
  .front-home .workspace-nav :is(.nav-toggle, .front-header-search)::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: calc(var(--front-mobile-store-width) * 240 / 666);
    aspect-ratio: 1;
    box-sizing: border-box;
    border: 1px solid var(--front-border);
    border-radius: 10px;
    pointer-events: none;
  }
  .front-home .workspace-nav .nav-actions { gap: 6px; }
  .front-home .front-hero-inner { display: block; padding-block: 12px 24px; }
  .front-home .front-hero h1 { font-size: clamp(1.65rem, 7.1vw, 1.9rem); }
  .front-hero p { font-size: 13px; }




  .front-home .front-workspace { margin-top: -13px; }
  .front-home .front-search-panel { padding: 12px; }
  .front-home .front-search-panel .section-heading { align-items: start; flex-direction: column; gap: 4px; margin-bottom: 8px; }
  .front-home .front-offline { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .front-offline-cta { justify-items: start; }
  .front-home .clinical-entry__grid, .front-tiles-three { grid-template-columns: minmax(0,1fr); }

  .front-home .front-tile { grid-template-columns: auto minmax(0,1fr); gap: 7px; padding: 8px; min-height: 72px; }
  .front-tile > .bi:first-child { font-size: 19px; }
  .front-tile > .bi:last-child { display: none; }
}
@media (max-width: 355px) {
  .front-home .workspace-nav .logo { font-size: 17px; gap: 5px; }
  .front-home .workspace-nav :is(.logo-mark,.logo-icon) { width: 28px; height: 28px; }

  .front-home .workspace-nav { --front-mobile-store-width: 83px; }
}

.front-home .workspace-nav { padding-block: 0; }
.front-home #cookie-consent-banner { pointer-events: auto; }
.front-home .front-offline-cta .front-store { justify-self: center; }
@media (max-width: 620px) {
  .front-home .front-offline-cta .front-store { justify-self: start; }
}
@media (max-width: 540px) {
  .front-home .specialty-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .front-home .specialty-grid button { white-space: normal; text-align: left; }
  .front-home .quick { gap: 4px; }
  .front-home .quick button { font-size: 12px; padding-inline: 6px; }
  .front-home .quick > span { font-size: 12px; }
}

.front-home .front-catalog-date {
  margin: 5px 0 0;
  color: var(--front-muted);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
}
.front-home .front-seo-topics a { color: var(--front-blue); }

.front-home .public-site { background: var(--public-background); color: var(--public-text); }
.front-home .front-hero-inner { display: block; }
.front-home .front-hero h1 { line-height: 1.15; }
.front-home .front-hero h1 br { display: none; }
.front-home .front-hero .hero-description { margin-top: 5px; font-size: 13px; }
.front-home .front-hero #home-search-input-mount { margin-top: 10px; min-height: 99px; }
.front-home .front-hero .search-content { max-width: none; }
.front-home .front-hero .search-field { border-color: #7897bb; }
.front-home .front-hero .quick button { min-height: 32px; }
.front-home .workspace-nav .nav-toggle { height: 44px; min-width: 44px; }
.front-home .workspace-nav :is(.rustore-button,.nav-auth-btn), .front-home .workspace-nav .nav-links a { min-height: 44px; }
.front-home .workspace-nav .nav-links a { display: inline-flex; align-items: center; }
.front-home .filter-panel { top: calc(var(--public-header) + 10px); }
.front-home .filter-fields select,
.front-home .segmented button, .front-home .specialty-grid button { min-height: 44px; }
.front-home .segmented { padding-inline: 3px; }
.front-home .result-controls { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.front-home .doc-meta { font-size: 13px; }
.front-home .doc-codes { max-width: none; white-space: normal; }
.front-home .load-more, .front-home .active-filters button { min-height: 44px; }
.front-home .front-offline {
  margin-top: var(--public-gap);
  grid-template-columns: 117px minmax(0,1fr) auto;
  grid-template-areas: "phone copy action";
  padding: 16px 24px;
}
.front-offline-copy { grid-area: copy; }
.front-offline-cta { grid-area: action; }

.front-home .front-web { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.front-home .public-faq .faq-layout { display: block; max-width: var(--public-max); }
.front-home .public-faq .faq-layout > header { position: static; }
.front-home .public-faq .faq-list { max-width: 75ch; }
.front-home .public-faq h2, .front-home .front-app-guidance h3 { font-size: 1.35rem; }
.front-home .front-app-guidance .medical-copy__columns > div { background: transparent; padding: 0; border: 0; }
.front-home .front-app-guidance .medical-copy__columns { gap: 10px 20px; }
.front-home .seo-copy > :is(p, h2) { max-width: 75ch; }

body.front-home:has(> #cookie-consent-banner) {
  display: grid;
  grid-template-rows: minmax(0,1fr) auto;
  height: var(--public-preview-height,100dvh);
  overflow: hidden;
}
.front-home:has(> #cookie-consent-banner) > .public-site {
  overflow: auto;
  min-height: 0;
  scroll-padding-top: 72px;
}
.front-home:has(> #cookie-consent-banner) .search-fab { visibility: hidden; }
body.front-home > #cookie-consent-banner {
  position: static;
  display: flex;
  width: min(525px,calc(100% - 24px));
  max-width: none;
  margin: 5px 12px 6px auto;
  padding: 5px 9px;
  gap: 8px;
  align-items: center;
  box-shadow: 0 2px 8px #142b4812;
}
body.front-home > #cookie-consent-banner p { font-size: 12px; }
body.front-home > #cookie-consent-banner :is(button,a) { min-height: 44px; }
body.front-home > #cookie-consent-banner a { display: inline-flex; align-items: center; }
@media (max-width: 820px) {
  .front-home .result-controls { width: auto; }
  .front-home .front-hero .search-field input { font-size: 16px; }
  .front-home .front-hero #home-search-input-mount { min-height: 86px; }
}
@media (max-width: 620px) {
  .front-home .front-hero h1 { margin-bottom: 4px; }
  .front-home .front-hero .hero-description { font-size: 12px; }
  .front-home .front-hero .quick { gap: 3px; margin-top: 3px; }
  .front-home .front-hero .quick button { padding-inline: 6px; }
  .front-home .front-hero .quick > span { font-size: 12px; }
  .front-home .front-hero .search-submit { padding-inline: 10px; }
  .front-home .results-head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .front-home .result-controls { justify-content: space-between; width: 100%; }
  .front-home .doc-meta { font-size: 12px; }
  .front-home .doc-codes { max-width: 68px; overflow-wrap: anywhere; }
  .front-home .front-offline {
    grid-template-columns: 64px minmax(0,1fr);
    grid-template-areas: "phone copy" "action action";
    padding: 12px;
    gap: 10px;
  }

  body.front-home > #cookie-consent-banner { width: calc(100% - 16px); margin-inline: 8px; }
}

/* Reserve the initially visible catalog and search while the data initializes. */
.front-home #home-search-catalog { min-height: 600px; }
.front-home #home-search-catalog:has(.active-filters, .empty) { min-height: 0; }
.front-home #home-search-catalog:has(.specialty-loading) .results { margin-top: 12px; }
@media (max-width: 620px) {
  .front-home #home-search-catalog { min-height: 428px; }
}
.front-home .front-menu-cabinet { display: none; }
@media (max-width: 355px) {
  .front-home .workspace-nav .nav-actions .nav-auth-btn { display: none !important; }
  .front-home .front-menu-cabinet:has(a:not([hidden])) { display: block; }
}
@media (max-width: 355px) {
  .front-home .workspace-nav .logo { min-width: 0; }
  .front-home .front-brand-copy { min-width: 0; }
  .front-home .front-brand-copy :is(.logo-main,.logo-accent,.logo-domain) { font-size: 16px; }
  .front-home .workspace-nav .nav-actions { gap: 4px; }
}
.front-home .front-app-guidance { margin-top: 22px; }

.front-home .specialty-grid button[aria-pressed="true"],
.front-home .specialty-grid button:hover { background: var(--public-soft); }
.front-home .document { min-height: 48px; }
.front-home .document .doc-copy strong { font-size: 15px; line-height: 1.28; }
.front-home .document .doc-meta { font-size: 13px; }
.front-home .result-card:focus-within { border-color: #86a8d7; }
.front-home .front-reference-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 24px;
  margin-top: var(--public-gap);
  margin-bottom: 24px;
}
.front-home .front-reference-grid > section {
  margin: 0;
  padding: 16px;
  min-width: 0;
  border: 1px solid var(--public-border);
  border-radius: var(--public-radius);
  background: var(--public-surface);
}
.front-home .front-reference-grid .container { width: 100%; }
.front-home .front-reference-grid .seo-layout { padding: 0; border: 0; }
.front-home .front-reference-grid .medical-copy__columns { display: block; }
.front-home .front-reference-grid .medical-copy__columns > div + div { margin-top: 9px; }
.front-home .front-reference-grid .medical-copy__columns h4 { margin: 0 0 3px; color: var(--public-text); font-size: 15px; }
.front-home .front-reference-grid .medical-disclaimer { margin: 10px 0 0; }
.front-home .front-offline {
  grid-template-columns: minmax(0,1fr) minmax(0,245px) auto;
  grid-template-areas: "copy screens action";
  padding: 18px 24px;
  column-gap: clamp(18px, 3vw, 42px);
}
.front-offline-screens { grid-area: screens; display: flex; align-items: center; justify-content: center; gap: 9px; }
.front-offline-screens img {
  width: 45%;
  max-width: 106px;
  height: auto;
  border: 2px solid #385472;
  border-radius: 12px;
  background: #fff;
}
.front-offline-benefits {
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
  color: #294d72;
  font-size: 13px;
}
.front-offline-benefits li + li { margin-top: 3px; }
.front-offline-benefits .bi { margin-right: 7px; color: #0754b8; }
.front-home .front-offline-cta .front-store img { width: 158px; }
.front-home .front-offline-cta .front-qr { min-height: 44px; }
@media (max-width: 900px) {
  .front-home .front-offline {
    grid-template-columns: minmax(0,1fr) minmax(0,170px);
    grid-template-areas: "copy screens" "action screens";
    row-gap: 10px;
  }
  .front-home .front-offline-cta {
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
  }
}
@media (max-width: 767px) {
  .front-home .front-reference-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .front-home .front-reference-grid > section { padding: 12px; }
}
@media (max-width: 620px) {
  .front-home .front-offline {
    grid-template-columns: minmax(0,1fr) 72px;
    grid-template-areas: "copy screens" "action action";
    gap: 10px;
    padding: 13px;
  }
  .front-offline-screens img { width: 70px; border-radius: 8px; }
  .front-offline-screens img:nth-child(2) { display: none; }
  .front-home .front-offline-cta .front-store img { width: 143px; }
  .front-home .front-offline-benefits li { margin-top: 5px; line-height: 1.35; }
  .front-home .front-offline p { font-size: 13px; }
  .front-home .document .doc-copy strong { font-size: 14px; }

  .front-home .document .doc-icon { display: none; }
}
@media (max-width: 620px) {
  .front-home .specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-home .specialty-grid button {
    justify-content: center;
    padding-inline: 6px;
    font-size: 12px;
    text-align: center;
  }
  .front-home .specialty-grid button .bi { display: none; }
  .front-home .specialty-grid button > span {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .front-home .specialty-loading { height: 162px; }
}

.front-home .front-normative-grid > .front-tile {
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  padding: 14px;
}
.front-home .front-normative-grid > .front-tile > .bi-chevron-right { display: none; }
.front-normative-grid .front-tile > .bi:first-child { align-self: start; margin-top: 2px; }
.front-normative-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--front-border);
  border-radius: 13px;
  background: #e4eefc;
}
.front-home .front-normative-card > .front-tile {
  width: 100%;
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 14px 14px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.front-home .front-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--public-hover);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
}
.front-home .front-normative-card > .front-card-action { margin-left: 48px; padding-right: 12px; }
.front-home .front-card-action:hover, .front-home .front-quick-calculators a:hover { text-decoration: underline; }
.front-quick-calculators {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-block: 10px 4px;
}
.front-home .front-quick-calculators a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 12px;
  border: 1px solid var(--front-border);
  border-radius: 9px;
  background: #fff;
  color: var(--public-hover);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.2;
}
.front-home .front-calculator-more { margin-top: 4px; }
.front-home .front-calculator-more > summary, .front-home .front-normative-details > summary {
  min-height: 44px;
  align-content: center;
}
.front-home .front-calculator-more .front-tiles { margin-top: 9px; }
@media (max-width: 620px) {
  .front-home .front-normative-grid { gap: 8px; }
  .front-home .front-normative-grid > .front-tile { padding: 12px; min-height: 0; }
  .front-home .front-normative-grid > .front-tile:has(.front-card-action) { padding-bottom: 2px; }
  .front-home .front-normative-card > .front-tile { padding: 12px 12px 0; }
  .front-home .front-normative-card > .front-card-action { margin-left: 38px; }
  .front-home .front-quick-calculators a { padding-inline: 8px; font-size: .8rem; }
}

/* Air & Clarity: spacing tokens apply only to the public homepage. */
.front-home .public-site {
  --public-gutter: clamp(32px, 3vw, 48px);
  --public-gap: 60px;
  --v3-related-gap: 26px;
  --v3-card-gap: 20px;
  --v3-card-padding: 24px;
  --v3-heading-gap: 12px;
  --v3-intro-gap: 22px;
  --v3-h2: 28px;
  --v3-h3: 18px;
  --v3-border: #e0e7ef;
  --public-background: #f6f8fb;
  --front-shadow: none;
}
.front-home .container { width: min(1280px, calc(100% - 2 * var(--public-gutter))); }
.front-home .front-hero { background-color: #eaf3fe; }
.front-home .front-hero h1 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.14; }
.front-home .front-hero-inner { padding-block: 24px 35px; }
.front-home .front-hero .hero-description { max-width: 74ch; }
.front-home .front-search-panel { border-color: var(--v3-border); }
.front-home .front-reference-grid,
.front-home .home-information { display: grid; }
.front-home .home-information {
  gap: var(--public-gap);
  padding-block: var(--public-gap);
}
.front-home .home-information > :is(.content-section, .front-section, .front-offline, .front-reference-grid) {
  margin-block: 0;
}
.front-home .home-normative-group { display: grid; gap: 12px; }
.front-home .home-normative-group > * { margin-block: 0; }
.front-home .home-information .front-section-head { margin-bottom: var(--v3-heading-gap); }
.front-home .home-information :is(.front-section-head h2, .front-directory h2, .public-faq h2, .seo-copy h2) {
  font-size: var(--v3-h2);
  font-weight: 750;
  line-height: 1.25;
}
.front-home .home-information .section-lead {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: var(--v3-intro-gap);
}
.front-home .clinical-entry__grid { gap: var(--v3-card-gap); }
.front-home .clinical-entry__grid > .front-tile {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  grid-template-rows: auto 1fr auto;
  row-gap: 10px;
  padding: var(--v3-card-padding);
  border-color: var(--v3-border);
}
.front-home .clinical-entry__grid > .front-tile > .bi:first-child {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--public-soft);
  font-size: 25px;
}
.front-home .clinical-entry__grid .front-tile strong {
  font-size: var(--v3-h3);
  line-height: 1.35;
}
.front-home .clinical-entry__grid .front-tile-context { font-size: 13px; }
.front-home .clinical-entry__grid .front-tile small {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.5;
}
.front-home .front-clinical-action { color: var(--public-hover); font-size: 14px; font-weight: 650; }
.front-home .clinical-entry__grid > .front-tile > .bi-chevron-right { display: none; }
.front-home .front-clinical-shortcuts { margin-top: var(--v3-related-gap); }
.front-home .front-clinical-shortcuts p { margin: 0 0 5px; color: var(--public-text); font-weight: 650; font-size: 15px; }
.front-home .front-clinical-shortcuts .clinical-entry__topics { margin: 0; gap: 3px 12px; }
.front-home .front-clinical-shortcuts .clinical-entry__topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--v3-border);
  border-radius: 8px;
  background: var(--public-surface);
  color: var(--public-hover);
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}
.front-home .front-normative-grid { gap: 12px; }
.front-home .front-normative-grid > .front-tile,
.front-home .front-normative-card { border-color: var(--v3-border); }
.front-home .front-normative-card { background: #f8fbff; }
.front-home .front-normative-grid strong { font-size: 15px; }
.front-home .front-normative-grid small { font-size: 13px; }
.front-home .front-normative-grid .front-card-action { font-size: 13px; }
.front-home .front-normative-card > .front-tile { min-height: 44px; }
.front-home .home-information .front-directory { gap: 4px 16px; }
.front-home .home-information .front-directory h2 { margin-bottom: 4px; }
.front-home .home-information .front-directory a {
  min-height: 44px;
  padding-inline: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--public-hover);
  font-size: 14px;
}
.front-home .home-information .front-directory a:hover { text-decoration: underline; }
.front-home .home-information .front-offline {
  grid-template-columns: minmax(0,220px) minmax(0,1fr) auto;
  grid-template-areas: "screens copy action";
  padding: var(--v3-card-padding);
  border-radius: 16px;
  box-shadow: none;
}
.front-home .home-information .front-reference-grid > section {
  padding: 0;
  border: 0;
  background: transparent;
}
.front-home .home-information .front-reference-grid { column-gap: clamp(24px, 4vw, 52px); }
.front-home .front-reference-grid .seo-copy p { font-size: 15px; line-height: 1.6; }
.front-home .workspace-footer { padding-block: 30px; }
.front-home .workspace-footer .footer-seo { gap: 16px 24px; }
.front-home .front-header-search,
.front-home .front-menu-store { display: none; }
@media (max-width: 1023px) {
  .front-home .public-site {
    --public-gutter: 24px;
    --public-gap: 44px;
    --v3-related-gap: 20px;
    --v3-card-gap: 16px;
    --v3-card-padding: 20px;
    --v3-h2: 24px;
  }
  .front-home .home-information .front-offline {
    grid-template-columns: minmax(0,1fr) minmax(0,175px);
    grid-template-areas: "copy screens" "action screens";
  }
}
@media (max-width: 767px) {
  .front-home .public-site {
    --public-gutter: 16px;
    --public-gap: 32px;
    --public-header: 60px;
    --v3-related-gap: 16px;
    --v3-card-gap: 12px;
    --v3-card-padding: 16px;
    --v3-heading-gap: 8px;
    --v3-intro-gap: 16px;
    --v3-h2: 22px;
    --v3-h3: 17px;
  }
  .front-home .workspace-nav .nav-container { gap: 8px; min-height: var(--public-header); }
  .front-home .front-hero-inner { padding-block: 14px 26px; }
  .front-home .front-hero h1 { font-size: clamp(28px, 7.1vw, 30px); }
  .front-home .front-header-search:not([hidden]) {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #fff;
    color: var(--public-text);
    border: 1px solid var(--front-border);
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
  }
  .front-home .search-fab.is-visible { display: none; }
  .front-home .home-refresh :is(#home-search-input-mount, #results) { scroll-margin-top: calc(var(--public-header) + 8px); }
  body.front-home:has(> #cookie-consent-banner) > .public-site { scroll-padding-top: 0; }
  .front-home .clinical-entry__grid { grid-template-columns: minmax(0, 1fr); }
  .front-home .clinical-entry__grid > .front-tile {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: start;
    gap: 10px;
  }
  .front-home .clinical-entry__grid > .front-tile > .bi:first-child { width: 36px; height: 36px; font-size: 19px; }
  .front-home .front-clinical-action { display: none; }
  .front-home .clinical-entry__grid > .front-tile > .bi-chevron-right { display: block; align-self: center; }
  .front-home .front-normative-grid { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .front-home .home-information .front-offline {
    grid-template-columns: minmax(0,1fr) 72px;
    grid-template-areas: "copy screens" "action action";
  }
}
@media (max-width: 430px) {
  .front-home .workspace-nav .front-nav-store { display: none; }
  .front-home .front-menu-store:has(a:not([hidden])) { display: block; }
  .front-home .workspace-nav .logo { font-size: 18px; white-space: nowrap; }
  .front-home .workspace-nav :is(.logo-mark, .logo-icon) { width: 32px; height: 32px; }
  .front-home .workspace-nav .nav-actions .nav-auth-btn { display: none !important; }
  .front-home .front-menu-cabinet:has(a:not([hidden])) { display: block; }
}
@media (max-width: 355px) {
  .front-home .workspace-nav :is(.logo-mark, .logo-icon) { width: 28px; height: 28px; }
  .front-home .front-calculator-more .front-tiles-four { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .front-home .public-site { scroll-behavior: auto; }
}

@media (max-width: 767px) {
  .front-home .front-clinical-shortcuts .clinical-entry__topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .front-home .front-clinical-shortcuts .clinical-entry__topics a { padding-inline: 8px; }
  .front-home .front-clinical-shortcuts .clinical-entry__topics a:nth-child(n+5) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .front-home .workspace-nav .front-header-search:not([hidden]) {
    position: relative;
    border: 0;
    background: transparent;
  }
}
@media (min-width: 768px) {
  .front-home .front-normative-grid > [data-front-disclosure] { grid-template-columns: auto minmax(0, 1fr) auto; }
  .front-home .front-normative-grid > [data-front-disclosure] > .bi-chevron-right { display: block; align-self: start; }
}

@media (min-width: 901px) {
  .front-home .workspace-nav { padding-block: 2px; }
  .front-home .filter-panel { top: calc(var(--public-header) + 14px); }
}

@media (max-width: 820px) {
  .front-home #home-search-catalog .specialty-shortcuts { display: none; }
}

.front-home .front-hero-description { display: contents; }
.front-home .front-mobile-sort-icon { display: none; }

@media (max-width: 820px) {
  .front-home .front-hero-description {
    display: grid;
    grid-template-rows: 1fr;
    margin-top: 5px;
    opacity: 1;
    transition: grid-template-rows 180ms ease, margin-top 180ms ease, opacity 150ms ease, visibility 0s;
  }
  .front-home .front-hero .front-hero-description > .hero-description {
    min-height: 0;
    overflow: hidden;
    margin-top: 0;
  }
  .front-home .front-hero:has(#query[value]:not([value=""])) .front-hero-description {
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition-delay: 0s, 0s, 0s, 180ms;
  }

  .front-home #catalog-results-section {
    position: relative;
    --mobile-sort-inset: 12px;
    --mobile-sort-size: 44px;
  }
  .front-home #catalog-results-section .section-heading > a[href="/search/"] { display: none; }
  .front-home #catalog-results-section:has(.result-controls select) .section-heading {
    padding-right: calc(var(--mobile-sort-size) + 10px);
    min-height: var(--mobile-sort-size);
  }
  .front-home #catalog-results-section:has(.result-controls select) .front-mobile-sort-icon,
  .front-home #catalog-results-section .result-controls select {
    position: absolute;
    top: var(--mobile-sort-inset);
    right: var(--mobile-sort-inset);
    width: var(--mobile-sort-size);
    height: var(--mobile-sort-size);
  }
  .front-home #catalog-results-section:has(.result-controls select) .front-mobile-sort-icon {
    display: grid;
    place-items: center;
    border: 1px solid #d0dff4;
    border-radius: 10px;
    background: #f4f8fe;
    color: #1556c4;
    font-size: 21px;
    line-height: 1;
    pointer-events: none;
  }
  .front-home #catalog-results-section .result-controls select {
    z-index: 1;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
  }
  .front-home #catalog-results-section:has(.result-controls select:focus-visible) .front-mobile-sort-icon {
    outline: 2px solid #1556c4;
    outline-offset: 2px;
  }
  .front-home .home-refresh #results {
    scroll-margin-top: calc(var(--public-header, 60px) + 126px);
  }
  .front-home #catalog-results-section .active-filters button {
    min-height: 34px;
    padding-block: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-home .front-hero-description { transition: none; }
}



.front-home #catalog-results-section .document .doc-meta {
  gap: 4px 9px;
}
.front-home #catalog-results-section .doc-meta :is(.age-pill, .doc-date) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.front-home #catalog-results-section .doc-meta .age-pill {
  padding: 2px 7px;
  border-radius: 6px;
  background: #edf2f8;
  color: #2e4666;
  font-weight: 650;
}
.front-home #catalog-results-section .doc-meta .age-child {
  background: #f0e9fb;
  color: #603696;
}
.front-home #catalog-results-section .doc-meta .age-adult {
  background: #e4efff;
  color: #164ca0;
}
.front-home #catalog-results-section .doc-meta .age-mixed {
  background: #e3f3ed;
  color: #16674f;
}
.front-home #catalog-results-section .doc-meta :is(.doc-revision, .doc-date) {
  white-space: nowrap;
}
.front-home #catalog-results-section .doc-meta .bi {
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 820px) {
  .front-home #catalog-results-section .results-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 5px 10px;
  }
  .front-home #catalog-results-section .result-controls {
    width: auto;
    flex: 0 0 auto;
  }
  .front-home #catalog-results-section .result-count { white-space: nowrap; }
  .front-home #catalog-results-section .document .doc-meta {
    gap: 4px 7px;
    font-size: 12px;
  }
}

