/* --- Marka --- */
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-light { color: #fff; }

.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--stamp); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* --- Giriş ekranı --- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side {
  background: var(--ink);
  color: #fff;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.auth-pitch h1 { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 14ch; }
.auth-pitch p { margin-top: 14px; color: #CBD5E1; max-width: 40ch; font-size: 1.0625rem; }
.auth-demo { margin-top: auto; max-width: 400px; }
.auth-demo .stampcard { border: 0; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h2 { margin-bottom: 4px; }
.auth-form > .muted { margin-bottom: 24px; }
.auth-switch { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-soft); }

/* --- Uygulama iskeleti --- */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand { padding: 0 10px; }
.sidebar-business { padding: 4px 10px 22px; color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.25; }

.nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-m);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}
.nav a svg { width: 20px; height: 20px; flex: none; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--stamp-soft); color: var(--stamp); }
.nav a:focus-visible { outline: 3px solid var(--stamp); outline-offset: 1px; }

.sidebar-user { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid var(--line); }
.sidebar-user-name { font-weight: 700; }
.sidebar-user .linkbtn { margin-top: 10px; font-size: 0.9375rem; }

.content { padding: 36px 44px 80px; max-width: 1080px; min-width: 0; outline: none; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head p { color: var(--ink-soft); margin-top: 6px; }
.register-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { margin-bottom: 14px; }

/* --- Özet --- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--card); overflow: hidden; }
.stat { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(3n) { border-right: 0; }
.stat:nth-last-child(-n+3) { border-bottom: 0; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.1; }
.stat-label { color: var(--ink-soft); font-size: 0.9375rem; margin-top: 4px; }
.stat-hint { color: var(--muted); font-size: 0.8125rem; margin-top: 2px; }

.todo { list-style: none; padding: 0; margin: 0; }
.todo li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.todo li:first-child { border-top: 0; padding-top: 0; }

/* --- Kasa --- */
.register { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 28px; align-items: start; }
.lookup input { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.08em; padding: 14px 16px; }
.lookup .btn { margin-top: 12px; }
.register-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; max-width: 460px; }
.qty { display: flex; align-items: center; gap: 10px; margin-top: 14px; max-width: 460px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 1.25rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.qty button:hover { border-color: var(--ink-soft); }
.qty-value { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; min-width: 2ch; text-align: center; }
.empty-card { border: 2px dashed var(--line); border-radius: var(--radius-l); padding: 40px 24px; text-align: center; color: var(--muted); max-width: 460px; }

/* --- Tablolar --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.8125rem; padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; }
.row-link { cursor: pointer; }
.row-link:hover td { background: var(--paper); }
.row-passive td:not(.customer-status) { opacity: 0.55; }
.customer-status { white-space: nowrap; }
.customer-status .btn { margin-left: 6px; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: var(--paper); color: var(--ink-soft); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-stamp { background: var(--stamp-soft); color: var(--stamp); }
.pill-off { background: var(--danger-soft); color: var(--danger); }

.toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input { max-width: 320px; }

.empty { text-align: center; padding: 36px 16px; color: var(--ink-soft); }
.empty p { margin-bottom: 14px; }

/* --- Programlar --- */
.programs { display: grid; gap: 14px; }
.program { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.program-meta { color: var(--ink-soft); margin-top: 4px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* --- QR penceresi --- */
.modal-back { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 20px; z-index: 20; }
.modal { background: var(--card); border-radius: var(--radius-l); padding: 28px; max-width: 420px; width: 100%; text-align: center; }
.modal h3 { margin-bottom: 6px; }
.qr-box { display: grid; place-items: center; margin: 20px auto; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-m); width: max-content; background: #fff; }
.qr-link { font-size: 0.8125rem; word-break: break-all; color: var(--ink-soft); margin-bottom: 18px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* --- Bildirim --- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-m); font-weight: 600; z-index: 30; max-width: calc(100vw - 32px); }
.toast.error { background: var(--danger); }

/* --- Yazdırma: sadece QR afişi --- */
.print-only { display: none; }
@media print {
  body > *:not(.print-only) { display: none !important; }
  .print-only { display: block !important; text-align: center; padding-top: 60px; font-family: var(--font-display); }
  .print-only h1 { font-size: 40px; }
  .print-only p { font-size: 22px; margin: 10px 0 30px; }
  .print-only .qr-box { margin: 0 auto; border: 0; }
}

.nav .nav-logout { display: none; }

/* --- Mobil --- */
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 24px; gap: 20px; }
  .auth-demo { display: none; }

  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    bottom: 0; top: auto; left: 0; right: 0;
    height: auto;
    flex-direction: row;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid var(--line);
    z-index: 10;
  }
  .sidebar .brand, .sidebar-business, .sidebar-user { display: none; }
  .nav { grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .nav a { flex-direction: column; gap: 2px; font-size: 0.75rem; padding: 8px 4px; text-align: center; }
  .content { padding: 22px 16px 110px; }
  .register { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3n) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .program { grid-template-columns: 1fr; }
  .nav .nav-logout { display: block; }
}

/* Firma logosu ve profil fotoğrafı */
.sidebar-business { display: flex; align-items: center; gap: 10px; }
.business-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex: none; }
.sidebar-avatar { display: inline-block; cursor: pointer; margin-bottom: 10px; border-radius: 50%; }
.sidebar-avatar:hover .avatar, .sidebar-avatar:focus-within .avatar { box-shadow: 0 0 0 3px rgba(30,58,95,.35); }

/* Kasa: alışveriş, cüzdan ve kuponlar */
.purchase-row { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; }
.amount-field { display: grid; gap: 4px; font-weight: 600; font-size: 0.875rem; }
.amount-field input { max-width: 170px; }
.messages { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-m); background: var(--ok-soft); color: var(--ink); }
.messages ul { margin: 0; padding-left: 18px; }
.wallet { margin-top: 16px; }
.wallet-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.coupons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coupons li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-m); }

/* Kazanılan ödüller penceresi: kare kutular */
.reward-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; margin-left: 8px; border-radius: 999px; background: rgba(255,255,255,.25); font-size: .875rem; }
.rewards-modal { max-width: 760px; text-align: left; max-height: calc(100vh - 40px); overflow-y: auto; }
.rewards-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rewards-head h2 { margin: 0; }
.reward-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 16px; }
.reward-tile { aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px; text-align: center;
  padding: 16px 14px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.reward-tile.stamp { border-color: var(--ok); background: var(--ok-soft); }
.reward-tile.coupon { border-color: var(--stamp); border-style: dashed; }
.reward-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--stamp); border: 1px solid var(--line); }
.reward-tile.stamp .reward-icon { color: var(--ok); }
.reward-icon svg { width: 24px; height: 24px; }
.reward-title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.reward-code { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; color: var(--stamp); font-size: .875rem; }
.reward-sub { font-size: .75rem; color: var(--muted); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 560px) { .reward-grid { grid-template-columns: 1fr 1fr; } .reward-tile { aspect-ratio: auto; min-height: 190px; } }

/* Kasa: son işlemler ve iptal */
.history { margin-top: 16px; }
.history h3 { margin: 0 0 10px; }
.tx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tx-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.tx-main { flex: 1; min-width: 0; }
.tx-badge { flex: none; min-width: 52px; text-align: center; padding: 6px 8px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: .875rem; }
.tx-stamp { background: var(--stamp-soft); color: var(--stamp); }
.tx-reward { background: var(--ok-soft); color: var(--ok); }
.tx-cancelled { opacity: .6; }
.tx-cancelled .tx-main strong { text-decoration: line-through; }
.tx-cancel-note { color: var(--danger); font-weight: 600; }
.btn-danger { color: var(--danger); border-color: #EBC3BB; }
.btn-danger[data-confirm="1"] { background: var(--danger); color: #fff; border-color: var(--danger); }
.rewards-modal.single { max-width: 340px; }
.rewards-modal.single .reward-tile { aspect-ratio: auto; margin-top: 14px; gap: 10px; padding: 22px 18px 18px; }

/* Özet: kampanya kartları */
.campaign-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.campaign-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.campaign-card.has-card { border-color: var(--stamp); box-shadow: inset 0 4px 0 var(--stamp); }
.campaign-card h3 { margin: 6px 0 0; }
.cc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cc-until { font-size: .8125rem; font-weight: 700; color: #475569; }
.cc-rule { margin: 0; color: var(--ink-soft); }
.cc-reward { margin: 0; font-weight: 700; }
.cc-foot { margin-top: auto; padding-top: 10px; }

/* Ödemeler */
.billing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.billing-grid .panel + .panel { margin-top: 0; }
.billing-plan { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.billing-plan-name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.billing-fee { text-align: right; }
.billing-fee strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.billing-fee span { color: var(--muted); font-size: 0.875rem; }
.billing-info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 10px; font-size: 0.9375rem; }
.billing-info dt { color: var(--muted); }
.billing-info dd { margin: 0; font-weight: 600; }
.pay-list { display: grid; gap: 10px; }
.pay-item { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.pay-amount { text-align: right; }
.pay-amount strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.pay-amount span { color: var(--muted); font-size: 0.8125rem; }
.renew-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.renew-option { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-m); cursor: pointer; position: relative; }
.renew-option input { position: absolute; opacity: 0; pointer-events: none; }
.renew-option:has(input:checked) { border-color: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-soft); }
.renew-option:has(input:focus-visible) { outline: 2px solid var(--stamp); outline-offset: 2px; }
.renew-months { font-weight: 700; color: var(--stamp); }
.renew-option strong { font-family: var(--font-display); font-size: 1.25rem; }
.secure-note { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; }
@media (max-width: 640px) {
  .pay-item { grid-template-columns: 1fr; }
  .pay-amount { text-align: left; }
}

/* Raporlar */
.report-filter { display: grid; gap: 14px; margin-bottom: 18px; }
.report-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--stamp); }
.chip.on { background: var(--stamp-soft); border-color: var(--stamp); color: var(--stamp); }
.report-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.report-fields label { display: grid; gap: 4px; font-weight: 600; font-size: 0.875rem; min-width: 160px; }
.report-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.report-stats .stat-value { font-size: 1.5rem; }
.report-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.report-detail-head h3 { margin: 0; }
.report-detail-head select { max-width: 240px; }
.report-table td { vertical-align: top; }
.report-table .pill { white-space: normal; }
.nowrap { white-space: nowrap; }
tr.is-cancelled td { color: var(--muted); }
.pt-plus { color: var(--ok); font-weight: 700; }
.pt-minus { color: var(--danger); font-weight: 700; margin-left: 6px; }

/* Kasa: telefonla bulunan müşterinin kartları */
.phone-pick { max-width: 460px; }
.phone-pick h3 { margin-bottom: 4px; }
.phone-pick-list { display: grid; gap: 8px; margin-top: 12px; }
.phone-pick-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--card); font: inherit; cursor: pointer; }
.phone-pick-item:hover, .phone-pick-item:focus-visible { border-color: var(--stamp); }
.phone-pick-item span { color: var(--muted); font-size: 0.875rem; }

/* Kasiyer: telefonla müşteri arama */
.customer-search { max-width: 520px; margin-bottom: 18px; }
.customer-search label { display: block; font-weight: 600; margin-bottom: 6px; }
.customer-search-row { display: flex; gap: 10px; }
.customer-search-row input { flex: 1; font-size: 1.125rem; letter-spacing: 0.04em; }
.customer-found-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.customer-found-head h3 { margin: 0; font-size: 1.375rem; letter-spacing: 0.06em; }
.customer-initials { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--stamp-soft); color: var(--stamp); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; flex: none; }

/* ---------------------------------------------------------------- mobil reklam */
.btn-xs { padding: 6px 10px; font-size: 0.8125rem; border-radius: var(--radius-s); }
.media-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.media-slot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
button.media-slot { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: center; }
.media-frame { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.media-wide { aspect-ratio: 16 / 9; }
.media-square { aspect-ratio: 1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-empty .media-frame { border-style: dashed; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-soft); font-weight: 600; font-size: 0.875rem; transition: border-color .15s, background .15s; }
.media-empty:hover .media-frame, .media-empty:focus-visible .media-frame { border-color: var(--stamp); background: var(--stamp-soft); color: var(--stamp); }
.media-empty small { font-weight: 400; color: var(--muted); font-size: 0.75rem; }
.media-plus { font-size: 1.6rem; line-height: 1; font-weight: 400; }
.media-no { position: absolute; top: 6px; left: 6px; background: rgba(15, 23, 42, .78); color: #fff; font-size: .75rem; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.media-flag { position: absolute; bottom: 6px; left: 6px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.media-ctrl { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; }
.media-sec { font-size: .72rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.media-sec select, .media-sec input { padding: 5px 6px; font-size: .8125rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; width: 100%; min-width: 0; font-family: inherit; color: var(--ink); }
.media-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.media-actions .btn-danger { margin-left: auto; }
.media-preview { position: sticky; top: 20px; }
.phone { width: 240px; margin: 0 auto; border-radius: 12px; background: #F8FAFC; border: 8px solid #0F172A; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.phone-head { background: #0F172A; color: #fff; padding: 22px 14px 14px; display: flex; gap: 10px; align-items: center; }
.phone-head strong { display: block; font-size: .84rem; font-family: var(--font-display); }
.phone-head span { font-size: .68rem; opacity: .7; }
.phone-av { width: 32px; height: 32px; border-radius: 8px; background: #CBD5E1; color: #0F172A; font-weight: 700; display: grid; place-items: center; flex: none; }
.phone-slider { position: relative; margin: 10px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #E2E8F0; }
.phone-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.phone-slider img.on { opacity: 1; }
.phone-noslide { display: grid; place-items: center; height: 100%; font-size: .75rem; color: var(--muted); }
.phone-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.phone-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .6); transition: width .3s; }
.phone-dots i.on { width: 14px; background: #fff; }
.phone-photos { display: flex; gap: 6px; padding: 0 10px; }
.phone-photos img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.phone-card { margin: 10px; height: 74px; border-radius: 12px; background: #1E3A5F; display: flex; gap: 6px; align-items: flex-end; padding: 10px; }
.phone-card span { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
@media (max-width: 1100px) { .media-layout { grid-template-columns: 1fr; } .media-preview { position: static; } }
@media (max-width: 700px) { .media-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- yorum analiz */
.fb-summary { display: grid; grid-template-columns: 200px minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.fb-summary .panel + .panel { margin-top: 0; }
.fb-score { text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.fb-avg { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--ink); }
.fb-stars { color: #CBD5E1; letter-spacing: 2px; white-space: nowrap; }
.fb-score .fb-stars { font-size: 1.25rem; }
.fb-low { color: var(--danger); }
.fb-bar { display: grid; grid-template-columns: 38px 1fr 32px; align-items: center; gap: 10px; width: 100%; padding: 5px 6px; border: 0; background: none; border-radius: var(--radius-s); cursor: pointer; font: inherit; color: var(--ink-soft); font-size: .875rem; }
.fb-bar:hover, .fb-bar.on { background: var(--paper); }
.fb-bar b { text-align: right; color: var(--ink); }
.fb-track { height: 8px; background: var(--paper); border-radius: 4px; overflow: hidden; }
.fb-track i { display: block; height: 100%; border-radius: 4px; background: #CBD5E1; }
.fb-track i.s1, .fb-track i.s2 { background: var(--danger); }
.fb-track i.s3 { background: #64748B; }
.fb-tag { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; margin: 0 6px 6px 0; border-radius: 999px; background: var(--stamp-soft); color: var(--stamp); font-size: .8125rem; font-weight: 600; }
.fb-tag b { color: var(--ink); }
.fb-tag-sm { padding: 2px 8px; font-size: .75rem; margin-bottom: 4px; }
.fb-comment { color: var(--ink); line-height: 1.45; max-width: 60ch; white-space: pre-line; }
.fb-table td { vertical-align: top; }
.fb-row-low td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
.fb-s1, .fb-s2 { color: var(--danger); }
.fb-photo { border: 0; border-radius: var(--radius-l); padding: 14px; max-width: 92vw; text-align: center; }
.fb-photo::backdrop { background: rgba(15, 23, 42, .7); }
.fb-photo img { max-width: 86vw; max-height: 76vh; border-radius: var(--radius-m); display: block; margin-bottom: 10px; }
@media (max-width: 1000px) { .fb-summary { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Duyurular */
.ann-segments { display: flex; flex-wrap: wrap; gap: 8px; }
.ann-seg { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9375rem; background: var(--card); }
.ann-seg input { accent-color: var(--stamp); margin: 0; }
.ann-seg:has(input:checked) { border-color: var(--stamp); background: var(--stamp-soft); color: var(--stamp); }
.ann-audience { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.5; }
.text-danger { color: var(--danger); font-weight: 600; }
#ann-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); color: inherit; resize: vertical; min-height: 84px; }
#ann-form textarea:focus { outline: none; border-color: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-soft); }
.ann-preview { display: flex; gap: 12px; align-items: flex-start; max-width: 420px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.ann-preview-icon img { width: 36px; height: 36px; border-radius: 8px; display: block; }
.ann-preview strong { display: block; font-size: 0.9375rem; }
.ann-preview span { display: block; font-size: 0.875rem; color: var(--ink-soft); margin-top: 2px; white-space: pre-wrap; word-break: break-word; }

/* --- Markam --- */
.mk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .mk-layout { grid-template-columns: minmax(0, 1fr); } }
.mk-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.mk-swatch { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.mk-swatch[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.mk-swatch:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
.mk-custom { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mk-custom input[type="color"] { width: 44px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--card); cursor: pointer; }
.mk-custom input[type="text"] { width: 120px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.mk-preview-col { display: grid; gap: 8px; position: sticky; top: 18px; }
.mk-phone { border: 8px solid #0F172A; border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.mk-band { background: var(--brand); color: var(--on-brand); padding: 26px 18px 20px; border-radius: 0 0 22px 22px; transition: background .25s; }
.mk-band-row { display: flex; align-items: center; gap: 12px; }
.mk-logo { flex: none; width: 50px; height: 50px; border-radius: 12px; object-fit: cover; background: #fff; }
.mk-logo-text { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--brand); }
.mk-eyebrow { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-brand-soft); }
.mk-name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.1; }
.mk-tag { margin: 10px 0 0; font-size: 0.875rem; color: var(--on-brand-soft); }
.mk-body { padding: 16px 16px 18px; display: grid; gap: 10px; }
.mk-offer { font-size: 0.875rem; color: var(--ink-soft); }
.mk-offer strong { color: var(--ink); }
.mk-field { height: 34px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.mk-btn { height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.875rem; background: var(--brand-btn, var(--stamp)); }
.mk-powered { text-align: center; font-size: 0.6875rem; color: var(--muted); }

/* --- Sol menü: işletme logosu ve düzenleme kalemi --- */
.biz-logo { position: relative; flex: none; }
.business-logo-empty { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--stamp); background: var(--stamp-soft); }
.biz-logo-edit { position: absolute; right: -8px; bottom: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(15, 23, 42, .14); }
.biz-logo-edit svg { width: 14px; height: 14px; }
.biz-logo-edit:hover { color: var(--stamp); border-color: var(--stamp); }
.biz-logo-edit:focus-visible { outline: 2px solid var(--stamp); outline-offset: 2px; }
.biz-logo-menu { position: absolute; left: 0; top: calc(100% + 12px); z-index: 30; min-width: 180px; display: grid; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-m); }
.biz-logo-item { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: var(--radius-s); background: none; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.biz-logo-item:hover, .biz-logo-item:focus-visible { background: var(--paper); outline: none; }
.biz-logo-item.danger { color: var(--danger); }

/* Kasada telefon onayı */
.approvals { margin-bottom: 18px; border-color: var(--stamp, #475569); }
.approvals-head h3 { margin: 0 0 4px; }
.approvals-head p { margin: 0 0 12px; }
.approval-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.approval-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-m, 12px); background: var(--card, #fff); }
.approval-code { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.15em; min-width: 5ch; text-align: center; }
.approval-main strong { font-size: 1.0625rem; }
.approval-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) {
  .approval-item { grid-template-columns: auto 1fr; }
  .approval-actions { grid-column: 1 / -1; justify-content: stretch; }
  .approval-actions .btn { flex: 1; }
}

/* NFC kart tanımlama */
.nfc-modal { max-width: 460px; }
.nfc-modal form > label { display: block; font-weight: 700; margin: 12px 0 6px; }
.nfc-modal input[type=text], .nfc-modal input[type=password], .nfc-modal select { width: 100%; }
.nfc-modal .btn-big { margin-top: 14px; }
.nfc-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; counter-reset: s; }
.nfc-steps li { flex: 1; font-size: .8125rem; font-weight: 700; color: var(--muted, #64748b); border-top: 3px solid var(--line, #e2e8f0); padding-top: 6px; counter-increment: s; }
.nfc-steps li::before { content: counter(s) ". "; }
.nfc-steps li.current { color: var(--ink, #0F172A); border-color: var(--stamp, #475569); }
.nfc-steps li.done { color: var(--ink, #0F172A); border-color: var(--ok, #1f7a55); }
.phone-prefix { display: flex; align-items: stretch; }
.phone-prefix span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line, #e2e8f0); border-right: 0; border-radius: 8px 0 0 10px; font-weight: 700; background: var(--bg, #f8fafc); }
.phone-prefix input { flex: 1; border-radius: 0 10px 10px 0 !important; font-size: 1.125rem; letter-spacing: .04em; }
.otp-input { font-size: 1.75rem !important; letter-spacing: .4em; text-align: center; font-weight: 700; }
.nfc-links { display: flex; justify-content: space-between; margin-top: 8px; }
.nfc-who { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line, #e2e8f0); border-radius: 12px; margin-bottom: 4px; }
.nfc-scan { text-align: center; margin-top: 16px; padding: 16px; border: 2px dashed var(--stamp, #475569); border-radius: 12px; }
.nfc-scan label { display: block; font-weight: 700; font-size: 1.125rem; margin: 8px 0; }
.nfc-scan input { text-align: center; }
.nfc-chip { display: inline-block; width: 18px; height: 13px; border-radius: 3px; background: linear-gradient(135deg, #d9b45a, #f3dc8f); vertical-align: -2px; margin-right: 6px; }
.nfc-chip.big { width: 48px; height: 34px; border-radius: 7px; margin: 0; }
.nfc-chip.ok { background: linear-gradient(135deg, #1f7a55, #6fd3a2); }
.nfc-done { text-align: center; }
.nfc-done h2 { margin: 10px 0 6px; }
.nfc-cards h3 { margin: 0 0 8px; }
.nfc-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nfc-card-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nfc-card-list li .btn { margin-left: auto; }

/* Kasada tanımsız kart uyarısı */
.card-alert { max-width: 380px; text-align: center; }
.card-alert-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: #FDF0D5; color: #8A5A00; font-size: 1.75rem; font-weight: 700; }
.card-alert p { font-size: 1.125rem; font-weight: 600; margin: 0 0 18px; }

/* --- Sipariş yönetimi --- */
.nav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: auto; border-radius: 999px; background: #E11D2E; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 2px rgba(225, 29, 46, .18); }
.nav .nav-sub a { display: flex; align-items: center; }
.order-views { margin-bottom: 14px; }
.orders-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.orders-list { padding: 8px 4px; }
.orders-list td { padding: 10px; }
.order-cell { max-width: 220px; font-size: .875rem; overflow-wrap: anywhere; }
tr.order-new td { background: #F8FAFC; }
tr.order-new td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
tr.row-selected td { background: var(--stamp-soft) !important; }
.order-detail { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow-y: auto; }
.order-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.order-detail-head h2 { font-size: 1.375rem; }
.order-facts { margin: 0 0 12px; display: grid; gap: 8px; }
.order-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 8px; font-size: .9375rem; }
.order-facts dt { color: var(--muted); font-size: .8125rem; padding-top: 2px; }
.order-facts dd { margin: 0; overflow-wrap: anywhere; }
.order-contact { display: flex; gap: 8px; margin-bottom: 14px; }
.order-items { margin-bottom: 6px; }
.order-items th, .order-items td { padding: 8px 6px; }
.order-items tfoot td { border-top: 1px solid var(--line); border-bottom: 0; font-size: 1.0625rem; }
.order-messages { margin-top: 14px; }
.order-messages h3 { font-size: .9375rem; margin-bottom: 8px; }
.order-msg { background: var(--paper); border-radius: var(--radius-m); padding: 8px 12px; margin-bottom: 6px; }
.order-actions { display: grid; gap: 8px; margin-top: 16px; }
.order-modal { max-width: 520px; text-align: left; max-height: calc(100vh - 40px); overflow-y: auto; }
.order-modal h3 { margin-bottom: 14px; }
.order-modal textarea { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 10px 12px; resize: vertical; }
.order-modal .modal-actions { margin-top: 8px; }
.order-modal input[type=file] { width: 100%; font: inherit; }
.product-modal-img img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-m); border: 1px solid var(--line); margin-bottom: 12px; }

.os-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 14px; max-width: 640px; }
.os-opt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius-l); padding: 14px 16px; cursor: pointer; font-weight: 400; margin: 0; }
.os-opt input { margin-top: 4px; accent-color: var(--ok); }
.os-opt b { display: block; font-size: 1.0625rem; }
.os-opt small { color: var(--muted); }
.os-opt.on { border-color: var(--ok); background: var(--ok-soft); }
.os-opt.off.on { border-color: var(--danger); background: var(--danger-soft); }
.os-opt.off input { accent-color: var(--danger); }
.os-now { font-weight: 600; color: var(--danger); }
.os-now.ok { color: var(--ok); }
.os-table { max-width: 560px; }
.os-table input[type=time] { font: inherit; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 8px 10px; }
.os-table input:disabled { opacity: .45; }
.os-table.is-off { opacity: .5; }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0; display: flex; justify-content: flex-end; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.product-card { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; align-items: start; }
.product-card.is-passive { opacity: .6; }
.product-img { width: 96px; height: 96px; border-radius: var(--radius-m); overflow: hidden; background: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--muted); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.product-price { font-weight: 700; white-space: nowrap; color: var(--stamp); }
.product-desc { margin-top: 6px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-actions { display: flex; gap: 6px; margin-top: 10px; }

.order-report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

@media (max-width: 1100px) {
  .orders-layout { grid-template-columns: 1fr; }
  .order-detail { position: static; max-height: none; }
  .order-report-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .os-switch { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 72px 1fr; }
  .product-img { width: 72px; height: 72px; }
}
@media print {
  body.print-report > #app { display: block !important; }
  body.print-report .sidebar, body.print-report .page-head button, body.print-report .report-filter, body.print-report #or-status { display: none !important; }
  body.print-report .print-only { padding-top: 0; text-align: left; font-family: inherit; }
  body.print-report .print-only, body.print-report .print-only strong { font-size: 16px; margin: 0 0 12px; }
}
.content .orders-layout > .panel, .content .order-report-grid > .panel, .content .product-grid > .panel { margin-top: 0; }
.order-actions .text-danger, .product-actions .text-danger, td .btn.text-danger { color: var(--danger); }

/* ---------------------------------------------------------------- randevu */
.appt-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.appt-toolbar .report-presets { margin: 0; }
.appt-time { font-size: 1.05rem; }
.appt-when { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; padding: 12px 14px; border-radius: var(--radius-m); background: var(--stamp-soft); color: var(--stamp); font-weight: 700; }
.appt-when-time { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.staff-photo { border-radius: 50%; }
.staff-services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-static { cursor: default; padding: 3px 10px; font-size: 0.8rem; }
.chip-static:hover { border-color: var(--line); }
.staff-hours { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); }
.appt-fieldset { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 12px 14px; margin: 14px 0 0; }
.appt-fieldset legend { font-weight: 700; padding: 0 6px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 14px; }
.check-grid .check { margin: 4px 0; }
.check-grid small { display: block; }
.order-note { font-weight: 700; color: var(--ink); background: var(--paper); border-radius: 8px; padding: 6px 8px; }
.order-pin { font-size: 0.9rem; }
@media print {
  body.print-report #ar-status { display: none !important; }
}

/* Zil: tarayıcı sesi engellediyse görünen düğme */
.sound-unlock { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: #0F172A; color: #fff; font: inherit; font-weight: 700; box-shadow: var(--shadow-m); cursor: pointer; animation: sound-pulse 1.6s ease-in-out infinite; }
.sound-unlock:hover { background: #1e293b; }
@keyframes sound-pulse { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .sound-unlock { animation: none; } }

/* ---------------------------------------------------------------- randevu düzenleme */
.sched-filter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.sched-filter label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; min-width: 200px; }
.sched-days { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.sched-list { list-style: none; margin: 0; padding: 0; }
.sched-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-m); border: 1px solid var(--line); margin-bottom: 8px; }
.sched-row.is-kapali { background: #F1F5F9; border-color: #E2E8F0; }
.sched-row.is-randevu { background: var(--stamp-soft); border-color: transparent; }
.sched-row.is-gecmis { opacity: .55; }
.sched-time { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.sched-time small { display: block; font-family: inherit; font-weight: 600; font-size: .78rem; color: var(--ink-soft); }
.sched-free { color: #1F7A55; font-weight: 700; }
@media (max-width: 560px) {
  .sched-row { grid-template-columns: 80px 1fr; }
  .sched-act { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- kurye / harita */
.order-courier { margin: 12px 0; padding: 12px; border-radius: var(--radius-m); background: var(--paper); }
.order-courier label { font-weight: 700; display: block; margin-bottom: 6px; }
.order-courier-row { display: flex; gap: 8px; }
.order-courier-row select { flex: 1; min-width: 0; }
.map-pin-btn { border: 0; background: #F1F5F9; border-radius: 999px; padding: 2px 8px; cursor: pointer; font-size: 1rem; line-height: 1.4; }
.map-pin-btn:hover, .map-pin-btn:focus-visible { background: #E2E8F0; }
.map-modal { width: min(680px, 94vw); }
.map-frame { width: 100%; height: min(420px, 60vh); border: 0; border-radius: var(--radius-m); background: var(--paper); }
.join-member { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.join-member > div { flex: 1 1 320px; }

/* --- Hesabım --- */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; max-width: 1040px; }
.account-grid .panel { margin: 0; }
.acc-info { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 4px 0 14px; }
.acc-info dt { color: var(--ink-soft); font-size: .9375rem; }
.acc-info dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; width: 100%; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.pw-eye svg { width: 20px; height: 20px; }
.pw-eye:hover, .pw-eye.on { color: var(--stamp); }
.pw-eye:focus-visible { outline: 3px solid var(--stamp); outline-offset: 1px; }
@media (max-width: 520px) { .acc-info { grid-template-columns: 1fr; gap: 2px; } .acc-info dd { margin-bottom: 8px; } }


/* --- Kurye takip --- */
.tr-list { display: grid; gap: 10px; }
.tr-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.tr-list > .panel + .panel { margin-top: 0; }
.tr-row.is-passive { opacity: .6; }
.tr-photo { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--stamp-soft); color: var(--stamp); display: grid; place-items: center; font-weight: 600; }
.tr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-name { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.tr-body .small a { color: inherit; }
.tr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.tr-pill { display: inline-flex; align-items: center; gap: 6px; }
.tr-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.tr-dot.on { box-shadow: 0 0 0 3px rgba(31, 122, 85, .18); }
.tr-btn { white-space: nowrap; }
.tr-btn.is-waiting { opacity: .85; }
@media (max-width: 600px) {
  .tr-row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; padding: 12px; }
  .tr-photo { width: 44px; height: 44px; border-radius: 10px; }
  .tr-btn { grid-column: 1 / -1; width: 100%; }
}
