/* === SECTION: Panel screens — late screens/animations cascade slice 4/4 === */

  @keyframes barGrow{ from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .highlight-card{
    background: linear-gradient(135deg, #243d32 0%, #2f6b52 100%);
    color: #fff; border: none;
  }
  .highlight-card .stat-lbl{ color: rgba(180,212,195,.78); }
  .stat-card-animate{ animation: statIn .45s ease both; }
  .stat-card-animate:nth-child(2){ animation-delay: .05s; }
  .stat-card-animate:nth-child(3){ animation-delay: .1s; }
  .stat-card-animate:nth-child(4){ animation-delay: .15s; }
  @keyframes statIn{
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .chart-box-tall{ position: relative; height: 240px; width: 100%; }
  @media (min-width: 768px){ .chart-box-tall { height: 280px; } }
  .chart-box-trend{ height: 280px; }
  @media (min-width: 768px){ .chart-box-trend { height: 340px; } }
  @media (max-width: 767px){ .istat-panel--trend .chart-box-trend { height: 300px; } }

  /* ── İstatistik · Mythos analitik ── */
  .istat-shell{ display: flex; flex-direction: column; gap: .7rem; position: relative; min-height: 12rem; }
  .istat-lock{
    position: absolute; inset: 0; z-index: 25; border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
    background: rgba(255,251,235,.94); backdrop-filter: blur(10px);
    text-align: center; padding: 2rem 1.5rem;
  }
  .istat-lock.hidden{ display: none; }
  .istat-hero{
    position: relative; overflow: hidden; border-radius: 20px;
    padding: 1.15rem 1.25rem 1.05rem;
    background: var(--p2-card-surface);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 22px 56px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06);
  }
  .istat-hero-glow, .istat-hero-glow-2{ position: absolute; pointer-events: none; }
  .istat-hero-glow{
    top: -45%; right: -8%; width: 52%; height: 130%;
    background: radial-gradient(ellipse, rgba(201,138,75,.2), transparent 68%);
  }
  .istat-hero-glow-2{
    bottom: -35%; left: -6%; width: 42%; height: 85%;
    background: radial-gradient(ellipse, rgba(106,171,138,.14), transparent 72%);
  }
  .istat-hero-top{ display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; position: relative; z-index: 1; }
  .istat-eyebrow{
    font-family: var(--rv-font); font-size: .62rem; letter-spacing: .03em; font-weight: 600;
    color: var(--rv-cyan); margin: 0 0 .2rem;
  }
  .istat-hero-title{
    font-family: var(--rv-font-d); font-size: 1.38rem; font-weight: 700;
    letter-spacing: -.03em; color: var(--rv-text); margin: 0; line-height: 1.15;
  }
  .istat-hero-sub{ font-size: .78rem; color: var(--rv-text-2); margin: .3rem 0 0; }
  .istat-bayat-rozet{
    display: inline-block; margin: .35rem 0 0; font-size: .68rem; font-weight: 700;
    color: var(--rv-gold-2); background: rgba(201,138,75,.12);
    border: 1px solid rgba(201,138,75,.3); border-radius: 999px; padding: .18rem .55rem;
  }
  .istat-pro-pill{
    flex-shrink: 0; font-size: .58rem; font-weight: 700; letter-spacing: .03em;
    padding: .3rem .62rem; border-radius: 999px;
    background: linear-gradient(135deg, rgba(201,138,75,.22), rgba(201,138,75,.06));
    border: 1px solid rgba(201,138,75,.38); color: var(--rv-gold-2);
  }
  .istat-period{ display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .95rem; position: relative; z-index: 1; }
  .istat-period .period-pill{
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: var(--rv-text-2);
    padding: .42rem .78rem; font-family: var(--rv-font); font-size: .72rem; letter-spacing: .02em;
  }
  .istat-period .period-pill.active{
    background: linear-gradient(135deg, rgba(106,171,138,.18), rgba(201,138,75,.14));
    border-color: rgba(201,138,75,.42); color: var(--rv-text);
    box-shadow: 0 0 22px rgba(201,138,75,.14), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .istat-plan-note{ font-size: .66rem; color: var(--rv-text-3); margin: .55rem 0 0; position: relative; z-index: 1; }
  .istat-kpi-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  @media (min-width: 768px){ .istat-kpi-grid { grid-template-columns: repeat(5, 1fr); gap: .55rem; } }
  .istat-kpi{
    position: relative; overflow: hidden; border-radius: 16px;
    padding: .82rem .92rem;
    background: var(--p2-card-surface);
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
  }
  .istat-kpi::after{
    content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--kpi-accent, var(--rv-cyan)), transparent);
    opacity: .75;
  }
  .istat-kpi-lbl{
    font-family: var(--rv-font); font-size: .6rem; letter-spacing: .02em; font-weight: 600;
    color: var(--rv-text-3);
  }
  .istat-kpi-val{
    font-family: var(--rv-font-d); font-size: 1.55rem; font-weight: 700;
    letter-spacing: -.03em; margin-top: .25rem; line-height: 1;
  }
  @media (min-width: 768px){ .istat-kpi-val { font-size: 1.75rem; } }
  .istat-kpi--toplam .istat-kpi-val{ color: var(--rv-text); }
  .istat-kpi--geldi{ --kpi-accent: #34d399; } .istat-kpi--geldi .istat-kpi-val{ color: #34d399; }
  .istat-kpi--gelmedi{ --kpi-accent: #fb923c; } .istat-kpi--gelmedi .istat-kpi-val{ color: #fb923c; }
  .istat-kpi--iptal{ --kpi-accent: #94a3b8; } .istat-kpi--iptal .istat-kpi-val{ color: var(--rv-text-2); }
  .istat-kpi--oran{ --kpi-accent: var(--rv-gold); } .istat-kpi--oran .istat-kpi-val{ color: var(--rv-gold-2); }
  .istat-kpi--oran{ grid-column: span 2; }
  @media (min-width: 768px){ .istat-kpi--oran { grid-column: span 1; } }
  .istat-kpi-animate{ animation: statIn .5s cubic-bezier(.22,1,.36,1) both; }
  .istat-kpi-animate:nth-child(2){ animation-delay: .04s; }
  .istat-kpi-animate:nth-child(3){ animation-delay: .08s; }
  .istat-kpi-animate:nth-child(4){ animation-delay: .12s; }
  .istat-kpi-animate:nth-child(5){ animation-delay: .16s; }
  .istat-feature{
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .9rem 1.05rem; border-radius: 16px;
    background: linear-gradient(125deg, rgba(201,138,75,.14) 0%, rgba(47,107,82,.22) 55%, rgba(8,10,18,.4) 100%);
    border: 1px solid rgba(201,138,75,.22);
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
  }
  .istat-feature-lbl{ font-family: var(--rv-font-m); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rv-text-3); }
  .istat-feature-name{ font-family: var(--rv-font-d); font-weight: 700; font-size: 1.05rem; color: var(--rv-text); margin-top: .15rem; }
  .istat-feature-num{ font-family: var(--rv-font-d); font-size: 1.65rem; font-weight: 700; color: var(--rv-gold-2); line-height: 1; }
  .istat-feature-unit{ font-size: .68rem; color: var(--rv-text-3); font-weight: 600; margin-top: .15rem; text-align: right; }
  .istat-panel{
    border-radius: 18px; padding: 1rem 1.1rem 1.05rem;
    background: linear-gradient(168deg, rgba(13,16,26,.96), rgba(8,10,18,.98));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 14px 40px rgba(0,0,0,.28);
  }
  .istat-panel-head{ display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .7rem; }
  .istat-panel-head h3{ font-family: var(--rv-font-d); font-size: .94rem; font-weight: 700; color: var(--rv-text); margin: 0; }
  .istat-panel-meta{ font-family: var(--rv-font-m); font-size: .56rem; letter-spacing: .1em; color: var(--rv-text-3); text-transform: uppercase; }
  .istat-split{ display: grid; gap: .65rem; }
  @media (min-width: 768px){ .istat-split { grid-template-columns: 1fr 1fr; } }
  .istat-yogun{ display: grid; gap: .5rem; }
  @media (min-width: 640px){ .istat-yogun { grid-template-columns: 1.2fr 1fr; } }
  .istat-yogun-card{
    border-radius: 14px; padding: .82rem .95rem;
    background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  }
  .istat-yogun-title{ font-family: var(--rv-font-m); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rv-text-3); margin-bottom: .45rem; }
  .istat-yogun-row{ display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .8rem; padding: .38rem 0; border-bottom: 1px solid rgba(255,255,255,.04); }
  .istat-yogun-row:last-child{ border-bottom: none; }
  .istat-yogun-val{ font-family: var(--rv-font-d); font-weight: 700; color: var(--rv-cyan); flex-shrink: 0; }
  .istat-yogun-big{ font-family: var(--rv-font-d); font-size: 1.1rem; font-weight: 700; color: var(--rv-gold-2); margin-top: .25rem; line-height: 1.3; }
  .istat-svc-item{ padding: .55rem 0; }
  .istat-svc-item + .istat-svc-item{ border-top: 1px solid rgba(255,255,255,.04); }
  .istat-svc-top{ display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; font-weight: 600; margin-bottom: .42rem; }
  .istat-svc-name{ color: var(--rv-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .istat-svc-pct{ color: var(--rv-cyan); font-family: var(--rv-font-m); font-size: .7rem; flex-shrink: 0; }
  .istat-svc-track{ height: 5px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
  .istat-svc-fill{ height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rv-cyan), var(--rv-gold)); transform-origin: left; animation: barGrow .7s cubic-bezier(.22,1,.36,1) both; }
  html.theme-light .istat-hero{
    background: linear-gradient(155deg, #ffffff 0%, #faf6ef 52%, #f3ece0 100%);
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: 0 8px 28px rgba(15,23,42,.07);
  }
  html.theme-light .istat-hero-title{ color: #020617 !important; font-size: 1.42rem !important; font-weight: 800 !important; }
  html.theme-light .istat-hero-sub, html.theme-light .istat-plan-note{ color: #64748b; }
  html.theme-light .istat-eyebrow{ color: #3d7a5f; }
  html.theme-light .istat-pro-pill{ background: #f4f5f8; border-color: #e8ecf2; color: #92400e; }
  html.theme-light .istat-period .period-pill{ background: #fff; border-color: rgba(15,23,42,.1); color: #64748b; }
  html.theme-light .istat-period .period-pill.active{
    background: linear-gradient(135deg, #2f6b52, #4a8f6f); border-color: transparent; color: #fff;
    box-shadow: 0 4px 16px rgba(47,107,82,.28);
  }
  html.theme-light .istat-kpi{
    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.11) !important;
    box-shadow: 0 4px 16px rgba(15,23,42,.05) !important;
  }
  html.theme-light .istat-kpi-lbl{ color: #94a3b8; }
  html.theme-light .istat-kpi--toplam .istat-kpi-val{ color: #0f172a; }
  html.theme-light .istat-kpi--iptal .istat-kpi-val{ color: #64748b; }
  html.theme-light .istat-feature{
    background: linear-gradient(125deg, #f4f5f8 0%, #edf5f0 55%, #fff 100%);
    border-color: rgba(201,138,75,.25); box-shadow: 0 6px 20px rgba(15,23,42,.06);
  }
  html.theme-light .istat-feature-name{ color: #0f172a; }
  html.theme-light .istat-feature-num{ color: #7a8494; }
  html.theme-light .istat-panel{
    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.12) !important;
    box-shadow: 0 6px 22px rgba(15,23,42,.06) !important;
  }
  html.theme-light .istat-panel-head h3{ color: #020617 !important; font-size: 1rem !important; font-weight: 800 !important; }
  html.theme-light .istat-yogun-card{ background: #fff; border-color: rgba(15,23,42,.07); }
  html.theme-light .istat-yogun-val{ color: #3d7a5f; }
  html.theme-light .istat-yogun-big{ color: #7a8494; }
  html.theme-light .istat-svc-name{ color: #0f172a; }
  html.theme-light .istat-svc-pct{ color: #3d7a5f; }
  html.theme-light .istat-svc-track{ background: #e2e8f0; }
  html.theme-light .istat-svc-item + .istat-svc-item{ border-color: rgba(15,23,42,.06); }
  html.theme-light .section-title{
    border: none;
    background: transparent;
  }
  html.theme-light .istat-hero-title,
  html.theme-light .istat-hero .section-title{
    border: none; background: transparent; padding: 0;
  }
  .istat-zone{ display: flex; flex-direction: column; gap: .65rem; }
  .istat-zone-head{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .35rem .75rem; }
  .istat-stok-grid{ display: grid; gap: .55rem; }
  @media (min-width: 640px){ .istat-stok-grid { grid-template-columns: repeat(3, 1fr); } }
  .istat-stok-mini{
    border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
    padding: .65rem .75rem; background: rgba(255,255,255,.02);
    font-size: .78rem; color: var(--rv-text-2); line-height: 1.45;
  }
  .istat-stok-mini strong{ color: var(--rv-text); font-weight: 700; display: block; margin-bottom: .35rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
  html.theme-light .istat-stok-mini{ background: #fff; border-color: rgba(15,23,42,.08); }
  html.theme-light .rv-rail-num{ color: #0f172a; }

  /* ── Kara liste · Mythos güvenlik ── */
  .kara-shell{ display: flex; flex-direction: column; gap: .7rem; }
  .kara-hero{
    position: relative; overflow: hidden; border-radius: 20px;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(155deg, #1a0a0a 0%, #1c1018 45%, #120d1a 100%);
    border: 1px solid rgba(239,68,68,.15);
    box-shadow: 0 20px 50px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05);
  }
  .kara-hero-glow, .kara-hero-glow-2{ position: absolute; pointer-events: none; }
  .kara-hero-glow{
    top: -40%; right: -5%; width: 50%; height: 120%;
    background: radial-gradient(ellipse, rgba(239,68,68,.16), transparent 68%);
  }
  .kara-hero-glow-2{
    bottom: -30%; left: -8%; width: 45%; height: 80%;
    background: radial-gradient(ellipse, rgba(201,138,75,.1), transparent 72%);
  }
  .kara-hero-top{ display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; position: relative; z-index: 1; }
  .kara-eyebrow{
    font-family: var(--rv-font); font-size: .62rem; letter-spacing: .03em; font-weight: 600;
    color: #f87171; margin: 0 0 .2rem;
  }
  .kara-hero-title{
    font-family: var(--rv-font-d); font-size: 1.32rem; font-weight: 700;
    letter-spacing: -.03em; color: var(--rv-text); margin: 0;
  }
  .kara-hero-sub{ font-size: .78rem; color: var(--rv-text-2); margin: .3rem 0 0; max-width: 28rem; }
  .kara-count{
    flex-shrink: 0; text-align: right;
    font-family: var(--rv-font-d); font-size: 1.5rem; font-weight: 700; color: #fca5a5; line-height: 1;
  }
  .kara-count-lbl{ font-family: var(--rv-font-m); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rv-text-3); margin-top: .2rem; }
  .kara-shield-grid{ display: grid; gap: .45rem; }
  @media (min-width: 640px){ .kara-shield-grid { grid-template-columns: 1fr; } }
  .kara-shield-item{
    display: flex; align-items: flex-start; gap: .55rem;
    padding: .75rem .85rem; border-radius: 14px;
    background: linear-gradient(168deg, rgba(14,17,28,.94), rgba(8,10,18,.97));
    border: 1px solid rgba(255,255,255,.06);
  }
  .kara-shield-ico{
    width: 2rem; height: 2rem; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: .95rem;
    background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.2);
  }
  .kara-shield-title{ font-size: .72rem; font-weight: 800; color: var(--rv-text); line-height: 1.25; }
  .kara-shield-desc{ font-size: .66rem; color: var(--rv-text-3); margin-top: .15rem; line-height: 1.4; }
  .kara-shield-pro{ font-size: .58rem; font-weight: 800; color: var(--rv-gold-2); letter-spacing: .04em; }
  .kara-panel{
    border-radius: 18px; padding: 1rem 1.1rem;
    background: linear-gradient(168deg, rgba(13,16,26,.96), rgba(8,10,18,.98));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 12px 36px rgba(0,0,0,.24);
  }
  .kara-panel-form{ border-color: rgba(239,68,68,.12); }
  .kara-panel-head{ display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .75rem; }
  .kara-panel-head h3{ font-family: var(--rv-font-d); font-size: .92rem; font-weight: 700; color: var(--rv-text); margin: 0; }
  .kara-panel-meta{ font-family: var(--rv-font-m); font-size: .56rem; letter-spacing: .1em; color: var(--rv-text-3); text-transform: uppercase; }
  .kara-btn-block{
    width: 100%; padding: .82rem 1rem; border-radius: 12px; border: none; cursor: pointer;
    font-size: .82rem; font-weight: 800; letter-spacing: .02em;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff; box-shadow: 0 6px 20px rgba(220,38,38,.28);
    transition: transform .12s, box-shadow .15s;
  }
  .kara-btn-block:hover{ box-shadow: 0 8px 26px rgba(220,38,38,.38); }
  .kara-btn-block:active{ transform: scale(.98); }
  .kara-row{
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .82rem .9rem; border-radius: 14px;
    background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
    animation: statIn .4s cubic-bezier(.22,1,.36,1) both;
  }
  .kara-row + .kara-row{ margin-top: .45rem; }
  .kara-row-tel{ font-family: var(--rv-font-d); font-weight: 700; font-size: .92rem; color: var(--rv-text); }
  .kara-row-meta{ font-size: .72rem; color: var(--rv-text-3); margin-top: .2rem; line-height: 1.35; }
  .kara-badge-auto{
    display: inline-block; font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: .12rem .4rem; border-radius: 999px; margin-left: .35rem;
    background: rgba(201,138,75,.15); border: 1px solid rgba(201,138,75,.3); color: var(--rv-gold-2);
  }
  .kara-btn-affet{
    flex-shrink: 0; padding: .45rem .7rem; border-radius: 10px; border: 1px solid rgba(52,211,153,.25);
    background: rgba(74,143,111,.1); color: #9ecfb5; font-size: .68rem; font-weight: 800; cursor: pointer;
    transition: background .15s;
  }
  .kara-btn-affet:hover{ background: rgba(74,143,111,.18); }
  .kara-empty{
    text-align: center; padding: 2.2rem 1rem; border-radius: 14px;
    background: rgba(255,255,255,.02); border: 1px dashed rgba(255,255,255,.08);
  }
  .kara-empty-ico{ font-size: 2rem; opacity: .55; margin-bottom: .5rem; }
  .kara-empty-title{ font-family: var(--rv-font-d); font-weight: 700; color: var(--rv-text-2); font-size: .9rem; }
  .kara-empty-sub{ font-size: .72rem; color: var(--rv-text-3); margin-top: .25rem; }
  .kara-link-ayar{ font-size: .68rem; color: var(--rv-cyan); font-weight: 600; }
  .kara-link-ayar:hover{ text-decoration: underline; }
  html.theme-light .kara-hero{
    background: linear-gradient(155deg, #ffffff 0%, #fff5f5 50%, #fef2f2 100%);
    border: 1px solid rgba(239,68,68,.18);
    box-shadow: 0 8px 28px rgba(15,23,42,.07);
  }
  html.theme-light .kara-hero-title{ color: #020617 !important; font-weight: 800 !important; }
  html.theme-light .kara-hero-sub{ color: #64748b; }
  html.theme-light .kara-count{ color: #dc2626; }
  html.theme-light .kara-shield-item{
    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.11) !important;
  }
  html.theme-light .kara-shield-title{ color: #020617 !important; font-weight: 800 !important; }
  html.theme-light .kara-panel{
    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.12) !important;
    box-shadow: 0 6px 22px rgba(15,23,42,.06) !important;
  }
  html.theme-light .kara-panel-head h3{ color: #020617 !important; font-weight: 800 !important; }
  html.theme-light .kara-row{ background: #fff; border-color: rgba(15,23,42,.07); }
  html.theme-light .kara-row-tel{ color: #0f172a; }
  html.theme-light .kara-btn-affet{ background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
  html.theme-light .kara-empty{ background: #f8fafc; border-color: #e2e8f0; }

  html.theme-dark{ color-scheme: dark; }
  
  html.theme-dark .card,
  html.theme-dark .form-block,
  html.theme-dark .stat-card,
  html.theme-dark .plan-card,
  html.theme-dark .stok-urun-kart{
    background: #141c2e;
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 1px 2px rgba(0,0,0,.22);
  }
  html.theme-dark .plan-card.featured{
    background: linear-gradient(180deg, #1c2e26 0%, #141c2e 45%);
    border-color: rgba(74,143,111,.35);
  }
  html.theme-dark .field{
    background: #1a2438;
    border-color: rgba(255,255,255,.12);
    color: #f1f5f9;
  }
  html.theme-dark .field:focus{
    border-color: #7aad92;
    box-shadow: 0 0 0 3px rgba(122,173,146,.15);
  }
  html.theme-dark .section-title,
  html.theme-dark .form-label{ color: #f1f5f9; }
  html.theme-dark .section-sub,
  html.theme-dark .field-hint,
  html.theme-dark .page-footer,
  html.theme-dark .stat-lbl{ color: #94a3b8; }
  html.theme-dark .btn-soft{ background: #1e293b; color: #e2e8f0; }
  html.theme-dark .mr-slot-btn--selected{
    background: linear-gradient(135deg, #e6b47e, #c98a4b, #8a5a2e);
    color: #0f1419;
    border-color: rgba(201,138,75,.4);
    box-shadow: 0 0 0 2px rgba(201,138,75,.35), 0 8px 26px rgba(201,138,75,.3);
  }
  html.theme-dark .desktop-topbar{
    background:
      radial-gradient(ellipse 60% 100% at 100% 0%, rgba(201,138,75,.12), transparent 55%),
      rgba(20,28,46,.92);
    border-color: rgba(255,255,255,.08);
  }
  html.theme-dark .welcome-banner{
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
  }
  html.theme-dark .topbar-btn-ghost{ background: #1a2438; color: #e2e8f0; border-color: rgba(255,255,255,.1); }
  
  html.theme-dark .kpi-icon{ background: rgba(255,255,255,.06); }
  html.theme-dark .apt-time-pill{ background: #1c2e26; color: #8fbfaa; border-color: rgba(74,143,111,.3); }
  
  /* Web bot önizlemesi — koyu modda da WA yeşili / koyu metin */
  html.theme-dark .wa-preview-shell.card{
    background: linear-gradient(135deg, #e7ffdb 0%, #ffffff 100%) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22) !important;
  }
  html.theme-dark .wa-preview-shell .wa-preview-title{
    color: #064e3b !important;
  }
  html.theme-dark .wa-preview-shell .wa-preview-inner{
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
  }
  html.theme-dark .wa-preview-shell .wa-preview-msg{
    color: #1e293b !important;
  }
  html.theme-dark .glass-nav{
    background: rgba(11,18,32,.52);
    border-top-color: rgba(255,255,255,.08);
  }
  html.theme-dark .tab-btn{ color: #94a3b8; }
  html.theme-dark .mob-nav-arrow-l{ background: linear-gradient(90deg, rgba(11,18,32,.45) 45%, transparent); }
  html.theme-dark .mob-nav-arrow-r{ background: linear-gradient(270deg, rgba(11,18,32,.45) 45%, transparent); }
  html.theme-dark .gecmis-filtre-panel{
    background: linear-gradient(135deg, rgba(20,28,46,.96) 0%, #141c2e 100%);
    border-color: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  }
  html.theme-dark .musteri-ara-panel{
    background: transparent;
    border: none;
    box-shadow: none;
  }
  html.theme-dark .musteri-filtre-btn,
  html.theme-mythos .musteri-filtre-btn{
    border-color: rgba(255,255,255,.14);
    background: rgba(26,36,56,.9);
    color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
  }
  html.theme-dark .musteri-filtre-btn:hover:not(.is-active),
  html.theme-mythos .musteri-filtre-btn:hover:not(.is-active){
    border-color: rgba(143,191,170,.35);
    background: rgba(28,46,38,.65);
    color: #e2e8f0;
  }
  html.theme-dark .musteri-filtre-btn.is-active,
  html.theme-mythos .musteri-filtre-btn.is-active{
    background: linear-gradient(135deg, #4a8f6f 0%, #2f6b52 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(61,122,95,.4), inset 0 1px 0 rgba(255,255,255,.15);
  }
  html.theme-dark .gecmis-filtre-ozet{ color: #94a3b8; }
  html.theme-dark .gecmis-filtre-durum-lbl{ color: #fbbf24; }
  html.theme-dark .gecmis-filtre-chip-track{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
  }
  html.theme-dark .gecmis-filtre-chip,
  html.theme-dark .period-pill,
  html.theme-dark .cs-gun-chip,
  html.theme-dark .saat-gun-mini{
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
  }
  html.theme-dark .gecmis-filtre-chip:hover:not(.active){
    background: rgba(255,255,255,.06);
    color: #e2e8f0;
  }
  html.theme-dark .gecmis-filtre-chip.active{
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(217, 119, 6, .35);
  }
  html.theme-dark .gecmis-filtre-chip[data-durum="completed"].active{
    background: linear-gradient(135deg, #34d399, #059669);
  }
  html.theme-dark .gecmis-filtre-chip[data-durum="no_show"].active{
    background: linear-gradient(135deg, #64748b, #475569);
  }
  html.theme-dark .gecmis-filtre-chip[data-durum="cancelled"].active{
    background: linear-gradient(135deg, #f87171, #dc2626);
  }
  html.theme-dark .saat-gun-mini.secili,
  html.theme-dark .saat-gun-mini.bugun{
    background: #1c2e26;
    border-color: #4a8f6f;
    color: #8fbfaa;
  }
  html.theme-dark .saat-gun-mini.kapali,
  html.theme-mythos .saat-gun-mini.kapali{
    background: rgba(8, 12, 22, .92);
    border-color: rgba(255,255,255,.06);
    opacity: 1;
  }
  html.theme-dark .saat-gun-mini.kapali .durum,
  html.theme-mythos .saat-gun-mini.kapali .durum{
    color: #f87171;
  }
  html.theme-dark .saat-gun-satir,
  html.theme-mythos .saat-gun-satir{
    background: var(--rv-surface-1, #141c2e);
    border-color: rgba(255,255,255,.1);
    box-shadow: none;
    color: #e2e8f0;
  }
  html.theme-dark .saat-gun-satir.bugun,
  html.theme-mythos .saat-gun-satir.bugun{
    border-color: rgba(74,143,111,.28);
  }
  html.theme-dark .saat-gun-satir.kapali:not(.bos),
  html.theme-mythos .saat-gun-satir.kapali:not(.bos){
    background: rgba(8, 12, 22, .94);
    border-color: rgba(255,255,255,.06);
  }
  html.theme-dark .saat-gun-satir.bos,
  html.theme-mythos .saat-gun-satir.bos{
    background: rgba(20, 28, 46, .72);
    border-color: rgba(148,163,184,.18);
  }
  html.theme-dark .saat-gun-ad,
  html.theme-mythos .saat-gun-ad{ color: #f1f5f9; }
  html.theme-dark .saat-gun-saat,
  html.theme-mythos .saat-gun-satir.acik .saat-gun-saat{ color: #cbd5e1; }
  html.theme-dark .saat-gun-satir.kapali:not(.bos) .saat-gun-saat,
  html.theme-mythos .saat-gun-satir.kapali:not(.bos) .saat-gun-saat{
    color: #f87171;
  }
  html.theme-dark .saat-gun-satir.bos .saat-gun-saat,
  html.theme-mythos .saat-gun-satir.bos .saat-gun-saat{ color: #94a3b8; }
  html.theme-dark .saat-gun-mola,
  html.theme-mythos .saat-gun-mola{ color: #94a3b8; }
  html.theme-dark .saat-durum-badge.kapali,
  html.theme-mythos .saat-durum-badge.kapali{
    background: rgba(239,68,68,.16);
    color: #fca5a5;
  }
  html.theme-dark .saat-durum-badge.acik,
  html.theme-mythos .saat-durum-badge.acik{
    background: rgba(16,185,129,.14);
    color: #6ee7b7;
  }
  html.theme-dark .saat-wa-serit,
  html.theme-mythos .saat-wa-serit{
    color: #6ee7b7;
    background: rgba(16, 185, 129, .12);
    border-color: rgba(52, 211, 153, .24);
    font-weight: 600;
  }
  html.theme-dark .saat-wa-serit--bos,
  html.theme-mythos .saat-wa-serit--bos{
    color: #86efac;
    background: rgba(16, 185, 129, .1);
    border-color: rgba(52, 211, 153, .2);
  }
  html.theme-dark .saat-ozet-kart,
  html.theme-mythos .saat-ozet-kart{
    background: #0f172a;
    border-color: rgba(148,163,184,.18);
  }
  html.theme-dark .saat-ozet-val,
  html.theme-mythos .saat-ozet-val{ color: #e2e8f0; }
  html.theme-dark .saat-sablon-blok,
  html.theme-mythos .saat-sablon-blok{
    background: rgba(251, 191, 36, .06);
    border-color: rgba(251, 191, 36, .22);
  }
  html.theme-dark .saat-sablon-chip,
  html.theme-mythos .saat-sablon-chip{
    background: #0f172a;
    border-color: rgba(251, 191, 36, .25);
  }
  html.theme-dark .saat-sablon-ad,
  html.theme-mythos .saat-sablon-ad{ color: #fde68a; }
  html.theme-dark .saat-sablon-acik,
  html.theme-mythos .saat-sablon-acik{ color: #d6b25e; }
  html.theme-dark .saat-zaman-grup,
  html.theme-mythos .saat-zaman-grup{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
  }
  html.theme-dark .saat-zaman-input,
  html.theme-mythos .saat-zaman-input{
    background: #1a2438;
    border-color: rgba(255,255,255,.12);
    color: #f1f5f9;
  }
  /* Takvim ay ızgarası — koyu tema (boş günler beyaz kalmasın; geçmiş okunaklı kalsın) */
  html.theme-dark .cal-day,
  html.theme-mythos .cal-day{
    background: #1a2438 !important;
    border-color: rgba(148, 163, 184, .22) !important;
    color: #e2e8f0 !important;
    box-shadow: none;
  }
  html.theme-dark .cal-day-num,
  html.theme-mythos .cal-day-num{
    color: #e2e8f0 !important;
  }
  html.theme-dark .cal-day:hover:not(.cal-past):not(:disabled),
  html.theme-mythos .cal-day:hover:not(.cal-past):not(:disabled){
    background: #243044 !important;
    border-color: rgba(110, 231, 183, .28) !important;
  }
  html.theme-dark .cal-day:active:not(:disabled),
  html.theme-mythos .cal-day:active:not(:disabled),
  html.theme-dark .cal-day:focus-visible,
  html.theme-mythos .cal-day:focus-visible{
    background: #2a3848 !important;
    color: #f8fafc !important;
    outline: none;
  }
  html.theme-dark .cal-day:active:not(:disabled) .cal-day-num,
  html.theme-mythos .cal-day:active:not(:disabled) .cal-day-num,
  html.theme-dark .cal-day:focus-visible .cal-day-num,
  html.theme-mythos .cal-day:focus-visible .cal-day-num{
    color: #f8fafc !important;
  }
  html.theme-dark .cal-day.cal-past,
  html.theme-mythos .cal-day.cal-past{
    opacity: 1;
    background: #141c2c !important;
    border-color: rgba(148, 163, 184, .12) !important;
    color: #94a3b8 !important;
    cursor: default !important;
    pointer-events: none;
    box-shadow: none !important;
  }
  html.theme-dark .cal-day.cal-past .cal-day-num,
  html.theme-mythos .cal-day.cal-past .cal-day-num{
    color: #94a3b8 !important;
  }
  html.theme-dark .cal-day.cal-past:hover,
  html.theme-mythos .cal-day.cal-past:hover,
  html.theme-dark .cal-day.cal-past:focus,
  html.theme-mythos .cal-day.cal-past:focus,
  html.theme-dark .cal-day.cal-past:active,
  html.theme-mythos .cal-day.cal-past:active{
    background: #141c2c !important;
    border-color: rgba(148, 163, 184, .12) !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html.theme-dark .cal-day.cal-past:hover .cal-day-num,
  html.theme-mythos .cal-day.cal-past:hover .cal-day-num,
  html.theme-dark .cal-day.cal-past:focus .cal-day-num,
  html.theme-mythos .cal-day.cal-past:focus .cal-day-num,
  html.theme-dark .cal-day.cal-past:active .cal-day-num,
  html.theme-mythos .cal-day.cal-past:active .cal-day-num{
    color: #94a3b8 !important;
  }
  html.theme-dark .cal-day.has-apts:not(.cal-past),
  html.theme-mythos .cal-day.has-apts:not(.cal-past){
    background: #1c2e26 !important;
    border-color: rgba(110, 231, 183, .28) !important;
  }
  html.theme-dark .cal-day.has-apts:not(.cal-past) .cal-day-num,
  html.theme-mythos .cal-day.has-apts:not(.cal-past) .cal-day-num{
    color: #d1fae5 !important;
  }
  html.theme-dark .cal-day.today:not(.selected),
  html.theme-mythos .cal-day.today:not(.selected){
    box-shadow: 0 0 0 2px #4a8f6f;
    border-color: rgba(74, 143, 111, .45) !important;
    background: #1c2e26 !important;
  }
  html.theme-dark .cal-day.today:not(.selected) .cal-day-num,
  html.theme-mythos .cal-day.today:not(.selected) .cal-day-num{
    color: #a7f3d0 !important;
  }
  html.theme-dark .cal-day.selected,
  html.theme-mythos .cal-day.selected{
    background: #2a3f35 !important;
    border-color: rgba(250, 204, 21, .45) !important;
    box-shadow: 0 0 0 2px #fbbf24, 0 4px 14px rgba(251, 191, 36, .18);
    color: #fef9c3 !important;
  }
  html.theme-dark .cal-day.selected .cal-day-num,
  html.theme-mythos .cal-day.selected .cal-day-num{
    color: #fef08a !important;
  }
  html.theme-dark .cal-day.today.selected,
  html.theme-mythos .cal-day.today.selected{
    box-shadow: 0 0 0 2px #fbbf24, 0 0 0 4px rgba(74, 143, 111, .35);
  }
  html.theme-dark .cal-day.cal-past.selected .cal-day-num,
  html.theme-mythos .cal-day.cal-past.selected .cal-day-num{
    color: #fef08a !important;
  }
  html.theme-dark .cal-past .cal-count,
  html.theme-mythos .cal-past .cal-count{
    opacity: .85;
  }
  html.theme-dark .pro-lock-overlay{
    background: linear-gradient(160deg, #141c2e 0%, #1c2e26 100%);
    border-color: rgba(255,255,255,.08);
  }
  html.theme-dark .yogun-gun-kart,
  html.theme-dark .saat-bugun-kart{
    background: linear-gradient(135deg, #1c2e26 0%, #141c2e 100%);
    border-color: rgba(74,143,111,.25);
  }
  html.theme-dark .rank-bar{ background: #1e293b; }
  html.theme-dark .mg-btn{
    background: linear-gradient(145deg, #f6d78a 0%, #e6b047 42%, #c98a4b 100%);
    color: #0f172a;
    border-color: rgba(255, 236, 179, .95);
    box-shadow:
      0 0 0 2px rgba(2, 6, 23, .55),
      0 3px 14px rgba(201, 138, 75, .55),
      inset 0 1px 0 rgba(255, 255, 255, .45);
  }
  html.theme-mythos .mg-btn{
    background: linear-gradient(145deg, #f6d78a 0%, #e6b047 42%, #c98a4b 100%);
    color: #0f172a;
    border-color: rgba(255, 236, 179, .95);
    box-shadow:
      0 0 0 2px rgba(2, 6, 23, .55),
      0 3px 14px rgba(201, 138, 75, .55),
      inset 0 1px 0 rgba(255, 255, 255, .45);
  }
  html.theme-dark .toast.err{ background: #3f1d1d; color: #fecaca; border-color: #7f1d1d; }
  html.theme-dark .toast.ok{ background: #1c2e26; color: #9ecfb5; border-color: #243d32; }
  html.theme-dark .text-slate-900,
  html.theme-dark .text-slate-800,
  html.theme-dark .text-slate-700{ color: #e2e8f0 !important; }
  html.theme-dark .text-slate-600,
  html.theme-dark .text-slate-500{ color: #94a3b8 !important; }
  html.theme-dark .text-slate-400{ color: #64748b !important; }
  html.theme-dark .text-brand-600,
  html.theme-dark .text-brand-700,
  html.theme-dark .text-brand-900{ color: #8fbfaa !important; }
  html.theme-dark .bg-white{ background-color: #141c2e !important; }
  html.theme-dark .bg-slate-50,
  html.theme-dark .bg-slate-100{ background-color: #1a2438 !important; }
  html.theme-dark .bg-teal-50,
  html.theme-dark .bg-brand-50,
  html.theme-dark .bg-emerald-50{ background-color: #1c2e26 !important; }
  html.theme-dark .bg-amber-50{ background-color: #292218 !important; }
  html.theme-dark .bg-orange-50{ background-color: #2a1f18 !important; }
  html.theme-dark .bg-red-50{ background-color: #2a1515 !important; }
  html.theme-dark .border-slate-100,
  html.theme-dark .border-slate-200,
  html.theme-dark .border-teal-100,
  html.theme-dark .border-emerald-100,
  html.theme-dark .border-amber-100,
  html.theme-dark .border-orange-200{ border-color: rgba(255,255,255,.1) !important; }
  html.theme-dark select.field option{ background: #1a2438; color: #f1f5f9; }
  html.theme-dark #modal-stok-urun > div:last-child,
  html.theme-dark #modal-stok-barkod > div:last-child{ background: #141c2e; color: #e2e8f0; }
  html.theme-dark .stok-barkod-arama{
    border-color: rgba(212, 168, 75, .28);
    background: linear-gradient(145deg, rgba(212, 168, 75, .1), rgba(15, 23, 42, .35));
  }
  html.theme-dark .stok-barkod-arama-baslik{ color: #e2e8f0; }
  html.theme-dark .stok-barkod-arama-alt{ color: #94a3b8; }
  html.theme-dark .stok-barkod-arama.is-ok .stok-barkod-arama-alt{ color: #9ecfb5; }
  /* ── Koyu mod: semantik metin / rozet / yarı saydam arka plan ── */
  html.theme-dark .text-amber-950,
  html.theme-dark .text-amber-900,
  html.theme-dark .text-amber-800{ color: #e6b47e !important; }
  html.theme-dark .text-orange-800,
  html.theme-dark .text-orange-700{ color: #fdba74 !important; }
  html.theme-dark .text-emerald-900,
  html.theme-dark .text-emerald-800,
  html.theme-dark .text-emerald-700{ color: #9ecfb5 !important; }
  html.theme-dark .text-violet-900,
  html.theme-dark .text-violet-800,
  html.theme-dark .text-violet-700{ color: #c4b5fd !important; }
  html.theme-dark .text-blue-900,
  html.theme-dark .text-blue-800,
  html.theme-dark .text-blue-700{ color: #93c5fd !important; }
  html.theme-dark .text-red-800,
  html.theme-dark .text-red-700,
  html.theme-dark .text-red-600{ color: #fca5a5 !important; }
  html.theme-dark .text-teal-700,
  html.theme-dark .text-teal-800,
  html.theme-dark .text-teal-900{ color: #8fbfaa !important; }
  html.theme-dark .durum-confirmed{ background: #1c2e26; color: #9ecfb5; }
  html.theme-dark .durum-completed{ background: #172554; color: #93c5fd; }
  html.theme-dark .durum-cancelled{ background: #3f1d1d; color: #fca5a5; }
  html.theme-dark .durum-no_show{ background: #2a1f18; color: #fdba74; }
  html.theme-dark .durum-pending{ background: #292218; color: #e6b47e; }
  html.theme-dark .plan-badge-active{ background: #1c2e26; color: #9ecfb5; }
  html.theme-dark .plan-badge-trial{ background: #292218; color: #e6b47e; }
  html.theme-dark .plan-badge-warn{ background: #3f1d1d; color: #fca5a5; }
  html.theme-dark [class*="bg-white/"]{ background-color: rgba(20, 28, 46, 0.88) !important; }
  html.theme-dark .wa-preview-shell [class*="bg-white/"]{ background-color: rgba(255, 255, 255, 0.92) !important; }
  html.theme-dark .bg-slate-50\/60,
  html.theme-dark .bg-slate-50\/50,
  html.theme-dark .bg-slate-50\/80,
  html.theme-dark .bg-brand-50\/40,
  html.theme-dark .bg-brand-50\/50,
  html.theme-dark .bg-white\/60,
  html.theme-dark .bg-white\/70,
  html.theme-dark .bg-white\/80{ background-color: rgba(255,255,255,.04) !important; }
  html.theme-dark #tab-ayarlar [class*="bg-white/"]{
    background-color: rgba(255,255,255,.04) !important;
  }
  html.theme-dark .bg-orange-50\/60,
  html.theme-dark .bg-gradient-to-br.from-orange-50{ background: linear-gradient(135deg, #2a1f18, #141c2e) !important; }
  html.theme-dark .bg-violet-50{ background-color: #1e1b2e !important; }
  html.theme-dark .border-violet-100,
  html.theme-dark .border-violet-200,
  html.theme-dark .border-blue-200,
  html.theme-dark .border-blue-100,
  html.theme-dark .border-emerald-200,
  html.theme-dark .border-emerald-100,
  html.theme-dark .border-amber-200,
  html.theme-dark .border-red-200{ border-color: rgba(255, 255, 255, 0.12) !important; }
  html.theme-dark .gcal-box{
    background: linear-gradient(135deg, #172554 0%, #141c2e 100%) !important;
    border-color: rgba(147, 197, 253, 0.25) !important;
  }
  html.theme-dark .gcal-step{ background: rgba(15,23,42,.55); border-color: rgba(147,197,253,.2); }
  html.theme-dark .gcal-cihaz-btn{ background: rgba(15,23,42,.6); color: #e2e8f0; border-color: rgba(255,255,255,.1); }
  html.theme-dark .gcal-cihaz-btn.active{ background: rgba(30,58,138,.5); color: #93c5fd; }
  html.theme-dark .gcal-ipucu{ background: rgba(120,53,15,.25); border-color: rgba(201,138,75,.25); color: #eef1f6; }
  html.theme-light .gcal-step{ background: #fff; border-color: rgba(59,130,246,.12); }
  html.theme-light .gcal-cihaz-btn{ background: #fff; }
  html.theme-dark .stok-urun-kart.dusuk{ background: #292218 !important; }
  html.theme-dark .hero-header,
  html.theme-dark .mobile-premium-header,
  html.theme-dark .today-hero,
  html.theme-dark .day-header,
  html.theme-dark .highlight-card{ color: #edf5f0; }
  html.theme-dark .highlight-card .stat-val{ color: #fff; }
  html.theme-dark .mg-btn:hover{
    background: linear-gradient(145deg, #ffe9a8 0%, #f0c98a 40%, #e6b047 100%) !important;
    color: #0f172a !important;
  }
  html.theme-dark .pro-lock-overlay .text-slate-900,
  html.theme-dark .pro-lock-overlay .text-slate-800{ color: #e2e8f0 !important; }

  /* ── MYTHOS SİNEMATİK KATMAN (theme-dark ile birlikte) ── */
  html.theme-dark body{
  background: transparent;
  color: var(--rv-text, #e2e8f0);
}
  html.theme-dark .sidebar-panel{
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 4px 0 48px rgba(0,0,0,.5);
  }
  html.theme-dark .sidebar-btn.active{
    background: linear-gradient(135deg, rgba(201,138,75,.14), rgba(201,138,75,.06));
    border-color: rgba(201,138,75,.22);
    box-shadow: 0 0 28px rgba(201,138,75,.08), inset 0 1px 0 rgba(255,255,255,.06);
  }
  html.theme-dark .sidebar-btn.active::before{ background: linear-gradient(180deg, #c98a4b, #4a8f6f); }
  html.theme-dark .card,
  html.theme-dark .form-block,
  html.theme-dark .stat-card,
  html.theme-dark .plan-card,
  html.theme-dark .stok-urun-kart{
    background: linear-gradient(168deg, rgba(18,22,36,.92), rgba(10,13,23,.96)) !important;
    border-color: rgba(255,255,255,.07) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 48px rgba(0,0,0,.38);
  }
  html.theme-dark .kpi-card{
  background: linear-gradient(168deg, rgba(18,22,36,.94), rgba(10,13,23,.97));
  border-color: rgba(255,255,255,.07);
}
  html.theme-dark .kpi-card-primary{
    background:
      radial-gradient(120% 140% at 0% 0%, rgba(74,143,111,.22), transparent 60%),
      linear-gradient(135deg, #172019, #1a2922);
    border-color: rgba(122,173,146,.22);
    box-shadow: 0 0 44px rgba(74,143,111,.08), 0 18px 48px rgba(0,0,0,.4);
  }
  html.theme-dark .desktop-topbar{
    background:
      radial-gradient(ellipse 60% 100% at 100% 0%, rgba(201,138,75,.14), transparent 55%),
      rgba(8,10,18,.78) !important;
    border-color: rgba(255,255,255,.08) !important;
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    box-shadow: 0 14px 40px rgba(0,0,0,.35);
  }
  html.theme-dark .welcome-banner{
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.1) !important;
  }
  html.theme-dark .field{
    background: rgba(10,14,24,.85) !important;
    border-color: rgba(255,255,255,.09) !important;
  }
  html.theme-dark .field:focus{
    border-color: rgba(201,138,75,.55) !important;
    box-shadow: 0 0 0 3px rgba(201,138,75,.14) !important;
  }
  html.theme-dark .plan-card.featured{
    border-color: rgba(201,138,75,.34) !important;
    background:
      linear-gradient(170deg, rgba(41,32,14,.5), rgba(10,13,23,.96)) !important;
    box-shadow: 0 0 0 1px rgba(201,138,75,.1), 0 22px 60px rgba(0,0,0,.5), 0 0 56px rgba(201,138,75,.06);
  }
  html.theme-dark .empty-state-premium{
  background: linear-gradient(180deg, rgba(18,22,36,.9), rgba(13,17,30,.95));
  border-color: rgba(255,255,255,.08);
}
  html.theme-dark .glass-nav{
    background: rgba(6,8,14,.48) !important;
    border-color: rgba(255,255,255,.08) !important;
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    box-shadow: 0 -6px 24px rgba(0,0,0,.2);
  }
  html.theme-mythos .period-pill.active,
  html.theme-dark .period-pill.active{
    background: rgba(201,138,75,.14) !important;
    border: 1px solid rgba(201,138,75,.3) !important;
    color: var(--rv-gold-2) !important;
    box-shadow: 0 0 20px rgba(201,138,75,.08);
  }
  html.theme-mythos .period-pill,
  html.theme-mythos .cs-gun-chip{
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.08);
    color: var(--rv-text-2);
  }
  html.theme-mythos .gecmis-filtre-chip{
    background: transparent;
    border-color: transparent;
    color: var(--rv-text-2);
  }
  html.theme-mythos .gecmis-filtre-chip-track{
    background: rgba(255,255,255,.04);
    border-color: rgba(201,138,75,.15);
  }
  html.theme-mythos .gecmis-filtre-chip.active{
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(217, 119, 6, .3);
  }
  html.theme-mythos .cs-gun-chip.active{
    background: rgba(201,138,75,.1);
    border-color: rgba(201,138,75,.28);
    color: var(--rv-gold-2);
  }
  html.theme-mythos .stat-card,
  html.theme-mythos .plan-card,
  html.theme-mythos .form-block,
  html.theme-mythos .stok-urun-kart{
    background: linear-gradient(168deg, rgba(18,22,36,.92), rgba(10,13,23,.96)) !important;
    border-color: var(--rv-line) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 48px rgba(0,0,0,.32) !important;
  }
  html.theme-mythos .plan-card.featured{
    border-color: rgba(201,138,75,.3) !important;
    background: linear-gradient(170deg, rgba(41,32,14,.45), rgba(10,13,23,.96)) !important;
    box-shadow: 0 0 56px rgba(201,138,75,.06), 0 22px 60px rgba(0,0,0,.45) !important;
  }
  html.theme-mythos .highlight-card{
    background: linear-gradient(135deg, rgba(30,24,10,.95), rgba(12,14,24,.98)) !important;
    border: 1px solid rgba(201,138,75,.22) !important;
    color: var(--rv-text) !important;
  }
  html.theme-mythos .page-footer{ color: var(--rv-text-3); }
  html.theme-mythos .rv-kurulum-card{
    background: linear-gradient(168deg, rgba(18,22,36,.98), rgba(10,13,23,.99)) !important;
    border-color: var(--rv-line) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.5) !important;
  }
  html.theme-mythos .mob-nav-arrow-l{ background: linear-gradient(90deg, rgba(6,8,14,.45) 45%, transparent); }
  html.theme-mythos .mob-nav-arrow-r{ background: linear-gradient(270deg, rgba(6,8,14,.45) 45%, transparent); }
  html.theme-mythos .toast.ok{ background: rgba(74,143,111,.12); color: #9ecfb5; border-color: rgba(74,143,111,.25); }
  html.theme-mythos .toast.err{ background: rgba(239,68,68,.12); color: #fecaca; border-color: rgba(239,68,68,.25); }

  /* PWA kurulum — iOS + Android */
  .pwa-install-bar{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, rgba(7,9,15,.55) 28%);
    pointer-events: none;
  }
  .pwa-install-bar:not(.hidden){ pointer-events: auto; }
  .pwa-install-inner{
    display: flex; align-items: center; gap: 0.65rem;
    max-width: 42rem; margin: 0 auto;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(201,138,75,.28);
    background: rgba(15,18,28,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    color: #e2e8f0;
  }
  html.theme-light .pwa-install-inner{
    background: rgba(255,255,255,.97);
    border-color: rgba(201,138,75,.35);
    color: #0f172a;
    box-shadow: 0 12px 36px rgba(15,23,42,.12);
  }
  .pwa-install-icon{ border-radius: 0.65rem; flex-shrink: 0; }
  .pwa-install-text{ flex: 1; min-width: 0; font-size: 0.78rem; line-height: 1.35; }
  .pwa-install-text strong{ display: block; font-size: 0.88rem; margin-bottom: 0.1rem; }
  .pwa-install-btn{
    flex-shrink: 0; padding: 0.45rem 0.85rem;
    border-radius: 0.65rem; border: none;
    background: linear-gradient(135deg, #c98a4b, #8a5a2e);
    color: #0b1220; font-size: 0.78rem; font-weight: 800;
  }
  .pwa-install-dismiss{
    flex-shrink: 0; width: 1.75rem; height: 1.75rem;
    border-radius: 999px; border: 1px solid rgba(148,163,184,.35);
    background: transparent; color: #94a3b8; font-size: 1.1rem; line-height: 1;
  }
  .pwa-ios-sheet{
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .pwa-ios-sheet.hidden{ display: none !important; }
  .pwa-ios-backdrop{ position: absolute; inset: 0; background: rgba(2,6,23,.55); }
  .pwa-ios-card{
    position: relative; width: 100%; max-width: 24rem;
    padding: 1.25rem 1.35rem 1.1rem;
    border-radius: 1.25rem 1.25rem 1rem 1rem;
    background: #fff; color: #0f172a;
    box-shadow: 0 -8px 40px rgba(15,23,42,.18);
  }
  html.theme-dark .pwa-ios-card,
  html.theme-mythos .pwa-ios-card{
    background: #111827; color: #e2e8f0;
    border: 1px solid rgba(148,163,184,.15);
  }
  .pwa-ios-card h3{ font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; }
  .pwa-ios-card p{ font-size: 0.85rem; color: #64748b; margin-bottom: 0.65rem; }
  html.theme-dark .pwa-ios-card p,
  html.theme-mythos .pwa-ios-card p{ color: #94a3b8; }
  .pwa-ios-card ol{ margin: 0 0 0.75rem; padding-left: 0; list-style: none; }
  .pwa-ios-card li{ font-size: 0.88rem; padding: 0.45rem 0; border-top: 1px solid rgba(148,163,184,.15); }
  .pwa-ios-step-icon{ display: inline-block; margin-right: 0.35rem; }
  .pwa-ios-hint{ font-size: 0.78rem !important; margin-bottom: 0.85rem !important; }
  .pwa-ios-done{
    width: 100%; padding: 0.7rem; border: none; border-radius: 0.75rem;
    background: #3d7a5f; color: #fff; font-weight: 700; font-size: 0.9rem;
  }
  /* Hizmetler v2 — seanslı paket şalteri */
  .hz-seans-kutu,
  .hz-gelismis-kutu{
    border: 1px solid var(--rv-border, rgba(15,23,42,.08));
    border-radius: 12px;
    background: var(--rv-surface-2, rgba(248,250,252,.9));
    padding: .75rem .85rem;
  }
  .hz-seans-baslik-satir{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }
  .hz-seans-baslik{
    font-size: .82rem;
    font-weight: 700;
    color: var(--rv-text, #0f172a);
    line-height: 1.35;
  }
  .hz-seans-girdi-etiket{
    display: block;
    font-size: .68rem;
    font-weight: 700;
    color: var(--rv-text-2, #64748b);
    margin-bottom: .25rem;
  }
  .hz-seans-ipucu{
    font-size: .68rem;
    line-height: 1.45;
    color: var(--rv-text-2, #64748b);
  }
  html.theme-light .hz-seans-kutu,
  html.theme-light .hz-gelismis-kutu,
  html.theme-rose .hz-seans-kutu,
  html.theme-rose .hz-gelismis-kutu{
    background: rgba(255,255,255,.72);
    border-color: var(--rv-line, rgba(15,23,42,.08));
  }
  html.theme-rose .hz-seans-baslik{ color: var(--rv-text); }
  html.theme-rose .hz-seans-girdi-etiket,
  html.theme-rose .hz-seans-ipucu{ color: var(--rv-text-2); }
  html.theme-rose .hz-switch input:checked + .hz-switch-track{
    background: var(--rv-gold, #ec4899);
  }
  html.theme-dark .hz-seans-kutu,
  html.theme-dark .hz-gelismis-kutu,
  html.theme-mythos .hz-seans-kutu,
  html.theme-mythos .hz-gelismis-kutu{
    background: rgba(255,255,255,.05);
    border-color: var(--rv-line, rgba(255,255,255,.1));
  }
  html.theme-dark .hz-seans-baslik,
  html.theme-mythos .hz-seans-baslik{ color: var(--rv-text, #f2f4fb); }
  html.theme-dark .hz-seans-girdi-etiket,
  html.theme-dark .hz-seans-ipucu,
  html.theme-mythos .hz-seans-girdi-etiket,
  html.theme-mythos .hz-seans-ipucu{ color: var(--rv-text-2, #9aa3bd); }
  .hz-ekle-satir{
    display: flex;
    gap: .5rem;
    align-items: stretch;
  }
  .hz-ekle-satir .field{
    flex: 1 1 0;
    min-width: 0;
  }
  @media (max-width: 767px){
    .hz-ekle-satir {
      flex-direction: column;
      gap: .5rem;
    }
    .hz-ekle-satir .field {
      width: 100%;
      flex: none;
    }
    #tab-hizmet .hz-edit-form .hz-ekle-satir {
      flex-direction: column;
    }
  }
  .hz-switch{ position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
  .hz-switch input{ position: absolute; opacity: 0; width: 0; height: 0; }
  .hz-switch-track{
    width: 2.65rem; height: 1.45rem; border-radius: 999px;
    background: rgba(100,116,139,.28); position: relative;
    transition: background .2s ease;
  }
  .hz-switch-thumb{
    position: absolute; top: 2px; left: 2px; width: 1.15rem; height: 1.15rem;
    border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.22);
    transition: transform .2s ease;
  }
  .hz-switch input:checked + .hz-switch-track{ background: var(--rv-accent, #6366f1); }
  .hz-switch input:checked + .hz-switch-track .hz-switch-thumb{ transform: translateX(1.15rem); }
  /* Plan 5D: knob mirrors in RTL; checked machine value unchanged */
  html[dir="rtl"] .hz-switch-thumb{ left: auto; right: 2px; }
  html[dir="rtl"] .hz-switch input:checked + .hz-switch-track .hz-switch-thumb{ transform: translateX(-1.15rem); }
  .hz-switch input:focus-visible + .hz-switch-track{ outline: 2px solid var(--rv-accent, #6366f1); outline-offset: 2px; }
  .hz-seans-panel{
    display: grid; grid-template-rows: 0fr; opacity: 0;
    transition: grid-template-rows .28s ease, opacity .22s ease, margin-top .22s ease;
    margin-top: 0;
  }
  .hz-seans-panel.hz-seans-acik{ grid-template-rows: 1fr; opacity: 1; margin-top: .65rem; }
  .hz-seans-panel-ic{ overflow: hidden; }
  .hz-kart-aksiyon{ display: flex; flex-direction: row; align-items: center; gap: .5rem; flex-shrink: 0; }

  /* ── Hizmet kart (v3 — renk bar + kategori) ── */
  .hz-kart{
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    border-radius: 14px;
    background: linear-gradient(168deg, rgba(18,22,36,.92), rgba(10,13,23,.96));
    border: 1px solid var(--rv-line);
    box-shadow: var(--rv-shadow-card-dark);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }
  html.theme-light .hz-kart{
    background: linear-gradient(168deg, #fff, #f8fafc);
    border-color: rgba(15,23,42,.08);
    box-shadow: var(--rv-shadow-card);
  }
  html.theme-rose .hz-kart{
    background: linear-gradient(168deg, rgba(255,255,255,.96), rgba(253,242,248,.92));
    border-color: rgba(190,24,93,.1);
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 32px rgba(190,24,93,.06);
  }
  html.theme-light .hz-kart-ad{ color: #273140; }
  html.theme-light .hz-kart-alt{ color: #586576; }
  html.theme-rose .hz-kart-ad{ color: #3f2832; }
  html.theme-rose .hz-kart-alt{ color: #6a5660; }
  html.theme-rose .hz-kart-kat-etiket{
    background: rgba(244,114,182,.14);
    color: #be185d;
  }
  .hz-kart-icerik{ padding: .9rem .95rem; }
  .hz-kart-ust{ display: flex; align-items: flex-start; gap: .45rem; }
  .hz-kart-bilgi{ flex: 1; min-width: 0; }
  .hz-kart-ad{
    font-weight: 750; font-size: .9rem; color: var(--rv-text); line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .12rem .2rem;
  }
  .hz-kart-alt{
    display: block;
    min-width: 0;
    font-size: .77rem;
    color: var(--rv-text-2);
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .hz-kart-alt-satir{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: .65rem;
    margin-top: .55rem;
    min-width: 0;
  }
  .hz-kart-alt-satir .hz-kart-alt{ margin-top: 0; min-width: 0; }
  .hz-sil-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
    padding: .35rem;
    margin-left: 0;
    flex-shrink: 0;
    border-radius: 9px;
    border: 1px solid rgba(239,68,68,.18);
    background: rgba(239,68,68,.1) !important;
    color: #dc2626 !important;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
  }
  .hz-sil-btn:hover{
    background: rgba(239,68,68,.16) !important;
    border-color: rgba(239,68,68,.28) !important;
  }
  html.theme-mythos .hz-sil-btn,
  html.theme-dark .hz-sil-btn{
    background: rgba(239,68,68,.14) !important;
    color: #fca5a5 !important;
    border-color: rgba(239,68,68,.22) !important;
  }
  html.theme-rose .hz-sil-btn{
    background: rgba(244,63,94,.1) !important;
    color: #e11d48 !important;
    border-color: rgba(244,63,94,.2) !important;
  }
  .hz-kart-aksiyonlar{ display: flex; align-items: center; gap: .4rem; margin-top: 0; justify-content: flex-end; flex-shrink: 0; }
  .hz-kart-aksiyonlar .hz-kart-duzenle{
    flex: 0 1 auto;
    min-width: 0;
    min-height: 2.35rem !important;
    padding: .45rem .8rem !important;
    font-size: .75rem !important;
    line-height: 1.2;
  }
  .hz-kart:focus-within{
    border-color: color-mix(in srgb, var(--rv-accent, #d4a84b) 58%, var(--rv-line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rv-accent, #d4a84b) 18%, transparent), var(--rv-shadow-card);
  }
  @media (hover: hover) and (pointer: fine){
    .hz-kart:hover{
      border-color: color-mix(in srgb, var(--rv-accent, #d4a84b) 35%, var(--rv-line));
      box-shadow: 0 10px 26px rgba(15, 23, 42, .12), var(--rv-shadow-card);
      transform: translateY(-1px);
    }
  }
  .hz-kart:has(.hz-edit-form:not(.hidden)){ grid-column: 1 / -1; width: 100%; max-width: 100%; }
  .hz-edit-form{ border-top: 1px solid var(--rv-line-soft); padding-top: .75rem; margin-top: .65rem; }
  .hz-edit-form .form-label{
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: .28rem;
    color: var(--rv-muted, #64748b);
  }
  html.theme-dark .hz-edit-form .form-label,
  html.theme-mythos .hz-edit-form .form-label{
    color: #94a3b8;
  }
  .hz-edit-form .hz-ekle-satir > div{
    flex: 1;
    min-width: 0;
  }

  /* ── Kategori input satırı ── */
  .hz-kat-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }
  @media (max-width: 520px){
    .hz-kat-row { grid-template-columns: 1fr; }
  }
  .hz-kat-input-wrap{ position: relative; }
  .hz-kat-input-wrap .field{ width: 100%; }

  /* ── Kategori yatay seçici (chip) ── */
  #hizmetListe{
    display: flex;
    flex-direction: column;
    gap: .8rem;
    min-width: 0;
    padding: clamp(.8rem, 1.6vw, 1.1rem);
    border: 1px solid var(--rv-line-soft, rgba(148, 163, 184, .22));
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
    box-shadow: var(--rv-shadow-card-dark);
  }
  #hizmetListe:empty{ display: none; }
  html.theme-light #hizmetListe{
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,244,240,.9));
    border-color: rgba(101, 83, 63, .16);
    box-shadow: var(--rv-shadow-card);
  }
  html.theme-rose #hizmetListe{
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(252,238,245,.9));
    border-color: rgba(190,24,93,.16);
    box-shadow: 0 10px 30px rgba(190,24,93,.08);
  }
  html.theme-dark #hizmetListe,
  html.theme-mythos #hizmetListe{
    background: linear-gradient(145deg, rgba(20,28,46,.9), rgba(12,17,30,.92));
    border-color: rgba(148,163,184,.17);
    box-shadow: 0 14px 36px rgba(0,0,0,.24);
  }
  .hz-liste-ust{
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin: 0;
  }
  .hz-liste-ust .hz-kat-bar{
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    padding-bottom: .15rem;
  }
  .hz-liste-ust--sade{
    justify-content: flex-end;
    min-height: 0;
  }
  .hz-arsiv-btn{
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    padding: .28rem .55rem;
    border-radius: 8px;
    border: 1px solid var(--rv-line-soft, rgba(148, 163, 184, .22));
    background: rgba(255, 255, 255, .04);
    color: var(--rv-text-2, #94a3b8);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
  }
  .hz-arsiv-btn:hover{
    background: rgba(255, 255, 255, .08);
    color: var(--rv-text, #e2e8f0);
    border-color: rgba(255, 255, 255, .16);
  }
  .hz-arsiv-btn--aktif{
    background: rgba(245, 158, 11, .14);
    border-color: rgba(251, 191, 36, .3);
    color: #fbbf24;
  }
  html.theme-light .hz-arsiv-btn{
    background: rgba(15, 23, 42, .03);
    color: #64748b;
  }
  html.theme-light .hz-arsiv-btn:hover{
    background: rgba(15, 23, 42, .06);
    color: #0f172a;
  }
  .hz-kat-bar{
    display: flex;
    flex-wrap: nowrap;
    gap: .45rem;
    overflow-x: auto;
    padding: .1rem .05rem .5rem;
    margin-bottom: .15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .hz-kat-chip-wrap{
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    min-width: 5.75rem;
    max-width: 9.5rem;
    border-radius: 11px;
    border: 1px solid var(--rv-line-soft, rgba(15,23,42,.1));
    background: rgba(255,255,255,.04);
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .hz-kat-chip-wrap::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(148, 163, 184, .45);
    border-radius: 11px 0 0 11px;
    pointer-events: none;
  }
  .hz-kat-chip-wrap:hover{
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.14);
  }
  html.theme-light .hz-kat-chip-wrap{
    background: rgba(255,255,255,.88);
    border-color: rgba(15,23,42,.09);
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
  }
  html.theme-light .hz-kat-chip-wrap:hover{
    background: #fff;
    border-color: rgba(15,23,42,.14);
  }
  /* Seçili kategori: marka amber — mor/indigo yok (kafa karıştırmasın) */
  .hz-kat-chip-wrap--aktif{
    border-color: rgba(251, 191, 36, .38);
    background: rgba(245, 158, 11, .14);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, .16);
  }
  .hz-kat-chip-wrap--aktif::before{
    background: #e6b047;
    width: 3px;
  }
  html.theme-light .hz-kat-chip-wrap--aktif{
    background: rgba(245, 158, 11, .1);
    border-color: rgba(217, 119, 6, .32);
    box-shadow: 0 0 0 1px rgba(217, 119, 6, .1);
  }
  .hz-kat-chip{
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .08rem;
    padding: .42rem .35rem .42rem .55rem;
    border: none;
    background: transparent;
    cursor: pointer;
    user-select: none;
    text-align: left;
  }
  .hz-kat-chip-ad{
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--rv-text, #f2f4fb);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  html.theme-light .hz-kat-chip-ad{ color: #0f172a; }
  .hz-kat-chip-wrap--aktif .hz-kat-chip-ad{
    color: var(--rv-text, #f8fafc);
  }
  html.theme-light .hz-kat-chip-wrap--aktif .hz-kat-chip-ad{
    color: #0f172a;
  }
  .hz-kat-chip-say{
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--rv-text-3, #94a3b8);
    white-space: nowrap;
  }
  html.theme-light .hz-kat-chip-say{ color: #64748b; }
  .hz-kat-chip-wrap--aktif .hz-kat-chip-say{
    color: #fbbf24;
  }
  html.theme-light .hz-kat-chip-wrap--aktif .hz-kat-chip-say{
    color: #b45309;
  }
  .hz-kat-chip-sil{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 1.65rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-left: 1px solid rgba(15,23,42,.06);
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    opacity: .55;
    transition: opacity .15s ease, background .15s ease, color .15s ease;
  }
  .hz-kat-chip-wrap:hover .hz-kat-chip-sil,
  .hz-kat-chip-sil:hover,
  .hz-kat-chip-sil:focus-visible{
    opacity: 1;
    background: rgba(239,68,68,.08);
    color: #dc2626;
  }
  .hz-kat-chip-sil-ico{ display: block; }
  html.theme-dark .hz-kat-chip-sil,
  html.theme-mythos .hz-kat-chip-sil{
    border-left-color: rgba(255,255,255,.08);
    color: #94a3b8;
  }
  html.theme-dark .hz-kat-chip-sil:hover,
  html.theme-mythos .hz-kat-chip-sil:hover{
    color: #fca5a5;
    background: rgba(239,68,68,.14);
  }
  html.theme-rose .hz-kat-chip-wrap--aktif .hz-kat-chip-ad{ color: #0f172a; }
  html.theme-rose .hz-kat-chip-wrap--aktif .hz-kat-chip-say{ color: #b45309; }
  /* Hizmet kartlari icerigi kadar yer kaplar (etiket/chip gibi); satira sigmazsa alta gecer. */
  .hz-kat-hizmetler{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .7rem;
    margin-top: .1rem;
  }
  .hz-kat-hizmetler > .hz-kart{
    flex: 0 1 auto;
    width: max-content;
    max-width: min(100%, 28rem);
    min-width: 0;
  }
  .hz-liste-bos{
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.25rem 1rem;
    border: 1px dashed var(--rv-line, rgba(148,163,184,.28));
    border-radius: .9rem;
    color: var(--rv-text-2, #94a3b8);
    background: rgba(255,255,255,.035);
    text-align: center;
    font-size: .82rem;
    line-height: 1.5;
  }
  html.theme-light .hz-liste-bos{ background: rgba(255,255,255,.58); }
  html.theme-rose .hz-liste-bos{ background: rgba(255,255,255,.62); }
  @media (max-width: 520px){
    #hizmetListe{ padding: .7rem; gap: .7rem; }
    .hz-kat-hizmetler{ flex-direction: column; flex-wrap: nowrap; gap: .6rem; }
    .hz-kat-hizmetler > .hz-kart{ width: 100%; max-width: 100%; }
    .hz-kart-icerik{ padding: .85rem; }
    .hz-kart-alt-satir{ grid-template-columns: minmax(0,1fr); align-items: start; gap: .55rem; }
    .hz-kart-aksiyonlar{ justify-content: flex-start; }
  }

  /* ── Hizmet kart aksiyonlar ── */
  .hz-kart-kat-etiket{
    display: inline-flex; align-items: center;
    font-size: .48rem; font-weight: 700; padding: .02rem .22rem;
    border-radius: 999px; margin-left: 0;
    background: var(--rv-mint-glow, rgba(74,143,111,.18));
    color: var(--rv-emerald-light, #6aab8a);
    flex-shrink: 0;
  }
  html.theme-light .hz-kart-kat-etiket{ background: rgba(47,107,82,.1); color: #2f6b52; }

  /* ── Hizmet ekleme — kompakt form ── */
  .hz-ekle-card{ padding: .75rem .85rem !important; }
  .hz-ekle-baslik{
    font-size: .82rem;
    font-weight: 800;
    color: var(--rv-text, #0f172a);
    margin: 0 0 .15rem;
    line-height: 1.3;
  }
  #tab-hizmet .field-sm{
    padding: .45rem .6rem;
    font-size: .82rem;
    min-height: 2.15rem;
  }
  .hz-kat-pick{
    display: flex;
    align-items: stretch;
    gap: .4rem;
  }
  .hz-kat-select{ flex: 1 1 auto; min-width: 0; }
  .hz-kat-yeni-btn{ align-self: stretch; white-space: nowrap; }
  .hz-kat-yeni-panel{
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .55rem;
    border-radius: 10px;
    border: 1px dashed var(--rv-line, rgba(15,23,42,.12));
    background: var(--rv-surface-2, rgba(248,250,252,.7));
  }
  html.theme-dark .hz-kat-yeni-panel,
  html.theme-mythos .hz-kat-yeni-panel{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.1);
  }
  .hz-kat-emoji-inp{ width: 2.6rem; flex-shrink: 0; text-align: center; padding-left: .25rem; padding-right: .25rem; }

  /* Service pricing is an explicit choice; keep its state legible in every theme. */
  #tab-hizmet .hz-ekle-card{
    padding: clamp(.9rem, 2.2vw, 1.2rem) !important;
    border: 1px solid var(--rv-line, rgba(100,116,139,.28));
    border-radius: 16px;
    background: linear-gradient(145deg, var(--rv-surface-1, #fff), var(--rv-surface-2, #f8fafc)) !important;
    box-shadow: var(--rv-shadow-card, 0 8px 24px rgba(15,23,42,.09));
  }
  html.theme-dark #tab-hizmet .hz-ekle-card,
  html.theme-mythos #tab-hizmet .hz-ekle-card{
    background: linear-gradient(145deg, #192238, #111827) !important;
    border-color: rgba(148,163,184,.22);
  }
  html.theme-rose #tab-hizmet .hz-ekle-card{
    background: linear-gradient(145deg, #fffafd, #fff2f7) !important;
    border-color: rgba(190,24,93,.18);
  }
  html.theme-light #tab-hizmet .hz-ekle-card{
    border-color: rgba(71,85,105,.2);
    background: linear-gradient(145deg, var(--rv-surface-1, #fff), var(--rv-surface-2, #f8fafc)) !important;
  }
  #tab-hizmet .hz-ekle-baslik{
    display: flex;
    align-items: center;
    min-height: 2rem;
    padding-inline-start: .65rem;
    border-inline-start: 3px solid var(--rv-accent, #c58a3c);
    font-size: .95rem;
    letter-spacing: -.015em;
  }
  #tab-hizmet .hz-ekle-temel-satir{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    align-items: end;
  }
  #tab-hizmet .hz-ekle-alan,
  #tab-hizmet .hz-edit-price-field{ min-width: 0; }
  #tab-hizmet .hz-ekle-alan .field,
  #tab-hizmet .hz-edit-price-field .field{ width: 100%; }
  #tab-hizmet .hz-ekle-alan .form-label,
  #tab-hizmet .hz-edit-form .hz-edit-price-field .form-label{
    display: block;
    margin: 0 0 .32rem;
    color: var(--rv-text-2, #64748b);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .025em;
  }
  #tab-hizmet .hz-ucretsiz-option{
    display: flex;
    width: 100%;
    min-height: 0;
    gap: .7rem;
    padding: .2rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--rv-text, #172033);
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
  }
  #tab-hizmet .hz-ucretsiz-option:hover{ border-color: transparent; }
  #tab-hizmet .hz-ucretsiz-option.is-active{
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }
  #tab-hizmet .hz-ucretsiz-option-copy{
    min-width: 0;
    margin: 0 !important;
    color: var(--rv-text, #172033);
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.35;
  }
  #tab-hizmet .hz-ucretsiz-fiyat-durum{
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .72rem .82rem;
    border: 1px solid color-mix(in srgb, #10b981 32%, var(--rv-line, #94a3b8));
    border-radius: 12px;
    background: color-mix(in srgb, #10b981 7%, var(--rv-surface-1, #fff));
    color: var(--rv-text-2, #475569);
    font-size: .74rem;
    line-height: 1.45;
  }
  #tab-hizmet .hz-ucretsiz-fiyat-durum.hidden{ display: none !important; }
  #tab-hizmet .hz-ucretsiz-fiyat-etiket{
    flex: 0 0 auto;
    padding: .2rem .55rem;
    border: 1px solid rgba(16,185,129,.25);
    border-radius: 999px;
    background: rgba(16,185,129,.13);
    color: #08784e;
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.25;
  }
  html.theme-dark #tab-hizmet .hz-ucretsiz-fiyat-etiket,
  html.theme-mythos #tab-hizmet .hz-ucretsiz-fiyat-etiket{ color: #86efac; }
  html.theme-rose #tab-hizmet .hz-ucretsiz-fiyat-etiket{ color: #08784e; }
  @media (max-width: 767px){
    #tab-hizmet .hz-ekle-temel-satir{ grid-template-columns: minmax(0, 1fr); gap: .58rem; }
    #tab-hizmet .hz-ucretsiz-option{ align-items: center; }
    #tab-hizmet .hz-ucretsiz-fiyat-durum{ align-items: flex-start; }
  }

  .hz-seans-compact{
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: .15rem 0;
  }
  .hz-seans-compact-ust{
    display: flex;
    align-items: center;
    gap: .45rem;
  }
  .hz-seans-compact-label{
    font-size: .76rem;
    font-weight: 600;
    color: var(--rv-text-2, #64748b);
    flex: 1 1 auto;
    min-width: 0;
  }
  .hz-seans-compact-alt{
    display: none;
    flex-direction: column;
    gap: .22rem;
    margin-top: .5rem;
    padding-left: 2.75rem;
  }
  .hz-seans-compact.hz-seans-acik .hz-seans-compact-alt{ display: flex; }
  .hz-seans-alt-etiket{
    font-size: .66rem;
    font-weight: 700;
    color: var(--rv-text-2, #64748b);
  }
  .hz-seans-compact-alt .field{
    width: 100%;
    max-width: 9rem;
  }
  .hz-switch-sm .hz-switch-track{ width: 2.2rem; height: 1.25rem; }
  .hz-switch-sm .hz-switch-thumb{ width: 1rem; height: 1rem; }
  .hz-switch-sm input:checked + .hz-switch-track .hz-switch-thumb{ transform: translateX(.95rem); }

  /* ── Kategori yönetim listesi (legacy) ── */
  .hz-kat-ekle-form{
    background: rgba(255,255,255,.03);
    border: 1px solid var(--rv-line-soft);
    border-radius: 12px; padding: .7rem;
  }
  html.theme-light .hz-kat-ekle-form{ background: rgba(15,23,42,.02); }

  .hz-kat-satir{
    padding: .45rem .6rem; border-radius: 10px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--rv-line-soft);
    transition: background .15s;
  }
  html.theme-light .hz-kat-satir{ background: rgba(15,23,42,.025); }
  .hz-kat-satir:hover{ background: rgba(255,255,255,.06); }
  html.theme-light .hz-kat-satir:hover{ background: rgba(15,23,42,.045); }
  .hz-kat-emoji-badge{ font-size: 1.1rem; width: 1.7rem; text-align: center; }
  .hz-kat-baslik-emoji{ margin-right: .2rem; }
  .hz-kat-satir-ad{ font-size: .82rem; }

  /* ── Personel hizmet gruplu — artisan ── */
  .phz-shell{
    padding: .75rem .8rem;
    border-radius: 14px;
    border: 1px solid rgba(201, 138, 75, .16);
    background: linear-gradient(165deg, #fff 0%, #fffefb 100%);
    box-shadow: 0 2px 10px rgba(201, 138, 75, .06);
  }
  .phz-hint{ margin-top: .65rem; }
  .phz-bos{
    margin: 0;
    padding: 1rem .75rem;
    text-align: center;
    font-size: .74rem;
    font-weight: 600;
    color: #78716c;
    border-radius: 12px;
    border: 1px dashed rgba(201, 138, 75, .28);
    background: rgba(255, 247, 237, .35);
  }
  .personel-hz-grup{
    border: 1px solid rgba(201, 138, 75, .18);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: .45rem;
    background: #fff;
  }
  .personel-hz-grup:last-child{ margin-bottom: 0; }
  .personel-hz-grup-baslik{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
    padding: .55rem .7rem;
    cursor: pointer;
    user-select: none;
    font-size: .78rem;
    font-weight: 800;
    color: #1c1917;
    background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 100%);
    border: none;
    border-bottom: 1px solid rgba(201, 138, 75, .16);
    text-align: left;
    font-family: inherit;
  }
  .personel-hz-grup-ad{
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-width: 0;
  }
  .personel-hz-grup-emoji{ font-size: .95rem; line-height: 1; }
  .personel-hz-grup-meta{
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
  }
  .personel-hz-grup-sayi{
    font-size: .62rem;
    font-weight: 800;
    padding: .12rem .4rem;
    border-radius: 999px;
    background: rgba(146, 64, 14, .1);
    color: #92400e;
  }
  .personel-hz-grup-ok{
    font-size: .7rem;
    color: #b45309;
    transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
  }
  .personel-hz-grup-icerik{
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
    opacity: 1;
    transition: grid-template-rows 520ms cubic-bezier(.22, 1, .36, 1),
      opacity 520ms cubic-bezier(.22, 1, .36, 1);
  }
  .personel-hz-grup-inner{
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: .45rem .5rem .55rem;
  }
  .personel-hz-grup.personel-hz-grup-kapali .personel-hz-grup-icerik{
    grid-template-rows: 0fr;
    opacity: 0;
  }
  .personel-hz-grup.personel-hz-grup-kapali .personel-hz-grup-baslik{
    border-bottom-color: transparent;
  }
  .personel-hz-grup.personel-hz-grup-kapali .personel-hz-grup-ok{ transform: rotate(-90deg); }
  html.theme-dark .phz-shell,
  html.theme-mythos .phz-shell{
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
  }
  html.theme-dark .phz-bos,
  html.theme-mythos .phz-bos{
    color: #94a3b8;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
  }
  html.theme-dark .personel-hz-grup,
  html.theme-mythos .personel-hz-grup{
    background: rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.08);
  }
  html.theme-dark .personel-hz-grup-baslik,
  html.theme-mythos .personel-hz-grup-baslik{
    background: rgba(251, 191, 36, .08);
    border-bottom-color: rgba(255,255,255,.08);
    color: #fde68a;
  }
  html.theme-dark .personel-hz-grup-sayi,
  html.theme-mythos .personel-hz-grup-sayi{
    background: rgba(251, 191, 36, .14);
    color: #fbbf24;
  }
  html.theme-dark .personel-hz-grup-ok,
  html.theme-mythos .personel-hz-grup-ok{ color: #fbbf24; }
  html.theme-rose .personel-hz-grup-baslik{
    background: linear-gradient(165deg, #fff5f9 0%, #fce7f3 100%);
    border-bottom-color: rgba(236, 72, 153, .16);
    color: #9d174d;
  }
  html.theme-rose .personel-hz-grup-sayi{
    background: rgba(236, 72, 153, .12);
    color: #be185d;
  }
  html.theme-rose .personel-hizmet-satir:has(input:checked){
    border-color: rgba(236, 72, 153, .3);
    background: linear-gradient(165deg, #fdf2f8 0%, #fff 100%);
  }
  html.theme-rose .personel-hizmet-etiket input{ accent-color: #db2777; }

/* Hesap guvenlik */
.hesap-passkey-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rv-border, #e2e8f0);
  border-radius: 0.75rem;
  background: rgba(248, 250, 252, 0.6);
}
.hesap-passkey-row strong{ display: block; font-size: 0.88rem; color: #0f172a; }
.hesap-passkey-row .muted{ display: block; font-size: 0.72rem; color: #64748b; margin-top: 0.1rem; }
.hesap-guvenlik-stat .badge{ display: inline-block; margin-top: 0.25rem; }
.hesap-cihaz-sil-btn{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(254, 242, 242, 0.9);
  color: #dc2626;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.hesap-cihaz-sil-btn:hover{
  background: #fee2e2;
  border-color: rgba(239, 68, 68, 0.45);
}
.hesap-cihaz-row{ min-height: 3rem; }
.plan-badge-ok{ background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.plan-badge-muted{ background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }

/* Guvenlik karti — ozet kutulari */
.hesap-guvenlik-kutu{
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
}
html.theme-dark .hesap-guvenlik-kutu,
html.theme-mythos .hesap-guvenlik-kutu{
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(148, 163, 184, 0.25);
}
.hesap-guvenlik-kutu--aktif{
  border-color: #14b8a6;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.25);
}

.hesap-totp-oneri{
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.75rem;
  padding: 0.625rem 0.875rem;
}
html.theme-dark .hesap-totp-oneri,
html.theme-mythos .hesap-totp-oneri{
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
}

/* TOTP Authenticator kurulum */
.hesap-totp-kurulum{
  border: 1px solid var(--rv-border, #e2e8f0);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, #fff 100%);
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hesap-totp-accordion{
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-.25rem);
  transition: grid-template-rows .26s cubic-bezier(.2,.75,.25,1), opacity .18s ease, transform .26s ease, margin-top .26s ease;
  pointer-events: none;
}
.hesap-totp-accordion.is-open{
  grid-template-rows: 1fr;
  margin-top: .7rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hesap-totp-accordion-inner{ min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce){
  .hesap-totp-accordion,
  .hesap-totp-accordion.is-open{ transition: none; transform: none; }
}
.hesap-totp-kurulum-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.hesap-totp-kurulum-title{
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.hesap-totp-kurulum-sub{
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}
.hesap-totp-kurulum-badge{
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}
.hesap-totp-adimlar{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hesap-totp-adim{
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.hesap-totp-adim-no{
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.hesap-totp-adim-body{ flex: 1; min-width: 0; }
.hesap-totp-adim-baslik{
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 0.5rem;
}
.hesap-totp-qr-wrap{
  display: flex;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: #fff;
}
.hesap-totp-qr-wrap canvas{
  display: block;
  border-radius: 0.35rem;
}
.hesap-totp-secret-kutu{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}
.hesap-totp-secret{
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0f172a;
  word-break: break-all;
}
.hesap-totp-kod-input{
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.hesap-totp-kurulum-actions{
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
html.theme-dark .hesap-totp-kurulum,
html.theme-mythos .hesap-totp-kurulum{
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.35) 100%);
  border-color: rgba(148, 163, 184, 0.25);
}
html.theme-dark .hesap-totp-kurulum-title,
html.theme-mythos .hesap-totp-kurulum-title{ color: #f1f5f9; }
html.theme-dark .hesap-totp-adim-baslik,
html.theme-mythos .hesap-totp-adim-baslik{ color: #cbd5e1; }
html.theme-dark .hesap-totp-qr-wrap,
html.theme-mythos .hesap-totp-qr-wrap{ background: rgba(15, 23, 42, 0.6); }
html.theme-dark .hesap-totp-secret-kutu,
html.theme-mythos .hesap-totp-secret-kutu{
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(148, 163, 184, 0.3);
}
html.theme-dark .hesap-totp-secret,
html.theme-mythos .hesap-totp-secret{ color: #e2e8f0; }

/* Destek botu */
.wa-kurulum-chat{
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--ay-surface-muted, #f8fafc);
  border: 1px solid var(--ay-border, #e2e8f0);
}
.wa-kurulum-bot, .wa-kurulum-user{
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 10px;
  max-width: 95%;
  white-space: pre-wrap;
}
.wa-kurulum-bot{
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
.wa-kurulum-user{
  align-self: flex-end;
  background: #059669;
  color: #fff;
}

/* AI Teknik Asistan — premium sohbet */

/* AI maskot — idle / düşünme / konuşma / gülümseme / dinleme */
.rv-ai-mascot-svg{
  -webkit-font-smoothing: antialiased;
}
.rv-ai-mascot-svg .rv-ai-mouth--talk,
.rv-ai-mascot-svg .rv-ai-mouth--grin,
.rv-ai-mascot-svg .rv-ai-mouth--neutral,
.rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 0;
  transition: opacity 0.18s ease;
}
.rv-ai-mascot-svg .rv-ai-mouth--smile{
  opacity: 1;
  transition: opacity 0.18s ease;
}
.rv-ai-mascot-svg .rv-ai-blush{
  opacity: 0;
  transition: opacity 0.25s ease;
}
.rv-ai-mascot-svg .rv-ai-eyes{
  transform-origin: 32px 34px;
  animation: rv-ai-blink 5.4s ease-in-out infinite;
}
.rv-ai-mascot-svg .rv-ai-lid{
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
}
.rv-ai-mascot-svg .rv-ai-antenna{
  transform-origin: 32px 12px;
  animation: rv-ai-bob 3.2s ease-in-out infinite;
}
.rv-ai-mascot-svg .rv-ai-brows{
  transform-origin: 32px 28px;
  transition: transform 0.2s ease;
}
html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-mouth--smile,
html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-mouth--grin,
html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-mouth--neutral,
html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 0;
}
html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-mouth--talk{
  opacity: 1;
  transform-origin: 32px 43px;
  animation: rv-ai-talk 0.28s ease-in-out infinite;
}
html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-eye{
  animation: rv-ai-eye-pulse 0.7s ease-in-out infinite;
}
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-mouth--smile,
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-mouth--talk,
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-mouth--grin,
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-mouth--neutral{
  opacity: 0;
}
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 1;
}
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-brows{
  animation: rv-ai-brow-think 1.6s ease-in-out infinite;
}
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-antenna{
  animation: rv-ai-think-orb 1.1s ease-in-out infinite;
}
html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-pupil{
  animation: rv-ai-look-aside 2.4s ease-in-out infinite;
}
html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-mouth--smile,
html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-mouth--talk,
html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-mouth--grin,
html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 0;
}
html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-mouth--neutral{
  opacity: 1;
}
html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-eye-glow{
  animation: rv-ai-listen-glow 1.1s ease-in-out infinite;
}

html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-mouth--smile,
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-mouth--talk,
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-mouth--neutral,
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 0;
}
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-mouth--grin{
  opacity: 1;
}
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-blush{
  opacity: 0.55;
}
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-eyes{
  animation: rv-ai-happy-squint 0.7s ease-out 1;
}
html[data-ai-mood="love"] .rv-ai-mascot-svg .rv-ai-antenna{
  animation: rv-ai-think-orb 0.7s ease-in-out 2;
}
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-mouth--smile,
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-mouth--grin,
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-mouth--talk,
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 0;
}
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-mouth--neutral{
  opacity: 1;
  transform: rotate(-8deg);
  transform-origin: 32px 43px;
}
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-eyes{
  animation: rv-ai-dizzy-eyes 0.55s linear infinite;
}
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-pupil{
  opacity: 0.35;
}
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-brows{
  transform: translateY(-1.5px);
}
html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-antenna{
  animation: rv-ai-dizzy-antenna 0.4s ease-in-out infinite;
}
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-mouth--smile,
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-mouth--talk,
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-mouth--neutral,
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-mouth--think{
  opacity: 0;
}
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-mouth--grin{
  opacity: 1;
}
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-blush{
  opacity: 0.42;
}
html[data-ai-mood="smile"] .rv-ai-mascot-svg .rv-ai-eyes{
  animation: rv-ai-happy-squint 0.95s ease-out 1;
}

html[data-ai-mood="talk"] .rv-ai-mascot-img,
html[data-ai-mood="think"] .rv-ai-mascot-img,
html[data-ai-mood="listen"] .rv-ai-mascot-img{
  filter: drop-shadow(0 0 10px rgba(226, 232, 240, 0.35));
}
html[data-ai-mood="talk"] .rv-ai-mascot-img{
  animation: rv-ai-img-pulse 0.9s ease-in-out infinite;
}
@keyframes rv-ai-img-pulse{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes rv-ai-blink{
  0%, 86%, 100% { transform: scaleY(1); }
  90%, 94% { transform: scaleY(0.08); }
}
@keyframes rv-ai-bob{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.4px); }
}
@keyframes rv-ai-talk{
  0%, 100% { transform: scaleY(0.32) scaleX(1); }
  35% { transform: scaleY(1.18) scaleX(0.9); }
  70% { transform: scaleY(0.52) scaleX(1.06); }
}
@keyframes rv-ai-eye-pulse{
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}
@keyframes rv-ai-happy-squint{
  0% { transform: scaleY(1); }
  35% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}
@keyframes rv-ai-nod{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.2px); }
}
@keyframes rv-ai-brow-think{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.1px); }
}
@keyframes rv-ai-think-orb{
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-2px) scale(1.12); opacity: 0.85; }
}
@keyframes rv-ai-look-aside{
  0%, 100% { transform: translateX(0); }
  40% { transform: translateX(1.2px); }
  70% { transform: translateX(-0.8px); }
}
@keyframes rv-ai-listen-glow{
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.42; }
}
@keyframes rv-ai-listen-pulse{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes rv-ai-dizzy-eyes{
  0% { transform: rotate(0deg) scaleY(1); }
  50% { transform: rotate(18deg) scaleY(0.85); }
  100% { transform: rotate(360deg) scaleY(1); }
}
@keyframes rv-ai-dizzy-antenna{
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-2px); }
}
@media (prefers-reduced-motion: reduce){
  .destek-float-header .destek-app-status::before,
  .rv-ai-mascot-svg .rv-ai-eyes,
  .rv-ai-mascot-svg .rv-ai-antenna,
  html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-mouth--talk,
  html[data-ai-mood="talk"] .rv-ai-mascot-svg .rv-ai-eye,
  html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-brows,
  html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-antenna,
  html[data-ai-mood="think"] .rv-ai-mascot-svg .rv-ai-pupil,
  html[data-ai-mood="listen"] .rv-ai-mascot-svg .rv-ai-eye-glow,
  html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-eyes,
  html[data-ai-mood="dizzy"] .rv-ai-mascot-svg .rv-ai-antenna,
  html[data-ai-mood="talk"] .destek-app-avatar .rv-ai-mascot-svg,
  html[data-ai-mood="talk"] .destek-launcher-core .rv-ai-mascot-svg,
  html[data-ai-mood="think"] .destek-app-avatar .rv-ai-mascot-svg,
  html[data-ai-mood="think"] .destek-launcher-core .rv-ai-mascot-svg,
  html[data-ai-mood="listen"] .destek-app-avatar .rv-ai-mascot-svg,
  html[data-ai-mood="listen"] .destek-launcher-core .rv-ai-mascot-svg,
  html[data-ai-mood="talk"] .rv-ai-mascot-img,
  .destek-app-avatar.is-loved,
  .destek-app-avatar.is-dizzy,
  .destek-app-avatar.is-dizzy .destek-avatar-stars,
  .destek-avatar-heart {
    animation: none !important;
  }
}

/* Yalnızca yeni canlı yazı / eylem — tüm sohbeti her render'da yeniden animasyonlama (zıplama sebebi) */

@media (min-width: 360px){
  .destek-menu-chat--sektor {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hazır soru chip'i: sekme kısayolundan görsel olarak ayrılır */

/* Premium sohbet — panel teması WhatsApp yeşiline dönmesin */

@media (max-width: 640px){
  .destek-shell { max-width: 100%; padding-bottom: 0.75rem; }
  .destek-app {
    min-height: min(74vh, 640px);
    max-height: min(78vh, 680px);
    border-radius: 14px;
  }
  .destek-chat { min-height: 0; padding: 14px 12px 10px; }
  .destek-msg { max-width: 88%; }
}

/* AI Asistan — kısayoldan yüzen sohbet balonu */

/* Mobil: kapalıyken display:none. Masaüstü: asla — sidebar gibi transform ile kayar */

/* Float header — panel ile iç içe chat kimlik şeridi + bel-üstü avatar yuvası */

/* Premium yuva: daire icinde yuz/kafa */

/* Kurulum: progress satırı için biraz daha yüksek grid header */

/* Açık + gül — destek float okunaklı shell (dark hardcode üzerine) */

/* İlk kurulum — panel kullanılırken asistan açık kalır */

/* Zorunlu panel tanitimi — konum; giris animasyonu WAAPI */

/* Desktop — yan panel (mevcut premium deneyim) */
@media (min-width: 768px){
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-overlay {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.25rem 1rem 1rem calc(var(--rv-sidebar-w, 13.75rem) + 0.75rem);
  }
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-card {
    width: min(22.5rem, calc(100vw - var(--rv-sidebar-w, 13.75rem) - 2rem));
    max-height: min(78vh, 560px);
    height: min(78vh, 560px);
    border-radius: 20px;
  }
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-card .destek-chat {
    min-height: 0;
  }
}

/* Mobil — kompakt alt çekmece; panel görünür kalsın (detay kurallar aşağıda max-width:767 birleşik blokta) */
@media (max-width: 767px){
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 calc(var(--mob-nav-bar-h, 3.05rem) + env(safe-area-inset-bottom, 0px));
  }
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-card {
    width: 100%;
    max-width: none;
    border-radius: 16px 16px 0 0;
    box-shadow:
      0 -10px 36px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(201, 138, 75, 0.22);
  }
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-card .destek-chat {
    min-height: 0;
    flex: 1 1 auto;
    padding: 8px 10px 6px;
  }
  /* Eski: tüm kurulumda composer kapalıydı → salon adı yazılamıyordu. Yalnızca tur. */
  body.destek-kurulum-tur.destek-kurulum-premium .destek-composer,
  body.destek-float-open.destek-kurulum-tur .destek-composer {
    display: none;
  }
  body.destek-kurulum-modu.destek-kurulum-premium .destek-msg {
    max-width: 94%;
  }
}

/* Hedef sekme: görünür vurgu — tıklanamaz (yalnızca AI açar) */

@keyframes kurulum-hedef-pulse{
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 138, 75, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(201, 138, 75, 0.18); }
}

/* Desktop — AI sag dock = sol sidebar ile ayni kayma modeli */
@media (min-width: 768px){
  .sidebar-btn[data-tab="destek"],
  #tab-destek {
    display: none !important;
  }

  :root {
    --destek-dock-w: min(22.5rem, 34vw);
    --destek-dock-gap: 0;
    --destek-ease: cubic-bezier(.22, 1, .36, 1);
    --destek-dur: .45s;
  }

  /* Panel sola kayar — sidebar margin-left ile birebir */
  body.destek-float-open .panel-shell {
    margin-right: var(--destek-dock-w);
  }
  body.destek-float-open {
    overflow: auto;
    touch-action: auto;
  }

  /* Kapaliyken de DOM'da kalsin — display:none transition oldurur */
  .destek-float-overlay.hidden {
    display: block !important;
    visibility: visible;
    pointer-events: none;
  }

  /* inset shorthand KULLANMA — top/right'i sifirlar, AI yok olur */
  .destek-float-overlay,
  body.destek-float-open .destek-float-overlay.is-open,
  body.destek-float-open:not(.destek-kurulum-modu) .destek-float-overlay.is-open,
  body.destek-float-open.destek-kurulum-modu .destek-float-overlay.is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--destek-dock-w);
    height: auto;
    max-height: none;
    /* Ust bosluk: 76px kafa header disina tasar */
    padding: 1.15rem 0 0;
    margin: 0;
    box-sizing: border-box;
    align-items: stretch;
    justify-content: stretch;
    display: block !important;
    pointer-events: none;
    background: transparent;
    overflow: visible;
    z-index: 10060;
  }

  .destek-float-backdrop,
  body.destek-float-open .destek-float-backdrop,
  body.destek-float-open:not(.destek-kurulum-modu) .destek-float-backdrop,
  body.destek-float-open.destek-kurulum-modu .destek-float-backdrop {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Kapali: sagda disarida. Acik: body class — sidebar gibi */
  .destek-float-card,
  .destek-float-card.destek-app {
    pointer-events: auto;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    min-height: 100%;
    border-radius: 16px 0 0 16px;
    margin: 0;
    align-self: stretch;
    overflow: visible;
    transform: translateX(calc(100% + 6px));
    opacity: 1;
    transition: transform var(--destek-dur) var(--destek-ease);
    will-change: transform;
    box-shadow:
      -8px 0 32px rgba(0, 0, 0, 0.28),
      0 0 0 1px rgba(201, 138, 75, 0.18);
  }

  body.destek-float-open .destek-float-card,
  body.destek-float-open .destek-float-card.destek-app,
  .destek-float-overlay.is-open .destek-float-card {
    transform: translateX(0);
  }

  .destek-float-card .destek-chat {
    min-height: 0;
  }
}

/* AI FAB — yalnızca masaüstü; mobilde alt kısayol (#mobQuickAiBtn) */

@media (max-width: 767px){
  #destekLauncher,
  .destek-launcher {
    display: none !important;
  }
}

/* AI nudge balon — premium dark chrome, X ile dismiss */

@media (prefers-reduced-motion: reduce){
  .destek-nudge-bubble.destek-nudge-in { animation: none; }
  .destek-nudge-bubble-body:hover { background: transparent; }
}
/* Light tema — soft dark card kalır (panel AI chrome) */

/* Mobil — AI / kurulum alt çekmece: panel çoğunlukla görünür kalsın */
@media (max-width: 767px){
  body.destek-float-open {
    --destek-sheet-h: min(36vh, 300px);
    overflow: auto !important;
    touch-action: auto !important;
  }
  body.destek-float-open.destek-kurulum-modu {
    --destek-sheet-h: min(48vh, 400px);
  }
  body.destek-float-open .panel-shell,
  body.destek-float-open #app.app-shell {
    padding-bottom: calc(
      var(--destek-sheet-h) + var(--mob-nav-bar-h, 3.05rem) + env(safe-area-inset-bottom, 0px) + 0.35rem
    ) !important;
    box-sizing: border-box;
  }
  body.destek-float-open .destek-float-overlay.is-open,
  body.destek-float-open.destek-kurulum-modu .destek-float-overlay.is-open,
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-overlay.is-open {
    pointer-events: none !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 0 calc(var(--mob-nav-bar-h, 3.05rem) + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.destek-float-open .destek-float-backdrop,
  body.destek-kurulum-modu .destek-float-backdrop {
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.destek-float-open .destek-float-card,
  body.destek-float-open .destek-float-card.destek-app,
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-card,
  body.destek-kurulum-modu.destek-kurulum-premium-ready .destek-float-card {
    pointer-events: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--destek-sheet-h) !important;
    max-height: var(--destek-sheet-h) !important;
    min-height: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    margin: 0 !important;
    /* transform/opacity: WAAPI — !important isinlanma yapardi */
  }
  /* Mobilde kafa orantılı — çekmeceyi yutmasın; masaüstü büyük kalsın */
  body.destek-float-open header.destek-float-header .destek-app-avatar,
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-header .destek-app-avatar {
    width: 3.35rem !important;
    height: 3.35rem !important;
    min-width: 3.35rem !important;
    min-height: 3.35rem !important;
    max-width: 3.35rem !important;
    max-height: 3.35rem !important;
    margin: 0 !important;
  }
  body.destek-float-open header.destek-float-header .destek-app-avatar .rv-ai-mascot,
  body.destek-float-open header.destek-float-header .destek-app-avatar .rv-ai-mascot-svg,
  body.destek-float-open header.destek-float-header .destek-app-avatar .rv-ai-icon,
  body.destek-kurulum-modu.destek-kurulum-premium .destek-float-header .destek-app-avatar .rv-ai-mascot {
    width: 3.05rem !important;
    height: 3.05rem !important;
    max-width: 3.05rem !important;
    max-height: 3.05rem !important;
  }
  body.destek-float-open header.destek-float-header {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: 0.28rem 0.45rem 0.28rem 0.3rem !important;
  }
  body.destek-kurulum-tur.destek-kurulum-premium .destek-composer,
  body.destek-float-open.destek-kurulum-tur .destek-composer {
    display: none !important;
  }
}

/* Tablet — dar dock, panel ferah kalsın */
@media (min-width: 768px) and (max-width: 1100px){
  :root {
    --destek-dock-w: min(19.5rem, 36vw);
  }
}

/* Mobil — AI alt çekmece; karartma yok, panel tıklanabilir kalsın */
@media (max-width: 767px){
  body.destek-float-open:not(.destek-kurulum-modu) {
    overflow: auto;
    touch-action: auto;
  }
  body.destek-float-open:not(.destek-kurulum-modu) .destek-float-overlay.is-open {
    pointer-events: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 calc(var(--mob-nav-bar-h, 3.05rem) + env(safe-area-inset-bottom, 0px));
  }
  body.destek-float-open:not(.destek-kurulum-modu) .destek-float-backdrop {
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.destek-float-open:not(.destek-kurulum-modu) .destek-float-card {
    pointer-events: auto;
    width: 100%;
    max-width: none;
    max-height: var(--destek-sheet-h, min(36vh, 300px));
    height: var(--destek-sheet-h, min(36vh, 300px));
    border-radius: 16px 16px 0 0;
  }
}

/* Randevu aksiyon sheet */
.apt-card--tikla{
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease;
}
.apt-card--tikla:active{
  transform: scale(0.99);
}

/* —— Randevu aksiyon drawer (premium) —— */
#randevuAksiyonDrawer .ra-drawer-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem .85rem;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
}
#randevuAksiyonDrawer .ra-drawer-title-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .5rem;
  min-width: 0;
}
#randevuAksiyonDrawer .ra-drawer-ad{
  margin: 0;
  font-family: var(--rv-font-d);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #1c1917;
  line-height: 1.2;
}
#randevuAksiyonDrawer .ra-drawer-meta{
  margin: .35rem 0 0;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #78716c;
}
#randevuAksiyonDrawer .ra-drawer-durum{
  font-size: .62rem !important;
  font-weight: 800;
  padding: .18rem .48rem !important;
}
#randevuAksiyonDrawer .ra-drawer-kapat{
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  background: #fff;
  color: #64748b;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, color .15s;
}
#randevuAksiyonDrawer .ra-drawer-kapat:hover{
  background: #fff7ed;
  color: #92400e;
  border-color: rgba(201, 138, 75, .3);
}
#randevuAksiyonDrawer .ra-drawer-body{
  background: linear-gradient(180deg, #fffefb 0%, #fff 40%);
}
.ra-iletisim-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.ra-iletisim-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.65rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .12s, box-shadow .15s, filter .15s;
}
.ra-iletisim-btn:active{ transform: scale(.98); }
.ra-iletisim-btn--tel{
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
  border-color: rgba(71, 85, 105, .22);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}
.ra-iletisim-btn--tel:hover{
  border-color: rgba(71, 85, 105, .35);
  background: #f8fafc;
}
.ra-iletisim-btn--wa{
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  border-color: rgba(7, 94, 84, .35);
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 140, 126, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.ra-iletisim-btn--wa:hover{ filter: brightness(1.05); }
.ra-iletisim-btn .ra-wa-svg,
.ra-iletisim-btn .ra-tel-svg{
  flex-shrink: 0;
  display: block;
}
.ra-aksiyon-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.ra-aksiyon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .6rem .7rem;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 800;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s, filter .15s;
}
.ra-aksiyon-btn:active{ transform: scale(.98); }
.ra-aksiyon-btn--geldi{
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: rgba(146, 64, 14, .4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217, 119, 6, .32), inset 0 1px 0 rgba(255,255,255,.2);
}
.ra-aksiyon-btn--geldi:hover{ filter: brightness(1.05); }
.ra-aksiyon-btn--ertele{
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border-color: rgba(201, 138, 75, .35);
  color: #78350f;
  box-shadow: 0 2px 8px rgba(201, 138, 75, .1);
}
.ra-aksiyon-btn--ertele:hover{
  background: #fff7ed;
  border-color: rgba(180, 83, 9, .45);
}
.ra-aksiyon-btn--duzenle{
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-color: rgba(100, 116, 139, .35);
  color: #334155;
  box-shadow: 0 2px 8px rgba(100, 116, 139, .08);
}
.ra-aksiyon-btn--duzenle:hover{
  background: #f1f5f9;
  border-color: rgba(71, 85, 105, .45);
}
.ra-aksiyon-btn--gelmedi{
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border-color: rgba(249, 115, 22, .35);
  color: #c2410c;
  box-shadow: 0 2px 8px rgba(249, 115, 22, .1);
}
.ra-aksiyon-btn--iptal{
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
  border-color: rgba(239, 68, 68, .28);
  color: #b91c1c;
  box-shadow: 0 2px 8px rgba(239, 68, 68, .08);
}
.ra-aksiyon-btn--iptal:hover{
  background: #fef2f2;
  border-color: rgba(185, 28, 28, .4);
}
.ra-iptal-blok{
  padding-top: .15rem;
}
.ra-iptal-uyari{
  margin: 0;
  font-size: .72rem;
  line-height: 1.4;
  color: var(--rv-text-3, #94a3b8);
}
.ra-iptal-not{
  min-height: 4.5rem;
  resize: vertical;
  width: 100%;
}
.ra-iptal-blok .ra-aksiyon-btn--iptal{
  width: 100%;
}
html.theme-rose #randevuAksiyonDrawer .ra-drawer-head{
  background: linear-gradient(180deg, #fff 0%, #fff5f9 100%);
  border-bottom-color: rgba(236, 72, 153, .12);
}
html.theme-rose #randevuAksiyonDrawer .ra-drawer-ad{ color: #500724; }
html.theme-rose #randevuAksiyonDrawer .ra-drawer-meta{ color: #9d174d; }
html.theme-rose .ra-aksiyon-btn--geldi{
  background: linear-gradient(135deg, #ec4899, #db2777);
  border-color: rgba(157, 23, 77, .35);
  box-shadow: 0 4px 16px rgba(236, 72, 153, .3), inset 0 1px 0 rgba(255,255,255,.2);
}
html.theme-dark #randevuAksiyonDrawer .ra-drawer-head,
html.theme-mythos #randevuAksiyonDrawer .ra-drawer-head{
  background: linear-gradient(180deg, rgba(26, 36, 56, .98) 0%, rgba(20, 28, 46, .98) 100%);
  border-bottom-color: rgba(255,255,255,.08);
}
html.theme-dark #randevuAksiyonDrawer .ra-drawer-ad,
html.theme-mythos #randevuAksiyonDrawer .ra-drawer-ad{ color: #f1f5f9; }
html.theme-dark #randevuAksiyonDrawer .ra-drawer-meta,
html.theme-mythos #randevuAksiyonDrawer .ra-drawer-meta{ color: #94a3b8; }
html.theme-dark #randevuAksiyonDrawer .ra-drawer-kapat,
html.theme-mythos #randevuAksiyonDrawer .ra-drawer-kapat{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #cbd5e1;
}
html.theme-dark #randevuAksiyonDrawer .ra-drawer-body,
html.theme-mythos #randevuAksiyonDrawer .ra-drawer-body{
  background: rgba(20, 28, 46, .98);
}
html.theme-dark .ra-iletisim-btn--tel,
html.theme-mythos .ra-iletisim-btn--tel{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #e2e8f0;
}
html.theme-dark .ra-aksiyon-btn--ertele,
html.theme-mythos .ra-aksiyon-btn--ertele{
  background: rgba(255,255,255,.06);
  border-color: rgba(251, 191, 36, .28);
  color: #fde68a;
}
html.theme-dark .ra-aksiyon-btn--duzenle,
html.theme-mythos .ra-aksiyon-btn--duzenle{
  background: rgba(255,255,255,.06);
  border-color: rgba(148, 163, 184, .3);
  color: #e2e8f0;
}

.ra-slot-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
@media (max-width: 767px){
  .ra-slot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .ra-slot-btn {
    min-height: 2.65rem;
    padding: 0.75rem 0.25rem;
    font-size: 0.88rem;
  }
}
.ra-slot-btn{
  padding: 0.7rem 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid var(--rv-border, rgba(15,23,42,.1));
  background: var(--rv-surface-2, #f8fafc);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rv-text, #0f172a);
}
.ra-slot-btn--selected{
  border-color: rgba(180, 83, 9, 0.55);
  background: rgba(251, 191, 36, 0.22);
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.25);
}
html.theme-dark .ra-slot-btn,
html.theme-mythos .ra-slot-btn{
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}

/* —— Kasa UX (theme-safe) —— */
.kasa-kart{ --kasa-line: var(--rv-border, rgba(15,23,42,.1)); }
.kasa-hata{ font-size: .75rem; color: #dc2626; }
.kasa-hata.kasa-hata--bayat{ color: var(--rv-gold-2, #d4a84b); }
.kasa-ozet-kutu{
  border-radius: .85rem; padding: .75rem .5rem;
  border: 1px solid var(--kasa-line);
  background: var(--rv-surface-2, rgba(15,23,42,.04));
}
.kasa-ozet-etiket{ font-size: var(--rv-label-sm); font-weight: 800; letter-spacing: .02em; color: var(--rv-text-2, #64748b); }
.kasa-ozet-deger{ font-size: 1.1rem; font-weight: 900; color: var(--rv-text, #0f172a); margin-top: .15rem; }
.kasa-ozet-gelir{ border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.08); }
.kasa-ozet-gider{ border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.08); }

.kasa-ozet-devreden{ border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.1); }
.kasa-odeme-kutu{
  border-radius: .7rem; padding: .55rem .4rem;
  border: 1px solid var(--kasa-line);
  background: var(--rv-surface, transparent);
}
.kasa-odeme-etiket{ font-weight: 700; color: var(--rv-text-2, #64748b); }
.kasa-odeme-deger{ font-weight: 900; color: var(--rv-text, #0f172a); margin-top: .15rem; }
.kasa-odeme-uyari{ border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.1); }
.kasa-gun-kart{
  border-radius: .9rem; padding: .85rem;
  border: 1px solid rgba(20,184,166,.28);
  background: rgba(20,184,166,.08);
}
.kasa-gun-baslik{ font-size: .72rem; font-weight: 800; color: var(--rv-text, #0f172a); }
.kasa-gun-beklenen{ font-size: .88rem; color: var(--rv-text, #0f172a); }
.kasa-gun-durum{ font-size: .7rem; color: var(--rv-text-2, #64748b); margin-top: .2rem; }
.kasa-gun-fark{ font-size: .75rem; font-weight: 700; margin-top: .25rem; }
.kasa-gun-fark.kasa-fark-var{ color: #dc2626; }
.kasa-sayilan-lbl{ display: flex; flex-direction: column; gap: .3rem; font-size: .72rem; font-weight: 700; color: var(--rv-text-2); max-width: 14rem; }
.kasa-gun-not-lbl{
  display: flex; flex-direction: column; gap: .3rem;
  font-size: .72rem; font-weight: 700; color: var(--rv-text-2, #64748b);
}
.kasa-gun-not{ width: 100%; resize: vertical; min-height: 2.5rem; }
.kasa-eksik-uyari{ font-size: .72rem; font-weight: 650; color: #b45309; line-height: 1.4; margin: 0; }
.kasa-form-bolum{ border-top: 1px solid var(--kasa-line); padding-top: .85rem; }
.kasa-form-ipucu{ font-size: .72rem; color: var(--rv-text-2, #64748b); line-height: 1.4; margin: 0; }
.kasa-tekrar-lbl{ color: var(--rv-text-2, #475569); }

.kasa-hareket-satir{
  display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start;
  padding: .65rem 0; border-bottom: 1px solid var(--kasa-line);
}
.kasa-hareket-ust{ font-size: .78rem; font-weight: 700; color: var(--rv-text, #0f172a); }
.kasa-hareket-alt{ font-size: .68rem; color: var(--rv-text-2, #64748b); margin-top: .15rem; }
.kasa-satir-gelir{ color: #059669; }
.kasa-satir-gider{ color: #dc2626; }
.kasa-satir-iptal{ opacity: .55; text-decoration: line-through; }
.kasa-hareket-sag{ display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex-shrink: 0; }
.kasa-hareket-tutar{ font-weight: 900; font-size: .85rem; color: var(--rv-text, #0f172a); }
.kasa-iptal-btn{
  border: 0; background: transparent; cursor: pointer;
  font-size: .68rem; font-weight: 800; color: #dc2626; padding: 0;
}
.kasa-iptal-badge{ font-size: .65rem; color: var(--rv-text-2); }
.kasa-odeme-rozet{
  display: inline-block; font-size: .65rem; font-weight: 700;
  padding: .15rem .4rem; border-radius: .4rem;
  background: rgba(15,23,42,.06); color: var(--rv-text-2);
}
.kasa-odeme-ata{ max-width: 9.5rem; font-size: .72rem !important; padding: .3rem .4rem !important; }
.kasa-liste-bos{ font-size: .75rem; color: var(--rv-text-2); padding: .75rem 0; }
html.theme-dark .kasa-ozet-gelir, html.theme-mythos .kasa-ozet-gelir{ background: rgba(16,185,129,.12); }
html.theme-dark .kasa-ozet-gider, html.theme-mythos .kasa-ozet-gider{ background: rgba(239,68,68,.12); }
html.theme-dark .kasa-ozet-devreden, html.theme-mythos .kasa-ozet-devreden{ background: rgba(245,158,11,.12); }
html.theme-dark .kasa-gun-kart, html.theme-mythos .kasa-gun-kart{ background: rgba(20,184,166,.12); border-color: rgba(45,212,191,.25); }
html.theme-dark .kasa-ozet-deger, html.theme-mythos .kasa-ozet-deger,
html.theme-dark .kasa-odeme-deger, html.theme-mythos .kasa-odeme-deger,
html.theme-dark .kasa-hareket-tutar, html.theme-mythos .kasa-hareket-tutar{ color: #f1f5f9; }
html.theme-dark .kasa-satir-gelir, html.theme-mythos .kasa-satir-gelir{ color: #34d399; }
html.theme-dark .kasa-satir-gider, html.theme-mythos .kasa-satir-gider{ color: #f87171; }
html.theme-dark .kasa-odeme-rozet, html.theme-mythos .kasa-odeme-rozet{ background: rgba(255,255,255,.06); color: #cbd5e1; }
html.theme-rose .kasa-ozet-gelir{ background: rgba(244,63,94,.08); border-color: rgba(244,63,94,.25); }
html.theme-rose .kasa-gun-kart{ background: rgba(244,63,94,.06); border-color: rgba(244,63,94,.2); }

/* —— Kasa redesign v3: dönem pilleri, tek-vurgu hero, katlanır bölümler —— */
.kasa-hero, .kasa-liste-kart{ padding: 1rem; }
.kasa-hero{ display: flex; flex-direction: column; gap: .75rem; }
.kasa-donem-satir{ display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.kasa-donem-etiket{ font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--rv-text-2, #64748b); }
.kasa-donem-pills{ display: flex; gap: .35rem; flex-wrap: wrap; }
.kasa-donem-pill{
  border: 1px solid var(--kasa-line); background: transparent; color: var(--rv-text-2, #64748b);
  font-size: .74rem; font-weight: 700; padding: .32rem .7rem; border-radius: 999px; cursor: pointer;
  transition: all .15s ease;
}
.kasa-donem-pill:hover{ border-color: var(--rv-gold, #c98a4b); color: var(--rv-gold-2, #e6b47e); }
.kasa-donem-pill.active{
  background: linear-gradient(135deg, var(--rv-gold-2, #e6b47e), var(--rv-gold, #c98a4b));
  border-color: transparent; color: #201004; font-weight: 800;
}
.kasa-ozel-donem-link{
  margin-left: auto; border: 0; background: transparent; cursor: pointer;
  font-size: .72rem; font-weight: 700; color: var(--rv-gold-2, #c98a4b); text-decoration: underline; padding: 0;
}
.kasa-ozel-donem-blok{
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem; border-radius: .7rem; background: var(--rv-surface-2, rgba(15,23,42,.04)); border: 1px solid var(--kasa-line);
}
.kasa-ozet-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; text-align: center; }
.kasa-ozet-soru{ font-size: .7rem; font-weight: 800; letter-spacing: .01em; color: var(--rv-text-2, #64748b); }
.kasa-ozet-net{
  border-color: rgba(201,138,75,.4);
  background: rgba(201,138,75,.1);
}
.kasa-net-detay{ font-size: .74rem; color: var(--rv-text-2, #64748b); text-align: center; }
.kasa-uyari-satir{
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem;
  font-size: .74rem; font-weight: 700; color: #b45309;
  padding: .5rem .65rem; border-radius: .6rem;
  background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35);
}
.kasa-uyari-not{ font-weight: 600; color: var(--rv-text-2, #92400e); }
.kasa-cta-ekle{
  width: 100%; padding: .85rem; border-radius: .85rem; border: 0; cursor: pointer;
  font-size: .92rem; font-weight: 800; color: #201004;
  background: linear-gradient(135deg, var(--rv-gold-2, #e6b47e), var(--rv-gold, #c98a4b), var(--rv-gold-deep, #8a5a2e));
  box-shadow: 0 6px 20px var(--rv-gold-glow, rgba(201,138,75,.3));
  transition: transform .15s ease, box-shadow .15s ease;
}
.kasa-cta-ekle:hover{ transform: translateY(-1px); box-shadow: 0 8px 26px var(--rv-gold-glow, rgba(201,138,75,.4)); }
.kasa-cta-ekle:active{ transform: translateY(0); }
.kasa-acc{ padding: 0 !important; overflow: hidden; }
.kasa-acc-baslik{
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .9rem 1rem; cursor: pointer; list-style: none;
  font-size: .85rem; font-weight: 800; color: var(--rv-text, #0f172a);
}
.kasa-acc-baslik::-webkit-details-marker{ display: none; }
.kasa-odeme-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; text-align: center; }
.kasa-liste-kart{ padding-top: .9rem; }
.kasa-liste-baslik-satir{ display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.kasa-liste-baslik{ font-size: .9rem; font-weight: 800; color: var(--rv-text, #0f172a); margin: 0; }
.kasa-hareket-liste{
  border-top: 0;
}
@media (max-width: 640px){
  .kasa-ozet-grid { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .kasa-ozet-soru { font-size: .62rem; }
  .kasa-ozet-deger { font-size: .92rem; }
  .kasa-ozel-donem-blok { grid-template-columns: 1fr; }
  .kasa-odeme-grid { grid-template-columns: repeat(3, 1fr); }
}
html.theme-dark .kasa-donem-pill, html.theme-mythos .kasa-donem-pill{ color: #cbd5e1; }
html.theme-dark .kasa-ozet-net, html.theme-mythos .kasa-ozet-net{ background: rgba(201,138,75,.16); }
html.theme-dark .kasa-uyari-satir, html.theme-mythos .kasa-uyari-satir{ color: #fbbf24; }
html.theme-rose .kasa-ozet-net{ background: rgba(244,63,94,.08); border-color: rgba(244,63,94,.25); }

.kasa-fark-kart{
  display: flex; flex-direction: column; gap: .2rem;
  padding: .65rem .75rem; border-radius: .7rem;
  background: rgba(15, 23, 42, .04);
  border: 1px dashed rgba(100, 116, 139, .35);
}
.kasa-fark-kart--sonuc{
  border-style: solid;
  background: rgba(201, 138, 75, .08);
  border-color: rgba(201, 138, 75, .35);
}
.kasa-fark-etiket{
  font-size: .65rem; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; color: var(--rv-text-2, #64748b);
}
.kasa-fark-bekliyor{ color: var(--rv-text-2, #94a3b8) !important; font-weight: 600 !important; }
html.theme-dark .kasa-fark-kart, html.theme-mythos .kasa-fark-kart{
  background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.28);
}
html.theme-dark .kasa-fark-kart--sonuc, html.theme-mythos .kasa-fark-kart--sonuc{
  background: rgba(201,138,75,.12); border-color: rgba(251,191,36,.35);
}

.kasa-odeme-kirilim{
  text-align: center; font-size: .72rem; font-weight: 700;
  color: var(--rv-text-2, #64748b); margin-top: -.15rem;
}
.kasa-gun-net-satir{ font-size: .72rem; color: var(--rv-text-2, #64748b); margin-top: .15rem; }
.kasa-fark-ok{ color: #059669 !important; }
.kasa-fark-fazla{ color: #2563eb !important; }
.kasa-liste-filtre{ display: flex; flex-wrap: wrap; gap: .3rem; margin-right: auto; margin-left: .5rem; }
.kasa-filtre-pill{
  border: 1px solid var(--kasa-line, rgba(15,23,42,.1)); background: transparent;
  border-radius: 999px; padding: .2rem .55rem; font-size: .65rem; font-weight: 700;
  color: var(--rv-text-2, #64748b); cursor: pointer;
}
.kasa-filtre-pill.active{
  background: rgba(201,138,75,.18); border-color: rgba(201,138,75,.4); color: var(--rv-text, #0f172a);
}
.kasa-gecmis-rozet{
  display: inline-flex; align-items: center; margin-left: .35rem;
  padding: .1rem .4rem; border-radius: 999px; font-size: .6rem; font-weight: 800;
  background: rgba(245,158,11,.16); color: #b45309; border: 1px solid rgba(245,158,11,.35);
}
.ra-odeme-chips{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ra-odeme-chip{
  border: 1.5px solid rgba(15,23,42,.12); background: #fff; color: #0f172a;
  border-radius: 12px; padding: .7rem .4rem; font-size: .82rem; font-weight: 800;
  cursor: pointer; transition: background .12s, border-color .12s, transform .1s;
}
.ra-odeme-chip:active{ transform: scale(.97); }
.ra-odeme-chip--aktif{
  border-color: rgba(74,143,111,.55); background: rgba(16,185,129,.12); color: #065f46;
  box-shadow: 0 0 0 2px rgba(74,143,111,.25);
}
html.theme-dark .ra-odeme-chip, html.theme-mythos .ra-odeme-chip{
  background: #1a2438; color: #e2e8f0; border-color: rgba(148,163,184,.25);
}
html.theme-dark .ra-odeme-chip--aktif, html.theme-mythos .ra-odeme-chip--aktif{
  background: #1c2e26; color: #a7f3d0; border-color: rgba(110,231,183,.4);
}
html.theme-dark .kasa-gecmis-rozet, html.theme-mythos .kasa-gecmis-rozet{
  color: #fbbf24; background: rgba(245,158,11,.18);
}
html.theme-dark .kasa-filtre-pill.active, html.theme-mythos .kasa-filtre-pill.active{
  color: #f1f5f9;
}
.kasa-yontem-ata{ display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.kasa-yontem-mini{
  border: 1px solid rgba(74, 143, 111, .35);
  background: rgba(16, 185, 129, .08);
  color: #047857;
  border-radius: 999px;
  padding: .18rem .5rem;
  font-size: .62rem;
  font-weight: 800;
  cursor: pointer;
}
.kasa-yontem-mini:active{ transform: scale(.97); }
html.theme-dark .kasa-yontem-mini, html.theme-mythos .kasa-yontem-mini{
  color: #a7f3d0; background: rgba(16,185,129,.12); border-color: rgba(110,231,183,.3);
}

  .hesap-sil-zone{
    margin-top: 2.5rem;
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid rgba(248, 113, 113, .18);
    background: color-mix(in srgb, #7f1d1d 6%, transparent);
    border-radius: 12px;
  }
  html.theme-mythos .hesap-sil-zone{
    background: rgba(127, 29, 29, .12);
    border-color: rgba(248, 113, 113, .22);
  }
  .hesap-sil-baslik{
    margin: 0 0 .35rem;
    font-size: .92rem;
    font-weight: 700;
    color: #b91c1c;
  }
  html.theme-mythos .hesap-sil-baslik{ color: #fca5a5; }
  .hesap-sil-ozet{
    margin: 0 0 .85rem;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--rv-text-2, #64748b);
  }
  .hesap-sil-ac{ color: #b91c1c !important; border-color: rgba(185, 28, 28, .28) !important; }
  .hesap-sil-liste{
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    font-size: .76rem;
    line-height: 1.55;
    color: var(--rv-text-2, #64748b);
  }
  .hesap-sil-liste li{ margin: .25rem 0; }
  .hesap-sil-adim{
    margin: 0 0 .65rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rv-text-3, #94a3b8);
  }
  .hesap-sil-hint{
    margin: .4rem 0 .75rem;
    font-size: .72rem;
    line-height: 1.45;
    color: var(--rv-text-3, #94a3b8);
  }
  .hesap-sil-hata{
    margin: 0 0 .75rem;
    font-size: .78rem;
    color: #b91c1c;
  }
  .hesap-sil-aksiyon{
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .85rem;
  }
  .btn-danger{
    background: #b91c1c;
    color: #fff;
    border: 1px solid #991b1b;
  }
  .btn-danger:hover{ background: #991b1b; }
  .btn-danger:disabled{ opacity: .55; }

.rv-rozet-svg{ display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }

/* ── Sıralama board: açık / gül temada aydınlık (karanlık değil) ── */

/* ── Salon duyurusu (patron -> personel) — Randevuka "Haberler"den ayrı, amber/teal kimlik ── */
.salon-duyuru-gonder-kart{
  width: 100%;
  max-width: none;
  padding: .85rem 1rem .95rem;
  border-radius: 14px;
  border: 1px solid var(--rv-border);
  background: var(--rv-surface-1);
}
/* Haftalık vardiya kartı içinde: çift çerçeve yok; geniş kartta formu doldur, dar sütunda geçmiş */
.vardiya-board-kart > .salon-duyuru-gonder-kart{
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(201, 138, 75, .14);
  background: transparent;
  box-shadow: none;
  padding: 1rem 1.15rem 1.15rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem 1.25rem;
  align-items: start;
}
.vardiya-board-kart > .salon-duyuru-gonder-kart > .salon-duyuru-gonder-head{
  text-align: left;
  max-width: 36rem;
}
.vardiya-board-kart > .salon-duyuru-gonder-kart > .salon-duyuru-gonder-form{
  width: 100%;
  max-width: none;
  margin-top: 0;
  text-align: left;
}
.vardiya-board-kart > .salon-duyuru-gonder-kart > .salon-duyuru-gonderilenler{
  width: 100%;
  max-width: none;
  margin-top: 0;
  text-align: left;
}
.vardiya-board-kart > .salon-duyuru-gonder-kart .salon-duyuru-gonder-hedef,
.vardiya-board-kart > .salon-duyuru-gonder-kart .salon-duyuru-push-secenek{
  justify-content: flex-start;
}
@media (min-width: 960px){
  .vardiya-board-kart > .salon-duyuru-gonder-kart {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  }
  .vardiya-board-kart > .salon-duyuru-gonder-kart > .salon-duyuru-gonder-head {
    grid-column: 1 / -1;
    max-width: none;
  }
  .vardiya-board-kart > .salon-duyuru-gonder-kart > .salon-duyuru-gonderilenler {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: .15rem;
    padding: .65rem .75rem;
    border-radius: 12px;
    border: 1px solid var(--rv-border);
    background: var(--rv-surface-2, rgba(148, 163, 184, .06));
  }
}
html.theme-dark .vardiya-board-kart > .salon-duyuru-gonder-kart,
html.theme-mythos .vardiya-board-kart > .salon-duyuru-gonder-kart{
  border-top-color: rgba(251, 191, 36, .14);
}
html.theme-rose .vardiya-board-kart > .salon-duyuru-gonder-kart{
  border-top-color: rgba(15, 23, 42, .1);
}
html.theme-light .salon-duyuru-gonder-eyebrow,
html.theme-rose .salon-duyuru-gonder-eyebrow{
  color: var(--rv-text-3);
}
html.theme-light .takvim-bugun-liste .apt-card--kutu,
html.theme-rose .takvim-bugun-liste .apt-card--kutu{
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}
.salon-duyuru-gonder-head{ margin: 0 0 .5rem; }
.salon-duyuru-gonder-eyebrow{
  margin: 0 0 .1rem;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0d9488;
}
.salon-duyuru-gonder-baslik{
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--rv-text);
}
.salon-duyuru-gonder-alt{
  margin: .2rem 0 0;
  font-size: .68rem;
  color: var(--rv-text-3);
  line-height: 1.35;
}
.salon-duyuru-gonder-form{
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: .55rem;
  max-width: 40rem;
}
.salon-duyuru-gonder-hedef{ display: flex; gap: .9rem; flex-wrap: wrap; }
.salon-duyuru-hedef-secenek{
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .74rem;
  font-weight: 600;
  color: var(--rv-text-2);
  cursor: pointer;
}
.salon-duyuru-usta-secim{
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .6rem;
  padding: .5rem .6rem;
  border-radius: 10px;
  background: var(--rv-surface-2);
  border: 1px solid var(--rv-border);
}
.salon-duyuru-usta-secenek{
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  color: var(--rv-text-2);
  cursor: pointer;
}
.salon-duyuru-usta-bos{ margin: 0; font-size: .7rem; color: var(--rv-text-3); }
.salon-duyuru-push-secenek{
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: var(--rv-text-3);
  cursor: pointer;
}
.salon-duyuru-gonderilenler{ margin-top: .65rem; display: flex; flex-direction: column; gap: .45rem; }
.salon-duyuru-gonderilen-liste{ display: flex; flex-direction: column; gap: .35rem; }
.salon-duyuru-gonderilen-bos{ margin: 0; font-size: .7rem; color: var(--rv-text-3); }
.salon-duyuru-gonderilen-satir{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: .5rem;
  padding: .45rem .55rem;
  border-radius: 10px;
  background: var(--rv-surface-2);
  border: 1px solid var(--rv-border);
}
.salon-duyuru-gonderilen-metin{ display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.salon-duyuru-gonderilen-metin strong{ font-size: .74rem; color: var(--rv-text); }
.salon-duyuru-gonderilen-metin span{
  font-size: .68rem;
  color: var(--rv-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.salon-duyuru-gonderilen-tarih{
  margin-top: .1rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--rv-text-3);
  font-variant-numeric: tabular-nums;
}
.salon-duyuru-sayfa-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding-top: .15rem;
}
.salon-duyuru-sayfa-btn{
  min-width: 2rem;
  height: 1.85rem;
  border-radius: 8px;
  border: 1px solid var(--rv-border);
  background: var(--rv-surface-1, transparent);
  color: var(--rv-text);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.salon-duyuru-sayfa-btn:disabled{
  opacity: .35;
  cursor: default;
}
.salon-duyuru-sayfa-btn:not(:disabled):hover{
  border-color: rgba(13, 148, 136, .4);
  color: #0d9488;
}
.salon-duyuru-sayfa-etiket{
  font-size: .72rem;
  font-weight: 700;
  color: var(--rv-text-2);
  font-variant-numeric: tabular-nums;
  min-width: 3.2rem;
  text-align: center;
}
.salon-duyuru-gonderilen-hedef{
  font-size: .62rem;
  font-weight: 700;
  color: #0d9488;
  white-space: nowrap;
}
.salon-duyuru-gonderilen-sil{
  border: none;
  background: transparent;
  color: var(--rv-text-3);
  cursor: pointer;
  font-size: .8rem;
  line-height: 1;
  padding: .15rem .3rem;
}
.salon-duyuru-gonderilen-sil:hover{ color: #dc2626; }

/* Personel taraf — salt okuma */
.salon-duyuru-oku-head{ margin: 0 0 .3rem; }
.salon-duyuru-oku-eyebrow{
  margin: 0 0 .1rem;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0d9488;
}
.salon-duyuru-oku-baslik{ margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--rv-text); }
.salon-duyuru-oku-alt{ margin: .2rem 0 0; font-size: .74rem; color: var(--rv-text-3); }
.salon-duyuru-oku-liste{ display: flex; flex-direction: column; gap: .55rem; margin-top: .6rem; }
.salon-duyuru-oku-kart{
  padding: .7rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--rv-border);
  border-left: 3px solid #0d9488;
  background: var(--rv-surface-1);
}
.salon-duyuru-oku-kart h3{ margin: 0 0 .25rem; font-size: .88rem; font-weight: 800; color: var(--rv-text); }
.salon-duyuru-oku-kart p{ margin: 0; font-size: .78rem; color: var(--rv-text-2); line-height: 1.45; }
.salon-duyuru-oku-kart time{ display: block; margin-top: .35rem; font-size: .62rem; color: var(--rv-text-3); }
.salon-duyuru-oku-bos{
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px dashed var(--rv-border);
  text-align: center;
  font-size: .78rem;
  color: var(--rv-text-3);
}

/* —— Şubeler / grup sağlık pano (Faz 2) —— */
.sube-pano-head{ margin-bottom: .25rem; }
.sube-pano-eyebrow{
  margin: 0 0 .1rem;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rv-gold);
}
.sube-pano-baslik{ margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--rv-text); letter-spacing: -.02em; }
.sube-pano-alt{ margin: .2rem 0 0; font-size: .78rem; color: var(--rv-text-2); }
.sube-grup-hero{
  background: linear-gradient(155deg, rgba(201,138,75,.12) 0%, transparent 70%);
  border: 1px solid rgba(201,138,75,.22);
}
.sube-grup-skor{
  margin: .15rem 0 0;
  font-family: var(--rv-font-d);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--rv-text);
  line-height: 1;
}
html:not(.plan-enterprise) .enterprise-only{ display: none !important; }

/* —— Şube kurulum checklist + hesap sil grace —— */
.sube-kurulum-badge{
  display: inline-block; margin-left: .35rem; font-size: .62rem; font-weight: 800;
  color: #92400e; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.35);
  border-radius: 999px; padding: .12rem .45rem; vertical-align: middle;
}
.sube-kart-eksik{ border-color: rgba(245,158,11,.35) !important; }
/* Şube kartı aksiyon linki: metin 11px kalsın ama dokunma hedefi genişlesin. */
.sube-aksiyon-link{
  display: inline-flex; align-items: center; min-height: 32px; padding: .3rem .2rem;
  font-size: 11px; font-weight: 700; text-decoration: underline;
  text-underline-offset: 2px; background: transparent; border: none;
}
.sube-kurulum-liste{
  list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: .2rem;
}
.sube-kurulum-adim{ font-size: .7rem; color: var(--rv-text-2); }
.sube-kurulum-adim.is-ok{ color: #059669; }
.sube-kurulum-adim.is-eksik{ color: #b45309; }
.hesap-sil-plan-banner{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem; padding: .75rem .9rem; margin-bottom: .65rem;
  border-radius: 12px; border: 1px solid rgba(245,158,11,.4);
  background: rgba(245,158,11,.1);
}
.hesap-sil-plan-metin{ margin: 0; font-size: .78rem; color: var(--rv-text); line-height: 1.4; }

/* —— Sıralama giriş anim + gün sonu özeti —— */
.kasa-gun-sonu-ozet{
  margin-top: .65rem; padding: .65rem .75rem; border-radius: 12px;
  border: 1px solid rgba(16,185,129,.28); background: rgba(16,185,129,.08);
}
.kasa-gun-sonu-ozet-baslik{ margin: 0; font-size: .72rem; font-weight: 800; color: #059669; }
.kasa-gun-sonu-ozet-metin{ margin: .25rem 0 0; font-size: .78rem; color: var(--rv-text-2); }

/* —— Faz 3: Bugünüm mini + personel wizard —— */
.bugunum-mini-kart{
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem .85rem; border-bottom: 1px solid var(--rv-border);
  background: rgba(201,138,75,.06);
}
.bugunum-mini-lbl{
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rv-gold);
}
.bugunum-mini-ozet{ font-size: .78rem; font-weight: 600; color: var(--rv-text); }
.personel-wizard-banner{
  background: rgba(14,165,233,.1); border-bottom: 1px solid rgba(14,165,233,.25);
}
.personel-wizard-metin{ margin: 0 0 .45rem; font-size: .78rem; color: var(--rv-text); line-height: 1.4; }
@media (max-width: 767px){
  .personel-wizard-banner{
    padding: .4rem .7rem .15rem !important;
  }
  .personel-wizard-metin{
    font-size: .72rem;
    margin: 0 0 .3rem;
    line-height: 1.3;
  }
  #personelProfilDrawer .personel-drawer-sticky-head.panel-kart-drawer-head{
    padding: .55rem .75rem !important;
    gap: .45rem;
    align-items: center;
  }
  #personelProfilDrawer .personel-drawer-avatar-wrap{
    transform: scale(.88);
    transform-origin: top left;
  }
  #personelProfilDrawer .personel-drawer-sticky-head .personel-avatar--lg{
    width: 2.6rem !important;
    height: 2.6rem !important;
    font-size: .95rem !important;
  }
  #personelProfilDrawer .personel-drawer-avatar-hint{
    font-size: .58rem;
  }
  #personelProfilDrawer .personel-drawer-sticky-head h2,
  #personelProfilDrawer .personel-drawer-sticky-head .section-title{
    font-size: .95rem !important;
    line-height: 1.2;
  }
  #personelProfilDrawer .personel-drawer-sticky-head .text-xs,
  #personelProfilDrawer .personel-drawer-sticky-head .section-sub{
    font-size: .68rem !important;
  }
}


.musteri-medya-sil-btn{
  min-width: 2.25rem; min-height: 1.75rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.musteri-medya-sil-btn:active{ opacity: .85; transform: scale(.97); }
.musteri-medya-thumb{ display: block; touch-action: manipulation; }
.musteri-medya-lightbox{
  position: fixed; inset: 0; z-index: 12100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.musteri-medya-lightbox.hidden{ display: none !important; }
.musteri-medya-lightbox-backdrop{
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(15, 23, 42, .78); cursor: zoom-out;
}
.musteri-medya-lightbox-panel{
  position: relative; z-index: 1;
  max-width: min(92vw, 720px);
  max-height: min(88vh, 900px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  background: #0f172a;
}
.musteri-medya-lightbox-panel img{
  display: block;
  max-width: min(92vw, 720px);
  max-height: min(88vh, 900px);
  width: auto; height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.musteri-medya-lightbox-kapat{
  position: absolute; top: .5rem; right: .5rem; z-index: 2;
  width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 0;
  background: rgba(15, 23, 42, .75); color: #fff;
  font-size: 1.35rem; line-height: 1; font-weight: 700;
  cursor: pointer;
}
.musteri-medya-lightbox-kapat:hover{ background: rgba(15, 23, 42, .92); }

  .plan-status-solid{ padding-left: 1.35rem; }
  html.theme-dark .plan-status-solid::before{
    background: linear-gradient(180deg, #e8c547, #6ee7b7);
  }

/* —— Branded onay modalı (panel UI polish) —— */
.rv-onay-modal.hidden{ display: none !important; }
.rv-onay-modal{
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 640px){
  .rv-onay-modal {
    align-items: center;
    padding: 1.25rem;
  }
}
.rv-onay-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 9, .62);
  backdrop-filter: blur(2px);
}
.rv-onay-panel{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  margin: 0;
  padding: 1.25rem 1.2rem 1.1rem;
  border-radius: 1rem 1rem 0 0;
  background: var(--rv-surface-1, #141c2e);
  border: 1px solid var(--rv-border, rgba(255,255,255,.1));
  box-shadow: 0 -8px 40px rgba(0,0,0,.35);
  color: var(--rv-text, #f4f0ea);
}
@media (min-width: 640px){
  .rv-onay-panel {
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
  }
}
.rv-onay-baslik{
  margin: 0 0 .55rem;
  font-family: var(--rv-font-d);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.rv-onay-govde{
  font-size: .88rem;
  line-height: 1.45;
  color: var(--rv-text-2, #a39a8c);
}
.rv-onay-vurgu{
  margin-top: .75rem;
  padding: .65rem .75rem;
  border-radius: .65rem;
  background: rgba(201, 138, 75, .12);
  border: 1px solid rgba(201, 138, 75, .28);
  font-size: .9rem;
  font-weight: 700;
  color: var(--rv-gold-2, #e6b47e);
}
.rv-onay-modal--danger .rv-onay-vurgu{
  background: rgba(220, 38, 38, .1);
  border-color: rgba(220, 38, 38, .28);
  color: #fca5a5;
}
.rv-onay-actions{
  display: flex;
  gap: .55rem;
  margin-top: 1.1rem;
}
.rv-onay-actions .btn{
  flex: 1;
  justify-content: center;
}
body.rv-onay-open{ overflow: hidden; }
html.theme-light .rv-onay-panel,
html.theme-rose .rv-onay-panel{
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, .1);
  box-shadow: 0 -8px 40px rgba(15, 23, 42, .12);
}
html.theme-light .rv-onay-govde,
html.theme-rose .rv-onay-govde{ color: #64748b; }
html.theme-light .rv-onay-vurgu,
html.theme-rose .rv-onay-vurgu{
  background: rgba(201, 138, 75, .1);
  color: #92400e;
}

/* Kurulum — opsiyonel özellik seçici kartı (grid: panel-destek.css) */

.panel-ozellik-gizli{ display: none !important; }

/* Konuma hizmet — mobile-first harita (panel) */
.kh-map {
  width: 100%;
  height: 300px;
  min-height: 280px;
  max-height: 320px;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 480px) {
  .kh-map { height: 300px; max-height: 340px; }
}
@media (min-width: 768px) {
  .kh-map { height: 320px; min-height: 300px; max-height: 400px; }
}
#aySalonMap.ay-salon-map {
  width: 100%;
  height: 280px;
  min-height: 260px;
  max-height: min(48dvh, 340px);
}
@media (min-width: 768px) {
  #aySalonMap.ay-salon-map { height: 340px; min-height: 300px; max-height: 380px; }
}
#aySalonMap.ay-salon-map--sec {
  outline: 2px solid rgba(232, 192, 122, .65);
  outline-offset: 2px;
  height: min(56dvh, 440px);
  min-height: 300px;
  max-height: none;
}
@media (max-width: 767px) {
  #aySalonMap.ay-salon-map--sec {
    position: relative;
    z-index: 30;
    height: min(52dvh, 420px);
    min-height: 280px;
    max-height: none;
    border-radius: 1rem;
  }
}
.ay-salon-adres-wrap { position: relative; }
.ay-salon-aksiyon .btn,
.ay-salon-aksiyon .kh-touch-btn {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}
#aySalonAdresKart .ay-kart-kaydet-satir .btn {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}
/* Leaflet L.map(el) ayni elemente .leaflet-container ekler — descendant degil */
.ay-salon-map.leaflet-container,
.kh-map.leaflet-container {
  width: 100% !important;
  height: 100% !important;
  background: #e8e4df;
}
html.theme-dark .ay-salon-map.leaflet-container,
html.theme-dark .kh-map.leaflet-container {
  /* Acik OSM tile; koyu basemap yok */
  background: #e8e4df;
}
.ay-salon-map.leaflet-container .leaflet-tile-pane img.leaflet-tile,
.kh-map.leaflet-container .leaflet-tile-pane img.leaflet-tile,
.ay-salon-map .leaflet-tile-pane img.leaflet-tile {
  filter: none;
}
.ay-salon-oneri {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: min(40dvh, 14rem);
  overflow: auto;
  margin: 0;
  padding: .25rem;
  list-style: none;
  border-radius: .75rem;
  border: 1px solid var(--rv-border, rgba(15, 23, 42, .14));
  background: var(--rv-surface, #fff);
  color: var(--rv-text, #0f172a);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
}
html.theme-dark .ay-salon-oneri,
html.theme-mythos .ay-salon-oneri {
  background: var(--rv-surface-1, #1e293b);
  border-color: rgba(255, 255, 255, .12);
  color: var(--rv-text, #e2e8f0);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
html.theme-rose .ay-salon-oneri {
  background: var(--rv-surface, #fffaf8);
  border-color: rgba(244, 114, 182, .22);
}
.ay-salon-oneri-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: .65rem .8rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: inherit;
  font-size: .875rem;
  line-height: 1.35;
  cursor: pointer;
  touch-action: manipulation;
}
html[dir="rtl"] .ay-salon-oneri-btn { text-align: right; }
.ay-salon-oneri-btn:hover,
.ay-salon-oneri-btn:focus-visible {
  background: rgba(15, 23, 42, .06);
  outline: 2px solid rgba(59, 130, 246, .45);
  outline-offset: -2px;
}
html.theme-dark .ay-salon-oneri-btn:hover,
html.theme-dark .ay-salon-oneri-btn:focus-visible,
html.theme-mythos .ay-salon-oneri-btn:hover,
html.theme-mythos .ay-salon-oneri-btn:focus-visible {
  background: rgba(255, 255, 255, .08);
}
#aySalonAdresBulBtn.is-loading {
  opacity: .92;
  cursor: wait;
}
#aySalonAdresBulBtn .ay-salon-btn-spin {
  display: inline-block;
  width: .85rem;
  height: .85rem;
  margin-inline-end: .35rem;
  vertical-align: -0.1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: ay-salon-spin .7s linear infinite;
}
@keyframes ay-salon-spin {
  to { transform: rotate(360deg); }
}
.ay-salon-map.leaflet-container .leaflet-marker-icon,
.kh-map.leaflet-container .leaflet-marker-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}
.ay-salon-aksiyon .btn { min-height: 2.75rem; }
.kh-touch-btn {
  min-height: 2.5rem;
  touch-action: manipulation;
}
.ay-kh-alan-actions {
  justify-content: flex-end;
}
#ayKhKmPresets,
#ayKhKmBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
#ayKhKmPresets .btn-soft,
#ayKhKmBtns .btn-soft {
  min-height: 2.5rem;
  min-width: 3rem;
  touch-action: manipulation;
}
#ayKhAlanListe li {
  gap: 0.5rem;
}
#ayKhAraSonuc .kh-touch-btn {
  border-radius: 0.5rem;
}
#ayKhAlanSecim .field {
  font-size: 16px;
}
@media (min-width: 640px) {
  #ayKhAlanSecim .field { font-size: 0.875rem; }
}
#ayKhAlanSecim .btn-soft,
#ayKhCizBtns .btn-soft,
#ayKhCizArac .kh-draw-btn,
#ayKhAlanKaydet {
  min-height: 2.75rem;
  touch-action: manipulation;
}
#ayKhMapZoom .btn-soft {
  min-height: 2.75rem;
  min-width: 44px;
  touch-action: manipulation;
  padding: 0.5rem 0.75rem;
}
.kh-draw-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--rv-border, rgba(15, 23, 42, 0.14));
  background: var(--rv-surface, rgba(255, 255, 255, 0.92));
  color: var(--rv-text, #0f172a);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
html.theme-dark .kh-draw-toolbar,
html.theme-mythos .kh-draw-toolbar {
  background: var(--rv-surface-1, rgba(30, 41, 59, 0.94));
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--rv-text, #e2e8f0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
html.theme-rose .kh-draw-toolbar {
  background: var(--rv-surface, #fffaf8);
  border-color: rgba(244, 114, 182, 0.22);
}
.kh-draw-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--rv-muted, #64748b);
}
html.theme-dark .kh-draw-hint,
html.theme-mythos .kh-draw-hint {
  color: #94a3b8;
}
.kh-draw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.kh-draw-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid var(--rv-border, rgba(15, 23, 42, 0.12));
  background: rgba(15, 23, 42, 0.04);
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.kh-draw-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.kh-draw-btn:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
}
.kh-draw-btn-primary {
  background: color-mix(in srgb, var(--rv-gold, #e8c07a) 35%, transparent);
  border-color: color-mix(in srgb, var(--rv-gold, #e8c07a) 55%, transparent);
}
html[dir="rtl"] .kh-draw-actions {
  flex-direction: row-reverse;
}
.kh-map--edit {
  height: min(58dvh, 460px) !important;
  min-height: 320px !important;
  max-height: none !important;
}
@media (max-width: 767px) {
  .kh-map--edit {
    height: min(52dvh, 420px) !important;
    min-height: 280px !important;
  }
  #ayKhMap.kh-map--edit,
  .kh-alan-edit #ayKhMap {
    position: relative;
    z-index: 20;
  }
}
.kh-hit-secili {
  outline: 2px solid color-mix(in srgb, var(--rv-gold, #e8c07a) 70%, transparent);
  outline-offset: 1px;
  background: color-mix(in srgb, var(--rv-gold, #e8c07a) 18%, transparent);
  font-weight: 600;
}

/* Konuma: adres / yarıçap / ek alan kartlarını görsel olarak ayır */
.ay-kh-kart {
  border: 1px solid color-mix(in srgb, var(--rv-border, #334155) 70%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 4%, transparent);
}
.ay-kh-kart--mod {
  border-left: 3px solid color-mix(in srgb, #38bdf8 65%, transparent);
}
.ay-kh-kart--yaricap {
  border-left: 3px solid color-mix(in srgb, var(--rv-gold, #e8c07a) 75%, transparent);
}
.ay-kh-kart--alan {
  border-left: 3px solid color-mix(in srgb, #a78bfa 70%, transparent);
}
#ayKhAraDurum[data-tur="busy"] {
  color: color-mix(in srgb, #38bdf8 85%, #94a3b8);
}
#ayKhAraDurum[data-tur="bos"],
#ayKhAraDurum[data-tur="hata"] {
  color: color-mix(in srgb, #fbbf24 80%, #e2e8f0);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.kh-ara-tekrar {
  flex-shrink: 0;
}

/* Eklenti kartı (plan-addon-acc accordion yerine düz kart) */
.plan-addon-kart {
  position: relative;
  border-radius: 16px;
  border: 1.5px solid var(--panel-border, rgba(15, 23, 42, 0.1));
  background: var(--panel-surface, #fff);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  padding: 0.85rem 1rem 1rem;
  overflow: hidden;
}
.plan-addon-kart.plan-extra-sadakat {
  border-color: rgba(109, 40, 217, 0.28);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), var(--panel-surface, #fff) 52%);
}
.plan-addon-kart-ust {
  display: flex;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.45rem;
}
.plan-addon-kart .plan-addon-acc-title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--panel-text, #0f172a);
}
.plan-addon-kart .plan-extra-desc {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--panel-muted, #64748b);
}
.plan-addon-kart .plan-extra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.plan-addon-kart .plan-extra-cta,
.plan-addon-kart .plan-addon-yon-link {
  min-height: 2.75rem;
  touch-action: manipulation;
}
html.theme-dark .plan-addon-kart,
html.theme-mythos .plan-addon-kart {
  border-color: rgba(148, 163, 184, 0.22);
  background: color-mix(in srgb, var(--panel-surface, #0f172a) 92%, #1e293b);
}
html.theme-dark .plan-addon-kart.plan-extra-sadakat {
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), var(--panel-surface, #0f172a) 55%);
}
@media (max-width: 767px) {
  .plan-addon-kart {
    padding: 0.9rem 0.85rem 1rem;
  }
  .plan-addon-kart .plan-extra-actions {
    flex-direction: column;
  }
  .plan-addon-kart .plan-extra-cta,
  .plan-addon-kart .plan-addon-yon-link {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #ayKhKartAlan.kh-alan-edit .kh-draw-toolbar,
  #ayKhKartAlan.kh-alan-edit .ay-kart-kaydet-satir {
    position: sticky;
    bottom: 0;
    z-index: 25;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--rv-surface, #0f172a) 94%, transparent);
  }
}
.kh-map--drawing {
  cursor: crosshair;
}
.kh-map--drawing .leaflet-container {
  cursor: crosshair;
}
.kh-vertex {
  cursor: pointer;
}
#mrKonumaBlok .field.mr-input {
  font-size: 16px;
}
@media (min-width: 640px) {
  #mrKonumaBlok .field.mr-input { font-size: 0.875rem; }
}

/* iOS Safari: odaklanınca zoom olmasın — mobilde input ≥16px */
@media (max-width: 767.98px) {
  input.field,
  textarea.field,
  select.field,
  input.mr-input,
  textarea.mr-input,
  .destek-talep-input,
  .destek-talep-textarea,
  .musteri-kara-form .field,
  #tab-hizmet .field-sm,
  #ayKhAlanSecim .field {
    font-size: 16px !important;
  }
  /* Drawer klavye: visualViewport inset */
  .panel-kart-drawer-panel {
    padding-bottom: var(--panel-drawer-kb, 0px);
  }
}

/* Hesap > Abonelik · fatura bilgileri — stilsiz .ay-field/.ay-chip markup'ının
   gerçek form düzeni. Checkout artık /abonelik/tamamla'da; buradaki form
   yalnız mevcut müşterinin bilgi güncellemesi için. */
.ay-field {
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.ay-field > span {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--rv-muted, #64748b);
}
.ay-field > input,
.ay-field > textarea,
.ay-field > select {
  width: 100%;
  padding: .5rem .65rem;
  border-radius: .6rem;
  border: 1px solid rgba(15, 23, 42, .14);
  background: var(--rv-input-bg, #fff);
  color: inherit;
  font: inherit;
  font-size: .88rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ay-field > input:focus,
.ay-field > textarea:focus,
.ay-field > select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .15);
}
html.theme-dark .ay-field > input,
html.theme-dark .ay-field > textarea,
html.theme-dark .ay-field > select {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}
.ay-chip {
  padding: .34rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: transparent;
  font-size: .78rem;
  font-weight: 600;
  color: var(--rv-muted, #64748b);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ay-chip:hover { border-color: rgba(20, 184, 166, .45); }
.ay-chip-active {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, .12);
  color: #0f766e;
}
html.theme-dark .ay-chip { border-color: rgba(255, 255, 255, .14); }
html.theme-dark .ay-chip-active { color: #5eead4; }
.fatura-ozet {
  display: grid;
  gap: .18rem;
  font-size: .85rem;
  line-height: 1.45;
}
.fatura-ozet .fatura-ozet-ad { font-weight: 700; }
.fatura-ozet .fatura-ozet-alt { color: var(--rv-muted, #64748b); font-size: .8rem; }

/* Abonelik kartı: dönem / tarih / kalan gün — mobilde tek kolon */
.abonelik-detay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: .35rem .9rem;
  margin: 0;
  font-size: .82rem;
}
.abonelik-detay-satir { display: flex; flex-direction: column; min-width: 0; }
.abonelik-detay dt { color: var(--rv-muted, #64748b); font-size: .74rem; }
.abonelik-detay dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .abonelik-detay { grid-template-columns: 1fr 1fr; }
}

.leaflet-container { font-family: inherit; }
.leaflet-control-zoom a {
  min-width: 2.25rem;
  min-height: 2.25rem;
  line-height: 2.25rem;
}

/* Plan 4/5 shared location map and service-area editor */
.ay-location-search { display: grid; gap: .5rem; }
.ay-location-search__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.ay-location-search__row .field { min-width: 0; }
.ay-location-search__row button,
.ay-location-search__result,
.ay-location-confirm {
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1px solid color-mix(in srgb, var(--rv-gold, #c89242) 45%, var(--rv-border, #8792a3));
  border-radius: 12px;
  color: var(--rv-text, #182233);
  background: var(--rv-surface, #fff);
  font: inherit;
  line-height: 1.45;
}
.ay-location-search__results { display: grid; gap: .4rem; }
.ay-location-search__result { width: 100%; text-align: start; overflow-wrap: anywhere; }
.ay-location-confirm { width: 100%; font-weight: 650; }
.ay-location-search button:focus-visible,
.ay-location-confirm:focus-visible { outline: 2px solid var(--rv-gold, #c89242); outline-offset: 3px; }
.ay-location-search button:disabled,
.ay-location-confirm:disabled { cursor: wait; opacity: .6; }
@media (max-width: 360px) {
  .ay-location-search__row { grid-template-columns: minmax(0, 1fr); }
}
.ay-location-card,
.ay-location-service .ay-kh-kart {
  border: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 34%, transparent);
  background: color-mix(in srgb, var(--rv-surface, #fff) 93%, var(--rv-gold, #c89242) 7%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.ay-location-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.ay-location-choice {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 76px;
  padding: .85rem 1rem;
  text-align: left;
  color: var(--rv-text, #182233);
  border: 1px solid color-mix(in srgb, var(--rv-gold, #c89242) 45%, var(--rv-border, #8792a3));
  border-radius: 16px;
  background: color-mix(in srgb, var(--rv-surface, #fff) 88%, var(--rv-gold, #c89242) 12%);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.ay-location-choice:hover,
.ay-location-choice:focus-visible {
  transform: translateY(-1px);
  border-color: var(--rv-gold, #c89242);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .1);
  outline: none;
}
.ay-location-choice__icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--rv-gold, #a76e22);
  border: 1px solid color-mix(in srgb, var(--rv-gold, #c89242) 48%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--rv-gold, #c89242) 14%, var(--rv-surface, #fff));
  font-size: 1.45rem;
}
.ay-location-choice strong,
.ay-location-choice small,
.ay-location-service__switch strong,
.ay-location-service__switch small {
  display: block;
}
.ay-location-choice strong { font-size: .92rem; font-weight: 750; }
.ay-location-choice small,
.ay-location-service__switch small { margin-top: .18rem; color: var(--rv-muted, #64748b); font-size: .76rem; line-height: 1.4; }
.ay-location-status {
  padding: .65rem .8rem;
  border: 1px solid color-mix(in srgb, var(--rv-gold, #c89242) 36%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--rv-gold, #c89242) 9%, var(--rv-surface, #fff));
  color: var(--rv-text, #182233);
  font-size: .82rem;
}
.ay-location-status[data-state="error"] { border-color: #df7777; background: color-mix(in srgb, #d94b4b 9%, var(--rv-surface, #fff)); }
.ay-location-status[data-state="success"] { border-color: #4fa986; background: color-mix(in srgb, #15916b 9%, var(--rv-surface, #fff)); }
.ay-location-pin-summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .8rem;
  border: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 32%, transparent);
  border-radius: 12px;
  color: var(--rv-text, #182233);
  font-size: .8rem;
}
.ay-location-pin-summary__dot { width: .55rem; height: .55rem; flex: 0 0 .55rem; border-radius: 50%; background: #d69b3f; }
.ay-location-pin-summary[data-confirmed="true"] .ay-location-pin-summary__dot { background: #1b9a73; }
.ay-location-pin-address {
  margin: -.2rem 0 0;
  padding: .65rem .8rem;
  border: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 32%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--rv-surface, #fff) 82%, transparent);
  color: var(--rv-muted, #64748b);
  font-size: .8rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.ay-location-pin-address[data-state="warning"] {
  border-color: color-mix(in srgb, #c88432 40%, transparent);
  color: var(--rv-text, #182233);
}
.rv-location-map,
.ay-location-map {
  position: relative;
  display: block;
  min-height: 340px;
  width: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 48%, transparent);
  border-radius: 18px;
  background: #e8edf0;
  isolation: isolate;
}
#aySalonMap { min-height: 320px; }
.rv-location-fake-map { position: absolute; inset: 0; overflow: hidden; touch-action: manipulation; background: linear-gradient(135deg, #dfe8e6, #e9e5dc 48%, #d8e3e4); }
.rv-location-fake-map__streets { position: absolute; inset: -20%; opacity: .75; background: repeating-linear-gradient(28deg, transparent 0 42px, rgba(255,255,255,.8) 43px 48px, rgba(177,190,181,.52) 49px 52px, transparent 53px 91px), repeating-linear-gradient(116deg, transparent 0 77px, rgba(255,255,255,.78) 78px 83px, rgba(177,190,181,.48) 84px 87px, transparent 88px 137px), radial-gradient(ellipse at 28% 32%, rgba(129,173,151,.36), transparent 26%), radial-gradient(ellipse at 78% 72%, rgba(179,164,129,.3), transparent 25%); transform: rotate(-5deg); }
.rv-location-fake-map__shapes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: auto; }
.rv-location-fake-map__circle,
.rv-location-fake-map__polygon { fill: rgba(198,145,65,.16); stroke-width: 4; vector-effect: non-scaling-stroke; pointer-events: auto; cursor: pointer; }
.rv-location-fake-map__polygon { fill: rgba(38,155,138,.16); }
.rv-location-fake-map__circle.is-selected,
.rv-location-fake-map__polygon.is-selected { fill-opacity: .25; stroke-width: 5; }
.rv-location-vertex { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; touch-action: none; cursor: grab; pointer-events: auto; direction: ltr; }
.rv-location-vertex > span { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: #187c72; color: #fff; font: 700 12px/1 system-ui,sans-serif; box-shadow: 0 2px 8px rgba(15,23,42,.35); }
.rv-location-vertex.is-selected > span { background: #a26720; box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 3px 12px rgba(15,23,42,.35); }
.rv-location-vertex:focus-visible { outline: 2px solid #a26720; outline-offset: 2px; border-radius: 50%; }
.rv-location-fake-map__vertex { position: absolute; z-index: 4; transform: translate(-50%,-50%); }
.rv-location-fake-map__markers { position: absolute; inset: 0; pointer-events: none; }
.rv-location-fake-map__pin { position: absolute; z-index: 3; width: 22px; height: 22px; padding: 0; border: 3px solid #fff; border-radius: 50% 50% 50% 4px; background: #bb4b42; box-shadow: 0 3px 9px rgba(15,23,42,.35); transform: translate(-50%,-65%) rotate(-45deg); pointer-events: auto; cursor: grab; }
.rv-location-fake-map__pin[data-static="true"] { background: #b5802f; cursor: default; }
.rv-location-fake-map__zoom { position: absolute; z-index: 5; top: .75rem; inset-inline-end: .75rem; display: grid; gap: .35rem; }
.rv-location-fake-map__zoom button { width: 42px; height: 42px; border: 1px solid rgba(32,45,59,.2); border-radius: 12px; color: #1d2a39; background: rgba(255,255,255,.94); box-shadow: 0 3px 9px rgba(15,23,42,.12); font-size: 1.25rem; font-weight: 700; }
.rv-location-fake-map__attribution { position: absolute; z-index: 5; bottom: .45rem; inset-inline-start: .55rem; padding: .2rem .4rem; border-radius: 6px; color: #52606c; background: rgba(255,255,255,.78); font-size: .62rem; }
.ay-location-service__switch,
.ay-location-section-head,
.ay-location-area-row,
.ay-location-editor__actions,
.ay-location-editor__tools { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ay-location-service__switch { padding: .7rem 0; border-block: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 30%, transparent); }
.ay-location-radius { display: flex; align-items: end; gap: .8rem; }
.ay-location-radius__value { min-width: 74px; padding: .65rem .8rem; border: 1px solid color-mix(in srgb, var(--rv-gold, #c89242) 50%, transparent); border-radius: 12px; color: var(--rv-text, #182233); background: color-mix(in srgb, var(--rv-gold, #c89242) 11%, var(--rv-surface, #fff)); text-align: center; font-weight: 750; }
.ay-location-presets { display: flex; flex-wrap: wrap; gap: .45rem; }
.ay-location-preset,
.ay-location-area-row .btn-soft,
.ay-location-editor__tools .btn-soft { min-height: 40px; padding: .45rem .75rem; border: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 45%, transparent); border-radius: 11px; color: var(--rv-text, #182233); background: var(--rv-surface, #fff); font-size: .78rem; font-weight: 650; }
.ay-location-preset.active { border-color: var(--rv-gold, #c89242); color: var(--rv-text, #182233); background: color-mix(in srgb, var(--rv-gold, #c89242) 17%, var(--rv-surface, #fff)); }
.ay-location-section-head { align-items: flex-start; }
.ay-location-empty { padding: 1.1rem; border: 1px dashed color-mix(in srgb, var(--rv-border, #8792a3) 60%, transparent); border-radius: 14px; color: var(--rv-text, #182233); background: color-mix(in srgb, var(--rv-surface, #fff) 85%, var(--rv-gold, #c89242) 15%); }
.ay-location-empty p { margin: .3rem 0 0; color: var(--rv-muted, #64748b); font-size: .8rem; }
.ay-location-area-list { display: grid; gap: .55rem; }
.ay-location-area-row { padding: .75rem; border: 1px solid color-mix(in srgb, var(--rv-border, #8792a3) 35%, transparent); border-radius: 13px; background: var(--rv-surface, #fff); }
.ay-location-area-row strong,
.ay-location-area-row small { display: block; overflow-wrap: anywhere; }
.ay-location-area-row small { margin-top: .2rem; color: var(--rv-muted, #64748b); font-size: .74rem; }
.ay-location-area-row__actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.ay-location-editor { display: grid; gap: .8rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--rv-gold, #c89242) 55%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--rv-surface, #fff) 91%, var(--rv-gold, #c89242) 9%); }
.ay-location-map-viewport { display: grid; gap: .5rem; min-width: 0; }
.ay-location-map-viewport > button { justify-self: end; min-height: 44px; padding: .5rem .75rem; }
.ay-location-map-viewport.is-expanded .ay-location-map { height: min(70dvh, 650px); min-height: 360px; }
.ay-location-editor__tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.ay-location-editor__tools .btn-soft { min-height: 48px; white-space: normal; }
.ay-location-editor button:not(.rv-location-vertex) { touch-action: manipulation; }
.ay-location-editor #ayKhCizDurum[data-state="error"] { color: var(--rv-danger, #b42318); font-weight: 650; }
.ay-location-editor .ay-location-editor__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 5; gap: .5rem; padding: .65rem 0; background: var(--rv-surface, #fff); border-radius: 12px; }
.ay-location-editor .ay-location-editor__actions button { min-height: 48px; padding: .6rem .5rem; }
.ay-location-editor #ayKhAreaDelete { grid-column: 1/-1; }
@media (max-width: 600px) {
  .ay-location-service > .ay-inner-card { padding: 1rem; }
  .ay-location-service .ay-location-editor { padding: .75rem 0; border-inline: 0; border-radius: 0; }
}
.ay-location-editor__actions { justify-content: flex-start; flex-wrap: wrap; }
.ay-location-editor__actions > button { min-height: 42px; }
.ay-location-travel-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
#ayKhAreaDelete { margin-inline-start: auto; }
[dir="rtl"] .ay-location-choice { text-align: right; }
@media (max-width: 640px) {
  .ay-location-choice-grid { grid-template-columns: minmax(0,1fr); }
  .rv-location-map, .ay-location-map, #aySalonMap { min-height: 285px; }
  .ay-location-section-head, .ay-location-area-row { align-items: stretch; flex-direction: column; }
  .ay-location-section-head > button, .ay-location-area-row__actions > button { flex: 1 1 auto; }
  .ay-location-service .ay-kart-kaydet-satir > .btn,
  .ay-location-section-head > button { min-height: 42px; }
  .ay-location-travel-grid { grid-template-columns: minmax(0,1fr); }
  .ay-location-editor__actions > button { flex: 1 1 100%; }
  #ayKhAreaDelete { margin-inline-start: 0; }
}

/* Personel profilinin içinden açılan cari penceresi body'ye taşınır; üst katman
   ve kaydırma sınırı burada tanımlı kalsın, drawer clipping'ine takılmasın. */
#personelCariModal {
  z-index: 10053 !important;
  isolation: isolate;
}
#personelCariModal > .absolute.inset-0 {
  background: rgba(8, 13, 24, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#personelCariModal > .relative {
  box-sizing: border-box;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
@media (max-width: 767px) {
  #personelCariModal {
    padding: max(.5rem, env(safe-area-inset-top, 0px)) .75rem calc(max(.5rem, env(safe-area-inset-bottom, 0px)) + var(--panel-drawer-kb, 0px)) !important;
  }
  #personelCariModal > .relative {
    width: min(100%, 28rem);
    max-height: calc(100dvh - var(--panel-drawer-kb, 0px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 1rem);
  }
  #personelCariModal input {
    font-size: 16px;
  }
}

/* Location settings: mobile-first controls and one settings save action. */
@media (max-width:767px) { body.mob-quick-open #ayKonumaPanel .ay-location-savebar { bottom:calc(70px + env(safe-area-inset-bottom,0px)); } }
#aySalonAdresKart { display:grid; gap:12px; min-width:0; padding:14px; border-radius:18px; background:var(--rv-surface,#fff); box-shadow:none; }
#aySalonAdresKart > *, #ayKonumaPanel .ay-location-service > * { margin:0; min-width:0; }
#aySalonAdresKart .ay-pro-subhead, #ayKonumaPanel .ay-pro-subhead { margin:0; padding:0; border:0; font-size:.96rem; line-height:1.4; }
#aySalonAdresKart .field-hint, #ayKonumaPanel .field-hint { margin-top:5px; font-size:.78rem; line-height:1.5; }
#aySalonAdresKart .ay-location-search__row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
#aySalonAdresKart .ay-location-search__row input { min-width:0; min-height:46px; font-size:16px; padding:10px 12px; }
#aySalonAdresKart .ay-location-search__row button { min-height:46px; padding:8px 12px; white-space:nowrap; }
#aySalonAdresKart .ay-location-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
#aySalonAdresKart .ay-location-choice { min-height:52px; padding:8px; gap:7px; border-radius:12px; box-shadow:none; }
#aySalonAdresKart .ay-location-choice__icon { flex-basis:28px; width:28px; height:28px; font-size:20px; border:0; background:transparent; }
#aySalonAdresKart .ay-location-choice > span:last-child { min-width:0; overflow-wrap:anywhere; }
#aySalonAdresKart .ay-location-choice strong { font-size:.78rem; line-height:1.35; }
#aySalonAdresKart .ay-location-choice small { display:none; }
#aySalonAdresKart .ay-location-status, #aySalonAdresKart .ay-location-pin-summary { padding:9px 10px; border-radius:10px; font-size:.79rem; line-height:1.45; }
#aySalonAdresKart #aySalonMap { height:250px; min-height:250px; border-radius:13px; }
#aySalonMap[data-unavailable="true"] { height:84px!important; min-height:84px!important; }
#aySalonMapRetry { display:none; min-height:44px; }
#aySalonMap[data-unavailable="true"] + #aySalonMapRetry { display:block; }
#aySalonAdresKart .ay-location-confirm { min-height:44px; border-radius:11px; width:100%; font-weight:700; }
#aySalonAdresKart .ay-location-confirm.hidden { display:none; }
#aySalonAdresKart .ay-location-accuracy { margin:0; font-size:.75rem; color:var(--rv-muted,#64748b); }
#aySalonAdresKart .ay-location-pin-address { padding:0; border:0; background:transparent; font-size:.78rem; line-height:1.5; }
#aySalonAdresKart .ay-location-search__results { display:grid; gap:6px; max-height:220px; overflow:auto; overscroll-behavior:contain; }
#aySalonAdresKart .ay-location-search__result { min-height:48px; padding:10px 12px; text-align:start; line-height:1.45; border-radius:10px; }
#aySalonAdresKart .ay-location-search__result small { display:block; margin-top:4px; color:var(--rv-muted,#64748b); font-size:.72rem; }
#aySalonAdresKart textarea { min-height:72px; font-size:16px; line-height:1.45; resize:vertical; }
#aySalonAdresKart .ay-kart-kaydet-satir { padding-top:0; border:0; }
#aySalonAdresKart .ay-kart-kaydet-satir button { width:100%; min-height:44px; }
#ayKonumaPanel .ay-location-service { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:12px; }
#ayKonumaPanel .ay-location-service > .ay-inner-card > * { margin-block:0 10px; }
#ayKonumaPanel .ay-location-service > .ay-inner-card > :last-child { margin-bottom:0; }
#ayKonumaPanel .ay-location-service > .ay-inner-card { min-width:0; min-height:0; padding:14px; border:1px solid color-mix(in srgb,var(--rv-border,#8792a3) 38%,transparent); border-radius:16px; background:var(--rv-surface,#fff); box-shadow:none; }
#ayKonumaPanel .ay-location-section-head { display:flex; flex-direction:row; align-items:center; gap:12px; }
#ayKonumaPanel .ay-location-section-head > .hz-switch { flex:0 0 auto; }
#ayKonumaPanel .ay-location-section-head > button { min-height:44px; flex:0 0 auto; padding:8px 12px; white-space:nowrap; }
#ayKonumaPanel .field { min-width:0; min-height:44px; padding:10px 12px; font-size:16px; }
#ayKonumaPanel .form-label { font-size:.77rem; margin-bottom:5px; }
#ayKonumaPanel .ay-location-radius { gap:8px; }
#ayKonumaPanel .ay-location-radius__value { display:none; }
#ayKonumaPanel .ay-location-presets { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
#ayKonumaPanel .ay-location-preset { min-height:40px; padding:7px 3px; font-size:.76rem; }
#ayKonumaPanel .ay-location-map { min-height:250px; height:250px; border-radius:12px; }
#ayKonumaPanel .ay-location-map-viewport.is-expanded .ay-location-map { height:min(68dvh,620px); min-height:320px; }
#ayKonumaPanel #ayKhEmpty { padding:10px 0; border:0; background:transparent; font-size:.8rem; }
#ayKonumaPanel #ayKhAlanListe:empty { display:none; }
#ayKhKartAlan > .ay-location-section-head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
#ayKhKartAlan > .ay-location-section-head > div { display:contents; }
#ayKhKartAlan > .ay-location-section-head h4 { grid-column:1; grid-row:1; }
#ayKhKartAlan > .ay-location-section-head button { grid-column:2; grid-row:1; }
#ayKhKartAlan > .ay-location-section-head .field-hint { grid-column:1/-1; margin-top:0; }
#ayKonumaPanel #ayKhEmpty p { margin-top:4px; font-size:.76rem; }
#ayKonumaPanel .ay-location-area-row { flex-direction:row; align-items:center; gap:8px; padding:10px; border-radius:11px; }
#ayKonumaPanel .ay-location-area-row strong { font-size:.82rem; }
#ayKonumaPanel .ay-location-area-row__actions { display:flex; gap:5px; }
#ayKonumaPanel .ay-location-area-row__actions button { min-height:40px; padding:6px 9px; font-size:.75rem; }
#ayKonumaPanel .ay-location-travel-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
#ayKonumaPanel .ay-location-travel-grid.hidden { display:none; }
#ayKonumaPanel .ay-location-fee-example { padding:9px 10px; border-radius:10px; color:var(--rv-text,#182233); background:color-mix(in srgb,var(--rv-gold,#c89242) 10%,transparent); font-size:.78rem; line-height:1.4; }
#ayKonumaPanel .ay-location-savebar { position:sticky; bottom:calc(var(--mob-quick-height,0px) + 12px); z-index:7; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px; border:1px solid color-mix(in srgb,var(--rv-border,#8792a3) 40%,transparent); border-radius:14px; background:var(--rv-surface,#fff); box-shadow:0 5px 22px rgba(15,23,42,.08); }
#ayKonumaPanel .ay-location-savebar > span { flex:1 1 130px; font-size:.75rem; color:var(--rv-muted,#64748b); }
#ayKonumaPanel .ay-location-savebar > button { flex:1 1 170px; min-height:44px; }
#ayKonumaPanel .ay-location-savebar > button:disabled { opacity:.55; box-shadow:none; }
@media (min-width:600px) {
  #aySalonAdresKart { padding:18px; }
  #aySalonAdresKart #aySalonMap { height:290px; min-height:290px; }
  #aySalonAdresKart .ay-location-choice strong { font-size:.84rem; }
  #aySalonAdresKart .ay-kart-kaydet-satir button { width:auto; min-width:140px; }
  #ayKonumaPanel .ay-location-presets { grid-template-columns:repeat(7,minmax(0,1fr)); }
}
@media (min-width:1100px) {
  #ayKonumaPanel .ay-location-service { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #ayKhKartMod, #ayKhKartYaricap, #ayKonumaPanel .ay-location-savebar { grid-column:1/-1; }
  #ayKhKartMod { display:grid; grid-template-columns:1fr minmax(190px,1fr); align-items:center; gap:10px 20px; }
  #ayKhKartMod > .ay-location-section-head { grid-row:1; grid-column:1; }
  #ayKhKartMod > div:not(.ay-location-section-head), #ayKhKartMod > #ayKhUyari { grid-column:1/-1; }
  #ayKhKartMod > label { grid-column:2; grid-row:1; }
  #ayKhKartMod > div:not(.ay-location-section-head):has(> .field-hint) { display:none; }
  #ayKonumaPanel .ay-location-map { height:300px; min-height:300px; }
  #ayKonumaPanel .ay-location-savebar { bottom:12px; }
  #ayKonumaPanel .ay-location-savebar > button { flex:0 0 auto; min-width:190px; }
}
@media (prefers-reduced-motion:reduce) {
  #aySalonAdresKart .ay-location-choice { transition:none; transform:none; }
}
