.hsp-panel-weight-calculator-page {
    --hsp-pwc-navy: #082b50;
    --hsp-pwc-blue: #176da7;
    --hsp-pwc-orange: #e87822;
    --hsp-pwc-text: #142230;
    --hsp-pwc-muted: #5f6872;
    --hsp-pwc-soft: #f4f7f9;
    --hsp-pwc-border: #d6dbe1;
    --hsp-pwc-wide: min(1180px, calc(100vw - 48px));
}

.hsp-panel-weight-calculator-page .htan-main > .wp-block-post-content,
.hsp-panel-weight-calculator-page .hsp-panel-weight-calculator {
    width: 100%;
    max-width: none;
    margin: 0;
}

.hsp-panel-weight-calculator-page .hsp-panel-weight-calculator {
    color: var(--hsp-pwc-text);
    overflow-x: clip;
}

.hsp-panel-weight-calculator-page .hsp-pwc-container,
.hsp-panel-weight-calculator-page .hsp-pwc-breadcrumb {
    width: var(--hsp-pwc-wide);
    margin-inline: auto;
}

.hsp-panel-weight-calculator-page .hsp-pwc-reading {
    max-width: 920px;
}

.hsp-panel-weight-calculator-page :where(a, button, input, select, summary):focus-visible {
    outline: 3px solid #4fa3d8;
    outline-offset: 3px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-intro {
    padding: clamp(46px, 6vw, 78px) 0 38px;
    background: var(--hsp-pwc-navy);
    color: #fff;
}

.hsp-panel-weight-calculator-page .hsp-pwc-eyebrow {
    margin: 0 0 12px;
    color: #9fc6e1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hsp-panel-weight-calculator-page .hsp-pwc-intro h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
}

.hsp-panel-weight-calculator-page .hsp-pwc-lead,
.hsp-panel-weight-calculator-page .hsp-pwc-scope {
    max-width: 900px;
    color: #eef3f7;
    font-size: 18px;
    line-height: 1.65;
}

.hsp-panel-weight-calculator-page .hsp-pwc-lead {
    margin: 24px 0 6px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-scope {
    margin: 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tool {
    padding: 56px 0 68px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tool > .hsp-pwc-container > h2,
.hsp-panel-weight-calculator-page .hsp-pwc-section h2 {
    margin: 0 0 28px;
    color: var(--hsp-pwc-navy);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-workspace {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

.hsp-panel-weight-calculator-page .hsp-pwc-form,
.hsp-panel-weight-calculator-page .hsp-pwc-output {
    border: 1px solid var(--hsp-pwc-border);
    background: #fff;
}

.hsp-panel-weight-calculator-page .hsp-pwc-form {
    padding: 26px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-unit-switch {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-unit-switch legend {
    width: 100%;
    margin-bottom: 9px;
    color: var(--hsp-pwc-navy);
    font-size: 14px;
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-unit-switch label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--hsp-pwc-border);
    color: var(--hsp-pwc-navy);
    background: #fff;
    cursor: pointer;
}

.hsp-panel-weight-calculator-page .hsp-pwc-unit-switch label:has(input:checked) {
    border-color: var(--hsp-pwc-navy);
    background: #edf4f8;
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-unit-switch input {
    margin: 0 7px 0 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-field {
    margin-bottom: 18px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-field > label {
    display: block;
    margin-bottom: 7px;
    color: var(--hsp-pwc-navy);
    font-size: 15px;
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-field input,
.hsp-panel-weight-calculator-page .hsp-pwc-field select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--hsp-pwc-border);
    border-radius: 0;
    color: var(--hsp-pwc-text);
    background: #fff;
    font: inherit;
}

.hsp-panel-weight-calculator-page .hsp-pwc-field input {
    padding: 9px 82px 9px 12px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-field select {
    padding: 9px 36px 9px 12px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-field input[aria-invalid="true"] {
    border-color: #b42318;
}

.hsp-panel-weight-calculator-page .hsp-pwc-input-unit {
    position: relative;
}

.hsp-panel-weight-calculator-page .hsp-pwc-input-unit > span {
    position: absolute;
    top: 50%;
    right: 12px;
    color: var(--hsp-pwc-muted);
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

.hsp-panel-weight-calculator-page .hsp-pwc-help,
.hsp-panel-weight-calculator-page .hsp-pwc-privacy,
.hsp-panel-weight-calculator-page .hsp-pwc-note {
    color: var(--hsp-pwc-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hsp-panel-weight-calculator-page .hsp-pwc-help {
    margin: 7px 0 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-dimension-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-error,
.hsp-panel-weight-calculator-page .hsp-pwc-form-error {
    color: #9d1c16;
    font-size: 13px;
    line-height: 1.4;
}

.hsp-panel-weight-calculator-page .hsp-pwc-error {
    min-height: 18px;
    margin: 5px 0 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-form-error {
    margin: 0 0 12px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.hsp-panel-weight-calculator-page .hsp-pwc-button,
.hsp-panel-weight-calculator-page .hsp-pwc-transfer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid var(--hsp-pwc-navy);
    border-radius: 0;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.hsp-panel-weight-calculator-page .hsp-pwc-button--primary {
    color: #fff;
    background: var(--hsp-pwc-navy);
    cursor: pointer;
}

.hsp-panel-weight-calculator-page .hsp-pwc-button--primary:hover {
    border-color: #0d3d6c;
    background: #0d3d6c;
}

.hsp-panel-weight-calculator-page .hsp-pwc-reset {
    min-height: 44px;
    padding: 8px 2px;
    border: 0;
    color: var(--hsp-pwc-navy);
    background: transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.hsp-panel-weight-calculator-page .hsp-pwc-privacy {
    margin: 16px 0 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-output {
    overflow: hidden;
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram {
    margin: 0;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--hsp-pwc-border);
    background: var(--hsp-pwc-soft);
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 250px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram__back {
    fill: #dbe7ef;
    stroke: #66839a;
    stroke-width: 2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram__panel {
    fill: #fff;
    stroke: var(--hsp-pwc-navy);
    stroke-width: 3;
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram__measure {
    fill: none;
    stroke: var(--hsp-pwc-orange);
    stroke-width: 2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram__label {
    fill: var(--hsp-pwc-navy);
    font-size: 17px;
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-diagram figcaption {
    margin-top: 4px;
    color: var(--hsp-pwc-muted);
    font-size: 13px;
    text-align: center;
}

.hsp-panel-weight-calculator-page .hsp-pwc-results {
    padding: 24px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-results h2 {
    margin: 0;
    color: var(--hsp-pwc-navy);
    font-size: 24px;
    line-height: 1.25;
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-status {
    margin: 8px 0 18px;
    color: var(--hsp-pwc-muted);
    font-size: 14px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-main {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 9px;
    align-items: baseline;
    padding-bottom: 18px;
    color: var(--hsp-pwc-navy);
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-main strong {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1;
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-main > span:not(.hsp-pwc-result-separator) {
    color: var(--hsp-pwc-muted);
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-separator {
    margin-inline: 4px;
    color: var(--hsp-pwc-border);
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-block: 1px solid var(--hsp-pwc-border);
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-grid > div {
    padding: 14px 12px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-grid > div + div {
    border-left: 1px solid var(--hsp-pwc-border);
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-grid dt {
    color: var(--hsp-pwc-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.hsp-panel-weight-calculator-page .hsp-pwc-result-grid dd {
    margin: 5px 0 0;
    color: var(--hsp-pwc-navy);
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-warning {
    margin: 18px 0 12px;
    padding: 12px 14px;
    border-left: 3px solid var(--hsp-pwc-orange);
    color: var(--hsp-pwc-text);
    background: #fff8f1;
    font-size: 14px;
    line-height: 1.55;
}

.hsp-panel-weight-calculator-page .hsp-pwc-breakdown {
    margin-top: 12px;
    border-top: 1px solid var(--hsp-pwc-border);
}

.hsp-panel-weight-calculator-page .hsp-pwc-breakdown summary {
    padding: 13px 0 5px;
    color: var(--hsp-pwc-navy);
    font-weight: 700;
    cursor: pointer;
}

.hsp-panel-weight-calculator-page .hsp-pwc-breakdown p {
    margin: 8px 0 0;
    color: var(--hsp-pwc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hsp-panel-weight-calculator-page .hsp-pwc-note {
    margin: 14px 0 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-transfer {
    margin-top: 18px;
    color: #fff;
    background: var(--hsp-pwc-navy);
}

.hsp-panel-weight-calculator-page .hsp-pwc-transfer:hover {
    border-color: #0d3d6c;
    color: #fff;
    background: #0d3d6c;
}

.hsp-panel-weight-calculator-page .hsp-pwc-section {
    padding: clamp(58px, 7vw, 88px) 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-section--soft {
    background: var(--hsp-pwc-soft);
}

.hsp-panel-weight-calculator-page .hsp-pwc-section p {
    margin: 0 0 18px;
    color: var(--hsp-pwc-text);
    font-size: 17px;
    line-height: 1.75;
}

.hsp-panel-weight-calculator-page .hsp-pwc-section p:last-child {
    margin-bottom: 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-section a {
    color: var(--hsp-pwc-blue);
    font-weight: 700;
    text-underline-offset: 3px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-table-wrap {
    margin: 0 0 24px;
    overflow-x: auto;
}

.hsp-panel-weight-calculator-page .hsp-pwc-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.hsp-panel-weight-calculator-page .hsp-pwc-table-wrap th,
.hsp-panel-weight-calculator-page .hsp-pwc-table-wrap td {
    padding: 13px 15px;
    border: 1px solid var(--hsp-pwc-border);
    text-align: left;
}

.hsp-panel-weight-calculator-page .hsp-pwc-table-wrap th {
    color: #fff;
    background: var(--hsp-pwc-navy);
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-visual,
.hsp-panel-weight-calculator-page .hsp-pwc-geometry-visual {
    margin: 34px 0;
    border: 1px solid var(--hsp-pwc-border);
    background: #fff;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-visual__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen {
    min-width: 0;
    padding: 24px 28px 22px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen + .hsp-pwc-density-specimen {
    border-left: 1px solid var(--hsp-pwc-border);
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg {
    display: block;
    width: 100%;
    height: auto;
    color: var(--hsp-pwc-navy);
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__face {
    fill: #fff;
    stroke: var(--hsp-pwc-navy);
    stroke-width: 2.5;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__side,
.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__fold {
    fill: #dbe7ef;
    stroke: #66839a;
    stroke-width: 2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__measure,
.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__detail {
    fill: none;
    stroke: var(--hsp-pwc-blue);
    stroke-width: 2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__cutout {
    fill: var(--hsp-pwc-soft);
    stroke: #66839a;
    stroke-dasharray: 5 4;
    stroke-width: 2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__component {
    fill: #e7eef3;
    stroke: var(--hsp-pwc-blue);
    stroke-width: 2.5;
}

.hsp-panel-weight-calculator-page .hsp-pwc-tech-svg__text {
    fill: var(--hsp-pwc-navy);
    font-size: 14px;
    font-weight: 700;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen h3,
.hsp-panel-weight-calculator-page .hsp-pwc-geometry-case h3 {
    margin: 4px 0 8px;
    color: var(--hsp-pwc-navy);
    line-height: 1.35;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen h3 {
    font-size: 16px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen p,
.hsp-panel-weight-calculator-page .hsp-pwc-geometry-case p {
    margin: 0;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen__density {
    color: var(--hsp-pwc-muted);
    font-size: 15px;
    line-height: 1.5;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-specimen .hsp-pwc-density-specimen__mass {
    margin-top: 4px;
    color: var(--hsp-pwc-navy);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.hsp-panel-weight-calculator-page .hsp-pwc-density-visual figcaption,
.hsp-panel-weight-calculator-page .hsp-pwc-geometry-visual figcaption {
    padding: 14px 20px;
    border-top: 1px solid var(--hsp-pwc-border);
    color: var(--hsp-pwc-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.hsp-panel-weight-calculator-page .hsp-pwc-geometry-visual__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hsp-panel-weight-calculator-page .hsp-pwc-geometry-case {
    min-width: 0;
    padding: 22px 20px 20px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-geometry-case + .hsp-pwc-geometry-case {
    border-left: 1px solid var(--hsp-pwc-border);
}

.hsp-panel-weight-calculator-page .hsp-pwc-geometry-case h3 {
    font-size: 17px;
}

.hsp-panel-weight-calculator-page .hsp-pwc-geometry-case p {
    color: var(--hsp-pwc-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .hsp-panel-weight-calculator-page .hsp-pwc-workspace {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-dimension-grid,
    .hsp-panel-weight-calculator-page .hsp-pwc-result-grid {
        grid-template-columns: 1fr;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-result-grid > div + div {
        border-top: 1px solid var(--hsp-pwc-border);
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .hsp-panel-weight-calculator-page {
        --hsp-pwc-wide: min(100% - 32px, 1180px);
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-intro {
        padding: 38px 0 30px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-intro h1 {
        font-size: clamp(34px, 10vw, 42px);
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-lead,
    .hsp-panel-weight-calculator-page .hsp-pwc-scope {
        font-size: 16px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-tool {
        padding: 42px 0 52px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-workspace {
        grid-template-columns: 1fr;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-form,
    .hsp-panel-weight-calculator-page .hsp-pwc-results {
        padding: 20px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-diagram {
        padding: 14px 10px 10px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-diagram__label {
        font-size: 15px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-button,
    .hsp-panel-weight-calculator-page .hsp-pwc-transfer {
        width: 100%;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-reset {
        align-self: center;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-result-main {
        column-gap: 7px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-result-main strong {
        font-size: 34px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-section {
        padding: 54px 0;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-section p {
        font-size: 16px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-density-visual,
    .hsp-panel-weight-calculator-page .hsp-pwc-geometry-visual {
        margin: 28px 0;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-density-visual__grid,
    .hsp-panel-weight-calculator-page .hsp-pwc-geometry-visual__grid {
        grid-template-columns: 1fr;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-density-specimen,
    .hsp-panel-weight-calculator-page .hsp-pwc-geometry-case {
        padding: 20px;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-density-specimen + .hsp-pwc-density-specimen,
    .hsp-panel-weight-calculator-page .hsp-pwc-geometry-case + .hsp-pwc-geometry-case {
        border-top: 1px solid var(--hsp-pwc-border);
        border-left: 0;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-density-specimen .hsp-pwc-density-specimen__mass {
        font-size: 24px;
    }
}

@media (max-width: 420px) {
    .hsp-panel-weight-calculator-page .hsp-pwc-unit-switch {
        align-items: stretch;
        flex-direction: column;
    }

    .hsp-panel-weight-calculator-page .hsp-pwc-result-separator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hsp-panel-weight-calculator-page *,
    .hsp-panel-weight-calculator-page *::before,
    .hsp-panel-weight-calculator-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
