/* apps/web/src/styles/theme.css */
:root,
[data-theme=light] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --card: #ffffff;
  --card-bg: #ffffff;
  --card-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-subtle: #cbd5e1;
  --txt: #0f172a;
  --txt-dim: #475569;
  --muted: #64748b;
  --input-bg: #f8fafc;
  --input-border: #cbd5e1;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.07), 0 1px 2px -1px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --nav-hover: #f1f5f9;
  --nav-active-bg: rgba(5, 150, 105, 0.10);
  --nav-active-txt: #047857;
  --nav-active-border: rgba(5, 150, 105, 0.3);
  --table-stripe: #f8fafc;
  --mod-tag-bg: #eff6ff;
  --mod-tag-txt: #0369a1;
  --mod-tag-border: #bae6fd;
  --emerald: #059669;
  --emerald-dark: #ecfdf5;
  --emerald-txt: #065f46;
  --gold: #d97706;
  --gold-dark: #fffbeb;
  --gold-txt: #92400e;
  --blue: #2563eb;
  --blue-dark: #eff6ff;
  --blue-txt: #1e40af;
  --red: #dc2626;
  --red-dark: #fef2f2;
  --red-txt: #991b1b;
  --purple: #7c3aed;
}
[data-theme=dark] {
  --bg: #0b1120;
  --panel: #111827;
  --card: #1e293b;
  --card-bg: #1e293b;
  --card-hover: #26354d;
  --border: #334155;
  --border-subtle: #475569;
  --txt: #f8fafc;
  --txt-dim: #cbd5e1;
  --muted: #94a3b8;
  --input-bg: #0f172a;
  --input-border: #334155;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.5);
  --nav-hover: #1e293b;
  --nav-active-bg: rgba(16, 185, 129, 0.14);
  --nav-active-txt: #34d399;
  --nav-active-border: rgba(16, 185, 129, 0.35);
  --table-stripe: rgba(255, 255, 255, 0.02);
  --mod-tag-bg: #0f172a;
  --mod-tag-txt: #38bdf8;
  --mod-tag-border: #1e3a8a;
  --emerald: #10b981;
  --emerald-dark: #064e3b;
  --emerald-txt: #6ee7b7;
  --gold: #f59e0b;
  --gold-dark: #78350f;
  --gold-txt: #fde68a;
  --blue: #3b82f6;
  --blue-dark: #1e3a8a;
  --blue-txt: #93c5fd;
  --red: #ef4444;
  --red-dark: #7f1d1d;
  --red-txt: #fca5a5;
  --purple: #8b5cf6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* apps/web/src/styles/layout.css */
.app-shell {
  display: flex;
  min-height: 100vh;
}
aside.sidebar {
  width: 280px;
  background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.brand {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.flag-bar {
  height: 4px;
  width: 100%;
  background:
    linear-gradient(
      90deg,
      #14b53a 0%,
      #14b53a 33%,
      #fcd116 33%,
      #fcd116 66%,
      #ce1126 66%,
      #ce1126 100%);
  border-radius: 2px;
  margin-bottom: 10px;
}
.brand h1 {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--txt);
}
.brand .sub {
  font-size: 12px;
  color: var(--muted);
}
.nav-section {
  padding: 14px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 16px);
  margin: 3px 8px;
  padding: 9px 12px;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  gap: 8px;
}
.nav-btn .nav-left {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
}
.nav-btn:hover {
  background: var(--nav-hover);
  color: var(--txt);
}
.nav-btn.active {
  background: var(--nav-active-bg);
  color: var(--nav-active-txt);
  border-color: var(--nav-active-border);
  font-weight: 700;
}
.nav-btn .count {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
  background: var(--border);
  color: var(--muted);
}
.nav-btn.active .count {
  background: var(--emerald-dark);
  color: var(--emerald-txt);
}
main.main-content {
  flex: 1;
  padding: 16px 24px 32px;
  overflow-y: auto;
  max-width: 1600px;
}
.top-header-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.tenant-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tenant-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      #059669 0%,
      #10b981 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.tenant-meta {
  min-width: 0;
}
.tenant-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tenant-sub {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.search-pill-btn:hover {
  border-color: var(--emerald);
  color: var(--txt);
}
.search-pill-btn kbd {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
  font-family: inherit;
}
.kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 1200px) {
  .kpi-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .kpi-grid-4 {
    grid-template-columns: 1fr;
  }
}
.campus-ribbon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .campus-ribbon {
    grid-template-columns: 1fr;
  }
}
.ribbon-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.ribbon-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.ribbon-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ribbon-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 980px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.sub-tab-bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sub-tab-bar::-webkit-scrollbar {
  display: none;
}
.bulletin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 650px) {
  .bulletin-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.signature-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .signature-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.sub-tab-btn {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px 6px 0 0;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.sub-tab-btn:hover {
  color: var(--txt);
  background: var(--nav-hover);
}
.sub-tab-btn.active {
  color: var(--emerald-txt);
  border-bottom-color: var(--emerald);
  background: var(--panel);
}
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  z-index: 800;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px calc(env(safe-area-inset-bottom, 0px) + 2px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}
.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 4px;
  border-radius: 6px;
  flex: 1;
  gap: 2px;
  transition: all 0.15s ease;
  min-width: 0;
}
.bottom-nav-btn .bottom-nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.bottom-nav-btn.active {
  color: var(--emerald-txt);
  background: var(--emerald-dark);
  font-weight: 700;
}
.bottom-nav-btn .bottom-nav-icon {
  font-size: 17px;
  line-height: 1;
}
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 840;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sidebar-backdrop.open {
  display: block;
  opacity: 1;
}
.btn-hamburger {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--txt);
  font-size: 17px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .btn-hamburger {
    display: inline-flex;
  }
  .mobile-sidebar-close {
    display: inline-flex !important;
  }
  aside.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 850;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
  }
  aside.sidebar.open {
    transform: translateX(0);
  }
  .bottom-nav {
    display: flex;
  }
  main.main-content {
    padding: 10px 10px 76px;
  }
}
@media (max-width: 600px) {
  .top-header-clean {
    padding: 6px 10px;
    gap: 8px;
  }
  .tenant-name {
    font-size: 12px;
    max-width: 170px;
  }
  .tenant-sub span.badge {
    display: none;
  }
  .search-pill-btn kbd {
    display: none;
  }
  .search-pill-btn span {
    display: none;
  }
  .search-pill-btn {
    padding: 6px 8px;
  }
  #btn-toggle-offline {
    padding: 3px 6px;
    font-size: 10px;
  }
}
.landing-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--txt);
  display: flex;
  flex-direction: column;
}
.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}
[data-theme=dark] .landing-navbar {
  background: rgba(15, 23, 42, 0.88);
}
.landing-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.landing-nav-links a {
  color: var(--txt-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s ease;
  position: relative;
  padding: 4px 2px;
}
.landing-nav-links a:hover {
  color: var(--emerald);
}
.landing-nav-links a.active {
  color: var(--emerald);
  font-weight: 700;
}
.landing-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--emerald);
  border-radius: 2px;
}
.landing-view {
  display: none;
}
.landing-view.active {
  display: block;
  animation: fadeInLanding 0.25s ease-in-out;
}
@keyframes fadeInLanding {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.landing-page-banner {
  background:
    linear-gradient(
      135deg,
      rgba(5, 150, 105, 0.06) 0%,
      rgba(2, 132, 199, 0.06) 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
}
.landing-page-banner h1 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--txt);
}
.landing-page-banner p {
  font-size: 14px;
  color: var(--txt-dim);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}
.landing-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px 20px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.landing-badge-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--emerald-dark);
  color: var(--emerald-txt);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid var(--nav-active-border);
}
.landing-hero h1 {
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--txt);
}
.landing-hero-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--txt-dim);
  margin: 0 0 24px;
}
.landing-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.landing-kpi-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.landing-kpi-box strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--emerald);
  font-family: "JetBrains Mono", monospace;
}
.landing-kpi-box span {
  font-size: 11px;
  color: var(--muted);
}
.landing-login-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.landing-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}
.landing-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.landing-section-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.landing-section-header p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.landing-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.landing-pillar-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.landing-pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--emerald);
}
.landing-pillar-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--txt);
}
.landing-pillar-card p {
  font-size: 12.5px;
  color: var(--txt-dim);
  line-height: 1.55;
  margin: 0 0 12px;
}
.landing-persona-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.landing-persona-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--txt-dim);
  cursor: pointer;
  transition: all 0.15s ease;
}
.landing-persona-pill:hover,
.landing-persona-pill.active {
  background: var(--emerald-dark);
  color: var(--emerald-txt);
  border-color: var(--emerald);
}
.landing-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 40px 24px 24px;
  font-size: 12.5px;
  color: var(--muted);
}
.landing-footer-grid {
  max-width: 1240px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.landing-footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--txt);
  margin: 0 0 14px;
}
.landing-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.landing-footer-col ul li {
  margin-bottom: 8px;
}
.landing-footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s ease;
}
.landing-footer-col ul li a:hover {
  color: var(--emerald);
}
.landing-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.trust-strip {
  width: 100%;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}
.trust-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.trust-badge-item:hover {
  border-color: var(--emerald);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.trust-badge-item span.icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.trust-badge-item div {
  min-width: 0;
}
.trust-badge-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trust-badge-item p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tour-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tour-tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--txt-dim);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tour-tab-btn:hover,
.tour-tab-btn.active {
  background: var(--emerald-dark);
  color: var(--emerald-txt);
  border-color: var(--emerald);
}
.tour-preview-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.tour-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.landing-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.landing-compare-table th,
.landing-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.landing-compare-table th {
  background: var(--input-bg);
  font-weight: 700;
  font-size: 12px;
  color: var(--txt-dim);
}
.landing-compare-table tr:hover td {
  background: rgba(16, 185, 129, 0.03);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover {
  border-color: var(--emerald);
}
.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel);
}
.faq-answer {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--txt-dim);
  line-height: 1.6;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}
.faq-toggle {
  transition: transform 0.2s ease;
  font-size: 14px;
}
.roi-calculator-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}
@media (max-width: 960px) {
  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tour-grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .landing-footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding: 24px 16px;
    gap: 20px;
  }
  .landing-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .landing-nav-links {
    display: none;
  }
}
@media (max-width: 600px) {
  .landing-pillars-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .landing-section {
    padding: 20px 14px;
  }
}

/* apps/web/src/styles/components.css */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}
.card-header h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--txt);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--emerald);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--panel);
  border-color: var(--border);
  color: var(--txt);
}
.btn-secondary:hover {
  background: var(--card-hover);
}
.btn-mini {
  padding: 4px 9px;
  font-size: 11px;
  border-radius: 6px;
}
.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}
.badge-green {
  background: var(--emerald-dark);
  color: var(--emerald-txt);
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.badge-gold {
  background: var(--gold-dark);
  color: var(--gold-txt);
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.badge-blue {
  background: var(--blue-dark);
  color: var(--blue-txt);
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.badge-red {
  background: var(--red-dark);
  color: var(--red-txt);
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.mod-tag {
  font-size: 10px;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--mod-tag-bg);
  color: var(--mod-tag-txt);
  border: 1px solid var(--mod-tag-border);
}
.kpi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 105px;
}
.kpi-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.kpi-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--txt);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.02em;
}
.kpi-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
}
.kpi-sparkline {
  margin-top: 8px;
  height: 20px;
  width: 100%;
  overflow: visible;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
  min-width: 520px;
}
@media (max-width: 600px) {
  table {
    font-size: 11.5px;
    min-width: 460px;
  }
  th,
  td {
    padding: 7px 8px;
  }
}
th {
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--txt);
}
tbody tr:hover {
  background: var(--card-hover);
}
.num {
  text-align: right;
  font-family: "JetBrains Mono", monospace;
}
.total-row {
  font-weight: 800;
  background: var(--nav-hover);
  border-top: 2px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
input,
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--txt);
  font-family: inherit;
  transition: border-color 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 890;
  display: none;
}
.drawer-backdrop.open {
  display: block;
}
.drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 480px;
  max-width: 95vw;
  background: var(--panel);
  z-index: 900;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}
.drawer-panel.open {
  transform: translateX(0);
}
.drawer-panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-panel-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open {
  display: flex;
}
.modal-box,
.modal-dialog {
  background: var(--panel, #ffffff);
  border-radius: 12px;
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 960;
}
.modal-dialog.modal-lg {
  max-width: 920px;
}
.modal-dialog.modal-xl {
  max-width: 1100px;
}
.modal-box-header,
.modal-dialog-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel, #ffffff);
  flex-shrink: 0;
}
.modal-box-body,
.modal-dialog-body {
  padding: 20px;
  overflow-y: auto;
  background: var(--panel, #ffffff);
  flex: 1;
}
.modal-box-footer,
.modal-dialog-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--input-bg, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--txt);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.25s ease forwards;
  border-left: 4px solid var(--emerald);
}
.toast.toast-warn {
  border-left: 4px solid var(--gold);
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*# sourceMappingURL=app.css.map */
