/* Coach dashboard v2: isolated from historical coach-dashboard theme rules. */
.coach-dashboard-v2 {
  --cd-ink: #1e2f3b;
  --cd-muted: #647783;
  --cd-canvas: #f5f7f9;
  --cd-surface: #fff;
  --cd-border: #dde5ea;
  --cd-shadow: 0 12px 28px -24px rgba(27, 51, 63, .38);
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(18rem, 1fr);
  grid-template-rows: auto auto auto auto;
  align-items: start;
  column-gap: 18px;
  row-gap: 18px;
  color: var(--cd-ink);
}

.akx-app.akx-coach .akx-content { background: var(--cd-canvas); }

/* KPI */
.coach-dashboard-v2 > .kpi-metric-row {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.coach-dashboard-v2 > .kpi-metric-row > .col-3 {
  width: auto;
  max-width: none;
  padding: 0;
}
.coach-dashboard-v2 .kpi-metric-card {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  overflow: hidden;
  background: var(--cd-surface);
  border: 1px solid var(--cd-border);
  border-radius: 14px;
  box-shadow: var(--cd-shadow);
}
.coach-dashboard-v2 .kpi-m-upper {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 16px 17px 13px;
}
.coach-dashboard-v2 .kpi-m-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
}
.coach-dashboard-v2 .kpi-m-value {
  color: var(--cd-ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.coach-dashboard-v2 .kpi-m-footer {
  padding: 7px 17px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
}
.coach-dashboard-v2 .kpi-m-petrol .kpi-m-footer { background: #426e74; }
.coach-dashboard-v2 .kpi-m-green .kpi-m-footer { background: #5ca548; }
.coach-dashboard-v2 .kpi-m-gold .kpi-m-footer { background: #bd9831; }
.coach-dashboard-v2 .kpi-m-indigo .kpi-m-footer { background: #6040e6; }
.coach-dashboard-v2 .kpi-m-petrol .kpi-m-icon { color: #2f6269; background: #e5f1f2; }
.coach-dashboard-v2 .kpi-m-green .kpi-m-icon { color: #438940; background: #e8f4e7; }
.coach-dashboard-v2 .kpi-m-gold .kpi-m-icon { color: #a37b1d; background: #faf1d9; }
.coach-dashboard-v2 .kpi-m-indigo .kpi-m-icon { color: #5b41cb; background: #eeeaff; }

/* Grid placement: links and actions remain in their existing markup. */
.coach-dashboard-v2 > .dash-top,
.coach-dashboard-v2 > .dash-top > .dash-top-left { display: contents; }
.coach-dashboard-v2 > .coach-student-section {
  grid-column: 1;
  grid-row: 2;
}
.coach-dashboard-v2 > .dash-top > .dash-top-left > .quick-card {
  grid-column: 1;
  grid-row: 3;
}
.coach-dashboard-v2 > .dash-top > .dash-top-right {
  display: flex;
  grid-column: 2;
  grid-row: 2 / span 2;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.coach-dashboard-v2 > .edu-widget-row {
  grid-column: 1 / -1;
  grid-row: 4;
}

/* Shared primary cards */
.coach-dashboard-v2 .coach-student-section,
.coach-dashboard-v2 .quick-card,
.coach-dashboard-v2 .coach-success-summary,
.coach-dashboard-v2 .edu-upcoming-slot,
.coach-dashboard-v2 .edu-widget-card {
  box-sizing: border-box;
  background: var(--cd-surface);
  border: 1px solid var(--cd-border);
  border-top-width: 1px !important;
  border-radius: 14px;
  box-shadow: var(--cd-shadow);
}
/* Eski tema katmanlarından kalan renkli üst şeritleri kullanma. */
.coach-dashboard-v2 .coach-student-section::before,
.coach-dashboard-v2 .quick-card::before,
.coach-dashboard-v2 .coach-success-summary::before,
.coach-dashboard-v2 .edu-upcoming-slot::before,
.coach-dashboard-v2 .edu-widget-card::before,
.coach-dashboard-v2 .stu-table-card::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Students: primary work area */
.coach-dashboard-v2 .coach-student-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 22px 24px 20px;
  background: #fff !important;
  border-color: #cfdee4 !important;
}
.coach-dashboard-v2 .coach-students-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -4px 0 0;
  padding: 14px 16px;
  background: linear-gradient(90deg, #fff3dd 0%, #fff8ec 55%, #ffffff 100%);
  border: 1px solid #ead8b8;
  border-radius: 13px;
}
.coach-dashboard-v2 .coach-students-head > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.coach-dashboard-v2 .coach-students-head-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #9a6b18;
  background: #ffebc2;
  border-radius: 9px;
}
.coach-dashboard-v2 .coach-students-head-copy { min-width: 0; }
.coach-dashboard-v2 .coach-students-head h2 {
  margin: 0;
  color: var(--cd-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.coach-dashboard-v2 .coach-students-head-copy p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--cd-muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coach-dashboard-v2 .coach-students-count {
  padding: 6px 9px;
  color: #7a5a20;
  background: #fff7e8;
  border: 1px solid #e7d4aa;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.coach-dashboard-v2 .student-list-toolbar {
  display: grid !important;
  grid-template-columns: auto minmax(280px, 1.1fr) minmax(260px, auto) auto auto;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px !important;
  background: #fbfdfd !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.coach-dashboard-v2 .student-list-toolbar::before,
.coach-dashboard-v2 .student-list-toolbar::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.coach-dashboard-v2 .stu-toolbar-left { display: contents; }
.coach-dashboard-v2 .student-year-picker { grid-column: 1; grid-row: 1; }
.coach-dashboard-v2 .student-list-search { grid-column: 2; grid-row: 1; min-width: 0; }
.coach-dashboard-v2 .student-view-toggle { grid-column: 4; grid-row: 1; }
.coach-dashboard-v2 .student-add-button { grid-column: 5; grid-row: 1; }
.coach-dashboard-v2 .student-cat-tabs {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: 0;
  padding-top: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.coach-dashboard-v2 .student-cat-tabs::-webkit-scrollbar {
  display: none;
}
.coach-dashboard-v2 .student-year-picker,
.coach-dashboard-v2 .student-list-search {
  height: 42px;
  min-width: 0;
  background: #fff;
  border: 1px solid #d9e4e9;
  border-radius: 8px;
}
.coach-dashboard-v2 .student-list-search { width: 100%; }
.coach-dashboard-v2 .student-view-toggle { display: inline-flex; height: 42px; }
.coach-dashboard-v2 .student-view-toggle button {
  width: 42px;
  color: #5d727c;
  background: #f7f9fa;
  border: 1px solid #dce6ea;
}
.coach-dashboard-v2 .student-view-toggle button.active { color: #fff; background: #355d66; }
.coach-dashboard-v2 .student-add-button {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  background: #355d66;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.coach-dashboard-v2 .student-cat-tab {
  min-height: 30px;
  padding: 4px 9px;
  color: #536a75;
  background: #f6f9fa;
  border: 1px solid #dce6ea;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}
.coach-dashboard-v2 .student-cat-tab.is-active { color: #fff; background: #355d66; border-color: #355d66; }
.coach-dashboard-v2 .student-cat-tab span { margin-left: 3px; opacity: .75; }
.coach-dashboard-v2 .stu-table-card {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}
.coach-dashboard-v2 .stu-table { margin: 0; border-collapse: separate; border-spacing: 0 7px; }
.coach-dashboard-v2 .stu-table thead th {
  height: 44px;
  padding: 0 14px;
  color: #4e626d;
  background: #f1f5f7;
  border: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  vertical-align: middle;
}
.coach-dashboard-v2 .stu-table thead th:first-child { border-radius: 10px 0 0 10px; }
.coach-dashboard-v2 .stu-table thead th:last-child { border-radius: 0 10px 10px 0; }
.coach-dashboard-v2 .stu-table tbody td {
  height: 64px;
  padding: 9px 14px;
  background: #fff;
  border-top: 1px solid #e4ecef;
  border-bottom: 1px solid #e4ecef;
  vertical-align: middle;
}
.coach-dashboard-v2 .stu-table tbody tr:nth-child(odd) td {
  background: #ffffff;
}
.coach-dashboard-v2 .stu-table tbody tr:nth-child(even) td {
  background: #fbfcfd;
}
.coach-dashboard-v2 .stu-table tbody tr:hover td {
  background: #f5f8f8;
}
.coach-dashboard-v2 .stu-table tbody td:first-child { border-left: 1px solid #e4ecef; border-radius: 12px 0 0 12px; }
.coach-dashboard-v2 .stu-table tbody td:last-child { border-right: 1px solid #e4ecef; border-radius: 0 12px 12px 0; }
.coach-dashboard-v2 .stu-avatar { width: 38px; height: 38px; font-size: 12px; }
.coach-dashboard-v2 .stu-name { font-size: 13px; font-weight: 750; }
.coach-dashboard-v2 .stu-email { margin-top: 3px; color: #72838c; font-size: 11px; }
.coach-dashboard-v2 .stu-level-badge { color: #467060; background: #edf5f1; border: 1px solid #d1e5dc; }
.coach-dashboard-v2 .student-detail-btn { padding: 8px 12px; background: #355d66; border-radius: 7px; font-size: 11px; }
.coach-dashboard-v2 .stu-action-btn { width: 32px; height: 32px; border-radius: 7px; }

/* Quick actions */
.coach-dashboard-v2 .quick-card {
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%) !important;
  border-color: #d8e4e8 !important;
}
.coach-dashboard-v2 .quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 0 0 13px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e8eef1;
  border-radius: 0;
}
.coach-dashboard-v2 .quick-head h3 { margin: 0; color: var(--cd-ink); font-size: 16px; font-weight: 800; }
.coach-dashboard-v2 .quick-head h3 i { color: #b28a2a; }
.coach-dashboard-v2 .quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 16px; }
.coach-dashboard-v2 .quick-tile {
  position: relative !important;
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  overflow: hidden !important;
  color: #344a55 !important;
  background: #f7fbfc !important;
  border: 1px solid #dfe8ec !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.coach-dashboard-v2 .quick-tile::after,
.coach-dashboard-v2 .quick-tile::before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.coach-dashboard-v2 .quick-tile:hover { color: #2b5762 !important; background: #f4fafb !important; box-shadow: 0 8px 16px -15px rgba(30, 63, 73, .38) !important; transform: translateY(-1px); }
.coach-dashboard-v2 .quick-ico { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; color: #47717c !important; background: #edf4f6 !important; border-radius: 8px; }
.coach-dashboard-v2 .quick-label { min-width: 0; color: #213541 !important; font-size: 12px !important; line-height: 1.25; }
.coach-dashboard-v2 .quick-mark { margin-left: auto; color: #5c7a84 !important; }
.coach-dashboard-v2 .quick-hint { display: none; }

/* Right column */
.coach-dashboard-v2 .coach-success-summary,
.coach-dashboard-v2 .edu-upcoming-slot { min-width: 0; overflow: hidden; }
.coach-dashboard-v2 .quick-tile[data-key="yeni-ogrenci"] { background: #f3f9fb !important; border-color: #d7e8ed !important; }
.coach-dashboard-v2 .quick-tile[data-key="rapor"] { background: #f4fbf6 !important; border-color: #d8eadc !important; }
.coach-dashboard-v2 .quick-tile[data-key="gorusme"],
.coach-dashboard-v2 .quick-tile[data-key="koc-takvimi"] { background: #fffaf0 !important; border-color: #ecdcae !important; }
.coach-dashboard-v2 .quick-tile[data-key="ders-konu"],
.coach-dashboard-v2 .quick-tile[data-key="kutuphane"],
.coach-dashboard-v2 .quick-tile[data-key="kredi"] { background: #f7fbfc !important; border-color: #dce8ec !important; }
.coach-dashboard-v2 .quick-grid .quick-tile:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.coach-dashboard-v2 .coach-success-summary {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%) !important;
  border-color: #d4e1f2 !important;
}
.coach-dashboard-v2 .edu-upcoming-slot {
  background: linear-gradient(180deg, #fff9eb 0%, #fff2d8 100%) !important;
  border-color: #e8cd8f !important;
}
.coach-dashboard-v2 .edu-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 53px;
  margin: 0 !important;
  padding: 0 18px !important;
  border-bottom: 1px solid #e5ecef;
}
.coach-dashboard-v2 .coach-success-summary .edu-card-head {
  background: rgba(244, 248, 255, .72);
  border-bottom-color: #d9e5f4;
}
.coach-dashboard-v2 .edu-upcoming-slot .edu-card-head {
  background: rgba(255, 248, 235, .92);
  border-bottom-color: #ead7b2;
}
.coach-dashboard-v2 .edu-card-head h3 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  min-width: 0;
  margin: 0 !important;
  color: var(--cd-ink) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}
.coach-dashboard-v2 .side-card-heading-icon {
  display: grid !important;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  font-size: 16px;
}
.coach-dashboard-v2 .side-card-heading-icon-success { color: #3268c9; background: #e8f0ff; }
.coach-dashboard-v2 .side-card-heading-icon-calendar { color: #98650d; background: #f6daa0; }
.coach-dashboard-v2 .side-card-heading-icon-risk { color: #2f777e; background: #e6f3f4; }
.coach-dashboard-v2 .side-card-heading-icon i { display: block; line-height: 1; }
.coach-dashboard-v2 .success-top {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
}
.coach-dashboard-v2 .success-avg-ring { width: 144px; height: 144px; }
.coach-dashboard-v2 .success-avg-label { color: #344a55; font-size: 13px; font-weight: 750; }
.coach-dashboard-v2 .success-avg-sub { margin-top: 4px; color: #71828b; font-size: 11px; }
.coach-dashboard-v2 .success-sub-title { padding: 0 18px 10px; color: #71828b; font-size: 11px; font-weight: 700; }
.coach-dashboard-v2 .success-bar { padding: 0 10px 12px; }
.coach-dashboard-v2 .edu-badge { padding: 4px 7px; color: #8c6b1e; background: #fbf4dc; border: 1px solid #efdfaa; border-radius: 6px; font-size: 10px; font-weight: 750; }
.coach-dashboard-v2 .edu-upcoming-list { padding: 14px; }
.coach-dashboard-v2 .edu-upcoming-item {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  color: #735d25;
  background: #fff0cf !important;
  border: 1px solid #e4c27c !important;
  border-radius: 9px;
  text-decoration: none;
}
.coach-dashboard-v2 .edu-up-code { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; color: #9a7620; background: #faefcc; border-radius: 8px; }
.coach-dashboard-v2 .edu-up-meta { min-width: 0; }
.coach-dashboard-v2 .edu-up-meta b { display: block; color: #66521e; font-size: 12px; }
.coach-dashboard-v2 .edu-up-meta small { display: block; margin-top: 4px; color: #967d40; font-size: 10.5px; line-height: 1.3; }

/* Full-width risk state */
.coach-dashboard-v2 .edu-widget-row { display: block; margin: 0; }
.coach-dashboard-v2 .edu-widget-card {
  overflow: hidden;
  background: #fff !important;
  border-color: #d7e2e7 !important;
}
.coach-dashboard-v2 .edu-widget-card .edu-card-head { min-height: 50px; }
.coach-dashboard-v2 .edu-widget-card .risk-title {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--cd-ink) !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
}
.coach-dashboard-v2 .risk-list { padding: 18px 20px 24px !important; }
.coach-dashboard-v2 .risk-empty {
  display: flex !important;
  position: relative;
  min-height: 66px;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 14px 24px !important;
  color: #344a55;
  background: #fff;
  border: 1px solid #dce7eb;
  border-radius: 10px;
  text-align: center !important;
}
.coach-dashboard-v2 .risk-empty-icon {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  place-items: center;
  color: #4c7f88;
  background: #eef6f7;
  border-radius: 50%;
  margin: 0 !important;
}
.coach-dashboard-v2 .risk-empty-body { display: grid !important; gap: 4px !important; place-items: center !important; }
.coach-dashboard-v2 .risk-empty-body b {
  color: #172b36 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: -.01em !important;
}
.coach-dashboard-v2 .risk-empty-body span {
  color: #536974 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.coach-dashboard-v2 .risk-empty-stat {
  margin-top: 5px !important;
  padding: 5px 10px !important;
  color: #31535d !important;
  background: #eef6f3 !important;
  border: 1px solid #d4e5dd !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.coach-dashboard-v2 .risk-empty-stat b {
  color: #203c45 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body .akx-app .akx-content .coach-dashboard-v2 .edu-card-head,
body .akx-app .akx-content .coach-dashboard-v2 .quick-head {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body .akx-app .akx-content .coach-dashboard-v2 .edu-card-head h3,
body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card .edu-card-head h3,
body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card .risk-title {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  color: var(--cd-ink) !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body .akx-app .akx-content .coach-dashboard-v2 .side-card-heading-icon {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  place-items: center !important;
  margin: 0 !important;
}

body .akx-app .akx-content .coach-dashboard-v2 .risk-empty {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 24px !important;
  text-align: center !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-student-section {
  background: #fff !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-student-section .student-list-toolbar {
  display: grid !important;
  grid-template-columns: auto minmax(180px, 1fr) auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px !important;
  background: #fbfdfd !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* Final scoped overrides: eski tema çizgileri ve aşırı yeşil risk zemini geri gelmesin. */
html body .akx-app .akx-content .coach-dashboard-v2 .student-list-toolbar,
html body .akx-app .akx-content .coach-dashboard-v2 .student-list-toolbar:hover,
html body .akx-app .akx-content .coach-dashboard-v2 .student-list-toolbar:focus-within {
  border-top: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile,
html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile:hover,
html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile:focus {
  border-top-width: 1px !important;
  box-shadow: none !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .risk-empty {
  min-height: 66px !important;
  background: #fff !important;
  border-color: #dbe6ea !important;
  transform: none !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card .risk-list {
  padding: 18px 20px 24px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card {
  padding-bottom: 8px !important;
}

/* Son dokunuşlar: hızlı işlemler ve risk paneli daha sakin/premium. */
html body .akx-app .akx-content .coach-dashboard-v2 .quick-edit {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #355d66 !important;
  background: #f5f8f8 !important;
  border: 1px solid #d9e5e8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-edit span {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  white-space: nowrap !important;
  transition: opacity .14s ease, width .18s ease, margin .18s ease !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-edit:hover,
html body .akx-app .akx-content .coach-dashboard-v2 .quick-card.is-editing .quick-edit {
  width: 30px !important;
  min-width: 30px !important;
  color: #fff !important;
  background: #355d66 !important;
  border-color: #355d66 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-edit:hover span,
html body .akx-app .akx-content .coach-dashboard-v2 .quick-card.is-editing .quick-edit span {
  display: none !important;
  width: 0 !important;
  margin-left: 0 !important;
  opacity: 0 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-grid {
  gap: 15px 18px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile {
  background: #ffffff !important;
  border-color: #dce7eb !important;
  box-shadow: none !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="yeni-ogrenci"],
html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="ders-konu"],
html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="kutuphane"],
html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="kredi"] {
  background: #fbfdfd !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="rapor"] {
  background: #fbfefb !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="gorusme"],
html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="koc-takvimi"] {
  background: #fffdf7 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="kredi"] {
  order: 6 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile[data-key="ders-konu"] {
  order: 7 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-grid .quick-tile:last-child:nth-child(3n + 1) {
  grid-column: auto !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .quick-tile:hover {
  background: #f6f9f9 !important;
  box-shadow: none !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card > .edu-card-head {
  margin: 14px 16px 0 !important;
  padding: 11px 13px !important;
  background: linear-gradient(90deg, #eef6f3 0%, #f7fbf8 58%, #fffaf0 100%) !important;
  border: 1px solid #d7e6df !important;
  border-radius: 12px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card .side-card-heading-icon-risk {
  color: #3f737a !important;
  background: #eef6f7 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card .risk-list {
  display: flex !important;
  align-items: flex-start !important;
  padding: 6px 20px 18px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card .risk-empty {
  width: 100% !important;
  min-height: 64px !important;
  margin-top: -8px !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  background: linear-gradient(90deg, #f7fbf8 0%, #ffffff 100%) !important;
  border-color: #dce9df !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-student-section .student-list-toolbar::before,
html body .akx-app .akx-content .coach-dashboard-v2 .coach-student-section .student-list-toolbar::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-students-head {
  min-height: 66px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-students-head-copy {
  justify-content: center !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-students-head-copy h2 {
  margin-bottom: 0 !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-upcoming-slot > .edu-card-head {
  margin: 14px 16px 0 !important;
  padding: 11px 13px !important;
  min-height: 48px !important;
  background: linear-gradient(90deg, #fff5df 0%, #fffaf0 62%, #ffffff 100%) !important;
  border: 1px solid #ead7a8 !important;
  border-radius: 12px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .coach-success-summary > .edu-card-head {
  margin: 14px 16px 0 !important;
  padding: 11px 13px !important;
  min-height: 48px !important;
  background: linear-gradient(90deg, #f1f5ff 0%, #f8faff 62%, #ffffff 100%) !important;
  border: 1px solid #dce5f7 !important;
  border-radius: 12px !important;
}

html body .akx-app .akx-content .coach-dashboard-v2 .edu-widget-card > .risk-card-head {
  margin: 14px 16px 0 !important;
  padding: 11px 13px !important;
  min-height: 48px !important;
  background: linear-gradient(90deg, #eef6f3 0%, #f8fbf8 62%, #ffffff 100%) !important;
  border: 1px solid #d7e6df !important;
  border-radius: 12px !important;
}

@media (max-width: 1080px) {
  .coach-dashboard-v2 { display: flex; flex-direction: column; gap: 18px; }
  .coach-dashboard-v2 > .dash-top,
  .coach-dashboard-v2 > .dash-top > .dash-top-left { display: block; }
  .coach-dashboard-v2 > .dash-top > .dash-top-right { margin-top: 18px; }
}
@media (max-width: 760px) {
  .coach-dashboard-v2 { width: 100%; }
  .coach-dashboard-v2 > .kpi-metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .coach-dashboard-v2 .coach-student-section { padding: 18px; }
  .coach-dashboard-v2 .student-list-toolbar { grid-template-columns: 1fr auto; }
  .coach-dashboard-v2 .student-year-picker { grid-column: 1; }
  .coach-dashboard-v2 .student-list-search { grid-column: 1 / -1; grid-row: 2; }
  .coach-dashboard-v2 .student-view-toggle { grid-column: 2; grid-row: 1; }
  .coach-dashboard-v2 .student-add-button { grid-column: 1 / -1; grid-row: 3; justify-content: center; }
  .coach-dashboard-v2 .student-cat-tabs { grid-row: 4; }
  .coach-dashboard-v2 .quick-grid { grid-template-columns: 1fr; }
}
