/* Help articles for coaches (writing-courses.html, building-tests.html;
   Disease Detectives step 241). Built on lab.css and admin.css, in the look
   of the Getting started page. */
.art-main{max-width:780px;}
.art-lead{font-size:18px; line-height:1.55; color:var(--ink-2); margin:12px 0 6px;}
.art-toc{margin:22px 0 8px; padding:14px 18px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-card);}
.art-toc p{margin:0 0 6px; font-family:var(--f-mono); font-size:13.5px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--muted);}
.art-toc ol{margin:0; padding-left:20px; display:grid; gap:4px;}
.art-toc a{font-weight:600;}
.art-h{font-family:var(--f-display); font-size:26px; color:var(--brand); margin:40px 0 8px; scroll-margin-top:16px;}
.art-h3{font-size:18px; color:var(--ink); margin:24px 0 6px;}
.art-main p, .art-main li{line-height:1.6;}
.art-main > p, .art-main section > p{color:var(--ink-2);}
.art-ways{display:grid; gap:10px; grid-template-columns:1fr; margin:16px 0 0;}
@media (min-width:640px){ .art-ways{grid-template-columns:1fr 1fr;} }
.art-ways > a{display:block; padding:14px 16px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-ctl); color:inherit; text-decoration:none;}
.art-ways > a:hover{border-color:var(--brand);}
.art-ways > a:focus-visible{outline:2px solid var(--focus); outline-offset:2px;}
.art-ways h3{display:flex; align-items:center; gap:8px; margin:0; font-size:16px; color:var(--ink);}
.art-ways h3 .icon{width:20px; height:20px; flex:none; fill:none; stroke:var(--brand); stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.art-ways p{margin:4px 0 0; color:var(--ink-2); font-size:15px;}
.art-ways .best{display:block; margin-top:6px; font-size:13px; color:var(--muted);}
.art-steps{list-style:none; counter-reset:step; margin:12px 0 0; padding:0; display:grid; gap:10px;}
.art-steps > li{counter-increment:step; position:relative; padding:14px 16px 14px 58px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-ctl);}
.art-steps > li::before{content:counter(step); position:absolute; left:16px; top:13px; width:28px; height:28px; border-radius:50%; background:var(--brand); color:var(--paper); font-weight:700; font-size:15px; display:flex; align-items:center; justify-content:center;}
.art-steps .t{font-weight:700; color:var(--ink); margin:0;}
.art-steps p{margin:4px 0 0; color:var(--ink-2);}
.art-ui{font-weight:700; color:var(--ink);}
.art-steps .art-prompt{margin:10px 0; padding:10px 12px; background:var(--paper-alt); border:1px solid var(--line); border-left:3px solid var(--brand); border-radius:var(--r-ctl); color:var(--ink); font-size:.95em; user-select:all;}
/* A screenshot: centered on a tinted panel, at most three quarters of its
   true size (--w, set on each picture), so it reads as a picture of the
   site and not as the article's own text. Selecting it opens it full size. */
.art-fig{margin:18px 0 6px; padding:22px 18px 16px; background:var(--paper-alt); border:1px solid var(--line); border-radius:var(--r-card); text-align:center;}
.art-zoom{display:inline-block; max-width:100%; border-radius:var(--r-ctl); line-height:0;}
.art-zoom:focus-visible{outline:2px solid var(--focus); outline-offset:4px;}
.art-fig img{display:block; width:var(--w, 560px); max-width:100%; height:auto; margin:0 auto; border:1px solid var(--line); border-radius:var(--r-ctl); background:var(--paper); box-shadow:0 2px 6px rgba(13,20,48,.08), 0 10px 24px rgba(13,20,48,.10); cursor:zoom-in;}
.art-fig figcaption{max-width:560px; margin:12px auto 0; font-size:14px; line-height:1.5; color:var(--muted);}
@media (max-width:560px){ .art-fig{padding:14px 10px 12px;} }
.art-note{margin:16px 0 0; padding:12px 16px; border-left:4px solid var(--brand); background:var(--paper-alt); border-radius:0 var(--r-ctl) var(--r-ctl) 0; color:var(--ink-2);}
.art-note b{color:var(--ink);}
.art-note.warn{border-left-color:var(--dev-hat);}
.art-table{width:100%; border-collapse:collapse; margin:14px 0 0; font-size:15px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-ctl); overflow:hidden;}
.art-table th, .art-table td{text-align:left; vertical-align:top; padding:10px 12px; border-bottom:1px solid var(--line);}
.art-table th{font-size:13px; color:var(--muted); font-weight:700; background:var(--paper-alt);}
.art-table tr:last-child td{border-bottom:0;}
.art-tablewrap{overflow-x:auto;}
.art-faq details{margin:10px 0 0; padding:12px 16px; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-ctl);}
.art-faq summary{cursor:pointer; font-weight:700; color:var(--ink);}
.art-faq details p{margin:8px 0 0; color:var(--ink-2);}
.art-more{margin:36px 0 0; color:var(--ink-2);}
.art-foot{margin:40px 0 0; padding:20px 0 0; border-top:1px solid var(--line); font-size:13px; color:var(--muted); text-align:center;}
.art-foot a{color:var(--muted);}

/* Long addresses and commands wrap on phones. */
.art-main code { overflow-wrap: anywhere; }
