/* GENERATED by scripts/legal/build.mjs - the legal pages' stylesheet. Tokens copy src/styles/material/01-tokens.css. */
/* cyrillic-ext */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/google-sans/google-sans-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/google-sans/google-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/google-sans/google-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/google-sans/google-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* the interface face, and the ?uifont=inter opt-out */
:root {
  --ui-face: 'Google Sans', 'Inter';
}
html[data-ui-font='inter'] {
  --ui-face: 'Inter';
}

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/ui/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/ui/roboto-mono-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/ui/roboto-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/ui/roboto-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/ui/roboto-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --ink: rgba(0, 0, 0, 0.9);
  --ink-3: rgba(0, 0, 0, 0.55);
  --line: #e6e6e6;
  --brand: #db4d28;
  --brand-hover: #be4020;
  --brand-ink: #be4020;
  --brand-ring: #db4d28;
  --brand-tint: #fbece8;
  --on-accent: #ffffff;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #2c2c2c;
  --paper-2: #383838;
  --ink: #ffffff;
  --ink-3: rgba(255, 255, 255, 0.7);
  --line: #444444;
  --brand: #c24b2c;
  --brand-hover: #a13e24;
  --brand-ink: #e7a694;
  --brand-ring: #e49c89;
  --brand-tint: #56423c;
}
/* no script (or no stored choice yet): follow the system */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #2c2c2c;
    --paper-2: #383838;
    --ink: #ffffff;
    --ink-3: rgba(255, 255, 255, 0.7);
    --line: #444444;
    --brand: #c24b2c;
    --brand-hover: #a13e24;
    --brand-ink: #e7a694;
    --brand-ring: #e49c89;
    --brand-tint: #56423c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 450 13px/22px var(--ui-face, 'Inter'), system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); }
:root[data-theme='dark'] a:hover { color: #f0b6a7; }
a:focus-visible { outline: 2px solid var(--brand-ring); outline-offset: 2px; border-radius: 2px; }
code { font: 450 12px/16px 'Roboto Mono', ui-monospace, monospace; background: var(--paper-2); padding: 1px 4px; border-radius: 2px; }

.bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.bar .grow { flex: 1; }
.mark { font-weight: 550; font-size: 13px; color: var(--ink); text-decoration: none; }
.mark:hover { color: var(--ink); }
.lang a { color: var(--ink-3); text-decoration: none; font-size: 11px; line-height: 16px; }
.lang a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 5px; background: var(--brand); color: var(--on-accent); font-size: 11px; line-height: 16px; font-weight: 550; text-decoration: none; }
.btn:hover { background: var(--brand-hover); color: var(--on-accent); }

main { max-width: 680px; margin: 0 auto; padding: 32px 16px 48px; }
.tabs { display: flex; gap: 4px; margin: 0 0 24px; }
.tabs a { height: 24px; padding: 4px 8px; border-radius: 5px; font-size: 11px; line-height: 16px; font-weight: 550; color: var(--ink-3); text-decoration: none; }
.tabs a:hover { background: var(--paper-2); color: var(--ink); }
.tabs a[aria-current='page'] { background: var(--brand-tint); color: var(--brand-ink); }
h1 { margin: 0 0 4px; font-size: 24px; line-height: 32px; font-weight: 550; letter-spacing: -0.2px; }
.meta { margin: 0 0 16px; color: var(--ink-3); font-size: 11px; line-height: 16px; }
.lede { margin: 0 0 24px; font-size: 14px; line-height: 24px; }
.toc { margin: 0 0 32px; padding: 12px 16px; background: var(--paper-2); border-radius: 5px; }
.toc ol { margin: 0; padding: 0 0 0 20px; font-size: 12px; line-height: 20px; columns: 2; column-gap: 24px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
section { margin: 0 0 24px; scroll-margin-top: 16px; }
h2 { margin: 0 0 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 24px; font-weight: 550; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding: 0 0 0 20px; }
li { margin: 0 0 4px; }
strong { font-weight: 550; }
.foot { max-width: 680px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11px; line-height: 16px; }
.foot a { color: var(--ink-3); }
.foot a:hover { color: var(--ink); }

@media (max-width: 560px) {
  main { padding-top: 24px; }
  .toc ol { columns: 1; }
  h1 { font-size: 20px; line-height: 28px; }
}
@media print {
  .bar, .tabs, .toc { display: none; }
  body { background: #fff; color: #000; }
}
