/* Extras for the docs gate pages; everything else comes from the NAS GUI's own style.css (copied unchanged). */
html, body { height: auto; min-height: 100%; overflow: auto; }
.flash { line-height: 1.4; word-break: break-word; }
.flash-ok {
  background: hsla(152, 60%, 45%, 0.12);
  color: #8fe3b4;
  border: 1px solid hsla(152, 60%, 45%, 0.35);
}
.flash code { background: hsl(var(--background)); padding: 2px 6px; border-radius: 4px; font-size: 0.95rem; user-select: all; }
.gate-page { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; display: flex; flex-direction: column; gap: 1.25rem; }
.gate-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.gate-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: hsl(var(--foreground)); text-decoration: none; }
.gate-brand span { color: hsl(var(--muted-foreground)); font-weight: 500; }
.gate-user { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.gate-note { font-size: 0.82rem; color: hsl(var(--muted-foreground)); margin: 0 0 0.75rem; }
.gate-form { display: flex; flex-direction: column; gap: 0.9rem; }
.gate-form label, .gate-inline label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.gate-form input, .gate-inline input[type=text] {
  background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 6px;
  padding: 0.55rem 0.6rem; color: hsl(var(--foreground)); font-size: 0.95rem;
}
.gate-form input:focus, .gate-inline input:focus { outline: none; border-color: hsl(var(--ring)); box-shadow: 0 0 0 2px hsla(190, 90%, 50%, 0.25); }
.gate-inline { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: flex-end; }
.gate-inline .gate-check { flex-direction: row; align-items: center; gap: 0.5rem; }
.gate-actions { white-space: nowrap; }
.gate-actions .btn { padding: 0.25rem 0.55rem; font-size: 0.78rem; margin-right: 0.25rem; }
.gate-page .panel { position: relative; }
.gate-page table.data-table { width: 100%; }
