/*!
 * Bilişsel Fitleşme — panel ve kullanıcı arayüzü
 * Bootstrap 4 CSS'in (/LoginPage/bootstrap.min.css) ardından yüklenir.
 * Bileşen sınıfları "bf-" önekiyle, mevcut script'lerin ürettiği Bootstrap sınıfları marka renkleriyle temalanır.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2");
}

:root {
  --bf-brand: #14564C;
  --bf-brand-hover: #0F4B43;
  --bf-brand-ink: #FFFFFF;
  --bf-brand-50: #F1F7F5;
  --bf-brand-100: #E7F0EE;
  --bf-brand-200: #CFE2DD;
  --bf-brand-300: #9DC4BB;
  --bf-brand-400: #4F8C80;

  --bf-ink: #0C1E21;
  --bf-ink-2: #33474A;
  --bf-muted: #5B6B6E;
  --bf-muted-2: #6B7C80;
  --bf-faint: #8A9A9D;

  --bf-bg: #F5F8F8;
  --bf-surface: #FFFFFF;
  --bf-line: #E1EAEA;
  --bf-line-2: #EEF3F3;
  --bf-input-line: #C9DADA;

  --bf-danger: #B3261E;
  --bf-danger-50: #FBE3E1;
  --bf-warn: #8A5A00;
  --bf-warn-50: #FFF0D2;
  --bf-late: #A63A0B;
  --bf-late-50: #FBE3D6;
  --bf-info: #0B5F7A;
  --bf-info-50: #E1F1F8;
  --bf-ok: #11684F;
  --bf-ok-50: #DCF1EB;

  /* skor bantları: 0–200, 200–400, 400–550, 550–700, 700–800 */
  --bf-lv0: #D55E00;
  --bf-lv1: #9AA9AB;
  --bf-lv2: #7FB3A8;
  --bf-lv3: #4F8C80;
  --bf-lv4: #14564C;

  --bf-radius-sm: 8px;
  --bf-radius: 12px;
  --bf-radius-lg: 16px;
  --bf-shadow-sm: 0 1px 2px rgba(12, 30, 33, .06);
  --bf-shadow: 0 8px 24px rgba(12, 30, 33, .08);
  --bf-shadow-lg: 0 20px 50px rgba(12, 30, 33, .18);
  --bf-focus: 0 0 0 3px rgba(20, 86, 76, .28);

  --bf-side-w: 248px;
  --bf-top-h: 60px;
  --bf-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- temel ---------- */
html { -webkit-text-size-adjust: 100%; }
body.bf {
  margin: 0;
  font-family: var(--bf-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--bf-ink);
  background: var(--bf-bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
.bf h1, .bf h2, .bf h3, .bf h4, .bf h5, .bf h6 { font-family: var(--bf-font); color: var(--bf-ink); font-weight: 650; letter-spacing: -.01em; }
.bf a { color: var(--bf-brand); }
.bf a:hover { color: var(--bf-brand-hover); }
.bf :focus { outline: none; }
.bf :focus-visible { outline: 2px solid var(--bf-brand); outline-offset: 2px; border-radius: 4px; }
.bf .num, .bf .tabular { font-variant-numeric: tabular-nums; }
.bf-i { width: 18px; height: 18px; flex: none; vertical-align: -4px; fill: none; stroke: currentColor; }
.bf-i--sm { width: 15px; height: 15px; vertical-align: -3px; }
.bf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bf-skip { position: absolute; left: 12px; top: -48px; z-index: 2000; background: var(--bf-brand); color: #fff !important; padding: 8px 14px; border-radius: var(--bf-radius-sm); font-weight: 600; transition: top .15s; }
.bf-skip:focus { top: 12px; }
.bf-muted { color: var(--bf-muted); }
.bf-faint { color: var(--bf-faint); }
.bf-nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- uygulama kabuğu ---------- */
.bf-app { min-height: 100vh; display: grid; grid-template-columns: var(--bf-side-w) minmax(0, 1fr); }
.bf-side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--bf-surface); border-right: 1px solid var(--bf-line);
  display: flex; flex-direction: column; padding: 18px 14px 14px; gap: 2px;
}
.bf-side__brand { display: flex; align-items: center; padding: 2px 6px 16px; }
.bf-side__brand img { width: 176px; height: auto; display: block; }
.bf-side__group { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-faint); margin: 14px 10px 6px; }
.bf-side__link {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--bf-radius-sm);
  color: var(--bf-ink-2) !important; font-size: 13.5px; font-weight: 500; text-decoration: none !important;
  transition: background .12s, color .12s;
}
.bf-side__link svg { width: 18px; height: 18px; flex: none; color: var(--bf-muted-2); }
.bf-side__link:hover { background: var(--bf-brand-50); color: var(--bf-brand) !important; }
.bf-side__link:hover svg { color: var(--bf-brand); }
.bf-side__link.is-active { background: var(--bf-brand); color: var(--bf-brand-ink) !important; font-weight: 600; }
.bf-side__link.is-active svg { color: var(--bf-brand-ink); }
.bf-side__sub { display: flex; flex-direction: column; margin: 2px 0 4px 28px; border-left: 1px solid var(--bf-line); padding-left: 8px; }
.bf-side__sub a { padding: 6px 10px; border-radius: 6px; font-size: 13px; color: var(--bf-muted) !important; text-decoration: none !important; }
.bf-side__sub a:hover { color: var(--bf-brand) !important; background: var(--bf-brand-50); }
.bf-side__sub a.is-active { color: var(--bf-brand) !important; font-weight: 650; background: var(--bf-brand-50); }
.bf-side__me { margin-top: auto; border-top: 1px solid var(--bf-line); padding: 12px 8px 2px; display: flex; align-items: center; gap: 10px; }
.bf-side__me .bf-avatar { width: 34px; height: 34px; font-size: 13px; }
.bf-side__me b { display: block; font-size: 13px; font-weight: 600; color: var(--bf-ink); line-height: 1.2; }
.bf-side__me span { font-size: 12px; color: var(--bf-muted-2); }

.bf-main { min-width: 0; display: flex; flex-direction: column; }
.bf-top {
  position: sticky; top: 0; z-index: 30; height: var(--bf-top-h);
  display: flex; align-items: center; gap: 12px; padding: 0 28px;
  background: rgba(245, 248, 248, .92); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--bf-line);
}
.bf-top .bf-top__burger { display: none; }
.bf-top__spacer { flex: 1; }
.bf-top__org { font-size: 13px; color: var(--bf-muted); display: inline-flex; align-items: center; gap: 6px; }
.bf-top__org b { color: var(--bf-ink); font-weight: 600; }

.bf-content { flex: 1; padding: 24px 28px 8px; width: 100%; max-width: 1360px; }
.bf-footer { padding: 18px 28px 22px; color: var(--bf-muted-2); font-size: 12.5px; border-top: 1px solid var(--bf-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.bf-footer a { color: var(--bf-muted-2); }

/* kullanıcı menüsü */
.bf-menu { position: relative; }
.bf-menu__btn {
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid transparent;
  padding: 4px 8px 4px 4px; border-radius: 999px; color: var(--bf-ink); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer;
}
.bf-menu__btn:hover, .bf-menu__btn[aria-expanded="true"] { background: var(--bf-surface); border-color: var(--bf-line); }
.bf-menu__list {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; z-index: 50;
  background: var(--bf-surface); border: 1px solid var(--bf-line); border-radius: var(--bf-radius); box-shadow: var(--bf-shadow);
  padding: 6px; display: none;
}
.bf-menu__list.is-open { display: block; }
.bf-menu__btn.bf-menu__btn--primary { padding: 8px 14px 8px 16px; border-radius: var(--bf-radius-sm); font-size: 14px; }
.bf-menu__btn--primary svg:last-child { width: 16px; height: 16px; margin-left: -2px; }
.bf-menu__list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--bf-ink-2) !important; font-size: 13.5px; text-decoration: none !important; }
.bf-menu__list a:hover { background: var(--bf-brand-50); color: var(--bf-brand) !important; }
.bf-menu__list a svg { width: 16px; height: 16px; color: var(--bf-muted-2); }
.bf-menu__list hr { margin: 6px 4px; border-top: 1px solid var(--bf-line); }

.bf-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bf-brand-100); color: var(--bf-brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; flex: none; }
.bf-avatar--lg { width: 56px; height: 56px; font-size: 19px; }

.bf-scrim { display: none; }

@media (max-width: 991.98px) {
  .bf-app { grid-template-columns: minmax(0, 1fr); }
  .bf-side {
    position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: min(86vw, 300px);
    transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--bf-shadow-lg);
  }
  .bf-app.is-nav-open .bf-side { transform: none; }
  .bf-app.is-nav-open .bf-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(12, 30, 33, .38); }
  .bf-top { padding: 0 16px; }
  .bf-top .bf-top__burger { display: inline-flex; }
  .bf-top__org { display: none; }
  .bf-content { padding: 18px 16px 8px; }
  .bf-footer { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .bf * { transition: none !important; animation: none !important; } }

/* ---------- sayfa başlığı ---------- */
.bf-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--bf-muted-2); margin: 0 0 6px; padding: 0; list-style: none; }
.bf-crumb a { color: var(--bf-muted-2); text-decoration: none; }
.bf-crumb a:hover { color: var(--bf-brand); text-decoration: underline; }
.bf-crumb li + li::before { content: "/"; margin-right: 6px; color: var(--bf-line); color: #B8C9C9; }
.bf-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.bf-page-head h1 { font-size: 24px; margin: 0; line-height: 1.25; }
.bf-page-head p { margin: 4px 0 0; color: var(--bf-muted); font-size: 14px; }
.bf-page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-section-title { font-size: 16px; font-weight: 650; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }

/* ---------- butonlar ---------- */
.bf-btn, .bf .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: var(--bf-radius-sm);
  font-family: var(--bf-font); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
}
.bf-btn svg { width: 18px; height: 18px; flex: none; }
.bf-btn:focus-visible, .bf .btn:focus-visible, .bf .btn:focus { box-shadow: var(--bf-focus); outline: none; }
.bf-btn[disabled], .bf-btn.is-disabled, .bf .btn:disabled { opacity: .6; cursor: not-allowed; }
.bf-btn--primary, .bf .btn-primary { background: var(--bf-brand) !important; border-color: var(--bf-brand) !important; color: var(--bf-brand-ink) !important; }
.bf-btn--primary:hover, .bf .btn-primary:hover, .bf .btn-primary:not(:disabled):active { background: var(--bf-brand-hover) !important; border-color: var(--bf-brand-hover) !important; color: var(--bf-brand-ink) !important; }
.bf-btn--secondary, .bf .btn-secondary, .bf .btn-light, .bf .btn-outline-secondary { background: var(--bf-surface) !important; border-color: var(--bf-input-line) !important; color: var(--bf-ink) !important; }
.bf-btn--secondary:hover, .bf .btn-secondary:hover, .bf .btn-light:hover, .bf .btn-outline-secondary:hover { border-color: var(--bf-brand-300) !important; background: var(--bf-brand-50) !important; color: var(--bf-brand) !important; }
.bf .btn-outline-primary { background: var(--bf-surface) !important; border-color: var(--bf-brand) !important; color: var(--bf-brand) !important; }
.bf .btn-outline-primary:hover { background: var(--bf-brand-50) !important; }
.bf-btn--ghost { background: transparent; color: var(--bf-brand) !important; padding-left: 10px; padding-right: 10px; }
.bf-btn--ghost:hover { background: var(--bf-brand-50); }
.bf-btn--danger, .bf .btn-danger { background: var(--bf-danger) !important; border-color: var(--bf-danger) !important; color: #fff !important; }
.bf-btn--danger:hover, .bf .btn-danger:hover { background: #961F18 !important; }
.bf-btn--danger-ghost { background: transparent; color: var(--bf-danger) !important; border-color: transparent; }
.bf-btn--danger-ghost:hover { background: var(--bf-danger-50); }
.bf-btn--sm, .bf .btn-sm { min-height: 32px; padding: 5px 11px; font-size: 13px; }
.bf-btn--lg { min-height: 48px; padding: 12px 20px; font-size: 15px; }
.bf-btn--block { display: flex; width: 100%; }
.bf-btn--pill { border-radius: 999px; }
.bf-btn--icon { width: 40px; padding: 0; }
.bf-btn--icon.bf-btn--sm { width: 32px; }

/* ---------- kart ---------- */
.bf-card { background: var(--bf-surface); border: 1px solid var(--bf-line); border-radius: var(--bf-radius); padding: 20px; box-shadow: var(--bf-shadow-sm); }
.bf-card + .bf-card { margin-top: 16px; }
.bf-grid > .bf-card + .bf-card { margin-top: 0; }
.bf-card--flush { padding: 0; overflow: hidden; }
.bf-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bf-card--flush .bf-card__head { padding: 16px 20px 0; }
.bf-card__title { font-size: 15.5px; font-weight: 650; margin: 0; display: flex; align-items: center; gap: 8px; }
.bf-card__sub { font-size: 13px; color: var(--bf-muted); margin: 2px 0 0; }
.bf-card__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bf-line-2); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.bf .card { border: 1px solid var(--bf-line); border-radius: var(--bf-radius); box-shadow: var(--bf-shadow-sm); }

.bf-grid { display: grid; gap: 16px; }
.bf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bf-grid--side { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
@media (max-width: 1199.98px) { .bf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bf-grid--side { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) { .bf-grid--2, .bf-grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479.98px) { .bf-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.bf-stack > * + * { margin-top: 16px; }

/* KPI */
.bf-kpi { display: flex; flex-direction: column; gap: 4px; text-decoration: none !important; color: inherit !important; transition: border-color .12s, box-shadow .12s; }
a.bf-kpi:hover { border-color: var(--bf-brand-300); box-shadow: var(--bf-shadow); }
.bf-kpi__label { font-size: 13px; color: var(--bf-muted); display: flex; align-items: center; gap: 8px; }
.bf-kpi__label svg { width: 18px; height: 18px; color: var(--bf-brand-400); }
.bf-kpi__value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--bf-ink); line-height: 1.15; }
.bf-kpi__hint { font-size: 12.5px; color: var(--bf-brand); font-weight: 600; }
.bf-kpi--warn .bf-kpi__hint { color: var(--bf-late); }

/* kısayol kartları */
.bf-shortcut { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--bf-line); border-radius: var(--bf-radius); background: var(--bf-surface); color: var(--bf-ink) !important; text-decoration: none !important; transition: border-color .12s, box-shadow .12s, transform .12s; }
.bf-shortcut:hover { border-color: var(--bf-brand-300); box-shadow: var(--bf-shadow); }
.bf-shortcut__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bf-brand-50); color: var(--bf-brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bf-shortcut__icon svg { width: 22px; height: 22px; }
.bf-shortcut b { display: block; font-size: 14px; font-weight: 650; }
.bf-shortcut__text { min-width: 0; }
.bf-shortcut__text > span { display: block; font-size: 12.5px; color: var(--bf-muted); }
.bf-howto { margin: 12px 0 0; padding-left: 20px; font-size: 13.5px; color: var(--bf-ink-2); }
.bf-howto li { padding-left: 4px; }
.bf-howto li + li { margin-top: 10px; }
.bf-howto b { color: var(--bf-ink); font-weight: 650; }

/* ---------- form ---------- */
.bf-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.bf-form-grid .bf-field--full { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .bf-form-grid { grid-template-columns: minmax(0, 1fr); } }
.bf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bf-label, .bf .bf-field > label { font-size: 13.5px; font-weight: 600; color: var(--bf-ink); margin: 0; display: flex; align-items: center; gap: 6px; }
.bf-req { color: var(--bf-danger); font-weight: 700; }
.bf-opt { color: var(--bf-faint); font-weight: 500; font-size: 12.5px; }
.bf-input, .bf .form-control, .bf .custom-select, .bf-field select, .bf-field input[type="text"], .bf-field input[type="email"], .bf-field input[type="tel"], .bf-field input[type="password"], .bf-field input[type="date"], .bf-field input[type="datetime-local"], .bf-field input[type="number"], .bf-field textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--bf-input-line); border-radius: var(--bf-radius-sm);
  background: var(--bf-surface); color: var(--bf-ink); font-family: var(--bf-font); font-size: 14px; line-height: 1.4;
  box-shadow: none; transition: border-color .12s, box-shadow .12s; -webkit-appearance: none; appearance: none;
}
.bf-field select, .bf .custom-select, select.bf-input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B6B6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.bf-field select[multiple] { background-image: none; padding-right: 12px; min-height: 140px; }
.bf-input:hover, .bf-field input:hover, .bf-field select:hover, .bf-field textarea:hover { border-color: var(--bf-brand-300); }
.bf-input:focus, .bf .form-control:focus, .bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus { border-color: var(--bf-brand); box-shadow: var(--bf-focus); outline: none; }
.bf-input[readonly], .bf-field input[readonly] { background: var(--bf-bg); color: var(--bf-ink-2); }
.bf-input.is-invalid, .bf-field .is-invalid, .bf-field.has-error input, .bf-field.has-error select { border-color: var(--bf-danger) !important; box-shadow: 0 0 0 3px var(--bf-danger-50) !important; }
.bf-help { font-size: 12.5px; color: var(--bf-muted); margin: 0; }
.bf-opt { font-weight: 400; color: var(--bf-muted-2); font-size: 12.5px; }
.bf-mt { margin-top: 12px; }
.bf-error:empty { display: none; }
.bf-form-actions--stack { flex-direction: column; align-items: stretch; margin-top: 18px; }
.bf-mini-list { list-style: none; margin: 0; padding: 0; }
.bf-mini-list li + li { border-top: 1px solid var(--bf-line-2); }
.bf-mini-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--bf-ink) !important; text-decoration: none !important; font-size: 13.5px; }
.bf-mini-list a:hover b { color: var(--bf-brand); }
.bf-mini-list b { display: block; font-weight: 600; }
.bf-mini-list small { display: block; color: var(--bf-muted); font-size: 12px; }
.bf-error, .bf .field-validation-error, .bf .validation { font-size: 12.5px; color: var(--bf-danger) !important; font-weight: 500; margin: 0; }
.bf .field-validation-valid { display: none; }
.bf-input-wrap { position: relative; }
.bf-input-wrap > .bf-input, .bf-input-wrap > input { padding-right: 46px; }
.bf-input-wrap__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 34px; border: 0; background: transparent; color: var(--bf-muted); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bf-input-wrap__btn:hover { color: var(--bf-brand); background: var(--bf-brand-50); }
.bf-input-wrap__btn svg { width: 18px; height: 18px; }
.bf-input-wrap--date > input { padding-right: 46px; }
.bf-input-wrap--date .ui-datepicker-trigger { display: none; }
.bf-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--bf-ink-2); cursor: pointer; }
.bf-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--bf-brand); flex: none; }
.bf-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-quick button { border: 1px solid var(--bf-input-line); background: var(--bf-surface); color: var(--bf-ink-2); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: var(--bf-font); }
.bf-quick button:hover, .bf-quick button.is-active { border-color: var(--bf-brand); color: var(--bf-brand); background: var(--bf-brand-50); }
.bf-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--bf-line-2); }
@media (max-width: 767.98px) {
  .bf-form-actions { position: sticky; bottom: 0; z-index: 5; margin: 20px -20px -20px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bf-surface); border-top: 1px solid var(--bf-line); border-radius: 0 0 var(--bf-radius) var(--bf-radius); }
  .bf-form-actions .bf-btn { flex: 1; }
}
.bf-fieldset { border: 0; padding: 0; margin: 0; }
.bf-fieldset legend { font-size: 14.5px; font-weight: 650; margin-bottom: 12px; }
.bf-divider { border: 0; border-top: 1px solid var(--bf-line-2); margin: 20px 0; }

/* seçim kartları (radio / checkbox kart) */
.bf-choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.bf-choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--bf-line); border-radius: 10px; background: var(--bf-surface); cursor: pointer; font-size: 13.5px; }
.bf-choice:hover { border-color: var(--bf-brand-300); }
.bf-choice input { accent-color: var(--bf-brand); width: 17px; height: 17px; margin-top: 1px; flex: none; }
.bf-choice b { display: block; font-weight: 600; }
.bf-choice small { display: block; color: var(--bf-muted); font-size: 12px; }
.bf-choice:has(input:checked) { border-color: var(--bf-brand); background: var(--bf-brand-50); }

/* yetki anahtarları */
.bf-perm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bf-line-2); }
.bf-perm:last-child { border-bottom: 0; }
.bf-perm b { font-weight: 600; font-size: 14px; display: block; }
.bf-perm small { color: var(--bf-muted); font-size: 12.5px; }
.bf-perm select { width: auto; min-width: 140px; flex: none; }

/* ---------- uyarı / bilgi ---------- */
.bf-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--bf-brand-50); color: var(--bf-ink-2); font-size: 13.5px; }
.bf-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--bf-brand); }
.bf-note--warn { background: #FFF6EA; color: #4A3A2A; }
.bf-note--warn svg { color: var(--bf-warn); }
.bf-note--danger { background: var(--bf-danger-50); color: #5F1410; }
.bf-note--danger svg { color: var(--bf-danger); }
.bf-note--ok { background: var(--bf-ok-50); color: #0B3F31; }
.bf-note--ok svg { color: var(--bf-ok); }
.bf-note > div > b { display: block; margin-bottom: 2px; }
.bf-note__list { margin: 4px 0 0; padding-left: 18px; }
.bf-mb { margin-bottom: 16px; }
.bf .alert { border-radius: 10px; border: 0; font-size: 13.5px; }
.bf .alert-warning { background: #FFF6EA; color: #4A3A2A; }
.bf .alert-danger { background: var(--bf-danger-50); color: #5F1410; }
.bf .alert-success { background: var(--bf-ok-50); color: #0B3F31; }
.bf .alert-info { background: var(--bf-info-50); color: #083F51; }

/* ---------- rozet / seviye ---------- */
.bf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.bf-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.bf-badge--plain::before { display: none; }
.bf-badge--wait { background: #EEF2F2; color: #44585B; }
.bf-badge--prog { background: var(--bf-info-50); color: var(--bf-info); }
.bf-badge--done { background: var(--bf-ok-50); color: var(--bf-ok); }
.bf-badge--late { background: var(--bf-late-50); color: var(--bf-late); }
.bf-badge--soon { background: var(--bf-warn-50); color: #7A5000; }
.bf-badge--off { background: #F1F3F3; color: var(--bf-muted-2); }
.bf-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--bf-brand-50); color: var(--bf-brand); font-size: 12px; font-weight: 600; white-space: nowrap; }
.bf-tag--muted { background: #F1F3F3; color: var(--bf-muted); }

.bf-lchip { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
.bf-lchip.lv0 { background: #FBE0D0; color: var(--bf-late); }
.bf-lchip.lv1 { background: #EEF2F2; color: #44585B; }
.bf-lchip.lv2 { background: var(--bf-brand-100); color: var(--bf-brand); }
.bf-lchip.lv3 { background: var(--bf-brand-200); color: var(--bf-brand-hover); }
.bf-lchip.lv4 { background: var(--bf-brand); color: #fff; }

.bf-band { position: relative; display: flex; height: 8px; border-radius: 99px; min-width: 90px; }
.bf-band i { display: block; height: 100%; }
.bf-band i:first-child { border-radius: 99px 0 0 99px; }
.bf-band i:last-child { border-radius: 0 99px 99px 0; }
.bf-band i.lv0 { background: #F6C3A6; width: 25%; }
.bf-band i.lv1 { background: #E3ECEC; width: 25%; }
.bf-band i.lv2 { background: #D3E5E1; width: 18.75%; }
.bf-band i.lv3 { background: var(--bf-brand-300); width: 18.75%; }
.bf-band i.lv4 { background: var(--bf-brand-400); width: 12.5%; }
.bf-band b { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--bf-ink); border-radius: 2px; transform: translateX(-1px); }
.bf-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--bf-ink-2); }
.bf-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bf-legend i { width: 12px; height: 8px; border-radius: 2px; display: inline-block; }
.bf-legend small { color: var(--bf-faint); }

/* donut */
.bf-donut { --p: 0; --c: var(--bf-brand); position: relative; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #E3ECEC 0); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bf-donut::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--bf-surface); }
.bf-donut > span { position: relative; font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; color: var(--bf-ink); }
.bf-donut--sm { width: 56px; height: 56px; }
.bf-donut--sm::before { inset: 7px; }
.bf-donut--sm > span { font-size: 14px; }

/* ---------- tablo ---------- */
.bf-table-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--bf-line); }
.bf-table-tools .bf-search { flex: 1 1 240px; }
.bf-table-tools--stack { flex-direction: column; align-items: stretch; }
.bf-table-tools__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bf-table-tools__row .bf-search { flex: 1 1 240px; }
.bf-cell-sub.is-late { color: var(--bf-late); font-weight: 600; }
.bf-cell-sub.is-soon { color: #7A5000; font-weight: 600; }
.bf-score-cell { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.bf-score-cell b { font-variant-numeric: tabular-nums; }
.bf-muted { color: var(--bf-muted-2); }
.bf-form-stack { display: flex; flex-direction: column; gap: 20px; }
.bf-choice--static { cursor: default; align-items: center; }
.bf-choice--static > svg { width: 28px; height: 28px; color: var(--bf-brand); }
.bf-summary dd.is-empty { color: var(--bf-faint); font-weight: 400; }
.bf-table-tools select, .bf-table-tools input { min-height: 40px; }
.bf-search { position: relative; }
.bf-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--bf-faint); pointer-events: none; }
.bf-search input { width: 100%; min-height: 40px; padding: 8px 12px 8px 38px; border: 1px solid var(--bf-input-line); border-radius: var(--bf-radius-sm); font-family: var(--bf-font); font-size: 14px; background: var(--bf-surface); }
.bf-search input:focus { border-color: var(--bf-brand); box-shadow: var(--bf-focus); outline: none; }
.bf-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bf-filters select, .bf-filters input[type="text"] { width: auto; min-width: 150px; min-height: 40px; padding: 8px 34px 8px 12px; border: 1px solid var(--bf-input-line); border-radius: var(--bf-radius-sm); font-family: var(--bf-font); font-size: 14px; background-color: var(--bf-surface); }
.bf-filters input[type="text"] { padding-right: 12px; }

.bf-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.bf-seg button, .bf-seg a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid #D7E3E3; background: var(--bf-surface); font-family: var(--bf-font); font-size: 13px; font-weight: 600; color: var(--bf-ink-2) !important; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.bf-seg button b, .bf-seg a b { color: var(--bf-muted-2); font-weight: 600; }
.bf-seg button.is-active, .bf-seg a.is-active { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff !important; }
.bf-seg button.is-active b, .bf-seg a.is-active b { color: var(--bf-brand-200); }

.bf-table-wrap { overflow-x: auto; position: relative; }
table.bf-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.bf-table th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: 12px; font-weight: 600; color: var(--bf-muted); background: #FAFCFC; padding: 10px 12px; border-bottom: 1px solid var(--bf-line); white-space: nowrap; }
.bf-table th[data-sort] { cursor: pointer; user-select: none; }
.bf-table th[data-sort]:hover { color: var(--bf-ink); }
.bf-table th[data-sort]::after { content: ""; display: inline-block; width: 8px; margin-left: 6px; opacity: .45; }
.bf-table th[aria-sort="ascending"]::after { content: "▲"; font-size: 9px; opacity: 1; color: var(--bf-brand); }
.bf-table th[aria-sort="descending"]::after { content: "▼"; font-size: 9px; opacity: 1; color: var(--bf-brand); }
.bf-table td { padding: 12px 12px; border-bottom: 1px solid var(--bf-line-2); vertical-align: middle; color: var(--bf-ink); }
.bf-table tbody tr:last-child td { border-bottom: 0; }
.bf-table tbody tr[data-href] { cursor: pointer; }
.bf-table tbody tr[data-href]:hover td { background: var(--bf-brand-50); }
.bf-table tbody tr[data-href]:focus-visible { outline: 2px solid var(--bf-brand); outline-offset: -2px; }
.bf-table .bf-cell-main { font-weight: 600; }
.bf-table .bf-cell-sub { display: block; font-size: 12.5px; color: var(--bf-muted); font-weight: 400; }
.bf-table .r, .bf-table td.num, .bf-table th.num { text-align: right; }
.bf-table .bf-cell-go { width: 40px; text-align: right; color: var(--bf-faint); }
.bf-table .bf-cell-go svg { width: 18px; height: 18px; }
.bf-table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--bf-line); font-size: 13px; color: var(--bf-muted); }
.bf-pager { display: flex; align-items: center; gap: 4px; }
.bf-pager button { min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--bf-line); background: var(--bf-surface); border-radius: 8px; font-family: var(--bf-font); font-size: 13px; font-weight: 600; color: var(--bf-ink-2); cursor: pointer; }
.bf-pager button:hover:not(:disabled) { border-color: var(--bf-brand-300); color: var(--bf-brand); }
.bf-pager button.is-active { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff; }
.bf-pager button:disabled { opacity: .45; cursor: default; }
.bf-pager span { padding: 0 4px; color: var(--bf-faint); }

@media (max-width: 767.98px) {
  .bf-table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bf-table--cards, .bf-table--cards tbody, .bf-table--cards tr, .bf-table--cards td { display: block; width: 100%; }
  .bf-table--cards tbody tr { position: relative; padding: 12px 44px 12px 16px; border-bottom: 1px solid var(--bf-line); }
  .bf-table--cards tbody tr:last-child { border-bottom: 0; }
  .bf-table--cards td { padding: 2px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
  .bf-table--cards td[data-label]::before { content: attr(data-label); color: var(--bf-muted); font-size: 12.5px; flex: none; }
  .bf-table--cards td.bf-cell-title { display: block; font-size: 15px; margin-bottom: 4px; }
  .bf-table--cards td.bf-cell-title::before { display: none; }
  .bf-table--cards td.bf-cell-go { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: auto; padding: 0; }
  .bf-table--cards td.bf-hide-sm { display: none; }
}

.bf-count { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--bf-brand-50); color: var(--bf-brand); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.bf-person--row { gap: 10px; }
.bf-person--row .bf-avatar { width: 32px; height: 32px; font-size: 12px; }
.bf-disclosure { position: relative; }
.bf-disclosure > summary { list-style: none; cursor: pointer; }
.bf-disclosure > summary::-webkit-details-marker { display: none; }
.bf-disclosure__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; padding: 12px; background: var(--bf-surface); border: 1px solid var(--bf-line); border-radius: var(--bf-radius); box-shadow: var(--bf-shadow); min-width: 320px; }
@media (max-width: 767.98px) {
  .bf-disclosure { width: 100%; }
  .bf-disclosure__panel { position: static; margin-top: 8px; min-width: 0; box-shadow: none; }
  .bf-disclosure__panel input[type="text"], .bf-disclosure__panel select { flex: 1 1 140px; min-width: 0; }
}

/* ---------- boş durum / yükleniyor ---------- */
.bf-empty { text-align: center; padding: 40px 20px; color: var(--bf-muted); }
.bf-empty__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--bf-brand-50); color: var(--bf-brand); display: flex; align-items: center; justify-content: center; }
.bf-empty__icon svg { width: 28px; height: 28px; }
.bf-empty h3 { font-size: 16px; margin: 0 0 6px; color: var(--bf-ink); }
.bf-empty p { margin: 0 auto 16px; max-width: 420px; font-size: 13.5px; }
.bf-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--bf-brand-200); border-top-color: var(--bf-brand); animation: bf-spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes bf-spin { to { transform: rotate(360deg); } }
.bf-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px; color: var(--bf-muted); font-size: 14px; }
.bf .spinner-border { color: currentColor; }

/* ---------- liste satırı / anahtar-değer ---------- */
.bf-kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 0 12px; margin: 0; }
.bf-kv dt { font-size: 13px; color: var(--bf-muted); font-weight: 500; padding: 9px 0; border-bottom: 1px dashed var(--bf-line); }
.bf-kv dd { font-size: 14px; color: var(--bf-ink); margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--bf-line); word-break: break-word; }
.bf-kv dt:last-of-type, .bf-kv dd:last-of-type { border-bottom: 0; }
.bf-person { display: flex; align-items: center; gap: 14px; }
.bf-person h2 { font-size: 20px; margin: 0; }
.bf-person p { margin: 2px 0 0; color: var(--bf-muted); font-size: 13.5px; }
.bf-copy { display: flex; align-items: center; gap: 8px; }
.bf-copy__input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px; background: var(--bf-bg); border: 1px solid var(--bf-line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--bf-ink); }
[data-bf-copy].is-copied { color: var(--bf-ok) !important; background: var(--bf-ok-50) !important; border-color: transparent !important; }
[data-bf-copy].is-copied::after { content: "Kopyalandı"; font-size: 12px; font-weight: 600; margin-left: 4px; }
.bf-btn--icon[data-bf-copy].is-copied::after { content: none; }
.bf-card--danger { border-color: #F2D3CF; }
.bf-card--danger .bf-card__title svg { color: var(--bf-danger); }
.bf-copy code { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px; background: var(--bf-bg); border: 1px solid var(--bf-line); font-size: 13px; color: var(--bf-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* skor kartları (sonuç detayı) */
.bf-score-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1199.98px) { .bf-score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .bf-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bf-score { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 10px; }
.bf-score h3 { font-size: 13.5px; font-weight: 600; margin: 0; color: var(--bf-ink-2); }
.bf-skill { display: grid; grid-template-columns: minmax(0, 1fr) 140px 48px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bf-line-2); font-size: 13.5px; }
.bf-skill:last-child { border-bottom: 0; }
.bf-skill__bar { height: 8px; border-radius: 99px; background: #E3ECEC; overflow: hidden; }
.bf-skill__bar > i { display: block; height: 100%; border-radius: 99px; background: var(--bf-brand); }
.bf-skill__val { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) { .bf-skill { grid-template-columns: minmax(0, 1fr) 48px; } .bf-skill__bar { grid-column: 1 / -1; order: 3; } }

.bf-hero-score { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 28px; margin-bottom: 20px; }
.bf-hero-score .bf-donut { width: 112px; height: 112px; }
.bf-hero-score .bf-donut::before { inset: 12px; }
.bf-hero-score .bf-donut > span { font-size: 26px; }
.bf-hero-score__level { margin: 6px 0 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bf-hero-score .bf-band { max-width: 360px; }
.bf-hero-score__legend { flex-direction: column; gap: 6px; }
.bf-legend i[data-bf-level-swatch="0"] { background: #D55E00; }
.bf-legend i[data-bf-level-swatch="1"] { background: #9AA9AB; }
.bf-legend i[data-bf-level-swatch="2"] { background: #7FB3A8; }
.bf-legend i[data-bf-level-swatch="3"] { background: #4F8C80; }
.bf-legend i[data-bf-level-swatch="4"] { background: #14564C; }
@media (max-width: 767.98px) { .bf-hero-score { grid-template-columns: auto minmax(0, 1fr); } .bf-hero-score__legend { grid-column: 1 / -1; flex-direction: row; } }
.bf-score-grid > .bf-card + .bf-card { margin-top: 0; }
.bf-section { margin-bottom: 20px; }
.bf-section__title { font-size: 16px; font-weight: 650; margin: 0 0 12px; }
.bf-skill-group h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 650; margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--bf-line); }
.bf-skill-group__score { font-size: 13px; font-weight: 700; padding: 1px 9px; border: 1.5px solid currentColor; border-radius: 999px; font-variant-numeric: tabular-nums; }
.bf-skill-groups { gap: 24px 32px; }
.color-blind-button.is-on { background: var(--bf-ink) !important; color: #fff !important; border-color: var(--bf-ink) !important; }
/* ---------- raporlar ---------- */
fieldset.bf-field { border: 0; padding: 0; margin: 0; }
.bf .bf-field > legend { font-size: 13.5px; font-weight: 600; color: var(--bf-ink); margin: 0 0 6px; padding: 0; float: none; width: auto; }
.bf-report-filter { margin-bottom: 20px; }
.bf-report-filter__grid { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(280px, 1.4fr) repeat(2, minmax(150px, 1fr)); gap: 16px 20px; align-items: start; }
.bf-report-filter__areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 20px; margin-top: 16px; }
.bf-report-filter__areas > .bf-report-filter__codes:only-child, .bf-report-filter__areas > #kategoriFilterContainer[style*="none"] + .bf-report-filter__codes { grid-column: 1 / -1; }
.bf-report-filter__inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.bf-report-filter__inline > .bf-field { flex: 1 1 320px; max-width: 520px; }
.bf-daterange { display: flex; align-items: center; gap: 8px; }
.bf-daterange > input { flex: 1 1 0; min-width: 0; }
.bf-daterange > span { color: var(--bf-faint); }
.bf-report-filter__dates .bf-quick { margin-top: 8px; align-items: center; }
.bf-quick__label { font-size: 12.5px; color: var(--bf-muted); margin-right: 2px; }
.bf-field__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.bf-field__row > label { font-size: 13.5px; font-weight: 600; color: var(--bf-ink); margin: 0; }
.bf-field__tools { display: flex; gap: 4px; }
.bf-field select.bf-multi { min-height: 0; padding: 6px; }
.bf-multi option { padding: 6px 8px; border-radius: 6px; }
.bf-multi option:checked { background: var(--bf-brand-100) linear-gradient(0deg, var(--bf-brand-100), var(--bf-brand-100)); color: var(--bf-brand-hover); font-weight: 600; }
.bf-count.is-over { background: var(--bf-danger-50); color: var(--bf-danger); }
.bf-report-status { margin-bottom: 20px; }
.bf-report-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; color: var(--bf-muted); font-size: 14px; }
.bf-report-loading[style*="none"] { display: none !important; }
#summaryCard, #detailCard, #raporSonuc { margin-bottom: 20px; }
#reportMessage, #statusCard, #summaryCard, #detailCard, #chartCard, #raporSonuc { scroll-margin-top: 84px; }
.bf-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-chart { min-height: 380px; }
.bf-chart .alert { margin: 0; }
.bf-chart svg text { font-family: var(--bf-font) !important; }

.bf-matrix-wrap { overflow-x: auto; border: 1px solid var(--bf-line); border-radius: 10px; }
.bf-matrix-wrap:focus-visible { outline: none; box-shadow: var(--bf-focus); }
.bf-matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.bf-matrix th, .bf-matrix td { padding: 9px 12px; text-align: center; border-bottom: 1px solid var(--bf-line-2); border-right: 1px solid var(--bf-line-2); white-space: nowrap; vertical-align: middle; }
.bf-matrix th:last-child, .bf-matrix td:last-child { border-right: 0; }
.bf-matrix tbody tr:last-child td { border-bottom: 0; }
.bf-matrix thead th { background: #FAFCFC; font-size: 12px; font-weight: 600; color: var(--bf-muted); position: sticky; top: 0; z-index: 1; }
.bf-matrix .matrix-name-column, .bf-matrix .summary-name, .bf-matrix .name-column { position: sticky; left: 0; z-index: 2; background: var(--bf-surface); text-align: left; font-weight: 600; color: var(--bf-ink); min-width: 190px; white-space: normal; box-shadow: 1px 0 0 var(--bf-line); }
.bf-matrix thead .matrix-name-column, .bf-matrix thead .name-column, .bf-matrix thead th:first-child { left: 0; z-index: 3; background: #FAFCFC; text-align: left; }
.bf-matrix .matrix-date { display: block; font-weight: 650; color: var(--bf-ink); }
.bf-matrix .matrix-time { display: block; font-size: 11.5px; color: var(--bf-faint); font-weight: 500; }
.bf-matrix .matrix-main-score { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--bf-brand-50); color: var(--bf-brand); font-size: 11.5px; font-weight: 650; }
.bf-matrix .matrix-score { display: block; font-size: 14px; font-weight: 700; color: var(--bf-ink); }
.bf-matrix .matrix-delta { display: block; font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.bf-matrix .matrix-first { color: var(--bf-faint); font-weight: 500; }
.bf-matrix .matrix-empty { color: var(--bf-faint); }
.bf .delta-up { color: var(--bf-ok); }
.bf .delta-down { color: var(--bf-late); }
.bf .delta-same { color: var(--bf-muted); }
.bf-matrix .matrix-general-test-column { background: #EAF4F2; }
.bf-matrix thead .matrix-general-test-column { background: #DCEDEA; }
.bf-matrix .matrix-last-general-test-column { background: #FFF4E5; }
.bf-matrix thead .matrix-last-general-test-column { background: #FCE7C8; }
.bf-matrix tbody tr:hover td { background-color: rgba(20, 86, 76, .035); }
.bf-matrix-legend { margin-top: 6px; }
.bf-matrix-legend i { width: 14px; height: 10px; border-radius: 3px; }
.bf-matrix-legend__first { background: #DCEDEA; border: 1px solid #9CCAC0; }
.bf-matrix-legend__last { background: #FCE7C8; border: 1px solid #E6B66A; }
.bf-matrix-legend b { font-weight: 700; }
.bf-matrix--summary td .matrix-score { font-size: 16px; }
.bf-matrix--monthly .first-test-column { background: #EAF4F2; font-weight: 650; }
.bf-matrix--monthly thead .first-test-column { background: #DCEDEA; color: var(--bf-brand-hover); }
.bf-matrix--monthly .category-row td { background: var(--bf-brand-50); font-weight: 700; color: var(--bf-ink); }
.bf-matrix--monthly .category-row .name-column { background: var(--bf-brand-50); }
.bf-matrix--monthly .skill-row .name-column { font-weight: 500; color: var(--bf-ink-2); }
.bf-matrix--monthly .skill-name { display: inline-block; padding-left: 16px; position: relative; }
.bf-matrix--monthly .skill-name::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 1px; background: var(--bf-faint); }
.bf-print-only { display: none; }
.bf-print-head { display: none; align-items: center; gap: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--bf-brand); }
.bf-print-head__title { font-size: 16px; font-weight: 700; }
.bf-print-head__info { font-size: 12px; color: var(--bf-muted); margin-left: auto; }
@media (max-width: 1199.98px) {
  .bf-report-filter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .bf-report-filter__grid, .bf-report-filter__areas { grid-template-columns: minmax(0, 1fr); }
  .bf-matrix .matrix-name-column, .bf-matrix .summary-name, .bf-matrix .name-column { min-width: 140px; }
}
@media print {
  .bf-print-only { display: block; }
  .bf-print-head.bf-print-only { display: flex; }
  .bf-matrix-wrap { overflow: visible; border: 0; }
  .bf-matrix, .bf-matrix thead th, .bf-matrix .matrix-score { font-size: 9px; }
  .bf-matrix th, .bf-matrix td { padding: 4px 5px; border: 1px solid #d0d5dd; white-space: normal; }
  .bf-matrix thead th, .bf-matrix .matrix-name-column, .bf-matrix .name-column { position: static; box-shadow: none; }
  .bf-matrix .matrix-general-test-column, .bf-matrix--monthly .first-test-column, .bf-matrix--monthly .category-row td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #raporSonuc { border: 0; padding: 0; }
}

/* ayarlar: uzmanlar, yetkiler, şifre, kurum ve logo */
.bf-form-grid--1 { grid-template-columns: minmax(0, 1fr); }
.bf-narrow { max-width: 560px; }
.bf-narrow--form { max-width: 720px; }
.bf-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.bf-perm label { flex: 1; min-width: 0; margin: 0; cursor: pointer; }
.bf-perm label b { color: var(--bf-ink); }
.bf-perm-yes { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bf-ok-50); color: var(--bf-ok); vertical-align: middle; }
.bf-perm-yes svg { width: 14px; height: 14px; }
.bf-perm-no { color: var(--bf-muted-2); font-weight: 600; }
.bf-table--perm th.bf-perm-col, .bf-table--perm td.bf-perm-col { text-align: center; white-space: nowrap; }
.bf-legend-inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--bf-muted); }
.bf-legend-inline .bf-perm-no { margin-left: 10px; }
.bf-avatar--photo { object-fit: cover; padding: 0; }
.bf-photo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bf-photo__img, .bf-photo__empty { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.bf-photo__img { object-fit: cover; border: 1px solid var(--bf-line); }
.bf-photo__empty { display: flex; align-items: center; justify-content: center; background: var(--bf-brand-100); color: var(--bf-brand); font-size: 28px; font-weight: 700; }
.bf-photo__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bf-empty--sm { padding: 24px 16px; }
.bf-pw-rules { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--bf-muted); }
.bf-pw-rules li { position: relative; padding-left: 20px; }
.bf-pw-rules li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--bf-muted-2); }
.bf-pw-rules li.is-ok { color: var(--bf-ok); }
.bf-pw-rules li.is-ok::before { content: "✓"; border: 0; width: auto; height: auto; top: 0; left: 2px; font-weight: 700; }
.bf-pw-rules li.is-bad { color: var(--bf-danger); }
.bf-pw-rules li.is-bad::before { border-color: var(--bf-danger); }
.bf-pw-rules code, .bf-help code { font-size: 12px; color: inherit; background: var(--bf-line-2); padding: 1px 4px; border-radius: 4px; white-space: nowrap; display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.bf-logo-box { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 16px; border: 1px dashed var(--bf-line); border-radius: var(--bf-radius); background: repeating-conic-gradient(#F4F7F7 0% 25%, #FFFFFF 0% 50%) 50% / 16px 16px; }
.bf-logo-box img { max-width: 100%; max-height: 120px; object-fit: contain; }
.bf-logo-box__empty { display: inline-flex; align-items: center; gap: 8px; color: var(--bf-muted); font-size: 13.5px; background: var(--bf-surface); padding: 6px 10px; border-radius: 8px; }
#UploadLogo .e-upload-actions { display: none; }
.bf .e-upload { border-radius: var(--bf-radius); border-color: var(--bf-line); }

/* adımlar */
.bf-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: var(--bf-faint); flex-wrap: wrap; }
.bf-steps li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.bf-steps ol { display: contents; }
.bf-steps li b { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.bf-steps li.is-on { color: var(--bf-ink); }
.bf-steps li.is-on b { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff; }
.bf-steps li + li::before { content: ""; width: 28px; height: 2px; background: #D7E3E3; margin-right: 2px; }

/* özet paneli (atama formları) */
.bf-summary { position: sticky; top: calc(var(--bf-top-h) + 16px); }
.bf-summary .bf-kv { grid-template-columns: 1fr; }
.bf-summary .bf-kv dt { border: 0; padding: 8px 0 0; }
.bf-summary .bf-kv dd { padding: 2px 0 8px; font-weight: 600; }

/* ---------- modal / SweetAlert / select2 / datepicker / EJ2 ---------- */
.bf .modal-content { border: 0; border-radius: var(--bf-radius-lg); box-shadow: var(--bf-shadow-lg); }
.bf .modal-header { border-bottom: 1px solid var(--bf-line-2); padding: 16px 20px; }
.bf .modal-title { font-size: 16px; font-weight: 650; }
.bf .modal-body { padding: 20px; }
.bf .modal-footer { border-top: 1px solid var(--bf-line-2); padding: 14px 20px; gap: 8px; }
.bf .modal-backdrop.show { opacity: .4; }
.bf .close { font-weight: 400; opacity: .6; }

.swal2-popup { font-family: var(--bf-font) !important; border-radius: var(--bf-radius-lg) !important; }
.swal2-title { color: var(--bf-ink) !important; font-size: 20px !important; font-weight: 650 !important; }
.swal2-html-container, .swal2-content { color: var(--bf-ink-2) !important; font-size: 14.5px !important; }
.swal2-styled.swal2-confirm { background: var(--bf-brand) !important; border-radius: var(--bf-radius-sm) !important; font-weight: 600 !important; box-shadow: none !important; }
.swal2-styled.swal2-confirm:hover { background: var(--bf-brand-hover) !important; background-image: none !important; }
.swal2-styled.swal2-cancel { background: var(--bf-surface) !important; color: var(--bf-ink) !important; border: 1px solid var(--bf-input-line) !important; border-radius: var(--bf-radius-sm) !important; font-weight: 600 !important; }
.swal2-styled:focus { box-shadow: var(--bf-focus) !important; }
.swal2-icon.swal2-success { border-color: var(--bf-brand-300) !important; color: var(--bf-brand) !important; }
.swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: var(--bf-brand) !important; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(20, 86, 76, .3) !important; }

.bf .select2-container { width: 100% !important; font-size: 14px; }
.bf .select2-container--default .select2-selection--single,
.bf .select2-container--default .select2-selection--multiple { min-height: 42px; border: 1px solid var(--bf-input-line); border-radius: var(--bf-radius-sm); }
.bf .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; padding-left: 12px; padding-right: 34px; color: var(--bf-ink); }
.bf .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; right: 6px; }
.bf .select2-container--default.select2-container--focus .select2-selection--multiple,
.bf .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--bf-brand); box-shadow: var(--bf-focus); }
.bf .select2-container--default .select2-selection--multiple .select2-selection__choice { background: var(--bf-brand-50); border: 1px solid var(--bf-brand-200); color: var(--bf-brand); border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: 12.5px; }
.select2-dropdown { border-color: var(--bf-line) !important; border-radius: var(--bf-radius-sm) !important; box-shadow: var(--bf-shadow); font-family: var(--bf-font); font-size: 14px; overflow: hidden; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--bf-brand) !important; color: #fff !important; }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--bf-input-line); border-radius: 6px; padding: 7px 10px; }

.ui-datepicker { font-family: var(--bf-font) !important; font-size: 13.5px !important; padding: 10px !important; border: 1px solid var(--bf-line) !important; border-radius: var(--bf-radius) !important; box-shadow: var(--bf-shadow) !important; background: #fff !important; width: 18.5em !important; z-index: 1100 !important; }
.ui-datepicker .ui-datepicker-header { background: transparent !important; border: 0 !important; color: var(--bf-ink) !important; font-weight: 650; padding: 4px 0 8px !important; }
.ui-datepicker .ui-datepicker-title select { border: 1px solid var(--bf-line); border-radius: 6px; padding: 2px 4px; font-size: 13px; margin: 0 2px; }
.ui-datepicker th { color: var(--bf-muted) !important; font-weight: 600 !important; font-size: 12px; }
.ui-datepicker td a, .ui-datepicker td span { text-align: center !important; border: 0 !important; background: transparent !important; border-radius: 8px !important; padding: 6px 0 !important; color: var(--bf-ink) !important; }
.ui-datepicker td a:hover { background: var(--bf-brand-50) !important; color: var(--bf-brand) !important; }
.ui-datepicker td .ui-state-highlight { box-shadow: inset 0 0 0 1.5px var(--bf-brand-300); }
.ui-datepicker td .ui-state-active { background: var(--bf-brand) !important; color: #fff !important; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { top: 6px !important; border-radius: 8px; cursor: pointer; }
.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover { background: var(--bf-brand-50) !important; border: 0 !important; }
.ui-datepicker .ui-datepicker-buttonpane button { font-family: var(--bf-font); border-radius: 6px !important; border: 1px solid var(--bf-line) !important; background: #fff !important; color: var(--bf-ink) !important; font-weight: 600 !important; padding: 4px 10px !important; opacity: 1 !important; }

.bf .e-upload { border: 1.5px dashed var(--bf-input-line) !important; border-radius: var(--bf-radius) !important; background: var(--bf-bg) !important; font-family: var(--bf-font) !important; }
.bf .e-upload .e-file-select-wrap .e-btn, .bf .e-upload .e-upload-actions .e-btn { font-family: var(--bf-font) !important; text-transform: none !important; border-radius: var(--bf-radius-sm) !important; }
.bf .e-upload .e-file-select-wrap .e-btn { background: var(--bf-brand) !important; color: #fff !important; }
.bf .apexcharts-canvas, .bf .apexcharts-text, .bf .apexcharts-legend-text { font-family: var(--bf-font) !important; }

/* mevcut rapor script'lerinin ürettiği tablolar */
.bf .table { color: var(--bf-ink); font-size: 13.5px; }
.bf .table thead th { border-bottom: 1px solid var(--bf-line); border-top: 0; background: #FAFCFC; font-size: 12px; color: var(--bf-muted); font-weight: 600; }
.bf .table td, .bf .table th { border-top: 1px solid var(--bf-line-2); padding: 10px 12px; vertical-align: middle; }
.bf .table-responsive { border-radius: var(--bf-radius-sm); }
.bf .badge { border-radius: 999px; font-weight: 600; padding: 4px 9px; }

/* ---------- giriş ekranı ---------- */
body.bf-auth { background: var(--bf-surface); }
.bf-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bf-login__form { display: flex; flex-direction: column; align-items: center; padding: 32px 24px 20px; }
.bf-login__col { width: 100%; max-width: 360px; margin: auto 0; }
.bf-login__logo { display: flex; justify-content: center; margin-bottom: 32px; }
.bf-login__logo img { width: 230px; height: auto; }
.bf-login h1 { font-size: 22px; text-align: center; margin: 0 0 6px; }
.bf-login__lead { text-align: center; color: var(--bf-muted); margin: 0 0 24px; font-size: 14px; }
.bf-login .bf-field + .bf-field { margin-top: 14px; }
.bf-login .bf-field .bf-input { min-height: 48px; border-radius: 999px; padding-left: 18px; background: #F4F6F6; border-color: transparent; }
.bf-login .bf-field .bf-input:hover { border-color: var(--bf-brand-200); }
.bf-login .bf-field .bf-input:focus { background: #fff; border-color: var(--bf-brand); }
.bf-login .bf-input-wrap > .bf-input { padding-right: 50px; }
.bf-login .bf-input-wrap__btn { right: 6px; border-radius: 999px; }
.bf-login .bf-btn--primary { margin-top: 20px; min-height: 48px; border-radius: 999px; letter-spacing: .02em; }
.bf-login__links { text-align: center; margin-top: 18px; font-size: 14px; font-weight: 600; }
.bf-login__msg { margin-bottom: 16px; }
.bf-login__foot { margin-top: 24px; font-size: 12px; color: var(--bf-muted-2); text-align: center; }
.bf-login__visual { position: relative; background: var(--bf-brand) url("img/bf-panel-gorseli.jpg") center / cover no-repeat; }
.bf-login__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 86, 76, 0) 50%, rgba(12, 30, 33, .45) 100%); }
.bf-login__quote { position: absolute; z-index: 1; left: 40px; right: 40px; bottom: 40px; color: #fff; }
.bf-login__quote b { display: block; font-size: 22px; font-weight: 650; line-height: 1.3; }
.bf-login__quote span { display: block; margin-top: 6px; opacity: .85; font-size: 14px; }
@media (max-width: 991.98px) {
  .bf-login { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .bf-login__visual { order: -1; height: 150px; background-position: center 40%; }
  .bf-login__quote { display: none; }
  .bf-login__form { padding-top: 24px; }
  .bf-login__logo { margin-bottom: 22px; }
  .bf-login__logo img { width: 200px; }
}

/* ---------- kullanıcı (danışan) tarafı ---------- */
body.bf-pub { background: var(--bf-bg); }
.bf-pub-top { background: var(--bf-surface); border-bottom: 1px solid var(--bf-line); }
.bf-pub-top__in { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bf-pub-top img { height: 34px; width: auto; display: block; }
.bf-pub-top nav { display: flex; align-items: center; gap: 4px; }
.bf-pub-main { max-width: 1040px; margin: 0 auto; padding: 28px 20px 24px; min-height: calc(100vh - 140px); }
.bf-pub-foot { border-top: 1px solid var(--bf-line); background: var(--bf-surface); }
.bf-pub-foot__in { max-width: 1040px; margin: 0 auto; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); font-size: 12.5px; color: var(--bf-muted-2); text-align: center; }
.bf-hello h1 { font-size: 24px; margin: 0; }
.bf-hello p { margin: 4px 0 0; color: var(--bf-muted); }
.bf-hello--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
ul.bf-task-grid { list-style: none; padding: 0; }
.bf-task .bf-badge { margin-top: 8px; }
.bf-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (max-width: 767.98px) { .bf-task-grid { grid-template-columns: minmax(0, 1fr); } .bf-pub-main { padding: 20px 16px; } }
.bf-task { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--bf-line); border-radius: var(--bf-radius); background: var(--bf-surface); box-shadow: var(--bf-shadow-sm); }
.bf-task__head { display: flex; align-items: flex-start; gap: 12px; }
.bf-task__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bf-brand-50); color: var(--bf-brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bf-task__icon svg { width: 22px; height: 22px; }
.bf-task h2 { font-size: 16px; margin: 0; line-height: 1.35; }
.bf-task__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--bf-muted); margin-top: 4px; }
.bf-task__meta span { display: inline-flex; align-items: center; gap: 5px; }
.bf-task__meta svg { width: 15px; height: 15px; }
.bf-task .bf-btn { align-self: flex-start; }
@media (max-width: 767.98px) { .bf-task .bf-btn { align-self: stretch; } }
.bf-status { max-width: 520px; margin: 40px auto; text-align: center; padding: 36px 28px; }
.bf-status__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bf-brand-50); color: var(--bf-brand); }
.bf-status__icon svg { width: 30px; height: 30px; }
.bf-status h1, .bf-status h2 { font-size: 22px; margin: 0 0 8px; }
.bf-status p { color: var(--bf-muted); margin: 0 0 18px; }

/* oturum sayfası — mevcut script'in kullandığı sınıflar korunur */
.public-cognifit-page { width: 100%; }
.bf-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.bf-back svg { width: 16px; height: 16px; }
.bf-placeholder-icon { width: 44px; height: 44px; color: var(--bf-brand); margin-bottom: 8px; }
.public-cognifit-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--bf-line); border-radius: var(--bf-radius); background: var(--bf-surface); box-shadow: var(--bf-shadow-sm); }
.public-cognifit-title { font-size: 20px; margin: 0; }
.public-cognifit-description { color: var(--bf-muted); font-size: 14px; margin-top: 4px; }
.public-cognifit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.public-start-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--bf-brand); color: #fff; font-family: var(--bf-font); font-size: 15px; font-weight: 650; cursor: pointer; }
.public-start-button:hover { background: var(--bf-brand-hover); }
.public-start-button:disabled { opacity: .65; cursor: progress; }
.public-start-button:focus-visible, .public-meeting-button:focus-visible { box-shadow: var(--bf-focus); outline: none; }
.public-meeting-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--bf-input-line); border-radius: 999px; background: var(--bf-surface); color: var(--bf-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.public-meeting-button:hover { border-color: var(--bf-brand-300); color: var(--bf-brand) !important; background: var(--bf-brand-50); }
.public-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.public-status.info { display: block; background: var(--bf-info-50); color: #083F51; }
.public-status.success { display: block; background: var(--bf-ok-50); color: #0B3F31; }
.public-status.error { display: block; background: var(--bf-danger-50); color: #5F1410; }
#cogniFitContent { margin-top: 16px; min-height: 420px; border-radius: var(--bf-radius); overflow: hidden; background: var(--bf-surface); border: 1px solid var(--bf-line); }
#cogniFitContent iframe { display: block; width: 100%; min-height: 78vh; border: 0; }
.public-cognifit-placeholder { min-height: 420px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px 20px; color: var(--bf-muted); font-size: 15px; line-height: 1.6; background: radial-gradient(circle at 50% 30%, var(--bf-brand-50), var(--bf-surface) 70%); }
.public-cognifit-placeholder strong { color: var(--bf-ink); font-size: 18px; }
.bf-session-tips { margin-top: 16px; }
.bf-session-tips ul { margin: 6px 0 0; padding-left: 18px; }
.bf-session-tips li + li { margin-top: 4px; }
@media (max-width: 575.98px) {
  .public-cognifit-actions { width: 100%; }
  .public-cognifit-actions > * { flex: 1; }
}

/* erişim kodu modalı ve durum kartı (mevcut sınıf adları) */
.modal-overlay { position: fixed; z-index: 1050; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 30, 33, .55); backdrop-filter: blur(3px); }
.passcode-modal { width: 100%; max-width: 420px; padding: 30px 26px; border-radius: var(--bf-radius-lg); background: #fff; box-shadow: var(--bf-shadow-lg); text-align: center; font-family: var(--bf-font); }
.modal-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--bf-brand); background: var(--bf-brand-50); font-size: 26px; font-weight: 700; }
.modal-title { margin: 0; color: var(--bf-ink); font-size: 21px; font-weight: 650; }
.modal-description { margin: 10px 0 22px; color: var(--bf-muted); font-size: 14px; line-height: 1.6; }
.passcode-input { width: 100%; height: 56px; border: 1px solid var(--bf-input-line); border-radius: var(--bf-radius); outline: none; color: var(--bf-ink); background: var(--bf-bg); font-family: var(--bf-font); font-size: 24px; font-weight: 700; letter-spacing: 8px; text-align: center; }
.passcode-input:focus { border-color: var(--bf-brand); box-shadow: var(--bf-focus); background: #fff; }
.verify-button { width: 100%; height: 48px; margin-top: 14px; border: 0; border-radius: 999px; color: #fff; background: var(--bf-brand); cursor: pointer; font-family: var(--bf-font); font-size: 15px; font-weight: 650; }
.verify-button:hover { background: var(--bf-brand-hover); }
.verify-button:disabled { cursor: not-allowed; opacity: .65; }
.message-area { display: none; margin-top: 14px; padding: 11px 13px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; }
.message-area.error { display: block; color: #5F1410; background: var(--bf-danger-50); }
.message-area.success { display: block; color: #0B3F31; background: var(--bf-ok-50); }
.expiry-text { margin-top: 14px; color: var(--bf-faint); font-size: 12px; }
.status-card { width: 100%; max-width: 520px; margin: 32px auto; padding: 36px 28px; border: 1px solid var(--bf-line); border-radius: var(--bf-radius-lg); background: #fff; box-shadow: var(--bf-shadow-sm); text-align: center; }
.status-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--bf-brand); background: var(--bf-brand-50); font-size: 28px; font-weight: 700; }
.status-card h1 { margin: 0 0 10px; font-size: 22px; }
.status-card p { margin: 0; color: var(--bf-muted); font-size: 14.5px; line-height: 1.7; }

/* çerez bildirimi */
.bf-cookie { position: fixed; z-index: 1040; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--bf-radius); background: var(--bf-ink); color: #E6EEEE; font-size: 13px; box-shadow: var(--bf-shadow-lg); }
.bf-cookie p { flex: 1 1 260px; margin: 0; }
.bf-cookie a { color: #fff; text-decoration: underline; }

/* yukarı çık */
#top.bf-top-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--bf-line); background: var(--bf-surface); color: var(--bf-brand); box-shadow: var(--bf-shadow); display: none; align-items: center; justify-content: center; cursor: pointer; }
#top.bf-top-btn svg { width: 20px; height: 20px; }

/* ---------- yazdırma ---------- */
@media print {
  .bf-side, .bf-top, .bf-footer, .bf-page-head__actions, .bf-table-tools, .bf-table-foot, .bf-form-actions, #top, .bf-cookie, .bf-no-print { display: none !important; }
  .bf-app { display: block; }
  .bf-content { padding: 0; max-width: none; }
  .bf-card { box-shadow: none; break-inside: avoid; }
  body.bf { background: #fff; }
}
