:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #26343a;
  background: #f5f4f0;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.7; }
a { color: #0f766e; }
.site-header { background: linear-gradient(120deg, #163f4a, #245d62); color: #fff; }
.site-header-inner { max-width: 1080px; margin: 0 auto; padding: 16px 24px; display: flex; gap: 28px; align-items: center; }
.brand { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: #d8efeb; text-decoration: none; }
nav a:hover, nav a:focus { color: #fff5d6; }
nav a.language-switch { padding: 3px 10px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
nav a.language-switch:hover, nav a.language-switch:focus { border-color: #fff5d6; background: rgba(255, 255, 255, 0.12); color: #fff5d6; }
.page-layout { max-width: 1240px; margin: 32px auto; padding: 0 24px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; padding: 20px 16px; background: #fff; border: 1px solid #e2ebe8; border-radius: 10px; box-shadow: 0 10px 30px rgba(38, 52, 58, 0.06); }
.sidebar-title { margin: 0 8px 12px; color: #245d62; font-size: 15px; font-weight: 700; }
.sidebar-nav ul { margin: 0; padding: 0; list-style: none; }
.sidebar-nav ul ul { margin: 4px 0 8px 12px; padding-left: 10px; border-left: 1px solid #dce9e6; }
.sidebar-nav li { margin: 2px 0; }
.sidebar-nav a, .sidebar-group-title { display: block; padding: 5px 8px; color: #52656a; font-size: 14px; line-height: 1.45; text-decoration: none; }
.sidebar-nav a:hover, .sidebar-nav a:focus { color: #0f766e; background: #edf6f3; border-radius: 5px; }
.sidebar-nav a.active { color: #0f766e; background: #e0f1ed; border-radius: 5px; font-weight: 700; }
.sidebar-group-title { padding-bottom: 2px; color: #245d62; font-weight: 600; }
.content { min-width: 0; padding: 0 24px 48px; background: #fff; box-shadow: 0 10px 30px rgba(38, 52, 58, 0.06); }
.content h1 { padding-top: 28px; color: #111827; }
.content h2 { margin-top: 36px; color: #245d62; }
.content h3 { margin-top: 28px; }
.content .integration-screenshot { display: block; width: 78%; max-width: 100%; height: auto; margin: 16px auto; }
.content code { padding: 2px 5px; background: #e7f2ef; border-radius: 4px; }
.content pre { overflow-x: auto; padding: 16px; border-radius: 8px; background: #111827; color: #e5e7eb; }
.content pre code { padding: 0; background: transparent; }
.content pre.mermaid { background: #f8faf9; color: #26343a; border: 1px solid #e2ebe8; }
.content pre.mermaid.is-rendered { white-space: normal; }
.content .mermaid svg { display: block; width: 100%; min-width: 680px; height: auto; margin: 0 auto; }
.content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content th, .content td { border: 1px solid #d1d5db; padding: 8px 10px; text-align: left; vertical-align: top; }
.content th { background: #eaf4f1; }
.content.page-integration-h5-editions-hotel table { width: 100%; max-width: 100%; table-layout: fixed; font-size: 14px; }
.content.page-integration-h5-editions-hotel th:nth-child(1), .content.page-integration-h5-editions-hotel td:nth-child(1) { width: 14%; }
.content.page-integration-h5-editions-hotel th:nth-child(2), .content.page-integration-h5-editions-hotel td:nth-child(2) { width: 30%; }
.content.page-integration-h5-editions-hotel th:nth-child(3), .content.page-integration-h5-editions-hotel td:nth-child(3) { width: 12%; }
.content.page-integration-h5-editions-hotel th:nth-child(4), .content.page-integration-h5-editions-hotel td:nth-child(4) { width: 12%; }
.content.page-integration-h5-editions-hotel th:nth-child(5), .content.page-integration-h5-editions-hotel td:nth-child(5) { width: 32%; }
.content.page-integration-h5-editions-hotel td { overflow-wrap: anywhere; word-break: break-word; }
.content.page-integration-h5-editions-hotel code { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
footer { max-width: 1240px; margin: 0 auto; padding: 0 24px 32px; color: #6b7280; font-size: 13px; }
@media (max-width: 820px) { .site-header-inner { display: block; } nav { margin-top: 10px; gap: 12px; } .page-layout { display: block; margin-top: 16px; } .sidebar { position: static; max-height: none; margin-bottom: 16px; } .content { padding-bottom: 32px; } .content .integration-screenshot { width: 100%; } }
