:root {
    --ink: #15212f;
    --muted: #5d6b7a;
    --line: #dbe2ea;
    --panel: #ffffff;
    --soft: #f4f7fa;
    --accent: #0b6f85;
    --accent-strong: #084f60;
    --gold: #d59b28;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 5vw;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1264f4;
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
}

.nav-item {
    position: static;
}

.nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 72px;
    padding: 0 12px;
    color: inherit;
    font: inherit;
    font-weight: 700;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.nav-trigger::after {
    width: 6px;
    height: 6px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.mega-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 46px;
    padding: 34px 8vw 42px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(21, 33, 47, 0.08);
    z-index: 110;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.nav-open .mega-menu {
    display: grid;
}

.mega-menu.compact {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-width: 760px;
    left: 5vw;
    right: auto;
}

.mega-menu h3 {
    margin: 0 0 16px;
    color: #8292a5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.mega-menu a {
    display: block;
    margin: 0 0 12px;
    color: #12324a;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.mega-menu a:hover,
.nav-trigger:hover {
    color: #1264f4;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.menu-toggle > span,
.menu-toggle > span::before,
.menu-toggle > span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle > span {
    position: relative;
    margin: 0 auto;
}

.menu-toggle > span::before {
    position: absolute;
    top: -6px;
}

.menu-toggle > span::after {
    position: absolute;
    top: 6px;
}

.site-header.menu-open .menu-toggle > span {
    background: transparent;
}

.site-header.menu-open .menu-toggle > span::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle > span::after {
    top: 0;
    transform: rotate(-45deg);
}

.header-actions .search-link {
    font-size: 14px;
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .site-header {
        gap: 14px;
        padding-right: 3vw;
        padding-left: 3vw;
    }

    .nav-links {
        gap: 10px;
        font-size: 14px;
    }

    .nav-links > a,
    .nav-trigger {
        padding-right: 7px;
        padding-left: 7px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-actions .button {
        padding-right: 14px;
        padding-left: 14px;
        white-space: nowrap;
    }
}

.login-link,
.search-link {
    color: #1264f4;
    font-weight: 700;
    text-decoration: none;
}

.search-link {
    display: inline-grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #12324a;
    place-items: center;
    border-radius: 50%;
}

.search-link:hover {
    color: #1264f4;
    background: var(--soft);
}

.search-link > span {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.search-link > span::after {
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: rotate(45deg);
}

.nav-links a {
    text-decoration: none;
}

.nav-links > a {
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.nav-links > a[aria-current="page"],
.nav-trigger[aria-current="page"] {
    color: #1264f4;
    background: #f4f7fa;
    border-color: #aebdca;
}

.nav-links > a:focus,
.nav-trigger:focus {
    outline: none;
}

.nav-links > a:focus-visible,
.nav-trigger:focus-visible {
    outline: 3px solid rgba(18, 100, 244, 0.22);
    outline-offset: 2px;
}

.mega-menu a[aria-current="page"],
.header-actions a[aria-current="page"] {
    color: #1264f4;
}

.nav-cta {
    padding: 10px 16px;
    color: #fff;
    background: var(--accent);
    border-radius: 6px;
}

.header-actions .button[aria-current="page"] {
    color: #fff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 48px;
    min-height: 680px;
    padding: 72px 6vw;
    background:
        linear-gradient(115deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 52%, rgba(226,235,242,0.78) 100%),
        repeating-linear-gradient(90deg, rgba(11,111,133,0.09) 0 1px, transparent 1px 84px),
        repeating-linear-gradient(0deg, rgba(11,111,133,0.07) 0 1px, transparent 1px 84px),
        linear-gradient(135deg, #eef3f7, #d7e4eb);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: 72px;
    line-height: 1.05;
}

h2 {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.18;
}

h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.hero-text {
    max-width: 720px;
    color: #304253;
    font-size: 20px;
}

.button-row,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--accent);
}

.button.primary:hover,
.nav-cta:hover {
    background: var(--accent-strong);
}

.button.secondary {
    color: var(--accent-strong);
    background: #fff;
}

.button.danger {
    color: #8a1f2d;
    background: #fff;
    border-color: #d89aa4;
}

.button.danger:hover,
.button.danger:focus-visible {
    color: #fff;
    background: #a52b3a;
    border-color: #a52b3a;
}

.file-types {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.quote-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(21, 33, 47, 0.16);
}

.quote-card span {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.quote-card strong {
    display: block;
    margin: 6px 0 20px;
    font-size: 26px;
}

.quote-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.quote-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.quote-card dt {
    color: var(--muted);
}

.quote-card dd {
    margin: 0;
    font-weight: 800;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-strip div {
    padding: 28px 6vw;
    border-right: 1px solid var(--line);
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    font-size: 28px;
}

.trust-strip span {
    color: var(--muted);
}

.section,
.process-band,
.contact-band,
.quote-layout,
.page-hero {
    padding: 72px 6vw;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-heading p,
.split p,
.contact-band p,
.page-hero p,
.success-panel p {
    color: var(--muted);
}

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

.service-card {
    min-height: 230px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-card p {
    color: var(--muted);
}

.service-card a {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent-strong);
    font-weight: 800;
}

.process-band {
    background: var(--soft);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.steps div {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.steps span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    color: #fff;
    background: var(--gold);
    border-radius: 50%;
    font-weight: 800;
}

.steps p {
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

.quality-list {
    display: grid;
    gap: 12px;
}

.quality-list div {
    padding: 18px;
    background: var(--soft);
    border-left: 4px solid var(--accent);
}

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    background: #203040;
}

.contact-band .eyebrow,
.contact-band p {
    color: #dce6ef;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 6vw;
    color: #dce6ef;
    background: #1b3b66;
}

.site-footer-enhanced {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(220px, 0.8fr) minmax(180px, 0.65fr);
}

.site-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.site-footer-logo {
    width: 86px;
    height: 100px;
    padding: 6px;
    object-fit: contain;
    object-position: top center;
    background: #fff;
    border-radius: 6px;
}

.site-footer-brand strong,
.site-footer-contact strong,
.site-footer-links strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
}

.site-footer-contact,
.site-footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.site-footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0;
    color: #91a6c4 !important;
    line-height: 0;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transform: translateY(-1px);
}

.social-icon-svg {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    overflow: visible;
}

/* The Facebook mark has a lower visual center than the other brand marks. */
.social-icon-facebook .social-icon-svg {
    transform: translateY(-2px);
}

.social-icon-youtube-play {
    fill: #1b3b66;
}

.site-footer p {
    max-width: 520px;
    color: #aebdcc;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    text-decoration: none;
}

.page-hero {
    background: var(--soft);
}

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 42px;
    padding: 72px 6vw;
    background:
        linear-gradient(115deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 58%, rgba(226,235,242,0.8) 100%),
        repeating-linear-gradient(90deg, rgba(11,111,133,0.08) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(11,111,133,0.06) 0 1px, transparent 1px 72px),
        linear-gradient(135deg, #eef3f7, #d7e4eb);
}

.service-hero h1 {
    font-size: clamp(40px, 7vw, 68px);
}

.capability-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(21, 33, 47, 0.14);
}

.capability-panel span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.capability-panel strong {
    display: block;
    margin: 8px 0 20px;
    font-size: 24px;
    line-height: 1.25;
}

.capability-panel dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.capability-panel dl div {
    padding: 14px;
    background: var(--soft);
    border-radius: 6px;
}

.capability-panel dt {
    color: var(--muted);
    font-size: 13px;
}

.capability-panel dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.jump-nav {
    position: sticky;
    top: 72px;
    z-index: 8;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 6vw;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.jump-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: var(--accent-strong);
    background: var(--soft);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.content-section {
    padding: 72px 6vw;
}

.content-section.soft {
    background: var(--soft);
}

.campaign-poster-band {
    padding: 72px 6vw;
    background: #e8eff0;
}

.campaign-poster-inner {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

.campaign-poster-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.campaign-poster-link img,
.campaign-poster-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 22px 48px rgba(21, 33, 47, 0.18);
}

.campaign-poster-link:focus-visible {
    outline: 4px solid rgba(18, 100, 244, 0.38);
    outline-offset: 6px;
}

.campaign-poster-copy {
    max-width: 650px;
}

.campaign-poster-copy h2,
.campaign-poster-wide-heading h2 {
    margin-bottom: 18px;
}

.campaign-poster-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.campaign-poster-dark {
    color: #fff;
    background: #203746;
}

.campaign-poster-dark .eyebrow {
    color: #8dd0d3;
}

.campaign-poster-dark .campaign-poster-copy > p:not(.eyebrow) {
    color: #d4e2e6;
}

.campaign-poster-dark .button.secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.62);
}

.campaign-poster-portrait .campaign-poster-link {
    width: min(100%, 540px);
}

.campaign-poster-wide .campaign-poster-inner {
    display: block;
    max-width: 1420px;
}

.campaign-poster-wide-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.campaign-poster-wide-heading > div:first-child {
    max-width: 790px;
}

.campaign-poster-wide-heading .button-row {
    justify-content: flex-end;
    margin: 0;
}

.campaign-poster-wide .campaign-poster-link img,
.campaign-poster-wide .campaign-poster-image {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #15212f;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-grid div {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-grid p {
    color: var(--muted);
}

.comparison-table {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-grid span {
    padding: 10px 13px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.faq-list summary {
    font-weight: 800;
    cursor: pointer;
}

.faq-list p {
    margin: 12px 0 0;
    color: var(--muted);
}

.page-hero h1 {
    max-width: 860px;
    font-size: clamp(36px, 6vw, 58px);
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
}

.quote-form,
.quote-side,
.success-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    font: inherit;
    border: 1px solid #c7d1dc;
    border-radius: 6px;
}

textarea {
    resize: vertical;
}

.field-note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

.form-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #8b1e13;
    background: #fff1ee;
    border: 1px solid #f0b5ac;
    border-radius: 6px;
}

.form-success {
    margin-bottom: 14px;
    padding: 11px 13px;
    color: #15543d;
    background: #eaf8f1;
    border: 1px solid #a8d7c3;
    border-radius: 6px;
}

.quote-side ul {
    padding-left: 20px;
    color: var(--muted);
}

.contact-box {
    display: grid;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.contact-box a {
    color: var(--accent-strong);
    font-weight: 800;
}

.quote-contact-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.quote-contact-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.quote-contact-brand strong {
    color: var(--ink);
    font-size: 20px;
}

.quote-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.quote-contact-socials a {
    font-size: 13px;
}

.quote-contact-socials .social-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-strong) !important;
}

.quote-contact-socials .social-icon:hover,
.quote-contact-socials .social-icon:focus-visible {
    color: #fff !important;
    background: var(--accent);
}

.quote-contact-socials .social-icon-svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.quote-contact-socials .social-icon-facebook .social-icon-svg {
    transform: translateY(-1px);
}

.quote-contact-socials .social-icon-youtube-play {
    fill: #fff;
}

.quote-contact-socials .social-icon-youtube:hover .social-icon-youtube-play,
.quote-contact-socials .social-icon-youtube:focus-visible .social-icon-youtube-play {
    fill: var(--accent);
}

.submission-contact {
    max-width: 760px;
    margin-top: 26px;
    padding: 22px 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.submission-contact .quote-contact-brand {
    margin-bottom: 8px;
}

.submission-contact p {
    margin: 0 0 12px;
    color: var(--muted);
}

.submission-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.submission-contact-links a {
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.center-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 72px);
    padding: 48px 6vw;
    background: var(--soft);
}

.success-panel {
    max-width: 620px;
    text-align: center;
}

.admin-section {
    padding: 42px 6vw 72px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stats div {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-stats strong {
    display: block;
    margin-bottom: 6px;
    font-size: 28px;
}

.admin-stats span {
    color: var(--muted);
    font-size: 14px;
}

.admin-panel {
    margin-bottom: 28px;
}

.admin-panel h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

th {
    color: #fff;
    background: #203040;
    font-size: 14px;
}

td span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.empty-state {
    padding: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.kb-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px) 220px;
    gap: 34px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 28px 80px;
}

.kb-sidebar,
.kb-toc {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.kb-sidebar {
    padding-right: 18px;
    border-right: 1px solid var(--line);
}

.kb-sidebar h3,
.kb-toc h3 {
    margin: 20px 0 12px;
    font-size: 15px;
}

.kb-sidebar a,
.kb-toc a {
    display: block;
    margin-bottom: 10px;
    color: #21445f;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.kb-sidebar a.active {
    color: #1264f4;
    font-weight: 800;
}

.kb-article h1 {
    max-width: none;
    font-size: 30px;
    line-height: 1.18;
}

.kb-article h2 {
    margin-top: 34px;
    font-size: 26px;
}

.kb-article p,
.kb-article li {
    color: #17364f;
    font-size: 17px;
}

.article-meta {
    color: var(--muted);
    font-size: 13px;
}

blockquote {
    margin: 24px 0 14px;
    padding-left: 18px;
    border-left: 6px solid #c7d1dc;
}

/* Admin management center */
.admin-body {
    min-width: 320px;
    background: #f3f6f8;
}

.admin-body .button.small {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 13px;
}

.delete-form {
    display: inline-flex;
    margin: 0;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.admin-row-actions .delete-form {
    flex: 0 0 auto;
}

.admin-login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 36px 20px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.97), rgba(234, 241, 244, 0.93)),
        repeating-linear-gradient(90deg, rgba(11, 111, 133, 0.08) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(11, 111, 133, 0.06) 0 1px, transparent 1px 72px);
}

.admin-login-panel {
    width: min(100%, 460px);
    padding: 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(21, 33, 47, 0.12);
}

.admin-login-panel .brand {
    display: inline-flex;
    margin-bottom: 38px;
}

.admin-login-panel h1 {
    margin: 0 0 8px;
    font-size: 36px;
}

.admin-login-panel > p:not(.eyebrow) {
    margin: 0 0 26px;
    color: var(--muted);
}

.admin-login-form,
.admin-settings-form {
    display: grid;
    gap: 18px;
}

.admin-login-form label,
.admin-settings-form label,
.admin-filters label {
    display: grid;
    gap: 7px;
    color: #294258;
    font-size: 13px;
    font-weight: 800;
}

.admin-login-form input,
.admin-settings-form input,
.admin-filters input,
.admin-filters select,
.status-form select,
.admin-content-form input,
.admin-content-form select,
.admin-content-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    color: var(--ink);
    font: inherit;
    background: #fff;
    border: 1px solid #bfcbd5;
    border-radius: 5px;
}

.admin-login-form input:focus,
.admin-settings-form input:focus,
.admin-filters input:focus,
.admin-filters select:focus,
.status-form select:focus,
.admin-content-form input:focus,
.admin-content-form select:focus,
.admin-content-form textarea:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(11, 111, 133, 0.14);
}

.admin-back-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--accent-strong);
    font-weight: 700;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 10px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.admin-topbar > div,
.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-topbar .brand {
    font-size: 22px;
}

.admin-topbar > div > span {
    padding-left: 14px;
    color: var(--muted);
    border-left: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-topbar-actions > span {
    color: var(--muted);
    font-size: 13px;
}

.admin-topbar-actions form {
    margin: 0;
}

.admin-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: calc(100vh - 68px);
}

.admin-sidebar {
    position: sticky;
    top: 68px;
    align-self: start;
    display: grid;
    gap: 4px;
    min-height: calc(100vh - 68px);
    padding: 24px 14px;
    background: #172b3b;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 9px 12px;
    color: #d7e1e8;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: #fff;
    background: #0b6f85;
}

.admin-sidebar a span {
    min-width: 25px;
    padding: 1px 7px;
    color: #17364f;
    background: #fff;
    border-radius: 12px;
    font-size: 11px;
    text-align: center;
}

.admin-main {
    min-width: 0;
    padding: 34px clamp(18px, 3vw, 44px) 64px;
}

.admin-page-heading,
.admin-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-page-heading {
    margin-bottom: 26px;
}

.admin-page-heading h1 {
    margin: 0 0 6px;
    font-size: 34px;
}

.admin-page-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
}

.admin-alert {
    display: grid;
    gap: 3px;
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #15543d;
    background: #eaf8f1;
    border: 1px solid #a8d7c3;
    border-radius: 5px;
}

.admin-alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.admin-alert.error {
    color: #7a2525;
    background: #fff0f0;
    border-color: #e7b4b4;
}

.admin-alert.warning {
    color: #6b4c0b;
    background: #fff8e5;
    border-color: #e4ca80;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.admin-stat-grid a {
    min-height: 112px;
    padding: 18px;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
}

.admin-stat-grid a:hover {
    border-color: #8eb7c3;
    box-shadow: 0 8px 24px rgba(21, 33, 47, 0.07);
}

.admin-stat-grid a.review-queue {
    border-top-color: #c58a19;
}

.admin-stat-grid a.review-queue strong {
    color: #704e00;
}

.admin-stat-grid strong {
    display: block;
    margin-bottom: 9px;
    font-size: 28px;
    line-height: 1;
}

.admin-stat-grid span {
    color: var(--muted);
    font-size: 13px;
}

.admin-review-queue {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #fffaf0;
    border: 1px solid #e4ca80;
    border-left: 4px solid #c58a19;
    border-radius: 6px;
}

.admin-review-queue > div {
    display: grid;
    gap: 3px;
    min-width: 120px;
}

.admin-review-queue > div strong {
    color: #704e00;
    font-size: 24px;
    line-height: 1;
}

.admin-review-queue > div span,
.review-queue-note {
    color: var(--muted);
    font-size: 13px;
}

.review-queue-note {
    margin-left: auto;
}

.admin-line-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.admin-line-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-right: 1px solid var(--line);
}

.admin-line-stats div:last-child {
    border-right: 0;
}

.admin-line-stats span {
    color: var(--muted);
    font-size: 13px;
}

.admin-line-stats strong {
    font-size: 21px;
}

.admin-dashboard-grid,
.admin-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 20px;
}

.admin-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-body .admin-panel {
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.admin-panel-heading {
    align-items: center;
    margin-bottom: 16px;
}

.admin-body .admin-panel h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.admin-panel-heading h2 {
    margin-bottom: 0 !important;
}

.admin-panel-heading a,
.admin-table a {
    color: var(--accent-strong);
    font-weight: 700;
}

.admin-body .table-wrap {
    border-radius: 5px;
}

.admin-table {
    min-width: 1120px;
    font-size: 13px;
}

.admin-table.compact {
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 11px 12px;
}

.admin-table th {
    color: #dce8ed;
    background: #203746;
    font-size: 12px;
    white-space: nowrap;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table td > strong,
.admin-table td > a {
    display: block;
}

.admin-table td > a {
    overflow-wrap: anywhere;
}

.admin-table td span {
    margin-top: 3px;
}

.admin-ranking {
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-ranking li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.admin-ranking li:last-child {
    border-bottom: 0;
}

.admin-ranking strong {
    color: var(--accent-strong);
}

.admin-subheading {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.status-badge {
    display: inline-block !important;
    width: max-content;
    margin: 0 !important;
    padding: 3px 8px;
    color: #244353 !important;
    background: #edf2f5;
    border-radius: 12px;
    font-size: 11px !important;
    font-weight: 800;
}

.status-badge.new,
.status-badge.reviewing {
    color: #704e00 !important;
    background: #fff1c9;
}

.status-badge.quoted,
.status-badge.approved,
.status-badge.active {
    color: #15543d !important;
    background: #dff4e9;
}

.status-form {
    display: grid;
    gap: 7px;
    min-width: 118px;
}

.status-form select {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 12px;
}

.record-details summary {
    color: var(--accent-strong);
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
}

.record-details[open] {
    min-width: 260px;
}

.record-details dl {
    margin: 10px 0 0;
    padding: 12px;
    background: var(--soft);
    border-radius: 5px;
}

.record-details dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.record-details dd {
    margin: 0 0 9px;
    white-space: normal;
}

.record-details dd:last-child {
    margin-bottom: 0;
}

.admin-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 210px)) auto auto;
    align-items: end;
    gap: 12px;
}

.admin-result-count {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.admin-pagination a {
    padding: 8px 13px;
    color: var(--accent-strong);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
}

.admin-pagination span {
    color: var(--muted);
    font-size: 13px;
}

.admin-settings-form {
    max-width: 520px;
}

.compact-hero {
    padding-bottom: 44px;
}

.search-section {
    padding-top: 34px;
}

.service-search-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 18px;
    max-width: 840px;
    margin: 0 auto 32px;
}

.service-search-toolbar label {
    grid-column: 1 / -1;
    color: #294258;
    font-size: 13px;
    font-weight: 800;
}

.service-search-toolbar input {
    min-height: 52px;
    padding: 11px 14px;
    color: var(--ink);
    font: inherit;
    background: #fff;
    border: 1px solid #aebdca;
    border-radius: 6px;
}

.service-search-toolbar input:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(11, 111, 133, 0.14);
}

.service-search-toolbar span {
    align-self: center;
    min-width: 96px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

.service-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-directory-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: 6px;
}

.service-directory-card > span {
    color: #6b7f8e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-directory-card h2 {
    margin: 8px 0 10px;
    font-size: 22px;
}

.service-directory-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.service-directory-card a {
    margin-top: auto;
    color: var(--accent-strong);
    font-weight: 800;
}

.account-form-panel {
    width: min(100%, 560px);
}

.account-form-panel > p:not(.eyebrow),
.account-switch {
    color: var(--muted);
}

.account-switch a {
    color: var(--accent-strong);
    font-weight: 800;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 28px 72px;
}

.account-profile {
    align-self: start;
    padding: 22px;
    background: var(--soft);
    border-left: 4px solid var(--accent);
}

.account-profile h2,
.account-heading h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.account-profile dl {
    margin: 0 0 24px;
}

.account-profile dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-profile dd {
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.account-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.account-request-list {
    display: grid;
    gap: 10px;
}

.account-request-list article {
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(260px, 2fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.account-request-list article > div:first-child strong,
.account-request-list article > div:first-child span {
    display: block;
}

.account-request-list article > div:first-child span,
.account-request-list p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.account-request-list h3 {
    margin: 0;
    font-size: 17px;
}

/* Community and content center */
.community-hero {
    padding-bottom: 64px;
}

.community-hero h1 {
    max-width: 940px;
}

.community-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.announcement-panel,
.product-panel {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.section-inline-heading,
.section-heading-with-action {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.section-inline-heading {
    align-items: center;
    margin-bottom: 18px;
}

.section-inline-heading h3 {
    margin: 0;
    font-size: 22px;
}

.section-inline-heading span,
.content-kicker {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.announcement-list {
    display: grid;
    gap: 16px;
}

.announcement-list article {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.announcement-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.announcement-list h3 {
    margin: 7px 0 5px;
    font-size: 18px;
}

.announcement-list p,
.product-card p,
.community-post-card p {
    color: var(--muted);
}

.announcement-list details {
    margin-top: 9px;
}

.announcement-list summary,
.record-details summary {
    color: var(--accent-strong);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.rich-text {
    overflow-wrap: anywhere;
    white-space: normal;
}

.announcement-list .rich-text {
    margin-top: 10px;
    color: var(--ink);
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
    object-fit: cover;
    background: #fff;
    border-radius: 4px;
}

.product-card h3,
.community-post-card h3 {
    margin: 7px 0 6px;
    font-size: 19px;
    line-height: 1.25;
}

.product-card p {
    margin: 0 0 12px;
    font-size: 14px;
}

.product-details {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
}

.product-details summary {
    cursor: pointer;
}

.product-details .rich-text {
    margin-top: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}

.product-card a,
.post-document {
    margin-top: auto;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.content-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.content-filter a {
    padding: 8px 12px;
    color: var(--accent-strong);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.content-filter a.active,
.content-filter a:hover {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.community-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.community-post-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.post-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--soft);
}

.post-card-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
}

.post-byline {
    margin: 0 0 14px;
    font-size: 13px;
}

.community-post-card .rich-text {
    margin-top: auto;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
}

.community-comments {
    padding: 16px 20px 20px;
    background: #f6f8fa;
    border-top: 1px solid var(--line);
}

.admin-author-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 7px;
    color: #704e00;
    background: #fff1c9;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.comments-heading,
.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comments-heading h4 {
    margin: 0;
    font-size: 15px;
}

.comments-heading span,
.comment-meta time,
.empty-comments {
    color: var(--muted);
    font-size: 12px;
}

.comment-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.comment-item {
    padding: 11px 12px;
    background: #fff;
    border-left: 3px solid var(--accent);
}

.comment-meta strong {
    font-size: 13px;
}

.comment-item p {
    margin: 7px 0 0;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.empty-comments {
    margin: 10px 0 0 !important;
}

.comment-form {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.comment-form textarea {
    width: 100%;
    min-height: 82px;
    padding: 10px 11px;
    color: var(--ink);
    font: inherit;
    resize: vertical;
    background: #fff;
    border: 1px solid #aebdca;
    border-radius: 5px;
}

.comment-form textarea:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(11, 111, 133, 0.14);
}

.comment-form .button {
    justify-self: start;
}

.comment-login-prompt {
    margin: 12px 0 0 !important;
    color: var(--muted);
    font-size: 13px;
}

.comment-login-prompt a {
    color: var(--accent-strong);
    font-weight: 800;
}

.resource-comments-section {
    border-top: 1px solid var(--line);
}

.resource-comment-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin-top: 20px;
}

.resource-comment-list .comment-item {
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
}

.resource-comment-form {
    max-width: 760px;
    margin-top: 24px;
    padding: 20px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.resource-comment-form label {
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.community-auth-gate {
    max-width: 720px;
    padding: 24px;
    background: var(--soft);
    border-left: 4px solid var(--accent);
}

.community-auth-gate p {
    margin: 0;
    color: var(--muted);
}

.community-auth-gate .button-row {
    margin-top: 18px;
}

.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;
}

.post-document {
    display: block;
    padding: 22px;
    background: var(--soft);
}

.content-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.content-pagination a {
    padding: 8px 13px;
    color: var(--accent-strong);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.content-pagination span {
    color: var(--muted);
    font-size: 13px;
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.admin-content-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.admin-content-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: #d7e1e8;
    background: #203746;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.admin-content-tabs a.active,
.admin-content-tabs a:hover {
    color: #fff;
    background: var(--accent);
}

.admin-content-tabs span {
    min-width: 22px;
    padding: 1px 6px;
    color: #17364f;
    background: #fff;
    border-radius: 12px;
    font-size: 11px;
    text-align: center;
}

.content-editor-panel {
    border-top: 4px solid var(--accent) !important;
}

.admin-content-form {
    display: grid;
    gap: 16px;
}

.admin-content-form label {
    display: grid;
    gap: 7px;
    color: #294258;
    font-size: 13px;
    font-weight: 800;
}

.admin-content-form .form-grid {
    align-items: start;
}

.admin-content-form textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-content-form input[type="file"] {
    padding: 8px;
}

.form-grid-wide {
    grid-column: 1 / -1;
}

.check-label {
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    width: max-content;
}

.check-label input {
    width: auto;
    min-height: auto;
}

.admin-current-media {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-current-media img,
.admin-table-thumb {
    width: 110px;
    height: 78px;
    object-fit: cover;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.admin-detail-text {
    max-width: 420px;
    margin-top: 10px;
    color: var(--ink);
    white-space: normal;
}

.admin-table-thumb {
    display: block;
    margin-bottom: 5px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1200px) {
    .site-header {
        position: sticky;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px 18px;
        padding: 18px 6vw;
    }

    .menu-toggle {
        display: block;
    }

    .nav-enhanced .site-header .nav-links,
    .nav-enhanced .site-header .header-actions {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    .nav-enhanced .site-header.menu-open .nav-links,
    .nav-enhanced .site-header.menu-open .header-actions {
        display: flex;
    }

    .nav-links {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .nav-links > a,
    .nav-trigger {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        text-align: left;
    }

    .header-actions {
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 4px;
    }

    .header-actions .button {
        flex: 1 1 220px;
    }

    .mega-menu,
    .mega-menu.compact {
        position: static;
        display: none;
        grid-template-columns: repeat(2, minmax(160px, 1fr));
        width: 100%;
        max-width: none;
        padding: 18px;
        border: 1px solid var(--line);
        box-shadow: none;
    }

    .hero,
    .service-hero,
    .kb-layout,
    .quote-layout,
    .split {
        grid-template-columns: 1fr;
    }

    .kb-sidebar,
    .kb-toc {
        position: static;
        max-height: none;
        border-right: 0;
        padding-right: 0;
    }

    .service-grid,
    .feature-grid,
    .steps,
    .trust-strip,
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        display: flex;
        min-height: auto;
        overflow-x: auto;
        padding: 10px 14px;
    }

    .admin-sidebar a {
        flex: 0 0 auto;
        gap: 10px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-dashboard-grid,
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .service-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .community-overview-grid,
    .community-post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .mega-menu,
    .mega-menu.compact {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 52px;
    }

    h1 {
        font-size: 42px;
    }

    .service-grid,
    .feature-grid,
    .steps,
    .trust-strip,
    .form-grid,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-topbar,
    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-topbar {
        position: static;
    }

    .admin-topbar-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .admin-topbar-actions > span {
        width: 100%;
    }

    .admin-main {
        padding: 26px 14px 48px;
    }

    .admin-stat-grid,
    .admin-line-stats {
        grid-template-columns: 1fr;
    }

    .admin-line-stats div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-line-stats div:last-child {
        border-bottom: 0;
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }

    .admin-login-panel {
        padding: 28px 22px;
    }

    .service-directory-grid,
    .service-search-toolbar,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-with-action {
        flex-direction: column;
    }

    .section-inline-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .service-search-toolbar span {
        text-align: left;
    }

    .account-request-list article {
        grid-template-columns: 1fr;
    }

    .jump-nav {
        position: static;
    }

    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .contact-band,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer-enhanced {
        display: flex;
    }
}

/* 3DWK visual refresh: clearer platform entry points and content hierarchy. */
.home-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    min-height: 650px;
    padding-top: 76px;
    padding-bottom: 76px;
    background: #edf2f4;
}

.home-hero .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.home-hero h1 {
    max-width: 650px;
    font-size: clamp(48px, 6vw, 76px);
    letter-spacing: 0;
}

.home-hero .hero-text {
    max-width: 600px;
    font-size: 21px;
}

.hero-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background-color: #253846;
    background-image: url('manufacturing-hero.png');
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 22px 48px rgba(21, 33, 47, 0.2);
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    background: rgba(15, 31, 43, 0.12);
    content: "";
}

.hero-quote-panel {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    width: min(320px, calc(100% - 48px));
    padding: 22px;
    color: #fff;
    background: rgba(20, 38, 51, 0.94);
    border-left: 4px solid var(--gold);
}

.hero-quote-kicker {
    display: block;
    margin-bottom: 7px;
    color: #b9d4d8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-quote-panel strong {
    display: block;
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.25;
}

.hero-quote-items {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    color: #dce8ec;
    font-size: 13px;
}

.hero-quote-items span::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 8px 2px 0;
    background: var(--gold);
    border-radius: 50%;
    content: "";
}

.hero-quote-panel a {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.solution-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.solution-visual-card {
    display: flex;
    min-height: 440px;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(21, 33, 47, 0.06);
}

.solution-card-art {
    position: relative;
    aspect-ratio: 16 / 10;
    flex: 0 0 auto;
    min-height: 0;
    overflow: hidden;
    background-color: #dfe8eb;
}

.solution-card-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-prototype .solution-card-art img {
    object-position: center 52%;
}

.solution-production .solution-card-art img {
    object-position: center 48%;
}

.solution-fabrication .solution-card-art img {
    object-position: center 50%;
}

.solution-card-art::after {
    position: absolute;
    inset: 0;
    display: block;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 31, 43, 0.02), rgba(15, 31, 43, 0.2));
}

.solution-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 26px;
}

.solution-card-copy h3 {
    margin-top: 8px;
    font-size: 25px;
    line-height: 1.2;
}

.solution-card-copy p {
    margin-bottom: 18px;
    color: var(--muted);
}

.solution-card-copy a {
    margin-top: auto;
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.workflow-steps article {
    position: relative;
    min-height: 270px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: 6px;
}

.workflow-steps article:not(:last-child)::after {
    position: absolute;
    top: 31px;
    right: -14px;
    z-index: 2;
    width: 16px;
    height: 2px;
    background: var(--gold);
    content: "";
}

.workflow-steps article > span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.workflow-symbol {
    position: relative;
    width: 48px;
    height: 48px;
    margin: 18px 0 18px;
    color: var(--accent);
    border: 2px solid currentColor;
    border-radius: 50%;
}

.workflow-symbol::before,
.workflow-symbol::after {
    position: absolute;
    content: "";
}

.upload-symbol::before { top: 20px; left: 13px; width: 18px; height: 2px; background: currentColor; }
.upload-symbol::after { top: 12px; left: 20px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.requirements-symbol::before { top: 14px; left: 13px; width: 20px; height: 14px; border: 2px solid currentColor; }
.requirements-symbol::after { top: 19px; left: 18px; width: 10px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.review-symbol::before { top: 12px; left: 12px; width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 50%; }
.review-symbol::after { right: 9px; bottom: 10px; width: 10px; height: 2px; background: currentColor; transform: rotate(45deg); }
.order-symbol::before { top: 13px; left: 12px; width: 22px; height: 18px; border: 2px solid currentColor; }
.order-symbol::after { top: 19px; left: 17px; width: 12px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.production-symbol::before { top: 11px; left: 14px; width: 17px; height: 22px; border: 2px solid currentColor; border-radius: 3px; }
.production-symbol::after { top: 20px; left: 18px; width: 9px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor; }
.delivery-symbol::before { top: 18px; left: 10px; width: 25px; height: 14px; background: currentColor; border-radius: 2px; }
.delivery-symbol::after { top: 13px; left: 17px; width: 11px; height: 8px; border: 2px solid currentColor; border-bottom: 0; }

.workflow-steps h3 {
    font-size: 18px;
    line-height: 1.22;
}

.workflow-steps p {
    color: var(--muted);
    font-size: 14px;
}

.industry-entry-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.industry-index-hero {
    background: #e9eff1;
}

.industry-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.industry-index-grid a {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 0;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.industry-index-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    object-fit: cover;
}

.industry-index-card-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 20px 24px 24px;
}

.industry-index-grid a:nth-child(even) {
    border-top-color: var(--gold);
}

.industry-index-grid a:hover,
.industry-index-grid a:focus-visible {
    border-color: #8eb7c3;
    box-shadow: 0 12px 28px rgba(21, 33, 47, 0.1);
    transform: translateY(-3px);
}

.industry-index-card-copy > span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.industry-index-grid h2 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.industry-index-grid p {
    margin-bottom: 18px;
    color: var(--muted);
}

.industry-index-grid strong {
    margin-top: auto;
    color: var(--accent-strong);
    font-size: 13px;
}

.industry-entry {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    background-color: #294553;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(21, 33, 47, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.industry-entry-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-entry::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: linear-gradient(180deg, rgba(15, 31, 43, 0.04) 18%, rgba(15, 31, 43, 0.82) 100%);
    content: "";
    pointer-events: none;
}

.industry-entry:hover,
.industry-entry:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(21, 33, 47, 0.16);
}

.industry-entry span {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    color: #cde0e2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.industry-entry strong {
    position: relative;
    z-index: 2;
    font-size: 19px;
    line-height: 1.24;
}

.industry-aerospace { background-color: #345563; background-image: linear-gradient(145deg, transparent 44%, rgba(213, 155, 40, 0.3) 44% 48%, transparent 48%), linear-gradient(25deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: auto, 22px 22px; }
.industry-defense { background-color: #3f4a4b; background-image: linear-gradient(90deg, rgba(213, 155, 40, 0.16) 1px, transparent 1px), linear-gradient(rgba(213, 155, 40, 0.16) 1px, transparent 1px); background-size: 26px 26px; }
.industry-electronics { background-color: #2f5963; background-image: linear-gradient(35deg, transparent 48%, rgba(255, 255, 255, 0.23) 48% 50%, transparent 50%); }
.industry-semiconductor { background-color: #3c5060; background-image: linear-gradient(135deg, transparent 48%, rgba(213, 155, 40, 0.27) 48% 50%, transparent 50%); }
.industry-industrial { background-color: #4d5b5d; background-image: linear-gradient(15deg, transparent 48%, rgba(255, 255, 255, 0.14) 48% 50%, transparent 50%); }

.value-service-grid,
.reason-grid,
.testimonial-grid,
.resource-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.value-service-grid article,
.reason-grid article {
    min-height: 230px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.value-icon {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    background: #dcebed;
    border: 2px solid var(--accent);
    border-radius: 6px;
}

.value-icon::before,
.value-icon::after {
    position: absolute;
    content: "";
}

.value-icon-dfm::before { top: 18px; left: 8px; width: 24px; height: 2px; background: var(--accent); box-shadow: 0 -7px 0 var(--accent), 0 7px 0 var(--accent); }
.value-icon-dfm::after { top: 13px; right: 7px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: -13px 7px 0 var(--gold), 0 14px 0 var(--gold); }
.value-icon-finish::before { top: 9px; left: 11px; width: 18px; height: 22px; border: 2px solid var(--accent); border-radius: 50% 50% 45% 45%; }
.value-icon-finish::after { top: 18px; left: 17px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.value-icon-quality::before { top: 10px; left: 13px; width: 16px; height: 23px; border: 2px solid var(--accent); }
.value-icon-quality::after { top: 20px; left: 17px; width: 9px; height: 2px; background: var(--gold); box-shadow: 0 5px 0 var(--gold); }
.value-icon-repeat::before { top: 11px; left: 9px; width: 23px; height: 18px; border: 2px solid var(--accent); border-radius: 50%; }
.value-icon-repeat::after { top: 10px; left: 26px; width: 7px; height: 7px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }

.value-service-grid h3,
.reason-grid h3 {
    font-size: 20px;
    line-height: 1.25;
}

.value-service-grid p,
.reason-grid p {
    color: var(--muted);
}

.reason-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reason-grid article {
    border-top: 4px solid var(--gold);
}

.reason-grid article > strong {
    display: block;
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 0.08em;
}

.testimonial-section {
    background: #f8fafb;
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid blockquote {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
}

.testimonial-grid blockquote p {
    margin-bottom: 22px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.5;
}

.testimonial-grid cite {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.supplier-network-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    min-height: 420px;
    color: #fff;
    background: #203746;
}

.network-map {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background-color: #294b59;
    background-image: linear-gradient(30deg, transparent 49%, rgba(204, 224, 225, 0.15) 49% 50%, transparent 50%), linear-gradient(150deg, transparent 49%, rgba(204, 224, 225, 0.12) 49% 50%, transparent 50%);
    background-size: 160px 130px;
}

.network-map::before,
.network-map::after {
    position: absolute;
    width: 72%;
    height: 2px;
    background: rgba(213, 155, 40, 0.55);
    content: "";
    transform-origin: left center;
}

.network-map::before { top: 43%; left: 14%; transform: rotate(-14deg); }
.network-map::after { top: 58%; left: 20%; transform: rotate(22deg); }

.network-point {
    position: absolute;
    z-index: 1;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border: 3px solid #d9edeb;
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(213, 155, 40, 0.16);
}

.point-a { top: 29%; left: 22%; }
.point-b { top: 44%; left: 52%; }
.point-c { top: 63%; left: 34%; }
.point-d { top: 35%; left: 76%; }
.point-e { top: 72%; left: 68%; }
.point-f { top: 20%; left: 60%; }

.network-copy {
    max-width: 720px;
    padding: 72px 7vw;
}

.network-copy h2 {
    max-width: 620px;
}

.network-copy > p:not(.eyebrow) {
    max-width: 650px;
    color: #d2e1e5;
}

.network-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.network-capabilities span {
    padding: 8px 10px;
    color: #e7f0ef;
    border: 1px solid rgba(216, 237, 235, 0.3);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
}

.resource-preview-grid a {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
}

.resource-preview-grid a:hover {
    border-top-color: var(--gold);
}

.resource-preview-grid span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.resource-preview-grid strong {
    font-size: 18px;
    line-height: 1.3;
}

.site-footer-enhanced {
    grid-template-columns: minmax(240px, 1.3fr) minmax(200px, 0.8fr) minmax(210px, 0.9fr) minmax(170px, 0.65fr);
}

.site-footer-region {
    display: grid;
    align-content: start;
    gap: 8px;
}

.site-footer-region strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 20px;
}

.site-footer-region span {
    color: #c5d4df;
    font-size: 13px;
}

/* Resource center */
.resource-hero,
.enterprise-hero,
.supplier-hero,
.industry-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 52px;
    padding: 72px 6vw;
    background: #edf2f4;
}

.resource-hero h1,
.enterprise-hero h1,
.supplier-hero h1,
.industry-hero h1 {
    max-width: 820px;
    margin-bottom: 18px;
    font-size: clamp(42px, 5.5vw, 68px);
}

.resource-hero > div > p:not(.eyebrow),
.enterprise-hero-copy > p:not(.eyebrow),
.supplier-hero > div > p:not(.eyebrow),
.industry-hero > div > p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 19px;
}

.resource-search {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: 6px;
    box-shadow: 0 15px 32px rgba(21, 33, 47, 0.08);
}

.resource-search label {
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 14px;
}

.resource-search > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.resource-search input {
    min-width: 0;
}

.resource-search .button {
    min-height: 46px;
    padding: 10px 16px;
}

.resource-search > span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.resource-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 6vw;
    border-bottom: 1px solid var(--line);
}

.resource-filter button {
    padding: 9px 13px;
    color: var(--accent-strong);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
}

.resource-filter button.active,
.resource-filter button:hover,
.resource-filter button:focus-visible {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.resource-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resource-article-card {
    display: flex;
    min-width: 0;
    min-height: 310px;
    flex-direction: column;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(21, 33, 47, 0.04);
}

.resource-article-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
    padding: 0;
    overflow: hidden;
}

.resource-card-visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background-color: #315565;
}

.resource-card-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.visual-cnc img {
    object-position: center 48%;
}

.visual-additive img {
    object-position: center 50%;
}

.visual-fabrication img {
    object-position: center 50%;
}

.resource-card-visual::after {
    position: absolute;
    inset: 0;
    display: block;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 31, 43, 0.02), rgba(15, 31, 43, 0.18));
}

.resource-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
}

.resource-article-card h3 {
    margin: 12px 0 10px;
    font-size: 21px;
    line-height: 1.25;
}

.resource-article-card p {
    color: var(--muted);
}

.resource-article-card a {
    margin-top: auto;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.resource-number {
    display: block;
    color: var(--gold);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.resource-empty {
    margin-top: 20px;
}

/* Official publishing and Community are intentionally separate surfaces. */
.official-resource-section {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.official-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.official-resource-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid #0b6f85;
    border-radius: 6px;
}

.official-resource-card.featured {
    grid-column: span 2;
}

.official-resource-cover {
    display: block;
    overflow: hidden;
    background: #e9eff2;
}

.official-resource-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 180ms ease;
}

.official-resource-cover:hover img {
    transform: scale(1.02);
}

.official-resource-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.official-resource-content h3 {
    margin: 9px 0 9px;
    font-size: 22px;
    line-height: 1.25;
}

.official-resource-content h3 a {
    color: var(--ink);
    text-decoration: none;
}

.official-resource-content p {
    margin: 0 0 18px;
    color: var(--muted);
}

.official-resource-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
}

.media-label {
    padding: 3px 7px;
    color: #6b4c0b;
    background: #fff1c9;
    border-radius: 4px;
    font-weight: 800;
}

.text-link {
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.community-boundary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.community-boundary-grid > div {
    min-width: 0;
    padding: 28px;
    background: #fff;
}

.community-boundary-grid h2 {
    margin: 8px 0 8px;
    font-size: 24px;
}

.community-boundary-grid p:not(.eyebrow) {
    color: var(--muted);
}

.resource-detail {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 28px 84px;
}

.resource-detail-header {
    max-width: 900px;
    margin-bottom: 28px;
}

.resource-detail-header .text-link {
    display: inline-block;
    margin-bottom: 30px;
}

.resource-detail-header h1 {
    max-width: 900px;
    margin: 8px 0 18px;
    font-size: clamp(42px, 5.5vw, 68px);
}

.resource-detail-summary {
    max-width: 800px;
    color: var(--muted);
    font-size: 20px;
}

.resource-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
}

.resource-detail-cover {
    display: block;
    width: 100%;
    max-height: 620px;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    background: var(--soft);
    border-radius: 6px;
}

.resource-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: start;
    gap: 54px;
    margin-top: 42px;
}

.resource-detail-body {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.8;
}

.resource-detail-media {
    position: sticky;
    top: 100px;
    padding: 20px;
    background: #edf2f4;
    border-left: 4px solid var(--gold);
}

.resource-detail-media h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.resource-detail-media video {
    display: block;
    width: 100%;
    max-height: 360px;
    margin-bottom: 8px;
    background: #111;
}

.resource-detail-media > span {
    color: var(--muted);
    font-size: 12px;
}

.resource-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.resource-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.resource-company-updates {
    border-top: 1px solid var(--line);
}

.resource-update-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resource-update-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.resource-update-card h3 {
    margin: 8px 0;
    font-size: 20px;
}

.resource-update-card p {
    color: var(--muted);
}

.resource-update-card details {
    margin-top: auto;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
}

.resource-update-card details .rich-text {
    margin-top: 8px;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.6;
}

.resource-update-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
    object-fit: cover;
    border-radius: 4px;
}

.resource-update-card .text-link {
    margin-top: 14px;
}

.admin-user-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Enterprise and supplier page visuals. */
.enterprise-hero {
    background: #eaf0f1;
}

.enterprise-workspace {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    box-shadow: 0 18px 38px rgba(21, 33, 47, 0.1);
}

.workspace-top {
    display: grid;
    gap: 5px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.workspace-top span,
.workspace-grid span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.workspace-top strong {
    font-size: 20px;
}

.workspace-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin: 18px 0;
}

.workspace-progress i {
    display: block;
    height: 7px;
    background: #d7e3e5;
}

.workspace-progress i:first-child,
.workspace-progress i:nth-child(2),
.workspace-progress i:nth-child(3) {
    background: var(--accent);
}

.workspace-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.workspace-grid > div {
    display: grid;
    gap: 5px;
    min-height: 96px;
    padding: 14px;
    background: var(--soft);
    border-left: 3px solid var(--gold);
}

.workspace-grid strong {
    font-size: 18px;
}

.workspace-grid small {
    color: var(--muted);
    font-size: 12px;
}

.enterprise-process,
.supplier-steps,
.enterprise-applications,
.supplier-benefit-grid,
.supplier-capability-grid,
.industry-highlight-grid,
.industry-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.enterprise-process article,
.supplier-steps article,
.supplier-benefit-grid > div,
.supplier-capability-grid article,
.industry-highlight-grid article,
.industry-capability-grid article {
    min-height: 210px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.enterprise-process article > span,
.supplier-steps article > span,
.supplier-benefit-grid > div > span,
.industry-highlight-grid article > span,
.industry-capability-grid article > span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.enterprise-process h3,
.supplier-steps h3,
.supplier-benefit-grid strong,
.supplier-capability-grid h3,
.industry-highlight-grid h3,
.industry-capability-grid h3 {
    display: block;
    margin: 16px 0 9px;
    font-size: 20px;
    line-height: 1.24;
}

.enterprise-process p,
.supplier-steps p,
.supplier-benefit-grid p,
.supplier-capability-grid p,
.industry-highlight-grid p,
.industry-capability-grid p {
    color: var(--muted);
}

.team-lane-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.team-lane-grid article {
    min-height: 270px;
    padding: 22px;
    background: #fff;
    border-top: 4px solid var(--accent);
    border-radius: 6px;
}

.team-lane-grid article:nth-child(even) { border-top-color: var(--gold); }

.team-lane-grid article > span,
.application-case-grid article > span,
.supplier-capability-grid article > span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.team-lane-grid h3 {
    margin-top: 12px;
}

.team-lane-grid ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}

.text-link,
.application-case-grid a,
.industry-capability-grid a {
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.document-stack {
    display: grid;
    gap: 10px;
}

.document-stack > div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 12px 16px;
    background: var(--soft);
    border-left: 4px solid var(--accent);
}

.document-stack span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
}

.application-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.application-case-grid article {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.application-case-grid article h3 {
    margin: 12px 0 9px;
    font-size: 22px;
}

.application-case-grid article p {
    color: var(--muted);
}

.application-case-grid dl {
    display: grid;
    gap: 8px;
    margin: auto 0 18px;
}

.application-case-grid dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.application-case-grid dt {
    color: var(--muted);
    font-size: 12px;
}

.application-case-grid dd {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.enterprise-network-grid,
.supplier-region-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

.network-map.compact {
    min-height: 330px;
}

.media-placeholder {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    max-width: 900px;
    padding: 28px;
    background: #e9eff0;
    border: 1px solid var(--line);
}

.play-mark {
    position: relative;
    display: grid;
    width: 122px;
    height: 86px;
    place-items: center;
    background: #2e5964;
}

.play-mark::before {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 20px solid #fff;
    content: "";
}

.media-placeholder h2 {
    font-size: 27px;
}

.media-placeholder p:not(.eyebrow) {
    color: var(--muted);
}

.media-placeholder a {
    color: var(--accent-strong);
    font-weight: 800;
}

.supplier-hero {
    background: #e8eff0;
}

.supplier-hero-visual {
    display: grid;
    min-height: 360px;
    place-items: center;
    background: #294b59;
    border-radius: 6px;
}

.supplier-network-ring {
    position: relative;
    display: grid;
    width: 230px;
    height: 230px;
    place-items: center;
    color: #fff;
    border: 2px solid rgba(216, 237, 235, 0.5);
    border-radius: 50%;
}

.supplier-network-ring::before,
.supplier-network-ring::after {
    position: absolute;
    background: rgba(216, 237, 235, 0.36);
    content: "";
}

.supplier-network-ring::before { width: 2px; height: 100%; }
.supplier-network-ring::after { width: 100%; height: 2px; }

.supplier-network-ring > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    color: #203746;
    background: #fff;
    border: 5px solid var(--gold);
    border-radius: 50%;
    font-size: 19px;
    font-weight: 900;
}

.ring-node {
    position: absolute;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #203746;
    background: #d9edeb;
    border: 3px solid var(--gold);
    border-radius: 50%;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.node-1 { top: -22px; left: 90px; }
.node-2 { top: 34px; right: -28px; }
.node-3 { right: -15px; bottom: 24px; }
.node-4 { bottom: -22px; left: 91px; }
.node-5 { bottom: 24px; left: -15px; }

.supplier-capability-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.supplier-capability-grid article {
    min-height: 260px;
}

.supplier-capability-icon {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    background: #dcebed;
    border: 2px solid var(--accent);
    border-radius: 50%;
}

.supplier-capability-icon::before,
.supplier-capability-icon::after {
    position: absolute;
    content: "";
}

.cnc-icon::before { top: 13px; left: 12px; width: 20px; height: 18px; border: 2px solid var(--accent); }
.cnc-icon::after { top: 21px; left: 17px; width: 10px; height: 2px; background: var(--gold); }
.additive-icon::before { top: 12px; left: 12px; width: 21px; height: 21px; border: 2px solid var(--accent); transform: rotate(45deg); }
.additive-icon::after { top: 22px; left: 18px; width: 10px; height: 2px; background: var(--gold); }
.fab-icon::before { top: 12px; left: 10px; width: 24px; height: 20px; background: #b6c8ca; border: 2px solid var(--accent); clip-path: polygon(0 0, 75% 0, 100% 30%, 100% 100%, 0 100%); }
.fab-icon::after { top: 20px; left: 18px; width: 9px; height: 9px; border: 2px solid var(--gold); border-radius: 50%; }
.mold-icon::before { top: 13px; left: 12px; width: 20px; height: 22px; border: 2px solid var(--accent); border-radius: 4px; }
.mold-icon::after { top: 22px; left: 18px; width: 9px; height: 2px; background: var(--gold); box-shadow: 0 5px 0 var(--gold); }
.finish-icon::before { top: 12px; left: 12px; width: 21px; height: 21px; border: 2px solid var(--accent); border-radius: 50%; }
.finish-icon::after { top: 18px; left: 18px; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }

.regional-map {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: #294b59;
    border-radius: 6px;
}

.regional-map span {
    position: absolute;
    z-index: 1;
    color: #d9edeb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.regional-map span:nth-child(1) { top: 28%; left: 13%; }
.regional-map span:nth-child(2) { top: 20%; left: 52%; }
.regional-map span:nth-child(3) { top: 60%; left: 66%; }
.regional-map i {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 2px solid var(--gold);
    border-radius: 50%;
}
.regional-map i:nth-of-type(1) { top: 24%; left: 22%; }
.regional-map i:nth-of-type(2) { top: 16%; left: 58%; }
.regional-map i:nth-of-type(3) { top: 54%; left: 72%; }

.industry-hero {
    background: #e9eff1;
}

.industry-hero-panel {
    padding: 26px;
    color: #fff;
    background: #294b59;
    border-left: 5px solid var(--gold);
}

.industry-hero-panel > span {
    display: block;
    margin-bottom: 10px;
    color: #cce1e1;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.industry-hero-panel > strong {
    display: block;
    margin-bottom: 24px;
    font-size: 25px;
    line-height: 1.25;
}

.industry-hero-panel dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.industry-hero-panel dl div {
    padding-top: 12px;
    border-top: 1px solid rgba(216, 237, 235, 0.25);
}

.industry-hero-panel dt {
    color: #cce1e1;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.industry-hero-panel dd {
    margin: 4px 0 0;
    color: #fff;
    font-size: 14px;
}

.industry-capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-capability-grid article {
    display: flex;
    min-height: 240px;
    flex-direction: column;
}

.industry-capability-grid article a {
    margin-top: auto;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .home-hero,
    .resource-hero,
    .enterprise-hero,
    .supplier-hero,
    .industry-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
        gap: 30px;
    }

    .workflow-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .workflow-steps article:nth-child(3)::after,
    .workflow-steps article:nth-child(6)::after {
        display: none;
    }

    .industry-entry-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .industry-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-service-grid,
    .reason-grid,
    .supplier-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .official-resource-grid,
    .resource-update-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-article-card.featured {
        grid-column: span 2;
    }

    .site-footer-enhanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-lane-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-hero,
    .resource-hero,
    .enterprise-hero,
    .supplier-hero,
    .industry-hero {
        grid-template-columns: 1fr;
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .home-hero h1,
    .resource-hero h1,
    .enterprise-hero h1,
    .supplier-hero h1,
    .industry-hero h1 {
        font-size: 44px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .solution-visual-grid,
    .workflow-steps,
    .industry-entry-grid,
    .value-service-grid,
    .reason-grid,
    .testimonial-grid,
    .resource-preview-grid,
    .resource-article-grid,
    .enterprise-process,
    .supplier-steps,
    .supplier-benefit-grid,
    .supplier-capability-grid,
    .industry-highlight-grid,
    .industry-capability-grid,
    .application-case-grid,
    .team-lane-grid {
        grid-template-columns: 1fr;
    }

    .industry-index-grid {
        grid-template-columns: 1fr;
    }

    .resource-article-card.featured {
        grid-column: auto;
        display: flex;
    }

    .official-resource-card.featured {
        grid-column: auto;
    }

    .official-resource-grid,
    .resource-update-grid,
    .community-boundary-grid,
    .resource-detail-layout,
    .admin-user-form-grid {
        grid-template-columns: 1fr;
    }

    .resource-detail-media {
        position: static;
    }

    .resource-card-visual {
        min-height: 180px;
    }

    .workflow-steps article:not(:last-child)::after {
        display: none;
    }

    .enterprise-network-grid,
    .supplier-region-grid,
    .supplier-network-section {
        grid-template-columns: 1fr;
    }

    .network-copy {
        padding: 52px 6vw;
    }

    .network-map {
        min-height: 300px;
    }

    .media-placeholder {
        grid-template-columns: 1fr;
    }

    .site-footer-enhanced {
        display: flex;
    }

    .resource-search > div {
        grid-template-columns: 1fr;
    }

    .campaign-poster-band {
        padding: 52px 6vw;
    }

    .campaign-poster-inner {
        grid-template-columns: 1fr;
    }

    .campaign-poster-portrait .campaign-poster-link {
        width: 100%;
    }

    .campaign-poster-wide-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .campaign-poster-wide-heading .button-row {
        justify-content: flex-start;
    }
}

