:root {
  /* Brand: magenta #da34c3 → deep blue #1214b2 */
  --bs-body-bg: #ffffff;
  --bs-body-color: #0f172a;
  --bs-border-color: #ebe7f5;
  --bs-primary: #1214b2;
  --bs-primary-rgb: 18, 20, 178;
  --bs-link-color: #1214b2;
  --bs-link-hover-color: #da34c3;
  --bs-body-font-family: "GT Walsheim", Arial, sans-serif;
  --tm-radius: 0.75rem;
  --tm-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --tm-shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.06);
  --tm-muted: #64748b;
  --tm-surface: #ffffff;
  --tm-surface-soft: #f6f9fc;
  --tm-ok: #16a34a;
  --tm-warn: #d97706;
  --tm-danger: #dc2626;
  --tm-ok-bg: #f0fdf4;
  --tm-warn-bg: #fffbeb;
  --tm-danger-bg: #fef2f2;
  --tm-accent: #da34c3;
  --tm-accent-soft: #fce8f8;
  --tm-primary-deep: #1214b2;
  --tm-brand-mid: #7a24bb;
}

body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: "GT Walsheim", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.btn, .form-control, .form-select, .nav-link,
.tmduty-brand, .table, .badge, .modal, .card {
  font-family: "GT Walsheim", Arial, sans-serif;
}

a { text-decoration: none; }
a:hover { text-decoration: none; color: var(--bs-link-hover-color); }

.text-muted-tmduty { color: var(--tm-muted) !important; }

.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #0e1090;
  --bs-btn-hover-border-color: #0e1090;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #0c0e7a;
  --bs-btn-active-border-color: #0c0e7a;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.55rem 1.25rem;
  box-shadow: 0 8px 20px rgba(18, 20, 178, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(18, 20, 178, 0.22);
}

.btn-outline-primary {
  --bs-btn-color: var(--tm-primary-deep);
  --bs-btn-border-color: #d5d8f0;
  --bs-btn-hover-bg: #f4f5fc;
  --bs-btn-hover-border-color: #b8bce8;
  --bs-btn-hover-color: var(--tm-primary-deep);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.55rem 1.25rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-outline-primary:hover {
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 999px;
  color: var(--bs-body-color);
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-light:hover {
  background: #f8fafc;
  border-color: #d8dee8;
  color: var(--tm-primary-deep);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-modern i {
  font-size: 1rem;
  line-height: 1;
}
.btn-modern-primary {
  background: linear-gradient(135deg, #1214b2 0%, #2a2dd4 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 20, 178, 0.22);
}
.btn-modern-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 20, 178, 0.28);
  background: linear-gradient(135deg, #0e1090 0%, #1214b2 100%);
}
.btn-modern-ghost {
  background: #fff;
  color: var(--tm-primary-deep);
  border-color: #dde2f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-modern-ghost:hover {
  color: var(--tm-primary-deep);
  background: #f7f8fc;
  border-color: #c9d0e8;
  transform: translateY(-2px);
}

.card, .tmduty-card {
  background: var(--tm-surface);
  border: 1px solid #eef1f6;
  border-radius: 1rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--bs-border-color);
  font-weight: 600;
}

.form-control, .form-select {
  border-radius: 0.625rem;
  border-color: var(--bs-border-color);
  background: #fff;
  padding: 0.65rem 0.85rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 0.2rem rgba(218, 52, 195, 0.2);
}

.badge-status {
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.35em 0.7em;
}

.badge-ok { background: var(--tm-ok-bg); color: var(--tm-ok); }
.badge-warning { background: var(--tm-warn-bg); color: var(--tm-warn); }
.badge-danger { background: var(--tm-danger-bg); color: var(--tm-danger); }
.badge-neutral { background: var(--tm-surface-soft); color: var(--tm-muted); }

.nav-pills .nav-link {
  color: var(--tm-muted);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 500;
}
.nav-pills .nav-link.active {
  background: var(--tm-accent-soft);
  color: var(--tm-primary-deep);
}

/* Public navbar */
.tmduty-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bs-border-color);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  min-height: 4.25rem;
}
.tmduty-navbar .nav-link {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: #5a6b7d;
  letter-spacing: -0.01em;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tmduty-navbar .nav-link:hover {
  color: var(--tm-accent);
  text-decoration: none;
}
.tmduty-navbar .nav-link.active {
  color: var(--tm-primary-deep);
  border-bottom-color: var(--tm-accent);
  font-weight: 600;
}
.tmduty-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bs-body-color);
  letter-spacing: -0.03em;
}
.tmduty-brand:hover { text-decoration: none; color: var(--tm-primary-deep); }
.tmduty-brand span {
  color: var(--tm-accent);
  font-weight: 700;
}
.tmduty-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(240px, 60vw);
  object-fit: contain;
  border-radius: 0.35rem;
}
.tmduty-logo-footer {
  height: 52px;
  max-width: 260px;
}
.tmduty-logo-register {
  height: 56px;
  max-width: 280px;
}

/* Hero */
.tmduty-hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 15% 10%, rgba(218, 52, 195, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 20%, rgba(18, 20, 178, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%, #ffffff 100%);
}

/* Modern home page */
.home-hero {
  position: relative;
  padding: 6rem 0 3.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 8% 0%, rgba(18, 20, 178, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 92% 8%, rgba(218, 52, 195, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 70%);
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.15rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6eaf2;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tm-primary-deep);
}
.home-hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  box-shadow: 0 0 0 3px rgba(218, 52, 195, 0.15);
}
.home-hero h1 {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #0f172a;
  max-width: 20ch;
  margin-bottom: 1rem;
}
.home-hero-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--tm-muted);
  max-width: 34rem;
  margin-bottom: 0;
  font-weight: 500;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8edf5;
}
.home-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}
.home-hero-trust-item i {
  color: var(--tm-primary-deep);
  font-size: 1rem;
}

.home-preview {
  position: relative;
}
.home-preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.home-preview-tab {
  appearance: none;
  border: 1px solid #e6eaf2;
  background: #fff;
  color: #64748b;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.15s ease;
}
.home-preview-tab:hover {
  color: var(--tm-primary-deep);
  border-color: #cfd6ea;
}
.home-preview-tab.active {
  background: var(--tm-primary-deep);
  border-color: var(--tm-primary-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(18, 20, 178, 0.2);
}
.home-preview-window {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 1.15rem;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.02),
    0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.home-preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #eef1f6;
}
.home-preview-dots {
  display: flex;
  gap: 0.35rem;
}
.home-preview-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #dbe2ea;
}
.home-preview-dots span:nth-child(1) { background: #f87171; }
.home-preview-dots span:nth-child(2) { background: #fbbf24; }
.home-preview-dots span:nth-child(3) { background: #34d399; }
.home-preview-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8edf5;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}
.home-preview-chrome-actions {
  display: flex;
  gap: 0.35rem;
}
.home-preview-chrome-actions span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.4rem;
  border: 1px solid #e8edf5;
  background: #fff;
}
.home-preview-layout {
  display: flex;
  min-height: 340px;
}
.home-preview-rail {
  width: 3.25rem;
  flex-shrink: 0;
  background: #f7f9fc;
  border-right: 1px solid #eef1f6;
  padding: 0.85rem 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.home-preview-rail-logo {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}
.home-preview-rail-item {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background: #e8edf5;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.home-preview-rail-item.is-active {
  background: rgba(18, 20, 178, 0.14);
  color: var(--tm-primary-deep);
  box-shadow: inset 0 0 0 1px rgba(18, 20, 178, 0.18);
}
.home-preview-body {
  flex: 1;
  min-width: 0;
  padding: 1.1rem 1.15rem 1.2rem;
}
.home-preview-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}
.home-preview-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #0f172a;
}
.home-preview-copy {
  font-size: 0.82rem;
  color: var(--tm-muted);
  margin-bottom: 0.9rem;
}
.hp-summary {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
  height: 100%;
}
.hp-summary-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.2rem;
}
.hp-summary-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.hp-summary-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
}
.hp-panel {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem 0.55rem;
  height: 100%;
}
.hp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.hp-panel-head strong {
  font-size: 0.82rem;
  color: #0f172a;
}
.hp-panel-head span {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
}
.hp-activity-row,
.hp-coverage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef1f6;
}
.hp-activity-row.border-0,
.hp-coverage-row.border-0 {
  border-bottom: 0;
}
.hp-activity-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.hp-activity-detail {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.1rem;
}
.hp-coverage-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}
.hp-coverage-pct {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.15rem 0 0.4rem;
}
.hp-coverage-bar {
  height: 6px;
  background: #e8edf5;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}
.hp-coverage-bar .progress-bar {
  background: linear-gradient(90deg, var(--tm-primary-deep), #3b4bdf);
}
.hp-panel .ws-action-pill {
  min-width: 4.1rem;
  padding: 0.22rem 0.5rem;
  font-size: 0.65rem;
}
.hp-panel .ws-coverage-badge {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.72rem;
}

@media (max-width: 991.98px) {
  .home-preview-layout {
    min-height: 0;
  }
  .home-preview-rail {
    display: none;
  }
}

/* Home hero: scaled-down app dashboard preview */
.mini-app {
  display: flex;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 1.1rem;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.02),
    0 20px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  user-select: none;
}
.mini-side {
  width: 132px;
  flex-shrink: 0;
  padding: 0.9rem 0.6rem;
  border-right: 1px solid #eef1f6;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.mini-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.35rem 0.75rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #eef1f6;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
}
.mini-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  color: #fff;
  font-size: 0.55rem;
  letter-spacing: 0.02em;
}
.mini-side-label {
  padding: 0.55rem 0.4rem 0.25rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.mini-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.4rem;
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
}
.mini-nav i {
  font-size: 0.72rem;
}
.mini-nav.is-active {
  background: linear-gradient(135deg, rgba(218, 52, 195, 0.12), rgba(18, 20, 178, 0.1));
  color: var(--tm-primary-deep);
  font-weight: 700;
}

.mini-main {
  flex: 1;
  min-width: 0;
  background: #f6f9fc;
  display: flex;
  flex-direction: column;
}
.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
}
.mini-crumb {
  font-size: 0.66rem;
  color: #94a3b8;
}
.mini-crumb span {
  margin: 0 0.15rem;
}
.mini-crumb b {
  color: #0f172a;
}
.mini-top-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mini-icon-btn,
.mini-user {
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
}
.mini-icon-btn {
  border: 1px solid #e9ecef;
  border-radius: 0.4rem;
  color: #64748b;
}
.mini-user {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  color: #fff;
  font-weight: 700;
}

.mini-body {
  padding: 0.85rem 0.9rem 0.95rem;
}
.mini-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.mini-greeting {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.mini-sub {
  font-size: 0.64rem;
  color: #64748b;
  margin-top: 0.1rem;
}
.mini-head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.mini-head-actions .badge-status {
  font-size: 0.56rem;
}
.mini-btn {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--tm-primary-deep);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.mini-stat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.6rem 0.65rem;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 0.7rem;
}
.mini-stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: #64748b;
}
.mini-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.2;
}
.mini-stat-meta {
  font-size: 0.54rem;
  color: #94a3b8;
}
.mini-stat-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
}
.mini-stat-icon.is-primary { background: linear-gradient(135deg, #1214b2, #3b4bdf); }
.mini-stat-icon.is-success { background: linear-gradient(135deg, #16a34a, #22c55e); }
.mini-stat-icon.is-accent { background: linear-gradient(135deg, #da34c3, #7a24bb); }

.mini-panels {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0.5rem;
}
.mini-panel {
  padding: 0.65rem 0.7rem;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 0.7rem;
}
.mini-panel-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.mini-panel-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
}
.mini-panel-sub {
  font-size: 0.56rem;
  color: #94a3b8;
}
.mini-link {
  padding: 0.18rem 0.45rem;
  border: 1px solid #e6eaf2;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 600;
  color: #0f172a;
}

.mini-gauge {
  position: relative;
  max-width: 150px;
  margin: 0.45rem auto 0;
}
.mini-gauge svg {
  display: block;
  width: 100%;
  height: auto;
}
.mini-gauge-center {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.1;
}
.mini-gauge-center strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}
.mini-gauge-center span {
  font-size: 0.52rem;
  color: #94a3b8;
}
.mini-coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid #eef1f6;
  text-align: center;
}
.mini-coverage-stats div + div {
  border-left: 1px solid #eef1f6;
}
.mini-coverage-stats span {
  display: block;
  font-size: 0.54rem;
  font-weight: 600;
  color: #94a3b8;
}
.mini-coverage-stats b {
  font-size: 0.8rem;
  color: #0f172a;
}

.mini-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.1rem 0 0.2rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mini-section-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.5rem;
}
.mini-section-pill.is-overdue {
  background: var(--tm-danger-bg);
  color: var(--tm-danger);
}
.mini-section-pill.is-expired {
  background: var(--tm-warn-bg);
  color: var(--tm-warn);
}
.mini-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid #eef1f6;
}
.mini-alert-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: #0f172a;
}
.mini-alert-detail {
  font-size: 0.54rem;
  color: #94a3b8;
}
.mini-alert .badge-status {
  font-size: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .mini-side {
    display: none;
  }
  .mini-stats,
  .mini-panels {
    grid-template-columns: 1fr;
  }
}

@keyframes mini-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mini-slide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes mini-draw {
  from { stroke-dashoffset: 245.04; }
}

@media (prefers-reduced-motion: no-preference) {
  .mini-app {
    animation: mini-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .mini-nav,
  .mini-side-label {
    animation: mini-slide 0.45s ease backwards;
  }
  .mini-side > :nth-child(2) { animation-delay: 0.15s; }
  .mini-side > :nth-child(3) { animation-delay: 0.19s; }
  .mini-side > :nth-child(4) { animation-delay: 0.23s; }
  .mini-side > :nth-child(5) { animation-delay: 0.27s; }
  .mini-side > :nth-child(6) { animation-delay: 0.31s; }
  .mini-side > :nth-child(7) { animation-delay: 0.35s; }
  .mini-side > :nth-child(8) { animation-delay: 0.39s; }
  .mini-side > :nth-child(9) { animation-delay: 0.43s; }
  .mini-side > :nth-child(10) { animation-delay: 0.47s; }
  .mini-side > :nth-child(11) { animation-delay: 0.51s; }
  .mini-side > :nth-child(12) { animation-delay: 0.55s; }

  .mini-head,
  .mini-stat,
  .mini-panel,
  .mini-alert,
  .mini-section-pill {
    animation: mini-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .mini-head { animation-delay: 0.2s; }
  .mini-stat:nth-child(1) { animation-delay: 0.3s; }
  .mini-stat:nth-child(2) { animation-delay: 0.38s; }
  .mini-stat:nth-child(3) { animation-delay: 0.46s; }
  .mini-panel:nth-child(1) { animation-delay: 0.56s; }
  .mini-panel:nth-child(2) { animation-delay: 0.64s; }
  .mini-panel:nth-child(2) > :nth-child(2) { animation-delay: 0.78s; }
  .mini-panel:nth-child(2) > :nth-child(3) { animation-delay: 0.86s; }
  .mini-panel:nth-child(2) > :nth-child(4) { animation-delay: 0.94s; }
  .mini-panel:nth-child(2) > :nth-child(5) { animation-delay: 1.02s; }
  .mini-panel:nth-child(2) > :nth-child(6) { animation-delay: 1.1s; }

  .mini-gauge-arc {
    animation: mini-draw 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
  }

  .mini-stat,
  .mini-panel {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .mini-stat:hover,
  .mini-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
  }
  .mini-nav {
    transition: background 0.15s ease, color 0.15s ease;
  }
  .mini-nav:not(.is-active):hover {
    background: #f6f9fc;
    color: #0f172a;
  }
}

.home-strip {
  padding: 0 0 0.5rem;
}
.home-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 3.85rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}
.home-strip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

.home-section {
  padding: 4rem 0;
  background: #fff;
}
.home-section-soft {
  background: #f7f9fc;
}
.home-section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}
.home-section-head h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.home-feature {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.65rem 1.45rem 1.5rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid #eef1f6;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.home-feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--tm-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}
.home-feature:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  color: inherit;
  text-decoration: none;
}
.home-feature:hover::after {
  transform: scaleX(1);
}
.home-feature-num {
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #eef1f6;
  pointer-events: none;
  transition: color 0.25s ease;
}
.home-feature:hover .home-feature-num {
  color: #e4e8f0;
}
.home-feature-icon {
  position: relative;
  z-index: 1;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: #eef0fa;
  color: var(--tm-primary-deep);
  font-size: 1.15rem;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.home-feature:hover .home-feature-icon {
  background: var(--tm-accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(218, 52, 195, 0.28);
}
.home-feature h3 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.home-feature p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--tm-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  transition: margin-bottom 0.25s ease;
}
.home-feature:hover p {
  margin-bottom: 1.1rem;
}
.home-feature-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-height: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tm-accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}
.home-feature-link i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.home-feature:hover .home-feature-link {
  max-height: 2rem;
  opacity: 1;
  transform: translateY(0);
}
.home-feature:hover .home-feature-link i {
  transform: translateX(3px);
}

.home-step {
  position: relative;
  height: 100%;
  padding: 1.5rem 1.35rem 1.5rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #eef1f6;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--tm-accent);
  opacity: 0.28;
  border-radius: 1rem 0 0 1rem;
  transition: opacity 0.25s ease;
}
.home-step:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}
.home-step:hover::before {
  opacity: 1;
}
.home-step-num {
  display: inline-block;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tm-accent);
  opacity: 0.28;
  margin-bottom: 0.85rem;
  transition: opacity 0.25s ease;
}
.home-step:hover .home-step-num {
  opacity: 1;
}
.home-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #0f172a;
}
.home-step p {
  margin: 0;
  color: var(--tm-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-cta-section {
  padding: 4.5rem 0 4.5rem;
  background: #fff;
}
.home-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.15rem;
  border-radius: 1.25rem;
  background: #f7f9fc;
  border: 1px solid #e8edf5;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}
.home-cta h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.home-cta p {
  margin: 0;
  max-width: 34rem;
  color: var(--tm-muted);
  font-weight: 500;
}
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-accent);
  margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
  .home-hero {
    padding-top: 2.75rem;
  }
  .home-hero h1 {
    max-width: none;
  }
  .home-cta {
    padding: 1.5rem;
  }
}

.ops-section {
  padding: 4.5rem 0;
  background: #fff;
}
.ops-section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.ops-section-head h2,
.ops-cta-panel h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.75rem;
}
.ops-pillar {
  height: 100%;
  padding: 1.5rem 0 0;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--tm-accent), var(--tm-primary-deep)) 1;
}
.ops-pillar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}
.ops-pillar .icon-tile {
  margin-bottom: 0.25rem;
}

.ops-cta {
  padding: 0 0 4.5rem;
}
.ops-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  border-radius: 1.15rem;
  color: #0f172a;
  background: #f7f9fc;
  border: 1px solid #e8edf5;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}
.ops-cta-panel p {
  max-width: 36rem;
  color: var(--tm-muted);
  font-weight: 500;
}
.ops-cta-panel .btn-light {
  background: #fff;
  border-color: #dde2f0;
  color: var(--tm-primary-deep);
  font-weight: 600;
}
.ops-cta-panel .btn-light:hover {
  background: #f8fafc;
  border-color: #c9d0e8;
  color: var(--tm-primary-deep);
}

.pricing-card {
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .ops-cta-panel {
    padding: 1.5rem;
  }
}

/* Product preview stage with floating callouts */
.preview-stage {
  position: relative;
  padding: 0.5rem 1rem 3.75rem;
}
.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}
.preview-tabs .nav-item {
  margin: 0;
}
.preview-tab {
  appearance: none;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.7rem;
  color: #5a6b7d;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.preview-tab:hover {
  color: var(--tm-primary-deep);
  border-color: #c9c4ef;
}
.preview-tab.active {
  background: var(--tm-accent-soft);
  border-color: #f0b6e8;
  color: var(--tm-primary-deep);
}

.dash-window {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  box-shadow: var(--tm-shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: #fbfcfd;
}
.dash-dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.dash-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #e2e8f0;
}
.dash-dots span:nth-child(1) { background: #f87171; }
.dash-dots span:nth-child(2) { background: #fbbf24; }
.dash-dots span:nth-child(3) { background: #34d399; }
.dash-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  color: var(--tm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-url i { font-size: 0.65rem; color: #94a3b8; }
.dash-chrome-actions {
  display: flex;
  gap: 0.55rem;
  color: #94a3b8;
  font-size: 0.9rem;
}
.dash-body {
  display: flex;
  min-height: 320px;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 40%);
}
.dash-rail {
  width: 3.25rem;
  flex-shrink: 0;
  border-right: 1px solid var(--bs-border-color);
  background: #fff;
  padding: 0.85rem 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.dash-logo {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--tm-accent) 0%, var(--tm-primary-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.dash-rail .icon-tile {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
  background: transparent;
  color: #94a3b8;
}
.dash-rail .icon-tile.active {
  background: var(--tm-accent-soft);
  color: var(--tm-primary-deep);
}
.dash-main {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.1rem 1.15rem;
}
.inner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.inner-tab {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  border: 1px solid transparent;
}
.inner-tab.active {
  background: var(--tm-accent-soft);
  border-color: #f0b6e8;
  color: var(--tm-primary-deep);
}
.linked-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--bs-border-color);
}
.linked-row .icon-tile {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.9rem;
}

.preview-stat {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
}
.preview-stat .value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--tm-accent-soft);
  color: var(--tm-primary-deep);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  padding: 1.35rem 1.35rem 1.5rem;
  max-width: 300px;
  width: min(300px, 82%);
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
}
.float-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.float-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.float-card-stat {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0f172a;
}
.float-card-priority {
  top: -2rem;
  right: -4.5rem;
  min-height: 12.5rem;
}
.float-card-priority .text-muted-tmduty {
  margin-top: auto;
}
.float-card-docs {
  left: -0.5rem;
  bottom: -4.5rem;
  min-height: 10.5rem;
}
.float-card-docs .text-muted-tmduty {
  margin-top: auto;
}

@media (max-width: 991.98px) {
  .preview-stage {
    padding: 0 0 1rem;
  }
  .preview-tabs {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }
  .preview-tab {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }
  .dash-rail {
    display: none;
  }
  .float-card {
    position: relative;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    max-width: none;
    width: 100%;
    margin-top: 1rem;
    box-shadow: var(--tm-shadow);
  }
}

/* Contact page */
.ct-hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(18, 20, 178, 0.09) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #fbf7fe 0%, #fff 100%);
}
.ct-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 1rem;
}
.ct-gradient-text {
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ct-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--tm-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}
.ct-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.88rem;
  color: #475569;
}
.ct-hero-meta i {
  color: var(--tm-accent);
  margin-right: 0.3rem;
}

.ct-routes {
  display: grid;
  gap: 0.9rem;
}
.ct-route {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #ebe7f5;
  border-radius: 1.1rem;
  box-shadow: 0 8px 24px rgba(18, 20, 178, 0.06);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ct-route::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--tm-accent), var(--tm-primary-deep));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ct-route:hover {
  color: inherit;
  transform: translateX(4px);
  border-color: rgba(218, 52, 195, 0.3);
  box-shadow: 0 16px 36px rgba(18, 20, 178, 0.1);
}
.ct-route:hover::before { opacity: 1; }
.ct-route-icon {
  flex: 0 0 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.ct-route-text strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}
.ct-route-text small {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--tm-muted);
}
.ct-route-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}
.ct-route:hover .ct-route-arrow {
  color: var(--tm-accent);
  transform: translateX(3px);
}

.ct-form-section {
  padding: 1rem 0 3rem;
  background: #fff;
}
.ct-panel {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  border: 1px solid #e8ecf3;
  border-radius: 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  scroll-margin-top: 6rem;
}
.ct-rail {
  padding: 2.25rem 2rem;
  background: linear-gradient(180deg, #f7f3fd 0%, #f1f4fe 100%);
  border-right: 1px solid #e8ecf3;
}
.ct-rail h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.ct-rail > p {
  font-size: 0.9rem;
  color: var(--tm-muted);
  margin-bottom: 1.75rem;
}
.ct-steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.35rem;
}
.ct-steps::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: 2px;
  background: #dcd6ee;
}
.ct-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s ease;
}
.ct-steps li span {
  flex: 0 0 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  background: #fff;
  border: 2px solid #dcd6ee;
  transition: all 0.2s ease;
}
.ct-steps li.is-active { color: #0f172a; font-weight: 600; }
.ct-steps li.is-active span {
  color: var(--tm-accent);
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 4px rgba(218, 52, 195, 0.12);
}
.ct-steps li.is-done span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.ct-rail-note {
  display: flex;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #e6e1f3;
}
.ct-rail-note i { color: var(--tm-warn); font-size: 1.1rem; }
.ct-rail-note p {
  font-size: 0.83rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.ct-form-wrap { padding: 2.25rem 2.5rem; }
.ct-group {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #eef1f6;
}
.ct-group legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}
.ct-group legend span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tm-accent);
  letter-spacing: 0.04em;
}
.ct-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.ct-tile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid #e5e9f2;
  border-radius: 0.85rem;
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.3;
  color: #334155;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ct-tile i {
  flex: 0 0 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  color: var(--tm-primary-deep);
  background: rgba(18, 20, 178, 0.07);
  transition: all 0.2s ease;
}
.ct-tile:hover { border-color: rgba(218, 52, 195, 0.45); }
.btn-check:checked + .ct-tile {
  color: #0f172a;
  border-color: var(--tm-accent);
  background: var(--tm-accent-soft);
  box-shadow: 0 6px 18px rgba(218, 52, 195, 0.12);
}
.btn-check:checked + .ct-tile i {
  color: #fff;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.btn-check:focus-visible + .ct-tile {
  outline: 2px solid var(--tm-accent);
  outline-offset: 2px;
}
.ct-error {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--tm-danger);
}
.ct-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.ct-form-foot p {
  font-size: 0.82rem;
  color: var(--tm-muted);
  margin: 0;
  max-width: 30rem;
}
.ct-form-foot p i { margin-right: 0.25rem; }
.ct-form-foot .ct-btn { flex-shrink: 0; }
.ct-form-foot .ct-btn i { transition: transform 0.2s ease; }
.ct-form-foot .ct-btn:hover i { transform: translate(2px, -2px); }

.ct-after {
  padding: 0 0 5rem;
  background: #fff;
}
.ct-next,
.ct-specific {
  height: 100%;
  padding: 2rem;
  border-radius: 1.5rem;
}
.ct-next {
  color: #fff;
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 70%),
    linear-gradient(115deg, var(--tm-accent) 0%, var(--tm-brand-mid) 50%, var(--tm-primary-deep) 100%);
}
.ct-next h2,
.ct-specific h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.ct-next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.ct-next-steps li {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ct-next-num {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tm-primary-deep);
  background: #fff;
  margin-bottom: 0.85rem;
}
.ct-next-steps strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.ct-next-steps p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.ct-specific {
  background: var(--tm-surface-soft);
  border: 1px solid #e8ecf3;
}
.ct-specific h2 { color: #0f172a; }
.ct-specific-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 0.9rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ct-specific-link:last-child { margin-bottom: 0; }
.ct-specific-link:hover {
  color: inherit;
  border-color: rgba(218, 52, 195, 0.4);
  box-shadow: 0 8px 20px rgba(18, 20, 178, 0.08);
}
.ct-specific-icon {
  flex: 0 0 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  font-size: 1.1rem;
  color: var(--tm-primary-deep);
  background: rgba(18, 20, 178, 0.08);
}
.ct-specific-icon.is-bug {
  color: var(--tm-accent);
  background: var(--tm-accent-soft);
}
.ct-specific-link strong {
  display: block;
  font-size: 0.93rem;
  color: #0f172a;
}
.ct-specific-link small {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--tm-muted);
}
.ct-specific-link > .bi-chevron-right {
  margin-left: auto;
  color: #94a3b8;
}

@media (max-width: 991.98px) {
  .ct-panel { grid-template-columns: 1fr; }
  .ct-rail { border-right: 0; border-bottom: 1px solid #e8ecf3; }
  .ct-steps { display: none; }
}
@media (max-width: 767.98px) {
  .ct-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-next-steps { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .ct-rail, .ct-form-wrap, .ct-next, .ct-specific { padding: 1.5rem; }
  .ct-route { padding: 1rem; }
  .ct-form-foot { flex-direction: column; align-items: stretch; }
}

/* Google sign-in */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid #dde3ee;
  border-radius: 0.65rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-google:hover,
.btn-google:focus-visible {
  background: #fff;
  border-color: #c7cfdd;
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.btn-google-logo {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e9f2;
}

/* Tracks board */
.dash-panel.track-board-panel {
  overflow: visible;
}
.track-board-panel .dash-panel-header {
  border-radius: 0.9rem 0.9rem 0 0;
}
.track-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.track-col {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  background: var(--tm-surface-soft);
  border: 1px dashed transparent;
  border-radius: 0.8rem;
  padding: 0.75rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.track-col.is-over {
  border-color: var(--tm-accent);
  background: rgba(218, 52, 195, 0.05);
}
.track-col-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.7rem;
}
.track-col-count {
  margin-left: auto;
  min-width: 1.6rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e9f2;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tm-muted);
  text-align: center;
}
.track-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}
.track-dot.is-open { background: #1214b2; }
.track-dot.is-investigation { background: #da34c3; }
.track-dot.is-evidence { background: #f59e0b; }
.track-dot.is-closed { background: #16a34a; }
.track-col-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.track-col-empty {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
  padding: 1.5rem 0.5rem;
  border: 1px dashed #dde3ee;
  border-radius: 0.6rem;
}
.track-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 0.7rem;
  padding: 0.75rem 0.8rem;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.track-card:hover {
  box-shadow: 0 8px 18px rgba(18, 20, 178, 0.08);
  transform: translateY(-1px);
}
.track-card.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}
.track-card-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.track-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef1f6;
  color: #475569;
}
.track-chip.is-work { background: rgba(18, 20, 178, 0.08); color: #1214b2; }
.track-chip.is-investigation { background: rgba(218, 52, 195, 0.1); color: #b21f9c; }
.track-chip.is-compliance { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.track-priority {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}
.track-priority.is-high { color: var(--tm-danger); }
.track-priority.is-medium { color: #d97706; }
.track-card-menu {
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0 0.25rem;
  border-radius: 0.35rem;
  line-height: 1;
}
.track-card-menu:hover {
  background: #f1f4f9;
  color: #0f172a;
}
.track-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}
.track-card-notes {
  font-size: 0.78rem;
  color: var(--tm-muted);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.track-card-foot {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid #f1f4f9;
}
.track-card-meta,
.track-card-due {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--tm-muted);
}
.track-card-due .badge-status {
  font-size: 0.66rem;
}
@media (max-width: 1199.98px) {
  .track-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .track-board { grid-template-columns: 1fr; }
}

/* Vehicle maintenance rows */
.maint-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11.5rem 8.5rem 7.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid #f1f4f9;
  transition: background 0.15s ease;
}
.maint-row:last-child {
  border-bottom: 0;
}
.maint-row:hover {
  background: #fafbfd;
}
.maint-row-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}
.maint-row-hint {
  font-size: 0.75rem;
  color: var(--tm-muted);
  margin-top: 0.15rem;
}
.maint-row-status,
.maint-row-action {
  text-align: right;
}
.maint-row input[readonly] {
  background: var(--tm-surface-soft);
}
.schedule-preview {
  margin-top: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  background: rgba(18, 20, 178, 0.06);
  color: var(--tm-primary-deep);
  font-size: 0.85rem;
}
@media (max-width: 767.98px) {
  .maint-row {
    grid-template-columns: 1fr auto;
    gap: 0.5rem 0.75rem;
  }
  .maint-row-main { grid-column: 1 / -1; }
  .maint-row-status { text-align: left; }
}

/* Pricing page */
.pr-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 45% 55% at 20% 0%, rgba(218, 52, 195, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 80% 5%, rgba(18, 20, 178, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(18, 20, 178, 0.08) 1px, transparent 0) 0 0 / 24px 24px,
    #fff;
}
.pr-hero-inner {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.pr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tm-primary-deep);
  background: #fff;
  border: 1px solid #e4e1f4;
  box-shadow: 0 4px 14px rgba(18, 20, 178, 0.06);
  margin-bottom: 1.5rem;
}
.pr-pill i { color: var(--tm-accent); }
.pr-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin-bottom: 1rem;
}
.pr-gradient-text {
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-brand-mid), var(--tm-primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pr-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--tm-muted);
  margin: 0;
}

.pr-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 54rem;
  margin: 0 auto;
  align-items: stretch;
}
.pr-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e8e6f4;
  border-radius: 1.75rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pr-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(18, 20, 178, 0.1);
}
.pr-plan.is-featured {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 70%),
    linear-gradient(145deg, var(--tm-accent) 0%, var(--tm-brand-mid) 45%, var(--tm-primary-deep) 100%);
  box-shadow: 0 30px 70px rgba(18, 20, 178, 0.28);
}
.pr-plan.is-featured:hover { box-shadow: 0 36px 80px rgba(18, 20, 178, 0.34); }
.pr-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tm-primary-deep);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
}
.pr-badge i { color: var(--tm-accent); }
.pr-plan-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-right: 5.5rem;
  margin-bottom: 1.75rem;
}
.pr-plan-icon {
  flex: 0 0 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.pr-plan.is-featured .pr-plan-icon {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.pr-plan h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.2rem;
}
.pr-plan-head p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--tm-muted);
  margin: 0;
}
.pr-plan.is-featured h2 { color: #fff; }
.pr-plan.is-featured .pr-plan-head p { color: rgba(255, 255, 255, 0.8); }
.pr-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}
.pr-currency {
  align-self: flex-start;
  margin-top: 0.55rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}
.pr-amount {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0f172a;
}
.pr-period {
  margin-left: 0.35rem;
  font-size: 0.95rem;
  color: var(--tm-muted);
}
.pr-plan.is-featured .pr-currency,
.pr-plan.is-featured .pr-amount { color: #fff; }
.pr-plan.is-featured .pr-period { color: rgba(255, 255, 255, 0.75); }

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}
.pr-plan .pr-btn { width: 100%; }
.pr-btn i { transition: transform 0.2s ease; }
.pr-btn:hover i { transform: translateX(3px); }
.pr-btn-outline {
  color: var(--tm-primary-deep);
  background: #fff;
  border: 1.5px solid rgba(18, 20, 178, 0.25);
}
.pr-btn-outline:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.pr-btn-light {
  color: var(--tm-primary-deep);
  background: #fff;
  border: 0;
}
.pr-btn-light:hover {
  color: var(--tm-accent);
  background: #fff;
}
.pr-includes {
  margin: 1.75rem 0 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eceaf5;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-muted);
}
.pr-plan.is-featured .pr-includes {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
}
.pr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.pr-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #1e293b;
}
.pr-list i {
  flex: 0 0 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--tm-accent);
  background: var(--tm-accent-soft);
}
.pr-plan.is-featured .pr-list li { color: #fff; }
.pr-plan.is-featured .pr-list i {
  color: var(--tm-primary-deep);
  background: #fff;
}

.pr-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: #475569;
}
.pr-trust i {
  color: var(--tm-accent);
  margin-right: 0.35rem;
}
.pr-trust a {
  font-weight: 600;
  color: var(--tm-primary-deep);
}

.pr-cta-section {
  padding: 0 0 5rem;
  background: #fff;
}
.pr-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2.75rem 3rem;
  border-radius: 1.75rem;
  color: #fff;
  background:
    radial-gradient(ellipse 40% 90% at 100% 50%, rgba(255, 255, 255, 0.16) 0%, transparent 70%),
    linear-gradient(115deg, var(--tm-accent) 0%, var(--tm-brand-mid) 50%, var(--tm-primary-deep) 100%);
  box-shadow: 0 24px 60px rgba(18, 20, 178, 0.2);
}
.pr-cta h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.pr-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.pr-cta-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.pr-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.pr-cta-link:hover { color: #fff; text-decoration: underline; }

@media (max-width: 991.98px) {
  .pr-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .pr-hero { padding-top: 3.5rem; }
  .pr-plans { grid-template-columns: 1fr; max-width: 28rem; }
}
@media (max-width: 575.98px) {
  .pr-plan { padding: 1.75rem 1.5rem; }
  .pr-cta { padding: 2rem 1.5rem; }
  .pr-cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* Features page cards */
.features-section {
  background: var(--tm-surface-soft);
}
.feature-card {
  display: flex;
  height: 100%;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 20, 178, 0.1);
}
.feature-card-side {
  flex: 0 0 5.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: #fff;
  background: linear-gradient(180deg, var(--tm-accent) 0%, var(--tm-primary-deep) 100%);
}
.feature-card-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.75;
}
.feature-card-side i {
  font-size: 1.65rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.feature-card:hover .feature-card-side i {
  transform: scale(1.1);
}
.feature-card-body {
  flex: 1;
  padding: 1.6rem 1.75rem;
}
.feature-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.6rem;
}
.feature-card-body p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--tm-muted);
  margin-bottom: 1rem;
}
.feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tm-muted);
  transition: color 0.2s ease;
}
.feature-card-link i {
  transition: transform 0.2s ease;
}
.feature-card:hover .feature-card-link {
  color: var(--tm-accent);
}
.feature-card:hover .feature-card-link i {
  transform: translateX(3px);
}
@media (max-width: 575.98px) {
  .feature-card-side {
    flex-basis: 4.25rem;
  }
  .feature-card-body {
    padding: 1.25rem;
  }
}

/* Blog */
.blog-hero {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(ellipse 45% 60% at 15% 0%, rgba(218, 52, 195, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 85% 0%, rgba(18, 20, 178, 0.08) 0%, transparent 60%),
    var(--tm-surface-soft);
}
.blog-hero-inner {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}
.blog-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 0.85rem;
}
.blog-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--tm-muted);
  margin-bottom: 1.75rem;
}
.blog-search {
  position: relative;
  display: flex;
  gap: 0.5rem;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(18, 20, 178, 0.06);
}
.blog-search > .bi-search {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.blog-search input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem 0.5rem 2.35rem;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  outline: none;
}
.blog-search .btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.blog-filters a {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.blog-filters a:hover {
  color: var(--tm-primary-deep);
  border-color: rgba(218, 52, 195, 0.4);
}
.blog-filters a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}

.blog-body {
  padding: 3rem 0 4rem;
  background: #fff;
}
.blog-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.blog-cover-fallback.is-fleet {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, #1214b2, #4f46e5);
}
.blog-cover-fallback.is-drivers {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, #7a24bb, #da34c3);
}
.blog-cover-fallback.is-compliance {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, #0f766e, #1214b2);
}
.blog-cover-fallback.is-guides {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, #da34c3, #f59e0b);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--tm-muted);
}
.blog-cat {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tm-accent);
  background: var(--tm-accent-soft);
  text-decoration: none;
}
.blog-cat:hover { color: var(--tm-primary-deep); }
.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
}
.blog-btn i { transition: transform 0.2s ease; }
.blog-btn:hover i { transform: translateX(3px); }
.blog-btn-light {
  color: var(--tm-primary-deep);
  background: #fff;
  border: 0;
}
.blog-btn-light:hover {
  color: var(--tm-accent);
  background: #fff;
}
.blog-author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--tm-muted);
}
.blog-avatar {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin-bottom: 3rem;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.blog-featured-media {
  display: block;
  min-height: 20rem;
  overflow: hidden;
}
.blog-featured-media img,
.blog-card-media img,
.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-featured-media .blog-cover-fallback { font-size: 4.5rem; }
.blog-featured:hover .blog-featured-media img { transform: scale(1.03); }
.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}
.blog-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-primary-deep);
}
.blog-featured-label i { color: var(--tm-accent); }
.blog-featured h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.blog-featured h2 a,
.blog-card h3 a {
  color: #0f172a;
  text-decoration: none;
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-primary-deep)) no-repeat 0 100% / 0 2px;
  transition: background-size 0.3s ease;
}
.blog-featured h2 a:hover,
.blog-card h3 a:hover { background-size: 100% 2px; }
.blog-featured-body > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tm-muted);
  margin-bottom: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 20, 178, 0.1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.25rem;
}
.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.blog-card-body > p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--tm-muted);
  margin-bottom: 1.1rem;
}
.blog-card-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--tm-muted);
}
.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--tm-primary-deep);
  text-decoration: none;
}
.blog-read:hover { color: var(--tm-accent); }
.blog-read i { transition: transform 0.2s ease; }
.blog-card:hover .blog-read i { transform: translateX(3px); }

.blog-results {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: #334155;
}
.blog-results a {
  font-weight: 600;
  color: var(--tm-accent);
  text-decoration: none;
}
.blog-empty {
  max-width: 28rem;
  margin: 1rem auto;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed #dbe1ec;
  border-radius: 1.25rem;
}
.blog-empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  font-size: 1.5rem;
  color: var(--tm-accent);
  background: var(--tm-accent-soft);
}
.blog-empty h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.blog-empty p { color: var(--tm-muted); }

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
}
.blog-pagination a {
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.blog-pagination a:hover {
  color: var(--tm-primary-deep);
  border-color: rgba(218, 52, 195, 0.4);
}
.blog-pagination a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}

.blog-cta-section {
  padding: 0 0 5rem;
  background: #fff;
}
.blog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse 40% 90% at 100% 50%, rgba(255, 255, 255, 0.16) 0%, transparent 70%),
    linear-gradient(115deg, var(--tm-accent) 0%, var(--tm-brand-mid) 50%, var(--tm-primary-deep) 100%);
}
.blog-cta h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.blog-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.blog-cta .blog-btn { flex-shrink: 0; }

.blog-article-hero {
  padding: 3.5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 45% 60% at 15% 0%, rgba(218, 52, 195, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 85% 0%, rgba(18, 20, 178, 0.08) 0%, transparent 60%),
    var(--tm-surface-soft);
}
.blog-article-head {
  max-width: 46rem;
  margin: 0 auto;
}
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tm-muted);
  text-decoration: none;
}
.blog-back:hover { color: var(--tm-primary-deep); }
.blog-article-head .blog-meta { margin-top: 1.5rem; }
.blog-article-head h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 1rem;
}
.blog-article-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
}
.blog-article-head .blog-author strong {
  display: block;
  color: #0f172a;
}
.blog-article-head .blog-author time { font-size: 0.8rem; }
.blog-article-cover {
  max-width: 58rem;
  height: clamp(14rem, 36vw, 24rem);
  margin: -3.5rem auto 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}
.blog-article-cover .blog-cover-fallback { font-size: 5rem; }
.blog-article-layout {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
}
.blog-share {
  position: absolute;
  top: 0;
  left: -5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.blog-share span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
.blog-share a,
.blog-share button {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.blog-share a:hover,
.blog-share button:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.blog-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.blog-prose p { margin-bottom: 1.35rem; }
.blog-prose h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 2.5rem 0 0.85rem;
}
.blog-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
}
.blog-prose ul {
  padding-left: 0;
  margin-bottom: 1.5rem;
  list-style: none;
}
.blog-prose ul > li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
}
.blog-prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.blog-prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: #0f172a;
  background: var(--tm-accent-soft);
  border-left: 4px solid var(--tm-accent);
  border-radius: 0 1rem 1rem 0;
}
.blog-prose strong { color: #0f172a; }
.blog-prose blockquote p:last-child { margin-bottom: 0; }
.blog-prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
}
.blog-prose ol > li {
  padding-left: 0.35rem;
  margin-bottom: 0.55rem;
}
.blog-prose ol > li::marker {
  font-weight: 700;
  color: var(--tm-accent);
}
.blog-prose h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.75rem 0 0.6rem;
}
.blog-prose a {
  color: var(--tm-primary-deep);
  text-decoration: underline;
  text-decoration-color: rgba(218, 52, 195, 0.45);
  text-underline-offset: 3px;
}
.blog-prose a:hover { color: var(--tm-accent); }
.blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}
.blog-prose figure { margin: 2rem 0; }
.blog-prose figure img { display: block; margin: 0 auto; }
.blog-prose figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--tm-muted);
}
.blog-prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.blog-prose .alignleft { float: left; margin: 0.35rem 1.5rem 1rem 0; max-width: 50%; }
.blog-prose .alignright { float: right; margin: 0.35rem 0 1rem 1.5rem; max-width: 50%; }
.blog-prose::after { content: ""; display: table; clear: both; }
.blog-prose hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid #e8ecf3;
  opacity: 1;
}
.blog-prose table {
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  border-collapse: collapse;
}
.blog-prose th,
.blog-prose td {
  padding: 0.65rem 0.85rem;
  border: 1px solid #e8ecf3;
}
.blog-prose th { background: var(--tm-surface-soft); color: #0f172a; }
.blog-prose .wp-block-table { overflow-x: auto; }
.blog-prose pre {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  border-radius: 0.75rem;
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
}
.blog-prose :not(pre) > code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  font-size: 0.9em;
  color: var(--tm-accent);
  background: var(--tm-accent-soft);
}
.blog-prose iframe,
.blog-prose video {
  max-width: 100%;
  border-radius: 1rem;
}
.blog-prose .wp-block-embed__wrapper { position: relative; }
.blog-prose .wp-block-embed.is-type-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.blog-article-cta {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  max-width: 46rem;
  margin: 3rem auto 4rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--tm-surface-soft);
  border: 1px solid #e8ecf3;
}
.blog-article-cta-icon {
  flex: 0 0 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
}
.blog-article-cta strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.blog-article-cta span:not(.blog-article-cta-icon) {
  font-size: 0.9rem;
  color: var(--tm-muted);
}
.blog-article-cta .blog-btn {
  flex-shrink: 0;
  margin-left: auto;
}

.blog-related {
  padding: 4rem 0 5rem;
  background: var(--tm-surface-soft);
}
.blog-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.75rem;
}
.blog-related-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0;
}
.blog-related-head a {
  font-weight: 600;
  color: var(--tm-primary-deep);
  text-decoration: none;
}
.blog-related-head a:hover { color: var(--tm-accent); }

@media (max-width: 1199.98px) {
  .blog-share {
    position: static;
    flex-direction: row;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef1f6;
  }
  .blog-share span { margin: 0 0.5rem 0 0; }
}
@media (max-width: 991.98px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 14rem; aspect-ratio: 16 / 9; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .blog-hero { padding-top: 3rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 1.75rem 1.5rem; }
  .blog-article-cover { margin-top: -3rem; border-radius: 1rem; }
  .blog-article-cta { flex-direction: column; align-items: flex-start; }
  .blog-article-cta .blog-btn { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .blog-cta { padding: 2rem 1.5rem; }
  .blog-search .btn { padding: 0.5rem 1rem; }
}

/* Footer */
.tmduty-footer {
  border-top: 1px solid var(--bs-border-color);
  background: var(--tm-surface-soft);
  padding: 3rem 0 2rem;
}
.tmduty-footer h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tm-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.tmduty-footer a {
  color: var(--bs-body-color);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.tmduty-footer a:hover { color: var(--tm-primary-deep); }
.tmduty-footer .footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-social-link i {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  font-size: 0.85rem;
  color: var(--tm-primary-deep);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social-link:hover i {
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  border-color: transparent;
  color: #fff;
}

/* App shell — TrendyAdmin-inspired light theme */
.app-body {
  background: #f6f9fc;
}
.app-shell {
  min-height: 100vh;
  display: flex;
  background: #f6f9fc;
}
.app-sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid #e9ecef;
  flex-shrink: 0;
  padding: 1.25rem 1rem 1rem;
  box-shadow: 0 0 24px rgba(15, 23, 42, 0.03);
}
.sidebar-brand {
  padding: 0.25rem 0.75rem 1.25rem;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 1rem;
}
.app-sidebar .tmduty-brand {
  justify-content: flex-start;
}
.tmduty-brand-sidebar .tmduty-logo {
  height: 36px;
  width: auto;
}
.sidebar-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0.85rem 0.85rem 0.45rem;
}
.app-sidebar .nav-link,
.app-offcanvas .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
.app-sidebar .nav-link:hover,
.app-offcanvas .nav-link:hover {
  background: #f6f9fc;
  color: #0f172a;
  text-decoration: none;
}
.app-sidebar .nav-link.active,
.app-offcanvas .nav-link.active {
  background: linear-gradient(135deg, rgba(218, 52, 195, 0.12), rgba(18, 20, 178, 0.1));
  color: var(--tm-primary-deep);
  font-weight: 600;
}
.app-sidebar .nav-icon,
.app-offcanvas .nav-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.app-sidebar .nav-link.active .nav-icon,
.app-offcanvas .nav-link.active .nav-icon {
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  color: #fff;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  margin-top: 1rem;
  border-top: 1px solid #eef1f6;
}
.sidebar-user-avatar,
.app-user-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.sidebar-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}
.sidebar-user-email {
  font-size: 0.72rem;
  color: #94a3b8;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.app-breadcrumb .breadcrumb {
  font-size: 0.8rem;
  background: transparent;
  padding: 0;
}
.app-breadcrumb .breadcrumb-item a {
  color: #94a3b8;
}
.app-breadcrumb .breadcrumb-item.active {
  color: #0f172a;
  font-weight: 600;
}
.app-topbar-title {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}
.app-search {
  position: relative;
  align-items: center;
}
.app-search i {
  position: absolute;
  left: 0.85rem;
  color: #94a3b8;
  font-size: 0.9rem;
  pointer-events: none;
}
.app-search .form-control {
  width: 240px;
  padding-left: 2.25rem;
  border-radius: 999px;
  background: #f6f9fc;
  border-color: #e9ecef;
  font-size: 0.875rem;
}
.app-search .form-control:focus {
  background: #fff;
  border-color: rgba(18, 20, 178, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(18, 20, 178, 0.08);
}
.app-icon-btn {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  border: 1px solid #e9ecef;
  background: #fff;
  color: #64748b;
}
.app-icon-btn:hover {
  background: #f6f9fc;
  color: var(--tm-primary-deep);
  border-color: #dde3ea;
}
.app-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e9ecef;
  border-radius: 999px;
  padding: 0.25rem 0.75rem 0.25rem 0.3rem;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.85rem;
}
.app-user-btn::after {
  margin-left: 0.15rem;
}
.app-user-label {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-content {
  padding: 1.15rem 1.35rem 1.5rem;
}
/* Workspace dashboard (Helm-style) */
.ws-dash {
  max-width: 1080px;
}
.ws-dash-head {
  margin-bottom: 1.35rem;
}
.ws-dash-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}
.ws-dash-greeting {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.3rem;
}
.ws-dash-sub {
  color: var(--tm-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.ws-summary-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  height: 100%;
}
.ws-summary-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
}
.ws-summary-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}
.ws-summary-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
}
.ws-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tm-primary-deep);
  flex-shrink: 0;
}

.ws-panel {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}
.ws-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.2rem 0.35rem;
}
.ws-panel-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}
.ws-panel-meta {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
}
.ws-panel-body {
  padding: 0.5rem 1.2rem 1.1rem;
}
.ws-empty {
  padding: 0.85rem 0;
  color: var(--tm-muted);
  font-size: 0.9rem;
}

.ws-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid #eef1f6;
  color: inherit;
  text-decoration: none;
}
.ws-activity-row:hover {
  color: inherit;
  text-decoration: none;
}
.ws-activity-row:hover .ws-activity-title {
  color: var(--tm-primary-deep);
}
.ws-activity-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.ws-activity-detail {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}
.ws-action-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  background: #fff;
}
.ws-action-review {
  color: #d97706;
  border-color: #f6c98a;
  background: #fffbeb;
}
.ws-action-soon {
  color: var(--tm-primary-deep);
  border-color: #b8bce8;
  background: #f4f5fc;
}
.ws-action-ok {
  color: #16a34a;
  border-color: #86efac;
  background: #f0fdf4;
}

.ws-coverage-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.ws-coverage-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}
.ws-coverage-pct {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}
.ws-coverage-bar {
  height: 8px;
  background: #e8edf5;
  border-radius: 999px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.ws-coverage-bar .progress-bar {
  background: linear-gradient(90deg, var(--tm-primary-deep), #3b4bdf);
  border-radius: 999px;
}
.ws-coverage-rows {
  display: flex;
  flex-direction: column;
}
.ws-coverage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid #eef1f6;
  color: inherit;
  text-decoration: none;
}
.ws-coverage-row:hover {
  color: inherit;
  text-decoration: none;
}
.ws-coverage-row-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}
.ws-coverage-row-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.1rem;
}
.ws-coverage-badge {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0fa;
  color: var(--tm-primary-deep);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dash-greeting {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

/* TrendyAdmin-style info cards */
.info-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 0.9rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.info-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
}
.info-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.info-card-value {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
}
.info-card-meta {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}
.info-card-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.info-card-primary .info-card-icon {
  background: linear-gradient(135deg, #1214b2, #3b4bdf);
}
.info-card-success .info-card-icon {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.info-card-warning .info-card-icon {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.info-card-accent .info-card-icon {
  background: linear-gradient(135deg, #da34c3, #7a24bb);
}
.info-card-progress {
  height: 6px;
  max-width: 8rem;
  background: #e2e8f0;
}

.dash-panel {
  border: 1px solid #eef1f6;
  border-radius: 0.9rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.dash-panel .card-header,
.dash-panel-header {
  background: #fff;
  border-bottom: 1px solid #eef1f6;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.dash-panel-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}
.dash-panel-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}
.dash-panel .card-body {
  padding: 1rem 1.1rem 0.85rem;
}

.operator-profile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.operator-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(218, 52, 195, 0.08), rgba(18, 20, 178, 0.08));
  border: 1px solid rgba(18, 20, 178, 0.08);
}
.operator-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-primary-deep));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.operator-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.operator-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.operator-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: #f6f9fc;
  border: 1px solid #eef1f6;
}
.operator-field-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e9ecef;
  color: var(--tm-primary-deep);
  flex-shrink: 0;
  font-size: 0.85rem;
}
.operator-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.1rem;
}
.operator-field-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}
.operator-empty {
  text-align: center;
  padding: 1rem 0.5rem;
}
.operator-empty-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, rgba(218, 52, 195, 0.12), rgba(18, 20, 178, 0.12));
  color: var(--tm-primary-deep);
  font-size: 1.15rem;
}

.coverage-card .card-body {
  padding: 1rem 1.1rem;
}
.coverage-card-head {
  margin-bottom: 0.15rem;
}
.coverage-gauge {
  position: relative;
  max-width: 210px;
  margin: 0 auto;
}
.coverage-gauge-svg {
  width: 100%;
  height: auto;
  display: block;
}
.coverage-track {
  stroke: #ece8f5;
  stroke-width: 14;
}
.coverage-progress {
  stroke-width: 14;
  transition: stroke-dashoffset 0.7s ease;
}
.coverage-gauge-center {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 70%;
}
.coverage-pct {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
}
.coverage-pct-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.1rem;
}
.coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.35rem 0 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid #eef1f6;
  border-bottom: 1px solid #eef1f6;
}
.coverage-stat {
  text-align: center;
  position: relative;
}
.coverage-stat:first-child::after {
  content: "";
  position: absolute;
  right: -0.25rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: #e9ecef;
}
.coverage-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}
.coverage-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
.coverage-nudge {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(218, 52, 195, 0.08), rgba(18, 20, 178, 0.08));
  color: #4338a0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}
.coverage-nudge i {
  color: var(--tm-accent);
  font-size: 0.95rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .operator-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.alert-section-heading {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.alert-section-heading.overdue {
  background: var(--tm-danger-bg);
  color: var(--tm-danger);
}
.alert-section-heading.expired {
  background: var(--tm-warn-bg);
  color: var(--tm-warn);
}
.alert-section-heading .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.85);
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.green { background: var(--tm-ok); }
.status-dot.amber { background: var(--tm-warn); }
.status-dot.red { background: var(--tm-danger); }

.table > :not(caption) > * > * {
  padding: 0.85rem 0.75rem;
}
.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tm-muted);
  font-weight: 600;
  background: #f6f9fc;
  border-bottom-color: var(--bs-border-color);
}

.progress {
  background: #e2e8f0;
  border-radius: 999px;
}
.progress-bar.bg-primary {
  background-color: var(--bs-primary) !important;
}

.auth-card {
  max-width: 440px;
  margin: 3rem auto;
}

.toast-container { z-index: 1080; }

.modal-content {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: var(--tm-shadow-lg);
}

.app-offcanvas .nav-link {
  color: #64748b;
}

@media (max-width: 991.98px) {
  .app-sidebar { display: none; }
  .tmduty-hero { padding-top: 2.5rem; }
  .app-content { padding: 1.15rem; }
}

/* Register card */
body.register-page {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(218, 52, 195, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(18, 20, 178, 0.06) 0%, transparent 60%),
    #f6f9fc;
}
.signup-page {
  display: flex;
  justify-content: center;
  padding: 3.5rem 1rem 4rem;
}
.signup-card {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: #fff;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.signup-intro {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.25rem 2rem;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 55% at 15% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(165deg, #da34c3 0%, #7a24bb 45%, #1214b2 100%);
}
.signup-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.signup-intro h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.9rem;
}
.signup-intro p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}
.signup-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.signup-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
}
.signup-points i {
  font-size: 1rem;
  line-height: 1.3;
}
.signup-intro-foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}
.signup-form {
  padding: 2.5rem 2.5rem 2.25rem;
}
.signup-terms {
  font-size: 0.8rem;
  color: var(--tm-muted);
  margin: 0.25rem 0 1rem;
}
.signup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.signup-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.6rem;
  border-radius: 0.5rem;
}
.signup-submit i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.signup-submit:hover i {
  transform: translate(2px, -2px);
}
@media (max-width: 767.98px) {
  .signup-card {
    grid-template-columns: 1fr;
  }
  .signup-intro,
  .signup-form {
    padding: 1.75rem 1.5rem;
  }
  .signup-points {
    margin-bottom: 1.25rem;
  }
}
.input-icon {
  position: relative;
}
.input-icon > i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.input-icon .form-control {
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}
.toggle-password {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0.35rem 0.55rem;
}
.toggle-password:hover { color: var(--tm-primary-deep); }


