.db-chart-caption {
    margin-top: 4px;
    color: #65728B;
    font-size: .72rem;
    font-weight: 500;
}

.network-diagram-wrap {
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    border: 1px solid #DCE2EC;
    border-radius: 12px;
    background: #F9F8F6;
}

.network-diagram {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 60px 56px;
    column-gap: 8px;
    row-gap: 46px;
    align-items: stretch;
    isolation: isolate;
}

.network-diagram-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.network-diagram-lines path {
    fill: none;
    stroke: #9EABC2;
    stroke-width: 2.5;
    stroke-dasharray: 5 5;
    animation: portal-flow 2.8s linear infinite;
}

.network-diagram-lines circle {
    fill: #8F3345;
    stroke: #FFFFFF;
    stroke-width: 3;
    animation: portal-hub-pulse 2s ease-in-out infinite;
}

.network-diagram-lines marker path {
    fill: #8F3345;
    stroke: none;
}

@keyframes portal-flow {
    to { stroke-dashoffset: -20; }
}

@keyframes portal-hub-pulse {
    50% { r: 7; }
}

.portal-node {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 6px 7px;
    border: 1px solid #D8DEEA;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 5px 14px rgba(29, 45, 79, .08);
    box-sizing: border-box;
}

.portal-node > span:last-child { min-width: 0; }
.portal-node strong {
    display: block;
    color: #1D2D4F;
    font-size: .72rem;
    line-height: 1.2;
}
.portal-node small {
    display: block;
    margin-top: 3px;
    color: #65728B;
    font-size: .58rem;
    line-height: 1.2;
    white-space: nowrap;
}
.portal-node-icon {
    display: flex;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #EEF1F7;
    color: #314B7A;
    font-size: 13px;
}
.portal-node-clinic {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: center;
    width: min(100%, 166px);
    min-height: 60px;
    border: 2px solid #8F3345;
    box-shadow: 0 7px 18px rgba(143, 51, 69, .13);
}
.portal-node-clinic .portal-node-icon {
    background: #F6E8EB;
    color: #8F3345;
}
.portal-node-lab { grid-column: 1; grid-row: 2; }
.portal-node-radiology { grid-column: 2; grid-row: 2; }
.portal-node-supplier { grid-column: 3; grid-row: 2; }
.portal-node-biomedical { grid-column: 4; grid-row: 2; }

@media (prefers-reduced-motion: reduce) {
    .network-diagram-lines path,
    .network-diagram-lines circle {
        animation: none;
    }
}

@media (max-width: 560px) {
    .network-diagram-wrap { margin-top: 12px; padding: 10px; }
    .network-diagram {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 54px repeat(2, 54px);
        gap: 8px;
    }
    .network-diagram-lines { display: none; }
    .portal-node {
        min-height: 54px;
        padding: 7px;
    }
    .portal-node-clinic {
        grid-column: 1 / -1;
        grid-row: 1;
        width: min(100%, 210px);
    }
    .portal-node-lab { grid-column: 1; grid-row: 2; }
    .portal-node-radiology { grid-column: 2; grid-row: 2; }
    .portal-node-supplier { grid-column: 1; grid-row: 3; }
    .portal-node-biomedical { grid-column: 2; grid-row: 3; }
    .portal-node-icon { flex-basis: 28px; width: 28px; height: 28px; }
    .portal-node strong { font-size: .68rem; }
    .portal-node small { font-size: .54rem; }
}

.ticker-track.ticker-autoscroll {
    display: flex !important;
    width: max-content !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    animation: ticker 34s linear infinite !important;
    will-change: transform;
}

.ticker-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 36px;
}

.ticker-group[aria-hidden="true"] {
    pointer-events: none;
}

.ticker-track.ticker-autoscroll:hover {
    animation-play-state: running !important;
}

.ticker-track.ticker-autoscroll .ticker-dot {
    display: block !important;
}

.public-home-body .ticker-track-wrap {
    overflow: hidden;
}

.legal-page,
.contact-page {
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 26px 0 38px;
}

body.landing-public-body {
    background: #F9F8F6;
    color: #17233B;
}

body.landing-public-body .lp-page-hero {
    padding: 34px 24px 26px !important;
    border-bottom: 1px solid #DCE2EC;
    background: #1D2D4F !important;
}

body.landing-public-body .lp-page-title {
    color: #FFFFFF !important;
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
}

body.landing-public-body .lp-breadcrumb,
body.landing-public-body .lp-breadcrumb a {
    color: #E2E7F0 !important;
}

body.landing-public-body .lp-content {
    padding: 22px 24px 56px !important;
    background: #F9F8F6 !important;
}

body.landing-public-body .lp-content > .container {
    width: min(100%, 1160px);
    max-width: 1160px;
    padding: 0;
}

.legal-intro,
.contact-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.info-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid #E1C9CF;
    border-radius: 999px;
    background: #F4E9EC;
    color: #8F3345;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-intro h1,
.contact-intro h1 {
    margin: 14px 0 10px;
    color: #1D2D4F;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.legal-intro p,
.contact-intro p {
    max-width: 620px;
    margin: 0 auto;
    color: #586781;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-document {
    padding: clamp(22px, 5vw, 52px);
    border: 1px solid #DCE2EC;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 14px 38px rgba(29, 45, 79, .07);
}

.legal-document .rich-text-content {
    color: #43516B;
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.legal-document .rich-text-content > :first-child {
    margin-top: 0;
}

.legal-document .rich-text-content h1,
.legal-document .rich-text-content h2,
.legal-document .rich-text-content h3,
.legal-document .rich-text-content h4 {
    margin: 1.7em 0 .6em;
    color: #1D2D4F;
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.legal-document .rich-text-content h1 {
    font-size: 1.8rem;
}

.legal-document .rich-text-content h2 {
    padding-bottom: .45em;
    border-bottom: 1px solid #E7EAF0;
    font-size: 1.45rem;
}

.legal-document .rich-text-content h3 {
    font-size: 1.15rem;
}

.legal-document .rich-text-content p,
.legal-document .rich-text-content ul,
.legal-document .rich-text-content ol {
    margin: 0 0 1.1em;
}

.legal-document .rich-text-content ul,
.legal-document .rich-text-content ol {
    padding-left: 1.5em;
}

.legal-document .rich-text-content li {
    margin: .4em 0;
    padding-left: .2em;
}

.legal-document .rich-text-content a,
.legal-empty a {
    color: #8F3345;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-document .rich-text-content blockquote {
    margin: 1.5em 0;
    padding: 10px 16px;
    border-left: 3px solid #8F3345;
    background: #F9F8F6;
    color: #586781;
}

.legal-document .rich-text-content pre {
    max-width: 100%;
    padding: 14px;
    border: 1px solid #DCE2EC;
    border-radius: 10px;
    background: #F9F8F6;
    overflow-x: auto;
}

.legal-empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 10px;
    text-align: center;
}

.legal-empty .contact-icon {
    margin: 0 auto 16px;
}

.legal-empty h2 {
    margin: 0 0 8px;
    color: #1D2D4F;
    font-size: 1.25rem;
}

.legal-empty p {
    color: #586781;
    line-height: 1.6;
}

.contact-page {
    width: min(100%, 1120px);
}

.contact-intro {
    margin-bottom: 34px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.4fr);
    align-items: start;
    gap: 20px;
}

.contact-details {
    display: grid;
    gap: 14px;
}

.contact-panel,
.contact-form-panel,
.contact-note {
    min-width: 0;
    padding: 22px;
    border: 1px solid #DCE2EC;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(29, 45, 79, .055);
}

.contact-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-icon,
.contact-note-mark {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #E1C9CF;
    border-radius: 12px;
    background: #F4E9EC;
    color: #8F3345;
}

.contact-panel h2,
.contact-note h2 {
    margin: 0 0 4px;
    color: #1D2D4F;
    font-size: 1rem;
    font-weight: 800;
}

.contact-panel-heading p,
.contact-note p {
    margin: 0;
    color: #65728B;
    font-size: .83rem;
    line-height: 1.55;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #E7EAF0;
}

.contact-phone > div:first-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.contact-phone > div:first-child span {
    color: #65728B;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-phone strong {
    color: #1D2D4F;
    font-size: .95rem;
    white-space: nowrap;
}

.contact-phone-actions {
    display: flex;
    gap: 6px;
}

.contact-phone-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid #DCE2EC;
    border-radius: 9px;
    background: #FFFFFF;
    color: #1D2D4F;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.contact-phone-actions a:hover {
    border-color: #8F3345;
    background: #F4E9EC;
    color: #8F3345;
}

.contact-email-panel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-email-panel a {
    display: inline-block;
    margin-top: 4px;
    color: #8F3345;
    font-size: .9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-color: #DCE2EC;
    background: #E9EDF5;
    box-shadow: none;
}

.contact-note-mark {
    border-color: #D2D9E6;
    background: #FFFFFF;
    color: #1D2D4F;
    font-weight: 900;
}

.contact-form-panel {
    padding: clamp(20px, 4vw, 32px);
}

.contact-form-heading {
    margin-bottom: 22px;
}

.contact-form-heading h2 {
    margin: 12px 0 6px;
    color: #1D2D4F;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.contact-form-heading p {
    margin: 0;
    color: #65728B;
    font-size: .88rem;
}

.contact-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid #B9C8E0;
    border-radius: 10px;
    background: #E9EDF5;
    color: #1D2D4F;
    font-size: .9rem;
    line-height: 1.5;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-field {
    min-width: 0;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    color: #31415F;
    font-size: .83rem;
    font-weight: 800;
}

.contact-field label span {
    color: #8F3345;
}

.contact-field label small {
    color: #7B879C;
    font-size: .76rem;
    font-weight: 500;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #D5DBE5;
    border-radius: 9px;
    outline: none;
    background: #FFFFFF;
    color: #17233B;
    font: inherit;
    font-size: .9rem;
    line-height: 1.45;
}

.contact-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #314B7A;
    box-shadow: 0 0 0 3px rgba(49, 75, 122, .12);
}

.contact-field [aria-invalid="true"] {
    border-color: #8F3345;
}

.contact-field-error {
    margin: 5px 0 0;
    color: #8F3345;
    font-size: .78rem;
}

.contact-form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 4px;
}

.contact-form-submit p {
    margin: 0;
    color: #65728B;
    font-size: .78rem;
    line-height: 1.5;
}

.contact-form-submit button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid #1D2D4F;
    border-radius: 10px;
    background: #1D2D4F;
    color: #FFFFFF;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
}

.contact-form-submit button:hover {
    border-color: #8F3345;
    background: #8F3345;
}

@media (max-width: 820px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .contact-details > :first-child {
        grid-row: span 2;
    }
}

@media (max-width: 560px) {
    .legal-page,
    .contact-page {
        padding: 20px 0 28px;
    }

    body.landing-public-body .lp-page-hero {
        padding: 24px 18px 19px !important;
    }

    body.landing-public-body .lp-content {
        padding: 14px 14px 36px !important;
    }

    .legal-intro,
    .contact-intro {
        margin-bottom: 22px;
        text-align: left;
    }

    .legal-intro p,
    .contact-intro p {
        font-size: .93rem;
    }

    .legal-document {
        padding: 20px 16px;
        border-radius: 13px;
    }

    .legal-document .rich-text-content {
        font-size: .93rem;
    }

    .contact-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-details > :first-child {
        grid-row: auto;
    }

    .contact-panel,
    .contact-note,
    .contact-form-panel {
        padding: 18px 15px;
        border-radius: 13px;
    }

    .contact-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .contact-phone {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-phone-actions a {
        min-width: 96px;
    }

    .contact-form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form-submit button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track.ticker-autoscroll {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
