/* The legal pages under www.xenkloud.com/legal: one reading column with the list of documents beside it. */
@font-face {
  font-family: "Open Sans";
  src: url("/open-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
:root {
  --ink: #0f1722;
  --muted: #3d4a59;
  --soft: #5b6878;
  --page: #f4f6f9;
  --line: #e2e6ea;
  --blue: #053ba3;
  --tint: #eaf1fc;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #fff; color: var(--ink);
  font: 16px/1.65 "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:focus-visible { outline: 3px solid #5fb0f5; outline-offset: 3px; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right));
}

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); }
.brand img { display: block; height: 32px; width: auto; }
.brand span { border-left: 1px solid var(--line); padding-left: 12px; font-size: 15px; font-weight: 500; }
.console { padding: 7px 16px; border: 1px solid var(--blue); border-radius: 6px; font-size: 15px; font-weight: 500; text-decoration: none; }
.console:hover { background: var(--tint); }

.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 40px 72px; }
.docs { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 24px; align-self: start; }
.docs a { padding: 8px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 15px; }
.docs a:hover { background: var(--page); color: var(--ink); }
.docs a[aria-current="page"] { background: var(--tint); color: var(--blue); font-weight: 500; }

main { max-width: 46em; }
.crumbs { margin: 0; font-size: 14px; color: var(--soft); }
.crumbs a { color: var(--soft); }
h1 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.updated { margin: 10px 0 0; font-size: 14px; color: var(--soft); }
.lead { margin: 16px 0 0; font-size: 18px; color: var(--muted); }

article { margin-top: 28px; }
article h2 { margin: 40px 0 0; font-size: 22px; line-height: 1.3; font-weight: 500; }
article p, article li { color: var(--ink); }
article p { margin: 14px 0 0; }
article ul, article ol { margin: 14px 0 0; padding-left: 1.4em; }
article li + li { margin-top: 8px; }
article strong { font-weight: 500; }
article table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
article th, article td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
article th { background: var(--page); font-weight: 500; color: var(--muted); white-space: nowrap; }

.index { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.index li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; }
.index a { font-size: 18px; font-weight: 500; text-decoration: none; }
.index a:hover { text-decoration: underline; }
.index p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
footer .wrap { padding-block: 20px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 56px; }
  .docs { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .docs a { padding: 6px 10px; border: 1px solid var(--line); font-size: 14px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .brand span { display: none; }
}

/* Report abuse */
.report { display: grid; gap: 18px; margin-top: 8px; max-width: 34em; }
.report label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.report label span { font-weight: 400; color: var(--soft); }
.report input, .report select, .report textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); min-width: 0; }
.report input:focus-visible, .report select:focus-visible, .report textarea:focus-visible { outline: 3px solid #5fb0f5; outline-offset: 1px; }
.report button { justify-self: start; padding: 10px 20px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.report .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
