@charset "utf-8";

:root {
    --font: "Onest", "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
    --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;

    /* Canvas & Surfaces */
    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-subtle: #f8fafd;
    --surface-muted: #edf2f9;
    --surface-dark: #0f172a;
    --surface-dark-2: #17233d;
    --sapphire-deep: #102559;
    --sapphire-mid: #1c3f99;
    --sapphire-bright: #2563eb;

    /* Ink & Lines (all body/secondary tones >= 5.2:1 on canvas & white) */
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #4b596f;
    --soft: #546378;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;

    /* Primary Portal / Brands (Sapphire) */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --primary-border: #bfdbfe;
    --primary-ink: #1e40af;

    /* Rankings (Midnight Navy & Champagne Gold) */
    --rank-bg: #0f172a;
    --rank-card: #19253f;
    --rank-gold: #f59e0b;
    --rank-gold-light: #fde68a;
    --rank-gold-soft: #fef3c7;
    --rank-gold-ink: #92400e;
    --rank-silver: #cbd5e1;
    --rank-bronze: #fb923c;

    /* Buying Guides (Emerald Jade — solid >= 5.48:1 with white text) */
    --guide: #047857;
    --guide-dark: #065f46;
    --guide-soft: #ecfdf5;
    --guide-border: #a7f3d0;
    --guide-ink: #065f46;

    /* Brand News (Coral Rose — solid >= 6.44:1 with white text) */
    --brand-news: #be123c;
    --brand-news-dark: #9f1239;
    --brand-news-soft: #fff1f2;
    --brand-news-border: #fecdd3;
    --brand-news-ink: #9f1239;

    /* Industry Wire (Indigo Pulse — solid >= 7.52:1 with white text) */
    --industry-news: #4338ca;
    --industry-news-dark: #3730a3;
    --industry-news-soft: #eef2ff;
    --industry-news-border: #c7d2fe;
    --industry-news-ink: #3730a3;

    /* FAQ Clinic (Warm Amber — solid >= 5.02:1 with white text) */
    --faq: #b45309;
    --faq-dark: #92400e;
    --faq-soft: #fffbeb;
    --faq-border: #fde68a;
    --faq-ink: #92400e;

    /* 6 Sector Spectrum */
    --sector-cobalt: #2563eb;
    --sector-cobalt-soft: #eff6ff;
    --sector-cobalt-ink: #1e40af;
    --sector-tangerine: #ea580c;
    --sector-tangerine-soft: #fff7ed;
    --sector-tangerine-ink: #9a3412;
    --sector-teal: #0d9488;
    --sector-teal-soft: #f0fdfa;
    --sector-teal-ink: #115e59;
    --sector-rose: #e11d48;
    --sector-rose-soft: #fff1f2;
    --sector-rose-ink: #9f1239;
    --sector-violet: #7c3aed;
    --sector-violet-soft: #f5f3ff;
    --sector-violet-ink: #5b21b6;
    --sector-sky: #0284c7;
    --sector-sky-soft: #f0f9ff;
    --sector-sky-ink: #075985;

    /* Feedback */
    --success-soft: #ecfdf5;
    --success-ink: #065f46;
    --danger: #dc2626;
    --danger-soft: #fef2f2;

    /* Elevation (declare ONCE: border OR shadow, never ghost cards) */
    --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-lift: 0 12px 28px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-popover: 0 16px 40px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(15, 23, 42, 0.06);

    /* Geometry & Motion */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --header-h: 68px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    scrollbar-color: #cbd5e1 transparent;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.7 var(--font);
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    caret-color: var(--primary);
}

::selection {
    background: #dbeafe;
    color: #1e3a8a;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    border: 2px solid transparent;
    background-clip: content-box;
}

main#content {
    flex: 1;
}

body, button, input, select, textarea {
    font-family: var(--font);
}

button, input, select, textarea {
    font-size: inherit;
    caret-color: var(--primary);
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

.icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.icon--inline {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: -2px;
}
.review-stars-svg {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--rank-gold);
}
.review-stars-svg .icon {
    width: 15px;
    height: 15px;
}

h1, h2, h3, h4, p, dl, dd, figure {
    margin: 0;
}

h1, h2, h3, h4 {
    line-height: 1.32;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

ol, ul {
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

.shell {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
    min-width: 0;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

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

.skip-link {
    position: fixed;
    left: 20px;
    top: -100px;
    z-index: 300;
    background: var(--ink);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2.5px solid var(--primary);
    outline-offset: 2px;
}

/* Shared editorial prose */
.prose {
    max-width: 70ch;
    overflow-wrap: anywhere;
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.9;
}
.prose p + p {
    margin-top: 1.1em;
}
.prose img {
    height: auto;
    margin: 1.4em 0;
    border-radius: var(--radius-md);
}
.prose a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}
.prose a:hover {
    color: var(--primary);
}
.prose h2 {
    margin: 2em 0 0.7em;
    color: var(--ink);
    font-size: 23px;
    font-weight: 750;
}
.prose h3 {
    margin: 1.6em 0 0.55em;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
}
.prose ul, .prose ol {
    padding-left: 1.5em;
    margin: 1em 0;
}
.prose li + li {
    margin-top: 0.45em;
}
.prose blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-family: var(--font-serif);
    font-size: 16px;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14px;
}
.prose th, .prose td {
    padding: 10px 14px;
    border: 1px solid var(--line);
    text-align: left;
}
.prose th {
    background: var(--surface-subtle);
    font-weight: 700;
    color: var(--ink);
}

/* Buttons */
.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14.5px;
    font-weight: 650;
    line-height: 1.3;
    transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.button:active {
    transform: translateY(1px);
}
.button--primary {
    background: var(--primary);
    color: #fff;
}
.button--primary:hover {
    background: var(--primary-dark);
}
.button--secondary {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink);
}
.button--secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.text-link:hover {
    color: var(--primary);
}

/* Status notices & errors */
.global-notice,
.form-errors {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
}
.global-notice {
    background: var(--success-soft);
    border: 1px solid var(--guide-border);
    color: var(--success-ink);
}
.form-errors {
    background: var(--danger-soft);
    border: 1px solid #fecaca;
    color: #991b1b;
    list-style-position: inside;
}
.errors {
    color: var(--danger);
}

/* Empty states */
.empty-state {
    grid-column: 1 / -1;
    padding: 44px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
    color: var(--muted);
}
.empty-state > .icon {
    margin: 0 auto 12px;
    width: 30px;
    height: 30px;
    color: var(--primary);
}
.empty-state h2,
.empty-state h3 {
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
}
.empty-state p {
    margin: 8px auto 18px;
    max-width: 480px;
    font-size: 14px;
}
.empty-state a:not(.button) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-dark);
    font-weight: 650;
}
.empty-state a:not(.button):hover {
    color: var(--primary);
}

.quiet-empty {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--surface-subtle);
    color: var(--muted);
    font-size: 14px;
}
.quiet-empty a {
    color: var(--primary-dark);
    font-weight: 600;
    margin-left: 6px;
}

/* Live autocomplete popover */
.brand-search__results {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-popover);
    max-height: 340px;
    overflow-y: auto;
    color: var(--ink);
    text-align: left;
}
.brand-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.14s var(--ease-out);
}
.brand-search-result:hover,
.brand-search-result.is-active {
    background: var(--primary-soft);
}
.brand-search-result span:first-child {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 750;
    font-size: 14px;
    flex: 0 0 auto;
}
.brand-search-result strong {
    font-size: 14.5px;
    font-weight: 650;
    color: var(--ink);
}
.brand-search-result small {
    margin-left: auto;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
}

/* Optional CMS hero banner slot */
.site-banner {
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.site-banner a {
    display: block;
}
.site-banner img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
}
.site-banner strong,
.site-banner span {
    display: block;
    padding-inline: 20px;
}
.site-banner strong {
    margin-top: 12px;
    font-size: 16px;
    color: var(--ink);
}
.site-banner span {
    margin-top: 4px;
    padding-bottom: 14px;
    font-size: 13.5px;
    color: var(--muted);
}

/* Section heading */
.portal-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.portal-section-heading h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 780;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.heading-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--primary-soft);
    color: var(--primary);
}
.heading-mark .icon {
    width: 16px;
    height: 16px;
}
.section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 999px;
    transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}
.section-more:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}
.section-more .icon {
    width: 15px;
    height: 15px;
}

/* Shared Brand Showcase Tile (used on Homepage, /brands, /brand, /industry, Article sidebars) */
.brand-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 14px 15px;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    min-width: 0;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.brand-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}
.brand-tile__logo {
    width: 100%;
    height: 68px;
    display: grid;
    place-items: center;
    padding: 10px 12px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid var(--line);
    margin-bottom: 12px;
    overflow: hidden;
}
.brand-tile__logo img {
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.brand-typemark {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--primary-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.brand-tile__name {
    font-size: 14.5px;
    font-weight: 720;
    color: var(--ink);
    line-height: 1.35;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-tile:hover .brand-tile__name {
    color: var(--primary-dark);
}
.brand-sector {
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-size: 11.5px;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pagination */
.pagination,
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.pagination a,
.pagination span,
.pager a,
.pager span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    transition: border-color 0.16s var(--ease-out), color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}
.pagination a:hover,
.pager a:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
}
.pagination span {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}

/* Forms & filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface-subtle);
    border: 1px solid var(--line);
}
.filters label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}
.filters select,
.filters input,
.long-form input,
.long-form select,
.long-form textarea {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: var(--surface);
    color: var(--ink);
    transition: border-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}
.filters select:focus,
.filters input:focus,
.long-form input:focus,
.long-form select:focus,
.long-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.filters button {
    min-height: 42px;
    padding: 9px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-weight: 650;
    transition: background-color 0.16s var(--ease-out);
}
.filters button:hover {
    background: var(--primary-dark);
}
.filters > a {
    padding: 10px 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}
.filters > a:hover {
    color: var(--primary-dark);
}

.long-form {
    display: grid;
    gap: 20px;
}
.long-form label {
    display: grid;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--ink);
}
.long-form textarea {
    min-height: 132px;
    resize: vertical;
}
.long-form small {
    color: var(--muted);
    font-weight: 450;
    font-size: 12px;
}
.long-form input[type="checkbox"] {
    min-height: 0;
    width: auto;
}
.long-form fieldset {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-subtle);
}

.page-body {
    padding-block: 32px 68px;
}
.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.page-toolbar h2 {
    font-size: 20px;
    font-weight: 750;
}
.page-toolbar > span {
    color: var(--muted);
    font-size: 13px;
}

/* Application forms (entry / claim) */
.application-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 32px;
    align-items: start;
}
.application-main {
    min-width: 0;
}
.form-section {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.form-section__heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.form-section__heading > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
}
.form-section__heading h2 {
    font-size: 18px;
    font-weight: 750;
}
.form-section__heading p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}
.form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.form-fields > label {
    min-width: 0;
}
.form-fields input,
.form-fields select,
.form-fields textarea {
    width: 100%;
    min-width: 0;
}
.form-fields input[type="file"] {
    padding: 9px;
    background: var(--surface-subtle);
}
.form-fields select[multiple] {
    min-height: 130px;
}
.form-fields > label:has(textarea),
.form-fields > label:has(select[multiple]),
.form-fields > fieldset {
    grid-column: 1 / -1;
}
.form-fields fieldset > legend {
    padding: 0 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}
.contact-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.contact-fields:last-child {
    border-bottom: 0;
}
.contact-fields > button,
.form-fields fieldset > [data-add-row] {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}
.form-fields fieldset > [data-add-row] {
    margin-top: 14px;
}
.form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
}
.form-submit p {
    color: var(--primary-ink);
    font-size: 13.5px;
    font-weight: 500;
}
.claim-search {
    margin-bottom: 22px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.industry-search {
    width: min(460px, 100%);
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 5px 5px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
}
.industry-search > .icon {
    color: var(--soft);
}
.industry-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
}
.industry-search input:focus-visible {
    outline: 0;
}
.industry-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.industry-search button {
    align-self: stretch;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 650;
}
.industry-search--wide {
    width: 100%;
    max-width: 640px;
}

.application-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 18px;
}
.application-sidebar > section {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.application-sidebar h2 {
    font-size: 17px;
    font-weight: 750;
}
.application-sidebar ol {
    list-style: none;
    display: grid;
    gap: 16px;
    margin-top: 16px;
}
.application-sidebar li {
    display: flex;
    gap: 12px;
}
.application-sidebar li > span {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 11.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-top: 2px;
}
.application-sidebar li strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}
.application-sidebar li p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.65;
}
.application-sidebar > .application-help {
    background: var(--surface-dark);
    color: #fff;
}
.application-help h2 {
    color: #fff;
}
.application-help p {
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}
.application-help a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 9px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
}
.application-help a:hover {
    background: var(--primary);
}

@media (max-width: 960px) {
    .shell {
        width: min(100% - 32px, 1280px);
    }
    .application-layout {
        grid-template-columns: 1fr;
    }
    .application-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 76px;
    }
    .shell {
        width: calc(100% - 28px);
    }
    .form-fields {
        grid-template-columns: 1fr;
    }
    .form-fields > label:has(textarea),
    .form-fields > label:has(select[multiple]),
    .form-fields > fieldset {
        grid-column: auto;
    }
    .contact-fields {
        grid-template-columns: 1fr;
    }
    .form-submit {
        flex-direction: column;
        align-items: stretch;
    }
    .application-sidebar {
        grid-template-columns: 1fr;
    }
    .filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .filters select,
    .filters input {
        width: 100%;
        min-width: 0;
    }
}

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