.tr-vax {
    --tr-vax-ink: #172039;
    --tr-vax-muted: #626b7f;
    --tr-vax-line: #e3e7ef;
    --tr-vax-brand: #125f70;
    --tr-vax-brand-dark: #0c4654;
    --tr-vax-soft: #edf8fa;
    --tr-vax-green: #177b59;
    --tr-vax-green-soft: #eaf8f1;
    --tr-vax-warn: #9a5a0a;
    box-sizing: border-box;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 40px) 14px 60px;
    color: var(--tr-vax-ink);
    font-family: inherit;
}

.tr-vax *,
.tr-vax *::before,
.tr-vax *::after {
    box-sizing: inherit;
}

.tr-vax-hero {
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 46px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 9% 12%, rgba(255, 255, 255, .25), transparent 30%),
        linear-gradient(135deg, #14687a 0%, #0c3f4b 100%);
    color: #fff;
    box-shadow: 0 18px 48px rgba(12, 70, 84, .2);
}

.tr-vax-hero > div > span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
    font-weight: 800;
}

.tr-vax-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(31px, 5vw, 53px);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.tr-vax-hero > div > p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.8;
}

.tr-vax-hero aside {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 19px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}

.tr-vax-hero aside strong {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--tr-vax-brand);
    font-size: 18px;
}

.tr-vax-hero aside p {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.75;
}

.tr-vax-profile,
.tr-vax-dashboard,
.tr-vax-stage,
.tr-vax-catchup,
.tr-vax-disclaimer,
.tr-vax-sources {
    border: 1px solid var(--tr-vax-line);
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 32, 57, .06);
}

.tr-vax-profile {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding: 19px;
    border-radius: 21px;
}

.tr-vax-profile label,
.tr-vax-stage-fields label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.tr-vax-profile label > span,
.tr-vax-stage-fields label > span {
    color: var(--tr-vax-ink);
    font-size: 12px;
    font-weight: 800;
}

.tr-vax-profile input,
.tr-vax-profile select,
.tr-vax-stage-fields input {
    width: 100%;
    min-height: 47px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid #d7dce7;
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--tr-vax-ink);
    font: inherit;
}

.tr-vax-profile input[readonly] {
    background: #f1f4f7;
    color: #4e586c;
}

.tr-vax-profile input:focus,
.tr-vax-profile select:focus,
.tr-vax-stage-fields input:focus {
    outline: 3px solid rgba(18, 95, 112, .13);
    border-color: var(--tr-vax-brand);
}

.tr-vax-profile-fields {
    display: grid;
    gap: 13px;
}

.tr-vax-add-child {
    margin: 0;
    padding: 12px 14px;
    border-radius: 13px;
    background: #fff8e9;
    color: #75500f;
    font-size: 13px;
}

.tr-vax-add-child a {
    color: var(--tr-vax-brand-dark);
    font-weight: 800;
}

.tr-vax-dashboard {
    display: grid;
    gap: 1px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 21px;
    background: var(--tr-vax-line);
}

.tr-vax-next,
.tr-vax-progress-card {
    min-width: 0;
    padding: 20px;
    background: #fff;
}

.tr-vax-next > span,
.tr-vax-progress-card > div:first-child > span {
    display: block;
    margin-bottom: 7px;
    color: var(--tr-vax-muted);
    font-size: 12px;
    font-weight: 800;
}

.tr-vax-next strong {
    display: block;
    color: var(--tr-vax-brand-dark);
    font-size: 20px;
    line-height: 1.5;
}

.tr-vax-next p {
    margin: 6px 0 0;
    color: var(--tr-vax-muted);
    font-size: 13px;
    line-height: 1.7;
}

.tr-vax-progress-card > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tr-vax-progress-card > div:first-child > span {
    margin: 0;
}

.tr-vax-progress-card > div:first-child strong {
    color: var(--tr-vax-brand-dark);
    font-size: 23px;
}

.tr-vax-progress {
    height: 11px;
    margin: 12px 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf1;
}

.tr-vax-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #20a477, var(--tr-vax-brand));
    transition: width .25s ease;
}

.tr-vax-progress-card small {
    color: var(--tr-vax-muted);
    font-size: 11px;
}

.tr-vax-timeline {
    position: relative;
    display: grid;
    gap: 15px;
    margin-top: 22px;
}

.tr-vax-timeline::before {
    position: absolute;
    z-index: 0;
    top: 34px;
    bottom: 34px;
    right: 21px;
    width: 2px;
    background: #dbe3e8;
    content: "";
}

.tr-vax-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border-radius: 21px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tr-vax-stage.is-done {
    border-color: #b8dfcf;
    box-shadow: 0 10px 30px rgba(23, 123, 89, .08);
}

.tr-vax-stage-number {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--tr-vax-brand);
    color: #fff;
    box-shadow: 0 0 0 1px var(--tr-vax-line);
    font-weight: 900;
}

.tr-vax-stage.is-done .tr-vax-stage-number {
    background: var(--tr-vax-green);
}

.tr-vax-stage-body {
    min-width: 0;
}

.tr-vax-stage header {
    display: grid;
    gap: 13px;
}

.tr-vax-stage header > div > span {
    color: var(--tr-vax-brand);
    font-size: 11px;
    font-weight: 800;
}

.tr-vax-stage h2 {
    margin: 3px 0 2px;
    color: var(--tr-vax-ink);
    font-size: 21px;
    line-height: 1.4;
}

.tr-vax-stage header small {
    color: var(--tr-vax-muted);
    font-size: 11px;
}

.tr-vax-done {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0;
    padding: 9px 11px;
    border-radius: 12px;
    background: var(--tr-vax-green-soft);
    color: var(--tr-vax-green);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.tr-vax-done input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--tr-vax-green);
}

.tr-vax-stage ul {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.tr-vax-stage li {
    position: relative;
    padding-right: 18px;
    color: var(--tr-vax-muted);
    font-size: 13px;
    line-height: 1.7;
}

.tr-vax-stage li::before {
    position: absolute;
    top: .8em;
    right: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #36a4b6;
    content: "";
}

.tr-vax-stage-fields {
    display: grid;
    gap: 11px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.tr-vax-stage-fields input {
    min-height: 43px;
    font-size: 13px;
}

.tr-vax-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tr-vax-actions button {
    min-height: 47px;
    padding: 10px 15px;
    border: 1px solid var(--tr-vax-line);
    border-radius: 13px;
    background: #fff;
    color: var(--tr-vax-ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tr-vax-actions button.is-primary {
    border-color: var(--tr-vax-brand);
    background: var(--tr-vax-brand);
    color: #fff;
}

.tr-vax-actions button.is-danger {
    color: #a32929;
}

.tr-vax-actions button:disabled {
    opacity: .48;
    cursor: not-allowed;
}

.tr-vax-catchup,
.tr-vax-disclaimer,
.tr-vax-sources {
    margin-top: 18px;
    padding: 19px;
    border-radius: 19px;
}

.tr-vax-catchup {
    border-color: #f0d5a8;
    background: #fff8ea;
}

.tr-vax-catchup strong {
    color: var(--tr-vax-warn);
}

.tr-vax-catchup p,
.tr-vax-disclaimer p {
    margin: 6px 0 0;
    color: var(--tr-vax-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tr-vax-disclaimer {
    border-color: #d8d4ee;
    background: #f7f6fc;
}

.tr-vax-disclaimer span {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e8e4f7;
    color: #51448c;
    font-size: 11px;
    font-weight: 900;
}

.tr-vax-sources strong {
    display: block;
    margin-bottom: 10px;
}

.tr-vax-sources div {
    display: grid;
    gap: 8px;
}

.tr-vax-sources a {
    color: var(--tr-vax-brand-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tr-vax-sources small {
    display: block;
    margin-top: 12px;
    color: var(--tr-vax-muted);
    font-size: 11px;
}

@media (min-width: 650px) {
    .tr-vax-profile {
        grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
        align-items: end;
    }

    .tr-vax-profile-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tr-vax-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tr-vax-stage header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .tr-vax-stage-fields {
        grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
    }
}

@media (min-width: 900px) {
    .tr-vax-hero {
        grid-template-columns: minmax(0, 1fr) 330px;
        align-items: center;
    }

    .tr-vax-stage {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 18px;
        padding: 22px;
    }

    .tr-vax-stage-number {
        width: 52px;
        height: 52px;
    }

    .tr-vax-timeline::before {
        right: 26px;
    }
}

@media (max-width: 649px) {
    .tr-vax {
        padding-inline: 11px;
    }

    .tr-vax-hero {
        border-radius: 22px;
    }

    .tr-vax-actions button {
        width: 100%;
    }
}

@media print {
    .tr-vax {
        max-width: none;
        padding: 0;
    }

    .tr-vax-hero,
    .tr-vax-stage,
    .tr-vax-profile,
    .tr-vax-dashboard,
    .tr-vax-catchup,
    .tr-vax-disclaimer,
    .tr-vax-sources {
        box-shadow: none;
    }

    .tr-vax-actions,
    .tr-vax-hero aside,
    .site-header,
    .site-footer {
        display: none !important;
    }

    .tr-vax-stage {
        break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tr-vax-progress i,
    .tr-vax-stage {
        transition: none;
    }
}
