:root {
  --turnkey-gold: #f6c945;
  --turnkey-gold-strong: #e4ae16;
  --turnkey-black: #101010;
  --turnkey-charcoal: #191919;
  --turnkey-panel: #232323;
  --turnkey-line: #3a3a3a;
  --turnkey-cream: #fffdf5;
}

html, body { min-height: 100%; }
body {
  background:
    radial-gradient(circle at top right, rgba(246,201,69,.08), transparent 32rem),
    linear-gradient(180deg, #1b1b1b 0%, #101010 100%);
}

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: rgba(246,201,69,.42); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(246,201,69,.66); }

.turnkey-header {
  background: #fff;
  color: #111827;
  border-bottom: 4px solid var(--turnkey-gold);
  box-shadow: 0 8px 30px rgba(0,0,0,.24);
}
.turnkey-header .muted { color: #64748b; }
.turnkey-header .header-action {
  color: #f8fafc;
  background: #202020;
  border: 1px solid #353535;
}
.turnkey-header .header-action:hover { background: #303030; }
.turnkey-logo { display:block; object-fit:contain; }

.turnkey-sidebar { background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%); }
.turnkey-main { background: linear-gradient(180deg, #202020 0%, #111 100%); }
.turnkey-footer { background:#0b0b0b; border-top:1px solid #303030; }
.turnkey-card { background: rgba(35,35,35,.82); border-color:#3b3b3b; }

.course-section { display: none; }
.course-section.active { display: block; }
.truck-facing-right { transform: translateY(-50%) rotateY(180deg); transform-origin: center; }

.guide-content { font-size: .96rem; }
.guide-content h2, .guide-content h3, .guide-content h4 {
  color: var(--turnkey-gold) !important;
  font-weight: 800;
  margin-top: 1.4rem;
  margin-bottom: .55rem;
}
.guide-content p { color: #d6d6d6 !important; margin: .48rem 0; line-height: 1.72; }
.guide-content ul, .guide-content ol { color: #d6d6d6 !important; padding-left: 1.4rem; margin: .7rem 0; }
.guide-content ul { list-style: disc; }
.guide-content ol { list-style: decimal; }
.guide-content li { margin: .34rem 0; line-height: 1.62; }
.guide-content strong { color:#fff; }
.guide-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .82rem; }
.guide-content th, .guide-content td { border: 1px solid #4a4a4a !important; padding: .62rem; text-align: left; vertical-align: top; color: #ddd !important; }
.guide-content th { background: #2c2c2c !important; color: var(--turnkey-gold) !important; }
.cms-editor { min-height: 360px; }
.guide-page { min-height: 12rem; }
.guide-page[hidden] { display:none; }
.guide-pagination button:disabled { opacity:.45; cursor:not-allowed; }
.page-break-marker { border-top:2px dashed #f6c945; margin:1.25rem 0; position:relative; }
.page-break-marker::after { content:'Page break'; position:absolute; top:-.75rem; right:0; padding:0 .5rem; background:#020617; color:#f6c945; font-size:.7rem; font-weight:800; }

@media (max-width: 767px) {
  body { height:auto !important; min-height:100vh; overflow:auto !important; }
  body > header { height:auto !important; min-height:4.5rem; padding:.75rem 1rem; gap:.75rem; }
  body > header .tracking-wide { font-size:.82rem; }
  body > header .turnkey-logo { height:2.25rem; }
  body > .flex-1 { display:block; min-height:auto; }
  .turnkey-sidebar { width:100%; max-height:15rem; border-right:0; border-bottom:1px solid #27272a; }
  .turnkey-main { padding:1.25rem 1rem; overflow:visible; }
  .turnkey-footer { position:sticky; bottom:0; z-index:30; height:auto; padding:.65rem .75rem; }
  .turnkey-footer .w-full { gap:.55rem; }
  .turnkey-footer .w-16 { width:2.8rem; }
  .turnkey-footer .flex.gap-2 { flex-direction:column; }
  .turnkey-footer button { padding:.45rem .65rem; font-size:.72rem; }
  .guide-pagination { align-items:stretch; }
  .guide-pagination button { flex:1; }
  .guide-content table { display:block; overflow-x:auto; white-space:nowrap; }
}

.welcome-copy h3 {
  color: var(--turnkey-gold);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  margin-bottom: .85rem;
}
.welcome-copy p { color: #d6d6d6; line-height: 1.8; margin: .75rem 0; }

.local-preview-note {
  border: 1px solid rgba(246,201,69,.45);
  background: rgba(246,201,69,.09);
  color: #fef3c7;
}
