:root {
  --primary: #31459f;
  --primary-dark: #243782;
  --primary-soft: #eef3ff;
  --blue: #0b83d8;
  --blue-dark: #086bb2;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #16233a;
  --muted: #69758b;
  --line: #e3e8f3;
  --success: #0eae72;
  --warning: #f0a928;
  --danger: #df3d4c;
  --info: #1976d2;
  --shadow: 0 14px 34px rgba(31, 47, 90, .08);
  --radius: 8px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.app { min-height: 100vh; display: flex; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  z-index: 40;
  color: #dce4ff;
  background: linear-gradient(180deg, #3347a5 0%, #243782 100%);
  box-shadow: 10px 0 30px rgba(31, 47, 90, .16);
  display: flex;
  flex-direction: column;
  transition: width .2s ease, transform .2s ease;
}

.sidebar-brand {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  letter-spacing: 0;
}

.menu {
  flex: 1;
  overflow-y: auto;
  padding: 14px 10px;
}

.menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  margin: 3px 0;
  border-radius: 8px;
  color: #c6d0ff;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}

.menu a:hover,
.menu a.active {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: #aeb9fa;
  font-size: 12px;
}

.main {
  width: calc(100% - 260px);
  margin-left: 260px;
  min-height: 100vh;
  transition: width .2s ease, margin .2s ease;
}

.sidebar-collapsed .sidebar { width: 82px; }
.sidebar-collapsed .main { width: calc(100% - 82px); margin-left: 82px; }
.sidebar-collapsed .brand-text,
.sidebar-collapsed .menu-text,
.sidebar-collapsed .sidebar-footer { display: none; }
.sidebar-collapsed .sidebar-brand { justify-content: center; padding: 0; }
.sidebar-collapsed .menu a { justify-content: center; padding: 10px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar-left,
.topbar-actions,
.toolbar,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions { gap: 12px; }

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  transition: .15s ease;
}

.icon-btn:hover { border-color: #c9d4ea; background: var(--primary-soft); color: var(--primary); }

.top-search {
  width: min(420px, 36vw);
  position: relative;
}

.top-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px 10px 36px;
  color: var(--text);
  background: #f8faff;
  outline: none;
}

.top-search span { position: absolute; left: 13px; top: 10px; color: var(--muted); font-weight: 900; }

.top-pill,
.user-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.topbar-refresh {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
}

.user-chip {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
}

.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-grid; place-items: center; font-size: 13px; }

.content { padding: 28px; }

.page-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 28px; line-height: 1.15; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: 18px; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 15px; }
.page-title p, .section-subtitle, .muted { color: var(--muted); }
.section-subtitle { margin-bottom: 18px; }

.grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide-grid { grid-template-columns: 1.4fr .8fr; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section { padding: 22px; }

.stat-card {
  min-height: 132px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.stat-label { color: var(--muted); font-size: 13px; font-weight: 800; }
.stat-value { margin: 8px 0 5px; font-size: 29px; line-height: 1.05; font-weight: 900; letter-spacing: 0; }
.stat-link { color: var(--blue); font-weight: 800; font-size: 13px; }
.dashboard-packages { margin-top: 18px; }

.dashboard-detail-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.dashboard-detail-card {
  min-height: 118px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
}
.dashboard-detail-card:hover { border-color: #b9c9e7; box-shadow: 0 12px 28px rgba(31, 47, 90, .12); }
.dashboard-detail-card span { color: var(--muted); font-size: 12px; font-weight: 800; }
.dashboard-detail-card strong { margin: 6px 0 3px; color: var(--primary); font-size: 27px; }
.dashboard-detail-card small { color: var(--muted); line-height: 1.4; }
.dashboard-live-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ffd2da;
  border-radius: 8px;
  color: #9f2637;
  background: #fff1f4;
  font-weight: 700;
}
.dashboard-live-alert[hidden] { display: none; }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.bg-blue { background: var(--blue); }
.bg-success { background: var(--success); }
.bg-warning { background: var(--warning); color: #2a2d34; }
.bg-danger { background: var(--danger); }

.btn {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(49, 69, 159, .2); }
.btn.secondary { background: #eef3ff; color: var(--primary); border: 1px solid #d8e1ff; }
.btn.secondary:hover { background: #dfe8ff; box-shadow: none; }
.btn.success { background: var(--success); }
.btn.danger { background: var(--danger); }
.btn.warning { background: var(--warning); color: #1d2533; }
.btn.ghost { background: transparent; color: var(--primary); border: 1px solid var(--line); }
.btn.full { width: 100%; }
.btn.loading { opacity: .8; pointer-events: none; }

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  color: #fff;
  background: var(--primary);
  font-weight: 850;
}

.auth-pending .auth-screen { display: grid; }
.auth-pending .app,
.auth-pending .bottom-nav { visibility: hidden; }
.auth-ready .auth-screen { display: none; }

.package-card { overflow: hidden; display: flex; flex-direction: column; }
.package-head { padding: 18px; color: #fff; background: var(--blue); }
.package-head h3 { margin: 0; font-size: 20px; }
.package-head p { margin: 4px 0 0; color: rgba(255, 255, 255, .82); }
.package-body { padding: 18px; display: grid; gap: 12px; flex: 1; }
.package-price { color: var(--primary); font-size: 30px; font-weight: 900; }
.feature-list { margin: 0; padding-left: 18px; color: var(--muted); }
.feature-list li { margin: 7px 0; }

.usdt-summary-card { display: flex; flex-direction: column; }
.usdt-summary-list {
  margin: 4px 0 18px;
  border-top: 1px solid var(--line);
}
.usdt-summary-list div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.usdt-summary-list span { color: var(--muted); }
.usdt-summary-list strong { text-align: right; }
.usdt-summary-card .btn { margin-top: auto; }
.payment-status { padding: 4px 8px; border-radius: 999px; font-size: 11px; }
.payment-status.available { color: #166534; background: #dcfce7; }
.payment-status.coming-soon { color: #64748b; background: #f1f5f9; }

.payment-method-field { margin: 0; padding: 0; border: 0; }
.payment-method-field legend { margin-bottom: 8px; color: var(--text); font-weight: 800; }
.payment-method-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.payment-method-option {
  min-width: 0;
  min-height: 96px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.payment-method-option.selected { border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.payment-method-option.disabled { color: #94a3b8; background: #f8fafc; cursor: not-allowed; }
.payment-method-option input { margin-top: 3px; accent-color: #2563eb; }
.payment-method-option span { display: grid; gap: 4px; }
.payment-method-option strong { color: #0f172a; }
.payment-method-option.disabled strong { color: #64748b; }
.payment-method-option small { color: #64748b; line-height: 1.4; }
.payment-method-option em { grid-column: 2; width: max-content; padding: 3px 7px; border-radius: 999px; color: #166534; background: #dcfce7; font-size: 10px; font-style: normal; font-weight: 850; }
.payment-method-option.disabled em { color: #64748b; background: #e2e8f0; }
.payment-order-result[hidden] { display: none; }
.payment-result-heading { margin-bottom: 18px; }
.payment-result-heading > span { color: #16a34a; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.payment-result-heading h3 { margin: 5px 0; color: #0f172a; font-size: 22px; }
.payment-result-heading p { margin: 0; color: #64748b; line-height: 1.5; }
.payment-result-details { margin-bottom: 16px; border-block: 1px solid #e2e8f0; }
.payment-result-details > div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e2e8f0; }
.payment-result-details > div:last-child { border-bottom: 0; }
.payment-result-details span,
.payment-address-box > span { color: #64748b; font-size: 12px; font-weight: 750; }
.payment-address-box { padding: 15px; display: grid; gap: 10px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; }
.payment-address-box code { padding: 10px; overflow-wrap: anywhere; border-radius: 7px; color: #0f172a; background: #fff; font-size: 13px; line-height: 1.5; }

.credit-pricing-section { margin-top: 28px; }
.credit-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.credit-package-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 46, 88, .09);
}
.credit-package-head {
  min-height: 116px;
  padding: 24px 22px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  color: #fff;
  background: #0879e6;
  border-top: 5px solid rgba(255, 255, 255, .42);
}
.tier-silver .credit-package-head { background: #53657e; }
.tier-gold .credit-package-head { background: #0879e6; border-top-color: #e1b530; }
.tier-vip .credit-package-head { background: #233d83; border-top-color: #36b7a4; }
.credit-package-head h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
}
.credit-package-head p { margin: 7px 0 0; color: rgba(255, 255, 255, .86); }
.credit-package-body {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.credit-package-price { text-align: center; }
.credit-package-price strong {
  display: block;
  color: #081a53;
  font-size: 34px;
  line-height: 1.15;
}
.credit-package-price span,
.credit-package-amount span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.credit-package-amount {
  margin: 22px 0 8px;
  padding: 18px 12px;
  border-block: 1px solid var(--line);
  text-align: center;
}
.credit-package-amount strong { display: block; color: var(--primary); font-size: 28px; }
.credit-unit-rate {
  margin: 4px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
}
.credit-unit-rate strong { color: #102550; font-size: 17px; }
.credit-unit-rate span { font-size: 12px; }
.credit-package-features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: #24344f;
}
.credit-package-features li {
  position: relative;
  padding: 12px 8px 12px 30px;
  border-bottom: 1px solid #edf1f7;
  line-height: 1.45;
}
.credit-package-features li::before {
  content: "\2713";
  position: absolute;
  left: 7px;
  color: #129867;
  font-weight: 900;
}
.credit-package-body .btn { margin-top: auto; min-height: 48px; background: #0879e6; }
.credit-package-body .btn:hover { background: #0568c8; }
.package-catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  background: #fff;
  text-align: center;
}

.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-input, .select-input, .date-input, .text-input, .number-input, textarea {
  min-height: 40px;
  border: 1px solid #d9e0ee;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.search-input { min-width: 230px; }
.search-input:focus, .select-input:focus, .date-input:focus, .text-input:focus, .number-input:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 131, 216, .12);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table th {
  color: #5d6a82;
  background: #f8faff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfdff; }

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.pill.success { color: #08754f; background: #e3fff3; }
.pill.pending { color: #9a6600; background: #fff3d1; }
.pill.failed { color: #a82435; background: #ffe6eb; }
.pill.info { color: #075da1; background: #e4f2ff; }
.pill.neutral { color: #526071; background: #eef2f7; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 14px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full-row { grid-column: 1 / -1; }
.field label { color: #273650; font-weight: 850; }
.field small, .hint { color: var(--muted); font-size: 12px; }
textarea { width: 100%; min-height: 132px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error-message { color: var(--danger); font-size: 12px; min-height: 16px; }
.form-alert {
  padding: 10px 12px;
  border: 1px solid #ffc8d0;
  border-radius: 7px;
  color: #a82435;
  background: #fff1f3;
  font-size: 13px;
  font-weight: 750;
}
.check-row { display: flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 700; }

.send-sms-card {
  margin-bottom: 0;
  padding: 30px 32px 32px;
}

.send-sms-card h1 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.2;
}

.sms-compose-form {
  display: grid;
  gap: 20px;
}

.template-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.template-row .btn {
  min-width: 154px;
  white-space: nowrap;
}

.recipient-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.recipient-list-row .btn {
  min-width: 132px;
  white-space: nowrap;
}

.recipient-list-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.sms-message-input {
  min-height: 150px;
}

.sms-message-input[readonly] {
  background: #f8fafc;
  color: #334155;
  cursor: default;
}

.trial-message-note {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
}

.sms-recipient-input {
  min-height: 205px;
}

.sms-metrics {
  min-height: 72px;
  padding: 16px 20px;
  border: 1px solid #d4e2f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  color: #56647b;
  background: #f3f7ff;
}

.sms-metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.sms-metrics strong {
  color: #0f1f3d;
  font-size: 16px;
}

.sms-metrics .sms-total {
  color: #086bd8;
  font-size: 22px;
}

.sms-rate-note {
  margin: -4px 0 0;
  color: var(--muted);
}

.send-timing {
  margin: 0;
  padding: 0;
  border: 0;
}

.send-timing legend {
  margin-bottom: 10px;
  color: #273650;
  font-weight: 850;
}

.timing-options {
  display: flex;
  align-items: center;
  gap: 18px;
}

.timing-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #182845;
  font-weight: 800;
}

.timing-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.schedule-fields {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.schedule-fields[hidden] { display: none; }

.send-sms-button {
  width: max-content;
  min-width: 152px;
  min-height: 48px;
  padding-inline: 26px;
  background: #0879e6;
  box-shadow: 0 8px 18px rgba(8, 121, 230, .2);
}

.send-sms-button:hover { background: #0568c8; }

.send-history-card {
  padding: 30px 32px 32px;
}

.send-history-card h1 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.2;
}

.send-history-search {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.send-history-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d9e2f0;
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.send-history-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 131, 216, .12);
}

.send-history-search .btn {
  min-width: 104px;
  min-height: 52px;
  color: #102550;
  background: #fff;
}

.send-history-wrap { border: 0; border-radius: 0; }

.send-history-table {
  min-width: 1580px;
  font-size: 14px;
}

.send-history-table.report-one-asset-hidden { min-width: 1350px; }
.send-history-table.report-all-assets-hidden { min-width: 1120px; }

.send-history-table th,
.send-history-table td {
  padding: 18px 14px;
  white-space: normal;
}

.send-history-table th {
  height: 58px;
  color: #56647b;
  background: #f4f7fc;
  font-size: 14px;
  text-transform: none;
}

.send-history-table tbody tr:hover { background: transparent; }
.send-history-table td { color: #172641; }
.send-history-table .report-id-cell { width: 58px; }
.send-history-table .report-campaign-cell { width: 220px; }
.send-history-table .report-asset-cell { width: 230px; }
.send-history-table .report-number-cell,
.send-history-table .report-segment-cell { width: 74px; }
.send-history-table .report-credit-cell { width: 110px; }
.send-history-table .report-status-cell { width: 110px; }
.send-history-table td:last-child { width: 150px; color: var(--muted); line-height: 1.8; }

.report-delivery-cell span,
.report-time-cell span,
.report-time-cell small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.report-asset-name {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-asset-wrap { display: grid; justify-items: start; gap: 9px; }
.report-asset-name { overflow-wrap: anywhere; white-space: normal !important; }
.report-asset-button { min-height: 34px; padding: 7px 10px; font-size: 12px; }
.report-asset-unavailable { color: var(--muted); font-size: 12px; }
.report-asset-modal { width: min(700px, 100%); }
.report-asset-preview {
  min-height: 150px;
  max-height: 420px;
  margin: 0;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #172641;
  background: #f7f9fd;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.report-delivery-cell strong,
.report-time-cell strong { display: block; }
.report-delivery-cell { min-width: 410px; }
.report-time-cell small { line-height: 1.45; }
.report-history-empty span { display: block; margin-top: 5px; }

.delivery-cell { min-width: 410px; }

.delivery-count {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.delivery-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: #0879e6;
}

.delivery-actions a,
.report-link {
  border: 0;
  padding: 0;
  color: #0879e6;
  background: transparent;
  font-weight: 650;
}

.report-link:disabled { opacity: .6; cursor: wait; }

.delivery-actions a:hover,
.report-link:hover { color: #055cb5; text-decoration: underline; }

.delivery-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbe4f2;
  border-radius: 8px;
  color: #24344f;
  background: #f6f8fc;
}

.delivery-note[hidden] { display: none; }

.send-history-pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}

.history-page-button {
  min-width: 78px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #6f7a91;
  background: #fff;
  font-weight: 800;
}

.history-page-button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.kpi-row { display: flex; gap: 12px; flex-wrap: wrap; }
.kpi {
  min-width: 145px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}
.kpi strong { display: block; font-size: 22px; line-height: 1.1; }
.kpi span { color: var(--muted); font-size: 12px; font-weight: 800; }

.divider { height: 1px; background: var(--line); margin: 18px 0; }

.empty-state {
  padding: 32px;
  border: 1px dashed #cdd7eb;
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
  color: var(--muted);
}
.empty-state strong { display: block; margin-bottom: 4px; color: var(--text); }

.upload-box {
  padding: 28px;
  border: 2px dashed #cdd7eb;
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
}
.upload-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

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

.contact-import-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.contact-import-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}

.contact-import-heading h2 { margin: 1px 0 4px; }
.contact-import-heading p { margin: 0; color: var(--muted); }

.contact-method-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.txt-file-picker {
  min-height: 164px;
  display: grid;
  place-content: center;
  gap: 5px;
  flex: 1;
  padding: 24px;
  border: 2px dashed #c9d5eb;
  border-radius: 8px;
  color: var(--primary);
  background: #f8faff;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.txt-file-picker:hover {
  border-color: var(--blue);
  background: var(--primary-soft);
}

.txt-file-picker span { color: var(--muted); font-size: 12px; font-weight: 700; }
.contact-file-status { min-height: 20px; margin: 11px 0 0; color: var(--muted); font-size: 12px; }

.paste-contact-input {
  min-height: 164px;
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  line-height: 1.7;
}

.contact-create-row {
  min-height: 51px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.contact-create-row span { color: var(--muted); font-size: 12px; font-weight: 800; }
.contact-list-section { margin-top: 18px; }
.contact-list-section .section-subtitle { margin-bottom: 0; }
.contact-import-table td:last-child { min-width: 285px; }
.contact-import-table .inline-actions { flex-wrap: nowrap; }
.contact-file-name { display: block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }

.contact-preview-modal { width: min(660px, 100%); }
.contact-preview-summary { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.contact-preview-search { width: 100%; margin-bottom: 14px; }
.contact-preview-list {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.contact-preview-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.contact-preview-item:last-child { border-bottom: 0; }
.contact-preview-number { color: var(--muted); text-align: right; }

.template-form-card form { display: grid; gap: 18px; }

.template-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.template-card-heading h2 { margin-bottom: 5px; }
.template-card-heading .section-subtitle { margin-bottom: 0; }
.template-message-input { min-height: 180px; }

.template-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.template-message-meta strong { color: var(--primary); }
.template-form-actions { display: flex; justify-content: flex-end; }
.template-form-actions .btn { min-width: 150px; }
.template-list-section { margin-top: 18px; }
.template-list-section .section-subtitle { margin-bottom: 0; }
.template-table td:last-child { min-width: 285px; }
.template-table .inline-actions { flex-wrap: nowrap; }

.template-message-preview {
  min-height: 170px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #f8faff;
  font: inherit;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code-block {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: 8px;
  background: #101828;
  color: #dce8ff;
  font-size: 13px;
  line-height: 1.55;
}

.api-key-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}
.api-key { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.skeleton-row {
  height: 13px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef2f8 25%, #f8faff 38%, #eef2f8 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: grid;
  gap: 10px;
}
.toast {
  width: min(360px, calc(100vw - 32px));
  padding: 13px 14px;
  border-radius: 8px;
  background: #10213c;
  color: #fff;
  box-shadow: 0 14px 35px rgba(16, 33, 60, .25);
  font-weight: 750;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(11, 18, 32, .45);
}
.modal-backdrop.open { display: grid; }
.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 33, 60, .28);
}
.modal-header, .modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-footer { border-top: 1px solid var(--line); border-bottom: 0; justify-content: flex-end; }
.modal-body { padding: 20px; }
.modal h2 { margin: 0; }

.sidebar-scrim {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 35;
  background: rgba(11, 18, 32, .42);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  height: 66px;
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 28px rgba(31, 47, 90, .12);
}
.bottom-nav a {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.bottom-nav b { color: var(--primary); font-size: 12px; }
.bottom-nav a.active { color: var(--primary); background: var(--primary-soft); }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #455ee4 0%, #31459f 50%, #263982 100%);
}

.login-page::before,
.login-page::after {
  content: "";
  position: absolute;
  left: -14vw;
  width: 130vw;
  height: 42vh;
  background: rgba(17, 44, 135, .35);
  transform: rotate(-12deg);
  border-radius: 28px;
  pointer-events: none;
}

.login-page::before {
  top: 30vh;
}

.login-page::after {
  bottom: -14vh;
  background: rgba(12, 35, 120, .44);
  transform: rotate(-10deg);
}

.login-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 34px 28px 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(2, 9, 38, .24);
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.login-brand span { color: var(--primary); }

.login-panel h1 {
  margin: 8px 0 26px;
  text-align: center;
  color: #25344d;
  font-size: 28px;
}
.login-panel h1 + .auth-support { margin: -16px 0 22px; color: #64748b; text-align: center; line-height: 1.5; }

.icon-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-label span {
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.password-row {
  display: flex;
  gap: 8px;
}

.password-row input {
  flex: 1;
  min-width: 0;
}

.login-panel form {
  display: grid;
  gap: 12px;
}

/* Public homepage */
.home-page { background: #fff; }
.home-page a { text-decoration: none; }
.home-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.home-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.home-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 21px; }
.home-nav { display: flex; align-items: center; gap: 26px; }
.home-nav > a:not(.btn) { color: #40506c; font-weight: 750; }
.home-nav > a:not(.btn):hover { color: var(--blue); }
.home-login-link { padding-left: 22px; border-left: 1px solid var(--line); }
.home-register-link { min-height: 42px; padding-inline: 18px; }
.home-menu-button { display: none; }

.home-hero {
  position: relative;
  height: calc(100svh - 128px);
  min-height: 560px;
  max-height: 700px;
  overflow: hidden;
  color: #fff;
  background: #061b44;
}

.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-shade { position: absolute; inset: 0; background: rgba(3, 18, 54, .52); }
.home-hero-content { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.home-hero-copy { max-width: 650px; padding: 48px 0; }
.home-eyebrow,
.home-section-kicker { margin: 0 0 10px; color: #30d5b1; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-hero h1 { max-width: 640px; margin: 0; color: #fff; font-size: 58px; line-height: 1.04; letter-spacing: 0; }
.home-hero-copy > p:not(.home-eyebrow) { max-width: 610px; margin: 22px 0 0; color: rgba(255, 255, 255, .86); font-size: 19px; line-height: 1.65; }
.home-hero-actions { margin: 30px 0 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.home-primary-action { min-height: 50px; padding-inline: 22px; background: #0879e6; }
.home-secondary-action { min-height: 50px; padding-inline: 22px; border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(5, 24, 61, .68); }
.home-secondary-action:hover { border-color: #fff; background: #fff; color: var(--primary); }
.home-hero-copy small { color: rgba(255, 255, 255, .75); font-weight: 700; }

.home-promotion { scroll-margin-top: 76px; color: #fff; background: #087c76; }
.home-promotion-inner { min-height: 118px; display: grid; grid-template-columns: 1.1fr 1.4fr auto; align-items: center; gap: 28px; }
.home-promotion h2 { margin: 0; color: #fff; font-size: 25px; }
.home-promotion .home-section-kicker { color: #bff9e9; }
.home-promotion-points { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.home-promotion-points span { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; }
.home-promotion-points strong { font-size: 24px; }
.home-promo-button { color: #065d58; background: #fff; }
.home-promo-button:hover { color: #064844; background: #e8fffa; }

.home-packages { scroll-margin-top: 76px; padding: 88px 0; background: #f5f8fc; }
.home-section-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.home-section-heading h2 { margin: 0; color: #0c2149; font-size: 38px; line-height: 1.2; }
.home-section-heading > p:last-child { margin: 14px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.home-package-grid { align-items: stretch; }
.home-featured-package { position: relative; border-color: #0879e6; box-shadow: 0 16px 38px rgba(8, 73, 143, .18); }
.home-popular-label { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px; border-radius: 999px; color: #112650; background: #ffe185; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.home-package-note { max-width: 760px; margin: 24px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }

.home-benefits { scroll-margin-top: 76px; padding: 88px 0; background: #fff; }
.home-section-heading-left { max-width: 760px; margin-inline: 0; text-align: left; }
.home-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-benefit-grid article {
  min-width: 0;
  min-height: 320px;
  padding: 30px 26px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home-benefit-grid article:hover { transform: translateY(-2px); border-color: #bfdbfe; box-shadow: 0 16px 34px rgba(15, 23, 42, .1); }
.home-benefit-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #0879e6;
  border-radius: 50%;
  color: #0879e6;
  font-size: 12px;
  font-weight: 900;
}
.home-benefit-check { border: 0; font-size: 34px; }
.home-benefit-report { position: relative; display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 9px; border-radius: 8px; }
.home-benefit-report i { width: 5px; border: 2px solid #0879e6; border-radius: 2px 2px 0 0; }
.home-benefit-report i:nth-child(1) { height: 10px; }
.home-benefit-report i:nth-child(2) { height: 18px; }
.home-benefit-report i:nth-child(3) { height: 26px; }
.home-benefit-grid h3 { margin: 22px 0 12px; color: #102550; font-size: 20px; line-height: 1.35; }
.home-benefit-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.home-final-cta { padding: 58px 0; color: #fff; background: #102a5c; }
.home-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-final-cta h2 { margin: 0; color: #fff; font-size: 30px; }
.home-final-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.home-final-actions > a:not(.btn) { color: #dbe8ff; font-weight: 750; }
.home-footer { padding: 30px 0; color: #64718a; background: #fff; }
.home-footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.home-footer p { margin: 0; }
.home-footer-inner > div { display: flex; gap: 20px; }
.home-footer-inner > div a { color: #40506c; font-weight: 750; }

/* Back office */
.backoffice-page {
  color: #0f172a;
  background: #f8fafc;
}

.bo-login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f8fafc;
}

.bo-login-view[hidden],
.bo-shell[hidden] { display: none; }

.bo-login-card {
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.bo-login-brand { display: inline-flex; align-items: center; gap: 10px; color: #0f172a; font-size: 21px; }
.bo-login-heading { margin: 30px 0 24px; }
.bo-login-heading p,
.bo-modal-header p { margin: 0 0 5px; color: #2563eb; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.bo-login-heading h1 { margin: 0 0 8px; color: #0f172a; font-size: 30px; }
.bo-login-heading span,
.bo-modal-header span { color: #64748b; }
.bo-login-form { display: grid; gap: 16px; }
.bo-login-form .text-input { min-height: 46px; border-color: #cbd5e1; border-radius: 10px; }
.bo-login-form .btn { min-height: 46px; border-radius: 10px; background: #2563eb; }
.bo-login-form .btn:hover { background: #1d4ed8; }
.bo-login-form[hidden] { display: none; }
.bo-login-step { display: grid; gap: 6px; padding: 14px; border: 1px solid #bfdbfe; border-radius: 10px; background: #eff6ff; }
.bo-login-step strong { color: #1e3a8a; }
.bo-login-step span { color: #475569; font-size: 14px; line-height: 1.5; }
.bo-otp-input { text-align: center; font-size: 22px; font-weight: 800; letter-spacing: .35em; }
.bo-login-back { border: 0; color: #475569; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.bo-login-back:hover { color: #1d4ed8; }
.bo-return-link { display: block; margin-top: 22px; color: #64748b; font-weight: 700; text-align: center; }
.bo-alert,
.bo-page-alert { padding: 12px 14px; border: 1px solid #fecaca; border-radius: 10px; color: #b91c1c; background: #fef2f2; font-weight: 700; }
.bo-page-alert { margin-bottom: 18px; }

.bo-shell { min-height: 100vh; }
.bo-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: 248px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
  background: #fff;
  transition: transform .2s ease;
}

.bo-brand {
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}
.bo-brand > span:last-child { display: grid; }
.bo-brand strong { font-size: 20px; }
.bo-brand small { color: #64748b; font-size: 11px; font-weight: 750; }

.bo-nav { flex: 1; padding: 18px 12px; }
.bo-nav button {
  width: 100%;
  min-height: 44px;
  margin-bottom: 5px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 9px;
  color: #475569;
  background: transparent;
  font-weight: 800;
  text-align: left;
}
.bo-nav button span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: #475569; background: #f1f5f9; font-size: 10px; }
.bo-nav button:hover,
.bo-nav button.active { color: #1d4ed8; background: #eff6ff; }
.bo-nav button.active span { color: #fff; background: #2563eb; }
.bo-sidebar-footer { padding: 16px; display: grid; gap: 5px; border-top: 1px solid #e2e8f0; }
.bo-sidebar-footer a,
.bo-sidebar-footer button { min-height: 38px; padding: 8px; border: 0; color: #64748b; background: transparent; font-weight: 750; text-align: left; }
.bo-sidebar-footer a:hover,
.bo-sidebar-footer button:hover { color: #1d4ed8; }

.bo-main { min-height: 100vh; margin-left: 248px; }
.bo-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 76px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}
.bo-topbar-title { display: flex; align-items: center; gap: 12px; }
.bo-topbar-title p { margin: 0; color: #64748b; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.bo-topbar-title h1 { margin: 1px 0 0; font-size: 22px; }
.bo-topbar-actions { display: flex; align-items: center; gap: 10px; }
.bo-readonly-badge { padding: 7px 11px; border: 1px solid #bfdbfe; border-radius: 999px; color: #1d4ed8; background: #eff6ff; font-size: 12px; font-weight: 850; }
.bo-mobile-menu { display: none; }
.bo-content { padding: 28px; }

.bo-page-heading { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bo-page-heading p { margin: 0 0 5px; color: #2563eb; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.bo-page-heading h2 { margin: 0 0 5px; color: #0f172a; font-size: 28px; }
.bo-page-heading span { color: #64748b; }
.bo-page-heading .btn,
.bo-topbar .btn { border: 1px solid #cbd5e1; border-radius: 9px; color: #334155; background: #fff; }
.bo-heading-actions { display: flex; gap: 9px; }
.bo-page-heading .bo-heading-actions .btn:not(.secondary) { border-color: #2563eb; color: #fff; background: #2563eb; }

.bo-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bo-stat-card {
  min-width: 0;
  min-height: 132px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.bo-stat-card > span { color: #64748b; font-size: 12px; font-weight: 800; }
.bo-stat-card strong { margin: 7px 0 4px; color: #0f172a; font-size: 27px; line-height: 1; }
.bo-stat-card small { overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }

.bo-dashboard-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bo-panel { min-width: 0; padding: 20px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, .04); }
.bo-panel-header { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bo-panel-header h3 { margin: 0 0 3px; color: #0f172a; font-size: 17px; }
.bo-panel-header p { margin: 0; color: #64748b; font-size: 12px; }
.bo-panel-header button { border: 0; color: #2563eb; background: transparent; font-weight: 800; }
.bo-table { min-width: 680px; }
.bo-table th { position: sticky; top: 0; z-index: 1; color: #64748b; background: #f8fafc; }
.bo-table td { height: 56px; }
.bo-table tbody tr:hover { background: #f8fafc; }
.bo-small-button { min-height: 34px; padding: 6px 10px; border-radius: 8px; font-size: 12px; }
.bo-user-identity { display: grid; gap: 2px; }
.bo-user-identity strong { color: #0f172a; }
.bo-user-identity span { color: #64748b; font-size: 12px; }
.bo-empty,
.bo-table-status { padding: 26px 12px; color: #64748b; text-align: center; }
.bo-user-search { margin-bottom: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.bo-user-search .search-input { width: 100%; min-height: 44px; border-color: #cbd5e1; border-radius: 10px; }
.bo-user-search .btn { min-width: 100px; border-radius: 10px; background: #2563eb; }
.bo-pagination { margin-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #64748b; }
.bo-pagination .btn { min-height: 38px; }

.bo-sidebar-scrim { position: fixed; inset: 0; z-index: 45; display: none; background: rgba(15, 23, 42, .45); }
.bo-user-modal { width: min(1180px, 100%); border-radius: 14px; }
.bo-contact-modal { width: min(700px, 100%); border-radius: 14px; }
.bo-modal-header { align-items: flex-start; }
.bo-modal-header h2 { margin: 0 0 4px; }
.bo-user-modal-body { min-height: 320px; }
.bo-detail-loading { min-height: 240px; display: grid; place-items: center; color: #64748b; font-weight: 750; }
.bo-user-summary { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bo-user-summary article { min-width: 0; padding: 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.bo-user-summary span { display: block; margin-bottom: 5px; color: #64748b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.bo-user-summary strong { display: block; overflow-wrap: anywhere; color: #0f172a; }
.bo-data-group { margin-top: 10px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.bo-data-group summary { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; color: #0f172a; background: #f8fafc; font-weight: 850; cursor: pointer; }
.bo-data-group summary span { padding: 3px 8px; border-radius: 999px; color: #1d4ed8; background: #dbeafe; font-size: 11px; }
.bo-data-group .table-wrap { border: 0; border-top: 1px solid #e2e8f0; border-radius: 0; }
.bo-wrap-cell { min-width: 220px; max-width: 360px; overflow-wrap: anywhere; white-space: normal !important; line-height: 1.5; }
.bo-contact-preview { min-height: 220px; max-height: 500px; margin: 0; overflow: auto; padding: 16px; border: 1px solid #e2e8f0; border-radius: 10px; color: #0f172a; background: #f8fafc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.7; white-space: pre-wrap; }

.bo-table-card-grid {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.bo-table-card {
  min-width: 0;
  min-height: 150px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .035);
  text-align: left;
}
.bo-table-card:hover { border-color: #93c5fd; transform: translateY(-2px); }
.bo-table-card.active { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.bo-table-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #1d4ed8; background: #eff6ff; font-size: 12px; font-weight: 900; }
.bo-table-card strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
.bo-table-card p { margin: 5px 0 0; color: #64748b; font-size: 12px; line-height: 1.45; }
.bo-table-card small { color: #2563eb; font-weight: 850; }
.bo-database-panel { margin-top: 0; }
.bo-database-header { align-items: flex-start; }
.bo-row-count { flex: none; padding: 6px 10px; border-radius: 999px; color: #1d4ed8; background: #eff6ff; font-size: 12px; font-weight: 850; }
.bo-database-table-wrap { max-height: 620px; }
.bo-database-table { width: max-content; min-width: 100%; }
.bo-database-table th { top: 0; white-space: nowrap; }
.bo-database-table td { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-database-table td[data-long-value] { min-width: 260px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.bo-database-null { color: #94a3b8; font-style: italic; }

.bo-user-admin-actions {
  margin-bottom: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
}
.bo-user-admin-actions > div:first-child { display: grid; gap: 3px; }
.bo-user-admin-actions > div:first-child span { color: #64748b; font-size: 12px; }
.bo-user-admin-actions > div:last-child { display: flex; gap: 8px; flex: none; }
.bo-user-admin-actions .btn { min-height: 38px; border-radius: 8px; }
.bo-user-admin-actions .btn.danger,
.bo-action-modal .btn.danger { color: #fff; background: #dc2626; }
.bo-user-admin-actions .btn.danger:hover,
.bo-action-modal .btn.danger:hover { background: #b91c1c; }
.bo-action-modal { width: min(560px, 100%); border-radius: 14px; }
.bo-action-form { display: grid; gap: 16px; }
.bo-action-form .field { margin: 0; }
.bo-action-form .text-input,
.bo-action-form .select-input { min-height: 44px; border-color: #cbd5e1; border-radius: 10px; }
.bo-action-notice,
.bo-danger-notice { padding: 13px 14px; border: 1px solid #bfdbfe; border-radius: 10px; color: #1e40af; background: #eff6ff; font-size: 13px; line-height: 1.5; }
.bo-danger-notice { border-color: #fecaca; color: #991b1b; background: #fef2f2; }
.bo-danger-notice strong { display: block; margin-bottom: 2px; }

.bo-payment-method-grid {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bo-payment-method-card {
  min-width: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.bo-payment-method-card > div { min-width: 0; display: grid; gap: 5px; }
.bo-payment-method-card h3 { margin: 0; color: #0f172a; font-size: 18px; }
.bo-payment-method-card p { margin: 0; color: #64748b; font-size: 12px; }
.bo-payment-method-card .btn { min-width: 92px; min-height: 38px; border-radius: 8px; }
.bo-payment-method-card .btn.enabled { border: 1px solid #fecaca; color: #b91c1c; background: #fff; }
.bo-toggle-switch {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 30px;
  padding: 3px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #e2e8f0;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.bo-toggle-switch::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .18);
  transition: transform .18s ease;
}
.bo-toggle-switch.enabled { border-color: #2563eb; background: #2563eb; }
.bo-toggle-switch.enabled::before { transform: translateX(22px); }
.bo-toggle-switch:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.bo-toggle-switch:disabled { cursor: wait; opacity: .65; }
.bo-method-state { width: max-content; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 850; }
.bo-method-state.enabled { color: #166534; background: #dcfce7; }
.bo-method-state.disabled { color: #64748b; background: #f1f5f9; }
.bo-payment-address-panel { margin-top: 0; }
.bo-payment-address-panel .bo-panel-header .btn { flex: none; border-radius: 9px; color: #fff; background: #2563eb; }
.bo-address-table td { vertical-align: middle; }
.bo-wallet-address { min-width: 310px; max-width: 450px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; white-space: normal !important; }
.bo-address-actions { display: flex; gap: 7px; white-space: nowrap; }
.bo-address-actions .btn { min-height: 34px; padding: 6px 10px; border-radius: 8px; font-size: 12px; }
.bo-address-actions .btn.danger { color: #b91c1c; background: #fff; border-color: #fecaca; }
.bo-monospace-input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.bo-settings-panel { max-width: 760px; }
.bo-setting-form { padding-top: 6px; display: grid; grid-template-columns: minmax(220px, 280px) 1fr auto; align-items: end; gap: 14px; }
.bo-setting-form .field { margin: 0; }
.bo-setting-mode { min-width: 0; margin: 0; padding: 0; grid-column: 1 / -1; border: 0; }
.bo-setting-mode legend { margin-bottom: 8px; color: #334155; font-size: 12px; font-weight: 800; }
.bo-setting-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bo-setting-mode-options label {
  min-width: 0;
  min-height: 92px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
}
.bo-setting-mode-options label:has(input:checked) { border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 0 2px rgba(37, 99, 235, .1); }
.bo-setting-mode-options input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #2563eb; }
.bo-setting-mode-options span { min-width: 0; display: grid; gap: 4px; }
.bo-setting-mode-options strong { color: #0f172a; font-size: 14px; }
.bo-setting-mode-options small { color: #64748b; line-height: 1.45; }
.bo-setting-form .bo-action-notice { min-height: 44px; display: flex; align-items: center; }
.bo-setting-form .bo-alert { grid-column: 1 / -1; }
.bo-setting-form > .btn { min-height: 44px; }
.bo-telegram-panel,
.bo-secure-integration-panel { margin-top: 16px; }
.bo-integration-grid { margin-bottom: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bo-integration-grid article { min-width: 0; padding: 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.bo-integration-grid article > span { display: block; margin-bottom: 7px; color: #64748b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.bo-integration-grid article > strong:not(.bo-method-state) { display: block; color: #0f172a; font-size: 20px; }
.bo-integration-grid article > small { display: block; margin-top: 7px; overflow-wrap: anywhere; color: #64748b; line-height: 1.4; }
.bo-telegram-token-form,
.bo-secure-key-form { margin-bottom: 14px; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.bo-telegram-token-form .field,
.bo-secure-key-form .field { margin: 0; }
.bo-telegram-token-actions,
.bo-secure-key-actions { display: flex; gap: 8px; }
.bo-telegram-token-actions .btn,
.bo-secure-key-actions .btn { min-height: 44px; white-space: nowrap; }
.bo-telegram-token-form .bo-alert,
.bo-secure-key-form .bo-alert { grid-column: 1 / -1; }
.bo-package-modal { width: min(720px, 100%); border-radius: 14px; }
.bo-packages-table td { vertical-align: middle; }
.bo-package-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bo-package-options label {
  min-width: 0;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
}
.bo-package-options input { width: 18px; height: 18px; margin-top: 1px; accent-color: #2563eb; }
.bo-package-options span { display: grid; gap: 3px; }
.bo-package-options strong { color: #0f172a; font-size: 13px; }
.bo-package-options small { color: #64748b; line-height: 1.45; }

@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide-grid { grid-template-columns: 1fr; }
  .credit-pricing-grid { grid-template-columns: 1fr; }
  .home-package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bo-dashboard-grid { grid-template-columns: 1fr; }
  .bo-table-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); width: 270px; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-collapsed .sidebar { width: 270px; }
  .sidebar-collapsed .brand-text,
  .sidebar-collapsed .menu-text,
  .sidebar-collapsed .sidebar-footer { display: block; }
  .sidebar-collapsed .sidebar-brand { justify-content: flex-start; padding: 0 22px; }
  .sidebar-collapsed .menu a { justify-content: flex-start; padding: 10px 13px; }
  .main,
  .sidebar-collapsed .main { width: 100%; margin-left: 0; }
  .mobile-sidebar-open .sidebar-scrim { display: block; }
  .content { padding: 20px 16px 84px; }
  .topbar { padding: 0 14px; gap: 8px; }
  .topbar-actions { gap: 8px; }
  .top-search { display: none; }
  .page-title { flex-direction: column; }
  .two-grid, .three-grid, .stats-grid, .form-grid { grid-template-columns: 1fr; }
  .search-input { min-width: 100%; }
  .table-tools { align-items: stretch; }
  .filters, .inline-actions { width: 100%; }
  .filters > *, .inline-actions > * { flex: 1; }
  .bottom-nav { display: flex; }
  .contact-import-grid { grid-template-columns: 1fr; }
  .login-page { padding: 16px; }
  .login-panel { width: min(420px, 100%); }
  .home-menu-button { display: inline-grid; }
  .home-nav {
    position: absolute;
    top: 66px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(18, 42, 87, .16);
  }
  .home-nav.open { display: grid; }
  .home-nav > a:not(.btn) { padding: 12px; }
  .home-login-link { border-left: 0; border-top: 1px solid var(--line); }
  .home-register-link { margin-top: 6px; text-align: center; }
  .home-hero { height: calc(100svh - 120px); min-height: 560px; max-height: 680px; }
  .home-hero-image { object-position: 65% center; }
  .home-hero-shade { background: rgba(3, 18, 54, .7); }
  .home-hero h1 { max-width: 560px; font-size: 44px; }
  .home-hero-copy { max-width: 580px; }
  .home-promotion-inner { padding-block: 28px; grid-template-columns: 1fr; gap: 20px; }
  .home-promo-button { width: max-content; }
  .home-package-grid { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; }
  .home-benefit-grid { grid-template-columns: 1fr; }
  .home-benefit-grid article { min-height: 0; }
  .home-final-cta-inner { align-items: flex-start; flex-direction: column; }
  .home-footer-inner { grid-template-columns: 1fr; }
  .bo-sidebar { transform: translateX(-100%); }
  .bo-sidebar.open { transform: translateX(0); }
  .bo-sidebar-scrim.open { display: block; }
  .bo-main { margin-left: 0; }
  .bo-mobile-menu { display: inline-grid; }
  .bo-content { padding: 22px 16px; }
  .bo-topbar { padding-inline: 16px; }
  .bo-topbar .user-chip,
  .bo-readonly-badge { display: none; }
  .bo-user-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-user-admin-actions { align-items: flex-start; flex-direction: column; }
  .bo-payment-method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 24px; }
  .top-pill { padding: 0 10px; font-size: 13px; }
  .user-chip { padding: 6px; }
  .user-chip [data-user-name] { display: none; }
  .section, .stat-card { padding: 16px; }
  .stat-value { font-size: 25px; }
  .kpi { min-width: calc(50% - 6px); }
  .pagination { justify-content: center; }
  .dashboard-detail-grid { grid-template-columns: 1fr; }
  .login-panel { padding: 28px 20px 24px; }
  .login-brand { font-size: 29px; }
  .password-row { flex-direction: column; }
  .send-sms-card { padding: 22px 16px 24px; }
  .template-row, .recipient-list-row, .schedule-fields { grid-template-columns: 1fr; }
  .template-row .btn, .recipient-list-row .btn, .send-sms-button { width: 100%; }
  .sms-message-input { min-height: 140px; }
  .sms-recipient-input { min-height: 180px; }
  .sms-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .sms-metrics span { white-space: normal; }
  .send-history-card { padding: 22px 16px 24px; }
  .send-history-search { grid-template-columns: 1fr; }
  .send-history-search .btn { width: 100%; }
  .send-history-pagination span { width: 100%; }
  .contact-import-card { min-height: 0; }
  .contact-create-row { align-items: stretch; flex-direction: column; }
  .contact-create-row .btn { width: 100%; }
  .contact-import-table td:last-child { min-width: 220px; }
  .contact-import-table .inline-actions { display: grid; }
  .contact-preview-item { grid-template-columns: 38px 1fr; }
  .template-message-meta { align-items: flex-start; flex-direction: column; }
  .template-form-actions .btn { width: 100%; }
  .template-table td:last-child { min-width: 220px; }
  .template-table .inline-actions { display: grid; }
  .payment-method-options { grid-template-columns: 1fr; }
  .bottom-nav a { font-size: 10px; }
  .home-container { width: min(100% - 30px, 1180px); }
  .home-header { height: 68px; }
  .home-brand { font-size: 19px; }
  .home-hero { height: calc(100svh - 108px); min-height: 530px; }
  .home-hero-image { object-position: 70% center; }
  .home-hero h1 { font-size: 36px; line-height: 1.08; }
  .home-hero-copy > p:not(.home-eyebrow) { margin-top: 17px; font-size: 16px; }
  .home-hero-actions { margin-top: 24px; align-items: stretch; flex-direction: column; }
  .home-hero-actions .btn { width: 100%; }
  .home-section-heading h2 { font-size: 30px; }
  .home-packages, .home-benefits { padding: 64px 0; }
  .home-promotion-points { align-items: flex-start; flex-direction: column; gap: 10px; }
  .home-promo-button { width: 100%; text-align: center; }
  .home-benefit-grid article { padding: 28px 20px; }
  .home-final-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .home-final-actions .btn { width: 100%; }
  .bo-login-view { padding: 16px; }
  .bo-login-card { padding: 26px 20px; }
  .bo-topbar-actions .btn { display: none; }
  .bo-page-heading { align-items: stretch; flex-direction: column; }
  .bo-page-heading .btn { width: 100%; }
  .bo-heading-actions { display: grid; grid-template-columns: 1fr; }
  .bo-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-stat-card { min-height: 116px; padding: 16px; }
  .bo-user-search { grid-template-columns: 1fr; }
  .bo-user-search .btn { width: 100%; }
  .bo-pagination { justify-content: center; flex-wrap: wrap; }
  .bo-user-summary { grid-template-columns: 1fr; }
  .bo-table-card-grid { grid-template-columns: 1fr; }
  .bo-table-card { min-height: 132px; }
  .bo-payment-method-card { align-items: flex-start; flex-direction: column; }
  .bo-payment-method-card .btn { width: 100%; }
  .bo-user-admin-actions > div:last-child { width: 100%; display: grid; grid-template-columns: 1fr; }
  .bo-user-modal,
  .bo-contact-modal,
  .bo-action-modal,
  .bo-package-modal { max-height: calc(100vh - 20px); border-radius: 12px; }
  .bo-package-options { grid-template-columns: 1fr; }
  .bo-setting-mode-options { grid-template-columns: 1fr; }
  .bo-integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-telegram-token-form,
  .bo-secure-key-form { grid-template-columns: 1fr; }
  .bo-telegram-token-actions,
  .bo-secure-key-actions { display: grid; grid-template-columns: 1fr; }
  .bo-setting-form { grid-template-columns: 1fr; }
}
