@charset "UTF-8";
/* ============================================================
   Right Suite Docs — Design System
   Instrument Serif + DM Sans + DM Mono
   Brand: #4ade80 → #0d9488
   Background: white / zinc
   ============================================================ */
/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #71717a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #0d9488;
  text-decoration: none;
}

a:hover {
  color: #059669;
}

/* ── Layout ─────────────────────────────────────────────── */
.layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
  width: 256px;
  flex-shrink: 0;
  background: #fafafa;
  border-right: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e5e5e5 transparent;
}

.sidebar-logo {
  padding: 22px 18px 18px;
  border-bottom: 1px solid #e5e5e5;
}

.sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #18181b;
}

.sidebar-logo img {
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #18181b;
  letter-spacing: -0.01em;
}

.logo-sub {
  color: #a3a3a3;
  font-weight: 400;
}

/* Nav */
.sidebar-nav {
  padding: 14px 10px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b;
  text-decoration: none;
  margin-bottom: 2px;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #18181b;
}

.nav-item.active {
  background: rgba(13, 148, 136, 0.09);
  color: #0d9488;
  font-weight: 600;
}

.nav-item.section-open {
  color: #18181b;
}

.chevron {
  color: #d4d4d8;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-children {
  display: none;
  padding: 2px 0 4px 10px;
}

.nav-children.open {
  display: block;
}

.nav-child {
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #71717a;
  text-decoration: none;
  margin-bottom: 1px;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-child:hover {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.06);
}

.nav-child.active {
  color: #0d9488;
  font-weight: 500;
  background: rgba(13, 148, 136, 0.07);
}

/* Sidebar footer */
.sidebar-footer {
  padding: 14px 18px;
  border-top: 1px solid #e5e5e5;
}

.sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  transition: color 0.12s ease;
  margin-bottom: 8px;
}

.sidebar-cta:hover {
  color: #059669;
}

.sidebar-copy {
  font-size: 0.75rem;
  color: #d4d4d8;
}

/* ── Main ─────────────────────────────────────────────────── */
.main {
  flex: 1;
  min-width: 0;
  padding: 52px 72px 80px;
  max-width: 900px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 0.8125rem;
  color: #a3a3a3;
}

.breadcrumb a {
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.12s ease;
}

.breadcrumb a:hover {
  color: #0d9488;
}

.breadcrumb span:last-child {
  color: #52525b;
}

/* ── Content typography ──────────────────────────────────── */
.content h1 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.25rem;
  color: #18181b;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.content h2 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #18181b;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 52px;
  margin-bottom: 12px;
}

.content h3 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.1875rem;
  color: #27272a;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 8px;
}

.content h4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 28px;
  margin-bottom: 8px;
}

.content p {
  font-size: 0.9375rem;
  color: #71717a;
  line-height: 1.78;
  margin-bottom: 16px;
}

.content strong {
  color: #27272a;
  font-weight: 600;
}

.content ul,
.content ol {
  padding-left: 22px;
  margin: 10px 0 16px;
}

.content li {
  font-size: 0.9375rem;
  color: #71717a;
  line-height: 1.72;
  margin-bottom: 6px;
}

.content a {
  color: #0d9488;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 148, 136, 0.25);
  transition: color 0.12s ease, border-color 0.12s ease;
}

.content a:hover {
  color: #059669;
  border-bottom-color: rgba(5, 150, 105, 0.5);
}

/* ── Buttons ─────────────────────────────────────────────── */
.content .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.12s ease;
  margin-right: 8px;
  margin-bottom: 4px;
}

.content .btn:hover {
  border-bottom: 1.5px solid transparent;
}

.content .btn-green,
.content .btn-green:visited {
  background: linear-gradient(135deg, #4ade80 0%, #0d9488 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 10px rgba(74, 222, 128, 0.35), 0 8px 20px rgba(13, 148, 136, 0.18);
}

.content .btn-green:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 20px rgba(74, 222, 128, 0.45), 0 16px 36px rgba(13, 148, 136, 0.22);
}

.content .btn:not(.btn-green) {
  background: #f4f4f5;
  color: #52525b !important;
  border-color: #e5e5e5;
}

.content .btn:not(.btn-green):hover {
  background: #efefef;
  color: #18181b !important;
  transform: none;
}

/* ── Tables ──────────────────────────────────────────────── */
.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 24px 0;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
}

.content th {
  background: #fafafa;
  color: #a3a3a3;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.content td {
  padding: 12px 16px;
  color: #52525b;
  border-bottom: 1px solid #f4f4f5;
  vertical-align: top;
  line-height: 1.5;
}

.content tr:last-child td {
  border-bottom: none;
}

.content tr:hover td {
  background: rgba(74, 222, 128, 0.025);
}

.content td a {
  font-weight: 500;
}

/* ── Code ────────────────────────────────────────────────── */
.content code {
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.84em;
  background: #f5f5f5;
  color: #059669;
  padding: 0.15em 0.4em;
  border-radius: 5px;
  border: 1px solid #ebebeb;
}

.content pre {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 20px 0;
}

.content pre code {
  background: transparent;
  border: none;
  color: #3f3f46;
  font-size: 0.8125rem;
  padding: 0;
}

/* ── Blockquotes ─────────────────────────────────────────── */
.content blockquote {
  border-left: 3px solid #4ade80;
  background: rgba(74, 222, 128, 0.04);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 22px 0;
}

.content blockquote p {
  color: #27272a;
  font-style: italic;
  margin: 0;
  font-size: 0.9375rem;
}

/* ── Dividers ────────────────────────────────────────────── */
.content hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 44px 0;
}

/* ── Images ──────────────────────────────────────────────── */
.content img {
  max-width: 100%;
  border-radius: 10px;
}

.content p[align=center],
.content div[align=center] {
  text-align: center;
}

.content table[align=center] td {
  text-align: center;
}

/* Center the logo at top of product pages */
.content > p:first-child img[width="48"],
.content > p:first-child img[width="72"] {
  display: block;
  margin: 0 auto 24px;
}

/* ── Heading anchors ─────────────────────────────────────── */
.content h2,
.content h3,
.content h4 {
  position: relative;
}

.heading-anchor {
  opacity: 0;
  margin-left: 8px;
  font-family: "DM Mono", monospace;
  font-size: 0.7em;
  font-weight: 400;
  color: #d4d4d8;
  text-decoration: none;
  border-bottom: none !important;
  transition: opacity 0.12s ease, color 0.12s ease;
  user-select: none;
}

.content h2:hover .heading-anchor,
.content h3:hover .heading-anchor,
.content h4:hover .heading-anchor {
  opacity: 1;
}

.heading-anchor:hover {
  color: #4ade80 !important;
  border-bottom: none !important;
}

/* ── Highlight / Syntax ──────────────────────────────────── */
.highlight {
  background: #fafafa !important;
  border-radius: 12px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #e5e5e5;
}

.highlight code {
  background: transparent;
  border: none;
  color: #3f3f46;
}

/* ── Prev / Next navigation ──────────────────────────────── */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.page-nav-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-width: 160px;
  max-width: 280px;
}

.page-nav-item:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.08);
}

.page-nav-item.next {
  text-align: right;
  margin-left: auto;
}

.page-nav-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a3a3a3;
}

.page-nav-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d9488;
}

/* ── Mobile top bar ──────────────────────────────────────────── */
.mobile-topbar {
  display: none;
}

.mobile-overlay {
  display: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Top bar */
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 52px;
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .mobile-topbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #18181b;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .mobile-topbar-logo img {
    border-radius: 6px;
    flex-shrink: 0;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #52525b;
    cursor: pointer;
    border-radius: 8px;
    padding: 0;
    transition: background 0.12s ease;
  }
  .mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.06);
  }
  /* Overlay */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 149;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .mobile-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }
  /* Sidebar as drawer */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 150;
    border-right: 1px solid #e5e5e5;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    overflow-y: auto;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    padding: 28px 20px 60px;
  }
  .content h1 {
    font-size: 1.75rem;
  }
  .content h2 {
    font-size: 1.3rem;
  }
}

/*# sourceMappingURL=main.css.map */