/* =====================================================================
   ALOSKY v2 — Çekirdek Tasarım Sistemi (Clean Light Enterprise)
   Önek: alo-*  (modüller: alo-mod-<kod>-*)
   Harici kütüphane YOK — saf CSS3. Yazı tipi: sistem yığını (sıfır ağ isteği).
   ===================================================================== */

:root {
  --alo-emerald: #10b981;
  --alo-emerald-600: #059669;
  --alo-emerald-700: #047857;
  --alo-emerald-50: #ecfdf5;
  --alo-emerald-100: #d1fae5;
  --alo-blue: #1d4ed8;
  --alo-blue-600: #2563eb;
  --alo-blue-50: #eff6ff;
  --alo-blue-100: #dbeafe;
  --alo-navy: #0b1b34;
  --alo-ink: #0f172a;
  --alo-text: #334155;
  --alo-muted: #64748b;
  --alo-subtle: #94a3b8;
  --alo-bg: #f6f8fb;
  --alo-bg-2: #eef2f7;
  --alo-surface: #ffffff;
  --alo-border: #e6ebf2;
  --alo-border-strong: #d4dce7;
  --alo-danger: #e11d48;
  --alo-danger-50: #fff1f2;
  --alo-warning: #d97706;
  --alo-warning-50: #fffbeb;
  --alo-success: #059669;
  --alo-info: #2563eb;
  --alo-r-sm: 8px;
  --alo-r: 12px;
  --alo-r-lg: 16px;
  --alo-r-xl: 22px;
  --alo-sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --alo-sh-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px -4px rgba(15, 23, 42, .08);
  --alo-sh-md: 0 2px 4px rgba(15, 23, 42, .04), 0 16px 36px -14px rgba(15, 23, 42, .16);
  --alo-sh-lg: 0 30px 70px -28px rgba(11, 27, 52, .28);
  --alo-ring: 0 0 0 4px rgba(16, 185, 129, .16);
  --alo-font: "Inter", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --alo-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --alo-side-w: 264px;
  --alo-side-w-collapsed: 76px;
  --alo-top-h: 68px;
  --alo-ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--alo-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--alo-text);
  background: var(--alo-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: inline-block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: var(--alo-blue-600); text-decoration: none; }
a:hover { color: var(--alo-blue); }
h1, h2, h3, h4, h5 { color: var(--alo-navy); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--alo-emerald-100); color: var(--alo-navy); }
:focus-visible { outline: 2px solid var(--alo-emerald); outline-offset: 2px; }
[hidden] { display: none !important; }

.alo-icon { flex-shrink: 0; }
.alo-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.alo-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.alo-muted { color: var(--alo-muted); }
.alo-subtle { color: var(--alo-subtle); }
.alo-mono { font-family: var(--alo-mono); font-size: .92em; }
.alo-nowrap { white-space: nowrap; }
.alo-right { text-align: right; }
.alo-center { text-align: center; }
.alo-mt-0 { margin-top: 0 !important; }
.alo-mt-1 { margin-top: 8px; }
.alo-mt-2 { margin-top: 16px; }
.alo-mt-3 { margin-top: 24px; }
.alo-mb-0 { margin-bottom: 0 !important; }
.alo-mb-2 { margin-bottom: 16px; }
.alo-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.alo-row--between { justify-content: space-between; }
.alo-row--end { justify-content: flex-end; }
.alo-stack > * + * { margin-top: 16px; }
.alo-grid { display: grid; gap: 20px; }
.alo-grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alo-grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alo-grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.alo-grid-main { display: grid; gap: 20px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1100px) {
  .alo-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alo-grid-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .alo-grid-2, .alo-grid-3, .alo-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .alo-hide-sm { display: none !important; }
}

/* ----------------------------- Butonlar ----------------------------- */
.alo-btn {
  --b-bg: var(--alo-surface); --b-fg: var(--alo-ink); --b-bd: var(--alo-border-strong); --b-bg-h: #f8fafc;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 14.5px; letter-spacing: -.005em; line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none; user-select: none;
  transition: background .18s var(--alo-ease), box-shadow .18s var(--alo-ease), transform .12s var(--alo-ease), border-color .18s, color .18s;
  box-shadow: var(--alo-sh-xs);
}
.alo-btn:hover { background: var(--b-bg-h); color: var(--b-fg); }
.alo-btn:active { transform: translateY(1px); }
.alo-btn:focus-visible { outline: none; box-shadow: var(--alo-ring); }
.alo-btn[disabled], .alo-btn.is-loading { opacity: .6; cursor: not-allowed; pointer-events: none; }
.alo-btn--primary { --b-bg: var(--alo-emerald); --b-fg: #fff; --b-bd: var(--alo-emerald-600); --b-bg-h: var(--alo-emerald-600);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(5, 150, 105, .55); }
.alo-btn--blue { --b-bg: var(--alo-blue-600); --b-fg: #fff; --b-bd: var(--alo-blue); --b-bg-h: var(--alo-blue);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px -6px rgba(29, 78, 216, .55); }
.alo-btn--navy { --b-bg: var(--alo-navy); --b-fg: #fff; --b-bd: var(--alo-navy); --b-bg-h: #13284a; }
.alo-btn--ghost { --b-bg: transparent; --b-bd: transparent; --b-bg-h: var(--alo-bg-2); box-shadow: none; }
.alo-btn--danger { --b-bg: #fff; --b-fg: var(--alo-danger); --b-bd: #fecdd3; --b-bg-h: var(--alo-danger-50); }
.alo-btn--sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; gap: 6px; }
.alo-btn--xs { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; gap: 5px; }
.alo-btn--lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.alo-btn--block { width: 100%; }
.alo-btn--icon { width: 40px; padding: 0; }
.alo-btn.is-loading::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: alo-spin .7s linear infinite;
}
@keyframes alo-spin { to { transform: rotate(360deg); } }

/* ----------------------------- Rozetler ----------------------------- */
.alo-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  background: var(--alo-bg-2); color: var(--alo-text); border: 1px solid transparent;
}
.alo-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.alo-badge--plain::before { display: none; }
.alo-badge--success { background: var(--alo-emerald-50); color: var(--alo-emerald-700); border-color: var(--alo-emerald-100); }
.alo-badge--warning { background: var(--alo-warning-50); color: #b45309; border-color: #fde68a; }
.alo-badge--danger { background: var(--alo-danger-50); color: #be123c; border-color: #fecdd3; }
.alo-badge--info { background: var(--alo-blue-50); color: var(--alo-blue); border-color: var(--alo-blue-100); }
.alo-badge--navy { background: var(--alo-navy); color: #fff; }

/* ----------------------------- Kartlar ----------------------------- */
.alo-card {
  background: var(--alo-surface); border: 1px solid var(--alo-border); border-radius: var(--alo-r-lg);
  box-shadow: var(--alo-sh-sm); min-width: 0;
}
.alo-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--alo-border);
}
.alo-card__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15.5px; font-weight: 700; color: var(--alo-navy); }
.alo-card__title .alo-icon { color: var(--alo-emerald-600); }
.alo-card__sub { margin: 2px 0 0; font-size: 13px; color: var(--alo-muted); }
.alo-card__body { padding: 22px; }
.alo-card__body--flush { padding: 0; }
.alo-card__foot { padding: 14px 22px; border-top: 1px solid var(--alo-border); background: #fbfcfe; border-radius: 0 0 var(--alo-r-lg) var(--alo-r-lg); }

/* KPI */
.alo-kpi { position: relative; padding: 20px 22px; overflow: hidden; }
.alo-kpi__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--alo-muted); }
.alo-kpi__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--alo-emerald-50); color: var(--alo-emerald-600); }
.alo-kpi__icon--blue { background: var(--alo-blue-50); color: var(--alo-blue-600); }
.alo-kpi__icon--amber { background: var(--alo-warning-50); color: var(--alo-warning); }
.alo-kpi__icon--navy { background: #eef2ff; color: #3730a3; }
.alo-kpi__value { margin-top: 14px; font-size: 30px; line-height: 1; font-weight: 750; color: var(--alo-navy); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.alo-kpi__meta { margin-top: 10px; font-size: 12.5px; color: var(--alo-muted); display: flex; align-items: center; gap: 6px; }
.alo-kpi__delta--up { color: var(--alo-emerald-600); font-weight: 600; }
.alo-kpi__delta--down { color: var(--alo-danger); font-weight: 600; }

/* ----------------------------- Formlar ----------------------------- */
.alo-field { margin-bottom: 18px; }
.alo-label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--alo-navy); }
.alo-label small { font-weight: 500; color: var(--alo-muted); }
.alo-input, .alo-select, .alo-textarea {
  display: block; width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--alo-border-strong); border-radius: 10px; background: #fff;
  font-size: 14.5px; color: var(--alo-ink);
  transition: border-color .18s, box-shadow .18s, background .18s;
  box-shadow: var(--alo-sh-xs);
}
.alo-textarea { height: auto; min-height: 96px; padding: 11px 14px; line-height: 1.55; resize: vertical; }
.alo-input::placeholder, .alo-textarea::placeholder { color: var(--alo-subtle); }
.alo-input:hover, .alo-select:hover, .alo-textarea:hover { border-color: #c3cddb; }
.alo-input:focus, .alo-select:focus, .alo-textarea:focus { outline: none; border-color: var(--alo-emerald); box-shadow: var(--alo-ring); }
.alo-select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.alo-input[type="color"] { padding: 4px; width: 64px; cursor: pointer; }
.alo-input.is-invalid, .alo-select.is-invalid, .alo-textarea.is-invalid { border-color: #fda4af; background: #fffafa; }
.alo-help { margin-top: 6px; font-size: 12.5px; color: var(--alo-muted); }
.alo-error { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--alo-danger); }
.alo-input-wrap { position: relative; }
.alo-input-wrap .alo-input { padding-right: 46px; }
.alo-input-wrap__btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--alo-muted);
  display: grid; place-items: center; cursor: pointer;
}
.alo-input-wrap__btn:hover { background: var(--alo-bg-2); color: var(--alo-ink); }
.alo-input-icon { position: relative; }
.alo-input-icon > .alo-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--alo-subtle); pointer-events: none; }
.alo-input-icon .alo-input { padding-left: 42px; }
.alo-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--alo-text); cursor: pointer; }
.alo-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--alo-emerald); flex-shrink: 0; }
.alo-segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 12px; background: var(--alo-bg-2); }
.alo-segment input { position: absolute; opacity: 0; pointer-events: none; }
.alo-segment label {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--alo-muted); cursor: pointer; transition: all .18s;
}
.alo-segment input:checked + label { background: #fff; color: var(--alo-navy); box-shadow: var(--alo-sh-sm); }
.alo-segment input:focus-visible + label { box-shadow: var(--alo-ring); }

/* Anahtar (toggle switch) */
.alo-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.alo-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.alo-switch__track {
  position: relative; width: 42px; height: 24px; border-radius: 999px; background: #cbd5e1;
  transition: background .2s var(--alo-ease); flex-shrink: 0;
}
.alo-switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .25); transition: transform .2s var(--alo-ease);
}
.alo-switch input:checked + .alo-switch__track { background: var(--alo-emerald); }
.alo-switch input:checked + .alo-switch__track::after { transform: translateX(18px); }
.alo-switch input:focus-visible + .alo-switch__track { box-shadow: var(--alo-ring); }
.alo-switch input:disabled + .alo-switch__track { opacity: .5; cursor: not-allowed; }
.alo-switch__text { font-size: 14px; font-weight: 500; color: var(--alo-text); }

/* ----------------------------- Uyarılar ----------------------------- */
.alo-alert {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--alo-border); background: #fff; font-size: 14px; color: var(--alo-text);
}
.alo-alert > .alo-icon { margin-top: 1px; }
.alo-alert b, .alo-alert strong { color: var(--alo-navy); }
.alo-alert--info { background: var(--alo-blue-50); border-color: var(--alo-blue-100); }
.alo-alert--info > .alo-icon { color: var(--alo-blue-600); }
.alo-alert--success { background: var(--alo-emerald-50); border-color: var(--alo-emerald-100); }
.alo-alert--success > .alo-icon { color: var(--alo-emerald-600); }
.alo-alert--warning { background: var(--alo-warning-50); border-color: #fde68a; }
.alo-alert--warning > .alo-icon { color: var(--alo-warning); }
.alo-alert--error { background: var(--alo-danger-50); border-color: #fecdd3; }
.alo-alert--error > .alo-icon { color: var(--alo-danger); }
.alo-alert__body { flex: 1; min-width: 0; }
.alo-alert__title { display: block; font-weight: 700; color: var(--alo-navy); margin-bottom: 2px; }

/* ----------------------------- Tablolar ----------------------------- */
.alo-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.alo-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.alo-table th {
  position: sticky; top: 0; z-index: 1;
  text-align: left; padding: 11px 16px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--alo-muted); background: #f9fbfd; border-bottom: 1px solid var(--alo-border); white-space: nowrap;
}
.alo-table td { padding: 13px 16px; border-bottom: 1px solid var(--alo-border); vertical-align: middle; color: var(--alo-text); }
.alo-table tr:last-child td { border-bottom: 0; }
.alo-table tbody tr { transition: background .15s; }
.alo-table tbody tr:hover { background: #fafcff; }
.alo-table .alo-strong { font-weight: 600; color: var(--alo-navy); }
.alo-table td.alo-num, .alo-table th.alo-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ----------------------------- Sekmeler ----------------------------- */
.alo-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--alo-border); margin-bottom: 20px; overflow-x: auto; }
.alo-tab {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; background: none;
  font-size: 14px; font-weight: 600; color: var(--alo-muted); cursor: pointer; white-space: nowrap; text-decoration: none;
}
.alo-tab:hover { color: var(--alo-navy); }
.alo-tab.is-active { color: var(--alo-navy); }
.alo-tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--alo-emerald); }
.alo-pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--alo-bg-2); }
.alo-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--alo-muted); text-decoration: none; }
.alo-pill:hover { color: var(--alo-navy); }
.alo-pill.is-active { background: #fff; color: var(--alo-navy); box-shadow: var(--alo-sh-xs); }

/* ----------------------------- Toast & Modal ----------------------------- */
.alo-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.alo-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 420px;
  padding: 13px 16px; border-radius: 12px; background: var(--alo-navy); color: #fff; font-size: 14px;
  box-shadow: var(--alo-sh-lg); animation: alo-toast-in .32s var(--alo-ease);
}
.alo-toast .alo-icon { color: #6ee7b7; }
.alo-toast--error .alo-icon { color: #fda4af; }
.alo-toast--warning .alo-icon { color: #fcd34d; }
.alo-toast.is-leaving { animation: alo-toast-out .25s ease forwards; }
@keyframes alo-toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes alo-toast-out { to { opacity: 0; transform: translateY(8px); } }

.alo-modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 20px; }
.alo-modal.is-open { display: flex; }
.alo-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 27, 52, .42); backdrop-filter: blur(3px); animation: alo-fade .2s ease; }
.alo-modal__dialog {
  position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 18px; box-shadow: var(--alo-sh-lg);
  padding: 26px; animation: alo-pop .24s var(--alo-ease);
}
.alo-modal__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--alo-warning-50); color: var(--alo-warning); margin-bottom: 14px; }
.alo-modal__title { font-size: 18px; margin: 0 0 6px; }
.alo-modal__text { margin: 0 0 20px; color: var(--alo-muted); font-size: 14.5px; }
.alo-modal__actions { display: flex; justify-content: flex-end; gap: 10px; }
@keyframes alo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes alo-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* ----------------------------- Boş durum / Sayfalama ----------------------------- */
.alo-empty { padding: 44px 20px; text-align: center; color: var(--alo-muted); }
.alo-empty__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--alo-bg-2); color: var(--alo-subtle); }
.alo-empty__title { font-size: 15.5px; font-weight: 700; color: var(--alo-navy); margin-bottom: 4px; }
.alo-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--alo-border); font-size: 13.5px; color: var(--alo-muted); flex-wrap: wrap; }
.alo-pagination__links { display: flex; gap: 6px; }

/* Kopyalanabilir kod satırı */
.alo-copy {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 10px;
  border: 1px solid var(--alo-border); background: #f9fbfd; min-width: 0;
}
.alo-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--alo-mono); font-size: 12.8px; color: var(--alo-navy); }
.alo-kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--alo-border-strong); background: #fff; font-family: var(--alo-mono); font-size: 12px; color: var(--alo-navy); }

/* Bölüm başlığı */
.alo-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.alo-page-head h1 { font-size: 24px; margin: 0; }
.alo-page-head p { margin: 4px 0 0; color: var(--alo-muted); font-size: 14.5px; }
.alo-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--alo-emerald-600); }

/* Liste */
.alo-list { list-style: none; margin: 0; padding: 0; }
.alo-list__item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--alo-border); }
.alo-list__item:last-child { border-bottom: 0; }
.alo-list__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--alo-bg-2); color: var(--alo-muted); flex-shrink: 0; }
.alo-list__title { font-weight: 600; color: var(--alo-navy); font-size: 14.5px; }
.alo-list__meta { font-size: 12.5px; color: var(--alo-muted); }

/* Tanım listesi */
.alo-dl { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; margin: 0; }
.alo-dl dt, .alo-dl dd { margin: 0; padding: 11px 0; border-bottom: 1px dashed var(--alo-border); font-size: 14px; }
.alo-dl dt { color: var(--alo-muted); }
.alo-dl dd { color: var(--alo-navy); font-weight: 600; word-break: break-word; }
.alo-dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* Dil seçici */
.alo-lang { position: relative; }
.alo-lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--alo-border); background: #fff; font-size: 13px; font-weight: 700; color: var(--alo-navy); cursor: pointer; text-transform: uppercase; }
.alo-lang__menu, .alo-dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 12px;
  background: #fff; border: 1px solid var(--alo-border); box-shadow: var(--alo-sh-md); z-index: 50; display: none;
}
.alo-lang.is-open .alo-lang__menu, .alo-dropdown.is-open .alo-dropdown__menu { display: block; animation: alo-pop .18s var(--alo-ease); }
.alo-lang__menu a, .alo-dropdown__menu a, .alo-dropdown__menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 8px; border: 0; background: none;
  font-size: 14px; color: var(--alo-text); text-decoration: none; cursor: pointer; text-align: left;
}
.alo-lang__menu a:hover, .alo-dropdown__menu a:hover, .alo-dropdown__menu button:hover { background: var(--alo-bg); color: var(--alo-navy); }
.alo-lang__menu a.is-active { color: var(--alo-emerald-700); font-weight: 700; }
.alo-dropdown { position: relative; }
.alo-dropdown__sep { height: 1px; margin: 6px 0; background: var(--alo-border); }
.alo-dropdown__menu .is-danger { color: var(--alo-danger); }

/* =====================================================================
   PANEL KABUĞU (Partner + Admin)
   ===================================================================== */
.alo-shell { min-height: 100vh; }
.alo-side {
  position: fixed; inset: 0 auto 0 0; width: var(--alo-side-w); z-index: 60;
  display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--alo-border);
  transition: width .25s var(--alo-ease), transform .25s var(--alo-ease);
}
.alo-side__brand { display: flex; align-items: center; gap: 12px; height: var(--alo-top-h); padding: 0 22px; border-bottom: 1px solid var(--alo-border); flex-shrink: 0; text-decoration: none; }
.alo-side__brand-text { font-size: 19px; font-weight: 800; letter-spacing: .02em; color: var(--alo-navy); white-space: nowrap; }
.alo-side__brand-text b { color: var(--alo-emerald-600); font-weight: 800; }
.alo-side__area { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--alo-blue-600); background: var(--alo-blue-50); padding: 3px 7px; border-radius: 6px; }
.alo-side__scroll { flex: 1; overflow-y: auto; padding: 16px 12px 20px; }
.alo-nav__group { margin: 18px 12px 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--alo-subtle); white-space: nowrap; }
.alo-nav__group:first-child { margin-top: 4px; }
.alo-nav__item {
  position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; margin-bottom: 2px;
  border-radius: 10px; color: var(--alo-text); font-size: 14.5px; font-weight: 550; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.alo-nav__item .alo-icon { color: var(--alo-subtle); transition: color .15s; }
.alo-nav__item:hover { background: var(--alo-bg); color: var(--alo-navy); }
.alo-nav__item:hover .alo-icon { color: var(--alo-navy); }
.alo-nav__item.is-active { background: var(--alo-emerald-50); color: var(--alo-emerald-700); font-weight: 650; }
.alo-nav__item.is-active .alo-icon { color: var(--alo-emerald-600); }
.alo-nav__item.is-active::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--alo-emerald); }
.alo-nav__count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--alo-warning); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.alo-side__foot { padding: 14px; border-top: 1px solid var(--alo-border); flex-shrink: 0; }
.alo-side__card { padding: 14px; border-radius: 12px; background: linear-gradient(135deg, var(--alo-emerald-50), var(--alo-blue-50)); border: 1px solid var(--alo-border); }
.alo-side__card-title { font-size: 13px; font-weight: 700; color: var(--alo-navy); margin-bottom: 2px; }
.alo-side__card-text { font-size: 12.5px; color: var(--alo-muted); margin-bottom: 10px; }
.alo-side__collapse { display: flex; align-items: center; justify-content: center; width: 100%; height: 36px; margin-top: 10px; border: 1px dashed var(--alo-border-strong); border-radius: 9px; background: none; color: var(--alo-muted); cursor: pointer; }
.alo-side__collapse:hover { color: var(--alo-navy); background: var(--alo-bg); }

.alo-main { margin-left: var(--alo-side-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .25s var(--alo-ease); }
.alo-top {
  position: sticky; top: 0; z-index: 40; height: var(--alo-top-h);
  display: flex; align-items: center; gap: 14px; padding: 0 28px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--alo-border);
}
.alo-top__burger { display: none; }
.alo-top__title { font-size: 17px; font-weight: 700; color: var(--alo-navy); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alo-top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.alo-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 9px; background: var(--alo-bg); border: 1px solid var(--alo-border); font-size: 13px; font-weight: 600; color: var(--alo-navy); white-space: nowrap; }
.alo-chip .alo-icon { color: var(--alo-emerald-600); }
.alo-chip button { border: 0; background: none; padding: 0; color: var(--alo-muted); cursor: pointer; display: grid; place-items: center; }
.alo-chip button:hover { color: var(--alo-emerald-600); }
.alo-user { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer; }
.alo-user:hover { background: var(--alo-bg); border-color: var(--alo-border); }
.alo-avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--alo-emerald), var(--alo-blue-600)); color: #fff; font-weight: 750; font-size: 13.5px; letter-spacing: .02em; flex-shrink: 0; }
.alo-user__name { font-size: 13.5px; font-weight: 650; color: var(--alo-navy); line-height: 1.2; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.alo-user__meta { font-size: 12px; color: var(--alo-muted); line-height: 1.2; text-align: left; }
.alo-content { flex: 1; width: 100%; max-width: 1360px; padding: 28px; margin: 0 auto; }
.alo-footer-note { padding: 18px 28px; font-size: 12.5px; color: var(--alo-subtle); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--alo-border); }
.alo-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(11, 27, 52, .35); display: none; }

/* Daraltılmış kenar çubuğu (masaüstü) */
.alo-shell.is-collapsed .alo-side { width: var(--alo-side-w-collapsed); }
.alo-shell.is-collapsed .alo-main { margin-left: var(--alo-side-w-collapsed); }
.alo-shell.is-collapsed .alo-side__brand-text,
.alo-shell.is-collapsed .alo-side__area,
.alo-shell.is-collapsed .alo-nav__item span,
.alo-shell.is-collapsed .alo-nav__count,
.alo-shell.is-collapsed .alo-nav__group,
.alo-shell.is-collapsed .alo-side__card { display: none; }
.alo-shell.is-collapsed .alo-nav__item { justify-content: center; padding: 0; }
.alo-shell.is-collapsed .alo-side__brand { justify-content: center; padding: 0; }
.alo-shell.is-collapsed .alo-side__collapse .alo-icon { transform: rotate(180deg); }

@media (max-width: 992px) {
  .alo-side { transform: translateX(-100%); box-shadow: var(--alo-sh-lg); width: var(--alo-side-w) !important; }
  .alo-main, .alo-shell.is-collapsed .alo-main { margin-left: 0; }
  .alo-shell.is-mobile-open .alo-side { transform: none; }
  .alo-shell.is-mobile-open .alo-overlay { display: block; }
  .alo-top { padding: 0 16px; }
  .alo-top__burger { display: inline-flex; }
  .alo-content { padding: 20px 16px; }
  .alo-side__collapse { display: none; }
  .alo-user__text { display: none; }
  .alo-shell.is-collapsed .alo-side__brand-text,
  .alo-shell.is-collapsed .alo-nav__item span,
  .alo-shell.is-collapsed .alo-nav__group,
  .alo-shell.is-collapsed .alo-side__card { display: revert; }
  .alo-shell.is-collapsed .alo-nav__item { justify-content: flex-start; padding: 0 12px; }
}

/* =====================================================================
   KİMLİK DOĞRULAMA (Giriş / Kayıt) DÜZENİ
   ===================================================================== */
.alo-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #fff; }
.alo-auth__brand {
  position: relative; overflow: hidden; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(1100px 520px at -10% -10%, rgba(16, 185, 129, .16), transparent 60%),
    radial-gradient(900px 600px at 110% 110%, rgba(37, 99, 235, .14), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #f1f6fb 100%);
  border-right: 1px solid var(--alo-border);
}
.alo-auth__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(11, 27, 52, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 27, 52, .05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}
.alo-auth__brand > * { position: relative; }
.alo-auth__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.alo-auth__headline { max-width: 520px; }
.alo-auth__headline h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.alo-auth__headline h2 span { background: linear-gradient(90deg, var(--alo-emerald-600), var(--alo-blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alo-auth__headline p { font-size: 16px; color: var(--alo-muted); max-width: 460px; }
.alo-auth__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.alo-auth__points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 550; color: var(--alo-navy); }
.alo-auth__points .alo-icon-box { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--alo-border); color: var(--alo-emerald-600); box-shadow: var(--alo-sh-xs); }
.alo-auth__foot { font-size: 12.5px; color: var(--alo-subtle); }
.alo-auth__panel { display: flex; flex-direction: column; padding: 28px 40px; }
.alo-auth__panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.alo-auth__form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 0; }
.alo-auth__form { width: 100%; max-width: 440px; }
.alo-auth__form--wide { max-width: 560px; }
.alo-auth__title { font-size: 28px; letter-spacing: -.025em; margin-bottom: 6px; }
.alo-auth__desc { color: var(--alo-muted); margin-bottom: 26px; }
.alo-auth__switch { margin-top: 22px; text-align: center; font-size: 14px; color: var(--alo-muted); }
.alo-auth__switch a { font-weight: 650; color: var(--alo-emerald-700); }
.alo-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -4px 0 20px; font-size: 13.5px; }
@media (max-width: 960px) {
  .alo-auth { grid-template-columns: minmax(0, 1fr); }
  .alo-auth__brand { display: none; }
  .alo-auth__panel { padding: 20px; }
}

/* Logo işareti */
.alo-logo-mark { width: 36px; height: 36px; flex-shrink: 0; }

/* Hata sayfası */
.alo-error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--alo-bg); }
.alo-error-page__card { max-width: 520px; width: 100%; text-align: center; padding: 44px 36px; }
.alo-error-page__code { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, var(--alo-emerald-600), var(--alo-blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }

/* İskelet yükleyici */
.alo-skeleton { position: relative; overflow: hidden; background: var(--alo-bg-2); border-radius: 8px; }
.alo-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: alo-shimmer 1.3s infinite; }
@keyframes alo-shimmer { to { transform: translateX(100%); } }

/* Mini çubuk grafik (sunucu tarafı SVG) */
.alo-chart { width: 100%; height: auto; display: block; }
.alo-chart__bar { fill: var(--alo-emerald); opacity: .9; transition: opacity .15s; }
.alo-chart__bar--b { fill: var(--alo-blue-600); opacity: .85; }
.alo-chart__bar:hover { opacity: 1; }
.alo-chart__grid { stroke: var(--alo-border); stroke-width: 1; }
.alo-chart__label { fill: var(--alo-subtle); font-size: 10.5px; font-family: var(--alo-font); }
.alo-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--alo-muted); }
.alo-legend span { display: inline-flex; align-items: center; gap: 6px; }
.alo-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: var(--alo-emerald); }
.alo-legend i.is-b { background: var(--alo-blue-600); }

/* Ayar formu (şemadan üretilen) */
.alo-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.alo-form-grid .alo-field--full { grid-column: 1 / -1; }
@media (max-width: 760px) { .alo-form-grid { grid-template-columns: minmax(0, 1fr); } }
.alo-i18n { border: 1px solid var(--alo-border); border-radius: 12px; overflow: hidden; background: #fff; }
.alo-i18n__tabs { display: flex; gap: 2px; padding: 4px; background: #f8fafc; border-bottom: 1px solid var(--alo-border); }
.alo-i18n__tab { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: none; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--alo-muted); cursor: pointer; text-transform: uppercase; }
.alo-i18n__tab.is-active { background: #fff; color: var(--alo-navy); box-shadow: var(--alo-sh-xs); }
.alo-i18n__tab.is-empty::after { content: "•"; color: var(--alo-warning); margin-left: 3px; }
.alo-i18n__pane { padding: 8px; }
.alo-i18n__pane .alo-input, .alo-i18n__pane .alo-textarea { border-color: transparent; box-shadow: none; }
.alo-i18n__pane .alo-input:focus, .alo-i18n__pane .alo-textarea:focus { border-color: var(--alo-emerald); }
.alo-repeater { border: 1px solid var(--alo-border); border-radius: 14px; background: #fbfcfe; }
.alo-repeater__items { padding: 10px; display: grid; gap: 10px; }
.alo-repeater__item { border: 1px solid var(--alo-border); border-radius: 12px; background: #fff; box-shadow: var(--alo-sh-xs); }
.alo-repeater__head { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--alo-border); }
.alo-repeater__num { font-size: 12px; font-weight: 800; color: var(--alo-emerald-700); background: var(--alo-emerald-50); border-radius: 6px; padding: 2px 8px; }
.alo-repeater__summary { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--alo-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alo-repeater__body { padding: 14px; }
.alo-repeater__item.is-collapsed .alo-repeater__body { display: none; }
.alo-repeater__foot { padding: 10px; border-top: 1px dashed var(--alo-border); }
.alo-form-actions {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; margin-top: 20px; border: 1px solid var(--alo-border); border-radius: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--alo-sh-md);
}
.alo-icon-preview { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--alo-border); background: #fff; color: var(--alo-emerald-600); }

/* Durum noktası */
.alo-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--alo-subtle); }
.alo-dot--ok { background: var(--alo-emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.alo-dot--warn { background: var(--alo-warning); box-shadow: 0 0 0 4px rgba(217, 119, 6, .15); }
.alo-dot--err { background: var(--alo-danger); box-shadow: 0 0 0 4px rgba(225, 29, 72, .15); }

/* Ilerleme çubuğu */
.alo-progress { height: 8px; border-radius: 999px; background: var(--alo-bg-2); overflow: hidden; }
.alo-progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--alo-emerald), var(--alo-blue-600)); }

/* Yol haritası */
.alo-roadmap { list-style: none; margin: 0; padding: 0; }
.alo-roadmap li { position: relative; display: flex; gap: 14px; padding: 0 0 18px; }
.alo-roadmap li:last-child { padding-bottom: 0; }
.alo-roadmap li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--alo-border); }
.alo-roadmap li:last-child::before { display: none; }
.alo-roadmap.alo-grid-2 li:nth-last-child(-n+2)::before { display: none; }
.alo-roadmap__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 12px; font-weight: 800; background: #fff; border: 2px solid var(--alo-border-strong); color: var(--alo-muted); position: relative; z-index: 1; }
.alo-roadmap li.is-done .alo-roadmap__dot { background: var(--alo-emerald); border-color: var(--alo-emerald); color: #fff; }
.alo-roadmap li.is-next .alo-roadmap__dot { border-color: var(--alo-blue-600); color: var(--alo-blue-600); }
.alo-roadmap__title { font-weight: 650; color: var(--alo-navy); font-size: 14px; }
.alo-roadmap__text { font-size: 12.8px; color: var(--alo-muted); }

/* Yazdırma */
@media print {
  .alo-side, .alo-top, .alo-overlay, .alo-toasts, .alo-form-actions { display: none !important; }
  .alo-main { margin: 0 !important; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
