
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Variable"; src: url("fonts/inter-variable.woff2") format("woff2-variations"), url("fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --background: #fafafa;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --primary: #181818;
  --muted: #f1f1f1;
  --muted-foreground: #737373;
  --border: #bebebe;
  --brand: #ffe83b;
  font-family: "Inter Variable", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.site-header { position: relative; z-index: 1; background: var(--card); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1); }
.header-inner { max-width: 78rem; margin: auto; padding: 1rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.product-link { display: inline-block; border-radius: 4px; background: var(--brand); padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: #343434; text-decoration: none; transition: filter 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.product-link:hover { filter: brightness(0.9); }
.breadcrumbs { max-width: 78rem; margin: auto; padding: 1rem 1.5rem 0; font-size: 0.85rem; color: var(--muted-foreground); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.65rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: baseline; gap: 0.65rem; }
.breadcrumbs li + li::before { content: "→"; }
.breadcrumbs a { display: inline; padding: 0; border-radius: 0; }
.breadcrumbs a:hover { background: none; text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 400; font-size: 1.1rem; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 1.5rem; flex-shrink: 0; }
.brand span { color: var(--muted-foreground); }
.skip-link { position: absolute; top: -5rem; left: 1rem; padding: 0.5rem 1rem; background: var(--card); z-index: 2; }
.skip-link:focus { top: 0.5rem; }
.page-layout { max-width: 78rem; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.page-layout.with-sidebar { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; }
.section-subtitle { margin-top: -0.75rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--muted-foreground); }
.with-sidebar > .section-navigation { margin: 0; padding: 0; border: 0; background: transparent; }
.section-navigation summary { margin-bottom: 0.75rem; }
.navigation-menu-icon { display: none; }
.section-navigation > nav { padding-right: 0.75rem; }
main { min-width: 0; max-width: 52rem; margin: 0 auto; overflow-wrap: anywhere; }
.with-sidebar > main { margin: 0; }
.library-index { min-height: 66.667vh; min-height: 66.667dvh; }
h1, h2, h3 { line-height: 1.25; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0.5rem 0 1.5rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
.with-sidebar > .section-navigation { position: sticky; top: 1.5rem; height: calc(100dvh - 3rem); overflow-y: auto; scrollbar-gutter: stable; align-self: start; font-size: 0.85rem; }
nav ul { list-style: none; padding: 0; margin: 0; }
nav > ul > li { margin-bottom: 1rem; font-weight: 600; }
nav ul ul { margin-top: 0.35rem; }
nav li li { font-weight: 400; }
nav a { display: block; padding: 0.35rem 0.6rem; border-radius: 0.5rem; text-decoration: none; }
nav a:hover { background: var(--muted); }
.case-contents { margin: 1.25rem 0 2rem; font-size: 0.875rem; }
.case-contents > p { margin-bottom: 0.5rem; font-weight: 600; }
.case-contents ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.case-contents > ul > li { margin: 0; font-weight: 400; }
.case-contents a { padding: 0.25rem 0; color: #ffffff; text-decoration: underline; text-decoration-color: var(--brand); }
.case-contents a:hover { opacity: 0.5; background: none; }
nav a[aria-current="page"] { background: var(--primary); color: white; font-weight: 500; }
article, section[aria-label="Statutory text"] { position: relative; border: 1px solid #d9d9d9; border-radius: 0.5rem; background: #f5f5f5; margin-bottom: 1.5rem; }
article:has(+ .source-notice), section:has(+ .source-notice) { margin-bottom: 0; }
.source-notice { margin: 0 0 1.5rem; padding: 0.5rem 1.25rem; color: var(--muted-foreground); font-size: 0.75rem; font-style: italic; line-height: 1.5; text-align: center; }
.non-public > .document-snippet, .non-public > .source-footer { opacity: 0.45; }
.non-public { border-style: dashed; }
.editable-card > .source-link { right: 3.5rem; }
.editable-card.non-public > .source-link { right: 5.75rem; }
form.visibility-toggle { display: flex; flex-direction: row-reverse; gap: 0.25rem; position: absolute; top: 1rem; right: 1rem; z-index: 2; margin: 0; padding: 0; border: 0; background: transparent; }
.visibility-toggle button { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 0.35rem; color: var(--muted-foreground); background: transparent; }
.visibility-toggle button[aria-busy="true"]::after { content: ""; position: absolute; right: -1rem; width: 0.75rem; height: 0.75rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: visibility-spin 0.7s linear infinite; }
@keyframes visibility-spin { to { transform: rotate(360deg); } }
.visibility-error { position: absolute; top: 100%; right: 0; width: 16rem; padding: 0.5rem; border: 1px solid var(--border); border-radius: 0.35rem; background: var(--card); color: #a11919; box-shadow: 0 2px 6px #0002; }
.visibility-toggle button[hidden] { display: none; }
.visibility-toggle .delete-snippet:hover { color: #a11919; }
.visibility-toggle button:hover { color: var(--foreground); background: var(--muted); }
.visibility-toggle button[aria-pressed="true"] { color: var(--foreground); }
.source-link { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.35rem; color: var(--muted-foreground); }
.source-link:hover { color: var(--foreground); background: var(--muted); }
.source-tooltip { position: absolute; top: 100%; right: 0; z-index: 3; width: max-content; padding: 0.4rem 0.65rem; border-radius: 0.35rem; background: var(--primary); color: white; font-size: 0.75rem; font-weight: 400; line-height: 1.5; box-shadow: 0 2px 6px #0002; }
.collection-introduction { margin: 0 0 2rem; padding: 1.5rem 1rem; border: 1px solid #000000; background: #ffffff; color: #111827; font-family: "IBM Plex Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5rem; }
.collection-introduction p { margin: 0; }
.collection-introduction p + p { margin-top: 1rem; }
.document-snippet { margin: 0; padding: 1.75rem 2rem; border: 0; border-radius: 0.5rem; background: #ffffff; color: #161616; font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem; line-height: 1.75; box-shadow: 0 3px 5px #00000018; }
.document-snippet > p:first-child, .document-snippet > section > p:first-child { padding-right: 1.75rem; }
article > .document-snippet { padding-top: 3.75rem; }
article > .document-snippet > p:first-child { padding-right: 0; }
.document-snippet p:last-child { margin-bottom: 0; }
.document-snippet section section { margin-left: 1rem; }
.source-footer { padding: 1rem 1.25rem; font-size: 0.875rem; line-height: 1.5; }
.source-footer h3, .source-footer .source-title { margin: 0 0 0.35rem; font-size: 0.875rem; line-height: 1.5; letter-spacing: 0; font-weight: 600; }
.source-footer .case-citation { font-weight: 400; }
.case-citation cite { font-style: italic; }
.source-footer p { margin: 0 0 0.5rem; }
.source-footer > :last-child { margin-bottom: 0; }
.source-footer .source-metadata { color: var(--muted-foreground); font-size: 0.75rem; text-align: right; }
.dissent-flag { display: inline-block; padding: 0.1rem 0.45rem; border: 1px solid var(--border); border-radius: 0.25rem; font-weight: 600; }
.source-footer aside { margin-bottom: 0.875rem; }
.source-footer aside > :last-child { margin-bottom: 0; }
.source-footer aside ul, .source-footer aside ol { padding-left: 1.5rem; margin: 0 0 0.5rem; }
.source-footer aside blockquote { margin: 0 0 0.5rem; padding-left: 1rem; border-left: 2px solid var(--border); }
.source-footer aside pre { overflow-x: auto; padding: 0.75rem; background: var(--muted); }
.source-footer aside h1, .source-footer aside h2, .source-footer aside h3 { font-size: 1em; margin: 1rem 0 0.5rem; }
.source-footer aside table { border-collapse: collapse; }
.source-footer aside th, .source-footer aside td { padding: 0.35rem; border: 1px solid var(--border); }
section[id], article[id], .case-topic-heading { scroll-margin-top: 1.5rem; }
.case-topic { margin-top: 1.75rem; }
.cta-banner { display: block; margin-top: 1.5rem; }
.cta-banner img { display: block; width: 100%; height: auto; }
.sibling-navigation { display: flex; gap: 1rem; margin-top: 1.5rem; }
.sibling-navigation a.sibling-link { flex: 0 1 calc(50% - 0.5rem); display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); }
.sibling-navigation a.sibling-link:hover { border-color: var(--foreground); background: var(--card); }
.sibling-navigation a.sibling-next { margin-left: auto; align-items: flex-end; text-align: right; }
.sibling-direction { color: var(--muted-foreground); font-size: 0.8rem; }
.sibling-prev .sibling-direction::before { content: "← " / ""; }
.sibling-next .sibling-direction::after { content: " →" / ""; }
.sibling-title { font-weight: 500; }
.cases-container { padding: 2rem; background: #343434; color: #ffffff; }
.cases-container :focus-visible { outline-color: #ffffff; }
.cases-container > :first-child { margin-top: 0; }
.cases-container > :last-child, .cases-container > :last-child > article:last-child { margin-bottom: 0; }
.cases-container .source-notice { color: #d9d9d9; }
.cases-container article { color: var(--foreground); }
.cases-container article :focus-visible { outline-color: var(--primary); }
.case-topic article[id] { scroll-margin-top: 4.5rem; }
.case-topic-heading:focus { outline: none; }
.case-topic-heading { position: sticky; top: 0; z-index: 4; margin: 0 0 0.25rem; padding: 0.75rem 0; background: #343434; }
form { padding: 1.25rem; margin-top: 1.25rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--background); font-size: 0.875rem; }
form > label { display: inline-block; margin: 0 1rem 1rem 0; }
form p { margin-bottom: 1rem; }
form p label { display: block; }
input, select, textarea, button { font: inherit; }
input:not([type="hidden"]):not([type="checkbox"]), select, textarea { border: 1px solid var(--border); border-radius: 0.5rem; color: var(--foreground); background: var(--card); padding: 0.5rem 0.65rem; min-height: 2.25rem; max-width: 100%; }
input[type="number"] { width: 5rem; }
input[type="checkbox"] { accent-color: var(--primary); margin-right: 0.4rem; }
textarea { display: block; width: 100%; margin-top: 0.4rem; resize: vertical; font-family: ui-monospace, monospace; font-size: 0.8rem; }
button { background: var(--primary); color: white; border: 1px solid var(--primary); border-radius: 0.5rem; padding: 0.5rem 0.9rem; font-weight: 500; cursor: pointer; }
button:hover { background: #343434; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
details { margin: 1rem 0 2rem; border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.75rem 1rem; background: var(--card); }
summary { cursor: pointer; font-weight: 500; }
details:not(.section-navigation) ul { max-height: 20rem; overflow: auto; padding-left: 1.25rem; }
.site-footer { padding: 4rem 1.5rem; border-top: 1px solid #e5e7eb; background: #ffffff; }
.footer-inner { max-width: 80rem; margin: 0 auto; color: #111827; font-family: "IBM Plex Mono", "Courier New", monospace; font-size: 1rem; line-height: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer svg { flex-shrink: 0; }
.footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-downloads { grid-column: span 2; align-self: start; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.75rem; font-family: Inter, system-ui, sans-serif; }
.download-badge { display: inline-flex; align-items: center; gap: 0.625rem; height: 2.5rem; padding: 0 1rem; border-radius: 0.25rem; background: #000000; color: #ffffff; transition: background-color 150ms; }
.download-badge:hover { background: #1f2937; }
.download-badge svg { width: 1.25rem; height: 1.25rem; }
.download-badge > span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.download-badge-label { color: #d1d5db; font-size: 0.75rem; line-height: 1; }
.download-badge-platform { font-size: 1rem; line-height: 1; font-weight: 600; }
.site-footer h3 { margin: 0 0 1rem; color: #374151; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: normal; }
.site-footer ul { margin: 0; padding: 0; list-style: none; font-size: 0.875rem; line-height: 1.25rem; }
.site-footer li + li { margin-top: 0.5rem; }
.site-footer ul a { color: #111827; transition: color 150ms; }
.site-footer ul a:hover { color: #374151; }
.footer-legal { display: flex; align-items: center; gap: 0.75rem; padding-top: 2rem; border-top: 1px solid #f3f4f6; color: #4b5563; font-size: 0.875rem; line-height: 1.25rem; }
.footer-separator { color: #d1d5db; }
.footer-soc { display: flex; align-items: center; gap: 0.25rem; }
.footer-soc svg { width: 1rem; height: 1rem; }
@media (min-width: 640px) {
  .site-footer { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 768px) {
  .footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-downloads { grid-column: span 4; }
}
@media (min-width: 1024px) {
  .site-footer { padding-left: 3rem; padding-right: 3rem; }
  .footer-columns { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-downloads { grid-column: span 1; }
  .footer-legal { justify-content: center; }
}
@media (min-width: 801px) {
  .section-navigation[open] > summary { display: none; }
}
@media (max-width: 800px) {
  .breadcrumbs { padding: 1rem 1rem 0; }
  .page-layout { padding: 1.25rem 1rem 6rem; }
  .page-layout.with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .with-sidebar > .section-navigation { position: fixed; z-index: 10; top: auto; bottom: calc(5rem + env(safe-area-inset-bottom)); left: 1rem; right: 1rem; height: auto; overflow: visible; scrollbar-gutter: auto; padding: 0; border: 0; background: transparent; }
  .section-navigation > summary { position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom)); left: 1rem; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin: 0; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); box-shadow: 0 2px 10px #0002; color: var(--foreground); list-style: none; }
  .section-navigation > summary::-webkit-details-marker { display: none; }
  .section-navigation > summary span { display: none; }
  .section-navigation .navigation-menu-icon { display: block; }
  .section-navigation[open] > summary { background: var(--primary); color: white; }
  .section-navigation > nav { max-height: calc(100dvh - 7rem - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 1rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); box-shadow: 0 4px 20px #0003; }
  .section-navigation > nav a { min-height: 2.75rem; display: flex; align-items: center; }
  .document-snippet { padding: 1.25rem; font-size: 1.0625rem; }
  article > .document-snippet { padding-top: 3rem; }
  .source-footer { padding: 0.875rem 1rem; }
  .cases-container { padding: 1rem; }
  .site-footer { padding-bottom: 6rem; }
  form.visibility-toggle { top: 0.5rem; right: 0.5rem; }
  .editable-card > .source-link { right: 3rem; }
  .editable-card.non-public > .source-link { right: 5.25rem; }
  .source-link { top: 0.5rem; right: 0.5rem; }
  form { padding: 1rem; }
}
@media print {
  .site-header, .site-footer, .breadcrumbs, .skip-link, .source-tooltip, .with-sidebar > .section-navigation, form { display: none; }
  .page-layout.with-sidebar { display: block; }
  .page-layout { padding: 0; }
  .document-snippet { box-shadow: none; }
  article > .document-snippet { padding-top: 1.75rem; }
  article, section[aria-label="Statutory text"] { position: relative; border: 0; padding: 0; }
}
