:root {
    --doctors1013-body: 16px;
    --doctors1013-body-ar: 17px;
    --doctors1013-section: clamp(24px, 2vw, 28px);
    --doctors1013-title: clamp(36px, 4vw, 48px);
    --doctors1013-ink: #101a35;
    --doctors1013-muted: #64748b;
    --doctors1013-line: #dbe4f0;
    --doctors1013-surface: rgba(255,255,255,.94);
    --doctors1013-blue: #1769e0;
    --doctors1013-cyan: #16a6c9;
    --doctors1013-green: #139d70;
    --doctors1013-violet: #7048d8;
    --doctors1013-red: #c23b4b;
}

.page-doctors .elite-title-block p { max-width: 540px; }
.doctors1013-shell { display: grid; gap: 24px; padding: 8px 0 34px; font-size: var(--doctors1013-body); color: var(--doctors1013-ink); }
html[dir="rtl"] .doctors1013-shell { font-size: var(--doctors1013-body-ar); }

.doctors1013-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 28px;
    align-items: stretch;
    padding: 34px;
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 14% 20%, rgba(255,255,255,.13) 0 1px, transparent 1.4px) 0 0/28px 28px,
        linear-gradient(125deg, #15113f 0%, #4b176f 46%, #117d9f 100%);
    box-shadow: 0 24px 62px rgba(27, 39, 78, .18);
}
.doctors1013-kicker,
.doctors1013-section-head > span {
    display: inline-flex;
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.doctors1013-hero .doctors1013-kicker { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.doctors1013-hero h2 { margin: 14px 0 12px; max-width: 850px; font-size: var(--doctors1013-title); line-height: 1.06; letter-spacing: -.035em; color: #fff; }
.doctors1013-hero p { max-width: 760px; margin: 0; font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.86); }
.doctors1013-period-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.doctors1013-period-strip span { padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.09); }
.doctors1013-period-strip small, .doctors1013-period-strip strong { display: block; }
.doctors1013-period-strip small { color: rgba(255,255,255,.72); font-size: 13px; }
.doctors1013-period-strip strong { margin-top: 4px; color: #fff; font-size: 17px; }
.doctors1013-hero-summary { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 26px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.doctors1013-hero-summary span { color: rgba(255,255,255,.72); font-weight: 700; }
.doctors1013-hero-summary strong { margin: 8px 0; font-size: 34px; line-height: 1.05; color: #fff; }
.doctors1013-hero-summary small { color: rgba(255,255,255,.8); line-height: 1.65; }

.doctors1013-controls,
.doctors1013-surface,
.doctors1013-kpi,
.doctors1013-state {
    border: 1px solid rgba(198, 210, 228, .72);
    background: var(--doctors1013-surface);
    box-shadow: 0 18px 45px rgba(32, 52, 88, .08);
}
.doctors1013-controls { padding: 28px; border-radius: 30px; }
.doctors1013-section-head { margin-bottom: 18px; }
.doctors1013-section-head > span { padding: 6px 11px; color: #5b2387; background: #f2e9fb; border: 1px solid #e4d4f2; }
.doctors1013-section-head h2 { margin: 10px 0 6px; font-size: var(--doctors1013-section); color: var(--doctors1013-ink); letter-spacing: -.025em; }
.doctors1013-section-head p { margin: 0; color: var(--doctors1013-muted); line-height: 1.7; }
.doctors1013-section-head.compact { margin-bottom: 14px; }

.doctors1013-filter { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) minmax(220px, 1.3fr) auto; gap: 14px; align-items: end; }
.doctors1013-filter label { display: grid; gap: 8px; font-weight: 800; color: #33415f; }
.doctors1013-filter select,
.doctors1013-filter input { min-height: 50px; padding: 0 14px; border: 1px solid #d6e0ec; border-radius: 15px; background: #fff; color: var(--doctors1013-ink); font: inherit; font-weight: 700; }
.doctors1013-primary { min-height: 50px; padding: 0 24px; border: 0; border-radius: 15px; color: #fff; font: inherit; font-weight: 900; cursor: pointer; background: linear-gradient(135deg, #5b2aa3, #148ca2); box-shadow: 0 12px 26px rgba(91,42,163,.2); }

.doctors1013-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doctors1013-kpi { position: relative; overflow: hidden; min-height: 190px; padding: 22px; border-radius: 26px; }
.doctors1013-kpi::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #6a36c7, #1eb0bd); }
.doctors1013-kpi-opd::before { background: linear-gradient(90deg, #1769e0, #21a8ef); }
.doctors1013-kpi-inpatient::before { background: linear-gradient(90deg, #7048d8, #a270e6); }
.doctors1013-kpi-active::before { background: linear-gradient(90deg, #d38b18, #efb642); }
.doctors1013-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doctors1013-kpi-top span { color: #667085; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.doctors1013-kpi-top em { font-style: normal; font-size: 13px; font-weight: 900; padding: 7px 9px; border-radius: 999px; }
.doctors1013-kpi-top em.up { color: #0b815d; background: #e9f8f1; }
.doctors1013-kpi-top em.down { color: #b12f40; background: #fdeced; }
.doctors1013-kpi > strong { display: block; margin: 22px 0 8px; font-size: clamp(38px, 4vw, 52px); line-height: .95; letter-spacing: -.045em; color: var(--doctors1013-ink); }
.doctors1013-kpi > small { color: #718096; font-size: 14px; line-height: 1.5; }

.doctors1013-insight-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; }
.doctors1013-surface { padding: 26px; border-radius: 28px; }
.doctors1013-insight .doctors1013-kicker,
.doctors1013-profile .doctors1013-kicker { color: #5b2387; background: #f2e9fb; border: 1px solid #e4d4f2; }
.doctors1013-insight h2,
.doctors1013-profile h2 { margin: 12px 0 16px; font-size: var(--doctors1013-section); }
.doctors1013-insight p { margin: 0 0 10px; color: #42506a; font-size: 17px; line-height: 1.75; }
.doctors1013-mix-list { display: grid; gap: 13px; }
.doctors1013-mix-list > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; }
.doctors1013-mix-list span { color: #5d687c; font-weight: 700; }
.doctors1013-mix-list strong { color: var(--doctors1013-ink); }
.doctors1013-mix-list i { grid-column: 1 / -1; display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #edf2f8; }
.doctors1013-mix-list i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6b37c7, #14a5b5); }

.doctors1013-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.doctors1013-chart-card { min-width: 0; }
.doctors1013-chart-stage { position: relative; min-height: 390px; }
.doctors1013-chart-stage canvas { width: 100%; min-height: 360px; display: block; }
.doctors1013-chart-state { display: none; min-height: 320px; padding: 32px; border-radius: 22px; background: #f8fafc; border: 1px dashed #cbd5e1; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.doctors1013-chart-state strong { font-size: 20px; color: var(--doctors1013-ink); }
.doctors1013-chart-state p { max-width: 440px; color: var(--doctors1013-muted); line-height: 1.7; }
[data-chart-state="empty"] canvas,
[data-chart-state="error"] canvas { display: none; }
[data-chart-state="empty"] .doctors1013-chart-empty,
[data-chart-state="error"] .doctors1013-chart-error { display: flex; }

.doctors1013-table-card { min-width: 0; }
.doctors1013-table-wrap { overflow-x: auto; }
.doctors1013-table-wrap table { width: 100%; border-collapse: collapse; }
.doctors1013-table-wrap th,
.doctors1013-table-wrap td { padding: 15px 12px; text-align: start; border-bottom: 1px solid #e7edf5; white-space: nowrap; }
.doctors1013-table-wrap th { color: #65718a; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.doctors1013-table-wrap td { color: #33415f; }
.doctors1013-table-wrap td strong { color: var(--doctors1013-ink); }

.doctors1013-state { padding: 34px; border-radius: 28px; text-align: center; }
.doctors1013-state strong { display: block; font-size: 24px; color: var(--doctors1013-ink); }
.doctors1013-state p { max-width: 680px; margin: 10px auto 0; color: var(--doctors1013-muted); line-height: 1.7; }

@media (max-width: 1180px) {
    .doctors1013-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doctors1013-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doctors1013-primary { width: 100%; }
}
@media (max-width: 900px) {
    .doctors1013-hero,
    .doctors1013-insight-grid,
    .doctors1013-chart-grid { grid-template-columns: 1fr; }
    .doctors1013-period-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .doctors1013-shell { gap: 16px; }
    .doctors1013-hero,
    .doctors1013-controls,
    .doctors1013-surface { padding: 20px; border-radius: 22px; }
    .doctors1013-kpi-grid,
    .doctors1013-filter { grid-template-columns: 1fr; }
    .doctors1013-kpi { min-height: 160px; }
}
