@font-face {
  font-family: 'IranYekan';
  src: url('fonts/iran_yekan_medium.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-50: #f8fafc;
  --ink-100: #f1f5f9;
  --ink-200: #e2e8f0;
  --ink-300: #cbd5e1;
  --ink-400: #94a3b8;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1e293b;
  --ink-900: #0f172a;

  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;

  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  --emerald-50: #ecfdf5;
  --emerald-700: #047857;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --blue-50: #eff6ff;
  --blue-700: #1d4ed8;
  --violet-50: #f5f3ff;
  --violet-700: #6d28d9;

  --shadow-card: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.02);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);

  --sidebar-w: 14rem;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'IranYekan', 'Tahoma', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.65;
}

button, input, select, textarea { font-family: inherit; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; }

p { margin: 0; }

.fa-num { font-feature-settings: 'lnum'; }

.bidi-code { direction: ltr; unicode-bidi: isolate-override; text-align: right; }
input.bidi-code, textarea.bidi-code { text-align: right; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.scrollbar-thin::-webkit-scrollbar { width: 5px; height: 5px; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.muted { color: var(--ink-500); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hidden { display: none !important; }
.spacer { flex: 1 1 auto; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-3 { margin-bottom: 12px; }
.row { display: flex; align-items: center; gap: 8px; }
.wrap { flex-wrap: wrap; }

.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-card);
}

.card-pad { padding: 16px; }

.card-hover { transition: box-shadow .2s, transform .2s; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: all .2s;
  user-select: none;
  white-space: nowrap;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--brand-700); box-shadow: var(--shadow); }
.btn-primary:active { transform: scale(.98); }

.btn-secondary { background: #fff; color: var(--ink-700); border-color: var(--ink-200); }
.btn-secondary:hover { background: var(--ink-50); border-color: var(--ink-300); }

.btn-ghost { color: var(--ink-600); }
.btn-ghost:hover { background: var(--ink-100); }

.btn-danger { background: var(--red-50); color: var(--red-700); border-color: var(--red-200); }
.btn-danger:hover { background: var(--red-100); }

.btn-white { background: #fff; color: var(--brand-700); }
.btn-white:hover { background: rgba(255,255,255,.9); }

.btn-sm { padding: 4px 10px; font-size: 12px; line-height: 16px; border-radius: 8px; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--ink-500);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.icon-btn:hover { background: var(--ink-100); color: var(--ink-900); }
.icon-btn.is-danger { color: var(--red-600); }
.icon-btn.is-danger:hover { background: var(--red-50); }

.form-label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.form-label.req::after { content: ' *'; color: #ef4444; }

.form-input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ink-200);
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-800);
  transition: all .15s;
  outline: none;
}

.form-input::placeholder { color: var(--ink-400); }

.form-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.form-input:disabled { background: var(--ink-50); cursor: not-allowed; }

textarea.form-input { resize: vertical; min-height: 84px; }

.form-hint { font-size: 11px; color: var(--ink-400); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--red-600); margin-top: 4px; }

.field + .field { margin-top: 14px; }
.field-full { grid-column: 1 / -1; }
.grid-2 > .field + .field, .grid-3 > .field + .field { margin-top: 0; }

.form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-100);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

@media (max-width: 767px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.badge-gray { background: var(--ink-100); color: var(--ink-700); }
.badge-success, .badge-green { background: var(--emerald-50); color: var(--emerald-700); }
.badge-danger, .badge-red { background: var(--red-50); color: var(--red-700); }
.badge-warning, .badge-amber { background: var(--amber-50); color: var(--amber-700); }
.badge-info, .badge-blue { background: var(--blue-50); color: var(--blue-700); }
.badge-violet { background: var(--violet-50); color: var(--violet-700); }
.badge-brand { background: var(--brand-50); color: var(--brand-700); }

.alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid transparent;
  line-height: 1.9;
}

.alert-success { background: var(--emerald-50); border-color: #a7f3d0; color: var(--emerald-700); }
.alert-error { background: var(--red-50); border-color: var(--red-200); color: var(--red-700); }
.alert-warning { background: var(--amber-50); border-color: #fde68a; color: var(--amber-700); }
.alert-info { background: var(--blue-50); border-color: #bfdbfe; color: var(--blue-700); }

.app-shell { display: flex; min-height: 100vh; background: var(--ink-50); }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: #fff;
  border-left: 1px solid var(--ink-100);
  position: sticky;
  top: 0;
  right: 0;
  height: 100vh;
  z-index: 40;
  transition: transform .3s;
}

.sidebar-head {
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink-100);
}

.sidebar-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.sidebar-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sidebar-logo img { width: 36px; height: 36px; object-fit: contain; display: block; }

.sidebar-title { font-weight: 700; color: var(--ink-900); line-height: 1.4; }
.sidebar-sub { font-size: 11px; color: var(--ink-500); line-height: 1.4; }

.sidebar-nav {
  padding: 16px 12px;
  overflow-y: auto;
  height: calc(100vh - 64px);
}

.sidebar-nav > * + * { margin-top: 2px; }

.sidebar-section {
  padding: 14px 16px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-400);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 12px;
  color: var(--ink-600);
  transition: all .2s;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: right;
  font-weight: 400;
}

.sidebar-item:hover { background: var(--ink-50); color: var(--ink-900); }

.sidebar-item.active {
  background: linear-gradient(to left, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: var(--shadow);
}

.sidebar-item.active:hover {
  background: linear-gradient(to left, var(--brand-700), var(--brand-800));
  color: #fff;
}

.sidebar-item svg { flex-shrink: 0; }
.sidebar-item span { flex: 1; }

.sidebar-count {
  flex: 0 0 auto;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.sidebar-item.active .sidebar-count { background: rgba(255,255,255,.22); color: #fff; }
.sidebar-item.is-logout { color: var(--red-600); }
.sidebar-item.is-logout:hover { background: var(--red-50); color: var(--red-700); }

.topbar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 30;
}

@media (min-width: 1024px) { .topbar { padding: 0 24px; } }

.topbar-title { font-size: 18px; font-weight: 700; color: var(--ink-900); line-height: 1.4; }
.topbar-sub { font-size: 11px; color: var(--ink-500); }

.topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 12px;
  border: 1px solid var(--ink-100);
  background: #fff;
}

.topbar-user:hover { background: var(--ink-50); }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.content { flex: 1; padding: 16px; overflow-x: hidden; }
@media (min-width: 768px) { .content { padding: 24px; } }

.content > * + * { margin-top: 16px; }

.page-head {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(to left, var(--brand-600), var(--brand-700));
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.page-head::before,
.page-head::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-head::before { left: -32px; top: -40px; width: 160px; height: 160px; background: rgba(255,255,255,.1); }
.page-head::after { left: 96px; bottom: -56px; width: 176px; height: 176px; background: rgba(255,255,255,.05); }

.page-head-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.page-head-main { display: flex; align-items: center; gap: 16px; min-width: 0; }

.page-head-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  flex-shrink: 0;
}

.page-head h1 { font-size: 24px; line-height: 32px; font-weight: 800; }
.page-head .page-head-sub { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 2px; }
.page-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

a.stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.stat-card.is-on { border-color: var(--brand-300); box-shadow: 0 0 0 3px var(--brand-100); }

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-label { font-size: 12px; color: var(--ink-500); }
.stat-card-value { font-size: 20px; line-height: 1.25; font-weight: 800; margin-top: 4px; font-feature-settings: 'lnum'; }
.stat-card-sub { font-size: 11px; color: var(--ink-400); margin-top: 2px; }

.tone-brand { background: var(--brand-50); color: var(--brand-700); }
.tone-warn { background: var(--amber-50); color: var(--amber-700); }
.tone-ok { background: var(--emerald-50); color: var(--emerald-700); }
.tone-danger { background: var(--red-50); color: var(--red-700); }
.tone-violet { background: var(--violet-50); color: var(--violet-700); }
.tone-info { background: var(--blue-50); color: var(--blue-700); }

.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px; }
.toolbar .form-input { width: auto; }
.toolbar .search { flex: 1 1 220px; min-width: 180px; }
.toolbar .search .form-input { width: 100%; }

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.folder {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: block;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.folder:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--tone-border, var(--brand-200));
}

.folder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  position: relative;
  display: block;
}

.folder-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(15,23,42,.12));
  transition: transform .2s;
}

.folder:hover .folder-icon img { transform: scale(1.06) rotate(-2deg); }

.folder-icon .folder-tint {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--tone-fg, transparent);
  mix-blend-mode: color;
  opacity: .85;
  pointer-events: none;
  -webkit-mask-image: var(--folder-mask);
  mask-image: var(--folder-mask);
  -webkit-mask-size: 64px 64px;
  mask-size: 64px 64px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.folder-title { font-weight: 700; color: var(--ink-900); font-size: 14px; margin-bottom: 2px; }
.folder-url { font-size: 11px; color: var(--ink-400); direction: ltr; text-align: right; }

.folder-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--ink-500);
}

.folder-dots {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--ink-400);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px;
  line-height: 0;
}

.folder-dots:hover { background: var(--ink-100); color: var(--ink-700); }

.folder-dot-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.folder.is-archived { opacity: .7; }

.folder.tone-indigo { --tone-bg: #e0e7ff; --tone-fg: #4338ca; --tone-border: #c7d2fe; }
.folder.tone-sky { --tone-bg: #e0f2fe; --tone-fg: #0369a1; --tone-border: #bae6fd; }
.folder.tone-emerald { --tone-bg: #d1fae5; --tone-fg: #047857; --tone-border: #a7f3d0; }
.folder.tone-amber { --tone-bg: #fef3c7; --tone-fg: #b45309; --tone-border: #fde68a; }
.folder.tone-rose { --tone-bg: #ffe4e6; --tone-fg: #be123c; --tone-border: #fecdd3; }
.folder.tone-violet { --tone-bg: #ede9fe; --tone-fg: #6d28d9; --tone-border: #ddd6fe; background: #fff; }
.folder.tone-teal { --tone-bg: #ccfbf1; --tone-fg: #0f766e; --tone-border: #99f6e4; }
.folder.tone-slate { --tone-bg: #e2e8f0; --tone-fg: #334155; --tone-border: #cbd5e1; }

.color-dot.tone-indigo { --tone-bg: #e0e7ff; }
.color-dot.tone-sky { --tone-bg: #e0f2fe; }
.color-dot.tone-emerald { --tone-bg: #d1fae5; }
.color-dot.tone-amber { --tone-bg: #fef3c7; }
.color-dot.tone-rose { --tone-bg: #ffe4e6; }
.color-dot.tone-violet { --tone-bg: #ede9fe; background: #ede9fe; }
.color-dot.tone-teal { --tone-bg: #ccfbf1; }
.color-dot.tone-slate { --tone-bg: #e2e8f0; }

.color-picker { display: flex; gap: 8px; flex-wrap: wrap; }

.color-dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--tone-bg);
}

.color-dot.is-on { border-color: var(--ink-900); }

.ctx-menu {
  position: fixed;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 900;
}

.ctx-menu button, .ctx-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-700);
  cursor: pointer;
  text-align: right;
  font-family: inherit;
}

.ctx-menu button:hover, .ctx-menu a:hover { background: var(--ink-50); }
.ctx-menu .is-danger { color: var(--red-600); }
.ctx-menu .is-danger:hover { background: var(--red-50); }
.ctx-menu hr { border: none; border-top: 1px solid var(--ink-100); margin: 4px 2px; }

.table-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table-scroll { overflow-x: auto; }

.data-table { width: 100%; font-size: 14px; border-collapse: collapse; table-layout: auto; }

.data-table thead th {
  background: var(--ink-50);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-600);
  padding: 10px 12px;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid var(--ink-200);
  text-align: right;
}

.data-table tbody td {
  padding: 10px 12px;
  vertical-align: middle;
  border-top: 1px solid var(--ink-100);
  color: var(--ink-700);
}

.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:nth-child(even) { background: rgba(248,250,252,.4); }
.data-table tbody tr:hover { background: var(--ink-50); }

.data-table th.col-center, .data-table td.col-center { text-align: center; }
.data-table th.col-num, .data-table td.col-num { text-align: center; font-feature-settings: 'lnum'; width: 56px; }
.data-table th.col-actions, .data-table td.col-actions { text-align: center; white-space: nowrap; }

.ticket-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--ink-100);
  transition: background .15s;
}

.ticket-row:first-child { border-top: none; }
.ticket-row:hover { background: var(--ink-50); }

.ticket-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ticket-body { min-width: 0; flex: 1; }
.ticket-title { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.ticket-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--ink-400); }
.ticket-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.unread-dot {
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.empty { padding: 48px 20px; text-align: center; }

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--ink-100);
  color: var(--ink-400);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.empty h3 { font-size: 15px; color: var(--ink-700); margin-bottom: 6px; }
.empty p { font-size: 12px; color: var(--ink-400); }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; flex-wrap: wrap; }

.pager a, .pager span {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--ink-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-600);
  background: #fff;
}

.pager a:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pager .is-on { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12px;
  z-index: 800;
}

@media (min-width: 640px) {
  .modal-backdrop { align-items: center; padding: 16px; }
}

@media (min-width: 768px) {
  .modal-backdrop { padding: 32px 16px; }
}

.modal-mask {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-2xl);
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  animation: slideUp .25s ease-out;
}

@media (min-width: 640px) { .modal-panel { max-height: 90vh; } }

.modal-panel.is-sm { max-width: 24rem; }
.modal-panel.is-md { max-width: 32rem; }
.modal-panel.is-lg { max-width: 42rem; }
.modal-panel.is-xl { max-width: 56rem; }
.modal-panel.is-2xl { max-width: 72rem; }

.modal-backdrop.is-full { align-items: stretch; padding: 0; }
.modal-backdrop.is-full .modal-panel {
  border-radius: 0;
  max-width: none;
  height: 100vh;
  max-height: 100vh;
}

.modal-panel > form { display: flex; flex-direction: column; min-height: 0; flex: 1; }

.modal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-100);
  flex-shrink: 0;
}

@media (min-width: 640px) { .modal-head { padding: 16px 24px; } }

.modal-title {
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  font-size: 14px;
}

@media (min-width: 640px) { .modal-title { font-size: 16px; } }

.modal-title svg { color: var(--brand-600); flex-shrink: 0; }
.modal-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.modal-head-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.modal-btn-full {
  display: none;
  padding: 6px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-500);
  cursor: pointer;
  transition: background .15s;
  line-height: 0;
}

@media (min-width: 640px) { .modal-btn-full { display: block; } }
.modal-btn-full:hover { background: var(--ink-100); }

.modal-btn-close {
  padding: 6px;
  border: none;
  border-radius: 8px;
  background: var(--ink-100);
  color: var(--ink-600);
  cursor: pointer;
  transition: background .15s;
  line-height: 0;
}

.modal-btn-close:hover { background: var(--ink-200); }

.modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

@media (min-width: 640px) { .modal-body { padding: 20px 24px; } }

.modal-body > * + * { margin-top: 14px; }

.modal-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--ink-100);
  background: rgba(248,250,252,.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--ink-200);
  background: #fff;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.pick.is-on {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.detail-box {
  border: 1px solid var(--ink-100);
  background: rgba(248,250,252,.7);
  border-radius: 16px;
  padding: 16px;
}

.detail-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }

@media (max-width: 639px) { .detail-rows { grid-template-columns: 1fr; } }

.detail-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.detail-row > span:first-child { color: var(--ink-400); flex-shrink: 0; }
.detail-row b { color: var(--ink-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.msg { border-radius: 12px; padding: 12px 14px; border: 1px solid var(--ink-200); background: #fff; }
.msg + .msg { margin-top: 10px; }
.msg.is-admin { background: var(--brand-50); border-color: var(--brand-100); }
.msg.is-client { background: var(--ink-50); }

.msg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }

.msg-who { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--ink-700); }
.msg.is-admin .msg-who { color: var(--brand-700); }
.msg-time { margin-inline-start: auto; font-size: 11px; color: var(--ink-400); }
.msg-body { font-size: 14px; color: var(--ink-700); line-height: 1.9; white-space: pre-wrap; }

.att-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.att {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  color: var(--ink-600);
  font-size: 11px;
  font-weight: 500;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.att:hover { background: var(--ink-200); }

.att-thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  display: block;
  background: var(--ink-50);
}

.att-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.toast-wrap { position: fixed; top: 16px; left: 16px; z-index: 1200; display: flex; flex-direction: column; gap: 8px; }

.toast {
  min-width: 240px;
  max-width: 380px;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  color: #fff;
  animation: slideUp .25s ease-out;
}

.toast.is-success { background: #059669; }
.toast.is-error { background: var(--brand-600); }
.toast.is-info { background: var(--ink-800); }

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand-50), #fff 55%, var(--ink-50));
}

.login-card {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-2xl);
}

@media (max-width: 1023px) { .login-card { grid-template-columns: 1fr; } }

.login-aside {
  background: linear-gradient(to left, var(--brand-600), var(--brand-800));
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1023px) { .login-aside { display: none; } }

.login-aside::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 24px 24px;
}

.login-aside > * { position: relative; }

.login-brand { display: flex; align-items: center; gap: 12px; }

.login-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.login-brand-logo img { width: 34px; height: 34px; object-fit: contain; }

.login-aside h2 { font-size: 26px; line-height: 1.6; margin: 26px 0 14px; }
.login-aside p { color: rgba(255,255,255,.8); font-size: 14px; line-height: 2; }
.login-aside ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14px; }
.login-aside li { display: flex; align-items: center; gap: 8px; }
.login-copy { font-size: 11px; color: rgba(255,255,255,.5); }

.login-form { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 520px) { .login-form { padding: 30px 22px; } }

.login-mobile-brand { display: none; align-items: center; gap: 12px; margin-bottom: 26px; }

@media (max-width: 1023px) { .login-mobile-brand { display: flex; } }

.login-form h1 { font-size: 20px; margin-bottom: 6px; }
.login-form .lead { color: var(--ink-500); font-size: 13px; margin-bottom: 26px; }

.input-icon { position: relative; }
.input-icon > svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-400); }
.input-icon .form-input { padding-right: 40px; }
.input-icon.has-toggle .form-input { padding-left: 44px; }

.input-icon .toggle-pass {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 9px;
  color: var(--ink-400);
  z-index: 2;
}

.input-icon .toggle-pass:hover { color: var(--ink-700); background: var(--ink-100); }
.input-icon .toggle-pass.is-on { color: var(--brand-600); }

.install-body { background: var(--ink-50); padding: 30px 16px; }
.install-wrap { max-width: 760px; margin: 0 auto; }

.install-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.install-logo { width: 56px; height: 56px; object-fit: contain; }
.install-head h1 { font-size: 20px; }
.install-head p { margin-top: 3px; color: var(--ink-500); font-size: 13px; }

.install-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

.install-card h2 { font-size: 15px; margin-bottom: 14px; color: var(--ink-800); }
.install-card h2 + .grid-2 { margin-bottom: 20px; }
.install-card .btn-block { margin-top: 8px; }

.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.req-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.req-list li span { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: 700; }
.req-list .is-ok span { background: var(--emerald-50); color: var(--emerald-700); }
.req-list .is-bad span { background: var(--red-50); color: var(--red-700); }
.req-list .is-bad { color: var(--red-700); }

code {
  background: var(--ink-100);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 12px;
  direction: ltr;
  display: inline-block;
}

.sidebar-toggle { display: none; }
.sidebar-mask { display: none; }
.sidebar-close { display: none; }

@keyframes slideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1023px) {
  .sidebar {
    position: fixed;
    transform: translateX(100%);
    box-shadow: var(--shadow-lg);
  }

  .sidebar.is-open { transform: translateX(0); }

  .sidebar-toggle { display: inline-flex; }
  .sidebar-close { display: inline-flex; }

  .sidebar-mask { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 30; }
}

.tabbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
}

.tabbar-item {
  flex: 1 1 140px;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}

.tabbar-item:hover { background: var(--ink-50); }
.tabbar-item .tabbar-count { font-size: 11px; font-weight: 800; opacity: .75; }

.tabbar-item.is-on.tone-all { background: var(--ink-900); color: #fff; }
.tabbar-item.is-on.tone-bug { background: var(--brand-600); color: #fff; }
.tabbar-item.is-on.tone-feature { background: #4f46e5; color: #fff; }

.money-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

@media (max-width: 767px) { .money-grid { grid-template-columns: 1fr; } }

.money-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.money-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.money-label { font-size: 11px; font-weight: 700; color: var(--ink-400); display: block; }
.money-value { font-size: 18px; font-weight: 800; color: var(--ink-900); display: block; font-feature-settings: "lnum"; }
.money-value small { font-size: 12px; font-weight: 700; color: var(--ink-500); }
.money-value.is-ok { color: var(--emerald-700); }
.money-value.is-warn { color: var(--amber-700); }

.tone-indigo-soft { background: #eef2ff; color: #4f46e5; }

.dropzone {
  border: 2px dashed var(--ink-300);
  border-radius: 16px;
  background: var(--ink-50);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: block;
}

.dropzone:hover { border-color: var(--brand-400); background: var(--brand-50); }
.dropzone.is-over { border-color: var(--brand-600); background: var(--brand-50); }

.dropzone-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-600);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: var(--shadow-card);
}

.dropzone-title { font-size: 13px; font-weight: 700; color: var(--ink-700); }
.dropzone-hint { font-size: 11px; color: var(--ink-400); margin-top: 4px; }
.dropzone input[type=file] { display: none; }

.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }

.file-chip {
  position: relative;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.file-chip-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--ink-100);
  display: grid;
  place-items: center;
  color: var(--ink-400);
  overflow: hidden;
}

.file-chip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-chip-body { min-width: 0; flex: 1; line-height: 1.4; }
.file-chip-name { font-size: 11.5px; font-weight: 700; color: var(--ink-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip-size { font-size: 10.5px; color: var(--ink-400); }

.file-chip-remove {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: none;
  background: var(--ink-100);
  color: var(--ink-500);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
}

.file-chip-remove:hover { background: var(--red-50); color: var(--red-600); }

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 24px 20px;
  border-bottom: 1px solid var(--ink-100);
  background: linear-gradient(135deg, var(--brand-50), rgba(255,241,242,.4) 45%, #fff);
}

.detail-hero.is-feature { background: linear-gradient(135deg, #eef2ff, rgba(245,243,255,.5) 45%, #fff); }

.detail-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--brand-200);
  opacity: .3;
  filter: blur(30px);
}

.detail-hero.is-feature::before { background: #c7d2fe; }

.detail-hero > * { position: relative; }
.detail-hero h3 { font-size: 20px; line-height: 1.5; color: var(--ink-900); margin-top: 8px; }

.hero-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }

@media (max-width: 767px) { .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-cell {
  border-radius: 14px;
  background: rgba(255,255,255,.8);
  border: 1px solid #fff;
  box-shadow: var(--shadow-card);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hero-cell-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hero-cell-label { display: block; font-size: 10px; font-weight: 700; color: var(--ink-400); }
.hero-cell-value { display: block; font-size: 12px; font-weight: 800; color: var(--ink-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.detail-body { padding: 22px 24px; }
.detail-section + .detail-section { margin-top: 20px; }

.detail-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-700);
  margin-bottom: 10px;
}

.detail-title-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }

.detail-text {
  font-size: 14px;
  color: var(--ink-700);
  line-height: 2;
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--brand-200);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(254,242,242,.8), #fff);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color .2s, box-shadow .2s;
}

.link-card:hover { border-color: var(--brand-400); box-shadow: var(--shadow-lg); }

.link-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.cost-box {
  border-radius: 16px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(135deg, rgba(238,242,255,.8), rgba(245,243,255,.4));
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cost-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(255,255,255,.7);
  border-bottom: 1px solid #e0e7ff;
}

.cost-head-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #4338ca; }
.cost-body { padding: 16px; }
.cost-body > * + * { margin-top: 12px; }

.cost-amount {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e0e7ff;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.cost-amount-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.cost-amount-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.cost-amount-value { font-size: 24px; font-weight: 800; color: var(--ink-900); font-feature-settings: "lnum"; }
.cost-amount-value small { font-size: 14px; font-weight: 700; color: var(--ink-500); }

.cost-meta { text-align: left; border-radius: 12px; background: rgba(238,242,255,.7); padding: 8px 12px; line-height: 1.5; }

.cost-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }

.cost-triple > div {
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--ink-100);
  padding: 8px 10px;
  line-height: 1.5;
}

.cost-triple span { display: block; font-size: 10px; font-weight: 700; color: var(--ink-400); }
.cost-triple b { display: block; font-size: 13px; font-weight: 800; font-feature-settings: "lnum"; }

.note-box { border-radius: 16px; padding: 14px; box-shadow: var(--shadow-card); border: 1px solid transparent; }
.note-box.is-ok { background: rgba(236,253,245,.7); border-color: #a7f3d0; }
.note-box.is-bad { background: rgba(254,242,242,.7); border-color: var(--red-200); }
.note-box.is-warn { background: rgba(255,251,235,.7); border-color: #fde68a; }
.note-box.is-info { background: rgba(238,242,255,.7); border-color: #c7d2fe; }

.empty-inline {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-500);
  background: #fff;
  border: 1px dashed #c7d2fe;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.money-input-wrap { position: relative; }
.money-input-wrap .form-input { padding-left: 62px; }

.money-input-suffix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400);
  pointer-events: none;
}

.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { background: var(--ink-50); font-size: 11px; font-weight: 800; color: var(--ink-500); padding: 8px 10px; text-align: right; white-space: nowrap; }
.mini-table td { padding: 8px 10px; border-top: 1px solid var(--ink-100); color: var(--ink-700); }
.mini-table tfoot td { background: var(--ink-50); font-weight: 800; color: var(--ink-900); }

.ticket-row.is-confirmed { background: rgba(236,253,245,.6); }
.ticket-row.is-confirmed:hover { background: rgba(236,253,245,.9); }

.login-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--ink-100);
  border-radius: 14px;
  margin-bottom: 22px;
}

.login-tab {
  flex: 1;
  padding: 9px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.login-tab.is-on { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-card); }

.otp-input {
  text-align: center;
  letter-spacing: 10px;
  font-size: 20px;
  font-weight: 800;
  font-feature-settings: "lnum";
}

.otp-timer { font-size: 12px; color: var(--ink-500); text-align: center; margin-top: 10px; }
.otp-timer b { color: var(--brand-600); font-feature-settings: "lnum"; }

.modal-loading { padding: 60px 20px; text-align: center; color: var(--ink-400); }

.spin { animation: spin .8s linear infinite; display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }
