*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#eef2f5;color:#17222e;font:26px/1.55 system-ui,sans-serif}main{max-width:1200px;margin:auto;padding:32px 24px 80px}h1{font-size:64px;line-height:1.08;letter-spacing:-2px}h2{font-size:40px;line-height:1.18;margin:0 0 16px}a{color:#143557;text-underline-offset:5px;font-weight:700}a:focus-visible{outline:4px solid #b34812}nav{display:flex;gap:22px;flex-wrap:wrap}.intro{font-size:30px}.note{background:#dfe5eb;padding:22px;border-left:6px solid #284563}.toc{display:flex;flex-wrap:wrap;gap:10px 24px;padding:22px;background:white;border-radius:14px}.toc a{font-size:23px}.chapter{border-top:2px solid #b2bcc7;padding-top:35px;margin-top:50px}.tutorial{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:34px;align-items:start}figure{margin:0}.screen{border:6px solid #1c2835;border-radius:22px;overflow:hidden;background:#f2f6fa}.screenhead{background:#183757;color:white;font-weight:800;font-size:30px;padding:18px}.screenhead small{display:block;font-size:23px;font-weight:500}.screenbody{padding:12px}.control{border:2px solid #b6bec5;border-radius:10px;background:white;padding:12px;margin:10px 0;font-size:24px;line-height:1.35}.number{display:inline-flex;align-items:center;justify-content:center;background:#a43e0c;color:white;border-radius:50%;width:32px;height:32px;font-size:21px}.control:last-child{border-color:#214263;background:#e4eaf0}figcaption{font-size:19px;margin-top:14px;color:#46505a}li{margin:0 0 20px}ol{margin:0;padding-left:30px}.kicker{font-weight:800;letter-spacing:2px;font-size:22px;color:#324b64}.version{font-size:21px}footer{margin-top:50px;border-top:2px solid #b2bcc7;padding-top:26px}@media(max-width:850px){.tutorial{grid-template-columns:1fr}.screen{max-width:480px}figure{margin:auto;width:100%;max-width:480px}h1{font-size:46px}h2{font-size:34px}main{padding:25px 18px}body{font-size:25px}}@media print{@page{size:A4;margin:16mm}body{background:white;font-size:17pt;line-height:1.4}main{padding:0}.cover{break-after:page}.toc{display:block;font-size:14pt}.toc a{display:inline;font-size:14pt;margin-right:12px}nav,.download,footer{display:none}h1{font-size:43pt}h2{font-size:29pt}.intro{font-size:20pt}.note{font-size:16pt;padding:12px}.version{font-size:14pt}.chapter{break-before:page;margin:0;padding:0;border:0}.tutorial{display:block}.screen{border-width:3px;border-radius:12px;max-width:none}.screenhead{font-size:18pt;padding:10px}.screenhead small{display:inline;margin-left:15px;font-size:15pt}.screenbody{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px}.control{font-size:14pt;padding:8px;margin:0;line-height:1.3}.number{width:23px;height:23px;font-size:12pt}figcaption{font-size:11pt;margin:5px 0 15px}li{margin-bottom:11px}.kicker{font-size:14pt}a{color:inherit;text-decoration:none}}

/* Real Marker-screen guide illustrations, rendered from a frozen source stylesheet. */
.source-figure{max-width:440px;width:100%;margin:0}
.source-screen{display:block;width:100%;height:770px;max-height:80vh;min-height:620px;border:5px solid #243546;border-radius:18px;background:#ecf2f7;overflow:auto}
.source-figure figcaption{font-size:20px;line-height:1.4;margin-top:12px}
@media(max-width:700px){.source-screen{height:760px;max-height:none}.source-figure{max-width:none}}
@media print{.source-screen{height:650px;max-height:none}.source-figure{break-inside:avoid}}

/* Image captures generated by browser from the static Marker source-matched screens. */
.source-figure .source-image{display:block;width:100%;max-width:100%;height:auto;border:5px solid #243546;border-radius:18px;background:#ecf2f7}
@media print{
  .tutorial{grid-template-columns:minmax(0,275px) minmax(0,1fr)!important;gap:15px!important}
  .source-figure{max-width:275px}
  .source-figure .source-image{width:100%;height:auto;max-height:540px;object-fit:contain}
  .source-figure figcaption{font-size:14px}
  .chapter{break-before:page}
}

/* Print each illustrated lesson as a screen page followed by readable steps. */
.print-steps{display:none}
@media print{
 .toc{break-before:page;font-size:17pt;line-height:1.8}
 .toc a{display:block;font-size:17pt;margin:0 0 8px}
 .tutorial{display:block!important}
 .source-figure{width:100%;max-width:none;margin:0 auto;break-inside:avoid}
 .source-figure .source-image{display:block;width:auto;height:auto;max-width:100%;max-height:650px;margin:0 auto;border-width:2px}
 .source-figure figcaption{font-size:12pt;text-align:center}
 .print-steps{display:block;break-before:page;font-size:26pt;line-height:1.2;margin:0 0 20px}
 .tutorial ol{margin:0;padding-left:1.4em;orphans:3;widows:3}
 .tutorial li{break-inside:avoid;orphans:3;widows:3}
}

/* Apple Watch 0.9.8: scalable, large-print source-matched diagrams. */
.watch-figure{display:block;max-width:950px;width:100%;margin:28px auto 38px}
.watch-figure .watch-image{display:block;width:100%;height:auto;max-width:100%;border:4px solid #25394d;border-radius:15px;background:#eaf0f6}
.watch-figure figcaption{font-size:22px;line-height:1.5;color:#35424f;margin-top:12px}
@media print{.watch-figure{max-width:170mm;margin:7mm auto 9mm;break-inside:avoid;page-break-inside:avoid}.watch-figure .watch-image{border-width:1.3mm}.watch-figure figcaption{font-size:12pt;line-height:1.35}}
