/* Geyik Akademi â Mobile-first design system (premium sapphire) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #e8eef7;
  --bg-elevated: #f5f8fc;
  --bg-soft: #d9e4f2;
  --ink: #0a1628;
  --ink-soft: #243b55;
  --ink-muted: #5a7189;
  --line: rgba(10, 22, 40, 0.08);
  --line-strong: rgba(10, 22, 40, 0.15);
  --navy: #0a1628;
  --navy-soft: #122a4a;
  --navy-mid: #1a3d6e;
  --brand: #5b8fd4;
  --brand-dark: #3d6fad;
  --brand-soft: #e4eef9;
  --accent: #5b8fd4;
  --accent-soft: #e4eef9;
  --card-bg: linear-gradient(165deg, #f8fafd 0%, #eef3fa 100%);
  --card-bg-solid: #f5f8fc;
  --card-border: rgba(91, 143, 212, 0.22);
  --success: #0d9488;
  --success-soft: #ccfbf1;
  --warning: #c9852d;
  --warning-soft: #fff4e5;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --info: #3b82f6;
  --info-soft: #dbeafe;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 8px 28px rgba(10, 22, 40, 0.07);
  --shadow-lg: 0 18px 48px rgba(10, 22, 40, 0.12);
  --nav-h: 72px;
  --bottom-nav-h: 68px;
  --font: 'Sora', system-ui, sans-serif;
  --display: 'Outfit', 'Sora', system-ui, sans-serif;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sidebar-w: 240px;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 42% at 6% -10%, rgba(91,143,212,.22), transparent 52%),
    radial-gradient(ellipse 55% 35% at 100% 0%, rgba(10,22,40,.10), transparent 48%),
    var(--bg);
  min-height: 100dvh;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(100% - 1.5rem, var(--container)); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.85rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 2.15rem); }
h3 { font-size: 1.15rem; }
.lead { color: var(--ink-soft); font-size: 0.98rem; max-width: 36rem; }
.muted { color: var(--ink-muted); font-size: 0.9rem; }
.tiny { font-size: 0.78rem; color: var(--ink-muted); }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .5rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.15rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(91,143,212,.32);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-soft { background: var(--brand-soft); color: var(--brand-dark); }
.btn-soft:hover { background: #d4e4f6; }
.btn-danger-soft {
  background: var(--danger-soft);
  color: #b91c1c;
  border-color: transparent;
}
.btn-danger-soft:hover {
  background: #fecaca;
  color: #991b1b;
}
.btn-outline-brand {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(61, 111, 173, .45);
  font-weight: 700;
}
.btn-outline-brand:hover {
  background: var(--brand-soft);
  border-color: var(--brand-dark);
}
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.btn-block { width: 100%; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-soft); }
.form-control, .form-select, textarea.form-control {
  width: 100%; padding: .7rem .9rem; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus, textarea.form-control:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,143,212,.18);
}
.form-row { display: grid; gap: .85rem; }
@media (min-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,246,249,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
  height: auto;
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: border-box;
}
html[data-geyik-app="1"] .site-header {
  padding-top: calc(var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px))) + 0px);
}
.site-nav {
  min-height: var(--nav-h);
  height: auto;
  padding: .45rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  line-height: 0;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(100%, 260px);
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.brand-logo-footer {
  height: 88px;
  max-width: min(100%, 380px);
}
.brand-logo-auth {
  height: clamp(4.25rem, 16vw, 6rem);
  max-width: min(100%, 420px);
  margin-inline: auto;
  object-position: center;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .35rem;
  min-width: 0;
  flex: 1 1 auto;
}
.site-header .nav-actions .btn {
  color: var(--ink);
  font-weight: 700;
}
.site-header .nav-actions .btn-ghost {
  background: #fff;
  border-color: rgba(10, 22, 40, .14);
  color: var(--ink);
}
.site-header .nav-actions .btn-soft {
  color: var(--brand-dark);
}
@media (max-width: 720px) {
  .site-nav {
    gap: .45rem;
  }
  .brand-logo {
    height: 42px;
    max-width: 200px;
  }
  .site-header .nav-actions .btn-sm {
    padding: .32rem .6rem;
    font-size: .74rem;
  }
}

.section { padding: 3.5rem 0; }
.section-alt { background: rgba(10,22,40,.03); }

/* Landing hero (base â overridden/extended in Aidatla layer below) */
.lp-tagline {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .85rem;
}
.lp-headline { margin-bottom: .85rem; }
.lp-lead { margin-bottom: .25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.feature-item {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
  margin-bottom: .75rem;
}
.feature-item h3 { margin-bottom: .35rem; }

.package-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-items: stretch;
}
.package-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .package-grid-3 { grid-template-columns: 1fr; }
}
/* Landing: paketler her zaman tek satÄ±rda yan yana */
.package-grid-landing {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .85rem;
}
.package-grid-landing .package-card {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 720px) {
  .package-grid-landing {
    overflow-x: auto;
    gap: .75rem;
    padding-bottom: .4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .package-grid-landing .package-card {
    flex: 0 0 min(272px, 82vw);
    min-height: 0;
    scroll-snap-align: start;
  }
}
.package-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 100%;
}
.package-card.is-popular {
  border-color: var(--brand);
  box-shadow: 0 12px 36px rgba(91,143,212,.18);
  background:
    linear-gradient(180deg, rgba(91,143,212,.08), transparent 42%),
    var(--bg-elevated);
}
.package-badge {
  position: absolute; top: .85rem; right: .85rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  background: var(--brand); color: #fff; padding: .25rem .55rem; border-radius: 999px;
}
.package-card-head {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-height: 8.5rem;
  padding-right: 3.2rem;
}
.package-card-head h3 {
  margin: 0;
  font-size: 1.2rem;
}
.package-card-desc {
  margin: 0;
  font-size: .84rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35rem;
}
.package-price { margin: 0; font-size: 1.55rem; font-weight: 800; color: var(--navy); }
.package-price span { font-size: .85rem; font-weight: 500; color: var(--ink-muted); }
.package-trial {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  color: var(--brand-dark); background: var(--brand-soft);
  padding: .22rem .55rem; border-radius: 999px; width: fit-content;
}
.package-compare {
  list-style: none;
  margin: 0;
  padding: .15rem 0 .25rem;
  display: grid;
  gap: 0;
  flex: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.package-compare-row {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: .55rem;
  min-height: 2.15rem;
  padding: .28rem 0;
  border-bottom: 1px dashed rgba(10, 22, 40, .08);
  font-size: .82rem;
  line-height: 1.25;
}
.package-compare-row:last-child { border-bottom: 0; }
.package-compare-ico {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.package-compare-row.is-on .package-compare-ico {
  color: #1f7a4d;
  background: rgba(31, 122, 77, .12);
}
.package-compare-row.is-off .package-compare-ico {
  color: #9aa3b2;
  background: rgba(154, 163, 178, .14);
}
.package-compare-label {
  color: var(--navy);
  font-weight: 600;
}
.package-compare-val {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: right;
  white-space: nowrap;
}
.package-compare-row.is-on .package-compare-val { color: #1f7a4d; }
.package-compare-row.is-off .package-compare-val { color: #9aa3b2; }
.package-compare-row.is-limit .package-compare-val {
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: .15rem .45rem;
  border-radius: 999px;
}
.package-card-cta { margin-top: auto; }
.package-feat-list {
  list-style: none;
  margin: .35rem 0 .85rem;
  padding: 0;
  display: grid;
  gap: .28rem;
}
.package-feat-list li {
  position: relative;
  padding-left: .95rem;
  font-size: .82rem;
  color: var(--ink-muted);
  line-height: 1.35;
}
.package-feat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .4rem;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--brand);
}
.package-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }

/* ââ Abonelik sayfasÄ± ââ */
.sub-page {
  display: grid;
  gap: 1.15rem;
}
.sub-hero {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 1.1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background:
    linear-gradient(135deg, rgba(91,143,212,.12), transparent 55%),
    var(--bg-elevated);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .sub-hero { grid-template-columns: 1fr; }
}
.sub-hero-warn {
  border-color: #e2b56a;
  background:
    linear-gradient(135deg, rgba(226,181,106,.18), transparent 55%),
    var(--bg-elevated);
}
.sub-hero-soon {
  border-color: rgba(91,143,212,.55);
}
.sub-hero-ok {
  border-color: rgba(31,122,77,.35);
}
.sub-hero-eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.sub-hero-title {
  margin: 0 0 .45rem;
  font-size: 1.45rem;
  color: var(--navy);
}
.sub-hero-desc {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: .9rem;
  line-height: 1.45;
  max-width: 46rem;
}
.sub-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.sub-hero-chip {
  display: grid;
  gap: .15rem;
  min-width: 7.5rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
}
.sub-hero-chip-k {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.sub-hero-chip strong {
  font-size: .95rem;
  color: var(--navy);
}
.sub-hero-alert {
  margin: .95rem 0 0;
  padding: .65rem .8rem;
  border-radius: 12px;
  background: rgba(226,181,106,.2);
  border: 1px solid rgba(226,181,106,.45);
  color: #7a5318;
  font-size: .86rem;
  font-weight: 600;
}
.sub-hero-alert.is-soon {
  background: var(--brand-soft);
  border-color: rgba(91,143,212,.4);
  color: var(--brand-dark);
}
.sub-hero-side {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(10,22,40,.03);
  border: 1px dashed var(--line);
  align-self: stretch;
}
.sub-hero-side-title {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.sub-pay-flags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.sub-pay-flags li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: .45rem .55rem;
  align-items: start;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
}
.sub-pay-flags li small {
  grid-column: 2;
  font-weight: 500;
  color: var(--ink-muted);
  font-size: .75rem;
}
.sub-pay-ico {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
}
.sub-pay-flags li.is-on .sub-pay-ico {
  color: #1f7a4d;
  background: rgba(31,122,77,.12);
}
.sub-pay-flags li.is-off {
  color: #8a93a3;
}
.sub-pay-flags li.is-off .sub-pay-ico {
  color: #9aa3b2;
  background: rgba(154,163,178,.14);
}

.sub-bank-k {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .2rem;
}
.sub-bank-hint {
  padding: .85rem 1rem;
}
.sub-bank-hint-text {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .88rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
.sub-bank-hint-text svg { flex-shrink: 0; margin-top: .1rem; color: #1f7a4d; }

.sub-buy-sheet .modal-body { gap: .85rem; }
.subwiz-progress {
  display: flex;
  gap: .4rem;
  margin-bottom: .35rem;
}
.subwiz-progress span {
  flex: 1;
  height: .28rem;
  border-radius: 999px;
  background: rgba(10,22,40,.08);
}
.subwiz-progress span.is-on {
  background: var(--brand);
}
.subwiz-progress span.is-done {
  background: rgba(31,122,77,.55);
}
.subwiz-lead {
  margin: 0 0 .85rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.subwiz-method-grid {
  display: grid;
  gap: .65rem;
}
.subwiz-method {
  text-align: left;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  display: grid;
  gap: .25rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.subwiz-method:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 22px rgba(91,143,212,.12);
}
.subwiz-method strong {
  color: var(--navy);
  font-size: .98rem;
}
.subwiz-method span {
  color: var(--ink-muted);
  font-size: .82rem;
  line-height: 1.35;
}
.subwiz-summary {
  margin: 0 0 .75rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(91,143,212,.22);
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
}
.subwiz-bank {
  display: grid;
  gap: .45rem;
}
.subwiz-bank-row {
  display: flex;
  justify-content: space-between;
  gap: .65rem;
  align-items: center;
  padding: .65rem .75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
}
.subwiz-bank-row.is-desc,
.subwiz-bank-row.is-amount {
  border-color: rgba(91,143,212,.35);
  background: rgba(91,143,212,.06);
}
.subwiz-iban,
.subwiz-desc {
  word-break: break-all;
  letter-spacing: .02em;
}
.subwiz-info {
  margin: .85rem 0 0;
  padding: .7rem .8rem;
  border-radius: 12px;
  background: rgba(226,181,106,.16);
  border: 1px solid rgba(226,181,106,.4);
  color: #7a5318;
  font-size: .84rem;
  line-height: 1.4;
}
.subwiz-receipt-form .form-group { margin-bottom: .75rem; }
.subwiz-done {
  text-align: center;
  padding: .75rem .5rem 1rem;
}
.subwiz-done-ico {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto .75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31,122,77,.12);
  color: #1f7a4d;
}
.subwiz-done h4 {
  margin: 0 0 .45rem;
  color: var(--navy);
}
.subwiz-done p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.subwiz-error {
  margin: .5rem 0 0;
  padding: .65rem .75rem;
  border-radius: 12px;
  background: rgba(180,50,50,.08);
  border: 1px solid rgba(180,50,50,.25);
  color: #8a2a2a;
  font-size: .86rem;
  font-weight: 600;
}

.sub-steps {
  display: grid;
  gap: .75rem;
}
.sub-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
@media (max-width: 800px) {
  .sub-steps-grid { grid-template-columns: 1fr; }
}
.sub-step {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}
.sub-step-num {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
  margin-bottom: .55rem;
}
.sub-step h5 {
  margin: 0 0 .35rem;
  font-size: .98rem;
  color: var(--navy);
}
.sub-step p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.sub-faq {
  padding: 1.1rem 1.2rem;
}
.sub-faq-list {
  display: grid;
  gap: .45rem;
  margin-top: .15rem;
}
.sub-faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  padding: .15rem .85rem .55rem;
}
.sub-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
  font-size: .92rem;
  padding: .55rem 0 .35rem;
}
.sub-faq-item summary::-webkit-details-marker { display: none; }
.sub-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--ink-muted);
  font-weight: 700;
}
.sub-faq-item[open] summary::after { content: 'â'; }
.sub-faq-item p {
  margin: 0 0 .35rem;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.sub-packages,
.sub-payments {
  display: grid;
  gap: .85rem;
}
.sub-packages-head h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.sub-package-grid {
  align-items: stretch;
}
.sub-package-card {
  position: relative;
}
.sub-package-card.is-current {
  border-color: #1f7a4d;
  box-shadow: 0 10px 28px rgba(31,122,77,.12);
}
.sub-package-current {
  position: absolute;
  top: .85rem;
  left: .85rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  background: rgba(31,122,77,.12);
  color: #1f7a4d;
  padding: .2rem .5rem;
  border-radius: 999px;
}
.sub-package-card.is-popular .package-card-head,
.sub-package-card.is-current .package-card-head {
  padding-top: .35rem;
}
.sub-package-card.is-current.is-popular .package-card-head {
  padding-right: 3.2rem;
}
.sub-package-pay {
  display: grid;
  gap: .65rem;
  margin-top: auto;
  padding-top: .35rem;
}
.sub-package-actions {
  display: grid;
  gap: .4rem;
  margin: 0;
}
.sub-package-actions .btn-block { width: 100%; }

.sub-payment-list {
  display: grid;
  gap: .75rem;
}
.sub-payment-card {
  padding: 1rem 1.1rem;
}
.sub-payment-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .35rem;
}
.sub-receipt-form { margin-top: .55rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  background: #eef1f6;
}
.site-footer-copy {
  padding-bottom: 1.5rem;
  opacity: .7;
}
.site-footer-credit {
  color: inherit;
  text-decoration: none;
  cursor: default;
}
.site-footer-credit:hover,
.site-footer-credit:focus-visible {
  color: inherit;
  text-decoration: none;
  opacity: .9;
}
.footer-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a:hover { color: var(--brand-dark); }

/* Auth */
.auth-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  align-items: center;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(91,143,212,.16), transparent 50%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(10,22,40,.1), transparent 45%),
    var(--bg);
}
.auth-card {
  width: min(100%, 440px);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.35rem 1.85rem;
  box-sizing: border-box;
  overflow: visible;
  min-width: 0;
}
.auth-card-wide { width: min(100%, 560px); }
.auth-card-packages { width: min(100%, 1040px); }
.auth-brand { display: block; margin-bottom: 1rem; text-align: center; pointer-events: none; }
.auth-home-link {
  text-align: center;
  margin: 0 0 .85rem;
  font-size: .88rem;
  font-weight: 600;
}
.auth-home-link-foot {
  margin: 1.15rem 0 0;
}
.auth-home-link a {
  color: var(--ink-muted);
  text-decoration: none;
}
.auth-home-link a:hover {
  color: var(--navy);
  text-decoration: underline;
}
html[data-geyik-app="1"] .auth-home-link {
  display: none !important;
}
.auth-card h1 { font-size: 1.65rem; text-align: center; margin-bottom: .25rem; }
.auth-card > .muted {
  text-align: center;
  margin: 0 0 1rem;
}
.auth-lockout {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, #b42318 10%, var(--bg-soft));
  border: 1px solid color-mix(in srgb, #b42318 28%, var(--line));
  color: #8a1c14;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}
.auth-captcha label {
  font-variant-numeric: tabular-nums;
}
.auth-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .15rem;
  margin-bottom: 1.15rem;
  padding: .2rem;
  background: var(--bg-soft);
  border-radius: 999px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.auth-tab {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .48rem .1rem;
  border-radius: 999px;
  font-size: clamp(.58rem, 2.6vw, .72rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink-muted);
  white-space: nowrap;
  line-height: 1.1;
  min-width: 0;
  text-decoration: none;
}
.auth-tab.is-active { background: var(--navy); color: #fff; }
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}
.auth-form .form-group {
  margin-bottom: .85rem;
  min-width: 0;
  width: 100%;
}
.auth-form .form-control,
.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.auth-form .form-row,
.auth-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  min-width: 0;
  width: 100%;
  margin-bottom: 0;
}
.auth-form .form-row > .form-group,
.auth-form .form-row-2 > .form-group {
  margin-bottom: .85rem;
  min-width: 0;
}
@media (max-width: 420px) {
  .auth-wrap { padding: 1rem .75rem; justify-content: flex-start; }
  .auth-card { padding: 1.35rem .85rem 1.45rem; }
  .auth-tabs { gap: .1rem; padding: .16rem; }
  .auth-tab { font-size: .58rem; padding: .4rem .04rem; }
  .auth-form .form-row,
  .auth-form .form-row-2 { grid-template-columns: 1fr; gap: 0; }
}
.register-packages-block { margin-top: .35rem; }
.register-packages-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
.register-packages-hint { margin: 0 0 .85rem; }
.register-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .85rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .register-packages { grid-template-columns: 1fr; }
  .auth-card-packages { width: min(100%, 560px); }
}
.register-package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.1rem 1rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 100%;
}
.register-package > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.register-package.is-popular {
  background:
    linear-gradient(180deg, rgba(91,143,212,.08), transparent 40%),
    var(--bg-elevated);
}
.register-package:hover {
  border-color: var(--brand);
}
.register-package:has(input:checked),
.register-package.is-selected {
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(91,143,212,.16);
  background:
    linear-gradient(180deg, rgba(91,143,212,.12), transparent 38%),
    var(--bg-elevated);
}
.register-package-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--brand);
  color: #fff;
  padding: .22rem .5rem;
  border-radius: 999px;
}
.register-package-head {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-right: 3rem;
  min-height: 7.6rem;
}
.register-package-name {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.register-package-price {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}
.register-package-price span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.register-package-trial {
  display: inline-block;
  width: fit-content;
  font-size: .75rem;
  font-weight: 700;
  font-style: normal;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: .2rem .5rem;
  border-radius: 999px;
}
.register-package-desc {
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.25rem;
}
.register-package-compare {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex: 1;
  margin: 0;
  padding: .1rem 0;
}
.register-package-compare .package-compare-row {
  min-height: 1.85rem;
  padding: .18rem 0;
  font-size: .76rem;
  gap: .4rem;
}
.register-package-compare .package-compare-ico {
  width: 1.15rem;
  height: 1.15rem;
}
.register-package-pick {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.register-package-pick-dot {
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: #fff;
  box-sizing: border-box;
}
.register-package:has(input:checked) .register-package-pick,
.register-package.is-selected .register-package-pick {
  color: var(--brand-dark);
}
.register-package:has(input:checked) .register-package-pick-dot,
.register-package.is-selected .register-package-pick-dot {
  border-color: var(--brand);
  background: radial-gradient(circle at center, var(--brand) 0 45%, #fff 48%);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1rem 0 1.1rem;
  color: var(--ink-muted);
  font-size: .78rem;
  font-weight: 600;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  background: #fff;
  color: #1f2937;
  border: 1.5px solid rgba(15, 41, 34, 0.14);
  box-shadow: 0 1px 2px rgba(15, 41, 34, 0.06);
  font-weight: 700;
}
.btn-google:hover {
  background: #f8fafc;
  border-color: rgba(15, 41, 34, 0.22);
  color: #111827;
}
.btn-google-ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.auth-google-note {
  margin: .55rem 0 0;
  text-align: center;
}

/* Panel shell */
.panel-body {
  display: flex;
  min-height: 100dvh;
  background: var(--bg);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}
.panel-sidebar {
  display: none;
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--navy);
  color: #d9e4f2;
  flex-direction: column;
  padding: 1rem .85rem;
  position: sticky; top: 0; height: 100dvh;
  align-self: flex-start;
}
.panel-brand {
  display: flex; align-items: center; gap: .65rem;
  padding: .35rem .5rem 1rem;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  color: #fff;
}
.panel-brand-icon {
  width: auto;
  height: 40px;
  max-width: 48px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}
.panel-nav { display: flex; flex-direction: column; gap: .25rem; flex: 1; min-height: 0; overflow: auto; scrollbar-width: none; }
.panel-nav::-webkit-scrollbar { display: none; }
.panel-nav-link {
  display: flex; align-items: center; gap: .65rem;
  padding: .7rem .75rem; border-radius: 12px;
  color: rgba(255,255,255,.72); font-weight: 600; font-size: .9rem;
}
.panel-nav-link:hover, .panel-nav-link.is-active {
  background: rgba(91,143,212,.18); color: #fff;
}
.panel-nav-link.is-active { box-shadow: inset 3px 0 0 var(--brand); }
.panel-sidebar-foot { border-top: 1px solid rgba(255,255,255,.1); padding-top: .75rem; margin-top: .5rem; flex-shrink: 0; }
.panel-user-chip { padding: .35rem .75rem .75rem; }
.panel-user-chip strong { display: block; color: #fff; font-size: .9rem; }

.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.panel-topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 1.15rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
  flex-shrink: 0;
}
.panel-topbar-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.panel-top-logo { height: 32px; width: auto; }
.panel-content { padding: 1.15rem; flex: 1; }

.app-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10,22,40,.06);
}
.app-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; font-size: .68rem; font-weight: 600; color: var(--ink-muted);
  list-style: none;
}
.app-tab.is-active, .app-tab-more.is-active > .app-tab { color: var(--brand-dark); }
.app-tab-more { position: relative; flex: 1; }
.app-tab-more summary { list-style: none; height: 100%; }
.app-tab-more summary::-webkit-details-marker { display: none; }
.app-tab-more-menu {
  position: absolute; bottom: calc(100% + .4rem); right: .5rem;
  min-width: 180px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: .4rem;
  display: flex; flex-direction: column;
}
.app-tab-more-menu a {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem .7rem; border-radius: 10px; font-size: .85rem; font-weight: 600;
}
.app-tab-more-menu a.is-active, .app-tab-more-menu a:hover { background: var(--brand-soft); color: var(--brand-dark); }

@media (min-width: 960px) {
  .panel-body {
    padding-bottom: 0;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }
  .panel-sidebar {
    display: flex;
    position: relative;
    top: auto;
    height: 100%;
    align-self: stretch;
  }
  .app-tabbar { display: none; }
  .panel-main {
    overflow: hidden;
  }
  .panel-topbar {
    position: relative;
    top: auto;
  }
  .panel-content {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }

  /* Uygulama (tablet dahil): masaÃ¼stÃ¼ sidebar deÄil, mobil alt nav */
  html[data-geyik-app="1"] .panel-body {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: calc(var(--bottom-nav-h) + .75rem + var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))));
  }
  html[data-geyik-app="1"] .panel-sidebar {
    display: none !important;
  }
  html[data-geyik-app="1"] .app-tabbar {
    display: flex !important;
  }
  html[data-geyik-app="1"] .panel-main {
    overflow: visible;
  }
  html[data-geyik-app="1"] .panel-content {
    overflow: visible;
    padding: 1.15rem;
  }
  html[data-geyik-app="1"] .app-header-brand {
    display: inline-flex !important;
  }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
}
.card-head { margin-bottom: 1rem; }
.stat-grid {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.1rem;
}
@media (min-width: 720px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.mb-2 { margin-bottom: 1rem; }
a.stat-card { text-decoration: none; color: inherit; }
.stat-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow);
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}
a.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg, var(--shadow));
  color: inherit;
  filter: brightness(.98);
}
.stat-card .tiny { display: block; margin-bottom: .25rem; }
.stat-card strong,
.stat-card .stat-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}
.stat-card strong.stat-sm { font-size: .95rem; font-weight: 700; }
.stat-card .stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .35rem;
}
.stat-card .stat-ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: .55rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  position: relative; z-index: 1;
}
.stat-card .stat-ico svg { width: 18px; height: 18px; display: block; }

/* Aidatla tone stat cards */
.stat-card[class*="tone-"] { border-color: transparent; }
.stat-card[class*="tone-"] .stat-label { color: rgba(255,255,255,0.82); }
.stat-card[class*="tone-"] .stat-value {
  color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.stat-card[class*="tone-"] .stat-ico {
  background: rgba(255,255,255,0.22); color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.stat-card.tone-orange {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.42), transparent 28%),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #c2410c 0%, #ea580c 48%, #fb923c 100%);
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.28);
}
.stat-card.tone-blue {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.4), transparent 28%),
    repeating-linear-gradient(28deg, rgba(255,255,255,0.1) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #1e4d8c 0%, #3d6fad 50%, #5b8fd4 100%);
  box-shadow: 0 14px 32px rgba(61, 111, 173, 0.28);
}
.stat-card.tone-mint {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.42), transparent 28%),
    repeating-linear-gradient(-42deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #177a52 0%, #1f8a5f 48%, #3cb884 100%);
  box-shadow: 0 14px 32px rgba(31, 138, 95, 0.28);
}
.stat-card.tone-gold {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.42), transparent 28%),
    repeating-linear-gradient(-28deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 9px),
    linear-gradient(145deg, #a16207 0%, #ca8a04 48%, #eab308 100%);
  box-shadow: 0 14px 32px rgba(202, 138, 4, 0.28);
}
.stat-card.tone-red {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.4), transparent 28%),
    repeating-linear-gradient(32deg, rgba(255,255,255,0.1) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #b91c1c 0%, #dc2626 48%, #f87171 100%);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.28);
}
.stat-card.tone-slate {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.35), transparent 28%),
    repeating-linear-gradient(-30deg, rgba(255,255,255,0.1) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #1e293b 0%, #334155 50%, #64748b 100%);
  box-shadow: 0 14px 32px rgba(51, 65, 85, 0.28);
}
.stat-card.tone-purple {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.4), transparent 28%),
    repeating-linear-gradient(35deg, rgba(255,255,255,0.1) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #5b21b6 0%, #7c3aed 48%, #a78bfa 100%);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.28);
}
.stat-card .stat-subvalue {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: .92;
}
.stat-card[class*="tone-"] .stat-subvalue {
  color: rgba(255,255,255,.92);
}

.hub-grid {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
/* YÃ¶netim / ayarlar hub â Aidatla satÄ±r kart (tek stil) */
.hub-grid-mgmt {
  grid-template-columns: 1fr;
  margin-bottom: .35rem;
}
@media (min-width: 720px) {
  .hub-grid-mgmt { grid-template-columns: repeat(2, 1fr); }
}
.hub-card {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
  transition: transform .2s var(--ease), border-color .2s;
  text-decoration: none;
}
.hub-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.hub-card.is-soon { opacity: .55; pointer-events: none; }
.hub-card strong { font-size: 1rem; }
button.hub-card {
  appearance: none; -webkit-appearance: none;
  font: inherit; text-align: left; cursor: pointer; width: 100%;
}
.hub-card-row {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  align-items: center;
  flex-direction: unset;
  padding: 1rem 1.05rem;
  border-radius: 18px;
}
.hub-card-row .hub-card-ico {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
  flex-shrink: 0;
}
.hub-card-body {
  display: flex; flex-direction: column; gap: .2rem; min-width: 0;
}
.hub-card-body strong {
  font-size: .98rem; color: var(--navy);
}
.hub-card-body span {
  font-size: .8rem; color: var(--ink-muted); line-height: 1.35;
}
.hub-card-body em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: .15rem;
}
.hub-card-arrow {
  color: var(--ink-muted);
  font-size: 1.05rem;
  font-weight: 700;
}
.hub-card-row:hover .hub-card-arrow { color: var(--brand-dark); }

/* Ayarlar â temiz form kartlarÄ± (ekran gÃ¶rÃ¼ntÃ¼sÃ¼) */
.settings-card {
  margin-bottom: 1rem;
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
}
.settings-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.settings-card .form-section {
  background: #f3f5f8;
  border-color: transparent;
}
.settings-card .form-grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .settings-card .form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.settings-main .hub-grid-mgmt .hub-card-row {
  background: #fff;
}
a.hub-card.hub-card-row {
  text-decoration: none;
  color: inherit;
}
.settings-page-panel {
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.35rem;
}
.settings-page-panel .form-section {
  background: #f3f5f8;
  border-color: transparent;
  margin-bottom: 1rem;
}
.settings-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* HatÄ±rlatÄ±cÄ± otomasyon */
.reminder-auto { display: flex; flex-direction: column; gap: 1rem; }
.reminder-hero {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(15, 23, 42, .03)),
    #f7f9fb;
  border: 1px solid var(--line);
}
.reminder-hero h3 { font-size: 1.15rem; color: var(--navy); }
.reminder-hero-stats { display: flex; gap: .65rem; flex-wrap: wrap; }
.reminder-stat {
  min-width: 6.5rem; padding: .65rem .8rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .15rem;
}
.reminder-stat strong { font-size: .92rem; color: var(--navy); }
.reminder-stat span { font-size: .72rem; color: var(--ink-muted); }
.reminder-master {
  display: grid; gap: .75rem;
  padding: .95rem 1rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
}
.reminder-master-row { align-items: flex-start; }
.reminder-master-row .ui-toggle-label {
  display: flex; flex-direction: column; gap: .15rem;
}
.reminder-master-row .ui-toggle-label strong { font-size: .92rem; }
.reminder-footer-lock {
  padding: .9rem 1rem; border-radius: 14px;
  background: #fff8eb; border: 1px dashed #e2b35a;
}
.reminder-footer-lock-head {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem;
}
.reminder-footer-pre,
.reminder-preview pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem; line-height: 1.45;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .65rem .75rem;
}
.reminder-vars {
  display: flex; flex-direction: column; gap: .55rem;
}
.reminder-var-chips {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.reminder-chip {
  appearance: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: .35rem .65rem; cursor: pointer;
  font: inherit; font-size: .75rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: .35rem;
}
.reminder-chip code {
  font-size: .68rem; color: var(--brand-dark); background: var(--brand-soft);
  padding: .1rem .35rem; border-radius: 6px;
}
.reminder-chip:hover { border-color: var(--brand); }
.reminder-cats { margin: .15rem 0 .25rem; }
.reminder-list { display: flex; flex-direction: column; gap: .65rem; }
.reminder-list-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}
@media (min-width: 900px) {
  .reminder-list-2col { grid-template-columns: 1fr 1fr; }
}
.reminder-cal {
  margin: 0 0 1rem;
  padding: .95rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.reminder-cal-head {
  display: flex; flex-wrap: wrap; gap: .35rem .75rem;
  align-items: baseline; margin-bottom: .75rem;
}
.reminder-cal-head strong { color: var(--navy); font-size: .95rem; }
.reminder-cal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
}
@media (min-width: 720px) {
  .reminder-cal-grid { grid-template-columns: 1fr 1fr; }
}
.reminder-cal-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid var(--line);
}
.reminder-cal-item strong {
  font-size: .78rem;
  color: var(--brand-dark);
  white-space: nowrap;
}
.reminder-cal-item span {
  font-size: .82rem;
  color: var(--navy);
  font-weight: 600;
  min-width: 0;
}
.reminder-cal-item em {
  font-style: normal;
  font-size: .72rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
.reminder-item {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  overflow: hidden;
}
.reminder-item.is-on { border-color: rgba(15, 118, 110, .35); }
.reminder-item-sum {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .9rem 1rem;
}
.reminder-item-sum::-webkit-details-marker { display: none; }
.reminder-item-title { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.reminder-item-title strong { font-size: .95rem; color: var(--navy); }
.reminder-item-body {
  padding: 0 1rem 1rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .75rem; padding-top: .85rem;
}
.reminder-item-toggles {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
}
.reminder-tpl-grid {
  display: grid; grid-template-columns: 1fr; gap: .85rem;
}
@media (min-width: 900px) {
  .reminder-tpl-grid { grid-template-columns: 1fr 1fr; }
}
.reminder-tpl label {
  display: block; font-size: .8rem; font-weight: 700; margin-bottom: .35rem; color: var(--navy);
}
.reminder-tpl textarea { min-height: 9rem; }
.reminder-preview { margin-top: .45rem; }
.reminder-preview summary { cursor: pointer; color: var(--ink-muted); }
.card-soft { background: #f7f9fb; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: .7rem .55rem; border-bottom: 1px solid var(--line); }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
table.data-table tbody tr.is-pager-hidden,
table.students-table tbody tr.is-pager-hidden {
  display: none !important;
}
.pager {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .35rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--line);
}
.pager-num {
  min-width: 2rem; height: 2rem; padding: 0 .45rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
  color: var(--ink, #0f172a); font-size: .82rem; font-weight: 700; text-decoration: none;
}
.pager-num:hover { border-color: var(--brand, #5b8fd4); color: var(--brand, #5b8fd4); }
.pager-num.is-active {
  background: var(--navy, #0b1f3a); border-color: var(--navy, #0b1f3a); color: #fff;
}
.pager-gap { color: var(--ink-muted, #64748b); font-weight: 700; padding: 0 .15rem; }
.pager-meta { margin-left: .35rem; }
.table-client-pager { margin-top: .65rem; }
.table-client-pager .pager-num {
  cursor: pointer;
  font: inherit;
}
.table-client-pager .pager-num:disabled,
.table-client-pager .pager-num.is-disabled {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}
.dash-mini-table-wrap > .table-client-pager {
  margin-top: .5rem;
  padding-top: .45rem;
}

.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .55rem; border-radius: 999px;
  background: var(--bg-soft); font-size: .75rem; font-weight: 700;
}
.badge-gold { background: var(--brand-soft); color: var(--brand-dark); }

.panel-empty {
  text-align: center; padding: 3rem 1rem;
  background: var(--bg-elevated); border-radius: var(--radius); border: 1px dashed var(--line-strong);
}
.panel-empty h1 { font-size: 1.5rem; margin-bottom: .5rem; }
.checklist { display: flex; flex-direction: column; gap: .55rem; }
.checklist li { display: flex; align-items: center; gap: .5rem; font-weight: 600; }

.flash {
  padding: .75rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 600;
}
.flash-warn { background: var(--warning-soft); color: #92400e; }
.flash-error { background: var(--danger-soft); color: #991b1b; }
.flash-info { background: var(--info-soft); color: #075985; }

.wa-business-notice {
  margin: 0 0 1rem;
  padding: .85rem 1.05rem;
  border-radius: 8px;
  border: 1px solid #f2e1b5;
  background: #fff9e6;
  color: #856404;
  font-size: .9rem;
  line-height: 1.5;
  font-weight: 500;
}
.wa-business-notice p { margin: 0; }
.wa-business-notice strong { font-weight: 700; color: #6b5203; }

.toast-stack {
  position: fixed; top: 1rem; right: 1rem; z-index: 200;
  display: flex; flex-direction: column; gap: .55rem;
  width: min(360px, calc(100vw - 2rem));
}
.toast {
  display: flex; gap: .65rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: .85rem 1rem; animation: toast-in .28s var(--ease);
}
.toast.is-leaving { opacity: 0; transform: translateY(-6px); transition: .2s; }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-warn { border-left: 3px solid var(--warning); }
.toast-info { border-left: 3px solid var(--info); }
.toast-title { display: block; font-size: .85rem; }
.toast-msg { font-size: .82rem; color: var(--ink-soft); margin-top: .15rem; }
.toast-close {
  margin-left: auto; border: 0; background: transparent;
  font-size: 1.2rem; cursor: pointer; color: var(--ink-muted); line-height: 1;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Expo WebView: native inset JS ile --geyik-sat/sab (+ Aidatla --app-safe-*) set edilir */
html[data-geyik-app="1"] .app-header {
  height: auto;
  min-height: var(--nav-h);
  padding-top: calc(.55rem + var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px))));
  padding-bottom: .45rem;
  padding-left: max(1.15rem, var(--geyik-sal, var(--app-safe-left, env(safe-area-inset-left, 0px))));
  padding-right: max(1.15rem, var(--geyik-sar, var(--app-safe-right, env(safe-area-inset-right, 0px))));
  box-sizing: border-box;
}
/* GiriÅ / landing: alt nav yok â sadece sistem Ã§ubuÄu kadar boÅluk, iÃ§eriÄi alta yasla */
html[data-geyik-app="1"] .auth-wrap {
  padding-top: calc(1.25rem + var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px))));
  padding-bottom: max(1rem, var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))));
  padding-left: max(1rem, var(--geyik-sal, var(--app-safe-left, env(safe-area-inset-left, 0px))));
  padding-right: max(1rem, var(--geyik-sar, var(--app-safe-right, env(safe-area-inset-right, 0px))));
  box-sizing: border-box;
}
html[data-geyik-app="1"] body:not(.panel-body) {
  padding-bottom: max(0px, var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))));
}
/*
 * Panel alt nav: ekranÄ±n altÄ±na yasla (floating gap yok).
 * Sistem geri/home alanÄ± padding ile dolu opak zemin â arkadan sayfa gÃ¶rÃ¼nmez.
 */
html[data-geyik-app="1"] .app-tabbar {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: calc(var(--bottom-nav-h) + var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))));
  padding: .4rem .35rem 0 !important;
  padding-bottom: max(.4rem, var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)))) !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  box-shadow: 0 -6px 20px rgba(10, 22, 40, .07) !important;
  gap: .1rem;
  box-sizing: border-box;
}
html[data-geyik-app="1"] .app-tabbar .app-tab,
html[data-geyik-app="1"] .app-tabbar .app-tab-more > .app-tab {
  min-height: var(--bottom-nav-h);
}
html[data-geyik-app="1"] .panel-body {
  min-height: 100%;
  padding-bottom: calc(var(--bottom-nav-h) + .75rem + var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))));
}
/* Modal aÃ§Ä±kken tabbar gizli: yine de sistem alt alanÄ±nÄ± kapat */
html[data-geyik-app="1"] body.modal-open.panel-body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)));
  background: #fff;
  z-index: 55;
  pointer-events: none;
}

/* ========== Toggle switches (platform geneli) ========== */
.ui-toggle-row {
  display: flex; align-items: center; gap: .75rem; margin: 0;
  cursor: pointer; user-select: none;
}
.ui-toggle {
  position: relative; display: inline-flex;
  width: 2.55rem; height: 1.45rem; flex-shrink: 0;
}
.ui-toggle input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%;
  margin: 0; cursor: pointer; z-index: 1;
}
.ui-toggle-ui {
  display: block; width: 100%; height: 100%; border-radius: 999px;
  background: #d1d5db; transition: background .18s ease; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.ui-toggle-ui::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: calc(1.45rem - 4px); height: calc(1.45rem - 4px);
  border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .18s ease;
}
.ui-toggle input:checked + .ui-toggle-ui { background: var(--brand); }
.ui-toggle input:checked + .ui-toggle-ui::after { transform: translateX(1.1rem); }
.ui-toggle input:focus-visible + .ui-toggle-ui {
  outline: 2px solid rgba(91,143,212,.55); outline-offset: 2px;
}
.ui-toggle-label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.ui-toggle-hint { margin: .35rem 0 0; padding-left: calc(2.55rem + .75rem); }

input[type="checkbox"]:not([hidden]):not(.no-ui-toggle) {
  -webkit-appearance: none; appearance: none;
  width: 2.55rem; height: 1.45rem; margin: 0 .35rem 0 0; padding: 0;
  flex-shrink: 0; vertical-align: middle; border: 0; border-radius: 999px;
  background: #d1d5db; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  cursor: pointer; position: relative; display: inline-block;
  transition: background .18s ease;
}
input[type="checkbox"]:not([hidden]):not(.no-ui-toggle)::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: calc(1.45rem - 4px); height: calc(1.45rem - 4px);
  border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .18s ease;
}
input[type="checkbox"]:not([hidden]):not(.no-ui-toggle):checked { background: var(--brand); }
input[type="checkbox"]:not([hidden]):not(.no-ui-toggle):checked::after { transform: translateX(1.1rem); }
input[type="checkbox"]:not([hidden]):not(.no-ui-toggle):focus-visible {
  outline: 2px solid rgba(91,143,212,.55); outline-offset: 2px;
}
label:has(> input[type="checkbox"]:not([hidden]):not(.no-ui-toggle)),
label:has(> input[type="checkbox"]:not([hidden]):not(.no-ui-toggle) + *) {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; user-select: none;
}
.ui-toggle input[type="checkbox"] {
  -webkit-appearance: none !important; appearance: none !important;
  width: 100% !important; height: 100% !important; margin: 0 !important;
  opacity: 0 !important; position: absolute !important; inset: 0 !important;
  background: transparent !important; box-shadow: none !important;
}
.ui-toggle input[type="checkbox"]::after { display: none !important; }

/* ========== Takvim ========== */
.cal-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cal-card { padding: 1rem 1.1rem 1.15rem; }
.cal-wrap { display: flex; flex-direction: column; gap: .85rem; overflow: visible; }
.cal-stack { overflow: visible; }
.dash-agenda { overflow: visible; }
.dash-cal-stack { overflow: visible; }
.dash-block-body > .dash-agenda { overflow: visible; }
.cal-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem;
}
.cal-toolbar h2 { font-size: 1.05rem; margin: 0; }
.cal-sublabel { margin: .2rem 0 0; }
.cal-nav { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.cal-legend {
  display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: .45rem;
}
.cal-legend span {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 650; color: var(--ink-muted);
}
.cal-dot {
  width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0;
}
.cal-dot-lesson { background: #0e7490; }
.cal-dot-lesson_online { background: #0e7490; }
.cal-dot-lesson_offline { background: #c2410c; }
.cal-dot-homework { background: #0f766e; }
.cal-dot-task { background: #5b8fd4; }
.cal-dot-exam { background: #dc2626; }
.cal-dot-agenda { background: #7c3aed; }
.cal-dot-appointment { background: #ea580c; }
.cal-dot-meeting { background: #4f46e5; }

.cal-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: visible;
}
.cal-head {
  background: var(--navy); color: rgba(255,255,255,.85);
  text-align: center; padding: .55rem .25rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.cal-cell {
  background: #fff; min-height: 104px; padding: .4rem;
  display: flex; flex-direction: column; gap: .3rem;
  overflow: visible;
}
.cal-cell.is-muted { background: #f3f5f8; opacity: .7; }
.cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--brand); }
.cal-daynum { font-size: .78rem; font-weight: 700; color: var(--ink-muted); }
.cal-cell.is-today .cal-daynum { color: var(--brand-dark); }
.cal-day-events {
  display: flex; flex-direction: column; gap: .3rem;
  min-height: 0;
  overflow: visible;
  padding-right: 1.55rem;
}

.cal-chip-row {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cal-chip-row .cal-chip {
  width: 100%;
}
.cal-chip-side {
  position: absolute;
  right: -1.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
}
.cal-chip-side svg {
  width: .78rem;
  height: .78rem;
  display: block;
}
.cal-chip-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: .12rem;
  padding: .12rem .42rem;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  background: rgba(255,255,255,.2);
  color: #fff;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-chip-past .cal-chip-status {
  display: none;
}
.cal-chip-past:hover .cal-chip-status,
.cal-chip-past:focus-visible .cal-chip-status,
.cal-chip-past.is-grown .cal-chip-status,
.cal-chip-past:active .cal-chip-status {
  display: inline-flex;
}

/* Durum tonlarÄ± â kenar + yan ikon */
.cal-chip-tone-ok {
  border-left: 3px solid #16a34a;
}
.cal-chip-tone-warn {
  border-left: 3px solid #d97706;
}
.cal-chip-tone-danger {
  border-left: 3px solid #b91c1c;
}
.cal-chip-tone-info {
  border-left: 3px solid #2563eb;
}
.cal-chip-tone-muted {
  border-left: 3px solid #64748b;
}
.cal-chip-state-ok .cal-chip-side {
  background: #dcfce7;
  color: #15803d;
}
.cal-chip-state-warn .cal-chip-side {
  background: #ffedd5;
  color: #c2410c;
}
.cal-chip-state-danger .cal-chip-side {
  background: #fee2e2;
  color: #b91c1c;
}
.cal-chip-state-info .cal-chip-side {
  background: #dbeafe;
  color: #1d4ed8;
}
.cal-chip-state-muted .cal-chip-side {
  background: #e2e8f0;
  color: #475569;
}
.cal-chip-tone-ok .cal-chip-status { background: rgba(22, 163, 74, .92); }
.cal-chip-tone-warn .cal-chip-status { background: rgba(217, 119, 6, .95); }
.cal-chip-tone-danger .cal-chip-status { background: rgba(185, 28, 28, .95); }
.cal-chip-tone-info .cal-chip-status { background: rgba(37, 99, 235, .92); }
.cal-chip-tone-muted .cal-chip-status { background: rgba(71, 85, 105, .9); }

.cal-week {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 800px) {
  .cal-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cal-cell { min-height: 120px; }
}
@media (max-width: 799px) {
  .cal-month {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cal-month .cal-head {
    display: none;
  }
  .cal-cell {
    min-height: 88px;
  }
  .cal-week-day {
    min-height: 120px;
  }
}

/* ÃÄrenci paneli: takvim gÃ¼nleri tek kolon */
.cal-single-col .cal-week {
  grid-template-columns: 1fr !important;
}
.cal-single-col .cal-month {
  grid-template-columns: 1fr !important;
  gap: .55rem;
  background: transparent;
  border: 0;
}
.cal-single-col .cal-month .cal-head {
  display: none !important;
}
.cal-single-col .cal-cell {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .65rem .7rem;
}
.cal-single-col .cal-cell.is-muted {
  display: none;
}
.cal-single-col .cal-week-day {
  min-height: 0;
}
.cal-week-day {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .7rem .65rem; min-height: 140px;
  display: flex; flex-direction: column; gap: .45rem;
  overflow: visible;
}
.cal-week-day.is-today { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(91,143,212,.2); }
.cal-week-day h4 { font-size: .84rem; margin: 0; font-family: var(--font); font-weight: 700; }
.cal-week-day .cal-day-events {
  max-height: none;
  overflow: visible;
  padding: .45rem;
}
.cal-empty { margin: 0; opacity: .55; }
.cal-chip {
  display: flex; flex-direction: column; gap: .2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  border: 0; border-radius: 10px; padding: .45rem .55rem;
  font-size: .78rem; font-weight: 650; line-height: 1.35;
  cursor: pointer; text-decoration: none; color: #fff;
  box-shadow: 0 1px 0 rgba(15,23,42,.06);
  transform: translateY(0);
  margin-left: 0;
  margin-right: 0;
  transition:
    transform .2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .2s ease,
    padding .2s ease,
    width .2s cubic-bezier(0.22, 1, 0.36, 1),
    margin .2s cubic-bezier(0.22, 1, 0.36, 1),
    max-width .2s cubic-bezier(0.22, 1, 0.36, 1),
    filter .2s ease;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
.cal-chip-top {
  display: flex; align-items: center; justify-content: space-between; gap: .35rem;
}
.cal-chip-time {
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; opacity: .95;
}
.cal-chip-tag {
  font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; opacity: .9;
  background: rgba(255,255,255,.18);
  border-radius: 999px; padding: .08rem .4rem;
}
.cal-chip-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .82rem; font-weight: 700; line-height: 1.3;
  white-space: normal; word-break: break-word;
}
.cal-chip-meta {
  font-size: .7rem; font-weight: 600; opacity: .9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-chip-line {
  display: block;
  font-size: .68rem; font-weight: 600; line-height: 1.3;
  opacity: .94;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-chip-line em {
  font-style: normal; font-weight: 800; opacity: .8; margin-right: .15rem;
}
.cal-chip-lesson { background: #0e7490; }
.cal-chip-lesson_online { background: #0e7490; }
.cal-chip-lesson_offline { background: #c2410c; }
.cal-chip-homework { background: #0f766e; }
.cal-chip-task { background: #3d6fad; }
.cal-chip-exam { background: #dc2626; }
.cal-chip-agenda { background: #7c3aed; }
.cal-chip-appointment { background: #ea580c; }
.cal-chip-meeting { background: #4f46e5; }

/* SÃ¼resi geÃ§miÅ: sadece saat + alan (SÄ±nav / GÃ¶revâ¦); hoverâda tam kart */
.cal-chip-body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.cal-chip-past {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .35rem;
  padding: .28rem .45rem;
  opacity: .88;
}
.cal-chip-past .cal-chip-top {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.cal-chip-past .cal-chip-body {
  display: none;
}
.cal-chip-past .cal-chip-time {
  font-size: .7rem;
}
.cal-chip-past .cal-chip-tag {
  font-size: .58rem;
  padding: .06rem .35rem;
}

/* Yatay geniÅleme + okunur hover (desktop & mobil .is-grown) */
.cal-chip:hover,
.cal-chip:focus-visible,
.cal-chip.is-grown,
.cal-chip:active {
  width: calc(100% + 68px);
  max-width: none;
  margin-left: -34px;
  margin-right: -34px;
  transform: translateY(-7px);
  z-index: 50;
  padding: .65rem 1.15rem;
  filter: brightness(1.1);
  box-shadow: 0 20px 44px rgba(10, 22, 40, .38);
}
.cal-chip-past:hover,
.cal-chip-past:focus-visible,
.cal-chip-past.is-grown,
.cal-chip-past:active {
  flex-direction: column;
  align-items: stretch;
  opacity: 1;
  gap: .2rem;
}
.cal-chip-past:hover .cal-chip-body,
.cal-chip-past:focus-visible .cal-chip-body,
.cal-chip-past.is-grown .cal-chip-body,
.cal-chip-past:active .cal-chip-body {
  display: flex;
}
.cal-chip:hover .cal-chip-title,
.cal-chip:focus-visible .cal-chip-title,
.cal-chip.is-grown .cal-chip-title,
.cal-chip:active .cal-chip-title {
  -webkit-line-clamp: 4;
  font-size: .88rem;
  line-height: 1.35;
}
.cal-chip:hover .cal-chip-time,
.cal-chip.is-grown .cal-chip-time,
.cal-chip:active .cal-chip-time {
  font-size: .78rem;
}
.cal-chip:hover .cal-chip-line,
.cal-chip.is-grown .cal-chip-line,
.cal-chip:active .cal-chip-line,
.cal-chip:hover .cal-chip-meta,
.cal-chip.is-grown .cal-chip-meta,
.cal-chip:active .cal-chip-meta {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: .74rem;
  opacity: 1;
}
.cal-chip-more {
  background: #d9e4f2; color: var(--navy);
  font-size: .74rem; font-weight: 750;
  text-align: center; padding: .4rem .55rem;
  border-radius: 8px;
  transform: translateY(0);
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  transition:
    transform .2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .2s ease,
    padding .2s ease,
    width .2s cubic-bezier(0.22, 1, 0.36, 1),
    margin .2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
  cursor: pointer;
  border: 0;
  box-sizing: border-box;
}
.cal-chip-more:hover,
.cal-chip-more:focus-visible,
.cal-chip-more.is-grown,
.cal-chip-more:active {
  width: calc(100% + 52px);
  max-width: none;
  margin-left: -26px;
  margin-right: -26px;
  transform: translateY(-6px);
  z-index: 50;
  padding: .58rem 1.05rem;
  box-shadow: 0 16px 34px rgba(10, 22, 40, .28);
}
.cal-week-day {
  transition: box-shadow .2s ease, border-color .2s ease;
  overflow: visible;
}
.cal-week-day:hover {
  border-color: rgba(91, 143, 212, .45);
  box-shadow: 0 8px 22px rgba(10, 22, 40, .08);
}
@media (prefers-reduced-motion: reduce) {
  .cal-chip,
  .cal-chip-more,
  .cal-week-day {
    transition: none;
  }
}
.cal-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .75rem;
}
.cal-event-row {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  align-items: stretch;
  padding: .65rem .75rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: #f8fafc;
  min-width: 0;
}
.cal-event-row:last-child { border-bottom: 1px solid rgba(15, 23, 42, .08); }
.cal-event-k {
  font-size: .72rem; font-weight: 750; color: #64748b;
  letter-spacing: .02em; text-transform: uppercase;
}
.cal-event-v {
  font-size: .92rem; font-weight: 650; color: var(--navy, #0a1628);
  word-break: break-word;
  line-height: 1.35;
}
.cal-event-notes {
  margin: .9rem 0 0;
  padding: .8rem .9rem;
  background: #f5f7fa;
  border-radius: 12px;
  grid-column: 1 / -1;
}
.cal-event-notes strong {
  display: block; font-size: .75rem; letter-spacing: .03em;
  text-transform: uppercase; color: #64748b; margin-bottom: .35rem;
}
.cal-event-notes p {
  margin: 0; font-size: .9rem; color: var(--navy, #0a1628);
  white-space: pre-wrap; line-height: 1.45;
}
.cal-day-list {
  display: grid; gap: .55rem;
}
.cal-day-item {
  display: grid; gap: .2rem; width: 100%;
  text-align: left; cursor: pointer;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff; border-radius: 12px;
  padding: .7rem .8rem;
  border-left-width: 3px;
}
.cal-day-item:hover { border-color: rgba(91, 143, 212, .55); background: #fffdf6; }
.cal-day-item-tag {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; color: var(--gold, #5b8fd4);
}
.cal-day-item-main {
  display: grid; gap: .2rem; min-width: 0;
}
.cal-day-item-status {
  display: inline-flex;
  align-self: flex-start;
  padding: .1rem .4rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.2;
}
.cal-day-item-tone-ok { border-left-color: #16a34a; }
.cal-day-item-tone-warn { border-left-color: #d97706; }
.cal-day-item-tone-danger { border-left-color: #b91c1c; }
.cal-day-item-tone-info { border-left-color: #2563eb; }
.cal-day-item-tone-muted { border-left-color: #64748b; }
.cal-day-item-tone-ok .cal-day-item-status { background: #dcfce7; color: #15803d; }
.cal-day-item-tone-warn .cal-day-item-status { background: #ffedd5; color: #c2410c; }
.cal-day-item-tone-danger .cal-day-item-status { background: #fee2e2; color: #b91c1c; }
.cal-day-item-tone-info .cal-day-item-status { background: #dbeafe; color: #1d4ed8; }
.cal-day-item-tone-muted .cal-day-item-status { background: #e2e8f0; color: #475569; }
.modal-cal-detail {
  width: min(100%, 560px);
}
.modal-cal-detail .modal-body { padding-top: 1rem; }
@media (max-width: 520px) {
  .cal-event-grid {
    grid-template-columns: 1fr;
  }
  .modal-cal-detail {
    width: min(100%, 100%);
  }
}

/* ========== Dashboard zengin layout ========== */
.dash-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .dash-grid-main { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
.dash-grid-student {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.dash-grid-student > .dash-cal-full {
  width: 100%;
}
/* ÃÄrenci dashboard: Ã¶Äretmen ile aynÄ± dash-sortable / dash-panel dÃ¼zeni */
.dash-sortable-student .dash-block-body > .dash-cal-full,
.dash-sortable-student .dash-block-body > .card.dash-cal-full {
  padding: .65rem .75rem .7rem;
}
/* Mobil sÄ±ra: hatÄ±rlatma â aÃ§Ä±k â tamamlanmamÄ±Å â geri talep â teslim â deÄerlendirme */
.dash-sortable-student .stu-card-reminders { order: 1; }
.dash-sortable-student .stu-card-open { order: 2; }
.dash-sortable-student .stu-card-incomplete { order: 3; }
.dash-sortable-student .stu-card-retry { order: 4; }
.dash-sortable-student .stu-card-submitted { order: 5; }
.dash-sortable-student .stu-card-eval { order: 6; }
@media (min-width: 900px) {
  /* MasaÃ¼stÃ¼: DOM sÄ±rasÄ± ile kolon1 (hatÄ±rlatma, tamamlanmamÄ±Å, teslim) / kolon2 (aÃ§Ä±k, geri talep, deÄerlendirme) */
  .dash-sortable-student {
    column-fill: auto;
  }
  .dash-sortable-student .stu-dash-card {
    order: 0;
  }
}
.dash-welcome {
  display: block;
  background:
    linear-gradient(135deg, rgba(10,22,40,.96), rgba(19,42,74,.92)),
    radial-gradient(circle at 90% 10%, rgba(91,143,212,.35), transparent 40%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-lg);
}
.dash-welcome h1 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 .25rem; }
.dash-welcome p { color: rgba(255,255,255,.75); margin: 0; font-size: .92rem; }
.dash-welcome-meta {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem;
}
.dash-welcome-compact {
  padding: .7rem 1.05rem;
  margin-bottom: .85rem;
  box-shadow: var(--shadow);
}
.dash-welcome-kicker {
  margin: 0 0 .2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.dash-welcome-line {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  line-height: 1.35;
}
.dash-welcome-line strong {
  color: #fff;
  font-weight: 700;
}
.dash-welcome-sep {
  margin: 0 .35rem;
  color: rgba(255,255,255,.45);
}

.dash-customize-bar {
  display: none;
}
/* Tek kolon (mobil); masaÃ¼stÃ¼nde masonry â satÄ±r eÅitleme boÅluÄu olmasÄ±n */
.dash-sortable {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .dash-sortable {
    display: block;
    column-count: 2;
    column-gap: .5rem;
    column-fill: balance;
  }
  .dash-block-full {
    column-span: all;
    display: block;
    width: 100%;
    margin: 0 0 .45rem;
    break-inside: avoid;
  }
  .dash-block-half {
    display: inline-block;
    width: 100%;
    margin: 0 0 .45rem;
    vertical-align: top;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
}
.dash-block {
  position: relative;
  border-radius: var(--radius);
  transition: box-shadow .15s, opacity .15s, transform .15s;
}
.dash-block.is-dragging {
  opacity: .55;
  box-shadow: var(--shadow-lg);
}
.dash-block.is-drop-target {
  outline: 2px dashed var(--brand, #5b8fd4);
  outline-offset: 2px;
}
.dash-drag-handle {
  display: none !important;
}
.dash-block-body {
  display: block;
}
.dash-block-body > .dash-welcome,
.dash-block-body > .card,
.dash-block-body > .dash-agenda,
.dash-block-body > .page-brief {
  margin-bottom: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.dash-block-body > .card {
  padding: .65rem .75rem .7rem;
}
.dash-block-body > .dash-welcome-compact {
  margin-bottom: 0;
  padding: .55rem .9rem;
}
.dash-block-body > .dash-agenda {
  margin-bottom: 0;
  padding: .7rem .8rem .85rem;
}
.dash-block-body .section-card-title {
  margin: 0 0 .35rem;
  padding: 0;
}
.dash-block-half .dash-panel,
.dash-block-half .card.dash-panel {
  min-height: 0 !important;
  height: auto !important;
  display: block;
}
.dash-panel .empty-state,
.dash-panel > .muted.tiny {
  margin: 0;
  padding: .15rem 0 0;
  line-height: 1.35;
}
.dash-pref-grid {
  display: grid; gap: .45rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .dash-pref-grid { grid-template-columns: 1fr 1fr; }
}
.dash-pref-toggle {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--navy);
}
.dash-pref-toggle:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft, #e4eef9);
}

/* Aidatla-style quick actions (KPI row kept for other pages) */
.kpi-grid {
  display: grid; gap: .75rem; margin-bottom: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem;
  display: flex; align-items: center; gap: .75rem;
}
a.kpi { text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
a.kpi:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(91, 143, 212, .18);
}
.kpi-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  flex-shrink: 0; color: #fff;
}
.kpi-ico svg { width: 20px; height: 20px; display: block; }
.kpi-ico.orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.kpi-ico.green { background: linear-gradient(135deg, #0f766e, #34d399); }
.kpi-ico.blue { background: linear-gradient(135deg, #0e7490, #38bdf8); }
.kpi-ico.red { background: linear-gradient(135deg, #dc2626, #f87171); }
.kpi-ico.slate { background: linear-gradient(135deg, #334155, #64748b); }
.kpi-ico.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.kpi strong {
  display: block; font-size: 1.35rem; line-height: 1.1; font-weight: 800; color: var(--navy);
}
.kpi span { font-size: .78rem; color: var(--ink-muted); font-weight: 600; }

.quick-actions {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.15rem;
}
@media (min-width: 800px) {
  .quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .quick-actions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.dash-summary-actions.quick-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .dash-summary-actions.quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .dash-summary-actions.quick-actions {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.dash-summary-card {
  margin-bottom: .85rem;
}
.dash-summary-card .stat-grid {
  margin-bottom: 0;
}
.stat-grid-fit {
  display: grid;
  grid-template-columns: repeat(var(--stat-cols, 4), minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: 0;
}
.stat-grid-fit .stat-card {
  padding: .7rem .75rem;
}
.stat-grid-fit .stat-card .stat-value {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}
.stat-grid-fit .stat-card .stat-label {
  font-size: .72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 719px) {
  .stat-grid.stat-grid-fit,
  .stat-grid-fit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .45rem;
    overflow: visible;
  }
  .stat-grid-fit .stat-card,
  .stat-grid .stat-card {
    min-width: 0;
    padding: .65rem .55rem .7rem;
    border-radius: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .stat-grid-fit .stat-card .stat-ico,
  .stat-grid .stat-card .stat-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    margin: 0 auto .3rem;
  }
  .stat-grid-fit .stat-card .stat-ico svg,
  .stat-grid .stat-card .stat-ico svg {
    width: 15px;
    height: 15px;
  }
  .stat-grid-fit .stat-card .stat-label,
  .stat-grid .stat-card .stat-label {
    font-size: .68rem;
    margin-bottom: .2rem;
    letter-spacing: 0;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
  }
  .stat-grid-fit .stat-card .stat-value,
  .stat-grid .stat-card .stat-value {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    text-align: center;
    width: 100%;
  }
  .stat-grid-fit .stat-card .stat-subvalue,
  .stat-grid .stat-card .stat-subvalue {
    font-size: .68rem;
    text-align: center;
    width: 100%;
  }
  .stat-card.is-active-stat {
    outline-width: 1.5px;
    outline-offset: 1px;
    box-shadow: 0 0 0 2px rgba(91, 143, 212, .35), 0 8px 18px rgba(10, 22, 40, .16);
  }
}
.stat-card.is-active-stat {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(91, 143, 212, .45), 0 14px 32px rgba(10, 22, 40, .22);
}
.dash-quick-card {
  margin-bottom: 1.15rem;
}
.dash-quick-card .quick-actions,
.dash-summary-actions {
  margin-bottom: 0;
}
.qa {
  border: 0; border-radius: 14px; padding: 1rem; color: #fff; text-align: left;
  font-weight: 700; text-decoration: none; display: block; width: 100%;
  cursor: pointer; font-family: inherit; transition: transform .15s ease;
}
.qa:hover { transform: translateY(-2px); color: #fff; }
.qa strong { display: block; font-size: .95rem; }
.qa small,
.qa-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  font-weight: 500;
  opacity: .9;
  margin-top: .25rem;
  font-size: .78rem;
  line-height: 1.25;
  text-align: left;
  width: 100%;
}
.qa-sub-line {
  display: block;
  width: 100%;
  text-align: left;
}
.qa-sub-line2 {
  white-space: nowrap;
}
.qa.c1 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.qa.c2 { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.qa.c3 { background: linear-gradient(135deg, #0a1628, #1a3d6e); }
.qa.c4 { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff; }
.qa.c4:hover { color: #fff; }
.qa.c5 { background: linear-gradient(135deg, #0f766e, #34d399); }
.qa.c6 { background: linear-gradient(135deg, #dc2626, #f87171); }

.dash-cal-types {
  display: grid; gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: .25rem;
}
@media (min-width: 640px) {
  .dash-cal-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dash-cal-type {
  display: block; width: 100%; text-align: left;
  border: 1px solid rgba(10, 22, 40, .1);
  background: #f7f9fc; color: var(--navy);
  border-radius: 12px; padding: .7rem .75rem;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.dash-cal-type strong { display: block; font-size: .82rem; font-weight: 800; }
.dash-cal-type small {
  display: block; margin-top: .2rem;
  font-size: .72rem; font-weight: 600; color: var(--ink-muted);
}
.dash-cal-type:hover { border-color: rgba(91, 143, 212, .45); background: #fffdf6; }
.dash-cal-type.is-active {
  border-color: transparent;
  background: linear-gradient(145deg, #0a1628, #1a3d6e);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 22, 40, .18);
}
.dash-cal-type.is-active small { color: rgba(255,255,255,.78); }
.dash-student-extra {
  max-height: 140px;
  overflow: auto;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}

.dash-agenda {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: calc(var(--radius-lg) + 2px);
  background:
    linear-gradient(165deg, #f7f4ec 0%, #eef2f7 48%, #f4f7fb 100%);
  border: 1px solid rgba(10, 22, 40, .08);
  box-shadow: 0 18px 40px rgba(10, 22, 40, .06);
  overflow: hidden;
}
.dash-agenda::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), #0a1628);
}
.dash-agenda-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: .5rem .75rem;
  margin-bottom: .65rem;
  padding-left: .35rem;
}
.dash-agenda-head .eyebrow {
  margin: 0 0 .2rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-dark);
}
.dash-agenda-head h2 {
  margin: 0; font-size: 1.28rem; color: var(--navy);
}
.dash-agenda-head .lead {
  margin: .3rem 0 0; max-width: 36rem;
  font-size: .9rem; color: var(--ink-muted);
}
.dash-agenda-link {
  font-size: .82rem; font-weight: 750; color: var(--navy);
  text-decoration: none;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(10,22,40,.1);
}
.dash-agenda-link:hover {
  background: #fff;
  border-color: rgba(91,143,212,.45);
}
.dash-cal-stack { gap: .55rem; }
.cal-card-agenda,
.cal-card-edu {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,22,40,.07);
  box-shadow: 0 8px 24px rgba(10,22,40,.04);
}
.cal-card-agenda {
  border-top: 3px solid #0f766e;
}
.cal-card-edu {
  border-top: 3px solid #0e7490;
}
.cal-page-agenda {
  margin-top: 0;
}

.dash-col {
  display: flex; flex-direction: column; gap: 1rem;
}
.dash-incomplete-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .55rem;
}
.dash-incomplete-filters .form-control {
  flex: 1 1 8rem;
  min-width: 0;
  max-width: 100%;
}
.dash-retry-table th:nth-child(1),
.dash-retry-table td:nth-child(1) { width: 34%; }
.dash-retry-table th:nth-child(2),
.dash-retry-table td:nth-child(2) { width: 22%; }
.dash-retry-table th:nth-child(3),
.dash-retry-table td:nth-child(3),
.dash-retry-table th:last-child,
.dash-retry-table td:last-child {
  width: 44% !important;
  min-width: 0 !important;
  text-align: left !important;
}
.dash-retry-duration {
  width: auto;
  max-width: 10rem;
  min-width: 0;
}
.dash-mini-table-wrap {
  margin: 0 -.15rem;
  max-height: 260px;
  overflow: auto;
}
.dash-mini-table {
  margin: 0;
  font-size: .82rem;
  table-layout: fixed;
  width: 100%;
}
.dash-mini-table th {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #64748b;
  white-space: nowrap;
}
.dash-mini-table td {
  vertical-align: middle;
  padding: .35rem .4rem;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.dash-mini-table th {
  padding: .3rem .4rem .35rem;
}
.dash-panel .empty-state {
  padding: .15rem 0 !important;
}
.dash-panel .empty-state .empty-ico {
  display: none;
}
.dash-mini-table th:nth-child(1),
.dash-mini-table td:nth-child(1) { width: 34%; }
.dash-mini-table th:nth-child(2),
.dash-mini-table td:nth-child(2) { width: 18%; }
.dash-mini-table th:nth-child(3),
.dash-mini-table td:nth-child(3) { width: 22%; }
.dash-mini-table th:nth-child(4),
.dash-mini-table td:nth-child(4),
.dash-mini-table th.dash-th-countdown,
.dash-mini-table td.dash-td-countdown {
  width: 26% !important;
  min-width: 7.5rem !important;
  text-align: left !important;
  overflow: visible !important;
  white-space: nowrap !important;
}
.dash-mini-table th:last-child,
.dash-mini-table td:last-child {
  text-align: left !important;
  overflow: visible !important;
}
/* 2â3 kolon (geri sayÄ±m yok): yarÄ±m kartta tÃ¼m sÃ¼tunlar sÄ±ÄsÄ±n */
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) th:nth-child(1),
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) td:nth-child(1) {
  width: 44%;
}
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) th:nth-child(2),
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) td:nth-child(2) {
  width: 28%;
}
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) th:nth-child(3),
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) td:nth-child(3),
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) th:last-child,
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(4))) td:last-child {
  width: 28% !important;
  min-width: 0 !important;
  max-width: none !important;
}
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(3))) th:nth-child(1),
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(3))) td:nth-child(1) {
  width: 58%;
}
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(3))) th:last-child,
.dash-mini-table:not(:has(.dash-th-countdown)):not(:has(th:nth-child(3))) td:last-child {
  width: 42% !important;
  min-width: 0 !important;
}
.dash-countdown-inline {
  display: none !important;
}
.dash-row-click {
  cursor: pointer;
  transition: background .12s ease;
}
.dash-row-click:hover,
.dash-row-click:focus {
  background: #f1f5f9;
  outline: none;
}
.dash-stu-cell {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}
.dash-stu-cell strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-countdown {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 750;
  color: #0f172a;
  background: #e2e8f0;
  border-radius: 999px;
  padding: .2rem .5rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dash-td-countdown {
  white-space: nowrap;
  min-width: 7.5rem;
}
.dash-td-datetime {
  white-space: normal !important;
  line-height: 1.25;
}
.dash-date-line {
  display: block;
  font-weight: 650;
  color: #0f172a;
}
.dash-time-line {
  display: block;
  margin-top: .12rem;
  font-size: .78rem;
  font-weight: 700;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.dash-countdown.is-soon {
  background: #fef3c7;
  color: #92400e;
}
.dash-countdown.is-over {
  background: #fee2e2;
  color: #991b1b;
}
.dash-countdown-lg {
  font-size: 1.05rem;
  padding: .45rem .75rem;
  margin-top: .25rem;
}
.dash-pie {
  --p: 0;
  --pie-size: 38px;
  --pie-inner: 24px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--pie-size);
  height: var(--pie-size);
  border-radius: 50%;
  background: conic-gradient(#5b8fd4 calc(var(--p) * 1%), #e2e8f0 0);
  vertical-align: middle;
}
.dash-pie::after {
  content: attr(data-label);
  display: grid;
  place-items: center;
  width: var(--pie-inner);
  height: var(--pie-inner);
  border-radius: 50%;
  background: #fff;
  font-size: .58rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.dash-pie-lg {
  --pie-size: 72px;
  --pie-inner: 48px;
}
.dash-pie-lg::after {
  font-size: .78rem;
}
.dash-popup-countdown,
.dash-popup-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.dash-popup-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  min-width: 120px;
}
.dash-popup-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem .85rem;
  margin: 0;
}
.dash-popup-dl dt {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  color: #64748b;
}
.dash-popup-dl dd {
  margin: 0;
  font-size: .88rem;
  font-weight: 650;
  color: #0f172a;
}
.dash-detail-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stu-dash-retry-box {
  margin-top: .15rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 55, 95, 0.12);
  background: #f8fafc;
}
.stu-dash-retry-box.is-open {
  display: block;
}
.stu-dash-retry-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.stu-dash-retry-field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.stu-dash-retry-field label {
  font-size: .8rem;
  font-weight: 650;
  color: #334155;
}
.stu-dash-retry-field .form-control {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
}
.stu-dash-retry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
}
.dash-detail-hero {
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background:
    linear-gradient(145deg, rgba(15, 55, 95, 0.06), rgba(201, 162, 39, 0.08)),
    #f8fafc;
  border: 1px solid rgba(15, 55, 95, 0.08);
}
.dash-detail-hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .85rem;
}
.dash-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  background: #0f375f;
  color: #fff;
}
.dash-detail-badge.is-online {
  background: #0ea5e9;
}
.dash-detail-badge-soft {
  background: rgba(15, 55, 95, 0.08);
  color: #0f375f;
}
.dash-detail-countdown-block {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.dash-detail-metric-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.dash-detail-metric {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 110px;
}
.dash-detail-progress {
  margin-top: .9rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 55, 95, 0.1);
  overflow: hidden;
}
.dash-detail-progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f375f, #c9a227);
  transition: width .35s ease;
}
.dash-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.dash-detail-item {
  padding: .7rem .8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 55, 95, 0.08);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.dash-detail-k {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #64748b;
}
.dash-detail-v {
  font-size: .92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.dash-detail-notes {
  padding: .85rem .9rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 55, 95, 0.08);
}
.dash-detail-notes-text {
  margin: .35rem 0 0;
  font-size: .88rem;
  line-height: 1.45;
  color: #334155;
  white-space: pre-wrap;
}
@media (max-width: 560px) {
  .dash-detail-grid {
    grid-template-columns: 1fr;
  }
}
.entity-detail-assignees {
  margin-top: 1rem;
  padding: .85rem .9rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 55, 95, 0.08);
}
.entity-detail-assignees-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .65rem;
}
.entity-detail-assignees-head h4 {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: #0f172a;
}
.entity-detail-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
}
.entity-detail-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.5rem;
  padding: 0 .45rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(15, 55, 95, 0.08);
  color: #0f375f;
}
.dash-exam-q-list { display: flex; flex-direction: column; gap: .75rem; }
.dash-exam-q-item {
  padding: .75rem .85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-size: .88rem;
  line-height: 1.45;
}
.dash-exam-q-item ul { margin: .45rem 0 0; padding-left: 1.1rem; }
.dash-exam-q-top { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.dash-exam-q-type {
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .15rem .45rem; border-radius: 999px; background: rgba(11, 31, 58, .08); color: #0b1f3a;
}
.dash-exam-q-body { margin: .35rem 0 .15rem; }
.dash-exam-q-media { margin-top: .55rem; }
.dash-exam-q-media img { max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); }
.dash-exam-q-item .exam-booklet-split { min-height: 280px; margin-top: .55rem; }
.dash-exam-q-item .exam-booklet-viewer,
.dash-exam-q-item .exam-booklet-frame,
.dash-exam-q-item .exam-booklet-img-scroll { min-height: 240px; height: 240px; }
.modal-sheet .dash-exam-q-list { max-height: min(70vh, 640px); overflow: auto; }
.filter-tabs a .tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .35rem;
  margin-left: .35rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  background: rgba(10, 22, 40, .12);
  color: inherit;
}
.filter-tabs a.is-active .tab-badge {
  background: rgba(255,255,255,.22);
  color: #fff;
}
.star-rate {
  display: flex;
  gap: .2rem;
  align-items: center;
}
.star-rate-btn {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  padding: .1rem .15rem;
  transition: color .12s ease, transform .12s ease;
}
.star-rate-btn.is-on,
.star-rate-btn.is-preview {
  color: #f59e0b;
}
.star-rate.is-hovering .star-rate-btn.is-on:not(.is-preview) {
  color: #fcd34d;
}
.star-rate-btn:hover {
  transform: scale(1.08);
}
.dash-grade-submission {
  margin-top: 1rem;
  padding: .75rem .85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.queue-link {
  flex-shrink: 0;
  font-size: .78rem; font-weight: 750;
  color: var(--brand-dark, var(--brand-dark));
  text-decoration: none;
  white-space: nowrap;
}
.queue-item-link {
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.queue-item-link:hover {
  border-color: rgba(91,143,212,.45);
  background: #fffdf6;
}
.pill {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .65rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
  background: rgba(255,255,255,.12); color: #fff;
}
.pill-gold { background: rgba(91,143,212,.25); color: #e4eef9; }

.stat-card:not([class*="tone-"]) {
  position: relative; overflow: hidden;
}
.stat-card:not([class*="tone-"])::after {
  content: ''; position: absolute; right: -10px; top: -10px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-soft); opacity: .55;
}

.queue-list { display: flex; flex-direction: column; gap: .55rem; }
.queue-item {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
  padding: .75rem .85rem; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.queue-item strong { display: block; font-size: .9rem; }
.progress-bar {
  height: 7px; border-radius: 999px; background: #e2e8f0; overflow: hidden; margin-top: .4rem;
}
.progress-bar > i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}
.avatar-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.avatar-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .65rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 600;
}
.avatar-chip i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: .7rem;
}
.empty-state {
  text-align: center; padding: 2rem 1rem;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  background: rgba(255,255,255,.6);
}
.empty-state .empty-ico {
  width: 48px; height: 48px; margin: 0 auto .75rem;
  border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
}
.page-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: .85rem; margin-bottom: 1rem;
}
.page-head h2 { margin: 0; font-size: 1.25rem; }
.split-2 {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .split-2 { grid-template-columns: 1fr 1fr; }
}
.section-card-title {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .85rem;
}
.section-card-title h3 { margin: 0; font-size: 1.05rem; }
.filter-tabs {
  display: inline-flex; gap: .3rem; padding: .25rem;
  background: var(--bg-soft); border-radius: 999px; margin-bottom: 1rem;
}
.filter-tabs a {
  padding: .4rem .85rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: var(--ink-muted);
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.filter-tabs a:hover { color: var(--navy); background: rgba(10, 22, 40, .06); }
.filter-tabs a.is-active,
.filter-tabs a.is-active:hover { background: var(--navy); color: #fff; }
.student-pick {
  display: grid; gap: .4rem; max-height: 180px; overflow: auto;
  padding: .5rem; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff;
}
.student-pick label {
  display: flex !important; width: 100%;
  padding: .35rem .45rem; border-radius: 8px;
}
.student-pick label:hover { background: var(--bg-soft); }

/* Item cards & status chips (Aidatla-style list rows) */
.item-card {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .85rem;
  padding: .9rem 1rem; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.item-card-stack,
.item-card.card { flex-direction: column; align-items: stretch; }
.item-card-main { flex: 1; min-width: 0; }
.item-card-main > strong { display: block; font-size: .95rem; color: var(--navy); }
.item-card-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .35rem;
}
.item-card-top strong { margin: 0; }
.item-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .55rem;
  margin-top: .35rem;
}
.item-card-chips {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem;
}
.item-card-actions {
  display: flex; flex-shrink: 0; align-items: center; gap: .4rem;
}
.item-card-desc {
  margin: .55rem 0 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.5;
}
.item-card-form { margin-top: .75rem; }
.item-card-box {
  margin-top: .65rem; padding: .65rem .75rem;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.item-card-box p { margin: .25rem 0 0; font-size: .88rem; }

.status-chip {
  display: inline-flex; align-items: center;
  padding: .18rem .55rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  background: var(--bg-elevated); color: var(--ink-soft);
  border: 1px solid var(--line);
}
.status-chip-ok { background: var(--success-soft); color: #0f766e; border-color: transparent; }
.status-chip-warn { background: var(--warning-soft); color: #92400e; border-color: transparent; }
.status-chip-danger { background: var(--danger-soft); color: #991b1b; border-color: transparent; }
.status-chip-info { background: var(--info-soft); color: #075985; border-color: transparent; }

.tabs {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-bottom: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .35rem;
}
.tab, a.tab {
  display: inline-block;
  padding: .45rem .9rem; border-radius: 10px 10px 0 0;
  font-size: .82rem; font-weight: 700; color: var(--ink-muted);
  border: 1px solid transparent; border-bottom: none;
  text-decoration: none; cursor: pointer; background: transparent;
}
.tab.is-active, .tab.active, a.tab.is-active, a.tab.active {
  color: var(--navy); background: var(--bg-elevated);
  border-color: var(--line); box-shadow: 0 1px 0 #fff;
}

.modal-backdrop {
  position: fixed; inset: 0; z-index: 1200;
  display: none; align-items: flex-end; justify-content: center;
  padding: 1rem; background: rgba(10, 22, 40, .45);
  backdrop-filter: blur(3px);
}
.modal-backdrop.is-open { display: flex; }
.modal-backdrop[hidden],
.modal-backdrop.is-parked { display: none !important; }
.modal-backdrop.is-parked.is-open { display: none !important; }
.modal-sheet {
  width: min(560px, 100%);
  max-height: min(88dvh, 720px);
  overflow: hidden;
  background: var(--card-bg-solid); border-radius: 18px 18px 14px 14px;
  box-shadow: var(--shadow-lg); padding: 0;
  animation: modal-up .28s var(--ease);
  display: flex; flex-direction: column;
  min-height: 0;
}
.modal-sheet.modal-sm { width: min(400px, 100%); max-height: 85dvh; }
.modal-sheet.modal-md { width: min(480px, 100%); max-height: 88dvh; }
.modal-sheet.modal-lg { width: min(720px, 100%); max-height: 92dvh; }
.modal-sheet.modal-xl { width: min(1120px, 100%); max-height: 92dvh; }
.modal-sheet.student-detail-sheet {
  transition: width .18s ease;
}
.exam-form-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
/* Mobil: atama en Ã¼stte */
@media (max-width: 899px) {
  .exam-form-cols {
    display: flex;
    flex-direction: column;
  }
  .exam-form-col-assign {
    order: -1;
  }
}
@media (min-width: 900px) {
  .exam-form-cols {
    grid-template-columns: 1.85fr 1fr;
    gap: 1.15rem;
  }
  .exam-form-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
  }
  /* Sol kolonda birden fazla bölüm (dosya vb.) ezilmesin; sadece atama kolonu uzasın */
  .exam-form-col:not(.exam-form-col-assign) > .form-section {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
  }
  .exam-form-col-assign {
    align-self: stretch;
    min-height: 100%;
  }
  .exam-form-col-assign > .form-section,
  .exam-form-col-assign > .assign-section {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 0;
    height: 100%;
  }
  .exam-form-col-assign > .form-section > .form-section-title,
  .exam-form-col-assign > .form-section > .assign-section-toggle,
  .exam-form-col-assign > .assign-section > .assign-section-toggle {
    flex: 0 0 auto;
  }
  .exam-form-col-assign .assign-section-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    height: auto;
    margin-top: .45rem;
  }
  .exam-form-col-assign .assign-panel {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: .65rem;
    min-height: 0;
    max-height: none;
    height: 100%;
    align-items: stretch;
  }
  .exam-form-col-assign .assign-col {
    max-height: none !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    align-self: stretch;
    display: flex !important;
    flex-direction: column;
  }
  .exam-form-col-assign .assign-dd-menu,
  .exam-form-col-assign .assign-card-grid {
    flex: 1 1 auto !important;
    max-height: none !important;
    min-height: 0 !important;
    height: 100%;
  }
}
.exam-form-col .form-section:last-child { margin-bottom: 0; }

/* Atama: mobilde aÃ§Ä±lÄ±r/kapanÄ±r */
.assign-section-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.assign-section-toggle-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  min-width: 0;
}
.assign-section-toggle .form-section-title {
  margin: 0;
}
.assign-section-badge {
  font-weight: 700;
  color: var(--brand, #5b8fd4);
}
.assign-section-chevron {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--line, #e2e8f0);
  background: #fff;
  position: relative;
  transition: transform .18s ease, background .15s ease;
}
.assign-section-chevron::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: .45rem;
  height: .45rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: translateY(-15%) rotate(45deg);
}
.assign-section.is-open .assign-section-chevron {
  transform: rotate(180deg);
  background: var(--brand-soft, #e4eef9);
}
@media (max-width: 899px) {
  .assign-section-toggle {
    padding: .15rem 0 .35rem;
  }
  .assign-section:not(.is-open) .assign-section-body {
    display: none;
  }
  .assign-section.is-open .assign-section-body {
    display: block;
    margin-top: .35rem;
  }
  .assign-section .assign-panel {
    max-height: none;
    overflow: visible;
  }
}
@media (min-width: 900px) {
  .assign-section-toggle {
    pointer-events: none;
    cursor: default;
  }
  .assign-section-chevron {
    display: none;
  }
  .assign-section-body {
    display: block !important;
    margin-top: .55rem;
  }
  /* Popup içinde de açılır/kapanır kalır */
  .modal-backdrop .assign-section-toggle {
    pointer-events: auto;
    cursor: pointer;
  }
  .modal-backdrop .assign-section-chevron {
    display: inline-block;
  }
  .modal-backdrop .assign-section:not(.is-open) .assign-section-body {
    display: none !important;
  }
  .modal-backdrop .assign-section.is-open .assign-section-body {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: .35rem;
  }
}
.q-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.q-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.q-add-bar {
  display: flex;
  justify-content: center;
  margin: .15rem 0 .35rem;
  padding: .65rem .5rem;
  border: 1.5px dashed rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  background: rgba(239, 246, 255, 0.55);
  position: sticky;
  bottom: .35rem;
  z-index: 5;
}
.q-add-bar .btn {
  min-width: 9.5rem;
}
.exam-main-groups {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.exam-main-group {
  padding: .75rem .8rem .85rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.exam-main-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted, #64748b);
  margin: 0 0 .65rem;
}
.exam-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem .7rem;
}
.exam-main-grid > .form-group { margin: 0; }
.exam-main-full { grid-column: 1 / -1; }
.exam-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  align-items: start;
}
.exam-break-card {
  margin: 0;
  padding: .85rem .9rem;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.exam-break-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: .55rem;
}
.exam-break-title {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 800;
  color: #c2410c;
}
.exam-break-title svg { color: #ea580c; }
.exam-break-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.exam-break-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: .5rem;
}
.exam-break-fields .form-group label {
  color: #c2410c;
  font-size: .78rem;
}
.exam-break-hint {
  margin: 0;
  font-size: .72rem;
  color: #b45309;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .exam-main-grid,
  .exam-time-row,
  .exam-break-fields {
    grid-template-columns: 1fr;
  }
  .exam-main-full { grid-column: auto; }
}
.appt-datetime-cell {
  white-space: normal !important;
  line-height: 1.35;
}
.appt-dt-start,
.appt-dt-end {
  display: block;
}
.appt-dt-end {
  margin-top: .15rem;
}

.modal-sheet > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .95rem 1.15rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy-mid) 100%);
  color: #fff; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 2;
}
.modal-head h3, .modal-head .modal-title {
  margin: 0; font-size: 1.05rem; font-weight: 700; color: #fff;
  letter-spacing: .01em;
}
.modal-head .modal-title-sub { display: block; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.72); margin-top: .15rem; }
.modal-head .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.28); background: transparent;
}
.modal-head .btn-ghost:hover { background: rgba(255,255,255,.12); }
.modal-body {
  padding: 1.1rem 1.2rem 1rem;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal-body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.modal-sheet .assign-col,
.modal-backdrop .assign-col {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modal-sheet .assign-col::-webkit-scrollbar,
.modal-backdrop .assign-col::-webkit-scrollbar { display: none; width: 0; height: 0; }
.modal-foot {
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .55rem;
  padding: .85rem 1.15rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-bg-solid) 0%, var(--brand-soft) 100%);
  flex-shrink: 0;
  border-radius: 0 0 inherit inherit;
  z-index: 1;
}
.modal-foot [data-modal-history-back],
.modal-foot [data-modal-back] {
  order: -1;
  font-weight: 700;
}
.form-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem 1rem;
  margin-bottom: .9rem;
  background: var(--bg-soft, #f8fafc);
}
.form-section-title {
  margin: 0 0 .75rem;
  font-size: .86rem; font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
}
.form-grid-2 {
  display: grid; gap: .85rem;
}
@media (min-width: 720px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.assign-panel {
  display: grid; gap: .65rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}
@media (min-width: 720px) {
  .assign-panel { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); }
}
.assign-panel .assign-col,
.assign-col[data-assign-dropdown] {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .55rem .55rem .5rem;
  background: #fff;
  max-height: none;
  overflow: hidden;
  font-size: .8rem;
  color: #0f172a;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.assign-panel .assign-col.is-dd-open,
.assign-col[data-assign-dropdown].is-dd-open {
  z-index: 2;
}
/* JS yüklenene kadar ham satırları gizle; kart grid hazır olunca görünür */
.assign-col[data-assign-dropdown] > label.assign-pick {
  display: none !important;
}
.assign-col.is-assign-cards > .assign-dd-menu > label.assign-pick {
  display: flex !important;
}
.assign-panel .assign-col h4 {
  margin: 0 .1rem 0;
  font-size: .72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.assign-search {
  margin: 0;
  min-height: 38px;
  font-size: .85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.assign-dd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0;
}
.assign-dd-chips[hidden] { display: none !important; }
.assign-dd-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .22rem .5rem;
  border-radius: 999px;
  background: #dbeafe;
  border: 1px solid #93c5fd;
  color: #0f172a;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.assign-dd-menu,
.assign-card-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: .1rem 0 0;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: .1rem .05rem .2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.assign-dd-menu[hidden] { display: none !important; }
.assign-dd-empty {
  margin: .35rem .15rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  text-align: center;
}
.assign-dd-empty[hidden] { display: none !important; }
.assign-section {
  overflow: hidden;
  position: relative;
}
.assign-section-body {
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.modal-backdrop .assign-section.is-open,
.modal-backdrop .assign-col.is-dd-open {
  z-index: 5;
}
.modal-backdrop .assign-section.is-open {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.modal-backdrop .assign-section.is-open .assign-section-body,
.modal-backdrop .assign-section.is-open .assign-panel {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
.modal-backdrop .assign-section.is-open .assign-panel {
  align-items: stretch;
  display: grid;
}
.modal-backdrop .assign-section.is-open .assign-col {
  min-height: 0;
  height: 100%;
}
.modal-backdrop .assign-section.is-open .assign-dd-menu,
.modal-backdrop .assign-section.is-open .assign-card-grid {
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
}
.assign-pick {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: .45rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: .5rem .6rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #f8fafc;
  cursor: pointer;
  min-width: 0;
  min-height: 2.6rem;
  box-sizing: border-box;
  color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: hidden;
  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
  -webkit-user-select: none;
  user-select: none;
  flex: 0 0 auto;
}
.assign-pick[hidden] {
  display: none !important;
}
.assign-pick:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.assign-pick.is-on,
.assign-pick:has(input:checked) {
  background: #dbeafe;
  border-color: #60a5fa;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .12);
  color: #0f172a !important;
}
.assign-pick input.assign-pick-input,
.assign-pick input[type="checkbox"].no-ui-toggle {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: auto !important;
  cursor: pointer;
  z-index: 2;
  clip: auto !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}
.assign-pick-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .1rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  flex: 1 1 auto;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: hidden;
}
.assign-pick-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  width: 100%;
  min-width: 0;
  font-size: .74rem !important;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a !important;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.assign-pick-meta {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: .66rem !important;
  font-weight: 600;
  line-height: 1.2;
  color: #64748b !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.assign-pick.is-on .assign-pick-meta,
.assign-pick:has(input:checked) .assign-pick-meta {
  color: #334155 !important;
}
.lesson-file-rows {
  display: flex; flex-direction: column; gap: .55rem;
}
.lesson-file-row,
.lesson-file-existing {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: flex-end;
  padding: .65rem .7rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: #f8fafc;
}
.lesson-file-del {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .82rem; font-weight: 650; color: #64748b;
  white-space: nowrap; margin-bottom: .15rem;
}
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; text-align: center;
  border: 1.5px dashed var(--line-strong, #cbd5e1);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  background: #fff;
  color: var(--ink-muted);
  font-size: .86rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand, #5b8fd4); background: var(--brand-soft, #e4eef9); }
.dropzone input[type=file] { width: 100%; font-size: .8rem; }
.entity-actions {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin-top: .55rem;
}
.item-card .badge-row {
  display: flex; flex-wrap: wrap; gap: .35rem; margin: .35rem 0 .55rem;
}
.toggle-row {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem; border-radius: 10px; background: #fff; border: 1px solid var(--line);
}
.toggle-row input { width: auto; }
.q-block {
  border: 1.5px solid rgba(59, 130, 246, 0.28);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
  margin-bottom: .85rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.03);
}
.q-block-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .85rem;
}
.q-block-title {
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.q-block-del {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: none; border-radius: 10px;
  background: transparent;
  color: #dc2626;
  cursor: pointer;
  transition: background .15s;
}
.q-block-del:hover { background: #fef2f2; }
.q-field { margin-bottom: .85rem; }
.q-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.q-hint {
  margin: .4rem 0 0;
  font-size: .72rem;
  color: #94a3b8;
}
.q-textarea { min-height: 88px; resize: vertical; }
.q-preview-img {
  max-width: 180px;
  margin-top: .45rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.q-type-tabs {
  display: flex; flex-wrap: wrap; gap: .45rem;
}
.q-type-tab {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  border-radius: 12px;
  padding: .45rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.q-type-tab:hover { border-color: #93c5fd; color: #1d4ed8; }
.q-type-tab.is-active {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.q-tint {
  border-radius: 14px;
  padding: .85rem .9rem;
  margin-bottom: .85rem;
}
.q-tint-topic {
  background: #f5f3ff;
  border: 1px solid rgba(99, 102, 241, 0.16);
}
.q-label-topic { color: #4338ca; }
.q-hint-topic { color: #6366f1; }
.q-opts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .65rem;
}
.q-opts-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.q-opt-btn {
  border: none;
  border-radius: 10px;
  padding: .4rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s, transform .1s;
}
.q-opt-btn:active { transform: translateY(1px); }
.q-opt-add {
  background: #f97316;
  color: #fff;
}
.q-opt-add:hover { filter: brightness(1.05); }
.q-opt-remove {
  background: #fee2e2;
  color: #b91c1c;
}
.q-opt-remove:hover { background: #fecaca; }
.q-opts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  margin-bottom: .85rem;
}
@media (min-width: 560px) {
  .q-opts-grid { grid-template-columns: 1fr 1fr; }
}
.q-opt-row {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.q-opt-badge {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: .78rem;
  font-weight: 800;
}
.q-opt-row .form-control { flex: 1; min-width: 0; }
.q-footer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}
@media (min-width: 560px) {
  .q-footer-row { grid-template-columns: 120px 1fr; }
}
.q-tint-time {
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.18);
  margin-bottom: 0;
}
.q-tint-answer {
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.2);
  margin-bottom: 0;
}
.q-label-answer { color: #c2410c; }
.q-correct-radios {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
  margin-top: .15rem;
}
.q-correct-opt {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  margin: 0;
}
.q-correct-opt input {
  width: 1rem;
  height: 1rem;
  accent-color: #3b82f6;
}
.q-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.booklet-answer-grid {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-height: min(52dvh, 520px);
  overflow: auto;
  padding: .55rem;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 12px;
  background: #f8fbff;
}
.booklet-ans-row {
  display: grid;
  grid-template-columns: 36px 64px minmax(140px, 1fr);
  gap: .45rem;
  align-items: start;
  padding: .45rem .5rem;
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: 10px;
}
.booklet-ans-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .75rem;
  font-weight: 800;
}
.booklet-ans-select {
  width: 100%;
  min-height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  padding: .25rem .35rem;
  font-weight: 700;
  background: #fff;
}
.booklet-topic-fields {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}
.booklet-topic-sel,
.booklet-topic-input {
  font-size: .78rem !important;
  min-height: 34px;
  padding: .3rem .5rem !important;
}
.booklet-ans-item {
  display: flex; flex-direction: column; gap: .2rem;
  font-size: .72rem; font-weight: 700; color: var(--ink-muted);
}
.booklet-ans-item select {
  width: 100%;
  padding: .25rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong, #cbd5e1);
}
@media (max-width: 560px) {
  .booklet-ans-row {
    grid-template-columns: 32px 56px 1fr;
  }
}
@media (min-width: 640px) {
  .modal-backdrop { align-items: center; }
  .modal-sheet { border-radius: var(--radius-lg); }
  .modal-head { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}
@keyframes modal-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.modal-open {
  position: fixed;
  inset: 0;
  width: 100%;
  touch-action: none;
}
body.modal-open.panel-body {
  height: 100dvh;
  max-height: 100dvh;
}
body.modal-open .panel-content,
body.modal-open .panel-main {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* ========== List / hub helpers (Aidatla-inspired) ========== */
.dark-bar {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.15rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy-mid) 100%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.dark-bar::after {
  content: ''; position: absolute; top: -40%; right: -8%;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(91, 143, 212, .12); pointer-events: none;
}
.dark-bar > * { position: relative; z-index: 1; }
.dark-bar h2 { margin: 0; font-size: 1.35rem; color: #fff; }
.dark-bar p { margin: .35rem 0 0; font-size: .88rem; color: rgba(255,255,255,.72); }
.dark-bar-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.dark-bar-actions .btn {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.dark-bar-actions .btn:hover { background: rgba(255,255,255,.18); }
.dark-bar-actions .btn-gold-outline {
  background: rgba(91, 143, 212, .85); border-color: transparent; color: #fff;
}
.dark-bar-actions .btn-gold-outline:hover { background: var(--brand); }

.kpi-row {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) {
  .kpi-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.kpi-row .stat-card { margin: 0; }

.table-overdue {
  border-color: rgba(220, 38, 38, .25);
  background: linear-gradient(180deg, #fff5f5 0%, #fff 48%);
}
.table tbody tr.row-overdue td {
  background: rgba(254, 226, 226, .45);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hub-card-color {
  color: #fff !important;
  border: none;
  min-height: 150px;
  justify-content: flex-start;
}
.hub-card-color .tiny { color: rgba(255,255,255,.85) !important; }
.hub-card-color .hub-card-ico {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2);
  margin-bottom: .35rem;
}
.hub-card-color:hover { transform: translateY(-3px); filter: brightness(1.05); }
.hub-card-red { background: linear-gradient(145deg, #ef4444, #e11d48); }
.hub-card-blue { background: linear-gradient(145deg, #3b82f6, #2563eb); }
.hub-card-green { background: linear-gradient(145deg, #10b981, #0f766e); }
.hub-card-orange { background: linear-gradient(145deg, #f59e0b, #ea580c); }
.hub-card-purple { background: linear-gradient(145deg, #8b5cf6, #6366f1); }
.hub-card-pink { background: linear-gradient(145deg, #f43f5e, #db2777); }
.hub-grid-color { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.report-topic-comment {
  margin: .55rem 0 0;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: .55rem .7rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(228,238,249,.75), rgba(255,255,255,.9));
  border-left: 3px solid var(--brand);
}
.report-smart-panel .report-smart-text {
  font-size: .95rem;
  line-height: 1.65;
}
.rpdf-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}
.rpdf-pick-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(10, 22, 40, .1);
  border-radius: 10px;
  background: #f7fafc;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.rpdf-pick-item:hover { border-color: rgba(61, 111, 173, .45); background: #eef4fb; }
.rpdf-pick-item input { accent-color: #1a3d6e; }
@media (max-width: 640px) {
  .rpdf-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.report-pdf-cover { display: none; }
.printable-only { display: none; }
.rpdf-only { display: none; }
.rpdf-running-brand { display: none; }
.rpdf-print-shell { width: 100%; border-collapse: collapse; }
.rpdf-print-shell > thead > tr > td,
.rpdf-print-shell > tbody > tr > td,
.rpdf-print-shell > tfoot > tr > td { border: 0; padding: 0; vertical-align: top; }

/* YazdÄ±rma Ã¶nizleme popup */
#modalPrintPreview.print-preview-backdrop {
  padding: .5rem;
  align-items: stretch;
  justify-content: center;
  z-index: 1300;
}
#modalPrintPreview .print-preview-sheet {
  width: min(920px, 100%) !important;
  max-width: 100%;
  max-height: min(96dvh, 100%);
  height: min(96dvh, 100%);
  margin: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
#modalPrintPreview .modal-head,
#modalPrintPreview .modal-foot {
  flex: 0 0 auto;
}
#modalPrintPreview .print-preview-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(180deg, #d9e4f0, #e8eef5 40%, #eef2f7);
  padding: .65rem !important;
}
#modalPrintPreview .print-preview-paper {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(10, 22, 40, .14);
  border: 1px solid rgba(15, 55, 95, .1);
  padding: 1rem .9rem 1.15rem;
  width: 100%;
  max-width: 210mm;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  color: #0a1628;
  font-size: 10pt;
  line-height: 1.4;
}
#modalPrintPreview .print-preview-paper .rpdf-only,
#modalPrintPreview .print-preview-paper .rpdf-document,
#modalPrintPreview .print-preview-paper .exam-result-sheet,
#modalPrintPreview .print-preview-paper .printable-only,
#modalPrintPreview .print-preview-paper .report-pdf-cover {
  display: block !important;
}
#modalPrintPreview .print-preview-paper .rpdf-running-brand {
  display: flex !important;
}
#modalPrintPreview .print-preview-paper .no-print { display: none !important; }
#modalPrintPreview .print-preview-paper .rpdf-sec-off { display: none !important; }
#modalPrintPreview .print-preview-paper .rpdf-print-shell { width: 100%; }
#modalPrintPreview .print-preview-paper .btn,
#modalPrintPreview .print-preview-paper [data-open-modal],
#modalPrintPreview .print-preview-paper [data-print-preview],
#modalPrintPreview .print-preview-paper .page-intro-actions {
  display: none !important;
}
#modalPrintPreview .print-preview-empty {
  margin: 0;
  padding: 1.5rem .5rem;
  text-align: center;
  color: #64748b;
  font-size: .88rem;
}
#modalPrintPreview .modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(15, 55, 95, .08);
  background: #fff;
}
#modalPrintPreview .modal-foot .btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  justify-content: center;
}

@media (max-width: 640px) {
  #modalPrintPreview.print-preview-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  html[data-geyik-app="1"] #modalPrintPreview.print-preview-backdrop {
    padding: .5rem .65rem !important;
    align-items: center !important;
  }
  html[data-geyik-app="1"] #modalPrintPreview.print-preview-backdrop.is-keyboard-open {
    align-items: flex-end !important;
  }
  #modalPrintPreview .print-preview-sheet {
    width: 100% !important;
    max-width: 100%;
    height: min(100dvh, 100%);
    max-height: min(100dvh, 100%);
    border-radius: 14px 14px 0 0;
  }
  html[data-geyik-app="1"] #modalPrintPreview .print-preview-sheet {
    width: min(920px, calc(100% - .5rem)) !important;
    height: auto;
    max-height: calc(var(--geyik-vv-height, 100dvh) - 1rem) !important;
    border-radius: 16px !important;
  }
  #modalPrintPreview .modal-head {
    padding: .7rem .8rem;
  }
  #modalPrintPreview .modal-head h3 {
    font-size: 1rem;
  }
  #modalPrintPreview .modal-title-sub {
    font-size: .72rem;
  }
  #modalPrintPreview .print-preview-body {
    padding: .45rem !important;
  }
  #modalPrintPreview .print-preview-paper {
    padding: .7rem .65rem .85rem;
    border-radius: 6px;
    max-width: none;
    font-size: 9pt;
  }
  #modalPrintPreview .print-preview-paper .rpdf-meta-grid {
    grid-template-columns: 1fr !important;
  }
  #modalPrintPreview .print-preview-paper .rpdf-header-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #modalPrintPreview .print-preview-paper .rpdf-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #modalPrintPreview .print-preview-paper .rpdf-charts-2 {
    grid-template-columns: 1fr !important;
  }
  #modalPrintPreview .print-preview-paper .rpdf-sheet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  #modalPrintPreview .print-preview-paper .rpdf-doctype {
    text-align: left;
  }
  #modalPrintPreview .print-preview-paper .rpdf-logo {
    height: 34px;
  }
  #modalPrintPreview .print-preview-paper .rpdf-brand-text strong {
    font-size: 13pt;
  }
  #modalPrintPreview .print-preview-paper .rpdf-table,
  #modalPrintPreview .print-preview-paper .pr-table {
    font-size: 7.5pt;
    min-width: 28rem;
  }
  #modalPrintPreview .print-preview-paper .rpdf-sheet-footer {
    flex-wrap: wrap !important;
  }
  #modalPrintPreview .print-preview-paper .rpdf-footer-note {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: left;
  }
  #modalPrintPreview .modal-foot {
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  }
  #modalPrintPreview .modal-foot .btn {
    min-height: 2.5rem;
  }
}

/* PDF dÃ¼zeni â ekran Ã¶nizleme + yazdÄ±rma (kaynak .rpdf-only ile gizli) */
.rpdf-document {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fff !important;
    color: #0a1628 !important;
    font-size: 10pt;
    line-height: 1.4;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    float: none !important;
    transform: none !important;
  }

/* thead/tfoot ile her sayfada Ã¼st Åerit + alt bilgi */
  .rpdf-print-shell {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
  }

.rpdf-print-shell > thead { display: table-header-group !important; }

.rpdf-print-shell > tfoot { display: table-footer-group !important; }

.rpdf-print-shell > tbody { display: table-row-group !important; }

.rpdf-print-shell > thead > tr > td,
  .rpdf-print-shell > tbody > tr > td,
  .rpdf-print-shell > tfoot > tr > td {
    border: 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
  }

.rpdf-print-body {
    overflow: visible !important;
  }

.rpdf-running-brand {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 8px;
    padding: 0 0 5px;
    margin: 0 0 8px;
    border-bottom: 1px solid #c9d8ea;
    font-size: 7.5pt;
    color: #5a7189;
  }

.rpdf-running-brand strong {
    color: #0a1628;
    font-size: 8.5pt;
  }

.rpdf-document .rpdf-bar,
  .rpdf-document .progress-bar {
    overflow: hidden !important;
  }

.rpdf-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 8px;
    margin-bottom: 8px;
    border-bottom: 3px solid #0a1628;
  }

.rpdf-brand { display: flex; align-items: center; gap: 10px; }

.rpdf-logo { height: 44px; width: auto; display: block; }

.rpdf-brand-text strong {
    display: block;
    font-family: var(--display), Georgia, serif;
    font-size: 15pt;
    color: #0a1628;
    line-height: 1.15;
  }

.rpdf-brand-text span { display: block; font-size: 8.5pt; color: #243b55; }

.rpdf-brand-text em { display: block; font-style: normal; font-size: 7.5pt; color: #5a7189; }

.rpdf-doctype { text-align: right; }

.rpdf-doctype span {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #0a1628;
    color: #fff;
    font-size: 8pt;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

.rpdf-doctype time { display: block; margin-top: 5px; font-size: 8pt; color: #5a7189; }

.rpdf-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }

.rpdf-meta-card {
    border: 1px solid #c9d8ea;
    border-radius: 8px;
    padding: 9px 10px;
    background: linear-gradient(180deg, #f7fafc 0%, #eef4fb 100%);
  }

.rpdf-meta-card h4 {
    margin: 0 0 4px;
    font-size: 7.5pt;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #3d6fad;
  }

.rpdf-meta-name {
    margin: 0 0 2px !important;
    font-weight: 800 !important;
    font-size: 10.5pt !important;
    color: #0a1628 !important;
  }

.rpdf-meta-card p { margin: 0; font-size: 8pt; color: #243b55; }

.rpdf-header-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-bottom: 14px;
  }

.rpdf-header-kpis div {
    text-align: center;
    padding: 8px 6px;
    border-radius: 8px;
    background: #0a1628;
    color: #fff;
  }

.rpdf-header-kpis strong {
    display: block;
    font-family: var(--display), Georgia, serif;
    font-size: 12pt;
    font-weight: 800;
  }

.rpdf-header-kpis span {
    display: block;
    margin-top: 2px;
    font-size: 7pt;
    opacity: .78;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

.rpdf-teacher-note {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e4eef9;
    border-left: 3px solid #3d6fad;
  }

.rpdf-teacher-note h3 { margin: 0 0 4px; font-size: 10pt; }

.rpdf-teacher-note p { margin: 0; font-size: 9.5pt; }

.rpdf-content {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

.rpdf-sec {
    break-inside: auto !important;
    page-break-inside: auto !important;
    margin: 0 0 8px;
    padding: 0 0 6px;
    border-bottom: 1px solid #d7e3f2;
    overflow: visible !important;
  }

.rpdf-sec + .rpdf-sec {
    break-before: auto;
    page-break-before: auto;
    margin-top: 6px;
    padding-top: 4px;
  }

.rpdf-sec:last-of-type { border-bottom: 0; }

.rpdf-sec-head {
    display: block !important;
    margin: 0 0 6px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #eef4fb;
    border-left: 4px solid #3d6fad;
    break-inside: auto;
    page-break-inside: auto;
  }

.rpdf-sec-head.tone-orange { border-left-color: #d97706; background: #fff7ed; }

.rpdf-sec-head.tone-gold { border-left-color: #b45309; background: #fffbeb; }

.rpdf-sec-head.tone-navy { border-left-color: #1e3a5f; background: #eef4fb; }

.rpdf-sec-head h2 {
    margin: 0;
    font-size: 11pt;
    font-family: var(--display), Georgia, serif;
    color: #0a1628;
  }

.rpdf-sec-head p { margin: 2px 0 0; font-size: 7.5pt; color: #5a7189; text-align: left; }

.rpdf-sub {
    margin: 10px 0 5px;
    font-size: 9.5pt;
    color: #1a3d6e;
  }

.rpdf-kpi-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }

.rpdf-kpi {
    border: 1px solid #d7e3f2;
    border-radius: 7px;
    padding: 7px 5px;
    text-align: center;
    background: #f8fafc;
  }

.rpdf-kpi.c1 { background: #dbeafe; border-color: #93c5fd; }

.rpdf-kpi.c2 { background: #fef3c7; border-color: #fcd34d; }

.rpdf-kpi.c3 { background: #d1fae5; border-color: #6ee7b7; }

.rpdf-kpi.c4 { background: #ede9fe; border-color: #c4b5fd; }

.rpdf-kpi.c5 { background: #ffedd5; border-color: #fdba74; }

.rpdf-kpi.c6 { background: #e0f2fe; border-color: #7dd3fc; }

.rpdf-kpi strong {
    display: block;
    font-size: 11pt;
    font-weight: 800;
    color: #0a1628;
  }

.rpdf-kpi span {
    display: block;
    margin-top: 1px;
    font-size: 6.5pt;
    color: #5a7189;
    text-transform: uppercase;
    letter-spacing: .03em;
  }

.rpdf-score-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
  }

.rpdf-score {
    flex: 1 1 22%;
    min-width: 70px;
    padding: 7px 8px;
    border-radius: 7px;
    background: #f1f5f9;
    border: 1px solid #d7e3f2;
  }

.rpdf-score.is-accent {
    background: #0a1628;
    border-color: #0a1628;
    color: #fff;
  }

.rpdf-score.c-green {
    background: #065f46;
    border-color: #065f46;
    color: #fff;
  }

.rpdf-score span { display: block; font-size: 7pt; opacity: .8; }

.rpdf-score strong { display: block; font-size: 11pt; margin-top: 2px; }

.rpdf-charts-2 {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 8px;
    margin-bottom: 8px;
  }

.rpdf-chart-card {
    border: 1px solid #d7e3f2;
    border-radius: 8px;
    padding: 8px 9px 6px;
    background: #fff;
    margin-bottom: 8px;
    break-inside: auto;
    page-break-inside: auto;
  }

.rpdf-chart-card h3 {
    margin: 0 0 6px;
    font-size: 9pt;
    color: #1a3d6e;
  }

.rpdf-chart {
    display: block;
    width: 100%;
    height: auto;
  }

.rpdf-chart-card-donut .rpdf-donut-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }

.rpdf-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 8pt;
    color: #243b55;
  }

.rpdf-legend li {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 4px;
  }

.rpdf-legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
  }

.rpdf-smart {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 7px;
    background: linear-gradient(135deg, #e8f1fb, #f0f9ff);
    border: 1px solid #c5d8ef;
  }

.rpdf-smart h3 { margin: 0 0 3px; font-size: 9.5pt; color: #1a3d6e; }

.rpdf-smart p { margin: 0; font-size: 9pt; color: #243b55; }

.rpdf-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }

.rpdf-chips span {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 7.5pt;
    font-weight: 700;
    background: #eef4fb;
    color: #1a3d6e;
  }

.rpdf-chips .is-ok { background: #dcfce7; color: #166534; }

.rpdf-chips .is-warn { background: #ffedd5; color: #9a3412; }

.rpdf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8pt;
    margin: 0 0 4px;
    break-inside: auto;
    page-break-inside: auto;
  }

.rpdf-table thead { display: table-header-group; }

.rpdf-table tr {
    break-inside: auto;
    page-break-inside: auto;
  }

.rpdf-table th,
  .rpdf-table td {
    border: 1px solid #d7e3f2;
    padding: 4px 6px;
    text-align: left;
    vertical-align: top;
  }

.rpdf-table th {
    background: #0a1628 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 7.5pt;
  }

.rpdf-table tr:nth-child(even) td { background: #f5f8fc; }

.rpdf-bar {
    display: inline-block;
    width: 54px;
    height: 6px;
    margin-right: 4px;
    border-radius: 99px;
    background: #e2e8f0;
    vertical-align: middle;
    overflow: hidden;
  }

.rpdf-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #3d6fad, #06b6d4);
  }

.rpdf-status-card {
    border: 1px solid #d7e3f2;
    border-radius: 7px;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: linear-gradient(180deg, #ffffff, #f0f7ff);
    break-inside: avoid;
  }

.rpdf-status-card header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
  }

.rpdf-status-card header strong { font-size: 9.5pt; }

.rpdf-status-card header span { font-size: 7.5pt; color: #3d6fad; font-weight: 700; }

.rpdf-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 7.5pt;
    color: #5a7189;
    margin-bottom: 3px;
  }

.rpdf-status-card p { margin: 0; font-size: 8.5pt; color: #243b55; }

.rpdf-empty, .rpdf-more {
    margin: 0;
    font-size: 8pt;
    color: #5a7189;
  }

.rpdf-smart,
  .rpdf-kpi-row,
  .rpdf-score-row,
  .rpdf-meta-grid,
  .rpdf-header-kpis,
  .rpdf-sheet-header,
  .rpdf-status-card,
  .rpdf-teacher-note,
  .printable-block,
  .rpdf-document .pr-report .pr-hero,
  .rpdf-document .pr-report .pr-kpis,
  .rpdf-document .pr-report .pr-topic,
  .rpdf-document .pr-report .pr-smart {
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

.rpdf-document .list-panel {
    box-shadow: none !important;
    border: 1px solid #d7e3f2 !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
    overflow: visible !important;
    break-inside: auto;
    page-break-inside: auto;
  }

.rpdf-document .report-sec-head {
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    break-after: avoid;
    page-break-after: avoid;
  }

.rpdf-document .report-chart-wrap,
  .rpdf-document .report-chart-tall { height: 150px !important; }

.rpdf-document .pr-report .pr-kpis {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 5px !important;
    margin: 0 0 8px !important;
  }

.rpdf-document .pr-report .pr-sec {
    box-shadow: none !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
    margin: 0 0 6px !important;
    padding: 6px 8px !important;
    border: 1px solid #d7e3f2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    overflow: visible !important;
  }

.rpdf-document .pr-report .pr-sec + .pr-sec {
    break-before: auto;
    page-break-before: auto;
  }

.rpdf-document .pr-report .pr-sec h3 {
    margin: 0 0 4px !important;
    font-size: 10pt !important;
  }

.rpdf-document .pr-report .pr-sec h4 {
    margin: 4px 0 2px !important;
    font-size: 7.5pt !important;
  }

.rpdf-document .pr-report .pr-sec p,
  .rpdf-document .pr-report .pr-sec li {
    font-size: 8.5pt !important;
    line-height: 1.35 !important;
    margin: 0 0 2px !important;
  }

.rpdf-document .pr-report .pr-sec ul,
  .rpdf-document .pr-report .pr-sec ol {
    margin: 2px 0 0 !important;
    padding-left: 1rem !important;
  }

.rpdf-document .pr-report .pr-note {
    padding: 5px 7px !important;
    margin: 0 !important;
  }

.rpdf-document .pr-report .pr-topic-grid {
    gap: 5px !important;
    margin: 4px 0 0 !important;
  }

.rpdf-document .pr-report .pr-topic {
    padding: 5px 6px !important;
    margin: 0 !important;
    border-radius: 6px !important;
  }

.rpdf-document .pr-report .pr-tip {
    margin: 3px 0 0 !important;
    padding: 3px 5px !important;
    font-size: 7.5pt !important;
  }

.rpdf-document .pr-report .pr-actions { padding: 6px 8px !important; }

.rpdf-document .pr-report .pr-help {
    margin-top: 4px !important;
    font-size: 7.5pt !important;
  }

.rpdf-document .pr-report .pr-hero,
  .rpdf-document .pr-report .pr-foot {
    display: none !important;
  }

.rpdf-document .pr-report .pr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8pt;
    margin: 4px 0 0 !important;
  }

.rpdf-document .pr-report .pr-table thead { display: table-header-group; }

.rpdf-document .pr-report .pr-table tr {
    break-inside: auto;
    page-break-inside: auto;
  }

.rpdf-document .pr-report .pr-table th,
  .rpdf-document .pr-report .pr-table td {
    padding: 3px 5px !important;
  }

.rpdf-document .pr-report .pr-table th {
    background: #0a1628 !important;
    color: #fff !important;
  }

.rpdf-document .pr-report .pr-kpis div {
    background: #dbeafe !important;
    border: 1px solid #93c5fd !important;
    color: #0a1628 !important;
    padding: 5px 4px !important;
  }

.rpdf-document .pr-report .pr-kpis div:nth-child(2) { background: #fef3c7 !important; border-color: #fcd34d !important; }

.rpdf-document .pr-report .pr-kpis div:nth-child(3) { background: #d1fae5 !important; border-color: #6ee7b7 !important; }

.rpdf-document .pr-report .pr-kpis div:nth-child(4) { background: #ede9fe !important; border-color: #c4b5fd !important; }

.rpdf-document .pr-report .pr-kpis div:nth-child(5) { background: #ffedd5 !important; border-color: #fdba74 !important; }

.rpdf-document .pr-report .pr-kpis div:nth-child(6) { background: #e0f2fe !important; border-color: #7dd3fc !important; }

.rpdf-document .pr-report {
    overflow: visible !important;
    display: block !important;
  }

.rpdf-content {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 0 2mm !important;
    margin: 0 !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

/* tfoot iÃ§inde â her sayfada aynÄ± hizada */
  .rpdf-sheet-footer {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 8px 0 0 !important;
    padding: 6px 0 0 !important;
    border-top: 1.5px solid #0a1628 !important;
    background: #fff !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: auto !important;
    box-sizing: border-box !important;
  }

.rpdf-footer-brand { display: flex; align-items: center; gap: 8px; margin: 0 !important; flex: 1 1 auto; min-width: 0; }

.rpdf-footer-icon { height: 26px; width: auto; max-height: 28px; flex-shrink: 0; object-fit: contain; }

.rpdf-footer-brand strong { display: block; font-size: 8.5pt; color: #0a1628; line-height: 1.2; }

.rpdf-footer-brand span { display: block; font-size: 7pt; color: #5a7189; line-height: 1.2; }

.rpdf-footer-note {
    font-size: 7pt;
    color: #5a7189;
    text-align: right;
    max-width: 52%;
    line-height: 1.25;
    margin: 0 !important;
    flex: 0 1 52%;
  }

.report-hero, .report-sec-head, .report-insight-card,
  .report-score-pill, .progress-bar i, .status-chip, .badge,
  .rpdf-meta-card, .rpdf-header-kpis div, .rpdf-kpi, .rpdf-score,
  .rpdf-sec-head, .rpdf-table th, .rpdf-bar i, .rpdf-chart,
  .rpdf-chips span, .rpdf-legend i, .rpdf-status-card,
  .pr-report .pr-hero, .pr-report .pr-kpis div,
  .rpdf-sheet-footer {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

@media print {
@page { size: A4; margin: 10mm 12mm 12mm; }

html, body {
    background: #fff !important;
    color: #0a1628 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: block !important;
  }

/* Flex/sticky panel Chrome'da sayfa keser â block + gÃ¶rÃ¼nÃ¼r yap */
  .panel-body,
  .panel-main,
  .panel-content,
  .panel-shell,
  .main,
  .content {
    display: block !important;
    flex: none !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    filter: none !important;
  }

  .panel-sidebar,
  .app-header,
  .app-tabbar,
  .panel-nav,
  .manage-tabs,
  .toast-stack,
  .modal-backdrop,
  .sub-readonly-banner,
  .no-print,
  .filter-tabs,
  .list-toolbar,
  .page-intro,
  .hub-grid,
  .btn,
  [data-open-modal] {
    display: none !important;
  }

  /* Belge body'ye taÅÄ±ndÄ±ÄÄ±nda sadece o basÄ±lsÄ±n */
  body.rpdf-printing > *:not(.rpdf-document):not(.exam-result-sheet) {
    display: none !important;
  }

body.rpdf-printing .panel-content > *:not(.rpdf-document):not(.exam-result-sheet) {
    display: none !important;
  }

body.rpdf-printing .exam-result-sheet {
  display: block !important;
}

.rpdf-only { display: block !important; }

.report-pdf-cover, .printable-only { display: none !important; }

.rpdf-sec-off { display: none !important; }

p, li, td, th {
    orphans: 3;
    widows: 3;
  }
}


/* Raporlar & Analiz command center */
.report-hero {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10,22,40,.98), rgba(19,42,74,.94)),
    radial-gradient(circle at 88% 12%, rgba(91,143,212,.42), transparent 42%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.45rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-lg);
}
.report-hero-kicker {
  margin: 0 0 .2rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(247,239,212,.85);
}
.report-hero h1 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800; color: #fff;
}
.report-hero > div > p {
  margin: 0; color: rgba(255,255,255,.78); font-size: .92rem; max-width: 36rem;
}
.report-hero-meta {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem;
}
.report-hero-actions {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.report-kpi .stat-card strong { font-size: 1.35rem; }
@media (min-width: 1100px) {
  .report-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.report-filters { padding: 1rem 1.1rem; }
.report-tab { flex-wrap: wrap; }
.report-sec-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem;
  padding: .95rem 1.15rem;
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: .85rem;
  box-shadow: var(--shadow);
}
.report-sec-head h2 {
  margin: 0; font-size: 1.1rem; font-family: var(--display); font-weight: 800; color: #fff;
}
.report-sec-head p {
  margin: .2rem 0 0; font-size: .82rem; color: rgba(255,255,255,.82);
}
.report-sec-head.tone-navy {
  background: linear-gradient(135deg, #0a1628, #1a3a66);
}
.report-sec-head.tone-orange {
  background: linear-gradient(135deg, #122a4a, #1a3d6e 55%, #5b8fd4);
}
.report-sec-head.tone-gold {
  background: linear-gradient(135deg, #0a1628 8%, #3d6fad 52%, #5b8fd4);
}
.report-sec-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.report-sec-chips .badge {
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.12);
}
.report-sec-chips .badge-gold {
  background: rgba(91,143,212,.28); color: #e4eef9;
}
.report-analysis {
  margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-soft);
}
.report-status-grid {
  display: grid; gap: .85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .report-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.report-status-card {
  border-top: 3px solid var(--brand);
}
.badge-row {
  display: flex; flex-wrap: wrap; gap: .35rem;
}
.badge-gold {
  background: var(--brand-soft); color: var(--brand-dark);
}

/* Raporlar â analiz kartlarÄ± & zengin grafikler */
.report-insight-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .report-insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .report-insight-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.report-insight-card {
  padding: .85rem .9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 8px 22px rgba(10,22,40,.045);
  border-top: 3px solid #5b8fd4;
  min-width: 0;
}
.report-insight-card.tone-navy { border-top-color: #0a1628; }
.report-insight-card.tone-ok { border-top-color: #059669; }
.report-insight-card.tone-warn { border-top-color: #d97706; }
.report-insight-card.tone-danger { border-top-color: #e07a5f; }
.report-insight-card.tone-sky { border-top-color: #38bdf8; }
.report-insight-label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .2rem;
}
.report-insight-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a1628;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-insight-hint {
  display: block;
  margin-top: .25rem;
  font-size: .72rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.report-analysis-panel .report-analysis-body {
  padding: 1rem 1.1rem 1.15rem;
}
.report-insight-list {
  margin: .75rem 0 0;
  padding-left: 1.15rem;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.report-insight-list li { margin: .25rem 0; }
.report-insight-list strong { color: #0a1628; }

.report-score-banner {
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .report-score-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .report-score-banner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.report-score-pill {
  padding: .85rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 8px 20px rgba(10,22,40,.04);
}
.report-score-pill strong {
  display: block;
  margin-top: .15rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0a1628;
  line-height: 1.1;
}
.report-score-pill em {
  display: block;
  margin-top: .25rem;
  font-style: normal;
  font-size: .72rem;
  color: var(--ink-soft);
}
.report-score-pill.is-accent {
  background: linear-gradient(145deg, #0a1628, #1a3a66);
  color: #fff;
  border-color: transparent;
}
.report-score-pill.is-accent .tiny,
.report-score-pill.is-accent em { color: rgba(255,255,255,.72); }
.report-score-pill.is-accent strong { color: #fff; }

.report-family-kpis {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
@media (min-width: 900px) {
  .report-family-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.report-family-kpi {
  padding: .8rem .9rem;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, rgba(232,240,250,.65));
  border: 1px solid rgba(10,22,40,.07);
  border-left: 4px solid var(--brand);
}
.report-family-kpi.report-family-lgs { border-left-color: #0a1628; }
.report-family-kpi.report-family-tyt { border-left-color: #5b8fd4; }
.report-family-kpi.report-family-ayt { border-left-color: #3d6fad; }
.report-family-kpi.report-family-ydt { border-left-color: #7aa7db; }
.report-family-tag {
  display: inline-block;
  margin-bottom: .25rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(10,22,40,.08);
  color: #0a1628;
}
.report-family-lgs .report-family-tag { background: #8b5cf6; color: #fff; }
.report-family-tyt .report-family-tag { background: #3b82f6; color: #fff; }
.report-family-ayt .report-family-tag { background: #10b981; color: #fff; }
.report-family-ydt .report-family-tag { background: #f59e0b; color: #0a1628; }
.report-family-kpi.report-family-lgs { border-left-color: #8b5cf6; }
.report-family-kpi.report-family-tyt { border-left-color: #3b82f6; }
.report-family-kpi.report-family-ayt { border-left-color: #10b981; }
.report-family-kpi.report-family-ydt { border-left-color: #f59e0b; }
.report-family-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a1628;
}

.report-charts-rich {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .report-charts-rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.report-charts-rich .report-chart-wide {
  grid-column: 1 / -1;
}
.report-chart-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,252,.9));
  border: 1px solid rgba(10,22,40,.07);
}
.report-chart-card .list-panel-head {
  background: linear-gradient(90deg, rgba(91,143,212,.08), transparent);
}
.report-chart-card .report-chart-wrap {
  padding: 1rem 1.1rem 1.15rem;
  height: 280px;
}
.report-chart-card .report-chart-tall {
  height: 320px;
}
.report-mini-bar {
  margin-top: .45rem;
  height: 6px;
}
.report-filters {
  flex-wrap: wrap;
  align-items: flex-end;
}
.report-filters .form-group {
  min-width: 140px;
}
.report-domain-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
@media (min-width: 900px) {
  .report-domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.report-domain-card {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, rgba(228,238,249,.55));
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 8px 20px rgba(10,22,40,.04);
  border-top: 3px solid var(--brand);
}
.report-domain-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .45rem;
}
.report-domain-card header strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--navy);
}
.report-domain-card header span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.report-domain-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.report-smart-card {
  margin-bottom: 1rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.98), rgba(228,238,249,.72));
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 10px 26px rgba(10,22,40,.05);
  border-top: 3px solid var(--brand);
}
.report-smart-card.tone-strong { border-top-color: #3d6fad; }
.report-smart-card.tone-mid { border-top-color: #5b8fd4; }
.report-smart-card.tone-weak { border-top-color: #1a3d6e; }
.report-smart-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}
.report-smart-kicker {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .15rem;
}
.report-smart-card-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
}
.report-smart-summary {
  margin: 0 0 .75rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.report-smart-cols {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
  margin-bottom: .75rem;
}
@media (min-width: 800px) {
  .report-smart-cols { grid-template-columns: 1fr 1fr; }
}
.report-smart-cols h4 {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.report-smart-cols ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.report-smart-cols li { margin: .22rem 0; }
.report-smart-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.report-smart-tag {
  display: inline-block;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.report-smart-tag.is-strong { background: rgba(61,111,173,.15); color: #1a3d6e; }
.report-smart-tag.is-weak { background: rgba(10,22,40,.1); color: #0a1628; }

.report-topic-cards {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
@media (min-width: 800px) {
  .report-topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.report-topic-card {
  padding: .95rem 1rem 1.05rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 8px 20px rgba(10,22,40,.04);
  border-left: 4px solid var(--brand);
  min-width: 0;
}
.report-topic-card.tone-strong { border-left-color: #3d6fad; }
.report-topic-card.tone-mid { border-left-color: #5b8fd4; }
.report-topic-card.tone-weak { border-left-color: #1a3d6e; }
.report-topic-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .45rem;
}
.report-topic-card header h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.report-topic-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin-bottom: .45rem;
  font-size: .78rem;
  color: var(--ink-muted);
}
.report-topic-metrics strong { color: var(--navy); }
.report-topic-summary {
  margin: .55rem 0 0;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.report-topic-findings {
  margin: .45rem 0 0;
  padding-left: 1.05rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.report-topic-action {
  margin: .55rem 0 0;
  padding: .5rem .65rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.45;
}
.report-topic-action strong { color: var(--brand-dark); }
.report-chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.report-chart-wrap { position: relative; }

/* Ä°lerleme raporu gÃ¶vdesi */
.pr-report-body .pr-report { color: var(--ink); }
.pr-report .pr-hero {
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #0a1628 0%, #1a3d6e 50%, #3d6fad 100%);
}
.pr-report .pr-kicker {
  margin: 0 0 .25rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(228,238,249,.85);
}
.pr-report .pr-hero h2 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.pr-report .pr-period { margin: 0; color: rgba(255,255,255,.8); font-size: .9rem; }
.pr-report .pr-level {
  display: inline-block;
  margin-top: .75rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(255,255,255,.16);
}
.pr-report .pr-kpis {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .pr-report .pr-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .pr-report .pr-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.pr-report .pr-kpis div {
  padding: .75rem .8rem;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff, #e4eef9);
  border: 1px solid rgba(10,22,40,.08);
  text-align: center;
}
.pr-report .pr-kpis strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.pr-report .pr-kpis span {
  display: block;
  margin-top: .15rem;
  font-size: .7rem;
  color: var(--ink-muted);
}
.pr-report .pr-sec {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,22,40,.07);
}
.pr-report .pr-sec h3 {
  margin: 0 0 .55rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.pr-report .pr-sec h4 {
  margin: .65rem 0 .3rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--brand-dark);
}
.pr-report .pr-sec p,
.pr-report .pr-sec li { font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.pr-report .pr-sec ul,
.pr-report .pr-sec ol { margin: .35rem 0 0; padding-left: 1.15rem; }
.pr-report .pr-muted { color: var(--ink-muted) !important; }
.pr-report .pr-note {
  padding: .75rem .85rem;
  border-radius: 10px;
  background: var(--brand-soft);
}
.pr-report .pr-smart { border-top: 3px solid var(--brand); }
.pr-report .pr-smart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.pr-report .pr-badge {
  display: inline-block;
  padding: .2rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.pr-report .pr-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .5rem;
  font-size: .82rem;
}
.pr-report .pr-table th,
.pr-report .pr-table td {
  padding: .45rem .5rem;
  border-bottom: 1px solid rgba(10,22,40,.08);
  text-align: left;
}
.pr-report .pr-table th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-muted);
}
.pr-report .pr-topic-grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .pr-report .pr-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pr-report .pr-topic {
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(10,22,40,.08);
  background: linear-gradient(160deg, #fff, rgba(228,238,249,.5));
}
.pr-report .pr-topic header {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  margin-bottom: .3rem;
}
.pr-report .pr-topic header span {
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.pr-report .pr-tip {
  margin: .4rem 0 0 !important;
  font-size: .8rem !important;
  padding: .4rem .55rem;
  border-radius: 8px;
  background: rgba(91,143,212,.1);
}
.pr-report .pr-actions {
  background: linear-gradient(160deg, #e4eef9, #fff);
  border-top: 3px solid #3d6fad;
}
.pr-report .pr-help {
  margin-top: .75rem !important;
  font-size: .82rem !important;
  color: var(--ink-muted) !important;
}
.pr-report .pr-foot {
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--ink-muted);
  text-align: right;
}

@media print {
  .pr-report .pr-hero,
  .pr-report .pr-kpis div,
  .pr-report .pr-sec {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }
}

@media print {
  .report-insight-grid,
  .report-charts-rich .list-panel,
  .report-domain-card,
  .report-smart-card,
  .report-topic-card {
    break-inside: auto !important;
    page-break-inside: auto !important;
  }
}

/* âââ Aidatla-style page intro & yÃ¶netim hub âââ */
.page-intro {
  margin: .15rem 0 1.15rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(247,239,212,0.55)),
    radial-gradient(ellipse at top right, rgba(91,143,212,0.16), transparent 55%);
  border: 1px solid rgba(10,22,40,0.08);
  box-shadow: 0 10px 30px rgba(10,22,40,0.04);
}
.page-intro-compact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}
.page-intro .eyebrow {
  display: inline-block;
  margin: 0 0 .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.page-intro h2 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  letter-spacing: -0.03em;
}
.page-intro .lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: .9rem;
  max-width: 40rem;
  line-height: 1.45;
}

.app-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin: 1.25rem 0 .75rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.app-section-head:first-of-type { margin-top: .35rem; }
.app-section-head h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* Aidatla tarzÄ± YÃ¶netim / Ayarlar Ã¼st sekmeler */
.page-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
  margin: 0 0 .55rem;
  padding: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
}
.page-tabs.page-tabs-grouped,
.page-tabs.page-tabs-aidatla {
  overflow: visible !important;
}
.page-tabs:last-of-type { margin-bottom: 1rem; }
.page-tabs-edu {
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
  border-color: rgba(11, 31, 58, 0.12);
}
.page-tabs-edu .page-tab {
  min-width: 4.6rem;
}
.page-tabs-edu.is-edu-active {
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), var(--shadow);
}
.page-tabs::-webkit-scrollbar { display: none; }

/* Aidatla: gruplu Ã¼st nav â | ayÄ±raÃ§ + hover dropdown */
.page-tabs-grouped {
  position: relative;
  z-index: 25;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .25rem;
  padding: .4rem .5rem;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--line);
}
.page-tabs-sep {
  flex: 0 0 auto;
  color: #cbd5e1;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1;
  padding: 0 .2rem;
  user-select: none;
  pointer-events: none;
}
.page-tabs-dd {
  position: relative;
  flex: 0 0 auto;
}
.page-tabs-dd-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 40px;
  padding: .55rem .8rem;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.page-tabs-dd-trigger .page-tab-ico {
  width: 1rem;
  height: 1rem;
  border-radius: 0;
  background: transparent;
  opacity: .88;
}
.page-tabs-dd-trigger::after {
  content: '';
  width: .35rem;
  height: .35rem;
  margin-top: -.1rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  flex: 0 0 auto;
}
a.page-tabs-dd-trigger::after,
button.page-tabs-dd-trigger.is-feature-locked::after {
  display: none;
}
.page-tabs-dd-trigger:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.page-tabs-dd-trigger.is-active,
.page-tabs-dd.is-active-group > .page-tabs-dd-trigger {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(91, 143, 212, 0.28);
}
.page-tabs-dd-trigger.is-active .page-tab-ico,
.page-tabs-dd.is-active-group > .page-tabs-dd-trigger .page-tab-ico {
  opacity: 1;
  color: #fff;
  background: transparent;
}
.page-tabs-dd-menu {
  position: absolute;
  top: calc(100% + .28rem);
  left: 0;
  right: auto;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 11.5rem;
  max-width: min(18rem, calc(100vw - 1rem));
  padding: .4rem;
  background: #fff;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.page-tabs-dd-menu.is-align-end {
  left: auto;
  right: 0;
}
.page-tabs-dd:hover > .page-tabs-dd-menu,
.page-tabs-dd:focus-within > .page-tabs-dd-menu,
.page-tabs-dd.is-open > .page-tabs-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.page-tabs-dd-item {
  gap: .45rem;
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  justify-content: flex-start !important;
  text-align: left !important;
}
.page-tabs-dd-item .page-tab-ico {
  width: 1rem;
  height: 1rem;
  border-radius: 0;
  background: transparent;
  opacity: .75;
}
.page-tabs-dd-item.is-active .page-tab-ico {
  opacity: 1;
}
.page-tab.page-tabs-dd-item {
  justify-content: flex-start;
  text-align: left;
}
@media (max-width: 719px) {
  .page-tabs-grouped {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .15rem .1rem;
    padding: .28rem .3rem;
    align-items: stretch;
  }
  .page-tabs-sep {
    display: none;
  }
  .page-tabs-dd,
  .page-tabs-grouped > .page-tabs-dd-trigger {
    width: 100%;
    min-width: 0;
  }
  .page-tabs-dd-trigger {
    width: 100%;
    min-height: 34px;
    padding: .28rem .18rem;
    gap: .18rem;
    font-size: clamp(.58rem, 2.65vw, .68rem);
    line-height: 1.12;
    white-space: normal;
    text-align: center;
    border-radius: 9px;
  }
  .page-tabs-dd-trigger .page-tab-ico {
    width: .8rem;
    height: .8rem;
  }
  .page-tabs-dd-trigger::after {
    width: .26rem;
    height: .26rem;
    margin-top: -.05rem;
  }
  .page-tabs-dd-menu {
    left: 0;
    right: auto;
    min-width: max(100%, 10.5rem);
    max-width: min(16rem, calc(100vw - 1rem));
  }
}
@media (min-width: 720px) {
  .page-tabs-grouped {
    overflow: visible;
    padding: .35rem .45rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
  }
  .page-tabs-dd-trigger,
  .page-tabs-grouped .page-tab {
    padding: .55rem .9rem;
    font-size: .82rem;
  }
}
@media (hover: none) {
  .page-tabs-dd:hover > .page-tabs-dd-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
  }
  .page-tabs-dd.is-open > .page-tabs-dd-menu,
  .page-tabs-dd:focus-within > .page-tabs-dd-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Aidatla: YÃ¶netim | Ayarlar â iki ana dropdown (overflow kesmesin) */
.page-tabs.page-tabs-aidatla {
  overflow: visible;
  flex-wrap: wrap;
  gap: .5rem;
  position: relative;
  z-index: 30;
}
.page-tabs-grouped {
  align-items: center;
  gap: .15rem .25rem;
  overflow: visible;
  flex-wrap: wrap;
  position: relative;
  z-index: 25;
  padding: .4rem .5rem;
  background: #fff;
  border-color: var(--line);
}
.page-tabs-grouped .page-tab-drop {
  flex: 0 1 auto;
}
.panel-content:has(.page-tabs-grouped) {
  overflow-x: visible;
}
.page-tab-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
}
.page-tab-ico svg {
  display: block;
}
.page-tab-drop-item .page-tab-ico,
.page-tab .page-tab-ico {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.page-tab-drop-item.is-active .page-tab-ico,
.page-tab.is-active .page-tab-ico {
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}
.page-tab-drop.is-active > .page-tab-drop-trigger .page-tab-ico,
.page-tab-drop[open] > .page-tab-drop-trigger .page-tab-ico {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.page-tab-text {
  min-width: 0;
}
.page-tab-drop-trigger {
  gap: .45rem;
}
.page-tab-drop-label {
  font-weight: 800;
  letter-spacing: -.01em;
}

/* Grup renkleri */
.page-tab-drop[data-tone] > .page-tab-drop-trigger {
  border: 1px solid transparent;
  background: var(--tab-tone-bg, var(--bg-soft));
  color: var(--tab-tone-fg, var(--navy));
}
.page-tab-drop[data-tone] > .page-tab-drop-trigger .page-tab-ico {
  background: var(--tab-tone-ico, rgba(255, 255, 255, 0.75));
  color: var(--tab-tone-fg, var(--navy));
}
.page-tab-drop[data-tone]:not(.is-active):hover > .page-tab-drop-trigger {
  filter: brightness(0.98);
  border-color: color-mix(in srgb, var(--tab-tone-fg, var(--navy)) 18%, transparent);
}
.page-tab-drop[data-tone].is-active > .page-tab-drop-trigger,
.page-tab-drop[data-tone][open] > .page-tab-drop-trigger {
  background: var(--tab-tone-solid, var(--navy));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--tab-tone-solid, var(--navy)) 28%, transparent);
}
.page-tab-drop[data-tone="sky"] {
  --tab-tone-bg: #e4eef9;
  --tab-tone-fg: #1e4f86;
  --tab-tone-ico: #d3e4f6;
  --tab-tone-solid: #2f6fad;
}
.page-tab-drop[data-tone="teal"] {
  --tab-tone-bg: #ddf4f0;
  --tab-tone-fg: #0f766e;
  --tab-tone-ico: #c5ebe4;
  --tab-tone-solid: #0f766e;
}
.page-tab-drop[data-tone="amber"] {
  --tab-tone-bg: #fff1dc;
  --tab-tone-fg: #9a6700;
  --tab-tone-ico: #ffe4b8;
  --tab-tone-solid: #b7791f;
}
.page-tab-drop[data-tone="violet"] {
  --tab-tone-bg: #eee8fb;
  --tab-tone-fg: #5b4a9a;
  --tab-tone-ico: #ddd3f5;
  --tab-tone-solid: #6d5aad;
}
.page-tab-drop[data-tone="rose"] {
  --tab-tone-bg: #fde8ea;
  --tab-tone-fg: #9f1239;
  --tab-tone-ico: #f8d0d6;
  --tab-tone-solid: #be123c;
}
.page-tab-drop[data-tone="slate"] {
  --tab-tone-bg: #e8edf4;
  --tab-tone-fg: #334155;
  --tab-tone-ico: #d5dde8;
  --tab-tone-solid: #3d5168;
}
.page-tab-drop-menu {
  border-radius: 18px;
  padding: .5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}
.page-tab-drop-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .58rem .65rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.page-tab-drop-item .page-tab-text {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-tab-drop-item.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.page-tabs-grouped > .page-tab {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .45rem;
  background: #e4eef9;
  color: #1e4f86;
}
.page-tabs-grouped > .page-tab.is-active {
  background: #2f6fad;
  color: #fff;
}
.page-tabs-grouped > .page-tab .page-tab-ico {
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
}
.page-tabs-grouped > .page-tab.is-active .page-tab-ico {
  background: rgba(255, 255, 255, 0.2);
}
.page-tab-drop {
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
}
.page-tab-drop[open] {
  z-index: 50;
}
.page-tab-drop-lg {
  flex: 1 1 auto;
  min-width: 8.5rem;
}
.page-tab-drop > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  gap: .4rem;
}
.page-tab-drop > summary::-webkit-details-marker { display: none; }
.page-tab-drop-trigger {
  width: 100%;
  justify-content: space-between;
}
.page-tabs-grouped .page-tab-drop-trigger {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
  min-height: 2.45rem;
  padding-inline: .7rem .75rem;
  white-space: nowrap;
}
.page-tabs-grouped .page-tab-drop-label {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}
.page-tabs-grouped .page-tab-drop-current {
  margin-left: .1rem;
}
.page-tabs-grouped .page-tab-drop-caret {
  margin-left: .05rem;
  flex-shrink: 0;
}
.page-tab-drop-label {
  font-weight: 800;
}
.page-tab-drop-current {
  margin-left: .15rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: .72rem;
  font-weight: 700;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-tab-drop:not(.is-active) .page-tab-drop-current {
  background: rgba(10, 22, 40, .08);
  color: var(--ink-muted);
}
.page-tab-drop-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .65;
  transition: transform .15s ease;
  flex-shrink: 0;
}
.page-tab-drop[open] > .page-tab-drop-trigger .page-tab-drop-caret {
  transform: rotate(180deg);
}
.page-tab-drop.is-active > .page-tab-drop-trigger,
.page-tab-drop[open] > .page-tab-drop-trigger {
  background: var(--navy);
  color: #fff;
}
.page-tab-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 400;
  min-width: 14rem;
  max-width: min(22rem, 92vw);
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: .55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  display: none;
  flex-direction: column;
  gap: .35rem;
}
.page-tab-drop[open] > .page-tab-drop-menu {
  display: flex;
}
.page-tab-drop-menu.is-fixed {
  position: fixed;
  top: auto;
  left: auto;
}
.page-tab-drop-menu-lg {
  min-width: min(18rem, 92vw);
  padding: .65rem .7rem;
}
.page-tab-drop-lg:last-child .page-tab-drop-menu {
  left: auto;
  right: 0;
}
.page-tab-drop-group + .page-tab-drop-group {
  margin-top: .35rem;
  padding-top: .45rem;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}
.page-tab-drop-heading {
  margin: 0 .4rem .3rem;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
}
.page-tab-drop-item:hover {
  background: rgba(10, 22, 40, .06);
  color: var(--navy);
}
.page-tab-drop-item.is-feature-locked {
  opacity: .55;
}
@media (max-width: 720px) {
  .page-tabs-grouped {
    flex-wrap: wrap;
    overflow: visible;
  }
  .page-tabs-grouped .page-tab-drop {
    flex: 0 0 auto;
  }
  .page-tabs-grouped .page-tab-drop-trigger,
  .page-tabs-grouped > .page-tab {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    white-space: nowrap;
  }
  .page-tabs-grouped .page-tab-drop-current {
    display: none;
  }
  .page-tab-drop-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
  }
  .page-tab-drop-lg {
    flex: 1 1 calc(50% - .25rem);
    min-width: 0;
  }
  .page-tab-drop-menu,
  .page-tab-drop-lg:last-child .page-tab-drop-menu {
    left: 0;
    right: auto;
    width: max-content;
    min-width: min(16rem, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
  }
}
.page-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: .55rem .85rem;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  scroll-margin-inline: 40%;
}
.page-tab:hover { background: var(--brand-soft); color: var(--brand-dark); }
.page-tab.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 22, 40, 0.22);
}
.page-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: .4rem;
  padding: 0 .35rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  background: color-mix(in srgb, var(--navy) 12%, #fff);
  color: var(--navy);
}
.page-tab.is-active .page-tab-badge {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
@media (min-width: 720px) {
  .page-tabs {
    padding: .35rem;
    background: rgba(255,255,255,0.85);
    box-shadow: none;
  }
  .page-tab {
    padding: .55rem .9rem;
    font-size: .82rem;
  }
}

.stat-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
a.stat-card-link {
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
a.stat-card-link:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.settings-layout {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .settings-layout { grid-template-columns: 1fr minmax(240px, 280px); }
}
.settings-summary {
  position: sticky;
  top: 1rem;
  text-align: center;
  padding: 1.35rem 1.15rem;
}
.settings-summary-avatar {
  width: 64px; height: 64px; margin: 0 auto .75rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.4rem;
}
.settings-summary h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.settings-dl {
  margin: 1rem 0 0;
  text-align: left;
  display: grid; gap: .55rem;
}
.settings-dl > div {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
}
.settings-dl dt { color: var(--ink-muted); font-weight: 600; }
.settings-dl dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; }
.settings-summary-actions {
  display: flex; gap: .45rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1rem;
}

/* ========== Panel list uplift (entity rows) ========== */
.list-stats.stat-grid {
  gap: .65rem;
}
@media (min-width: 720px) {
  .list-stats.stat-grid {
    grid-template-columns: repeat(var(--stat-cols, 4), minmax(0, 1fr));
  }
}
.list-filters { margin-bottom: 1rem; }
.list-panel {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1rem;
}
.list-panel.cal-card,
.cal-card.list-panel,
.cal-card {
  overflow: visible;
}
.list-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(228,238,249,.85) 100%);
}
.list-panel-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .65rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 1rem;
}
.list-toolbar .form-group { margin: 0; flex: 1 1 200px; }
.list-toolbar .form-group label { margin-bottom: .3rem; }
.entity-list {
  display: flex;
  flex-direction: column;
}
.entity-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem 1rem;
  align-items: center;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background .12s ease;
}
.entity-row:last-child { border-bottom: none; }
.entity-row:hover { background: rgba(91, 143, 212, 0.08); }
.entity-row-main { min-width: 0; }
.entity-row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .55rem;
  margin: 0 0 .3rem;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.entity-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  font-size: .78rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.entity-row-meta span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.entity-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
}
@media (max-width: 720px) {
  .entity-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .entity-row-actions {
    justify-content: flex-start;
  }
}
.list-empty {
  padding: 1.5rem 1rem;
}
.page-stack { display: flex; flex-direction: column; gap: 0; }


/* ========== Aidatla UI layer (Geyik premium sapphire) ========== */

.page-brief {
  margin: .15rem 0 1.15rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #e4eef9 55%, #d9e8f8 100%);
  border: 1px solid rgba(91, 143, 212, 0.28);
  box-shadow: 0 12px 32px rgba(91, 143, 212, 0.1);
}
.page-brief-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .85rem;
  flex-wrap: wrap;
}
.page-brief-copy { min-width: 0; flex: 1; }
.page-brief .eyebrow {
  display: inline-block;
  margin: 0 0 .3rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.page-brief h2 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.8vw, 1.75rem);
  letter-spacing: -0.03em;
  color: var(--navy);
}
.page-brief .lead,
.page-brief-lead {
  margin: .55rem 0 0;
  color: var(--ink-soft);
  font-size: .86rem;
  max-width: none;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .page-brief .lead,
  .page-brief-lead {
    white-space: normal;
  }
}
.page-brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.page-brief-metrics {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .page-brief-metrics {
    grid-template-columns: repeat(var(--brief-cols, 4), minmax(0, 1fr));
  }
}
.page-brief-metric {
  background: #fff;
  border: 1px solid rgba(10,22,40,0.08);
  border-radius: 14px;
  padding: .85rem .9rem;
  min-width: 0;
  border-left: 4px solid #94a3b8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.page-brief-metric span {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: .25rem;
}
.page-brief-metric strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0a1628;
  word-break: break-word;
}
.page-brief-metric em {
  display: block;
  margin-top: .25rem;
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  color: #6b7280;
}
.page-brief-metric.tone-orange,
.page-brief-metric.tone-gold { border-left-color: var(--brand); background: var(--brand-soft); }
.page-brief-metric.tone-orange strong,
.page-brief-metric.tone-gold strong { color: var(--brand-dark); }
.page-brief-metric.tone-green { border-left-color: #0f766e; background: #ccfbf1; }
.page-brief-metric.tone-green strong { color: #0f766e; }
.page-brief-metric.tone-red { border-left-color: #dc2626; background: #fef2f2; }
.page-brief-metric.tone-red strong { color: #b91c1c; }
.page-brief-metric.tone-blue { border-left-color: #0e7490; background: #cffafe; }
.page-brief-metric.tone-blue strong { color: #0e7490; }
.page-brief-metric.tone-slate { border-left-color: #64748b; background: #f8fafc; }
.page-brief-metric.tone-mint { border-left-color: #0f766e; background: #ccfbf1; }
.page-brief-metric.tone-mint strong { color: #0f766e; }
.page-brief-metric.tone-purple { border-left-color: #7c3aed; background: #f5f3ff; }
.page-brief-metric.tone-purple strong { color: #6d28d9; }
a.page-brief-metric {
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.page-brief-metric:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  color: inherit;
}
.page-brief-metrics-sm {
  gap: .45rem;
  margin-top: .85rem;
}
.page-brief-metrics-sm .page-brief-metric {
  border-radius: 10px;
  padding: .55rem .7rem;
  box-shadow: none;
  border-left-width: 3px;
}
.page-brief-metrics-sm .page-brief-metric span {
  font-size: .62rem;
  margin-bottom: .12rem;
}
.page-brief-metrics-sm .page-brief-metric strong {
  font-size: 1.05rem;
  font-weight: 800;
}
.page-brief-staff-welcome .lead {
  margin-bottom: 0;
}
@media (max-width: 639px) {
  .page-brief-actions { width: 100%; }
  .page-brief-actions .btn { flex: 1 1 auto; justify-content: center; }
}

.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem;
  margin-bottom: .75rem;
  display: grid;
  gap: .5rem;
}
.filter-bar .filters {
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 700px) {
  .filter-bar { padding: 1rem; gap: .75rem; margin-bottom: 1rem; }
  .filter-bar .filters {
    grid-template-columns: repeat(3, 1fr) auto;
  }
}
.filter-bar label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-muted);
  display: block;
  margin-bottom: .2rem;
}
.filter-bar .form-group { margin-bottom: 0; }
.filter-actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: end; }

.filter-panel {
  background:
    linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: .75rem .9rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(10, 22, 40, .04);
}
.filter-panel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .55rem .65rem;
}
.filter-panel-row .form-group {
  margin-bottom: 0;
  min-width: 0;
}
.filter-panel-row label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink-muted);
  display: block;
  margin-bottom: .2rem;
}
.filter-panel-row .filter-grow {
  flex: 1 1 180px;
  min-width: 160px;
}
.filter-panel-row .filter-compact {
  flex: 0 1 132px;
  width: 132px;
  max-width: 160px;
}
.filter-panel-row .filter-search-input,
.filter-panel-row .form-control {
  min-height: 40px;
  font-size: .86rem;
}
.filter-row-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  padding-bottom: .15rem;
  min-height: 40px;
}
.filter-row-actions #studentsFilterMeta {
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .filter-panel-row .filter-compact {
    flex: 1 1 calc(50% - .65rem);
    width: auto;
    max-width: none;
  }
  .filter-panel-row .filter-grow {
    flex: 1 1 100%;
  }
}

.filter-chip-group {
  display: grid;
  gap: .4rem;
}
.filter-chip-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.filter-chip:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.filter-chip.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(91, 143, 212, .28);
}

/* Sidebar: sapphire depth â soft blue */
.panel-sidebar {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-soft) 48%, var(--navy-mid) 78%, var(--brand) 120%) !important;
  gap: .2rem;
}
.panel-brand {
  display: flex;
  justify-content: center;
  margin: 0 0 1.1rem;
  padding: 0;
  text-decoration: none;
}
.panel-brand-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: .55rem .7rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  overflow: visible;
  line-height: 0;
}
.panel-brand-logo {
  display: block;
  width: auto;
  height: 78px;
  max-width: 110px;
  object-fit: contain;
  object-position: center;
}
.panel-brand-card-sm {
  padding: .3rem .45rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15,23,42,.08);
  border: 1px solid var(--line);
  overflow: visible;
}
.panel-brand-card-sm .panel-brand-logo {
  width: auto;
  height: 44px;
  max-width: 56px;
}
.panel-nav-link:hover,
.panel-nav-link.is-active {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Topbar Aidatla-style */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  min-height: var(--nav-h);
  padding: 0 1.15rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
  overflow: visible;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.app-header-brand {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
}
@media (min-width: 960px) {
  .app-header-brand {
    display: none;
  }
}
.app-header-titles { min-width: 0; }
.app-header-company {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.app-header-titles .panel-title,
.app-header-titles h1 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--display);
  font-weight: 750;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  overflow: visible;
}
.app-header-profile {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid rgba(91,143,212,.25);
}
.sub-readonly-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid rgba(217, 119, 6, .28);
  color: #92400e;
  font-size: .88rem;
  font-weight: 600;
}
.sub-locked-banner {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: rgba(185, 28, 28, .28);
  color: #991b1b;
}
.page-tab.is-feature-locked,
.hub-card.is-feature-locked {
  opacity: .72;
  cursor: not-allowed;
  border-style: dashed;
}
.hub-card-locked-hint {
  color: #b45309 !important;
  font-style: normal !important;
  font-weight: 600;
}
.feature-denied-sheet .feature-denied-message {
  margin: 0;
  line-height: 1.55;
  color: var(--text, #1f2937);
}
.geyik-confirm-sheet .geyik-confirm-message {
  margin: 0;
  line-height: 1.55;
  color: var(--text, #1f2937);
  white-space: pre-wrap;
}
.geyik-confirm-actions {
  margin-top: 1.1rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.geyik-confirm-actions .btn-danger {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}
.geyik-confirm-actions .btn-danger:hover {
  filter: brightness(1.06);
}
body.is-readonly [data-write-action],
body.is-readonly .btn-primary[data-open-modal] {
  opacity: .55;
  pointer-events: none;
}

/* Floating mobile tab bar */
.app-tabbar {
  left: max(.75rem, env(safe-area-inset-left)) !important;
  right: max(.75rem, env(safe-area-inset-right)) !important;
  bottom: calc(.55rem + env(safe-area-inset-bottom)) !important;
  height: auto !important;
  padding: .35rem !important;
  border-radius: 18px !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-lg) !important;
  gap: .15rem;
}
.app-tab.is-active,
.app-tab-more.is-active > .app-tab {
  color: var(--brand-dark) !important;
  background: var(--brand-soft);
  border-radius: 12px;
}
body.modal-open .app-tabbar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(120%);
}

/* Tone card decorations */
.stat-card[class*="tone-"] {
  isolation: isolate;
}
.stat-card[class*="tone-"]::before,
.stat-card[class*="tone-"]::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.stat-card[class*="tone-"] > * { position: relative; z-index: 1; }
.stat-card[class*="tone-"]::before {
  width: 120px; height: 120px; border-radius: 50%;
  right: -36px; top: -42px; opacity: .55;
  background: rgba(255,255,255,0.22);
}
.stat-card[class*="tone-"]::after {
  width: 72px; height: 72px; border-radius: 50%;
  right: 28px; bottom: -28px; opacity: .35;
  border: 10px solid rgba(255,255,255,0.28);
  background: transparent; box-sizing: border-box;
}
.stat-card.tone-orange {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.42), transparent 28%),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #c2410c 0%, #ea580c 48%, #fb923c 100%) !important;
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.28) !important;
}
.stat-card.tone-gold {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.45), transparent 28%),
    repeating-linear-gradient(-28deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 9px),
    linear-gradient(145deg, #a16207 0%, #ca8a04 48%, #eab308 100%) !important;
  box-shadow: 0 14px 32px rgba(202, 138, 4, 0.28) !important;
}
.stat-card.tone-purple {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.4), transparent 28%),
    repeating-linear-gradient(35deg, rgba(255,255,255,0.1) 0 2px, transparent 2px 10px),
    linear-gradient(145deg, #5b21b6 0%, #7c3aed 48%, #a78bfa 100%) !important;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.28) !important;
}

/* Modal polish */
.modal-backdrop {
 align-items: center !important;
 backdrop-filter: blur(6px);
}
.modal-sheet {
 border-radius: 20px !important;
 transform: translateY(12px) scale(.98);
 transition: transform .28s var(--ease);
}
.modal-backdrop.is-open .modal-sheet { transform: none; }
.modal-sheet.modal-detail { width: min(100%, 880px); max-height: min(94dvh, 900px); }

/* Mobil uygulama WebView: popup ortada; kenarlardan ve safe-areaâdan uzak */
html[data-geyik-app="1"] .modal-backdrop {
  align-items: center !important;
  justify-content: center !important;
  top: var(--geyik-vv-offset-top, 0px);
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: var(--geyik-vv-height, 100dvh);
  padding:
    max(1.35rem, calc(var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px))) + 1rem))
    .85rem
    max(1.35rem, calc(var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))) + 1rem))
    !important;
  box-sizing: border-box;
  transition: height .18s ease, top .18s ease, padding .18s ease, align-items .18s ease;
}
html[data-geyik-app="1"] .modal-backdrop.is-keyboard-open {
  align-items: flex-end !important;
  padding-bottom: max(.75rem, calc(var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))) + .5rem)) !important;
}
html[data-geyik-app="1"] .modal-sheet {
  width: min(560px, calc(100% - 1.4rem)) !important;
  max-width: calc(100% - 1.4rem) !important;
  max-height: calc(
    var(--geyik-vv-height, 100dvh)
    - var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px)))
    - var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)))
    - 2.8rem
  ) !important;
  border-radius: 16px !important;
  margin: 0 auto;
}
html[data-geyik-app="1"] .modal-backdrop.is-keyboard-open .modal-sheet {
  max-height: calc(var(--geyik-vv-height, 100dvh) - 1.4rem) !important;
  border-radius: 14px 14px 10px 10px !important;
}
html[data-geyik-app="1"] .modal-sheet.modal-lg,
html[data-geyik-app="1"] .modal-sheet.modal-xl,
html[data-geyik-app="1"] .modal-sheet.modal-detail,
html[data-geyik-app="1"] .modal-sheet.student-detail-sheet {
  width: min(100%, calc(100% - 1.4rem)) !important;
}
html[data-geyik-app="1"] .modal-body {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Landing Aidatla depth */
.lp-hero {
  position: relative;
  min-height: min(88svh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--navy);
  background: #eceae6;
}
.lp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lp-hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(236,234,230,.92) 0%, rgba(236,234,230,.72) 38%, rgba(236,234,230,.25) 68%, transparent 100%),
    linear-gradient(180deg, rgba(236,234,230,.15) 0%, rgba(236,234,230,.55) 100%);
  pointer-events: none;
}
.lp-hero-frame {
  position: relative;
  z-index: 2;
  padding: 3.25rem 0 3.75rem;
  /* .container ile aynÄ± yatay hiza â width override yok */
}
.lp-hero-copy {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 36rem;
  min-width: 0;
}
.lp-hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}
.lp-hero-headline {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.lp-hero-text {
  margin: 0;
  font-size: clamp(.98rem, 2.1vw, 1.08rem);
  line-height: 1.55;
  color: #2a2e35;
  max-width: 34rem;
}
.lp-hero-text-soft { color: #5b616c; font-size: .98rem; }
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .25rem;
}
.lp-hero-btn-main,
.lp-hero-btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.lp-hero-btn-main {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(91,143,212,.32);
}
.lp-hero-btn-main:hover { filter: brightness(1.05); transform: translateY(-2px); }
.lp-hero-btn-sub {
  background: rgba(255,255,255,.88);
  border: 1.5px solid rgba(10,22,40,.14);
  color: var(--navy);
}
.lp-hero-btn-sub:hover { background: #fff; }
@media (max-width: 720px) {
  .lp-hero {
    min-height: min(78svh, 640px);
    align-items: end;
  }
  .lp-hero-frame { padding: 2rem 0 2.5rem; }
  .lp-hero-wash {
    background:
      linear-gradient(180deg, rgba(236,234,230,.2) 0%, rgba(236,234,230,.78) 55%, rgba(236,234,230,.95) 100%);
  }
}
.lp-a0, .lp-a1, .lp-a2, .lp-a3, .lp-a4 {
  animation: lpRise .7s var(--ease) both;
}
.lp-a1 { animation-delay: .08s; }
.lp-a2 { animation-delay: .16s; }
.lp-a3 { animation-delay: .24s; }
.lp-a4 { animation-delay: .32s; }
@keyframes lpRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-a0, .lp-a1, .lp-a2, .lp-a3, .lp-a4,
  .lp-feature-card { animation: none !important; opacity: 1 !important; transform: none !important; }
}
.lp-section { padding: 3.5rem 0; }
.lp-feature-grid {
 display: grid;
 gap: 1rem;
}
@media (min-width: 640px) {
 .lp-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
 .lp-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.lp-feature-card {
 padding: 1.35rem 1.25rem;
 border-radius: 18px;
 background: #fff;
 border: 1px solid var(--line);
 box-shadow: 0 10px 28px rgba(17, 24, 39, .04);
 transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
 animation: fadeUp .7s var(--ease) both;
 animation-delay: var(--d, 0s);
}
.lp-feature-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 16px 36px rgba(91, 143, 212, .14);
 border-color: rgba(91, 143, 212, .4);
}
.lp-feature-icon {
 width: 2.6rem;
 height: 2.6rem;
 border-radius: 12px;
 display: grid;
 place-items: center;
 margin-bottom: .85rem;
 color: var(--brand-dark);
 background: linear-gradient(145deg, var(--brand-soft), #fff);
 border: 1px solid rgba(91, 143, 212, .25);
}
.lp-feature-card h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.lp-feature-card p {
 margin: 0;
 color: var(--ink-muted);
 font-size: .92rem;
 line-height: 1.55;
}
.lp-flow {
 background: #fff;
 border-top: 1px solid var(--line);
 border-bottom: 1px solid var(--line);
}
.lp-flow-steps {
 display: grid;
 gap: 1rem;
 counter-reset: step;
}
@media (min-width: 720px) {
 .lp-flow-steps { grid-template-columns: repeat(4, 1fr); }
}
.lp-flow-step {
 padding: 1.15rem;
 border-radius: 16px;
 background: var(--bg);
 border: 1px solid var(--line);
 position: relative;
}
.lp-flow-step::before {
 counter-increment: step;
 content: counter(step);
 display: grid;
 place-items: center;
 width: 1.75rem;
 height: 1.75rem;
 border-radius: 999px;
 background: var(--navy);
 color: #fff;
 font-size: .75rem;
 font-weight: 800;
 margin-bottom: .65rem;
}
.lp-flow-step h3 { margin: 0 0 .35rem; font-size: 1rem; }
.lp-flow-step p { margin: 0; font-size: .85rem; color: var(--ink-muted); line-height: 1.5; }

.lp-purpose {
  background:
    linear-gradient(180deg, #fff 0%, rgba(228,238,249,.45) 100%);
  border-bottom: 1px solid var(--line);
}
.lp-purpose-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 860px) {
  .lp-purpose-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 2.5rem;
  }
}
.lp-purpose-body {
  margin: .85rem 0 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.65;
  max-width: 38rem;
}
.lp-purpose-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.lp-purpose-points li {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}
.lp-purpose-points strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .95rem;
  color: var(--navy);
}
.lp-purpose-points span {
  display: block;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.lp-audience {
  background: #fff;
  border-top: 1px solid var(--line);
}
.lp-audience-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .lp-audience-grid { grid-template-columns: repeat(3, 1fr); }
}
.lp-audience-card {
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 100%;
}
.lp-audience-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--navy);
}
.lp-audience-card p {
  margin: 0;
  flex: 1;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.lp-audience-card .btn {
  align-self: flex-start;
  margin-top: .25rem;
}

.lp-app {
  background:
    linear-gradient(145deg, rgba(10,22,40,.96), rgba(26,61,110,.92)),
    radial-gradient(circle at 88% 20%, rgba(91,143,212,.35), transparent 42%);
  color: #fff;
  border-top: none;
  border-bottom: none;
}
.lp-app .eyebrow { color: rgba(247,239,212,.9); }
.lp-app h2 {
  color: #fff;
  font-family: var(--display);
  margin: 0 0 .55rem;
}
.lp-app .lead {
  color: rgba(255,255,255,.82);
  margin: 0 0 1.15rem;
  max-width: 34rem;
}
.lp-app-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 720px) {
  .lp-app-inner {
    grid-template-columns: auto 1fr;
    gap: 2.25rem;
  }
}
.lp-app-phone {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
}
.lp-app-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,143,212,.55), transparent 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.lp-app-logo {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 168px;
  border-radius: 28px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: .75rem;
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  border: 2px solid rgba(255,255,255,.22);
}
.lp-app-points {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: .45rem;
}
@media (min-width: 640px) {
  .lp-app-points {
    grid-template-columns: 1fr 1fr;
    gap: .45rem .85rem;
  }
}
.lp-app-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .9rem;
  line-height: 1.4;
  color: rgba(255,255,255,.88);
}
.lp-app-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .45rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--brand, #5b8fd4);
  box-shadow: 0 0 0 3px rgba(91,143,212,.25);
}
.lp-app-cta-label {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(247,239,212,.85);
}
.lp-app-soon {
  margin: 0;
  font-size: .88rem;
  color: rgba(255,255,255,.72);
}
.lp-app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.lp-store-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 10.5rem;
  padding: .55rem .9rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.lp-store-badge:hover {
  transform: translateY(-2px);
}
.lp-store-google {
  background: #fff;
  color: #111;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.lp-store-apple {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.lp-store-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lp-store-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.lp-store-meta small {
  font-size: .68rem;
  letter-spacing: .02em;
  opacity: .78;
  text-transform: none;
}
.lp-store-meta strong {
  font-size: .98rem;
  font-weight: 800;
}

.lp-cta {
 text-align: center;
 padding: 3.5rem 0;
 background:
 radial-gradient(ellipse 60% 80% at 50% 0%, rgba(91,143,212,.18), transparent 55%),
 var(--bg);
}
.legal-page {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}
.legal-wrap {
  max-width: 46rem;
}
.legal-updated {
  margin: .75rem 0 1.75rem;
  font-size: .95rem;
}
.legal-body {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.7;
}
.legal-body h2 {
  margin: 2rem 0 .75rem;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--navy);
}
.legal-body h3 {
  margin: 1.25rem 0 .5rem;
  font-size: 1.02rem;
  color: var(--navy);
}
.legal-body p {
  margin: 0 0 1rem;
}
.legal-body ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}
.legal-body li {
  margin: 0 0 .4rem;
}
.legal-body strong {
  color: var(--navy);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast-stack {
  top: calc(.85rem + env(safe-area-inset-top, 0px)) !important;
  right: max(.85rem, env(safe-area-inset-right, 0px)) !important;
  z-index: 220 !important;
}

/* Read-only subscription: block write affordances */
body.is-readonly button[data-open-modal],
body.is-readonly a[href*="?edit="],
body.is-readonly a[href*="?assign="],
body.is-readonly a[href*="?new="],
body.is-readonly a[href*="new=1"],
body.is-readonly form[method="post"] button[type="submit"]:not([data-allow-readonly]),
body.is-readonly form[method="POST"] button[type="submit"]:not([data-allow-readonly]) {
  opacity: .55;
  pointer-events: none;
  cursor: not-allowed;
}
body.is-readonly .sub-readonly-banner a,
body.is-readonly .sub-readonly-banner .btn {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* Profil avatar + Ã¶Ärenci tablosu + user select */
.user-avatar {
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  line-height: 1;
  overflow: hidden;
  vertical-align: middle;
}
.user-avatar.has-img { background: #e2e8f0; }
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .65rem .3rem .3rem;
  border-radius: 999px;
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  font-size: .78rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  max-width: 100%;
}
.avatar-chip .user-avatar { font-size: .65rem; }
.avatar-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-chip-plain {
  pointer-events: none;
}
.panel-nav-link .avatar-chip {
  max-width: 100%;
}
.avatar-chip i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: .7rem;
}
.user-assign-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}
.user-assign-label > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-upload-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.avatar-upload-row .form-control { flex: 1; min-width: 180px; }

.students-table,
.data-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.students-table th,
.students-table td,
.data-table th,
.data-table td {
  vertical-align: middle;
  text-align: left;
  padding: .7rem .55rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table th { font-size: .72rem; }
.data-table .col-actions,
.data-table th:last-child,
.data-table td:last-child {
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  width: 1%;
}
/* Admin listeler: son sÃ¼tun durum olabilir; iÅlem ayrÄ± .col-actions */
.admin-table {
  table-layout: auto;
  width: 100%;
}
.admin-table th,
.admin-table td {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  vertical-align: middle;
}
.admin-table th:last-child,
.admin-table td:last-child {
  width: auto;
  text-align: left;
}
.admin-table .col-actions,
.admin-table th.col-actions,
.admin-table td.col-actions {
  width: 1%;
  text-align: right;
  white-space: nowrap;
  overflow: visible;
}
.admin-feat-groups { display: grid; gap: .85rem; }
.admin-feat-group-label {
  margin: 0 0 .4rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.admin-feat-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}
@media (min-width: 560px) {
  .admin-feat-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.admin-feat-chip {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .15rem;
  min-width: 0;
  min-height: 3.35rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 55, 95, .1);
  background: #fff;
  box-sizing: border-box;
}
.admin-feat-chip strong {
  font-size: .82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.admin-feat-chip small {
  font-size: .72rem;
  color: #64748b;
  line-height: 1.3;
}
.admin-feat-empty {
  margin: 0;
  padding: .75rem .85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed rgba(15, 55, 95, .14);
  color: #64748b;
  font-size: .88rem;
}
.admin-detail-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .65rem;
}
.admin-detail-sec-head h4 {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy, #0a1628);
}
.admin-user-hero-row {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.admin-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(145deg, #0a1628, #1a3d6e);
  flex-shrink: 0;
}
.admin-user-hero-copy { min-width: 0; flex: 1; }
.data-table-actions,
.students-table-actions-inner {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .35rem;
  vertical-align: middle;
  max-width: 100%;
}
.data-table-actions form,
.students-table-del {
  display: inline-flex;
  align-items: center;
  margin: 0;
  vertical-align: middle;
}
.data-table-actions .btn,
.students-table-actions-inner .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.2;
}
.data-table tr.row-overdue td { background: rgba(254, 226, 226, .45); }
.data-table .progress-bar {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-left: .35rem;
}
.data-table .progress-bar i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}
.students-table th:nth-child(1),
.students-table td:nth-child(1) { width: 20%; white-space: normal; }
.students-table th:nth-child(2),
.students-table td:nth-child(2) { width: 17%; }
.students-table th:nth-child(3),
.students-table td:nth-child(3) { width: 12%; }
.students-table th:nth-child(4),
.students-table td:nth-child(4) { width: 9%; }
.students-table th:nth-child(5),
.students-table td:nth-child(5) { width: 8%; }
.students-table th:nth-child(6),
.students-table td:nth-child(6) { width: 10%; }
.students-table th:nth-child(7),
.students-table td:nth-child(7) { width: 9%; }
.students-table th:nth-child(8),
.students-table td:nth-child(8) {
  width: 15%;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
}
.classes-table th:nth-child(1),
.classes-table td:nth-child(1) {
  width: 38%;
  white-space: normal;
}
.classes-table th:nth-child(2),
.classes-table td:nth-child(2) { width: 16%; }
.classes-table th:nth-child(3),
.classes-table td:nth-child(3) { width: 12%; }
.classes-table th:nth-child(4),
.classes-table td:nth-child(4) { width: 14%; }
.classes-table th:nth-child(5),
.classes-table td:nth-child(5),
.classes-table .col-actions {
  width: 7.5rem;
  min-width: 7.5rem;
  max-width: 8.5rem;
  overflow: visible;
  white-space: nowrap;
  text-align: right;
}
.classes-table-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.classes-table-desc {
  display: block;
  margin-top: .15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.students-table-actions {
  text-align: right;
  white-space: nowrap;
}
.students-table-del {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.students-table tbody tr.is-clickable,
.data-table tbody tr.is-clickable {
  cursor: pointer;
}
.students-table tbody tr.is-clickable:hover td,
.data-table tbody tr.is-clickable:hover td {
  background: rgba(37, 99, 235, .04);
}
.students-table tbody tr.is-clickable:focus-visible,
.data-table tbody tr.is-clickable:focus-visible {
  outline: 2px solid rgba(10, 22, 40, .35);
  outline-offset: -2px;
}
.data-table tbody tr.is-clickable.row-overdue:hover td {
  background: rgba(254, 226, 226, .7);
}

.modal-head .avatar-chip {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.modal-head .avatar-chip-name { color: #fff; }
.modal-head .user-avatar:not(.has-img) {
  background: rgba(255,255,255,.22);
  color: #fff;
}

.modal-head-nav {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  min-width: 0;
  flex: 1;
}
.modal-back-btn {
  flex-shrink: 0;
  margin-top: .1rem;
  font-weight: 700;
}
.modal-history-bar { display: none !important; }
.modal-foot .modal-back-btn {
  font-weight: 700;
}
.modal-nav-panel[hidden] { display: none !important; }
.student-detail-hub {
  margin-bottom: .25rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.student-detail-hub .hub-card {
  min-height: 0;
  padding: .85rem .7rem;
}
.hub-command {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hub-cat {
  margin: 0;
}
.hub-cat-title {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hub-cat .hub-grid,
.hub-command .hub-grid {
  margin: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.hub-cat .hub-card,
.hub-command .hub-card {
  min-width: 0;
  padding: .85rem .7rem;
}
@media (max-width: 900px) {
  .student-detail-hub,
  .hub-cat .hub-grid,
  .hub-command .hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .student-detail-hub,
  .hub-cat .hub-grid,
  .hub-command .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.student-detail-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  margin-bottom: .85rem;
}
.student-detail-hero-main {
  display: flex;
  gap: .9rem;
  align-items: center;
  min-width: 0;
  flex: 1 1 220px;
}
.student-detail-hero-copy { min-width: 0; flex: 1; }
.student-detail-hero-copy h3 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.student-detail-hero-copy p {
  margin: 0 0 .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  color: var(--ink-muted);
  font-size: .85rem;
  font-weight: 600;
}
.student-detail-hero-copy .badge-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}
.student-detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .student-detail-hero {
    flex-direction: column;
    gap: .65rem;
    padding: .7rem .75rem;
    margin-bottom: .6rem;
  }
  .student-detail-hero-main {
    flex: 1 1 auto;
    width: 100%;
    gap: .65rem;
    align-items: flex-start;
  }
  .student-detail-hero-main > .user-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: .85rem;
    flex-shrink: 0;
  }
  .student-detail-hero-copy h3 {
    font-size: 1.02rem;
    margin: 0 0 .15rem;
  }
  .student-detail-hero-copy p {
    margin: 0 0 .3rem;
    gap: .15rem .5rem;
    font-size: .76rem;
    line-height: 1.35;
  }
  .student-detail-hero-copy .badge-row {
    gap: .25rem;
  }
  .student-detail-hero-copy .badge,
  .student-detail-hero-copy .status-chip {
    font-size: .66rem;
    padding: .1rem .4rem;
    line-height: 1.2;
  }
  .student-detail-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
  }
  .student-detail-hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    padding: .35rem .4rem;
    font-size: .75rem;
  }
  .student-detail-hint {
    display: none;
  }
}
.student-detail-hint { margin: 0 0 .85rem; }
.student-detail-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .4rem;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .student-detail-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.student-detail-stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .55rem .45rem;
  border-radius: 12px;
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  width: 100%;
  min-width: 0;
  transition: border-color .12s ease, transform .12s ease;
}
.student-detail-stat:hover {
  border-color: rgba(10, 22, 40, .28);
  transform: translateY(-1px);
}
.student-detail-stat span {
  font-size: .65rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}
.student-detail-stat strong {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
}
.student-detail-stat-amt {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: var(--warning, #b45309);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.student-detail-stat-debt strong { display: inline; }
.student-detail-classes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  margin-bottom: 1rem;
}
.student-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
@media (max-width: 820px) {
  .student-detail-grid { grid-template-columns: 1fr; }
}
.student-detail-card {
  padding: .95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
}
.student-detail-card h4 {
  margin: 0 0 .7rem;
  font-size: .92rem;
  font-weight: 800;
  color: var(--navy);
}
.student-detail-contacts {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.student-detail-contacts li {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  background: var(--bg-soft);
}
.student-detail-contacts strong { font-size: .88rem; color: var(--navy); }
.student-detail-contacts span { font-size: .78rem; color: var(--ink-muted); font-weight: 600; }
.student-detail-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}
.student-detail-quick a {
  display: block;
  padding: .55rem .65rem;
  border-radius: 10px;
  background: rgba(10, 22, 40, .04);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.student-detail-quick a:hover {
  background: rgba(91, 143, 212, .14);
  border-color: rgba(91, 143, 212, .35);
}

.students-table tbody tr.is-passive td {
  background: rgba(254, 226, 226, .55);
  color: #7f1d1d;
}
.students-table tbody tr.is-passive:hover td {
  background: rgba(254, 202, 202, .7);
}
.students-table tbody tr.is-passive .avatar-chip {
  border-color: rgba(220, 38, 38, .35);
  background: #fff5f5;
}
.students-table tbody tr.is-passive .status-chip {
  background: #fee2e2;
  color: #b91c1c;
}

.user-select {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.user-select.is-open { z-index: 40; }
.user-select-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  left: 0;
  top: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.user-select-trigger {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: .45rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm, 10px);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
  box-sizing: border-box;
}
.user-select-trigger:hover { border-color: var(--navy); }
.user-select.is-open .user-select-trigger {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 22, 40, .08);
}
.user-select-trigger-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: .9rem;
}
.user-select-caret {
  color: var(--ink-muted);
  font-size: .75rem;
}
.user-select-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm, 10px);
  box-shadow: 0 16px 36px rgba(10, 22, 40, .16);
  overflow: hidden;
  padding: 0;
  max-width: calc(100vw - 20px);
  box-sizing: border-box;
}
.user-select-menu.is-open { display: flex; }
.user-select-search {
  padding: .45rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  min-width: 0;
}
.user-select-search-input {
  min-height: 36px !important;
  font-size: .88rem;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.user-select-options {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: .35rem;
  scrollbar-width: thin;
}
.user-select-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .45rem .55rem;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.user-select-option:hover,
.user-select-option.is-active {
  background: rgba(10, 22, 40, .06);
}
.user-select-option-text {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  min-width: 0;
  flex: 1;
}
.user-select-option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: .88rem;
}
.user-select-option-sub {
  font-size: .72rem;
  color: var(--ink-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-select-tools {
  display: flex; gap: .35rem; padding: .35rem .55rem .15rem;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.user-select-check {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  text-align: center;
  font-weight: 800;
  color: var(--brand-dark, #1d4f91);
}
.user-select.is-multi .user-select-option {
  gap: .45rem;
}
.user-select-empty {
  margin: .65rem .5rem;
  text-align: center;
}
.assign-search {
  margin: 0;
  min-height: 34px;
  font-size: .85rem;
}
.panel-user-chip {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem .75rem .75rem;
}
.panel-user-chip .user-avatar { flex-shrink: 0; }
.panel-user-chip-text { min-width: 0; }
.panel-user-chip strong { display: block; color: #fff; font-size: .9rem; }
.panel-user-chip .tiny,
.panel-user-chip .panel-user-role {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
}
.app-header-profile .user-avatar,
.app-header-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.app-header-profile .user-avatar {
  width: 100%;
  height: 100%;
}
.avatar-chip-lg {
  font-size: 1.15rem;
  padding: .4rem .85rem .4rem .4rem;
  font-weight: 800;
  border: 0;
  background: transparent;
}
.avatar-chip-lg .avatar-chip-name {
  color: var(--navy);
}

/* ========== Mobile: panel + stats; tables scroll horizontally ========== */
@media (max-width: 900px) {
  .panel-body,
  .panel-main,
  .panel-content {
    max-width: 100%;
    overflow-x: clip;
  }
  .panel-content {
    padding: .85rem .75rem 1.1rem;
  }
  .page-brief {
    padding: 1.05rem 1.1rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 18px;
  }
  .page-brief h2 {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }
  .filter-panel {
    padding: .65rem .7rem;
    margin-bottom: .75rem;
  }
  .filter-panel-row .filter-compact {
    flex: 1 1 calc(50% - .65rem);
    width: auto;
    max-width: none;
    min-width: 0;
  }
  .filter-panel-row .filter-grow {
    flex: 1 1 100%;
  }
  .list-panel-head {
    padding: .65rem .75rem;
  }
  .list-panel-head h3 {
    font-size: .9rem;
  }

  .list-panel .table-wrap,
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    max-width: 100%;
  }
  .data-table,
  .table.data-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
    font-size: .78rem;
  }
  .students-table,
  .table.students-table {
    width: max-content;
    min-width: 720px;
    table-layout: auto;
    font-size: .78rem;
  }
  .students-table th,
  .students-table td,
  .data-table th,
  .data-table td {
    padding: .55rem .45rem;
    font-size: .78rem;
    white-space: nowrap;
  }
  .data-table th,
  .students-table th,
  .table th {
    font-size: .65rem;
    letter-spacing: .03em;
  }
  .data-table .col-actions,
  .data-table th:last-child,
  .data-table td:last-child,
  .students-table th:last-child,
  .students-table td:last-child,
  .students-table-actions {
    width: 1%;
    white-space: nowrap;
    overflow: visible;
    text-align: right;
  }
  .dash-mini-table th.dash-th-countdown,
  .dash-mini-table td.dash-td-countdown {
    width: 30% !important;
    min-width: 7.5rem !important;
    text-align: left !important;
    overflow: visible !important;
  }
  .data-table-actions,
  .students-table-actions-inner {
    flex-wrap: nowrap;
    gap: .3rem;
    justify-content: flex-end;
    align-items: center;
    max-width: none;
  }
  .data-table-actions .btn,
  .students-table-actions-inner .btn,
  .data-table-actions .btn-sm,
  .students-table-actions-inner .btn-sm {
    padding: .28rem .5rem;
    font-size: .72rem;
    line-height: 1.2;
    border-radius: 8px;
    min-height: 1.85rem;
  }
  .qa {
    padding: .85rem .75rem;
  }
  .qa strong { font-size: .88rem; }
  .qa small { font-size: .72rem; }
}

/* Desktop: tabloda gereksiz yatay scroll olmasÄ±n */
@media (min-width: 901px) {
  .list-panel .table-wrap,
  .table-wrap {
    overflow-x: hidden;
  }
  .dash-mini-table-wrap.table-wrap,
  .table-wrap.dash-mini-table-wrap {
    overflow-x: visible;
  }
  .students-table,
  .data-table,
  .table.data-table,
  .table.students-table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
  }
  .admin-table.table.data-table,
  .table.data-table.admin-table {
    table-layout: auto;
  }
  .admin-table .col-actions,
  .admin-table th.col-actions,
  .admin-table td.col-actions {
    width: 1%;
    white-space: nowrap;
    overflow: visible;
    text-align: right;
  }
  .data-table .col-actions,
  .data-table th:last-child,
  .data-table td:last-child,
  .students-table th:last-child,
  .students-table td:last-child {
    overflow: hidden;
  }
  .classes-table th:last-child,
  .classes-table td:last-child,
  .classes-table .col-actions {
    width: 7.5rem;
    min-width: 7.5rem;
    overflow: visible;
  }
  .dash-mini-table th:last-child,
  .dash-mini-table td:last-child,
  .dash-mini-table td.dash-td-datetime,
  .dash-mini-table td.dash-td-countdown {
    overflow: visible !important;
  }
  .data-table-actions,
  .students-table-actions-inner {
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .panel-content {
    padding: .7rem .55rem 1rem;
  }

  .modal-sheet {
    width: 100% !important;
    max-width: 100%;
    max-height: min(90dvh, 100%);
    border-radius: 16px 16px 0 0;
  }
  html[data-geyik-app="1"] .modal-sheet {
    width: min(560px, calc(100% - 1.4rem)) !important;
    max-width: calc(100% - 1.4rem) !important;
    max-height: calc(
      var(--geyik-vv-height, 100dvh)
      - var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px)))
      - var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)))
      - 2.8rem
    ) !important;
    border-radius: 16px !important;
  }
  .modal-head {
    padding: .75rem .85rem;
  }
  .modal-body {
    padding: .75rem .85rem;
  }
  .modal-foot {
    padding: .65rem .85rem;
    gap: .4rem;
  }
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr !important;
  }

  /* Kart / popup: input taÅmalarÄ±nÄ± kes (assign dropdown Ã¼stte kalsÄ±n) */
  .card,
  .modal-sheet,
  .form-section:not(.assign-section),
  .page-brief,
  .auth-card,
  .dash-block,
  .filter-bar,
  .list-toolbar {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
  .auth-card {
    overflow-x: visible;
  }
  .modal-body {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    overflow-y: auto;
  }
  .assign-panel,
  .assign-col,
  .assign-section,
  .assign-section-body {
    max-width: 100%;
    min-width: 0;
  }
  .assign-section:not(.exam-form-col-assign .assign-section),
  .assign-section-body {
    overflow: visible;
  }
  .exam-form-col-assign .assign-section,
  .exam-form-col-assign .assign-section-body,
  .exam-form-col-assign .assign-panel,
  .exam-form-col-assign .assign-col {
    overflow: hidden !important;
  }
  .assign-panel .assign-col,
  .assign-col[data-assign-dropdown] {
    max-height: none !important;
  }
  .assign-pick {
    max-width: 100%;
    overflow: hidden;
  }
  .form-group,
  .form-row,
  .form-row-2,
  .user-select,
  .exam-form-cols,
  .exam-main-grid {
    min-width: 0;
    max-width: 100%;
  }
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  select,
  textarea,
  .form-control,
  .form-select,
  .user-select-trigger,
  .assign-search {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  input[type="month"],
  input[type="week"],
  input[type="number"],
  input[type="search"] {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  /* Native Ã§oklu select liste gibi aÃ§Ä±k gÃ¶rÃ¼nmesin / taÅmasÄ±n */
  select[multiple]:not(.user-select-native) {
    max-height: 9rem;
    max-width: 100%;
  }

  .hub-cat .hub-card,
  .hub-command .hub-card,
  .student-detail-hub .hub-card {
    padding: .65rem .5rem;
    font-size: .78rem;
  }
  .student-detail-hero {
    padding: .75rem .8rem;
    gap: .65rem;
  }
  .student-detail-hero-copy h3 {
    font-size: 1.05rem;
  }
  .queue-item {
    padding: .65rem .7rem;
  }
}

@media (max-width: 400px) {
  .stat-grid-fit .stat-card {
    padding: .5rem .45rem .55rem;
  }
}



/* âââ Deneme studio + student cards âââ */
.deneme-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  margin: 0 0 1rem;
}
.deneme-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .85rem;
}
.deneme-student-card {
  appearance: none;
  border: 1px solid var(--card-border);
  background: var(--card-bg-solid);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  width: 100%;
  font: inherit;
  color: inherit;
}
.deneme-student-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91, 143, 212, .45);
}
.deneme-student-card-top {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.deneme-student-card-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.deneme-student-card-meta strong {
  font-family: var(--display);
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deneme-student-card-count {
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.deneme-student-card-foot {
  margin-top: .75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.deneme-score-pill {
  font-size: .72rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: .2rem .5rem;
  border-radius: 999px;
}
.deneme-history-actions { margin-bottom: .75rem; }
.deneme-history-sheet {
  width: min(1180px, calc(100vw - 1.25rem)) !important;
  max-width: calc(100vw - 1.25rem);
}
.deneme-history-sheet .modal-body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.deneme-history-sheet .table-wrap {
  overflow-x: auto !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-height: 0;
}
.deneme-history-table,
.deneme-history-sheet .data-table.deneme-history-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto !important;
}
.deneme-history-table th,
.deneme-history-table td {
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip;
  padding: .55rem .5rem;
  font-size: .8rem;
}
.deneme-history-table th.col-actions,
.deneme-history-table td.col-actions {
  position: static;
  right: auto;
  z-index: auto;
  background: transparent;
  box-shadow: none;
  min-width: 11.5rem;
  width: auto;
  overflow: visible !important;
  white-space: nowrap;
  text-align: right;
}
.deneme-history-table .data-table-actions {
  flex-wrap: nowrap;
  max-width: none;
}
.deneme-history-table .deneme-c-score { color: #6d28d9; font-weight: 600; }
.deneme-history-table .deneme-c-ok { color: var(--success); font-weight: 600; }
.deneme-history-table .deneme-c-bad { color: var(--danger); font-weight: 600; }
.deneme-history-table .deneme-c-blank { color: var(--ink-muted); }
.deneme-history-table .deneme-c-net { color: var(--info); }
.deneme-btn-del { color: var(--danger) !important; }
.deneme-history-table tr.deneme-history-row,
.deneme-history-table tr.is-clickable {
  cursor: pointer;
}
.deneme-history-table tr.deneme-history-row:hover,
.deneme-history-table tr.is-clickable:hover {
  background: #f1f5f9;
}
.deneme-detail-branches {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.deneme-detail-branch {
  padding: .7rem .8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 55, 95, 0.08);
}
.deneme-detail-branch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.deneme-detail-branch-meta { margin-top: .2rem; }

.deneme-hub-sheet {
  width: min(1120px, calc(100vw - 1.25rem)) !important;
  max-height: min(94dvh, 920px);
}
.deneme-studio-hub .deneme-studio-top-hub {
  margin-bottom: 0;
}
.deneme-history-wrap {
  overflow-x: auto !important;
  max-width: 100%;
}
.deneme-studio-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: .85rem;
}
.deneme-panel {
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.deneme-panel-wide { margin-top: .15rem; }
.deneme-panel-head {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-bottom: .85rem;
}
.deneme-panel-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 700;
}
.deneme-panel-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.deneme-panel-ico-user { background: #ede9fe; color: #6d28d9; }
.deneme-panel-ico-doc { background: var(--success-soft); color: var(--success); }
.deneme-panel-ico-gear { background: var(--bg-soft); color: var(--ink-soft); }
.deneme-panel-ico-pin { background: var(--danger-soft); color: var(--danger); }

.deneme-mgmt-btns {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.deneme-mgmt-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: .7rem .85rem;
  font: inherit;
  font-weight: 600;
  font-size: .82rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-align: center;
}
.deneme-mgmt-btn-warn { background: linear-gradient(135deg, #f59e0b, #d97706); }
.deneme-mgmt-btn-brand { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.deneme-mgmt-btn-info { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.deneme-mgmt-btn:hover { filter: brightness(1.05); }

.deneme-template-list {
  list-style: none;
  margin: .65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.deneme-template-list li {
  font-size: .8rem;
  padding: .35rem .5rem;
  background: var(--bg-elevated);
  border-radius: 8px;
}

.deneme-dyb-grid {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.deneme-dyb-head,
.deneme-dyb-card {
  display: grid;
  grid-template-columns: minmax(8rem, 1.4fr) repeat(4, minmax(4.25rem, 5.5rem));
  align-items: center;
  gap: .5rem .65rem;
}
.deneme-dyb-head {
  padding: 0 .75rem .15rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.deneme-dyb-head span:not(:first-child) {
  text-align: center;
}
.deneme-dyb-card {
  border: 1px solid rgba(59, 130, 246, .22);
  border-radius: 10px;
  padding: .45rem .75rem;
  background: #fff;
}
.deneme-dyb-name {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.deneme-dyb-name em {
  font-style: normal;
  color: var(--ink-muted);
  font-size: .8rem;
  flex-shrink: 0;
}
.deneme-dyb-name strong {
  font-size: .88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deneme-dyb-field {
  margin: 0;
  min-width: 0;
}
.deneme-dyb-mob-lab {
  display: none;
}
.deneme-dyb-card .form-control {
  text-align: center;
  padding: .35rem .3rem;
  font-size: .88rem;
  font-weight: 600;
  height: 2.15rem;
}
.deneme-tq-input {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #9f1239;
}
.deneme-in-ok {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857;
}
.deneme-in-bad {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #b91c1c;
}
.deneme-in-blank {
  background: var(--bg-elevated) !important;
  border-color: var(--line) !important;
  color: var(--ink-muted);
  font-weight: 500 !important;
}
.deneme-studio-actions {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}

.deneme-mgmt-head { color: #fff; border-bottom: 0; }
.deneme-mgmt-head .modal-title-sub { color: rgba(255,255,255,.85); }
.deneme-mgmt-head-warn { background: linear-gradient(135deg, #f59e0b, #d97706); }
.deneme-mgmt-head-brand { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.deneme-mgmt-head-info { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.deneme-branch-setup-list {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .35rem;
}
.deneme-branch-setup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .4rem .45rem;
  border-radius: 8px;
  cursor: pointer;
}
.deneme-branch-setup-row:hover { background: var(--bg-elevated); }
.deneme-branch-setup-left {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
}

.deneme-order-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.deneme-order-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: grab;
}
.deneme-order-item.is-dragging { opacity: .55; border-style: dashed; }
.deneme-order-handle { color: var(--ink-muted); font-size: 1rem; }
.deneme-order-label { flex: 1; min-width: 0; }

@media (max-width: 1100px) {
  .deneme-studio-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .deneme-studio-top { grid-template-columns: 1fr; }
  .deneme-dyb-head { display: none; }
  .deneme-dyb-card {
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    padding: .65rem .7rem;
  }
  .deneme-dyb-name {
    grid-column: 1 / -1;
    margin-bottom: .15rem;
  }
  .deneme-dyb-mob-lab {
    display: block;
    font-size: .65rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: .15rem;
  }
}

/* ââ Talepler hub + Ã¶Ärenci tavsiye popup ââ */
.hub-card-badge {
  position: absolute;
  top: .65rem;
  right: .65rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .12);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hub-card { position: relative; }
.req-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
}
.req-stat {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.req-stat-n { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.req-empty {
  text-align: center;
  padding: 1.5rem 1rem;
}
.req-feed {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.req-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .85rem 1rem;
  background: var(--card-bg-solid);
}
.req-card.is-pending {
  border-color: color-mix(in srgb, var(--warn, #d97706) 35%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--warn, #d97706) 12%, transparent);
}
.req-card-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .45rem;
}
.req-card-who { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.req-card-msg {
  margin: 0;
  font-size: .92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.req-card-reply { margin: .55rem 0 0; }
.req-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-top: .65rem;
}
.req-card-actions .form-control { flex: 1 1 160px; min-width: 140px; }
.req-grade-form { margin-top: .65rem; }
.req-advice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.15rem;
  align-items: start;
}
.req-advice-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
  margin-top: .85rem;
}
.req-stu-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 1rem;
  margin-top: 1rem;
}
.req-stu-form-card .card-head,
.req-stu-list-card .card-head { margin-bottom: .85rem; }
.advice-popup-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-bottom: .2rem;
}
.advice-popup-text {
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}
.advice-popup-timer {
  margin-top: 1rem;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.advice-popup-timer-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--brand, #2a9d8f));
  border-radius: inherit;
}
.advice-popup-timer-label { margin: .45rem 0 0; }
.advice-tone-motivation .modal-head {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
}
.advice-tone-warning .modal-head {
  background: linear-gradient(135deg, #b45309 0%, #92400e 55%, #78350f 100%);
}
.advice-tone-reminder .modal-head {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 55%, #1e3a8a 100%);
}
@media (max-width: 900px) {
  .req-advice-layout,
  .req-stu-layout { grid-template-columns: 1fr; }
  .req-stat-row { grid-template-columns: 1fr; }
}

/* ââ KeÅfet / Ã¶Äretmen profil ââ */
.disc-page { overflow-x: clip; }
.disc-hero {
  position: relative;
  background: linear-gradient(155deg, #07111f 0%, #122a45 42%, #0d3d4a 78%, #0a2f38 100%);
  color: #fff;
  padding: 2.75rem 0 2.35rem;
  overflow: hidden;
}
.disc-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.disc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
  animation: disc-float 12s ease-in-out infinite;
}
.disc-orb-a {
  width: 420px; height: 420px;
  left: -120px; top: -160px;
  background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 68%);
}
.disc-orb-b {
  width: 360px; height: 360px;
  right: -80px; top: 20%;
  background: radial-gradient(circle, rgba(45, 212, 191, .28), transparent 70%);
  animation-delay: -4s;
}
.disc-orb-c {
  width: 280px; height: 280px;
  left: 42%; bottom: -140px;
  background: radial-gradient(circle, rgba(96, 165, 250, .22), transparent 70%);
  animation-delay: -7s;
}
.disc-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 92%);
  opacity: .5;
}
@keyframes disc-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.04); }
}
.disc-hero-inner { position: relative; z-index: 1; max-width: 960px; }
.disc-back-row { margin: 0 0 .65rem; }
.disc-back-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 650;
  padding: .28rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  transition: background .15s ease, border-color .15s ease;
}
.disc-back-link:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.35);
}
.tp-back-btn {
  color: #fff !important;
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.08) !important;
}
.tp-back-btn:hover {
  background: rgba(255,255,255,.16) !important;
}
.disc-eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
  opacity: .78;
  margin: 0 0 .5rem;
}
.disc-hero h1 {
  margin: 0 0 .55rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #fff;
}
.disc-lead {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, .92);
  opacity: 1;
  max-width: 36rem;
  line-height: 1.55;
  font-size: 1.02rem;
}

.disc-search { display: grid; gap: .55rem; }
.disc-search-rich {
  padding: .85rem;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.disc-search-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}
.disc-search-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .45rem;
}
.disc-search .form-control,
.disc-search-rich .form-control {
  background: rgba(255,255,255,.96);
  border: none;
  min-height: 2.65rem;
  color: var(--ink, #0f172a);
}
.disc-search .form-control::placeholder {
  color: var(--ink-muted, #64748b);
  opacity: 1;
}
.disc-search-btn { min-height: 2.65rem; padding-inline: 1.35rem; font-weight: 700; }
.disc-search-compact {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) auto;
}
.disc-search-compact .form-control { background: #fff; border: 1px solid var(--line); }

.disc-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}
.disc-chip {
  display: inline-flex;
  align-items: center;
  padding: .38rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 650;
  background: rgba(255,255,255,.06);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.disc-chip:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.disc-chip.is-on {
  background: #fff;
  color: #0a1628;
  border-color: #fff;
}
.disc-chip-clear { border-style: dashed; opacity: .9; }

.disc-hero-note { margin: .95rem 0 0; opacity: .82; }
.disc-hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.disc-stats-wrap { margin-top: -1.15rem; position: relative; z-index: 2; padding: 0 0 .25rem; }
.disc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  padding: .85rem;
  border-radius: 18px;
  background: var(--card-bg-solid, #fff);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(10, 22, 40, .08);
}
.disc-stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6fafc, #eef4f8);
}
.disc-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy, #0a1628);
}
.disc-stat span { font-size: .75rem; color: var(--ink-muted, #64748b); font-weight: 600; }

.disc-featured-wrap { padding: 1.75rem 0 .25rem; }
.disc-section-head { margin-bottom: 1rem; }
.disc-section-eyebrow {
  margin: 0 0 .25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-muted, #64748b);
}
.disc-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -.02em;
}
.disc-featured-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}
.disc-featured-card {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .9rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(13, 148, 136, .06), transparent 55%),
    var(--card-bg-solid, #fff);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.disc-featured-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--navy) 28%, var(--line));
  box-shadow: 0 14px 32px rgba(10, 22, 40, .1);
}
.disc-featured-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.disc-featured-body strong { font-size: .95rem; }
.disc-company {
  font-size: .75rem;
  color: var(--ink-muted, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.disc-grid-wrap { padding: 1.35rem 0 2rem; }
.disc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.disc-result-count { font-size: 1.15rem; display: block; }
.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.disc-grid-panel { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.disc-grid-rich { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.disc-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card-bg-solid, #fff);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.disc-card-rich {
  position: relative;
  overflow: hidden;
  padding: 0 1.05rem 1.05rem;
  animation: disc-card-in .45s ease both;
  animation-delay: calc(min(var(--disc-i, 0), 12) * 35ms);
}
.disc-card-banner {
  height: 10px;
  margin: 0 -1.05rem .95rem;
  background: linear-gradient(90deg, #0f2744, #1a5a66 55%, #0d9488);
  opacity: .9;
}
@keyframes disc-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.disc-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--navy) 28%, var(--line));
  box-shadow: 0 16px 36px rgba(10, 22, 40, .1);
}
.disc-card-static:hover { transform: none; }
.disc-card-top { display: flex; gap: .75rem; align-items: center; }
.disc-avatar-lg { width: 72px !important; height: 72px !important; border-radius: 18px !important; }
.disc-card-who { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.disc-card-who strong { font-size: 1.02rem; letter-spacing: -.01em; }
.disc-role { font-size: .72rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.disc-headline {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink-muted, #64748b);
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.disc-card-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.disc-tag {
  display: inline-flex;
  padding: .22rem .5rem;
  border-radius: 999px;
  background: var(--brand-soft, #eef6f4);
  border: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 600;
}
.disc-tag-branch {
  background: color-mix(in srgb, var(--navy) 10%, #fff);
  border-color: color-mix(in srgb, var(--navy) 18%, var(--line));
  color: var(--navy);
}
.disc-tag-svc {
  background: #f0fdfa;
  border-color: #99f6e4;
  color: #0f766e;
}
.disc-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .55rem;
  border-top: 1px dashed var(--line);
}
.disc-card-rating { display: flex; flex-direction: column; gap: .1rem; }
.disc-card-cta {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  opacity: .75;
  transition: opacity .15s ease, transform .15s ease;
}
.disc-card:hover .disc-card-cta { opacity: 1; transform: translateX(2px); }
.disc-stars { color: #cbd5e1; font-size: .92rem; letter-spacing: .02em; }
.disc-stars .is-on { color: #f59e0b; }
.disc-stars em { font-style: normal; font-weight: 700; color: var(--navy); margin-left: .2rem; font-size: .82rem; }
.disc-stars-empty { font-size: .75rem; color: var(--ink-muted); }
.disc-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}
.disc-empty-ico {
  width: 52px; height: 52px;
  margin: 0 auto .75rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e2e8f0;
  color: #64748b;
  font-size: 1.35rem;
}
.disc-empty h3 { margin: 0 0 .35rem; }
.disc-empty p { margin: 0 0 1rem; color: var(--ink-muted); }
.disc-empty-compact {
  padding: 1.5rem 1rem;
  text-align: left;
}
.disc-empty-compact h3 { font-size: 1rem; }
.disc-empty-compact p { margin: 0; }

.disc-inst-wrap {
  padding: 1.5rem 0 .5rem;
  background: linear-gradient(180deg, #f7faf9 0%, transparent 90%);
}
.disc-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.disc-grid-inst {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.disc-card-inst {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 0 0 .9rem;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  animation: disc-card-in .45s ease both;
  animation-delay: calc(var(--disc-i, 0) * .04s);
}
.disc-card-inst:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.disc-card-banner-inst {
  height: 72px;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--navy) 78%, #0f766e), color-mix(in srgb, var(--navy) 55%, #134e4a));
  background-size: cover;
  background-position: center;
}
.disc-avatar-sq { border-radius: 14px !important; }
.disc-card-inst .disc-card-top,
.disc-card-inst .disc-headline,
.disc-card-inst .disc-card-foot {
  padding-inline: .95rem;
}
.disc-card-inst .disc-card-top { margin-top: -.2rem; }

/* Kurum public profil */
.ip-page { overflow-x: clip; }
.ip-hero {
  position: relative;
  color: #fff;
  padding: 1.5rem 0 1.75rem;
  background:
    linear-gradient(135deg, #0b1f33 0%, #0f3d3a 55%, #134e4a 100%);
  background-image:
    linear-gradient(180deg, rgba(8, 18, 32, .72), rgba(8, 18, 32, .88)),
    var(--ip-cover, none);
  background-size: cover;
  background-position: center;
}
.ip-hero-shade { position: absolute; inset: 0; pointer-events: none; }
.ip-hero-inner { position: relative; z-index: 1; }
.ip-back { margin: 0 0 1rem; }
.ip-back a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; }
.ip-back a:hover { color: #fff; }
.ip-identity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.ip-logo {
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border: 3px solid rgba(255,255,255,.2);
}
.ip-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .45rem; }
.ip-badge {
  display: inline-flex;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: .72rem;
  font-weight: 700;
}
.ip-badge-soft { background: rgba(255,255,255,.08); font-weight: 600; }
.ip-hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.02em;
}
.ip-lead {
  margin: .45rem 0 0;
  max-width: 40rem;
  opacity: .88;
  line-height: 1.5;
}
.ip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.ip-stat {
  min-width: 7rem;
  padding: .7rem .95rem;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}
.ip-stat strong { display: block; font-size: 1.15rem; }
.ip-stat span { font-size: .72rem; opacity: .8; }
.ip-stat-phone a { color: #fff; text-decoration: none; }
.ip-body { padding: 1.75rem 0 3rem; }
.ip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1.5rem;
  align-items: start;
}
.ip-main h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.ip-about { margin: 0; line-height: 1.65; color: var(--ink-muted, #475569); white-space: pre-wrap; }
.ip-gal-title { margin-top: 2rem; }
.ip-album { margin-top: 1rem; }
.ip-album h3 { margin: 0 0 .65rem; font-size: .95rem; }
.ip-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .65rem;
}
.ip-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 1;
}
.ip-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-shot figcaption {
  padding: .35rem .5rem;
  font-size: .7rem;
  background: #fff;
  color: var(--ink-muted);
}
.ip-aside { display: grid; gap: .85rem; }
.ip-card {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.ip-card h3 { margin: 0 0 .45rem; font-size: .85rem; }
.ip-card p { margin: 0 0 .35rem; }
@media (max-width: 820px) {
  .ip-grid { grid-template-columns: 1fr; }
}

.disc-howto {
  padding: 1.5rem 0 3rem;
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(13, 148, 136, .08), transparent 60%),
    linear-gradient(180deg, transparent, #f4f7fb 30%);
}
.disc-howto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.disc-howto-item {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card-bg-solid, #fff);
}
.disc-howto-num {
  display: inline-grid;
  place-items: center;
  width: 1.7rem; height: 1.7rem;
  border-radius: 8px;
  background: #0a1628;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: .55rem;
}
.disc-howto-item strong { display: block; margin-bottom: .3rem; font-size: 1rem; }
.disc-howto-item p { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--ink-muted); }

/* Panel iÃ§i keÅfet (Ã¶Ärenci) */
.panel-content:has(.disc-page-panel) {
  padding-top: 0;
  padding-inline: 0;
  padding-bottom: 0;
}
.disc-page-panel .disc-hero {
  border-radius: 0;
  margin: 0;
}
.disc-page-panel .disc-hero-inner,
.disc-page-panel .disc-stats-wrap,
.disc-page-panel .disc-featured-wrap,
.disc-page-panel .disc-grid-wrap,
.disc-page-panel .disc-howto,
.disc-page-panel .disc-mine-wrap {
  max-width: var(--container, 1100px);
  margin-inline: auto;
  padding-inline: 1.15rem;
  width: 100%;
  box-sizing: border-box;
}
.disc-page-panel .disc-stats-wrap { padding-top: 0; }
.disc-page-panel .disc-hero-inner { padding-top: 0; }
.disc-mine-wrap { padding: 1.5rem 0 .35rem; }
.disc-mine-card {
  flex-direction: column;
  align-items: stretch;
  gap: .65rem;
}
.disc-mine-main {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.disc-mine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding-top: .35rem;
  border-top: 1px dashed var(--line);
}

@media (max-width: 860px) {
  .disc-search-filters { grid-template-columns: 1fr 1fr; }
  .disc-stats { grid-template-columns: 1fr 1fr; }
  .disc-howto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .disc-search-main { grid-template-columns: 1fr; }
  .disc-search-filters { grid-template-columns: 1fr; }
  .disc-hero { padding: 2rem 0 1.75rem; }
  .disc-meta-row { flex-direction: column; align-items: flex-start; }
}

.tp-grade-checks {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
}

/* ââ ÃÄretmen site layout (profil sayfasÄ±) ââ */
.tp-site-body {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(91, 143, 212, .18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(13, 148, 136, .12), transparent 50%),
    linear-gradient(180deg, #eef3f9 0%, #e4ecf6 40%, #dfe8f4 100%);
  min-height: 100vh;
  min-height: 100dvh;
}
.tp-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  /* Kamera Ã§entiÄi / status bar â uygulama & mobil tarayÄ±cÄ± */
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-sizing: border-box;
}
html[data-geyik-app="1"] .tp-topbar {
  padding-top: calc(var(--geyik-sat, var(--app-safe-top, env(safe-area-inset-top, 0px))) + 0px);
  padding-left: max(0px, var(--geyik-sal, var(--app-safe-left, env(safe-area-inset-left, 0px))));
  padding-right: max(0px, var(--geyik-sar, var(--app-safe-right, env(safe-area-inset-right, 0px))));
}
html[data-geyik-app="1"] .tp-site-body {
  padding-bottom: max(0px, var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px))));
}
html[data-geyik-app="1"] .tp-site-footer {
  padding-bottom: max(2rem, calc(1.25rem + var(--geyik-sab, var(--app-safe-bottom, env(safe-area-inset-bottom, 0px)))));
}
.tp-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .65rem 1.15rem .7rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.tp-topbar-brand {
  display: inline-flex;
  align-items: center;
  padding: .16rem .28rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
  line-height: 0;
  text-decoration: none;
}
.tp-topbar-logo {
  height: 28px;
  width: auto;
  max-width: 118px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
.tp-topbar-member {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
}
.tp-topbar-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .2);
  flex-shrink: 0;
  animation: tp-pulse 2.4s var(--ease) infinite;
}
@keyframes tp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45, 212, 191, .18); }
  50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, .08); }
}
.tp-topbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
}
.tp-topbar-actions .btn {
  font-weight: 700;
}
.tp-topbar-link {
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  padding: .35rem .55rem;
}
.tp-topbar-link:hover { color: #fff; }
.tp-site-main { min-height: 60vh; }
.tp-site-footer {
  margin-top: 2.5rem;
  padding: 1.75rem 1rem 2rem;
  border-top: 1px solid rgba(10,22,40,.08);
  background: rgba(255,255,255,.35);
}
.tp-site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.tp-footer-brand img,
.tp-footer-brand .brand-logo {
  height: 58px;
  width: auto;
  max-width: min(100%, 300px);
  margin-bottom: .65rem;
  object-fit: contain;
}
.tp-site-footer p {
  margin: 0 0 .65rem;
  color: var(--ink-muted);
  font-size: .84rem;
}
.tp-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem 1.1rem;
}
.tp-footer-links a {
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  opacity: .75;
}
.tp-footer-links a:hover { opacity: 1; }

.tp-page { padding-bottom: 2rem; }
.tp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2.4rem 0 2.1rem;
  background: linear-gradient(145deg, #07111f 0%, #12304f 42%, #0f3d45 100%);
}
.tp-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.tp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .45;
}
.tp-hero-orb-a {
  width: 280px; height: 280px;
  background: #5b8fd4;
  top: -80px; left: -40px;
  animation: tp-float 9s ease-in-out infinite;
}
.tp-hero-orb-b {
  width: 320px; height: 320px;
  background: #0d9488;
  right: -60px; bottom: -120px;
  animation: tp-float 11s ease-in-out infinite reverse;
}
.tp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  opacity: .5;
}
@keyframes tp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}
.tp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.tp-hero-identity {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  min-width: 0;
  flex: 1 1 420px;
}
.tp-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.tp-avatar {
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
  position: relative;
  z-index: 1;
}
.tp-avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  animation: tp-ring 3.2s var(--ease) infinite;
}
@keyframes tp-ring {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.04); opacity: 1; }
}
.tp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .55rem;
}
.tp-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
}
.tp-badge-soft { background: rgba(255,255,255,.08); font-weight: 600; text-transform: none; letter-spacing: 0; }
.tp-badge-member {
  background: linear-gradient(90deg, rgba(45,212,191,.25), rgba(91,143,212,.25));
  border-color: rgba(45,212,191,.4);
}
.tp-name {
  margin: 0 0 .4rem;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
}
.tp-headline {
  margin: 0 0 .75rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  max-width: 36rem;
}
.tp-hero-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.tp-pill {
  display: inline-flex;
  padding: .32rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  font-weight: 600;
}
.tp-pill-accent {
  background: rgba(91,143,212,.35);
  border-color: rgba(91,143,212,.5);
}
.tp-hero-rating {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.tp-rating-count { font-size: .8rem; color: rgba(255,255,255,.7); }
.tp-stars { color: rgba(255,255,255,.28); font-size: 1rem; letter-spacing: .03em; }
.tp-stars .is-on { color: #fbbf24; text-shadow: 0 0 12px rgba(251,191,36,.35); }
.tp-stars em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
  margin-left: .35rem;
  font-size: .9rem;
}
.tp-stars-empty { font-size: .8rem; color: rgba(255,255,255,.55); }
.tp-hero-stats {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.tp-stat {
  min-width: 5.4rem;
  text-align: center;
  padding: .75rem .9rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.tp-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.tp-stat span {
  display: block;
  margin-top: .15rem;
  font-size: .68rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  opacity: .72;
}

.tp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr);
  gap: 1.25rem;
  margin-top: -1.35rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}
.tp-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.tp-panel {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(10,22,40,.07);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 14px 40px rgba(10,22,40,.06);
  backdrop-filter: blur(8px);
}
.tp-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
}
.tp-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
}
.tp-panel-head p {
  margin: .2rem 0 0;
  font-size: .8rem;
  color: var(--ink-muted);
}
.tp-count-pill {
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 .5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 700;
}
.tp-bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  white-space: pre-wrap;
}
.tp-empty, .tp-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: .88rem;
  line-height: 1.45;
}
.tp-empty-box {
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background: linear-gradient(160deg, #f5f8fc, #eaf1f9);
  border: 1px dashed var(--line-strong);
  text-align: center;
}
.tp-empty-box strong { display: block; margin-bottom: .25rem; color: var(--navy); }
.tp-empty-box p { margin: 0; font-size: .86rem; color: var(--ink-muted); }
.tp-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tp-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.tp-chip {
  padding: .42rem .75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  border: 1px solid rgba(91,143,212,.28);
  font-size: .8rem;
  font-weight: 650;
  color: var(--navy);
}
.tp-chip-alt {
  background: linear-gradient(180deg, #fff, #e7f6f3);
  border-color: rgba(13,148,136,.25);
}
.tp-reviews { display: flex; flex-direction: column; gap: .75rem; }
.tp-review {
  border: 1px solid rgba(10,22,40,.07);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  background: linear-gradient(165deg, #fff 0%, #f6f9fc 100%);
  animation: tp-rise .5s var(--ease) both;
  animation-delay: var(--d, 0s);
}
.tp-review-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .45rem;
  align-items: flex-start;
}
.tp-review-who {
  display: flex;
  gap: .65rem;
  align-items: center;
  min-width: 0;
}
.tp-review-who strong { display: block; font-size: .92rem; }
.tp-review-who .tiny { display: block; }
.tp-review .tp-stars { color: #e2e8f0; font-size: .95rem; }
.tp-review .tp-stars .is-on { color: #f59e0b; text-shadow: none; }
.tp-review-title { margin: 0 0 .25rem; font-size: .98rem; color: var(--navy); }
.tp-review-body { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }

.tp-side {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: sticky;
  top: 4.5rem;
  align-self: start;
}
.tp-action-card {
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  box-shadow: 0 18px 48px rgba(10,22,40,.1);
}
.tp-action-card-alt {
  background: linear-gradient(165deg, #f8fbff 0%, #eef5fb 100%);
}
.tp-action-head h3 {
  margin: 0 0 .3rem;
  font-size: 1.08rem;
  color: var(--navy);
}
.tp-action-head p {
  margin: 0 0 .85rem;
  font-size: .84rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
.tp-action-btns {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.tp-linked {
  display: inline-flex;
  margin: 0 0 .65rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: #0f766e;
  font-size: .78rem;
  font-weight: 700;
}
.tp-form { margin-top: .15rem; }
.tp-form .form-group { margin-bottom: .7rem; }
.tp-form .form-group:last-of-type { margin-bottom: .85rem; }
.tp-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(10,22,40,.06);
  color: var(--navy);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}
.tp-back-link:hover { background: #fff; }

.tp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0s);
}
.tp-reveal.is-in {
  opacity: 1;
  transform: none;
}
@keyframes tp-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .disc-search { grid-template-columns: 1fr 1fr; }
  .disc-search button { grid-column: 1 / -1; }
  .tp-topbar-inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    padding: .55rem .85rem .6rem;
    gap: .65rem .75rem;
  }
  .tp-topbar-brand {
    padding: .14rem .24rem;
    border-radius: 7px;
  }
  .tp-topbar-logo {
    height: 24px;
    max-width: 100px;
  }
  .tp-topbar-brand { grid-column: 1; }
  .tp-topbar-actions { grid-column: 2; justify-self: end; }
  .tp-topbar-member {
    grid-column: 1 / -1;
    justify-content: flex-start;
    font-size: .78rem;
  }
  .tp-layout { grid-template-columns: 1fr; margin-top: -1rem; }
  .tp-side { position: static; }
  .tp-split { grid-template-columns: 1fr; }
  .tp-hero-inner { flex-direction: column; align-items: flex-start; }
  .tp-hero-identity { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .disc-search { grid-template-columns: 1fr; }
  .tp-hero { padding: 1.75rem 0 1.6rem; }
  .tp-name { font-size: 1.55rem; }
  .tp-hero-stats { width: 100%; }
  .tp-stat { flex: 1 1 30%; min-width: 0; }
}

.tp-contact-rows {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.tp-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: linear-gradient(165deg, #fff, #f3f7fc);
  border: 1px solid rgba(10,22,40,.07);
  text-decoration: none;
  color: inherit;
}
.tp-contact-row:hover { border-color: rgba(91,143,212,.35); }
.tp-contact-lab {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tp-contact-row strong { font-size: .92rem; color: var(--navy); }
.tp-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.tp-social-links.has-contact { margin-top: .85rem; }
.tp-social-btn {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--navy);
  transition: transform .15s var(--ease), opacity .15s;
}
.tp-social-btn:hover { transform: translateY(-1px); opacity: .92; color: #fff; }
.tp-social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af); }
.tp-social-youtube { background: #c4302b; }
.tp-social-linkedin { background: #0a66c2; }
.tp-social-x { background: #111; }
.tp-social-facebook { background: #1877f2; }
.tp-social-tiktok { background: #111; }
.tp-social-website { background: var(--brand-dark); }
.tp-social-whatsapp { background: #16a34a; }

/* ââ Mesaj gelen kutusu + bildirimler + header zil ââ */
.msg-inbox-grid,
.msg-teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.msg-teacher-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.msg-teacher-grid > .msg-compose-col {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.msg-teacher-grid > .inbox-col:not(.msg-compose-col):not(.inbox-col-notifs) {
  grid-column: 2;
  grid-row: 1;
}
.msg-teacher-grid > .inbox-col-notifs {
  grid-column: 3;
  grid-row: 1 / span 2;
}
@media (max-width: 1100px) {
  .msg-teacher-grid {
    grid-template-columns: 1fr 1fr;
  }
  .msg-teacher-grid > .msg-compose-col {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .msg-teacher-grid > .inbox-col:not(.msg-compose-col):not(.inbox-col-notifs) {
    grid-column: 1;
    grid-row: auto;
  }
  .msg-teacher-grid > .inbox-col-notifs {
    grid-column: 2;
    grid-row: auto;
  }
}
@media (max-width: 720px) {
  .msg-inbox-grid,
  .msg-teacher-grid {
    grid-template-columns: 1fr;
  }
  .msg-teacher-grid > .msg-compose-col,
  .msg-teacher-grid > .inbox-col:not(.msg-compose-col):not(.inbox-col-notifs),
  .msg-teacher-grid > .inbox-col-notifs {
    grid-column: 1;
    grid-row: auto;
  }
}
.msg-compose-pick { margin-bottom: .85rem; }
.msg-compose-pick-row { margin-top: .35rem; }
.msg-thread {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  max-height: min(42vh, 360px);
  overflow: auto;
  padding: .55rem .35rem .55rem 0;
  margin-bottom: .75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.msg-thread-empty { margin: .5rem 0; }
.msg-bubble {
  max-width: 92%;
  padding: .55rem .7rem;
  border-radius: 12px;
  background: #eef3fa;
  border: 1px solid rgba(10, 22, 40, .06);
}
.msg-bubble.is-mine {
  align-self: flex-end;
  background: linear-gradient(165deg, #e8f1fb, #d9e8f8);
  border-color: rgba(91, 143, 212, .28);
}
.msg-bubble.is-theirs { align-self: flex-start; }
.msg-bubble-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-bubble-meta {
  display: block;
  margin-top: .25rem;
  font-size: .68rem;
  color: var(--ink-muted);
}
.msg-compose-form {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.msg-reply-btn {
  margin-top: .45rem;
  align-self: flex-start;
}
.inbox-col-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}
.inbox-col-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.inbox-inline-form { display: inline; margin: 0; }
.inbox-feed {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-height: min(70vh, 560px);
  overflow: auto;
  padding-right: .15rem;
}
.inbox-item {
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 22, 40, .07);
  background: linear-gradient(165deg, #fff, #f5f8fc);
  cursor: pointer;
}
.inbox-item.is-unread {
  border-color: rgba(91, 143, 212, .35);
  background: linear-gradient(165deg, #f7fbff, #eef5fc);
  box-shadow: inset 3px 0 0 var(--brand, #5b8fd4);
  cursor: pointer;
}
.inbox-detail-sheet {
  position: relative;
  text-align: center;
  padding-top: .2rem;
  overflow: hidden;
  border-radius: 24px !important;
  box-shadow: 0 24px 64px rgba(10, 22, 40, .18);
}
.inbox-detail-sheet > .modal-body.inbox-detail-body {
  padding: 1.55rem 1.25rem .45rem;
}
.inbox-detail-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  width: 2.05rem;
  height: 2.05rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 22, 40, .06);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.inbox-detail-close:hover {
  background: rgba(10, 22, 40, .1);
  color: var(--ink);
}
.inbox-detail-body {
  display: grid;
  gap: .55rem;
  justify-items: center;
  padding: 1.55rem 1.25rem .45rem;
}
.inbox-detail-icon {
  --inbox-ico-soft: var(--brand-soft);
  --inbox-ico: var(--brand-dark);
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: .1rem 0 .45rem;
  background: var(--inbox-ico-soft);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.inbox-detail-icon-inner {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--inbox-ico);
  color: #fff;
  line-height: 0;
  box-shadow:
    0 10px 22px color-mix(in srgb, var(--inbox-ico) 35%, transparent),
    inset 0 1px 0 rgba(255,255,255,.25);
}
.inbox-detail-icon-inner svg {
  display: block;
}
.inbox-detail-avatar {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 1.45rem;
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(10, 22, 40, .12);
}
.inbox-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#modalInboxDetail.tone-success .inbox-detail-icon {
  --inbox-ico-soft: var(--success-soft);
  --inbox-ico: var(--success);
}
#modalInboxDetail.tone-danger .inbox-detail-icon {
  --inbox-ico-soft: var(--danger-soft);
  --inbox-ico: var(--danger);
}
#modalInboxDetail.tone-warning .inbox-detail-icon {
  --inbox-ico-soft: var(--warning-soft);
  --inbox-ico: var(--warning);
}
#modalInboxDetail.tone-info .inbox-detail-icon {
  --inbox-ico-soft: var(--info-soft);
  --inbox-ico: var(--info);
}
#modalInboxDetail.tone-brand .inbox-detail-icon {
  --inbox-ico-soft: var(--brand-soft);
  --inbox-ico: var(--brand-dark);
}
.inbox-detail-eyebrow {
  margin: 0;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.inbox-detail-title {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  max-width: 18.5rem;
}
.inbox-detail-lead {
  margin: .1rem 0 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 22rem;
}
.inbox-detail-rows {
  width: 100%;
  margin: .65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.inbox-detail-row {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: .8rem;
  align-items: center;
  padding: .78rem .85rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfcfe);
}
.inbox-detail-row:last-child { border-bottom: 0; }
.inbox-detail-row-ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  flex-shrink: 0;
}
.inbox-detail-row-ico.tone-info { background: var(--info-soft); color: var(--info); }
.inbox-detail-row-ico.tone-success { background: var(--success-soft); color: var(--success); }
.inbox-detail-row-ico.tone-warning { background: var(--warning-soft); color: var(--warning); }
.inbox-detail-row-ico.tone-danger { background: var(--danger-soft); color: var(--danger); }
.inbox-detail-row-ico.tone-brand { background: var(--brand-soft); color: var(--brand-dark); }
.inbox-detail-row-ico svg {
  width: 16px;
  height: 16px;
}
.inbox-detail-row-main {
  display: grid;
  grid-template-columns: minmax(5.5rem, 38%) 1fr;
  gap: .55rem .75rem;
  align-items: baseline;
  min-width: 0;
}
.inbox-detail-row dt {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.inbox-detail-row dd {
  margin: 0;
  font-size: .95rem;
  font-weight: 750;
  color: var(--navy);
  word-break: break-word;
  text-align: right;
}
@media (max-width: 420px) {
  .inbox-detail-row-main {
    grid-template-columns: 1fr;
    gap: .12rem;
  }
  .inbox-detail-row dd { text-align: left; }
}
.inbox-detail-status-pill {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  background: var(--danger-soft);
  color: var(--danger);
}
#modalInboxDetail.tone-success .inbox-detail-status-pill {
  background: var(--success-soft);
  color: var(--success);
}
#modalInboxDetail.tone-warning .inbox-detail-status-pill {
  background: var(--warning-soft);
  color: var(--warning);
}
.inbox-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: .15rem;
}
.inbox-detail-chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 750;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 0;
}
.inbox-detail-foot {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
  justify-content: stretch;
  padding: .95rem 1.15rem 1.2rem;
  border-top: 0;
  background: transparent;
}
.inbox-detail-foot .btn {
  flex: 1 1 0;
  min-height: 2.75rem;
  justify-content: center;
  border-radius: 14px;
  font-weight: 750;
}
.inbox-detail-btn-close {
  border: 1.5px solid rgba(91, 143, 212, .42) !important;
  color: var(--brand-dark) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.inbox-detail-btn-close:hover {
  background: var(--brand-soft) !important;
}
.inbox-detail-btn-action {
  box-shadow: 0 10px 22px rgba(61, 111, 173, .24);
}
@media (max-width: 520px) {
  .inbox-detail-body { padding: 1.35rem 1rem .25rem; }
  .inbox-detail-foot {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .inbox-detail-foot .btn { width: 100%; }
}
.inbox-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.inbox-item-body {
  margin: .35rem 0 0;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink, #1a2433);
  white-space: pre-wrap;
}
.inbox-src-badge {
  display: inline-block;
  margin-top: .2rem;
  padding: .12rem .45rem;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #166534;
  background: rgba(22, 163, 74, .12);
}

.header-bell {
  position: relative;
  overflow: visible;
}
.header-bell-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(91, 143, 212, .25);
  background: var(--brand-soft, #e8f0fa);
  color: var(--brand-dark, #2a5a8f);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  overflow: visible;
}
.header-bell-btn:hover {
  border-color: rgba(91, 143, 212, .45);
}
.header-bell-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  box-sizing: border-box;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #dc2626;
  border: 2px solid #fff;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.header-bell-badge.is-empty,
.header-bell-badge[hidden] {
  display: none !important;
}
.header-bell-drop {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 80;
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(70vh, 480px);
  overflow: auto;
  padding: .75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, .1);
  box-shadow: 0 12px 40px rgba(10, 22, 40, .14);
}
.header-bell-drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .55rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(10, 22, 40, .06);
}
.header-bell-drop-head strong { font-size: .92rem; }
.header-bell-drop-actions {
  display: flex;
  gap: .25rem;
}
.header-bell-drop-actions .btn { font-size: .72rem; padding: .25rem .45rem; }
.header-bell-section { margin-bottom: .65rem; }
.header-bell-label {
  margin: 0 0 .35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .68rem !important;
}
.header-bell-row {
  display: block;
  width: 100%;
  padding: .5rem .55rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: .25rem;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.header-bell-row:hover {
  background: #f5f8fc;
  border-color: rgba(10, 22, 40, .06);
}
.header-bell-row.is-unread {
  background: #eef5fc;
  border-color: rgba(91, 143, 212, .2);
}
.header-bell-row strong {
  display: block;
  font-size: .82rem;
  color: var(--navy, #0a1628);
}
.header-bell-row span {
  display: block;
  font-size: .75rem;
  color: var(--ink-muted, #64748b);
  margin-top: .1rem;
}
.header-bell-foot {
  display: block;
  text-align: center;
  margin-top: .35rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(10, 22, 40, .06);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-dark, #2a5a8f);
  text-decoration: none;
}

@media (max-width: 900px) {
  .msg-inbox-grid,
  .msg-teacher-grid {
    grid-template-columns: 1fr;
  }
  .msg-teacher-grid > .list-panel:nth-child(1),
  .msg-teacher-grid > .list-panel:nth-child(2),
  .msg-teacher-grid > .inbox-col-notifs {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ââ Soru kutusu ââ */
.qb-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.qb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1.15rem;
}
.qb-stat {
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(10, 22, 40, .07);
  background: linear-gradient(165deg, #fff, #f4f8fc);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.qb-stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy, #0a1628);
  line-height: 1.1;
}
.qb-stat-lab {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted, #64748b);
}
.qb-stat-open { background: linear-gradient(165deg, #fff8f0, #fff3e6); border-color: rgba(234, 88, 12, .18); }
.qb-stat-open .qb-stat-val { color: #c2410c; }
.qb-stat-ok { background: linear-gradient(165deg, #f0fdf6, #e8faf0); border-color: rgba(16, 185, 129, .2); }
.qb-stat-ok .qb-stat-val { color: #047857; }

.qb-empty {
  text-align: center;
  padding: 2.25rem 1.25rem;
}
.qb-empty-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto .85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft, #e8f0fa);
  color: var(--brand-dark, #2a5a8f);
}
.qb-feed {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.qb-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 22, 40, .08);
  background: linear-gradient(165deg, #fff, #f7fafc);
  box-shadow: 0 6px 20px rgba(10, 22, 40, .04);
}
.qb-card.is-open {
  border-color: rgba(234, 88, 12, .22);
  box-shadow: inset 3px 0 0 #ea580c, 0 6px 20px rgba(10, 22, 40, .04);
}
.qb-card.is-answered {
  box-shadow: inset 3px 0 0 #10b981, 0 6px 20px rgba(10, 22, 40, .04);
}
.qb-card-head {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: .65rem;
}
.qb-card-titles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
}
.qb-card-titles h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy, #0a1628);
}
.qb-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.qb-badge.is-wait {
  color: #9a3412;
  background: rgba(234, 88, 12, .12);
}
.qb-badge.is-ok {
  color: #047857;
  background: rgba(16, 185, 129, .14);
}
.qb-card-meta {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.qb-card-body {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink, #1a2433);
}
.qb-card-body p { margin: 0; white-space: pre-wrap; }
.qb-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}
.qb-reply {
  margin-top: .9rem;
  padding: .85rem .95rem;
  border-radius: 12px;
  background: linear-gradient(165deg, #f0fdf6, #eef8f4);
  border: 1px solid rgba(16, 185, 129, .18);
}
.qb-reply-label {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #047857;
}
.qb-reply p { margin: 0; white-space: pre-wrap; }
.qb-reply .btn { margin-top: .55rem; }
.qb-reply-context {
  margin-bottom: 1rem;
  padding: .85rem .95rem;
  border-radius: 12px;
  background: #f5f8fc;
  border: 1px solid rgba(10, 22, 40, .06);
}
.qb-reply-q {
  margin: .25rem 0 0;
  white-space: pre-wrap;
  font-size: .92rem;
  line-height: 1.45;
}

.qb-file-body { min-height: 220px; }
.qb-file-panel { width: 100%; }
.qb-file-img {
  display: block;
  max-width: 100%;
  max-height: min(70vh, 560px);
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
  background: #0a1628;
}
.qb-file-frame {
  width: 100%;
  height: min(70vh, 560px);
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
}
.qb-file-fallback {
  text-align: center;
  padding: 1.5rem 1rem;
}
.qb-file-fallback-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto .75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft, #e8f0fa);
  color: var(--brand-dark, #2a5a8f);
}

@media (max-width: 640px) {
  .qb-stats { grid-template-columns: 1fr; }
}

/* ââ ÃÄrenci eÄitim sayfalarÄ± (ders/Ã¶dev/gÃ¶rev/sÄ±nav) ââ */
.stu-intro { margin-bottom: .35rem; }
.stu-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1rem;
}
.stu-stat {
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(10, 22, 40, .07);
  background: linear-gradient(165deg, #fff, #f4f8fc);
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.stu-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy, #0a1628);
  line-height: 1.1;
}
.stu-stat-lab {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted, #64748b);
}
.stu-stat-info { background: linear-gradient(165deg, #f0f7ff, #e8f1fc); border-color: rgba(59, 130, 246, .2); }
.stu-stat-info .stu-stat-val { color: #1d4ed8; }
.stu-stat-ok { background: linear-gradient(165deg, #f0fdf6, #e8faf0); border-color: rgba(16, 185, 129, .2); }
.stu-stat-ok .stu-stat-val { color: #047857; }
.stu-stat-warn { background: linear-gradient(165deg, #fff8f0, #fff3e6); border-color: rgba(234, 88, 12, .18); }
.stu-stat-warn .stu-stat-val { color: #c2410c; }

.stu-tabs { margin-bottom: 1.1rem; }
.stu-section { margin-bottom: 1.25rem; }
.stu-section-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .65rem;
}
.stu-section-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy, #0a1628);
}

.stu-empty {
  text-align: center;
  padding: 2.1rem 1.2rem;
}
.stu-empty-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto .8rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft, #e8f0fa);
  color: var(--brand-dark, #2a5a8f);
}

.stu-feed {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.stu-feed-compact { gap: .65rem; }
.stu-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 22, 40, .08);
  background: linear-gradient(165deg, #fff, #f7fafc);
  box-shadow: 0 6px 20px rgba(10, 22, 40, .04);
}
.stu-card.stu-card-clickable,
.stu-card.dash-row-click {
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.stu-card.stu-card-clickable:hover,
.stu-card.dash-row-click:hover,
.stu-card.stu-card-clickable:focus,
.stu-card.dash-row-click:focus {
  border-color: rgba(15, 55, 95, 0.22);
  box-shadow: 0 10px 28px rgba(10, 22, 40, .08);
  outline: none;
}
.stu-card-info { box-shadow: inset 3px 0 0 #3b82f6, 0 6px 20px rgba(10, 22, 40, .04); }
.stu-card-ok { box-shadow: inset 3px 0 0 #10b981, 0 6px 20px rgba(10, 22, 40, .04); }
.stu-card-warn { box-shadow: inset 3px 0 0 #ea580c, 0 6px 20px rgba(10, 22, 40, .04); }
.stu-card-danger { box-shadow: inset 3px 0 0 #dc2626, 0 6px 20px rgba(10, 22, 40, .04); }
.stu-card-live {
  border-color: rgba(37, 99, 235, .25);
  background: linear-gradient(165deg, #f8fbff, #eef5ff);
  box-shadow: inset 3px 0 0 #2563eb, 0 8px 24px rgba(37, 99, 235, .1);
}
.stu-card-head { margin-bottom: .55rem; }
.stu-card-titles {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
}
.stu-card-titles h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy, #0a1628);
}
.stu-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.stu-card-when {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .45rem 0 0;
  font-size: .82rem;
  color: var(--ink-muted, #64748b);
}
.stu-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .45rem;
}
.stu-card-desc {
  margin: .55rem 0 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink, #1a2433);
  white-space: pre-wrap;
}
.stu-card-files {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .65rem;
}
.stu-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(10, 22, 40, .06);
}

.stu-pill {
  display: inline-flex;
  align-items: center;
  padding: .18rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(10, 22, 40, .06);
  color: var(--navy, #0a1628);
}
.stu-pill-gold {
  background: rgba(245, 158, 11, .16);
  color: #92400e;
}
.stu-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}
.stu-badge-info { color: #1d4ed8; background: rgba(59, 130, 246, .14); }
.stu-badge-ok { color: #047857; background: rgba(16, 185, 129, .14); }
.stu-badge-warn { color: #9a3412; background: rgba(234, 88, 12, .12); }
.stu-badge-danger { color: #b91c1c; background: rgba(220, 38, 38, .12); }
.stu-badge-live { color: #1d4ed8; background: rgba(37, 99, 235, .14); }
.stu-meta-chip {
  display: inline-flex;
  padding: .22rem .55rem;
  border-radius: 8px;
  font-size: .78rem;
  background: #f1f5f9;
  color: var(--ink-muted, #64748b);
}

.stu-alert {
  margin: .65rem 0 0;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.stu-box {
  margin-top: .7rem;
  padding: .75rem .85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(10, 22, 40, .06);
}
.stu-box-ok {
  background: linear-gradient(165deg, #f0fdf6, #eef8f4);
  border-color: rgba(16, 185, 129, .18);
}
.stu-box-danger {
  background: #fef2f2;
  border-color: #fecaca;
}
.stu-box-lab {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted, #64748b);
  margin-bottom: .25rem;
}
.stu-box p { margin: .2rem 0 0; font-size: .9rem; white-space: pre-wrap; }
.stu-grade {
  font-size: 1.25rem !important;
  font-weight: 800;
  color: var(--navy, #0a1628);
}

.stu-progress {
  height: 8px;
  margin-top: .65rem;
  border-radius: 999px;
  background: rgba(10, 22, 40, .06);
  overflow: hidden;
}
.stu-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b8fd4, #2563eb);
}

.stu-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .65rem;
}
.stu-score {
  padding: .65rem .7rem;
  border-radius: 12px;
  background: linear-gradient(165deg, #f8fbff, #eef5ff);
  border: 1px solid rgba(59, 130, 246, .15);
  text-align: center;
}
.stu-score-lab {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-muted, #64748b);
  margin-bottom: .15rem;
}
.stu-score strong {
  font-size: 1.1rem;
  color: var(--navy, #0a1628);
}

@media (max-width: 900px) {
  .stu-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stu-stats { grid-template-columns: 1fr 1fr; }
  .stu-score-row { grid-template-columns: 1fr; }
}

/* ââ ÃÄrenci profil ââ */
.stu-profile-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.stu-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  padding: 1.35rem 1rem;
}
.stu-profile-avatar {
  margin-bottom: .35rem;
}
@media (max-width: 720px) {
  .stu-profile-layout { grid-template-columns: 1fr; }
}

/* ââ Profil sayfalarÄ± (Ã¶Ärenci / Ã¶Äretmen) ââ */
.pf-hero {
  position: relative;
  margin: 0 0 1.1rem;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
}
.pf-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 10% 20%, rgba(91,143,212,.55), transparent 55%),
    radial-gradient(ellipse 70% 100% at 90% 80%, rgba(16,185,129,.28), transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #1a3a5c 55%, #0f2744 100%);
}
.pf-hero-teacher .pf-hero-bg {
  background:
    radial-gradient(ellipse 80% 120% at 15% 10%, rgba(245,158,11,.35), transparent 55%),
    radial-gradient(ellipse 70% 100% at 90% 90%, rgba(91,143,212,.4), transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #16324f 60%, #0f2744 100%);
}
.pf-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
}
.pf-hero-avatar {
  position: relative;
}
.pf-hero-avatar .user-avatar,
.pf-hero-avatar img {
  width: 88px !important;
  height: 88px !important;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.35);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.pf-hero-badge {
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .03em;
  background: #fff;
  color: var(--navy, #0a1628);
}
.pf-hero-text h2 {
  margin: .15rem 0 .35rem;
  font-size: 1.55rem;
  color: #fff;
}
.pf-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  margin: 0;
  font-size: .82rem;
  color: rgba(255,255,255,.78);
}
.pf-hero-progress {
  min-width: 140px;
  padding: .75rem .9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.pf-prog-lab {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: .2rem;
}
.pf-hero-progress strong {
  font-size: 1.35rem;
  display: block;
  margin-bottom: .4rem;
}
.pf-prog-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}
.pf-prog-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #86efac, #5b8fd4);
}
.pf-hero-link {
  display: inline-block;
  margin-top: .55rem;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  opacity: .9;
}
.pf-hero-link:hover { opacity: 1; text-decoration: underline; color: #fff; }

.pf-stats { margin-bottom: 1.1rem; }
.pf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .85fr);
  gap: 1rem;
  align-items: start;
}
.pf-grid-teacher {
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .8fr);
  margin-top: .25rem;
}
.pf-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pf-panel {
  padding: 1.1rem 1.15rem;
}
.pf-panel-plain {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.settings-page-panel .pf-panel-plain {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(10, 22, 40, .06);
}
.settings-page-panel .pf-grid-teacher > .pf-panel-plain:first-child {
  border-top: 0;
  padding-top: .35rem;
}
.pf-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.pf-panel-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy, #0a1628);
}
.pf-panel-head .tiny { margin: .2rem 0 0; }
.pf-avatar-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
  padding: .85rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #f7fafc, #eef4fa);
  border: 1px solid rgba(10, 22, 40, .06);
}
.pf-form-actions {
  display: flex;
  gap: .5rem;
  margin-top: .35rem;
}
.pf-quick-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.pf-quick-links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy, #0a1628);
  font-size: .88rem;
  font-weight: 600;
  background: #f5f8fc;
  border: 1px solid transparent;
}
.pf-quick-links a:hover {
  border-color: rgba(91, 143, 212, .35);
  background: #eef5fc;
}

@media (max-width: 900px) {
  .pf-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .pf-hero-meta { justify-content: center; }
  .pf-hero-progress { width: 100%; }
  .pf-grid,
  .pf-grid-teacher { grid-template-columns: 1fr; }
}

.pf-public-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 1.1rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #f8fafc, #eef2f7);
  border: 1px solid rgba(10, 22, 40, .08);
}
.pf-public-banner.is-on {
  background: linear-gradient(165deg, #f0fdf6, #e8faf0);
  border-color: rgba(16, 185, 129, .22);
}
.pf-public-banner strong { color: var(--navy, #0a1628); }

/* Muhasebe komuta merkezi */
.acc-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, .98), rgba(26, 61, 110, .94)),
    radial-gradient(circle at 90% 10%, rgba(91, 143, 212, .4), transparent 44%);
  box-shadow: var(--shadow-lg);
}
.acc-hero-kicker {
  margin: 0 0 .2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 239, 212, .85);
}
.acc-hero h1 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
}
.acc-hero-copy p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}
.acc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.acc-alert-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 1rem;
  padding: .85rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 119, 6, .28);
  background: linear-gradient(135deg, #fff8ef, #fff3e0);
}
.acc-alert-copy {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.acc-alert-copy strong { color: #92400e; font-size: .95rem; }
.acc-alert-copy span { color: #a16207; font-size: .82rem; }
.acc-tabs { margin-bottom: 1rem; }
.acc-toolbar { margin-bottom: .85rem; }
.acc-overview { display: grid; gap: 1rem; }
.acc-overdue-list {
  display: grid;
  gap: .55rem;
  padding: .85rem 1rem 1rem;
}
.acc-overdue-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 22, 40, .08);
  background: #fff;
}
.acc-overdue-card strong { display: block; color: #0a1628; }
.acc-overdue-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.acc-amount {
  font-weight: 800;
  font-family: var(--display);
  color: #0a1628;
}
.acc-amount.warn { color: #b45309; }
.acc-chart-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .acc-chart-grid {
    grid-template-columns: 1.4fr 1fr;
  }
  .acc-chart-wide { grid-column: 1 / -1; }
}
.acc-chart-card .list-panel-head { margin-bottom: 0; }
.acc-chart-wrap {
  padding: .75rem 1rem 1.05rem;
  min-height: 120px;
}
.acc-chart-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.acc-chart {
  display: block;
  max-width: 100%;
}
.acc-bar {
  transition: opacity .2s ease;
}
.acc-chart:hover .acc-bar { opacity: .85; }
.acc-chart-empty {
  margin: 1.25rem 0;
  text-align: center;
}
.acc-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
  flex: 1;
  min-width: 9rem;
}
.acc-legend li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .86rem;
}
.acc-legend span { color: var(--ink-soft); }
.acc-legend strong { color: #0a1628; }
.acc-debtor-list {
  list-style: none;
  margin: 0;
  padding: .75rem 1.05rem 1.1rem;
  display: grid;
  gap: .7rem;
}
.acc-debtor-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .3rem;
  font-size: .9rem;
}
.acc-debtor-row a {
  color: #0a1628;
  font-weight: 650;
  text-decoration: none;
}
.acc-debtor-row a:hover { color: #3d6fad; }
.acc-bar-track {
  height: 6px;
  border-radius: 99px;
  background: #e8eef6;
  overflow: hidden;
}
.acc-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d6fad, #5b8fd4);
}
.acc-row-overdue td { background: rgba(251, 191, 36, .08); }
.acc-due-warn { color: #b45309 !important; font-weight: 700; }
.acc-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}
.acc-table-wrap .table.data-table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  table-layout: auto;
}
.acc-debts-table th:nth-child(1),
.acc-debts-table td:nth-child(1) { min-width: 8.5rem; }
.acc-debts-table th:nth-child(2),
.acc-debts-table td:nth-child(2) { min-width: 8rem; max-width: 14rem; white-space: normal; }
.acc-table-wrap .col-actions,
.acc-table-wrap th.col-actions,
.acc-table-wrap td.col-actions {
  width: auto;
  min-width: 10.5rem;
  overflow: visible !important;
  white-space: nowrap;
  position: static;
  background: transparent !important;
  box-shadow: none;
  padding-left: .75rem;
  padding-right: .75rem;
  text-align: right;
  vertical-align: middle;
}
.acc-table-wrap tr.acc-row-overdue td.col-actions {
  background: transparent !important;
}
.acc-table-wrap .data-table-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
  max-width: none;
}
.acc-table-wrap .data-table-actions .btn-soft {
  background: rgba(61, 111, 173, .14);
  color: #1a3d6e;
  border: 1px solid rgba(61, 111, 173, .22);
}
.acc-table-wrap .data-table-actions .btn-soft:hover {
  background: rgba(61, 111, 173, .22);
}
.acc-table-wrap .data-table-actions .btn-ghost {
  background: transparent;
  border-color: rgba(10, 22, 40, .16);
}
.inline-form { display: inline; margin: 0; }
@media (min-width: 1100px) {
  .page-muhasebe .list-stats.stat-grid,
  .acc-hero ~ .list-stats.stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .acc-hero ~ .list-stats.stat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .acc-hero { padding: 1.05rem 1.1rem; }
  .acc-overdue-card { align-items: flex-start; }
  .acc-chart-method { justify-content: center; }
}

/* KazanÃ§lar modal â yÄ±llÄ±k 12 ay */
.acc-earn-sheet { width: min(1180px, 100%); }
.acc-earn-head {
  align-items: flex-start;
  gap: .75rem;
}
.acc-earn-head-tools {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
  flex-shrink: 0;
}
.acc-earn-year-form {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 7.5rem;
}
.acc-earn-year-form label,
.acc-earn-year-form .tiny {
  color: rgba(255, 255, 255, .88) !important;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .68rem;
  margin: 0;
}
.acc-earn-year-form .form-control {
  min-height: 2rem;
  padding: .35rem .55rem;
  background: #fff;
  color: #0a1628;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  font-weight: 700;
}
.acc-earn-year-form .form-control:focus {
  outline: 2px solid rgba(91, 143, 212, .55);
  border-color: #fff;
}
.acc-earn-body { padding-top: .85rem; }
.acc-earn-yearbar {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: .85rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a1628, #1a3d6e 58%, #3d6fad);
  color: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 720px) {
  .acc-earn-yearbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .acc-earn-yearbar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.acc-earn-kpi span {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: .2rem;
}
.acc-earn-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.acc-earn-yearbar.tone-surplus .acc-earn-kpi strong.gap { color: #a7f3d0; }
.acc-earn-yearbar.tone-deficit .acc-earn-kpi strong.gap { color: #fde68a; }
.acc-earn-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin: 0 0 .9rem;
}
.acc-earn-legend .dot {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  border-radius: 99px;
  margin-right: .3rem;
  vertical-align: middle;
}
.acc-earn-legend .dot.income { background: #059669; }
.acc-earn-legend .dot.billed { background: #3d6fad; }
.acc-earn-legend .dot.gap { background: #d97706; }
.acc-earn-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .acc-earn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .acc-earn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .acc-earn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.acc-earn-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .85rem .9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, .08);
  border-top: 3px solid #94a3b8;
  box-shadow: 0 8px 20px rgba(10, 22, 40, .04);
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.acc-earn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(10, 22, 40, .08);
}
.acc-earn-card.tone-surplus { border-top-color: #059669; }
.acc-earn-card.tone-deficit { border-top-color: #d97706; }
.acc-earn-card.tone-even { border-top-color: #3d6fad; }
.acc-earn-card.is-current {
  background: linear-gradient(180deg, #f4f8fd, #fff);
  box-shadow: 0 10px 28px rgba(61, 111, 173, .12);
}
.acc-earn-card.is-future {
  opacity: .72;
  background: #f8fafc;
}
.acc-earn-card.is-empty:not(.is-current) {
  opacity: .78;
}
.acc-earn-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .4rem;
}
.acc-earn-card-head strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  color: #0a1628;
}
.acc-earn-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
}
.acc-earn-figures > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
  padding: .28rem 0;
  border-bottom: 1px dashed rgba(10, 22, 40, .08);
}
.acc-earn-figures > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.acc-earn-figures span {
  display: block;
  flex: 0 1 auto;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink-soft);
  margin: 0;
  white-space: nowrap;
}
.acc-earn-figures strong {
  display: block;
  flex: 1 1 auto;
  font-size: .88rem;
  font-weight: 800;
  color: #0a1628;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-earn-figures strong.income { color: #047857; }
.acc-earn-figures strong.billed { color: #1a3d6e; }
.acc-earn-card.tone-surplus .acc-earn-figures strong.gap { color: #047857; }
.acc-earn-card.tone-deficit .acc-earn-figures strong.gap { color: #b45309; }
.acc-earn-kpi {
  min-width: 0;
}
.acc-earn-kpi span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-earn-kpi strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-earn-meters { display: grid; gap: .4rem; }
.acc-earn-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: .68rem;
  color: var(--ink-soft);
  margin-bottom: .15rem;
}
.acc-bar-track-rate span {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}
.acc-earn-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  font-size: .72rem;
  color: var(--ink-soft);
}
.acc-earn-methods {
  list-style: none;
  margin: 0;
  padding: .45rem 0 0;
  border-top: 1px dashed rgba(10, 22, 40, .1);
  display: grid;
  gap: .25rem;
}
.acc-earn-methods li {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .75rem;
}
.acc-earn-methods span { color: var(--ink-soft); }
.acc-earn-methods strong { color: #0a1628; }
@media (max-width: 640px) {
  .acc-earn-head {
    flex-direction: column;
  }
  .acc-earn-head-tools {
    width: 100%;
    justify-content: space-between;
  }
}

/* WhatsApp baÄlantÄ± sayfasÄ± */
.wa-page { display: grid; gap: 1rem; }
.wa-top {
  display: grid; gap: 1rem; align-items: stretch;
  min-width: 0;
}
.wa-top > * { min-width: 0; }
@media (min-width: 900px) {
  .wa-top { grid-template-columns: 1.15fr .85fr; }
}
.wa-panel-side {
  display: flex; align-items: center; justify-content: center;
  min-height: 100%;
  min-width: 0;
}
.wa-stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,247,237,.88)),
    radial-gradient(ellipse at top right, rgba(37,211,102,.14), transparent 50%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
  place-content: center;
  justify-items: center;
  text-align: center;
  min-height: 100%;
}
.wa-stage-on {
  background:
    linear-gradient(145deg, rgba(236,253,245,.95), rgba(255,255,255,.95)),
    radial-gradient(ellipse at top right, rgba(16,185,129,.2), transparent 52%);
  border-color: rgba(16,185,129,.25);
}
.wa-stage-wait {
  background:
    linear-gradient(145deg, rgba(255,247,237,.96), #fff),
    radial-gradient(ellipse at top right, rgba(249,115,22,.18), transparent 55%);
}
.wa-stage-off {
  background:
    linear-gradient(145deg, #fff, rgba(248,250,252,.95)),
    radial-gradient(ellipse at top right, rgba(100,116,139,.1), transparent 55%);
}
.wa-stage-glow {
  position: absolute; inset: -40% -20% auto auto; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(37,211,102,.22), transparent 68%);
  pointer-events: none;
}
.wa-stage-on .wa-stage-glow { background: radial-gradient(circle, rgba(16,185,129,.28), transparent 68%); }
.wa-stage-wait .wa-stage-glow { background: radial-gradient(circle, rgba(249,115,22,.25), transparent 68%); }
.wa-stage-main {
  position: relative;
  display: flex; flex-direction: column; gap: .85rem;
  align-items: center; justify-content: center;
  min-width: 0; text-align: center;
}
.wa-status-orb {
  width: 76px; height: 76px; flex-shrink: 0;
  display: grid; place-items: center; position: relative;
}
.wa-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.35);
}
.wa-orb-on .wa-orb-ring {
  border-color: rgba(16,185,129,.55);
  animation: wa-pulse 2.2s ease infinite;
}
.wa-orb-wait .wa-orb-ring {
  border-color: rgba(249,115,22,.5);
  animation: wa-pulse 1.4s ease infinite;
}
.wa-orb-off .wa-orb-ring { border-color: rgba(100,116,139,.3); }
.wa-orb-core {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #25D366, #128C7E);
  color: #fff; box-shadow: 0 10px 24px rgba(18,140,126,.28);
}
.wa-orb-avatar { width: 100%; height: 100%; object-fit: cover; }
.wa-orb-off .wa-orb-core {
  background: linear-gradient(145deg, #94a3b8, #64748b);
  box-shadow: none;
}
.wa-orb-wait .wa-orb-core {
  background: linear-gradient(145deg, #fb923c, #f97316);
  box-shadow: 0 10px 24px rgba(249,115,22,.28);
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: .55; }
}
.wa-stage-copy { min-width: 0; text-align: center; }
.wa-kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-muted); margin: 0 0 .25rem;
}
.wa-stage-copy h3 {
  font-family: var(--display); font-size: 1.55rem; font-weight: 800;
  margin: 0 0 .25rem; color: var(--ink);
}
.wa-stage-copy > p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.wa-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; justify-content: center; }
.wa-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 600; color: var(--ink);
}
.wa-pill-ok {
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.28);
  color: #047857;
}
.wa-pill-phone { font-variant-numeric: tabular-nums; }
.wa-actions {
  display: flex; flex-wrap: wrap; gap: .45rem;
  align-items: center; justify-content: center;
  width: 100%;
}
.wa-inline-form { display: inline; margin: 0; }
.wa-btn-danger { color: var(--danger, #dc2626) !important; }
.wa-btn-danger:hover { background: rgba(220, 38, 38, .08) !important; }
.wa-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.15rem; box-shadow: var(--shadow);
}
.wa-connected-card,
.wa-qr-card,
.wa-empty-card { text-align: center; width: 100%; }
.wa-connected-card h4,
.wa-qr-card h4,
.wa-empty-card h4 {
  font-family: var(--display); font-size: 1.05rem; font-weight: 800; margin: 0 0 .35rem;
}
.wa-connected-card > p,
.wa-qr-card > p,
.wa-empty-card > p {
  color: var(--ink-soft); font-size: .9rem; margin: 0 0 .85rem;
}
.wa-check {
  width: 56px; height: 56px; margin: 0 auto .75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16,185,129,.12); color: #059669;
}
.wa-empty-ico {
  width: 56px; height: 56px; margin: 0 auto .75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink-muted);
}
.wa-device {
  display: flex; align-items: center; gap: .75rem;
  text-align: left;
  max-width: 280px;
  margin: 0 auto 1rem;
  padding: .7rem .85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.wa-device-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.wa-device-avatar-fallback {
  display: grid; place-items: center;
  background: rgba(37,211,102,.15); color: #128C7E;
}
.wa-device-copy { min-width: 0; }
.wa-device-copy strong {
  display: block; font-size: .92rem; color: #0a1628;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-device-copy span {
  display: block; font-size: .82rem; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.wa-steps {
  text-align: left;
  margin: 0 auto 1rem;
  padding-left: 1.15rem;
  max-width: 320px;
  color: var(--ink-soft);
  font-size: .88rem;
  display: grid; gap: .35rem;
}
.wa-qr-frame {
  width: min(100%, 260px);
  margin: 0 auto 1rem;
  padding: .85rem;
  border-radius: 20px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #25D366, #f97316, #128C7E) border-box;
  border: 2px solid transparent;
  box-shadow: 0 12px 32px rgba(18,140,126,.12);
  animation: wa-qr-in .45s ease both;
}
.wa-qr-frame img {
  width: 100%; height: auto; display: block; border-radius: 12px;
}
@keyframes wa-qr-in {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.wa-qr-hint { margin-top: .5rem; color: var(--ink-muted); }
.wa-stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem;
}
@media (min-width: 720px) {
  .wa-stat-row { grid-template-columns: repeat(4, 1fr); }
}
.wa-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: .75rem .65rem; text-align: center; box-shadow: var(--shadow);
  min-width: 0;
}
.wa-stat span {
  display: block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted);
}
.wa-stat strong {
  display: block;
  font-family: var(--display); font-size: 1.05rem; font-weight: 800;
  margin-top: .2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-howto { overflow: hidden; }
.wa-howto-grid {
  display: grid; gap: .85rem;
  padding: 1rem 1.1rem 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .wa-howto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.wa-howto-grid article {
  padding: .9rem;
  border-radius: 14px;
  border: 1px solid rgba(10,22,40,.08);
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.wa-howto-grid h4 {
  margin: .35rem 0 .25rem;
  font-size: .95rem;
  font-family: var(--display);
  font-weight: 800;
}
.wa-howto-grid p {
  margin: 0;
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.wa-step-num {
  display: inline-grid; place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 999px;
  background: rgba(37,211,102,.15);
  color: #0f766e;
  font-size: .78rem; font-weight: 800;
}

/* Zoom / Meet OAuth (WhatsApp baÄlama dÃ¼zeni) */
.mo-page { display: grid; gap: 1.15rem; }
.mo-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 860px) {
  .mo-cards { grid-template-columns: 1fr 1fr; }
}
.mo-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: .85rem;
  min-width: 0;
  background: #fff;
}
.mo-card-on {
  border-color: rgba(16, 185, 129, .35);
  background:
    linear-gradient(160deg, rgba(236, 253, 245, .98), #fff 55%),
    radial-gradient(ellipse at top right, rgba(16, 185, 129, .18), transparent 55%);
}
.mo-card-off {
  border-color: rgba(220, 38, 38, .32);
  background:
    linear-gradient(160deg, rgba(254, 242, 242, .98), #fff 55%),
    radial-gradient(ellipse at top right, rgba(239, 68, 68, .16), transparent 55%);
}
.mo-card-glow {
  position: absolute;
  inset: -35% -15% auto auto;
  width: 220px;
  height: 220px;
  pointer-events: none;
}
.mo-card-on .mo-card-glow {
  background: radial-gradient(circle, rgba(16, 185, 129, .28), transparent 68%);
}
.mo-card-off .mo-card-glow {
  background: radial-gradient(circle, rgba(239, 68, 68, .22), transparent 68%);
}
.mo-card-main {
  position: relative;
  display: grid;
  gap: .35rem;
  justify-items: center;
  text-align: center;
}
.mo-card-orb {
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: .25rem;
}
.mo-card-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.mo-orb-on .mo-card-ring {
  border-color: rgba(16, 185, 129, .55);
  animation: wa-pulse 2.2s ease infinite;
}
.mo-orb-off .mo-card-ring {
  border-color: rgba(220, 38, 38, .45);
}
.mo-card-core {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.mo-orb-on .mo-card-core {
  background: linear-gradient(145deg, #34d399, #059669);
  box-shadow: 0 10px 22px rgba(5, 150, 105, .28);
}
.mo-orb-off .mo-card-core {
  background: linear-gradient(145deg, #f87171, #dc2626);
  box-shadow: 0 10px 22px rgba(220, 38, 38, .22);
}
.mo-card-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mo-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}
.mo-card-on h3 { color: #047857; }
.mo-card-off h3 { color: #b91c1c; }
.mo-card-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.45;
  max-width: 28rem;
}
.mo-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: .35rem;
}
.mo-card-on .wa-pill-ok {
  background: rgba(16, 185, 129, .14);
  border-color: rgba(16, 185, 129, .3);
  color: #047857;
}
.mo-card-off .wa-pill {
  border-color: rgba(220, 38, 38, .2);
}
.mo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  justify-content: center;
}
.mo-card-steps {
  margin: 0;
  padding: .75rem .9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(10, 22, 40, .06);
  text-align: left;
  font-size: .84rem;
  color: var(--ink-soft);
}
.mo-card-on .mo-card-steps {
  border-color: rgba(16, 185, 129, .18);
  background: rgba(236, 253, 245, .55);
}
.mo-card-off .mo-card-steps {
  border-color: rgba(220, 38, 38, .16);
  background: rgba(254, 242, 242, .55);
}
.mo-prefs { overflow: hidden; }
.mo-prefs .list-panel-head { margin-bottom: 0; }
.mo-prefs .form-section { border: 0; margin: 0; padding-top: .35rem; }

/* Ders formu: Zoom / Meet baÄlÄ± durumu */
.lesson-meeting-connected {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, .28);
  background: linear-gradient(145deg, rgba(236, 253, 245, .95), #fff);
}
.lesson-meeting-connected-ico {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, .15);
  color: #059669;
}
.lesson-meeting-connected-copy {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.lesson-meeting-connected-copy strong {
  font-size: .95rem;
  color: var(--ink);
}
.lesson-meeting-connected-copy span {
  font-size: .82rem;
  color: var(--ink-soft);
  word-break: break-all;
}

/* Ders tÃ¼rÃ¼: YÃ¼z yÃ¼ze / Online butonlarÄ± */
.lesson-mode-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.lesson-mode-btn {
  appearance: none;
  text-align: left;
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  gap: .15rem;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  color: var(--ink);
}
.lesson-mode-btn:hover {
  border-color: rgba(91, 143, 212, .45);
  box-shadow: 0 6px 16px rgba(10, 22, 40, .06);
}
.lesson-mode-btn.is-active {
  border-color: rgba(16, 185, 129, .45);
  background: linear-gradient(160deg, rgba(236, 253, 245, .95), #fff);
  box-shadow: 0 8px 20px rgba(16, 185, 129, .12);
}
.lesson-mode-btn-label {
  font-weight: 800;
  font-size: .95rem;
  font-family: var(--display);
}
.lesson-mode-btn-hint {
  font-size: .78rem;
  color: var(--ink-muted);
  line-height: 1.3;
}
.lesson-mode-btn.is-active .lesson-mode-btn-hint {
  color: #047857;
}
.lesson-meeting-prov-btns {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* Admin WhatsApp merkezi */
.awa-tabs { margin: 1rem 0 1.15rem; flex-wrap: wrap; }
.awa-tabs a { display: inline-flex; align-items: center; gap: .4rem; }
.awa-page { margin-top: .25rem; }
.awa-insight-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .awa-insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.awa-insight {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(240,253,244,.55));
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(10,22,40,.04));
}
.awa-insight-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(37,211,102,.14);
  color: #0f766e;
}
.awa-insight strong {
  display: block;
  font-family: var(--display);
  font-size: .98rem;
  margin-bottom: .2rem;
}
.awa-insight p {
  margin: 0;
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.awa-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 1020px) {
  .awa-layout { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); }
  .awa-layout-wide { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); }
}
.awa-card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
}
.awa-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
  margin-bottom: .9rem;
}
.awa-card-head h3 {
  margin: 0 0 .2rem;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
}
.awa-textarea {
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  min-height: 8rem;
}
.awa-audience {
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 700px) {
  .awa-audience { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.awa-aud-card {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.awa-aud-card input {
  position: absolute; opacity: 0; pointer-events: none;
}
.awa-aud-body {
  display: grid; gap: .15rem;
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #f8fafc;
  transition: border-color .15s, background .15s, box-shadow .15s;
  min-height: 100%;
}
.awa-aud-body strong {
  font-size: .9rem;
  color: var(--ink);
}
.awa-aud-body em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}
.awa-aud-body small {
  color: var(--ink-muted);
  font-size: .75rem;
  line-height: 1.3;
}
.awa-aud-card input:checked + .awa-aud-body {
  border-color: rgba(37,211,102,.55);
  background: linear-gradient(160deg, #ecfdf5, #fff);
  box-shadow: 0 0 0 3px rgba(37,211,102,.12);
}
.awa-form-actions {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap;
  margin-top: .35rem;
}
.awa-tpl-panel { max-height: min(78vh, 820px); display: flex; flex-direction: column; }
.awa-tpl-scroll {
  overflow: auto;
  display: grid; gap: .45rem;
  padding-right: .15rem;
  max-height: 60vh;
}
.awa-tpl-group {
  margin: .55rem 0 .2rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.awa-tpl-group:first-child { margin-top: 0; }
.awa-tpl-item {
  display: grid; gap: .15rem;
  text-align: left;
  width: 100%;
  padding: .7rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.awa-tpl-item:hover,
.awa-tpl-item.is-active {
  border-color: rgba(37,211,102,.45);
  background: #f0fdf4;
}
.awa-tpl-item strong { font-size: .88rem; color: var(--ink); }
.awa-tpl-item span { font-size: .78rem; color: var(--ink-soft); }
.awa-tpl-item em {
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  color: #0f766e;
}
.awa-log-list { display: grid; gap: .65rem; }
.awa-log-item {
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.awa-log-on { border-color: rgba(16,185,129,.28); background: linear-gradient(180deg, #f0fdf4, #fff); }
.awa-log-off { border-color: rgba(239,68,68,.25); background: linear-gradient(180deg, #fef2f2, #fff); }
.awa-log-top {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .35rem;
}
.awa-log-top strong {
  font-size: .9rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.awa-log-badge {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(10,22,40,.06);
  color: var(--ink-soft);
}
.awa-log-item p {
  margin: 0 0 .4rem;
  font-size: .86rem;
  color: var(--ink-soft);
  white-space: pre-wrap;
  line-height: 1.4;
}
.awa-auto-list { display: grid; gap: 1rem; }
.awa-auto-item {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fafc);
  display: grid; gap: .7rem;
}
.awa-auto-toggle .ui-toggle-label {
  display: grid; gap: .1rem;
}
.awa-auto-toggle .ui-toggle-label strong { font-size: .95rem; }
.awa-expire-list {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; gap: .45rem;
}
.awa-expire-list li {
  display: grid; gap: .1rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.awa-expire-list strong { font-size: .88rem; }
.awa-expire-list span { font-size: .78rem; color: var(--ink-soft); }
.awa-expire-form { border-top: 1px solid var(--line); padding-top: .85rem; }
.awa-special-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .awa-special-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.awa-special-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid; gap: .65rem;
  opacity: .78;
  transition: opacity .15s, border-color .15s, box-shadow .15s;
}
.awa-special-card.is-on,
.awa-special-card:has(input[type="checkbox"]:checked) {
  opacity: 1;
  border-color: rgba(37,211,102,.35);
  box-shadow: 0 0 0 3px rgba(37,211,102,.08);
  background: linear-gradient(165deg, #f0fdf4, #fff 40%);
}
.awa-special-head .ui-toggle-label {
  display: grid; gap: .15rem;
}
.awa-special-head strong { font-size: .98rem; font-family: var(--display); }
.awa-special-meta {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin: -.15rem 0 .15rem;
}
.awa-special-meta .awa-pill,
.awa-cal-item em {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 700; font-style: normal;
  padding: .2rem .55rem; border-radius: 999px;
  background: rgba(10,22,40,.06); color: var(--ink-soft);
}
.awa-pill-date { background: rgba(37,211,102,.12); color: #0f766e; }
.awa-cal { padding: .85rem 1rem 1rem; }
.awa-cal-grid {
  display: grid; gap: .55rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.awa-cal-item {
  display: grid; gap: .15rem;
  padding: .7rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.awa-cal-item strong { font-size: .86rem; }
.awa-cal-item span { font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .awa-audience { grid-template-columns: 1fr; }
  .awa-form-actions { flex-direction: column; align-items: stretch; }
}

/* ââ Veli paneli ââ */
.veli-debt-banner {
  border: 1px solid rgba(185, 28, 28, .18);
  background:
    linear-gradient(135deg, rgba(254, 242, 242, .95), rgba(255, 255, 255, .92)),
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, .18), transparent 42%);
}
.veli-debt-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.veli-debt-amount {
  display: block;
  margin-top: .15rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #991b1b;
  line-height: 1.15;
}
.veli-dash-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .veli-dash-grid { grid-template-columns: 1fr 1fr; }
}
.veli-child-cards {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.veli-child-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fafbfc);
}
.veli-child-avatar { flex-shrink: 0; }
.veli-child-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.veli-child-copy strong {
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.veli-child-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  justify-content: flex-end;
}
.veli-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.veli-mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .65rem;
  border-radius: 12px;
  background: var(--bg-soft, #f8fafc);
  border: 1px solid transparent;
}
.veli-mini-list li:hover { border-color: var(--line); }
.veli-mini-list li > div {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.veli-mini-list li strong {
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.veli-mini-list li em {
  font-style: normal;
  font-weight: 700;
  color: #b45309;
  white-space: nowrap;
}
.veli-pay-methods {
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .veli-pay-methods { grid-template-columns: 1fr 1fr; }
}
.veli-pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: #f8fafc;
}
.veli-pay-method.is-on {
  border-style: solid;
  border-color: rgba(16, 185, 129, .35);
  background: linear-gradient(135deg, rgba(236, 253, 245, .9), #fff);
}
.veli-pay-method strong { font-size: .92rem; }
.veli-pay-method span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.veli-pay-method.is-on span { color: #047857; }
.veli-children-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .veli-children-layout { grid-template-columns: minmax(260px, .9fr) 1.2fr; align-items: start; }
}
@media (max-width: 640px) {
  .veli-child-card {
    flex-wrap: wrap;
  }
  .veli-child-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* GeÃ§ici rapor paylaÅÄ±mÄ± */
.share-expiry-banner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: baseline;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(217, 119, 6, .28);
  background: linear-gradient(135deg, rgba(255, 251, 235, .95), #fff);
  font-size: .9rem;
}
.share-expiry-banner strong {
  color: #b45309;
}
.share-expiry-banner span { color: var(--ink-soft); }
.share-expiry-banner em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.share-report-page .page-intro h1 { letter-spacing: -.02em; }

/* ÃÄrenci sÄ±nav â tam ekran / kilit / ÅÄ±klar */
.exam-take { max-width: 920px; margin: 0 auto; }
.exam-take-bar {
  display: flex; flex-wrap: wrap; gap: .85rem 1.1rem;
  align-items: flex-start; justify-content: space-between;
  margin: 0 0 1rem; padding: .85rem 1rem;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #f8fafc);
  position: sticky; top: .5rem; z-index: 20;
}
.exam-take-title { margin: 0; font-size: 1.15rem; }
.exam-take-meta { margin: .25rem 0 0; }
.exam-take-bar-side { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.exam-take-timer {
  min-width: 5.5rem; text-align: center; padding: .35rem .55rem;
  border-radius: 12px; background: #0b1f3a; color: #fff;
}
.exam-take-timer strong { display: block; font-size: 1.15rem; letter-spacing: .04em; }
.exam-break-banner {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center;
  margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 14px;
  background: #fff7ed; border: 1px solid rgba(234, 88, 12, .28);
}
.exam-q-card { margin-bottom: 1rem; box-shadow: none; border: 1px solid var(--line); }
.exam-q-media { margin: .5rem 0; }
.exam-q-media img { max-width: 100%; border-radius: 8px; }
.exam-opts { margin-top: .75rem; }
.exam-opt-row {
  display: flex; align-items: flex-start; gap: .45rem;
  padding: .55rem .65rem; border-radius: 10px; border: 1px solid var(--line);
  cursor: pointer; background: #fff;
}
.exam-opt-row:has(input:checked) {
  border-color: rgba(201, 162, 39, .55);
  background: rgba(201, 162, 39, .08);
}
.exam-opt-key { font-weight: 800; min-width: 1.4rem; }
.exam-opt-letters { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.exam-opt-chip {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .3rem .55rem; border-radius: 999px; border: 1px solid var(--line);
  cursor: pointer;
}
.exam-booklet-item {
  margin-bottom: .65rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line);
}
.exam-take-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 2rem; }

/* KitapÃ§Ä±k: sol kitapÃ§Ä±k + saÄ optik (yatay / geniÅ ekran) */
.exam-booklet-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .85fr);
  gap: .75rem;
  margin-top: .65rem;
  min-height: min(70vh, 720px);
  align-items: stretch;
}
.exam-booklet-pane,
.exam-optical-pane {
  display: flex; flex-direction: column; min-height: 0;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden;
}
.exam-booklet-pane-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .45rem .65rem; border-bottom: 1px solid var(--line); background: #f8fafc; flex-shrink: 0;
}
.exam-booklet-viewer { flex: 1; min-height: 280px; background: #e8eef5; }
.exam-booklet-frame {
  display: block; width: 100%; height: 100%; min-height: 280px; border: 0; background: #fff;
}
.exam-booklet-img-scroll {
  height: 100%; min-height: 280px; overflow: auto; -webkit-overflow-scrolling: touch; padding: .5rem;
}
.exam-booklet-img-scroll img { display: block; width: 100%; height: auto; }
.exam-optical-sheet {
  flex: 1; overflow: auto; -webkit-overflow-scrolling: touch;
  margin: 0; padding: .45rem .55rem .75rem;
}
.exam-optical-row {
  display: flex; align-items: center; gap: .45rem;
  padding: .28rem 0; border-bottom: 1px dashed rgba(15, 23, 42, .12);
}
.exam-optical-row:last-child { border-bottom: 0; }
.exam-optical-num {
  flex: 0 0 1.75rem; font-weight: 800; font-size: .85rem; text-align: right; color: #0b1f3a;
}
.exam-optical-bubbles { display: flex; flex-wrap: wrap; gap: .28rem; }
.exam-optical-bubble {
  position: relative; display: inline-flex; cursor: pointer; user-select: none;
}
.exam-optical-bubble input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.exam-optical-bubble span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 1.5px solid #334155; font-size: .72rem; font-weight: 800; color: #0b1f3a;
  background: #fff; line-height: 1;
}
.exam-optical-bubble:has(input:checked) span,
.exam-optical-bubble input:checked + span {
  background: #0b1f3a; color: #fff; border-color: #0b1f3a;
}
.exam-q-card:has(.exam-booklet-split) { max-width: none; }

@media (max-width: 900px) and (orientation: portrait) {
  .exam-booklet-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .exam-booklet-viewer,
  .exam-booklet-frame,
  .exam-booklet-img-scroll { min-height: 42vh; height: 42vh; }
  .exam-optical-pane { max-height: 48vh; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .exam-booklet-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(200px, .8fr);
    min-height: calc(100vh - 8rem);
  }
  .exam-take { max-width: none; }
  .exam-q-card:has(.exam-booklet-split) { margin-bottom: .5rem; }
}

body.exam-fs-active .panel-sidebar,
body.exam-fs-active .panel-topbar,
body.exam-fs-active .panel-mobile-nav,
body.exam-fs-active .flash-toast-host { display: none !important; }
body.exam-fs-active .panel-main,
body.exam-fs-active .panel-content,
body.exam-fs-active .panel-body {
  margin: 0 !important; padding: .75rem !important; max-width: none !important;
}
body.exam-fs-active .exam-take { max-width: 1100px; }
body.exam-fs-active .exam-take:has(.exam-booklet-split) { max-width: none; }
body.exam-fs-active .exam-take-bar { top: 0; }

/* SÄ±nav sonuÃ§ incelemesi + PDF */
.exam-result-summary {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem;
  margin: 0 0 1.1rem;
}
.exam-result-stat {
  padding: .75rem .85rem; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; text-align: center;
}
.exam-result-stat strong { display: block; font-size: 1.35rem; margin-top: .15rem; }
.exam-result-stat-ok { border-color: rgba(22, 163, 74, .35); background: #f0fdf4; }
.exam-result-stat-bad { border-color: rgba(220, 38, 38, .3); background: #fef2f2; }
.exam-result-stat-blank { border-color: rgba(100, 116, 139, .35); background: #f8fafc; }

.exam-result-sheet {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 2rem;
  padding: 1rem 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: #0a1628;
}
.exam-result-head {
  display: flex; flex-wrap: wrap; gap: .75rem 1rem;
  align-items: flex-start; justify-content: space-between;
  padding-bottom: .75rem; margin-bottom: .85rem;
  border-bottom: 3px solid #0a1628;
}
.exam-result-brand { display: flex; align-items: center; gap: .75rem; }
.exam-result-logo { height: 48px; width: auto; display: block; }
.exam-result-brand strong { display: block; font-size: 1.05rem; }
.exam-result-brand span, .exam-result-brand em {
  display: block; font-size: .78rem; color: #5a7189; font-style: normal;
}
.exam-result-doctype { text-align: right; font-size: .8rem; color: #5a7189; }
.exam-result-doctype span { display: block; font-weight: 800; color: #0a1628; }
.exam-result-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem;
  margin-bottom: .85rem;
}
.exam-result-meta-card {
  padding: .65rem .75rem; border-radius: 12px;
  border: 1px solid #d7e2ef; background: #f8fafc;
}
.exam-result-meta-card h4 {
  margin: 0 0 .35rem; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .04em; color: #5a7189;
}
.exam-result-meta-name { margin: 0; font-weight: 800; font-size: .95rem; }
.exam-result-meta-card p { margin: .15rem 0 0; font-size: .8rem; color: #243b55; }
.exam-result-kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem;
  margin-bottom: .75rem;
}
.exam-result-kpis > div {
  text-align: center; padding: .55rem .4rem; border-radius: 12px;
  border: 1px solid #d7e2ef; background: #fff;
}
.exam-result-kpis strong { display: block; font-size: 1.2rem; }
.exam-result-kpis span { font-size: .72rem; color: #5a7189; }
.exam-result-legend-bar {
  display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center;
  margin-bottom: 1rem; padding: .5rem .65rem; border-radius: 10px;
  background: #f1f5f9; font-size: .82rem;
}
.exam-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  font-size: .7rem; font-weight: 800; line-height: 1; flex-shrink: 0;
}
.exam-mark-ok { background: #16a34a; color: #fff; }
.exam-mark-bad { background: #dc2626; color: #fff; }
.exam-mark-blank { background: #64748b; color: #fff; }

.exam-review-q {
  margin: 0 0 1rem; padding: 0; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; break-inside: avoid;
  overflow: hidden;
}
.exam-review-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .85fr);
  align-items: stretch;
  min-height: 220px;
}
.exam-review-left,
.exam-review-right {
  display: flex; flex-direction: column; min-height: 0; min-width: 0;
}
.exam-review-left { padding: .75rem .85rem; border-right: 1px solid var(--line); }
.exam-review-right {
  background: #f8fafc; padding: 0; border-left: 0;
}
.exam-review-q-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem;
  margin-bottom: .55rem;
}
.exam-review-type-pill {
  display: inline-block; margin: 0 .35rem;
  font-size: .65rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  padding: .12rem .4rem; border-radius: 999px; background: rgba(11, 31, 58, .08); color: #0b1f3a;
  vertical-align: middle;
}
.exam-review-text-body {
  padding: .55rem .65rem; border-radius: 10px; background: #f8fafc;
  border: 1px solid var(--line); white-space: pre-wrap; line-height: 1.45;
}
.exam-review-media { margin: .35rem 0 0; }
.exam-review-media img { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.exam-review-booklet-media .exam-booklet-frame,
.exam-review-booklet-media .exam-booklet-img-scroll {
  min-height: 320px; height: min(52vh, 520px); width: 100%;
  border: 1px solid var(--line); border-radius: 10px; background: #e8eef5;
}
.exam-review-booklet-media .exam-booklet-img-scroll { overflow: auto; }
.exam-review-right .exam-booklet-pane-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .45rem .65rem; border-bottom: 1px solid var(--line); background: #eef2f7;
}
.exam-review-right .exam-optical-sheet {
  flex: 1; overflow: auto; padding: .45rem .55rem .75rem; margin: 0;
}
.exam-review-opts { display: flex; flex-direction: column; gap: .35rem; padding: .55rem .65rem; }
.exam-review-opt {
  display: flex; gap: .4rem; padding: .45rem .55rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
}
.exam-review-opt.is-given-ok { border-color: rgba(22, 163, 74, .45); background: #f0fdf4; }
.exam-review-opt.is-given-bad { border-color: rgba(220, 38, 38, .4); background: #fef2f2; }
.exam-review-opt.is-key { outline: 2px dashed rgba(22, 163, 74, .55); outline-offset: 1px; }
.exam-review-meta { margin: 0; padding: 0 .65rem .65rem; }
.exam-optical-bubble.exam-optical-static { cursor: default; }
.exam-optical-bubble.is-given-ok span { background: #16a34a; color: #fff; border-color: #16a34a; }
.exam-optical-bubble.is-given-bad span { background: #dc2626; color: #fff; border-color: #dc2626; }
.exam-optical-bubble.is-key span { box-shadow: 0 0 0 2px rgba(22, 163, 74, .45); }
.exam-optical-row-ok { background: rgba(22, 163, 74, .04); }
.exam-optical-row-bad { background: rgba(220, 38, 38, .04); }
.exam-optical-row .exam-mark { margin-left: auto; }

.exam-result-foot {
  display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #c9d8ea;
}
.exam-result-foot-brand { display: flex; align-items: center; gap: .55rem; }
.exam-result-foot-icon { width: 28px; height: 28px; border-radius: 8px; }
.exam-result-foot-brand strong { display: block; font-size: .88rem; }
.exam-result-foot-brand span { font-size: .72rem; color: #5a7189; }
.exam-result-foot-note { font-size: .72rem; color: #5a7189; max-width: 28rem; text-align: right; }

@media (max-width: 900px) {
  .exam-result-meta { grid-template-columns: 1fr; }
  .exam-review-split { grid-template-columns: 1fr; }
  .exam-review-left { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .exam-result-summary,
  .exam-result-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .exam-result-sheet { border: 0; padding: 0; }
  .exam-review-booklet-media .exam-booklet-frame { min-height: 420px; height: 420px; }
}

/* SÄ±nav modu: menÃ¼ / Ã¼st bar / tabbar yok â sadece soru alanÄ± */
body.exam-mode .panel-sidebar,
body.exam-mode .app-header,
body.exam-mode .app-tabbar,
body.exam-mode .panel-mobile-nav,
body.exam-mode .flash-toast-host,
body.exam-mode .sub-readonly-banner,
body.exam-mode .manage-tabs {
  display: none !important;
}
body.exam-mode .panel-main,
body.exam-mode .panel-content,
body.exam-mode .panel-body {
  margin: 0 !important;
  padding: .5rem !important;
  max-width: none !important;
}
body.exam-mode .exam-take { max-width: none; }
html[data-geyik-app="1"] body.exam-mode .panel-content {
  padding-bottom: .5rem !important;
}


/* ¦¦ Ders kayýtlarý listesi ¦¦ */
.lr-page { padding-bottom: .35rem; }
.lr-head {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: .35rem;
}
.lr-title { margin: 0; font-size: 1.08rem; letter-spacing: -.01em; }
.lr-sub { margin: .28rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.lr-head-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.lr-chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}
.lr-chip-ok { color: #0f766e; background: rgba(15,118,110,.08); border-color: rgba(15,118,110,.2); }
.lr-chip-warn { color: #92400e; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.28); }
.lr-empty {
  margin-top: 1rem;
  padding: 1.25rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(15,23,42,.02);
}
.lr-empty strong { display: block; margin-bottom: .3rem; }
.lr-empty p { margin: 0; color: var(--muted); font-size: .9rem; }
.lr-table-wrap { margin-top: 1rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.lr-table { margin: 0; table-layout: auto; }
.lr-table thead th {
  background: rgba(15,23,42,.035);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: .7rem .8rem;
}
.lr-table td {
  padding: .85rem .8rem;
  border-bottom: 1px solid rgba(15,23,42,.06);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  vertical-align: middle;
}
.lr-table tbody tr:last-child td { border-bottom: 0; }
.lr-table tbody tr:hover td { background: rgba(15,23,42,.018); }
.lr-title-cell { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.lr-title-cell strong { font-size: .95rem; line-height: 1.3; }
.lr-meta { font-size: .75rem; color: var(--muted); }
.lr-err { font-size: .72rem; color: #b91c1c; }
.lr-badge {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 650;
  border: 1px solid transparent;
  white-space: nowrap;
}
.lr-badge-ok { color: #0f766e; background: rgba(15,118,110,.1); border-color: rgba(15,118,110,.18); }
.lr-badge-live { color: #1d4ed8; background: rgba(37,99,235,.1); border-color: rgba(37,99,235,.18); }
.lr-badge-wait { color: #a16207; background: rgba(234,179,8,.14); border-color: rgba(202,138,4,.22); }
.lr-badge-bad { color: #b91c1c; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.2); }
.lr-badge-muted { color: var(--muted); background: rgba(15,23,42,.05); border-color: var(--line); }
.lr-actions { display: inline-flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; align-items: center; }
.lr-inline-form { display: inline; margin: 0; }
.lr-hint { margin: .75rem .15rem 0; }
.lr-col-dur, .lr-col-when, .lr-col-exp, .lr-col-status { width: 1%; white-space: nowrap; }
.lr-col-actions { width: 1%; }
@media (max-width: 760px) {
  .lr-table-wrap { border: 0; background: transparent; overflow: visible; }
  .lr-table, .lr-table thead, .lr-table tbody, .lr-table tr, .lr-table th, .lr-table td {
    display: block;
    width: 100%;
  }
  .lr-table thead { display: none; }
  .lr-table tr.lr-row {
    margin-bottom: .7rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: .55rem .15rem .35rem;
    overflow: hidden;
  }
  .lr-table td {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border: 0;
    padding: .45rem .85rem;
    white-space: normal;
  }
  .lr-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding-top: .15rem;
  }
  .lr-col-title { display: block !important; }
  .lr-col-title::before { display: none; }
  .lr-col-actions .lr-actions { width: 100%; justify-content: stretch; }
  .lr-col-actions .btn { flex: 1; justify-content: center; }
}
