/* Shared forum palette for standalone documents and the documentation shell. */
:root {
  --color-bg-primary:#131313; --color-bg-secondary:#191919; --color-bg-tertiary:#222;
  --color-bg-card:#191919; --color-border:#303030; --color-border-hover:#51404a;
  --color-text-primary:#ececec; --color-text-secondary:#bab7bf; --color-text-muted:#93909f;
  --color-accent-primary:#d44773; --color-accent-secondary:#ec82a3;
  --color-accent-gradient:linear-gradient(#bf305c,#ad2851);
  --radius-md:4px; --radius-lg:4px; --radius-xl:4px;
  --docs-bg:#131313; --docs-card-bg:#191919; --docs-border:#303030;
  --docs-text:#ececec; --docs-text-muted:#93909f; --docs-accent:#d44773;
}
html { color-scheme:dark; scrollbar-color:#714052 #191919; scrollbar-width:thin; overflow-anchor:none; scroll-behavior:auto; }
body { background:repeating-linear-gradient(135deg,#ffffff02 0 1px,transparent 1px 4px),#131313; }
body::before { display:none; }
.docs-content { max-width:1080px; padding:32px; margin:0 auto; overflow-wrap:anywhere; }
.docs-title { color:#f0edf1; background:none; -webkit-text-fill-color:currentColor; font-size:clamp(26px,3vw,36px); animation:none; }
.docs-subtitle { font-size:14px; line-height:1.8; animation:none; }
.docs-section { animation:none; }
.docs-section-title { font-size:21px; }
.docs-text,.docs-list,.docs-card-content { font-size:14px; line-height:1.9; }
.docs-card,.docs-grid-item,.docs-step,.docs-process-item,.usage-shortcut-row,.usage-feature-row {
  background:#191919 !important; border:1px solid #303030; border-radius:4px; box-shadow:none;
}
.docs-card:hover,.docs-grid-item:hover,.docs-step:hover,.docs-process-item:hover {
  transform:none; border-color:#714052; box-shadow:none;
}
.docs-card::before,.docs-grid-item::before { display:none; }
.docs-step-number,.docs-process-number { background:#a82e53; box-shadow:none; border-radius:4px; }
.docs-admonition { background:#1b1b1b; border-radius:4px; box-shadow:none; }
.docs-admonition-warning { border-color:#8c7242; background:#211e18; }
.docs-admonition-danger,.docs-card-danger { border-color:#91444e; background:#251b1d !important; }
.docs-card-danger .docs-card-content { color:#d8afb5; }
.docs-link,.docs-content a { color:#e07598; }
.docs-content a:hover { color:#ffa1be; }
.docs-btn-primary { background:#ad2f57; border:1px solid #c34870; box-shadow:none; color:white !important; }
.docs-btn-primary:hover { background:#c43b66; transform:none; box-shadow:none; }
.docs-content pre { overflow:auto; white-space:pre; }
.docs-content table { display:block; max-width:100%; overflow:auto; }
:focus-visible { outline:2px solid #e07598; outline-offset:3px; }
select { background:#202020; color:#eee; border:1px solid #3b3337; border-radius:3px; padding:7px 10px; font:inherit; }
::-webkit-scrollbar { width:7px; height:7px; }
::-webkit-scrollbar-track { background:#191919; }
::-webkit-scrollbar-thumb { background:#714052; border-radius:8px; }
::-webkit-scrollbar-thumb:hover { background:#b34f73; }
.docs-standalone-nav { display:flex; justify-content:space-between; align-items:center; gap:16px; max-width:1080px; padding:16px 32px; margin:auto; border-bottom:1px solid #303030; }
.docs-standalone-nav a { color:#e07598; text-decoration:none; }
.docs-standalone-footer { max-width:1080px; margin:auto; padding:24px 32px; border-top:1px solid #303030; color:#93909f; font-size:12px; }
@media(max-width:640px) {
  .docs-content { padding:22px 16px; }
  .docs-standalone-nav,.docs-standalone-footer { padding:16px; }
  .usage-shortcut-row,.usage-feature-row { grid-template-columns:1fr; gap:8px; }
  .docs-grid { grid-template-columns:1fr; }
}
