/* Merihe Panel — sayfaya özel stiller. Renkler yalnızca tema tokenlarından. */

/* ---------- Giriş: katmanlı salon sahnesi + cam kart (views/scene.js, views/login.js) ---------- */
.auth { position: relative; min-height: 100dvh; overflow: hidden; isolation: isolate; background: #04100A; color: var(--text); }
.scene { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ly { position: absolute; inset: 0; will-change: transform; }
.ly-in { position: absolute; inset: 0; }
/* 1 · uzak: salonun fotoğrafı, hafif bulanık; açılışta yaklaşarak netleşir */
.ly-far { inset: -4%; }
.ly-far .photo { position: absolute; inset: 0; background: url('../img/salon-scene.jpg') center 58% / cover no-repeat; animation: sc-photo 2.2s var(--ease-out) both; }
@keyframes sc-photo { from { opacity: 0; transform: scale(1.18); filter: blur(14px); } to { opacity: 1; transform: scale(1.04); filter: none; } }
.ly-tint { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 60% at 30% 45%, rgba(6, 22, 14, 0.25), transparent 70%),
  linear-gradient(90deg, rgba(4, 16, 10, 0.55) 0%, rgba(4, 16, 10, 0.35) 40%, rgba(4, 16, 10, 0.72) 75%, rgba(4, 16, 10, 0.86) 100%),
  linear-gradient(180deg, rgba(4, 16, 10, 0.35), rgba(4, 16, 10, 0.15) 40%, rgba(4, 16, 10, 0.85)); }
/* 2 · tavan ışığından bokeh */
.ly-bokeh .ly-in { animation: fade-in 2.4s 0.4s both; }
.bk { position: absolute; border-radius: 50%; mix-blend-mode: screen; background: radial-gradient(circle, rgba(255, 238, 200, 0.55), rgba(255, 220, 160, 0.12) 45%, transparent 70%); animation: bk-float var(--bd, 14s) ease-in-out infinite alternate; }
.bk.b1 { width: 220px; height: 220px; left: 12%; top: 4%; --bd: 16s; }
.bk.b2 { width: 120px; height: 120px; left: 31%; top: 14%; opacity: 0.7; --bd: 12s; }
.bk.b3 { width: 300px; height: 300px; left: 58%; top: -8%; opacity: 0.55; --bd: 19s; }
.bk.b4 { width: 80px; height: 80px; left: 46%; top: 30%; opacity: 0.6; --bd: 10s; }
.bk.b5 { width: 160px; height: 160px; left: 82%; top: 58%; opacity: 0.35; --bd: 15s; background: radial-gradient(circle, rgba(198, 161, 91, 0.6), transparent 70%); }
.bk.b6 { width: 90px; height: 90px; left: 6%; top: 62%; opacity: 0.35; --bd: 13s; background: radial-gradient(circle, rgba(198, 161, 91, 0.6), transparent 70%); }
@keyframes bk-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(14px, -18px, 0) scale(1.08); } }
/* 3 · önde bitki: alan derinliği için bulanık; köşeden süzülerek gelir */
.ly-plant .ly-in, .ly-hang .ly-in { inset: auto; }
.ly-plant .ly-in { left: -9%; bottom: -14%; width: min(40vw, 560px); animation: sc-plant 2s 0.2s var(--ease-out) both; }
.ly-hang .ly-in { right: -4%; top: -6%; width: min(36vw, 520px); animation: sc-hang 2s 0.35s var(--ease-out) both; }
.plant svg, .hang svg { width: 100%; height: auto; overflow: visible; }
.plant { filter: blur(3.5px) saturate(0.75) brightness(0.52); transform-origin: 20% 100%; animation: sway 9s ease-in-out infinite alternate; }
.hang { filter: blur(6px) saturate(0.7) brightness(0.45); transform-origin: 100% 0; animation: sway 11s ease-in-out infinite alternate-reverse; }
@keyframes sc-plant { from { opacity: 0; transform: translate3d(-60px, 80px, 0) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes sc-hang { from { opacity: 0; transform: translate3d(60px, -60px, 0); } to { opacity: 1; transform: none; } }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }
/* 4 · altın tozlar */
.ly-dust .ly-in { animation: fade-in 3s 0.8s both; }
.dust i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #FFF3D6, #E4CE9B 45%, rgba(198, 161, 91, 0) 75%); filter: blur(var(--b));
  animation: dust var(--d) linear var(--dl) infinite; }
@keyframes dust { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 15% { opacity: var(--o); } 50% { transform: translate3d(18px, -60px, 0); } 85% { opacity: var(--o); } 100% { opacity: 0; transform: translate3d(-10px, -130px, 0); } }

/* düzen: solda altın kemer + logo, sağda cam kart */
.auth-stage { position: relative; z-index: 1; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-items: center; gap: 48px; padding: 48px clamp(24px, 6vw, 96px); max-width: 1240px; margin: 0 auto; }
.ly-arch { position: relative; inset: auto; width: min(340px, 30vw); aspect-ratio: 320 / 440; }
.ly-arch .ly-in { inset: 0; }
.arch svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px rgba(198, 161, 91, 0.25)); }
.arch .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s 0.3s var(--ease-out) forwards; }
.arch .draw.d2 { animation-delay: 0.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.arch .spark { opacity: 0; animation: spark 1.4s 2s var(--ease-out) forwards; transform-box: fill-box; transform-origin: center; }
@keyframes spark { 0% { opacity: 0; transform: translate(160px, 22px) scale(0.2) rotate(-45deg); } 60% { opacity: 1; } 100% { opacity: 0.85; transform: translate(160px, 22px) scale(1) rotate(0deg); } }
.auth-brand { position: absolute; left: 0; right: 0; top: 24%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.auth-logo-wrap { position: relative; width: 62%; }
.auth-logo-wrap .auth-logo { width: 100%; }
/* logonun kendi şekliyle sınırlı altın ışık: girişten sonra bir kez, sonra 14 sn'de bir çok sakin geçer */
.logo-sheen { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(../img/logo-gold.png) center / 100% 100% no-repeat; mask: url(../img/logo-gold.png) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 228, 0.85) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 160% 0;
  mix-blend-mode: screen; animation: logo-sheen 14s 2.6s var(--ease-out) infinite; }
@keyframes logo-sheen { 0% { background-position: 160% 0; } 11% { background-position: -60% 0; } 100% { background-position: -60% 0; } }
.auth-logo { width: 62%; height: auto; filter: drop-shadow(0 10px 30px rgba(198, 161, 91, 0.45)) drop-shadow(0 0 2px rgba(255, 240, 210, 0.3)); animation: logo-in 1.6s 0.7s var(--ease-out) both; }
@keyframes logo-in { from { opacity: 0; transform: scale(0.9) translateY(8px); filter: blur(14px); } to { opacity: 1; transform: none; } }
.auth-kicker { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-300); padding-left: 0.42em; animation: rise 1.2s 1.4s var(--ease-out) both; }

.auth-tilt { width: 100%; max-width: 410px; transform-style: preserve-3d; will-change: transform; }
.auth-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 32px 26px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 240, 210, 0.07), rgba(255, 240, 210, 0.01) 40%), rgba(7, 24, 15, 0.55);
  backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(246, 241, 228, 0.14);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 240, 210, 0.14);
  animation: card-in 1.2s 0.9s var(--ease-out) both; }
.auth-card::before { content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 231, 203, 0.85), transparent); }
@keyframes card-in { from { opacity: 0; transform: translateY(26px) scale(0.97); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.auth-card.is-shake { animation: shake 0.42s var(--ease); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.auth-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.auth-hello { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-300); }
.auth-title { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: var(--cream); }
.auth-sub { font-size: 13.5px; color: rgba(246, 241, 228, 0.62); line-height: 1.5; }
.auth-card .input { min-height: 46px; border-radius: 12px; background: rgba(2, 10, 6, 0.45); border-color: rgba(246, 241, 228, 0.14); color: var(--cream); }
.auth-card .input:focus-visible { border-color: var(--gold-300); box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.18); }
.auth-card .label { color: rgba(246, 241, 228, 0.72); }
.auth-card .btn-lg { min-height: 48px; border-radius: 12px; font-size: 15px; margin-top: 4px; }
.auth-card .btn-primary .ic { transition: transform var(--t-mid) var(--ease-out); }
.auth-card .btn-primary:hover .ic { transform: translateX(3px); }
.auth-error { font-size: 13px; color: var(--danger); background: var(--danger-bg); border: 1px solid var(--danger-line); border-radius: 10px; padding: 9px 12px; }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: rgba(246, 241, 228, 0.45); }
.auth-legal { position: absolute; z-index: 1; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246, 241, 228, 0.35); animation: fade-in 2s 1.8s both; }
/* giriş başarılı: kart ve kemer yükselip dağılır, salon yaklaşır */
.auth.is-leaving .auth-card { animation: none; transition: opacity 0.55s, transform 0.7s var(--ease-out), filter 0.55s; opacity: 0; transform: translateY(-18px) scale(0.96); filter: blur(10px); }
.auth.is-leaving .ly-arch .ly-in { transition: opacity 0.6s, transform 0.75s var(--ease-out), filter 0.6s; opacity: 0; transform: scale(1.08); filter: blur(8px); }
.auth.is-leaving .ly-far .photo { animation: none; transition: transform 0.8s var(--ease-out), filter 0.8s; transform: scale(1.16); filter: blur(18px); }
.auth.is-leaving .ly-plant .ly-in { transition: transform 0.8s var(--ease-out), opacity 0.6s; transform: translate3d(-120px, 140px, 0); opacity: 0; }
.auth.is-leaving .ly-hang .ly-in { transition: transform 0.8s var(--ease-out), opacity 0.6s; transform: translate3d(120px, -120px, 0); opacity: 0; }
.auth.is-leaving .auth-legal { opacity: 0; transition: opacity 0.4s; }
@media (max-width: 860px) {
  .auth-stage { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 18px 56px; align-content: center; }
  .ly-arch { width: 200px; }
  .auth-brand { top: 22%; gap: 10px; }
  .auth-kicker { font-size: 10px; }
  .ly-plant .ly-in { width: 80vw; bottom: -18%; }
  .ly-hang .ly-in { width: 62vw; top: -12%; }
  .auth-card { padding: 26px 22px 20px; }
  .auth-title { font-size: 26px; }
}
@media (max-width: 860px) and (max-height: 760px) { .ly-arch { width: 150px; } }

/* ---------- Ortak ---------- */
.link-inline { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.cust { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cust-name { font-weight: 600; font-size: 14px; }
.cust.is-lost .cust-name { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--text-3); }
.cust-sub { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.cust-sub .ic { --s: 11px; color: var(--text-4); }
.pills { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.kv { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv span { font-size: 11.5px; color: var(--text-3); }
.kv b { font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.person-mini { display: inline-flex; align-items: center; gap: 8px; }
.person-mini .avatar.sm { font-size: 9.5px; }
.sort-head { cursor: pointer; user-select: none; }
.sort-head:hover { color: var(--text-2); }

/* ---------- Seçiciler / pencere içi ---------- */
.fu-preview { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--text-2); background: var(--sunken); border: 1px dashed var(--card-line-2); }
.fu-preview.is-set { background: var(--today-bg); border: 1px solid rgba(198, 161, 91, 0.45); color: var(--text); }
.fu-preview .ic { flex: none; color: var(--accent-text); }
.reasons { display: flex; flex-direction: column; gap: 6px; }
.reason { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--card-line-2); text-align: left; font-size: 14px; transition: background 0.15s, border-color 0.15s; }
.reason:hover { background: var(--hover); border-color: var(--line-strong); }
.reason-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.reason.is-on { border-color: var(--danger-line); background: var(--danger-bg); }
.reason.is-on .reason-dot { border-color: var(--danger); }
.reason.is-on .reason-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.extra-box { padding: 14px; border-radius: 10px; border: 1px solid var(--card-line); background: var(--sunken); }
.dup-warn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--text); font-size: 13px; }
.dup-warn .ic { color: var(--warn); }

/* ---------- Müşteri listesi ---------- */
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 12px; }
.filter-row .search-wrap { flex: 1 1 260px; max-width: 420px; }
.filter-row .select { width: auto; min-width: 150px; }
.tbl-card { overflow: hidden; }
.svc-cell { max-width: 220px; color: var(--text-2); }
.date-cell { color: var(--text-2); white-space: nowrap; }
.fu-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.fu-cell .when { font-size: 14px; }
.fu-cell .when.is-late { color: var(--danger); font-weight: 600; }
.fu-cell .when.is-today { color: var(--accent-text); font-weight: 600; }
.fu-cell .sub { font-size: 11.5px; color: var(--text-3); }
.tbl .cust-sub, .tbl .num, .tbl .badge { white-space: nowrap; }
.tbl .cust > div { min-width: 150px; }
.tbl td:last-child { white-space: nowrap; }

/* ---------- Kanban ---------- */
.board { display: grid; grid-template-columns: repeat(5, minmax(230px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; align-items: start; }
.col { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 220px; transition: border-color 0.15s, background 0.15s; }
.col.is-over { background: var(--hover); border-color: var(--tone, var(--accent)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tone) 35%, transparent); }
.col-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; }
.col-title { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.col-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.col-head .count { font-size: 11px; font-weight: 600; padding: 0 7px; line-height: 18px; border-radius: 999px; background: var(--muted-bg); color: var(--text-2); }
.col-sum { padding: 0 14px 6px; font-size: 11px; color: var(--text-3); }
.col-body { display: flex; flex-direction: column; gap: 8px; padding: 4px 10px 12px; min-height: 120px; flex: 1; }
.col-empty { display: grid; place-items: center; flex: 1; min-height: 90px; border: 1px dashed var(--card-line); border-radius: 12px; color: var(--text-4); font-size: 12px; }
.col-more { align-self: center; }
.kcard { padding: 11px 12px; border-radius: 10px; background: var(--card-bg-2); border: 1px solid var(--card-line); cursor: grab; transition: transform 0.15s var(--ease), border-color 0.15s, box-shadow 0.15s; display: flex; flex-direction: column; gap: 5px; }
.kcard:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7); }
.kcard.is-drag { opacity: 0.45; cursor: grabbing; }
.kcard.is-lost .cust-name { color: var(--text-3); text-decoration: line-through; }
.kcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.kcard-top .cust-name { overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kcard-sub { font-size: 12px; color: var(--text-3); }
.kcard-info { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.kcard-info .ic { color: var(--text-4); }
.kprice { font-size: 12.5px; font-weight: 600; color: var(--accent-text); }
.kcard-foot { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.kmove-sel { margin-top: 4px; width: 100%; min-height: 28px; padding: 3px 28px 3px 10px; font-size: 12px; border-radius: 7px; background: var(--sunken); border: 1px solid var(--card-line); color: var(--text-3); }

/* ---------- Müşteri detayı ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 14px; transition: color 0.15s; }
.back-link:hover { color: var(--text); }
.detail-top { padding: 20px 22px; margin-bottom: 16px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.detail-id { min-width: 0; flex: 1 1 320px; }
.detail-name { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-name.is-lost { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--text-3); }
.meta-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.meta-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.meta-line > span { display: inline-flex; align-items: center; gap: 6px; }
.meta-line .ic { color: var(--text-4); }
.detail-side-top { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.detail-side-top .who { font-size: 12px; color: var(--text-3); }
.detail-side-top .who b { color: var(--text); font-weight: 500; }
.next-step { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; margin-top: 14px; padding: 10px 12px; border-radius: 10px; font-size: 13px; border: 1px solid var(--card-line); background: var(--card-bg-2); }
.next-step .ic { flex: none; color: var(--text-3); }
.next-step.is-warn { background: var(--warn-bg); border-color: var(--warn-line); } .next-step.is-warn > .ic { color: var(--warn); }
.next-step.is-info { background: var(--purple-bg); border-color: var(--purple-line); } .next-step.is-info > .ic { color: var(--purple); }
.next-step.is-danger { background: var(--danger-bg); border-color: var(--danger-line); } .next-step.is-danger > .ic { color: var(--danger); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.detail-main, .detail-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1100px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }
.card-head.is-bar { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.card-head.is-bar .card-title { font-size: 15px; }
.meet-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.days-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.days-input { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 10px; background: var(--sunken); border: 1px solid var(--card-line-2); width: 100%; max-width: 420px; }
.days-input .ic { color: var(--accent-text); flex: none; }
.days-input input { width: 56px; background: transparent; border: 0; outline: none; font-size: 15px; font-weight: 600; color: var(--text); }
.days-input .sfx { font-size: 13px; color: var(--text-3); flex: 1; }
.days-input.is-set { border-color: rgba(198, 161, 91, 0.5); box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.12); }
.days-input.has-ok { padding-right: 5px; }
.days-ok { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--card-line-2);
  background: transparent; color: var(--text-3); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); }
.days-ok.is-ready { background: linear-gradient(180deg, #E9D3A0, #C6A15B); color: #1A1406; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(198, 161, 91, 0.9); }
.days-ok.is-ready:hover { filter: brightness(1.06); }
.days-ok:disabled { opacity: 0.55; cursor: default; }
.days-ok:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:root[data-theme="light"] .days-ok:not(.is-ready) { color: var(--text-3); }
.quick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.quick .chip { min-height: 26px; padding: 0 10px; font-size: 12px; }
.result-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.input.has-error { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-bg); }
.sale-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; }
.sale-strip h2 { font-size: 15px; font-weight: 600; }
.sale-strip p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.sale-amount { font-size: 24px; font-weight: 700; color: var(--ok); }
.agent-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; color: var(--text); }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.mini-row > .grow { flex: 1 1 200px; }
.mini-row .mini-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }

/* Zaman çizelgesi */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; position: relative; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--line-soft); }
.tl-row { display: flex; gap: 12px; padding: 9px 0; position: relative; }
.tl-ic { flex: none; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--card-bg-2); border: 1px solid var(--card-line-2); color: var(--text-3); z-index: 1; }
.tl-body { min-width: 0; flex: 1; padding-top: 4px; }
.tl-title { font-size: 13px; font-weight: 500; }
.tl-text { margin-top: 2px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.tl-meta { margin-top: 2px; font-size: 11.5px; color: var(--text-3); }
.tl-human .tl-ic { color: var(--accent-text); border-color: rgba(198, 161, 91, 0.4); background: var(--today-bg); }
.tl-human .tl-title { font-weight: 600; font-size: 14px; }
.tl-auto .tl-text { color: var(--text-3); font-size: 12.5px; }
.tl-auto.tone-danger .tl-title { color: var(--danger); }
.tl-sale .tl-ic { color: var(--ok); border-color: var(--ok-line); background: var(--ok-bg); }
.tl-sale .tl-title { color: var(--ok); font-weight: 600; font-size: 14px; }
/* başlık + tarih aynı satırda; not metni; altında "alan: eski → yeni" değişiklikleri */
.tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.tl-head .tl-meta { margin-top: 0; white-space: nowrap; }
.tl-row .tl-text { margin-top: 4px; }
.tl-auto .tl-title { color: var(--text-2); font-weight: 500; font-size: 13px; }
.tl-changes { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.tl-changes li { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; line-height: 1.5; min-width: 0; }
.tl-ck { flex: none; min-width: 112px; color: var(--text-3); }
.tl-cv { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; color: var(--text-2); }
.tl-cv s { text-decoration: none; color: var(--text-3); }
.tl-cv .ic { align-self: center; color: var(--text-4); flex: none; }
.tl-cv b { font-weight: 600; color: var(--text); }
.tl-changes li.tone-danger .tl-cv b { color: var(--danger); }
@media (max-width: 520px) { .tl-ck { min-width: 0; } .tl-changes li { flex-direction: column; gap: 0; } }

/* ---------- Gruplu liste kartları / uyarılar ---------- */
.warn-card { border-color: var(--warn-line); }
.warn-card .card-title .ic { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.note-cell { max-width: 260px; color: var(--text-2); font-size: 13px; }

/* ---------- Takvim ---------- */
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-title { font-size: 14px; font-weight: 600; min-width: 110px; text-align: center; text-transform: capitalize; }
.cal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 14px 0 6px; }
.cal-head span { text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-day { min-height: 88px; padding: 8px; border-radius: 10px; border: 1px solid var(--card-line); background: var(--card-bg); display: flex; flex-direction: column; align-items: stretch; gap: 5px; text-align: left; transition: border-color 0.15s, background 0.15s; }
.cal-day:hover { border-color: var(--line-strong); background: var(--hover); }
.cal-day.is-out { opacity: 0.35; }
.cal-day.is-selected { border-color: rgba(198, 161, 91, 0.6); box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.25); }
.cal-num { font-size: 12px; font-weight: 600; color: var(--text-3); width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; }
.cal-day.is-today .cal-num { background: var(--accent); color: var(--on-accent); }
.cal-items { display: flex; flex-direction: column; gap: 3px; }
.cal-item { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--card-line-2); background: var(--card-bg-2); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-item.is-fu { border-color: rgba(198, 161, 91, 0.3); }
.cal-item.is-mt { border-color: var(--purple-line); color: var(--purple); }
.cal-item.is-late { border-color: var(--danger-line); color: var(--danger); }
.cal-item .t { color: var(--text-3); font-weight: 400; }
.cal-more { font-size: 11px; color: var(--text-3); padding-left: 2px; }
@media (max-width: 640px) { .cal-day { min-height: 58px; padding: 5px; } .cal-item { font-size: 10px; } }
.day-group { margin-top: 14px; } .day-group:first-child { margin-top: 0; }
.day-group-title { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.day-group-title .count { font-weight: 500; }
.day-row { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; cursor: pointer; transition: background 0.12s; }
.day-row:hover { background: var(--hover); }
.day-row + .day-row { border-top: 1px solid var(--line-soft); border-radius: 0; }
.day-main { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; cursor: pointer; border-radius: 8px; outline-offset: 4px; }
.day-acts { flex: none; }
.day-time { width: 46px; flex: none; font-size: 14px; font-weight: 600; color: var(--text); }
.day-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.day-sub { font-size: 12px; color: var(--text-3); }
.day-chevron { color: var(--text-4); flex: none; }
.day-more { padding: 10px 10px 2px; font-size: 12px; color: var(--text-3); }
.cal-side { margin-top: 16px; }

/* ---------- Dashboard (sade: başlık · üç sayı · önümüzdeki 7 gün) ---------- */
.db { max-width: 1120px; display: flex; flex-direction: column; gap: 16px; }
.db-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 4px 2px 6px; }
.db-greet { font-size: 30px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin-top: 6px; color: var(--text); }
.sync-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; font-size: 12px; color: var(--text-2); background: var(--card-bg-2); border: 1px solid var(--card-line); }
.sync-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-solid); box-shadow: 0 0 0 3px var(--ok-bg); }
.sync-pill .icon-btn { width: 24px; height: 24px; border-radius: 6px; }

.db-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .db-stats { grid-template-columns: minmax(0, 1fr); } }
.db-stat { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.db-stat::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--tone); opacity: 0.85; }
.db-stat-main { display: flex; flex-direction: column; padding: 20px 22px 18px; flex: 1 1 auto; color: inherit; transition: background 0.15s; }
.db-stat-main:hover { background: var(--hover); }
.db-stat-top { display: flex; align-items: center; gap: 10px; }
.db-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
.db-label { font-size: 13px; font-weight: 500; color: var(--text-2); flex: 1 1 auto; }
.db-go { color: var(--text-4); transition: color 0.15s, transform 0.15s var(--ease); }
.db-stat-main:hover .db-go { color: var(--text-2); transform: translate(1px, -1px); }
.db-num { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 18px; color: var(--text); }
.db-hint { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.db-late { display: flex; align-items: center; gap: 6px; padding: 10px 22px; font-size: 12.5px; font-weight: 500; color: var(--danger); background: var(--danger-bg); border-top: 1px solid var(--danger-line); transition: filter 0.15s; }
.db-late:hover { filter: brightness(1.15); }

.db-week { padding: 20px 22px 18px; }
.db-week-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.db-week-sum { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.db-week-sum b { font-size: 15px; font-weight: 600; color: var(--text); }
.db-week-sum .sep { margin: 0 8px; color: var(--text-4); }
.db-legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-3); padding-top: 8px; }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; }
.db-legend i { width: 8px; height: 8px; border-radius: 3px; }
.db-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.db-day { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px 10px; border-radius: 12px; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s; }
.db-day:hover { background: var(--hover); }
.db-day.is-today { background: var(--today-bg); border-color: rgba(198, 161, 91, 0.28); }
.db-vals { display: flex; gap: 8px; font-size: 13px; font-weight: 600; }
.db-vals .is-fu { color: var(--warn); }
.db-vals .is-mt { color: var(--purple); }
.db-vals .is-zero { color: var(--text-4); font-weight: 500; }
.db-bars { height: 88px; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; border-bottom: 1px solid var(--line-soft); }
.db-bar { width: 12px; border-radius: 4px 4px 0 0; transition: height 0.5s var(--ease); }
.db-bar.is-fu { background: var(--warn-solid); }
.db-bar.is-mt { background: var(--purple-solid); }
.db-day-label { text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--text-2); }
.db-day-label small { display: block; font-size: 11px; color: var(--text-4); font-weight: 400; }
.db-day.is-today .db-day-label { color: var(--accent-text); }
@media (max-width: 560px) {
  .db-greet { font-size: 24px; }
  .db-stats { gap: 10px; }
  .db-stat-main { padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .db-stat-top { grid-column: 1; }
  .db-go { display: none; }
  .db-num { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 38px; }
  .db-hint { grid-column: 1; margin-top: 4px; padding-left: 40px; }
  .db-late { padding: 9px 16px; }
  .db-week { padding: 16px 12px 14px; }
  .db-day-label small { white-space: nowrap; font-size: 10px; }
  .db-days { gap: 2px; }
  .db-bar { width: 8px; }
  .db-vals { flex-direction: column; gap: 0; align-items: center; line-height: 1.25; }
}

.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; align-items: start; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Grafikler ---------- */
.donut-c { font-size: 22px; font-weight: 600; fill: var(--text); font-family: inherit; font-variant-numeric: tabular-nums; }
.donut-s { font-size: 10px; fill: var(--text-3); font-family: inherit; }
.donut-arc { transition: stroke-dasharray 0.6s var(--ease); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; min-width: 150px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.legend .muted { width: 36px; text-align: right; font-size: 12px; }
.hbars { display: flex; flex-direction: column; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 1.1fr) minmax(0, 2fr) minmax(38px, auto) 42px; align-items: center; gap: 10px; font-size: 13px; text-align: left; padding: 3px 4px; border-radius: 8px; width: 100%; }
.hbar.is-click { cursor: pointer; transition: background 0.12s; } .hbar.is-click:hover { background: var(--hover); }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.hbar-track { height: 8px; border-radius: 999px; background: var(--muted-bg); overflow: hidden; }
.hbar-track i { display: block; height: 100%; border-radius: 999px; transition: width 0.6s var(--ease); }
.hbar-n { text-align: right; font-weight: 600; white-space: nowrap; } .hbar-p { text-align: right; font-size: 12px; }
.cols { display: flex; align-items: flex-end; gap: 10px; min-height: calc(var(--h, 140px) + 52px); }
.col-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.col-val { font-size: 11px; font-weight: 600; min-height: 14px; color: var(--text-2); white-space: nowrap; }
.col-bar-wrap { width: 100%; max-width: 44px; height: var(--h, 140px); display: flex; align-items: flex-end; border-radius: 6px; background: var(--muted-bg); overflow: hidden; }
.col-bar { display: block; width: 100%; border-radius: 6px 6px 0 0; transition: height 0.6s var(--ease); }
.stack-col { flex-direction: column-reverse; align-items: stretch; }
.stack-col i { display: block; width: 100%; }
.col-lab { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.col-sub { font-size: 10.5px; }
.funnel { display: flex; flex-direction: column; gap: 10px; }
.fn-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px 44px; gap: 10px; align-items: center; font-size: 13px; }
.fn-track { height: 10px; border-radius: 999px; background: var(--muted-bg); overflow: hidden; }
.fn-track i { display: block; height: 100%; border-radius: 999px; transition: width 0.6s var(--ease); }
.fn-n { text-align: right; font-weight: 600; } .fn-p { text-align: right; font-size: 12px; }
.heat .heat-cell { transition: background 0.2s; }
.heat td:first-child { white-space: nowrap; }
.tbl.heat { min-width: 0; }
@container (max-width: 660px) {
  .tbl.heat th, .tbl.heat td { padding-inline: 5px; }
  .tbl.heat td:first-child { white-space: normal; }
  .tbl.heat th { white-space: normal; letter-spacing: 0.02em; font-size: 11px; vertical-align: bottom; }
}
.rank { display: flex; flex-direction: column; gap: 12px; }
.rank-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.rank-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--card-bg-2); border: 1px solid var(--card-line-2); color: var(--text-2); }
.rank-row:first-child .rank-n { background: var(--today-bg); color: var(--accent-text); border-color: rgba(198, 161, 91, 0.4); }
.rank-track { grid-column: 2 / 4; height: 6px; border-radius: 999px; background: var(--muted-bg); overflow: hidden; }
.rank-track i { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.6s var(--ease); }
.rank-meta { grid-column: 2 / 4; font-size: 11px; color: var(--text-3); text-align: right; }

/* ---------- Satışlar / Raporlar kutuları ---------- */
.sbox-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sbox-grid.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .sbox-grid, .sbox-grid.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sbox-grid, .sbox-grid.is-5 { grid-template-columns: minmax(0, 1fr); } }
.sbox { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sbox-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.sbox-top::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tone, var(--accent)); }
.sbox-num { font-size: 26px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.hero-sales { padding: 22px 26px; margin-bottom: 16px; }
.hero-sales .big-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
@media (max-width: 760px) { .hero-sales .big-grid { grid-template-columns: minmax(0, 1fr); } }
.big-kpi { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--card-line); }
.big-kpi .ic-box { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--today-bg); color: var(--accent-text); border: 1px solid rgba(198, 161, 91, 0.3); flex: none; }
.big-kpi .kv span { font-size: 12px; }
.big-kpi .kv b { font-size: 24px; font-weight: 700; }

/* ---------- Raporlar ---------- */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .cmp { grid-template-columns: minmax(0, 1fr); } }
.cmp-col { padding: 14px; border: 1px solid var(--card-line); border-radius: 12px; background: var(--card-bg); }
.cmp-title { text-align: center; font-size: 14px; font-weight: 600; margin-bottom: 10px; text-transform: capitalize; }
.delta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (max-width: 960px) { .delta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.delta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--card-line); background: var(--card-bg); width: 100%; }
.kv .delta-vals { font-size: 13px; font-weight: 500; color: var(--text); }
.loss-top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.sub-h { margin-bottom: 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.insight { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--today-bg); border: 1px solid rgba(198, 161, 91, 0.3); font-size: 14px; }
.insight .ic { color: var(--accent); flex: none; }
.legend-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.legend-row .cal-ind { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; color: var(--text-2); background: var(--muted-bg); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.t-bad { color: var(--danger); font-weight: 600; }
.price-cmp { padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* ---------- Dijital Ajan ---------- */
.agent-shell { display: flex; flex-direction: column; min-height: 560px; }
.agent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.agent-head .who { display: flex; align-items: center; gap: 12px; }
.agent-face { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: var(--on-accent); position: relative; }
.agent-face::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok-solid); border: 2px solid var(--rail-bg); }
.agent-head b { display: block; font-size: 14px; }
.agent-head small { font-size: 12px; color: var(--text-3); }
.chat-log { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 20px; overflow-y: auto; max-height: 520px; }
.chat-empty { flex: 1 1 auto; display: grid; place-items: center; text-align: center; padding: 40px 20px; color: var(--text-3); font-size: 13px; }
.chat-empty b { display: block; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.msg.is-user { align-self: flex-end; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--on-accent); font-weight: 500; border-bottom-right-radius: 4px; }
.msg.is-bot { align-self: flex-start; display: flex; gap: 10px; background: var(--card-bg-2); border: 1px solid var(--card-line); border-bottom-left-radius: 4px; }
.msg.is-bot > .ic { color: var(--accent-text); margin-top: 3px; flex: none; }
.msg-list { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; list-style: disc; }
.agent-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.agent-foot .chips .chip { font-size: 12px; min-height: 28px; }
.chat-input { display: flex; gap: 8px; align-items: center; }
.chat-input .input { flex: 1; }
.chat-send { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: var(--on-accent); opacity: 0.5; flex: none; }

/* ---------- Ayarlar ---------- */
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .settings-grid { grid-template-columns: minmax(0, 1fr); } }
.set-list { display: flex; flex-direction: column; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.set-row:last-child { border-bottom: 0; }
.set-row .avatar.sm { font-size: 9.5px; }
.rule-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--text-2); list-style: disc; }
.rule-list b { color: var(--text); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; background: var(--card-bg-2); border: 1px solid var(--card-line-2); color: var(--text); }
.tag.is-off { color: var(--text-4); text-decoration: line-through; }
.tag .x { color: var(--text-4); cursor: pointer; display: inline-grid; place-items: center; }
.tag .x:hover { color: var(--danger); }

/* ---------- Temas özeti (müşteri detayı) + liste hücresi ---------- */
.contact-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cs-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--card-bg-2); border: 1px solid var(--card-line); min-width: 92px; }
.cs-item span { font-size: 11px; color: var(--text-3); }
.cs-item b { font-size: 14px; font-weight: 600; color: var(--text); }
.cs-item.is-danger b { color: var(--danger); }
.cs-item.is-warn b { color: var(--warn); }
.fu-cell .when.is-warn { color: var(--warn); font-weight: 600; }
.fu-cell .when.muted { color: var(--text-3); }
/* satış nedeni seçimi: yeşil */
.reason.is-ok.is-on { border-color: var(--ok-line); background: var(--ok-bg); }
.reason.is-ok.is-on .reason-dot { border-color: var(--ok); }
.reason.is-ok.is-on .reason-dot::after { background: var(--ok); }

/* ---------- Raporlar (soru başlıklı bölümler) ---------- */
.rp { display: flex; flex-direction: column; gap: 30px; max-width: 1240px; }
.rp-sec { display: flex; flex-direction: column; gap: 12px; }
.rp-q { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.rp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .rp-two { grid-template-columns: minmax(0, 1fr); } }
.rp-card { padding: 20px 22px; }
.rp-foot { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.rp-card .rp-foot { margin-top: 14px; }

.rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rp-kpis { grid-template-columns: minmax(0, 1fr); } }
.rp-kpi { display: flex; flex-direction: column; padding: 18px 20px; position: relative; overflow: hidden; }
.rp-kpi::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--tone); opacity: 0.85; }
.rp-label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.rp-num { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-top: 12px; color: var(--text); }
.rp-sub { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.rp-delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; font-weight: 500; }
.rp-delta.is-up { color: var(--ok); }
.rp-delta.is-down { color: var(--danger); }
.rp-delta.is-flat { color: var(--text-3); }

.rp-insight { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--text); background: var(--today-bg); border: 1px solid rgba(198, 161, 91, 0.25); margin-bottom: 16px; }
.rp-insight .ic, .rp-insight svg { color: var(--accent-text); flex: none; }
.rp-funnel { display: flex; flex-direction: column; gap: 10px; }
.rp-step { display: grid; grid-template-columns: 170px minmax(0, 1fr) 52px 52px 210px; align-items: center; gap: 14px; }
.rp-step-label { font-size: 13.5px; color: var(--text-2); }
.rp-track { height: 12px; border-radius: 6px; background: var(--muted-bg); overflow: hidden; display: block; }
.rp-track i { display: block; height: 100%; border-radius: 6px; transition: width 0.6s var(--ease); }
.rp-step-n { font-size: 16px; text-align: right; color: var(--text); }
.rp-step-pct { font-size: 12.5px; color: var(--text-3); text-align: right; }
.rp-step-drop { font-size: 12.5px; color: var(--text-3); }
.rp-step-drop.is-worst { color: var(--danger); font-weight: 600; }
@media (max-width: 760px) {
  .rp-step { grid-template-columns: minmax(0, 1fr) 44px 44px; row-gap: 4px; }
  .rp-step .rp-track { grid-column: 1 / -1; grid-row: 2; }
  .rp-step-drop { grid-column: 1 / -1; }
}

.rp-flags { padding: 14px 18px; border-color: var(--warn-line); background: var(--warn-bg); }
.rp-flags-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--warn); }
.rp-flags ul { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text); }
.rp-team td.t-bad { color: var(--danger); font-weight: 600; }
.tbl tr.is-muted td { color: var(--text-3); font-style: italic; }
.tbl tr.is-current td { background: var(--today-bg); }

.rp-reasons { display: flex; flex-direction: column; gap: 4px; }
.rp-reason { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr) 32px 44px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; text-align: left; font-size: 13.5px; color: var(--text); transition: background 0.15s; }
.rp-reason:hover { background: var(--hover); }
.rp-reason-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-reason b { text-align: right; }
.rp-reason-pct { font-size: 12.5px; color: var(--text-3); text-align: right; }
.rp-split { display: flex; gap: 24px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--text-3); }
.rp-split b { font-size: 16px; color: var(--text); margin-right: 4px; }
.rp-team th, .rp-team td { padding-left: 10px; padding-right: 10px; white-space: nowrap; }

/* ---------- Reklam harcaması (yalnız sahip) ---------- */
.rp-q-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.owner-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--accent-text); background: var(--today-bg); border: 1px solid rgba(198, 161, 91, 0.35); }
.ad-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .ad-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ad-kpi.is-pos b { color: var(--ok); } .ad-kpi.is-neg b { color: var(--danger); }
.ad-kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--card-bg-2); border: 1px solid var(--card-line); position: relative; overflow: hidden; }
.ad-kpi::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--tone); }
.ad-kpi span { font-size: 12px; color: var(--text-3); }
.ad-kpi b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.ad-kpi small { font-size: 11.5px; color: var(--text-3); }
.t-good { color: var(--ok); font-weight: 600; }
.ad-empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ad-empty b { font-size: 14px; }
.ad-empty p { font-size: 13px; margin-top: 3px; max-width: 70ch; }
.ad-empty-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); flex: none; }
.ad-status { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--text-2); background: var(--sunken); border: 1px solid var(--card-line); }
.ad-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-4); flex: none; }
.ad-status.is-on i { background: var(--ok-solid); box-shadow: 0 0 0 3px var(--ok-bg); }
.ad-src { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--text-3); background: var(--card-bg-2); border: 1px solid var(--card-line); flex: none; }
.ad-set .set-row { flex-wrap: nowrap; } .ad-set .set-row .grow { min-width: 0; }

/* =====================================================================================================
   v3 cilası (2026-11-06): sayfa bazında. Önceki kuralların üzerine yazar; renkler tokenlardan.
   ===================================================================================================== */

/* ---------- Kontrol Paneli ---------- */
.db { max-width: 1180px; gap: 18px; }
.db-head .eyebrow { color: var(--accent-text); letter-spacing: 0.22em; opacity: 0.85; }
.db-greet { font-family: var(--font-display); font-size: 36px; letter-spacing: -0.035em; margin-top: 8px; }
.sync-pill { background: rgba(9, 30, 19, 0.55); border-color: var(--card-line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.db-stats { gap: 18px; }
.db-stat { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 55%), var(--card-sheen), var(--card-bg); }
.db-stat::before { left: 22px; right: 22px; height: 2px; top: -1px; border-radius: 2px; opacity: 1; background: linear-gradient(90deg, transparent, var(--tone), transparent); box-shadow: 0 0 14px var(--tone); }
.db-stat-main { padding: 22px 24px 20px; }
.db-stat-main:hover { background: transparent; }
.db-ic { width: 36px; height: 36px; border-radius: 11px; color: var(--tone); background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 26%, transparent), color-mix(in srgb, var(--tone) 8%, transparent)); border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent); }
.db-label { font-size: 13.5px; }
.db-num { font-family: var(--font-display); font-size: 58px; font-weight: 600; letter-spacing: -0.04em; margin-top: 18px; text-shadow: 0 6px 30px color-mix(in srgb, var(--tone) 30%, transparent); }
.db-late { background: linear-gradient(90deg, rgba(226, 106, 88, 0.20), rgba(226, 106, 88, 0.08)); }
.db-week { padding: 22px 24px 20px; }
.db-day { border-radius: 14px; }
.db-day:hover { background: rgba(246, 241, 228, 0.05); }
.db-day.is-today { background: linear-gradient(180deg, rgba(198, 161, 91, 0.18), rgba(198, 161, 91, 0.05)); border-color: rgba(228, 206, 155, 0.32); box-shadow: 0 14px 30px -18px rgba(198, 161, 91, 0.7); }
.db-bars { height: 104px; }
.db-bar { width: 14px; border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: bar-grow 0.9s var(--ease-out) both; animation-delay: calc(0.25s + var(--d, 0) * 70ms); }
.db-day > .db-bars .db-bar.is-mt { animation-delay: calc(0.32s + var(--d, 0) * 70ms); }
.db-bar.is-fu { background: linear-gradient(180deg, #F6D58E, var(--warn-solid) 60%, #B98634); box-shadow: 0 0 16px -4px rgba(232, 185, 106, 0.7); }
.db-bar.is-mt { background: linear-gradient(180deg, #CDBDF7, var(--purple-solid) 60%, #7E66C2); box-shadow: 0 0 16px -4px rgba(170, 145, 230, 0.7); }
@keyframes bar-grow { from { transform: scaleY(0); opacity: 0.3; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .db-greet { font-size: 27px; } .db-num { font-size: 44px; } .db-bar { width: 9px; } }

/* ---------- Potansiyel Müşteriler: liste + Kanban ---------- */
.filter-row .search-wrap .input { min-height: 42px; border-radius: 12px; }
.filter-row .select { min-height: 42px; border-radius: 12px; }
.tbl-card { overflow: hidden; }
.tbl-card .tbl-wrap { overflow-x: auto; }
.cust-name { font-weight: 600; letter-spacing: -0.005em; }
.board { gap: 14px; }
.col { background: linear-gradient(180deg, rgba(246, 241, 228, 0.04), rgba(246, 241, 228, 0.01)), rgba(9, 30, 19, 0.45); border-radius: 18px; position: relative; overflow: hidden; }
.col::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--tone), transparent); opacity: 0.9; }
.col-head { padding: 14px 14px 8px; }
.col-title::before { box-shadow: 0 0 10px var(--tone); }
.kcard { border-radius: 13px; background: var(--card-sheen), rgba(13, 38, 25, 0.75); border-color: var(--card-line); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.8); position: relative; }
.kcard:hover { transform: translateY(-2px); border-color: rgba(228, 206, 155, 0.28); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(228, 206, 155, 0.06); }
.kcard.is-drag { transform: rotate(-1.5deg) scale(1.02); }
.col.is-over { background: color-mix(in srgb, var(--tone) 10%, rgba(9, 30, 19, 0.6)); }

/* ---------- Müşteri sayfası ---------- */
.back-link { padding: 6px 10px 6px 6px; border-radius: 10px; margin-left: -6px; }
.back-link:hover { background: rgba(246, 241, 228, 0.05); }
.back-link .ic { transition: transform var(--t-mid) var(--ease-out); }
.back-link:hover .ic { transform: translateX(-3px); }
.detail-top { padding: 24px 26px; background: radial-gradient(90% 120% at 0% 0%, rgba(198, 161, 91, 0.12), transparent 50%), var(--card-sheen), var(--card-bg); }
.detail-name { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.cs-item { border-radius: 12px; padding: 9px 14px; background: rgba(3, 12, 8, 0.28); min-width: 104px; }
.cs-item b { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em; }
.card-head.is-bar { padding: 15px 22px; }
.result-actions .btn { min-height: 40px; border-radius: 10px; }
.sale-amount { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; text-shadow: 0 6px 24px rgba(94, 180, 125, 0.35); }
/* zaman çizelgesi: altın iplik, işlemler boncuk gibi */
.timeline::before { left: 15px; width: 2px; background: linear-gradient(180deg, rgba(228, 206, 155, 0.35), rgba(246, 241, 228, 0.06)); border-radius: 2px; }
.tl-row { animation: rise 0.45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.tl-ic { width: 32px; height: 32px; background: rgba(9, 30, 19, 0.9); box-shadow: 0 0 0 4px rgba(6, 21, 13, 0.6); }
.tl-human .tl-ic { background: linear-gradient(135deg, rgba(228, 206, 155, 0.28), rgba(9, 30, 19, 0.95)); box-shadow: 0 0 0 4px rgba(6, 21, 13, 0.6), 0 6px 16px -6px rgba(198, 161, 91, 0.6); }
.tl-sale .tl-ic { background: linear-gradient(135deg, rgba(94, 180, 125, 0.35), rgba(9, 30, 19, 0.95)); box-shadow: 0 0 0 4px rgba(6, 21, 13, 0.6), 0 6px 16px -6px rgba(94, 180, 125, 0.7); }
.tl-body { padding: 4px 12px 8px; margin-left: -4px; border-radius: 10px; transition: background var(--t-fast); }
.tl-row:hover .tl-body { background: rgba(246, 241, 228, 0.035); }

/* ---------- Takvim ---------- */
.cal-day { border-radius: 13px; background: rgba(9, 30, 19, 0.42); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-mid) var(--ease-out); }
.cal-day:hover { transform: translateY(-1px); border-color: rgba(228, 206, 155, 0.25); background: rgba(13, 38, 25, 0.6); }
.cal-day.is-today { border-color: rgba(228, 206, 155, 0.45); background: linear-gradient(180deg, rgba(198, 161, 91, 0.14), rgba(9, 30, 19, 0.45)); }
.cal-day.is-today .cal-num { background: linear-gradient(135deg, var(--gold-100), var(--gold-500)); box-shadow: 0 4px 12px -4px rgba(198, 161, 91, 0.8); }
.cal-item { border-radius: 7px; }
.cal-title { font-family: var(--font-display); font-size: 15px; }

/* ---------- Raporlar ---------- */
.rp-q { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; }
.rp-kpi { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tone) 14%, transparent), transparent 55%), var(--card-sheen), var(--card-bg); }
.rp-kpi::before { left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--tone), transparent); box-shadow: 0 0 12px var(--tone); opacity: 1; }
.rp-num { font-family: var(--font-display); font-size: 40px; letter-spacing: -0.04em; }
.rp-track { height: 14px; border-radius: 8px; background: rgba(3, 12, 8, 0.35); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.rp-track i { border-radius: 8px; transform-origin: left; animation: track-grow 1s var(--ease-out) both; box-shadow: 0 0 14px -2px currentColor; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.22)); }
@keyframes track-grow { from { transform: scaleX(0); } to { transform: none; } }
.rp-step:nth-child(2) .rp-track i { animation-delay: 0.08s; } .rp-step:nth-child(3) .rp-track i { animation-delay: 0.16s; }
.rp-step:nth-child(4) .rp-track i { animation-delay: 0.24s; } .rp-step:nth-child(5) .rp-track i { animation-delay: 0.32s; }
.rp-step-n { font-family: var(--font-display); font-weight: 600; }
.rp-insight { background: linear-gradient(90deg, rgba(198, 161, 91, 0.18), rgba(198, 161, 91, 0.05)); border-color: rgba(228, 206, 155, 0.3); border-radius: 12px; padding: 12px 16px; }
.rp-flags { border-radius: 16px; background: linear-gradient(90deg, rgba(232, 185, 106, 0.16), rgba(232, 185, 106, 0.06)); }
.rp-reason { border-radius: 10px; }
.rp-reason:hover { background: rgba(198, 161, 91, 0.08); }
.hbar-track i, .rank-track i { transform-origin: left; animation: track-grow 0.9s var(--ease-out) both; }
.ad-kpi b { font-family: var(--font-display); }

/* ---------- Dijital Ajan ---------- */
.agent-face { box-shadow: 0 8px 22px -8px rgba(198, 161, 91, 0.8); }
.msg { animation: rise 0.35s var(--ease-out) both; }
.msg.is-bot { background: rgba(9, 30, 19, 0.7); }
.chat-send { opacity: 1; box-shadow: 0 8px 18px -8px rgba(198, 161, 91, 0.8); }

/* ---------- Ayarlar ---------- */
.set-row { transition: background var(--t-fast); border-radius: 10px; padding-inline: 8px; }
.set-row:hover { background: rgba(246, 241, 228, 0.03); }

/* ---------- Kutlama: satış kaydedilince kısa altın parıltı ---------- */
.confetti { position: fixed; z-index: 400; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c);
  animation: burst 0.95s var(--ease-out) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, -50%) scale(0.4) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--r)); } }
.ring-pulse { position: fixed; z-index: 399; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; border: 2px solid var(--gold-300); transform: translate(-50%, -50%); animation: ring 0.9s var(--ease-out) forwards; }
@keyframes ring { from { opacity: 0.9; width: 20px; height: 20px; } to { opacity: 0; width: 220px; height: 220px; } }

/* ---------- Açık tema ayarları ---------- */
:root[data-theme="light"] .col, :root[data-theme="light"] .cal-day { background: rgba(255, 255, 255, 0.6); }
:root[data-theme="light"] .kcard { background: rgba(255, 255, 255, 0.92); }
:root[data-theme="light"] .cs-item { background: rgba(18, 40, 27, 0.04); }
:root[data-theme="light"] .tl-ic { background: #fff; box-shadow: 0 0 0 4px rgba(239, 233, 218, 0.9); }
:root[data-theme="light"] .msg.is-bot { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .sync-pill { background: rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] .rp-track { background: rgba(18, 40, 27, 0.06); box-shadow: none; }
/* arka plan yenilemesi (45 sn): yeni çizilen öğeler animasyonsuz */
.page.is-quiet *, .page.is-quiet *::before, .page.is-quiet *::after { animation: none !important; }
/* liste: "Hiç aranmadı / 3 sa önce geldi" gibi hücreler kırılıp satırı uzatmasın */
.tbl .fu-cell .when, .tbl .fu-cell .sub { white-space: nowrap; }
.tbl .svc-cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.tbl .cust { min-width: 200px; }
.tbl .cust .row { flex-wrap: nowrap !important; }
.tbl .cust-name { white-space: nowrap; }
.tbl th { letter-spacing: 0.06em; font-size: 10.5px; }
.tbl th, .tbl td { padding-left: 14px; padding-right: 14px; }
.tbl .svc-cell { max-width: 128px; }
.board { grid-template-columns: repeat(5, minmax(200px, 1fr)); }

/* ---------- Güvenlik kartları (Ayarlar) ---------- */
.settings-grid .is-wide { grid-column: 1 / -1; }
.sec-status { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--card-bg-2); }
.sec-status b { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.sec-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--ok-solid, #4CC38A); box-shadow: 0 0 0 4px rgba(76, 195, 138, 0.14), 0 0 14px rgba(76, 195, 138, 0.55); }
.sec-status.is-warn .sec-dot { background: var(--warn-solid, #E3A64B); box-shadow: 0 0 0 4px rgba(227, 166, 75, 0.14), 0 0 14px rgba(227, 166, 75, 0.5); }
.sec-status.is-bad { border-color: var(--danger-line); background: var(--danger-bg); }
.sec-status.is-bad .sec-dot { background: var(--danger-solid, #E5604D); box-shadow: 0 0 0 4px rgba(229, 96, 77, 0.16), 0 0 14px rgba(229, 96, 77, 0.55); }
.sec-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.sec-fact { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--card-line); background: rgba(255, 240, 210, 0.025); min-width: 0; }
.sec-fact span { display: block; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.sec-fact b { display: block; margin-top: 3px; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-fact.t-warn b { color: var(--warn); } .sec-fact.t-bad b { color: var(--danger); } .sec-fact.t-good b { color: var(--ok); }
.sec-points { margin: 12px 0 4px; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.sec-points li::marker { color: var(--gold-400, #C6A15B); }
.sec-sub { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--text); }
.sec-sub svg { color: var(--gold-300); }
.sec-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--warn-bg); color: var(--warn); }
.sec-ic.is-bad { background: var(--danger-bg); color: var(--danger); }
.sec-me { margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--gold-200, #E4CE9B); background: rgba(198, 161, 91, 0.14); border: 1px solid rgba(198, 161, 91, 0.3); }
.sec-key { display: inline-block; padding: 9px 12px; border-radius: 10px; font: 600 14px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; color: var(--gold-100, #F2E7CB); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--card-line-2); word-break: break-all; }
.sec-steps { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.hint.t-good { color: var(--ok); display: flex; align-items: center; gap: 6px; }
.consent-box { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--card-line-2); background: rgba(255, 240, 210, 0.02); }
.auth-code { animation: rise 0.45s var(--ease-out) both; }
.auth-code input { letter-spacing: 0.3em; font-size: 18px; text-align: center; }
/* Kontrol Paneli: sahibe veri güvenliği uyarısı */
.db-alert { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; color: var(--danger); background: var(--danger-bg); border: 1px solid var(--danger-line); font-size: 13.5px; text-decoration: none; }
.db-alert b { font-weight: 600; }
.db-alert-go { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; white-space: nowrap; }
.db-alert:hover { filter: brightness(1.08); }
@media (max-width: 760px) { .sec-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec-fact b { white-space: normal; overflow: visible; } }

/* takip günü zorunlu uyarısı + kayıpta 3 deneme hatırlatması */
.hint.t-bad { color: var(--danger); }
.try-warn { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 11px; border-radius: 10px; font-size: 12px; line-height: 1.45;
  color: var(--warn); background: color-mix(in srgb, var(--warn-solid) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warn-solid) 28%, transparent); }
.try-warn[hidden] { display: none; }
.try-warn svg { flex: none; margin-top: 1px; }
.kcard-top .badge { flex: none; }
