.xhse,
.xhse-nav {
    --xhse-ink: #142033;
    --xhse-muted: #617087;
    --xhse-line: #dce4ee;
    --xhse-soft: #f4f7fa;
    --xhse-brand: #155eef;
    --xhse-brand-dark: #0b46bd;
    --xhse-teal: #087a71;
    --xhse-white: #fff;
    box-sizing: border-box;
    color: var(--xhse-ink);
    font: inherit;
}

.xhse *,
.xhse *::before,
.xhse *::after,
.xhse-nav *,
.xhse-nav *::before,
.xhse-nav *::after {
    box-sizing: inherit;
}

.xhse {
    padding: clamp(24px, 5vw, 64px) 20px 80px;
    background: #f8fafc;
}

.xhse__shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.xhse__breadcrumbs {
    margin-bottom: 18px;
    color: var(--xhse-muted);
    font-size: .84rem;
}

.xhse__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xhse__breadcrumbs li:not(:last-child)::after {
    margin-left: 7px;
    content: "/";
    color: #9aa8bb;
}

.xhse__breadcrumbs a,
.xhse__record-card a,
.xhse__evidence-links a,
.xhse__evidence-grid a,
.xhse__error a {
    color: #124ca2;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.xhse__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid #c9daef;
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 20%, rgba(8, 122, 113, .14), transparent 28%),
        linear-gradient(135deg, #fff 0%, #eff6ff 100%);
    box-shadow: 0 22px 60px rgba(19, 48, 88, .08);
}

.xhse__eyebrow {
    margin: 0 0 8px;
    color: var(--xhse-teal);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.xhse__hero h1,
.xhse__section h2,
.xhse__parameter-card h2,
.xhse__verify-card h2,
.xhse__error h1 {
    margin: 0;
    color: var(--xhse-ink);
    line-height: 1.15;
}

.xhse__hero h1 {
    max-width: 760px;
    font-size: clamp(2rem, 5vw, 3.65rem);
    letter-spacing: -.035em;
}

.xhse__lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--xhse-muted);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
}

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

.xhse__summary > div,
.xhse__primary-length {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(21, 94, 239, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
}

.xhse__summary dt,
.xhse__primary-length span,
.xhse__mini-specs dt,
.xhse__parameter-list dt {
    color: #6b778a;
    font-size: .74rem;
    font-weight: 750;
    letter-spacing: .025em;
}

.xhse__summary dd {
    margin: 5px 0 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.xhse__section {
    margin-top: clamp(42px, 7vw, 72px);
}

.xhse__section-head {
    max-width: 760px;
    margin-bottom: 20px;
}

.xhse__section h2,
.xhse__parameter-card h2,
.xhse__verify-card h2 {
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    letter-spacing: -.02em;
}

.xhse__section-head > p:last-child {
    margin: 10px 0 0;
    color: var(--xhse-muted);
    line-height: 1.65;
}

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

.xhse__entity-link {
    display: flex;
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    padding: 17px 19px;
    border: 1px solid var(--xhse-line);
    border-radius: 13px;
    background: var(--xhse-white);
    color: #12376f;
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.xhse__entity-link:hover {
    border-color: #7da4db;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 55, 105, .09);
}

.xhse__entity-link span {
    margin-top: 4px;
    color: var(--xhse-muted);
    font-size: .82rem;
}

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

.xhse__record-card {
    display: flex;
    min-width: 0;
    min-height: 300px;
    flex-direction: column;
    padding: 21px;
    border: 1px solid var(--xhse-line);
    border-radius: 16px;
    background: var(--xhse-white);
    box-shadow: 0 8px 24px rgba(20, 32, 51, .045);
}

.xhse__record-kicker {
    margin: 0 0 6px;
    color: var(--xhse-teal);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.xhse__record-card h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.xhse__record-card h3 a {
    text-decoration: none;
}

.xhse__position {
    margin: 9px 0 0;
    color: #536178;
    font-size: .84rem;
    line-height: 1.55;
}

.xhse__position span {
    font-weight: 750;
}

.xhse__mini-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
}

.xhse__mini-specs > div {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 9px;
    background: var(--xhse-soft);
}

.xhse__mini-specs dd {
    margin: 3px 0 0;
    font-size: .86rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.xhse__record-link {
    align-self: flex-start;
    margin-top: auto;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.xhse__faq details {
    border-top: 1px solid var(--xhse-line);
    background: var(--xhse-white);
}

.xhse__faq details:last-child {
    border-bottom: 1px solid var(--xhse-line);
}

.xhse__faq summary {
    padding: 20px 48px 20px 2px;
    color: var(--xhse-ink);
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
}

.xhse__faq-answer {
    max-width: 900px;
    padding: 0 0 22px;
    color: #46546a;
    line-height: 1.72;
}

.xhse__faq-answer p {
    margin: 0;
}

.xhse__evidence-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
    font-size: .86rem;
    font-weight: 750;
}

.xhse__safety {
    margin-top: 42px;
    padding: 18px 20px;
    border: 1px solid #f3c96d;
    border-radius: 12px;
    background: #fff9e9;
    color: #624615;
    line-height: 1.65;
}

.xhse__hero--record {
    grid-template-columns: minmax(0, 1fr) auto;
}

.xhse__primary-length {
    min-width: 190px;
}

.xhse__primary-length span,
.xhse__primary-length strong {
    display: block;
}

.xhse__primary-length strong {
    margin-top: 5px;
    color: #12376f;
    font-size: clamp(1.45rem, 4vw, 2.25rem);
}

.xhse__record-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr);
    gap: 20px;
    margin-top: 24px;
}

.xhse__parameter-card,
.xhse__verify-card {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--xhse-line);
    border-radius: 18px;
    background: var(--xhse-white);
}

.xhse__parameter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin: 22px 0 0;
}

.xhse__parameter-list > div {
    min-width: 0;
    padding: 14px 0;
    border-top: 1px solid var(--xhse-line);
}

.xhse__parameter-list dd {
    margin: 5px 0 0;
    font-size: 1rem;
    font-weight: 720;
    overflow-wrap: anywhere;
}

.xhse__verify-card {
    background: #ecf7f5;
}

.xhse__evidence-notice {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    border: 1px solid #d9a441;
    border-left: 5px solid #b76b00;
    border-radius: 12px;
    background: #fff8e8;
    color: #382700;
}

.xhse__evidence-notice strong {
    display: block;
    margin-bottom: .3rem;
}

.xhse__evidence-notice p {
    margin: 0;
}

.xhse__verify-card ol {
    margin: 20px 0 0;
    padding-left: 22px;
    color: #405268;
    line-height: 1.7;
}

.xhse__verify-card li + li {
    margin-top: 9px;
}

.xhse__diagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
    gap: 18px;
}

.xhse__diagram {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--xhse-line);
    border-radius: 16px;
    background: var(--xhse-white);
    box-shadow: 0 12px 30px rgba(20, 32, 51, .07);
}

.xhse__diagram-canvas {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #e9eef4;
}

.xhse__diagram-canvas img {
    display: block;
    width: 100%;
    height: auto;
}

.xhse__diagram-hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.xhse__diagram-marker {
    position: absolute;
    z-index: 2;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
}

.xhse__diagram-marker > span {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #c81e1e;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 1px 5px rgba(84, 10, 10, .4);
}

.xhse__diagram-marker--current {
    z-index: 3;
    width: 25px;
    height: 25px;
}

.xhse__diagram-marker--current > span {
    border: 4px solid #fff;
    background: #d21f1f;
    box-shadow: 0 0 0 4px rgba(210, 31, 31, .9), 0 3px 12px rgba(84, 10, 10, .55);
}

.xhse__diagram-marker strong {
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    max-width: min(180px, 42vw);
    padding: 5px 8px;
    transform: translateX(-50%);
    border-radius: 6px;
    background: #a91414;
    color: #fff;
    font-size: .72rem;
    line-height: 1.2;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(84, 10, 10, .28);
}

.xhse__diagram figcaption {
    display: grid;
    gap: 5px;
    padding: 18px 20px 20px;
    color: var(--xhse-muted);
    font-size: .87rem;
    line-height: 1.5;
}

.xhse__diagram figcaption > strong {
    color: var(--xhse-ink);
    font-size: 1rem;
}

.xhse__diagram-current {
    color: #a91414;
    font-weight: 800;
}

.xhse__diagram figcaption a {
    justify-self: start;
    margin-top: 5px;
    color: #124ca2;
    font-weight: 750;
    text-underline-offset: 3px;
}

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

.xhse__evidence-grid article {
    padding: 20px;
    border: 1px solid var(--xhse-line);
    border-radius: 13px;
    background: var(--xhse-white);
}

.xhse__evidence-grid h3 {
    margin: 0;
    font-size: 1rem;
}

.xhse__evidence-grid p,
.xhse__evidence-grid span,
.xhse__evidence-grid a {
    display: block;
    margin: 8px 0 0;
    color: var(--xhse-muted);
    font-size: .86rem;
}

.xhse__error {
    max-width: 720px;
    padding: clamp(28px, 6vw, 60px);
    border: 1px solid var(--xhse-line);
    border-radius: 20px;
    background: var(--xhse-white);
}

.xhse__error p {
    color: var(--xhse-muted);
    line-height: 1.65;
}

.xhse-nav {
    width: 100%;
    margin-top: 32px;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid var(--xhse-line);
    border-radius: 18px;
    background: #f8fafc;
}

.xhse-nav > div:first-child p {
    margin: 0 0 4px;
    color: var(--xhse-teal);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.xhse-nav h2 {
    margin: 0 0 16px;
    font-size: 1.3rem;
}

.xhse-nav__links,
.xhse-nav__records {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.xhse-nav__links a,
.xhse-nav__records a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 12px 14px;
    border: 1px solid var(--xhse-line);
    border-radius: 10px;
    background: var(--xhse-white);
    color: #12376f;
    text-decoration: none;
}

.xhse-nav__links span,
.xhse-nav__records span {
    margin-top: 3px;
    color: var(--xhse-muted);
    font-size: .78rem;
}

.xhc .xhc__record-page-link {
    display: block;
    margin-top: 5px;
    color: #49617f;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 900px) {
    .xhse__hero,
    .xhse__hero--record,
    .xhse__record-layout {
        grid-template-columns: 1fr;
    }

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

    .xhse__diagram-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .xhse {
        padding-inline: 14px;
    }

    .xhse__hero {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .xhse__summary,
    .xhse__entity-grid,
    .xhse__record-grid,
    .xhse__diagram-grid,
    .xhse__parameter-list,
    .xhse__evidence-grid,
    .xhse-nav__links,
    .xhse-nav__records {
        grid-template-columns: 1fr;
    }

    .xhse__record-card {
        min-height: 0;
    }

    .xhse__diagram-marker strong {
        display: none;
    }
}
