body.nl-route-calculator {
    background: #f4f2ec;
    color: #101923;
}

body.nl-route-calculator #site-header,
body.nl-route-calculator .nl-header {
    color: #101923;
}

body.nl-route-calculator #site-header .nl-header__inner,
body.nl-route-calculator #site-header.is-condensed .nl-header__inner {
    background: rgba(244, 242, 236, .72);
    border-color: rgba(22, 35, 48, .1);
    box-shadow: 0 20px 60px rgba(52, 64, 78, .1);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

body.nl-route-calculator #site-header a,
body.nl-route-calculator #site-header button,
body.nl-route-calculator #site-header svg {
    color: #101923;
    stroke: #101923;
}

.nl-peptide-calculator-page--reference {
    --calc-bg: #f4f2ec;
    --calc-panel: rgba(255, 255, 255, .42);
    --calc-panel-strong: rgba(247, 251, 253, .78);
    --calc-ink: #101923;
    --calc-muted: #687786;
    --calc-line: rgba(93, 113, 132, .32);
    --calc-line-strong: rgba(93, 113, 132, .48);
    --calc-blue: #006dc8;
    --calc-blue-soft: rgba(0, 109, 200, .11);
    --calc-shadow: 0 36px 110px rgba(47, 65, 83, .12);
    background:
        radial-gradient(900px 520px at 68% 17%, rgba(155, 183, 206, .26), transparent 62%),
        radial-gradient(640px 520px at 8% 34%, rgba(255, 255, 255, .88), transparent 68%),
        var(--calc-bg);
    color: var(--calc-ink);
    font-family: var(--nl-type-body, Archivo, Arial, sans-serif);
    min-height: 100vh;
    padding: clamp(104px, 12vw, 148px) clamp(20px, 7vw, 132px) 76px;
}

.nl-peptide-calculator-page--reference .nl-section-kicker,
.nl-peptide-calculator-page--reference button,
.nl-peptide-calculator-page--reference select,
.nl-peptide-calculator-page--reference code,
.nl-peptide-calculator-page--reference small,
.nlpc-ref-step,
.nlpc-ref-field > span,
.nlpc-ref-field b,
.nlpc-ref-select > span,
.nlpc-ref-actions,
.nlpc-ref-metrics span,
.nlpc-ref-exact span,
.nlpc-ref-links {
    font-family: var(--nl-type-label, "Martian Mono", Consolas, monospace);
    letter-spacing: .06em;
}

.nl-peptide-calculator-page--reference .nl-section-kicker {
    color: var(--calc-blue);
    font-size: 12px;
    font-weight: 850;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.nlpc-ref-hero {
    max-width: 1180px;
    margin: 0 auto 42px;
}

.nlpc-ref-hero h1 {
    color: #07111b;
    font-family: var(--nl-type-industrial, var(--nl-type-headline, Archivo, Arial, sans-serif));
    font-size: clamp(58px, 7.2vw, 96px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .93;
    margin: 0;
    text-transform: uppercase;
}

.nlpc-ref-hero p:not(.nl-section-kicker) {
    color: var(--calc-muted);
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.55;
    margin: 28px 0 0;
    max-width: 670px;
}

.nlpc-ref-board {
    display: grid;
    grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid var(--calc-line-strong);
    background: rgba(255, 255, 255, .25);
    box-shadow: var(--calc-shadow);
}

.nlpc-ref-inputs {
    border-right: 1px solid var(--calc-line-strong);
    padding: 32px;
    background: rgba(255, 255, 255, .35);
}

.nlpc-ref-inputs__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.nlpc-ref-inputs h2,
.nlpc-ref-result h2,
.nlpc-ref-cards h3 {
    font-size: 22px;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -.03em;
}

.nlpc-ref-reset,
.nlpc-ref-actions button {
    appearance: none;
    border: 1px solid var(--calc-line);
    background: rgba(255, 255, 255, .44);
    color: var(--calc-ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    min-height: 44px;
    padding: 0 16px;
    text-transform: uppercase;
}

.nlpc-ref-reset span {
    display: inline-block;
    font-size: 18px;
    margin-right: 6px;
    transform: translateY(1px);
}

.nlpc-ref-fieldset {
    margin-top: 28px;
}

.nlpc-ref-step {
    color: var(--calc-blue);
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 16px;
}

.nlpc-ref-unit-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 138px;
    margin-left: auto;
    margin-bottom: 16px;
    border: 1px solid var(--calc-line);
    background: rgba(232, 238, 244, .7);
}

.nlpc-ref-unit-toggle label {
    cursor: pointer;
}

.nlpc-ref-unit-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nlpc-ref-unit-toggle span {
    display: grid;
    place-items: center;
    min-height: 42px;
    color: #6c7b89;
    font-size: 12px;
    font-weight: 850;
}

.nlpc-ref-unit-toggle input:checked + span {
    background: rgba(255, 255, 255, .82);
    box-shadow: inset 0 0 0 1px rgba(0, 109, 200, .26);
    color: var(--calc-blue);
}

.nlpc-ref-field,
.nlpc-ref-select {
    display: grid;
    gap: 10px;
}

.nlpc-ref-field > span,
.nlpc-ref-select > span {
    color: #667482;
    font-size: 12px;
    font-weight: 850;
}

.nlpc-ref-field__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    border: 1px solid var(--calc-line);
    background: rgba(255, 255, 255, .58);
}

.nlpc-ref-field input,
.nlpc-ref-select select {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--calc-ink);
    font: inherit;
    font-size: 17px;
    font-weight: 750;
    min-height: 56px;
    outline: 0;
    padding: 0 18px;
    width: 100%;
}

.nlpc-ref-field input:focus,
.nlpc-ref-select select:focus {
    box-shadow: inset 0 0 0 2px rgba(0, 109, 200, .42);
}

.nlpc-ref-field b {
    align-items: center;
    background: rgba(231, 238, 245, .82);
    border-left: 1px solid var(--calc-line);
    color: #596978;
    display: flex;
    font-size: 12px;
    justify-content: center;
}

.nlpc-ref-help {
    color: #75818d;
    font-size: 12px;
    line-height: 1.45;
    margin: 12px 0 0;
}

.nlpc-ref-help a,
.nlpc-ref-links a {
    color: var(--calc-blue);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nlpc-ref-select {
    margin-top: 16px;
}

.nlpc-ref-select select {
    border: 1px solid var(--calc-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .58);
}

.nlpc-ref-advanced {
    border-top: 1px solid var(--calc-line);
    color: #6d7a87;
    font-size: 13px;
    margin-top: 24px;
    padding-top: 20px;
}

.nlpc-ref-advanced summary {
    cursor: pointer;
    font-family: var(--nl-type-label, "Martian Mono", Consolas, monospace);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nlpc-ref-result {
    padding: 38px 42px 40px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .52), rgba(238, 246, 251, .46));
    min-width: 0;
}

.nlpc-ref-result > strong {
    color: #07111b;
    display: block;
    font-family: var(--nl-type-industrial, var(--nl-type-headline, Archivo, Arial, sans-serif));
    font-size: clamp(72px, 7vw, 100px);
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .9;
    margin: 38px 0 8px;
}

.nlpc-ref-result > p {
    color: #526170;
    font-size: 13px;
    font-weight: 750;
    margin: 0;
}

.nlpc-ref-badge {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(112, 130, 148, .26);
    border-radius: 999px;
    color: #5f6e7c;
    display: inline-flex;
    font-family: var(--nl-type-label, "Martian Mono", Consolas, monospace);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .05em;
    margin: 28px 0 20px;
    padding: 8px 14px;
}

.nlpc-ref-syringe {
    background: #04111e;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 60px rgba(8, 18, 28, .12);
    margin: 0;
    min-height: 182px;
    overflow: hidden;
    padding: 22px 28px 20px;
    position: relative;
}

.nlpc-ref-syringe img {
    display: block;
    height: 118px;
    margin: 18px auto 0;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    width: 620px;
    z-index: 1;
}

.nlpc-ref-syringe i {
    background: #0072ce;
    bottom: 42px;
    box-shadow: 0 0 18px rgba(0, 114, 206, .72);
    left: calc(24% + (var(--fill, 20%) * .52));
    position: absolute;
    top: 62px;
    transform: translateX(-50%);
    width: 4px;
    z-index: 2;
}

.nlpc-ref-syringe figcaption {
    background: #fff;
    border-radius: 4px;
    color: #3e4c59;
    font-family: var(--nl-type-label, "Martian Mono", Consolas, monospace);
    font-size: 11px;
    font-weight: 900;
    left: calc(24% + (var(--fill, 20%) * .52));
    letter-spacing: .05em;
    padding: 10px 12px;
    position: absolute;
    text-transform: uppercase;
    top: 13px;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 3;
}

.nlpc-ref-syringe__ticks {
    color: #d5e4f0;
    display: flex;
    font-family: var(--nl-type-label, "Martian Mono", Consolas, monospace);
    font-size: 13px;
    font-weight: 850;
    justify-content: space-between;
    margin: -16px auto 0;
    max-width: 430px;
    opacity: .86;
    position: relative;
    z-index: 3;
}

.nlpc-ref-syringe small {
    color: rgba(255,255,255,.7);
    display: block;
    font-size: 12px;
    font-weight: 850;
    margin-top: 18px;
    text-align: center;
}

.nlpc-ref-exact {
    align-items: baseline;
    border-top: 1px solid var(--calc-line);
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 18px 0;
}

.nlpc-ref-exact span,
.nlpc-ref-metrics span {
    color: #5e6e7d;
    display: block;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.nlpc-ref-exact strong {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
}

.nlpc-ref-metrics {
    border: 1px solid var(--calc-line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nlpc-ref-metrics article {
    border-right: 1px solid var(--calc-line);
    min-height: 82px;
    padding: 16px 18px;
}

.nlpc-ref-metrics article:last-child {
    border-right: 0;
}

.nlpc-ref-metrics strong {
    color: #162331;
    display: block;
    font-size: 18px;
    font-weight: 850;
    margin-top: 10px;
}

.nlpc-ref-metrics em {
    color: #71808d;
    display: block;
    font-style: normal;
    font-size: 12px;
    font-weight: 750;
    margin-top: 3px;
}

.nlpc-ref-equation {
    color: #61707e;
    font-size: 12px;
    line-height: 1.5;
    margin: 14px 0 0;
}

.nlpc-ref-actions {
    display: grid;
    grid-template-columns: 1.25fr repeat(4, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.nlpc-ref-actions button {
    border-radius: 6px;
}

.nlpc-ref-actions button:first-child {
    background: var(--calc-blue);
    border-color: var(--calc-blue);
    color: #fff;
}

.nlpc-ref-verify {
    border-top: 1px solid var(--calc-line);
    max-width: 1180px;
    margin: 78px auto 0;
    padding-top: 78px;
}

.nlpc-ref-verify__head {
    display: grid;
    grid-template-columns: minmax(0, .58fr) minmax(300px, .42fr);
    gap: 64px;
    align-items: end;
}

.nlpc-ref-verify h2 {
    color: #07111b;
    font-family: var(--nl-type-industrial, var(--nl-type-headline, Archivo, Arial, sans-serif));
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .95;
    margin: 0;
    text-transform: uppercase;
}

.nlpc-ref-verify__head > p,
.nlpc-ref-cards p,
.nlpc-ref-disclaimer {
    color: var(--calc-muted);
    line-height: 1.55;
}

.nlpc-ref-cards {
    border: 1px solid var(--calc-line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
}

.nlpc-ref-cards article {
    border-right: 1px solid var(--calc-line);
    min-height: 315px;
    padding: 28px 24px;
}

.nlpc-ref-cards article:last-child {
    border-right: 0;
}

.nlpc-ref-cards article > span {
    color: var(--calc-blue);
    display: block;
    font-family: var(--nl-type-label, "Martian Mono", Consolas, monospace);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 30px;
}

.nlpc-ref-cards code {
    background: rgba(219, 232, 241, .74);
    border-left: 3px solid var(--calc-blue);
    color: #2d3a45;
    display: block;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.45;
    margin-top: 4px;
    padding: 12px;
    white-space: normal;
}

.nlpc-ref-cards p {
    font-size: 14px;
    margin: 18px 0 0;
}

.nlpc-ref-worked {
    align-items: stretch;
    background: rgba(219, 232, 241, .62);
    border: 1px solid rgba(0, 109, 200, .24);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    overflow: hidden;
}

.nlpc-ref-worked > * {
    border-right: 1px solid var(--calc-line);
    display: grid;
    align-content: center;
    min-height: 96px;
    padding: 20px;
}

.nlpc-ref-worked > *:last-child {
    border-right: 0;
}

.nlpc-ref-worked span,
.nlpc-ref-worked strong {
    color: #263542;
    font-size: 18px;
    font-weight: 750;
}

.nlpc-ref-worked small {
    color: #72808d;
    display: block;
    font-size: 11px;
    font-weight: 850;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.nlpc-ref-disclaimer {
    font-size: 13px;
    margin: 28px 0 0;
    max-width: 670px;
}

.nlpc-ref-links {
    display: flex;
    gap: 28px;
    justify-content: flex-end;
    margin-top: -20px;
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 1080px) {
    .nl-peptide-calculator-page--reference {
        padding-left: 22px;
        padding-right: 22px;
    }

    .nlpc-ref-board,
    .nlpc-ref-verify__head,
    .nlpc-ref-cards,
    .nlpc-ref-worked {
        grid-template-columns: 1fr;
    }

    .nlpc-ref-inputs {
        border-right: 0;
        border-bottom: 1px solid var(--calc-line-strong);
    }

    .nlpc-ref-cards article,
    .nlpc-ref-worked > * {
        border-right: 0;
        border-bottom: 1px solid var(--calc-line);
    }

    .nlpc-ref-cards article:last-child,
    .nlpc-ref-worked > *:last-child {
        border-bottom: 0;
    }

    .nlpc-ref-actions {
        grid-template-columns: 1fr 1fr;
    }

    .nlpc-ref-actions button:first-child {
        grid-column: 1 / -1;
    }

    .nlpc-ref-links {
        justify-content: flex-start;
        margin-top: 24px;
    }
}

@media (max-width: 620px) {
    .nl-peptide-calculator-page--reference {
        padding-top: 92px;
        padding-inline: 14px;
    }

    .nlpc-ref-hero h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .nlpc-ref-inputs,
    .nlpc-ref-result {
        padding: 24px 18px;
    }

    .nlpc-ref-result > strong {
        font-size: clamp(58px, 18vw, 82px);
    }

    .nlpc-ref-syringe {
        padding-inline: 14px;
    }

    .nlpc-ref-metrics,
    .nlpc-ref-actions {
        grid-template-columns: 1fr;
    }

    .nlpc-ref-metrics article {
        border-right: 0;
        border-bottom: 1px solid var(--calc-line);
    }

    .nlpc-ref-metrics article:last-child {
        border-bottom: 0;
    }
}
