@charset "UTF-8";
/* ==========================================================================
   United States Roofing Contractors Association
   Design system  --  built from Identity Standards V1.0

   Palette, typography and layout rules come straight from the brand book:
   navy carries the institutional voice, red gives emphasis, warm white is
   the quieter reading surface. Straight rules, the shield angle and
   high-contrast layouts; no gradients, no shadows on the mark.

   Contents
     1. Tokens
     2. Reset and base
     3. Typography
     4. Layout
     5. Brand marks and the shield-angle pattern
     6. Header and navigation
     7. Footer
     8. Buttons
     9. Forms
    10. Status labels
    11. Cards and panels
    12. Tables
    13. Directory
    14. Case timeline and disputes
    15. Alerts and callouts
    16. Pagination, breadcrumbs, tabs
    17. Hero and section headers
    18. Utilities
    19. Print
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
    color-scheme: light;

    /* Brand palette --------------------------------------------------- */
    --navy:        #132B3B;
    --red:         #AD293B;
    --warm-white:  #F7F3EA;
    --white:       #FFFFFF;
    --steel:       #486576;

    /* Derived tints. Each is navy, red or steel mixed toward the
       reading surface, so nothing introduces a new hue. */
    --navy-900:    #0C1C26;
    --navy-700:    #19394D;
    --navy-100:    #D4DBE0;
    --navy-050:    #EBEEF1;

    --red-800:     #8C2130;
    --red-100:     #F2DADE;

    --steel-300:   #A8B9C2;
    --steel-100:   #DCE4E8;

    --rule:        #C9CFD3;
    --rule-light:  #E2E6E9;

    /* Status tones. Kept deliberately few: the brand standards ask for
       precise words, not a rainbow of chips. */
    --tone-good-bg:    #E4EDE6;
    --tone-good-fg:    #1C4A2B;
    --tone-good-rule:  #9EBCA7;

    --tone-warn-bg:    #FBF0DC;
    --tone-warn-fg:    #6B4A10;
    --tone-warn-rule:  #D9BE86;

    --tone-bad-bg:     var(--red-100);
    --tone-bad-fg:     var(--red-800);
    --tone-bad-rule:   #D9A3AC;

    --tone-neutral-bg:   var(--navy-050);
    --tone-neutral-fg:   var(--steel);
    --tone-neutral-rule: var(--navy-100);

    /* Surfaces */
    --surface:         var(--white);
    --surface-quiet:   var(--warm-white);
    --surface-inverse: var(--navy);
    --ink:             var(--navy);
    --ink-secondary:   var(--steel);
    --ink-inverse:     var(--warm-white);

    /* Typography. Arial for headlines and body per the brand book;
       Consolas for the short labels the standards call "RCA labels". */
    --font-sans: Arial, "Helvetica Neue", Helvetica, "Segoe UI", system-ui, sans-serif;
    --font-mono: Consolas, "Courier New", ui-monospace, monospace;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-md:   1.0625rem;
    --text-lg:   1.25rem;
    --text-xl:   1.5rem;
    --text-2xl:  1.875rem;
    --text-3xl:  2.25rem;
    --text-4xl:  2.875rem;
    --text-5xl:  3.5rem;

    --leading-tight: 1.15;
    --leading-snug:  1.3;
    --leading-base:  1.6;
    --leading-loose: 1.75;

    /* Space scale */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.5rem;
    --space-6:  2rem;
    --space-7:  2.5rem;
    --space-8:  3rem;
    --space-9:  4rem;
    --space-10: 5rem;
    --space-11: 6rem;

    /* Structure. The identity is angular: corners stay square and
       emphasis comes from rules, not rounding or shadow. */
    --radius:       0;
    --radius-chip:  2px;
    --rule-weight:  1px;
    --rule-strong:  2px;
    --rule-accent:  4px;

    --container:        1200px;
    --container-narrow: 760px;
    --container-wide:   1400px;

    --focus-ring: 3px solid var(--red);
    --focus-offset: 2px;

    --shadow-panel: 0 1px 2px rgba(19, 43, 59, 0.08);
    --shadow-raised: 0 4px 16px rgba(19, 43, 59, 0.14);

    --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--text-md);
    line-height: var(--leading-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

img, svg, video { max-width: 100%; height: auto; display: block; }

hr {
    border: 0;
    border-top: var(--rule-weight) solid var(--rule);
    margin: var(--space-6) 0;
}

:where(a) {
    color: var(--red-800);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
:where(a):hover { color: var(--red); }

:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

::selection {
    background: var(--navy);
    color: var(--warm-white);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--navy);
    color: var(--warm-white);
    padding: var(--space-3) var(--space-5);
    font-weight: bold;
}
.skip-link:focus {
    left: var(--space-4);
    top: var(--space-4);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: bold;
    line-height: var(--leading-tight);
    color: var(--navy);
    margin: 0 0 var(--space-4);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.2vw, var(--text-4xl)); }
h2 { font-size: clamp(1.5rem, 3vw, var(--text-2xl)); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 {
    font-size: var(--text-sm);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.lede {
    font-size: var(--text-lg);
    line-height: var(--leading-snug);
    color: var(--steel);
    max-width: 60ch;
}

.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose ul,
.prose ol { padding-left: var(--space-5); }
.prose li + li { margin-top: var(--space-2); }
.prose blockquote {
    margin: var(--space-5) 0;
    padding: var(--space-4) var(--space-5);
    border-left: var(--rule-accent) solid var(--red);
    background: var(--surface-quiet);
    font-size: var(--text-lg);
}
.prose code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--navy-050);
    padding: 0.1em 0.35em;
}
.prose table { margin: var(--space-5) 0; }

/* The "RCA label": short, uppercase, monospace. Used for eyebrows,
   field labels and status chips. */
.label {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel);
}
.label--red { color: var(--red); }
.label--navy { color: var(--navy); }
.label--inverse { color: var(--steel-300); }

.eyebrow {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}
.eyebrow::after {
    content: "";
    flex: 1 1 auto;
    height: var(--rule-weight);
    background: var(--rule);
}
.eyebrow--inverse { color: var(--steel-300); }
.eyebrow--inverse::after { background: rgba(247, 243, 234, 0.3); }

.text-secondary { color: var(--ink-secondary); }
.text-small { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-mono { font-family: var(--font-mono); }
.text-balance { text-wrap: balance; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-7); }
.section--loose { padding-block: var(--space-11); }
.section--quiet { background: var(--surface-quiet); }
.section--navy {
    background: var(--navy);
    color: var(--ink-inverse);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--warm-white); }
.section--navy a { color: var(--warm-white); }
.section--red {
    background: var(--red);
    color: var(--white);
}
.section--red h1,
.section--red h2,
.section--red h3 { color: var(--white); }

.stack > * + * { margin-top: var(--space-4); }
.stack-sm > * + * { margin-top: var(--space-2); }
.stack-lg > * + * { margin-top: var(--space-6); }

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
}
.cluster--between { justify-content: space-between; }
.cluster--tight { gap: var(--space-2); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Content beside a sidebar. Collapses to one column on small screens. */
.layout-aside {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 60rem) {
    .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; }
    .layout-aside--left { grid-template-columns: 300px minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Brand marks and the shield-angle pattern
   -------------------------------------------------------------------------- */

/* Minimum sizes from the brand book: shield 96px, signature 300px. */
.brand-signature { width: clamp(300px, 34vw, 420px); }
.brand-shield { width: 96px; }

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    text-decoration: none;
}
.brand-lockup img { display: block; }
.brand-lockup:focus-visible { outline: var(--focus-ring); outline-offset: 4px; }

/* Clear space equals the height of the star bar; the mark sits in a
   solid panel whenever it lands on imagery. */
.brand-panel {
    background: var(--white);
    padding: var(--space-5);
    display: inline-block;
}
.brand-panel--navy { background: var(--navy); }
.brand-panel--red { background: var(--red); }

/* Shield-angle pattern: edge of a layout, or low contrast. Never behind
   body copy at full strength. */
.angle-pattern {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.angle-pattern::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(42%, 520px);
    background-image: url("../img/shield-angle-pattern.svg");
    background-repeat: repeat;
    background-size: 118px 37px;
    opacity: 0.07;
    z-index: -1;
    pointer-events: none;
}
.angle-pattern--navy::before {
    opacity: 0.16;
    filter: invert(1) brightness(1.6);
}
.angle-pattern--left::before {
    inset-inline: 0 auto;
}

/* A plain angled rule, for section dividers that need the shield angle. */
.angle-rule {
    height: 24px;
    background-image: url("../img/shield-angle-pattern.svg");
    background-size: 118px 37px;
    opacity: 0.18;
}

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
    background: var(--white);
    border-bottom: var(--rule-strong) solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-utility {
    background: var(--navy);
    color: var(--steel-300);
    font-size: var(--text-xs);
}
.header-utility .container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding-block: var(--space-1);
}
.header-utility a {
    color: var(--warm-white);
    text-decoration: none;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
}
.header-utility a:hover { text-decoration: underline; }
.header-utility nav {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    min-height: var(--header-height);
}

.header-main .brand-lockup img { width: 300px; max-width: 46vw; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--navy);
    color: var(--warm-white);
    border: 0;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}
.nav-toggle:hover { background: var(--navy-700); }

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-1);
    align-items: stretch;
}
.primary-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    color: var(--navy);
    text-decoration: none;
    font-weight: bold;
    font-size: var(--text-sm);
    border-bottom: var(--rule-accent) solid transparent;
    white-space: nowrap;
}
.primary-nav a:hover {
    background: var(--surface-quiet);
    color: var(--navy);
}
.primary-nav a[aria-current="page"],
.primary-nav a.is-active {
    border-bottom-color: var(--red);
    color: var(--navy);
}
/* Service icons pair with text labels, per the design system. */
.primary-nav .nav-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

@media (max-width: 68rem) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: var(--white);
        border-bottom: var(--rule-strong) solid var(--navy);
        box-shadow: var(--shadow-raised);
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: var(--space-3) var(--space-5) var(--space-5);
    }
    .primary-nav a {
        border-bottom: var(--rule-weight) solid var(--rule-light);
        border-left: var(--rule-accent) solid transparent;
        padding-block: var(--space-4);
    }
    .primary-nav a[aria-current="page"],
    .primary-nav a.is-active {
        border-left-color: var(--red);
        border-bottom-color: var(--rule-light);
        background: var(--surface-quiet);
    }
    .header-main .container { position: relative; }
}
@media (min-width: 68.0625rem) {
    .nav-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--navy);
    color: var(--steel-300);
    padding-block: var(--space-8) var(--space-6);
    margin-top: var(--space-10);
    font-size: var(--text-sm);
}
.site-footer h2,
.site-footer h3 {
    color: var(--warm-white);
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}
.site-footer a {
    color: var(--warm-white);
    text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer li + li { margin-top: var(--space-2); }

.footer-grid {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 60rem) {
    .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
    .footer-brand { grid-column: auto; }
}
.footer-brand img { width: 260px; margin-bottom: var(--space-4); }

.footer-legal {
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    border-top: var(--rule-weight) solid rgba(247, 243, 234, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-6);
    justify-content: space-between;
    font-size: var(--text-xs);
}
.footer-legal p { margin: 0; max-width: 72ch; }

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    min-height: 46px;
    border: var(--rule-strong) solid transparent;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-sans);
    font-weight: bold;
    font-size: var(--text-base);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--red-800); color: var(--white); }
.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn--navy { background: var(--navy); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--warm-white); }

.btn--outline-inverse {
    background: transparent;
    color: var(--warm-white);
    border-color: var(--warm-white);
}
.btn--outline-inverse:hover { background: var(--warm-white); color: var(--navy); }

.btn--quiet {
    background: transparent;
    color: var(--red-800);
    border-color: transparent;
    padding-inline: var(--space-2);
    min-height: 0;
    text-decoration: underline;
}
.btn--quiet:hover { background: transparent; color: var(--red); }

.btn--sm {
    min-height: 36px;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
}
.btn--lg {
    min-height: 56px;
    padding: var(--space-4) var(--space-7);
    font-size: var(--text-lg);
}
.btn--block { width: 100%; }

.btn--danger { background: var(--red-800); }
.btn--danger:hover { background: #701a26; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* Inline forms that exist only to POST a single action. */
.inline-form { display: inline; }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */

.form { max-width: 48rem; }
.form-section + .form-section {
    margin-top: var(--space-7);
    padding-top: var(--space-7);
    border-top: var(--rule-weight) solid var(--rule);
}
.form-section > h2,
.form-section > h3 { margin-bottom: var(--space-2); }
.form-section__intro {
    color: var(--ink-secondary);
    margin-bottom: var(--space-5);
    max-width: 65ch;
}

.field { margin-bottom: var(--space-5); }

.field > label,
.field > .field-label {
    display: block;
    font-weight: bold;
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
    color: var(--navy);
}

.field-hint {
    display: block;
    font-size: var(--text-sm);
    color: var(--ink-secondary);
    margin-bottom: var(--space-2);
    max-width: 70ch;
}

.field-required {
    color: var(--red);
    font-weight: bold;
}
.field-optional {
    font-weight: normal;
    color: var(--ink-secondary);
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: var(--space-3) var(--space-3);
    min-height: 46px;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--navy);
    background: var(--white);
    border: var(--rule-weight) solid var(--steel);
    border-radius: var(--radius);
    appearance: none;
}
textarea {
    min-height: 9rem;
    line-height: var(--leading-base);
    resize: vertical;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23486576' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    padding-right: var(--space-7);
}
select[multiple] {
    background-image: none;
    min-height: 10rem;
    padding-right: var(--space-3);
}

input:focus,
select:focus,
textarea:focus {
    outline: var(--focus-ring);
    outline-offset: 0;
    border-color: var(--navy);
}

input::placeholder,
textarea::placeholder { color: #8A9AA4; }

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--red);
    border-width: var(--rule-strong);
    background: #FEF8F9;
}

.field-error {
    display: block;
    margin-top: var(--space-2);
    color: var(--red-800);
    font-size: var(--text-sm);
    font-weight: bold;
}

input[type="file"] {
    width: 100%;
    padding: var(--space-3);
    border: var(--rule-weight) dashed var(--steel);
    background: var(--surface-quiet);
    font-size: var(--text-sm);
}

/* Checkboxes and radios keep a 24px hit target and a square mark. */
.check {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-3);
    border: var(--rule-weight) solid var(--rule-light);
    background: var(--white);
    cursor: pointer;
}
.check + .check { margin-top: var(--space-2); }
.check:hover { border-color: var(--steel); background: var(--surface-quiet); }
.check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--red);
}
.check__text { font-size: var(--text-base); }
.check__text strong { display: block; }
.check__text span {
    display: block;
    font-size: var(--text-sm);
    color: var(--ink-secondary);
}
.check--selected {
    border-color: var(--navy);
    border-width: var(--rule-strong);
    background: var(--surface-quiet);
}

.check-grid {
    display: grid;
    gap: var(--space-2);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.check-grid .check + .check { margin-top: 0; }

.field-row {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 var(--space-5);
}
legend {
    font-weight: bold;
    font-size: var(--text-base);
    color: var(--navy);
    padding: 0;
    margin-bottom: var(--space-2);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: var(--rule-weight) solid var(--rule);
}

/* The attestation block on the complaint form. Deliberately prominent:
   the filer is affirming the account is accurate. */
.attestation {
    border: var(--rule-strong) solid var(--navy);
    background: var(--surface-quiet);
    padding: var(--space-5);
}
.attestation h3 { margin-bottom: var(--space-3); }
.attestation .check {
    border-color: var(--navy);
    background: var(--white);
}

/* --------------------------------------------------------------------------
   10. Status labels
   -------------------------------------------------------------------------- */

/* Precise words, flat chips, square edges. The tone carries emphasis;
   the word carries the meaning. */
.status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.25rem var(--space-3);
    border: var(--rule-weight) solid var(--tone-neutral-rule);
    border-radius: var(--radius-chip);
    background: var(--tone-neutral-bg);
    color: var(--tone-neutral-fg);
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.status::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: currentColor;
}
.status--good {
    background: var(--tone-good-bg);
    color: var(--tone-good-fg);
    border-color: var(--tone-good-rule);
}
.status--warn {
    background: var(--tone-warn-bg);
    color: var(--tone-warn-fg);
    border-color: var(--tone-warn-rule);
}
.status--bad {
    background: var(--tone-bad-bg);
    color: var(--tone-bad-fg);
    border-color: var(--tone-bad-rule);
}
.status--plain::before { display: none; }
.status--lg { font-size: var(--text-sm); padding: var(--space-2) var(--space-3); }

/* The Association Member badge is reserved for current members. */
.member-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    border: var(--rule-strong) solid var(--navy);
    background: var(--surface-quiet);
    padding: var(--space-3) var(--space-4);
}
.member-badge img { width: 32px; }
.member-badge__text {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    color: var(--navy);
}
.member-badge__text span {
    display: block;
    color: var(--steel);
    letter-spacing: 0.04em;
}

/* A review line: the check, the result, and when it was reviewed.
   Every public review statement uses this shape. */
.review-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: var(--rule-weight) solid var(--rule);
}
.review-list > li {
    display: grid;
    gap: var(--space-2) var(--space-4);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding-block: var(--space-4);
    border-bottom: var(--rule-weight) solid var(--rule);
}
.review-list__name {
    font-weight: bold;
    color: var(--navy);
}
.review-list__meta {
    grid-column: 1 / -1;
    font-size: var(--text-sm);
    color: var(--ink-secondary);
}
.review-list__meta dl {
    display: grid;
    gap: var(--space-1) var(--space-4);
    grid-template-columns: auto 1fr;
    margin: var(--space-2) 0 0;
}
.review-list__meta dt {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.review-list__meta dd { margin: 0; }

/* --------------------------------------------------------------------------
   11. Cards and panels
   -------------------------------------------------------------------------- */

.card {
    background: var(--white);
    border: var(--rule-weight) solid var(--rule);
    border-top: var(--rule-accent) solid var(--navy);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.card--red { border-top-color: var(--red); }
.card--quiet { background: var(--surface-quiet); }
.card--flat { border-top-width: var(--rule-weight); }
.card h3 { margin: 0; }
.card p { margin: 0; }
.card__footer {
    margin-top: auto;
    padding-top: var(--space-3);
}

.card-link {
    text-decoration: none;
    color: inherit;
    transition: border-color 120ms ease, background-color 120ms ease;
}
.card-link:hover {
    border-color: var(--navy);
    background: var(--surface-quiet);
    color: inherit;
}
.card-link:hover h3 { color: var(--red-800); }

.panel {
    background: var(--surface-quiet);
    border: var(--rule-weight) solid var(--rule);
    padding: var(--space-5);
}
.panel--navy {
    background: var(--navy);
    color: var(--ink-inverse);
    border-color: var(--navy);
}
.panel--navy h2,
.panel--navy h3 { color: var(--warm-white); }
.panel--white { background: var(--white); }
.panel__header {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: var(--rule-weight) solid var(--rule);
}
.panel__header h2,
.panel__header h3 { margin: 0; }

/* Icon tiles for the five service areas in the brand asset package. */
.icon-tile {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    background: var(--white);
    border: var(--rule-weight) solid var(--rule);
    text-decoration: none;
    color: inherit;
}
.icon-tile:hover {
    border-color: var(--navy);
    background: var(--surface-quiet);
    color: inherit;
}
.icon-tile img,
.icon-tile svg { width: 40px; height: 40px; }
.icon-tile h3 {
    margin: 0;
    font-size: var(--text-lg);
}
.icon-tile p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--ink-secondary);
}
.icon-tile__more {
    margin-top: auto;
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red-800);
}

/* Compact statistic tiles for the staff dashboard. */
.stat-row {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.stat {
    border: var(--rule-weight) solid var(--rule);
    border-left: var(--rule-accent) solid var(--navy);
    background: var(--white);
    padding: var(--space-4);
}
.stat--attention { border-left-color: var(--red); }
.stat__value {
    font-size: var(--text-3xl);
    font-weight: bold;
    line-height: 1;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}
.stat__label {
    display: block;
    margin-top: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-secondary);
}
.stat a { text-decoration: none; }

/* Definition grid used on profiles and case pages. */
.detail-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 0;
}
.detail-grid > div {
    border-top: var(--rule-strong) solid var(--navy-100);
    padding-top: var(--space-3);
}
.detail-grid dt {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-secondary);
    margin-bottom: var(--space-1);
}
.detail-grid dd {
    margin: 0;
    font-size: var(--text-base);
    color: var(--navy);
}

/* --------------------------------------------------------------------------
   12. Tables
   -------------------------------------------------------------------------- */

.table-scroll {
    overflow-x: auto;
    border: var(--rule-weight) solid var(--rule);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    background: var(--white);
}
thead th {
    background: var(--navy);
    color: var(--warm-white);
    text-align: left;
    padding: var(--space-3);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
thead th a { color: var(--warm-white); }
tbody td,
tbody th {
    padding: var(--space-3);
    border-bottom: var(--rule-weight) solid var(--rule-light);
    text-align: left;
    vertical-align: top;
}
tbody th { font-weight: bold; }
tbody tr:last-child td,
tbody tr:last-child th { border-bottom: 0; }
tbody tr:hover { background: var(--surface-quiet); }
.table--fixed { table-layout: fixed; }
.table__num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.table__empty {
    padding: var(--space-7);
    text-align: center;
    color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   13. Directory
   -------------------------------------------------------------------------- */

.search-bar {
    background: var(--navy);
    padding: var(--space-5);
}
.search-bar form {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 48rem) {
    .search-bar form {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
        align-items: end;
    }
}
.search-bar label {
    display: block;
    color: var(--steel-300);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: bold;
    margin-bottom: var(--space-2);
}

.filter-panel {
    border: var(--rule-weight) solid var(--rule);
    background: var(--white);
}
.filter-panel > details {
    border-bottom: var(--rule-weight) solid var(--rule-light);
}
.filter-panel > details:last-child { border-bottom: 0; }
.filter-panel summary {
    padding: var(--space-4);
    font-weight: bold;
    cursor: pointer;
    font-size: var(--text-sm);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
}
.filter-panel summary::-webkit-details-marker { display: none; }
.filter-panel summary::after {
    content: "+";
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    color: var(--red);
}
.filter-panel details[open] summary::after { content: "\2212"; }
.filter-panel__body {
    padding: 0 var(--space-4) var(--space-4);
}
.filter-panel__body .check {
    border: 0;
    padding: var(--space-2) 0;
}
.filter-panel__body .check:hover { background: transparent; }

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border: var(--rule-weight) solid var(--navy);
    background: var(--white);
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: bold;
    color: var(--navy);
    text-decoration: none;
}
.filter-chip:hover { background: var(--navy); color: var(--warm-white); }
.filter-chip::after { content: "\00D7"; font-size: var(--text-base); }

.listing {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-5);
    border: var(--rule-weight) solid var(--rule);
    border-left: var(--rule-accent) solid var(--navy-100);
    background: var(--white);
}
.listing--member { border-left-color: var(--red); }
.listing + .listing { margin-top: var(--space-4); }
@media (min-width: 52rem) {
    .listing { grid-template-columns: minmax(0, 1fr) 240px; }
}
.listing__name {
    font-size: var(--text-xl);
    margin: 0 0 var(--space-1);
}
.listing__name a { text-decoration: none; color: var(--navy); }
.listing__name a:hover { color: var(--red-800); }
.listing__where {
    color: var(--ink-secondary);
    font-size: var(--text-sm);
    margin: 0 0 var(--space-3);
}
.listing__services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    margin: var(--space-3) 0 0;
    padding: 0;
}
.listing__services li {
    font-size: var(--text-xs);
    padding: 0.15rem var(--space-2);
    background: var(--navy-050);
    color: var(--steel);
}
.listing__reviews {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
}
@media (min-width: 52rem) {
    .listing__reviews {
        border-left: var(--rule-weight) solid var(--rule-light);
        padding-left: var(--space-4);
    }
}

.profile-header {
    background: var(--navy);
    color: var(--ink-inverse);
    padding-block: var(--space-7);
}
.profile-header h1 { color: var(--warm-white); margin-bottom: var(--space-2); }
.profile-header .lede { color: var(--steel-300); }

.result-count {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: bold;
    color: var(--navy);
}

/* --------------------------------------------------------------------------
   14. Case timeline and disputes
   -------------------------------------------------------------------------- */

.case-header {
    border: var(--rule-strong) solid var(--navy);
    background: var(--surface-quiet);
    padding: var(--space-5);
}
.case-number {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    color: var(--red-800);
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 var(--space-6);
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: var(--rule-strong);
    background: var(--navy-100);
}
.timeline > li {
    position: relative;
    padding-bottom: var(--space-5);
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
    content: "";
    position: absolute;
    left: calc(var(--space-6) * -1);
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: var(--rule-strong) solid var(--navy);
}
.timeline > li.is-current::before { background: var(--red); border-color: var(--red); }
.timeline__when {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-secondary);
    margin-bottom: var(--space-1);
}
.timeline__what { font-weight: bold; color: var(--navy); }
.timeline__note {
    margin: var(--space-1) 0 0;
    font-size: var(--text-sm);
    color: var(--ink-secondary);
}

/* A statement in a case. The author role is explicit on every one. */
.statement {
    border: var(--rule-weight) solid var(--rule);
    background: var(--white);
}
.statement + .statement { margin-top: var(--space-4); }
.statement__head {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--surface-quiet);
    border-bottom: var(--rule-weight) solid var(--rule);
}
.statement__who {
    font-weight: bold;
    font-size: var(--text-sm);
    color: var(--navy);
}
.statement__role {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-secondary);
}
.statement__body { padding: var(--space-4); }
.statement__body p:last-child { margin-bottom: 0; }
.statement--contractor { border-left: var(--rule-accent) solid var(--navy); }
.statement--complainant { border-left: var(--rule-accent) solid var(--steel-300); }
.statement--staff {
    border-left: var(--rule-accent) solid var(--red);
    background: var(--surface-quiet);
}
.statement--pending {
    border-style: dashed;
    background: var(--tone-warn-bg);
}

/* The standing disclaimer that must accompany published complaints. */
.program-notice {
    border: var(--rule-weight) solid var(--rule);
    border-left: var(--rule-accent) solid var(--steel);
    background: var(--surface-quiet);
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
    color: var(--steel);
}
.program-notice strong { color: var(--navy); }
.program-notice p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Alerts and callouts
   -------------------------------------------------------------------------- */

.alert {
    padding: var(--space-4) var(--space-5);
    border: var(--rule-weight) solid var(--tone-neutral-rule);
    border-left: var(--rule-accent) solid var(--steel);
    background: var(--tone-neutral-bg);
    color: var(--navy);
}
.alert + .alert { margin-top: var(--space-3); }
.alert p:last-child { margin-bottom: 0; }
.alert--success {
    background: var(--tone-good-bg);
    border-color: var(--tone-good-rule);
    border-left-color: var(--tone-good-fg);
    color: var(--tone-good-fg);
}
.alert--error {
    background: var(--tone-bad-bg);
    border-color: var(--tone-bad-rule);
    border-left-color: var(--red);
    color: var(--red-800);
}
.alert--warning {
    background: var(--tone-warn-bg);
    border-color: var(--tone-warn-rule);
    border-left-color: var(--tone-warn-fg);
    color: var(--tone-warn-fg);
}
.alert__title {
    display: block;
    font-weight: bold;
    margin-bottom: var(--space-1);
}

.error-summary {
    border: var(--rule-strong) solid var(--red);
    background: var(--tone-bad-bg);
    padding: var(--space-5);
    margin-bottom: var(--space-6);
}
.error-summary h2 {
    margin: 0 0 var(--space-3);
    font-size: var(--text-lg);
    color: var(--red-800);
}
.error-summary ul {
    margin: 0;
    padding-left: var(--space-5);
}
.error-summary a { color: var(--red-800); font-weight: bold; }

.callout {
    border: var(--rule-strong) solid var(--navy);
    padding: var(--space-6);
    background: var(--surface-quiet);
}
.callout--red {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}
.callout--red h2,
.callout--red h3 { color: var(--white); }

.empty-state {
    text-align: center;
    padding: var(--space-9) var(--space-5);
    border: var(--rule-weight) dashed var(--steel-300);
    background: var(--surface-quiet);
}
.empty-state h2 { font-size: var(--text-xl); }
.empty-state p {
    color: var(--ink-secondary);
    max-width: 50ch;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   16. Pagination, breadcrumbs, tabs
   -------------------------------------------------------------------------- */

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-7);
    list-style: none;
    padding: 0;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 var(--space-3);
    border: var(--rule-weight) solid var(--rule);
    background: var(--white);
    color: var(--navy);
    text-decoration: none;
    font-weight: bold;
    font-size: var(--text-sm);
}
.pagination a:hover { border-color: var(--navy); background: var(--surface-quiet); }
.pagination [aria-current="page"] {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--warm-white);
}
.pagination .is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.breadcrumbs {
    padding-block: var(--space-4);
    font-size: var(--text-sm);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.breadcrumbs li::after {
    content: "/";
    margin-left: var(--space-2);
    color: var(--steel-300);
}
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--steel); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: bold; }

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: var(--rule-strong) solid var(--navy);
    margin-bottom: var(--space-6);
}
.tabs a {
    padding: var(--space-3) var(--space-5);
    text-decoration: none;
    color: var(--steel);
    font-weight: bold;
    font-size: var(--text-sm);
    border: var(--rule-weight) solid transparent;
    border-bottom: 0;
    margin-bottom: calc(var(--rule-strong) * -1);
}
.tabs a:hover { color: var(--navy); background: var(--surface-quiet); }
.tabs a[aria-current="page"] {
    background: var(--navy);
    color: var(--warm-white);
}

/* Sidebar navigation for the portal and admin console. */
.side-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    border: var(--rule-weight) solid var(--rule);
    background: var(--white);
}
.side-nav li + li { border-top: var(--rule-weight) solid var(--rule-light); }
.side-nav a {
    display: block;
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    color: var(--navy);
    font-weight: bold;
    font-size: var(--text-sm);
    border-left: var(--rule-accent) solid transparent;
}
.side-nav a:hover { background: var(--surface-quiet); }
.side-nav a[aria-current="page"] {
    border-left-color: var(--red);
    background: var(--surface-quiet);
}
.side-nav__group {
    padding: var(--space-3) var(--space-4) var(--space-1);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-secondary);
    background: var(--surface-quiet);
}
.side-nav .count {
    float: right;
    font-family: var(--font-mono);
    background: var(--red);
    color: var(--white);
    padding: 0 var(--space-2);
    font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   17. Hero and section headers
   -------------------------------------------------------------------------- */

.hero {
    background: var(--navy);
    color: var(--ink-inverse);
    padding-block: var(--space-10);
}
.hero h1 {
    color: var(--warm-white);
    font-size: clamp(2.25rem, 5.5vw, var(--text-5xl));
    max-width: 24ch;
}
.hero .lede {
    color: var(--steel-300);
    font-size: var(--text-xl);
    max-width: 52ch;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.hero--red { background: var(--red); }
.hero--red .lede { color: rgba(255, 255, 255, 0.88); }
.hero--compact { padding-block: var(--space-8); }

.page-head {
    padding-block: var(--space-7) var(--space-5);
    border-bottom: var(--rule-strong) solid var(--navy);
    margin-bottom: var(--space-7);
}
.page-head h1 { margin-bottom: var(--space-3); }
.page-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    color: var(--ink-secondary);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}
.section-head h2 { margin: 0; }
.section-head__more {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   18. Utilities
   -------------------------------------------------------------------------- */

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-5 { margin-top: var(--space-5) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-7 { margin-top: var(--space-7) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.full-width { width: 100%; }
.measure { max-width: 65ch; }
.measure-narrow { max-width: 48ch; }

.flex-grow { flex: 1 1 auto; }
.ml-auto { margin-left: auto; }

.divider {
    height: var(--rule-weight);
    background: var(--rule);
    margin-block: var(--space-6);
}
.divider--strong {
    height: var(--rule-strong);
    background: var(--navy);
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */

@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .primary-nav,
    .header-utility,
    .form-actions,
    .pagination,
    .btn { display: none !important; }

    body {
        font-size: 11pt;
        color: #000;
        background: #fff;
    }
    .section { padding-block: 0; }
    .card,
    .panel,
    .statement {
        border: 1px solid #999;
        break-inside: avoid;
    }
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }
    .case-header { border: 2px solid #000; }
}
