/* WebTibo Panel — tasarım belirteçleri */
:root {
  --bg: #f7f7f8; --bg2: #ffffff; --panel: #ffffff; --panel2: #fafafa; --line: #e7e7ea; --line2: #f0f0f2;
  --text: #0b0b0f; --text2: #4a4a55; --muted: #8a8a96; --accent: #5b5bf0; --accent2: #7c5cf5; --accent-bg: #eef0ff;
  --ok: #10a36a; --ok-bg: #e7f7ef; --bad: #e5484d; --bad-bg: #fdecec; --warn: #d9861a; --warn-bg: #fff4e2;
  --shadow: 0 1px 2px rgba(16,16,24,.04), 0 1px 1px rgba(16,16,24,.03); --shadow-lg: 0 20px 50px -12px rgba(16,16,24,.25);
  --r: 12px; --r-sm: 8px; --sb: 248px;
  --c1: #5b5bf0; --c2: #10b3a3; --c3: #f59e0b; --c4: #ec4899; --c5: #8b5cf6; --c6: #0ea5e9; --c7: #84cc16; --c8: #94a3b8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0a0a0c; --bg2: #0f0f12; --panel: #121216; --panel2: #16161b; --line: #24242c; --line2: #1c1c22;
  --text: #ededf0; --text2: #b4b4be; --muted: #75757f; --accent: #818cf8; --accent2: #a78bfa; --accent-bg: #1c1d36;
  --ok: #34d399; --ok-bg: #0f2a20; --bad: #f87171; --bad-bg: #2d1416; --warn: #fbbf24; --warn-bg: #2b2210;
  --shadow: 0 1px 0 rgba(255,255,255,.02) inset; --shadow-lg: 0 24px 60px -12px rgba(0,0,0,.7);
  --c1: #818cf8; --c2: #2dd4bf; --c3: #fbbf24; --c4: #f472b6; --c5: #a78bfa; --c6: #38bdf8; --c7: #a3e635; --c8: #64748b;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0a0a0c; --bg2: #0f0f12; --panel: #121216; --panel2: #16161b; --line: #24242c; --line2: #1c1c22;
  --text: #ededf0; --text2: #b4b4be; --muted: #75757f; --accent: #818cf8; --accent2: #a78bfa; --accent-bg: #1c1d36;
  --ok: #34d399; --ok-bg: #0f2a20; --bad: #f87171; --bad-bg: #2d1416; --warn: #fbbf24; --warn-bg: #2b2210;
  --shadow: 0 1px 0 rgba(255,255,255,.02) inset; --shadow-lg: 0 24px 60px -12px rgba(0,0,0,.7);
  --c1: #818cf8; --c2: #2dd4bf; --c3: #fbbf24; --c4: #f472b6; --c5: #a78bfa; --c6: #38bdf8; --c7: #a3e635; --c8: #64748b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
a { color: var(--accent); }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.row-gap { display: flex; gap: 8px; align-items: center; }
.num { font-variant-numeric: tabular-nums; }

/* yükleniyor */
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 50; }
.spinner { width: 28px; height: 28px; border: 2.5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* logo */
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff;
  background: linear-gradient(135deg, #6366f1, #a855f7); box-shadow: 0 4px 14px -4px rgba(99,102,241,.6); }
.logo svg { width: 20px; height: 20px; stroke-width: 2.6; }
.logo.lg { width: 44px; height: 44px; border-radius: 12px; } .logo.lg svg { width: 30px; height: 30px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }

/* butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:hover { background: var(--panel2); border-color: color-mix(in srgb, var(--line) 60%, var(--muted)); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { opacity: .9; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text2); }
.btn.ghost:hover { background: var(--panel2); color: var(--text); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .5; cursor: default; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; color: var(--text2); cursor: pointer; }
.icon-btn:hover { background: var(--panel2); border-color: var(--line); color: var(--text); }
.only-sm { display: none; }

/* giriş */
.login { min-height: 100%; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { position: relative; overflow: hidden; background: #08080c; color: #fff; display: flex; align-items: center; padding: 56px; }
.login-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.g1 { width: 420px; height: 420px; background: #4f46e5; top: -120px; left: -80px; }
.g2 { width: 360px; height: 360px; background: #9333ea; bottom: -140px; right: -60px; opacity: .4; }
.art-inner { position: relative; max-width: 480px; }
.brand-lg { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; margin-bottom: 48px; }
.login-art h2 { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.login-art p { color: #a1a1b5; font-size: 16px; margin: 16px 0 36px; }
.art-cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px; backdrop-filter: blur(8px); }
.mini span { display: block; font-size: 12px; color: #8b8ba0; } .mini b { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.art-spark { grid-column: 1 / -1; width: 100%; height: 90px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; }
.login-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; background: var(--bg2); }
.login-card { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.login-card h1 { font-size: 24px; margin-top: 18px; }
.login-card .btn.google { width: 100%; height: 44px; margin-top: 22px; font-weight: 600; background: var(--panel); box-shadow: var(--shadow); }
.err { color: var(--bad); font-size: 13px; min-height: 18px; margin: 8px 0 0; }
.fine { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.login-foot { position: absolute; bottom: 18px; font-size: 12px; color: var(--muted); }
.login-side { position: relative; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.8s infinite; display: inline-block; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* uygulama seçici */
.picker { min-height: 100%; background: radial-gradient(1200px 500px at 50% -10%, var(--accent-bg), transparent 70%), var(--bg); }
.picker-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; }
.me-chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 13px; color: var(--text2); }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--line); object-fit: cover; }
.picker-body { max-width: 920px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.picker-body h1 { font-size: 30px; font-weight: 700; }
.picker-body > p { margin: 8px 0 36px; }
.app-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; text-align: left; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; font: inherit; color: inherit; text-align: left; }
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.app-card.last::after { content: "Son kullanılan"; position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-bg); padding: 2px 8px; border-radius: 999px; }
.app-card.soon { cursor: default; opacity: .6; border-style: dashed; } .app-card.soon:hover { transform: none; box-shadow: none; }
.app-card h3 { font-size: 17px; } .app-card p { margin: 0; color: var(--muted); font-size: 13px; }
.app-card .go { margin-top: auto; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--accent); }
.app-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; flex: none; color: #fff; font-weight: 700; }
.app-ico.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }

/* kabuk */
.shell { display: flex; min-height: 100%; }
.sidebar { position: sticky; top: 0; height: 100vh; width: var(--sb); flex: none; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px;
  background: var(--bg2); border-right: 1px solid var(--line); z-index: 30; }
.sb-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; }
.switcher { position: relative; margin-bottom: 8px; }
.app-switch { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  cursor: pointer; font: inherit; color: inherit; text-align: left; box-shadow: var(--shadow); }
.app-switch:hover { border-color: color-mix(in srgb, var(--line) 50%, var(--muted)); }
.app-switch .app-ico { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
.sw-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.sw-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sw-txt small { font-size: 11.5px; color: var(--muted); }
.chev { color: var(--muted); }
.menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px;
  box-shadow: var(--shadow-lg); z-index: 40; }
.menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; text-align: left; }
.menu button:hover, .menu button.cur { background: var(--panel2); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav .grp { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 10px 6px; }
.nav button { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; border: 0; background: none; color: var(--text2);
  font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.nav button:hover { background: var(--panel2); color: var(--text); }
.nav button.on { background: var(--accent-bg); color: var(--accent); }
.nav button .badge { margin-left: auto; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); display: inline-flex; align-items: center; gap: 5px; }
.sb-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.me-row { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.me-row .avatar { width: 32px; height: 32px; }
.me-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.me-txt b { font-size: 13px; } .me-txt small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px 28px; min-height: 64px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.tb-title { flex: 1; min-width: 0; } .tb-title h1 { font-size: 18px; font-weight: 650; } .tb-title small { font-size: 12.5px; }
.tb-actions { display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line); }
.seg button { height: 28px; padding: 0 11px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line); }
.view { padding: 24px 28px 48px; max-width: 1440px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.scrim { display: none; }

/* kartlar */
.grid { display: grid; gap: 16px; }
.g-kpi { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.g-2 { grid-template-columns: 2fr 1fr; } .g-2e { grid-template-columns: 1fr 1fr; } .g-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 0; }
.card-h h3 { font-size: 14px; font-weight: 600; } .card-h p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.card-b { padding: 14px 18px 18px; }
.chart-box { position: relative; height: 260px; } .chart-box.sm { height: 210px; } .chart-box.xs { height: 170px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text2); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.kpi { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.kpi .lbl { font-size: 12.5px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.kpi .val { font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-height: 18px; }
.kpi canvas.spark { position: absolute; right: 12px; bottom: 12px; width: 84px !important; height: 30px !important; opacity: .9; }
.kpi.live { background: linear-gradient(180deg, color-mix(in srgb, var(--ok-bg) 70%, var(--panel)), var(--panel)); }
.delta { font-weight: 600; font-size: 11.5px; padding: 1px 6px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.delta.up { color: var(--ok); background: var(--ok-bg); } .delta.down { color: var(--bad); background: var(--bad-bg); } .delta.flat { color: var(--muted); background: var(--panel2); }
.up { color: #34d399; font-style: normal; font-size: 12px; }

/* boş durum */
.empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
  background: color-mix(in srgb, var(--panel) 72%, transparent); backdrop-filter: blur(1.5px); border-radius: 8px; }
.empty .e-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); }
.empty b { font-size: 13.5px; font-weight: 600; } .empty span { font-size: 12.5px; color: var(--muted); max-width: 320px; }
.empty-static { position: static; background: none; padding: 28px 16px; backdrop-filter: none; }
.banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: linear-gradient(135deg, var(--accent-bg), var(--panel)); }
.banner .b-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.banner h3 { font-size: 14.5px; } .banner p { margin: 3px 0 0; color: var(--text2); font-size: 13px; }
.banner.warn { border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); background: linear-gradient(135deg, var(--warn-bg), var(--panel)); } .banner.warn .b-ico { background: var(--warn); }

/* listeler / tablolar */
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 140px) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text2); }
.bar-row .track { height: 8px; background: var(--panel2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line2); }
.bar-row .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.bar-row .n { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; min-width: 70px; text-align: right; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel2); white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
tbody tr { cursor: pointer; transition: background .1s; } tbody tr:hover { background: var(--panel2); }
tbody tr:last-child td { border-bottom: 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dot.on { background: #22c55e; box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 20%, transparent); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--panel2); color: var(--text2); border: 1px solid var(--line); }
.tag.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; } .tag.bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.tag.acc { background: var(--accent-bg); color: var(--accent); border-color: transparent; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1; min-width: 180px; } .search svg { position: absolute; left: 10px; top: 9px; color: var(--muted); width: 16px; height: 16px; }
.search input { padding-left: 34px; }
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.li:last-child { border-bottom: 0; } .li .grow { flex: 1; min-width: 0; } .li .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.li .grow small { color: var(--muted); font-size: 12px; }
.poster { width: 32px; height: 46px; border-radius: 5px; object-fit: cover; background: var(--panel2); flex: none; border: 1px solid var(--line); }
.rank { width: 22px; text-align: center; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ret { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ret > div { padding: 14px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line2); }
.ret b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.02em; margin: 2px 0; }
.ret .meter { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; } .ret .meter i { display: block; height: 100%; background: var(--c2); border-radius: 999px; }

/* formlar */
.form { display: flex; flex-direction: column; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--text2); }
label.check { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }
input, select, textarea { font: inherit; font-size: 13.5px; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 8px 11px; min-height: 36px; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%; }
input[type=checkbox] { width: 16px; height: 16px; min-height: 0; accent-color: var(--accent); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea { resize: vertical; min-height: 96px; }
.hint { font-size: 12px; color: var(--muted); font-weight: 400; }
.gift { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line2); }
.gift:last-child { border-bottom: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.motd-prev { border: 1px dashed var(--line); border-radius: 10px; padding: 14px; background: var(--panel2); font-size: 13.5px; min-height: 52px; white-space: pre-wrap; }

/* çekmece */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.4); animation: fade .15s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--panel); border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .2s ease-out; }
.drawer-panel header { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-panel h2 { font-size: 18px; }
.drawer-body { padding: 18px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 12px; font-size: 13px; } .kv > span { color: var(--muted); } .kv > div { min-width: 0; overflow-wrap: anywhere; }
.sec-t { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
@keyframes fade { from { opacity: 0; } } @keyframes slide { from { transform: translateX(24px); opacity: 0; } }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-lg); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skel { background: linear-gradient(90deg, var(--panel2), var(--line2), var(--panel2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }

/* duyarlı */
@media (max-width: 1100px) { .g-2, .g-3 { grid-template-columns: 1fr 1fr; } .g-2 > .span-all { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; } .login-art { display: none; }
  .only-sm { display: inline-grid; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .2s ease-out; box-shadow: var(--shadow-lg); }
  .shell.sb-open .sidebar { transform: none; }
  .shell.sb-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 25; }
  .topbar { padding: 10px 16px; flex-wrap: wrap; } .view { padding: 16px 16px 40px; }
  .g-2, .g-2e, .g-3 { grid-template-columns: 1fr; }
  .g-kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi .val { font-size: 22px; } .kpi canvas.spark { display: none; }
  .hide-sm { display: none; }
  .picker-body { padding: 28px 16px; } .picker-body h1 { font-size: 22px; } .picker-top { padding: 12px 16px; } .me-chip span { display: none; }
  .kv { grid-template-columns: 110px 1fr; } .form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .tb-actions { width: 100%; } .seg { width: 100%; } .seg button { flex: 1; } }
