:root {
    --primary: #3fa3bb;
    --primary-dark: #2b7487;
    --primary-soft: #e8f7fb;
    --background: #eef3f8;
    --surface: #ffffff;
    --surface-soft: #f8fbfd;
    --text: #22313b;
    --text-muted: #5b6872;
    --border: #dde4ec;
    --radius: 14px;
    --radius-small: 10px;
    --shadow: 0 8px 24px rgba(34, 49, 59, .08);
    --content-width: 980px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(100%, var(--content-width));
    margin-inline: auto;
    padding: 24px;
}

.hero {
    padding: 20px 0;
    background: var(--surface);
    border-top: 24px solid var(--primary);
    border-bottom: 1px solid #e7e7e7;
    text-align: center;
}

.hero__inner {
    padding-block: 22px;
}

.brand {
    display: inline-block;
    margin-bottom: 18px;
}

.brand--restart {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.logo-camp {
    display: block;
    width: 120px;
    height: auto;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.hero__eyebrow {
    margin: 0 0 8px;
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.subtitle {
    max-width: 700px;
    margin: 12px auto 0;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.powered {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    color: #666;
    font-size: .94rem;
}

.logo-tortuga {
    width: 140px;
    height: auto;
    margin-top: 8px;
    opacity: .85;
}

.card,
.result {
    margin: 24px 0;
    padding: 28px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.intro {
    text-align: center;
}

.intro > h2,
.wizard h2,
.result > h2,
.content-section > h2 {
    margin: 0 0 10px;
    line-height: 1.25;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lead,
.step__intro,
.result__intro,
.section-intro {
    color: var(--text-muted);
}

.lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.trust-box {
    display: flex;
    gap: 18px;
    margin: 26px 0;
    padding: 24px 28px;
    background: var(--primary-soft);
    border: 1px solid #b7e4ef;
    border-left: 6px solid var(--primary);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
}

.trust-box__icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    font-weight: 800;
}

.trust-box h3 {
    margin: 0 0 7px;
    font-size: 1.25rem;
}

.trust-box p {
    margin: 0;
    color: #44525c;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #44525c;
    font-size: .94rem;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, transform .2s;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.text-button:focus-visible,
a:focus-visible,
.brand--restart:focus-visible,
summary:focus-visible,
.choice-card:has(input:focus-visible) {
    outline: 3px solid var(--primary-dark);
    outline-offset: 3px;
}

.button--primary {
    background: var(--primary);
    color: var(--text);
}

.button--primary:hover {
    background: var(--primary-dark);
}

.button--secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

.button--secondary:hover {
    border-color: var(--primary);
    background: var(--surface-soft);
}

.button--large {
    min-width: 190px;
}

[hidden] {
    display: none !important;
}

.wizard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: start;
    gap: 20px;
}

.wizard-layout > .wizard {
    min-width: 0;
}

.live-summary {
    position: sticky;
    top: 20px;
    padding: 22px;
}

.live-summary h2 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.live-summary dl,
.live-summary dd {
    margin: 0;
}

.live-summary dl > div {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.live-summary dt {
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.live-summary dd {
    overflow-wrap: anywhere;
    font-weight: 700;
    line-height: 1.4;
}

.live-summary dd + dd {
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 500;
}

.live-summary > small {
    display: block;
    margin-top: 14px;
    color: var(--text-muted);
    line-height: 1.45;
}

.progress {
    margin-bottom: 32px;
}

.progress__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    font-size: .94rem;
}

.progress__meta > span:last-child {
    color: var(--text-muted);
}

.progress__track {
    width: 100%;
    height: 12px;
    overflow: hidden;
    background: var(--border);
    border-radius: 999px;
}

.progress__fill {
    width: 20%;
    height: 100%;
    background: var(--primary);
    border-radius: inherit;
    transition: width .3s ease;
}

.step__intro {
    margin: 0 0 24px;
}

.choice-group {
    min-width: 0;
    margin: 26px 0 0;
    padding: 0;
    border: 0;
}

.choice-group legend {
    margin-bottom: 10px;
    font-weight: 750;
}

.choice-grid {
    display: grid;
    gap: 14px;
}

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

.choice-card {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-card__content {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    gap: 7px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.choice-card:hover .choice-card__content {
    border-color: var(--primary);
    background: #f8fcfd;
}

.choice-card input:checked + .choice-card__content {
    background: var(--primary-soft);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.choice-card__icon {
    font-size: 1.55rem;
}

.choice-card small {
    color: var(--text-muted);
    line-height: 1.5;
}

.choice-card--compact .choice-card__content {
    min-height: 105px;
}

.choice-card__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.badge {
    display: inline-flex;
    width: fit-content;
    padding: 3px 8px;
    background: var(--primary);
    border-radius: 999px;
    color: white;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .02em;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.step-actions--end {
    justify-content: flex-end;
}

.form-section {
    min-width: 0;
    margin: 20px 0;
    padding: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.form-section legend {
    padding: 0 7px;
    font-size: 1.12rem;
    font-weight: 750;
}

.help-text {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: .94rem;
}

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

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

.form-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    color: var(--text);
    font-weight: 650;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field small {
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
}

.form-field input,
.form-field select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid #c8d2da;
    border-radius: 8px;
    color: var(--text);
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(63, 163, 187, .18);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.input-with-unit:has(.is-invalid) {
    border-color: #b54646;
    background: #fff8f8;
    box-shadow: 0 0 0 2px rgba(181, 70, 70, .18);
}

.form-field.has-validation-error > span:first-child {
    color: #8a2c2c;
}

.form-validation {
    margin-top: 20px;
    padding: 14px 16px;
    background: #fbeaea;
    border-left: 4px solid #b54646;
    border-radius: 6px;
    color: #703030;
}

.form-validation ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.input-with-unit {
    display: flex;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid #c8d2da;
    border-radius: 8px;
}

.input-with-unit:focus-within {
    border-color: var(--primary);
    outline: 3px solid rgba(63, 163, 187, .18);
}

.input-with-unit input {
    border: 0;
    border-radius: 0;
    outline: 0 !important;
}

.consumer-power[readonly],
.input-with-unit:has(.consumer-power[readonly]) {
    background: var(--surface-soft);
    color: var(--text-muted);
    cursor: default;
}

.input-with-unit > span {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 12px;
    background: #edf2f5;
    border-left: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 700;
}

.toggle-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.toggle-row input,
.switch-label input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--primary-dark);
}

.toggle-row span {
    display: flex;
    flex-direction: column;
}

.toggle-row small {
    color: var(--text-muted);
}

.conditional-fields {
    margin: 14px 0 0 30px;
}

.conditional-fields > .form-field {
    max-width: 300px;
}

.consumer-accordions {
    display: grid;
    gap: 12px;
}

.consumer-category {
    margin: 0;
    padding: 0;
    background: var(--surface-soft);
}

.consumer-category > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    list-style: none;
}

.consumer-category > summary::-webkit-details-marker {
    display: none;
}

.consumer-category > summary::after {
    content: "+";
    order: 3;
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1;
}

.consumer-category[open] > summary::after {
    content: "−";
}

.consumer-category > summary > span:first-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.consumer-category > summary small {
    color: var(--text-muted);
    font-weight: 400;
}

.category-count {
    margin-left: auto;
    padding: 3px 9px;
    background: #e6ebef;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: .75rem;
    white-space: nowrap;
}

.consumer-list {
    display: grid;
    gap: 14px;
    padding: 0 14px 14px;
}

.consumer-card {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.consumer-card.has-validation-error {
    border-color: #b54646;
    box-shadow: 0 0 0 2px rgba(181, 70, 70, .14);
}

.consumer-category.has-validation-error > summary {
    background: #fbeaea;
    color: #703030;
}

.consumer-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.consumer-card__header h3 {
    margin: 0;
    font-size: 1rem;
}

.consumer-card__note {
    max-width: 470px;
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.45;
}

.form-field--name input {
    min-height: 40px;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
}

.consumer-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    opacity: .48;
    transition: opacity .2s;
}

.consumer-card.is-active {
    border-color: var(--primary);
}

.consumer-card.is-active .consumer-fields {
    opacity: 1;
}

.info-panel {
    padding: 22px;
    background: var(--primary-soft);
    border: 1px solid #b7e4ef;
    border-left: 5px solid var(--primary);
    border-radius: 10px;
}

.info-panel h3,
.info-panel p {
    margin: 0;
}

.info-panel p {
    margin-top: 5px;
    color: var(--text-muted);
}

.review {
    display: grid;
    gap: 14px;
}

.review-section {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.review-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border);
}

.review-section__header h3 {
    margin: 0;
    font-size: 1rem;
}

.review-edit {
    padding: 4px;
    background: transparent;
    border: 0;
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
}

.review-section dl {
    display: grid;
    grid-template-columns: minmax(130px, .75fr) 1fr;
    margin: 0;
    padding: 12px 16px;
}

.review-section dt,
.review-section dd {
    margin: 0;
    padding: 4px 0;
}

.review-section dt {
    color: var(--text-muted);
}

.review-section dd {
    font-weight: 650;
}

.result-card {
    padding: 20px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.result-card h3 {
    margin: 8px 0 5px;
}

.result-card p {
    margin: 0;
    color: var(--text-muted);
}

.notice {
    margin-top: 20px;
    padding: 14px 16px;
    background: #fff6df;
    border-left: 4px solid #e5b100;
    border-radius: 6px;
    color: #5f5126;
}

.result {
    border-top: 6px solid var(--primary);
    text-align: center;
}

.result__intro {
    max-width: 680px;
    margin: 0 auto 26px;
}

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

.metric-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px 12px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.metric-card__label {
    min-height: 46px;
    color: var(--text-muted);
    font-size: .84rem;
    font-weight: 700;
}

.metric-card strong {
    margin: 7px 0;
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    white-space: nowrap;
}

.metric-card strong.metric-value--long {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
}

.metric-card small {
    color: #78848c;
    line-height: 1.35;
}

.metric-card--highlight {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
    text-align: left;
}

.result-card {
    border-left: 5px solid var(--primary);
}

.result-card--wide {
    grid-column: 1 / -1;
}

.result-explanation-list {
    display: grid;
    gap: 9px;
    margin: 10px 0 0;
    padding-left: 20px;
}

.result-explanation-list li::marker {
    color: var(--primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    margin: 2px 0 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 750;
}

.status-badge--green {
    background: #e3f4e8;
    color: #25633a;
}

.status-badge--yellow {
    background: #fff3cd;
    color: #765c08;
}

.status-badge--red {
    background: #fbe4e4;
    color: #8a2c2c;
}

.reserve-bars {
    display: grid;
    gap: 13px;
    margin-top: 12px;
}

.reserve-intro {
    margin: 0;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.45;
}

.reserve-bar__label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: .86rem;
}

.reserve-bar__track {
    height: 10px;
    overflow: hidden;
    background: var(--border);
    border-radius: 999px;
}

.reserve-bar__fill {
    width: 0;
    height: 100%;
    background: var(--primary);
    border-radius: inherit;
    transition: width .3s ease;
}

.energy-flow {
    margin-top: 18px;
    padding: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.energy-flow h3,
.energy-flow p {
    margin: 0;
}

.energy-flow p {
    margin-top: 4px;
    color: var(--text-muted);
}

.energy-flow__steps {
    display: grid;
    grid-template-columns: repeat(7, auto);
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.energy-flow__steps > div {
    display: flex;
    min-width: 120px;
    flex-direction: column;
    padding: 13px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.energy-flow__steps span {
    color: var(--text-muted);
    font-size: .82rem;
}

.energy-flow__arrow {
    color: var(--primary-dark) !important;
    font-size: 1.35rem !important;
    transform: rotate(-90deg);
}

.result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
}

.result-actions small {
    color: var(--text-muted);
}

.text-button {
    padding: 6px;
    background: transparent;
    border: 0;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.content-section {
    text-align: left;
}

.content-section__header {
    max-width: 720px;
    margin-bottom: 26px;
}

.content-section__header h2 {
    margin: 0 0 10px;
    line-height: 1.25;
}

.section-intro {
    margin-top: 0;
}

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

.explainer-grid article {
    min-width: 0;
}

.explainer-grid h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    line-height: 1.35;
}

.explainer-grid p {
    margin: 0 0 10px;
    color: var(--text-muted);
}

.explainer-grid p:last-child {
    margin-bottom: 0;
}

details {
    margin-bottom: 12px;
    padding: 14px 18px;
    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: box-shadow .2s, background-color .2s;
}

details[open] {
    background: var(--surface);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

summary {
    font-weight: 650;
    cursor: pointer;
}

details p {
    margin: 12px 0 0;
    color: var(--text-muted);
}

.calculation-basis {
    padding: 14px;
    background: var(--surface-soft);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    color: var(--text-muted);
}

.calculation-basis ul {
    margin: 0;
    padding-left: 20px;
}

.result-disclaimer {
    margin: 22px 0 0;
    padding: 14px 16px;
    background: var(--surface-soft);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: .92rem;
}

.site-footer {
    margin-top: 60px;
    padding: 35px 20px;
    background: #f8f9fb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.footer-links {
    margin-bottom: 18px;
}

.footer-links a {
    display: inline-block;
    margin: 4px 14px;
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    color: #666;
    font-size: .875rem;
    line-height: 1.6;
}

.last-updated {
    display: inline-block;
    margin-top: 4px;
}

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

    .live-summary {
        position: static;
        order: 2;
        margin-top: 0;
    }

    .live-summary dl {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 20px;
    }
}

@media (max-width: 860px) {
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-card--highlight {
        grid-column: 1 / -1;
    }

    .energy-flow__steps {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
    }

    .energy-flow__arrow {
        transform: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 16px;
    }

    .hero {
        border-top-width: 16px;
    }

    .hero__inner {
        padding-block: 18px;
    }

    .card,
    .result {
        padding: 20px;
    }

    .form-section {
        padding: 17px;
    }

    .consumer-category > summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .category-count {
        margin-left: 0;
    }

    .trust-box {
        gap: 12px;
        padding: 20px;
    }

    .trust-box__icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .trust-list {
        display: block;
    }

    .choice-grid--two,
    .analysis-grid,
    .form-grid--two,
    .consumer-fields,
    .explainer-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full {
        grid-column: auto;
    }

    .live-summary dl {
        grid-template-columns: 1fr;
    }

    .consumer-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-section dl {
        grid-template-columns: 1fr;
    }

    .review-section dd {
        padding-top: 0;
    }

    .choice-card__content,
    .choice-card--compact .choice-card__content {
        min-height: auto;
    }

    .progress__meta > span:last-child {
        display: none;
    }

    .step-actions .button {
        flex: 1;
    }

    .step-actions--end .button {
        flex: 0 1 100%;
    }

}

@media (max-width: 420px) {
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .metric-card--highlight {
        grid-column: auto;
    }

    .step-actions {
        flex-direction: column-reverse;
    }

    .step-actions--end {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

.print-report {
    display: none;
}

@media print {
    @page {
        size: A4;
        margin: 15mm;
    }

    html,
    body {
        background: #fff;
        color: #22313b;
        font-size: 10pt;
    }

    body > :not(.print-report) {
        display: none !important;
    }

    .print-report {
        display: block !important;
        max-width: none;
        color: #22313b;
        font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
        line-height: 1.45;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-report__header {
        padding-bottom: 14px;
        border-bottom: 4px solid #3fa3bb;
    }

    .print-report__logo {
        width: 62px;
        height: auto;
        margin-bottom: 8px;
    }

    .print-report h1 {
        margin: 0;
        font-size: 22pt;
        line-height: 1.2;
    }

    .print-report__subtitle {
        margin: 4px 0 0;
        color: #5b6872;
    }

    .print-report__meta {
        display: grid;
        grid-template-columns: max-content 1fr;
        gap: 3px 18px;
        margin: 14px 0 0;
    }

    .print-report__meta dt,
    .print-report__meta dd {
        margin: 0;
    }

    .print-report__meta dt {
        color: #5b6872;
        font-weight: 700;
    }

    .print-report__section {
        margin-top: 18px;
        break-inside: avoid;
    }

    .print-report__section h2 {
        margin: 0 0 8px;
        padding-bottom: 4px;
        border-bottom: 1px solid #dde4ec;
        font-size: 14pt;
    }

    .print-report__section h3 {
        margin: 8px 0 4px;
        font-size: 10.5pt;
    }

    .print-report__section p {
        margin: 5px 0;
    }

    .print-report__list {
        margin: 5px 0;
        padding-left: 18px;
    }

    .print-report__list li {
        margin-bottom: 4px;
    }

    .print-report__input-block {
        break-inside: avoid;
    }

    .print-report__input-block dl {
        display: grid;
        grid-template-columns: minmax(42mm, .7fr) 1fr;
        margin: 0;
    }

    .print-report__input-block dt,
    .print-report__input-block dd {
        margin: 0;
        padding: 2px 0;
        border-bottom: 1px solid #eef1f4;
    }

    .print-report__input-block dt {
        color: #5b6872;
    }

    .print-report__input-block dd {
        font-weight: 650;
    }

    .print-report__table {
        width: 100%;
        border-collapse: collapse;
    }

    .print-report__table th,
    .print-report__table td {
        padding: 6px 8px;
        border: 1px solid #dde4ec;
        text-align: left;
    }

    .print-report__table th {
        width: 65%;
        background: #f8fbfd;
    }

    .print-report__table td {
        font-weight: 750;
    }

    .print-report__status {
        display: inline-block;
        padding: 4px 10px;
        background: #e8f7fb;
        border-left: 4px solid #3fa3bb;
        font-weight: 750;
    }

    .print-report__note {
        color: #5b6872;
        font-size: 9pt;
    }

    .print-report__footer {
        margin-top: 22px;
        padding-top: 8px;
        border-top: 1px solid #dde4ec;
        color: #5b6872;
        font-size: 8.5pt;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
