/* Clickets Bible — additional styling on top of tenant.css
   Phase 14D — Bible Surface (Operator + Investor)
*/

.nav-group-title{
  margin: 14px 8px 8px;
  font-size: 12px;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-item.small {
  font-size: 13px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.topbar .role-select.bible-search {
  min-width: 240px;
}

.segmented {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,0.02);
}

.segmented button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.segmented button[aria-selected="true"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.bible-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.bible-hero p { margin: 0; color: var(--muted); line-height: 1.55; }

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border: 1px solid var(--border);
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 12px;
}

.bible-content h2 { margin-top: 0; }
.bible-content h3 { margin-top: 18px; margin-bottom: 10px; }
.bible-content p, .bible-content li { color: var(--text); }
.bible-content p { line-height: 1.6; }
.bible-content ul { margin-top: 8px; }
.bible-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}
.bible-content pre {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
  overflow-x: auto;
}

.banner-note {
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.28);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}

.card .title { font-weight: 800; margin: 0 0 6px 0; }
.card .desc { margin: 0; color: var(--muted); line-height: 1.5; }


/* Banner variants (tenant.css defines .banner + .banner-ok + .banner-error) */
.banner-note{
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.10);
}
.banner-warn{
  border-color: rgba(255, 176, 32, 0.55);
  background: rgba(255, 176, 32, 0.10);
}

/* Screenshot-style UI mock blocks (pure HTML, no images) */
.mock-window{
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.12);
  box-shadow: 0 10px 35px rgba(0,0,0,0.30);
}

.mock-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.mock-dots{ display:flex; gap:6px; align-items:center; }
.mock-dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.10);
}

.mock-title{
  font-weight: 900;
  letter-spacing: 0.2px;
}

.mock-meta{ color: var(--muted); font-size: 12px; }

.mock-body{
  display:grid;
  grid-template-columns: 190px 1fr;
  min-height: 240px;
}

.mock-sidebar{
  border-right: 1px solid var(--border);
  padding: 12px;
  background: rgba(255,255,255,0.02);
}

.mock-nav-item{
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
  margin-bottom: 8px;
}
.mock-nav-item.active{
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
}

.mock-main{ padding: 14px; }

.mock-stat-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.mock-stat{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,0.02);
}
.mock-stat .k{ color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.mock-stat .v{ font-weight: 900; font-size: 16px; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.table th, .table td{
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  text-align:left;
}
.table th{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.table tr:last-child td{ border-bottom: 0; }

.steps{
  display:grid;
  gap: 10px;
}
.step{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.step .h{ font-weight: 900; margin-bottom: 6px; }
.step .b{ color: var(--muted); line-height: 1.55; }

hr.sep{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}


/* LAYOUT_SYNC_0164_START */
/* Layout-only sync to match clickets-bible-master-0.1.164-14D-PATCH.html */

/* 1) Demo step card + explain panels must not use top offsets (causes overlap without reserving space) */
.demo-step-card,
.ui-explain {
  position: static !important;
  top: 0 !important;
}

/* 2) Tour right column must not be forced to a viewport-fixed height (creates large dead zones / nav far away) */
.tour-right {
  height: auto !important;
  max-height: none !important;
}

/* 3) Tenant CP mock must actually consume available width inside the centered container */
.ui-shell.tenant-mock--no-side-nav .ui-content {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
}

/* LAYOUT_SYNC_0164_END */
