/* November 2026 design review: presentation only, after presentation.css.
 * Existing routes, forms, source data, carousel allocation and print views are unchanged.
 * Keep these overrides scoped to the connected DLC shell and to screen media.
 */
@media screen {
  body.dlc-clean-shell #dlc-page :is(#dlc-site-header, .dlc-shell-footer) {
    background: #081D3A !important;
  }
  /* Preserve the existing logo proportions and responsive navigation behavior. */
  body.dlc-clean-shell #dlc-page .dlc-shell-header__inner {
    padding-block: 6px;
  }

  /* Retain both messages while reducing excess space before the original hero. */
  body.dlc-clean-shell #dlc-page .dlc-home-urgent {
    min-height: 44px;
    padding: 3px 20px;
    gap: 4px 16px;
    flex-wrap: wrap;
    border-block-width: 1px;
  }
  body.dlc-clean-shell #dlc-page .dlc-home-urgent .dlc-urgent-copy {
    font-size: 14px;
    line-height: 1.5;
  }
  body.dlc-clean-shell #dlc-page .dlc-home-urgent .dlc-home-urgent__link {
    min-height: 44px;
    padding: 6px 12px;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-preview-notice {
    padding-block: 6px;
    gap: 4px 16px;
  }

  /* Only the panel background is translucent; text and form controls stay opaque.
     At .75 navy over even a white image pixel, the pale gold text exceeds 4.5:1. */
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-home-search {
    background: rgba(8, 29, 58, .75) !important;
    border: 1px solid rgba(200, 162, 76, .45);
    border-top: 2px solid #C8A24C;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-home-search > p {
    color: #D7E7F4 !important;
    font-size: 14px;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-home-search .dlc-section-kicker {
    color: #E8CF91 !important;
    font-size: 11px;
    margin-bottom: 10px;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-home-search .dlc-home-search-note {
    font-size: 12px;
    margin-block: 12px;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page .dlc-home-name-fields {
    margin-block: 18px 14px;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page .dlc-home-name-fields input {
    background: #F7F3EB;
    color: #081D3A;
    border-radius: 5px;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page .dlc-home-search button {
    background: #C8A24C;
    color: #081D3A;
    border-radius: 5px;
    white-space: normal;
  }
  body.dlc-clean-shell.dlc-shell-home #dlc-page .dlc-home-search button:hover { background: #E8CF91; }
  body.dlc-clean-shell.dlc-shell-home #dlc-page .dlc-home-search-more { font-size: 13px; }

  /* Compact introductions leave room for the existing task without changing order. */
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-directory-page .dlc-directory-banner,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-page-banner,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-calculator-banner {
    background: #081D3A !important;
    padding: 20px 24px !important;
    border-color: #29415F;
    border-bottom-color: #C8A24C;
    margin-bottom: 18px !important;
  }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-directory-page .dlc-directory-banner h1,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-page-banner h1,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-calculator-banner h1 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: 1.25 !important;
    margin: 4px 0 10px;
    overflow-wrap: break-word;
  }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-page-banner p,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-directory-page .dlc-directory-banner p {
    font-size: 15px;
    line-height: 1.55;
  }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-page-banner .dlc-banner-kicker,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-directory-page .dlc-directory-banner .dlc-directory-kicker {
    font-size: 11px;
    margin-bottom: 6px;
  }

  /* Secondary topic discovery uses a native disclosure and remains keyboard operable. */
  body.dlc-clean-shell #dlc-page #dlc-main details.dlc-site-help--compact {
    margin: 12px 0 16px;
    padding: 0 16px;
    border: 1px solid #BACAD6;
    border-left: 3px solid #C8A24C;
    border-radius: 8px;
    background: #D7E7F4;
    color: #081D3A;
  }
  body.dlc-clean-shell #dlc-page #dlc-main details.dlc-site-help--compact > summary {
    display: list-item;
    min-height: 48px;
    padding: 12px 0;
    font: 600 15px/1.55 Montserrat, "Segoe UI", Arial, sans-serif;
    color: #081D3A;
    cursor: pointer;
  }
  body.dlc-clean-shell #dlc-page #dlc-main details.dlc-site-help--compact[open] { padding-bottom: 16px; }
  body.dlc-clean-shell #dlc-page #dlc-main details.dlc-site-help--compact[open] > summary {
    border-bottom: 1px solid #A8BDCF;
    margin-bottom: 16px;
  }
  body.dlc-clean-shell #dlc-page #dlc-main details.dlc-site-help--compact > summary:focus-visible {
    outline: 3px solid #081D3A;
    outline-offset: 3px;
  }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-site-help--compact > .dlc-site-help {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-site-help--compact .dlc-site-help__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-site-help--compact .dlc-site-help__writ {
    border-left: 0;
    border-top: 1px solid #A8BDCF;
    padding: 12px 0 0;
  }

  /* Family guidance is blue; transactional forms and facility facts remain light. */
  body.dlc-clean-shell:is(.dlc-shell-family-hub, .dlc-shell-ice-help) #dlc-page #dlc-main
  :is(.dlc-next-step, .dlc-ice-search-prep, .dlc-hub-ice-intro, .dlc-hub-ice-bond) {
    background: #D7E7F4 !important;
    color: #081D3A;
    border: 1px solid #A8BDCF;
    border-radius: 8px;
  }
  body.dlc-clean-shell:is(.dlc-shell-family-hub, .dlc-shell-ice-help) #dlc-page #dlc-main
  :is(.dlc-next-step, .dlc-ice-search-prep, .dlc-hub-ice-intro, .dlc-hub-ice-bond) :is(h2, h3, h4, p, li) {
    color: #081D3A;
  }
  body.dlc-clean-shell:is(.dlc-shell-family-hub, .dlc-shell-ice-help) #dlc-page #dlc-main
  :is(.dlc-family-results, .dlc-fh-sheet, .dlc-ice-facility-card, .dlc-ice-action) {
    background: #fff;
    color: #081D3A;
    border-radius: 8px;
  }

  /* Both provider types share the visual language; tabs and section links retain their semantics. */
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-profile--free .dlc-profile__hero,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-bail-profile-hero { background: #081D3A !important; }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile__hero, .dlc-bail-profile-hero) h1 {
    font-family: "Playfair Display", Georgia, serif !important;
    line-height: 1.22;
  }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile-sections, .dlc-bail-profile-sections) {
    background: transparent !important;
    border: 0;
    border-bottom: 1px solid #C8C0B2;
    border-radius: 0 !important;
    padding: 0 0 12px;
    margin-bottom: 24px;
    gap: 6px;
    box-shadow: none;
  }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile-sections, .dlc-bail-profile-sections) a {
    font: 600 15px/1.4 Montserrat, "Segoe UI", Arial, sans-serif;
    min-height: 44px;
    padding: 9px 16px;
    white-space: normal;
  }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile .dlc-panel, .dlc-bail-profile-panel, .dlc-bail-profile-contact) {
    border-radius: 8px;
    border-color: #C8C0B2;
    padding: 24px;
  }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile .dlc-panel, .dlc-bail-profile-panel, .dlc-bail-profile-contact) h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(23px, 2.4vw, 28px);
    line-height: 1.3;
  }

  /* Remove fixed empty bands while allowing either language to determine card height. */
  body.dlc-clean-shell #dlc-page .dlc-pricing { padding-top: 32px; }
  body.dlc-clean-shell #dlc-page .dlc-pricing__card-heading { min-height: 118px; }
  body.dlc-clean-shell #dlc-page .dlc-pricing__cost { min-height: 104px; }
  body.dlc-clean-shell #dlc-page .dlc-pricing__types a { white-space: normal; }
}

@media screen and (max-width: 1450px) {
  body.dlc-clean-shell #dlc-page .dlc-shell-brand img {
    width: auto;
    max-width: 160px;
    height: 54px;
  }
}

@media screen and (max-width: 900px) {
  body.dlc-clean-shell #dlc-page .dlc-pricing__card-heading,
  body.dlc-clean-shell #dlc-page .dlc-pricing__cost { min-height: 0; }
}

@media screen and (max-width: 680px) {
  body.dlc-clean-shell #dlc-page .dlc-shell-brand img { max-width: 152px; height: 52px; }
  body.dlc-clean-shell #dlc-page .dlc-home-urgent { display: flex; gap: 0 10px; padding: 4px 14px; }
  body.dlc-clean-shell #dlc-page .dlc-home-urgent .dlc-urgent-copy { font-size: 13px; }
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-home-search { padding: 20px; }
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-directory-page .dlc-directory-banner,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-page-banner,
  body.dlc-clean-shell #dlc-page #dlc-main .dlc-calculator-banner { padding: 18px !important; }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile .dlc-panel, .dlc-bail-profile-panel, .dlc-bail-profile-contact) { padding: 20px; }
  body.dlc-clean-shell #dlc-page #dlc-main :is(.dlc-profile-sections, .dlc-bail-profile-sections) a { padding-inline: 10px; }
  body.dlc-clean-shell #dlc-page .dlc-pricing { padding-top: 24px; }
}

@media screen and (max-width: 380px) {
  body.dlc-clean-shell.dlc-shell-home #dlc-page #dlc-main .dlc-home-search { padding-inline: 16px; }
}

/* The help section was already excluded from record/letter print views. */
@media print {
  .dlc-site-help--compact { display: none !important; }
}
