/* ============================================================
   Fhinck Integrations — Global Stylesheet
   Tokens reusados de integrationValidator.html
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Tokens --- */
:root {
  --fhinck-orange: #ff6600;
  --fhinck-orange-hover: #e55c00;
  --fhinck-orange-light: #fff3e6;
  --fhinck-orange-10: rgba(255, 102, 0, 0.1);
  --bg-primary: #f8f9fb;
  --bg-white: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #6b7280;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --error: #ef4444;
  --error-bg: #fef2f2;
  --info: #3b82f6;
  --info-bg: #eff6ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --header-h: 64px;
  --sidebar-w: 260px;
  --toc-w: 220px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

/* --- Skip Link (A11y) --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--fhinck-orange);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }

/* --- Focus visible global --- */
:focus-visible {
  outline: 2px solid var(--fhinck-orange);
  outline-offset: 2px;
}

/* --- Header --- */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-left { display: flex; align-items: center; gap: 16px; }
.logo { height: 28px; }
.header-divider { width: 1px; height: 24px; background: var(--border); }
.header-title { font-size: 14px; font-weight: 500; color: var(--text-secondary); }

.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.header-nav a:hover { background: var(--bg-primary); color: var(--text-primary); }
.header-nav a.active { color: var(--fhinck-orange); background: var(--fhinck-orange-10); }

.header-badge {
  background: var(--fhinck-orange-10);
  color: var(--fhinck-orange);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Docs Layout --- */
.docs-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr var(--toc-w);
  grid-template-rows: 1fr;
  min-height: calc(100vh - var(--header-h));
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Sidebar --- */
.docs-sidebar {
  grid-column: 1;
  border-right: 1px solid var(--border);
  background: var(--bg-white);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 24px 0 40px;
}

.sidebar-section { margin-bottom: 8px; }

.sidebar-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 20px 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 20px;
  border-left: 2px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.sidebar-link:hover { background: var(--bg-primary); color: var(--text-primary); }
.sidebar-link.active {
  background: var(--fhinck-orange-10);
  color: var(--fhinck-orange);
  border-left-color: var(--fhinck-orange);
  font-weight: 600;
}

.sidebar-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--success-bg);
  color: var(--success);
  letter-spacing: 0.3px;
}
.sidebar-badge.new { background: var(--fhinck-orange-10); color: var(--fhinck-orange); }

/* --- Main content --- */
.docs-main {
  grid-column: 2;
  padding: 40px 48px 80px;
  min-width: 0;
  max-width: 860px;
}

/* --- TOC --- */
.docs-toc {
  grid-column: 3;
  border-left: 1px solid var(--border);
  background: var(--bg-white);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 28px 16px 40px;
}

.toc-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.toc-list { list-style: none; }
.toc-item { display: block; }

.toc-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: all 0.12s;
}
.toc-link:hover { color: var(--text-primary); background: var(--bg-primary); }
.toc-link.active { color: var(--fhinck-orange); border-left-color: var(--fhinck-orange); }
.toc-link.toc-h3 { padding-left: 20px; font-size: 11px; }

/* --- Typography --- */
.docs-main h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.docs-main h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.docs-main h2:first-of-type { margin-top: 32px; }

.docs-main h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.docs-main p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.docs-main ul, .docs-main ol {
  margin: 0 0 16px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.docs-main li { margin-bottom: 4px; }

.docs-main strong { color: var(--text-primary); font-weight: 600; }

.docs-main a { color: var(--fhinck-orange); text-decoration: none; }
.docs-main a:hover { text-decoration: underline; }

/* --- Inline code --- */
.docs-main code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  background: var(--border-light);
  color: var(--fhinck-orange);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* --- Code blocks --- */
.code-block {
  margin: 20px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #2d3748;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a202c;
  padding: 10px 16px;
  border-bottom: 1px solid #2d3748;
}

.code-header span {
  font-size: 12px;
  font-weight: 600;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-copy {
  background: transparent;
  border: 1px solid #4a5568;
  color: #a0aec0;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.code-copy:hover { border-color: #718096; color: #e2e8f0; }
.code-copy.copied { border-color: #48bb78; color: #48bb78; }

.code-block pre {
  background: #1e293b;
  padding: 20px;
  overflow-x: auto;
  margin: 0;
}

.code-block code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #e2e8f0;
  background: transparent;
  border: none;
  padding: 0;
}

/* JSON syntax highlight */
.json-key { color: #f6c90e; }
.json-str { color: #98c379; }
.json-num { color: #d19a66; }
.json-bool { color: #61afef; }
.json-null { color: #abb2bf; }

/* --- Tables --- */
.docs-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.docs-main table thead th {
  background: var(--bg-primary);
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.docs-main table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: top;
}
.docs-main table tbody tr:last-child td { border-bottom: none; }
.docs-main table tbody tr:hover { background: var(--bg-primary); }

/* Required badge in table */
.req { color: var(--fhinck-orange); font-weight: 700; }
.opt { color: var(--text-muted); }

/* --- Callouts --- */
.callout {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
  border-left: 4px solid;
}

.callout-icon { flex-shrink: 0; margin-top: 1px; }

.callout.info {
  background: var(--info-bg);
  border-color: var(--info);
  color: #1e40af;
}
.callout.success {
  background: var(--success-bg);
  border-color: var(--success);
  color: #065f46;
}
.callout.warning {
  background: var(--warning-bg);
  border-color: var(--warning);
  color: #92400e;
}
.callout.error {
  background: var(--error-bg);
  border-color: var(--error);
  color: #991b1b;
}

/* --- Status badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'SF Mono', monospace;
}
.badge-200 { background: var(--success-bg); color: var(--success); }
.badge-400 { background: var(--warning-bg); color: var(--warning); }
.badge-401 { background: var(--error-bg); color: var(--error); }
.badge-422 { background: var(--error-bg); color: var(--error); }
.badge-429 { background: var(--error-bg); color: var(--error); }
.badge-500 { background: #fdf4ff; color: #7c3aed; }

/* --- Method badge --- */
.method {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'SF Mono', monospace;
  letter-spacing: 0.5px;
}
.method-post { background: #dbeafe; color: #1d4ed8; }
.method-get  { background: #dcfce7; color: #15803d; }

/* --- Endpoint card --- */
.endpoint-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}

.endpoint-url {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.endpoint-path {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.endpoint-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --- Cards (landing) --- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--fhinck-orange);
  transform: translateY(-2px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  font-family: inherit;
}
.btn:focus-visible { outline: 2px solid var(--fhinck-orange); outline-offset: 2px; }

.btn-primary {
  background: var(--fhinck-orange);
  color: #fff;
}
.btn-primary:hover { background: var(--fhinck-orange-hover); }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--fhinck-orange); color: var(--fhinck-orange); }

/* Ghost variant para heros dark */
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* --- kbd --- */
kbd {
  display: inline-block;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: 'SF Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  box-shadow: inset 0 -1px 0 var(--border);
}

/* --- Hero (landing) --- */
.hero {
  background: linear-gradient(135deg, var(--text-primary) 0%, #16213e 100%);
  color: #fff;
  padding: 80px 48px;
  text-align: center;
}
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero h1 span { color: var(--fhinck-orange); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 40px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Grid layouts --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* --- Language tabs (cURL / JavaScript / Python / C#) --- */
.tabs {
  display: flex;
  gap: 0;
  margin: 20px 0 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text-primary); }
.tab.tab-active {
  color: var(--fhinck-orange);
  border-bottom-color: var(--fhinck-orange);
}
.tab:focus-visible { outline: 2px solid var(--fhinck-orange); outline-offset: 2px; }

.tab-panel { margin-top: 0; }
.tab-panel.hidden { display: none; }
.tab-panel .code-block { margin-top: 16px; }

/* --- Steps --- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--fhinck-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.step-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--bg-white);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.12s;
}
.faq-q:hover { background: var(--bg-primary); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 20px 16px;
}

/* --- Section wrapper --- */
.section {
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* --- Integration card icon --- */
.int-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

/* --- Footer --- */
.site-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 48px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 24px; opacity: 0.85; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; }

/* --- Chat widget --- */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--fhinck-orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: background 0.15s, transform 0.15s;
}
.chat-fab:hover { background: var(--fhinck-orange-hover); transform: scale(1.05); }
.chat-fab:focus-visible { outline: 2px solid var(--fhinck-orange); outline-offset: 3px; }

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 400px;
  max-height: 600px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--text-primary);
  color: #fff;
}
.chat-header-title { font-size: 15px; font-weight: 600; flex: 1; }
.chat-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}
.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
  line-height: 0;
}
.chat-close:hover { color: #fff; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg-bot {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg-user {
  background: var(--fhinck-orange);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-loading {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: var(--bg-primary);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}
.chat-loading span {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: chatbounce 1.2s infinite ease-in-out;
}
.chat-loading span:nth-child(2) { animation-delay: 0.2s; }
.chat-loading span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-actions {
  padding: 8px 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
}
.chat-clear {
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.chat-clear:hover { background: var(--bg-primary); color: var(--text-primary); }

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  max-height: 120px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s;
}
.chat-input:focus { border-color: var(--fhinck-orange); }

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--fhinck-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.chat-send:hover { background: var(--fhinck-orange-hover); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- Responsive --- */
@media (max-width: 1200px) {
  .docs-layout { grid-template-columns: var(--sidebar-w) 1fr; }
  .docs-toc { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .site-header { padding: 0 16px; }
  .header-nav { display: none; }

  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-main { padding: 24px 20px 60px; }

  .hero { padding: 48px 24px; }
  .hero h1 { font-size: 28px; }

  .section { padding: 40px 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .chat-panel { width: calc(100vw - 32px); right: 16px; }
  .chat-fab { bottom: 20px; right: 20px; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 32px; }
