/* —— Viona Admin: tasarım jetonları (tüm sekme ve kartlarda tutarlı) —— */
.admin-body {
  --admin-bg: #0b1017;
  --admin-surface: #0e1522;
  --admin-surface-2: #121b2a;
  --admin-border: rgba(255, 255, 255, 0.085);
  --admin-border-subtle: rgba(255, 255, 255, 0.06);
  --admin-accent: #3d6cff;
  --admin-accent-glow: rgba(61, 108, 255, 0.12);
  --admin-text: #eaf0ff;
  --admin-text-title: #f2f6ff;
  --admin-text-muted: #a3b6d4;
  --admin-text-dim: #8a9db8;
  --admin-radius-sm: 10px;
  --admin-radius: 12px;
  --admin-radius-lg: 16px;
  --admin-shadow-panel:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.35);
  --admin-ease: 0.18s ease;

  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

.admin-body .btn-primary {
  border-radius: var(--admin-radius-sm);
  transition: filter var(--admin-ease), box-shadow var(--admin-ease), transform 0.12s ease;
}
.admin-body .btn-primary:not(:disabled):hover {
  filter: brightness(1.06);
}
.admin-body .btn-small {
  border-radius: var(--admin-radius-sm);
  border-color: rgba(51, 72, 96, 0.95);
  background: linear-gradient(180deg, #182536 0%, #152131 100%);
  color: #e2ebff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 7px 12px;
  transition: background var(--admin-ease), border-color var(--admin-ease), color var(--admin-ease);
}
.admin-body .btn-small:hover:not(:disabled) {
  background: #1a2a42;
  border-color: rgba(61, 108, 255, 0.35);
  color: #fff;
}

/* Klavye ile gezinme — net odak halkası */
.admin-nav button:focus-visible,
.admin-nav button.is-active:focus-visible,
.js-back-home:focus-visible,
.alert-openbtn:focus-visible,
.btn-primary:focus-visible,
.btn-small:focus-visible {
  outline: 2px solid rgba(100, 150, 255, 0.85);
  outline-offset: 2px;
}
.admin-nav button:focus:not(:focus-visible) {
  outline: none;
}
.admin-login {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}
.admin-login__card {
  width: min(420px, 92vw);
  padding: 18px;
  display: grid;
  gap: 10px;
}
.admin-login__card input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px;
}

/* Chrome/Safari otomatik doldurma: sarı arka plan + görünmez yazı — kullanıcı «şifre görünmüyor» sanıyor */
.admin-login__card input:-webkit-autofill,
.admin-login__card input:-webkit-autofill:hover,
.admin-login__card input:-webkit-autofill:focus,
.admin-login__card input:-webkit-autofill:active {
  -webkit-text-fill-color: #eaf0ff !important;
  caret-color: #eaf0ff;
  box-shadow: 0 0 0 1000px #0d141f inset !important;
  transition: background-color 99999s ease-out;
}
.admin-login__field-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c5d4ec;
}
.admin-login__fixed-user {
  margin: 0;
  border-radius: 8px;
  border: 1px solid #2a3a50;
  background: #121a28;
  color: #dce8ff;
  padding: 10px 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.admin-password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.admin-login__error {
  min-height: 20px;
  color: #ff9d9d;
  margin: 0;
}
.admin-login__hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #a3b6d4;
}
.admin-login__hint strong {
  color: #dce8ff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Oturum açık: tek ekran kabuğu — taşma ana içerikte kayar, sekmeler üst üste binmez */
.admin-body.admin-body--app {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
}
.admin-body.admin-body--app .admin-layout {
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  box-sizing: border-box;
  overflow: hidden;
  max-width: none;
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
}
.admin-body.admin-body--app .admin-sidebar {
  position: relative;
  top: auto;
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.admin-body.admin-body--app .admin-main {
  min-height: 0;
  /* hidden: geniş tablolar (Loglar) sağda kesiliyordu; auto ile yatay kaydırma veya iç sarmalayıcı scroll */
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  align-self: stretch;
  scrollbar-gutter: stable;
}

.admin-layout {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: max(18px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px))
    max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  max-width: 1680px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Klavye / erişilebilirlik: ana içeriğe atla (grid düzenini bozmaz) */
.admin-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}
.admin-skip-link:focus {
  left: max(18px, env(safe-area-inset-left, 0px));
  top: max(18px, env(safe-area-inset-top, 0px));
  width: auto;
  height: auto;
  padding: 10px 14px;
  overflow: visible;
  border-radius: var(--admin-radius-sm);
  background: var(--admin-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Dar ekran: navigasyon gövdesini daralt; çıkış footer’da kalır */
.admin-nav-toggle {
  display: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 10px;
  justify-content: center;
}
.admin-layout .glass-block {
  border-radius: var(--admin-radius-lg);
  border: 1px solid var(--admin-border);
  background: linear-gradient(165deg, var(--admin-surface) 0%, #0a1018 100%);
  box-shadow: var(--admin-shadow-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* Tablo kabuğu: sade çerçeve, göz yormayan (panel + ops-*.html) */
.admin-layout .viona-table-shell.glass-block,
.admin-body .viona-table-shell.glass-block {
  padding: 0;
  overflow: hidden;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(14, 18, 28, 0.5);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.admin-sidebar {
  position: sticky;
  top: max(18px, env(safe-area-inset-top, 0px));
  height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  align-self: start;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}
.admin-sidebar__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-sidebar__footer {
  flex-shrink: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--admin-border-subtle);
}
.admin-sidebar h1 {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border-subtle);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--admin-text-title);
  line-height: 1.3;
}
.admin-sidebar .admin-logout {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  min-height: 42px;
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}
.admin-sidebar .admin-logout:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, 0.55);
  color: #fff;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 4px;
}
.admin-nav button {
  border: 1px solid rgba(42, 51, 69, 0.9);
  background: linear-gradient(180deg, #141c2e 0%, #111827 100%);
  color: #d6e0f5;
  border-radius: var(--admin-radius-sm);
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.28;
  transition: background var(--admin-ease), border-color var(--admin-ease), color var(--admin-ease), box-shadow var(--admin-ease);
}
.admin-nav button:hover:not(.is-active) {
  background: #182238;
  border-color: rgba(90, 120, 160, 0.45);
  color: #eef3ff;
}
.admin-nav button.is-active {
  background: linear-gradient(180deg, #1e2a44 0%, #1b273a 100%);
  border-color: var(--admin-accent);
  color: #f8faff;
  box-shadow: 0 0 0 1px rgba(61, 108, 255, 0.2);
}

/* Operasyon sekmeleri: kayıt sekmelerinden görsel olarak ayrı blok */
.admin-nav__group-label {
  margin: 14px 0 6px;
  padding: 0 2px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  line-height: 1.3;
}
.admin-nav__group-label:first-of-type {
  margin-top: 10px;
}
.admin-nav__ops {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: linear-gradient(165deg, rgba(13, 148, 136, 0.12) 0%, rgba(15, 23, 42, 0.55) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.admin-nav__divider {
  height: 1px;
  margin: 14px 0 6px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(100, 116, 139, 0.45), transparent);
}
.admin-nav button.admin-nav__btn--ops {
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(180deg, rgba(17, 34, 40, 0.95) 0%, rgba(15, 26, 32, 0.98) 100%);
  color: #ccfbf1;
  border-left: 3px solid rgba(45, 212, 191, 0.65);
  padding-left: 12px;
  font-weight: 650;
}
.admin-nav button.admin-nav__btn--ops:hover:not(.is-active) {
  background: rgba(19, 47, 52, 0.92);
  border-color: rgba(94, 234, 212, 0.4);
  color: #ecfeff;
}
.admin-nav button.admin-nav__btn--ops.is-active {
  background: linear-gradient(180deg, rgba(19, 78, 74, 0.55) 0%, rgba(15, 40, 42, 0.95) 100%);
  border-color: rgba(94, 234, 212, 0.55);
  border-left-color: #5eead4;
  color: #f0fdfa;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.22), 0 4px 14px rgba(13, 148, 136, 0.12);
}

.admin-nav-sub {
  display: grid;
  gap: 6px;
  margin: 4px 0 6px 8px;
  padding: 8px 0 8px 12px;
  border-left: 2px solid rgba(61, 108, 255, 0.22);
}
.admin-nav-sub button {
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(15, 23, 36, 0.65);
  display: flex;
  align-items: center;
  min-height: 36px;
  color: #b8c8e4;
  transition: background var(--admin-ease), border-color var(--admin-ease), color var(--admin-ease);
}
.admin-nav-sub button:hover:not(.is-active) {
  background: rgba(30, 42, 68, 0.55);
  color: #e8eeff;
}
.admin-nav-sub button.is-active {
  background: rgba(61, 108, 255, 0.14);
  border-color: rgba(61, 108, 255, 0.45);
  color: #e8f0ff;
}
.admin-main {
  display: grid;
  gap: 22px;
  min-width: 0;
  /* Varsayılan stretch, tek sekme satırını viewport yüksekliğine uzatıp overflow:hidden ile içeriği kesiyordu */
  align-items: start;
  justify-items: stretch;
  padding-bottom: 24px;
}
.admin-main > .admin-tab {
  width: 100%;
  min-width: 0;
  grid-column: 1;
}

/* İçerik sekmeleri: ana sayfa panelleriyle aynı kart dili */
.admin-main > .admin-tab:not(.admin-tab--home) {
  border-radius: var(--admin-radius-lg);
  border: 1px solid var(--admin-border);
  background: linear-gradient(165deg, var(--admin-surface) 0%, #0a1018 100%);
  box-shadow: var(--admin-shadow-panel);
  overflow: hidden;
}
/* Loglar: uzun mesaj/cevap satırları sekme kutusunda kesilmesin */
.admin-main > .admin-tab.admin-tab--logs {
  overflow: visible;
}
.admin-main > .admin-tab:not(.admin-tab--home) > .section-head {
  padding: 16px 20px 16px;
  border-bottom: 1px solid var(--admin-border-subtle);
  background: linear-gradient(180deg, var(--admin-accent-glow) 0%, transparent 100%);
  align-items: flex-start;
  gap: 12px 16px;
}
.admin-main > .admin-tab:not(.admin-tab--home) > .section-head h2 {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--admin-text-title);
  line-height: 1.25;
}
.admin-main > .admin-tab:not(.admin-tab--home) > .section-head .btn-small,
.admin-main > .admin-tab:not(.admin-tab--home) > .section-head .btn-primary {
  flex-shrink: 0;
  align-self: center;
  margin-top: 2px;
}
.admin-main > .admin-tab:not(.admin-tab--home) > .section-lead {
  margin: 0;
  padding: 12px 20px 14px;
  border-bottom: 1px solid var(--admin-border-subtle);
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--admin-text-muted);
  max-width: none;
}
.admin-main > .admin-tab:not(.admin-tab--home):not(.admin-tab--logs) > *:nth-child(n + 3) {
  margin-left: 20px;
  margin-right: 20px;
}
.admin-main > .admin-tab:not(.admin-tab--home):not(.admin-tab--logs) > *:nth-child(3) {
  margin-top: 18px;
}
.admin-main > .admin-tab:not(.admin-tab--home):not(.admin-tab--logs) > *:last-child {
  margin-bottom: 22px;
}

.admin-placeholder {
  padding: 1.15rem 1.25rem;
  border-radius: var(--admin-radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-placeholder:hover {
  border-color: rgba(94, 234, 212, 0.22);
  background: rgba(255, 255, 255, 0.035);
}
.admin-placeholder__title {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.admin-placeholder__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}

/* Loglar sekmesi: üst bant diğer sekmelerle aynı (.section-head); bloklar hizalı */
.admin-tab--logs > .logs-intent-legend,
.admin-tab--logs > .logs-section {
  margin-left: 20px;
  margin-right: 20px;
}
.admin-tab--logs > .logs-intent-legend {
  margin-top: 14px;
}
.admin-tab--logs > .logs-section {
  margin-top: 14px;
}
.admin-tab--logs > .logs-section:last-of-type {
  margin-bottom: 22px;
}

/* —— Ana sayfa (panele ayrılmış düzen) —— */
.admin-tab--home {
  gap: 24px;
  padding-bottom: 16px;
}
@media (min-width: 960px) {
  .admin-tab--home {
    gap: 28px;
  }
}

.home-panel {
  border-radius: var(--admin-radius-lg);
  border: 1px solid var(--admin-border);
  background: linear-gradient(165deg, var(--admin-surface) 0%, #0a1018 100%);
  box-shadow: var(--admin-shadow-panel);
  overflow: hidden;
}
.home-panel__head {
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(61, 108, 255, 0.06) 0%, transparent 100%);
}
.home-panel__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d8cc4;
}
.home-panel__title {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f2f6ff;
  line-height: 1.25;
}
.home-panel__desc {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #a3b6d4;
  max-width: 52rem;
}
.home-panel__kbd {
  font-weight: 600;
  color: #d4e2ff;
}
.home-panel__body {
  padding: 16px 18px 18px;
}
.home-panel__body--flush {
  padding: 0;
}
.home-panel__body--flush .home-top-strip {
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(178deg, #121b2a 0%, #0d141f 100%);
  box-shadow: none;
  padding: 14px 16px;
}
.home-panel__body--flush .home-dashboard-alerts-wrap {
  padding: 14px 16px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.home-panel__body--alerts {
  padding: 14px 16px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-top-strip {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(175deg, #131c2a 0%, #0e1520 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.home-top-strip__layout {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-top-strip__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
}
.home-top-strip__bar--metrics {
  justify-content: center;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.home-top-strip__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  min-width: 0;
  width: 100%;
}
.home-top-strip__stats--dense {
  gap: 8px 10px;
  justify-content: flex-start;
}
.home-top-strip__stats--dense .home-stat {
  padding: 7px 10px;
  gap: 2px;
}
.home-top-strip__stats--dense .home-stat__label {
  font-size: 0.65rem;
}
.home-top-strip__stats--dense .home-stat__value {
  font-size: 1rem;
}
.home-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 9px 14px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.home-stat__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a9db8;
  white-space: nowrap;
}
.home-stat--ops .home-stat__label {
  white-space: normal;
  max-width: 10.5rem;
  line-height: 1.3;
}
.home-stat__value {
  font-size: 1.12rem;
  font-weight: 700;
  color: #e8f0ff;
  font-variant-numeric: tabular-nums;
}
.home-stat__value--time {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c5d4f0;
}
.home-stat__value--compact {
  font-size: 0.92rem;
  font-weight: 600;
}
.home-stat__hint {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.25;
  font-weight: 500;
  color: #6a7d9a;
}
.home-stat--accent {
  border-color: rgba(61, 108, 255, 0.28);
  background: rgba(61, 108, 255, 0.08);
}
.home-stat--muted {
  opacity: 0.92;
  border-style: dashed;
}

.home-dash-h {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.home-dash-foot {
  margin: 0 0 0.75rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  max-width: 56rem;
}
.home-dash-foot--compact {
  margin: 0;
  max-width: none;
  font-size: 0.72rem;
  line-height: 1.38;
}
.home-dash-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (max-width: 820px) {
  .home-dash-two {
    grid-template-columns: 1fr;
  }
}
.home-dash-card {
  padding: 0.65rem 0.75rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(255, 255, 255, 0.03);
}
.home-dash-card__h {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.home-dash-card__sub {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--admin-text-muted);
}
.home-dash-card__subline {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  color: var(--admin-text-muted);
}
.home-dash-kpis {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.home-dash-kpis > li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.28rem;
}
.home-dash-kpis > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.home-dash-kpis__k {
  color: var(--admin-text-muted);
}
.home-dash-kpis__v {
  font-weight: 700;
  color: var(--admin-text, #e8ecf4);
}
.home-dash-kpis__d {
  grid-column: 1 / -1;
  font-size: 0.68rem;
  color: var(--admin-text-muted);
  opacity: 0.9;
}
.home-res-strip__lead {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--admin-text-muted);
}
.op-front-filters-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.op-filter-scope {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--admin-text-muted);
}
.op-filter-bar--sub {
  margin: 0;
}
.op-filter-bar__legend {
  padding: 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text-title);
}

.home-top-strip__bar--global {
  margin: 0 0 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.home-top-strip__bar--pano {
  padding-bottom: 10px;
  gap: 6px;
}
.home-ops-pano__title-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.home-ops-pano__title-row .home-dash-h {
  margin-bottom: 0;
}
.home-ops-pano {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
@media (max-width: 900px) {
  .home-ops-pano {
    grid-template-columns: 1fr;
  }
}
.home-ops-pano__section {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}
.home-ops-pano__section--today {
  border-color: rgba(61, 108, 255, 0.22);
  background: rgba(61, 108, 255, 0.06);
}
.home-ops-pano__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.home-ops-pano__h {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.home-ops-pano__sub {
  font-size: 0.72rem;
  color: var(--admin-text-muted);
}
.home-ops-pano__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-ops-pano__cat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding: 6px 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.home-ops-pano__cat-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #c5d4f0;
  min-width: 7rem;
}
.home-ops-pano__metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.home-ops-pano__m {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 3.25rem;
}
.home-ops-pano__mk {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a8daa;
  font-weight: 600;
}
.home-ops-pano__mv {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f0ff;
  font-variant-numeric: tabular-nums;
}
.home-ops-pano__iptal {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9aa8bc;
  white-space: nowrap;
}
.home-global-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 14px;
}
.home-global-grid--single {
  grid-template-columns: 1fr;
  max-width: 520px;
}
.home-global-card {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(61, 108, 255, 0.07);
  border: 1px solid rgba(61, 108, 255, 0.22);
}
.home-global-card__k {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8fa6d6;
  font-weight: 700;
  margin-bottom: 6px;
}
.home-global-card__body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #b8c9e6;
}
.home-global-card__body strong {
  font-size: 1rem;
  font-weight: 700;
  color: #e8f0ff;
  font-variant-numeric: tabular-nums;
}
.home-global-card__sub {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  line-height: 1.4;
  color: #8fa4c4;
}
.home-global-card__sub strong {
  font-weight: 700;
  color: #dce8ff;
  font-variant-numeric: tabular-nums;
}
.home-global-hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #6a7d9a;
}
.home-top-strip__bar--operations {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.home-ops-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.home-ops-strip__mini {
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: #a8bddb;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.home-ops-strip__mini:hover {
  background: rgba(61, 108, 255, 0.15);
  border-color: rgba(61, 108, 255, 0.35);
  color: #dce8ff;
}
.home-top-strip__bar--reservations {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.home-res-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  justify-content: space-between;
}
.home-res-strip__general {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #b8c9e6;
}
.home-res-strip__general strong:first-child {
  color: #dce6f7;
  font-weight: 700;
}
.home-res-strip__general strong:not(:first-child) {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f0ff;
  font-variant-numeric: tabular-nums;
}
.home-res-strip__cta {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(61, 108, 255, 0.45);
  background: rgba(61, 108, 255, 0.12);
  color: #b8ceff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.home-res-strip__cta:hover {
  background: rgba(61, 108, 255, 0.22);
  border-color: rgba(90, 130, 255, 0.65);
  color: #e8f0ff;
}
.home-res-strip__hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #6a7d9a;
}
.home-res-strip__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.home-res-venue {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(18, 26, 42, 0.95) 0%, rgba(12, 18, 30, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}
.home-res-venue--other {
  border-color: rgba(255, 180, 100, 0.28);
  background: linear-gradient(160deg, rgba(32, 22, 18, 0.5) 0%, rgba(14, 18, 28, 0.98) 100%);
}
.home-res-venue__name {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #dce4f4;
  line-height: 1.35;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Ana sayfa chip’leri: tek sütun satırlar — dar grid iç içe metin üretmez */
.home-res-strip__chips .home-res-venue__split,
.home-res-strip__chips .home-res-venue__split--triple,
.home-res-strip__chips .home-res-venue__split--quad {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 0;
}
.home-res-strip__chips .home-res-venue__leg {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 1.75rem;
  padding: 6px 0;
  font-size: 0.8rem;
  color: #9eb2d0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.home-res-strip__chips .home-res-venue__leg:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.home-res-strip__chips .home-res-venue__leg-k {
  flex: 1 1 auto;
  min-width: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8fa3c4;
  line-height: 1.3;
}
.home-res-strip__chips .home-res-venue__leg-v {
  flex: 0 0 auto;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0f5ff;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.home-res-venue__split {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 4px;
}
.home-res-venue__split--quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  width: 100%;
}
.home-res-venue__split--triple {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.home-res-venue__leg--wait .home-res-venue__leg-v {
  color: #ffe08a;
}
.home-res-strip__chips .home-res-venue__leg--wait .home-res-venue__leg-v {
  color: #ffe08a;
}
.home-res-venue__leg {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.78rem;
  color: #9eb2d0;
}
.home-res-venue__leg-k {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  color: #6a7d9a;
  font-weight: 600;
}
.home-res-venue__leg-v {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8f0ff;
  font-variant-numeric: tabular-nums;
}

.home-kpi-grid .kpi-card {
  border: 1px solid rgba(61, 108, 255, 0.2);
  background: linear-gradient(165deg, #141d2c 0%, #101822 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.home-report-grid {
  gap: 14px;
}
.home-report-grid .report-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1724;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-report-grid .report-card:hover {
  border-color: rgba(61, 108, 255, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.report-card__h {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2ebfb;
  letter-spacing: -0.02em;
}
.home-report-grid .report-help {
  margin: 0 0 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #8fa4c4;
}
.home-report-grid .report-help__code {
  font-size: 0.8em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #c8d6ee;
}
.report-card__note {
  margin: 10px 0 0;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #9eb0cc;
  border-radius: 8px;
  border-left: 3px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.06);
}
.report-card__note.hidden {
  display: none;
}

.home-analytics-meta {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8fa4c4;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 36, 0.65);
}
.home-analytics-meta strong {
  color: #c8d6ee;
  font-weight: 600;
}
.home-analytics-meta--warn {
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf77;
}

.section-lead {
  margin: 2px 0 4px;
  color: #a9bad5;
  font-size: 0.96rem;
}
.admin-sync-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #7a8bad;
  line-height: 1.45;
}
.admin-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-pager__meta {
  flex: 1;
  min-width: 160px;
  font-size: 0.88rem;
  color: #8a9bb8;
}
.admin-pager .btn-small:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.admin-load-error {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #5a3040;
  background: #1a1218;
  color: #f0b4b4;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 14px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}
.kpi-card { padding: 14px; border-radius: 14px; background: #121b28; border: 1px solid #233146; }
.kpi-card__title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9eb0cc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kpi-card__value { margin: 0; font-size: 1.45rem; font-weight: 700; color: #ffffff; }
.kpi-card__hint { margin: 4px 0 0; font-size: 0.8rem; color: #96aac9; line-height: 1.35; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 12px; }
.report-card { padding: 14px; }
.report-help {
  margin: 2px 0 8px;
  color: #9fb0cb;
  font-size: 0.88rem;
}
.dashboard-reminders { padding: 14px; }
.alert-summary {
  margin: 4px 0 10px;
  color: #c8d9f3;
}
.alert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}
.home-panel__body--alerts .alert-grid,
.home-panel__body--flush .home-dashboard-alerts-wrap .alert-grid {
  gap: 14px;
}
.alert-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(15, 23, 36, 0.85);
}
.alert-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-card__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #e8f0ff;
}
.alert-card__kpi {
  margin: 10px 0 8px;
  color: #dbe7fc;
  font-size: 0.92rem;
}
.alert-card__meta {
  margin: 6px 0;
  color: #a8bad8;
  font-size: 0.84rem;
  line-height: 1.45;
}
.alert-linkbtn {
  border: 0;
  background: transparent;
  color: #9ec2ff;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}
.alert-openbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(61, 108, 255, 0.45);
  background: linear-gradient(180deg, #1a2840 0%, #152238 100%);
  color: #e8f1ff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.alert-openbtn:hover {
  border-color: rgba(120, 160, 255, 0.65);
  background: linear-gradient(180deg, #1e2f4a 0%, #182a45 100%);
}
.alert-openbtn:active {
  transform: translateY(1px);
}
.alert-openbtn__arrow {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1;
}
.mini-list { margin: 8px 0 0; padding-left: 18px; }
.mini-list li { margin: 4px 0; }
.metric-rows {
  display: grid;
  gap: 8px;
}
.metric-row {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 8px 10px;
  border: 1px solid #233146;
  border-radius: 10px;
  background: #0f1724;
}
.metric-row__title {
  font-size: 0.9rem;
  color: #d6e4fb;
  font-weight: 600;
}
.metric-row__value {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}
.metric-row__desc {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: #98abc8;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #101722;
  border: 1px solid #233146;
  border-radius: 12px;
  overflow: hidden;
}
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid #1d2737; text-align: left; vertical-align: top; }
.admin-table thead th { color: #9fb0cb; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.03em; }
.admin-table tbody tr:hover:not(.ops-row--new) { background: #142033; }
/* Log tablosu dışındaki kayıt listeleri: satırlar arası daha net, modern ayırıcı (viona birleşik tabloda ayrı kural) */
.admin-body .admin-main .admin-table:not(.admin-table--logs):not(.viona-table) th,
.admin-body .admin-main .admin-table:not(.admin-table--logs):not(.viona-table) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.logs-cell {
  max-width: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.35;
}
.logs-cell--user {
  min-width: clamp(220px, 22vw, 480px);
  vertical-align: top;
}
.logs-cell--assistant {
  min-width: clamp(300px, 38vw, 720px);
  vertical-align: top;
}
.logs-cell--fallback {
  min-width: 120px;
  max-width: 280px;
  vertical-align: top;
}
.logs-cell__body {
  max-height: 14rem;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-size: 0.86rem;
  color: #dce4f0;
  padding-right: 4px;
}
.logs-cell__body--fallback {
  max-height: none;
  overflow: visible;
  font-size: 0.86rem;
  line-height: 1.45;
}
.logs-th-hint {
  display: inline;
  font-weight: 400;
  font-size: 0.68rem;
  color: rgba(180, 198, 220, 0.75);
  letter-spacing: 0.01em;
  margin-left: 0.25rem;
  white-space: nowrap;
}
.logs-cell__stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}
.logs-cell__orig {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.logs-cell__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(80, 120, 180, 0.35);
  color: #dbe7f8;
}
.logs-cell__tag--src {
  background: rgba(60, 90, 130, 0.45);
}
.logs-cell__tag--pending {
  background: rgba(140, 100, 40, 0.4);
  color: #ffe8c8;
}
.logs-cell__body--tight {
  margin-top: 0;
}
.logs-cell__body--nested {
  margin-top: 0;
  font-size: 0.84rem;
  color: #e8eef8;
}
.logs-cell__tr {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: stretch;
  min-width: 0;
}
.logs-cell__tr--pending {
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(255, 200, 160, 0.88);
}
.logs-cell__tr--pending .logs-cell__tag {
  margin-bottom: 0.1rem;
}
.logs-cell__code {
  font-size: 0.68rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(220, 230, 245, 0.9);
}
.logs-cell--assistant .logs-cell__body {
  max-height: 18rem;
}
/* Loglar: cevap ve mesaj tam görünsün; kart/taablo overflow ile kesilmesin */
.admin-table--logs {
  overflow: visible;
  table-layout: auto;
  min-width: 1380px;
}
.admin-table--logs .logs-cell__body {
  max-height: none;
  overflow-x: hidden;
  overflow-y: visible;
  font-size: 0.9rem;
  line-height: 1.5;
}
.admin-table--logs .logs-cell--assistant .logs-cell__body {
  max-height: none;
}
.admin-table--logs .logs-cell__body--fallback {
  max-height: none;
}
.bucket-table-wrap--logs {
  overflow-x: auto;
  overflow-y: visible;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overscroll-behavior-x: contain;
  scrollbar-color: rgba(100, 130, 180, 0.55) rgba(15, 23, 34, 0.9);
  border-radius: 0 0 10px 10px;
}
/* Uygulama girişleri: chat log tablosunun 1320px alt sınırı yok; laptop’ta yatay taşma azalır */
.bucket-table-wrap--app-gate {
  overflow-x: auto;
  overflow-y: visible;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overscroll-behavior-x: contain;
  scrollbar-color: rgba(100, 130, 180, 0.55) rgba(15, 23, 34, 0.9);
  border-radius: 0 0 10px 10px;
}
.admin-table--app-gate .admin-table__th--check,
.admin-table--app-gate .admin-table__td--check {
  width: 40px;
  min-width: 40px;
  text-align: center;
  vertical-align: middle;
}
.admin-table--app-gate .admin-table__td--check input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: rgba(61, 108, 255, 0.95);
}
.admin-table--app-gate {
  table-layout: auto;
  width: 100%;
  min-width: 720px;
}
.admin-table--app-gate .logs-cell__body {
  max-width: min(320px, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tab-app-entries .admin-table--app-gate thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(14, 21, 34, 0.98) 0%, rgba(11, 17, 26, 0.97) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}
.app-gate-table-section {
  scroll-margin-top: 16px;
  outline: none;
}
.admin-table--logs .admin-table__th--check,
.admin-table--logs .admin-table__td--check {
  width: 40px;
  min-width: 40px;
  text-align: center;
  vertical-align: middle;
}
.admin-table--logs .admin-table__td--check input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: rgba(61, 108, 255, 0.95);
}
.logs-bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.22);
}
.logs-bulk-toolbar__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c5d4ec;
  cursor: pointer;
}
.logs-bulk-toolbar__check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: rgba(61, 108, 255, 0.95);
}
.logs-bulk-toolbar__btn--danger {
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: #fecaca !important;
  background: rgba(127, 29, 29, 0.22) !important;
}
.logs-bulk-toolbar__btn--danger:hover:not(:disabled) {
  border-color: rgba(252, 165, 165, 0.65) !important;
  color: #fff !important;
  background: rgba(153, 27, 27, 0.35) !important;
}
.logs-bulk-toolbar__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.logs-bulk-toolbar__hint {
  flex: 1 1 220px;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #7a8aa3;
  min-width: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-table--logs th:nth-child(1) { min-width: 40px; }
.admin-table--logs th:nth-child(2) { min-width: 120px; }
.admin-table--logs th:nth-child(3) { min-width: clamp(220px, 22vw, 480px); }
.admin-table--logs th:nth-child(4) { min-width: 110px; }
.admin-table--logs th:nth-child(5) { min-width: 100px; }
.admin-table--logs th:nth-child(6) { min-width: 90px; }
.admin-table--logs th:nth-child(7) { min-width: 100px; }
.admin-table--logs th:nth-child(8) { min-width: 56px; }
.admin-table--logs th:nth-child(9) { min-width: 120px; }
.admin-table--logs th:nth-child(10) { min-width: 70px; }
.admin-table--logs th:nth-child(11) { min-width: 90px; }
.admin-table--logs th:nth-child(12) { min-width: 100px; }
.admin-table--logs th:nth-child(13) { min-width: 80px; }
.admin-table--logs th:nth-child(14) { min-width: 90px; }
.admin-table--logs th:nth-child(15) { min-width: clamp(300px, 38vw, 720px); }
.admin-table--logs th:nth-child(16) { min-width: 80px; }

/* Ana sayfa — rapor API uyarısı */
.dashboard-api-warning {
  margin: 0 0 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.32) 0%, rgba(40, 20, 24, 0.55) 100%);
  color: #fecaca;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.dashboard-api-warning.hidden {
  display: none;
}

/* WhatsApp operasyon — ana uygulama ile uyumlu premium durum kartı */
.dashboard-whatsapp-status {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 12px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(46, 184, 199, 0.28);
  border-top: 1px solid rgba(212, 168, 83, 0.38);
  background:
    linear-gradient(180deg, rgba(212, 168, 83, 0.1) 0%, transparent 38%),
    linear-gradient(155deg, rgba(46, 184, 199, 0.12) 0%, rgba(14, 22, 34, 0.88) 52%, rgba(10, 16, 26, 0.92) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 10px 32px rgba(0, 0, 0, 0.18);
  text-align: left;
}
.dashboard-whatsapp-status__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(46, 184, 199, 0.35) 0%, rgba(46, 184, 199, 0.08) 100%);
  border: 1px solid rgba(46, 184, 199, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  position: relative;
}
.dashboard-whatsapp-status__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(186, 240, 248, 0.95);
  box-shadow: 0 0 0 3px rgba(46, 184, 199, 0.25);
}
.dashboard-whatsapp-status--loading .dashboard-whatsapp-status__icon::after {
  animation: adminWaPulse 1.1s ease-in-out infinite;
}
.dashboard-whatsapp-status--unavailable .dashboard-whatsapp-status__icon::after,
.dashboard-whatsapp-status--warn:not(.dashboard-whatsapp-status--loading) .dashboard-whatsapp-status__icon::after {
  background: rgba(253, 186, 116, 0.95);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.28);
}
.dashboard-whatsapp-status--ok .dashboard-whatsapp-status__icon::after {
  background: rgba(167, 243, 208, 0.98);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
@keyframes adminWaPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-whatsapp-status--loading .dashboard-whatsapp-status__icon::after {
    animation: none;
    opacity: 0.85;
  }
}
.dashboard-whatsapp-status__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dashboard-whatsapp-status__kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 244, 252, 0.88);
}
.dashboard-whatsapp-status__detail {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(236, 242, 250, 0.94);
  text-wrap: balance;
}
.dashboard-whatsapp-status--ok .dashboard-whatsapp-status__detail {
  color: rgba(224, 250, 236, 0.95);
}
.dashboard-whatsapp-status--warn .dashboard-whatsapp-status__detail,
.dashboard-whatsapp-status--unavailable .dashboard-whatsapp-status__detail {
  color: rgba(254, 243, 199, 0.96);
}
.dashboard-whatsapp-status--ok {
  border-color: rgba(52, 211, 153, 0.32);
}
.dashboard-whatsapp-status--warn {
  border-color: rgba(251, 146, 60, 0.35);
  background:
    linear-gradient(180deg, rgba(212, 168, 83, 0.12) 0%, transparent 40%),
    linear-gradient(155deg, rgba(120, 53, 15, 0.22) 0%, rgba(18, 22, 30, 0.9) 55%, rgba(12, 16, 24, 0.94) 100%);
}
.dashboard-whatsapp-status--unavailable.dashboard-whatsapp-status--warn {
  border-top-color: rgba(251, 146, 60, 0.45);
}

/* —— Loglar + Uygulama girişleri (aynı grid / taşma düzeni) —— */
#tab-logs.admin-tab--logs,
#tab-app-entries.admin-tab--logs {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}
/* Grid öğesi min-width:auto geniş tabloyu sütun dışına taşırıp overflow-x ile kesilir; 0 ile iç scroll çalışır */
#tab-logs.admin-tab--logs > *,
#tab-app-entries.admin-tab--logs > * {
  min-width: 0;
}
#tab-logs .section-head,
#tab-app-entries .section-head {
  align-items: flex-start;
  gap: 12px 16px;
}
#tab-logs .section-head .btn-small,
#tab-app-entries .section-head .btn-small {
  flex-shrink: 0;
  align-self: center;
  margin-top: 2px;
}
#tab-logs .logs-page-title,
#tab-app-entries .logs-page-title {
  flex: 1;
  min-width: 0;
}
.section-head__eyebrow {
  margin: 0 0 6px;
}
.logs-page-title .inline-code,
.logs-page-title__sub .inline-code {
  font-size: 0.82em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(61, 108, 255, 0.12);
  border: 1px solid rgba(61, 108, 255, 0.28);
}
.admin-main code.admin-code {
  font-size: 0.82rem;
  word-break: break-all;
}
#tab-logs .logs-page-title h2,
#tab-app-entries .logs-page-title h2 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--admin-text-title);
  line-height: 1.25;
}
#tab-app-entries .logs-page-title h2 {
  margin-top: 4px;
}
.logs-page-title__sub {
  margin: 8px 0 0;
  max-width: 42rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--admin-text-muted);
}
.logs-intent-legend {
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(18, 27, 42, 0.95) 0%, rgba(10, 15, 24, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 10px 36px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.logs-intent-legend__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  padding: 14px 18px;
  list-style: none;
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.logs-intent-legend__summary::-webkit-details-marker {
  display: none;
}
.logs-intent-legend__summary:hover {
  background: rgba(61, 108, 255, 0.05);
}
.logs-intent-legend[open] .logs-intent-legend__summary {
  border-bottom-color: rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(61, 108, 255, 0.07) 0%, transparent 100%);
}
.logs-intent-legend__summary-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  text-align: left;
}
.logs-intent-legend__summary-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e8eef9;
}
.logs-intent-legend__summary-hint {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: #8fa4c4;
}
.logs-intent-legend__chev {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 20, 33, 0.6);
  transition: transform 0.2s ease, border-color 0.15s ease;
}
.logs-intent-legend__chev::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #9eb8e8;
  border-bottom: 2px solid #9eb8e8;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.logs-intent-legend[open] .logs-intent-legend__chev::before {
  transform: rotate(45deg);
}
.logs-intent-legend__summary:focus-visible {
  outline: 2px solid rgba(61, 108, 255, 0.65);
  outline-offset: 3px;
  border-radius: 4px;
}
.logs-intent-legend__body {
  padding: 0 18px 18px;
}
.logs-intent-legend__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px 0 0;
}
@media (max-width: 680px) {
  .logs-intent-legend__grid {
    grid-template-columns: 1fr;
  }
}
.logs-intent-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 12, 20, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.logs-intent-card--wide {
  grid-column: 1 / -1;
}
@media (min-width: 681px) {
  .logs-intent-card--wide {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}
.logs-intent-card__code {
  display: block;
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #c7e4ff;
  word-break: break-word;
  overflow-wrap: anywhere;
  border: 1px solid rgba(61, 108, 255, 0.28);
  background: linear-gradient(135deg, rgba(61, 108, 255, 0.14) 0%, rgba(61, 108, 255, 0.06) 100%);
}
.logs-intent-card__desc {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #b9c9df;
}
#tab-logs .logs-section,
#tab-app-entries .logs-section {
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(165deg, #0e1522 0%, #0a1018 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: none;
  overflow: hidden;
  padding: 0;
}
/* Uzun mesaj/cevap satırları kartın altında kesilmesin */
#tab-logs .logs-section--table,
#tab-app-entries .logs-section--table {
  overflow: visible;
}
#tab-logs .logs-section__head,
#tab-app-entries .logs-section__head {
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(61, 108, 255, 0.06) 0%, transparent 100%);
}
#tab-logs .logs-section__eyebrow,
#tab-app-entries .logs-section__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d8cc4;
}
#tab-logs .logs-section__title,
#tab-app-entries .logs-section__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f2f6ff;
  line-height: 1.25;
}
#tab-logs .logs-section__desc,
#tab-app-entries .logs-section__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #8fa4c4;
  max-width: 44rem;
}
#tab-logs .logs-summary-mount,
#tab-app-entries .logs-summary-mount {
  padding: 18px 20px 22px;
}
.logs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.logs-kpi-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.logs-kpi-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.logs-kpi-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  .logs-kpi-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .logs-kpi-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logs-kpi-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .logs-kpi-grid,
  .logs-kpi-grid--three,
  .logs-kpi-grid--four,
  .logs-kpi-grid--five {
    grid-template-columns: 1fr;
  }
}
.logs-kpi-card {
  position: relative;
  border-radius: 14px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 27, 40, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}
.logs-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  opacity: 0.95;
}
.logs-kpi-card__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d92b5;
  line-height: 1.3;
}
.logs-kpi-card__value {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.logs-kpi-card__hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8fa4c4;
}
.logs-kpi-card--total::before {
  background: linear-gradient(180deg, #3d6cff, rgba(61, 108, 255, 0.35));
}
.logs-kpi-card--fallback::before {
  background: linear-gradient(180deg, #f59e0b, rgba(245, 158, 11, 0.35));
}
.logs-kpi-card--multi::before {
  background: linear-gradient(180deg, #a78bfa, rgba(167, 139, 250, 0.35));
}
#tab-logs .logs-section--filters .logs-toolbar,
#tab-app-entries .logs-section--filters .logs-toolbar {
  padding: 16px 20px 20px;
}
.logs-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px 14px;
  align-items: end;
}
.logs-toolbar__search {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #0d141f;
  color: #eaf0ff;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
}
.logs-toolbar__search::placeholder {
  color: #6b7c99;
}
.logs-toolbar__search:focus {
  outline: none;
  border-color: rgba(61, 108, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 108, 255, 0.18);
}
.logs-toolbar__dates {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: min(520px, 100%);
}
#tab-app-entries .logs-toolbar__dates--app-gate {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(140px, 1fr);
  max-width: min(760px, 100%);
}
#tab-app-entries .logs-field-label.logs-field-label--checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  font-weight: 600;
  color: #a3b6d4;
}
#tab-app-entries .logs-field-label.logs-field-label--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: rgba(61, 108, 255, 0.95);
  cursor: pointer;
  flex-shrink: 0;
}
#tab-app-entries .logs-toolbar__quick-dates {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.logs-toolbar__date-hint {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  max-width: min(640px, 100%);
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8fa3c4;
}
#tab-logs .logs-field-label,
#tab-app-entries .logs-field-label {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7d92b5;
}
.logs-toolbar__room {
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #0d141f;
  color: #eaf0ff;
  padding: 9px 10px;
  font: inherit;
  font-size: 0.88rem;
  min-width: 0;
}
.logs-toolbar__room:focus {
  outline: none;
  border-color: rgba(61, 108, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 108, 255, 0.18);
}
.app-gate-room-label {
  grid-column: span 1;
}
#tab-logs .logs-field-label input[type="date"],
#tab-app-entries .logs-field-label input[type="date"] {
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #0d141f;
  color: #eaf0ff;
  padding: 9px 10px;
  font: inherit;
}
#tab-logs .logs-field-label input[type="date"]:focus,
#tab-app-entries .logs-field-label input[type="date"]:focus {
  outline: none;
  border-color: rgba(61, 108, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 108, 255, 0.18);
}
.logs-toolbar__select {
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #0d141f;
  color: #eaf0ff;
  padding: 9px 10px;
  font-size: 0.88rem;
  font-family: inherit;
  min-width: 0;
}
.logs-toolbar__select:focus {
  outline: none;
  border-color: rgba(61, 108, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 108, 255, 0.18);
}
.logs-toolbar__apply {
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 600;
}
.logs-toolbar__raw {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.86rem;
  color: #a3b6d4;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.logs-toolbar__raw input {
  width: 16px;
  height: 16px;
  accent-color: #3d6cff;
  cursor: pointer;
}
.logs-toolbar__exports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
@media (max-width: 640px) {
  .logs-toolbar__dates {
    grid-template-columns: 1fr;
  }
  #tab-app-entries .logs-toolbar__dates--app-gate {
    grid-template-columns: 1fr;
  }
}
#tab-logs .logs-section--table .logs-table-mount,
#tab-app-entries .logs-section--table .logs-table-mount {
  padding: 8px 12px 18px;
  min-width: 0;
  max-width: 100%;
}
#tab-logs .logs-table-mount .admin-pager,
#tab-app-entries .logs-table-mount .admin-pager {
  margin-top: 14px;
  padding: 12px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
#tab-logs .logs-empty,
#tab-app-entries .logs-empty {
  margin: 12px 8px 20px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(100, 120, 150, 0.45);
  background: rgba(13, 20, 33, 0.5);
  color: #98abc8;
  font-size: 0.92rem;
  line-height: 1.5;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
/* Kuyruk: yeni / bekliyor sarı ton; işlemde (yapılıyor) daha açık sarı */
.status-new,
.status-pending,
.status-badge--wait {
  background: rgba(90, 75, 25, 0.35);
  color: #e8d48a;
  border: 1px solid rgba(200, 170, 80, 0.28);
}
.status-in_progress {
  background: rgba(120, 95, 20, 0.4);
  color: #fff0a0;
  border: 1px solid rgba(255, 220, 100, 0.42);
}
.status-done { background: #15462a; color: #96f0ba; border: 1px solid rgba(100, 220, 150, 0.25); }
.status-rejected {
  background: linear-gradient(160deg, #6e2222 0%, #4a1414 100%);
  color: #ffcbcb;
  border: 1px solid rgba(255, 120, 120, 0.4);
}
.status-cancelled { background: #2a323c; color: #9aa7b8; }
.status-reopened {
  background: rgba(180, 83, 9, 0.35);
  color: #fef3c7;
  border: 1px solid rgba(251, 191, 36, 0.42);
}

.guest-feedback-cell {
  font-size: 0.82rem;
  vertical-align: middle;
  white-space: normal;
}
.guest-feedback-cell .guest-feedback-summary {
  display: inline-block;
  margin-right: 0.35rem;
}
.guest-feedback-cell .guest-feedback-detail {
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  max-width: min(24rem, 100%);
  font-variant-numeric: tabular-nums;
}
.guest-feedback-cell .guest-feedback-detail--note {
  margin-top: 4px;
}
.guest-feedback-cell .guest-feedback-detail strong {
  color: var(--admin-text-title);
  font-weight: 650;
}

/* Misafir geri bildirimi — rehber sekmesi */
.guest-feedback-guide-mount {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guest-feedback-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.guest-feedback-kpi {
  padding: 14px 16px;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(0, 0, 0, 0.18);
}
.guest-feedback-kpi__label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
}
.guest-feedback-kpi__value {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--admin-text-title);
  line-height: 1.35;
  word-break: break-word;
}
.guest-feedback-kpi--ok .guest-feedback-kpi__value {
  color: #6ee7b7;
}
.guest-feedback-kpi--warn .guest-feedback-kpi__value {
  color: #fcd34d;
}
.guest-feedback-kpi--bad .guest-feedback-kpi__value {
  color: #fca5a5;
}
.guest-feedback-guide-panel {
  padding: 16px 18px;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(15, 23, 42, 0.45);
}
.guest-feedback-guide-panel h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.guest-feedback-guide-panel ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--admin-text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.guest-feedback-guide-panel code {
  font-size: 0.84em;
}
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
/* Satır Sil — Loglar «Seçilenleri sil» ile aynı kırmızı ton (tehlikeli eylem) */
.btn-small.btn-sil--danger {
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: #fecaca !important;
  background: rgba(127, 29, 29, 0.22) !important;
}
.btn-small.btn-sil--danger:hover:not(:disabled) {
  border-color: rgba(252, 165, 165, 0.65) !important;
  color: #fff !important;
  background: rgba(153, 27, 27, 0.35) !important;
}
#tab-app-entries .admin-table--app-gate th:last-child,
#tab-app-entries .admin-table--app-gate td:last-child {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
.btn-wa-resend {
  border-color: rgba(34, 197, 94, 0.42);
  background: linear-gradient(180deg, #14532d 0%, #0f3d24 100%);
  color: #d1fae5;
}
.btn-wa-resend:hover:not(:disabled) {
  border-color: rgba(74, 222, 128, 0.5);
  background: #166534;
}

/* WhatsApp yeniden gönder — açık onay modalı (yanlış tıklama / çift gönderim önleme) */
.admin-wa-modal {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.admin-wa-modal.hidden {
  display: none !important;
}
.admin-wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}
.admin-wa-modal__card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  padding: 22px 22px 20px;
  border-radius: var(--admin-radius, 16px);
  border: 1px solid rgba(46, 184, 199, 0.26);
  border-top: 1px solid rgba(212, 168, 83, 0.4);
  background:
    linear-gradient(180deg, rgba(212, 168, 83, 0.09) 0%, transparent 42%),
    linear-gradient(165deg, rgba(46, 184, 199, 0.1) 0%, rgba(14, 20, 32, 0.96) 55%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 56px rgba(0, 0, 0, 0.48);
}
.admin-wa-modal__title {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #f0f7ff;
  text-wrap: balance;
}
.admin-wa-modal__body {
  margin: 0 0 18px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.58;
  color: rgba(200, 216, 236, 0.92);
}
.admin-wa-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.btn-small {
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: linear-gradient(180deg, #182536 0%, #152131 100%);
  color: #dce8ff;
  border-radius: var(--admin-radius-sm);
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background var(--admin-ease), border-color var(--admin-ease), color var(--admin-ease);
}
.btn-small:hover:not(:disabled) {
  background: #1a2a42;
  border-color: rgba(61, 108, 255, 0.35);
}
.bucket-help {
  margin: 4px 0 10px;
  color: #9fb0cb;
  font-size: 0.9rem;
}
.bucket-shell {
  border: 1px solid var(--admin-border);
  background: linear-gradient(178deg, #111a28 0%, #0d141f 100%);
  border-radius: 14px;
  padding: 16px 18px 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}
.bucket-topstats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.bucket-topstats--quad {
  grid-template-columns: repeat(4, minmax(92px, 1fr));
}
.bucket-stat {
  border: 1px solid #2a3a51;
  border-radius: 10px;
  background: #101a2a;
  padding: 8px 10px;
}
.bucket-stat span {
  display: block;
  color: #98abc8;
  font-size: 0.8rem;
}
.bucket-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
}
.bucket-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px) minmax(220px, 1fr);
  gap: 8px;
  margin-bottom: 10px;
  align-items: start;
}
.bucket-filter-date-label {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  color: #b8cbea;
  min-width: 0;
}
.bucket-filter-date-label .bucket-filter-date {
  max-width: 200px;
}
.bucket-toolbar-date-combo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.bucket-toolbar-date-combo .reservation-date-combo__display {
  min-width: 9ch;
  font-variant-numeric: tabular-nums;
  color: #eaf0ff;
}
.reservation-date-combo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.reservation-date-combo input[type="date"] {
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px 10px;
  font: inherit;
  min-height: 38px;
}
.reservation-date-combo__display {
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #7ee0eb;
  letter-spacing: 0.02em;
}
.reservation-date-label--combo {
  display: grid;
  gap: 8px;
}
.reservation-venue-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}
.reservation-venue-summary-card {
  border-radius: 12px;
  border: 1px solid rgba(87, 125, 224, 0.35);
  background: linear-gradient(145deg, rgba(15, 24, 40, 0.92), rgba(10, 18, 32, 0.98));
  padding: 14px 16px;
  min-height: 148px;
}
.reservation-venue-summary-card__title {
  margin: 0 0 12px;
  padding-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8eef9;
  line-height: 1.35;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.reservation-venue-summary-card__dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.reservation-venue-summary-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: #9fb4d6;
  padding: 4px 0;
  min-height: 1.5rem;
}
.reservation-venue-summary-card__row dt {
  margin: 0;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}
.reservation-venue-summary-card__row dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f0f4ff;
  font-size: 1.05rem;
  flex: 0 0 auto;
  text-align: right;
}
@media (max-width: 1200px) {
  .reservation-venue-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .reservation-venue-summary-grid {
    grid-template-columns: 1fr;
  }
}
.bucket-search,
.bucket-filter-status,
.bucket-filter-service,
.bucket-filter-alacarte,
.bucket-filter-date {
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px;
}
.alacarte-quick-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 170px);
  gap: 8px;
  min-width: 0;
}
.bucket-table-wrap {
  border: 1px solid #1f2e43;
  border-radius: 12px;
  overflow: hidden;
}
/* Loglar: üstteki overflow:hidden yatay kaydırmayı öldürüyordu; Cevap sütunu kesiliyordu */
.bucket-table-wrap.bucket-table-wrap--logs {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
.reservation-day-list {
  display: grid;
  gap: 12px;
}
.reservation-day {
  border: 1px solid #243650;
  border-radius: 12px;
  padding: 10px;
  background: #0c1421;
}
.reservation-day__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #c8d7f1;
}
.reservation-manual-form {
  border: 1px solid #243650;
  border-radius: 12px;
  background: #0e1828;
  padding: 10px;
  margin-bottom: 10px;
}
.reservation-manual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.reservation-manual-grid label {
  display: grid;
  gap: 4px;
  color: #b8cbea;
  font-size: 0.86rem;
}
.reservation-manual-grid input,
.reservation-manual-grid select {
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px;
}
.reservation-manual-nationality {
  max-height: 200px;
  overflow-y: auto;
}
.reservation-manual-nationality-label {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .reservation-manual-nationality-label {
    grid-column: auto;
  }
}
.reservation-manual-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #9ec2ff;
}
.reservation-manual-help {
  margin: 0 0 8px;
  color: #98abc8;
  font-size: 0.82rem;
}
.reservation-head-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.reservation-active-subtab {
  margin: 0;
  color: #9fb4d6;
}
.reservation-calendar-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 15, 0.7);
  display: grid;
  place-items: center;
  z-index: 90;
  padding: 16px;
}
.reservation-calendar-modal__card {
  width: min(960px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #334c6f;
  border-radius: 14px;
  background: #0e1828;
  padding: 14px;
}
.reservation-calendar-controls {
  margin-bottom: 10px;
}
.reservation-calendar-controls label {
  display: grid;
  gap: 6px;
  width: min(260px, 100%);
}
.reservation-calendar-date-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  width: min(420px, 100%);
}
.reservation-calendar-selected {
  margin: 8px 0 0;
  color: #9fb4d6;
  font-size: 0.9rem;
}
.reservation-calendar-controls input {
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px;
}
.reservation-nav-status {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--admin-radius-sm);
  border: 1px solid rgba(61, 108, 255, 0.22);
  border-left: 3px solid var(--admin-accent);
  background: rgba(61, 108, 255, 0.07);
  color: #c5d6f0;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}
/* Restoran · spa · à la carte talep panosu — kart + günlük liste */
.reservation-shell {
  display: grid;
  gap: 14px;
}
.reservation-shell--overview {
  gap: 12px;
}
.reservation-overview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(87, 125, 224, 0.25);
  background: rgba(12, 20, 35, 0.55);
}
.reservation-today-alert {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
}
.reservation-today-alert.is-hidden {
  display: none;
}
.reservation-today-alert--wait {
  border: 1px solid rgba(232, 185, 80, 0.55);
  background: rgba(232, 185, 80, 0.12);
  color: #f5d9a4;
}
.reservation-today-alert--info {
  border: 1px solid rgba(87, 125, 224, 0.4);
  background: rgba(46, 184, 199, 0.08);
  color: #a8d8e0;
}
.reservation-upcoming-strip {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(87, 125, 224, 0.22);
  background: rgba(10, 16, 28, 0.5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.reservation-upcoming-strip__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  min-height: 54px;
}
.reservation-upcoming-day {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 54px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid #334860;
  background: rgba(13, 20, 33, 0.85);
  color: #c8d7f1;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.reservation-upcoming-day:hover {
  border-color: rgba(126, 224, 235, 0.4);
}
.reservation-upcoming-day.is-today {
  box-shadow: 0 0 0 1px rgba(126, 224, 235, 0.35);
}
.reservation-upcoming-day.is-selected {
  border-color: rgba(46, 184, 199, 0.7);
  background: rgba(46, 184, 199, 0.14);
  color: #e8f8fb;
}
.reservation-upcoming-day__date {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.reservation-upcoming-day__counts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.reservation-upcoming-day__total {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #7ee0eb;
}
.reservation-upcoming-day__wait {
  font-size: 0.66rem;
  color: #e8c96b;
}
.reservation-upcoming-day.is-selected .reservation-upcoming-day__total {
  color: #b8f5fc;
}
.reservation-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-end;
}
.reservation-pdf-hint {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #8fa8cc;
  max-width: 220px;
  text-align: right;
}
@media (max-width: 720px) {
  .reservation-pdf-hint {
    max-width: none;
    text-align: left;
    width: 100%;
  }
}
.reservation-overview-summary {
  margin: 0;
  font-size: 0.92rem;
  color: #9fb4d6;
}
.reservation-overview-summary strong {
  color: #7ee0eb;
}
.admin-table.reservation-overview-table th,
.admin-table.reservation-overview-table td {
  font-size: 0.88rem;
}
.reservation-overview-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.reservation-filter-chip {
  font: inherit;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #334860;
  background: rgba(13, 20, 33, 0.75);
  color: #c8d7f1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.reservation-filter-chip:hover {
  border-color: rgba(126, 224, 235, 0.45);
}
.reservation-filter-chip.is-active {
  border-color: rgba(46, 184, 199, 0.65);
  background: rgba(46, 184, 199, 0.12);
  color: #e8f8fb;
}
.reservation-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(87, 125, 224, 0.35);
  background: linear-gradient(135deg, rgba(15, 24, 40, 0.95), rgba(12, 20, 35, 0.98));
}
.reservation-hero__intro h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f4ff;
  letter-spacing: 0.02em;
}
.reservation-hero__intro p {
  margin: 0;
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9fb4d6;
}
.reservation-hero--overview {
  flex-direction: column;
  align-items: stretch;
}
.reservation-hero--overview .reservation-hero__intro {
  max-width: none;
}
.reservation-hero--overview .reservation-hero__intro p {
  max-width: 720px;
}
.reservation-hero__stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  width: 100%;
  max-width: 640px;
}
.reservation-mini-stat--wait {
  border-color: rgba(200, 80, 80, 0.45);
  background: rgba(60, 22, 22, 0.35);
}
.reservation-mini-stat--wait strong {
  color: #ffb8b8;
}
.reservation-hero__stats--venue-only .reservation-mini-stat span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.74rem;
  line-height: 1.25;
}
.reservation-hero__venue-footnote {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: #92a6c9;
  line-height: 1.45;
}
.reservation-mini-stat {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2a3f5c;
  background: rgba(13, 20, 33, 0.85);
  text-align: center;
}
.reservation-mini-stat span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a8aa3;
}
.reservation-mini-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  color: #7ee0eb;
}
.reservation-active-line {
  margin: 0;
  font-size: 0.9rem;
  color: #a8bddf;
}
.reservation-venue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.reservation-venue-card {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #2f415d;
  background: #0c1524;
  color: #e8eef9;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.reservation-venue-card:hover {
  border-color: rgba(126, 224, 235, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.reservation-venue-card.is-selected {
  border-color: rgba(46, 184, 199, 0.65);
  box-shadow: inset 0 0 0 1px rgba(46, 184, 199, 0.25);
  background: rgba(46, 184, 199, 0.08);
}
.reservation-venue-card__kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a8aa3;
}
.reservation-venue-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f3f6ff;
}
.reservation-venue-card__meta {
  font-size: 0.8rem;
  color: #8fa3c4;
}
.reservation-venue-card__count {
  margin-top: 4px;
  font-size: 0.82rem;
  color: #b8cbea;
}
.reservation-venue-card__count strong {
  color: #9fdcf0;
}
.reservation-pick-hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed #334860;
  background: rgba(13, 20, 33, 0.5);
  color: #98abc8;
  font-size: 0.9rem;
}
.reservation-day-panel {
  display: grid;
  gap: 10px;
}
.reservation-day-panel__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.reservation-date-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #c8d7f1;
}
.reservation-date-label input[type="date"] {
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px 10px;
  font: inherit;
}
.reservation-day-summary {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #7ee0eb;
}
.reservation-day-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: 8px;
  align-items: start;
}
.reservation-table-wrap {
  margin-top: 4px;
}
.admin-table.reservation-view-table th,
.admin-table.reservation-view-table td {
  font-size: 0.88rem;
}
.reservation-view-table td:nth-child(7) {
  max-width: 220px;
  word-break: break-word;
}
.reservation-col-actions {
  white-space: nowrap;
}
.reservation-viewonly-note {
  font-size: 0.82rem;
  color: #7a8aa3;
}
.reservation-ops-advanced {
  padding: 12px 14px;
}
.reservation-ops-advanced summary {
  cursor: pointer;
  font-weight: 600;
  color: #c8d7f1;
}
.reservation-ops-advanced .bucket-help {
  margin: 8px 0 10px;
}
/* —— Reklamlar sekmesi: ana sayfa panelleriyle uyumlu düzen —— */
#tab-promo {
  display: grid;
  gap: 0;
  align-content: start;
}
#tab-promo .section-lead {
  margin: 0 0 16px;
  max-width: 52rem;
  line-height: 1.55;
  color: #9eb0cc;
  font-size: 0.93rem;
}
#tab-promo .promo-form {
  display: grid;
  gap: 18px;
  max-width: min(960px, 100%);
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
#tab-promo .promo-form.glass-block {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
}
#tab-promo .promo-form > label:first-of-type {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, #0e1522 0%, #0a1018 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 28px rgba(0, 0, 0, 0.28);
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2ebfb;
  cursor: pointer;
  user-select: none;
}
#tab-promo .promo-form > label:first-of-type input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #3d6cff;
  cursor: pointer;
}
.promo-form input[type="text"] {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #0d141f;
  color: #eaf0ff;
  padding: 10px 12px;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.promo-form input[type="text"]:hover {
  border-color: rgba(100, 130, 170, 0.55);
}
.promo-form input[type="text"]:focus {
  outline: none;
  border-color: rgba(61, 108, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 108, 255, 0.18);
}
.promo-form input[type="file"] {
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(100, 120, 150, 0.45);
  background: rgba(13, 20, 33, 0.65);
  color: #b4c4df;
  font-size: 0.82rem;
  cursor: pointer;
}
.promo-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #2f3f58;
  background: #151f2e;
  color: #d6e0f5;
  font-size: 0.8rem;
  cursor: pointer;
}
.promo-form input[type="file"]::file-selector-button:hover {
  background: #1a2638;
  border-color: #3d6cff;
}
.promo-row {
  display: grid;
  gap: 12px 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(165deg, #0e1522 0%, #0a1018 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.promo-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #3d6cff 0%, rgba(61, 108, 255, 0.35) 100%);
  border-radius: 3px 0 0 3px;
  opacity: 0.9;
}
#tab-promo .promo-form > .promo-row:nth-child(2)::before {
  background: linear-gradient(180deg, #3d6cff 0%, rgba(61, 108, 255, 0.3) 100%);
}
#tab-promo .promo-form > .promo-row:nth-child(3)::before {
  background: linear-gradient(180deg, #5b8def 0%, rgba(91, 141, 239, 0.3) 100%);
}
#tab-promo .promo-form > .promo-row:nth-child(4)::before {
  background: linear-gradient(180deg, #4ecdc4 0%, rgba(78, 205, 196, 0.28) 100%);
}
#tab-promo .promo-form > .promo-row:nth-child(5)::before {
  background: linear-gradient(180deg, #a78bfa 0%, rgba(167, 139, 250, 0.25) 100%);
}
.promo-row > label {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #a3b6d4;
}
.promo-row .promo-clear-btn {
  align-self: end;
  justify-self: start;
  white-space: nowrap;
}
@media (min-width: 720px) {
  .promo-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
  }
  .promo-row > label:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .promo-row > label:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .promo-row > .promo-clear-btn {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
  }
  .promo-row > .promo-preview {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 719px) {
  .promo-row {
    grid-template-columns: 1fr;
  }
}
.promo-preview {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #0d141f 0%, #0a0f18 100%);
  min-height: 100px;
  object-fit: contain;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
#tab-promo .promo-form > .btn-primary {
  justify-self: start;
  margin-top: 4px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.promo-status {
  min-height: 22px;
  margin: 4px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}
/* —— Rapor sekmesi: mor tonlar yerine panel ile uyumlu nötr + mavi vurgu —— */
#tab-pdf-report .section-lead {
  margin: 0 0 16px;
  max-width: 48rem;
  line-height: 1.55;
  color: #9eb0cc;
  font-size: 0.93rem;
}
#tab-pdf-report .pdf-report-panel.glass-block {
  backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 32px rgba(0, 0, 0, 0.35);
}
.pdf-report-panel {
  max-width: 880px;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(165deg, #0e1522 0%, #0a1018 100%);
  overflow: hidden;
}
.pdf-report-panel > h3 {
  margin: 0;
  padding: 18px 22px 12px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f2f6ff;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(61, 108, 255, 0.07) 0%, transparent 100%);
}
.pdf-report-panel__desc {
  margin: 0;
  padding: 14px 22px 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #9eb0cc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pdf-report-default-banner {
  margin: 0 22px 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(61, 108, 255, 0.28);
  background: linear-gradient(135deg, rgba(61, 108, 255, 0.12) 0%, rgba(18, 27, 40, 0.9) 100%);
}
.pdf-report-default-banner__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9eb8ff;
  background: rgba(61, 108, 255, 0.2);
  border: 1px solid rgba(61, 108, 255, 0.35);
}
.pdf-report-default-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #c8d7ec;
}
.pdf-report-advanced {
  margin: 0 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(12, 18, 28, 0.55);
  overflow: hidden;
}
.pdf-report-advanced__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  color: #d6e4ff;
  font-weight: 600;
}
.pdf-report-advanced__summary::-webkit-details-marker {
  display: none;
}
.pdf-report-advanced__summary::after {
  content: "▸";
  margin-left: auto;
  color: #6d8cc4;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.pdf-report-advanced[open] .pdf-report-advanced__summary::after {
  transform: rotate(90deg);
}
.pdf-report-advanced__title {
  font-size: 0.9rem;
}
.pdf-report-advanced__hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7a90b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pdf-report-advanced__body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pdf-custom-range-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 10px;
  cursor: pointer;
  color: #b8c8df;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 600;
}
.pdf-custom-range-label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #3d6cff;
  flex-shrink: 0;
}
.pdf-report-advanced__help {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #8fa4c4;
}
.pdf-form-grid--custom {
  padding: 0;
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pdf-form-grid--custom.is-active {
  opacity: 1;
  pointer-events: auto;
}
.pdf-form-grid--custom input[type="date"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.pdf-download-hint {
  margin: -8px 22px 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6d819e;
}
.pdf-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px 22px;
}
.pdf-pro-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 27, 40, 0.65);
  border-radius: 14px;
  padding: 16px 16px 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.pdf-pro-card h4 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d8cc4;
}
.pdf-pro-card p {
  margin: 0;
  color: #b8c8df;
  font-size: 0.88rem;
  line-height: 1.55;
}
.pdf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  padding: 0 22px 18px;
}
.pdf-form-grid label {
  display: grid;
  gap: 8px;
  color: #a3b6d4;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pdf-form-grid input[type="text"],
.pdf-form-grid input[type="date"] {
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #0d141f;
  color: #eaf0ff;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pdf-form-grid input[type="date"]:hover {
  border-color: rgba(100, 130, 170, 0.55);
}
.pdf-form-grid input[type="date"]:focus {
  outline: none;
  border-color: rgba(61, 108, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 108, 255, 0.18);
}
.pdf-callout {
  margin: 0 22px 18px;
  border: 1px solid rgba(61, 108, 255, 0.22);
  border-left: 3px solid rgba(61, 108, 255, 0.75);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(61, 108, 255, 0.06);
  color: #c8d7ec;
  font-size: 0.88rem;
  line-height: 1.55;
}
.pdf-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7d9ccd;
}
.pdf-report-actions {
  margin: 0;
  padding: 0 22px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.pdf-report-actions .btn-small {
  border-radius: 10px;
  padding: 9px 14px;
}
.pdf-report-actions .btn-primary {
  border-radius: 12px;
  padding: 11px 22px;
  font-weight: 600;
}
#pdf-download-status {
  min-height: 22px;
  margin: 0 22px 22px;
  padding-top: 4px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #8fa4c4;
}
.promo-status--info { color: #9ec2ff; }
.promo-status--ok { color: #96f0ba; }
.promo-status--error { color: #ff9d9d; }
/* İstekler tablosu */
.bucket-shell--requests .bucket-help--requests {
  margin-top: 4px;
  line-height: 1.5;
  color: #a9bad5;
}
/* Şikâyetler — form ile uyumlu (kategori + açıklama) */
.bucket-shell--complaints .bucket-help--complaints {
  margin-top: 4px;
  line-height: 1.5;
  color: #a9bad5;
}
.bucket-toolbar--complaints {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(150px, 200px);
}
.admin-table--complaints th:nth-child(5),
.admin-table--complaints td:nth-child(5) {
  white-space: nowrap;
}
.admin-table--complaints .complaint-cell-desc {
  max-width: min(380px, 32vw);
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}
.cat-badge--complaint {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.4);
  color: #fed7aa;
}
/* Arızalar — kategori + lokasyon + aciliyet + açıklama */
.bucket-shell--faults .bucket-help--faults {
  margin-top: 4px;
  line-height: 1.5;
  color: #a9bad5;
}
.bucket-toolbar--faults {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(150px, 200px);
}
.admin-table--faults th:nth-child(5),
.admin-table--faults td:nth-child(5) {
  white-space: nowrap;
}
.admin-table--faults .fault-cell-loc {
  font-size: 0.88rem;
  white-space: nowrap;
  color: #c8d7f1;
}
.admin-table--faults .fault-cell-urg {
  text-align: center;
  white-space: nowrap;
}
.fault-urg {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.fault-urg--normal {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}
.fault-urg--urgent {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
}
.fault-urg--na {
  opacity: 0.7;
}
.admin-table--faults .fault-cell-desc {
  max-width: min(300px, 26vw);
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}
.cat-badge--fault {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.4);
  color: #bfdbfe;
}
.bucket-toolbar--requests {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(150px, 200px);
}
.admin-table--requests th:nth-child(5),
.admin-table--requests td:nth-child(5) {
  white-space: nowrap;
}
.admin-table--requests .request-cell-type {
  max-width: 200px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}
.admin-table--requests .request-cell-qty {
  text-align: center;
  white-space: nowrap;
  font-size: 0.88rem;
  color: #c8d7f1;
}
.admin-table--requests .request-cell-desc {
  max-width: min(320px, 28vw);
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}
.admin-table--requests .request-cell-staff {
  max-width: 200px;
  vertical-align: top;
}
.request-staff-note {
  width: 100%;
  min-width: 140px;
  min-height: 44px;
  max-height: 120px;
  border-radius: 8px;
  border: 1px solid #334860;
  background: #0d141f;
  color: #eaf0ff;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.4;
  resize: vertical;
  box-sizing: border-box;
}
.request-staff-note:focus {
  outline: none;
  border-color: rgba(46, 184, 199, 0.55);
  box-shadow: 0 0 0 1px rgba(46, 184, 199, 0.2);
}
.cat-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(46, 184, 199, 0.12);
  border: 1px solid rgba(46, 184, 199, 0.35);
  color: #b8f0f5;
}
.admin-table__empty {
  text-align: center;
  padding: 28px 12px !important;
  color: #7a8aa3;
  font-size: 0.92rem;
}

@media (max-width: 1020px) {
  .admin-nav-toggle {
    display: flex;
  }
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px))
      max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
  }
  .admin-sidebar { position: static; height: auto; }
  .admin-body.admin-body--app .admin-layout {
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }
  .admin-body.admin-body--app .admin-sidebar {
    max-height: min(42vh, 320px);
  }
  .admin-body.admin-body--app .admin-layout--sidebar-collapsed .admin-sidebar {
    max-height: none;
  }
  .admin-body.admin-body--app .admin-layout--sidebar-collapsed .admin-sidebar__body {
    max-height: 0 !important;
    min-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: none;
  }
  .admin-body.admin-body--app .admin-main {
    min-height: 0;
  }
  .admin-main > .admin-tab:not(.admin-tab--home):not(.admin-tab--logs) > *:nth-child(n + 3) {
    margin-left: 14px;
    margin-right: 14px;
  }
  .admin-main > .admin-tab:not(.admin-tab--home) > .section-head,
  .admin-main > .admin-tab:not(.admin-tab--home) > .section-lead {
    padding-left: 16px;
    padding-right: 16px;
  }
  .admin-tab--logs > .logs-intent-legend,
  .admin-tab--logs > .logs-section {
    margin-left: 14px;
    margin-right: 14px;
  }
  .kpi-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .report-grid { grid-template-columns: 1fr; }
  .alert-grid { grid-template-columns: 1fr; }
  .bucket-toolbar { grid-template-columns: 1fr; }
  .bucket-toolbar--requests { grid-template-columns: 1fr; }
  .bucket-toolbar--complaints { grid-template-columns: 1fr; }
  .bucket-toolbar--faults { grid-template-columns: 1fr; }
  .alacarte-quick-filters { grid-template-columns: 1fr; }
  .bucket-topstats { grid-template-columns: 1fr; }
  .bucket-topstats.bucket-topstats--quad { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
  .reservation-day { padding: 8px; }
  .reservation-manual-grid { grid-template-columns: 1fr; }
  .reservation-head-tools { flex-direction: column; align-items: flex-start; }
  .reservation-hero { flex-direction: column; }
  .reservation-hero__stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .reservation-venue-grid { grid-template-columns: 1fr; }
  .reservation-day-filters { grid-template-columns: 1fr; }
  .pdf-form-grid { grid-template-columns: 1fr; }
  .pdf-pro-grid { grid-template-columns: 1fr; }
  .eval-sections { grid-template-columns: 1fr; }
  .eval-summary__grid { grid-template-columns: 1fr; }
}

/* ---------- Değerlendirmeler (anket) ---------- */
.eval-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border-radius: 14px;
}
.eval-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9eb0cc;
}
.eval-toolbar__field input[type="date"] {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #e8edf5;
  font: inherit;
}
.eval-status {
  min-height: 22px;
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: #8fa4c4;
}
.eval-status--error {
  color: #ff9d9d;
}
.eval-mount {
  margin-bottom: 24px;
}
.eval-empty {
  margin: 0;
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: #9eb0cc;
  text-align: center;
}
.eval-report {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eval-truncation-warn {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
  font-size: 0.84rem;
  line-height: 1.45;
}
.eval-footnote {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #7a8aa3;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.eval-summary {
  padding: 18px 20px;
  margin-bottom: 0;
  border-radius: 16px;
}
.eval-summary__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #e8edf5;
  letter-spacing: -0.02em;
}
.eval-summary__lead {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #a8b8d0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}
.eval-summary__lead code {
  font-size: 0.76rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #c5daf5;
}
.eval-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.eval-summary__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.eval-summary__k {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8aa3;
}
.eval-summary__v {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f4fc;
}
.eval-summary__hint {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7c94;
}
.eval-summary__langs {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.eval-summary__langs-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8aa3;
  margin-right: 4px;
}
.eval-lang-chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(46, 184, 199, 0.12);
  border: 1px solid rgba(46, 184, 199, 0.28);
  color: #b8eef5;
}
.eval-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.eval-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.eval-section__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0c1018;
  background: linear-gradient(135deg, #5ee1d6, #2eb8c7);
  z-index: 1;
}
.eval-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px 16px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(46, 184, 199, 0.08), transparent);
}
.eval-section__titles {
  min-width: 0;
  flex: 1;
}
.eval-section__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f4fc;
  overflow-wrap: break-word;
}
.eval-section__cat {
  text-align: right;
  min-width: 132px;
}
.eval-section__cat-label {
  margin: 0 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7c94;
}
.eval-section__cat-hint {
  margin: 0 0 8px;
  max-width: 220px;
  margin-left: auto;
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 500;
  color: #7a8aa3;
  text-align: right;
}
.eval-section__cat-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #5ee1d6;
  line-height: 1;
}
.eval-section__cat-denom {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7c94;
  margin-left: 2px;
}
.eval-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 8px;
}
.eval-bar--cat {
  max-width: 140px;
  margin-left: auto;
  margin-top: 10px;
}
.eval-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(46, 184, 199, 0.5), rgba(94, 225, 214, 0.95));
  transition: width 0.35s ease;
}
.eval-bar__fill--low {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.65), rgba(251, 191, 36, 0.55));
}
.eval-bar__fill--mid {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.55), rgba(46, 184, 199, 0.65));
}
.eval-bar__fill--high {
  background: linear-gradient(90deg, rgba(46, 184, 199, 0.55), rgba(52, 211, 153, 0.85));
}
.eval-section__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eval-subgroup {
  border-radius: 14px;
  border: 1px solid rgba(46, 184, 199, 0.14);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.eval-subgroup + .eval-subgroup {
  margin-top: 4px;
}
.eval-subgroup__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(100deg, rgba(46, 184, 199, 0.09), transparent 65%);
}
.eval-subgroup__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #c8dcf5;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.eval-subgroup__avg {
  font-size: 0.92rem;
  font-weight: 800;
  color: #5ee1d6;
  white-space: nowrap;
}
.eval-subgroup__avg-denom {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7c94;
  margin-left: 2px;
}
.eval-subgroup__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eval-question {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.eval-question__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
  justify-content: space-between;
}
.eval-question__main {
  flex: 1;
  min-width: min(100%, 220px);
}
.eval-question__label {
  display: block;
  font-size: 0.87rem;
  line-height: 1.45;
  color: #dce4f0;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.eval-question__meta {
  flex-shrink: 0;
  text-align: right;
  min-width: 100px;
}
.eval-question__score-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f0f4fc;
  letter-spacing: -0.02em;
}
.eval-question__denom {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7c94;
  margin-left: 2px;
}
.eval-question__n {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8fa4c4;
  margin-top: 4px;
}
.eval-question__n--empty {
  color: #5c6575;
  font-style: italic;
}
.eval-question .eval-bar {
  margin-top: 0;
}

/* Misafir bildirimleri — bildirimler / geç çıkış alt sekmeleri */
.admin-gn-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
  padding: 6px;
  border-radius: var(--admin-radius);
  background: var(--admin-surface-2);
  border: 1px solid var(--admin-border);
}
.admin-gn-subtabs .admin-subtab-btn {
  flex: 1 1 auto;
  min-width: 140px;
}
.admin-subtab-btn {
  padding: 11px 20px;
  border-radius: var(--admin-radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--admin-text-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background var(--admin-ease),
    border-color var(--admin-ease),
    color var(--admin-ease),
    box-shadow var(--admin-ease);
}
.admin-subtab-btn:hover,
.admin-subtab-btn:focus-visible {
  color: var(--admin-text);
  background: rgba(61, 108, 255, 0.08);
  outline: none;
}
.admin-subtab-btn.is-active {
  border-color: rgba(61, 108, 255, 0.4);
  background: linear-gradient(180deg, rgba(61, 108, 255, 0.22) 0%, rgba(61, 108, 255, 0.08) 100%);
  color: var(--admin-text-title);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.admin-gn-list-panel.hidden {
  display: none;
}
.bucket-shell--late-checkout .bucket-help--late-checkout {
  max-width: 52rem;
}

/* Ön büro operasyon: kategori özet kartları */
.op-front-summary__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}
.op-front-summary__meta {
  font-size: 0.76rem;
  color: var(--admin-text-muted);
}
.op-front-summary__meta strong {
  color: var(--admin-text-title, #e8ecf4);
  font-weight: 700;
}
.op-front-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
@media (max-width: 900px) {
  .op-front-summary-cards {
    grid-template-columns: 1fr;
  }
}
.op-front-summary-cards--filtered .op-front-cat-card__one {
  margin: 0;
  font-size: 0.8rem;
}
.op-front-cat-card {
  padding: 0.55rem 0.65rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.op-front-cat-card:hover {
  border-color: rgba(61, 108, 255, 0.35);
  background: rgba(61, 108, 255, 0.06);
}
.op-front-cat-card__title {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.op-front-cat-card__dl {
  margin: 0;
  display: grid;
  gap: 0.28rem 0.5rem;
  font-size: 0.72rem;
}
.op-front-cat-card__dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.12rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.op-front-cat-card__dl > div:last-child {
  border-bottom: 0;
}
.op-front-cat-card__dl dt {
  margin: 0;
  color: var(--admin-text-muted);
  font-weight: 500;
}
.op-front-cat-card__dl dd {
  margin: 0;
  font-weight: 700;
  color: var(--admin-text, #e8ecf4);
}
.op-front-cat-card__dd--wait {
  color: #c4d4ff;
}
.op-front-cat-card__dd--ok {
  color: #9ae6b4;
}
.op-front-cat-card__dd--no {
  color: #feb2b2;
}
.op-front-cat-card__sum {
  margin-top: 0.15rem;
  padding-top: 0.25rem;
  font-weight: 700;
}
.op-front-cat-card__sum dt {
  color: var(--admin-text-muted);
}
.op-front-tab__label {
  vertical-align: middle;
}
.op-front-tab__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(220, 180, 70, 0.22);
  color: #fff3c4;
  vertical-align: middle;
}

/* Saha ekip sayfaları (ops-*.html): minimal kabuk */
.ops-light-app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
  box-sizing: border-box;
}
.ops-light-head {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--admin-radius);
}
.ops-light-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ops-light-head__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.ops-light-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}
.ops-light-intro {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}
.ops-light-intro--muted {
  font-size: 0.8rem;
  opacity: 0.92;
}
.ops-light-intro--warn {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #e8c96a;
  border-left: 3px solid rgba(232, 201, 106, 0.55);
  padding-left: 0.65rem;
  margin-top: -0.25rem;
}
.ops-login-busy {
  text-align: center;
  padding: 1.75rem 1.25rem;
}
.ops-login-busy__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--admin-text-title, #f1f5f9);
  letter-spacing: -0.02em;
}
.ops-light-code {
  font-size: 0.78em;
  padding: 0.12em 0.35em;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  word-break: break-all;
}
.ops-light-mount {
  margin-top: 0.5rem;
}
.ops-hk-selected-host {
  margin-bottom: 1rem;
}
.ops-hk-selected {
  padding: 0.85rem 1rem;
  border-radius: var(--admin-radius);
}
.ops-hk-selected__head {
  margin-bottom: 0.65rem;
}
.ops-hk-selected__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--admin-text-title);
}
.ops-hk-selected__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}
.ops-hk-selected__dl {
  margin: 0;
  display: grid;
  gap: 0.45rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  font-size: 0.84rem;
}
.ops-hk-selected__dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--admin-text-dim);
}
.ops-hk-selected__dl dd {
  margin: 0.15rem 0 0;
  color: var(--admin-text);
  line-height: 1.4;
  word-break: break-word;
}
.ops-hk-selected__actions {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--admin-border-subtle);
}
.ops-hk-selected__act-lbl {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--admin-text-dim);
}
.ops-hk-selected-error {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: #f0a8a8;
  border-radius: var(--admin-radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(185, 28, 28, 0.12);
}
.admin-body .viona-table-scroll--ops .admin-table.viona-table.op-table tbody tr.ops-row--deep-link > td {
  outline: 2px solid rgba(61, 108, 255, 0.65);
  outline-offset: -2px;
  background-color: rgba(61, 108, 255, 0.1) !important;
}
/* Kova tabloları + ops-light: WhatsApp derin link satır vurgusu */
.viona-table-scroll .admin-table tbody tr.ops-row--deep-link > td {
  outline: 2px solid rgba(61, 108, 255, 0.65);
  outline-offset: -2px;
  background-color: rgba(61, 108, 255, 0.1) !important;
}
.ops-light-loading,
.ops-light-error {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--admin-text-muted);
}
.ops-light-error {
  color: #f0a8a8;
}

/* Operasyon sekmeleri: filtre çubuğu */
.op-filter-bar {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(255, 255, 255, 0.02);
}
.op-filter-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
}
.op-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.op-filter-field--room {
  flex: 1 1 140px;
  max-width: 200px;
}
.op-filter-field--day {
  flex: 1 1 160px;
  min-width: min(100%, 10.5rem);
  max-width: 220px;
}
.op-filter-field__lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-dim);
}
.op-filter-input {
  min-height: 38px;
  padding: 0.35rem 0.55rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: #121b2a;
  color: var(--admin-text);
  font: inherit;
  font-size: 0.86rem;
  max-width: 100%;
}
.op-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-left: auto;
}
.op-filter-hint {
  margin: 0.65rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--admin-text-muted);
}

.op-filter-bar__row--search {
  margin-top: 0.55rem;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.op-filter-field--search {
  flex: 1 1 220px;
  min-width: 0;
}
.op-filter-field--search .op-filter-input {
  width: 100%;
}

/* Gün şeridi chip altı: Bekleyen · Yapılıyor · Yapıldı + sayılar */
.op-chip-stats {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.28rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b8cfe8;
  line-height: 1.15;
}
.op-chip-stats--triple {
  max-width: 100%;
}
.op-chip-stats__it {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.06rem;
  min-width: 2.85rem;
  max-width: 4.2rem;
}
.op-chip-stats__lbl {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  color: #9eb4d4;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-align: center;
}
.op-chip-stats__it strong {
  font-weight: 800;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: #e8f0ff;
  line-height: 1;
}
.op-chip-stats__sep {
  opacity: 0.45;
  font-weight: 400;
  padding: 0 0.04rem;
}
.op-chip-stats--sigma .op-chip-stats__it strong {
  font-size: 0.62rem;
}

.op-day-strip-wrap__legend {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
  letter-spacing: 0.01em;
}
.op-day-strip-wrap__legend strong {
  font-weight: 800;
  color: var(--admin-text-dim);
}

/* Açık iş kuyruğu (bekleyen / yapılıyor) — operasyon sekmesi başlığının altı */
.ops-pending-banner-host:not(:empty) {
  margin-bottom: 0.75rem;
}
.ops-pending-queue {
  padding: 0.65rem 0.85rem 0.75rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid rgba(212, 175, 85, 0.28);
  background: rgba(24, 36, 52, 0.65);
}
.ops-pending-queue__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
}
.ops-pending-queue__title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--admin-text-title);
  letter-spacing: 0.02em;
}
.ops-pending-queue__meta {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--admin-text-muted);
  flex: 1 1 12rem;
  min-width: 0;
}
.ops-pending-queue__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ops-pending-queue__item {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ops-pending-queue__item:last-child {
  border-bottom: none;
}
.ops-pending-queue__item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.2rem;
}
.ops-pending-queue__badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.ops-pending-queue__badge--wait {
  background: rgba(255, 160, 60, 0.18);
  color: #f0c490;
}
.ops-pending-queue__badge--prog {
  background: rgba(90, 160, 255, 0.14);
  color: #a8c9ff;
}
.ops-pending-queue__type {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--admin-text-dim);
}
.ops-pending-queue__room {
  font-size: 0.7rem;
  color: var(--admin-text-muted);
}
.ops-pending-queue__day {
  font-size: 0.76rem;
  font-weight: 700;
  margin-left: auto;
  color: #e8ecf4;
}
.ops-pending-queue__sum {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--admin-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ops-pending-queue__sla {
  font-size: 0.74rem;
  color: var(--admin-text-muted);
  margin-top: 0.12rem;
}
.ops-pending-queue__more {
  font-size: 0.72rem;
  color: var(--admin-text-muted);
  margin: 0.4rem 0 0;
}
.ops-pending-queue--empty .ops-pending-queue__empty,
.ops-pending-queue__hint {
  font-size: 0.76rem;
  color: var(--admin-text-muted);
  margin: 0.25rem 0 0;
}

/* Operasyon sekmeleri: gün şeridi (HK / Teknik / Ön büro) */
.op-day-strip-wrap {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem 0.75rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border-subtle);
  background: rgba(61, 108, 255, 0.06);
}
.op-day-strip-wrap__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
}
.op-day-strip-wrap__head-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.admin-body .op-day-pdf-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #243a63 0%, #1a2840 100%);
  border: 1px solid rgba(212, 175, 85, 0.45);
  color: #f4f7ff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.admin-body .op-day-pdf-btn:hover:not(:disabled) {
  border-color: rgba(212, 175, 85, 0.75);
  filter: brightness(1.08);
}
.admin-body .op-day-pdf-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.op-day-strip-wrap__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-text-title);
  letter-spacing: 0.02em;
}
.op-day-strip-wrap__tz {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--admin-text-dim);
}
.op-day-strip-wrap__hint {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}
.op-day-strip__scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.op-day-strip__chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 6.85rem;
  max-width: 11.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(51, 72, 96, 0.95);
  background: linear-gradient(180deg, #182536 0%, #152131 100%);
  color: #e2ebff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--admin-ease), background var(--admin-ease), color var(--admin-ease),
    box-shadow var(--admin-ease);
}
.op-day-strip__chip-date {
  display: block;
  font-variant-numeric: tabular-nums;
}
.op-day-strip__chip:hover {
  border-color: rgba(61, 108, 255, 0.45);
  color: #fff;
}
.op-day-strip__chip:focus-visible {
  outline: 2px solid rgba(100, 150, 255, 0.85);
  outline-offset: 2px;
}
.op-day-strip__chip.is-active {
  border-color: rgba(61, 108, 255, 0.75);
  background: linear-gradient(180deg, #1e3050 0%, #1a2840 100%);
  box-shadow: 0 0 0 1px rgba(61, 108, 255, 0.2);
  color: #fff;
}
.op-day-strip__chip-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--admin-text-dim);
  letter-spacing: 0.03em;
}
.op-day-strip__chip-mini {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.58rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #b8cfe8;
  white-space: normal;
  line-height: 1.25;
}

/* ops-hk.html / ops-tech.html / ops-front.html — admin ilgili sekmeyle aynı kart / dış boşluk */
.admin-body--ops-hk-page #ops-app.admin-main,
.admin-body--ops-tech-page #ops-app.admin-main,
.admin-body--ops-front-page #ops-app.admin-main {
  max-width: 1680px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: max(18px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px))
    max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
}
.admin-tab--op-hk-standalone .ops-hk-mount,
.admin-tab--op-tech-standalone .ops-hk-mount,
.admin-tab--op-front-standalone .ops-hk-mount {
  min-width: 0;
}

/*
 * Standalone ops sayfaları (ops-hk / ops-tech / ops-front): tam panel kabuğu yok.
 * Eski ops-light sürümleri showApp'te admin-body--app ekliyordu → body 100dvh + overflow:hidden
 * → taşan içerik kesilir, mobilde dikey kaydırma çalışmaz. CSS ile de sıfırlanır.
 */
.admin-body--ops-hk-page.admin-body--app,
.admin-body--ops-tech-page.admin-body--app,
.admin-body--ops-front-page.admin-body--app {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Sekme kartı overflow:hidden tam panele uygun; burada gövde kayar, kart kesmesin. */
.admin-body--ops-hk-page .admin-main > .admin-tab--op-hk-standalone,
.admin-body--ops-tech-page .admin-main > .admin-tab--op-tech-standalone,
.admin-body--ops-front-page .admin-main > .admin-tab--op-front-standalone {
  overflow: visible;
}

@media (max-width: 720px) {
  .admin-body--ops-hk-page #ops-app.admin-main,
  .admin-body--ops-tech-page #ops-app.admin-main,
  .admin-body--ops-front-page #ops-app.admin-main {
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  }

  .admin-body--ops-hk-page .op-filter-actions,
  .admin-body--ops-tech-page .op-filter-actions,
  .admin-body--ops-front-page .op-filter-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  /* İç içe kaydırma yerine tek akış: liste uzun olsa da sayfa ile kayar (iOS dostu). */
  .admin-body--ops-hk-page .viona-table-scroll--compact,
  .admin-body--ops-hk-page .viona-table-scroll--ops,
  .admin-body--ops-tech-page .viona-table-scroll--compact,
  .admin-body--ops-tech-page .viona-table-scroll--ops,
  .admin-body--ops-front-page .viona-table-scroll--compact,
  .admin-body--ops-front-page .viona-table-scroll--ops {
    max-height: none;
  }
}

/* WhatsApp ?id=: salt okunur satırlar (aynı tablo, düşük vurgu) */
.op-table tbody tr.ops-row--readonly td {
  opacity: 0.78;
}
.op-table tbody tr.ops-row--readonly .op-st:disabled,
.op-table tbody tr.ops-row--readonly .op-del:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Birleşik veri tabloları — sade, düşük kontrast */
.admin-body .viona-table-scroll {
  overflow: auto;
  max-height: min(70vh, 900px);
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 var(--admin-radius-sm) var(--admin-radius-sm);
}
.admin-body .viona-table-scroll .admin-table.viona-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.admin-body .viona-table-scroll .admin-table.viona-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--admin-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid var(--admin-border-subtle);
  box-shadow: none;
  vertical-align: bottom;
}
.admin-body .viona-table-scroll .admin-table.viona-table tbody td {
  padding: 9px 10px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--admin-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
  background-color: transparent;
}

/*
 * Zebra: 1. görünür veri satırı düz, 2. hafif arka plan, 3. düz …
 * :not(.hidden) süzgeç sonrası doğru sıra; boş liste satırı (:has(td.admin-table__empty)) sayıma girmez.
 */
.admin-body .viona-table-scroll .admin-table.viona-table tbody > tr:nth-child(even of :not(.hidden):not(:has(td.admin-table__empty))) > td {
  background-color: rgba(255, 255, 255, 0.042);
}

.admin-body .viona-table-scroll .admin-table.viona-table tbody > tr.ops-row--new:not(.hidden) > td {
  background-color: rgba(90, 124, 170, 0.14);
}
.admin-body .viona-table-scroll .admin-table.viona-table tbody > tr.ops-row--new:not(.hidden) > td:first-child {
  box-shadow: inset 2px 0 0 rgba(100, 140, 200, 0.45);
}

.admin-body .viona-table-scroll .admin-table.viona-table tbody tr:hover:not(.ops-row--new):not(.hidden) > td {
  background-color: rgba(255, 255, 255, 0.068);
}
.admin-body .viona-table-scroll .admin-table.viona-table tbody > tr.ops-row--new:hover:not(.hidden) > td {
  background-color: rgba(90, 124, 170, 0.2);
}
.admin-body .viona-table-scroll .admin-table.viona-table tbody > tr.ops-row--new:hover:not(.hidden) > td:first-child {
  box-shadow: inset 2px 0 0 rgba(100, 140, 200, 0.55);
}
/* Operasyon satırı: özet + dar sütunlar */
.admin-body .viona-table-scroll .admin-table.viona-table.op-table thead th {
  white-space: nowrap;
}
.admin-body .viona-table-scroll .admin-table.viona-table.op-table .op-th-sum {
  min-width: 12rem;
}
.admin-body .viona-table-scroll .admin-table.viona-table.op-table td:nth-child(3) {
  max-width: 36rem;
  line-height: 1.4;
  color: var(--admin-text);
}
.admin-body .viona-table-scroll .admin-table.viona-table.op-table .op-th-time {
  width: 9.5rem;
}
.admin-body .viona-table-scroll .admin-table.viona-table.op-table .op-th-room {
  width: 5rem;
}
.admin-body .viona-table-scroll .admin-table.viona-table.op-table .op-th-status,
.admin-body .viona-table-scroll .admin-table.viona-table.op-table .op-th-actions {
  width: 1%;
  white-space: nowrap;
}

/* Operasyon tabloları: satır içi düğmeler için biraz daha yüksek */
.admin-body .viona-table-scroll--ops {
  max-height: min(62vh, 780px);
}

/* Salt liste tabloları: daha derli toplu (İstek / Şikâyet / Arıza / Misafir) */
.admin-body .viona-table-scroll--compact {
  max-height: min(56vh, 640px);
}
.admin-body .viona-table-scroll--compact .admin-table.viona-table thead th {
  padding: 5px 8px;
  font-size: 0.7rem;
}
.admin-body .viona-table-scroll--compact .admin-table.viona-table tbody td {
  padding: 5px 8px;
  font-size: 0.78rem;
  line-height: 1.32;
}
.admin-body .viona-table-scroll--compact .status-badge {
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 600;
}
.admin-body .viona-table-scroll--compact .cat-badge {
  font-size: 0.72rem;
  padding: 2px 6px;
}

.op-front-summary {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.op-front-summary__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--admin-text-muted);
}
.op-front-summary__head .op-front-summary__title {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  color: var(--admin-text-title);
}
.op-front-summary__hint {
  font-size: 0.78rem;
  color: var(--admin-text-muted);
}
.op-front-summary__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
}
.op-front-summary__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: var(--admin-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--admin-border-subtle);
}
.op-front-summary__k {
  font-size: 0.72rem;
  color: var(--admin-text-muted);
}
.op-front-summary__v {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--admin-text, #e8ecf4);
}
.op-front-toolbar {
  margin-bottom: 0.65rem;
}
.op-front-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.op-front-tab.is-active {
  border-color: rgba(61, 108, 255, 0.55);
  background: rgba(61, 108, 255, 0.16);
  color: #e8eeff;
}
.op-front-panel.hidden {
  display: none !important;
}

.bucket-sat-edit {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 10rem;
}
.bucket-sat-edit .bucket-sat-score {
  max-width: 6rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  color: var(--admin-text);
  font: inherit;
}
.bucket-sat-edit .bucket-sat-note {
  min-height: 2.5rem;
  resize: vertical;
  padding: 0.35rem 0.5rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border);
  background: var(--admin-surface-2);
  color: var(--admin-text);
  font: inherit;
}

/* Ayrı operasyon sayfaları (operations-*.html) */
.op-body .op-app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}
.op-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: var(--admin-radius);
}
.op-header h1 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.op-lead {
  margin: 0;
  font-size: 0.85rem;
  color: var(--admin-text-muted);
}
.op-header__actions {
  display: flex;
  gap: 0.5rem;
}
.op-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.op-subtitle {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.op-table-wrap {
  padding: 0.5rem;
  border-radius: var(--admin-radius);
  overflow: auto;
}
.op-actions-cell {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-start;
}
.op-status-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.28rem;
  justify-content: flex-start;
}
.op-del {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}
.op-del:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, 0.65);
  background: rgba(239, 68, 68, 0.18);
  color: #fff;
}
.op-status-btns .op-st {
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  border-width: 1px;
  border-style: solid;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* Seçili olmayan işlem düğmeleri: nötr / beyaz; renk sadece .is-active rozetinde. */
.op-status-btns--front .op-st:not(.is-active),
.op-status-btns--hktech .op-st:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow: none;
}

/* Ön büro paleti — yalnızca seçili düğme renkli. */
.op-status-btns--front .op-st.is-active[data-status="pending"] {
  border-color: rgba(56, 189, 248, 0.85);
  background: rgba(14, 165, 233, 0.28);
  color: #f0f9ff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}
.op-status-btns--front .op-st.is-active[data-status="in_progress"] {
  border-color: rgba(167, 139, 250, 0.9);
  background: rgba(124, 58, 237, 0.32);
  color: #faf5ff;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.28);
}
.op-status-btns--front .op-st.is-active[data-status="done"] {
  border-color: rgba(52, 211, 153, 0.88);
  background: rgba(5, 150, 105, 0.32);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25);
}
.op-status-btns--front .op-st.is-active[data-status="rejected"] {
  border-color: rgba(251, 113, 133, 0.9);
  background: rgba(225, 29, 72, 0.3);
  color: #fff1f2;
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.28);
}

/* HK / Teknik paleti — yalnızca seçili düğme renkli. */
.op-status-btns--hktech .op-st.is-active[data-status="pending"] {
  border-color: rgba(99, 102, 241, 0.88);
  background: rgba(67, 56, 202, 0.32);
  color: #eef2ff;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.28);
}
.op-status-btns--hktech .op-st.is-active[data-status="in_progress"] {
  border-color: rgba(251, 146, 60, 0.92);
  background: rgba(234, 88, 12, 0.32);
  color: #fff7ed;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.3);
}
.op-status-btns--hktech .op-st.is-active[data-status="done"] {
  border-color: rgba(45, 212, 191, 0.9);
  background: rgba(15, 118, 110, 0.34);
  color: #f0fdfa;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.28);
}
.op-status-btns--hktech .op-st.is-active[data-status="rejected"] {
  border-color: rgba(248, 113, 113, 0.92);
  background: rgba(185, 28, 28, 0.32);
  color: #fef2f2;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.28);
}

.admin-body .op-status-btns .op-st:not(.is-active):hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.admin-body .op-status-btns .op-st.is-active:hover:not(:disabled) {
  filter: brightness(1.07);
}

/* Durum sütunu: seçili işlem rengiyle aynı (op-table--front / --hktech). */
.op-table--front .status-badge.status-new,
.op-table--front .status-badge.status-pending {
  border: 1px solid rgba(56, 189, 248, 0.85);
  background: rgba(14, 165, 233, 0.28);
  color: #f0f9ff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}
.op-table--front .status-badge.status-in_progress {
  border: 1px solid rgba(167, 139, 250, 0.9);
  background: rgba(124, 58, 237, 0.32);
  color: #faf5ff;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.28);
}
.op-table--front .status-badge.status-done {
  border: 1px solid rgba(52, 211, 153, 0.88);
  background: rgba(5, 150, 105, 0.32);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25);
}
.op-table--front .status-badge.status-rejected {
  border: 1px solid rgba(251, 113, 133, 0.9);
  background: rgba(225, 29, 72, 0.3);
  color: #fff1f2;
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.28);
}
.op-table--hktech .status-badge.status-new,
.op-table--hktech .status-badge.status-pending {
  border: 1px solid rgba(99, 102, 241, 0.88);
  background: rgba(67, 56, 202, 0.32);
  color: #eef2ff;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.28);
}
.op-table--hktech .status-badge.status-in_progress {
  border: 1px solid rgba(251, 146, 60, 0.92);
  background: rgba(234, 88, 12, 0.32);
  color: #fff7ed;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.3);
}
.op-table--hktech .status-badge.status-done {
  border: 1px solid rgba(45, 212, 191, 0.9);
  background: rgba(15, 118, 110, 0.34);
  color: #f0fdfa;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.28);
}
.op-table--hktech .status-badge.status-rejected {
  border: 1px solid rgba(248, 113, 113, 0.92);
  background: rgba(185, 28, 28, 0.32);
  color: #fef2f2;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.28);
}
.op-table--front .status-badge.status-cancelled,
.op-table--hktech .status-badge.status-cancelled {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(51, 65, 85, 0.35);
  color: #e2e8f0;
  box-shadow: none;
}
.op-table--front .status-badge.status-reopened,
.op-table--hktech .status-badge.status-reopened {
  border: 1px solid rgba(251, 191, 36, 0.88);
  background: rgba(217, 119, 6, 0.32);
  color: #fffbeb;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.22);
}

.admin-body .viona-table-scroll--ops .admin-table.viona-table.op-table td:last-child {
  white-space: nowrap;
  vertical-align: middle;
}
@media (max-width: 720px) {
  .op-status-btns {
    flex-wrap: wrap;
  }
}
.op-loading {
  color: var(--admin-text-muted);
}

.admin-sidebar__ops {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--admin-border-subtle);
}
.admin-sidebar__ops-label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--admin-text-dim);
}
.admin-sidebar__ops-link {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.35rem 0.65rem;
  border-radius: var(--admin-radius-sm);
  border: 1px solid var(--admin-border);
  background: rgba(18, 27, 42, 0.5);
  color: var(--admin-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--admin-ease), color var(--admin-ease), border-color var(--admin-ease);
}
.admin-sidebar__ops-link:hover,
.admin-sidebar__ops-link:focus-visible {
  color: var(--admin-text-title);
  border-color: rgba(61, 108, 255, 0.35);
  background: rgba(61, 108, 255, 0.1);
  outline: none;
}

/* —— Operasyon kart listesi (mobil / ops-light + saha sekmeleri layout=cards) —— */
.op-cards-shell {
  padding: 0.55rem 0.5rem 0.85rem;
  border-radius: var(--admin-radius, 14px);
}
.op-cards-shell + .admin-pager {
  margin-top: 0.75rem;
}
.op-cards--ops {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}
.op-cards-empty {
  margin: 0.5rem 0;
  text-align: center;
}

/* WhatsApp «panelde aç»: tek kart — durum rozeti ve seçim düğmeleri belirgin */
.admin-body--ops-wa-card-only #ops-mount {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}
.admin-body--ops-wa-card-only .ops-wa-card-only {
  padding: 0.5rem 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.45);
}
.admin-body--ops-wa-card-only .ops-wa-single-card-host {
  margin: 0;
}
.admin-body--ops-wa-card-only .op-cards-shell {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.admin-body--ops-wa-card-only .op-card {
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.admin-body--ops-wa-card-only .op-card__top {
  margin-bottom: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-body--ops-wa-card-only .op-card__badge {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  line-height: 1.2;
}
.admin-body--ops-wa-card-only .op-card__actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top-color: rgba(255, 255, 255, 0.14);
}
.admin-body--ops-wa-card-only .op-status-btns--cards {
  gap: 0.55rem;
}
.admin-body--ops-wa-card-only .op-status-btns--cards .op-st {
  min-height: 3rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(30, 41, 59, 0.65);
  color: #e2e8f0;
}
.admin-body--ops-wa-card-only .op-status-btns--cards .op-st:not(.is-active):not(:disabled) {
  opacity: 0.88;
}
.admin-body--ops-wa-card-only .op-status-btns--cards .op-st.is-active {
  opacity: 1;
  font-weight: 800;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}
.admin-body--ops-wa-card-only .op-status-btns--cards .op-st:disabled {
  opacity: 0.45;
}
.admin-body--ops-wa-card-only .op-del--card {
  min-height: 2.75rem;
  border-radius: 10px;
  font-weight: 700;
}

.op-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(22, 32, 52, 0.92) 0%, rgba(15, 23, 42, 0.72) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 0.95rem 1rem 1rem;
}
.op-card--fresh {
  border-color: rgba(99, 102, 241, 0.35);
}
.op-card--deep {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: 2px;
}
.op-card--readonly {
  opacity: 0.72;
}
.op-card__top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0.4rem;
}
.op-card__badge {
  font-size: 0.78rem;
  font-weight: 700;
}
.op-card__dl {
  margin: 0;
}
.op-card__kv {
  margin: 0 0 0.55rem;
}
.op-card__kv:last-child {
  margin-bottom: 0;
}
.op-card__kv dt {
  margin: 0 0 0.12rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}
.op-card__kv dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
  color: #f1f5f9;
  word-break: break-word;
}
.op-card__dd--long {
  max-height: 10.5rem;
  overflow-y: auto;
  padding-right: 0.2rem;
  -webkit-overflow-scrolling: touch;
}
.op-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.op-status-btns--cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: unset !important;
}
.op-status-btns--cards .op-st {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.35rem;
  font-size: 0.76rem;
  line-height: 1.15;
  white-space: normal;
}
.op-del--card {
  width: 100%;
  min-height: 2.55rem;
  font-weight: 600;
}

.op-card--palette-front .status-badge.status-new,
.op-card--palette-front .status-badge.status-pending {
  border: 1px solid rgba(56, 189, 248, 0.85);
  background: rgba(14, 165, 233, 0.28);
  color: #f0f9ff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}
.op-card--palette-front .status-badge.status-in_progress {
  border: 1px solid rgba(167, 139, 250, 0.9);
  background: rgba(124, 58, 237, 0.32);
  color: #faf5ff;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.28);
}
.op-card--palette-front .status-badge.status-done {
  border: 1px solid rgba(52, 211, 153, 0.88);
  background: rgba(5, 150, 105, 0.32);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25);
}
.op-card--palette-front .status-badge.status-rejected {
  border: 1px solid rgba(251, 113, 133, 0.9);
  background: rgba(225, 29, 72, 0.3);
  color: #fff1f2;
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.28);
}
.op-card--palette-front .status-badge.status-cancelled {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(51, 65, 85, 0.35);
  color: #e2e8f0;
  box-shadow: none;
}

.op-card--palette-hktech .status-badge.status-new,
.op-card--palette-hktech .status-badge.status-pending {
  border: 1px solid rgba(99, 102, 241, 0.88);
  background: rgba(67, 56, 202, 0.32);
  color: #eef2ff;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.28);
}
.op-card--palette-hktech .status-badge.status-in_progress {
  border: 1px solid rgba(251, 146, 60, 0.92);
  background: rgba(234, 88, 12, 0.32);
  color: #fff7ed;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.3);
}
.op-card--palette-hktech .status-badge.status-done {
  border: 1px solid rgba(45, 212, 191, 0.9);
  background: rgba(15, 118, 110, 0.34);
  color: #f0fdfa;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.28);
}
.op-card--palette-hktech .status-badge.status-rejected {
  border: 1px solid rgba(248, 113, 113, 0.92);
  background: rgba(185, 28, 28, 0.32);
  color: #fef2f2;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.28);
}
.op-card--palette-hktech .status-badge.status-cancelled {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(51, 65, 85, 0.35);
  color: #e2e8f0;
  box-shadow: none;
}

@media (min-width: 900px) {
  .op-cards--ops {
    max-width: 32rem;
  }
}

/* Bildirim → çözüm süre ölçümü (İstanbul günü ile uyumlu liste filtresi) */
.admin-body .viona-sla-cell {
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--admin-text-muted);
  font-variant-numeric: tabular-nums;
  max-width: 11rem;
}

/* —— Odalar sekmesi —— */
#tab-rooms .section-lead {
  margin: 0 0 16px;
  max-width: 52rem;
  line-height: 1.55;
  color: #9eb0cc;
  font-size: 0.93rem;
}
.rooms-explorer-mount {
  margin-top: 8px;
}
.rooms-summary {
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 14px;
}
.rooms-summary__line {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.rooms-summary__hint {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}
.rooms-block-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 24, 0.55);
}
.rooms-block-filter__lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-right: 4px;
}
.rooms-block-filter__btn {
  min-width: 2.5rem;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.5);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.rooms-block-filter__btn:hover {
  border-color: rgba(56, 189, 248, 0.35);
  color: #f1f5f9;
}
.rooms-block-filter__btn.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.18);
  color: #e0f2fe;
}
.rooms-grid-host {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rooms-block {
  padding: 16px 18px 18px;
  border-radius: 16px;
}
.rooms-block__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.rooms-floor {
  margin-bottom: 16px;
}
.rooms-floor:last-child {
  margin-bottom: 0;
}
.rooms-floor__title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7dd3fc;
}
.rooms-floor__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rooms-cell {
  min-width: 3.25rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, #131c2a 0%, #0d141f 100%);
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.rooms-cell:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #fff;
}
.rooms-cell:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 2px;
}
.rooms-detail-wrap {
  margin-top: 12px;
}
.rooms-detail-toolbar {
  padding: 16px 18px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
}
.rooms-detail-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 14px;
  margin-bottom: 12px;
}
.rooms-detail-toolbar__row--top {
  align-items: center;
  justify-content: space-between;
}
.rooms-detail-toolbar__row--filters {
  align-items: flex-end;
}
.rooms-detail-toolbar__row--pdf {
  align-items: center;
  margin-bottom: 0;
}
.rooms-detail-breadcrumb {
  margin: 0;
  flex: 1;
  text-align: right;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.4;
}
.rooms-detail-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.rooms-detail-seg {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.rooms-detail-seg.is-active {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(14, 165, 233, 0.2);
  color: #f0f9ff;
}
.rooms-detail-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.rooms-detail-field--grow {
  flex: 1 1 180px;
}
.rooms-detail-field--block {
  width: 100%;
  max-width: 16rem;
}
.rooms-filter-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 4px;
}
.rooms-filter-card {
  padding: 14px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(155deg, rgba(19, 28, 42, 0.65) 0%, rgba(10, 15, 24, 0.5) 100%);
}
.rooms-filter-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.rooms-filter-card__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.rooms-refresh-btn {
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd;
}
.rooms-refresh-btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #f0f9ff;
}
.rooms-date-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.rooms-date-mode__chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.4);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}
.rooms-date-mode__chip:hover {
  border-color: rgba(148, 163, 184, 0.35);
  color: #f1f5f9;
}
.rooms-date-mode__chip.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.22);
  color: #f0f9ff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}
.rooms-filter-micro {
  margin: 0 0 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}
.rooms-date-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
}
.rooms-date-panel--range {
  padding-top: 4px;
}
.rooms-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: flex-end;
  margin-bottom: 12px;
}
.rooms-filter-row:last-child {
  margin-bottom: 0;
}
.rooms-filter-row--2 .rooms-detail-field {
  flex: 1 1 140px;
}
.rooms-filter-row--2 .rooms-detail-field--grow {
  flex: 2 1 220px;
}
.rooms-detail-field__lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.rooms-detail-input {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 24, 0.85);
  color: #e2e8f0;
  font-size: 0.88rem;
}
.rooms-detail-input--narrow {
  max-width: 200px;
}
.rooms-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}
.rooms-detail-pdf-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-right: 6px;
}
.rooms-detail-pdf-scope {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}
.rooms-detail-hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
}
.rooms-detail-status {
  min-height: 22px;
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: #94a3b8;
}
.rooms-detail-status--error {
  color: #fca5a5;
}
.rooms-detail-table-mount {
  min-height: 120px;
}
@media (max-width: 720px) {
  .rooms-detail-breadcrumb {
    text-align: left;
    flex-basis: 100%;
  }
  .rooms-detail-pdf-scope {
    margin-left: 0;
    width: 100%;
  }
}

/* Personel manuel operasyon formu */
.ops-manual-form-host {
  margin-bottom: 0.75rem;
}
.ops-manual-form__scope {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.48;
  color: var(--admin-text-muted);
}
.ops-manual-form__scope strong {
  color: #c5d4ec;
  font-weight: 600;
}
.op-filter-field__hint {
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0.02em;
  color: #7d92b5;
}
abbr.op-filter-req-star {
  text-decoration: none;
  font-weight: 800;
  color: #f87171;
  margin-left: 0.1rem;
}
.ops-manual-form {
  padding: 0.75rem 0.9rem;
  margin-bottom: 0;
}
.ops-manual-form__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}
.ops-manual-form__hint {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--admin-text-muted);
}
.ops-manual-form__hint code {
  font-size: 0.72em;
  color: #94a3b8;
}
.op-filter-bar__row--manual {
  align-items: flex-end;
}
.op-filter-field--grow {
  flex: 1 1 180px;
  min-width: min(100%, 12rem);
}
.op-filter-field--textarea .op-filter-input {
  min-height: 56px;
  resize: vertical;
}
.op-filter-actions--manual {
  margin-left: 0;
  flex: 1 1 100%;
  align-items: center;
  gap: 0.65rem;
}
.ops-manual-form__status {
  font-size: 0.82rem;
  color: #94a3b8;
}
.ops-manual-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.manual-front-panel {
  flex: 1 1 100%;
}
.manual-front-panel.hidden {
  display: none !important;
}
