:root {
    --diagnostics1012-body: 16px;
    --diagnostics1012-body-ar: 17px;
    --diagnostics1012-label: 14px;
    --diagnostics1012-card-title: 20px;
    --diagnostics1012-section: clamp(24px, 2vw, 28px);
    --diagnostics1012-kpi: clamp(38px, 3vw, 50px);
    --diagnostics1012-radius: 24px;
}

body.page-lab {
    font-size: var(--diagnostics1012-body);
}

html[dir="rtl"] body.page-lab {
    font-size: var(--diagnostics1012-body-ar);
}

body.page-lab .diagnostics1012-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 30px 32px;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,.17), transparent 34%),
        linear-gradient(120deg, #083344 0%, #0f766e 44%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 22px 56px rgba(15, 118, 110, .18);
}

body.page-lab .diagnostics1012-hero h1 {
    max-width: 900px;
    margin: 9px 0 10px;
    font-size: clamp(34px, 3.25vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

body.page-lab .diagnostics1012-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255,255,255,.87);
    font-size: 17px;
    line-height: 1.7;
}

html[dir="rtl"] body.page-lab .diagnostics1012-hero p { font-size: 18px; }

body.page-lab .diagnostics1012-hero-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: end;
}

body.page-lab .diagnostics1012-hero-summary article {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(255,255,255,.11);
    backdrop-filter: blur(10px);
}

body.page-lab .diagnostics1012-hero-summary span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.page-lab .diagnostics1012-hero-summary strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.45;
}

body.page-lab .diagnostics1012-control {
    margin-bottom: 16px;
    padding: 24px 26px;
    border-radius: var(--diagnostics1012-radius);
}

body.page-lab .diagnostics1012-control-head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

body.page-lab .diagnostics1012-control-head h2 {
    margin: 4px 0 6px;
    font-size: var(--diagnostics1012-section);
    line-height: 1.18;
}

body.page-lab .diagnostics1012-control-head p {
    max-width: 860px;
    margin: 0;
    color: #64748b;
}

body.page-lab .diagnostics1012-parity-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 13px;
    font-weight: 850;
}

body.page-lab .diagnostics1012-filter {
    display: grid;
    grid-template-columns: minmax(150px, .9fr) repeat(3, minmax(150px, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
}

body.page-lab .diagnostics1012-filter label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

body.page-lab .diagnostics1012-filter label > span {
    color: #475569;
    font-size: var(--diagnostics1012-label);
    font-weight: 800;
}

body.page-lab .diagnostics1012-filter input,
body.page-lab .diagnostics1012-filter select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: 16px;
    font-weight: 650;
}

html[dir="rtl"] body.page-lab .diagnostics1012-filter input,
html[dir="rtl"] body.page-lab .diagnostics1012-filter select { font-size: 17px; }

body.page-lab .diagnostics1012-filter.is-year [data-range-field] { display: none; }
body.page-lab .diagnostics1012-filter.is-range [data-year-field] { display: none; }

body.page-lab .diagnostics1012-filter .btn {
    min-height: 48px;
    padding-inline: 20px;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

body.page-lab .diagnostics1012-filter-message {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fff7f7;
    color: #9f1239;
    font-size: 15px;
    font-weight: 700;
}

body.page-lab .diagnostics1012-period-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

body.page-lab .diagnostics1012-period-strip article {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

body.page-lab .diagnostics1012-period-strip span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.page-lab .diagnostics1012-period-strip strong {
    display: block;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.4;
}

html[dir="rtl"] body.page-lab .diagnostics1012-period-strip strong { font-size: 17px; }

body.page-lab .diagnostics1012-state {
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 20px;
}

body.page-lab .diagnostics1012-state-error {
    border: 1px solid #fecaca;
    background: #fff8f8;
}

body.page-lab .diagnostics1012-state h2 {
    margin: 4px 0 6px;
    font-size: 22px;
}

body.page-lab .diagnostics1012-kpis { margin-bottom: 18px; }
body.page-lab .diagnostics1012-kpi { min-height: 188px; padding: 22px; }
body.page-lab .diagnostics1012-kpi > span { font-size: 15px; font-weight: 800; }
body.page-lab .diagnostics1012-kpi > strong {
    font-size: var(--diagnostics1012-kpi);
    line-height: 1;
    letter-spacing: -.035em;
}
body.page-lab .diagnostics1012-kpi > small { font-size: 14px; line-height: 1.5; }
html[dir="rtl"] body.page-lab .diagnostics1012-kpi > span,
html[dir="rtl"] body.page-lab .diagnostics1012-kpi > small { font-size: 15px; }

body.page-lab .diagnostics1012-insight {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid #99f6e4;
    border-radius: 22px;
    background: linear-gradient(120deg, #f0fdfa 0%, #ffffff 58%, #eff6ff 100%);
}

body.page-lab .diagnostics1012-insight-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 25px;
    font-weight: 900;
}

body.page-lab .diagnostics1012-insight h2 {
    margin: 4px 0 7px;
    font-size: var(--diagnostics1012-section);
}

body.page-lab .diagnostics1012-insight p {
    margin: 7px 0 0;
    color: #334155;
    font-weight: 650;
}

body.page-lab .diagnostics1012-section-head { margin: 24px 0 12px; }
body.page-lab .diagnostics1012-section-head h2 { font-size: var(--diagnostics1012-section); }
body.page-lab .diagnostics1012-section-head p { margin: 0; color: #64748b; }

body.page-lab .diagnostics1012-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
    align-items: start;
}

body.page-lab .diagnostics1012-chart-card {
    min-width: 0;
    padding: 18px 16px 14px;
    border-radius: var(--diagnostics1012-radius);
}

body.page-lab .diagnostics1012-chart-head {
    min-height: 58px;
    margin-bottom: 8px;
}

body.page-lab .diagnostics1012-chart-head h3 {
    margin: 0 0 5px;
    color: #0f172a;
    font-size: var(--diagnostics1012-card-title);
    line-height: 1.25;
}

body.page-lab .diagnostics1012-chart-head span {
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
}

body.page-lab .diagnostics1012-chart-stage { min-height: 320px; }
body.page-lab .diagnostics1012-chart-card canvas { width: 100%; min-height: 320px; }

body.page-lab .diagnostics1012-chart-state {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 24px;
    border-radius: 16px;
    background: #f8fafc;
    color: #64748b;
    font-size: 16px;
    font-weight: 750;
    text-align: center;
}

body.page-lab .diagnostics1012-chart-state[hidden] { display: none !important; }

body.page-lab .diagnostics1012-table-card { border-radius: var(--diagnostics1012-radius); }
body.page-lab .diagnostics1012-table-card th,
body.page-lab .diagnostics1012-table-card td {
    font-size: 15px;
    line-height: 1.45;
}

html[dir="rtl"] body.page-lab .diagnostics1012-table-card th,
html[dir="rtl"] body.page-lab .diagnostics1012-table-card td { font-size: 16px; }

body.page-lab .diagnostics1012-table-card tbody td:first-child {
    color: #0f172a;
    font-weight: 800;
}

@media (max-width: 1500px) {
    body.page-lab .diagnostics1012-hero { grid-template-columns: 1fr; }
    body.page-lab .diagnostics1012-filter { grid-template-columns: repeat(4, minmax(145px, 1fr)); }
    body.page-lab .diagnostics1012-filter .btn { width: 100%; }
}

@media (max-width: 1080px) {
    body.page-lab .diagnostics1012-period-strip,
    body.page-lab .diagnostics1012-hero-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.page-lab .diagnostics1012-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.page-lab .diagnostics1012-chart-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body.page-lab .diagnostics1012-hero,
    body.page-lab .diagnostics1012-control { padding: 20px 16px; }
    body.page-lab .diagnostics1012-control-head { display: grid; }
    body.page-lab .diagnostics1012-parity-badge { justify-self: start; }
    body.page-lab .diagnostics1012-filter,
    body.page-lab .diagnostics1012-period-strip,
    body.page-lab .diagnostics1012-hero-summary { grid-template-columns: 1fr; }
    body.page-lab .diagnostics1012-insight { grid-template-columns: 1fr; }
    body.page-lab .diagnostics1012-chart-card canvas { min-height: 250px; }
}

@media print {
    body.page-lab .diagnostics1012-control,
    body.page-lab .diagnostics1012-branch,
    body.page-lab .elite-sidebar,
    body.page-lab .elite-topbar,
    body.page-lab .elite-mobile-bar { display: none !important; }
    body.page-lab .diagnostics1012-period-strip { grid-template-columns: repeat(4, 1fr); }
    body.page-lab .diagnostics1012-kpi { min-height: auto; }
}


/* ========================================================================== */
/* H11.0-P11.1-R38 — Lab & Radiology General Manager Executive Decision View */
/* ========================================================================== */
body.page-lab .diagnostics138-shell {
    --d138-ink: #101b33;
    --d138-muted: #64748b;
    --d138-border: #dbe5f1;
    --d138-soft: #f6f9fd;
    --d138-purple: #6d28d9;
    --d138-blue: #2563eb;
    --d138-cyan: #06b6d4;
    --d138-teal: #0f9f8f;
    --d138-green: #059669;
    --d138-red: #dc3545;
    display: grid;
    gap: 16px;
    padding-bottom: 28px;
}

body.page-lab .diagnostics138-surface {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--d138-border);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15,23,42,.055);
}

body.page-lab .diagnostics138-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1e8ff;
    color: #5b21b6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.page-lab .diagnostics138-context-card {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(720px, 2.1fr);
    gap: 22px;
    align-items: end;
    padding: 20px 22px;
}

body.page-lab .diagnostics138-context-copy {
    display: grid;
    gap: 4px;
}
body.page-lab .diagnostics138-context-copy strong {
    color: var(--d138-ink);
    font-size: 21px;
    line-height: 1.2;
}
body.page-lab .diagnostics138-context-copy small {
    max-width: 440px;
    color: var(--d138-muted);
    font-size: 14px;
    line-height: 1.55;
}

body.page-lab .diagnostics138-filter {
    display: grid;
    align-items: end;
    gap: 10px;
}
body.page-lab .diagnostics138-filter.is-year {
    grid-template-columns: minmax(150px,.9fr) minmax(150px,.8fr) minmax(170px,1fr) minmax(150px,.78fr);
}
body.page-lab .diagnostics138-filter.is-range {
    grid-template-columns: minmax(135px,.7fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(160px,.9fr) minmax(150px,.72fr);
}
body.page-lab .diagnostics138-filter label {
    display: grid;
    min-width: 0;
    gap: 6px;
}
body.page-lab .diagnostics138-filter label > span {
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}
body.page-lab .diagnostics138-filter select,
body.page-lab .diagnostics138-filter input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #d7e2ef;
    border-radius: 13px;
    background: #fff;
    color: var(--d138-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}
body.page-lab .diagnostics138-filter.is-year [data-diagnostics138-range-field] { display: none; }
body.page-lab .diagnostics138-filter.is-range [data-diagnostics138-year-field] { display: none; }
body.page-lab .diagnostics138-primary {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #5b21b6, #2563eb 56%, #0ea5a4);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(79,70,229,.18);
}
body.page-lab .diagnostics138-inline-alert {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    color: #b42318;
    font-weight: 800;
}

body.page-lab .diagnostics138-state {
    padding: 28px;
    color: var(--d138-ink);
}
body.page-lab .diagnostics138-state strong { font-size: 22px; }
body.page-lab .diagnostics138-state p { margin: 8px 0 0; color: var(--d138-muted); }

body.page-lab .diagnostics138-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
body.page-lab .diagnostics138-kpi {
    position: relative;
    min-width: 0;
    min-height: 150px;
    overflow: hidden;
    padding: 21px 20px 18px;
    border: 1px solid var(--d138-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15,23,42,.045);
}
body.page-lab .diagnostics138-kpi::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--tone, var(--d138-purple));
}
body.page-lab .diagnostics138-kpi::after {
    content: '';
    position: absolute;
    width: 96px;
    height: 96px;
    right: -38px;
    bottom: -48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tone, var(--d138-purple)) 10%, white);
}
body.page-lab .diagnostics138-kpi.tone-teal { --tone: #0f9f8f; }
body.page-lab .diagnostics138-kpi.tone-blue { --tone: #2563eb; }
body.page-lab .diagnostics138-kpi.tone-violet { --tone: #7c3aed; }
body.page-lab .diagnostics138-kpi.tone-amber { --tone: #d97706; }
body.page-lab .diagnostics138-kpi-label {
    display: block;
    margin-bottom: 8px;
    color: #52627a;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
body.page-lab .diagnostics138-kpi strong {
    display: block;
    color: var(--d138-ink);
    font-size: clamp(30px, 2.55vw, 42px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
body.page-lab .diagnostics138-kpi small {
    display: block;
    margin-top: 8px;
    color: var(--d138-muted);
    font-size: 13px;
    line-height: 1.45;
}
body.page-lab .diagnostics138-delta {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}
body.page-lab .diagnostics138-delta.up { color: #047857; background: #e8f8f2; }
body.page-lab .diagnostics138-delta.down { color: #c5283d; background: #fff0f2; }
body.page-lab .diagnostics138-delta.neutral { color: #475569; background: #f1f5f9; }

body.page-lab .diagnostics138-decision-lens {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 2.35fr);
    gap: 22px;
    align-items: center;
    padding: 22px 24px;
    background: linear-gradient(100deg, #ffffff 0%, #f8f4ff 48%, #effbfd 100%);
}
body.page-lab .diagnostics138-decision-intro h2,
body.page-lab .diagnostics138-card-head h2,
body.page-lab .diagnostics138-profile-card h2,
body.page-lab .diagnostics138-actions h2,
body.page-lab .diagnostics138-full-table-section h2 {
    margin: 0;
    color: var(--d138-ink);
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.16;
    letter-spacing: -.025em;
}
body.page-lab .diagnostics138-decision-intro p,
body.page-lab .diagnostics138-card-head p,
body.page-lab .diagnostics138-profile-card > p,
body.page-lab .diagnostics138-full-table-section p {
    margin: 8px 0 0;
    color: var(--d138-muted);
    font-size: 15px;
    line-height: 1.55;
}
body.page-lab .diagnostics138-signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 1px solid #dfe7f2;
}
body.page-lab .diagnostics138-signal-grid article {
    min-width: 0;
    padding: 10px 16px;
    border-right: 1px solid #dfe7f2;
}
body.page-lab .diagnostics138-signal-grid article:last-child { border-right: 0; }
body.page-lab .diagnostics138-signal-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}
body.page-lab .diagnostics138-signal-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--d138-ink);
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
body.page-lab .diagnostics138-signal-grid small {
    display: block;
    margin-top: 6px;
    color: #53657f;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
}
body.page-lab .diagnostics138-signal-grid .is-positive { color: #047857; }
body.page-lab .diagnostics138-signal-grid .is-negative { color: #c5283d; }

body.page-lab .diagnostics138-primary-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(300px, .9fr);
    gap: 16px;
    align-items: stretch;
}
body.page-lab .diagnostics138-chart-card,
body.page-lab .diagnostics138-profile-card,
body.page-lab .diagnostics138-table-card,
body.page-lab .diagnostics138-actions {
    padding: 22px 24px;
}
body.page-lab .diagnostics138-card-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}
body.page-lab .diagnostics138-chart-head { align-items: center; }
body.page-lab .diagnostics138-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
body.page-lab .diagnostics138-tabs button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d9e4f1;
    border-radius: 12px;
    background: #fff;
    color: #344158;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}
body.page-lab .diagnostics138-tabs button.is-active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #6d28d9, #2563eb);
    box-shadow: 0 9px 20px rgba(79,70,229,.22);
}
body.page-lab .diagnostics138-chart-panel[hidden] { display: none !important; }
body.page-lab .diagnostics138-chart-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    color: #334155;
}
body.page-lab .diagnostics138-chart-caption strong { font-size: 16px; }
body.page-lab .diagnostics138-chart-caption span { color: var(--d138-muted); font-size: 13px; font-weight: 800; }
body.page-lab .diagnostics138-chart-stage {
    min-height: 370px;
    margin-top: 10px;
    border: 1px solid #e1eaf5;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    overflow: visible;
}
body.page-lab .diagnostics138-chart-stage canvas { width: 100%; min-height: 360px; }
body.page-lab .diagnostics138-chart-state {
    display: grid;
    place-items: center;
    min-height: 330px;
    padding: 28px;
    color: #64748b;
    font-weight: 800;
    text-align: center;
}
body.page-lab .diagnostics138-chart-state[hidden] { display: none !important; }

body.page-lab .diagnostics138-profile-card {
    display: flex;
    flex-direction: column;
}
body.page-lab .diagnostics138-total-activity {
    display: grid;
    gap: 2px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #dfe9f4;
    border-radius: 18px;
    background: #f8fbff;
}
body.page-lab .diagnostics138-total-activity strong {
    color: var(--d138-ink);
    font-size: 34px;
    line-height: 1;
}
body.page-lab .diagnostics138-total-activity span { margin-top: 6px; color: var(--d138-muted); font-size: 13px; font-weight: 800; }
body.page-lab .diagnostics138-mix-bar {
    display: flex;
    width: 100%;
    height: 16px;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f7;
}
body.page-lab .diagnostics138-mix-bar .is-lab { background: linear-gradient(90deg, #0f9f8f, #20c8b5); }
body.page-lab .diagnostics138-mix-bar .is-radiology { background: linear-gradient(90deg, #2563eb, #22c1dc); }
body.page-lab .diagnostics138-profile-list { display: grid; gap: 10px; }
body.page-lab .diagnostics138-profile-list article {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid #e0e8f2;
    border-radius: 16px;
    background: #fff;
}
body.page-lab .diagnostics138-dot { width: 10px; height: 10px; border-radius: 50%; }
body.page-lab .diagnostics138-dot.is-lab { background: #0f9f8f; }
body.page-lab .diagnostics138-dot.is-radiology { background: #2563eb; }
body.page-lab .diagnostics138-profile-list strong { display: block; color: var(--d138-ink); font-size: 20px; }
body.page-lab .diagnostics138-profile-list small { display: block; margin-top: 2px; color: var(--d138-muted); font-size: 12px; }
body.page-lab .diagnostics138-profile-list b { color: var(--d138-ink); font-size: 15px; }
body.page-lab .diagnostics138-profile-highlight {
    margin-top: auto;
    padding: 16px;
    border-radius: 17px;
    background: linear-gradient(135deg, #eef7ff, #f6f0ff);
}
body.page-lab .diagnostics138-profile-highlight span { display: block; color: #64748b; font-size: 12px; font-weight: 850; }
body.page-lab .diagnostics138-profile-highlight strong { display: block; margin-top: 6px; color: var(--d138-ink); font-size: 18px; }

body.page-lab .diagnostics138-text-link {
    color: #6d28d9;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}
body.page-lab .diagnostics138-table-wrap {
    margin-top: 16px;
    overflow-x: auto;
    border: 1px solid #dce6f2;
    border-radius: 17px;
}
body.page-lab .diagnostics138-table-wrap table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}
body.page-lab .diagnostics138-table-wrap th,
body.page-lab .diagnostics138-table-wrap td {
    padding: 13px 14px;
    border-bottom: 1px solid #e4ebf4;
    color: #334155;
    font-size: 14px;
    text-align: start;
}
body.page-lab .diagnostics138-table-wrap th {
    background: #f4f7fb;
    color: #42526b;
    font-size: 12px;
    font-weight: 900;
}
body.page-lab .diagnostics138-table-wrap tbody tr:last-child td { border-bottom: 0; }
body.page-lab .diagnostics138-change { font-weight: 900; }
body.page-lab .diagnostics138-change.up { color: #047857; }
body.page-lab .diagnostics138-change.down { color: #d92d45; }

body.page-lab .diagnostics138-supporting { overflow: hidden; scroll-margin-top: 112px; }
body.page-lab .diagnostics138-supporting > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 0 22px;
    cursor: pointer;
    list-style: none;
}
body.page-lab .diagnostics138-supporting > summary::-webkit-details-marker { display: none; }
body.page-lab .diagnostics138-supporting > summary strong { color: var(--d138-ink); font-size: 16px; }
body.page-lab .diagnostics138-supporting > summary span { color: var(--d138-muted); font-size: 13px; font-weight: 750; }
body.page-lab .diagnostics138-supporting-content {
    padding: 0 22px 22px;
    border-top: 1px solid #e2e8f0;
}
body.page-lab .diagnostics138-full-table-section { padding-top: 22px; scroll-margin-top: 118px; }

body.page-lab .diagnostics138-actions {
    display: grid;
    grid-template-columns: minmax(240px,.7fr) minmax(0,2.3fr);
    gap: 18px;
    align-items: center;
}
body.page-lab .diagnostics138-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
body.page-lab .diagnostics138-action-grid article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    min-width: 0;
    padding: 15px;
    border: 1px solid #dde7f2;
    border-radius: 17px;
    background: #fbfdff;
}
body.page-lab .diagnostics138-action-grid article > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #f0e8ff;
    color: #6d28d9;
    font-weight: 900;
}
body.page-lab .diagnostics138-action-grid strong { display: block; color: var(--d138-ink); font-size: 14px; line-height: 1.35; }
body.page-lab .diagnostics138-action-grid p { margin: 5px 0 0; color: var(--d138-muted); font-size: 12px; line-height: 1.5; }

html[dir="rtl"] body.page-lab .diagnostics138-kpi::before { inset: 0 0 0 auto; }
html[dir="rtl"] body.page-lab .diagnostics138-signal-grid { border-left: 0; border-right: 1px solid #dfe7f2; }
html[dir="rtl"] body.page-lab .diagnostics138-signal-grid article { border-right: 0; border-left: 1px solid #dfe7f2; }
html[dir="rtl"] body.page-lab .diagnostics138-signal-grid article:last-child { border-left: 0; }

@media (max-width: 1420px) {
    body.page-lab .diagnostics138-context-card { grid-template-columns: 1fr; align-items: start; }
    body.page-lab .diagnostics138-signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.page-lab .diagnostics138-primary-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); }
}

@media (max-width: 1120px) {
    body.page-lab .diagnostics138-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.page-lab .diagnostics138-decision-lens,
    body.page-lab .diagnostics138-primary-grid,
    body.page-lab .diagnostics138-actions { grid-template-columns: 1fr; }
    body.page-lab .diagnostics138-signal-grid { border-left: 0; border-top: 1px solid #dfe7f2; }
    html[dir="rtl"] body.page-lab .diagnostics138-signal-grid { border-right: 0; border-top: 1px solid #dfe7f2; }
    body.page-lab .diagnostics138-profile-highlight { margin-top: 16px; }
}

@media (max-width: 900px) {
    body.page-lab .diagnostics138-filter.is-year,
    body.page-lab .diagnostics138-filter.is-range { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.page-lab .diagnostics138-card-head,
    body.page-lab .diagnostics138-chart-head { display: grid; }
    body.page-lab .diagnostics138-tabs { justify-content: flex-start; }
    body.page-lab .diagnostics138-action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body.page-lab .diagnostics138-context-card,
    body.page-lab .diagnostics138-chart-card,
    body.page-lab .diagnostics138-profile-card,
    body.page-lab .diagnostics138-table-card,
    body.page-lab .diagnostics138-actions { padding: 18px 16px; }
    body.page-lab .diagnostics138-filter.is-year,
    body.page-lab .diagnostics138-filter.is-range,
    body.page-lab .diagnostics138-kpi-grid,
    body.page-lab .diagnostics138-signal-grid { grid-template-columns: 1fr; }
    body.page-lab .diagnostics138-signal-grid article { border-right: 0; border-left: 0; border-bottom: 1px solid #dfe7f2; }
    html[dir="rtl"] body.page-lab .diagnostics138-signal-grid article { border-left: 0; }
    body.page-lab .diagnostics138-signal-grid article:last-child { border-bottom: 0; }
    body.page-lab .diagnostics138-chart-stage { min-height: 300px; }
    body.page-lab .diagnostics138-chart-stage canvas { min-height: 290px; }
    body.page-lab .diagnostics138-supporting > summary { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px; }
}

@media print {
    body.page-lab .diagnostics138-filter,
    body.page-lab .diagnostics138-tabs,
    body.page-lab .diagnostics138-supporting,
    body.page-lab .diagnostics138-actions,
    body.page-lab .elite-sidebar,
    body.page-lab .elite-topbar,
    body.page-lab .elite-mobile-bar { display: none !important; }
    body.page-lab .diagnostics138-kpi-grid { grid-template-columns: repeat(4, 1fr); }
    body.page-lab .diagnostics138-primary-grid { grid-template-columns: 2fr 1fr; }
}
