:root {
    --gds-ink:#173b3c;
    --gds-primary:#176452;
    --gds-muted:#57696b;
    --gds-border:#dce4e1;
    --gds-paper:#f7f9f6;
    --bs-body-color:#263e40;
    --bs-body-bg:var(--gds-paper);
    --bs-link-color:#12624f;
    --bs-link-hover-color:#0b493b;
    --bs-border-color:var(--gds-border);
    /* Chart palette: validated with the dataviz skill's contrast/CVD checker
       (node validate_palette.js "#1a8f66,#2a78d6" --mode light --surface "#ffffff" — all pass). */
    --chart-open:#1a8f66;
    --chart-closed:#2a78d6;
    --chart-volume:#2a78d6;
}

.role-choice {
    border-bottom: 1px solid var(--gds-border);
    padding: 16px 0;
}

.role-choice .form-check-label {
    min-height: 32px;
    cursor: pointer;
}

.role-choice summary {
    cursor: pointer;
    min-height: 32px;
    color: var(--gds-muted);
}

body {
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.65;
}

h1,h2,h3,h4 {
    color:var(--gds-ink);
    letter-spacing:-.035em;
}

h1 {
    font-size:clamp(2rem,4.3vw,3.55rem);
    font-weight:650;
    line-height:1.12;
}

h2 {
    font-weight:650;
}

a {
    text-underline-offset:4px;
}

button,input,select,textarea {
    font:inherit;
}

button,.btn {
    min-height:44px;
}

.btn {
    padding:.65rem 1.1rem;
    font-weight:600;
    border-radius:7px;
}

.btn-primary {
    --bs-btn-bg:#176452;
    --bs-btn-border-color:#176452;
    --bs-btn-hover-bg:#104b3e;
    --bs-btn-hover-border-color:#104b3e;
    --bs-btn-active-bg:#104b3e;
    --bs-btn-active-border-color:#104b3e;
}

.btn-outline-primary {
    --bs-btn-color:#176452;
    --bs-btn-border-color:#176452;
    --bs-btn-hover-bg:#176452;
    --bs-btn-hover-border-color:#176452;
    --bs-btn-active-bg:#176452;
    --bs-btn-active-border-color:#176452;
}

.btn-sm {
    padding:.4rem .8rem;
}

.form-control,.form-select {
    min-height:48px;
    background-color:white;
    border-color:#a9b9b3;
    border-radius:6px;
}

/* Kiosk mode: larger touch targets and text for a shared, stand-up touchscreen. */
body.kiosk-mode {
    font-size:1.08rem;
}

body.kiosk-mode .btn,
body.kiosk-mode button {
    min-height:58px;
    padding:.85rem 1.4rem;
    font-size:1.08rem;
}

body.kiosk-mode .btn-sm {
    min-height:48px;
    padding:.5rem 1rem;
}

body.kiosk-mode .form-control,
body.kiosk-mode .form-select {
    min-height:58px;
    font-size:1.08rem;
}

.form-control:focus,.form-select:focus {
    border-color:#176452;
    box-shadow:0 0 0 .2rem #17645226;
}

.form-label {
    font-weight:600;
    font-size:.92rem;
}

.text-secondary,.form-text {
    color:var(--gds-muted)!important;
}

:focus-visible {
    outline:3px solid #c27312!important;
    outline-offset:4px;
}

main:focus {
    outline:none;
}

.skip-link {
    position:absolute;
    top:-100px;
    left:16px;
    z-index:10;
    padding:12px;
    background:white;
}

.skip-link:focus {
    top:8px;
}

.container {
    max-width:1180px;
}

.civic-bar {
    background:var(--gds-ink);
    color:#fff;
    font-size:.66rem;
    letter-spacing:.13em;
    padding:8px 0;
}

.civic-bar .container {
    display:flex;
    justify-content:space-between;
}

.civic-bar span {
    letter-spacing:.02em;
    text-transform:none;
    color:#d0dedd;
}

.site-header {
    background:#fff;
    border-bottom:1px solid var(--gds-border);
}

.header-inner {
    min-height:99px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand {
    display:flex;
    gap:12px;
    align-items:center;
    font-size:1.3rem;
    font-weight:750;
    line-height:1.2;
    color:var(--gds-ink);
    text-decoration:none;
}

.brand-mark {
    display:grid;
    place-items:center;
    width:47px;
    height:51px;
    border-radius:12px 12px 20px 20px;
    background:var(--gds-primary);
    color:white;
    font-family:Georgia,serif;
    font-size:2rem;
    border:3px solid #dfecdb;
}

.brand-subtitle {
    display:block;
    font-size:.76rem;
    font-weight:500;
    letter-spacing:.035em;
    margin-top:3px;
}

.main-nav {
    display:flex;
    align-items:center;
    gap:30px;
    font-size:.89rem;
    font-weight:600;
}

.main-nav a {
    text-decoration:none;
    color:var(--gds-ink);
    padding:12px 0;
}

.main-nav a:hover {
    text-decoration:underline;
}

.main-nav .staff-link {
    color:var(--gds-muted);
    border-left:1px solid var(--gds-border);
    padding-left:25px;
}

.main-content {
    min-height:65vh;
    padding-top:40px;
    padding-bottom:72px;
}

.hero {
    display:grid;
    grid-template-columns:1.6fr 1fr;
    align-items:center;
    gap:70px;
    padding:38px 0 63px;
}

.eyebrow {
    font-size:.69rem;
    letter-spacing:.13em;
    font-weight:750;
    color:#46665c;
    margin-bottom:19px;
}

.status-dot {
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#368269;
    margin-right:7px;
}

.hero-description {
    font-size:1.04rem;
    line-height:1.8;
    color:var(--gds-muted);
    max-width:510px;
    margin:22px 0 26px;
}

.hero .btn-primary {
    min-width:180px;
}

.tracking-callout {
    border:1px solid #cfded4;
    border-radius:12px;
    padding:28px;
    background:#eef4ec;
    position:relative;
}

.tracking-callout h2 {
    font-size:1.3rem;
    margin:12px 0;
}

.tracking-callout p {
    color:#49615a;
    font-size:.92rem;
}

.tracking-callout .small {
    display:block;
    text-align:center;
    margin-top:12px;
    font-size:.75rem;
}

.line-icon {
    font-size:2.2rem;
    line-height:1;
    display:block;
    color:#176452;
}

.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:24px;
}

.section-heading .eyebrow {
    margin-bottom:8px;
}

.section-heading h2 {
    font-size:1.85rem;
    margin:0;
}

.section-caption {
    font-size:.84rem;
    color:var(--gds-muted);
    padding-bottom:4px;
}

.service-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    align-items:start;
}

.service-card {
    border:1px solid var(--gds-border);
    border-radius:10px;
    background:#fff;
    overflow:hidden;
    transition:border-color .15s;
}

.service-card:hover,.service-card[open] {
    border-color:#7b9e8c;
}

.service-card summary {
    padding:23px 23px 0;
    list-style:none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    min-height:238px;
}

.service-card summary::-webkit-details-marker {
    display:none;
}

.service-number {
    width:35px;
    height:35px;
    background:#edf3ed;
    border:1px solid #deeadf;
    border-radius:7px;
    color:#476d57;
    display:grid;
    place-items:center;
    font-size:.7rem;
    font-weight:700;
    margin-bottom:17px;
}

.service-title {
    font-size:1.08rem;
    font-weight:700;
    color:var(--gds-ink);
    letter-spacing:-.02em;
    margin-bottom:8px;
}

.service-description {
    font-size:.84rem;
    color:var(--gds-muted);
    line-height:1.7;
    margin-bottom:18px;
    min-height:46px;
}

.service-bottom {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #edf0ed;
    margin-top:auto;
    padding:13px 0;
    color:#346950;
    font-size:.75rem;
    font-weight:600;
}

.service-arrow {
    font-size:1rem;
}

.service-information {
    border-top:1px solid var(--gds-border);
    padding:18px 23px;
    font-size:.88rem;
    background:#f4f7f3;
}

.availability {
    font-size:.76rem;
    font-weight:600;
    color:#675019;
}

.how-it-works {
    margin-top:56px;
    padding:32px 0 0;
    border-top:1px solid var(--gds-border);
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:30px;
}

.how-it-works h2 {
    font-size:1.5rem;
}

.how-it-works .eyebrow {
    margin-bottom:12px;
}

.how-it-works ol {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    padding:0;
    counter-reset:steps;
    list-style:none;
}

.how-it-works li {
    counter-increment:steps;
}

.how-it-works li:before {
    content:"0" counter(steps);
    display:block;
    color:#6e8376;
    font-size:.8rem;
    font-weight:700;
    margin-bottom:12px;
}

.how-it-works strong {
    display:block;
    font-size:.84rem;
    margin-bottom:7px;
}

.how-it-works li span {
    font-size:.8rem;
    color:var(--gds-muted);
    display:block;
    line-height:1.7;
}

.site-footer {
    border-top:1px solid var(--gds-border);
    padding:30px 0;
    background:#eef2ec;
    color:#607069;
    font-size:.76rem;
}

.site-footer strong {
    font-weight:650;
    color:var(--gds-ink);
}

.workspace-bar {
    background:#eaf0e9;
    padding:12px 0;
    font-size:.8rem;
    color:#385949;
}

.page-heading {
    margin:10px 0 30px;
}

.page-heading h1 {
    font-size:2.35rem;
    margin-bottom:13px;
}

.page-heading p:not(.eyebrow) {
    color:var(--gds-muted);
    max-width:650px;
}

.page-heading .eyebrow {
    margin-bottom:12px;
}

.panel {
    background:white;
    border:1px solid var(--gds-border);
    border-radius:10px;
    padding:28px;
}

.panel h2 {
    margin-bottom:20px;
}

.login-container {
    max-width:460px;
    margin:24px auto 55px;
}

.tracking-explainer {
    padding:35px 25px;
    max-width:550px;
}

.tracking-explainer h2 {
    margin:20px 0;
}

.tracking-explainer p {
    font-size:.95rem;
}

.empty-state {
    text-align:center;
    padding:42px 20px;
    border:1px dashed #c9d5cc;
    border-radius:8px;
    background:#fafbf9;
}

.empty-state p {
    max-width:530px;
    margin:10px auto 0;
    color:var(--gds-muted);
}

.receipt-value {
    font-family:"SFMono-Regular", Consolas, monospace;
    font-size:1.15rem;
    font-weight:600;
    background:#f4f6f2;
    border:1px solid var(--gds-border);
    border-radius:6px;
    padding:10px 14px;
    word-break:break-all;
    margin:0;
}

.receipt-token {
    letter-spacing:.05em;
}

.qr-panel {
    text-align:center;
}

.qr-code {
    max-width:200px;
    margin:12px auto;
}

.qr-code svg {
    width:100%;
    height:auto;
    display:block;
}

.status-badge {
    display:inline-block;
    font-size:.76rem;
    padding:5px 10px;
    background:#edf3e9;
    color:#355937;
    border:1px solid #d7e4d0;
    border-radius:5px;
    white-space:nowrap;
}

.table {
    --bs-table-bg:transparent;
    font-size:.88rem;
}

.table th {
    color:#596c62;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.06em;
    padding:12px 10px;
    white-space:nowrap;
}

.table td {
    padding:16px 10px;
}

.pagination-bar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:25px;
    color:var(--gds-muted);
    font-size:.85rem;
}

.back-link {
    font-size:.85rem;
}

.detail-list {
    display:grid;
    grid-template-columns:110px 1fr;
    gap:10px;
    font-size:.9rem;
    margin:0;
}

.detail-list dt {
    color:var(--gds-muted);
    font-weight:500;
}

.detail-list dd {
    margin:0;
    overflow-wrap:anywhere;
}

.timeline {
    list-style:none;
    padding:0 0 0 17px;
    border-left:2px solid #dce7d9;
    margin:25px 0 0 7px;
}

.timeline li {
    position:relative;
    padding:0 0 25px 6px;
    font-size:.9rem;
}

.timeline li:before {
    content:"";
    position:absolute;
    left:-24px;
    top:6px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#548467;
    border:2px solid #fff;
    outline:1px solid #548467;
}

.timeline time {
    display:block;
    font-size:.73rem;
    color:var(--gds-muted);
    margin:4px 0 10px;
}

.timeline p {
    overflow-wrap:anywhere;
}

.internal-note {
    background:#f2f3f0;
    border-radius:6px;
    padding:12px;
}

.document-row {
    border-top:1px solid var(--gds-border);
    padding:20px 0;
}

.document-row:last-child {
    padding-bottom:0;
}

.document-row a {
    overflow-wrap:anywhere;
}

.metric span {
    display:block;
    font-size:.85rem;
    color:var(--gds-muted);
}

.metric strong {
    font-size:2.6rem;
    font-weight:650;
    color:var(--gds-ink);
}

.chart-legend {
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:16px;
    font-size:.85rem;
    color:var(--gds-muted);
}

.chart-legend-item {
    display:flex;
    align-items:center;
    gap:6px;
}

.chart-legend-swatch {
    width:10px;
    height:10px;
    border-radius:2px;
    display:inline-block;
    flex:0 0 auto;
}

.chart-legend-swatch-open {
    background:var(--chart-open);
}

.chart-legend-swatch-closed {
    background:var(--chart-closed);
}

/* CSP disallows inline style="" (style-src 'self', no unsafe-inline), so dynamic
   chart bar widths/heights use these precomputed percentage utility classes instead. */
.w-pct-0{width:0%}
.w-pct-1{width:1%}
.w-pct-2{width:2%}
.w-pct-3{width:3%}
.w-pct-4{width:4%}
.w-pct-5{width:5%}
.w-pct-6{width:6%}
.w-pct-7{width:7%}
.w-pct-8{width:8%}
.w-pct-9{width:9%}
.w-pct-10{width:10%}
.w-pct-11{width:11%}
.w-pct-12{width:12%}
.w-pct-13{width:13%}
.w-pct-14{width:14%}
.w-pct-15{width:15%}
.w-pct-16{width:16%}
.w-pct-17{width:17%}
.w-pct-18{width:18%}
.w-pct-19{width:19%}
.w-pct-20{width:20%}
.w-pct-21{width:21%}
.w-pct-22{width:22%}
.w-pct-23{width:23%}
.w-pct-24{width:24%}
.w-pct-25{width:25%}
.w-pct-26{width:26%}
.w-pct-27{width:27%}
.w-pct-28{width:28%}
.w-pct-29{width:29%}
.w-pct-30{width:30%}
.w-pct-31{width:31%}
.w-pct-32{width:32%}
.w-pct-33{width:33%}
.w-pct-34{width:34%}
.w-pct-35{width:35%}
.w-pct-36{width:36%}
.w-pct-37{width:37%}
.w-pct-38{width:38%}
.w-pct-39{width:39%}
.w-pct-40{width:40%}
.w-pct-41{width:41%}
.w-pct-42{width:42%}
.w-pct-43{width:43%}
.w-pct-44{width:44%}
.w-pct-45{width:45%}
.w-pct-46{width:46%}
.w-pct-47{width:47%}
.w-pct-48{width:48%}
.w-pct-49{width:49%}
.w-pct-50{width:50%}
.w-pct-51{width:51%}
.w-pct-52{width:52%}
.w-pct-53{width:53%}
.w-pct-54{width:54%}
.w-pct-55{width:55%}
.w-pct-56{width:56%}
.w-pct-57{width:57%}
.w-pct-58{width:58%}
.w-pct-59{width:59%}
.w-pct-60{width:60%}
.w-pct-61{width:61%}
.w-pct-62{width:62%}
.w-pct-63{width:63%}
.w-pct-64{width:64%}
.w-pct-65{width:65%}
.w-pct-66{width:66%}
.w-pct-67{width:67%}
.w-pct-68{width:68%}
.w-pct-69{width:69%}
.w-pct-70{width:70%}
.w-pct-71{width:71%}
.w-pct-72{width:72%}
.w-pct-73{width:73%}
.w-pct-74{width:74%}
.w-pct-75{width:75%}
.w-pct-76{width:76%}
.w-pct-77{width:77%}
.w-pct-78{width:78%}
.w-pct-79{width:79%}
.w-pct-80{width:80%}
.w-pct-81{width:81%}
.w-pct-82{width:82%}
.w-pct-83{width:83%}
.w-pct-84{width:84%}
.w-pct-85{width:85%}
.w-pct-86{width:86%}
.w-pct-87{width:87%}
.w-pct-88{width:88%}
.w-pct-89{width:89%}
.w-pct-90{width:90%}
.w-pct-91{width:91%}
.w-pct-92{width:92%}
.w-pct-93{width:93%}
.w-pct-94{width:94%}
.w-pct-95{width:95%}
.w-pct-96{width:96%}
.w-pct-97{width:97%}
.w-pct-98{width:98%}
.w-pct-99{width:99%}
.w-pct-100{width:100%}
.h-pct-0{height:0%}
.h-pct-1{height:1%}
.h-pct-2{height:2%}
.h-pct-3{height:3%}
.h-pct-4{height:4%}
.h-pct-5{height:5%}
.h-pct-6{height:6%}
.h-pct-7{height:7%}
.h-pct-8{height:8%}
.h-pct-9{height:9%}
.h-pct-10{height:10%}
.h-pct-11{height:11%}
.h-pct-12{height:12%}
.h-pct-13{height:13%}
.h-pct-14{height:14%}
.h-pct-15{height:15%}
.h-pct-16{height:16%}
.h-pct-17{height:17%}
.h-pct-18{height:18%}
.h-pct-19{height:19%}
.h-pct-20{height:20%}
.h-pct-21{height:21%}
.h-pct-22{height:22%}
.h-pct-23{height:23%}
.h-pct-24{height:24%}
.h-pct-25{height:25%}
.h-pct-26{height:26%}
.h-pct-27{height:27%}
.h-pct-28{height:28%}
.h-pct-29{height:29%}
.h-pct-30{height:30%}
.h-pct-31{height:31%}
.h-pct-32{height:32%}
.h-pct-33{height:33%}
.h-pct-34{height:34%}
.h-pct-35{height:35%}
.h-pct-36{height:36%}
.h-pct-37{height:37%}
.h-pct-38{height:38%}
.h-pct-39{height:39%}
.h-pct-40{height:40%}
.h-pct-41{height:41%}
.h-pct-42{height:42%}
.h-pct-43{height:43%}
.h-pct-44{height:44%}
.h-pct-45{height:45%}
.h-pct-46{height:46%}
.h-pct-47{height:47%}
.h-pct-48{height:48%}
.h-pct-49{height:49%}
.h-pct-50{height:50%}
.h-pct-51{height:51%}
.h-pct-52{height:52%}
.h-pct-53{height:53%}
.h-pct-54{height:54%}
.h-pct-55{height:55%}
.h-pct-56{height:56%}
.h-pct-57{height:57%}
.h-pct-58{height:58%}
.h-pct-59{height:59%}
.h-pct-60{height:60%}
.h-pct-61{height:61%}
.h-pct-62{height:62%}
.h-pct-63{height:63%}
.h-pct-64{height:64%}
.h-pct-65{height:65%}
.h-pct-66{height:66%}
.h-pct-67{height:67%}
.h-pct-68{height:68%}
.h-pct-69{height:69%}
.h-pct-70{height:70%}
.h-pct-71{height:71%}
.h-pct-72{height:72%}
.h-pct-73{height:73%}
.h-pct-74{height:74%}
.h-pct-75{height:75%}
.h-pct-76{height:76%}
.h-pct-77{height:77%}
.h-pct-78{height:78%}
.h-pct-79{height:79%}
.h-pct-80{height:80%}
.h-pct-81{height:81%}
.h-pct-82{height:82%}
.h-pct-83{height:83%}
.h-pct-84{height:84%}
.h-pct-85{height:85%}
.h-pct-86{height:86%}
.h-pct-87{height:87%}
.h-pct-88{height:88%}
.h-pct-89{height:89%}
.h-pct-90{height:90%}
.h-pct-91{height:91%}
.h-pct-92{height:92%}
.h-pct-93{height:93%}
.h-pct-94{height:94%}
.h-pct-95{height:95%}
.h-pct-96{height:96%}
.h-pct-97{height:97%}
.h-pct-98{height:98%}
.h-pct-99{height:99%}
.h-pct-100{height:100%}

.chart-row {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.chart-row-label {
    width:170px;
    flex:0 0 auto;
    font-size:.85rem;
    color:var(--gds-ink);
    text-align:right;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.chart-row-track {
    flex:1;
    display:flex;
    height:22px;
    background:var(--gds-paper);
    border-radius:4px;
    overflow:hidden;
    min-width:0;
}

.chart-row-total {
    width:28px;
    flex:0 0 auto;
    font-size:.8rem;
    color:var(--gds-muted);
    font-variant-numeric:tabular-nums;
}

.chart-bar {
    border:none;
    padding:0;
    height:100%;
    cursor:pointer;
    transform-origin:left center;
    animation:chart-grow-x .5s ease-out;
}

.chart-bar:hover,
.chart-bar:focus-visible {
    filter:brightness(1.12);
}

.chart-bar-open {
    background:var(--chart-open);
}

.chart-bar-closed {
    background:var(--chart-closed);
    margin-left:2px;
}

.chart-columns {
    display:flex;
    align-items:flex-end;
    gap:3px;
    height:150px;
}

.chart-column {
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    height:100%;
    min-width:0;
}

.chart-column-bar {
    width:100%;
    border:none;
    padding:0;
    cursor:pointer;
    background:var(--chart-volume);
    border-radius:3px 3px 0 0;
    min-height:2px;
    transform-origin:bottom center;
    animation:chart-grow-y .5s ease-out;
}

.chart-column-bar:hover,
.chart-column-bar:focus-visible {
    filter:brightness(1.12);
}

.chart-column-label {
    font-size:.68rem;
    color:var(--gds-muted);
    margin-top:6px;
    white-space:nowrap;
}

@keyframes chart-grow-x {
    from { transform:scaleX(0); }
    to { transform:scaleX(1); }
}

@keyframes chart-grow-y {
    from { transform:scaleY(0); }
    to { transform:scaleY(1); }
}

@media (prefers-reduced-motion:reduce) {
    .chart-bar, .chart-column-bar {
        animation:none;
    }
}

.chart-tooltip {
    position:absolute;
    z-index:1000;
    background:var(--gds-ink);
    color:#fff;
    padding:6px 10px;
    border-radius:6px;
    font-size:.8rem;
    line-height:1.35;
    pointer-events:none;
    transform:translate(-50%, -100%);
    white-space:nowrap;
    box-shadow:0 4px 10px rgba(0,0,0,.18);
}

.chart-tooltip strong {
    display:block;
    font-size:.95rem;
}

.chart-tooltip.is-hidden {
    display:none;
}

.admin-card {
    display:block;
    text-decoration:none;
    color:var(--gds-ink);
    height:100%;
}

.admin-card:hover {
    border-color:#7b9e8c;
}

.admin-card p {
    color:var(--gds-muted);
    font-size:.9rem;
}

.admin-card>span {
    font-size:.85rem;
    font-weight:600;
}

.role-row {
    border-top:1px solid var(--gds-border);
    padding:15px 0;
}

.role-row summary {
    min-height:32px;
    cursor:pointer;
    font-weight:600;
}

.role-row ul {
    margin-top:12px;
}

.alert ul {
    margin-bottom:0;
}

@media(min-width:1400px) {
    .container {
        max-width:1180px;
    }
}

@media(max-width:991px) {
    .hero {
        gap:30px;
        grid-template-columns:1.3fr 1fr;
    }
    .service-grid {
        grid-template-columns:repeat(2,1fr);
    }
    .how-it-works {
        grid-template-columns:1fr;
    }
    .main-nav {
        gap:18px;
    }
    .main-nav .staff-link {
        padding-left:18px;
    }
    .container {
        padding-left:24px;
        padding-right:24px;
    }
}

@media(max-width:650px) {
    .header-inner {
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
        padding-top:20px;
        padding-bottom:12px;
    }
    .main-nav {
        width:100%;
        gap:20px;
        justify-content:space-between;
        flex-wrap:wrap;
        font-size:.8rem;
    }
    .main-nav .staff-link {
        border:0;
        padding-left:0;
    }
    .civic-bar span {
        display:none;
    }
    .hero {
        grid-template-columns:1fr;
        padding:10px 0 36px;
        gap:32px;
    }
    .hero h1 {
        font-size:2.5rem;
    }
    .chart-row-label {
        width:96px;
        font-size:.78rem;
    }
    .chart-column-label {
        display:none;
    }
    .main-content {
        padding-top:28px;
        padding-bottom:40px;
    }
    .tracking-callout {
        padding:24px;
    }
    .section-heading {
        display:block;
    }
    .section-caption {
        display:block;
        margin-top:10px;
    }
    .service-grid {
        grid-template-columns:1fr;
    }
    .service-card summary {
        min-height:215px;
    }
    .how-it-works {
        margin-top:36px;
    }
    .how-it-works ol {
        grid-template-columns:1fr;
        gap:20px;
    }
    .how-it-works li:before {
        float:left;
        margin:0 18px 30px 0;
    }
    .panel {
        padding:22px;
    }
    .page-heading h1 {
        font-size:1.9rem;
        overflow-wrap:anywhere;
    }
    .detail-list {
        grid-template-columns:85px 1fr;
    }
    .workspace-bar {
        font-size:.73rem;
    }
    .site-footer .container {
        flex-direction:column;
    }
    .tracking-explainer {
        padding:18px 0;
    }
    .section-heading h2 {
        font-size:1.6rem;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition:none!important;
        scroll-behavior:auto!important;
    }
}

@media print {
    .site-header,.civic-bar,.site-footer,.workspace-bar,.main-nav,form,.back-link,.pagination-bar {
        display:none!important;
    }
    body {
        background:white;
    }
    .panel {
        break-inside:avoid;
        border-color:#999;
    }
    .main-content {
        padding:0;
    }
    .container {
        max-width:100%;
    }
    .col-lg-7,.col-lg-5 {
        width:100%;
    }
}
