/*
 * CHANGE LOG
 * File: static/css/prohrhq_header.css (GENERATED by tools/build_header_css.py -- do not edit by hand)
 * Purpose: only the site header (top menu) styles from prohrhq_public.css, for pages on other NSG sites that
 *          show ProHRHQ's own menu (first: the ATS2 Carrier Profile form).
 * How it works: the tool copies each header rule exactly; rule header_css fails a deploy when this copy
 *          differs from what the tool builds from the original.
 * Version History:
 *   2026-11-19 v1.0 - Created (Michael: copy the header CSS, with a check so it cannot drift).
 */
:root {
  --color-accent-soft: #e6eef9;
  --color-grade-a: #2f6b3c;
  --color-rule: #d9dee8;
  --color-success: var(--color-grade-a);
  --color-text: #2b2f33;
  --color-text-mute: #4a5872;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --navbar-h: 64px;
}
.ph-header { background: rgb(26, 26, 26); border-bottom: none; position: fixed; top: 0; left: 0; right: 0; height: var(--navbar-h); z-index: 1000; }
.ph-header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 1.25rem; max-width: none; margin: 0; gap: 1.5rem; flex-wrap: nowrap; }
.ph-brand { font-family: var(--font-sans); font-weight: 700; font-size: 1.4rem; color: #fff; text-decoration: none; letter-spacing: 0.02em; border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color 0.15s ease, color 0.15s ease; }
.ph-brand:visited { color: #fff; }
.ph-brand:hover, .ph-brand:focus-visible { color: #cfe0ff; border-bottom-color: #cfe0ff; }
.ph-brand-tag { font-family: var(--font-sans); font-weight: 400; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-left: 0.5rem; }
.ph-nav { display: flex; gap: 1.3rem; font-family: var(--font-sans); font-size: 1rem; }
.ph-nav a { color: #fff; text-decoration: none; }
.ph-nav a:visited { color: #fff; }
.ph-nav a:hover { color: #fff; text-decoration: underline; }
@media print {
  .ph-header, .ph-claim, .ph-sticky-bar { display: none; }
}
@media (max-width: 720px) {
  .ph-header { height: auto; }
  .ph-header-inner { flex-wrap: wrap; padding: 0.6rem 1rem; gap: 0.4rem; }
  .ph-brand { flex: 1 0 100%; font-size: 1.15rem; }
  .ph-nav { width: 100%; gap: 0.9rem; flex-wrap: wrap; font-size: 0.95rem; }
}
.ph-nav--main { align-items: center; gap: 1.6rem; font-size: 1.05rem; }
.ph-nav-item, .ph-dd > summary { color: #fff; cursor: pointer; white-space: nowrap; }
.ph-dd { position: relative; }
.ph-dd > summary { list-style: none; }
.ph-dd > summary::-webkit-details-marker { display: none; }
.ph-dd > summary::after { content: " \25BE"; font-size: .8em; opacity: .8; }
.ph-dd-menu { position: absolute; top: calc(100% + .7rem); left: -.75rem; min-width: 15rem; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: .4rem 0; z-index: 1100; }
.ph-nav .ph-dd-menu { max-height: calc(100vh - 5rem); overflow-y: auto; }
.ph-nav .ph-dd-menu a { display: block; color: var(--color-text); padding: .5rem 1rem; white-space: nowrap; }
.ph-nav .ph-dd-menu a:visited { color: var(--color-text); }
.ph-nav .ph-dd-menu a:hover { background: var(--color-accent-soft); text-decoration: none; }
.ph-nav .ph-dd-head { display: block; padding: .55rem 1rem .2rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-mute); }
.ph-nav .ph-dd-head ~ .ph-dd-head { border-top: 1px solid var(--color-rule); margin-top: .3rem; padding-top: .6rem; }
.ph-nav .ph-dd-sub > summary { list-style: none; cursor: pointer; display: block; color: var(--color-text); padding: .5rem 1rem; white-space: nowrap; }
.ph-nav .ph-dd-sub > summary::-webkit-details-marker { display: none; }
.ph-nav .ph-dd-sub > summary::after { content: " \25B8"; font-size: .8em; opacity: .7; }
.ph-nav .ph-dd-sub[open] > summary::after { content: " \25BE"; }
.ph-nav .ph-dd-sub > summary:hover { background: var(--color-accent-soft); }
.ph-nav .ph-dd-submenu { border-left: 3px solid var(--color-accent-soft); margin: 0 0 .3rem 1rem; }
.ph-nav .ph-dd-submenu a { padding-left: .8rem; }
@media (max-width: 1100px) {
  .ph-nav .ph-dd-head { color: rgba(255,255,255,.7); }
  .ph-nav .ph-dd-head ~ .ph-dd-head { border-top-color: rgba(255,255,255,.2); }
}
.ph-nav-actions { display: flex; gap: .6rem; margin-left: .6rem; }
.ph-header-inner > .ph-nav--main { margin-left: auto; }
.ph-header-inner > .ph-nav-actions { margin-left: 0; }
.ph-nav .ph-nav-btn { padding: .42rem .9rem; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.ph-nav .ph-nav-btn--outline, .ph-nav .ph-nav-btn--outline:visited, .ph-nav .ph-nav-btn--outline:hover, .ph-nav .ph-nav-btn--outline:focus { background: #f0b429; color: #1a1a1a; }
.ph-nav .ph-nav-btn--primary { background: #2f6fd6; }
.ph-nav .ph-nav-btn--green, .ph-nav .ph-nav-btn--green:visited { background: var(--color-success); color: #fff; }
.ph-nav .ph-nav-btn:hover { text-decoration: none; filter: brightness(1.1); }
.ph-menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 6px; padding: .35rem .75rem; font-size: .95rem; }
@media (max-width: 1100px) {
  .ph-header { height: auto; max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  .ph-header-inner { flex-wrap: wrap; padding: .6rem 1rem; }
  .ph-menu-toggle { display: inline-block; margin-left: auto; }
  html.ph-js .ph-nav--main { display: none; }
  html.ph-js .ph-nav--main.is-open { display: flex; }
  .ph-nav--main { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: .4rem 0; }
  .ph-nav-item, .ph-dd > summary { display: block; padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.12); }
  .ph-dd-menu { position: static; box-shadow: none; background: rgba(255,255,255,.06); }
  .ph-nav .ph-dd-menu { max-height: none; overflow: visible; }
  .ph-nav .ph-dd-menu a, .ph-nav .ph-dd-menu a:visited { color: #fff; }
  .ph-nav .ph-dd-sub > summary { color: #fff; padding: .5rem 1rem; }
  .ph-header-inner > .ph-nav-actions { order: 1; margin: 0; }
  .ph-menu-toggle { order: 2; margin-left: 0; }
  .ph-header-inner > .ph-nav--main { order: 3; margin-left: 0; }
}
@media (max-width: 640px) {
  .ph-header-inner > .ph-nav-actions { order: 3; width: 100%; justify-content: space-between; gap: .4rem; padding-bottom: .1rem; }
  .ph-header-inner > .ph-nav-actions .ph-nav-btn { flex: 1 1 0; text-align: center; padding: .42rem .3rem; font-size: .92rem; }
  .ph-header-inner > .ph-nav-actions .ph-nav-btn { white-space: normal; line-height: 1.15; }
  .ph-header-inner > .ph-nav--main { order: 4; }
  html.ph-js body { padding-top: 108px; }
}
.ph-header-inner > .ph-brand { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 1101px) {
  .ph-header-inner > .ph-brand { font-size: 1.15rem; }
  .ph-header-inner > .ph-brand .ph-brand-tag { display: none; }
  .ph-nav--main { gap: 1.2rem; font-size: 1rem; }
}
@media (max-width: 1500px) and (min-width: 1101px) {
  .ph-header-inner > .ph-nav-actions .ph-nav-btn { white-space: normal; line-height: 1.1; max-width: 8.2rem; text-align: center; font-size: .92rem; padding: .3rem .65rem; }
  .ph-header-inner > .ph-nav-actions { align-items: center; }
}
@media (max-width: 1250px) and (min-width: 1101px) {
  .ph-nav--main { gap: .75rem; }
  .ph-nav-actions { gap: .45rem; margin-left: .3rem; }
}
@media (max-width: 1100px) {
  .ph-header-inner > .ph-brand { flex: 1 1 auto; font-size: 1.05rem; }
  .ph-header-inner > .ph-brand .ph-brand-tag { display: none; }
}
@media (max-width: 1100px) and (min-width: 641px) {
  html.ph-js body { padding-top: 64px; }
}
@media (max-width: 640px) {
  .ph-header-inner > .ph-nav-actions:has(> :nth-child(6)) { flex-wrap: wrap; row-gap: .35rem; }
  .ph-header-inner > .ph-nav-actions:has(> :nth-child(6)) .ph-nav-btn { flex: 1 1 calc(25% - .4rem); min-height: 2.6rem; display: flex; align-items: center; justify-content: center; }
  html.ph-js body:has(.ph-header-inner > .ph-nav-actions > :nth-child(6)) { padding-top: 180px; }
}
@media (max-width: 1100px) and (min-width: 641px) {
  .ph-header-inner > .ph-nav-actions:has(> :nth-child(6)) { order: 3; width: 100%; }
  .ph-header-inner > .ph-nav-actions:has(> :nth-child(6)) .ph-nav-btn { flex: 1 1 0; text-align: center; white-space: normal; line-height: 1.15; }
  .ph-header-inner:has(> .ph-nav-actions > :nth-child(6)) > .ph-nav--main { order: 4; }
  html.ph-js body:has(.ph-header-inner > .ph-nav-actions > :nth-child(6)) { padding-top: 152px; }
}
@media (max-width: 1500px) and (min-width: 1101px) {
  .ph-header-inner > .ph-nav-actions:has(> :nth-child(6)) .ph-nav-btn { font-size: .84rem; padding: .25rem .55rem; }
}
