@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&display=swap');

/* =========================================================
   Telgraf arayüzü
   Koyu lacivert kenar menüsü + açık içerik alanı, mavi→mor vurgu
   ========================================================= */
:root {
  --bg: #f3f5fa;
  --bg-glow: radial-gradient(1200px 500px at 85% -120px, rgba(76, 110, 255, .10), transparent 60%), radial-gradient(900px 420px at 20% -160px, rgba(42, 166, 255, .10), transparent 60%);
  --panel: #ffffff;
  --panel-2: #f6f8fc;
  --panel-3: #eef2f9;
  --line: #e4e9f2;
  --line-2: #d3dbe8;
  --text: #0e1525;
  --muted: #586379;
  --faint: #95a0b4;

  --brand: #2f7cf6;
  --brand-2: #1f62d6;
  --brand-soft: #eaf1ff;
  --brand-ink: #1a4fb4;
  --violet: #7357ff;
  --violet-soft: #f0ecff;
  --grad: linear-gradient(135deg, #22a6ff 0%, #3a6cff 52%, #7357ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 166, 255, .12), rgba(115, 87, 255, .12));

  --ok: #0f9f62;
  --ok-2: #14b874;
  --ok-soft: #e4f7ee;
  --warn: #c27803;
  --warn-2: #f5a524;
  --warn-soft: #fff4de;
  --err: #e0393e;
  --err-soft: #fdebec;
  --pink: #e8488a;
  --pink-soft: #fde9f2;
  --teal: #0ea5a4;
  --teal-soft: #e0f6f5;

  --side-bg: #0b1222;
  --side-bg-2: #0f1a30;
  --side-text: #c9d2e3;
  --side-muted: #7f8ba3;
  --side-line: rgba(255, 255, 255, .07);
  --side-hover: rgba(255, 255, 255, .06);
  --side-active: rgba(255, 255, 255, .10);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 24px -6px rgba(15, 23, 42, .08);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 48px -12px rgba(15, 23, 42, .18);
  --shadow-brand: 0 8px 22px -8px rgba(58, 108, 255, .65);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080d17;
    --bg-glow: radial-gradient(1200px 500px at 85% -120px, rgba(76, 110, 255, .16), transparent 60%), radial-gradient(900px 420px at 20% -160px, rgba(42, 166, 255, .12), transparent 60%);
    --panel: #111827;
    --panel-2: #151e2f;
    --panel-3: #1a2539;
    --line: #222d40;
    --line-2: #2f3c53;
    --text: #e9eef7;
    --muted: #9ba8be;
    --faint: #66748c;
    --brand: #4d8dff;
    --brand-2: #6aa0ff;
    --brand-soft: #14223e;
    --brand-ink: #9cbcff;
    --violet: #8e78ff;
    --violet-soft: #1f1b3d;
    --ok: #2ccf8a;
    --ok-2: #2ccf8a;
    --ok-soft: #0f2a20;
    --warn: #f5b042;
    --warn-soft: #2c2312;
    --err: #ff6b6f;
    --err-soft: #331a1d;
    --pink-soft: #33182a;
    --teal-soft: #0f2a2c;
    --side-bg: #060a13;
    --side-bg-2: #0a1120;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 24px -6px rgba(0, 0, 0, .45);
    --shadow-lg: 0 18px 48px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-glow), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--font);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.005em;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
b { font-weight: 600; }
::selection { background: rgba(58, 108, 255, .2); }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.spacer { height: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- yerleşim ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 264px; flex: none;
  background: linear-gradient(180deg, var(--side-bg-2) 0%, var(--side-bg) 100%);
  color: var(--side-text);
  display: flex; flex-direction: column;
  padding: 20px 16px 16px;
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.sidebar::before {
  content: ''; position: absolute; width: 320px; height: 320px; left: -140px; top: -170px;
  background: radial-gradient(circle, rgba(58, 108, 255, .35), transparent 65%);
  pointer-events: none;
}
.brand { position: relative; display: flex; align-items: center; gap: 12px; padding: 4px 8px 22px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 11px; box-shadow: 0 6px 18px -6px rgba(42, 166, 255, .8); }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: #fff; }
.brand-sub { font-size: 12px; color: var(--side-muted); margin-top: -1px; }
.nav { position: relative; display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--side-muted); padding: 16px 12px 6px; opacity: .8; }
.nav a {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--side-text); font-weight: 500; font-size: 14.5px;
  transition: background .15s, color .15s;
}
.nav a .ic { opacity: .75; }
.nav a:hover { background: var(--side-hover); color: #fff; text-decoration: none; }
.nav a.active { background: var(--side-active); color: #fff; }
.nav a.active .ic { opacity: 1; color: #7fb6ff; }
.nav a.active::before { content: ''; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.nav a.nav-cta {
  background: var(--grad); color: #fff; margin: 4px 0 10px; justify-content: center; font-weight: 600;
  box-shadow: var(--shadow-brand); padding: 12px;
}
.nav a.nav-cta .ic { opacity: 1; color: #fff; }
.nav a.nav-cta:hover { filter: brightness(1.07); }
.nav a.nav-cta.active::before { display: none; }
.nav a.nav-cta.active { box-shadow: 0 0 0 3px rgba(115, 87, 255, .35), var(--shadow-brand); }
.nav .nav-badge { margin-left: auto; background: rgba(20, 184, 116, .18); color: #4be3a2; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; }
.nav .nav-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4be3a2; animation: pulse 1.2s infinite; }
.side-conn { position: relative; margin-top: auto; }
.side-pill {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 13px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--side-line);
  font: inherit; font-size: 13px; cursor: pointer; width: 100%; text-align: left; color: var(--side-text);
  transition: background .15s;
}
.side-pill:hover { background: rgba(255, 255, 255, .09); }
.side-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--side-muted); flex: none; }
.side-pill.ok .dot { background: #2fd68f; box-shadow: 0 0 0 4px rgba(47, 214, 143, .18); }
.side-pill.warn .dot { background: #f5b042; box-shadow: 0 0 0 4px rgba(245, 176, 66, .18); animation: pulse 1.4s infinite; }
.side-pill .sp-t { font-weight: 600; color: #fff; }
.side-pill .sp-s { color: var(--side-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.side-foot { position: relative; font-size: 11.5px; color: var(--side-muted); padding: 12px 6px 0; display: flex; align-items: center; gap: 6px; }

.main { flex: 1; min-width: 0; }
.topbar { display: none; }
.page { max-width: 1120px; margin: 0 auto; padding: 34px 36px 90px; animation: rise .25s ease; }
@keyframes rise { from { transform: translateY(6px); } }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 30px; letter-spacing: -.03em; }
.page-head p { color: var(--muted); margin-top: 6px; max-width: 720px; font-size: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }

@media (max-width: 860px) {
  .sidebar { position: fixed; z-index: 50; left: -290px; transition: left .2s; box-shadow: var(--shadow-lg); }
  .sidebar.open { left: 0; }
  .topbar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
  .topbar-title { font-weight: 600; }
  .page { padding: 22px 16px 90px; }
  .page-head h1 { font-size: 25px; }
}

/* ---------- kartlar ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card h2 { font-size: 18px; }
.card h3 { font-size: 16px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head .ch-badge { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.card-head .grow + * { flex: none; }
.card-sub { color: var(--muted); font-size: 14px; margin-top: 2px; font-weight: 400; letter-spacing: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 860px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 14.5px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, opacity .15s, transform .1s, box-shadow .15s, filter .15s;
}
.btn { position: relative; overflow: hidden; isolation: isolate; text-decoration: none !important; transition: background .2s, border-color .2s, color .2s, opacity .2s, box-shadow .25s, filter .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.btn .ic { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.btn:hover:not(:disabled) .ic { transform: translateX(2px) rotate(-4deg); }
.btn:active:not(:disabled) { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none !important; }
/* Dolgulu butonlar: yükselme + üzerinden geçen ışık */
.btn-primary:hover:not(:disabled), .btn-success:hover:not(:disabled), .btn-white:hover:not(:disabled), .btn-glass:hover:not(:disabled), .btn-outline:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary::after, .btn-success::after, .btn-white::after, .btn-glass::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .6s cubic-bezier(.2, .8, .2, 1);
}
.btn-white::after { background: linear-gradient(100deg, transparent, rgba(58, 108, 255, .14), transparent); }
.btn-primary:hover:not(:disabled)::after, .btn-success:hover:not(:disabled)::after, .btn-white:hover:not(:disabled)::after, .btn-glass:hover:not(:disabled)::after { left: 120%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.07); box-shadow: 0 14px 30px -10px rgba(58, 108, 255, .75); }
.btn-success { background: linear-gradient(135deg, #18c47e, #0d9b5f); color: #fff; box-shadow: 0 8px 22px -8px rgba(13, 155, 95, .7); }
.btn-success:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 14px 30px -10px rgba(13, 155, 95, .75); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover:not(:disabled) { filter: brightness(.95); }
.btn-outline { background: var(--panel); border-color: var(--line-2); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-outline:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover:not(:disabled) { background: var(--panel-3); color: var(--text); }
.btn-white { background: #fff; color: #1a3fa8; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .4); }
.btn-white:hover:not(:disabled) { color: #2a4fd6; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .45); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-glass:hover:not(:disabled) { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .5); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .35); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-icon { width: 42px; padding: 0; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 500; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- form ---------- */
label.lbl { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
input[type=text], input[type=number], input[type=search], select, textarea {
  width: 100%;
  font: inherit; color: var(--text);
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 13px;
  outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 124, 246, .14); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2395a0b4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 6px 0; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check .ct { font-weight: 500; }
.check .cs { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.check-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; font-size: 13.5px; font-weight: 500; transition: all .15s; }
.check-pill:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.check-pill input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }

/* ---------- uyarı kutuları ---------- */
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.note > .ic { margin-top: 2px; }
.note.info { background: var(--brand-soft); border-color: rgba(47, 124, 246, .18); }
.note.info > .ic { color: var(--brand); }
.note.warn { background: var(--warn-soft); border-color: rgba(194, 120, 3, .2); }
.note.warn > .ic { color: var(--warn); }
.note.err { background: var(--err-soft); border-color: rgba(224, 57, 62, .2); }
.note.err > .ic { color: var(--err); }
.note.ok { background: var(--ok-soft); border-color: rgba(15, 159, 98, .2); }
.note.ok > .ic { color: var(--ok); }
.note b { font-weight: 600; }
.note ul, .note ol { margin: 6px 0 0; padding-left: 20px; }
.note li { margin: 2px 0; }

/* ---------- bağlantı kartı ---------- */
.conn-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.conn-card .conn-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--panel-3); color: var(--muted); }
.conn-card.ok .conn-ic { background: var(--ok-soft); color: var(--ok); }
.conn-card.warn { border-color: rgba(245, 165, 36, .45); background: linear-gradient(90deg, var(--warn-soft), var(--panel) 55%); }
.conn-card.warn .conn-ic { background: #fff; color: var(--warn); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .conn-card.warn .conn-ic { background: var(--panel-3); } }
.conn-card .conn-body { flex: 1; min-width: 0; }
.conn-title { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.conn-text { color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (max-width: 640px) { .conn-card { flex-wrap: wrap; } .conn-card .btn { width: 100%; } }

/* ---------- rozetler ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--panel-3); color: var(--muted); white-space: nowrap; letter-spacing: 0; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.err { background: var(--err-soft); color: var(--err); }
.badge.info { background: var(--brand-soft); color: var(--brand-ink); }
.badge.run { background: var(--grad); color: #fff; }
.badge.run::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- ana sayfa ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 34px 36px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 24px 50px -24px rgba(58, 108, 255, .7);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 380px; height: 380px; right: -90px; top: -170px; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%); }
.hero::after { width: 260px; height: 260px; right: 160px; bottom: -190px; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); }
.hero-body { position: relative; flex: 1; min-width: 280px; z-index: 1; }
.hero h1 { font-size: 32px; letter-spacing: -.035em; }
.hero p { color: rgba(255, 255, 255, .85); margin-top: 8px; font-size: 15.5px; max-width: 560px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-art { position: relative; z-index: 1; width: 170px; height: 130px; flex: none; }
.hero-art .plane { position: absolute; right: 10px; top: 4px; width: 120px; height: 120px; border-radius: 34px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transform: rotate(-8deg); backdrop-filter: blur(4px); }
.hero-art .bub { position: absolute; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: #1a3fa8; font-size: 12px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); white-space: nowrap; }
.hero-art .bub.b1 { left: -14px; top: 18px; }
.hero-art .bub.b2 { left: 6px; bottom: 6px; background: #e8fff4; color: #0b7a4b; }
@media (max-width: 760px) { .hero { padding: 26px 22px; } .hero-art { display: none; } .hero h1 { font-size: 26px; } }
.hero-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hero-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ff0b0; box-shadow: 0 0 0 4px rgba(95, 240, 176, .25); }
.hero-status.warn .dot { background: #ffd166; box-shadow: 0 0 0 4px rgba(255, 209, 102, .25); }

.steps-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: how; }
@media (max-width: 860px) { .steps-how { grid-template-columns: 1fr; } }
.how { position: relative; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.how .num { width: 36px; height: 36px; border-radius: 12px; background: var(--grad-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.how h3 { font-size: 15.5px; margin-bottom: 5px; }
.how p { color: var(--muted); font-size: 14px; }

.action-card { position: relative; display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; overflow: hidden; }
.action-card:hover { border-color: rgba(58, 108, 255, .45); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.action-card .ac-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: var(--shadow-brand); }
.action-card.violet .ac-ic { background: linear-gradient(135deg, #a26bff, #6a4dff); box-shadow: 0 8px 22px -8px rgba(115, 87, 255, .7); }
.action-card h3 { font-size: 17px; }
.action-card p { color: var(--muted); font-size: 14px; margin-top: 3px; }
.action-card .ac-go { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: none; transition: all .15s; }
.action-card:hover .ac-go { background: var(--brand); color: #fff; }

.stat { position: relative; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px; }
.stat .st-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--panel-3); color: var(--muted); flex: none; }
.stat .sv { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .sl { color: var(--muted); font-size: 13px; margin-top: 2px; }
.stat.ok .st-ic { background: var(--ok-soft); color: var(--ok); }
.stat.ok .sv { color: var(--ok); }
.stat.err .st-ic { background: var(--err-soft); color: var(--err); }
.stat.err .sv { color: var(--err); }
.stat.info .st-ic { background: var(--brand-soft); color: var(--brand); }
.stat.info .sv { color: var(--brand); }
.stat.violet .st-ic { background: var(--violet-soft); color: var(--violet); }
.section-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 30px 0 12px; color: var(--faint); }

/* ---------- sihirbaz ---------- */
.stepper { display: flex; align-items: center; margin-bottom: 24px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stepper .st { display: flex; align-items: center; gap: 10px; color: var(--faint); font-weight: 600; font-size: 14px; cursor: default; min-width: 0; flex: none; }
.stepper .st-line { flex: 1; height: 2px; margin: 0 14px; border-radius: 2px; background: var(--line); min-width: 16px; }
.stepper .st-line.done { background: var(--grad); }
.stepper .st .sn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); border: 2px solid var(--line); font-size: 13px; flex: none; color: var(--muted); }
.stepper .st span.stl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper .st.done { color: var(--text); cursor: pointer; }
.stepper .st.done .sn { background: var(--ok); color: #fff; border-color: var(--ok); }
.stepper .st.cur { color: var(--text); }
.stepper .st.cur .sn { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 5px rgba(58, 108, 255, .15); }
@media (max-width: 760px) { .stepper .st span.stl { display: none; } .stepper .st.cur span.stl { display: inline; } }
.wiz-nav { position: sticky; bottom: 14px; display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 5; }
.wiz-nav.static { position: static; background: none; border: 0; box-shadow: none; backdrop-filter: none; padding: 0; }
.wiz-nav .wn-info { color: var(--muted); font-size: 14px; }
.wiz-nav .wn-info b { color: var(--text); font-size: 15px; }

.choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; text-align: left; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--panel); cursor: pointer; color: var(--text); font: inherit; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.choice:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.choice.sel { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), var(--panel)); box-shadow: 0 0 0 4px rgba(47, 124, 246, .12); }
.choice.sel::after { content: '✓'; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.choice .ch-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 12px; }
.choice .ch-t { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.choice .ch-s { color: var(--muted); font-size: 13px; margin-top: 3px; }
.tone-blue .ch-ic, .ch-ic.tone-blue { background: var(--brand-soft); color: var(--brand); }
.tone-green .ch-ic, .ch-ic.tone-green { background: var(--ok-soft); color: var(--ok); }
.tone-violet .ch-ic, .ch-ic.tone-violet { background: var(--violet-soft); color: var(--violet); }
.tone-pink .ch-ic, .ch-ic.tone-pink { background: var(--pink-soft); color: var(--pink); }
.tone-teal .ch-ic, .ch-ic.tone-teal { background: var(--teal-soft); color: var(--teal); }

.dropzone { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 34px; text-align: center; background: var(--panel-2); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone .dz-ic { width: 60px; height: 60px; border-radius: 18px; display: inline-grid; place-items: center; background: var(--panel); color: var(--brand); margin-bottom: 12px; box-shadow: var(--shadow); }
.dropzone .dz-t { font-weight: 700; font-size: 15.5px; }
.dropzone .dz-s { color: var(--muted); font-size: 13px; margin-top: 4px; }

.parse-sum { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }

/* alıcı listesi */
.rcp-list { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.rcp { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; transition: background .1s; }
.rcp:hover { background: var(--panel-2); }
.rcp:last-child { border-bottom: 0; }
.rcp .rk { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.rcp .rl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.rcp .rx { color: var(--faint); background: none; border: 0; cursor: pointer; padding: 5px; border-radius: 8px; display: grid; place-items: center; opacity: 0; transition: opacity .1s; }
.rcp:hover .rx { opacity: 1; }
.rcp .rx:hover { color: var(--err); background: var(--err-soft); }
.rcp-more { padding: 11px 12px; color: var(--muted); font-size: 13px; text-align: center; background: var(--panel-2); }
.rcp-empty { text-align: center; padding: 30px 16px; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: 14px; }
.rcp-empty .ic { color: var(--faint); margin-bottom: 6px; }

/* seçim listesi (sohbetler/rehber) */
.pick-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.pick-tools input[type=search] { flex: 1; min-width: 200px; padding-left: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2395a0b4' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 13px center; }
.seg { display: inline-flex; background: var(--panel-3); border-radius: 12px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 9px; cursor: pointer; transition: all .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.pick-list { max-height: 400px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pick { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .1s; }
.pick:last-child { border-bottom: 0; }
.pick:hover { background: var(--panel-2); }
.pick:has(input:checked) { background: var(--brand-soft); }
.pick input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.pick .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.pick .pn { flex: 1; min-width: 0; }
.pick .pn .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick .pn .s { color: var(--muted); font-size: 12.5px; }
.pick.disabled { opacity: .5; cursor: not-allowed; }

/* mesaj editörü */
.editor-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .editor-wrap { grid-template-columns: 1fr; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.chip.col { border-style: dashed; }
.chip.magic { border: 0; background: var(--grad-soft); color: var(--brand-ink); }
.chip.magic:hover { background: var(--grad); color: #fff; }
.counter { margin-left: auto; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--err); font-weight: 700; }
#msg-text { min-height: 230px; font-size: 15.5px; border-radius: 14px; }
.att-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.att { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.att .thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--panel); display: grid; place-items: center; color: var(--muted); flex: none; overflow: hidden; border: 1px solid var(--line); }
.att .thumb img { width: 100%; height: 100%; object-fit: cover; }
.att .an { flex: 1; min-width: 0; }
.att .an .t { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att .an .s { color: var(--muted); font-size: 12px; }

.phone { position: relative; border-radius: 22px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: #cfe3c8; box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .35); }
.phone::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(80, 120, 70, .22) 1.2px, transparent 1.3px); background-size: 18px 18px; pointer-events: none; }
@media (prefers-color-scheme: dark) { .phone { background: #17251d; box-shadow: none; } .phone::before { background-image: radial-gradient(rgba(140, 200, 150, .10) 1.2px, transparent 1.3px); } }
.phone-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); font-size: 14px; color: var(--text); font-weight: 600; border-bottom: 1px solid rgba(0, 0, 0, .06); }
@media (prefers-color-scheme: dark) { .phone-head { background: rgba(17, 24, 39, .85); border-color: var(--line); } }
.phone-head .ph-av { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.phone-head .ph-s { font-size: 12px; color: var(--muted); font-weight: 400; }
.phone-body { position: relative; padding: 16px; min-height: 250px; }
.bubble { position: relative; max-width: 88%; margin-left: auto; background: #effdde; color: #0e1a0e; border-radius: 16px 16px 4px 16px; padding: 9px 12px; white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
@media (prefers-color-scheme: dark) { .bubble { background: #2b5278; color: #fff; } }
.bubble .b-img { display: block; max-width: 100%; border-radius: 11px; margin: -3px -6px 7px; width: calc(100% + 12px); }
.bubble .b-file { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-weight: 600; font-size: 13px; }
.bubble .b-file .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #5fb04d; color: #fff; }
.bubble .b-time { text-align: right; font-size: 11px; opacity: .55; margin-top: 3px; }
.bubble.empty { color: #6b7d6b; font-style: italic; margin: 60px auto 0; text-align: center; border-radius: 16px; background: rgba(255, 255, 255, .7); }
.bubble + .bubble { margin-top: 8px; }
.var-ph { background: rgba(47, 124, 246, .18); color: #1a4fb4; border-radius: 5px; padding: 0 4px; font-weight: 500; }
@media (prefers-color-scheme: dark) { .var-ph { color: #cfe0ff; background: rgba(120, 170, 255, .28); } }

/* hız profilleri */
.prof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .prof-grid { grid-template-columns: 1fr; } }
.prof { position: relative; text-align: left; padding: 20px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--panel); cursor: pointer; font: inherit; color: var(--text); transition: all .15s; overflow: hidden; }
.prof:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.prof.sel { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 124, 246, .12); background: linear-gradient(180deg, var(--brand-soft), var(--panel) 70%); }
.prof .pe { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--panel-3); }
.prof.sel .pe { background: var(--panel); box-shadow: var(--shadow-sm); }
.prof .pt { font-weight: 700; font-size: 18px; margin-top: 12px; letter-spacing: -.02em; }
.prof .pd { color: var(--muted); font-size: 13.5px; margin-top: 4px; min-height: 40px; }
.prof ul { margin: 14px 0 0; padding: 14px 0 0; list-style: none; font-size: 13.5px; border-top: 1px dashed var(--line-2); }
.prof li { display: flex; gap: 8px; align-items: center; padding: 3px 0; color: var(--text); }
.prof li .ic { color: var(--brand); }
.prof .rec { position: absolute; top: 16px; right: 16px; }
.prof .meter { display: flex; gap: 3px; margin-top: 10px; }
.prof .meter i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.prof .meter.m1 i:nth-child(-n+1), .prof .meter.m2 i:nth-child(-n+2), .prof .meter.m3 i:nth-child(-n+3) { background: var(--mc, var(--ok)); }
.prof .meter-l { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
details.adv { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); }
details.adv summary { padding: 13px 16px; cursor: pointer; font-weight: 600; font-size: 14px; }
details.adv .adv-body { padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }

/* özet */
.sum-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.sum-row:last-child { border-bottom: 0; }
.sum-row .sk { width: 160px; flex: none; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 9px; }
.sum-row .sk .ic { color: var(--faint); }
.sum-row .sv { flex: 1; min-width: 0; font-weight: 500; }
.sum-row .sv .link-btn { font-weight: 500; font-size: 13px; margin-left: 8px; }
.sum-msg { white-space: pre-wrap; max-height: 170px; overflow: auto; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 400; }
@media (max-width: 600px) { .sum-row { flex-direction: column; gap: 4px; } .sum-row .sk { width: auto; } }
.launch { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(20, 184, 116, .10), rgba(58, 108, 255, .08)); border: 1px solid rgba(20, 184, 116, .25); }
.launch .ln-t { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.launch .ln-s { color: var(--muted); font-size: 14px; margin-top: 3px; max-width: 560px; }

/* ilerleme */
.progress { height: 12px; border-radius: 99px; background: var(--panel-3); overflow: hidden; display: flex; }
.progress .pg-ok { background: linear-gradient(90deg, #18c47e, #0f9f62); transition: width .5s ease; }
.progress .pg-err { background: linear-gradient(90deg, #ff7a7e, #e0393e); transition: width .5s ease; }
.big-status { display: flex; align-items: center; gap: 18px; }
.big-status .bs-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.big-status.ok .bs-ic { background: linear-gradient(135deg, #18c47e, #0d9b5f); box-shadow: 0 8px 22px -8px rgba(13, 155, 95, .7); }
.big-status.warn .bs-ic { background: linear-gradient(135deg, #ffbf4d, #f08c00); box-shadow: 0 8px 22px -8px rgba(240, 140, 0, .6); }
.big-status.err .bs-ic { background: linear-gradient(135deg, #ff7a7e, #d92d32); box-shadow: 0 8px 22px -8px rgba(217, 45, 50, .6); }
.big-status .bs-t { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.big-status .bs-s { color: var(--muted); margin-top: 3px; }
.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .ring-v { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 1px 8px; border-radius: 8px; margin-left: 4px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tablolar */
.table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: auto; max-height: 560px; background: var(--panel); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { position: sticky; top: 0; background: var(--panel-2); text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding: 11px 14px; border-bottom: 1px solid var(--line); z-index: 1; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover td { background: var(--panel-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { color: var(--faint); width: 54px; font-variant-numeric: tabular-nums; }
.tbl .reason { color: var(--muted); font-size: 13px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -6px 0 16px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; margin-bottom: -1px; transition: color .15s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-image: var(--grad) 1; border-bottom-width: 2px; border-bottom-style: solid; }
.log { font-size: 13px; max-height: 460px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.log .ll { display: flex; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.log .ll:last-child { border-bottom: 0; }
.log .lt { color: var(--faint); font-variant-numeric: tabular-nums; flex: none; }
.log .ll.ok .lm { color: var(--ok); }
.log .ll.error .lm { color: var(--err); }
.log .ll.warn .lm { color: var(--warn); }

/* gönderim listesi */
.camp { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.camp:hover { border-color: rgba(58, 108, 255, .45); text-decoration: none; transform: translateY(-1px); }
.camp .c-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.camp .c-ic.run { background: var(--grad); color: #fff; }
.camp .c-ic.ok { background: var(--ok-soft); color: var(--ok); }
.camp .c-ic.warn { background: var(--warn-soft); color: var(--warn); }
.camp .cm { flex: 1; min-width: 0; }
.camp .cn { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em; }
.camp .cs { color: var(--muted); font-size: 13px; margin-top: 3px; }
.camp .cp { width: 230px; flex: none; }
.camp .cp .progress { height: 8px; }
.camp .cp .cpn { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .camp { flex-wrap: wrap; } .camp .cp { width: 100%; } }

.empty { text-align: center; padding: 56px 20px; }
.empty .e-ic { width: 78px; height: 78px; border-radius: 24px; display: inline-grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-brand); }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); margin: 8px auto 22px; max-width: 440px; }

/* SSS */
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); margin-bottom: 10px; box-shadow: var(--shadow-sm); transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.faq summary .ic { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--muted); font-size: 22px; font-weight: 300; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); flex: none; }
.faq details[open] summary::after { content: '−'; background: var(--brand); color: #fff; }
.faq .fa { padding: 0 20px 18px 50px; color: var(--muted); }
.faq .fa p + p { margin-top: 8px; }
.faq .fa ul, .faq .fa ol { margin: 6px 0; padding-left: 20px; }
.faq code, .kbd { background: var(--panel-3); border: 1px solid var(--line); border-radius: 7px; padding: 1px 7px; font-size: 13px; color: var(--text); font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; }

/* modal & toast */
.modal-back { position: fixed; inset: 0; background: rgba(8, 13, 23, .5); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 100; padding: 16px; animation: fade .15s; }
.modal { background: var(--panel); border-radius: 22px; padding: 26px; width: 100%; max-width: 470px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: pop .18s ease; border: 1px solid var(--line); }
.modal h3 { font-size: 19px; margin-bottom: 8px; }
.modal p { color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }
.toast-wrap { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; background: #0e1525; color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; max-width: 400px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: none; }
.toast-ok { background: linear-gradient(135deg, #18c47e, #0d9b5f); }
.toast-error { background: linear-gradient(135deg, #ff6b6f, #d92d32); }
.toast-warn { background: linear-gradient(135deg, #f5a524, #d97f00); }

.loader { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 34px; color: var(--muted); }
.av-c0 { background: linear-gradient(135deg, #ff8a8f, #e5535b); } .av-c1 { background: linear-gradient(135deg, #8ad86f, #4fae3e); } .av-c2 { background: linear-gradient(135deg, #6cc2ff, #3a8ce8); } .av-c3 { background: linear-gradient(135deg, #b9a6ff, #8467f0); } .av-c4 { background: linear-gradient(135deg, #ff94c4, #e15b9b); } .av-c5 { background: linear-gradient(135deg, #6fe0dc, #2fb3b0); } .av-c6 { background: linear-gradient(135deg, #ffc08a, #f28c45); }

/* Hareket azaltmayı tercih edenler için animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* profil fotoğrafları */
.av { overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; animation: avIn .35s ease; }
@keyframes avIn { from { opacity: .2; transform: scale(1.08); } }
.av-sm { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 12.5px; flex: none; box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--line); }
.person { display: flex; align-items: center; gap: 11px; min-width: 0; }
.person .pname { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tıklanabilir istatistik kartları */
.stat-link { cursor: pointer; color: var(--text); text-decoration: none !important; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .2s; }
.stat-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(58, 108, 255, .4); }
.stat-link.ok:hover { border-color: rgba(15, 159, 98, .45); }
.stat-link.err:hover { border-color: rgba(224, 57, 62, .45); }
.stat-link.violet:hover { border-color: rgba(115, 87, 255, .45); }
.stat-link:active { transform: translateY(-1px) scale(.99); }
.stat-link .st-ic { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.stat-link:hover .st-ic { transform: scale(1.08) rotate(-4deg); }
.stat .st-go { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); color: var(--faint); flex: none; transition: all .25s cubic-bezier(.2, .8, .2, 1); }
.stat-link:hover .st-go { background: var(--brand); color: #fff; transform: translateX(3px); }
.stat-link.ok:hover .st-go { background: var(--ok); }
.stat-link.violet:hover .st-go { background: var(--violet); }

/* sonuç tablosu: seçim çubuğu ve sayfalama */
.selbar-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.selbar-in.has { background: var(--brand-soft); border-color: rgba(47, 124, 246, .3); }
.selbar-in .sb-info { flex: 1; min-width: 220px; display: flex; flex-direction: column; }
.selbar-in .sb-count { font-weight: 700; }
.selbar-in.has .sb-count { color: var(--brand-ink); }
.btn-cnt { background: rgba(255, 255, 255, .25); border-radius: 99px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.btn-outline .btn-cnt { background: var(--panel-3); color: var(--text); }
.tbl input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; vertical-align: middle; }
.tbl tbody tr[data-row] { cursor: pointer; }
.tbl tbody tr.row-sel td { background: var(--brand-soft); }
.tbl tbody tr.row-sel:hover td { background: color-mix(in srgb, var(--brand-soft) 80%, var(--brand) 6%); }
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pg-btn { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-grid; place-items: center; transition: all .15s; }
.pg-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-ink); }
.pg-btn.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-gap { color: var(--faint); padding: 0 2px; }

/* Hesap durumu kartı */
.health { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.health .hl-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--panel-3); color: var(--muted); }
.health .hl-t { font-weight: 600; }
.health .hl-s { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.health.ok .hl-ic { background: var(--ok-soft); color: var(--ok); }
.health.warn .hl-ic { background: var(--warn-soft); color: var(--warn); }
.health.err { border-color: rgba(229, 72, 77, .4); }
.health.err .hl-ic { background: var(--err-soft); color: var(--err); }
.health .hl-raw { margin-top: 8px; font-size: 13px; }
.health .hl-raw summary { cursor: pointer; color: var(--brand-ink); }
.health .hl-raw div { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--panel-3); white-space: pre-wrap; }

/* Kenar çubuğu: bağlı hesabın profil fotoğrafı */
.side-pill .sp-av { position: relative; flex: none; width: 36px; height: 36px; }
.side-pill .sp-av .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.side-pill .sp-av .dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border: 2px solid var(--side-bg, #0f1629); box-shadow: none; }
.side-pill.ok .sp-av .dot { box-shadow: none; }

/* ===== Google girişi (InstaStack giriş penceresiyle aynı yapı) ===== */
body.blurred-background .layout { filter: blur(8px); pointer-events: none; overflow: hidden; user-select: none; }
.login-modal-overlay { position: fixed; inset: 0; background: rgba(8, 14, 30, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 10000; animation: lmFade .35s ease; overflow-y: auto; padding: 24px 16px; }
@keyframes lmFade { from { opacity: 0; } }
.login-modal-content { background: var(--panel); border-radius: 24px; padding: 40px 32px; max-width: 420px; width: 100%; box-shadow: 0 24px 48px rgba(0, 0, 0, .14), 0 8px 16px rgba(58, 108, 255, .10); animation: lmUp .4s cubic-bezier(.34, 1.56, .64, 1); position: relative; overflow: hidden; border: 1px solid var(--line); }
@keyframes lmUp { from { transform: translateY(24px) scale(.98); opacity: 0; } }
.login-modal-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.login-modal-header { text-align: center; margin-bottom: 28px; }
.login-modal-icon { width: 72px; height: 72px; margin: 0 auto 18px; background: var(--grad-soft); border-radius: 20px; display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.login-modal-header h2 { font-size: 24px; margin: 0 0 8px; color: var(--text); font-weight: 700; letter-spacing: -.02em; }
.login-modal-header p { color: var(--muted); font-size: 15px; margin: 0; }
.login-modal-body { display: flex; flex-direction: column; gap: 18px; }
.login-modal-trust { background: var(--grad-soft); border-radius: 16px; padding: 14px 18px; }
.login-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 4px 0; }
.login-trust-item .ic { color: var(--ok); flex: none; }
.login-modal-footer { text-align: center; }
.login-hint { color: var(--faint); font-size: 13px; margin: 0; }
.login-error { background: var(--err-soft); border: 1px solid rgba(224, 57, 62, .3); color: var(--err); padding: 12px 16px; border-radius: 10px; font-size: 14px; text-align: center; animation: lmShake .3s ease; }
@keyframes lmShake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.btn-google { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 24px; background: linear-gradient(180deg, #f8fafc, #f1f5f9); border: 1.5px solid rgba(66, 133, 244, .25); border-radius: 14px; color: #1e293b; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .28s ease; box-shadow: 0 2px 8px rgba(66, 133, 244, .12); }
.btn-google:hover:not(:disabled) { background: linear-gradient(180deg, #eff6ff, #e0f2fe); border-color: rgba(66, 133, 244, .45); box-shadow: 0 6px 20px rgba(66, 133, 244, .2); transform: translateY(-2px); }
.btn-google:active:not(:disabled) { transform: none; }
.btn-google:disabled { opacity: .7; cursor: not-allowed; }
.btn-google-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .08); flex: none; }

/* Kenar çubuğu: Google hesabı */
.side-user:empty { display: none; }
/* Hesap kartı menüden ayrı, en altta (bağlantı kartının üstünde) */
.side-user { margin-top: auto; margin-bottom: 10px; }
/* Menü ile hesap kartı arasında en az boşluk + ince ayırıcı çizgi */
#nav { margin-bottom: 28px; }
.side-user:not(:empty) { border-top: 1px solid var(--side-line); padding-top: 16px; }
.side-user:not(:empty) + .side-conn { margin-top: 0; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--side-line); }
.user-card .uc-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.user-card .uc-ph { display: grid; place-items: center; background: var(--side-active); color: var(--side-text); }
.user-card .uc-body { min-width: 0; flex: 1; }
.user-card .uc-name { color: #fff; font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.membership-badge { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--side-active); color: var(--side-text); }
.membership-badge.premium { background: linear-gradient(135deg, #ffd166, #f5a524); color: #3b2500; }
.user-card .uc-out { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 0; background: transparent; color: var(--side-muted); cursor: pointer; display: grid; place-items: center; }
.user-card .uc-out:hover { background: var(--side-hover); color: #fff; }

/* Diğer Eklentiler */
.other-extensions-content { display: flex; flex-direction: column; min-height: 200px; }
.other-extensions-loader, .other-extensions-empty, .other-extensions-error { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; gap: 12px; text-align: center; color: var(--muted); }
.other-extensions-loader p, .other-extensions-empty p, .other-extensions-error p { margin: 0; font-size: 14px; }
.other-extensions-error .ic { color: var(--warn-2); }
.other-extensions-spinner { width: 24px; height: 24px; border: 2px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
.other-extensions-list { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.other-extensions-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px; min-height: 64px; border-bottom: 1px solid var(--line); transition: background .2s; }
.other-extensions-item:last-child { border-bottom: 0; }
.other-extensions-item:hover { background: var(--panel-2); }
.other-extensions-item img { width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: 10px; background: var(--panel-3); }
.other-extensions-item-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.other-extensions-item-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--brand-ink); text-decoration: none; border-radius: 10px; background: var(--brand-soft); border: 1px solid rgba(47, 124, 246, .18); flex: none; transition: all .2s; }
.other-extensions-item-link:hover { background: var(--brand); color: #fff; }
@media (max-width: 560px) { .other-extensions-item { flex-wrap: wrap; } .other-extensions-item-title { white-space: normal; } }


/* ===== Sağdan sola diller (ar, fa, he): yön bağımlı kuralların aynası ===== */
[dir="rtl"] .nav a.active::before { left: auto; right: -16px; border-radius: 4px 0 0 4px; }
[dir="rtl"] .nav .nav-badge,
[dir="rtl"] .action-card .ac-go,
[dir="rtl"] .counter,
[dir="rtl"] .faq summary::after,
[dir="rtl"] .stat .st-go { margin-left: 0; margin-right: auto; }
[dir="rtl"] .side-pill,
[dir="rtl"] .choice,
[dir="rtl"] .prof,
[dir="rtl"] .tbl th { text-align: right; }
[dir="rtl"] .note ul, [dir="rtl"] .note ol, [dir="rtl"] .faq .fa ul, [dir="rtl"] .faq .fa ol { padding-left: 0; padding-right: 20px; }
[dir="rtl"] select { background-position: left 13px center; padding-right: 13px; padding-left: 36px; }
[dir="rtl"] .pick-tools input[type=search] { padding-left: 12px; padding-right: 38px; background-position: right 13px center; }
[dir="rtl"] .bubble { margin-left: 0; margin-right: auto; border-radius: 16px 16px 16px 4px; }
[dir="rtl"] .choice.sel::after { right: auto; left: 12px; }
[dir="rtl"] .prof .rec { right: auto; left: 16px; }
[dir="rtl"] .sum-row .sv .link-btn { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .countdown { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .toast-wrap { right: auto; left: 22px; }
[dir="rtl"] .side-pill .sp-av .dot { right: auto; left: -1px; }
[dir="rtl"] .hero-art { transform: scaleX(-1); }
[dir="rtl"] .hero-art .bub { transform: scaleX(-1); }
/* İleri/geri okları ters yöne baksın */
[dir="rtl"] .ac-go .ic, [dir="rtl"] .st-go .ic, [dir="rtl"] #next-btn .ic, [dir="rtl"] [data-a="back"] .ic { transform: scaleX(-1); }
[dir="rtl"] .stat-link:hover .st-go { transform: translateX(-3px); }
[dir="rtl"] .btn:hover:not(:disabled) .ic { transform: translateX(-2px) rotate(4deg); }
[dir="rtl"] #next-btn:hover:not(:disabled) .ic, [dir="rtl"] [data-a="back"]:hover:not(:disabled) .ic { transform: scaleX(-1) translateX(2px); }
/* Telefon numaraları, kullanıcı adları ve sayılar soldan sağa kalsın */
[dir="rtl"] input[type=tel], [dir="rtl"] .kbd, [dir="rtl"] .countdown { direction: ltr; unicode-bidi: embed; }
@media (max-width: 900px) {
  [dir="rtl"] .sidebar { left: auto; right: -290px; transition: right .2s; }
  [dir="rtl"] .sidebar.open { right: 0; left: auto; }
}

/* ===== Premium / kullanım ===== */
.btn-upgrade { background: linear-gradient(135deg, #ffcf5c, #f5a524); color: #3b2500; border: 0; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(245, 165, 36, .9); }
.btn-upgrade:hover:not(:disabled) { filter: brightness(1.05); }
.btn-block { width: 100%; justify-content: center; }

.side-usage:empty { display: none; }
.side-usage { margin-bottom: 10px; }
.usage.compact { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--side-line); color: var(--side-text); }
.usage.compact .us-cap { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--side-muted); margin-bottom: 6px; }
.usage.compact .us-row { margin-bottom: 8px; }
.usage.compact .us-top { font-size: 12px; }
.usage.compact .us-top b { color: #fff; }
.usage.compact .us-bar { background: rgba(255, 255, 255, .08); }
.usage.compact.premium { font-size: 12.5px; font-weight: 600; color: #ffd98a; }

.usage { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-sm); }
.usage.full { border-color: rgba(245, 165, 36, .55); background: linear-gradient(90deg, var(--warn-soft), var(--panel) 60%); }
.usage.premium { background: linear-gradient(90deg, #fff6e0, var(--panel) 60%); border-color: rgba(245, 165, 36, .4); }
.us-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.us-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 20px; flex: none; }
.us-t { font-weight: 600; }
.us-s { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 640px) { .us-grid { grid-template-columns: 1fr; } }
.us-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 5px; }
.us-bar { height: 7px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.us-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .4s; }
.us-bar.warn i { background: linear-gradient(90deg, #ffcf5c, #f5a524); }
.us-bar.err i { background: var(--err); }
.plan-note { border-color: rgba(245, 165, 36, .5); background: var(--warn-soft); align-items: center; }

.pm-back { position: fixed; inset: 0; z-index: 9000; background: rgba(8, 14, 30, .55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; animation: lmFade .25s ease; }
.pm { position: relative; width: 100%; max-width: 920px; background: var(--panel); border-radius: 24px; padding: 32px 28px 24px; box-shadow: var(--shadow-lg); animation: lmUp .35s cubic-bezier(.34, 1.56, .64, 1); }
.pm-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--panel-3); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
[dir="rtl"] .pm-close { right: auto; left: 14px; }
.pm-head { text-align: center; margin-bottom: 22px; }
.pm-crown { font-size: 34px; }
.pm-head h2 { margin: 6px 0 6px; font-size: 24px; }
.pm-head p { margin: 0; color: var(--muted); }
.pm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .pm-cards { grid-template-columns: 1fr; } }
.pm-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--panel); }
.pm-featured { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: var(--shadow-brand); }
.pm-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.pm-name { font-weight: 700; font-size: 16px; }
.pm-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pm-old { color: var(--faint); text-decoration: line-through; font-size: 15px; }
.pm-old:empty { display: none; }
.pm-new { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pm-per { color: var(--muted); font-size: 13px; }
.pm-off { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 9px; border-radius: 99px; }
.pm-off:empty, .pm-save:empty, .pm-current:empty { display: none; }
.pm-save { font-size: 12.5px; color: var(--ok); font-weight: 600; }
.pm-card ul { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pm-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.pm-card li .ic { color: var(--ok); flex: none; margin-top: 2px; }
.pm-card li.off { color: var(--faint); }
.pm-card li.off .ic { color: var(--faint); }
.pm-current { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px; border-radius: 12px; background: var(--panel-3); }
.pm-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }


/* Planos Postele: o Free tem três quotas diárias; os cartões pagos aguardam checkout. */
.usage .us-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usage .us-row { margin: 8px 0; }
.usage .us-row .us-top { font-size: 11.5px; }
.usage .us-row .us-bar { height: 5px; }
.pm-back[data-postele-upgrade] .pm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-back[data-postele-upgrade] .pm-card { min-height: 280px; }
.pm-back[data-postele-upgrade] .pm-foot { line-height: 1.5; padding: 10px 14px; border-radius: 12px; background: var(--panel-3); }
@media (max-width: 760px) {
  .usage .us-grid { grid-template-columns: 1fr; }
  .pm-back[data-postele-upgrade] .pm-cards { grid-template-columns: 1fr; }
  .pm-back[data-postele-upgrade] .pm-card { min-height: auto; }
}
