/* Share the leaderboard protocol palette: pale gray-green with blue-green ink. */
.documentation-page{--doc-ink:#203f4f;--doc-accent:#294e5a;--doc-text:#536f79;--doc-muted:#607e86;--doc-line:#cbdedf;--doc-soft:#edf3f1;--doc-blue:#e5efed;--doc-header-height:76px;color:var(--doc-ink)}
body.documentation-page .header .header-inner{flex-direction:row!important}
body.documentation-page .header .nav a.paper-link{background:var(--doc-soft)!important}
.documentation-page *, .documentation-page *:before,.documentation-page *:after{box-sizing:border-box}
body.documentation-page main.documentation{display:grid;grid-template-columns:224px minmax(0,1fr);gap:0;width:100%;max-width:1540px;padding:0;margin:0 auto;align-items:start}
.documentation aside{position:sticky;top:var(--doc-header-height);height:calc(100dvh - var(--doc-header-height));overflow:auto;border-right:1px solid var(--doc-line);padding:38px 18px 36px;display:flex;flex-direction:column;gap:4px;font:14px/1.5 Arial,sans-serif}
.documentation aside strong{margin:0 12px 20px;font-size:15px;color:var(--doc-ink)}
.documentation aside a{display:block;padding:11px 12px;min-height:44px;color:var(--doc-text);border-radius:5px;text-decoration:none;border-left:2px solid transparent}
.documentation aside a:hover{background:var(--doc-soft)}
.documentation aside a[aria-current=location]{background:var(--doc-blue);border-left-color:var(--doc-accent);color:var(--doc-ink);font-weight:600}
.documentation article{min-width:0;padding:42px clamp(28px,4vw,64px) 8px}
.documentation section{padding:0 0 30px;margin:0 0 30px;border-bottom:1px solid var(--doc-line);scroll-margin-top:calc(var(--doc-header-height) + 24px)}
.documentation section:last-child{border-bottom:0;margin-bottom:0}
.documentation h1{font:650 clamp(32px,3vw,42px)/1.15 Space,Arial,sans-serif;letter-spacing:-1.2px;margin:0 0 14px;color:var(--doc-ink)}
.documentation h2{font:650 clamp(23px,2vw,28px)/1.25 Space,Arial,sans-serif;letter-spacing:-.65px;margin:0 0 16px;color:var(--doc-ink)}
.documentation p{font:16px/1.75 Arial,sans-serif;color:var(--doc-text);margin:0 0 18px;max-width:78ch;text-wrap:pretty}
.documentation .doc-lead{font-size:18px;line-height:1.7;max-width:62ch;margin-bottom:0}
.documentation a:focus-visible{outline:2px solid var(--doc-accent);outline-offset:4px}
.documentation .doc-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;margin:0 8px 0 0;border:1px solid var(--doc-line);border-radius:5px;background:#fff;color:var(--doc-ink);font:600 14px/1.5 Arial,sans-serif;text-decoration:none;transition:background .15s,border-color .15s}
.documentation .doc-button:hover{background:var(--doc-blue);border-color:#a4bcc0}
#tasks>.doc-button,#instructions>.doc-button,#evaluation>.doc-button{background:var(--doc-accent);border-color:var(--doc-accent);color:#fff}
#tasks>.doc-button:hover,#instructions>.doc-button:hover,#evaluation>.doc-button:hover{background:#355d69;border-color:#355d69}
.doc-table-wrap{margin:22px 0 20px;overflow-x:auto;border:1px solid var(--doc-line);border-radius:8px}
.doc-suite-table{width:100%;border-collapse:collapse;text-align:left;font:14px/1.6 Arial,sans-serif;color:var(--doc-text)}
.doc-suite-table caption{text-align:left;padding:13px 18px;background:var(--doc-soft);color:var(--doc-ink);font-weight:600}
.doc-suite-table thead{background:var(--doc-accent);color:#fff}
.doc-suite-table th,.doc-suite-table td{padding:15px 18px;border-bottom:1px solid var(--doc-line);vertical-align:top}
.doc-suite-table thead th{font-size:13px;font-weight:600}
.doc-suite-table tbody{background:#f8faf8}
.doc-suite-table tbody th{color:var(--doc-ink);white-space:nowrap}
.doc-suite-table tbody tr:nth-child(even){background:var(--doc-soft)}
.doc-suite-table th:nth-child(3),.doc-suite-table td:nth-child(3){text-align:center}
.doc-suite-table td:last-child{min-width:170px}
.doc-suite-table tfoot{background:var(--doc-blue);color:var(--doc-ink);font-weight:600}
.doc-suite-table tfoot th,.doc-suite-table tfoot td{border:0}
.doc-instruction-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:end;gap:32px;margin:24px 0 0}
.doc-steps{list-style:none;padding:0;margin:0;counter-reset:doc-step;display:grid;gap:20px}
.doc-steps li{counter-increment:doc-step;display:grid;grid-template-columns:30px minmax(0,1fr);gap:14px;align-items:center}
.doc-steps li:before{content:counter(doc-step);display:grid;place-items:center;width:30px;height:30px;background:var(--doc-blue);border:1px solid var(--doc-line);border-radius:50%;font:600 13px/1 Arial;color:var(--doc-ink);margin-top:0}
.doc-steps p{margin:0;font-size:15px;line-height:1.65}
.documentation .doc-notice,.documentation .doc-evaluation-note{max-width:none;padding:16px 20px;border-radius:5px;border-left:3px solid #85a8b4;background:var(--doc-soft);font-size:15px;line-height:1.7;margin:0 0 20px}
.documentation .doc-evaluation-note{background:var(--doc-blue)}
/* Static task-page anatomy using an existing demonstration still. */
.doc-instruction-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.doc-instruction-copy .doc-steps{display:grid;gap:18px;margin-bottom:22px}
.documentation .doc-instruction-copy .doc-notice{margin-top:0;margin-bottom:20px;font-size:14px;padding:14px 16px}
.documentation .doc-instruction-copy>.doc-button{margin:0;background:var(--doc-accent);border-color:var(--doc-accent);color:#fff}
.documentation .doc-instruction-copy>.doc-button:hover{background:#355d69;border-color:#355d69}
.doc-example{position:relative;min-width:0;margin:0;padding:14px;border:1px solid var(--doc-line);border-radius:8px;background:var(--doc-soft);align-self:end}
.doc-preview-tabs{display:flex;gap:7px;margin-bottom:10px}
.doc-preview-tabs span{flex:1;padding:7px 2px;border:1px solid var(--doc-line);border-radius:4px;text-align:center;background:var(--doc-soft);color:var(--doc-muted);font:12px/1.4 Arial}
.doc-preview-tabs span:first-child{background:var(--doc-accent);border-color:var(--doc-accent);color:#fff}
.doc-preview-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:10px;align-items:stretch}
.doc-preview-image{min-width:0;border-radius:4px;overflow:hidden;background:var(--doc-soft);display:flex;align-items:center}
.doc-preview-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.doc-preview-instruction{min-width:0;padding:12px 10px;background:white;border:1px solid var(--doc-line);border-radius:4px}
.doc-preview-instruction strong{display:block;font:600 12px/1.4 Arial;color:var(--doc-ink);margin-bottom:8px}
.documentation .doc-preview-instruction p{font:11px/1.65 Arial;color:var(--doc-text);margin:0;text-wrap:pretty}
.doc-preview-marker{position:absolute;display:grid;place-items:center;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#355d69;color:#fff;font:600 10px/1 Arial}
.preview-difficulty{top:3px;left:20%}.preview-image{bottom:4px;left:28%}.preview-instruction{top:55px;right:8px}
.doc-resources{padding:0;margin:0;list-style:none;display:grid;gap:0}
.doc-resources li+li{border-top:1px solid var(--doc-line)}
.doc-resources a{display:flex;align-items:center;gap:16px;min-height:62px;padding:14px 12px;font:500 16px/1.5 Arial;color:var(--doc-ink);border-radius:4px;text-decoration:none}
.doc-resources a:before{content:'';width:16px;height:20px;flex:none;border:1.5px solid var(--doc-muted);border-radius:2px;background:repeating-linear-gradient(to bottom,transparent 0 4px,var(--doc-line) 4px 5px,transparent 5px 8px) center/9px 13px no-repeat}
.doc-resources a:hover{background:var(--doc-soft);text-decoration:underline;text-underline-offset:4px}
.documentation-page .page-footer{max-width:1540px;margin:0 auto;padding:24px 48px 28px  calc(224px + clamp(28px,4vw,64px));border-top:1px solid var(--doc-line);color:var(--doc-muted);font:13px/1.6 Arial;background:#fff}
@media(min-width:1540px){.documentation aside{border-left:1px solid var(--doc-line)}}
@media(max-width:1150px){body.documentation-page main.documentation{grid-template-columns:210px minmax(0,1fr)}.documentation article{padding:34px 28px 8px}.doc-instruction-layout{grid-template-columns:1fr;gap:24px}.doc-example{width:100%;max-width:480px;justify-self:start}.documentation-page .page-footer{padding-left:238px}}
@media(max-width:1040px){.documentation-page{--doc-header-height:68px}}
@media(max-width:760px){body.documentation-page main.documentation{grid-template-columns:1fr}.documentation aside{position:static;height:auto;flex-direction:row;flex-wrap:wrap;gap:4px;padding:20px;border-right:0;border-bottom:1px solid var(--doc-line)}.documentation aside strong{width:100%;margin:0 8px 8px}.documentation aside a{padding:8px 10px;font-size:13px;min-height:40px}.documentation article{padding:28px 20px 0}.documentation section{margin-bottom:26px;padding-bottom:26px}.documentation h1{font-size:32px}.documentation .doc-lead{font-size:17px}.doc-suite-table{min-width:660px}.doc-suite-table th,.doc-suite-table td{padding:13px 14px}.doc-instruction-layout{gap:22px}.documentation .doc-button{margin-bottom:8px}.doc-instruction-copy .doc-steps{margin-bottom:22px}.doc-preview-instruction{padding:10px 8px}.documentation .doc-preview-instruction p{font-size:10px}.documentation-page .page-footer{padding:22px 20px}.documentation .doc-notice,.documentation .doc-evaluation-note{padding:14px 16px}.doc-resources a{font-size:15px;padding-inline:4px}}
@media(prefers-reduced-motion:reduce){.documentation .doc-button{transition:none}}
