/* WAVScribe - reading pages (open source, legal, reference ...).
   The artwork band behind the menu, the title panel and the text layout. Loaded after site.css.

   Each page sets its own header on <body>:
   style="--art:url(/assets/img/art-NAME.jpg);--ax:50;--ay:50;--az:100;--glow:52,104,30"
   ax / ay = which part of the picture shows (0-100); az = picture width as a percent of the band (100 or more);
   glow = a dark tone of the picture's main color, as red,green,blue;
   optional: --gs = glow strength in percent (default 12); --bh / --bhm = band height on desktop / phone (default 240px / 130px). */
.pband{position:relative;height:var(--bh,240px);background-color:#1b1b1d;background-image:var(--art);background-repeat:no-repeat;
  background-size:max(calc(var(--az,100)*1%),520px) auto;background-position:calc(var(--ax,50)*1%) calc(var(--ay,50)*1%)}

.doc{--blue:#3ab8f0;--mono:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",Menlo,monospace;
  background:linear-gradient(180deg,var(--bg0) 0%,var(--bg1) 100%);padding:0 0 120px}
.doc .wrap{max-width:940px}

/* Title panel: a plain dark rectangle sitting across the lower edge of the artwork.
   Two shadows: a dark one for depth against the artwork, and a soft one tinted with the artwork's color
   that eases the panel into the charcoal below (the same idea as the shadow under the app window on the main page). */
.ptitle{position:relative;z-index:1;width:fit-content;min-width:440px;max-width:calc(100% + 40px);margin:-62px 0 0 -40px;padding:28px 40px 32px;background:#19191b;
  box-shadow:0 5px 26px rgba(0,0,0,.5),18px 26px 52px rgba(var(--glow,0,0,0),calc(var(--gs,12)/100))}
.ptitle h1{margin:0;font-size:50px;line-height:1.1;font-weight:600;color:var(--ink);letter-spacing:-.015em}

.doc .lede{margin:32px 0 0;padding-bottom:40px;border-bottom:1px solid var(--line);font-size:18px;color:var(--body)}
.doc h2{margin:56px 0 16px;font-size:24px;line-height:1.25;font-weight:600;color:var(--ink)}
.doc h3{margin:0 0 12px;font-size:18px;line-height:1.3;font-weight:600;color:var(--ink)}
.doc p{margin:0 0 16px;font-size:17px}
.doc p strong{color:var(--ink);font-weight:600}
.doc a{color:var(--blue);text-decoration:none}
.doc a:hover{text-decoration:underline;text-underline-offset:.2em}
.doc p a:not([href^="mailto:"]){text-decoration:underline;text-underline-offset:.2em}
.doc code{font-family:var(--mono);font-size:.86em;color:var(--ink);background:#1c1c1f;padding:2px 7px}

/* Pages made of separate topics (Support): a thin line between one topic and the next.
   Used by adding the class "topics" to <main class="doc">. The first topic sits under the intro's own line.
   Topic headings are 2px larger than ordinary section headings and sit 6px further from their text. */
.doc.topics h2{margin-top:32px;margin-bottom:22px;padding-top:32px;border-top:1px solid #48484f;font-size:26px}
.doc.topics .lede + h2{margin-top:56px;padding-top:0;border-top:0}

/* Table of libraries */
.deps{width:100%;margin:24px 0 0;border-collapse:collapse;border-top:1px solid var(--line);font-size:15.5px;line-height:1.5}
.deps th{text-align:left;padding:13px 18px 13px 0;font-size:14.5px;font-weight:600;color:var(--ink);border-bottom:1px solid #55555e;white-space:nowrap}
.deps td{padding:12px 18px 12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.deps th:last-child,.deps td:last-child{padding-right:0}
.deps .pkg-name{font-family:var(--mono);font-size:14.5px;color:var(--ink);white-space:nowrap}
.deps .pkg-version{font-family:var(--mono);font-size:14.5px;color:var(--dim)}
.deps .pkg-license{color:var(--ink);white-space:nowrap}
.deps .lgpl{color:var(--blue);font-weight:600}
.doc .note{margin:14px 0 0;font-size:14.5px;color:var(--dim)}

/* Boxed statement */
.box{margin:28px 0;padding:28px 32px;background:#1f1f23;border:1px solid var(--line)}
.box p:last-child{margin-bottom:0}

/* Short list of addresses */
.urls{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--line);font-family:var(--mono);font-size:14.5px}
.urls li{padding:11px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.urls strong{color:var(--ink);font-weight:600}

/* A PDF shown in the page */
.pdf{display:block;width:100%;height:85vh;min-height:600px;margin:36px 0 0;border:1px solid var(--line);background:#fff}

/* Legal and guide pages (Privacy, Which tool?): the class "policy" on <main class="doc topics policy">.
   A row of dates in place of the intro, sub-headings inside sections, plain lists and plain tables,
   and a jump link under the intro. */
.doc .lede.meta{display:flex;flex-wrap:wrap;gap:6px 0;font-size:15.5px;color:var(--dim)}
.meta span + span{margin-left:22px;padding-left:22px;border-left:1px solid #55555e}
.policy h3{margin:36px 0 12px;font-size:19px}
.policy h2 + h3{margin-top:0}
.policy ul{margin:0 0 16px;padding:0 0 0 22px}
.policy li{margin:0 0 8px;font-size:17px}
.policy li strong{color:var(--ink);font-weight:600}
.policy code{overflow-wrap:anywhere}
.policy .jump{margin:28px 0 24px}
.doc p.jump a{text-decoration:none}
.doc p.jump a:hover{text-decoration:underline}

.tbl{width:100%;margin:8px 0 24px;border-collapse:collapse;border-top:1px solid var(--line);font-size:15.5px;line-height:1.5}
.tbl th{text-align:left;padding:13px 18px 13px 0;font-size:14.5px;font-weight:600;color:var(--ink);border-bottom:1px solid #55555e}
.tbl td{padding:12px 18px 12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.tbl th:last-child,.tbl td:last-child{padding-right:0}
.tbl td:first-child{width:38%;color:var(--ink)}
.procs td:first-child{width:17%}
.tbl strong{font-weight:600}

/* Which tool? only: the quick-answer table as one darker panel. Left column subdued, right column bright. */
.qa{margin:20px 0 28px;background:#1b1b1e;border:1px solid var(--line);font-size:16px}
.qa th,.qa td,.qa th:last-child,.qa td:last-child{padding:14px 22px}
.qa th{font-size:13.5px;color:var(--dim);background:#202024;border-bottom:1px solid #48484f}
.qa td{border-bottom:1px solid #303036}
.qa tr:last-child td{border-bottom:0}
.qa td:first-child{width:44%;color:#adadb6}
.qa td:last-child,.qa td:last-child strong{color:var(--ink)}

/* Press kit only (class "press" on <main>): labelled copy boxes, fact sheets, picture tiles with downloads,
   the ZIP box and the developer block. */
.doc.press .lede{font-size:20px;line-height:1.5;font-weight:500}
.doc.press .lede .contact{display:block;margin-top:14px;font-size:17px;font-weight:400}
.doc .plabel{margin:26px 0 10px;font-size:14px;font-weight:600;color:var(--dim)}
.press .box{margin:0 0 8px;padding:30px 34px}
.press h2 + .box{margin-top:4px}
.press h2 + .plabel{margin-top:0}
.press .box .rel-h{margin-bottom:6px;font-size:22px;line-height:1.3;font-weight:600;color:var(--ink);text-wrap:balance}
.press .box .rel-s{margin-bottom:24px;color:var(--dim)}
.facts{display:grid;grid-template-columns:220px 1fr;margin:8px 0 28px;background:#1b1b1e;border:1px solid var(--line);font-size:16px;line-height:1.5}
.facts dt,.facts dd{margin:0;padding:13px 20px;border-bottom:1px solid #303036}
.facts dt{font-weight:600;color:var(--ink);background:#202024}
.facts dt:last-of-type,.facts dd:last-of-type{border-bottom:0}
.pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px;margin:24px 0 12px}
.pgrid .wide{grid-column:1 / -1}
.pfig{margin:0}
.pthumb{display:block;border:1px solid var(--edge);background:#1b1b1e}
.pthumb:hover{border-color:#6a6a74}
.pthumb img{display:block;width:100%;height:auto}
.pthumb.contain{display:flex;align-items:center;justify-content:center;padding:24px}
.pthumb.contain img{width:auto;max-width:100%;max-height:420px}
.pfig figcaption{margin-top:12px;font-size:15.5px;line-height:1.55}
.pfig .pdl{display:inline-block;margin-top:5px;font-size:14.5px}
.pzip{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:44px 0 0;padding:26px 30px;background:#1b1b1e;border:1px solid var(--line)}
.pzip-text{font-size:16px;line-height:1.5}
.pzip-text strong{display:block;margin-bottom:3px;font-size:18px;font-weight:600;color:var(--ink)}
.doc a.cta{flex-shrink:0;padding:12px 20px;font-size:16px;color:#161616}
.doc a.cta:hover{text-decoration:none}
.pdev{display:grid;grid-template-columns:240px 1fr;gap:32px;align-items:start;margin-top:8px}

/* Reference pages (Standards): compact field tables (class "ref"; "ref dark" is the darker-panel version),
   the action key, the chunk id beside a heading, placement lines and the list of references. */
.doc.topics h2.first{margin-top:36px;padding-top:0;border-top:0}
.doc p.after{margin-top:28px}
.doc h2 .cid{margin-right:.55em;font-size:.72em;font-weight:500;vertical-align:middle}
.doc .place{margin:-8px 0 18px;font-family:var(--mono);font-size:13px;color:var(--dim)}
.doc .akey{list-style:none;margin:0 0 8px;padding:4px 20px;background:#1b1b1e;border:1px solid var(--line)}
.doc .akey li{display:flex;gap:16px;align-items:baseline;margin:0;padding:11px 0;font-size:15.5px;line-height:1.5}
.doc .akey li + li{border-top:1px solid #303036}
.doc .akey strong{flex-shrink:0;width:118px;font-family:var(--mono);font-size:12.5px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
.ref{width:100%;margin:8px 0 24px;border-collapse:collapse;border-top:1px solid var(--line);font-size:14.5px;line-height:1.5}
.ref th{text-align:left;padding:9px 16px 9px 0;font-size:13px;font-weight:600;color:var(--dim);border-bottom:1px solid #55555e}
.ref td{padding:7px 16px 7px 0;border-bottom:1px solid var(--line);vertical-align:top}
.ref th:last-child,.ref td:last-child{padding-right:0}
.ref code{padding:0;font-size:inherit;background:none;color:inherit}
.ref .cf{font-family:var(--mono);font-size:13.5px;color:var(--ink)}
.ref .cf code{white-space:nowrap}
.ref .ca{width:124px;white-space:nowrap;font-family:var(--mono);font-size:12px;letter-spacing:.05em;text-transform:uppercase}
.ref .cn{color:#adadb6}
.ref .act-write{color:var(--ink)}
.ref .act-passthrough{color:#a2a2ab}
.ref .act-auto{color:var(--ink)}
.ref .act-readonly{color:var(--dim);font-style:italic}
.ref.dark{background:#1b1b1e;border:1px solid var(--line)}
.ref.dark th{padding-left:16px;background:#202024;border-bottom-color:#48484f}
.ref.dark td{padding-left:16px;border-bottom-color:#303036}
.ref.dark th:last-child,.ref.dark td:last-child{padding-right:16px}
.ref.dark tr:last-child td{border-bottom:0}
/* A sub-section whose table is its own panel: more room above the heading, the heading close to its table. */
.policy h3.blk{margin:40px 0 14px}
.policy h2 + h3.blk{margin-top:0}
.policy h3.blk + .ref{margin-top:0}
/* Chunks: four-column tables (class "c4"), the wider label key, a picture in the text and its enlarged view. */
.doc .akey.wide strong{width:150px}
.ref.c4 .cf{width:13%}
.ref.c4 .cn{width:33%}
.ref.c4 .cs{color:#adadb6}
.ref.c4 .ca{width:132px}
.ref .tier-t1{color:var(--ink)}
.ref .tier-t2{color:#c6c6ce}
.ref .tier-t3{color:#a2a2ab}
.ref .tier-t4{color:var(--dim);font-style:italic}
.doc .fig{display:block;width:100%;height:auto;margin:26px 0 24px;border:1px solid var(--edge);cursor:zoom-in}
.zoom{max-width:96vw;max-height:94vh;padding:0;border:0;background:none}
.zoom::backdrop{background:rgba(10,10,12,.86)}
.zoom:focus-visible{outline:none}
.zoom img{display:block;max-width:96vw;max-height:94vh;width:auto;height:auto;border:1px solid var(--edge);cursor:zoom-out}
.doc .refs{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid var(--line)}
.doc .refs li{margin:0;padding:10px 0;border-bottom:1px solid var(--line);font-size:15.5px}

/* User manual (class "manual" on <main class="doc manual">). Everything is styled by element type, so new manual
   text can be pasted in without adding classes. Parts are h2, sections h3 (with a thin line above), sub-sections h4.
   The text's own <hr> lines are hidden; the lines come from the heading levels. */
.manual .lede{padding-bottom:0;border-bottom:0}
.manual .manual-actions{margin:26px 0 0}
.manual .manual-actions a{display:inline-block;padding:11px 18px;border:1px solid #94949d;font-size:16px;font-weight:600;color:var(--ink)}
.manual .manual-actions a:hover{background:rgba(255,255,255,.06);text-decoration:none}
.manual .toc{margin:36px 0 0;padding:26px 30px 8px;background:#1b1b1e;border:1px solid var(--line)}
.manual .toc ul{list-style:none;margin:0;padding:0}
.manual .toc > ul{columns:2;column-gap:44px}
.manual .toc > ul > li{break-inside:avoid;margin:0 0 22px}
.manual .toc > ul > li > a{display:block;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #303036;font-size:17px;font-weight:600;color:var(--ink)}
.manual .toc li li{margin:0;font-size:15.5px;line-height:1.5}
.manual .toc li li a{display:block;padding:3px 0;color:var(--body)}
.manual .toc a:hover{color:var(--ink)}
.manual hr{display:none}
.manual h2{margin:72px 0 0;padding-top:44px;border-top:2px solid #55555e;font-size:36px;line-height:1.15;letter-spacing:-.01em}
.manual h3{margin:36px 0 18px;padding-top:34px;border-top:1px solid #48484f;font-size:26px;line-height:1.25;font-weight:600;color:var(--ink)}
.manual h2 + h3,.manual h2 + hr + h3{margin-top:26px;padding-top:0;border-top:0}
.manual h4{margin:34px 0 12px;font-size:19px;line-height:1.3;font-weight:600;color:var(--ink)}
.manual h3 + h4{margin-top:0}
.manual ul,.manual ol{margin:0 0 16px;padding:0 0 0 22px}
.manual li{margin:0 0 7px;font-size:17px}
.manual li strong{color:var(--ink);font-weight:600}
.manual li > ul,.manual li > ol{margin:7px 0 0}
/* content-box: the 1px border must sit outside the picture, or the picture is drawn 2px smaller than its file and goes soft */
.manual p > img{display:block;box-sizing:content-box;max-width:calc(100% - 2px);height:auto;margin:22px auto 28px;border:1px solid var(--edge);cursor:zoom-in}
.manual pre{margin:0 0 18px;padding:14px 18px;overflow-x:auto;background:#1b1b1e;border:1px solid var(--line);font-family:var(--mono);font-size:14px;line-height:1.55;color:var(--ink)}
.manual pre code{padding:0;font-size:inherit;background:none}
.manual blockquote{margin:0 0 18px;padding:22px 26px;background:#1f1f23;border:1px solid var(--line)}
.manual blockquote p:last-child{margin-bottom:0}
.manual .table-wrap{margin:8px 0 24px;overflow-x:auto}
.manual table{width:100%;border-collapse:collapse;background:#1b1b1e;border:1px solid var(--line);font-size:14.5px;line-height:1.5}
.manual th{text-align:left;padding:9px 16px;font-size:13px;font-weight:600;color:var(--dim);background:#202024;border-bottom:1px solid #48484f}
.manual td{padding:7px 16px;border-bottom:1px solid #303036;vertical-align:top;color:#b9b9c1}
.manual td:first-child{color:var(--ink)}
.manual tr:last-child td{border-bottom:0}
.manual td strong{font-weight:600;color:var(--ink)}
.manual td code{padding:0;font-size:13.5px;background:none}
.manual th:first-child:nth-last-child(2),.manual td:first-child:nth-last-child(2){width:30%}
/* Changelog: no artwork band and no title panel. One block per release (class "rel"), newest first;
   each block's id (v1-1-0) is that release's address. */
.clog .wrap{padding-top:84px}
.clog h1{margin:0;font-size:50px;line-height:1.1;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.rel{margin-top:44px;padding-top:40px;border-top:1px solid #48484f;scroll-margin-top:24px}
.clog h1 + .rel{margin-top:40px}
.doc .rel h2{margin:0 0 20px;font-size:26px}
.rel h2 span{margin-left:14px;font-size:16px;font-weight:400;color:var(--dim);white-space:nowrap}
.doc .rel h3{margin:26px 0 10px;font-size:18px}
.rel ul{margin:0 0 4px;padding:0 0 0 22px}
.rel li{margin:0 0 8px;font-size:17px}
.rel li strong{color:var(--ink);font-weight:600}
.totop{position:fixed;right:22px;bottom:22px;width:42px;height:42px;padding:0;font:inherit;font-size:18px;line-height:1;color:var(--ink,#f1f1f3);background:#19191b;border:1px solid #55555e;cursor:pointer;opacity:0;pointer-events:none}
.totop.on{opacity:1;pointer-events:auto}
.totop:hover{border-color:#94949d}

@media (max-width:860px){
  .pdf{height:70vh;min-height:480px;margin-top:28px}
  .pband{height:var(--bhm,130px)}
  .doc{padding-bottom:76px}
  .ptitle{min-width:0;max-width:calc(100% + 18px);margin:-38px 0 0 -18px;padding:16px 22px 19px 18px;box-shadow:0 4px 18px rgba(0,0,0,.5),10px 16px 34px rgba(var(--glow,0,0,0),calc(var(--gs,12)/100))}
  .ptitle h1{font-size:34px}
  .doc .lede{margin-top:24px;font-size:17px;padding-bottom:30px}
  .doc h2{margin-top:44px;font-size:22px}
  .doc.topics h2{margin-top:26px;padding-top:26px;font-size:24px}
  .doc.topics .lede + h2{margin-top:44px;padding-top:0}
  .box{padding:22px 20px}
}
/* Phones: each library becomes a small block - name on one line, then version, license and source */
@media (max-width:640px){
  .deps thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .deps,.deps tbody{display:block}
  .deps tr{display:block;padding:12px 0;border-bottom:1px solid var(--line)}
  .deps td{display:inline;padding:0;border:0}
  .deps td.pkg-name{display:block;margin-bottom:2px;font-size:15.5px;white-space:normal}
  .deps .pkg-license{white-space:normal}
  .deps td.pkg-license::before,.deps td.pkg-link::before{content:"\00a0\00b7\00a0";color:var(--dim);font-weight:400}
}
@media print{
  .pband,.foot,.pdf{display:none}
  body,.doc{background:#fff;color:#000}
  .ptitle{min-width:0;margin:0;padding:0;background:none;box-shadow:none}
  .ptitle h1{font-size:30px}
  .ptitle h1,.doc h2,.doc h3,.doc p strong,.doc code,.deps th,.deps .pkg-name,.deps .pkg-license,.deps .lgpl,.urls strong{color:#000}
  .doc a{color:#000;text-decoration:underline}
  .doc code,.box{background:#fff}
  .doc.topics h2,.doc .lede,.deps,.deps th,.deps td,.box,.urls,.urls li{border-color:#bbb}
}
/* Narrow screens: the dates stack, and each table row becomes a small block.
   The five-column table of processors does this earlier, with each cell named. */
@media (max-width:860px){
  .procs thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .procs,.procs tbody{display:block}
  .procs tr{display:block;padding:16px 0;border-bottom:1px solid var(--line)}
  .procs td,.procs td:first-child{display:block;width:auto;padding:0;border:0}
  .procs td:first-child{font-size:17px}
  .procs td[data-label]::before{content:attr(data-label);display:block;margin-top:10px;font-size:13px;color:var(--dim)}
}
@media (max-width:640px){
  .doc .lede.meta{display:block}
  .meta span{display:block}
  .meta span + span{margin:4px 0 0;padding:0;border:0}
  .tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .tbl,.tbl tbody{display:block}
  .tbl tr{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  .tbl td,.tbl td:first-child{display:block;width:auto;padding:0;border:0}
  .tbl td:first-child{margin-bottom:3px;font-weight:600}
  .procs td:first-child{font-weight:400}
  .qa tr{padding:14px 18px;border-bottom:1px solid #303036}
  .qa tr:last-child{border-bottom:0}
  .qa td,.qa td:first-child,.qa td:last-child{padding:0;font-weight:400}
}
@media print{
  .policy h3,.policy li strong,.tbl th,.tbl td:first-child{color:#000}
  .doc .lede.meta{color:#333}
  .tbl,.tbl th,.tbl td,.meta span + span{border-color:#bbb}
  .qa,.qa th{background:#fff}
  .qa th,.qa td,.qa td:first-child,.qa td:last-child strong{color:#000}
}
@media (max-width:640px){
  .press .box{padding:22px 20px}
  .facts{grid-template-columns:1fr}
  .facts dt{padding-bottom:2px;border-bottom:0;background:none}
  .facts dd{padding-top:0}
  .facts dt:last-of-type{border-bottom:0}
  .pgrid{grid-template-columns:1fr;gap:28px}
  .pzip{flex-direction:column;align-items:flex-start;gap:18px;padding:22px 20px}
  .pdev{grid-template-columns:1fr;gap:20px}
  .pdev .pfig{max-width:260px}
}
@media print{
  .facts,.facts dt,.pzip,.pthumb{background:#fff;border-color:#bbb}
  .facts dt,.facts dd{border-color:#bbb}
  .plabel,.facts dt,.pzip-text strong,.press .box .rel-h,.press .box .rel-s{color:#000}
}
@media (max-width:640px){
  .doc .akey{padding:4px 16px}
  .doc .akey li{display:block}
  .doc .akey strong{display:block;width:auto;margin-bottom:2px}
  .ref thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .ref,.ref tbody{display:block}
  .ref tr{display:block;padding:8px 0;border-bottom:1px solid var(--line)}
  .ref td,.ref.dark td,.ref.dark td:last-child{display:inline;padding:0;border:0}
  .ref td.cf,.ref.dark td.cf{display:block;width:auto;margin-bottom:1px}
  .ref .cf code{white-space:normal;overflow-wrap:anywhere}
  .ref .ca{width:auto;margin-right:10px}
  .ref.dark tr{padding:8px 14px;border-bottom-color:#303036}
  .ref.dark tr:last-child{border-bottom:0}
}
@media print{
  .doc .akey,.ref.dark,.ref.dark th{background:#fff}
  .doc .akey,.doc .akey li + li,.ref,.ref th,.ref td,.ref.dark,.ref tr,.doc .refs,.doc .refs li{border-color:#bbb}
  .doc .akey strong,.doc .place,.ref th,.ref .cf,.ref .cn,.ref .ca{color:#000}
}
@media (max-width:640px){
  .doc .akey.wide strong{width:auto}
  .ref.c4 td.cn,.ref.c4 td.cs{display:block;width:auto}
  .ref.c4 td.cs{margin:1px 0 2px;font-size:13.5px}
  .ref.c4 .ca{margin-right:0}
}
@media print{
  .zoom{display:none}
  .ref .cs{color:#000}
}
@media (max-width:860px){
  .manual h2{margin-top:56px;padding-top:34px;font-size:28px}
  .manual h3{margin-top:28px;padding-top:28px;font-size:23px}
  .manual h4{font-size:18px}
}
@media (max-width:640px){
  .manual .toc{padding:20px 20px 2px}
  .manual .toc > ul{columns:1}
  .manual thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .manual table,.manual tbody{display:block}
  .manual tr{display:block;padding:8px 14px;border-bottom:1px solid #303036}
  .manual tr:last-child{border-bottom:0}
  .manual td,.manual td:first-child:nth-last-child(2){display:block;width:auto;padding:0;border:0}
  .manual td:first-child{font-weight:600}
  /* a table with five or more columns keeps its shape and scrolls sideways inside its own frame */
  .manual table:has(th:nth-child(5)){display:table;min-width:660px}
  .manual table:has(th:nth-child(5)) thead{position:static;width:auto;height:auto;clip-path:none}
  .manual table:has(th:nth-child(5)) tbody{display:table-row-group}
  .manual table:has(th:nth-child(5)) tr{display:table-row;padding:0}
  .manual table:has(th:nth-child(5)) td{display:table-cell;padding:7px 10px;border-bottom:1px solid #303036;font-weight:400}
  .manual table:has(th:nth-child(5)) th{padding:8px 10px}
  .totop{right:14px;bottom:14px}
}
@media print{
  .totop,.manual .manual-actions{display:none}
  .manual .toc,.manual table,.manual th,.manual pre,.manual blockquote{background:#fff;border-color:#bbb}
  .manual h2,.manual h3,.manual td,.manual tr{border-color:#bbb}
  .manual h2,.manual h3,.manual h4,.manual th,.manual td,.manual td:first-child,.manual pre,.manual li strong,.manual .toc a{color:#000}
}
@media (max-width:860px){
  .clog .wrap{padding-top:48px}
  .clog h1{font-size:34px}
  .rel{margin-top:36px;padding-top:32px}
  .doc .rel h2{font-size:24px}
  .rel h2 span{display:block;margin:6px 0 0}
}
@media print{
  .rel{border-color:#bbb}
  .clog h1,.rel h2 span,.rel li strong{color:#000}
}
