.tr-symptoms-shell {
    --tr-ink: #17345c;
    --tr-muted: #60738f;
    --tr-line: #dfe8f1;
    --tr-soft: #f5f8fb;
    --tr-blue: #2678c9;
    --tr-blue-dark: #15589a;
    --tr-teal: #168b88;
    --tr-red: #b4232f;
    --tr-red-soft: #fff2f3;
    --tr-orange: #b95616;
    --tr-shadow: 0 18px 46px rgba(30, 61, 93, .09);
    width: min(1180px, calc(100% - 28px));
    margin: 34px auto 64px;
    color: var(--tr-ink);
    font-family: inherit;
}

.tr-symptoms-shell *,
.tr-symptoms-shell *::before,
.tr-symptoms-shell *::after {
    box-sizing: border-box;
}

.tr-symptoms-shell a {
    text-underline-offset: 3px;
}

.tr-symptoms-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    min-height: 300px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 62px);
    border: 1px solid #d9e9f4;
    border-radius: 30px;
    background:
        radial-gradient(circle at 13% 25%, rgba(55, 155, 213, .14), transparent 28%),
        linear-gradient(135deg, #f4fbff 0%, #edf8f7 52%, #fff 100%);
    box-shadow: var(--tr-shadow);
}

.tr-symptoms-hero::after {
    position: absolute;
    z-index: -1;
    inset: auto -90px -120px auto;
    width: 330px;
    height: 330px;
    border: 54px solid rgba(38, 120, 201, .06);
    border-radius: 50%;
    content: "";
}

.tr-symptoms-hero__copy {
    max-width: 740px;
}

.tr-symptoms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tr-blue-dark);
    font-size: 14px;
    font-weight: 900;
}

.tr-symptoms-eyebrow::before {
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--tr-teal);
    content: "";
}

.tr-symptoms-hero h1 {
    margin: 12px 0 12px;
    color: var(--tr-ink);
    font-size: clamp(31px, 5vw, 54px);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.tr-symptoms-hero p {
    max-width: 660px;
    margin: 0;
    color: #4d6481;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.9;
}

.tr-symptoms-total {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(22, 139, 136, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #386a70;
    font-size: 13px;
    font-weight: 800;
}

.tr-symptoms-total strong {
    color: var(--tr-teal);
    font-size: 19px;
}

.tr-symptoms-hero__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 156px;
    height: 156px;
    margin-inline: auto;
    border: 1px solid rgba(38, 120, 201, .16);
    border-radius: 42px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 24px 50px rgba(38, 120, 201, .13);
    transform: rotate(-4deg);
}

.tr-symptoms-hero__mark span {
    color: var(--tr-blue);
    font-size: 78px;
    font-weight: 300;
    line-height: 1;
}

.tr-symptoms-hero__mark i,
.tr-symptoms-hero__mark b {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f4ac5e;
}

.tr-symptoms-hero__mark i {
    inset: 18px auto auto 16px;
}

.tr-symptoms-hero__mark b {
    inset: auto 18px 15px auto;
    width: 11px;
    height: 11px;
    background: var(--tr-teal);
}

.tr-symptoms-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 20px 22px;
    border: 1px solid #f0c7cc;
    border-inline-start: 5px solid var(--tr-red);
    border-radius: 20px;
    background: var(--tr-red-soft);
}

.tr-symptoms-alert__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--tr-red);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.tr-symptoms-alert h2 {
    margin: 0 0 5px;
    color: #8e1722;
    font-size: 18px;
    line-height: 1.45;
}

.tr-symptoms-alert p {
    margin: 0;
    color: #713e46;
    font-size: 14px;
    line-height: 1.75;
}

.tr-symptoms-alert a {
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--tr-red);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.tr-symptoms-alert a:hover,
.tr-symptoms-alert a:focus-visible {
    background: #8e1722;
    color: #fff;
}

.tr-symptoms-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) auto;
    align-items: end;
    gap: 16px;
    margin: 30px 0 18px;
    padding: 20px;
    border: 1px solid var(--tr-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(32, 66, 98, .05);
}

.tr-symptoms-search,
.tr-symptoms-filter {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #344d6d;
    font-size: 13px;
    font-weight: 900;
}

.tr-symptoms-input-wrap {
    position: relative;
    display: block;
}

.tr-symptoms-input-wrap i {
    position: absolute;
    inset: 50% 16px auto auto;
    width: 15px;
    height: 15px;
    border: 2px solid #7890a9;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.tr-symptoms-input-wrap i::after {
    position: absolute;
    inset: 11px auto auto -5px;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: #7890a9;
    content: "";
    transform: rotate(45deg);
}

.tr-symptoms-search input,
.tr-symptoms-filter select {
    width: 100%;
    min-height: 50px;
    margin: 0;
    border: 1px solid #cbd9e6;
    border-radius: 13px;
    background-color: #fbfdff;
    color: var(--tr-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    outline: none;
}

.tr-symptoms-search input {
    padding: 10px 45px 10px 14px;
}

.tr-symptoms-filter select {
    padding: 10px 13px;
    cursor: pointer;
}

.tr-symptoms-search input:focus,
.tr-symptoms-filter select:focus {
    border-color: var(--tr-blue);
    box-shadow: 0 0 0 4px rgba(38, 120, 201, .12);
}

.tr-symptoms-count {
    min-width: 78px;
    margin: 0 0 12px;
    color: var(--tr-muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.tr-symptoms-count strong {
    display: block;
    color: var(--tr-blue-dark);
    font-size: 23px;
    line-height: 1.1;
}

.tr-symptoms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.tr-symptom-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--tr-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(32, 66, 98, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tr-symptom-card[hidden] {
    display: none !important;
}

.tr-symptom-card:hover {
    border-color: #bdd2e5;
    box-shadow: 0 14px 36px rgba(32, 66, 98, .1);
    transform: translateY(-2px);
}

.tr-symptom-card[open] {
    grid-column: 1 / -1;
    border-color: #b7d1e7;
    box-shadow: var(--tr-shadow);
}

.tr-symptom-card.is-urgent {
    border-inline-start: 4px solid #dd6b75;
}

.tr-symptom-card summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-height: 170px;
    padding: 20px;
    list-style: none;
    cursor: pointer;
}

.tr-symptom-card summary::-webkit-details-marker {
    display: none;
}

.tr-symptom-card summary:focus-visible {
    outline: 3px solid rgba(38, 120, 201, .32);
    outline-offset: -3px;
}

.tr-symptom-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #edf6fc;
    color: var(--tr-blue);
    font-size: 25px;
    font-style: normal;
    font-weight: 800;
}

.tr-symptom-card__head {
    min-width: 0;
}

.tr-symptom-card__head small {
    display: block;
    margin-bottom: 3px;
    color: var(--tr-teal);
    font-size: 11px;
    font-weight: 900;
}

.tr-symptom-card__head strong {
    display: block;
    color: var(--tr-ink);
    font-size: 20px;
    line-height: 1.5;
}

.tr-symptom-card__head em {
    display: block;
    margin-top: 5px;
    color: var(--tr-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
}

.tr-symptom-card__urgent {
    grid-column: 2;
    justify-self: start;
    margin-top: -3px;
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--tr-red-soft);
    color: var(--tr-red);
    font-size: 10px;
    font-weight: 900;
}

.tr-symptom-card__toggle {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    align-self: end;
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
    color: var(--tr-blue-dark);
    font-size: 12px;
    font-weight: 900;
}

.tr-symptom-card__toggle i {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #eff6fc;
}

.tr-symptom-card__toggle i::before,
.tr-symptom-card__toggle i::after {
    position: absolute;
    inset: 13px 8px auto;
    height: 2px;
    border-radius: 3px;
    background: var(--tr-blue);
    content: "";
}

.tr-symptom-card__toggle i::after {
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.tr-symptom-card[open] .tr-symptom-card__toggle i::after {
    transform: rotate(0);
}

.tr-symptom-card__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 20px 20px;
}

.tr-symptom-card__body section {
    padding: 17px;
    border: 1px solid #e4ebf2;
    border-radius: 15px;
    background: #f9fbfd;
}

.tr-symptom-card__body h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 7px;
    color: #244564;
    font-size: 14px;
    line-height: 1.5;
}

.tr-symptom-card__body h3 span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #e7f5ee;
    color: #14704f;
    font-size: 15px;
}

.tr-symptom-card__body p {
    margin: 0;
    color: #526880;
    font-size: 13.5px;
    line-height: 1.85;
}

.tr-symptom-card__body .is-avoid h3 span {
    background: #fff5e8;
    color: var(--tr-orange);
}

.tr-symptom-card__body .is-doctor h3 span {
    background: #eaf3fb;
    color: var(--tr-blue-dark);
}

.tr-symptom-card__body .is-emergency {
    border-color: #efc8cd;
    background: var(--tr-red-soft);
}

.tr-symptom-card__body .is-emergency h3 {
    color: #931e29;
}

.tr-symptom-card__body .is-emergency h3 span {
    background: var(--tr-red);
    color: #fff;
}

.tr-symptom-card__body .is-emergency p {
    color: #713e46;
}

.tr-symptoms-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 36px 20px;
    border: 1px dashed #b9cbda;
    border-radius: 20px;
    background: var(--tr-soft);
    color: var(--tr-muted);
    text-align: center;
}

.tr-symptoms-empty[hidden] {
    display: none;
}

.tr-symptoms-empty span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e5eef6;
    color: var(--tr-blue-dark);
    font-size: 24px;
    font-weight: 900;
}

.tr-symptoms-empty p {
    margin: 0;
    font-weight: 800;
}

.tr-symptoms-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 28px;
    border-radius: 23px;
    background: linear-gradient(135deg, #173b63, #1e6689);
    color: #fff;
}

.tr-symptoms-support h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 23px;
}

.tr-symptoms-support p {
    max-width: 680px;
    margin: 0;
    color: #dbeaf4;
    font-size: 14px;
    line-height: 1.8;
}

.tr-symptoms-support nav {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.tr-symptoms-support a {
    padding: 11px 15px;
    border: 1px solid #fff;
    border-radius: 11px;
    background: #fff;
    color: #174c72;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.tr-symptoms-support a.is-secondary {
    background: transparent;
    color: #fff;
}

.tr-symptoms-support a:hover,
.tr-symptoms-support a:focus-visible {
    transform: translateY(-1px);
}

.tr-symptoms-foot {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid var(--tr-line);
    border-radius: 16px;
    background: #fff;
    color: var(--tr-muted);
    font-size: 12px;
    line-height: 1.7;
}

.tr-symptoms-foot p {
    margin: 0;
}

.tr-symptoms-foot strong {
    color: #405a76;
}

.tr-symptoms-foot a {
    color: var(--tr-blue-dark);
    font-weight: 900;
}

.tr-symptoms-foot small {
    color: #72849a;
}

@media (max-width: 820px) {
    .tr-symptoms-hero {
        grid-template-columns: minmax(0, 1fr) 110px;
    }

    .tr-symptoms-hero__mark {
        width: 104px;
        height: 104px;
        border-radius: 29px;
    }

    .tr-symptoms-hero__mark span {
        font-size: 54px;
    }

    .tr-symptoms-alert {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tr-symptoms-alert a {
        grid-column: 1 / -1;
        text-align: center;
    }

    .tr-symptoms-tools {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
    }

    .tr-symptoms-count {
        grid-column: 1 / -1;
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 5px;
        margin: 0;
    }

    .tr-symptoms-count strong {
        display: inline;
    }

    .tr-symptoms-support {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .tr-symptoms-shell {
        width: min(100% - 18px, 1180px);
        margin-top: 18px;
    }

    .tr-symptoms-hero {
        display: block;
        min-height: 0;
        padding: 27px 21px;
        border-radius: 22px;
    }

    .tr-symptoms-hero h1 {
        font-size: 31px;
    }

    .tr-symptoms-hero p {
        font-size: 15px;
    }

    .tr-symptoms-hero__mark {
        display: none;
    }

    .tr-symptoms-alert {
        gap: 12px;
        padding: 17px;
        border-radius: 17px;
    }

    .tr-symptoms-alert__icon {
        width: 38px;
        height: 38px;
    }

    .tr-symptoms-alert h2 {
        font-size: 16px;
    }

    .tr-symptoms-tools {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 20px;
        padding: 15px;
        border-radius: 17px;
    }

    .tr-symptoms-count {
        grid-column: auto;
    }

    .tr-symptoms-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tr-symptom-card[open] {
        grid-column: auto;
    }

    .tr-symptom-card summary {
        min-height: 0;
        padding: 17px;
    }

    .tr-symptom-card__head strong {
        font-size: 18px;
    }

    .tr-symptom-card__body {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 14px 14px;
    }

    .tr-symptoms-support {
        padding: 22px 18px;
        border-radius: 19px;
    }

    .tr-symptoms-support nav {
        width: 100%;
        flex-direction: column;
    }

    .tr-symptoms-support a {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tr-symptoms-shell *,
    .tr-symptoms-shell *::before,
    .tr-symptoms-shell *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
