:root {
  /* Bemobi Brand Colors */
  --bemobi-blue: #062EED;
  --bemobi-purple: #6924E1;
  --bemobi-navy: #0B1B73;
  --bemobi-navy-dark: #020F5B;
  --bemobi-off-white: #F0F1FA;
  --bemobi-pale-blue: #B8C6E6;
  --bemobi-mid-blue: #027BFF;
  --gradient: linear-gradient(to right, #6924E1, #027BFF);

  /* Semantic */
  --bg: #F0F1FA;
  --card: #FFFFFF;
  --ink: #0B1B73;
  --muted: #5561A6;
  --line: #dde3f0;
  --accent: #062EED;

  /* Layout */
  --sidebar-width: 240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bemobi-navy);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 100;
  flex-shrink: 0;
}

.sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo a { display: block; }

.sidebar-logo-img {
  width: 130px;
  height: auto;
  display: block;
}

.sidebar-version {
  margin-top: auto;
  padding: 12px 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.sidebar-nav {
  padding: 10px 0;
  flex: 1;
}

.nav-section-label {
  padding: 14px 20px 5px;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
  cursor: pointer;
  width: 100%;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  font-family: 'Poppins', Arial, sans-serif;
}

.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.nav-item.active {
  background: rgba(2,123,255,0.18);
  color: #fff;
  border-left-color: var(--bemobi-mid-blue);
}

.nav-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Collapsible nav group */
details.nav-group {
  list-style: none;
}

details.nav-group > summary {
  list-style: none;
  user-select: none;
}

details.nav-group > summary::-webkit-details-marker { display: none; }

.nav-group-toggle {
  justify-content: flex-start;
}

.nav-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.2s;
  margin-left: auto;
}

details.nav-group[open] .nav-chevron {
  transform: rotate(90deg);
}

.nav-sub-items {
  background: rgba(0,0,0,0.15);
}

.nav-sub {
  padding-left: 47px;
  font-size: 0.8rem;
  font-weight: 400;
}

.nav-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.nav-badge {
  margin-left: auto;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Page wrapper ── */
.page-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-width: 0;
  overflow: hidden;
}

.page-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 13px 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.page-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.page-content {
  padding: 24px 28px;
  flex: 1;
  overflow-x: auto;
  overflow-y: auto;
  min-height: 0;
}

/* ── Shared components ── */
.shell { max-width: 1440px; margin: 0 auto; }

.controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

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

select,
input[type="date"] {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--card);
  outline: none;
}

select:focus,
input[type="date"]:focus {
  border-color: var(--accent);
}

button {
  padding: 7px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

button:hover { opacity: 0.88; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 16px;
  box-shadow: 0 1px 4px rgba(11,27,115,0.05);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.card-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.compact canvas { max-height: 240px; }

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

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.table th,
.table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  font-size: 0.85rem;
}

.table th {
  font-weight: 600;
  color: var(--ink);
}

.table th:last-child,
.table td:last-child { text-align: right; }

.statline {
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink);
}

.list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.875rem;
}

/* ── Team multi-select combobox ── */
.combo { position: relative; }

.combo-trigger {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.85rem;
  font-family: 'Poppins', Arial, sans-serif;
  cursor: pointer;
  min-width: 160px;
  text-align: left;
  font-weight: 400;
  background: var(--card);
}

.combo-trigger:hover { border-color: var(--accent); }

.combo-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 0;
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(11,27,115,0.12);
}

.combo-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.85rem;
}

.combo-opt:hover { background: var(--bg); }
.combo-opt-all { font-weight: 600; }
.combo-sep { border: none; border-top: 1px solid var(--line); margin: 2px 0; }

/* ── Home page ── */
.home-hero {
  background: linear-gradient(135deg, #020F5B 0%, #0B1B73 30%, #6924E1 70%, #027BFF 100%);
  border-radius: 16px;
  padding: 48px 44px;
  color: #fff;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 120px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.home-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.65;
  margin-bottom: 10px;
}

.home-hero h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-hero p {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.8;
  max-width: 520px;
  line-height: 1.6;
}

.module-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.module-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(11,27,115,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.module-card:not(.disabled):hover {
  box-shadow: 0 6px 24px rgba(11,27,115,0.12);
  transform: translateY(-2px);
}

.module-card.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--bemobi-purple);
  fill: none;
  stroke-width: 1.5;
}

.module-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.module-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

.module-card-footer {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.module-card-footer svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.module-card.disabled .module-card-footer {
  color: var(--muted);
}

.coming-soon-tag {
  display: inline-block;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── JSM page ── */
.jsm-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

.jsm-total-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Group pie (donut) ─────────────────────────────────────── */
.group-pie-wrap {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
}
.group-pie-chart-area {
  flex: 0 0 220px;
  height: 220px;
  position: relative;
}
.group-pie-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
  max-height: 260px;
}
.group-pie-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}
.group-pie-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.group-pie-legend-name { flex: 1; }
.group-pie-legend-count { font-weight: 600; }

/* ── Status summary table ──────────────────────────────────── */
.status-stat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.status-stat-table thead th {
  text-align: left;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.status-stat-row td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.status-stat-row:last-child td { border-bottom: none; }
.status-stat-name { font-weight: 500; }
.status-stat-count a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.status-stat-count a:hover { text-decoration: underline; }
.status-bar-col { width: 60%; padding: 9px 16px; }
.status-bar-track {
  background: var(--line);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.status-bar-fill {
  background: var(--accent);
  height: 100%;
  border-radius: 4px;
}
.status-stat-pct { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.status-stat-table tfoot td {
  padding: 9px 10px;
  border-top: 2px solid var(--line);
}

.jsm-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.jsm-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.jsm-row > .card {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.jsm-chart-wrap {
  position: relative;
  flex: 1;
  min-height: 200px;
}

.jsm-chart-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.jsm-refresh-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  white-space: nowrap;
}

.jsm-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin: 0 -20px -16px;
}

.jsm-stat-item {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.jsm-stat-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.jsm-stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 5px;
}

.jsm-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.35;
}

.jsm-stat-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.jsm-stat-icon.warn {
  background: #e85d04;
  color: #fff;
}

.jsm-stat-icon.ok {
  background: #2d9a4e;
  color: #fff;
}

/* ── SLA Tickets Page ── */
.sla-tickets-wrap {
  overflow-x: auto;
  margin: 0 -20px -16px;
}

.btn-back {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  align-self: center;
}

.btn-back:hover { text-decoration: underline; }

.nowrap { white-space: nowrap; }

.sla-ticket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.sla-ticket-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.sla-ticket-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.sla-ticket-table tr:last-child td { border-bottom: none; }

.sla-ticket-table tr:hover td { background: var(--bg); }

.sla-ticket-key {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.sla-ticket-key:hover { text-decoration: underline; }

.sla-ticket-summary {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sla-sla-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.sla-sla-badge.breached { background: #fde8dc; color: #c0390b; }
.sla-sla-badge.at-risk  { background: #fff3cd; color: #856404; }
.sla-sla-badge.ok       { background: #d4f0de; color: #1a6b38; }
.sla-sla-badge.none     { background: var(--line); color: var(--muted); }

/* ── Ticket expandable rows ── */
.ticket-row {
  cursor: pointer;
}

.ticket-row:hover td { background: var(--bg); }

.ticket-row-open td { background: #eef1fb; }

.ticket-expand-icon {
  color: var(--muted);
  font-size: 0.6rem;
  width: 20px;
  text-align: center;
  user-select: none;
}

.sla-ticket-key-cell {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.ticket-detail-row td {
  padding: 0 !important;
  border-bottom: 2px solid var(--accent) !important;
}

.ticket-detail-box {
  background: #f5f7fe;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
}

.ticket-detail-full {
  grid-column: 1 / -1;
}

.ticket-detail-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.ticket-detail-value {
  font-size: 0.82rem;
  color: var(--ink);
}

.ticket-detail-description {
  white-space: pre-wrap;
  max-height: 160px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.ticket-detail-sla-time {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 4px;
}

/* ── */
.jsm-stat-value a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.jsm-stat-value a:hover {
  text-decoration: underline;
  color: var(--accent);
}

/* ── SLA Success Rate ── */
.sla-rate-overview {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.sla-overview-item {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}
.sla-overview-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.sla-overview-value {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.sla-rate-toolbar {
  margin-bottom: 12px;
}

.sla-rate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
}

.sla-rate-combo {
  position: relative;
  display: inline-block;
}

.sla-rate-combo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.82rem;
  font-family: 'Poppins', Arial, sans-serif;
  cursor: pointer;
}

.sla-rate-combo-btn:hover { border-color: var(--accent); }

.sla-rate-combo-arrow { font-size: 0.7rem; color: var(--muted); }

.sla-rate-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(11,27,115,0.12);
  width: 340px;
  max-height: 340px;
  display: flex;
  flex-direction: column;
}
.sla-rate-dropdown[hidden],
.sla-rate-backdrop[hidden] {
  display: none;
}

.sla-rate-search {
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  border-radius: 10px 10px 0 0;
  outline: none;
  background: var(--bg);
}

.sla-rate-options {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  flex: 1;
}

.sla-rate-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--ink);
}

.sla-rate-option:hover { background: var(--bg); }

.sla-rate-option.checked { background: #f0f3fe; }

.sla-rate-option-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sla-rate-option-name { flex: 1; }

.sla-rate-option-rate {
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}

.sla-rate-option-check {
  font-size: 0.7rem;
  color: var(--accent);
  margin-left: 4px;
}

.sla-rate-option-empty {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
}

.sla-rate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  min-height: 0;
}

.sla-rate-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid var(--tag-color, var(--accent));
  background: color-mix(in srgb, var(--tag-color, var(--accent)) 8%, white);
  font-size: 0.75rem;
  color: var(--ink);
}

.sla-rate-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sla-rate-tag-rate {
  font-weight: 600;
  font-size: 0.72rem;
}

.sla-rate-tag-remove {
  background: none;
  border: none;
  font-size: 0.65rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0 0 0 2px;
  line-height: 1;
}

.sla-rate-tag-remove:hover { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .jsm-row { grid-template-columns: 1fr; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

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

  .page-wrapper { margin-left: 0; height: 100vh; }

  .page-content { padding: 16px; }

  .home-hero { padding: 32px 24px; }
  .home-hero h1 { font-size: 1.5rem; }
}

/* ── JSM Export card ── */
.jsm-export-card .card-head { margin-bottom: 16px; }

.jsm-export-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jsm-export-fields {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.jsm-export-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jsm-export-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jsm-date-input {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--bg);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.jsm-date-input:focus {
  border-color: var(--bemobi-purple);
}

.jsm-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 20px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.jsm-export-btn:hover { opacity: 0.88; }
.jsm-export-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.jsm-export-hint {
  font-size: 0.8rem;
  color: #c0392b;
}

/* ── Export column selector ── */
.export-cols-dropdown {
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
}

/* Portal Parceiros Bemobi — Additional styles */

/* ── Login page ───────────────────────────────────────────────────────────── */
body.login-body {
  background: var(--bemobi-navy);
  background-image: linear-gradient(135deg, #020F5B 0%, #0B1B73 40%, #6924E1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.login-container {
  width: 100%;
  max-width: 440px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(2,15,91,0.4);
}
.login-logo { margin-bottom: 20px; text-align: center; }
.login-logo-img { width: 140px; background: var(--bemobi-navy); border-radius: 8px; padding: 10px 16px; }
.login-title { margin: 0 0 6px; font-size: 1.4rem; font-weight: 600; color: var(--bemobi-navy); text-align: center; }
.login-subtitle { margin: 0 0 24px; font-size: 0.88rem; color: var(--muted); text-align: center; font-weight: 300; }
.login-section { margin-bottom: 16px; }
.login-section-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.login-divider { text-align: center; position: relative; margin: 20px 0; color: var(--muted); font-size: 0.8rem; }
.login-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.login-divider span { background: #fff; padding: 0 10px; position: relative; }
.login-form { display: flex; flex-direction: column; gap: 12px; }
.login-field { display: flex; flex-direction: column; gap: 4px; }
.login-label { font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.login-input {
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.login-input:focus { border-color: var(--accent); }
.login-hint { font-size: 0.78rem; color: var(--muted); font-weight: 300; margin-top: 8px; line-height: 1.5; }
.login-error {
  background: #fff0f0;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.login-error svg { width: 18px; height: 18px; flex-shrink: 0; stroke: #b91c1c; fill: none; stroke-width: 1.5; margin-top: 1px; }
.login-footer { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* Google SSO button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn-google:hover { border-color: #4285F4; box-shadow: 0 2px 8px rgba(66,133,244,0.18); }
.btn-google-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Buttons */
.btn-primary {
  display: block;
  width: 100%;
  padding: 11px 20px;
  background: var(--gradient);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  text-align: center;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  padding: 8px 16px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--line); }
.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 6px;
  text-decoration: underline;
}
.btn-link:hover { opacity: 0.8; }
.btn-link-danger { color: #c0392b; }
.visibility-cell { min-width: 160px; }
.visibility-row  { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.visibility-row:last-child { margin-bottom:0; }
.visibility-org-label { font-size:0.75rem; color:var(--muted); white-space:nowrap; min-width:60px; }
.scope-select {
  font-size:0.8rem; padding:3px 8px; border:1px solid var(--line);
  border-radius:6px; color:var(--ink); background:#fff; cursor:pointer;
  appearance:auto;
}
.scope-select:focus { outline:none; border-color:var(--bemobi-mid-blue); }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-back:hover { background: var(--line); }

/* Magic sent */
.magic-sent-icon { text-align: center; margin: 8px 0 16px; }
.magic-sent-icon svg { width: 52px; height: 52px; stroke: var(--bemobi-blue); fill: none; stroke-width: 1.5; }

/* ── Sidebar user + logout ────────────────────────────────────────────────── */
.sidebar-user {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-email { font-size: 0.7rem; color: rgba(255,255,255,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-logout { padding: 6px; border-radius: 6px; color: rgba(255,255,255,0.5); transition: color 0.15s, background 0.15s; flex-shrink: 0; }
.sidebar-logout:hover { color: #fff; background: rgba(255,255,255,0.08); }
.sidebar-logout svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; display: block; }

/* ── Home org cards ──────────────────────────────────────────────────────── */
.home-orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.home-org-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(11,27,115,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-org-card:hover { box-shadow: 0 6px 24px rgba(11,27,115,0.12); transform: translateY(-2px); }
.home-org-icon svg { width: 28px; height: 28px; stroke: var(--bemobi-purple); fill: none; stroke-width: 1.5; }
.home-org-name { font-size: 1rem; font-weight: 600; }
.home-org-key { font-size: 0.75rem; color: var(--muted); font-family: monospace; }
.home-org-arrow { font-size: 1.1rem; color: var(--accent); margin-top: auto; }

/* ── Admin area ──────────────────────────────────────────────────────────── */
.admin-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.admin-kpi-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 1px 4px rgba(11,27,115,0.05); }
.admin-kpi-label { font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-bottom: 6px; }
.admin-kpi-value { font-size: 1.8rem; font-weight: 700; color: var(--ink); }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: 8px; }
.admin-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid var(--line); font-weight: 600; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-table td { padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr.row-inactive td { opacity: 0.5; }
.admin-table a { color: var(--accent); text-decoration: none; font-weight: 500; }
.admin-table a:hover { text-decoration: underline; }
.admin-table code { background: var(--bg); border-radius: 4px; padding: 2px 6px; font-size: 0.82rem; color: var(--bemobi-navy); }

.admin-form { padding: 4px 0; }
.admin-form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.admin-form-field { display: flex; flex-direction: column; gap: 4px; min-width: 180px; flex: 1; }
.admin-form-field label { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.admin-input {
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.87rem;
  color: var(--ink);
  background: var(--card);
  outline: none;
  transition: border-color 0.15s;
}
.admin-input:focus { border-color: var(--accent); }
.admin-form .btn-primary { width: auto; }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-active  { background: #d1fae5; color: #065f46; }
.badge-inactive { background: #fee2e2; color: #991b1b; }
.badge-running { background: #fef3c7; color: #92400e; }
.badge-idle    { background: var(--bg); color: var(--muted); }
.badge-owner   { background: linear-gradient(to right, #B8860B, #DAA520); color: #fff; }
.badge-admin   { background: linear-gradient(to right, #6924E1, #027BFF); color: #fff; }
.badge-bemobi  { background: rgba(6,46,237,0.1); color: var(--bemobi-blue); }
.badge-external { background: var(--bg); color: var(--muted); }

.edit-row td { background: #f8f9ff; padding: 12px 16px; }

.admin-ingest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.admin-ingest-item { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.admin-ingest-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 2px; }
.admin-ingest-value { font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.admin-ingest-status { font-size: 0.82rem; font-weight: 600; }
.admin-ingest-status.ok  { color: #065f46; }
.admin-ingest-status.err { color: #991b1b; }
.admin-ingest-log { margin-top: 16px; }
.admin-log-pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.78rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 300px;
  overflow-y: auto;
}
.muted { color: var(--muted); font-size: 0.82rem; }

/* ── Proxy scrollbar (fixed at viewport bottom) ── */
.hscroll-proxy {
  position: fixed;
  bottom: 0;
  height: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  z-index: 999;
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.hscroll-proxy-inner { height: 1px; }
.hscroll-proxy::-webkit-scrollbar           { height: 8px; }
.hscroll-proxy::-webkit-scrollbar-track     { background: #e8eaf0; border-radius: 4px; }
.hscroll-proxy::-webkit-scrollbar-thumb     { background: #b0b8d8; border-radius: 4px; }
.hscroll-proxy::-webkit-scrollbar-thumb:hover { background: #8892bc; }

/* ── Sidebar sub-item ── */
.nav-subitem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 32px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.nav-subitem:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.nav-subitem.active { color: #fff; border-left-color: var(--bemobi-mid-blue); background: rgba(2,123,255,0.12); }

/* ── Chamados — filter bar ── */
.chamados-filter-card { padding: 16px 20px; }
.chamados-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.filter-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-select {
  font-size: 0.8rem;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.filter-select:focus { outline: 2px solid var(--bemobi-mid-blue); outline-offset: 1px; }
.chamados-filter-actions { display: flex; gap: 8px; align-items: center; }

.btn-primary-sm, .btn-ghost-sm, .btn-export-sm {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
}
.btn-primary-sm { background: var(--bemobi-mid-blue); color: #fff; }
.btn-ghost-sm   { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-export-sm  { background: #e8f0fe; color: #0B1B73; }
.btn-danger-sm  { background: #fdecea; color: #c0392b; border: 1px solid #f5b7b1; font-size: 0.8rem; font-weight: 500; padding: 7px 16px; border-radius: 8px; cursor: pointer; }
.btn-primary-sm:hover, .btn-ghost-sm:hover, .btn-export-sm:hover, .btn-danger-sm:hover { opacity: 0.82; }

/* ── Users — filter bar ── */
.users-filter-bar { display:flex; align-items:center; gap:10px; padding:14px 0 18px; flex-wrap:wrap; }
.uf-ms { position:relative; }
.uf-ms-btn {
  display:flex; align-items:center; gap:4px;
  padding:7px 14px; border:1px solid var(--line); border-radius:8px;
  background:#fff; cursor:pointer; font-size:0.82rem; color:var(--ink);
  white-space:nowrap; transition:border-color 0.15s;
}
.uf-ms-btn:hover, .uf-ms-btn.active { border-color:var(--bemobi-mid-blue); }
.uf-ms-btn.active { background:#f0f4ff; }
.uf-ms-label { color:var(--bemobi-mid-blue); font-weight:600; }
.uf-ms-arrow { font-size:0.65rem; color:var(--muted); }
.uf-ms-drop {
  position:absolute; top:calc(100% + 4px); left:0; z-index:200;
  background:#fff; border:1px solid var(--line); border-radius:10px;
  box-shadow:0 4px 18px rgba(0,0,0,0.10); min-width:175px; padding:6px 0;
}
.uf-ms-drop label {
  display:flex; align-items:center; gap:8px;
  padding:7px 16px; cursor:pointer; font-size:0.83rem; color:var(--ink);
}
.uf-ms-drop label:hover { background:var(--bg); }
.uf-ms-drop input[type=checkbox] { accent-color:var(--bemobi-mid-blue); width:14px; height:14px; flex-shrink:0; }

/* ── Users — sortable headers ── */
th[data-col] { cursor:pointer; user-select:none; white-space:nowrap; }
th[data-col]:hover { color:var(--bemobi-mid-blue); }
th.th-sorted { color:var(--bemobi-mid-blue); }
.sort-icon { font-size:0.72rem; opacity:0.45; margin-left:2px; }
th.th-sorted .sort-icon { opacity:1; }

/* ── Chamados — pagination ── */
.chamados-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0 4px;
  font-size: 0.82rem;
}
.pag-btn {
  padding: 6px 14px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--accent);
  text-decoration: none;
  transition: background 0.15s;
}
.pag-btn:hover { background: var(--line); }
.pag-btn.disabled { color: var(--muted); pointer-events: none; }
.pag-info { color: var(--muted); }

/* ── Admin — org tags with remove button ── */
.org-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bemobi-off-white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.78rem;
  color: var(--ink);
  margin: 2px 2px 2px 0;
}
.btn-org-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0 1px;
  display: inline-flex;
  align-items: center;
}
.btn-org-remove:hover { color: #c0392b; }

/* ── Ticket comment thread ── */
.ticket-comments-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}
.ticket-comment {
  background: var(--bemobi-off-white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px;
}
.ticket-comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ticket-comment-author {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bemobi-navy);
}
.ticket-comment-date {
  font-size: 0.72rem;
  color: var(--muted);
}
.ticket-comment-body {
  font-size: 0.82rem;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}

/* ── Abrir Chamado — breadcrumb ── */
.ticket-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 18px;
  font-size: 0.8rem;
}
.ticket-bc-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ticket-bc-btn:hover { opacity: 0.75; }
.ticket-bc-sep { color: var(--muted); }
.ticket-bc-current { color: var(--muted); font-weight: 500; }
.ticket-bc-label { font-size: 0.8rem; }

/* ── Abrir Chamado — group cards ── */
.ticket-groups-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}
.ticket-group-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ticket-group-card:hover {
  border-color: var(--bemobi-mid-blue);
  box-shadow: 0 2px 8px rgba(2,123,255,0.1);
}
.ticket-group-body { flex: 1; min-width: 0; }
.ticket-group-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bemobi-mid-blue);
  margin-bottom: 4px;
}
.ticket-group-types {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-group-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--muted);
}
.ticket-group-card:hover .ticket-group-arrow { stroke: var(--bemobi-mid-blue); }

/* ── Abrir Chamado — types list ── */
.ticket-types-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
}
.ticket-type-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ticket-type-item:hover {
  border-color: var(--bemobi-mid-blue);
  box-shadow: 0 2px 8px rgba(2,123,255,0.1);
}
.ticket-type-name {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.ticket-type-item:hover .ticket-type-name { color: var(--bemobi-mid-blue); }
.ticket-type-item:hover .ticket-group-arrow { stroke: var(--bemobi-mid-blue); }

/* ── Abrir Chamado — form ── */
.ticket-form { padding: 4px 0 8px; }
.ticket-form-group { min-width: 280px; max-width: 560px; margin-bottom: 4px; }
.ticket-form-select { width: 100%; max-width: 560px; }
.ticket-form-textarea {
  width: 100%;
  max-width: 560px;
  min-height: 120px;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}
.ticket-form-textarea:focus { outline: 2px solid var(--bemobi-mid-blue); outline-offset: 1px; }
.ticket-form-actions { padding: 16px 0 4px; }
.required-star { color: #c0392b; margin-left: 2px; }

/* ── Abrir Chamado — success ── */
.ticket-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px 32px;
  text-align: center;
}
.ticket-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f8ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket-success-icon svg { width: 28px; height: 28px; stroke: #27ae60; }
.ticket-success-title { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.ticket-success-key {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bemobi-mid-blue);
  letter-spacing: 0.02em;
}
.ticket-success-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
