[x-cloak] { display: none !important; }

.page-banner-standard {
  width: 100% !important;
  min-height: auto;
  box-sizing: border-box;
  margin: 0 0 1rem !important;
  padding: 1.25rem !important;
  border-radius: 1.5rem !important;
  flex: 0 0 auto;
}

/* Akademik Planlama işlemlerindeki sayfalar */
.curriculum-catalog-page,
.academic-calendar-page,
.academic-control-page,
.task-compliance-page,
.workflow-settings-page,
.academic-documents-page {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
}

/* Eğitim koçluğu portföyü */
.coaching-portfolio {
  isolation: isolate;
}

.coaching-filter-strip {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
}

.coaching-filter-strip > button {
  scroll-snap-align: start;
}

.coaching-filter-strip::-webkit-scrollbar {
  height: 5px;
}

.coaching-filter-strip::-webkit-scrollbar-track {
  background: transparent;
}

.coaching-filter-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.coaching-card-action {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  border: 1px solid #e2e8f0;
  border-radius: .7rem;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.coaching-card-action i {
  font-size: 1rem;
}

.coaching-card-action:hover,
.coaching-card-action:focus-visible {
  border-color: #c7d2fe;
  background: #eef2ff;
  outline: none;
  transform: translateY(-1px);
}

/* Öğrenci/personel kayıt formundaki salt-okunur geçici şifre açıklaması. */
.temporary-password-preview {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(12px, .8vw, 13px);
  line-height: 1.15;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.immutable-record-field {
  cursor: not-allowed;
  user-select: none;
}

.immutable-record-panel {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .8rem;
  padding: .8rem .9rem;
  border: 1px solid #bfdbfe;
  border-radius: .85rem;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.immutable-record-panel__icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: .7rem;
  background: #dbeafe;
  color: #2563eb;
  font-size: 1.1rem;
}

.immutable-record-panel__label {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.immutable-record-panel__value {
  display: block;
  margin-top: .12rem;
  color: #0f172a;
  font-size: .82rem;
  font-weight: 900;
}

.immutable-record-panel__help {
  margin-top: .12rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.35;
}

.immutable-record-panel__badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .3rem;
  padding: .35rem .5rem;
  border-radius: .55rem;
  background: #fff;
  color: #64748b;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 479px) {
  .immutable-record-panel {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .immutable-record-panel__badge {
    margin-left: 3.15rem;
  }
}

/* Mobile shell: prevent drawer layers and narrow viewports from fighting. */
@media (max-width: 1023px) {
  body.mobile-sidebar-open { overflow: hidden !important; overscroll-behavior: none; }

  .mobile-sidebar-drawer {
    top: 0 !important;
    left: 0 !important;
    height: 100dvh !important;
    z-index: 1050 !important;
    will-change: transform;
    overscroll-behavior: contain;
  }

  #sidebar-overlay { z-index: 1040 !important; }
  .mobile-topbar { z-index: 1001 !important; padding-right: max(.75rem, env(safe-area-inset-right)) !important; padding-left: max(.75rem, env(safe-area-inset-left)) !important; }
  #main-content { min-height: 100dvh !important; height: auto !important; }
  .app-content-shell { padding-bottom: calc(2rem + env(safe-area-inset-bottom)) !important; }
}

@media (max-width: 420px) {
  .mobile-topbar { gap: .35rem !important; padding-left: .5rem !important; padding-right: .5rem !important; }
  .mobile-topbar > div { gap: .35rem !important; }
  #mobile-app-name { display: none; }
  #mobile-institution-switch { max-width: 7.5rem !important; padding-left: .5rem !important; padding-right: .5rem !important; }
}

/* The health icon used a font glyph whose painted edge could exceed its line
   box on narrow Chromium layouts. Give it a dedicated, contained box. */
.health-hero-title { min-width: 0; }
.health-hero-title__icon {
  display: inline-flex !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 1.2em;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}
.health-hero-title__icon i {
  display: inline-block !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  .health-hero-title { align-items: flex-start !important; gap: .55rem !important; font-size: clamp(1.35rem, 6vw, 1.75rem) !important; }
  .health-hero-title__icon { margin-top: .08em; }
  .health-integrity-card { min-width: min(100%, 13.125rem) !important; }
}

@media (max-width: 479px) {
  .temporary-password-preview {
    font-size: 12px;
  }
}

@media (max-width: 479px) {
  .coaching-card-action {
    min-height: 2.9rem;
    font-size: 0.75rem;
  }
}

/* Ortak responsive güvenlik katmanı */
html,
body {
  width: 100%;
  max-width: 100%;
}

html { min-width: 320px; }

#main-content {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}


body,
#main-content,
.app-content-shell,
main > div {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

main :where(h1, h2, h3, h4, p, label, td, th, a, button, span) {
  overflow-wrap: anywhere;
}

.responsive-table-region {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.responsive-table-region:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: -2px;
}

.responsive-table-region > table,
.responsive-table-region table {
  max-width: none;
}

body :where([class*="fixed"][class*="inset-0"]) > :where(div, section, form) {
  max-width: calc(100% - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

body :where([class*="fixed"][class*="inset-0"]) :where(input, select, textarea) {
  max-width: 100%;
}

.page-banner-standard > .relative {
  min-width: 0;
}

.page-banner-standard img {
  width: auto;
  max-width: min(15rem, 35vw);
  object-fit: contain;
}

.user-management-hero {
  isolation: isolate;
  contain: paint;
}

.user-management-hero__tools {
  max-width: 100%;
}

.institution-logo-card {
  width: clamp(8.5rem, 15vw, 13.5rem);
  height: 5.25rem;
  max-width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 1rem;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 30px rgba(15,23,42,.12);
  backdrop-filter: blur(10px);
}

.institution-logo-card__frame,
.institution-logo-card__surface {
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: inherit;
}

.institution-logo-card__surface {
  padding: .55rem .75rem;
}

.institution-logo-card__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.institution-quick-actions,
.institution-settings-button {
  opacity: 1 !important;
  visibility: visible !important;
}

.institution-management-table th:last-child,
.institution-management-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -10px 0 18px -18px rgba(15,23,42,.75);
}

.institution-management-table tbody tr:hover td:last-child {
  background: #f5f9ff;
}

@media (min-width: 768px) {
  .page-banner-standard {
    min-height: auto;
    padding: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .page-banner-standard {
    min-height: 0;
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .page-banner-standard :where(h1, h2) {
    font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
    line-height: 1.16 !important;
  }

  .page-banner-standard > .relative,
  .page-banner-standard > .relative > :where(div, section) {
    max-width: 100%;
  }

  .page-banner-standard img {
    max-width: min(10rem, 46vw);
    max-height: 4.5rem !important;
  }

  .page-banner-standard :where([class*="mr-"], [class*="ml-"]) {
    margin-left: 0;
    margin-right: 0;
  }

  main :where(.sticky) {
    position: static;
  }

  main :where(input, select, textarea, button) {
    max-width: 100%;
  }

  main :where(.flex) > * {
    min-width: 0;
  }

  .responsive-table-region {
    border-radius: .75rem;
  }

  #kanban-board {
    height: calc(100dvh - 13rem) !important;
    min-height: 28rem !important;
    scroll-snap-type: x proximity;
  }

  #kanban-board > .kanban-column {
    min-width: min(82vw, 19rem) !important;
    max-width: min(82vw, 19rem) !important;
    scroll-snap-align: start;
  }

  .coaching-status-column {
    height: auto !important;
    max-height: none !important;
  }

  .user-management-hero__tools {
    width: 100%;
    justify-content: space-between;
  }

  .institution-logo-card {
    width: min(10rem, 58vw);
    height: 4.75rem;
  }
}

@media (max-width: 479px) {
  .app-content-shell {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  body :where([class*="fixed"][class*="inset-0"]) {
    padding: .5rem !important;
  }

  body :where([class*="fixed"][class*="inset-0"]) > :where(div, section, form) {
    max-width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 1rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  :where(button, [role="button"], a.sidebar-link) {
    min-height: 44px;
  }

  :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    min-height: 44px;
  }

  :where(button, [role="button"], a) {
    touch-action: manipulation;
  }
}

@media print {
  .page-banner-standard {
    min-height: 0;
    margin-bottom: .75rem !important;
  }
}

/* Ortak modül banner'ı ---------------------------------------------------- */
.module-hero {
  position: relative;
  min-height: 13.625rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #fff;
  box-shadow: 0 18px 42px rgba(15,23,42,.16);
  transition: background .35s ease;
}
.module-hero__glow { position:absolute; right:-5rem; top:-6rem; width:19rem; height:19rem; border-radius:999px; background:rgba(125,211,252,.12); filter:blur(34px); pointer-events:none; }
.module-hero__content { position:relative; z-index:1; display:flex; min-width:0; min-height:10.5rem; align-items:stretch; justify-content:space-between; gap:1.5rem; }
.module-hero__copy { display:flex; min-width:0; flex:1; flex-direction:column; justify-content:center; }
.module-hero__eyebrow { display:flex; align-items:center; gap:.45rem; color:#bae6fd; font-size:0.75rem; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.module-hero h1 { margin:.45rem 0 0; color:#fff; font-size:clamp(1.7rem,3vw,2.2rem); font-weight:950; line-height:1.1; letter-spacing:-.035em; }
.module-hero p { max-width:48rem; margin:.45rem 0 0; color:rgba(255,255,255,.78); font-size:.88rem; line-height:1.55; }
.module-hero__tabs { display:flex; max-width:100%; gap:.35rem; margin-top:1.25rem; padding:.3rem; overflow-x:auto; border:1px solid rgba(255,255,255,.12); border-radius:.8rem; background:rgba(2,6,23,.28); scrollbar-width:thin; }
.module-hero__tab { display:inline-flex; min-height:2.3rem; flex:0 0 auto; align-items:center; gap:.4rem; padding:.5rem .75rem; border-radius:.6rem; color:rgba(255,255,255,.7); font-size:0.75rem; font-weight:850; white-space:nowrap; }
.module-hero__tab:hover,.module-hero__tab.is-active { color:#fff; background:rgba(255,255,255,.17); box-shadow:inset 0 1px 0 rgba(255,255,255,.12); }
.module-hero__tools { display:flex; min-width:0; flex:0 0 auto; align-items:center; justify-content:flex-end; gap:.75rem; }
.module-hero__action,.module-hero__palette-button { display:inline-flex; min-height:2.75rem; align-items:center; justify-content:center; gap:.45rem; border:1px solid rgba(255,255,255,.22); border-radius:.8rem; background:rgba(255,255,255,.09); color:#fff; font-size:.76rem; font-weight:850; backdrop-filter:blur(10px); }
.module-hero__action { padding:.65rem .9rem; }
.module-hero__palette-button { width:2.75rem; font-size:1.15rem; }
.module-hero__palette-wrap { position:relative; }
.module-hero__palette { position:absolute; z-index:30; right:0; top:calc(100% + .55rem); display:grid; grid-template-columns:repeat(5,1.85rem); gap:.45rem; width:max-content; padding:.65rem; border:1px solid rgba(255,255,255,.65); border-radius:.85rem; background:rgba(255,255,255,.96); box-shadow:0 18px 45px rgba(15,23,42,.3); }
.module-hero__swatch { width:1.85rem; min-height:1.85rem !important; height:1.85rem; border:2px solid #fff; border-radius:.55rem; box-shadow:0 0 0 1px #cbd5e1; }
.module-hero__swatch.is-active { box-shadow:0 0 0 2px #4f46e5; }
.module-hero__logo { display:flex; width:clamp(8.5rem,13vw,13rem); height:5.4rem; align-items:center; justify-content:center; padding:.55rem .75rem; overflow:hidden; border-radius:1rem; background:rgba(255,255,255,.08); }
.module-hero__logo img { display:block; width:100%; height:100%; object-fit:contain; }

@media (max-width: 767px) {
  .module-hero { min-height:0; padding:1rem !important; border-radius:1rem; }
  .module-hero__content { min-height:0; flex-direction:column; gap:1rem; }
  .module-hero__tools { width:100%; justify-content:flex-start; flex-wrap:wrap; }
  .module-hero__logo { order:-1; width:8.5rem; height:4rem; margin-left:auto; }
  .module-hero__palette { position:fixed; right:.75rem; top:4.75rem; grid-template-columns:repeat(5,2.2rem); max-width:calc(100vw - 1.5rem); }
  .module-hero__swatch { width:2.2rem; height:2.2rem; }
  .module-hero__tabs { width:100%; margin-top:1rem; }
}
/* Compact report date range controls -------------------------------------- */
.report-date-range {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    padding: 0.5rem 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.report-date-range__title {
    align-self: center;
    margin-right: 0.15rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.report-date-field {
    display: block;
    width: 10.5rem;
    min-width: 0;
}

.report-date-field__label {
    display: block;
    margin: 0 0 0.25rem 0.1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    line-height: 1.2;
}

.report-date-field__control {
    position: relative;
    display: block;
}

.report-date-field__control > i {
    position: absolute;
    z-index: 1;
    left: 0.68rem;
    top: 50%;
    color: #4f46e5;
    font-size: 1rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.report-date-field__control input[type="date"] {
    width: 100%;
    height: 2.45rem;
    padding: 0.48rem 0.55rem 0.48rem 2rem;
    border: 1px solid #dbe3ef;
    border-radius: 0.7rem;
    outline: none;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    color-scheme: light;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.report-date-field__control input[type="date"]:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.report-date-field__control input[type="date"]::-webkit-calendar-picker-indicator {
    margin: 0;
    opacity: 0.62;
    cursor: pointer;
}

.report-date-range__separator {
    align-self: flex-end;
    height: 2.45rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 2.45rem;
}

.report-date-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid rgba(254, 202, 202, 0.3);
    border-radius: 0.7rem;
    background: rgba(254, 226, 226, 0.12);
    color: #fecaca;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.report-date-clear:hover,
.report-date-clear:focus-visible {
    background: #fff1f2;
    color: #e11d48;
    outline: none;
    transform: translateY(-1px);
}

.report-date-range--light {
    border-color: #dbe3ef;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.report-date-range--light .report-date-range__title {
    color: #475569;
}

.report-date-range--light .report-date-field__label {
    color: #64748b;
}

.report-date-range--light .report-date-range__separator {
    color: #94a3b8;
}

.report-date-range--light .report-date-clear {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #e11d48;
}

/* Selected-class report filters: keep an unselected date as readable as a
   selected one without changing date pickers elsewhere in the application. */
.report-class-filter .premium-date-trigger {
    border-color: #67e8f9;
    background: linear-gradient(180deg, #ffffff, #f8fdff);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.12), inset 0 1px 0 #ffffff;
}

.report-class-filter .premium-date-trigger.is-empty .premium-date-trigger__value {
    color: #0f3b62;
    font-weight: 900;
}

.report-class-filter .premium-date-trigger__caret {
    color: #64748b;
    opacity: 1;
}

.report-class-filter .premium-date-trigger:hover,
.report-class-filter .premium-date-trigger:focus-visible {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.16), 0 7px 18px rgba(8, 145, 178, 0.14);
}

@media (max-width: 767px) {
    .report-date-range {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        width: 100%;
    }

    .report-date-range__title {
        grid-column: 1 / -1;
    }

    .report-date-field {
        width: 100%;
    }

    .report-date-range__separator {
        display: none;
    }

    .report-date-clear {
        grid-column: 1 / -1;
        width: 100%;
        height: 2.3rem;
    }
}

@media (max-width: 420px) {
    .report-date-range {
        grid-template-columns: minmax(0, 1fr);
    }

    .report-date-field__control input[type="date"] {
        font-size: 0.72rem;
    }
}

/* Sidebar Sub-module Indicator Dots */
#sidebar .sidebar-dot,
.sidebar-dot {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    border-radius: 9999px !important;
    flex-shrink: 0 !important;
    margin-right: 3px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.dot-purple  { background-color: #c084fc !important; box-shadow: 0 0 7px #c084fc !important; }
.dot-blue    { background-color: #60a5fa !important; box-shadow: 0 0 7px #60a5fa !important; }
.dot-emerald { background-color: #34d399 !important; box-shadow: 0 0 7px #34d399 !important; }
.dot-sky     { background-color: #38bdf8 !important; box-shadow: 0 0 7px #38bdf8 !important; }
.dot-indigo  { background-color: #818cf8 !important; box-shadow: 0 0 7px #818cf8 !important; }
.dot-violet  { background-color: #a78bfa !important; box-shadow: 0 0 7px #a78bfa !important; }
.dot-orange  { background-color: #fb923c !important; box-shadow: 0 0 7px #fb923c !important; }
.dot-amber   { background-color: #fbbf24 !important; box-shadow: 0 0 7px #fbbf24 !important; }
.dot-yellow  { background-color: #facc15 !important; box-shadow: 0 0 7px #facc15 !important; }
.dot-fuchsia { background-color: #e879f9 !important; box-shadow: 0 0 7px #e879f9 !important; }
.dot-pink    { background-color: #f472b6 !important; box-shadow: 0 0 7px #f472b6 !important; }
.dot-teal    { background-color: #2dd4bf !important; box-shadow: 0 0 7px #2dd4bf !important; }
.dot-cyan    { background-color: #22d3ee !important; box-shadow: 0 0 7px #22d3ee !important; }

/* Coaching Target Presets & Form Rows */
.coaching-preset-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 0.75rem !important;
}
@media (max-width: 639px) {
    .coaching-preset-grid {
        grid-template-columns: 1fr !important;
    }
}
.coaching-form-row-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
}
@media (min-width: 768px) {
    .coaching-form-row-3 {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}
.coaching-form-row-program {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
}
@media (min-width: 768px) {
    .coaching-form-row-program {
        grid-template-columns: 1fr 1.2fr 1.8fr !important;
    }
}
.coaching-form-row-5 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    align-items: flex-end !important;
}
@media (min-width: 640px) and (max-width: 1023px) {
    .coaching-form-row-5 {
        grid-template-columns: 1.5fr 1fr 1fr !important;
    }
}
@media (min-width: 1024px) {
    .coaching-form-row-5 {
        grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr !important;
    }
}

/* ==========================================================================
   EVRENSEL TİPOGRAFİ & EKRAN HİYERARŞİ MOTORU (KAMPÜS PANEL)
   ========================================================================== */
:root {
  --kp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --kp-base-font-size: 14px;
  --kp-h1-size: clamp(1.25rem, 1.8vw, 1.625rem);
  --kp-h2-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  --kp-h3-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  --kp-body-size: clamp(0.875rem, 0.95vw, 0.9375rem);
  --kp-caption-size: clamp(0.75rem, 0.8vw, 0.8125rem);
  --kp-line-height: 1.5;
}

html, body, input, select, textarea, button {
  font-family: var(--kp-font, 'Plus Jakarta Sans', sans-serif) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

/* Sayfa Üst Başlıkları */
.kp-page-title,
.page-banner-standard h1,
.page-banner-standard h2 {
  font-size: var(--kp-h1-size) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  min-width: 0;
}

/* Sayfa Alt Açıklamaları */
.kp-page-sub,
.page-banner-standard p {
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem) !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  opacity: 0.95;
}

/* Kart / Bölüm Başlıkları */
.kp-card-title {
  font-size: var(--kp-h2-size) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  letter-spacing: -0.01em !important;
  min-width: 0;
}

.kp-card-sub {
  font-size: var(--kp-caption-size) !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}

/* Gövde Metinleri & Paragraflar */
.kp-body {
  font-size: var(--kp-body-size) !important;
  font-weight: 450 !important;
  color: #334155 !important;
  line-height: var(--kp-line-height) !important;
}

/* Alt Açıklama, Dipnot ve İpuçları (Asla 12px Altına Düşmez) */
.kp-caption {
  font-size: var(--kp-caption-size) !important;
  font-weight: 500 !important;
  color: #64748b !important;
  line-height: 1.35 !important;
}

/* Tablo Başlıkları (TH) */
.kp-table-th {
  font-size: clamp(0.75rem, 0.78vw, 0.8125rem) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.035em !important;
  color: #475569 !important;
  white-space: nowrap !important;
}

/* Form Alan Etiketleri (Label) */
.kp-label {
  font-size: clamp(0.75rem, 0.82vw, 0.8125rem) !important;
  font-weight: 600 !important;
  color: #334155 !important;
  letter-spacing: -0.01em !important;
}

/* Rozet ve Durum Hapları */
.kp-badge {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

/* Windows %125/150 Ölçek ve Ekran Koruyucu Netlik Kuralları */
@media screen and (-webkit-min-device-pixel-ratio: 1.25) {
  body {
    letter-spacing: -0.01em;
  }
}

/* ==============================================================================
   Maliye ve Muhasebe Modülü - Garantili Responsive Bölünmüş Yerleşim Kuralları
   (Purged CSS / Grid Çakışmalarına Karşı %100 Dayanıklı Esnek Yerleşim)
   ============================================================================== */
.fin-split-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  align-items: flex-start;
}

.fin-split-layout[style*="display: none"],
.fin-split-layout[hidden],
[x-cloak] {
  display: none !important;
}

@media (min-width: 1200px) {
  .fin-split-layout {
    flex-direction: row;
  }
}

.fin-main-col {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.fin-side-col {
  width: 100% !important;
  flex-shrink: 0 !important;
}

@media (min-width: 1200px) {
  .fin-side-col {
    width: 380px !important;
    max-width: 380px !important;
  }
}

/* ==============================================================================
   Evrensel Responsive Koruma ve Çift Scrollbar Önleme (Audit Standartları)
   ============================================================================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.responsive-table-region,
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}



/* Öğrenci ve personel fotoğraf kartı; kimlik tarama modülünden bağımsızdır. */
.kp-student-photo-frame{width:136px;aspect-ratio:3/4;min-height:181px;border-radius:14px;box-shadow:0 5px 18px #011e4110;background:linear-gradient(145deg,#f8fafc,#e2e8f0)}
.kp-student-photo-frame:hover{border-color:#011e41}
#photo-upload-container{padding:8px;border-radius:18px;border:1px solid #e2e8f0;background:#fff}
