.fhc-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 64px;
    color: #e6f7fb;
}

.fhc-hero,
.fhc-safety,
.fhc-step,
.fhc-results {
    border: 1px solid rgba(76, 210, 255, 0.18);
    background: linear-gradient(145deg, rgba(7, 39, 54, 0.96), rgba(5, 28, 41, 0.96));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.fhc-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 28px;
    border-radius: 20px;
}

.fhc-kicker,
.fhc-section-number {
    display: block;
    margin-bottom: 6px;
    color: #5eead4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fhc-hero h1,
.fhc-section-head h2,
.fhc-results-head h2 {
    margin: 0;
    color: #fff;
}

.fhc-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.7rem);
}

.fhc-hero p,
.fhc-section-head p,
.fhc-results-head p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #a9c6d1;
    line-height: 1.65;
}

.fhc-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 11px 14px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.12);
    color: #99f6e4;
    font-size: 0.84rem;
    font-weight: 700;
}

.fhc-safety {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 17px;
    border-color: rgba(251, 191, 36, 0.24);
    border-radius: 14px;
}

.fhc-safety i {
    margin-top: 2px;
    color: #fcd34d;
}

.fhc-safety p {
    margin: 0;
    color: #c6d8df;
    font-size: 0.9rem;
    line-height: 1.55;
}

.fhc-error-summary {
    margin-top: 14px;
    padding: 15px 18px;
    border: 1px solid rgba(248, 113, 113, 0.42);
    border-radius: 14px;
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
}

.fhc-error-summary ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.fhc-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 18px 0 12px;
}

.fhc-progress button,
.fhc-progress > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid rgba(91, 151, 174, 0.2);
    border-radius: 12px;
    background: rgba(4, 29, 42, 0.75);
    color: #7899a6;
    font-weight: 800;
}

.fhc-progress button {
    cursor: pointer;
}

.fhc-progress span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(81, 130, 148, 0.2);
    font-size: 0.75rem;
}

.fhc-progress .is-active {
    border-color: rgba(45, 212, 191, 0.42);
    color: #ccfbf1;
    background: rgba(13, 148, 136, 0.12);
}

.fhc-progress .is-active span,
.fhc-progress .is-complete span {
    background: #0d9488;
    color: #fff;
}

.fhc-step {
    display: none;
    padding: 24px;
    border-radius: 18px;
}

.fhc-step.is-active {
    display: block;
}

.fhc-section-head,
.fhc-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.fhc-selected-count {
    display: grid;
    min-width: 82px;
    padding: 9px 12px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.1);
    text-align: center;
}

.fhc-selected-count strong {
    color: #5eead4;
    font-size: 1.35rem;
}

.fhc-selected-count span {
    color: #9ac2ca;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.fhc-category-list {
    display: grid;
    gap: 10px;
}

.fhc-category {
    overflow: hidden;
    border: 1px solid rgba(69, 141, 166, 0.18);
    border-radius: 14px;
    background: rgba(3, 25, 37, 0.66);
}

.fhc-category.has-selection {
    border-color: rgba(45, 212, 191, 0.34);
}

.fhc-category-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.fhc-category-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(14, 165, 233, 0.12);
    color: #67e8f9;
    font-size: 1.05rem;
}

.fhc-category-title {
    display: grid;
    flex: 1;
    gap: 2px;
}

.fhc-category-title strong {
    color: #edfaff;
}

.fhc-category-title small {
    color: #789aa7;
}

.fhc-category-chevron {
    color: #789aa7;
    transition: transform 0.2s ease;
}

.fhc-category-toggle[aria-expanded="true"] .fhc-category-chevron {
    transform: rotate(180deg);
}

.fhc-category-body {
    display: none;
    padding: 0 14px 14px;
}

.fhc-category-body.is-open {
    display: block;
}

.fhc-symptom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.fhc-symptom-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(86, 148, 168, 0.2);
    border-radius: 11px;
    background: rgba(8, 45, 59, 0.72);
    color: #c9dde4;
    cursor: pointer;
    line-height: 1.3;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.fhc-symptom-tile:hover {
    border-color: rgba(103, 232, 249, 0.42);
}

.fhc-symptom-tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fhc-symptom-check {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 23px;
    height: 23px;
    border: 1px solid rgba(126, 180, 197, 0.42);
    border-radius: 7px;
    color: transparent;
}

.fhc-symptom-tile:has(input:checked) {
    border-color: rgba(45, 212, 191, 0.5);
    background: rgba(13, 148, 136, 0.14);
    color: #ecfeff;
}

.fhc-symptom-tile:has(input:checked) .fhc-symptom-check {
    border-color: #2dd4bf;
    background: #0d9488;
    color: #fff;
}

.fhc-step-message {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
    font-weight: 700;
}

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

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

.fhc-primary-btn,
.fhc-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 17px;
    border-radius: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.fhc-primary-btn {
    border: 1px solid #2dd4bf;
    background: #0d9488;
    color: #fff;
}

.fhc-primary-btn:hover {
    background: #0f766e;
    color: #fff;
}

.fhc-secondary-btn {
    border: 1px solid rgba(103, 232, 249, 0.25);
    background: rgba(8, 47, 63, 0.7);
    color: #c7f9ff;
}

.fhc-detail-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fhc-detail-card {
    padding: 18px;
    border: 1px solid rgba(77, 146, 169, 0.18);
    border-radius: 14px;
    background: rgba(3, 25, 37, 0.64);
}

.fhc-detail-card:last-child {
    grid-column: 1 / -1;
}

.fhc-detail-card h3 {
    margin: 0 0 16px;
    color: #f0fbff;
    font-size: 1rem;
}

.fhc-detail-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.fhc-detail-card-head p {
    margin: -10px 0 15px;
    color: #789aa7;
    font-size: 0.82rem;
}

.fhc-detail-card-head i {
    color: #67e8f9;
    font-size: 1.3rem;
}

.fhc-choice-field {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.fhc-choice-field:last-child {
    margin-bottom: 0;
}

.fhc-choice-field legend {
    margin-bottom: 9px;
    color: #a9c5cf;
    font-size: 0.84rem;
    font-weight: 700;
}

.fhc-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.fhc-choice-grid label {
    position: relative;
}

.fhc-choice-grid input {
    position: absolute;
    opacity: 0;
}

.fhc-choice-grid span {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px;
    border: 1px solid rgba(81, 143, 163, 0.22);
    border-radius: 9px;
    background: rgba(8, 43, 57, 0.72);
    color: #a9c5cf;
    text-align: center;
    cursor: pointer;
}

.fhc-choice-grid input:checked + span {
    border-color: rgba(45, 212, 191, 0.52);
    background: rgba(13, 148, 136, 0.16);
    color: #ecfeff;
}

.fhc-water-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fhc-number-field {
    display: grid;
    gap: 7px;
}

.fhc-number-field > span {
    color: #a9c5cf;
    font-size: 0.82rem;
    font-weight: 700;
}

.fhc-number-field > div {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(81, 143, 163, 0.24);
    border-radius: 10px;
    background: rgba(3, 26, 38, 0.82);
}

.fhc-number-field input {
    min-width: 0;
    width: 100%;
    padding: 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.fhc-number-field small {
    display: grid;
    place-items: center;
    padding: 0 10px;
    border-left: 1px solid rgba(81, 143, 163, 0.2);
    color: #7fa3af;
}

.fhc-selected-summary {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(70, 139, 161, 0.18);
    border-radius: 12px;
    background: rgba(3, 25, 37, 0.54);
}

.fhc-selected-summary > strong {
    display: block;
    margin-bottom: 9px;
    color: #dff8ff;
}

.fhc-selected-summary > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fhc-selected-summary span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.14);
    color: #99f6e4;
    font-size: 0.78rem;
}

.fhc-results {
    margin-top: 18px;
    padding: 25px;
    border-radius: 18px;
}

.fhc-result-list {
    display: grid;
    gap: 13px;
}

.fhc-result-card {
    padding: 19px;
    border: 1px solid rgba(80, 143, 164, 0.2);
    border-radius: 14px;
    background: rgba(3, 25, 37, 0.68);
}

.fhc-result-card--strong {
    border-color: rgba(45, 212, 191, 0.42);
}

.fhc-result-card--moderate {
    border-color: rgba(251, 191, 36, 0.35);
}

.fhc-result-rank {
    margin-bottom: 7px;
    color: #5eead4;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fhc-result-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.fhc-result-title > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.fhc-result-title h3 {
    margin: 0;
    color: #fff;
    font-size: 1.08rem;
}

.fhc-match,
.fhc-urgent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
}

.fhc-match--strong {
    background: rgba(13, 148, 136, 0.16);
    color: #99f6e4;
}

.fhc-match--moderate {
    background: rgba(217, 119, 6, 0.16);
    color: #fde68a;
}

.fhc-match--weak {
    background: rgba(71, 85, 105, 0.28);
    color: #cbd5e1;
}

.fhc-urgent {
    background: rgba(185, 28, 28, 0.18);
    color: #fecaca;
}

.fhc-result-summary {
    margin: 11px 0 14px;
    color: #a9c5cf;
    line-height: 1.55;
}

.fhc-result-actions {
    padding: 13px 15px;
    border-radius: 11px;
    background: rgba(8, 42, 56, 0.72);
}

.fhc-result-actions strong {
    color: #dff8ff;
}

.fhc-result-actions ol {
    margin: 9px 0 0;
    padding-left: 21px;
    color: #b8ced6;
}

.fhc-result-actions li + li {
    margin-top: 6px;
}

.fhc-result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    padding: 17px;
    border: 1px solid rgba(45, 212, 191, 0.24);
    border-radius: 13px;
    background: rgba(13, 148, 136, 0.08);
}

.fhc-result-footer > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fhc-result-footer i {
    color: #5eead4;
    font-size: 1.3rem;
}

.fhc-result-footer strong {
    color: #ecfeff;
}

.fhc-result-footer p {
    margin: 4px 0 0;
    color: #9bbbc5;
}

.fhc-disclaimer {
    margin-top: 14px;
    color: #8faab4;
    font-size: 0.82rem;
    line-height: 1.5;
}

.fhc-disclaimer strong {
    color: #c9dde4;
}

.fhc-disclaimer p {
    display: inline;
    margin: 0;
}

@media (max-width: 840px) {
    .fhc-hero,
    .fhc-section-head,
    .fhc-results-head,
    .fhc-result-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .fhc-hero-note {
        align-self: flex-start;
    }

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

    .fhc-detail-groups {
        grid-template-columns: 1fr;
    }

    .fhc-detail-card:last-child {
        grid-column: auto;
    }

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

@media (max-width: 560px) {
    .fhc-page {
        width: min(100% - 18px, 1120px);
        padding-top: 12px;
    }

    .fhc-hero,
    .fhc-step,
    .fhc-results {
        padding: 17px;
        border-radius: 15px;
    }

    .fhc-progress {
        position: sticky;
        top: 8px;
        z-index: 5;
    }

    .fhc-progress button,
    .fhc-progress > div {
        min-height: 42px;
        padding: 7px 5px;
        font-size: 0.72rem;
    }

    .fhc-progress span {
        width: 21px;
        height: 21px;
    }

    .fhc-symptom-grid,
    .fhc-choice-grid {
        grid-template-columns: 1fr;
    }

    .fhc-symptom-tile {
        min-height: 50px;
    }

    .fhc-step-actions {
        position: sticky;
        bottom: 8px;
        z-index: 4;
        padding: 8px;
        border: 1px solid rgba(84, 148, 168, 0.18);
        border-radius: 13px;
        background: rgba(3, 24, 35, 0.94);
        backdrop-filter: blur(12px);
    }

    .fhc-step-actions .fhc-primary-btn,
    .fhc-step-actions .fhc-secondary-btn {
        flex: 1;
    }

    .fhc-result-title {
        flex-direction: column;
    }

    .fhc-result-footer .fhc-primary-btn {
        width: 100%;
    }
}

/* Fish symptom checker result hierarchy */
.fhc-result-card--primary {
    padding: 22px;
}

.fhc-evidence-note {
    margin: -2px 0 15px;
    padding: 10px 12px;
    border-left: 3px solid rgba(251, 191, 36, 0.7);
    border-radius: 8px;
    background: rgba(217, 119, 6, 0.1);
    color: #f8d98b;
    font-size: 0.84rem;
    line-height: 1.5;
}

.fhc-other-results {
    margin-top: 14px;
    border: 1px solid rgba(80, 143, 164, 0.22);
    border-radius: 14px;
    background: rgba(3, 25, 37, 0.62);
}

.fhc-other-results > summary,
.fhc-other-card > summary {
    list-style: none;
}

.fhc-other-results > summary::-webkit-details-marker,
.fhc-other-card > summary::-webkit-details-marker {
    display: none;
}

.fhc-other-results > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    padding: 15px 17px;
    cursor: pointer;
}

.fhc-other-results > summary > span {
    display: grid;
    gap: 3px;
}

.fhc-other-results > summary strong {
    color: #ecfeff;
    font-size: 1rem;
}

.fhc-other-results > summary small {
    color: #87a8b4;
}

.fhc-other-results > summary > i,
.fhc-other-card > summary > i {
    color: #67e8f9;
    transition: transform 0.2s ease;
}

.fhc-other-results[open] > summary > i,
.fhc-other-card[open] > summary > i {
    transform: rotate(180deg);
}

.fhc-other-intro {
    margin: 0;
    padding: 0 17px 14px;
    color: #8facb6;
    font-size: 0.84rem;
    line-height: 1.5;
}

.fhc-other-list {
    display: grid;
    gap: 8px;
    padding: 0 12px 12px;
}

.fhc-other-card {
    overflow: hidden;
    border: 1px solid rgba(79, 139, 160, 0.18);
    border-radius: 11px;
    background: rgba(7, 39, 53, 0.76);
}

.fhc-other-card > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    cursor: pointer;
}

.fhc-other-card > summary > span:first-child {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.fhc-other-card > summary strong {
    color: #e8f8fc;
}

.fhc-other-card > summary small {
    overflow: hidden;
    color: #8eaab4;
    font-size: 0.79rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fhc-other-card-body {
    padding: 0 14px 14px;
}

.fhc-urgent--inline {
    margin-bottom: 10px;
    border-radius: 9px;
    line-height: 1.4;
}

@media (max-width: 620px) {
    .fhc-other-card > summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .fhc-other-card > summary .fhc-match {
        grid-column: 1;
        justify-self: start;
    }

    .fhc-other-card > summary > i {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .fhc-other-card > summary small {
        white-space: normal;
    }
}

.fhc-evidence-note strong,
.fhc-evidence-note span {
    display: block;
}

.fhc-evidence-note span {
    margin-top: 5px;
}

.fhc-evidence-note ul {
    margin: 9px 0 0;
    padding-left: 20px;
    color: #f3d99b;
}

.fhc-evidence-note li + li {
    margin-top: 4px;
}

.fhc-evidence-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding: 8px 11px;
    border: 1px solid rgba(251, 191, 36, 0.36);
    border-radius: 9px;
    background: rgba(217, 119, 6, 0.12);
    color: #fde68a;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.fhc-evidence-link:hover {
    background: rgba(217, 119, 6, 0.2);
}

/* Floating fish-health wizard */
.fhc-launch-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
    padding: 24px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(7, 55, 68, 0.94), rgba(5, 35, 49, 0.96));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.fhc-launch-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(13, 148, 136, 0.18);
    color: #5eead4;
    font-size: 1.65rem;
}

.fhc-launch-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 1.28rem;
}

.fhc-launch-copy p {
    max-width: 700px;
    margin: 8px 0 0;
    color: #a9c6d1;
    line-height: 1.55;
}

.fhc-launch-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 13px;
}

.fhc-launch-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a7f3d0;
    font-size: 0.8rem;
    font-weight: 700;
}

.fhc-launch-button {
    white-space: nowrap;
}

.fhc-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.fhc-modal.is-open {
    display: flex;
}

.fhc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 12, 20, 0.78);
    backdrop-filter: blur(7px);
}

.fhc-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(1080px, 100%);
    max-height: min(900px, calc(100vh - 44px));
    overflow: hidden;
    border: 1px solid rgba(76, 210, 255, 0.28);
    border-radius: 20px;
    background: #062435;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.fhc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 18px;
    min-height: 68px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(76, 210, 255, 0.16);
    background: rgba(5, 34, 49, 0.98);
}

.fhc-modal-header > div {
    display: grid;
    gap: 2px;
}

.fhc-modal-kicker {
    color: #5eead4;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fhc-modal-header strong {
    color: #fff;
    font-size: 1rem;
}

.fhc-modal-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(103, 232, 249, 0.24);
    border-radius: 11px;
    background: rgba(8, 47, 63, 0.82);
    color: #d9fbff;
    cursor: pointer;
}

.fhc-modal-close:hover {
    border-color: rgba(103, 232, 249, 0.48);
    background: rgba(11, 65, 83, 0.94);
}

.fhc-modal-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 22px 24px;
}

.fhc-modal-content .fhc-progress {
    position: sticky;
    top: 0;
    z-index: 8;
    margin-top: 0;
    padding-top: 14px;
    background:
        linear-gradient(
            to bottom,
            #062435 0%,
            #062435 82%,
            rgba(6, 36, 53, 0) 100%
        );
}

.fhc-modal-content .fhc-step {
    box-shadow: none;
}

body.fhc-modal-open {
    overflow: hidden;
}

@media (max-width: 840px) {
    .fhc-launch-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fhc-launch-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .fhc-launch-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px;
    }

    .fhc-launch-icon {
        width: 50px;
        height: 50px;
    }

    .fhc-modal {
        align-items: stretch;
        padding: 0;
    }

    .fhc-modal-dialog {
        width: 100%;
        max-height: none;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .fhc-modal-header {
        min-height: 62px;
        padding:
            max(10px, env(safe-area-inset-top))
            13px
            10px;
    }

    .fhc-modal-content {
        padding:
            0
            9px
            calc(18px + env(safe-area-inset-bottom));
    }

    .fhc-modal-content .fhc-progress {
        top: 0;
        padding-top: 8px;
    }

    .fhc-modal-content .fhc-step {
        padding: 15px;
    }

    .fhc-modal-content .fhc-step-actions {
        bottom: calc(7px + env(safe-area-inset-bottom));
    }
}

/* Mobile checker navigation uses the existing app bottom bar */
@media (max-width: 620px) {
    body.fhc-modal-open .fhc-modal-content {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    body.fhc-modal-open .fhc-step-actions {
        display: none;
    }

    .tc-global-mobile-nav--checker {
        z-index: 10020;
    }

    .tc-global-mobile-nav--checker .fhc-mobile-nav-action {
        appearance: none;
        border: 0;
        font: inherit;
        cursor: pointer;
    }

    .tc-global-mobile-nav--checker .fhc-mobile-nav-action span {
        font-size: 1.35rem;
        line-height: 1;
    }

    .tc-global-mobile-nav--checker .fhc-mobile-nav-action--primary {
        color: #99f6e4;
    }

    .tc-global-mobile-nav--checker .fhc-mobile-nav-action--primary span {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        margin: 0 auto;
        border-radius: 50%;
        background: #0d9488;
        color: #fff;
    }

    .tc-global-mobile-nav--checker .fhc-mobile-nav-action.is-disabled {
        opacity: 0.35;
        cursor: default;
    }

    .tc-global-mobile-nav--checker {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Specific treatment guidance */
.fhc-treatment-guidance {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(45, 212, 191, 0.34);
    border-radius: 14px;
    background: rgba(13, 148, 136, 0.08);
}

.fhc-treatment-guidance__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.fhc-treatment-guidance__head > i {
    margin-top: 0.1rem;
    color: #5eead4;
    font-size: 1.15rem;
}

.fhc-treatment-guidance__head div {
    display: grid;
    gap: 0.15rem;
}

.fhc-treatment-guidance__head span {
    color: var(--fhc-muted, #9fb9c7);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fhc-treatment-guidance__head strong {
    color: #f4fbff;
}

.fhc-treatment-product {
    margin: 0.75rem 0 0;
    color: #99f6e4;
    font-weight: 700;
}

.fhc-treatment-guidance ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
}

.fhc-treatment-guidance li + li {
    margin-top: 0.35rem;
}

.fhc-treatment-warning {
    margin: 0.85rem 0 0;
    color: var(--fhc-muted, #9fb9c7);
    font-size: 0.82rem;
}

/* Treatment result spacing refinement */
.fhc-result-card--primary .fhc-result-summary {
    margin-bottom: 1.15rem;
    line-height: 1.65;
}

.fhc-treatment-guidance {
    margin-top: 1.2rem;
    margin-bottom: 1.15rem;
    padding: 1.15rem 1.25rem;
}

.fhc-treatment-product {
    margin-top: 0.95rem;
    margin-bottom: 0.8rem;
}

.fhc-treatment-guidance ul {
    margin-top: 0.9rem;
    margin-bottom: 0;
    line-height: 1.65;
}

.fhc-treatment-guidance li + li {
    margin-top: 0.55rem;
}

.fhc-treatment-warning {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    line-height: 1.5;
}

.fhc-result-actions {
    margin-top: 1.15rem;
}

@media (max-width: 620px) {
    .fhc-treatment-guidance {
        padding: 1rem;
    }
}
