﻿.page-title { display: flex; align-items: center; gap: var(--sp-3); }

.page-title__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.page-title__icon svg { width: 24px; height: 24px; }

.page-title__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.page-title__text .page-header__title { margin-bottom: 0; }
.page-header__desc {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  line-height: 1.35;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.metric-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-grad);
}

.metric-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.metric-card__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }

@media (max-width: 768px) {
  .metric-card { padding: var(--sp-4); }
  .metric-card__head { margin-bottom: var(--sp-2); }
  .metric-card__foot { margin-top: var(--sp-3); padding-top: var(--sp-3); }
}

.metric-card__icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.metric-card__icon svg { width: 20px; height: 20px; }

.metric-card__title { font-weight: var(--fw-semibold); color: var(--text-secondary); font-size: var(--fs-sm); }

.metric-card__badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.metric-card__badge svg { width: 13px; height: 13px; }

.metric-card__badge--up { color: var(--success); background: var(--success-soft); }

.metric-card__badge--down { color: var(--danger); background: var(--danger-soft); }

.metric-card__badge--flat { color: var(--info); background: var(--info-soft); }

.metric-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-card__value,
.metric-card__foot-value,
.summary-card__value,
.stat-tile__num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.metric-card__unit { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text-muted); margin-left: 7px; }

.metric-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.metric-card__foot-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.metric-card__foot-label svg { display: block; width: 15px; height: 15px; flex-shrink: 0; opacity: 0.8; }

.metric-card__foot-value {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.summary-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.summary-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }

.summary-card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent);
}

.summary-card__icon svg { width: 28px; height: 28px; display: block; }

.summary-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.summary-card__label { color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; }

.summary-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
}

.summary-card--danger .summary-card__icon { background: var(--danger-soft); color: var(--danger); }

.summary-card--accent {
  position: relative;
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.28);
  overflow: hidden;
}

.summary-card--accent::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.summary-card--accent:hover { box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.28); }

.summary-card--accent .summary-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(4px);
}

.summary-card--accent .summary-card__label { color: rgba(255, 255, 255, 0.85); }

.summary-card--accent .summary-card__value { color: #fff; }

.summary-card--bonus {
  position: relative;
  background: linear-gradient(135deg, #e8940a 0%, #c96a00 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--warning-rgb), 0.16);
  overflow: hidden;
  isolation: isolate;
}

.summary-card--bonus::after {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.summary-card--bonus:hover { box-shadow: 0 8px 20px rgba(var(--warning-rgb), 0.2); }

.summary-card--bonus .summary-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.summary-card--bonus .summary-card__label { color: rgba(255, 255, 255, 0.9); }

.summary-card--bonus .summary-card__value { color: #fff; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.stat-tile {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-tile:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.stat-tile__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.stat-tile__icon svg { width: 28px; height: 28px; display: block; }

.stat-tile__body { display: flex; flex-direction: column; min-width: 0; gap: 1px; }

.stat-tile__num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stat-tile__label { font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-medium); }

.stat-tile--pending .stat-tile__icon { background: var(--warning-soft); color: var(--warning); }

.stat-tile--progress .stat-tile__icon { background: var(--info-soft); color: var(--info); }

.stat-tile--partial .stat-tile__icon { background: var(--surface-2); color: var(--text); }

.stat-tile--completed .stat-tile__icon { background: var(--success-soft); color: var(--success); }

.stat-tile--canceled .stat-tile__icon { background: var(--danger-soft); color: var(--danger); }

.status-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
.metric-grid { grid-template-columns: 1fr; }

.summary-grid { grid-template-columns: repeat(2, 1fr); }

.status-grid { grid-template-columns: repeat(3, 1fr); }
}

.svc-actions-mobile { display: none; }

@media (max-width: 576px) {
.summary-grid,
.status-grid { grid-template-columns: 1fr; }

.metric-grid,
.summary-grid,
.status-grid { gap: var(--sp-4); margin-bottom: var(--sp-4); }

.page-header--collapse-mobile { display: none; }

.svc-actions-mobile {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.svc-actions-mobile .btn {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
}
}

.card__header--chart { flex-wrap: wrap; gap: var(--sp-3); }

.chart-head { display: flex; align-items: center; gap: var(--sp-3); }

.chart-head__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.chart-head__icon svg { width: 22px; height: 22px; }

.chart-head__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: -0.01em; }

.chart-head__sub { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 2px; }

@media (max-width: 576px) {
.card__header--chart { flex-direction: column; align-items: stretch; text-align: center; }

.chart-head { width: 100%; gap: 0; justify-content: center; }

.chart-head__icon { display: none; }

.chart-head__sub { display: none; }

.card__header--chart .segment { width: 100%; }

.card__header--chart .segment button { flex: 1; }
}

.chart-apex {
  width: 100%;
  max-width: 100%;
  min-height: 430px;
  overflow: hidden;
}

.chart-apex .apexcharts-canvas {
  margin-inline: auto;
  max-width: 100% !important;
}

.chart-apex svg { max-width: 100%; }

.chart-apex.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.apexcharts-tooltip.apexcharts-theme-light,
.apexcharts-tooltip.apexcharts-theme-dark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  border-radius: var(--radius) !important;
}

.apexcharts-tooltip .apexcharts-tooltip-title { display: none !important; }

.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip { display: none !important; }

.chart-tip {
  min-width: 150px;
  padding: 11px 13px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans);
}

.chart-tip__title {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: var(--fw-semibold);
}

.chart-tip__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: 3px 0;
}

.chart-tip__row b { margin-left: auto; color: var(--text); font-weight: var(--fw-bold); }

.chart-tip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
.chart-apex { min-height: 340px; }
}

@media (max-width: 480px) {
.chart-apex { min-height: 280px; }
}

.btn.is-loading { pointer-events: none; }

.btn.is-loading > svg { display: none; }

.errpage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8) var(--sp-4);
  overflow: hidden;
}

.errpage__toggle {
  position: fixed;
  top: var(--sp-5);
  right: var(--sp-5);
  z-index: 3;
  width: 42px;
  height: 42px;
  box-shadow: var(--shadow-sm);
}

.errpage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.errpage__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.errpage__blob--1 { width: 420px; height: 420px; top: -120px; left: -80px; background: var(--accent-soft); }

.errpage__blob--2 { width: 360px; height: 360px; bottom: -120px; right: -60px; background: rgba(var(--accent-rgb), 0.12); }

.errpage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
  opacity: 0.5;
}

.errpage__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.errpage__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--sp-5);
}

.errpage__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 0 3px rgba(var(--warning-rgb), 0.18);
}

.errpage--500 .errpage__badge .dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(var(--danger-rgb), 0.18); }

.errpage__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 800);
  font-size: clamp(5.5rem, 22vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-active));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.errpage--500 .errpage__code { background: linear-gradient(135deg, var(--danger), color-mix(in srgb, var(--danger) 70%, #000)); -webkit-background-clip: text; background-clip: text; }

.errpage__icon {
  display: grid;
  place-items: center;
  width: clamp(84px, 20vw, 118px);
  height: clamp(84px, 20vw, 118px);
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-active));
  box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.4);
  animation: errFloat 4s ease-in-out infinite;
}

.errpage--500 .errpage__icon {
  background: linear-gradient(135deg, var(--danger), color-mix(in srgb, var(--danger) 70%, #000));
  box-shadow: 0 16px 40px rgba(var(--danger-rgb), 0.4);
  animation: errShake 5s ease-in-out infinite;
}

.errpage__icon svg { width: 48%; height: 48%; }

.errpage__title {
  margin: var(--sp-5) 0 var(--sp-2);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.01em;
}

.errpage__text {
  margin: 0 auto var(--sp-2);
  max-width: 440px;
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.6;
}

.errpage__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
}

.errpage__debug {
  width: min(94vw, 760px);
  max-width: none;
  margin-top: var(--sp-10);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.errpage__debug-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: var(--surface);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.errpage__debug-toggle::-webkit-details-marker { display: none; }

.errpage__debug-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--danger);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.errpage__debug-toggle:hover { background: var(--surface-2); }

.errpage__debug[open] .errpage__debug-toggle { border-bottom: 1px solid var(--border); }

.errpage__debug[open] .errpage__debug-toggle svg { transform: rotate(90deg); }

.errpage__debug-body {
  padding: var(--sp-5);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.errpage__debug-msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  background: var(--danger-soft);
  border: 1px solid rgba(var(--danger-rgb), 0.18);
  border-left: 3px solid var(--danger);
}

.errpage__debug-msg strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--danger);
  font-weight: var(--fw-bold);
}

.errpage__debug-msg span {
  font-size: var(--fs-sm);
  color: var(--text);
  word-break: break-word;
  line-height: 1.5;
}

.errpage__debug-loc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.errpage__debug-loc code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}

.errpage__debug-line {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.errpage__debug-trace {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.errpage__debug-trace h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0;
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

pre.errpage__debug-frame {
  display: block;
  margin: 0;
  padding: var(--sp-3) var(--sp-4);
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.55;
  background: var(--surface);
}

@media (max-width: 600px) {
.errpage { padding: var(--sp-7) var(--sp-4); }

.errpage__code { gap: var(--sp-2); }

.errpage__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }

.errpage__actions .btn { width: 100%; }

.errpage__text { font-size: var(--fs-sm); }
}

@media (prefers-reduced-motion: reduce) {
.errpage__icon { animation: none; }
}

@media (max-width: 992px) {
@keyframes hero-source-nudge-v {
    0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.5; }
    50% { transform: rotate(90deg) translateX(3px); opacity: 1; }
  }
}

@keyframes errFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@keyframes errShake { 0%, 92%, 100% { transform: rotate(0); } 94% { transform: rotate(-7deg); } 96% { transform: rotate(7deg); } 98% { transform: rotate(-4deg); } }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}

@media (max-width: 880px) {
.profile-grid { grid-template-columns: 1fr; }
}

.profile-panel { display: flex; flex-direction: column; }

.panel-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-bottom: 1px solid var(--border);
}

.panel-head__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.panel-head__icon svg { width: 22px; height: 22px; }

.panel-head__icon--lock { background: var(--warning-soft); color: var(--warning); }

.panel-head__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}

.panel-head__sub {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: 2px;
}

.panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-5);
}

.pinfo { display: flex; flex-direction: column; gap: var(--sp-2); }

.pinfo__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.pinfo__row:hover { border-color: var(--border-strong); }

.pinfo__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.pinfo__label svg { width: 17px; height: 17px; flex-shrink: 0; }

.pinfo__value {
  font-weight: var(--fw-semibold);
  color: var(--text);
  font-size: var(--fs-sm);
  text-align: right;
  min-width: 0;
}

.pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.pref__label {
  display: block;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--text);
}

.pref__hint {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.theme-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
  cursor: pointer;
}

.theme-switch__opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.theme-switch__opt svg { width: 15px; height: 15px; }

[data-bs-theme="light"] .theme-switch__opt--light,
[data-bs-theme="dark"] .theme-switch__opt--dark {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.pform { display: flex; flex-direction: column; gap: var(--sp-4); }

.pfield { display: flex; flex-direction: column; gap: var(--sp-2); }

.pfield__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}

.pfield__control { position: relative; display: flex; align-items: center; }

.pfield__icon {
  position: absolute;
  left: 14px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  pointer-events: none;
}

.pfield__icon svg { width: 18px; height: 18px; }

.pfield__input {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 44px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.pfield__input::placeholder { color: var(--text-muted); }

.pfield__input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.pfield__control:focus-within .pfield__icon { color: var(--accent); }

.pfield__toggle {
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.pfield__toggle:hover { color: var(--text); background: var(--surface-hover); }
.pfield__toggle svg { width: 18px; height: 18px; }
.pfield__toggle .eye-off { display: none; }
.pfield__toggle.is-visible .eye-on { display: none; }
.pfield__toggle.is-visible .eye-off { display: block; }

.pform__hint {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.pform__hint svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

.pform__submit { margin-top: var(--sp-1); align-self: flex-start; }

@media (max-width: 560px) {
.pform__submit { width: 100%; }
}

body.is-login { overflow-x: hidden; }

.login {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}

.login__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.login__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
  opacity: 0.5;
}

.login__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.login__blob--1 { width: 420px; height: 420px; top: -120px; left: -80px; background: var(--accent-soft); }
.login__blob--2 { width: 360px; height: 360px; bottom: -120px; right: -60px; background: rgba(var(--accent-rgb), 0.12); }

.login__toggle {
  position: fixed;
  top: var(--sp-5);
  right: var(--sp-5);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.login__toggle:hover { border-color: var(--accent); color: var(--text); }
.login__toggle svg { width: 20px; height: 20px; }
[data-bs-theme="dark"] .login__toggle .icon-sun { display: block; }
[data-bs-theme="dark"] .login__toggle .icon-moon { display: none; }
[data-bs-theme="light"] .login__toggle .icon-sun { display: none; }
[data-bs-theme="light"] .login__toggle .icon-moon { display: block; }

.login__brand {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.login__logo {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(var(--accent-rgb), 0.2));
}

.login__logo--dark { display: none; }
[data-bs-theme="dark"] .login__logo--light { display: none; }
[data-bs-theme="dark"] .login__logo--dark { display: block; }

.brand-anim {
  position: relative;
  --brand-shine-a: 0.18;                        
  --brand-glow: rgba(var(--accent-rgb), 0.26);    
  --brand-glow-peak: 5px;                         
  --brand-halo: 2px;                              
  --brand-halo-a: 0.32;                           
}

[data-bs-theme="dark"] .brand-anim {
  --brand-shine-a: 0.5;
  --brand-glow: rgba(var(--accent-rgb), 0.7);
  --brand-glow-peak: 12px;
  --brand-halo: 6px;
  --brand-halo-a: 0.6;
}

.brand-anim__box {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  animation: brand-pulse 6.5s ease-in-out infinite;
}

.brand-anim__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, var(--brand-shine-a)) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: brand-shine 6.5s linear infinite;
}

.brand-anim__jet {
  position: absolute;
  top: 50%;
  left: -18px;
  margin-top: -8px;
  z-index: 4;
  pointer-events: none;
  animation: brand-takeoff 6.5s ease-in-out infinite;
}

.brand-anim__jet svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: var(--accent);
  filter: drop-shadow(0 0 var(--brand-halo) rgba(var(--accent-rgb), var(--brand-halo-a)));
}

.brand-anim__jet::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 22px;
  border-radius: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), var(--brand-halo-a)));
  animation: brand-trail 6.5s ease-in-out infinite;
}

.brand-anim__pop {
  position: absolute;
  z-index: 5;
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  animation: brand-pop 6.5s cubic-bezier(0.22, 1.4, 0.36, 1) infinite;
}

.brand-anim__pop--heart { fill: #fb7185; filter: drop-shadow(0 0 var(--brand-halo) rgba(251, 113, 133, var(--brand-halo-a))); }
.brand-anim__pop--star  { fill: #fbbf24; filter: drop-shadow(0 0 var(--brand-halo) rgba(251, 191, 36, var(--brand-halo-a))); }
.brand-anim__pop--thumb { fill: var(--accent-2); filter: drop-shadow(0 0 var(--brand-halo) rgba(var(--accent-rgb), var(--brand-halo-a))); }
.brand-anim__pop--spark { fill: #a78bfa; filter: drop-shadow(0 0 var(--brand-halo) rgba(167, 139, 250, var(--brand-halo-a))); }

.brand-anim__pop--p1 { left: 4%;  top: -8px;  animation-delay: 2.45s; }
.brand-anim__pop--p2 { left: 30%; top: -11px; width: 9px;  height: 9px;  animation-delay: 2.65s; }
.brand-anim__pop--p3 { left: 56%; top: -7px;  animation-delay: 2.85s; }
.brand-anim__pop--p4 { left: 82%; top: -10px; width: 10px; height: 10px; animation-delay: 3.05s; }
.brand-anim__pop--p5 { left: 43%; top: -13px; width: 8px;  height: 8px;  animation-delay: 3.25s; }

/* Login: aynı animasyon, daha büyük logoya göre ölçekler */
.login__brand .brand-anim { display: inline-flex; align-items: center; }
.login__brand .brand-anim__box { border-radius: 6px; }
.login__brand .brand-anim__jet { left: -30px; margin-top: -13px; animation-name: brand-takeoff-lg; }
.login__brand .brand-anim__jet svg { width: 26px; height: 26px; }
.login__brand .brand-anim__jet::before { height: 3px; width: 34px; border-radius: 3px; }
.login__brand .brand-anim__pop { width: 18px; height: 18px; }
.login__brand .brand-anim__pop--p1 { top: -14px; }
.login__brand .brand-anim__pop--p2 { top: -20px; width: 15px; height: 15px; }
.login__brand .brand-anim__pop--p3 { top: -12px; }
.login__brand .brand-anim__pop--p4 { top: -18px; width: 16px; height: 16px; }
.login__brand .brand-anim__pop--p5 { top: -24px; width: 13px; height: 13px; }

@keyframes brand-takeoff {
  0%       { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  8%       { transform: translate(5px, -2px) rotate(-14deg); opacity: 1; }
  26%      { transform: translate(115px, -42px) rotate(-28deg); opacity: 1; }
  30%      { transform: translate(145px, -54px) rotate(-28deg); opacity: 0; }
  58%      { transform: translate(-70px, -34px) rotate(12deg); opacity: 0; }
  63%      { transform: translate(-60px, -28px) rotate(12deg); opacity: 1; }
  84%      { transform: translate(0, 2px) rotate(4deg); opacity: 1; }
  90%, 100%{ transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes brand-takeoff-lg {
  0%       { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  8%       { transform: translate(8px, -4px) rotate(-14deg); opacity: 1; }
  26%      { transform: translate(205px, -72px) rotate(-28deg); opacity: 1; }
  30%      { transform: translate(255px, -92px) rotate(-28deg); opacity: 0; }
  58%      { transform: translate(-130px, -60px) rotate(12deg); opacity: 0; }
  63%      { transform: translate(-115px, -50px) rotate(12deg); opacity: 1; }
  84%      { transform: translate(0, 3px) rotate(4deg); opacity: 1; }
  90%, 100%{ transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes brand-trail {
  0%, 7%    { opacity: 0; }
  11%       { opacity: 1; }
  27%       { opacity: 1; }
  31%, 100% { opacity: 0; }
}

@keyframes brand-shine {
  0%, 6%    { transform: translateX(-130%); }
  32%, 100% { transform: translateX(130%); }
}

@keyframes brand-pulse {
  0%, 36% { filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  43%     { filter: drop-shadow(0 0 var(--brand-glow-peak) var(--brand-glow)); transform: scale(1.03); }
  56%     { filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  100%    { transform: scale(1); }
}

@keyframes brand-pop {
  0%    { opacity: 0; transform: scale(0) translateY(0); }
  3.5%  { opacity: 1; transform: scale(1.3) translateY(-5px); }
  7%    { transform: scale(1) translateY(-9px); }
  15%   { opacity: 0; transform: scale(0.6) translateY(-20px); }
  100%  { opacity: 0; transform: scale(0) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-anim__box,
  .brand-anim__shine,
  .brand-anim__jet,
  .brand-anim__pop { animation: none; }
  .brand-anim__jet,
  .brand-anim__pop { display: none; }
}

.login__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 452px;
  padding: var(--sp-10) var(--sp-10) var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.login__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-grad);
}

.login__head { text-align: center; margin-bottom: var(--sp-6); }

.login__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: var(--lh-tight);
}

.login__sub {
  margin-top: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-base);
}

.login__fields { display: flex; flex-direction: column; gap: var(--sp-5); }

.lfield { display: flex; flex-direction: column; gap: var(--sp-2); }

.lfield__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lfield__control { position: relative; display: flex; align-items: center; }

.lfield__icon {
  position: absolute;
  left: 16px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.lfield__icon svg { width: 18px; height: 18px; }

.lfield__input {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.lfield__input::placeholder { color: var(--text-muted); }

.lfield__input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lfield__control:focus-within .lfield__icon { color: var(--accent); }

.lfield__control:has(.lfield__toggle) .lfield__input { padding-right: 46px; }

.lfield__input--mono {
  padding-left: 14px;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
}

.lfield__toggle {
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.lfield__toggle:hover { color: var(--text); background: var(--surface-hover); }
.lfield__toggle svg { width: 18px; height: 18px; }
.lfield__toggle .eye-off { display: none; }
.lfield__toggle.is-visible .eye-on { display: none; }
.lfield__toggle.is-visible .eye-off { display: block; }

.login .login__submit {
  margin-top: var(--sp-3);
  height: 54px;
  font-size: var(--fs-md);
  border: none;
  background: var(--accent-grad);
  color: var(--accent-contrast);
  box-shadow: 0 12px 24px -10px rgba(var(--accent-rgb), 0.65);
  transition: filter var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.login__submit-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login__submit-spinner {
  width: 0;
  height: 17px;
  opacity: 0;
  overflow: hidden;
  flex-shrink: 0;
  transition: width 0.22s ease, opacity 0.22s ease;
}

.login__submit-spinner::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
  animation: login-submit-spin 0.72s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.login__submit.is-loading .login__submit-spinner,
.pform__submit.is-loading .login__submit-spinner,
.btn.is-loading .login__submit-spinner {
  width: 17px;
  opacity: 1;
}

.login__submit-trailing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: opacity 0.2s ease, width 0.2s ease;
}

.login__submit-trailing svg {
  width: 18px;
  height: 18px;
}

.login__submit.is-loading .login__submit-trailing,
.pform__submit.is-loading .login__submit-trailing,
.btn.is-loading .login__submit-trailing {
  width: 0;
  opacity: 0;
  overflow: hidden;
}

/* Bakiye Kontrol: bos spinner metni itmesin; bosluk yalnizca yuklenirken. */
[data-crypto-check] .login__submit-inner { gap: 0; }
[data-crypto-check].is-loading .login__submit-inner { gap: 8px; }

.login .login__submit:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 16px 30px -10px rgba(var(--accent-rgb), 0.7);
}

.login .login__submit:active:not(:disabled) { transform: translateY(1px); }

.login .login__submit:disabled:not(.is-loading) {
  opacity: 0.42;
  filter: grayscale(0.15);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.login .login__submit:disabled:not(.is-loading):hover {
  filter: grayscale(0.15);
  box-shadow: none;
}

@keyframes login-autofill-start {
  from { opacity: 1; }
  to { opacity: 1; }
}

.lfield__input:-webkit-autofill {
  animation-name: login-autofill-start;
  animation-duration: 0.01s;
}

@keyframes login-submit-spin {
  to { transform: rotate(360deg); }
}

.l2fa-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--sp-3);
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  color: var(--accent);
}

.l2fa-mark svg { width: 26px; height: 26px; }

.l2fa-tabs {
  display: flex;
  gap: 2px;
  padding: 3px;
  margin-bottom: var(--sp-5);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.l2fa-tab {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.l2fa-tab.is-active { background: var(--accent); color: #fff; }

.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-2);
}

.code-inputs input {
  height: 52px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.code-inputs input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.code-inputs input.is-filled { border-color: var(--accent); }

.login__hint {
  margin-top: var(--sp-3);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.lback { margin-top: var(--sp-3); }
.lback svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
.login { padding: var(--sp-6) var(--sp-4); overflow-x: hidden; }
.login__brand { margin-bottom: var(--sp-5); }
.login__logo { height: 50px; }
.login__card { padding: var(--sp-8) var(--sp-5) var(--sp-6); border-radius: var(--radius-lg); }
.login__title { font-size: var(--fs-2xl); }
.login__toggle { top: var(--sp-4); right: var(--sp-4); width: 38px; height: 38px; }
.login__toggle svg { width: 18px; height: 18px; }
.login__blob--1 { width: 280px; height: 280px; top: -100px; left: -90px; }
.login__blob--2 { width: 240px; height: 240px; bottom: -100px; right: -70px; }
}

@media (max-width: 380px) {
.login { padding: var(--sp-5) var(--sp-3); }
.login__card { padding: var(--sp-7) var(--sp-4) var(--sp-5); }
.login__logo { height: 44px; }
}

.page-subtitle { color: var(--text-muted); font-size: var(--fs-sm); }

.logs__toolbar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

.logs__search {
  position: relative;
  flex: 1 1 240px;
  min-width: 180px;
  display: flex;
  align-items: center;
}

.logs__search svg {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.logs__search-input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.logs__search-input::placeholder { color: var(--text-muted); }

.logs__search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.logs__filter { height: 42px; flex-shrink: 0; }

.logs__select { position: relative; display: flex; align-items: center; }

.logs__select select {
  appearance: none;
  -webkit-appearance: none;
  height: 42px;
  padding: 0 36px 0 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
}

.logs__select select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.logs__select svg {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.elog-row { cursor: pointer; }

.elog-file {
  display: inline-block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  white-space: nowrap;
  vertical-align: middle;
}
.elog-line { color: var(--accent); }

.elog-url {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
}

.elog-method {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.elog-method--get { background: var(--info-soft); color: var(--info); }
.elog-method--post { background: var(--success-soft); color: var(--success); }

.elog-src {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.elog-src--admin { background: var(--accent-soft); color: var(--accent); }
.elog-src--user { background: var(--warning-soft); color: var(--warning); }

.elog-row td:nth-child(6) { text-align: right; }
.elog-time { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 1px; white-space: nowrap; }
.elog-time__rel { font-size: var(--fs-sm); color: var(--text); font-weight: var(--fw-medium); }
.elog-time__abs { font-size: var(--fs-xs); color: var(--text-muted); }

.act-desc {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text);
  font-weight: var(--fw-medium);
}
.act-desc::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--success-soft);
  color: var(--success);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}
.live-badge__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.live-badge__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0.6;
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  white-space: nowrap;
}
.live-status::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot-color, var(--text-muted));
}
.live-status--online  { --dot-color: var(--success); }
.live-status--away    { --dot-color: var(--warning); }
.live-status--offline { --dot-color: var(--danger); }
.live-status--online::before { animation: statusPulse 1.8s ease-out infinite; }

@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 var(--dot-color); }
  70%  { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.live-page { display: inline-flex; flex-direction: column; gap: 3px; min-width: 0; align-items: flex-start; }
.live-page__name { font-weight: var(--fw-semibold); color: var(--text); white-space: nowrap; }
.live-page__path {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--accent);
  white-space: nowrap;
}

.live-page-m { display: inline-flex; flex-direction: row; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; min-width: 0; }

.live-empty-row td { padding: 0 !important; border-bottom: 0 !important; }
.live-empty-row:hover td { background: transparent !important; }
.live-empty-row .empty-state,
.live-empty-card .empty-state { margin-top: 0; }

.live-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}
.live-refresh [data-live-time],
.live-refresh [data-orders-time] { font-family: var(--font-mono); color: var(--text-secondary); }
@media (max-width: 576px) { .live-refresh { display: none; } }

.live-time { color: var(--text-secondary); white-space: nowrap; }

@keyframes liveRowIn { from { background: var(--accent-soft, rgba(var(--accent-rgb), .08)); } to { background: transparent; } }
@media (prefers-reduced-motion: no-preference) {
  .table--live tbody tr.is-live-new { animation: liveRowIn 1.2s ease-out; }
}

.live-mon {
  display: flex;
  align-items: stretch;
  gap: var(--sp-5);
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.live-mon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 120% at 0% 0%, var(--success-soft) 0%, transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.live-mon__lead {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: 1 1 240px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.live-mon__beacon { position: relative; width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; }
.live-mon__core {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px var(--success-soft);
  position: relative;
  z-index: 2;
}
.live-mon__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .live-mon__ring { animation: liveMonPulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite; }
  .live-mon__ring:nth-child(2) { animation-delay: 1.2s; }
}
@keyframes liveMonPulse {
  0%   { transform: scale(0.32); opacity: 0.65; }
  100% { transform: scale(1);    opacity: 0; }
}

.live-mon__lead-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.live-mon__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.live-mon__cap {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
}

.live-mon__metrics {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.live-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--sp-3) var(--sp-5);
  min-width: 104px;
  transition: background var(--transition-fast);
}
.live-metric + .live-metric { border-left: 1px solid var(--border); }
.live-metric:hover { background: var(--surface); }
.live-metric__top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  white-space: nowrap;
}
.live-metric__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--text-muted); }
.live-metric__val {
  font-family: var(--font-display);
  font-size: var(--fs-2xl, 26px);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.live-metric--online  .live-metric__dot { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.live-metric--away    .live-metric__dot { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); }
.live-metric--offline .live-metric__dot { background: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .live-metric--online .live-metric__dot { --dot-color: var(--success); animation: statusPulse 1.8s ease-out infinite; }
}

@media (max-width: 768px) {
  .live-mon { padding: var(--sp-4) var(--sp-5); gap: var(--sp-4); }
  .live-mon__lead { flex-basis: 100%; }
  .live-mon__metrics { width: 100%; }
  .live-metric { flex: 1 1 0; min-width: 0; align-items: center; text-align: center; padding: var(--sp-3) var(--sp-2); }
  .live-metric__top { font-size: 11px; }
}
@media (max-width: 380px) {
  .live-mon__value { font-size: 34px; }
  .live-metric__val { font-size: 22px; }
}

.table-wrap--flow { overflow: visible; }

.bayi-add-m { display: none; }
@media (max-width: 576px) {
  .bayi-add-m { display: inline-flex; flex: 1 1 100%; width: 100%; justify-content: center; }
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
.sec-badge svg { display: none; }
.sec-badge::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.sec-badge--on::before { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.sec-badge--off::before { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

.usr-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
.usr-status::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.usr-status--active::before { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.usr-status--suspended::before { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

.usr-thead,
.usr-card__row {
  display: grid;
  grid-template-columns: minmax(168px, 1.9fr) minmax(96px, 1fr) minmax(96px, 1fr) minmax(104px, 1fr) minmax(156px, 1.35fr) minmax(90px, 0.9fr) 72px;
  gap: var(--sp-4);
  align-items: center;
}

.usr-thead {
  padding: 11px var(--sp-5);
  margin-bottom: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.usr-thead span {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  color: var(--text-secondary); font-weight: var(--fw-semibold);
}
.usr-th--num { text-align: right; }
.usr-th--center { text-align: center; }
.usr-th--end { text-align: right; }

.usr-thead span:nth-child(5),
.usr-card__row > .usr-cell:nth-child(5) { padding-right: var(--sp-10); }

.usr-list { display: flex; flex-direction: column; gap: var(--sp-3); }

.usr-item--suspended .usr-card,
.usr-item--suspended .usr-mcard {
  background: color-mix(in srgb, var(--danger) 4%, var(--surface));
  border-color: color-mix(in srgb, var(--danger) 22%, var(--border));
}
.usr-item--suspended .usr-card:hover {
  border-color: color-mix(in srgb, var(--danger) 34%, var(--border));
}

.usr-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.usr-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.usr-card__row { padding: 11px var(--sp-5); }
.usr-card__row > .usr-cell { min-width: 0; font-size: var(--fs-sm); color: var(--text); }
.usr-cell--num { text-align: right; font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.usr-card__row > .usr-cell--bonus { color: var(--warning); }
.usr-card__row > .usr-cell--due { color: var(--danger); }
.usr-cell--center { display: flex; justify-content: center; }
.usr-cell--acts { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-2); }

.usr-card:has(.dropdown.is-open),
.usr-mcard:has(.dropdown.is-open) { z-index: 40; position: relative; }

.usr-mcard {
  display: none;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.usr-mcard__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border);
}
.usr-mcard__head .avatar { width: 42px; height: 42px; font-size: var(--fs-sm); border-radius: var(--radius); }
.usr-mcard__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.usr-mcard__name { font-weight: var(--fw-bold); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usr-mcard__mail { font-size: var(--fs-xs); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usr-mcard__body { padding: 2px var(--sp-4) var(--sp-3); }
.usr-mrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.usr-mrow:last-child { border-bottom: 0; }
.usr-mrow__k { font-size: var(--fs-base); color: var(--text-secondary); flex-shrink: 0; }
.usr-mrow__v { font-size: var(--fs-base); color: var(--text); font-weight: var(--fw-semibold); text-align: right; font-variant-numeric: tabular-nums; min-width: 0; }
.usr-mrow__v--bonus { color: var(--warning); }
.usr-mrow__v--due { color: var(--danger); }

@media (max-width: 1100px) {
  .usr-thead,
  .usr-card__row {
    grid-template-columns: minmax(140px, 1.7fr) minmax(84px, 1fr) minmax(84px, 1fr) minmax(92px, 1fr) minmax(148px, 1.35fr) minmax(82px, 0.9fr) 64px;
    gap: var(--sp-3);
  }
}

@media (max-width: 900px) {
  .usr-thead,
  .usr-card { display: none; }
  .usr-mcard { display: block; }
}

.bayi-form .lfield__input--mono {
  padding-left: 48px;
  text-align: left;
  letter-spacing: 0.04em;
}

.bayi-form .lfield__input--mono:placeholder-shown {
  font-family: var(--font-sans);
  letter-spacing: normal;
}

.bayi-form { gap: var(--sp-5); }
.bayi-form .lfield__label {
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}
.bayi-form .lfield__input { height: 52px; }

.bal-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.bal-ops { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.bal-op {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 50px;
  padding: 0 var(--sp-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.bal-op svg { width: 18px; height: 18px; }
.bal-op:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.bal-op[data-op$="-add"].is-active { border-color: var(--success); background: var(--success-soft); color: var(--success); }
.bal-op[data-op$="-sub"].is-active { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.bal-op[data-op="bonus-add"].is-active { border-color: var(--warning); background: var(--warning-soft); color: var(--warning); }

.lfield__icon--text { font-size: var(--fs-md); font-weight: var(--fw-bold); }

.segment--full { display: flex; width: 100%; }
.segment--full button { flex: 1; text-align: center; padding: 11px 10px; font-size: var(--fs-base); }

/* Ödeme Durumu: Ödeme Alındı = yeşil, Ödeme Bekleniyor = kırmızı (tema duyarlı) */
.segment[data-bal-status] button.is-active { background: transparent; }
.segment[data-bal-status] button[data-value="1"].is-active {
  background: linear-gradient(180deg, rgba(var(--success-rgb), 0.96), var(--success));
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--success-rgb), 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.segment[data-bal-status] button[data-value="2"].is-active {
  background: linear-gradient(180deg, rgba(var(--danger-rgb), 0.96), var(--danger));
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--danger-rgb), 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

[data-bal-status-field][hidden] { display: none; }

.del-target {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.del-target .tbl-user { position: relative; z-index: 1; flex-direction: column; gap: var(--sp-1); }
.del-target .tbl-user__meta { align-items: center; gap: 3px; }
.del-target .tbl-user__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}
.del-target .tbl-user__mail {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.del-lead {
  text-align: center;
  margin: var(--sp-2) 0 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text);
  line-height: var(--lh-normal);
}
.del-lead strong { color: var(--danger); font-weight: var(--fw-bold); }

.del-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); margin: 0; padding: 0; }
.del-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 11px var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text);
}
.del-list__ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
}
.del-list__ic svg { width: 17px; height: 17px; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: clamp(var(--sp-8), 9vw, 76px) var(--sp-4);
}

.empty-state__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: var(--sp-5);
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 25%, rgba(var(--accent-rgb), .20), rgba(var(--accent-rgb), .06) 70%);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .22);
}

.empty-state__icon::before,
.empty-state__icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), .18);
  pointer-events: none;
}

.empty-state__icon::before { inset: -11px; opacity: .9; }
.empty-state__icon::after { inset: -24px; border-color: rgba(var(--accent-rgb), .09); }
.empty-state__icon svg { width: 36px; height: 36px; position: relative; }

.empty-state__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -.01em;
  color: var(--text);
}

.empty-state__text {
  max-width: 360px;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}

.empty-state__action { margin-top: var(--sp-4); }

@media (prefers-reduced-motion: no-preference) {
  .empty-state__icon { animation: emptyPop .5s cubic-bezier(.22, 1, .36, 1) both; }
  .empty-state__icon::after { animation: emptyPulse 3s ease-in-out infinite; }
}

@keyframes emptyPop {
  from { opacity: 0; transform: scale(.82); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes emptyPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.08); opacity: .12; }
}

@media (max-width: 600px) {
  .empty-state { margin-top: var(--sp-10); padding: var(--sp-7) var(--sp-3); }
  .empty-state__icon { width: 72px; height: 72px; margin-bottom: var(--sp-4); }
  .empty-state__icon svg { width: 30px; height: 30px; }
  .empty-state__title { font-size: var(--fs-lg); }
  .empty-state__text { font-size: var(--fs-sm); }
}

.cred-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.cred-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.cred-row:hover { border-color: var(--border-strong); }
.cred-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cred-row__k {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: var(--fw-medium);
}
.cred-row__v {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
  word-break: break-all;
}
.cred-row__v--mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.cred-row__copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.cred-row__copy:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.cred-row__copy svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.cred-row__copy svg:nth-child(2) { display: none; }
.cred-row__copy.is-copied { color: var(--accent); border-color: transparent; background: var(--accent-soft); }
.cred-row__copy.is-copied svg:nth-child(1) { display: none; }
.cred-row__copy.is-copied svg:nth-child(2) { display: block; animation: credCheck var(--transition) ease; }
@keyframes credCheck { from { transform: scale(0.6); opacity: 0; } }

.row-actions { position: relative; display: inline-flex; }
.row-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.row-actions__btn svg { width: 20px; height: 20px; }
.row-actions__btn:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border); }
.row-actions .dropdown { z-index: 60; min-width: 210px; }

.row-actions .dropdown:not(.is-open) { display: none; }
.dropdown__item--warning { color: var(--warning); }
.dropdown__item--warning:hover { background: var(--warning-soft); color: var(--warning); }
.dropdown__item--success { color: var(--success); }
.dropdown__item--success:hover { background: var(--success-soft); color: var(--success); }
.dropdown__item--danger { color: var(--danger); }
.dropdown__item--danger:hover { background: var(--danger-soft); color: var(--danger); }
.dropdown__item:disabled { opacity: 0.4; cursor: not-allowed; }
.dropdown__item:disabled:hover { background: transparent; color: inherit; }

.record-card__head--user { align-items: center; }
.record-card__head--user .tbl-user { min-width: 0; }
.record-card__head--user .tbl-user__name,
.record-card__head--user .tbl-user__mail { overflow: hidden; text-overflow: ellipsis; }

.act-desc--login::before    { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.act-desc--password::before { background: var(--info);    box-shadow: 0 0 0 3px var(--info-soft); }
.act-desc--balance::before  { background: var(--accent);  box-shadow: 0 0 0 3px var(--accent-soft); }
.act-desc--order::before    { background: var(--warning); box-shadow: 0 0 0 3px var(--warning-soft); }
.act-desc--logout::before   { background: var(--danger);  box-shadow: 0 0 0 3px var(--danger-soft); }

.tbl-user { display: inline-flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.tbl-user__meta { display: inline-flex; flex-direction: column; gap: 1px; min-width: 0; }
.tbl-user__name { font-weight: var(--fw-semibold); color: var(--text); white-space: nowrap; line-height: 1.3; }
.tbl-user__mail { font-size: var(--fs-xs); color: var(--text-secondary); white-space: nowrap; }
.tbl-device { display: inline-flex; align-items: center; gap: 7px; color: var(--text-secondary); white-space: nowrap; }
.tbl-device svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }

.table--sticky-end thead th:last-child,
.table--sticky-end tbody tr:not(.elog-detail) td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
}

.elog-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition-fast); }
.elog-row.is-open .elog-chev { transform: rotate(180deg); }
.elog-timecell { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-3); }

.table--orders tbody tr.elog-detail { box-shadow: none; }
.elog-detail td { padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }

.elog-detail__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  margin: calc(var(--sp-1) * -1) 0 var(--sp-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}

.elog-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 0;
}

.elog-field:has(.elog-trace) {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.elog-flabel {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.elog-fvalue { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--text-secondary); word-break: break-word; overflow-wrap: anywhere; }

.elog-trace {
  margin: 0;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
  max-width: 100%;
}

.record-card .record-card__row {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.record-card .record-card__row:first-of-type { padding-top: 7px; }
.record-card .record-card__row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.record-card .record-card__row .label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; }

.elog-mdetails {
  margin-top: var(--sp-3);
}

.elog-mdetails summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  width: 100%;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.elog-mdetails summary::-webkit-details-marker { display: none; }
.elog-mdetails summary:hover { background: var(--surface-hover); border-color: var(--accent); }
.elog-mdetails summary:focus,
.elog-mdetails summary:focus-visible { outline: none; }
.elog-mdetails summary svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition-fast); color: var(--text-muted); }
.elog-mdetails[open] summary {
  background: var(--surface-hover);
  border-color: var(--border);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.elog-mdetails[open] summary svg { transform: rotate(180deg); }

.elog-mpanel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 0;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  min-width: 0;
}

@media (max-width: 560px) {
.logs__toolbar { padding: var(--sp-3) var(--sp-4); gap: var(--sp-2); }
.logs__search { flex-basis: 100%; }
.logs__toolbar .segment { display: flex; width: 100%; }
.logs__toolbar .segment button { flex: 1; text-align: center; }
.logs__select { flex: 1 1 0; min-width: 0; }
.logs__select select { width: 100%; }
.logs__filter { flex: 1 1 0; min-width: 0; justify-content: center; }
}

.wlt-who {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 38px;
  padding: 0 12px 0 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.wlt-who .avatar { width: 28px; height: 28px; border-radius: 50%; font-size: 11px; box-shadow: none; }
.wlt-who__name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); white-space: nowrap; }

.net-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.net-badge img { width: 14px; height: 14px; object-fit: contain; }
.net-badge--trc { background: var(--danger-soft); border-color: rgba(214, 57, 57, 0.28); color: var(--danger); }
.net-badge--bep { background: rgba(240, 185, 11, 0.14); border-color: rgba(240, 185, 11, 0.30); color: #c8920a; }
[data-bs-theme="dark"] .net-badge--bep { color: #f0b90b; }

.wlt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.wlt-tile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.wlt-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }

.wlt-tile__top { display: flex; align-items: center; gap: var(--sp-3); }
.wlt-tile__coin {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.wlt-tile__coin img { width: 100%; height: 100%; object-fit: contain; }
.wlt-tile__net { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wlt-tile__net strong { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text); }
.wlt-tile__net small { font-size: var(--fs-xs); color: var(--text-secondary); }

.wlt-tile__state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.wlt-tile__state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.wlt-tile__state--on { background: var(--success-soft); color: var(--success); }
.wlt-tile__state--on::before { background: var(--success); }
.wlt-tile__state--off { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.wlt-tile__state--off::before { background: var(--text-muted); }

.wlt-tile__bal { display: flex; align-items: baseline; gap: 5px; }
.wlt-tile__amt { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-bold); color: var(--text); font-variant-numeric: tabular-nums; line-height: 1; }
.wlt-tile__cur { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-secondary); }
.wlt-tile--empty .wlt-tile__amt { color: var(--text-muted); }

.wlt-tile__addr {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 6px 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.wlt-tile__addr-val { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlt-tile__addr-val--empty { font-family: var(--font-sans); color: var(--text-muted); }

.wlt-copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}
.wlt-copy:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.wlt-copy svg { width: 16px; height: 16px; }
.wlt-copy .ic-off, .wlt-copy .ic-check { display: none; }
.wlt-copy.is-revealed .ic-on { display: none; }
.wlt-copy.is-revealed .ic-off { display: block; }
.wlt-copy.is-copied { color: var(--success); border-color: transparent; background: var(--success-soft); }
.wlt-copy.is-copied .ic-copy { display: none; }
.wlt-copy.is-copied .ic-check { display: block; }

.wlt-gen {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.wlt-gen:hover { background: var(--accent); color: var(--accent-contrast); }
.wlt-gen svg { width: 15px; height: 15px; }

.wlt-key {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
}
.wlt-key__ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
}
.wlt-key__ic svg { width: 19px; height: 19px; }
.wlt-key__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wlt-key__label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text); text-transform: uppercase; letter-spacing: 0.03em; }
.wlt-key__hint { font-family: var(--font-sans); font-weight: var(--fw-medium); color: var(--danger); text-transform: none; letter-spacing: 0; }
.wlt-key__val { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlt-key__val.is-masked { letter-spacing: 0.14em; color: var(--text-secondary); }
.wlt-key__acts { display: inline-flex; gap: var(--sp-2); flex-shrink: 0; }

.tx-cell { display: flex; align-items: center; gap: var(--sp-3); }
.tx-av {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.tx-av img { width: 100%; height: 100%; object-fit: contain; }
.tx-cell__main { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.tx-sender { font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-txid { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tx-amount { font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; color: var(--success); white-space: nowrap; }
.tx-amount__cur { color: var(--text-muted); font-size: var(--fs-xs); margin-left: 3px; font-weight: var(--fw-medium); }

.tx-date { display: inline-flex; flex-direction: column; align-items: flex-end; font-size: var(--fs-sm); color: var(--text); line-height: 1.3; white-space: nowrap; }
.tx-date small { font-size: var(--fs-xs); color: var(--text-muted); }
.tx-when { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }

.wlt-txcard { display: flex; align-items: center; gap: var(--sp-3); }
.wlt-txcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wlt-txcard__r { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-width: 0; }
.wlt-txcard .tx-sender { max-width: 50vw; }

@media (max-width: 768px) {
  .wlt-grid { grid-template-columns: 1fr; }
}

.fw-semibold { font-weight: var(--fw-semibold); }
.btn--sm { height: 34px; padding: 0 var(--sp-3); font-size: var(--fs-xs); }

.btn--warning {
  background: var(--warning);
  color: #fff;
  border: 1px solid transparent;
}
.btn--warning:hover { filter: brightness(0.94); }

.ord-toolbar .logs__select select { min-width: 168px; }

@media (max-width: 900px) {
  .ord-toolbar {
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-3);
    align-items: stretch;
  }
  .ord-toolbar .logs__search {
    flex: 1 1 100%;
    min-width: 0;
  }
  .ord-toolbar .logs__select {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
  .ord-toolbar .logs__select select {
    width: 100%;
    min-width: 0;
  }
  .ord-toolbar .logs__filter {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }
  .svc-toolbar .logs__search-input,
  .svc-toolbar .logs__select select,
  .svc-toolbar .logs__filter { height: 44px; min-height: 44px; }
  .svc-toolbar .logs__search-input { font-size: 16px; }
  .svc-toolbar .logs__filter { font-size: var(--fs-sm); }
}

.order-link { color: var(--text); white-space: nowrap; }
.order-link__a { color: inherit; text-decoration: none; }
.order-link__a:hover .order-link__id { text-decoration: none; }
.order-link__site { font-weight: var(--fw-bold); color: var(--text); }
.order-link__id { color: var(--accent); font-weight: var(--fw-medium); }

.rem-strong { color: var(--text); font-weight: var(--fw-bold); }
.td-amount { color: var(--text); font-weight: var(--fw-bold); }

.order-detail-btn svg { width: 15px; height: 15px; }

.ord-tag-comp {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: var(--radius-full, 999px);
  background: var(--success-soft);
  color: var(--success);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  vertical-align: 1px;
}

.ord-thead,
.ord-card__row {
  display: grid;
  grid-template-columns: 84px minmax(130px, 1.25fr) minmax(190px, 1.1fr) minmax(84px, 0.5fr) minmax(76px, 0.5fr) minmax(150px, 1fr) minmax(140px, 150px);
  gap: var(--sp-6);
  align-items: center;
}

.ord-thead {
  padding: 11px var(--sp-5);
  margin-bottom: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ord-thead span {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-secondary); font-weight: var(--fw-semibold);
}
.ord-th--end { text-align: right; }
.ord-th--center { text-align: center; }
.ord-cell--start { text-align: center; }

.ord-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.ord-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ord-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }

.ord-card__row { padding: 13px var(--sp-5); }
.ord-card__row > .ord-cell { min-width: 0; font-size: var(--fs-sm); color: var(--text); }
.ord-cell--link { white-space: nowrap; }
.ord-cell--link .order-link__a { display: inline; }
.ord-cell--link .order-link__id { display: inline; }
.ord-cell--qty { white-space: nowrap; text-align: center; }
.ord-cell--status { text-align: right; }
.ord-card__row .order-status { color: var(--text); }
.ord-cell--status .order-status { justify-content: flex-end; }

.ord-copy-id { cursor: pointer; }

.ord-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
  padding: 10px var(--sp-5);
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 0 0 var(--radius) var(--radius);
}
.ord-bayi { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--sp-5); min-width: 0; }
.ord-bayi__item { font-size: var(--fs-xs); color: var(--text-secondary); white-space: nowrap; min-width: 0; }
.ord-bayi__item .label { color: var(--text-muted); }
.ord-bayi__item b { color: var(--text); font-weight: var(--fw-semibold); }

.ord-foot__acts { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.ord-foot__acts .btn { height: 30px; padding: 0 11px; font-size: var(--fs-xs); border-radius: var(--radius-sm); }
.ord-foot__acts .btn svg { width: 14px; height: 14px; }
.ord-foot__acts .ord-kebab,
.ord-foot__acts .ord-decrement-btn { width: 30px; height: 30px; }
.ord-foot__acts .ord-kebab svg,
.ord-foot__acts .ord-decrement-btn svg { width: 16px; height: 16px; }

.ord-menu { position: relative; }
.ord-kebab {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ord-kebab svg { width: 18px; height: 18px; }
.ord-kebab:hover,
.ord-kebab.is-open { background: var(--surface-hover); color: var(--text); border-color: var(--accent); }

.ord-link-copy svg { width: 17px; height: 17px; }
.ord-link-copy .ord-link-copy__ok { display: none; }
.ord-link-copy:hover,
.ord-link-copy:focus-visible { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); outline: none; }
.ord-link-copy:active { transform: scale(0.94); }
.ord-link-copy.is-copied { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, var(--border-strong)); }
.ord-link-copy.is-copied .ord-link-copy__ic { display: none; }
.ord-link-copy.is-copied .ord-link-copy__ok { display: block; }
.ord-menu .dropdown { min-width: 190px; z-index: 60; }
.ord-menu .dropdown__item .order-status { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text); }
.ord-menu--up .dropdown { top: auto; bottom: calc(100% + 6px); }

.ord-card:has(.dropdown.is-open),
.ord-mcard:has(.dropdown.is-open) { z-index: 40; }

@keyframes ordNewIn {
  0%   { opacity: 0; transform: translateY(-12px) scale(0.985); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ordNewGlow {
  0%   { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 10px 26px rgba(var(--accent-rgb), 0.18); }
  70%  { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 10px 26px rgba(var(--accent-rgb), 0.10); }
  100% { border-color: var(--border); box-shadow: var(--shadow-sm); }
}
.ord-card.is-ord-new,
.ord-mcard.is-ord-new {
  animation: ordNewIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both, ordNewGlow 2.2s ease 0.12s both;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .ord-card.is-ord-new,
  .ord-mcard.is-ord-new { animation: ordNewGlow 1.2s ease both; }
}

.ord-mcards { display: none; }

.ord-mcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ord-mcard__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.ord-mcard__bayi { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ord-mcard__name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); line-height: 1.3; }
.ord-mcard__mail { font-size: var(--fs-xs); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.ord-mcard__id { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text); white-space: nowrap; flex-shrink: 0; align-self: center; }

.ord-mcard__body { padding: 2px var(--sp-4); }
.ord-mrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ord-mrow:last-child { border-bottom: 0; }
.ord-mrow__k { font-size: var(--fs-sm); color: var(--text-secondary); flex-shrink: 0; }
.ord-mrow__v {
  font-size: var(--fs-sm); color: var(--text); font-weight: var(--fw-semibold);
  text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.ord-mrow__v.order-link { white-space: nowrap; }
.ord-mrow__v--link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(72%, 240px);
}
.ord-mrow__v--link .order-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ord-link-copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .12s ease;
}
.ord-link-copy svg { width: 15px; height: 15px; }
.ord-link-copy:hover,
.ord-link-copy:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}
.ord-link-copy:active { transform: scale(0.94); }
.ord-link-copy.is-copied {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 35%, var(--border));
  background: var(--success-soft);
}
.ord-mrow__v .order-status { justify-content: flex-end; color: var(--text); }
.ord-mrow__spark { color: var(--warning); vertical-align: -2px; }
.ord-mrow__spark svg { width: 14px; height: 14px; display: inline-block; }

.ord-mcard__acts { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4) var(--sp-3); }
.ord-mcard__acts .btn { flex: 1; height: 38px; font-size: var(--fs-sm); }
.ord-mcard__acts .btn svg { width: 16px; height: 16px; }
.ord-mcard__acts .ord-kebab,
.ord-mcard__acts .ord-decrement-btn { width: 38px; height: 38px; flex-shrink: 0; }

@media (max-width: 900px) {
  .ord-thead,
  .ord-list { display: none; }
  .ord-mcards { display: flex; flex-direction: column; gap: var(--sp-3); }
}

.od-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  margin-bottom: var(--sp-3);
}
.od-field__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.od-field__value { font-weight: var(--fw-semibold); color: var(--text); word-break: break-word; min-width: 0; }
.od-field__sub { font-size: var(--fs-xs); color: var(--text-secondary); word-break: break-word; }
.od-field__link { color: var(--text); min-width: 0; max-width: 100%; }
.od-field__link .order-link__a { display: block; max-width: 100%; color: var(--accent); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-field__link .order-link__a:hover { text-decoration: none; }
.od-field--status { align-items: flex-end; text-align: right; }
.od-field--status .order-status { color: var(--text); }

.od-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.od-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.od-cell__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.od-cell__value { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--text); }

.od-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.od-split .od-field { margin-bottom: var(--sp-3); }

.od-grid--2 { grid-template-columns: 1fr 1fr; }
.od-grid--1 { grid-template-columns: 1fr; }
.od-cell--id { display: none; }
.pfield__input[type="number"] { padding-right: 14px; }

[data-ord-dec-modal] .od-grid { grid-template-columns: 1fr; }
[data-ord-dec-modal] .od-cell {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
}
[data-ord-dec-modal] .od-cell__value { font-size: var(--fs-md); }
[data-ord-dec-modal] .od-cell__label { color: var(--text-secondary); }

.dc-modes {
  display: flex;
  width: 100%;
  gap: 5px;
  padding: 5px;
  margin-bottom: var(--sp-4);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}
.dc-mode {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.dc-mode svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
  transition: transform var(--transition-fast);
}
.dc-mode:not(.is-active):hover {
  color: var(--text);
  background: var(--surface-hover);
}
.dc-mode:active { transform: translateY(1px); }
.dc-mode--dec.is-active {
  background: linear-gradient(180deg, rgba(var(--danger-rgb), 0.95), var(--danger));
  border-color: rgba(var(--danger-rgb), 0.9);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--danger-rgb), 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.dc-mode--inc.is-active {
  background: linear-gradient(180deg, rgba(var(--success-rgb), 0.95), var(--success));
  border-color: rgba(var(--success-rgb), 0.9);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--success-rgb), 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.dc-mode.is-active svg { transform: scale(1.08); }

[data-ord-dec-modal] [data-dc-submit] {
  background: var(--danger);
  border-color: var(--danger);
  box-shadow: 0 4px 14px rgba(var(--danger-rgb), 0.3);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
[data-ord-dec-modal] [data-dc-submit]:hover { background: #c02f2f; border-color: #c02f2f; }
[data-ord-dec-modal].dc-is-inc [data-dc-submit] {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 4px 14px rgba(var(--success-rgb), 0.3);
}
[data-ord-dec-modal].dc-is-inc [data-dc-submit]:hover { background: #28a03c; border-color: #28a03c; }
.pfield__hint { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-muted); }
.pfield__hint b { color: var(--text-secondary); font-weight: var(--fw-semibold); }

.comments-list { display: flex; flex-direction: column; gap: var(--sp-2); max-height: 360px; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.comment-item { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s ease, background .15s ease; }
.comment-item:hover { border-color: var(--border-strong); background: var(--surface); }
.comment-item__num { flex-shrink: 0; min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); font-weight: var(--fw-bold); font-size: var(--fs-xs); }
.comment-item__text { color: var(--text); font-size: var(--fs-sm); line-height: 1.55; word-break: break-word; padding-top: 1px; }
.comments-empty { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); padding: var(--sp-8) var(--sp-4); text-align: center; }
.comments-empty__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); }
.comments-empty__icon svg { width: 24px; height: 24px; }
.comments-empty__title { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--text-secondary); }
.comments-empty__text { font-size: var(--fs-sm); color: var(--text-muted); }
.pfield__input[type="search"] { padding-right: 14px; }
.pfield__input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; height: 16px; width: 16px; cursor: pointer; background: currentColor; color: var(--text-muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12' stroke='%23000' stroke-width='2.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12' stroke='%23000' stroke-width='2.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat; }
.pfield__input[type="search"]::-webkit-search-cancel-button:hover { color: var(--text); }

@media (max-width: 560px) {

  .od-grid,
  .od-split {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--sp-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    overflow: hidden;
  }
  .od-cell,
  .od-split .od-field {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .od-cell + .od-cell,
  .od-split .od-field + .od-field { border-top: 1px solid var(--border); }
  .od-cell__label,
  .od-split .od-field__label {
    font-size: 0.7rem;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .od-cell__value,
  .od-split .od-field__value {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-align: right;
  }
  .od-field--status { align-items: center; text-align: right; }
  .od-split .order-status { font-size: var(--fs-sm); }
  .od-split .od-field__sub { text-align: right; }
  #ord-detail-title [data-od-id] { display: none; }
  .od-cell--id { display: flex; }

  #ord-dec-title .dc-title-id { display: none; }
  [data-ord-dec-modal] .od-grid {
    gap: var(--sp-2);
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  [data-ord-dec-modal] .od-cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
  }
  [data-ord-dec-modal] .od-cell + .od-cell { border-top: 1px solid var(--border); }
}

.btn--icon { width: 40px; min-width: 40px; padding: 0; flex-shrink: 0; }
.btn--icon svg { width: 17px; height: 17px; }

.pfield__control--plain .pfield__input,
.pfield__control--select .pfield__input { padding-left: 14px; }
.pfield__control--plain .pfield__textarea { padding-left: 14px; padding-right: 14px; }

.svc-toolbar .logs__select select { min-width: 220px; }

.svc-wrap { display: flex; flex-direction: column; gap: var(--sp-6); margin-top: var(--sp-2); }

.svc-cat { display: flex; flex-direction: column; }

.svc-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-3);
}
.svc-cat__title { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.svc-cat__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(var(--accent-rgb), 0.6);
}
.svc-cat__icon svg { width: 21px; height: 21px; }
.svc-cat__name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--text); line-height: 1.2; }
.svc-cat__acts { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }

.svc-cat__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-8) var(--sp-4);
  text-align: center;
  color: var(--text-muted);
}
.svc-cat__empty svg { width: 34px; height: 34px; color: var(--text-muted); }
.svc-cat__empty p { font-size: var(--fs-sm); color: var(--text-secondary); }

.svc-thead,
.svc-card__row {
  display: grid;
  grid-template-columns: 56px minmax(200px, 2.8fr) minmax(96px, 0.82fr) minmax(84px, 0.78fr) minmax(104px, 0.82fr) minmax(112px, 0.86fr) 72px;
  gap: var(--sp-4);
  align-items: center;
}

.svc-thead {
  padding: 11px var(--sp-5);
  margin-bottom: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.svc-thead span {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-secondary); font-weight: var(--fw-semibold);
}
.svc-th--num { text-align: center; }
.svc-th--center { text-align: center; }
.svc-th--end { text-align: right; }

.svc-id {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1;
}
.svc-id__hash {
  margin-right: 1px;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.svc-list { display: flex; flex-direction: column; gap: var(--sp-3); }

.svc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.svc-card__row { padding: 11px var(--sp-5); }
.svc-card__row > .svc-cell { min-width: 0; font-size: var(--fs-sm); color: var(--text); }
.svc-cell--name { font-size: var(--fs-md); font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-cell--num { text-align: center; font-weight: var(--fw-semibold); white-space: nowrap; }
.svc-cell--acts { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-2); }

.svc-cell--status { display: flex; justify-content: center; }
.svc-cell--status .order-status { font-size: var(--fs-sm); }
.svc-card:has(.dropdown.is-open),
.svc-mcard:has(.dropdown.is-open),
.svc-cat__head:has(.dropdown.is-open) { z-index: 40; position: relative; }

.svc-mcard {
  display: none;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.svc-mcard__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border);
}
.svc-mrow__v--name { font-weight: var(--fw-semibold); color: var(--text); text-align: right; white-space: normal; }
.svc-mcard__body { padding: 2px var(--sp-4) var(--sp-3); }
.svc-mrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.svc-mrow:last-child { border-bottom: 0; }
.svc-mrow__k { font-size: var(--fs-base); color: var(--text-secondary); flex-shrink: 0; }
.svc-mrow__v { font-size: var(--fs-base); color: var(--text); font-weight: var(--fw-semibold); text-align: right; min-width: 0; }

@media (max-width: 1100px) {
  .svc-thead,
  .svc-card__row {
    grid-template-columns: 52px minmax(150px, 2fr) minmax(88px, 1fr) minmax(78px, 1fr) minmax(96px, 1fr) minmax(110px, 1fr) 64px;
    gap: var(--sp-3);
  }
}

@media (max-width: 900px) {
  .svc-thead,
  .svc-card { display: none; }
  .svc-mcard { display: block; }
  .svc-list { gap: var(--sp-3); }

  .svc-cat__head { flex-direction: row; align-items: center; gap: var(--sp-3); }
  .svc-cat__title { min-width: 0; flex: 1 1 auto; }

  .svc-cat__acts { display: flex; align-items: center; gap: var(--sp-2); flex: 0 0 auto; }
  .svc-cat__acts .row-actions { flex: 0 0 auto; }
}

.pfield__opt { font-weight: var(--fw-normal); font-size: var(--fs-xs); color: var(--text-muted); }
.pfield__textarea { min-height: 96px; padding-top: 10px; padding-bottom: 10px; line-height: 1.5; resize: vertical; }
.pfield__control--select { position: relative; }
.pfield__select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 40px; cursor: pointer; }
.pfield__caret { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }

[data-svc-modal] .pfield__textarea { min-height: 170px; resize: vertical; }
[data-svc-desc-modal] .pfield__textarea { min-height: 210px; resize: vertical; }
.svc-form-grid { display: grid; gap: var(--sp-3); }
.svc-form-grid > * { min-width: 0; }
.svc-form-grid--2 { grid-template-columns: 1fr 1fr; }
.svc-form-grid--half { grid-template-columns: 1fr 1fr; }

.svc-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.svc-icon-opt { position: relative; cursor: pointer; }
.svc-icon-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.svc-icon-opt__box {
  display: grid; place-items: center;
  height: 56px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text-secondary);
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.svc-icon-opt__box svg { width: 24px; height: 24px; }
.svc-icon-opt__label { display: block; text-align: center; margin-top: 4px; font-size: var(--fs-xs); color: var(--text-muted); }
.svc-icon-opt input:checked ~ .svc-icon-opt__box { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.svc-icon-opt input:checked ~ .svc-icon-opt__label { color: var(--accent); font-weight: var(--fw-semibold); }

.svc-price-results { display: flex; flex-direction: column; gap: var(--sp-2); }
.svc-price-results:empty { display: none; }

.svc-price-section { display: flex; flex-direction: column; gap: var(--sp-2); }
.svc-price-section__title {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}

.svc-price-item .avatar { width: 38px; height: 38px; font-size: var(--fs-sm); }

.svc-price-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.svc-price-item {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2);
  transition: border-color .15s ease, background .15s ease;
  min-width: 0;
  max-width: 100%;
}
.svc-price-item:hover { border-color: var(--border-strong); background: var(--surface); }
.svc-price-item__info { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; flex: 1; }
.svc-price-item__meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.svc-price-item__name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-price-item__mail { font-size: var(--fs-xs); color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-price-item__side { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; min-width: 0; }
.svc-price-item__val { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--text); }
.svc-price-input { position: relative; width: 116px; min-width: 0; }
.svc-price-input .svc-bayi-price {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 28px 0 12px;
  text-align: right;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-price-input .svc-bayi-price::placeholder { color: var(--text-muted); font-weight: var(--fw-normal); }
.svc-price-input .svc-bayi-price:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.svc-price-input__cur { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: var(--fs-sm); pointer-events: none; }
.svc-price-hint { font-size: var(--fs-sm); color: var(--text-muted); text-align: center; padding: var(--sp-3) 0; }

.svc-del-target {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  padding: var(--sp-4);
  border: 1px solid rgba(var(--danger-rgb), 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--danger-soft), rgba(var(--danger-rgb), 0.03));
  text-align: center;
}
.svc-del-target__meta { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; max-width: 100%; }
.svc-del-target__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; font-weight: var(--fw-semibold); color: var(--danger); }
.svc-del-target__name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.modal--confirm .modal__head { text-align: left; }
.modal--confirm .modal__head > div { min-width: 0; }

.fin-confirm {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  background: linear-gradient(180deg, rgba(var(--success-rgb), 0.10), rgba(var(--success-rgb), 0.04));
  border: 1px solid rgba(var(--success-rgb), 0.26);
  border-radius: var(--radius);
}
.fin-confirm__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(var(--success-rgb), 0.18);
  color: #2f9e46;
  box-shadow: inset 0 0 0 1px rgba(var(--success-rgb), 0.25);
}
.fin-confirm__icon svg { width: 22px; height: 22px; }
.fin-confirm__body { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.fin-confirm__title {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: 1.5;
  text-wrap: balance;
}
.fin-confirm__title strong { color: #2f9e46; font-weight: var(--fw-bold); white-space: nowrap; }
.fin-confirm__note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(var(--success-rgb), 0.18);
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-secondary);
}
.fin-confirm__note svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-muted); }
.fin-confirm__note strong { color: var(--text); font-weight: var(--fw-semibold); }

.modal__foot .fin-confirm-btn { flex: 1.6; box-shadow: 0 8px 20px -8px rgba(var(--success-rgb), 0.75); }
@media (max-width: 540px) {
  .modal__foot .fin-confirm-btn { flex: 0 0 auto; }
}
.fin-confirm-btn__ico { width: 18px; height: 18px; }
.fin-confirm-btn.is-loading .fin-confirm-btn__ico { display: none; }

.usr-status-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-alt, rgba(255,255,255,0.02)), transparent);
}
.usr-status-target__avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--accent-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.32);
}
.usr-status-target__meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 3px; min-width: 0; }
.usr-status-target__name {
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-bold);
  color: var(--text); line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.usr-status-target__mail {
  font-size: var(--fs-sm); color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.usr-status-target__mail:empty { display: none; }

.usr-status-lead {
  font-size: var(--fs-sm); line-height: 1.55; text-align: center;
  margin: var(--sp-4) 0 0; color: var(--text-secondary);
}

.modal--del .del-lead { font-size: var(--fs-sm); text-align: center; margin: 0 0 var(--sp-3); color: var(--text-secondary); }
.modal--del .del-list li { justify-content: center; font-size: var(--fs-sm); font-weight: var(--fw-normal); padding: 10px var(--sp-3); }
.modal--del .del-list__ic { width: 30px; height: 30px; }
.modal--del .del-list__ic svg { width: 15px; height: 15px; }

.modal--cred .cred-lang { margin-bottom: var(--sp-4); }
.cred-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.cred-row {
  display: flex; align-items: center; gap: var(--sp-3); width: 100%;
  text-align: left; padding: 10px var(--sp-3);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-alt, rgba(255, 255, 255, 0.02)); color: var(--text);
  cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .06s ease;
}
.cred-row:hover { border-color: var(--accent); background: var(--accent-soft); }
.cred-row:active { transform: scale(0.995); }
.cred-row__ic {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
}
.cred-row__ic svg { width: 19px; height: 19px; }
.cred-row__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cred-row__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.cred-row__value {
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.cred-row__value--mono { font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Menlo, monospace); letter-spacing: 0.02em; }
.cred-row__copy {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: var(--radius); color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.cred-row__copy svg { width: 16px; height: 16px; }
.cred-row:hover .cred-row__copy { color: var(--accent); }
.modal--cred .btn--success svg { width: 17px; height: 17px; }

@media (max-width: 600px) {
  .svc-form-grid--2 { grid-template-columns: 1fr; }
  .svc-form-grid--half { gap: var(--sp-2); }
  .svc-icon-grid { grid-template-columns: repeat(3, 1fr); }

  .svc-price-results .svc-price-item {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    padding: var(--sp-3);
  }
  .svc-price-results .svc-price-item__info { width: 100%; min-width: 0; gap: var(--sp-3); }
  .svc-price-results .svc-price-item__name,
  .svc-price-results .svc-price-item__mail {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .svc-price-results .svc-price-item__side {
    display: flex;
    width: 100%;
    gap: var(--sp-2);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--border);
  }
  .svc-price-results .svc-price-input { flex: 1; width: auto; }
  .svc-price-results .svc-price-input .svc-bayi-price { height: 42px; font-size: 16px; }
  .svc-price-results .svc-price-add.btn--icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .svc-toolbar { flex-direction: column; align-items: stretch; }
  .svc-toolbar .logs__select select { min-width: 0; width: 100%; }
  .svc-toolbar .logs__search-input,
  .svc-toolbar .logs__select select,
  .svc-toolbar .logs__filter { height: 44px; min-height: 44px; }
}

.ustat-head { align-items: center; }
.ustat-head .page-title { align-items: center; }

.page-title__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

@media (max-width: 768px) {
  .ustat-head { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .ustat-head .page-title { width: 100%; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: var(--sp-3); }
  .ustat-head .page-title__avatar { width: 44px; height: 44px; flex-shrink: 0; }
  .ustat-head .page-title__text { text-align: left; align-items: flex-start; min-width: 0; }
  .ustat-head .page-header__title { font-size: var(--fs-lg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .ustat-head .page-header__desc { text-align: left; }
  .ustat-head .page-header__actions { width: 100%; display: flex; flex-direction: column-reverse; gap: var(--sp-2); }
  .ustat-head .page-header__actions .btn { width: 100%; height: 44px; padding: 0 var(--sp-3); justify-content: center; }
}

.summary-card__tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 999px; background: var(--danger); color: #fff;
  font-size: 11px; font-weight: var(--fw-bold); line-height: 1;
}
.summary-card__tag[hidden] { display: none; }

.fin-thead,
.fin-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.8fr) minmax(110px, 1fr) minmax(90px, 0.9fr) minmax(180px, 2fr) minmax(120px, 1fr) 96px;
  gap: var(--sp-6);
  align-items: center;
}

.fin-thead {
  padding: 11px var(--sp-5);
  margin-bottom: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.fin-thead span {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-secondary); font-weight: var(--fw-semibold);
}
.fin-th--amount { text-align: center; }
.fin-th--center { text-align: center; }
.fin-th--status { text-align: center; }
.fin-th--acts { text-align: right; }

.fin-list { display: flex; flex-direction: column; gap: var(--sp-3); }

.fin-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fin-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.fin-item--pending { background: color-mix(in srgb, var(--warning) 5%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 26%, var(--border)); }
.fin-row { padding: 13px var(--sp-5); }
.fin-cell { min-width: 0; font-size: var(--fs-sm); color: var(--text); }

.fin-type { display: inline-flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.fin-type__ico {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 10px; display: grid; place-items: center;
}
.fin-type__ico svg { width: 18px; height: 18px; }
.fin-type__ico--in     { background: rgba(var(--success-rgb), 0.14); color: #2f9e46; }
.fin-type__ico--out    { background: rgba(var(--danger-rgb), 0.14); color: #d43b3b; }
.fin-type__ico--bonus  { background: rgba(var(--warning-rgb), 0.16); color: #d9920f; }
.fin-type__ico--crypto { background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.fin-type__label { font-weight: var(--fw-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fin-cell--date { text-align: center; }
.fin-date { display: inline-flex; align-items: center; color: var(--text); font-weight: var(--fw-medium); white-space: nowrap; }

.fin-cell--amount { text-align: center; font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.fin-amt { font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }

.fin-cell--desc { text-align: center; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fin-status { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); white-space: nowrap; }
.fin-status--warning { background: rgba(var(--warning-rgb), 0.16); color: #d9920f; }
.fin-status--success { background: rgba(var(--success-rgb), 0.14); color: #2f9e46; }
.fin-cell--status { display: flex; justify-content: center; }

.fin-cell--acts { display: flex; justify-content: flex-end; align-items: center; }
.fin-none { color: var(--text-muted); font-weight: var(--fw-semibold); }
.fin-approve-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-radius: 9px; border: 0; cursor: pointer;
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); line-height: 1;
  color: #fff; background: linear-gradient(135deg, #2fae52 0%, #1f9440 100%);
  box-shadow: 0 4px 12px -4px rgba(var(--success-rgb), 0.6);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.fin-approve-btn svg { width: 15px; height: 15px; }
.fin-approve-btn:hover { filter: brightness(1.05); box-shadow: 0 6px 16px -4px rgba(var(--success-rgb), 0.7); }
.fin-approve-btn:active { transform: scale(0.96); }
.fin-approve-btn.is-loading { opacity: .7; pointer-events: none; }
.fin-approve-btn--block { width: 100%; height: 42px; justify-content: center; font-size: var(--fs-sm); }

.fin-mcard { display: none; padding: var(--sp-4); }
.fin-mcard__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-bottom: var(--sp-3); margin-bottom: var(--sp-3); border-bottom: 1px solid var(--border); }
.fin-mcard__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 4px 0; }
.fin-mcard__k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: var(--fw-semibold); }
.fin-mcard__v { font-size: var(--fs-sm); color: var(--text); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fin-mcard__acts { margin-top: var(--sp-3); }

@media (max-width: 900px) {
  .fin-thead { display: none; }
  .fin-row { display: none; }
  .fin-mcard { display: block; }
}

.crypto-wallets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.cwallet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cwallet__head { display: flex; align-items: center; gap: var(--sp-3); }
.cwallet__coin { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.cwallet__coin > img { width: 46px; height: 46px; border-radius: 50%; display: block; }
.cwallet__chip {
  position: absolute; right: -3px; bottom: -3px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--surface); background: var(--surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.cwallet__chip img { width: 100%; height: 100%; border-radius: 50%; display: block; }

.cwallet__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cwallet__net { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--text); line-height: 1; }
.cwallet__badge {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .02em;
}
.cwallet__badge--trc20 { background: rgba(235, 0, 41, 0.12); color: #eb0029; }
.cwallet__badge--bep20 { background: rgba(240, 185, 11, 0.18); color: #b58600; }

.cwallet__balance { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cwallet__amount { font-size: var(--fs-2xl, 1.85rem); font-weight: var(--fw-bold); color: var(--text); font-variant-numeric: tabular-nums; line-height: 1; }
.cwallet__unit { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted); }

.cwallet__addr-wrap { display: flex; flex-direction: column; gap: 6px; }
.cwallet__addr-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: var(--fw-semibold); }
.cwallet__addr {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 10px var(--sp-3);
  background: var(--surface-2, var(--bg));
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 0;
}
.cwallet__addr--empty { color: var(--text-muted); font-size: var(--fs-sm); font-style: italic; }
.cwallet__addr-text {
  flex: 1; min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-sm); color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cwallet__copy {
  flex-shrink: 0; width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text-secondary);
  cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.cwallet__copy svg { width: 15px; height: 15px; }
.cwallet__copy:hover { color: var(--accent); border-color: var(--accent); background: rgba(var(--accent-rgb), 0.08); }
.cwallet__copy:active { transform: scale(0.94); }

.cprivate {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cprivate__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(var(--warning-rgb), 0.14); color: #d9920f;
}
.cprivate__icon svg { width: 18px; height: 18px; }
.cprivate__field {
  flex: 1; min-width: 0;
  padding: 8px var(--sp-3);
  background: var(--surface-2, var(--bg));
  border: 1px solid var(--border);
  border-radius: 9px;
}
.cprivate__key {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-sm); color: var(--text-secondary);
  letter-spacing: .06em;
  overflow: hidden; text-overflow: clip; white-space: nowrap;
}
.cprivate__key.is-revealed {
  color: var(--text);
  letter-spacing: .02em;
  white-space: normal;
  word-break: break-all;
  overflow: visible;
  text-overflow: unset;
}
.cprivate__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cprivate__btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 9px;
  background: var(--surface); color: var(--text-secondary);
  cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.cprivate__btn svg { width: 16px; height: 16px; }
.cprivate__btn:hover { color: var(--accent); border-color: var(--accent); background: rgba(var(--accent-rgb), 0.08); }
.cprivate__btn:active { transform: scale(0.94); }
.cprivate.is-open .cprivate__eye { color: var(--accent); }

.modal--crypto .del-lead { font-size: var(--fs-sm); text-align: center; margin: 0 0 var(--sp-3); color: var(--text-secondary); }
.modal--crypto .del-list li { justify-content: center; font-size: var(--fs-sm); font-weight: var(--fw-medium); padding: 10px var(--sp-3); text-align: center; }
.modal--crypto .del-list__ic { width: 32px; height: 32px; background: rgba(var(--warning-rgb), 0.15); color: #d9920f; }
.modal--crypto .del-list__ic svg { width: 16px; height: 16px; }

.cpay-thead,
.cpay-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.25fr) minmax(0, 1.9fr) minmax(90px, 0.7fr) minmax(115px, 0.7fr);
  gap: var(--sp-5);
  align-items: center;
}
.cpay-thead {
  padding: 11px var(--sp-5);
  margin-bottom: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cpay-thead span {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-secondary); font-weight: var(--fw-semibold);
}
.cpay-th--date { text-align: right; }
.cpay-th--amount { text-align: center; }

.cpay-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.cpay-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cpay-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.cpay-row { padding: 13px var(--sp-5); }
.cpay-cell { min-width: 0; font-size: var(--fs-sm); color: var(--text); }

.cpay-cell--net { display: flex; align-items: center; }
.cpay-coin { position: relative; width: 34px; height: 34px; flex-shrink: 0; display: inline-block; }
.cpay-coin > img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.cpay-coin__chip {
  position: absolute; right: -3px; bottom: -3px;
  width: 19px; height: 19px; border-radius: 50%;
  border: 2px solid var(--surface); background: var(--surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.cpay-coin__chip img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.cpay-coin--sm { width: 30px; height: 30px; }
.cpay-coin--sm > img { width: 30px; height: 30px; }
.cpay-coin--sm .cpay-coin__chip { width: 17px; height: 17px; right: -3px; bottom: -3px; }

.cpay-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-xs); color: var(--text-secondary);
  word-break: break-all; line-height: 1.45;
}
.cpay-txid {
  display: inline-flex; align-items: center; gap: 7px;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-sm); color: var(--text);
  text-decoration: none;
}
.cpay-txid:hover { color: var(--text); }
.cpay-txid__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpay-txid svg {
  width: 13px; height: 13px; flex-shrink: 0;
  color: var(--accent);
}
.cpay-cell--amount { text-align: center; font-weight: var(--fw-medium); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cpay-unit { color: var(--text-muted); font-weight: var(--fw-medium); }
.cpay-cell--date { color: var(--text); font-weight: var(--fw-medium); white-space: nowrap; text-align: right; }

.cpay-mcard { display: none; }
.cpay-mcard__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.cpay-mnet { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.cpay-mnet .cpay-coin { transform: translateY(-2px); }
.cpay-mnet__label { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--text); line-height: 1; }
.cpay-mamt { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }

.cpay-mcard__body { padding: 2px var(--sp-4); }
.cpay-mrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.cpay-mrow:last-child { border-bottom: 0; }
.cpay-mrow__k { font-size: var(--fs-sm); color: var(--text-secondary); flex-shrink: 0; }
.cpay-mrow__v {
  font-size: var(--fs-sm); color: var(--text); font-weight: var(--fw-semibold);
  text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cpay-mrow__v--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: var(--fw-medium); color: var(--text-secondary); }
.cpay-mrow__v .cpay-txid { justify-content: flex-end; }

@media (max-width: 720px) {
  .crypto-wallets { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .cpay-thead { display: none; }
  .cpay-row { display: none; }
  .cpay-mcard { display: block; }
}
