/* Independent guide styles preserve the download and help pages. */
.setup-document{scroll-behavior:auto;scroll-padding-top:0}
.setup-page{background:#fafaf8;--guide-red:#d9382f;--guide-border:#e6e6e1;--guide-muted:#646763}
.setup-page a:focus-visible,.setup-page button:focus-visible,.setup-page summary:focus-visible,.setup-page input:focus-visible{outline:3px solid #5275c9;outline-offset:5px;border-radius:4px}
.setup-page button,.setup-page a,.setup-page summary,.setup-page label{touch-action:manipulation}
.setup-topbar{max-width:1280px;min-height:84px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--guide-border)}
.setup-topbar .brand .brand-lockup strong{font-size:26px}.header-divider{height:22px;width:1px;background:#d9dcd6}.header-title{color:#6c706b;font-size:14px}
.setup-topbar nav{margin-left:auto;gap:26px}.setup-topbar nav a{display:inline-flex;gap:8px;min-height:44px;align-items:center;font-size:14px}
.setup-main{width:min(1200px,calc(100% - 80px))}.setup-intro{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:48px 0 42px}
.setup-eyebrow{margin:0 0 14px;color:var(--guide-red);font-family:"VibeKey Latin",var(--font);font-size:18px;font-weight:700;letter-spacing:.035em}.setup-eyebrow span{font-family:var(--font);font-size:12px;margin-left:13px;color:#7a7c76;font-weight:500;letter-spacing:.02em}
.setup-intro h1{margin:0 0 18px;font-size:clamp(32px,3.6vw,49px);line-height:1.25;letter-spacing:-.045em;font-weight:720}.setup-intro h1 em{color:var(--guide-red)}
.intro-copy{margin:0;color:var(--guide-muted);font-size:16px;line-height:1.85}
.setup-layout{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:start;gap:40px}.sidebar-sticky{position:sticky;top:26px}.setup-sidebar{align-self:stretch}
.sidebar-heading{margin:0 0 10px;padding:8px 10px 12px;font-size:14px;font-weight:650}
.setup-nav{display:flex;flex-direction:column;align-items:stretch;gap:6px}.setup-nav a{position:relative;display:flex;align-items:center;gap:10px;padding:13px 10px;border-radius:9px;color:#62665e;font-size:14px;font-weight:600;text-decoration:none}.setup-nav a small{display:block;margin-top:5px;color:#7c8078;font-size:12px;font-weight:400}.setup-nav a[aria-current="step"]{color:#a83128;background:#f9ece8}.setup-nav a[aria-current="step"] small{color:#976d64}
.nav-number{display:grid;place-items:center;flex:0 0 27px;height:27px;border:1px solid #dddfd8;background:#fff;border-radius:50%;font-size:12px;font-variant-numeric:tabular-nums}.setup-nav a[aria-current="step"] .nav-number{color:#fff;background:var(--guide-red);border-color:var(--guide-red)}
.setup-chapters{min-width:0}.setup-step{margin:0 0 26px;padding:34px;border:1px solid var(--guide-border);border-radius:18px;background:#fff;scroll-margin-top:24px}.step-heading{display:flex;align-items:center;gap:16px;margin-bottom:27px}.step-number{align-self:stretch;display:grid;place-items:center;min-width:50px;padding-right:14px;border-right:1px solid #e6e7e0;color:var(--guide-red);font:500 36px/1 var(--font);letter-spacing:-.065em}.step-device{color:#757970;font-size:12px;letter-spacing:.08em}.step-heading h2{margin:7px 0 0;font-size:26px;line-height:1.35;font-weight:670;letter-spacing:-.035em}
.step-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);align-items:start;gap:30px}.step-copy>p:first-child{margin:0 0 20px}.step-copy p,.step-lead,.step-help p{color:var(--guide-muted);font-size:16px;line-height:1.8}.step-lead{margin:-9px 0 25px}
.requirements{list-style:none;margin:0 0 22px;padding:0}.requirements li{position:relative;padding-left:18px;margin:0 0 15px}.requirements li::before{content:"";position:absolute;left:0;top:7px;width:5px;height:5px;background:#a8ada2;border-radius:50%}.requirements strong{display:block;font-size:15px;line-height:1.4;font-weight:650}.requirements li span{display:block;margin-top:4px;color:#74786f;font-size:13px;line-height:1.5}
.setup-page .guide-download{width:100%;min-height:50px;padding:10px 13px;font-size:15px;background:var(--guide-red);border-radius:9px;box-shadow:0 5px 10px #d9382f12}.setup-page .guide-download:disabled{background:#757970;opacity:1}.setup-page .download-meta{margin:10px 0 0;font-size:12px;color:#7b8075}.guide-share{border-left:2px solid #dedfd9;padding-left:12px;margin-top:20px}.guide-share p{font-size:14px;margin:0 0 7px}.guide-share button{min-height:44px;padding:7px 12px 7px 0;border:0;background:none;color:#a83128;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.guide-figure{margin:0;overflow:hidden;min-width:0;border:1px solid #e3e5df;background:#f5f6f2;border-radius:12px}
.action-list{list-style:none;counter-reset:action;margin:0;padding:0}.action-list li{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px;counter-increment:action}.action-list li::before{content:counter(action);flex:0 0 21px;height:21px;display:grid;place-items:center;margin-top:2px;border:1px solid #dedfd8;color:#6b7264;border-radius:50%;font-size:12px}.action-list strong{font-size:16px;font-weight:650;line-height:1.6}.action-list p{margin:5px 0 0;font-size:15px;line-height:1.8}.action-list li:last-child{margin-bottom:0}
.step-help{border-top:1px solid #eceee8;margin-top:24px}.step-help+.step-help{margin-top:0}.step-help summary{display:flex;gap:12px;align-items:center;min-height:56px;padding:13px 0;color:#5d6457;font-size:14px;line-height:1.6;cursor:pointer;list-style:none}.step-help summary::-webkit-details-marker{display:none}.step-help summary::before{content:"+";font-size:20px;line-height:1;color:#8a9182;flex:0 0 15px}.step-help[open] summary::before{content:"−"}.step-help p{margin:0 0 21px;padding-left:27px;font-size:14px}.step-help a,.context-note a{color:#a3332a;text-underline-offset:3px}

.context-note{padding:15px 18px;margin:25px 0 0;background:#f8f6f0;border-left:2px solid #c9b797;color:#746c5e;font-size:14px;line-height:1.8}.context-note strong{font-weight:600;color:#5e574c}.context-note a{white-space:nowrap}.screenshot-help figure{margin:0 0 20px;border:1px solid var(--guide-border);border-radius:10px;overflow:hidden}.screenshot-help img{display:block;width:100%;height:auto}
.connection-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0 0 26px;gap:22px}.connection-actions li{display:flex;align-items:flex-start;gap:10px}.connection-actions li>b{display:grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid #dedfd8;color:#707a65;border-radius:50%;font-size:12px;font-weight:500}.connection-actions strong{font-size:15px;font-weight:650;line-height:1.6}.connection-actions p{margin:7px 0 0;color:#71786a;font-size:14px;line-height:1.8}
.connection-notes{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:21px}.connection-notes p{margin:0;font-size:14px;line-height:1.8;color:#747c6a}.connection-notes strong{display:block;margin-bottom:5px;color:#454e3c;font-weight:600}
.setup-outro{scroll-margin-top:112px;position:relative;display:flex;align-items:flex-start;gap:21px;padding:31px;margin:0 0 44px;border:1px solid #dfe4d7;border-radius:15px;background:#eef2e9}.outro-mark{color:#647856;font-size:35px;line-height:1}.setup-outro .setup-eyebrow{font-size:18px;color:#70825f;margin:0 0 10px}.setup-outro h2{font-size:24px;margin:0 0 12px;line-height:1.45;letter-spacing:-.035em;font-weight:650}.setup-outro p:not(.setup-eyebrow){margin:0;color:#68755c;font-size:14px;line-height:1.8}.back-to-start{align-self:flex-end;font-size:12px;white-space:nowrap;color:#526447;text-decoration:none}
.setup-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(1200px,calc(100% - 80px));padding:28px 0;border-top:1px solid #e1e4db}.setup-footer p{margin:0;color:#7c8175;font-size:12px}.setup-footer>div{display:flex;gap:22px}.setup-footer a{font-size:13px}.setup-footer .brand .brand-lockup strong{font-size:21px}.setup-page .toast{max-width:calc(100% - 32px);width:max-content;text-align:center}
@media(min-width:721px) and (max-width:1100px){
 .setup-main{width:calc(100% - 48px)}.setup-layout{grid-template-columns:165px minmax(0,1fr);gap:24px}.setup-nav a{font-size:13px;gap:8px}.setup-step{padding:27px 25px}.step-columns{grid-template-columns:minmax(0,1fr);gap:24px}.guide-figure{width:100%}.setup-outro{flex-wrap:wrap}}
@media(max-width:720px){
 .setup-page{padding-bottom:0}.setup-topbar{padding:0 20px;min-height:72px;gap:13px}.setup-topbar .brand img{width:32px;height:32px}.setup-topbar .brand .brand-lockup strong{font-size:23px}.header-divider,.header-title{display:none}.setup-topbar nav{gap:18px}.setup-topbar nav a{font-size:13px}.setup-main{width:calc(100% - 36px)}.setup-intro{padding:33px 2px 27px}.setup-eyebrow{font-size:18px;letter-spacing:.035em}.setup-eyebrow span{margin-left:8px}.setup-intro h1{font-size:clamp(28px,7.9vw,43px);margin-bottom:15px;line-height:1.4}.intro-copy{font-size:14px;line-height:1.85}.intro-copy br{display:none}.setup-layout{display:block}
 .setup-sidebar{position:sticky;top:0;z-index:25;margin:0 -18px 19px;background:rgba(250,250,248,.97);border-top:1px solid var(--guide-border);border-bottom:1px solid var(--guide-border);backdrop-filter:blur(15px)}.sidebar-sticky{position:static}.sidebar-heading{padding:11px 20px 8px;font-size:12px}.setup-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;padding:0 10px 9px}.setup-nav a{display:flex;justify-content:center;padding:5px 0;min-height:38px;border-radius:6px;gap:0}.setup-nav a>span:nth-child(2){display:none}.setup-nav a .nav-number{flex:0 0 28px;height:28px;font-size:12px}
 .setup-step{padding:24px 20px;margin-bottom:20px;border-radius:12px;scroll-margin-top:112px}.step-heading{gap:12px;margin-bottom:24px}.step-number{font-size:30px;min-width:41px;padding-right:12px}.step-device{font-size:12px}.step-heading h2{font-size:22px;line-height:1.45;margin-top:5px}.step-columns{grid-template-columns:minmax(0,1fr);gap:25px}.step-copy p,.step-lead{font-size:15px;line-height:1.85}.requirements strong{font-size:15px}.guide-download{font-size:15px}.step-help summary{font-size:14px} .connection-actions{grid-template-columns:1fr;gap:20px}.connection-actions p{font-size:15px}.connection-notes{grid-template-columns:1fr;gap:16px}.context-note{padding:14px;font-size:13px} .setup-outro{padding:25px 22px;gap:13px;flex-wrap:wrap;margin-bottom:30px}.setup-outro>div:nth-child(2){flex:1 1 220px}.setup-outro h2{font-size:23px}.back-to-start{margin-left:auto;padding:8px 0}.setup-footer{display:flex;flex-wrap:wrap;width:calc(100% - 40px);padding:25px 0;gap:16px}.setup-footer p{flex-basis:100%;order:3;font-size:12px;padding:0}.setup-footer>div{gap:17px;margin-left:auto}
 .setup-page .toast{bottom:calc(20px + env(safe-area-inset-bottom))}
}
@media(max-width:370px){.setup-topbar{padding:0 14px}.setup-topbar nav{gap:12px}.setup-main{width:calc(100% - 24px)}.setup-step{padding:21px 16px}.setup-sidebar{margin-left:-12px;margin-right:-12px}.step-heading h2{font-size:20px}}
@media print{.setup-topbar,.setup-sidebar,.setup-footer,.setup-outro,.guide-share,.guide-download{display:none!important}.setup-page{background:#fff;padding:0}.setup-main{width:100%}.setup-layout{display:block}.setup-intro{padding-top:0}.setup-step{break-inside:avoid}.setup-nav{position:static}}
.setup-intro h1 em{white-space:nowrap}
.connection-prerequisite{margin:0 0 25px}

.first-open-path{padding:22px 24px;border:1px solid #e0e5da;border-radius:12px;background:#f4f6ef;min-width:0}
.first-open-path .path-caption{margin:0 0 20px;color:#64705a;font-size:13px;font-weight:600}
.settings-path{list-style:none;padding:0;margin:0;counter-reset:settings}
.settings-path li{position:relative;padding:0 0 25px 37px;counter-increment:settings}
.settings-path li::before{content:counter(settings);position:absolute;left:0;top:1px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #d4dccd;border-radius:50%;background:#fff;color:#5d6c51;font-size:12px}
.settings-path li:not(:last-child)::after{content:"";position:absolute;left:12px;top:29px;bottom:6px;border-left:1px solid #d4dccd}
.settings-path li:last-child{padding-bottom:0}.settings-path span,.settings-path strong{display:block;font-size:17px;line-height:1.5;color:#37452e;font-weight:650}.settings-path strong{color:#a83128}
.settings-path small{display:block;margin-top:6px;color:#67725e;font-size:13px;line-height:1.8}
.first-open-path>a{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;color:#a83128;font-size:13px;line-height:1.6;text-underline-offset:4px}
.step-help .guide-figure{margin:0 0 20px}.step-help figcaption{padding:12px 16px;color:#626b5a;font-size:13px;line-height:1.8}
@media(max-width:370px){.first-open-path{padding:19px 16px}}

/* Download and installation share one chapter; permissions follow the actual UI. */
#install{scroll-margin-top:24px}
.install-actions{margin-top:25px}
.permission-actions{list-style:none;counter-reset:permission;margin:0;padding:0}
.permission-actions>li{counter-increment:permission;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);align-items:start;gap:30px;padding:0 0 26px;margin:0 0 26px;border-bottom:1px solid var(--guide-border)}
.permission-instruction{position:relative;min-width:0;padding-left:32px}
.permission-instruction::before{content:counter(permission);position:absolute;left:0;top:2px;width:21px;height:21px;display:grid;place-items:center;border:1px solid #dedfd8;color:#6b7264;border-radius:50%;font-size:12px}
.permission-instruction strong{font-size:16px;font-weight:650;line-height:1.6}
.permission-instruction p{margin:7px 0 0;color:var(--guide-muted);font-size:15px;line-height:1.8}
.permission-instruction .permission-path{font-size:13px;color:#70796a;margin:9px 0}
.permission-actions>.permission-confirm{display:block;border:0;padding:0;margin:0}
.permission-switch{align-self:center}
.permission-capture{position:relative}
.capture-highlight{position:absolute;display:block;border:2px solid #ed685a;border-radius:5px;box-shadow:0 0 0 1px #fff9;pointer-events:none}
.permission-nav-highlight{left:1%;top:41.7%;width:20.4%;height:7.8%}
.permission-button-highlight{left:83.8%;top:43.6%;width:11.6%;height:6.7%}
.permission-switch-highlight{left:91.4%;top:24%;width:7.1%;height:60%}
@media(max-width:1100px){.permission-actions>li{grid-template-columns:minmax(0,1fr);gap:18px}.permission-switch{width:100%}}
@media(max-width:720px){#install{scroll-margin-top:112px}.permission-actions>li{padding-bottom:22px;margin-bottom:22px}.permission-actions>.permission-confirm{padding:0;margin:0}.permission-instruction .permission-path{font-size:12px}}

/* Original device captures. Cropped previews open the full screenshot. */
.real-figure .screenshot-link{display:block;overflow:hidden;background:#303132;cursor:zoom-in}
.real-figure .screenshot-link img{display:block;width:100%;height:auto;max-width:none}
.capture-stack{display:grid;gap:14px;padding:20px 16px}.capture-stack .screenshot-link{border-radius:7px}
.capture-path,.capture-label{margin:0;color:#626b5a;font-size:13px;line-height:1.7}
.capture-label{font-weight:600}
.pairing-captures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:32px;padding:24px}
.pairing-captures .capture-label{margin-bottom:12px}.pairing-mac .screenshot-link{max-width:300px;margin:auto;border-radius:12px}.pairing-captures .capture-label{text-align:center}
.phone-crop{max-width:300px;margin:auto}.pairing-crop{aspect-ratio:1/1.03;border:1px solid #e1e3db;border-radius:12px}.keyboard-crop{aspect-ratio:1/1.02}
.real-figure .keyboard-crop img{margin-top:-92%}
.inline-shot-link{display:block;margin-top:8px;color:#a3332a;text-underline-offset:3px}
@media(max-width:600px){.pairing-captures{grid-template-columns:minmax(0,1fr);padding:20px 16px;gap:24px}.pairing-crop{max-width:320px}.capture-stack{padding:18px 14px}}

.screenshot-open{overflow:hidden}
.screenshot-viewer{width:min(1100px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid #dfe3d7;border-radius:12px;background:#fafaf8;color:#30352c;box-shadow:0 20px 80px #0004}
.screenshot-viewer::backdrop{background:#172019b3}
.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px;border-bottom:1px solid #dfe3d7}.viewer-toolbar p{margin:0;font-size:14px;line-height:1.6}.viewer-toolbar>div{display:flex;gap:8px;flex-shrink:0}.viewer-toolbar button{min-height:44px;padding:8px 12px;border:1px solid #d5d9cf;border-radius:7px;background:#fff;color:#424b39;cursor:pointer}
.viewer-canvas{max-height:min(800px,calc(100dvh - 140px));overflow:auto;padding:16px;text-align:center;overscroll-behavior:contain}.viewer-canvas img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 172px);margin:auto}.viewer-canvas.original-size img{max-width:none;max-height:none;margin:0}
@media(max-width:600px){.viewer-toolbar{align-items:flex-start;flex-direction:column;gap:6px;padding:10px 14px}.viewer-toolbar>div{width:100%;justify-content:flex-end}.viewer-canvas{max-height:calc(100dvh - 195px);padding:10px}.viewer-canvas img{max-height:calc(100dvh - 215px)}.viewer-toolbar p{font-size:13px}}

.connection-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 27px}
.connection-choices[hidden],.connection-path[hidden]{display:none!important}
.connection-choices button{min-width:0;min-height:88px;padding:17px 19px;border:1px solid #dce1d5;border-radius:10px;background:#fff;color:#37452e;text-align:left;cursor:pointer;font:inherit}
.connection-choices button[aria-selected="true"]{border-color:#53664a;background:#edf2e6;box-shadow:inset 0 0 0 1px #53664a}
.connection-choices button:focus-visible{outline:3px solid #a43128;outline-offset:3px}
.connection-choices strong,.connection-choices span{display:block}.connection-choices strong{font-size:17px;font-weight:650;line-height:1.5}.connection-choices span{margin-top:5px;font-size:13px;line-height:1.6;color:#67725e}
.connection-path h3{margin:0 0 12px;color:#37452e;font-size:21px;line-height:1.55}.connection-path{scroll-margin-top:120px}.connection-path+.connection-path{margin-top:30px}
.connection-choices:not([hidden])~.connection-path{margin-top:0}
.connection-result{color:var(--guide-muted);font-size:14px;line-height:1.9;margin:18px 0 0}.connection-result strong{display:block;color:#37452e;font-size:15px}
.bluetooth-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:28px;align-items:start;margin-top:24px}.bluetooth-result .connection-result:first-child{margin-top:0}.bluetooth-connected-crop{display:block;max-width:290px;margin:auto;aspect-ratio:1/1.75}.bluetooth-connected-crop img{margin-top:-8%}.bluetooth-result figcaption{font-size:12px;color:#67725e;padding:12px 15px;line-height:1.7}
.connection-next{margin:28px 0 0;padding-top:21px;border-top:1px solid var(--guide-border);font-size:14px;line-height:1.9;color:#67725e}.connection-next a{display:inline-block;color:#a3332a;text-underline-offset:4px;margin-left:5px}
@media(max-width:720px){.connection-choices{gap:9px}.connection-choices button{padding:14px 12px}.connection-choices strong{font-size:15px}.connection-choices span{font-size:12px}.connection-path h3{font-size:19px}.bluetooth-result{grid-template-columns:1fr}.bluetooth-result .guide-figure{max-width:330px;margin:auto}.connection-next a{margin-left:0}}
@media print{.connection-choices{display:none!important}.connection-path[hidden]{display:block!important}.connection-path+.connection-path{margin-top:30px!important}}
