/* Lane H. All color and motion values come from the foundation tokens. */
.hd-cdcp-guide { max-width: var(--hd-content-width); margin-inline: auto; min-width: 0; }
.hd-cdcp-guide .wp-block-table { overflow-x: auto; max-width: 100%; margin-block: var(--hd-space-6); }
.hd-cdcp-guide .wp-block-table table { min-width: 36rem; table-layout: auto; border-collapse: separate; border-spacing: 0; }
.hd-cdcp-guide .wp-block-table :is(th,td) { overflow-wrap: normal; word-break: normal; hyphens: manual; padding: var(--hd-space-3); vertical-align: top; min-width: 8.5rem; }
.hd-cdcp-guide .wp-block-table :is(th,td):first-child { position: sticky; left: 0; background: var(--hd-surface); min-width: 8.5rem; max-width: 11rem; box-shadow: 1px 0 var(--hd-line); }
.hd-cdcp-guide .wp-block-table figcaption { font-size: var(--hd-text-small); text-align: left; color: var(--hd-muted); }
.hd-cdcp-source-note { max-width: var(--hd-content-width); margin: 0 auto var(--hd-space-6); color: var(--hd-muted); font-size: var(--hd-text-small); }
.hd-cdcp-source-note p { margin: 0 0 var(--hd-space-2); }
.hd-cdcp-path { font: .8125rem/1.65 var(--hd-font-body); color: var(--hd-muted); margin-block: var(--hd-space-3); }
.hd-cdcp-path a { text-decoration: underline; }
.hd-cdcp-cities ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--hd-space-2) var(--hd-space-4); }
.hd-cdcp-cities li { padding: 0; }
.hd-cdcp-cities a, .hd-cdcp-city-link a { display: inline-flex; align-items: center; min-height: var(--hd-control-height); }
.hd-cdcp-cities li a { display: flex; }
.hd-cdcp-city-link { margin-block: var(--hd-space-1); }
.hd-cdcp-finder { padding: var(--hd-space-4); background: var(--hd-red-tint); border-radius: var(--hd-radius-panel); margin-bottom: var(--hd-space-6); }
.hd-cdcp-finder label { display: block; font-weight: 700; }
.hd-cdcp-finder select { width: 100%; font: inherit; min-height: var(--hd-control-height); margin-block: var(--hd-space-3); border: 1px solid var(--hd-control-line); border-radius: var(--hd-radius-control); }
.hd-cdcp-checklist { list-style: none; padding: 0; counter-reset: requirements; }
.hd-cdcp-checklist li { margin-block: var(--hd-space-3); }
.hd-cdcp-checklist label { display: flex; gap: var(--hd-space-3); align-items: center; min-height: var(--hd-control-height); cursor: pointer; }
.hd-cdcp-checklist input { width: 1.25rem; height: 1.25rem; flex-shrink: 0; accent-color: var(--hd-red); }
.hd-cdcp-check-number { display: grid; place-items: center; min-width: 28px; height: 28px; background: var(--hd-red-tint); color: var(--hd-red); border-radius: var(--hd-radius-chip); }
.hd-cdcp-checklist .hd-scene { display: none; flex-shrink: 0; }
.hd-cdcp-checklist .is-checked .hd-scene { display: inline-flex; }
.hd-cdcp-checklist .is-checked .hd-cdcp-check-number { display: none; }
.hd-cdcp-copay { padding: var(--hd-space-4); background: var(--hd-red-tint); border-radius: var(--hd-radius-panel); }
.hd-cdcp-copay-legend { list-style: none; padding: 0; display: grid; gap: var(--hd-space-3); }
.hd-cdcp-copay-legend li { display: flex; justify-content: space-between; gap: var(--hd-space-4); }
.hd-cdcp-count { display: flex; gap: var(--hd-space-3); align-items: center; }
.hd-cdcp-guide :is(a,button,input,select,[tabindex]):focus-visible, .hd-cdcp-source-note a:focus-visible, .hd-cdcp-path a:focus-visible { outline: var(--hd-focus-ring); outline-offset: var(--hd-focus-offset); }
@media(max-width:600px) { .hd-cdcp-cities ul { grid-template-columns: repeat(2,minmax(0,1fr)); } .hd-cdcp-path { text-align:left; } }
@media(prefers-reduced-motion:reduce) { .hd-cdcp-check-number { animation:none; } }
.hd-cdcp-guide .wp-block-table figcaption a { text-decoration: underline; }

.hd-cdcp-city-links { list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--hd-space-2) var(--hd-space-4); }
.hd-cdcp-city-links a { display:flex; align-items:center; min-height:var(--hd-control-height); }
body:has(.hd-cdcp-guide) #content > .hd-cdcp-path { max-width:var(--hd-content-width); margin-inline:auto; padding-inline:var(--hd-space-4); }
.hd-cdcp-guide .wp-block-button:is(.hd-scene-shield-stamp,.hd-cdcp-application-link) .hd-scene { --brand:var(--hd-white); --cutout:var(--hd-red); --tint:var(--hd-red-hover); --surface:var(--hd-red); }

.hd-cdcp-finder input[type=search] { width:100%; font:inherit; min-height:var(--hd-control-height); margin-block:var(--hd-space-3); border:1px solid var(--hd-control-line); border-radius:var(--hd-radius-control); }
.hd-cdcp-finder select[hidden] { display:none; }

.hd-cdcp-checklist .hd-scene { background:var(--hd-red); border-radius:var(--hd-radius-chip); }
.hd-cdcp-checklist.is-seen .hd-cdcp-check-number { animation:hd-cdcp-step-in 240ms var(--cd-spring) both; }
.hd-cdcp-checklist li:nth-child(2) .hd-cdcp-check-number { animation-delay:80ms; }
.hd-cdcp-checklist li:nth-child(3) .hd-cdcp-check-number { animation-delay:160ms; }
.hd-cdcp-checklist li:nth-child(4) .hd-cdcp-check-number { animation-delay:240ms; }
@keyframes hd-cdcp-step-in { from { transform:scale(.8); opacity:0; } to { transform:scale(1); opacity:1; } }
@media(prefers-reduced-motion:reduce) { .hd-cdcp-checklist.is-seen .hd-cdcp-check-number { animation:hd-cdcp-step-fade 200ms ease-out both; } }
@keyframes hd-cdcp-step-fade { from { opacity:0; } to { opacity:1; } }
.hd-cdcp-guide .wp-block-button:is(.hd-scene-shield-stamp,.hd-cdcp-application-link) .hd-scene { width:22px; height:22px; }
