@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Ultralight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Book.woff2") format("woff2");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Studio Feixen Sans";
  src: url("/assets/fonts/StudioFeixenSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3f4f6;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #2563eb;
  --brand: #2563eb;
  --border: #e1e4e8;
  --table-row: #ffffff;
}

body.imperial {
  font-family: "Studio Feixen Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid #e5e7eb;
}

.brand {
  color: #111827;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: 13px;
  margin-right: 18px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-pill.is-hidden {
  display: none;
}

.topbar-health {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #d1d5db;
}

.topbar-health.is-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.topbar-health.is-warn {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fde68a;
}

.topbar-health.is-bad {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.topbar-token {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
}

.topbar-credits {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #bbf7d0;
}

.topbar-credits.is-zero {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.topbar-title {
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.2px;
}

.app-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px;
}

.sidebar {
  background: var(--panel);
  border-radius: 12px;
  padding: 14px 12px;
  border: 1px solid var(--border);
  height: fit-content;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.sidebar.sticky {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.profile-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.profile-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
}


.profile-company {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.1;
}

.profile-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.profile-card-title {
  font-size: 12px;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 10px;
}

.status-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #fee2e2;
  color: #b91c1c;
}

.status-pill.is-ok {
  background: #dcfce7;
  color: #166534;
}

.log-cell {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-text-cell {
  max-width: 280px;
}

.log-error {
  max-width: 220px;
}

.sidebar-title {
  color: #9ca3af;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  margin: 6px 6px 10px;
}

.side-link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #1f2937;
  padding: 9px 10px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 4px;
}

.side-link:hover {
  background: #f3f4f6;
}

.side-link.is-active {
  background: #e5e7eb;
  color: #111827;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inline-loader {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.inline-loader.is-active {
  display: inline-block;
}

.table td .inline-loader,
.table td .inline-loader.is-active {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -2px;
}

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

.input-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 0.15rem rgba(239, 68, 68, 0.2);
}

.input-help-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

.template-warning {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fed7aa;
  padding: 6px 8px;
  border-radius: 8px;
}

.template-warning--diacritics {
  background: #fef9c3;
  border-color: #fde68a;
  color: #92400e;
}

.template-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.template-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.template-info-btn {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  line-height: 1;
}

.template-info-box {
  position: absolute;
  right: 0;
  top: 26px;
  width: 260px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-size: 12px;
  z-index: 10;
  display: none;
}

.template-info-wrap:hover .template-info-box,
.template-info-wrap.is-open .template-info-box {
  display: block;
}

.template-textarea {
  resize: vertical;
  min-height: 90px;
  max-height: 220px;
  overflow-y: auto;
}

.template-vars span {
  font-weight: 700;
  color: #64748b;
}

.template-vars span.is-used {
  color: #16a34a;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(248, 249, 251, 0.95);
  color: #1c1f2a;
}

.page-loader.hidden {
  display: none;
}

.page-loader__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #d6dbe6;
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.page-loader__text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.btn {
  border-radius: 6px;
}

.btn-ghost {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
  font-weight: 600;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-outline-brand {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid #cbd5f5;
  font-weight: 600;
}

.btn-brand {
  background: #2563eb;
  border: 1px solid #1d4ed8;
  color: #ffffff;
  font-weight: 600;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.table {
  color: var(--text);
  margin-bottom: 0;
}

.table thead th {
  color: #6b7280;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  background: #f7f7f7;
}

.table tbody tr {
  background: var(--table-row);
}

.table tbody tr:nth-child(even) {
  background: transparent;
}

.table td {
  border-top: 1px solid #e5e7eb;
}

.form-control,
.form-select {
  background: #ffffff;
  border: 1px solid #cfd6dd;
  color: #111827;
  border-radius: 6px;
  font-size: 13px;
  padding-right: 28px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}

.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
  color: var(--muted);
}

.text-muted {
  color: var(--muted) !important;
}

.admin-section h4 {
  font-weight: 700;
}

.section-title {
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.tabs {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 16px;
  gap: 4px;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.tab-btn.is-active {
  background: #e5e7eb;
  color: #111827;
}

.tab-panel {
  width: 100%;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.status-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.status-box-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.status-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: #6b7280;
  font-weight: 600;
}

.status-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #cbd5f5;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.status-step.is-ok {
  color: #166534;
}

.status-step.is-ok .status-checkbox {
  background: #dcfce7;
  border-color: #86efac;
}

.status-step.is-ok .status-checkbox::after {
  content: "✓";
}

.status-step.is-bad {
  color: #991b1b;
}

.status-step.is-bad .status-checkbox {
  background: #fee2e2;
  border-color: #fecaca;
}

.status-step.is-bad .status-checkbox::after {
  content: "✕";
}

.status-final {
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.status-final.is-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.status-final.is-bad {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
}

.badge-sent {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-failed {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-waiting {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-active {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-delayed {
  background: rgba(234, 179, 8, 0.15);
  color: #92400e;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-block;
  min-width: 44px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.log-text {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.log-row {
  cursor: pointer;
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
}
.table tbody tr.log-row:hover,
.table tbody tr.log-row:hover td {
  background: #eef2f7;
}
.table tbody tr.log-row {
  cursor: pointer;
}

.stat-tile {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle-row--single {
  gap: 12px;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-pill {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: #ef4444;
  border: 1px solid #dc2626;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-pill::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.toggle-input:checked + .toggle-pill {
  background: #22c55e;
  border-color: #16a34a;
}

.toggle-input:checked + .toggle-pill::after {
  transform: translateX(24px);
}

.toggle-text {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.toggle-text--single {
  font-weight: 600;
}
.stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}
.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}
.stat-sub {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  margin-top: 4px;
}

.health-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  background: #e5e7eb;
  color: #374151;
}

.health-pill.is-ok {
  background: #dcfce7;
  color: #166534;
}

.health-pill.is-bad {
  background: #fee2e2;
  color: #b91c1c;
}

.health-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.health-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.health-value {
  font-weight: 700;
  color: #0f172a;
}

.health-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e5e7eb;
  color: #475569;
}

.health-icon.is-ok {
  background: #dcfce7;
  color: #166534;
}

.health-icon.is-bad {
  background: #fee2e2;
  color: #b91c1c;
}

.health-help {
  margin-top: 6px;
  font-size: 11px;
}

.health-json {
  max-height: 360px;
  overflow: auto;
}

.health-table {
  font-size: 13px;
}

.sms-preview-phone {
  background: #0f172a;
  border-radius: 28px;
  padding: 18px;
  color: #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sms-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 12px;
  color: #cbd5f5;
}

.sms-preview-notch {
  width: 90px;
  height: 12px;
  background: #0b1220;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sms-preview-title {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.sms-preview-body {
  background: #0b1220;
  border-radius: 20px;
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sms-preview-thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sms-preview-from {
  font-size: 11px;
  color: #94a3b8;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.sms-preview-bubble {
  align-self: flex-start;
  background: #1e293b;
  color: #f8fafc;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sms-preview-thread-reminder .sms-preview-bubble {
  background: #1f2937;
}

.sms-preview-thread-reminder.is-disabled {
  opacity: 0.35;
  filter: grayscale(1);
}

.sms-preview-reminder-hint {
  font-size: 12px;
  color: #e2e8f0;
  background: rgba(59, 130, 246, 0.15);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  padding: 8px 10px;
  border-radius: 10px;
}

.sms-preview-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.sms-preview-input {
  flex: 1;
  background: #0b1220;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sms-preview-send {
  background: #22c55e;
  color: #052e16;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}

.sms-preview-reminder-info {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #0b1220;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  padding: 10px 12px;
  color: #cbd5f5;
}

.sms-preview-reminder-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  font-size: 14px;
  font-weight: 700;
}

.sms-preview-reminder-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 700;
}

.sms-preview-reminder-sub {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 600;
}

.landing-preview {
  background: linear-gradient(135deg, #fdfbf8 0%, #f6f1ea 100%);
  border-radius: 18px;
  padding: 12px;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}

.landing-preview-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.12);
  padding: 22px;
  border: 1px solid #e5e7eb;
}

.landing-preview-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.landing-preview-logo-link {
  display: inline-flex;
}

.landing-preview-logo-link img {
  max-height: 56px;
  width: auto;
  display: none;
}

.landing-preview-logo-fallback {
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

.landing-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: #4338ca;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.landing-preview-title {
  margin: 16px 0 6px;
  font-size: 26px;
  letter-spacing: -0.4px;
  font-weight: 800;
}

.landing-preview-muted {
  color: #475569;
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 13px;
}

.landing-preview-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 14px;
}

.landing-preview-status-pending {
  background: #eef2ff;
  color: #4338ca;
}

.landing-preview-actions {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
  flex-direction: column;
}

.landing-preview-btn {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
  width: 100%;
}

.landing-preview-btn-confirm {
  background: linear-gradient(120deg, #22c55e, #16a34a);
  color: #fff;
  border: 2px solid rgba(34, 197, 94, 0.4);
}

.landing-preview-btn-cancel {
  background: linear-gradient(120deg, #f97316, #ea580c);
  color: #fff;
  border: 2px solid rgba(234, 88, 12, 0.4);
}

.landing-preview-section-title {
  font-size: 16px;
  font-weight: 800;
  margin: 16px 0 8px;
  color: #0f172a;
}

.landing-preview-order-details {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.landing-preview-order-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.landing-preview-meta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  column-gap: 8px;
  font-size: 12px;
}

.landing-preview-meta-label {
  font-weight: 700;
  color: #475569;
}

.landing-preview-meta-value {
  font-weight: 700;
  color: #0f172a;
}

.landing-preview-items {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-preview-item {
  display: grid;
  grid-template-columns: 52px 1fr 16px;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  font-size: 12px;
}

.landing-preview-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f1f5f9;
}

.landing-preview-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-preview-item-title {
  font-weight: 700;
  color: #0f172a;
}

.landing-preview-item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.landing-preview-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
}

.landing-preview-item-price {
  font-weight: 700;
  color: #111827;
}

.landing-preview-item-arrow {
  color: #94a3b8;
  font-size: 18px;
}

.landing-preview-contact {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.landing-preview-contact-label {
  font-weight: 700;
  color: #0f172a;
}

.landing-preview-contact-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-preview-contact-links a {
  text-decoration: none;
  font-weight: 700;
  color: #0f172a;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 12px;
}

.landing-preview-footer-note {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  color: #475569;
  font-weight: 600;
}

.landing-preview-link {
  margin-top: 8px;
  font-size: 11px;
  color: #64748b;
  word-break: break-all;
  text-align: center;
}
