/* BDF Dashboard v2. All presentation is isolated from other application pages. */
@font-face {
  font-family: DashboardSans;
  src: url('../fonts/dm-sans-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
.dashboard-v2 {
  --v2-ink: #29313e;
  --v2-muted: #697285;
  --v2-line: #eceef5;
  --v2-accent: #217ee6;
  --v2-bg: #f2f2f8;
  margin: 0;
  min-height: 100vh;
  background: var(--v2-bg);
  color: var(--v2-ink);
  font: 14px/1.5 DashboardSans, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dashboard-v2 * { box-sizing: border-box; }
.dashboard-v2 a { color: inherit; text-decoration: none; }
.dashboard-v2 h1, .dashboard-v2 h2, .dashboard-v2 p, .dashboard-v2 figure { margin: 0; }
.dashboard-v2 h1 { font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -1px; }
.dashboard-v2 h1 > span { color: #2d8cf0; }
.dashboard-v2 h2 { font-size: 16px; font-weight: 600; letter-spacing: -.35px; line-height: 1.5; }
.dashboard-v2 a:focus-visible, .dashboard-v2 button:focus-visible, .dashboard-v2 summary:focus-visible, .dashboard-v2 input:focus-visible {
  outline: 3px solid #227ee6;
  outline-offset: 4px;
}
.v2-skip { position: fixed; top: -70px; left: 18px; z-index: 20; padding: 12px 20px; background: white; border-radius: 8px; }
.v2-skip:focus { top: 12px; }
.dashboard-v2 .registration-admin-shell { margin-left: 216px; min-height: 100vh; }
.v2-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  width: 216px;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 18px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #eeeff5;
}
.v2-brand { display: flex; align-items: center; gap: 10px; padding: 0 7px 38px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.v2-brand small { display: block; margin-top: 3px; color: var(--v2-muted); font-size: 10px; font-weight: 400; }
.v2-monogram { display: block; font-size: 29px; font-weight: 850; line-height: 1; letter-spacing: -3px; color: #243d59; }
.v2-monogram > span { font-size: 10px; color: #369cef; letter-spacing: 0; }
.v2-nav-label { padding: 0 13px 12px; color: #697487; font-size: 9px; letter-spacing: 1.4px; font-weight: 600; }
.v2-nav { display: grid; gap: 7px; }
.v2-nav .admin-welcome { display: none; }
.dashboard-v2 .v2-nav .btn {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #727b8e;
  font-size: 12px;
  font-weight: 450;
  text-align: left;
}
.v2-nav .btn::before {
  content: '';
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.v2-nav .btn[href^='kursiyer']::before, .v2-nav .btn[href^='admin-users']::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 21v-3a6 6 0 0 1 12 0v3m1-16a3 3 0 0 1 0 6m3 10v-3a6 6 0 0 0-2-4'/%3E%3C/svg%3E");
}
.v2-nav .btn[href^='payment']::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18m-14 5h4'/%3E%3C/svg%3E");
}
.v2-nav .btn[href^='attendance']::before, .v2-nav .btn[href^='class']::before, .v2-nav .btn[href^='etkinlik']::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4m10-4v4M3 11h18'/%3E%3C/svg%3E");
}
.dashboard-v2 .v2-nav .btn.active { background: #eef6ff; color: #1767b8; font-weight: 650; }
.v2-nav .btn.active::after { content: ''; position: absolute; right: -18px; top: 14px; height: 18px; width: 3px; border-radius: 3px; background: #2d8cf0; }
.dashboard-v2 .v2-nav .btn:hover { color: #227ee6; background: #f4f8fe; }
.dashboard-v2 .v2-nav .btn[href$="?logout=1"] { margin-top: 17px; border-top: 1px solid var(--v2-line); border-radius: 0; padding-top: 18px; }
.v2-sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 30px 7px 2px; }
.v2-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; color: #5281b4; background: #eaf3fd; font-size: 13px; font-weight: 600; }
.v2-sidebar-footer div { min-width: 0; }
.v2-sidebar-footer strong { display: block; font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.v2-sidebar-footer small { color: var(--v2-muted); font-size: 10px; }
.v2-menu-toggle { display: none; }
.v2-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 36px 0; }
.v2-breadcrumb { color: #697487; font-size: 11px; }
.v2-breadcrumb > span { padding: 0 10px; color: #b7bfd0; }
.v2-breadcrumb strong { color: #596375; font-weight: 450; }
.v2-environment { position: relative; font-size: 11px; }
.v2-environment summary { list-style: none; padding: 6px 11px; border-radius: 20px; cursor: pointer; background: #e8f1ec; color: #426c58; font-size: 10px; }
.v2-environment summary::-webkit-details-marker { display: none; }
.v2-environment summary > span { color: #60a17c; font-size: 7px; padding-right: 5px; }
.dashboard-v2 .bdf-local-banner { position: absolute; right: 0; top: 38px; width: min(440px, calc(100vw - 38px)); z-index: 10; display: grid; gap: 7px; padding: 17px; border-radius: 12px; border: 1px solid #e6d8b6; background: #fff9ec; box-shadow: 0 10px 30px #30374716; color: #6c552a; font-size: 12px; line-height: 1.7; }
.bdf-local-banner a { text-decoration: underline; }
.v2-content { padding: 24px 36px 30px; outline: none; max-width: 1750px; margin-inline: auto; }
.v2-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.v2-overline { margin: 0 0 5px !important; font-size: 9px; font-weight: 650; color: #697487; letter-spacing: 1.4px; }
.v2-page-heading > div > p:last-child { color: var(--v2-muted); font-size: 12px; margin-top: 7px; }
.v2-date { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: #5c6577; }
.v2-date svg { width: 18px; height: 18px; fill: none; stroke: #697487; stroke-width: 1.5; }
.v2-date small { display: block; margin-top: 2px; color: #697487; font-size: 11px; font-weight: 400; }
.v2-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 24px; }
.v2-metric { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 19px 14px 17px; min-height: 177px; border: 1px solid #ffffff; background: #fff; border-radius: 16px; transition: box-shadow .15s, border-color .15s; }
.v2-metric:hover { border-color: #bedcff; box-shadow: 0 5px 20px #4278ba0a; }
.v2-metric > span:last-child { display: flex; flex-direction: column; text-align: center; align-items: center; }
.v2-metric-label { color: #6d7688; font-size: 12px; }
.v2-metric strong { order: -1; margin-bottom: 1px; font-size: 38px; font-weight: 450; line-height: 1.15; letter-spacing: -1.3px; color: #27313f; }
.v2-metric small { display: block; margin-top: 10px; color: #697487; font-size: 10px; }
.v2-metric small span { margin-left: 3px; }
.v2-metric-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.v2-metric-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.violet { color: #298ced; background: #e4f3ff; }
.blue { color: #e59a66; background: #fff0e4; }
.peach { color: #78ac4b; background: #edf8e5; }
.mint { color: #6abda2; background: #e5f7ef; }
.v2-analytics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 24px; align-items: stretch; margin-bottom: 24px; }
.v2-panel { min-width: 0; padding: 23px 25px 19px; border-radius: 17px; background: #fff; border: 1px solid #fff; }
.v2-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.v2-text-link { color: #287ed7 !important; font-size: 11px; font-weight: 500; white-space: nowrap; }
.v2-text-link:hover { text-decoration: underline; }
.v2-period { padding: 5px 8px; border-radius: 6px; color: #5e7293; background: #f3f6fc; font-size: 10px; white-space: nowrap; }
.v2-panel-description { color: #697487; font-size: 10px; margin-top: 8px !important; }
.v2-capacity-list { padding: 0; margin: 23px 0 16px; list-style: none; display: grid; gap: 18px; }
.v2-capacity-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.v2-capacity-label strong { font-size: 11px; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.v2-capacity-label > span { font-size: 10px; color: #697487; white-space: nowrap; }
.v2-capacity-schedule { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; margin:0 0 5px; color:#286cae; font-size:12px; line-height:1.5; }
.v2-capacity-schedule strong { font-weight:600; overflow-wrap:anywhere; }
.v2-capacity-schedule > span { font-weight:650; white-space:nowrap; font-variant-numeric:tabular-nums; }
.v2-capacity-context { margin:0 0 9px; color:#697487; font-size:11px; line-height:1.6; overflow-wrap:anywhere; }
.v2-capacity-chart { display: flex; align-items: center; gap: 12px; }
.v2-capacity-chart > span { width: 37px; flex: none; text-align: right; font-size: 10px; color: #4a88c8; font-variant-numeric: tabular-nums; }
.v2-bar-track { height: 6px; border-radius: 10px; background: #f0f2f7; flex: 1; overflow: hidden; }
.v2-bar-track > span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: #3495ee; }
.v2-capacity-list li:nth-child(2n) .v2-bar-track > span { background: #9ccf6c; }
.v2-capacity-list li:nth-child(3n) .v2-bar-track > span { background: #ae99de; }
.v2-chart-note { color: #697487; font-size: 10px; line-height: 1.6; margin-top: 13px !important; }
.v2-payment-chart { display: grid; grid-template-columns: minmax(120px, .85fr) minmax(0, 1fr); align-items: center; gap: 15px; margin-top: 15px; }
.v2-donut { position: relative; width: 100%; max-width: 188px; margin-inline: auto !important; aspect-ratio: 1; }
.v2-donut svg { width: 100%; display: block; }
.v2-donut-track { stroke: #eef1f7; }
.v2-donut figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.v2-donut figcaption strong { color: #344154; font-size: 31px; font-weight: 500; line-height: 1.1; }
.v2-donut figcaption span { color: #697487; font-size: 10px; margin-top: 6px; }
.v2-payment-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.v2-payment-legend a { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 3px 0; border-radius: 5px; }
.v2-payment-legend a:hover { background: #f4f8fe; }
.v2-legend-label { display: flex; align-items: center; gap: 6px; color: #69758b; font-size: 10px; white-space: nowrap; }
.v2-legend-label i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.v2-legend-label small { display: inline-grid; place-items: center; font-size: 9px; min-width: 17px; height: 17px; background: #f3f5fa; border-radius: 4px; color: #737e91; }
.v2-payment-legend a > strong { color: #46516a; font-size: 10px; font-weight: 550; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v2-collected { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #f0f1f6; }
.v2-collected > span { color: #5b6880; font-size: 11px; }
.v2-collected small { display: block; color: #697487; font-size: 9px; margin-top: 2px; }
.v2-collected strong { font-size: 22px; font-weight: 550; letter-spacing: -.6px; font-variant-numeric: tabular-nums; color: #256bb4; }
.v2-workspace { display: flex; flex-direction: column; gap: 24px; }
.dash-today { padding: 23px 25px; border-radius: 17px; background: #fff; }
.dash-today h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.dash-warn-pill { border-radius: 6px; padding: 4px 8px; background: #fff3e5; color: #8c5d24; font-size: 10px; font-weight: 450; letter-spacing: 0; }
.dash-today-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 19px; }
.dash-today-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; border: 1px solid #eaf0f8; border-radius: 12px; padding: 17px 19px; background: #fafcff; }
.dash-today-card.eksik { background: #fffdfa; border-color: #f5ecde; }
.dash-today-main { display: grid; gap: 6px; min-width: 0; }
.dash-today-main strong { font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.dash-today-main > span { font-size: 10px; line-height: 1.7; color: #697487; overflow-wrap: anywhere; }
.dash-today-main .dash-today-state { width: fit-content; border-radius: 5px; padding: 3px 7px; font-size: 10px; background: #eaf7f1; color: #427d68; }
.eksik .dash-today-main .dash-today-state { background: #fff0dd; color: #9b682a; }
.bekliyor .dash-today-main .dash-today-state { background: #edf1fb; color: #6578a6; }
.dash-today-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 165px; }
.dash-today-note { font-size: 9px; line-height: 1.6; color: #697487; }
/* Boş grupların listeden çıkarıldığını söyleyen not. */
.dash-today-hint { margin: 10px 0 0; font-size: 11px; line-height: 1.6; color: #697487; }
.dash-today-hint a { color: #267acb; text-decoration: underline; }
.dash-today-note a { color: #267acb; text-decoration: underline; }
.dashboard-v2 .btn { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 38px; padding: 9px 13px; border: 1px solid #e7eaf2; border-radius: 7px; background: white; color: #69768c; font: 500 11px/1.4 DashboardSans, system-ui, sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.dashboard-v2 .btn:hover { border-color: #abcdf2; background: #f5f9ff; }
.dashboard-v2 .btn.primary { border-color: #1b73cf; background: #1b73cf; color: #fff; }
.dashboard-v2 .btn.primary:hover { background: #176fc9; border-color: #176fc9; }
.dash-tasks-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 0 2px; margin-bottom: 16px; }
.v2-count { font-size: 10px; font-weight: 500; color: #6e7f9f; background: #e7ebf5; border-radius: 6px; padding: 5px 9px; }
.dash-tasks ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.dash-tasks li { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; padding: 21px 22px 18px; border: 1px solid #fff; border-radius: 15px; background: #fff; min-width: 0; }
.dash-tasks li > div { width: 100%; min-width: 0; }
.v2-priority { display: inline-block; padding: 3px 7px; margin-bottom: 11px; border-radius: 5px; color: #7888aa; background: #eef2fa; font-size: 9px; font-weight: 500; }
.crit .v2-priority { background: #ffedf2; color: #9c4a67; }
.warn .v2-priority { background: #fff3e5; color: #8b612c; }
.dash-tasks li strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.65; overflow-wrap: anywhere; }
.dash-tasks li span { display: block; margin-top: 8px; font-size: 10px; color: #697487; line-height: 1.7; overflow-wrap: anywhere; }
.dash-tasks li .btn { margin-top: auto; }
.dash-tasks li:first-child { border-top: 3px solid #5f9fe5; padding-top: 19px; }
.dash-tasks.empty { padding: 24px; border-radius: 15px; background: #fff; color: #718097; font-size: 12px; }
.registration-empty { margin-top: 20px !important; border: 1px dashed #dfe6f2; border-radius: 10px; background: #f8faff; color: #6b7990; padding: 22px; font-size: 12px; }
.registration-empty a { color: #217ee6; text-decoration: underline; }
.v2-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 36px; padding: 0 0 25px; color: #697487; font-size: 10px; }
.dashboard-v2.is-login .registration-admin-shell { max-width: 1100px; margin: 0 auto; }
.dashboard-v2.is-login .v2-content { max-width: 510px; margin: 0 auto; padding-top: 65px; }
.dashboard-v2.is-login .v2-page-heading { margin-bottom: 28px; }
.registration-admin-login { display: grid; gap: 18px; padding: 28px; border-radius: 16px; background: white; }
.registration-admin-login h2 { margin-bottom: 5px; }
.registration-admin-login label { display: grid; gap: 7px; font-size: 12px; color: #65738a; }
.registration-admin-login input { width: 100%; min-height: 44px; border: 1px solid #dbe2ec; border-radius: 8px; padding: 11px; font: inherit; background: #fff; color: #29313e; }
.registration-admin-login .btn.full { width: 100%; min-height: 44px; font-size: 13px; }
.registration-notice { padding: 13px; border-radius: 8px; background: #fff4e6; color: #795921; font-size: 12px; }
.registration-notice.error { color: #a44763; background: #fff0f4; }
@media (min-width: 1700px) {
  .v2-content { padding: 30px 48px 35px; }
  .v2-topbar { padding: 28px 48px 0; }
  .v2-metrics { gap: 27px; }
  .v2-metric { min-height: 184px; }
  .v2-metric-label { font-size: 13px; }
  .v2-analytics { gap: 27px; }
  .v2-panel { padding: 27px 30px 23px; }
  .v2-capacity-label strong { font-size: 13px; }
  .v2-payment-legend a > strong, .v2-legend-label { font-size: 12px; }
  .v2-panel-description, .v2-chart-note { font-size: 11px; }
  .v2-capacity-list { gap: 22px; }
  .v2-donut { max-width: 195px; }
  .v2-capacity-chart > span { font-size: 12px; }
  .dash-tasks li strong, .dash-today-main strong { font-size: 14px; }
  .dash-tasks li span, .dash-today-main > span { font-size: 12px; }
  .v2-footer { margin-inline: 48px; }
}
@media (max-width: 1199px) {
  .v2-sidebar { width: 190px; padding-inline: 13px; }
  .dashboard-v2 .registration-admin-shell { margin-left: 190px; }
  .v2-brand { gap: 8px; font-size: 10px; }
  .v2-nav .btn.active::after { right: -13px; }
  .v2-topbar { padding-inline: 26px; }
  .v2-content { padding: 24px 26px 28px; }
  .v2-metrics { gap: 15px; }
  .v2-metric { min-height: 165px; padding-inline: 8px; }
  .v2-metric small { font-size: 9px; }
  .v2-analytics { grid-template-columns: 1fr; gap: 20px; }
  .v2-capacity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 25px; }
  .v2-payment-chart { grid-template-columns: minmax(140px, .8fr) minmax(0, 1fr); max-width: 620px; margin-inline: auto; gap: 30px; }
  .v2-payment-legend { gap: 12px; }
  .v2-payment-legend a > strong, .v2-legend-label { font-size: 12px; }
  .dash-tasks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-today-card { grid-template-columns: 1fr; gap: 13px; }
  .dash-today-actions { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .v2-footer { margin-inline: 26px; }
}
@media (max-width: 900px) {
  .v2-sidebar { width: 176px; padding-inline: 10px; }
  .dashboard-v2 .registration-admin-shell { margin-left: 176px; }
  .v2-brand { padding-inline: 2px; font-size: 10px; gap: 6px; }
  .v2-brand small { font-size: 9px; }
  .v2-monogram { font-size: 26px; }
  .dashboard-v2 .v2-nav .btn { padding-inline: 11px; font-size: 11px; }
  .v2-nav .btn.active::after { right: -10px; }
  .v2-sidebar-footer { padding-inline: 2px; gap: 7px; }
  .v2-sidebar-footer strong { font-size: 9px; }
  .v2-sidebar-footer small { font-size: 9px; }
  .v2-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .v2-metric { min-height: 160px; }
  .v2-content { padding-inline: 22px; }
  .v2-topbar { padding-inline: 22px; }
  .v2-capacity-list { grid-template-columns: 1fr; }
  .v2-payment-chart { gap: 16px; grid-template-columns: minmax(125px, .75fr) minmax(0, 1fr); }
  .v2-payment-legend a > strong, .v2-legend-label { font-size: 10px; }
  .dash-today-list { grid-template-columns: 1fr; }
  .v2-date { font-size: 10px; gap: 7px; }
  .v2-date small { font-size: 10px; }
  .v2-page-heading > div > p:last-child { font-size: 11px; }
  .v2-footer { margin-inline: 22px; }
}
@media (max-width: 680px) {
  .v2-sidebar { position: relative; inset: auto; width: auto; overflow: visible; border: 0; padding: 18px 20px; min-height: 78px; }
  .dashboard-v2 .registration-admin-shell { margin: 0; }
  .v2-brand { padding: 0; max-width: 235px; gap: 10px; font-size: 12px; min-height: 42px; }
  .v2-brand small { font-size: 10px; }
  .v2-monogram { font-size: 29px; }
  .v2-nav-label, .v2-sidebar-footer { display: none; }
  .v2-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 17px; }
  .v2-navigation-ready .v2-nav { display: none; }
  .v2-navigation-ready.v2-menu-open .v2-nav { display: grid; }
  .v2-navigation-ready .v2-menu-toggle { display: flex; }
  .v2-menu-toggle { position: absolute; top: 17px; right: 19px; align-items: center; gap: 7px; min-height: 44px; padding: 9px 12px; border: 1px solid #e7ebf2; border-radius: 8px; color: #66768d; background: #fff; font: 500 11px DashboardSans, system-ui, sans-serif; }
  .v2-menu-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .dashboard-v2 .v2-nav .btn { width: auto; padding: 11px 13px; font-size: 12px; }
  .v2-nav .btn.active::after { display: none; }
  .dashboard-v2 .v2-nav .btn[href$="?logout=1"] { margin: 0; border: 0; grid-column: 1 / -1; }
  .v2-topbar { padding: 15px 20px 0; }
  .v2-breadcrumb { font-size: 10px; }
  .v2-breadcrumb > span { padding-inline: 6px; }
  .v2-environment summary { font-size: 9px; padding: 5px 9px; }
  .v2-content { padding: 22px 20px 27px; }
  .v2-page-heading { gap: 10px; align-items: flex-start; margin-bottom: 23px; }
  .dashboard-v2 h1 { font-size: 26px; }
  .v2-overline { font-size: 8px; }
  .v2-page-heading > div > p:last-child { max-width: 190px; line-height: 1.7; }
  .v2-date { margin-top: 18px; font-size: 10px; white-space: nowrap; }
  .v2-date svg { display: none; }
  .v2-date small { font-size: 9px; }
  .v2-metrics { gap: 12px; margin-bottom: 19px; }
  .v2-metric { min-height: 164px; padding: 17px 7px 15px; border-radius: 13px; gap: 10px; }
  .v2-metric strong { font-size: 34px; }
  .v2-metric-label { font-size: 11px; }
  .v2-metric small { font-size: 9px; margin-top: 9px; }
  .v2-metric-icon { width: 31px; height: 31px; }
  .v2-metric-icon svg { width: 16px; height: 16px; }
  .v2-analytics { display: flex; flex-direction: column; gap: 19px; margin-bottom: 19px; }
  .v2-panel { padding: 20px 18px; border-radius: 14px; }
  .v2-section-heading { gap: 9px; }
  .dashboard-v2 h2 { font-size: 16px; }
  .v2-text-link { font-size: 10px; }
  .v2-panel-description { font-size: 10px; line-height: 1.7; }
  .v2-capacity-list { gap: 19px; margin-top: 23px; }
  .v2-capacity-label strong { font-size: 11px; }
  .v2-capacity-label > span { font-size: 10px; }
  .v2-capacity-chart > span { font-size: 11px; }
  .v2-period { font-size: 9px; }
  .v2-payment-chart { grid-template-columns: 1fr; gap: 15px; margin-top: 18px; }
  .v2-donut { max-width: 180px; }
  .v2-payment-legend { gap: 5px; }
  .v2-payment-legend a { min-height: 38px; padding: 6px 0; border-bottom: 1px solid #f2f3f8; }
  .v2-payment-legend a > strong, .v2-legend-label { font-size: 12px; }
  .v2-legend-label small { font-size: 10px; }
  .v2-collected { margin-top: 10px; padding-top: 17px; }
  .v2-collected strong { font-size: 23px; }
  .v2-collected > span { font-size: 11px; }
  .v2-collected small { font-size: 9px; }
  .v2-chart-note { font-size: 10px; }
  .v2-workspace { gap: 23px; }
  .dash-today { padding: 20px 18px; border-radius: 14px; }
  .dash-today h2 { display: block; }
  .dash-warn-pill { display: table; margin-top: 9px; font-size: 10px; }
  .dash-today-list { gap: 13px; }
  .dash-today-card { padding: 17px 15px; border-radius: 10px; }
  .dash-today-main strong { font-size: 12px; }
  .dash-today-main > span { font-size: 11px; }
  .dash-today-note { font-size: 10px; }
  .dashboard-v2 .btn { min-height: 44px; font-size: 11px; padding: 10px 13px; }
  .dash-tasks-head { margin-bottom: 14px; }
  .dash-tasks ul { grid-template-columns: 1fr; gap: 13px; }
  .dash-tasks li { padding: 19px 20px; gap: 15px; border-radius: 13px; }
  .dash-tasks li strong { font-size: 13px; }
  .dash-tasks li span { font-size: 11px; }
  .v2-priority { font-size: 10px; }
  .v2-footer { margin-inline: 20px; font-size: 9px; }
  .dashboard-v2.is-login .v2-content { padding-top: 35px; }
  .registration-admin-login { padding: 23px; }
}
@media (prefers-reduced-motion: reduce) { .dashboard-v2 * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .v2-sidebar, .v2-topbar, .v2-skip, .v2-footer { display: none; }
  .dashboard-v2 .registration-admin-shell { margin: 0; }
  .dashboard-v2 { background: white; }
  .v2-analytics { grid-template-columns: 1fr 1fr; }
  .v2-panel, .dash-today, .dash-tasks li { break-inside: avoid; border: 1px solid #ddd; }
}

/* Keep the chart and its complete legend compact on phones. */
@media (max-width: 680px) {
  .v2-payment-chart { grid-template-columns: minmax(90px, .75fr) minmax(0, 1fr); gap: 14px; align-items: center; }
  .v2-donut { max-width: 145px; }
  .v2-donut figcaption strong { font-size: 27px; }
  .v2-donut figcaption span { font-size: 9px; }
  .v2-payment-legend { gap: 4px; }
  .v2-payment-legend a { display: grid; justify-content: stretch; gap: 3px; padding: 5px 0; min-height: 42px; }
  .v2-legend-label { font-size: 10px; gap: 5px; white-space: normal; }
  .v2-payment-legend a > strong { margin-left: 11px; font-size: 11px; }
  .v2-legend-label small { margin-left: auto; font-size: 9px; }
  .v2-capacity-list { gap: 15px; }
  .v2-capacity-label { margin-bottom: 5px; }
}

.v2-nav .btn[href$="?logout=1"] { order: 2; }
.v2-sidebar { scrollbar-width: thin; scrollbar-color: #dae1ed transparent; }
