/* First connection and optional, task-specific recipes. No new JS required. */
body.guide-page{min-width:0}
.guide-page .guide-intro{padding-bottom:24px}
.guide-page .guide-intro h1{font-size:clamp(32px,3.4vw,46px);margin-bottom:17px}
.guide-page .guide-intro p{max-width:660px;line-height:1.65}
.guide-page .guide-intro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin-top:24px}
.guide-page .guide-intro-actions>a:not(.button){min-height:44px;display:flex;align-items:center;font-size:14px;text-underline-offset:5px}
.guide-page .guide-body{padding-top:24px}
.guide-page .guide-section{scroll-margin-top:0}
.guide-page .guide-section>.kicker{color:var(--brand);margin-bottom:10px}
.guide-page .guide-section>h2{font-size:clamp(27px,2.5vw,34px);line-height:1.3;margin-bottom:22px;text-wrap:balance}
.guide-page .guide-section+.guide-section{padding-top:30px;margin-top:0}
.guide-page .guide-section>p,.guide-page .guide-task-list>li{font-size:16px;line-height:1.65;color:var(--text-secondary)}
.guide-page .guide-content a:not(.button){color:var(--brand);text-underline-offset:4px}
.guide-page .guide-context{font-size:14px!important;color:var(--text-muted);line-height:1.65!important;margin:0 0 23px;padding-bottom:21px;border-bottom:1px solid var(--border)}
.guide-page .guide-needs{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}
.guide-page .guide-needs>div{padding:20px 0 0;border-top:1px solid var(--border);background:transparent;border-radius:0}
.guide-page .guide-needs h3{font-size:18px;margin:0 0 9px}
.guide-page .guide-needs p{font-size:14px;line-height:1.65;color:var(--text-secondary);margin:0}
.guide-page .guide-account-note{padding:17px 20px;border-left:3px solid var(--brand);background:var(--surface-secondary);border-radius:0 9px 9px 0;margin:20px 0}
.guide-page .guide-account-note strong{display:block;font-size:15px;font-weight:600;color:var(--text-primary);margin-bottom:7px}
.guide-page .guide-account-note p{font-size:14px;line-height:1.65;margin:0;color:var(--text-secondary)}
.guide-page .guide-task-list{padding-left:23px;margin:0 0 20px}
.guide-page .guide-task-list>li{padding-left:5px;margin-bottom:12px}
.guide-page .guide-task-list>li::marker{font-size:13px;color:var(--brand);font-weight:600}
.guide-page .guide-task-list strong{font-weight:600;color:var(--text-primary)}
.guide-page .guide-result{border-left:3px solid var(--brand);padding:4px 0 4px 15px;margin:19px 0 21px;display:flex;flex-direction:column;gap:5px}
.guide-page .guide-result>strong{font-size:13px;color:var(--brand);font-weight:600}
.guide-page .guide-result>span{font-size:14px;line-height:1.65;color:var(--text-secondary)}
.guide-page .guide-help{margin:10px 0;border:1px solid var(--border);border-radius:10px;background:transparent;overflow:hidden}
.guide-page .guide-help>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;min-height:54px;font-size:14px;line-height:1.55;cursor:pointer;list-style:none;color:var(--text-primary)}
.guide-page .guide-help>summary::-webkit-details-marker,.guide-page .guide-recipe>summary::-webkit-details-marker{display:none}
.guide-page .guide-help>summary::after,.guide-page .guide-recipe>summary::after{content:'+';font-size:21px;line-height:1;font-weight:400;color:var(--brand);flex:none}
.guide-page .guide-help[open]>summary::after,.guide-page .guide-recipe[open]>summary::after{content:'−'}
.guide-page .guide-help>summary:hover,.guide-page .guide-recipe>summary:hover{background:var(--surface-secondary)}
.guide-page .guide-help[open]>summary{border-bottom:1px solid var(--border)}
.guide-page .guide-help-body{padding:17px 18px}
.guide-page .guide-help-body>p,.guide-page .guide-help-body li{font-size:14px;line-height:1.65;color:var(--text-secondary)}
.guide-page .guide-help-body>p{margin:0 0 13px}
.guide-page .guide-help-body>p:last-child{margin-bottom:0}
.guide-page .guide-help-body ul,.guide-page .guide-help-body ol{padding-left:20px;margin:12px 0}
.guide-page .guide-help-body li{padding-left:3px;margin:7px 0}
.guide-page .guide-inline-warning{padding:14px 16px;background:var(--warning-surface);border-left:3px solid var(--warning);border-radius:0 7px 7px 0;font-size:14px!important;line-height:1.65!important;color:var(--text-primary)!important;margin:16px 0!important}
.guide-page .guide-inline-warning>strong{font-weight:600}
.guide-page .guide-anchor{display:block;scroll-margin-top:0}
.guide-page .guide-route-example{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;margin:18px 0 22px;padding:18px 20px;background:var(--surface-secondary);border-radius:10px}
.guide-page .guide-route-example>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.guide-page .guide-route-example span{font-size:13px;color:var(--text-muted)}
.guide-page .guide-route-example>.guide-route-arrow{font-size:20px;color:var(--brand)}
.guide-page .guide-route-example code{font-size:15px;white-space:nowrap;background:transparent;border:0;padding:0;color:var(--text-primary)}
.guide-page .guide-screenshot{margin:24px 0 28px;max-width:100%}
.guide-page .guide-screenshot>a{display:block;border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--surface-dark);cursor:zoom-in}
.guide-page .guide-screenshot img{display:block;width:100%;height:auto;border:0}
.guide-page .guide-screenshot>a:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.guide-page .guide-screenshot figcaption{font-size:13px;color:var(--text-muted);line-height:1.65;margin-top:10px}
.guide-page .guide-screenshot figcaption>strong{display:block;font-weight:600;color:var(--text-primary)}
.guide-page .guide-screenshot figcaption>span{display:block;margin-top:3px}
.guide-page .guide-screenshot .guide-shot-zoom{display:inline-flex;align-items:center;min-height:44px;margin-top:3px;font-size:13px;text-underline-offset:4px}
.guide-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.guide-page .guide-screenshot-note{font-size:14px!important;line-height:1.65;color:var(--text-secondary);margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid var(--border)}
.guide-page .guide-screenshot-note strong{font-weight:600;color:var(--text-primary)}
.guide-page .toc a:not([aria-current="location"]):hover{background:var(--surface-secondary);color:var(--text-primary)}
.guide-page .guide-install-links{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 20px}
.guide-page .guide-install-links .button{min-height:46px;font-size:14px;padding:10px 18px}
.guide-page .guide-scenario-lead{margin-bottom:22px;font-size:15px!important}
.guide-page .guide-recipe{border-top:1px solid var(--border)}
.guide-page .guide-recipe:last-child{border-bottom:1px solid var(--border)}
.guide-page .guide-recipe>summary{display:flex;align-items:center;gap:18px;list-style:none;cursor:pointer;padding:23px 6px;min-height:96px}
.guide-page .guide-recipe>summary>span{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.guide-page .guide-recipe>summary strong{font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-.02em}
.guide-page .guide-recipe>summary small{font-size:13px;line-height:1.5;color:var(--text-muted)}
.guide-page .guide-recipe>summary svg{width:30px;height:30px;flex:none;color:var(--brand)}
.guide-page .guide-recipe[open]>summary{border-bottom:1px solid var(--border)}
.guide-page .guide-recipe-body{padding:22px 6px 26px}
.guide-page .guide-recipe-body>p{font-size:15px;line-height:1.65;color:var(--text-secondary);margin:0 0 18px}
.guide-page .guide-recipe-body>h3{font-size:16px;font-weight:600;margin:22px 0 12px}
.guide-page .guide-recipe-body li{font-size:15px;line-height:1.65;color:var(--text-secondary);margin-bottom:11px}
.guide-page .guide-recipe-body ol{padding-left:23px;margin:12px 0 18px}
.guide-page .guide-example{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1fr);gap:0;margin:0 0 20px}
.guide-page .guide-example dt,.guide-page .guide-example dd{padding:11px 13px;font-size:13px;line-height:1.6;margin:0;border-bottom:1px solid var(--border)}
.guide-page .guide-example dt{background:var(--surface-secondary);color:var(--text-secondary)}
.guide-page .guide-example code{font-size:13px;overflow-wrap:anywhere}
.guide-page .guide-recipe-body .guide-result{margin-bottom:10px}
.guide-page .guide-case-note{font-size:13px!important;color:var(--text-muted)!important}
.guide-page .guide-support{padding:20px;border-radius:12px;background:var(--surface-secondary);margin-top:24px}
.guide-page .guide-support h3{font-size:18px;margin-bottom:8px}
.guide-page .guide-support p{font-size:14px;color:var(--text-secondary);line-height:1.65;margin:0}
.guide-page .guide-final{padding-top:0;padding-bottom:45px}
.guide-page .guide-section>h3{font-size:19px;line-height:1.45;margin:28px 0 14px;scroll-margin-top:0}
.guide-page .guide-role-flow{display:flex;align-items:center;gap:12px;padding:20px 0;margin:12px 0 20px;border-block:1px solid var(--border)}
.guide-page .guide-role-flow>span:not([aria-hidden]){flex:1;font-size:13px;line-height:1.65;color:var(--text-secondary);min-width:0}
.guide-page .guide-role-flow strong{display:block;font-size:14px;color:var(--text-primary);font-weight:600;margin-bottom:4px}
.guide-page .guide-role-flow>[aria-hidden]{color:var(--text-muted)}
.guide-page .guide-ide-notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:22px 0}
.guide-page .guide-ide-notes>div{border-top:2px solid var(--border);padding-top:17px;min-width:0}
.guide-page .guide-ide-notes h3{font-size:17px;margin:0 0 10px}
.guide-page .guide-ide-notes p{font-size:14px;line-height:1.65;color:var(--text-secondary);margin:0}
.guide-page .guide-inline-warning>p{margin:6px 0 0}
.guide-page .guide-section[id],.guide-page .guide-anchor[id],.guide-page li[id],.guide-page #planned-free-time{scroll-margin-top:0}
.guide-page .guide-content code{overflow-wrap:anywhere}
/* Deep-reading navigation and enlarged source details. The image fragment
   remains at its native scale; only the fragment region scrolls on phones. */
.guide-mobile-contents { display: none; }
.guide-page .guide-toc-substeps { margin: 2px 0 10px 12px; padding-left: 8px; border-left: 1px solid var(--border); }
.guide-page .guide-toc-substeps a { font-size: 13px; }
.guide-page .guide-step-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 22px; padding-block: 8px; border-block: 1px solid var(--border); }
.guide-page .guide-step-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.guide-page .guide-detail { min-width: 0; margin: 18px; }
.guide-page .guide-detail-viewport { max-width: 100%; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--border-dark); border-radius: var(--radius-medium); background: var(--surface-dark); scrollbar-width: thin; }
.guide-page .guide-detail-viewport > a { display: block; position: relative; overflow: hidden; max-width: none; cursor: zoom-in; }
.guide-page .guide-detail-viewport img { display: block; width: 1240px; max-width: none; height: auto; border: 0; }
.guide-page .guide-detail-search > a { width: 430px; height: 100px; }
.guide-page .guide-detail-search img { margin-left: -780px; margin-top: -155px; }
.guide-page .guide-detail-routes > a { width: 800px; height: 200px; }
.guide-page .guide-detail-routes img { margin-left: -410px; margin-top: -400px; }
.guide-page .guide-detail figcaption { margin-top: 12px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.guide-page .guide-detail figcaption strong { color: var(--text-primary); }
@media (max-width: 860px) {
  html:has(body.guide-page) { scroll-padding-top: calc(var(--site-header-height) + 48px + var(--anchor-gap)); }
  .guide-page .guide-mobile-contents { position: sticky; top: var(--site-header-height); z-index: 20; display: block; margin: 0 0 24px; border: 1px solid var(--border); border-radius: var(--radius-medium); background: var(--surface); box-shadow: 0 5px 12px rgba(24, 51, 43, .05); }
  .guide-page .guide-mobile-contents > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 11px 14px; list-style: none; color: var(--text-primary); font-size: 15px; font-weight: 600; cursor: pointer; }
  .guide-page .guide-mobile-contents > summary::-webkit-details-marker { display: none; }
  .guide-page .guide-mobile-contents > summary::after { content: '+'; color: var(--brand); font-size: 22px; font-weight: 400; line-height: 1; }
  .guide-page .guide-mobile-contents[open] > summary::after { content: '\2212'; }
  .guide-page .guide-mobile-contents nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; max-height: min(55svh, 28rem); overflow-y: auto; padding: 6px; border-top: 1px solid var(--border); }
  .guide-page .guide-mobile-contents nav a { display: flex; align-items: center; min-height: 44px; padding: 9px; border-radius: var(--radius-small); font-size: 14px; line-height: 1.5; text-decoration: none; }
  .guide-page .guide-mobile-contents nav a:hover { background: var(--surface-secondary); }
  .guide-page .guide-grid { grid-template-columns: 1fr; gap: 0; }
  .guide-page .toc { display: none; }
  .guide-page .guide-content { max-width: 100%; }
  .guide-page .guide-section { margin-bottom: 40px; }
}
@media(max-width:600px){
 .guide-page .guide-role-flow{flex-direction:column;align-items:flex-start;gap:9px;padding:17px 0}
 .guide-page .guide-role-flow>[aria-hidden]{transform:rotate(90deg);margin-left:8px}
 .guide-page .guide-role-flow strong{margin-bottom:0}
 .guide-page .guide-ide-notes{grid-template-columns:1fr;gap:20px}
 .guide-page .guide-intro{padding-bottom:15px}
 .guide-page .guide-intro h1{font-size:32px}
 .guide-page .guide-intro p{font-size:15px;line-height:1.65}
 .guide-page .guide-intro-actions{gap:5px 20px;margin-top:20px}
 .guide-page .guide-needs{gap:13px;grid-template-columns:1fr}
 .guide-page .guide-needs>div{padding:17px 0 0}
 .guide-page .guide-section>h2{font-size:27px;margin-bottom:20px}
 .guide-page .guide-section>p,.guide-page .guide-task-list>li{font-size:15px;line-height:1.65}
 .guide-page .guide-task-list{padding-left:21px}
 .guide-page .guide-route-example{padding:15px;gap:10px;grid-template-columns:1fr}
 .guide-page .guide-route-example>.guide-route-arrow{display:none}
 .guide-page .guide-route-example>div{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
 .guide-page .guide-route-example code{font-size:13px}
 .guide-page .guide-route-example span{font-size:13px}
 .guide-page .guide-help>summary{padding:14px;font-size:14px;gap:10px}
 .guide-page .guide-help-body{padding:16px 14px}
 .guide-page .guide-account-note{padding:16px}
 .guide-page .guide-recipe>summary{padding:20px 0;gap:12px}
 .guide-page .guide-recipe>summary strong{font-size:17px}
 .guide-page .guide-recipe>summary small{font-size:13px}
 .guide-page .guide-recipe>summary svg{width:25px;height:25px}
 .guide-page .guide-recipe-body{padding-inline:0}
 .guide-page .guide-recipe-body>p,.guide-page .guide-recipe-body li{font-size:14px}
 .guide-page .guide-example{grid-template-columns:minmax(95px,.65fr) minmax(0,1fr)}
 .guide-page .guide-example dt,.guide-page .guide-example dd{padding:10px;font-size:13px}
 .guide-page .guide-example code{font-size:13px}
}
