
/* V58 — temiz overview + daha detaylı kişisel başarı radarı */
#tab-overview > .bg-slate-900\/80 {
  background:var(--rk-paper) !important;
  border-color:var(--rk-line) !important;
  box-shadow:0 10px 28px rgba(39,48,71,.05) !important;
}
#tab-overview .h-52.relative {
  height:330px !important;
  min-height:330px !important;
  padding:8px 14px 4px !important;
  background:linear-gradient(180deg,#fffdf8 0%,#fbf7ef 100%) !important;
  overflow:visible !important;
}
#tab-overview .h-52.relative canvas {
  max-height:315px !important;
}
@media(max-width:900px){
  #tab-overview .h-52.relative { height:300px !important; min-height:300px !important; padding:4px 4px 0 !important; }
  #tab-overview .h-52.relative canvas { max-height:290px !important; }
}

.rk-historical-card{background:var(--rk-paper,#fffdf8);border:1px solid var(--rk-line,#e4ddd0);border-radius:20px;box-shadow:0 10px 28px rgba(39,48,71,.055);overflow:hidden!important;padding:0!important}
.rk-historical-head{display:flex;justify-content:space-between;gap:20px;padding:22px 24px 17px;border-bottom:1px solid var(--rk-line);background:#fffdf8}
.rk-historical-kicker{font:800 9px "Space Mono",monospace;letter-spacing:.14em;color:var(--rk-teal);margin-bottom:6px}
.rk-historical-head h3{margin:0;color:var(--rk-ink);font-size:20px;font-weight:850;letter-spacing:-.03em}
.rk-historical-head p{margin:7px 0 0;color:var(--rk-muted);font-size:12px;line-height:1.55;max-width:760px}
.rk-historical-badge{align-self:flex-start;white-space:nowrap;padding:8px 11px;border-radius:999px;background:#f2f7f5;color:var(--rk-teal);border:1px solid #cfe2dc;font:800 9px "Space Mono",monospace}
.rk-historical-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px 24px 4px}
.rk-historical-kpis>div{background:#f7f4ec;border:1px solid var(--rk-line);border-radius:14px;padding:13px 14px}
.rk-historical-kpis span{display:block;font-size:10px;color:var(--rk-muted);font-weight:700}.rk-historical-kpis strong{display:block;margin-top:4px;font:800 23px "Syne",sans-serif;color:var(--rk-ink)}.rk-historical-kpis small{display:block;margin-top:2px;font-size:9px;color:#92949c}

.rk-historical-chart-title{padding:6px 24px 10px}.rk-historical-chart-title strong{display:block;font-size:13px;color:var(--rk-ink)}.rk-historical-chart-title span{display:block;font-size:10px;color:var(--rk-muted);margin-top:3px}.rk-historical-chart-wrap{height:390px;margin:0 24px 10px;padding:14px 10px 4px;border:1px solid var(--rk-line);border-radius:15px;background:linear-gradient(180deg,#fffdf8,#faf6ed)}.rk-historical-chart-wrap canvas{width:100%!important;height:100%!important}

.rk-historical-table-wrap{margin:0 24px 16px;overflow:auto;border:1px solid var(--rk-line);border-radius:14px}.rk-historical-table{width:100%;border-collapse:collapse;min-width:700px}.rk-historical-table th,.rk-historical-table td{padding:10px 12px;border-bottom:1px solid var(--rk-line);text-align:left;font-size:10px}.rk-historical-table th{background:#f1eadf;color:var(--rk-ink);font-weight:800}.rk-historical-table td{background:#fffdf8;color:#4e5664}.rk-historical-table tr:last-child td{border-bottom:0}.rk-historical-table td:nth-child(4){color:var(--rk-teal);font-weight:800}.rk-historical-note{margin:0 24px 8px;padding:12px 14px;background:#f7f4ec;border:1px solid var(--rk-line);border-radius:12px;color:var(--rk-muted);font-size:10px;line-height:1.6}.rk-historical-note strong{color:var(--rk-ink)}.rk-historical-sources{padding:0 24px 20px;color:#989aa1;font-size:9px;line-height:1.5}
@media(max-width:800px){.rk-historical-head{display:block;padding:18px}.rk-historical-badge{display:inline-block;margin-top:12px}.rk-historical-kpis,.rk-historical-explain-grid{grid-template-columns:1fr;padding-left:18px;padding-right:18px}.rk-historical-chart-title{padding-left:18px;padding-right:18px}.rk-historical-chart-wrap{height:330px;margin-left:18px;margin-right:18px}.rk-historical-table-wrap{margin-left:18px;margin-right:18px}.rk-historical-note{margin-left:18px;margin-right:18px}.rk-historical-sources{padding-left:18px;padding-right:18px}}

/* V61 — 100 aday oranı kaldırıldı; PDR/toplam öğretmen atama payı öne çıkarıldı. */
.rk-historical-kpis>div:last-child{background:#eef7f4;border-color:#cfe2dc}
.rk-historical-kpis>div:last-child strong{color:var(--rk-teal)}
.rk-historical-share-wrap{height:300px!important}
@media(max-width:700px){.rk-historical-share-wrap{height:250px!important}}

.rk-historical-secondary-title{margin-top:26px!important;border-top:1px solid var(--rk-line,#e4ddd0);padding-top:22px}
.rk-historical-share-wrap{height:260px;margin:10px 18px 0;padding:10px 12px 4px;background:#fffdf8;border:1px solid var(--rk-line,#e4ddd0);border-radius:16px}
.rk-historical-share-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 18px 0}
.rk-historical-share-kpis>div{background:#fbf7ef;border:1px solid var(--rk-line,#e4ddd0);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:3px}
.rk-historical-share-kpis span{font-size:10px;font-weight:800;color:#6f746f;text-transform:uppercase;letter-spacing:.04em}.rk-historical-share-kpis strong{font-size:21px;line-height:1.1;color:#273047}.rk-historical-share-kpis small{font-size:10px;color:#7d817c}
@media(max-width:700px){.rk-historical-share-wrap{height:230px;margin:8px 10px 0;padding:8px 4px 2px}.rk-historical-share-kpis{grid-template-columns:1fr;margin:10px}.rk-historical-secondary-title{margin-top:18px!important;padding-top:18px}.rk-historical-table{min-width:900px}}

/* V64 — dashboard görünümü: referans görseldeki temiz header + kart sistemi */
.rk-topbar{
  height:74px!important;
  padding:0 30px!important;
  background:rgba(247,243,233,.96)!important;
  border-bottom:1px solid rgba(24,44,64,.09)!important;
  box-shadow:0 4px 18px rgba(24,44,64,.035)!important;
  backdrop-filter:blur(12px);
}
.rk-topbar-left{gap:14px!important}
.rk-header-brand{
  display:flex;align-items:baseline;white-space:nowrap;
  font-family:"Syne","DM Sans",sans-serif;font-size:27px;font-weight:800;
  letter-spacing:-.065em;line-height:1;color:#132f3f;
}
.rk-header-brand-pdr{color:#132f3f}
.rk-header-brand-kampus{color:#2f897b;font-weight:700}
.rk-breadcrumb{display:none!important}
.rk-mobile-menu{
  display:grid!important;width:40px!important;height:40px!important;
  border-radius:12px!important;background:#fffdf8!important;
  border:1px solid rgba(24,44,64,.10)!important;color:#183447!important;
  box-shadow:0 3px 12px rgba(24,44,64,.05)!important;
}
.rk-mobile-menu span{font-size:20px;line-height:1}
.rk-topbar-actions{gap:8px!important}
.rk-topbar #btn-login{padding:9px 14px!important;border-radius:12px!important;font-weight:800!important}

/* Ana alanı daha ferah bir dashboard yüzeyine çevir */
.rk-main{
  padding:28px 30px 58px!important;
  background:linear-gradient(180deg,#f7f3e9 0%,#f5f1e8 100%)!important;
}
.rk-intro{
  max-width:1260px!important;
  margin:0 auto 20px!important;
  padding:22px 24px!important;
  min-height:128px;
  align-items:center!important;
  border:1px solid rgba(24,44,64,.08)!important;
  border-radius:20px!important;
  background:linear-gradient(120deg,#fffdf8 0%,#fbfaf4 72%,#edf6f3 100%)!important;
  box-shadow:0 10px 28px rgba(24,44,64,.055)!important;
  position:relative;overflow:hidden;
}
.rk-intro:after{
  content:"";position:absolute;width:210px;height:210px;right:-70px;top:-100px;
  border-radius:50%;background:rgba(76,159,149,.09);pointer-events:none;
}
.rk-eyebrow{font-size:9px!important;letter-spacing:.16em!important;font-weight:800!important}
.rk-intro h1{font-size:34px!important;margin-top:6px!important;color:#123044!important}
.rk-intro p{font-size:13px!important;margin-top:9px!important;max-width:650px}
.rk-intro-copy{position:relative;z-index:1;max-width:790px}
.rk-intro-note{display:flex;align-items:center;gap:7px;margin-top:15px;color:#61727b;font-size:10px;font-weight:700}
.rk-intro-note span{color:#4c9f95;font-size:8px}
.rk-intro-summary{position:relative;z-index:1;flex:0 0 360px;padding:15px;border:1px solid rgba(49,95,98,.14);border-radius:17px;background:rgba(255,255,255,.72);box-shadow:0 8px 24px rgba(24,44,64,.05)}
.rk-intro-summary-title{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#60747b;font:800 9px "Space Mono",monospace;letter-spacing:.12em}
.rk-intro-summary-title span{width:7px;height:7px;border-radius:50%;background:#4c9f95;box-shadow:0 0 0 4px rgba(76,159,149,.12)}
.rk-intro-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rk-intro-feature-grid>div{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid rgba(24,44,64,.08);border-radius:12px;background:#fffdf8}
.rk-intro-feature-grid strong{flex:0 0 auto;color:#2f897b;font:800 15px "Space Mono",monospace}
.rk-intro-feature-grid span{color:#54636d;font-size:9px;font-weight:700;line-height:1.25}
.rk-date-pill{
  position:relative;z-index:1;background:#fff!important;border-radius:999px!important;
  padding:10px 14px!important;border-color:rgba(24,44,64,.08)!important;
  box-shadow:0 4px 12px rgba(24,44,64,.045);
}

/* Ana hesaplama kolonları */
.rk-dashboard-grid,.rk-workspace{
  max-width:1260px!important;margin-left:auto!important;margin-right:auto!important;
}
.rk-workspace{gap:18px!important}
.rk-calc-panel>div,
.rk-results-column>div,
.rk-input-column>div{
  border-radius:18px!important;
  border:1px solid rgba(24,44,64,.09)!important;
  box-shadow:0 8px 24px rgba(24,44,64,.045)!important;
}
.rk-calc-panel>div:first-child{background:#183447!important;color:#fff!important}
.rk-calc-panel>div:not(:first-child),
.rk-results-column>div,
.rk-input-column>div{background:#fffdf8!important}

/* Dashboard kart başlıkları */
.rk-main h2,.rk-main h3{color:#123044}
.rk-main .border-slate-800\/80,.rk-main .border-slate-800\/60{border-color:rgba(255,255,255,.10)!important}
.rk-calc-panel>div:not(:first-child) .border-slate-800\/80,
.rk-calc-panel>div:not(:first-child) .border-slate-800\/60{border-color:rgba(24,44,64,.08)!important}

/* Sonuç panelindeki büyük değerleri dashboard KPI hissine getir */

/* Tarihsel analiz ve grafik kartları */
.rk-historical-card,.rk-historical-wrap,
.rk-oabt-distribution-card,.rk-real-distribution-card{
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(24,44,64,.05)!important;
}

@media(min-width:681px){
  .rk-mobile-menu{display:grid!important}
}
@media(max-width:680px){
  .rk-topbar{height:64px!important;padding:0 14px!important}
  .rk-header-brand{font-size:23px!important}
  .rk-main{padding:16px 14px 42px!important}
  .rk-intro{padding:19px!important;min-height:0;border-radius:17px!important}
  .rk-intro h1{font-size:27px!important}
  .rk-intro p{line-height:1.65}
  .rk-intro-summary{width:100%;margin-top:17px;padding:12px;box-sizing:border-box}
  .rk-intro-feature-grid>div{padding:9px}
  .rk-intro-note{margin-top:12px;line-height:1.45}
  .rk-date-pill{display:none}
}

/* V65 — header overlap + desktop hamburger cleanup */
@media(min-width:681px){
  .rk-mobile-menu{display:none!important}
  .rk-main{padding-top:108px!important}
}
@media(max-width:680px){
  .rk-mobile-menu{display:grid!important}
  .rk-main{padding-top:82px!important}
}

/* V66 — AGS + ÖABT unified dashboard cards */
.rk-calc-panel > div:first-child,
.rk-calc-panel > div:nth-child(2){
  background:#fffdf8!important;
  border:1px solid #e4ded3!important;
  border-radius:20px!important;
  box-shadow:0 10px 28px rgba(30,39,36,.06)!important;
}
.rk-calc-panel > div:first-child h2,
.rk-calc-panel > div:nth-child(2) h2{color:#24443f!important}
.rk-calc-panel > div:first-child h2 span,
.rk-calc-panel > div:nth-child(2) h2 span{color:#24443f!important}
.rk-calc-panel > div:first-child [id="total-ags-net-badge"],
.rk-calc-panel > div:nth-child(2) [id="net-oabt"]{
 background:#e7f2ef!important;border:1px solid #c6ded8!important;color:#287a6d!important
}
.rk-calc-panel > div:nth-child(2) .border-purple-800\/40{border-color:#e4ded3!important}
.rk-calc-panel > div:nth-child(2) input,
.rk-calc-panel > div:first-child input{
 background:#f8f6f1!important;border:1px solid #dcd7cc!important;color:#243632!important;border-radius:12px!important
}
.rk-calc-panel > div:nth-child(2) .text-purple-300,
.rk-calc-panel > div:nth-child(2) .text-purple-400{color:#2f897b!important}
.rk-calc-panel > div:nth-child(2) .text-purple-200{color:#246d62!important}
.rk-calc-panel > div:nth-child(2) label,
.rk-calc-panel > div:first-child label{color:#7b827e!important}
.rk-calc-panel > div:nth-child(2) .bg-purple-950\/25{background:transparent!important}
.rk-calc-panel > div:nth-child(2) .border-purple-800\/40{border-color:#e4ded3!important}
.rk-calc-panel > div:nth-child(2) .bg-slate-950{background:#f8f6f1!important}
@media(max-width:680px){
 .rk-calc-panel > div:first-child, .rk-calc-panel > div:nth-child(2){border-radius:18px!important}
}
