.hsp-hinge-selector-page {
    --hsps-navy: var(--hsp-navy, #082b50);
    --hsps-blue: var(--hsp-blue, #1b78b2);
    --hsps-blue-dark: #125f92;
    --hsps-orange: var(--hsp-orange, #e87822);
    --hsps-text: #24384d;
    --hsps-muted: #5c6c7c;
    --hsps-border: #d8e0e8;
    --hsps-soft: #f3f7fa;
    --hsps-white: #fff;
    color: var(--hsps-text);
}

.hsp-hinge-selector-page .htan-main > .wp-block-post-content {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.hsp-hinge-selector-page .hsp-selector-page {
    width: 100%;
    max-width: none;
    overflow: clip;
}

.hsp-hinge-selector-page .hsp-selector-container,
.hsp-hinge-selector-page .hsp-selector-breadcrumb {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

.hsp-hinge-selector-page .hsp-selector-hero {
    padding: clamp(54px, 6vw, 82px) 0;
    color: #fff;
    background: var(--hsps-navy);
}

.hsp-hinge-selector-page .hsp-selector-hero__inner > div {
    max-width: 850px;
}

.hsp-hinge-selector-page .hsp-selector-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 4.2vw, 58px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.hsp-hinge-selector-page .hsp-selector-hero h1 + p {
    max-width: 740px;
    margin: 24px 0 30px;
    color: #edf4f8;
    font-size: 18px;
    line-height: 1.65;
}

.hsp-hinge-selector-page .hsp-selector-hero__note {
    max-width: 760px;
    margin: 20px 0 0;
    color: #dbe7ef;
    font-size: 14px;
    line-height: 1.55;
}

.hsp-hinge-selector-page .hsp-selector-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 2px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.hsp-hinge-selector-page .hsp-selector-button--primary {
    color: #fff;
    border-color: var(--hsps-blue);
    background: var(--hsps-blue);
}

.hsp-hinge-selector-page .hsp-selector-button--primary:hover {
    color: #fff;
    border-color: var(--hsps-blue-dark);
    background: var(--hsps-blue-dark);
}

.hsp-hinge-selector-page .hsp-selector-button--secondary {
    color: var(--hsps-navy);
    border-color: #9aacbd;
    background: #fff;
}

.hsp-hinge-selector-page .hsp-selector-button--secondary:hover {
    border-color: var(--hsps-navy);
    background: var(--hsps-soft);
}

.hsp-hinge-selector-page :where(a, button, input, select, summary):focus-visible {
    outline: 3px solid var(--hsps-orange);
    outline-offset: 3px;
}

.hsp-hinge-selector-page .hsp-selector-tool {
    padding: clamp(56px, 6vw, 82px) 0;
    scroll-margin-top: 110px;
    background: #f6f8fa;
}

.hsp-hinge-selector-page .hsp-selector-tool__header {
    max-width: 780px;
    margin-bottom: 30px;
}

.hsp-hinge-selector-page .hsp-selector-tool__header h2,
.hsp-hinge-selector-page .hsp-selector-information h2,
.hsp-hinge-selector-page .hsp-selector-faq h2 {
    margin: 0;
    color: var(--hsps-navy);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
}

.hsp-hinge-selector-page .hsp-selector-tool__header p {
    margin: 12px 0 0;
    color: var(--hsps-muted);
    font-size: 17px;
    line-height: 1.6;
}

.hsp-hinge-selector-page .hsp-selector-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
    align-items: start;
    gap: 32px;
}

.hsp-hinge-selector-page .hsp-selector-form,
.hsp-hinge-selector-page .hsp-selector-result,
.hsp-hinge-selector-page .hsp-selector-noscript {
    min-width: 0;
    border: 1px solid var(--hsps-border);
    background: #fff;
}

.hsp-hinge-selector-page .hsp-selector-form {
    padding: 30px;
}

.hsp-hinge-selector-page .hsp-selector-core,
.hsp-hinge-selector-page .hsp-selector-special {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.hsp-hinge-selector-page .hsp-selector-core > legend {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    color: var(--hsps-navy);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 730;
    line-height: 1.3;
}

.hsp-hinge-selector-page .hsp-selector-error {
    min-height: 0;
    margin: 10px 0 0;
    color: #a33822;
    font-size: 14px;
    font-weight: 650;
}

.hsp-hinge-selector-page .hsp-selector-error:empty {
    display: none;
}

.hsp-hinge-selector-page .hsp-selector-options,
.hsp-hinge-selector-page .hsp-selector-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hsp-hinge-selector-page .hsp-selector-option,
.hsp-hinge-selector-page .hsp-selector-check {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
    min-height: 60px;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid var(--hsps-border);
    color: var(--hsps-text);
    background: #fff;
    cursor: pointer;
}

.hsp-hinge-selector-page .hsp-selector-option:hover,
.hsp-hinge-selector-page .hsp-selector-check:hover {
    border-color: #8aa6bc;
    background: var(--hsps-soft);
}

.hsp-hinge-selector-page .hsp-selector-option:has(input:checked),
.hsp-hinge-selector-page .hsp-selector-check:has(input:checked) {
    border-color: var(--hsps-blue);
    color: var(--hsps-navy);
    background: #eef7fc;
}

.hsp-hinge-selector-page .hsp-selector-option input,
.hsp-hinge-selector-page .hsp-selector-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--hsps-blue);
}

.hsp-hinge-selector-page .hsp-selector-option span,
.hsp-hinge-selector-page .hsp-selector-check span {
    min-width: 0;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.hsp-hinge-selector-page .hsp-selector-adjust {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-adjust h3 {
    margin: 0 0 16px;
    color: var(--hsps-navy);
    font-size: 20px;
    line-height: 1.3;
}

.hsp-hinge-selector-page .hsp-selector-adjust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hsp-hinge-selector-page .hsp-selector-field,
.hsp-hinge-selector-page [data-tech-field] {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.hsp-hinge-selector-page [data-tech-field][hidden],
.hsp-hinge-selector-page [data-selector-loading][hidden],
.hsp-hinge-selector-page [data-torque-note][hidden],
.hsp-hinge-selector-page [data-show-all-technical][hidden] {
    display: none;
}

.hsp-hinge-selector-page .hsp-selector-field > span:first-child,
.hsp-hinge-selector-page .hsp-selector-special legend {
    color: var(--hsps-navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.hsp-hinge-selector-page .hsp-selector-field__control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
}

.hsp-hinge-selector-page .hsp-selector-field input,
.hsp-hinge-selector-page .hsp-selector-field select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 9px 10px;
    border: 1px solid #b8c5d1;
    border-radius: 0;
    color: var(--hsps-text);
    background: #fff;
    font: inherit;
    font-size: 14px;
}

.hsp-hinge-selector-page .hsp-selector-field__control select {
    border-left: 0;
}

.hsp-hinge-selector-page .hsp-selector-technical {
    margin-top: 28px;
    border-top: 1px solid var(--hsps-border);
    border-bottom: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-technical > summary {
    position: relative;
    padding: 18px 34px 18px 0;
    color: var(--hsps-navy);
    font-size: 17px;
    font-weight: 720;
    cursor: pointer;
}

.hsp-hinge-selector-page .hsp-selector-technical__body {
    padding: 4px 0 26px;
}

.hsp-hinge-selector-page .hsp-selector-technical__body > .hsp-selector-check {
    margin-bottom: 18px;
}

.hsp-hinge-selector-page .hsp-selector-technical__all,
.hsp-hinge-selector-page .hsp-selector-reset {
    padding: 0;
    border: 0;
    color: var(--hsps-blue-dark);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.hsp-hinge-selector-page .hsp-selector-technical__all {
    margin: 0 0 18px;
}

.hsp-hinge-selector-page .hsp-selector-technical__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hsp-hinge-selector-page .hsp-selector-technical__note {
    margin: 16px 0 0;
    color: var(--hsps-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hsp-hinge-selector-page .hsp-selector-special {
    margin-top: 24px;
}

.hsp-hinge-selector-page .hsp-selector-special legend {
    margin-bottom: 12px;
}

.hsp-hinge-selector-page .hsp-selector-special .hsp-selector-check {
    min-height: 48px;
    padding-block: 10px;
}

.hsp-hinge-selector-page .hsp-selector-form__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.hsp-hinge-selector-page .hsp-selector-result {
    position: sticky;
    top: 110px;
    padding: 26px;
}

.hsp-hinge-selector-page .hsp-selector-result__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-result h2 {
    margin: 0;
    color: var(--hsps-navy);
    font-size: 24px;
    line-height: 1.25;
}

.hsp-hinge-selector-page .hsp-selector-loading {
    flex: 0 0 auto;
    color: var(--hsps-blue-dark);
    font-size: 13px;
    font-weight: 700;
}

.hsp-hinge-selector-page .hsp-selector-result__empty {
    margin: 22px 0 0;
    color: var(--hsps-muted);
    line-height: 1.6;
}

.hsp-hinge-selector-page .hsp-selector-result__status {
    margin: 18px 0 0;
    color: var(--hsps-blue-dark);
    font-size: 14px;
    font-weight: 750;
}

.hsp-hinge-selector-page .hsp-selector-result__main {
    margin-top: 16px;
    padding: 18px;
    border-left: 3px solid var(--hsps-blue);
    background: var(--hsps-soft);
}

.hsp-hinge-selector-page .hsp-selector-result h3 {
    margin: 0 0 8px;
    color: var(--hsps-navy);
    font-size: 18px;
    line-height: 1.35;
}

.hsp-hinge-selector-page .hsp-selector-result p,
.hsp-hinge-selector-page .hsp-selector-result li {
    font-size: 14px;
    line-height: 1.55;
}

.hsp-hinge-selector-page .hsp-selector-result__main p {
    margin: 0;
}

.hsp-hinge-selector-page .hsp-selector-result__panel {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-result__panel--warning h3 {
    color: #8a3e24;
}

.hsp-hinge-selector-page .hsp-selector-result ul {
    margin: 0;
    padding-left: 19px;
}

.hsp-hinge-selector-page .hsp-selector-result li + li {
    margin-top: 5px;
}

.hsp-hinge-selector-page .hsp-selector-result__candidates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.hsp-hinge-selector-page .hsp-selector-candidate {
    min-width: 0;
    border: 1px solid var(--hsps-border);
    background: #fff;
}

.hsp-hinge-selector-page .hsp-selector-candidate img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--hsps-soft);
}

.hsp-hinge-selector-page .hsp-selector-candidate__body {
    padding: 11px;
}

.hsp-hinge-selector-page .hsp-selector-candidate a {
    color: var(--hsps-navy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.hsp-hinge-selector-page .hsp-selector-candidate p {
    margin: 5px 0 0;
    color: var(--hsps-muted);
    font-size: 12px;
}

.hsp-hinge-selector-page .hsp-selector-result__actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.hsp-hinge-selector-page .hsp-selector-result__actions .hsp-selector-button {
    width: 100%;
}

.hsp-hinge-selector-page .hsp-selector-result__summary {
    margin-top: 20px;
    border-top: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-result__summary summary {
    padding: 17px 0 0;
    color: var(--hsps-navy);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.hsp-hinge-selector-page .hsp-selector-result__summary p {
    margin: 13px 0 0;
    white-space: pre-wrap;
}

.hsp-hinge-selector-page .hsp-selector-request-error {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #d9a291;
    color: #7d321f;
    background: #fff7f4;
}

.hsp-hinge-selector-page .hsp-selector-request-error p {
    margin: 0 0 12px;
}

.hsp-hinge-selector-page .hsp-selector-request-error .hsp-selector-button {
    min-height: 42px;
    padding-block: 8px;
}

.hsp-hinge-selector-page .hsp-selector-noscript {
    margin-top: 24px;
    padding: 24px;
}

.hsp-hinge-selector-page .hsp-selector-information,
.hsp-hinge-selector-page .hsp-selector-faq {
    padding: clamp(58px, 6vw, 82px) 0;
}

.hsp-hinge-selector-page .hsp-selector-information__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
    margin-top: 30px;
}

.hsp-hinge-selector-page .hsp-selector-information article {
    padding: 24px 0;
    border-top: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-information h3 {
    margin: 0 0 9px;
    color: var(--hsps-navy);
    font-size: 19px;
}

.hsp-hinge-selector-page .hsp-selector-information p {
    margin: 0;
    line-height: 1.65;
}

.hsp-hinge-selector-page .hsp-selector-faq {
    background: var(--hsps-soft);
}

.hsp-hinge-selector-page .hsp-selector-faq__list {
    margin-top: 30px;
    border-top: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-faq details {
    border-bottom: 1px solid var(--hsps-border);
}

.hsp-hinge-selector-page .hsp-selector-faq summary {
    padding: 21px 42px 21px 0;
    color: var(--hsps-navy);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.hsp-hinge-selector-page .hsp-selector-faq details p {
    max-width: 900px;
    margin: -4px 0 22px;
    color: var(--hsps-text);
    line-height: 1.65;
}

@media (max-width: 899px) {
    .hsp-hinge-selector-page .hsp-selector-container,
    .hsp-hinge-selector-page .hsp-selector-breadcrumb {
        width: min(100% - 48px, 1180px);
    }

    .hsp-hinge-selector-page .hsp-selector-workspace {
        grid-template-columns: 1fr;
    }

    .hsp-hinge-selector-page .hsp-selector-result {
        position: static;
    }

    .hsp-hinge-selector-page .hsp-selector-adjust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .hsp-hinge-selector-page .hsp-selector-container,
    .hsp-hinge-selector-page .hsp-selector-breadcrumb {
        width: calc(100% - 36px);
    }

    .hsp-hinge-selector-page .hsp-selector-hero {
        padding: 46px 0 50px;
    }

    .hsp-hinge-selector-page .hsp-selector-hero h1 {
        font-size: clamp(34px, 10vw, 42px);
    }

    .hsp-hinge-selector-page .hsp-selector-hero h1 + p {
        font-size: 16px;
    }

    .hsp-hinge-selector-page .hsp-selector-form,
    .hsp-hinge-selector-page .hsp-selector-result,
    .hsp-hinge-selector-page .hsp-selector-noscript {
        padding: 22px 18px;
    }

    .hsp-hinge-selector-page .hsp-selector-options,
    .hsp-hinge-selector-page .hsp-selector-checks,
    .hsp-hinge-selector-page .hsp-selector-adjust__grid,
    .hsp-hinge-selector-page .hsp-selector-technical__grid,
    .hsp-hinge-selector-page .hsp-selector-result__candidates,
    .hsp-hinge-selector-page .hsp-selector-information__grid {
        grid-template-columns: 1fr;
    }

    .hsp-hinge-selector-page .hsp-selector-result__actions {
        grid-template-columns: 1fr;
    }

    .hsp-hinge-selector-page .hsp-selector-result__actions .hsp-selector-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hsp-hinge-selector-page *,
    .hsp-hinge-selector-page *::before,
    .hsp-hinge-selector-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
