:root { color-scheme: light; --ink:#25332f; --muted:#56635e; --green:#1f624d; --line:#d8dfdb; --paper:#fff; --side:#f1f4f2; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:184px; }
body { margin:0; background:var(--paper); color:var(--ink); font:18px/1.65 Georgia,"Times New Roman",serif; letter-spacing:0; }
a { color:var(--green); text-underline-offset:3px; }
a:hover { text-decoration-thickness:2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:3px solid #c57625; outline-offset:4px; }
.skip { position:fixed; top:-100px; left:20px; background:white; padding:12px; z-index:10; }
.skip:focus { top:12px; }
.download-bar { position:sticky; top:0; z-index:5; background:#194d40; color:white; font-family:"Segoe UI",Arial,sans-serif; }
.download-row { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:12px 32px; }
.download-row + .download-row { border-top:1px solid #477064; }
.download-info { display:flex; flex-direction:column; line-height:1.5; }
.download-info strong { font-size:18px; font-weight:650; }
.download-info span { font-size:13px; color:#d8e8e0; }
.download-actions { display:flex; align-items:center; gap:24px; }
.installation-link { color:white; font-size:14px; }
.download-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 20px; border:1px solid white; border-radius:4px; background:white; color:#194d40; font-size:16px; font-weight:650; text-decoration:none; white-space:nowrap; }
.download-link:hover { background:#e5ede8; }
.sidebar { position:fixed; width:228px; inset:160px auto 0 0; padding:36px 24px; border-right:1px solid var(--line); background:var(--side); overflow:auto; font-family:"Segoe UI",sans-serif; }
.wordmark { font-size:30px; font-weight:650; text-decoration:none; }
.edition { color:var(--muted); font-size:14px; margin:0 0 30px; }
nav { display:flex; flex-direction:column; gap:3px; }
nav a { display:block; font-size:15px; line-height:1.4; padding:8px 0 8px 12px; border-left:2px solid transparent; text-decoration:none; color:var(--ink); }
nav a:hover, nav a[aria-current="location"] { border-left-color:var(--green); color:var(--green); background:#e5ede8; }
.sidebar-note { font-size:13px; line-height:1.65; color:var(--muted); margin-top:38px; }
.site-link { font-size:13px; }
main { max-width:1484px; margin-left:228px; padding:50px 56px 36px; }
.document-link { text-align:right; margin:-30px 0 16px; font:14px/1.5 "Segoe UI",Arial,sans-serif; }
h1,h2,h3,figcaption,summary,button,footer { font-family:"Segoe UI",Arial,sans-serif; }
h1 { font-size:52px; line-height:1.1; font-weight:650; margin:8px 0 14px; }
h2 { font-size:30px; line-height:1.25; font-weight:650; margin:8px 0 22px; }
h3 { font-size:20px; line-height:1.35; font-weight:650; margin:0 0 12px; }
p { max-width:780px; margin:0 0 17px; }
#reader>p { max-width:750px; }
#installation h3 { margin-top:28px; }
section { margin-top:64px; padding-top:38px; border-top:1px solid var(--line); }
figure { margin:25px 0; }
figure a { display:block; }
figure>p { max-width:none; margin:0; }
figcaption>p { max-width:none; margin:0; }
img { max-width:100%; height:auto; display:block; }
.screenshot { border:0; }
.screenshot img { border:1px solid #d2d9d5; width:100%; background:white; }
figcaption { font-size:15px; line-height:1.55; color:var(--muted); margin-top:12px; max-width:920px; }
figcaption strong { color:var(--ink); }
.inset { max-width:960px; }
.measurements { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:28px 0 34px; }
.measurements figure { margin:0; border-top:2px solid var(--line); padding-top:14px; }
.measurements img { width:100%; }
.measurements figcaption { margin-top:12px; }
.gallery-controls { display:flex; flex-wrap:wrap; gap:0; border-bottom:1px solid var(--line); }
.gallery-controls button { color:var(--muted); background:none; border:0; border-bottom:3px solid transparent; font-size:16px; padding:10px 20px; cursor:pointer; }
.gallery-controls button[aria-pressed="true"] { color:var(--green); font-weight:650; border-bottom-color:var(--green); }
.gallery .screenshot { margin-top:16px; }
.tensor-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; margin-top:34px; }
.tensor-notes>div:first-child { border-top:3px solid #c27b33; padding-top:20px; }
.tensor-notes>div:last-child { border-top:3px solid #328e96; padding-top:20px; }
.tensor-notes p { font-size:17px; }
.detail-image { margin:24px 0; }
.detail-image summary { color:var(--green); font-size:16px; cursor:pointer; }
.detail-image img { width:510px; max-width:100%; margin-top:20px; border:1px solid var(--line); }
.glossary-example { display:grid; grid-template-columns:minmax(0,300px) minmax(0,360px); gap:28px; align-items:center; margin-top:32px; }
.glossary-example img { width:100%; }
.glossary-example figcaption { margin:0; }
code { font-size:0.9em; }
footer { border-top:1px solid var(--line); margin-top:70px; padding-top:28px; font-size:14px; color:var(--muted); }
[hidden] { display:none !important; }
@media (min-width:1720px) { main { margin-left:auto; margin-right:auto; padding-left:270px; } }
@media (max-width:1100px) { .sidebar { width:200px; padding:30px 18px; } main { margin-left:200px; padding:38px 28px; } .tensor-notes { gap:24px; } }
@media (max-width:760px) {
  html { scroll-padding-top:24px; }
  .download-bar { position:static; }
  .download-row { padding:12px 18px; gap:12px; }
  .download-info strong { font-size:16px; }
  .download-info span { font-size:12px; }
  .download-link { font-size:14px; padding:8px 12px; }
  .installation-link { display:none; }
  .sidebar { position:static; width:auto; padding:20px 24px; border-right:0; border-bottom:1px solid var(--line); }
  .wordmark { font-size:25px; } .edition { margin-bottom:12px; }
  nav { flex-direction:row; flex-wrap:wrap; gap:3px 14px; }
  nav a { font-size:14px; padding:5px 0; border-left:0; border-bottom:2px solid transparent; }
  nav a:hover, nav a[aria-current="location"] { border-bottom-color:var(--green); }
  .sidebar-note,.site-link { display:none; }
  main { margin:0; padding:30px 22px; }
  .document-link { margin:-10px 0 20px; }
  h1 { font-size:42px; } h2 { font-size:27px; }
  body { font-size:17px; } section { margin-top:42px; padding-top:30px; }
  .tensor-notes,.measurements { grid-template-columns:1fr; }
  .measurements { gap:22px; }
  .measurements figure { max-width:430px; }
  .gallery-controls button { padding:9px 15px; }
  .glossary-example { grid-template-columns:minmax(0,300px); gap:18px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
  .download-bar,.sidebar,.skip,.gallery-controls { display:none; } main { margin:0; padding:0; max-width:none; }
  body { font-size:11pt; } h1 { font-size:28pt; } h2 { font-size:19pt; }
  figure { break-inside:avoid; } section { margin-top:24px; padding-top:20px; }
}
