/* ==========================================================================
   Tri Brothers LLC | pages.css
   Page components: services hub, accounting explorer, drug testing timeline,
   consortium draw, FAQ, portal
   ========================================================================== */
.hub-detail strong { font-weight: 650; }

/* Accounting ledger explorer */
.ledger { border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.ledger-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 32px; }
.ledger-n { font-size: 13px; color: var(--green-ink); letter-spacing: .08em; }
.ledger-copy h3 { color: var(--navy); font-size: clamp(26px, 2.6vw, 36px); margin-top: 10px; }
.ledger-copy p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.ledger-copy .check-list { margin-top: 24px; }
.ledger-copy > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ledger-copy > .lv-in { opacity: 1; transform: none; }
.ledger-copy > p.lv-in { transition-delay: .06s; }
.ledger-copy > ul.lv-in { transition-delay: .12s; }
.ledger-visual { position: relative; min-height: 380px; border-radius: 22px; background: linear-gradient(160deg, var(--paper), var(--paper-2)); padding: clamp(18px, 2.4vw, 30px); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ledger-visual.lv-in { opacity: 1; transform: none; }
.tabs .tab svg { width: 17px; height: 17px; }
.lv-card { width: 100%; max-width: 480px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.lv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lv-head b { color: var(--navy); font-size: 16px; }
.lv-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); background: var(--paper); padding: 4px 8px; border-radius: 6px; }
.lv-row { display: grid; grid-template-columns: 10px 1fr auto 70px; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--navy); animation: docIn .5s var(--ease) both; }
.lv-row:last-child { border-bottom: 0; }
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lv-dot.a { background: var(--amber); }
.lv-row .ui-skel { height: 8px; justify-self: end; }
.lv-row .pill, .lv-inv .pill { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.lv-donut-body { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; }
.lv-donut-body svg { width: 180px; height: 180px; }
.lv-arc { animation: arcIn 1s var(--ease) both; }
@keyframes arcIn { from { opacity: 0; } }
.lv-donut-body ul { display: grid; gap: 10px; }
.lv-donut-body li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--navy); }
.lv-donut-body li i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.lv-inv { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: docIn .5s var(--ease) both; }
.lv-inv:last-child { border-bottom: 0; }
.lv-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-2); color: var(--navy); display: grid; place-items: center; flex: none; }
.lv-ic svg { width: 19px; height: 19px; }
.lv-ic.g { background: var(--green); color: var(--ink); }
.lv-inv-main b { display: block; font-size: 14.5px; color: var(--navy); }
.lv-prog { display: block; height: 5px; border-radius: 5px; background: var(--paper-2); margin-top: 7px; overflow: hidden; }
.lv-prog i { display: block; height: 100%; border-radius: 5px; animation: growX 1s var(--ease) both .2s; transform-origin: left; }
.lv-prog i.g { background: var(--green); }
.lv-prog i.b { background: #5b84d6; }
.lv-prog i.a { background: var(--amber); }
@keyframes growX { from { transform: scaleX(0); } }
.lv-chart { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding: 10px 4px 0; border-bottom: 2px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 46px, var(--paper) 46px 47px); }
.lv-chart span { flex: 1; border-radius: 6px 6px 0 0; background: #d6dde5; transform-origin: bottom; animation: barUp 1s var(--ease) both; }
.lv-chart span.hi { background: linear-gradient(180deg, var(--green-2), var(--green-ink)); }
.lv-report { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--green-soft); }
.lv-report b { display: block; color: var(--navy); font-size: 15px; }
.lv-report small { color: var(--muted); font-size: 13px; }

/* Timeline (drug testing) */
.timeline { max-width: 1040px; margin: 0 auto; }
.tl-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.tl-track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 2px; background: var(--line-dark); }
.tl-fill { position: absolute; left: 12.5%; top: 31px; height: 2px; width: 0; background: var(--green); transition: width .7s var(--ease); }
.tl-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 8px; color: var(--on-dark-muted); font-weight: 600; font-size: 15px; transition: color .3s; }
.tl-dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 2px solid var(--line-dark); color: var(--on-dark); transition: all .45s var(--ease); }
.tl-dot svg { width: 26px; height: 26px; }
.tl-node:hover .tl-dot { border-color: var(--green); }
.tl-node.is-done .tl-dot { border-color: var(--green); color: var(--green); }
.tl-node.is-active { color: #fff; }
.tl-node.is-active .tl-dot { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.1); box-shadow: 0 0 0 8px rgba(71,187,58,.15); }
.tl-panels { position: relative; margin-top: 44px; display: grid; }
.tl-panel { grid-area: 1 / 1; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s; }
.tl-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.tl-k { font-size: 12.5px; color: var(--green); letter-spacing: .12em; text-transform: uppercase; }
.tl-panel h3 { color: #fff; margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px); }
.tl-panel p { color: var(--on-dark-muted); margin-top: 12px; max-width: 720px; font-size: 17px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tl-tags span { padding: 8px 13px; border-radius: 8px; background: rgba(71,187,58,.12); color: #c9efc4; font-size: 14px; font-weight: 500; border: 1px solid rgba(71,187,58,.25); }

/* Consortium draw */
.draw-card { background: var(--navy); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.draw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.draw-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.draw-head h3 { color: #fff; font-size: 24px; margin-top: 6px; }
.draw-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); border: 1px solid var(--line-dark); padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.draw-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 24px; }
.draw-cell { aspect-ratio: 1; border-radius: 10px; background: rgba(255,255,255,.05); display: grid; place-items: center; color: #4b607e; transition: background .2s, color .2s, transform .35s var(--ease), box-shadow .35s; }
.draw-cell svg { width: 56%; height: 56%; }
.draw-cell.is-scan { background: rgba(243,178,60,.22); color: var(--amber); }
.draw-cell.is-pick { background: var(--green); color: var(--ink); transform: scale(1.08); box-shadow: 0 0 0 4px rgba(71,187,58,.25); }
.draw-foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.draw-status { font-size: 14.5px; color: var(--on-dark-muted); max-width: 300px; min-height: 44px; display: flex; align-items: center; }
.draw-card .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.22); }
.draw-card .btn-ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.draw-card .btn svg { width: 17px; height: 17px; }

/* FAQ page */
.faq-search { position: relative; margin-top: 32px; max-width: 640px; }
.faq-search > svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--on-dark-muted); pointer-events: none; z-index: 1; }
.faq-search .input { height: 62px; padding-left: 54px; padding-right: 56px; border-radius: 16px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; font-size: 17px; }
.faq-search .input::placeholder { color: #7f8ea3; }
.faq-search .input:focus { background: rgba(255,255,255,.09); border-color: var(--green); }
.faq-search kbd { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-muted); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 2px 8px; }
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.faq-cats { display: grid; gap: 4px; }
.faq-cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15.5px; color: var(--muted); text-align: left; transition: background .25s, color .25s; }
.faq-cat span { font-family: var(--f-body); font-weight: 650; font-variant-numeric: tabular-nums; font-size: 12px; background: var(--paper-2); padding: 3px 8px; border-radius: 999px; color: var(--muted); transition: all .25s; }
.faq-cat:hover { background: var(--paper); color: var(--navy); }
.faq-cat.is-active { background: var(--navy); color: #fff; }
.faq-cat.is-active span { background: var(--green); color: var(--ink); }
.faq-help { padding: 24px; border-radius: 18px; background: var(--paper); display: flex; flex-direction: column; align-items: flex-start; }
.faq-help h3 { color: var(--navy); font-size: 20px; }
.faq-help p { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.faq-item[hidden] { display: none; }
.faq-empty { display: none; text-align: center; padding: 48px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }
.faq-empty.is-on { display: block; animation: successIn .5s var(--ease); }
.faq-empty .es-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; color: var(--green-ink); }
.faq-empty .es-ico svg { width: 28px; height: 28px; }
.faq-empty h3 { color: var(--navy); font-size: 22px; }
.faq-empty p { color: var(--muted); margin: 8px 0 22px; }

/* Portal page */
.ptab .pt-t { display: block; font-family: var(--f-display); font-variation-settings: "wdth" 106; font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
.ptab .pt-d { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.screens-note { margin-top: 14px; font-size: 13px; color: var(--muted-2); text-align: center; }
.vsteps { display: grid; gap: 4px; margin-top: 32px; }
.vstep { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.vstep:last-child { border-bottom: 0; }
.vstep .vn { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--green); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; font-size: 16px; }
.vstep h4 { color: var(--navy); font-size: 20px; margin-top: 4px; }
.vstep p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.manual-card { position: relative; border-radius: var(--r-xl); border: 1.5px dashed var(--line-2); padding: clamp(28px, 4vw, 44px); background: repeating-linear-gradient(135deg, #fff 0 14px, #fbfcfb 14px 28px); }
.manual-ico { width: 72px; height: 88px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--navy); margin-bottom: 22px; }
.manual-ico svg { width: 32px; height: 32px; }
.manual-card h3 { color: var(--navy); margin-top: 16px; }
.manual-card p { color: var(--muted); margin-top: 10px; }
.manual-card .btn-row { margin-top: 24px; }
.manual-card .btn[disabled] { opacity: .6; }
.manual-card .btn svg { width: 18px; height: 18px; }
.notify-done h3 { margin: 0; }

/* Misc */
.team-grid.leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.way-card { display: flex; flex-direction: column; }
.way-card p { flex: 1; }
.way-card .link-arrow { margin-top: 22px; align-self: flex-start; }
.contact-social a { border-color: var(--line); color: var(--navy); }
.office-map .om-card .btn svg { width: 15px; height: 15px; }

@media (max-width: 1024px) {
  .ledger-body { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: relative; top: 0; }
  .faq-cats { display: flex; flex-wrap: wrap; gap: 6px; }
  .faq-cat { padding: 10px 14px; background: var(--paper); }
  .faq-help { display: none; }
}
@media (max-width: 760px) {
  .hub-section { display: none; }
  .ledger { padding: 16px; border-radius: var(--r-lg); }
  .ledger-visual { min-height: 0; padding: 14px; }
  .lv-donut-body { grid-template-columns: 1fr; justify-items: center; }
  .lv-donut-body ul { grid-template-columns: 1fr 1fr; width: 100%; }
  .lv-row { grid-template-columns: 10px 1fr auto; }
  .lv-row .ui-skel { display: none; }
  .tl-label { font-size: 12.5px; text-align: center; line-height: 1.3; }
  .tl-dot { width: 50px; height: 50px; }
  .tl-dot svg { width: 22px; height: 22px; }
  .tl-track::before, .tl-fill { top: 24px; }
  .tl-node { padding: 0 2px; gap: 10px; }
  .draw-grid { gap: 6px; }
  .draw-foot { flex-direction: column; align-items: stretch; }
  .draw-status { max-width: none; }
  .team-grid.leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-search .input { height: 56px; font-size: 16px; padding-right: 16px; }
  .faq-search kbd { display: none; }
  .ui { font-size: 7px; }
}

/* Tablet refinements */
@media (max-width: 1024px) {
  .map-stage { margin: 0; aspect-ratio: auto; }
  .map-stage svg.usmap { position: relative; height: auto; aspect-ratio: 975 / 620; }
  .map-legend { position: relative; left: auto; right: auto; bottom: auto; margin-top: 10px; }
  .map-card { position: relative; right: auto; top: auto; width: auto; max-width: 460px; margin: 12px 0 0; }
  .bento .b-photo { grid-column: span 12; }
  .floating-chip { left: 12px !important; right: auto !important; }
  .floating-chip + .floating-chip { left: auto !important; right: 12px !important; }
}

/* Interaction pass fixes */
.btn > svg { width: 18px; height: 18px; flex: none; }
.field .consent-check { justify-content: flex-start; font-weight: 400; color: var(--text); font-size: 14.5px; }
.mega-feature em svg { width: 16px; height: 16px; }
.notify-done { text-align: left; }
.usmap .route, .usmap .route-live, .usmap .city, .usmap .city-ring, .usmap .nation, .usmap text, .usmap circle { pointer-events: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.stepper-item .t { white-space: nowrap; }
@media (max-width: 760px) { .stepper-item:not(:last-child)::after { min-width: 18px; } }

/* Hero map: keep the permit card clear of the permit states */
@media (min-width: 1025px) {
  .map-stage { aspect-ratio: 975 / 830; }
  .map-stage svg.usmap { top: 21%; height: calc(79% - 44px); }
  .map-card { top: 0; right: 3%; width: 270px; }
}

/* Team: grouped rows with centered last row */
.team-groups { display: grid; gap: clamp(48px, 6vw, 72px); }
.team-group.is-out { display: none; }
.team-group .team-group-head { margin: 0 0 26px; padding: 0 0 18px; }
.team-group-head h3 { display: inline-flex; align-items: center; gap: 12px; }
.tg-count { font-family: var(--f-body); font-size: 13px; font-weight: 650; background: var(--paper-2); color: var(--muted); border-radius: 999px; padding: 3px 10px; letter-spacing: 0; }
.team-row { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.team-row .member { flex: 0 0 calc((100% - 66px) / 4); }
.av-orbit { transition: transform 1.2s var(--ease); }
.member:hover .av-orbit { transform: rotate(60deg); }
@media (max-width: 1180px) { .team-row .member { flex-basis: calc((100% - 44px) / 3); } }
@media (max-width: 760px) { .team-row { gap: 14px; } .team-row .member { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 760px) { #scene .scene-label { font-size: 21px; letter-spacing: 1px; } #sceneStatus { font-size: 21px; } #sceneChip { x: -250px; y: 14px; width: 500px; height: 56px; rx: 28px; } #sceneDot { cx: -222px; } }

/* Rater 1 fixes */
@media (max-width: 760px) {
  .svc-panels { min-height: 0; display: grid; background: var(--navy); }
  .svc-panel { position: relative; inset: auto; grid-area: 1 / 1; padding: 0; justify-content: flex-start; }
  .svc-panel::before { display: none; }
  .svc-panel > img { position: relative; height: 210px; width: 100%; transform: none !important; }
  .svc-panel > div { padding: 24px 22px 28px; transform: none; }
  .footer-wordmark { display: none; }
  .grid.collapsible:not(.is-expanded) > .mini-card:nth-child(n+5) { display: none; }
}
.show-all { display: none; margin-top: 18px; width: 100%; }
@media (max-width: 760px) { .show-all { display: flex; } .grid.is-expanded + .show-all { display: none; } }
.map-tip.is-below { transform: translate(-50%, 10px) scale(.96); }
.map-tip.is-on.is-below { transform: translate(-50%, 18px) scale(1); }
.map-tip.is-below::after { bottom: auto; top: -6px; }
[tabindex="-1"]:focus { outline: none; }
.order-summary.is-sent .summary-list li button { display: none; }
.order-summary.is-sent h4 .count { background: #fff; }
.mini-map .state.is-hq { fill: #e7ebe8; }
.mini-map .pin-label { font-size: 22px; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.field-error { align-items: flex-start; }
.field-error svg { margin-top: 3px; }
.tabs.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.brand { height: 72px; width: 91px; }
.brand img { height: 72px; }
.footer-wordmark { -webkit-text-stroke-color: rgba(255,255,255,.12); }
@media (max-width: 1024px) { .brand, .brand img { height: 58px; } .brand { width: 73px; } }
.svc-panel::before { background: linear-gradient(180deg, rgba(12,20,34,.05) 10%, rgba(12,20,34,.62) 42%, rgba(12,20,34,.97) 78%); }

/* Rater 2 fixes */
.only-touch { display: none; }
@media (max-width: 1024px) { .only-desk { display: none; } .only-touch { display: inline; } }
.draw-card [data-draw-run][disabled] { opacity: .6; }
.faq-cat.is-dim { opacity: .45; }
.faq-item a mark { text-decoration: none; }
.faq-item a:has(mark) { text-decoration: none !important; border-bottom: 1.5px solid currentColor; }
.usmap .state:not(.is-permit):not(.is-hq):hover { fill: #2a3f5e; }
.usmap .state.is-hq:hover { fill: #2f4566; }
.pc-btn svg { width: 18px; height: 18px; }
.footer-wordmark { color: rgba(255,255,255,.035); -webkit-text-stroke-color: rgba(255,255,255,.16); }
.bento .b-photo .eyebrow { color: #fff; }
.bento .b-photo::after { background: linear-gradient(180deg, transparent 20%, rgba(12,20,34,.6) 55%, rgba(12,20,34,.95)); }
.notify-form { flex-wrap: wrap; align-items: flex-start; }
.notify-form .field { flex: 1 1 260px; position: static; }
.notify-form .field-error { white-space: nowrap; }
[data-form-wrap] .notify-done { min-height: 56px; }
.svc-tabs { justify-content: flex-start; }
.svc-help { margin-top: auto; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--paper); border: 1px dashed var(--line-2); }
.svc-help-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--green); display: grid; place-items: center; }
.svc-help-ico svg { width: 20px; height: 20px; }
.svc-help strong { display: block; color: var(--navy); font-size: 15.5px; }
.svc-help > span:nth-child(2) > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.svc-help .link-arrow { grid-column: 2; font-size: 14.5px; justify-self: start; }
@media (max-width: 1024px) { .svc-help { margin-top: 10px; } }
@media (max-width: 760px) {
  #scene .scene-label { font-size: 26px; }
  #sceneStatus { font-size: 25px; }
  #sceneChip { x: -290px; y: 10px; width: 580px; height: 64px; rx: 32px; }
  #sceneDot { cx: -258px; }
  .oc-inner { transform-box: view-box; transform-origin: 548px 201px; transform: scale(1.4); }
  .member .dept-tag { top: 10px; left: 10px; font-size: 9.5px; padding: 4px 7px; }
  .member .av svg { transform: translateY(8px); }
  .tl-label { font-size: 12px; }
  .bento > .card:not(.b-photo) { padding: 24px; }
  .bento > .card:not(.b-photo) .ico { margin-bottom: 16px; }
}
@media (max-width: 760px) {
  .steps-line { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .step-mini { padding-right: 0; }
  .step-mini .dot { width: 46px; height: 46px; }
  .step-mini .dot svg { width: 20px; height: 20px; }
  .step-mini .k { margin-top: 14px; }
  .step-mini h4 { font-size: 16.5px; }
  .step-mini p { font-size: 14px; }
  .home-faq .faq-item:nth-child(n+3) { display: none; }
}
.svc-panel .tag { color: #6fe062; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Rater 3 fixes */
h1, h2, h3, .h1, .h2, .h3 { text-wrap: balance; }
.map-tip { min-width: 0; width: max-content; }
.map-tip:not(:has(.tip-tag)) { padding: 9px 14px; }
.svc-opt { height: 100%; }
.svc-opt .box { height: 100%; }
.permit-btn { grid-template-columns: 44px 1fr; }
.mega-feature img { opacity: .3; }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,33,51,.2), rgba(21,33,51,.92) 70%); }
.mega-feature > * { z-index: 1; }
.mega-feature > img { z-index: 0; }
.faq-cat.is-dim.is-active { opacity: 1; }
.faq-cat.is-dim.is-active span { opacity: .6; }
.faq-item a mark { padding: 0; }
.team-row { justify-content: flex-start; }
.draw-foot .btn { height: 46px; box-sizing: border-box; }
.ui-logo { white-space: nowrap; gap: 6px; font-size: .95em; }
.ui-logo img { width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--ink); padding: 2px; object-fit: contain; }
@media (min-width: 1025px) { .process-pin { margin-top: -110px; } }
@media (max-width: 1024px) {
  .map-card { max-width: none; }
}
@media (max-width: 760px) {
  .usmap .state-label { display: none; }
  .docx-side { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .docx-side::-webkit-scrollbar { display: none; }
  .docx-cat { flex: 0 0 auto; grid-template-columns: 36px auto auto; gap: 10px; padding: 10px 14px 10px 10px; }
  .docx-cat .dc-ico { width: 36px; height: 36px; border-radius: 10px; }
  .docx-cat .dc-ico svg { width: 18px; height: 18px; }
  .docx-cat small { display: none; }
  .tl-panels { display: block; }
  .tl-panel:not(.is-active) { display: none; }
  .tl-panel.is-active { animation: stepIn .45s var(--ease); }
}
.footer-bottom { margin-top: 0; }
