/* SintBot guides: the product site's graphite, copper and paper system. */
.guide-page{background:var(--cream);line-height:1.75}.guide-nav{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:26px;max-width:1160px;margin:auto;min-height:76px;padding:12px 30px;background:#f6f5f1ed;backdrop-filter:blur(16px);border-bottom:1px solid var(--hair);font-size:14px}.guide-nav>a:first-child{display:flex;align-items:center;gap:9px;font-weight:650;font-size:20px;margin-right:auto}.guide-nav img{width:28px;height:28px;border-radius:50%}.guide-nav a{display:inline-flex;align-items:center;min-height:44px;transition:color .15s}.guide-nav a:hover,.guide-nav a[aria-current=page]{color:var(--label)}.guide-nav nav,.guide-nav__links{display:flex;align-items:center;gap:20px}.guide-layout{max-width:1100px;margin:64px auto 100px;display:grid;grid-template-columns:200px minmax(0,760px);gap:64px;padding:0 24px}.guide-toc{position:sticky;top:106px;align-self:start;font-size:13px;line-height:1.5;max-height:calc(100dvh - 130px);overflow:auto}.guide-toc strong,.guide-toc h2{display:block;font-size:12px;color:var(--text-3);font-weight:500;margin:0 0 16px;padding-left:14px}.guide-toc ol,.guide-toc ul{list-style:none}.guide-toc a{display:block;border-left:2px solid transparent;padding:9px 12px;color:var(--text-2);transition:color .2s,border-color .2s,background .2s}.guide-toc a:hover{color:var(--label);background:#dd7d3d09}.guide-toc a[aria-current=true]{color:var(--label);border-color:var(--orange);background:#dd7d3d0b}.guide-article{min-width:0}.guide-hero{padding-bottom:42px;border-bottom:1px solid var(--hair);margin-bottom:44px}.guide-kicker,.guide-eyebrow{font-size:12px;letter-spacing:.06em;color:var(--label);margin:0 0 12px}.guide-article h1{font-size:clamp(36px,4.5vw,58px);line-height:1.12;letter-spacing:-.04em;font-weight:600;text-wrap:balance}.guide-lede{font-size:18px;color:var(--text-2);line-height:1.7;margin-top:22px}.guide-article section{scroll-margin-top:100px;margin:0 0 52px}.guide-article h2{font-size:28px;line-height:1.3;letter-spacing:-.025em;margin-bottom:20px}.guide-article h3{font-size:19px;line-height:1.45;margin:28px 0 12px}.guide-article p{margin:14px 0;color:var(--text-2)}.guide-article ul,.guide-article ol{padding-left:22px;margin:16px 0}.guide-article li{list-style:disc;margin:8px 0;color:var(--text-2)}.guide-article ol>li{list-style:decimal}.guide-article a:not(.btn):not(.guide-copy){color:var(--label);text-decoration:underline;text-decoration-color:#a15b3045;text-underline-offset:4px}.guide-article a:hover{text-decoration-color:currentColor}.guide-note{padding:16px 20px;border-left:3px solid #dd7d3d80;background:#dd7d3d08;margin:22px 0;border-radius:0 8px 8px 0;font-size:14px}.guide-note p:first-child{margin-top:0}.guide-note p:last-child{margin-bottom:0}.guide-example,.guide-step{padding:22px 24px;background:#fff;border:1px solid var(--hair);border-radius:12px;margin:20px 0}.guide-example p,.guide-step p{margin:8px 0}.guide-example h3,.guide-step h3{margin-top:0}.guide-code{position:relative;margin:20px 0;min-width:0}.guide-article pre{position:relative;padding:58px 22px 22px;background:#1b1e20;color:#e4e6e8;border:1px solid #ffffff12;border-radius:12px;overflow:auto;font-size:12px;line-height:1.9;tab-size:2;max-width:100%}.guide-article pre code{font-size:inherit;background:none;padding:0;color:inherit}.guide-code button,.guide-copy{position:absolute;top:10px;right:10px;min-height:34px;padding:0 12px;border-radius:7px;background:#ffffff12;color:#f2e8dc;font-size:12px;transition:background .15s,transform .15s}.guide-code button:hover,.guide-copy:hover{background:#ffffff22}.guide-code button:active,.guide-copy:active{transform:scale(.97)}.guide-copy-status{min-height:22px;font-size:12px;color:var(--label)!important}.guide-article details{border:1px solid var(--hair);border-radius:12px;background:#fff;padding:0 22px;margin:14px 0;overflow:hidden}.guide-article summary{cursor:pointer;list-style:none;position:relative;padding:19px 30px 19px 0;font-weight:550;line-height:1.6}.guide-article summary::-webkit-details-marker{display:none}.guide-article summary::after{content:'+';position:absolute;right:0;top:17px;font-size:22px;font-weight:400;color:var(--label)}.guide-article details[open]>summary::after{content:'−'}.guide-article details>div{padding:0 0 16px}.guide-table{overflow:auto;margin:22px 0}.guide-article table{border-collapse:collapse;width:100%;font-size:14px}.guide-article th,.guide-article td{padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--hair)}.guide-article th{font-weight:550;background:#fff}.guide-next{margin-top:50px;padding:28px;border-radius:14px;background:#252b32;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:24px}.guide-next p{color:#ccd0d4}.guide-next a{color:#f0d9be!important}.guide-next .btn{color:var(--ink)!important;background:#fff}.guide-footer{max-width:1100px;margin:0 auto;padding:26px 24px 40px;border-top:1px solid var(--hair);font-size:12px;color:var(--text-3);display:flex;gap:20px;justify-content:space-between}.guide-article blockquote{margin:18px 0;padding:6px 20px;border-left:2px solid var(--orange);background:#fff}.guide-article :is(p,li,td,a){overflow-wrap:anywhere}
@media(max-width:900px){.guide-layout{grid-template-columns:170px minmax(0,1fr);gap:30px}.guide-nav{gap:16px}}
@media(max-width:700px){.guide-nav{min-height:64px;padding:8px 16px;gap:12px;flex-wrap:wrap;font-size:12px}.guide-nav>a:first-child{font-size:18px}.guide-nav nav,.guide-nav__links{gap:12px}.guide-layout{display:block;margin-top:28px;padding:0 20px}.guide-toc{position:relative;top:0;max-height:none;margin-bottom:36px;padding:14px 10px;background:#eeede8;border-radius:10px}.guide-toc a{padding:7px 12px}.guide-toc ul,.guide-toc ol{display:grid;grid-template-columns:1fr 1fr;gap:2px}.guide-toc strong,.guide-toc h2{margin-bottom:10px}.guide-hero{padding-bottom:30px;margin-bottom:32px}.guide-lede{font-size:16px}.guide-article h2{font-size:25px}.guide-article section{margin-bottom:40px}.guide-example,.guide-step{padding:18px}.guide-article pre{font-size:11px;padding-left:16px;padding-right:16px}.guide-next{display:block;padding:22px}.guide-footer{flex-wrap:wrap}.guide-article details{padding:0 16px}}
@media(prefers-reduced-motion:reduce){.guide-page *{scroll-behavior:auto!important}}

.guide-lead{font-size:18px;line-height:1.7;color:var(--text-2);margin:22px 0}.guide-meta{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.guide-meta span{padding:4px 9px;background:#161b2206;border-radius:6px;font-size:12px;color:var(--text-2)}.guide-eyebrow span{margin-left:10px;color:var(--text-3)}.guide-toc>p{font-size:11px;letter-spacing:.04em;color:var(--text-3);padding-left:14px;margin-bottom:14px}.guide-toc a>span:first-child{display:inline-block;margin-right:8px;color:var(--text-3);font-family:var(--f-mono);font-size:10px}.guide-toc__next{margin-top:20px}.guide-article p.guide-step,.guide-section-no{padding:0;border:0;background:none;color:var(--label);font-family:var(--f-mono);font-size:12px;margin:0 0 10px}.guide-article ol.guide-steps{padding:0}.guide-steps>li.guide-step{list-style:none}.guide-steps>li>span{display:block}.guide-example{position:relative}.guide-example__head{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--text-3);margin-bottom:14px}.guide-example__head .guide-copy{position:static;background:#161b2208;color:var(--ink);flex:none;min-height:36px}.guide-example pre{padding:18px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.guide-code__bar{position:absolute;z-index:1;top:10px;left:16px;right:10px;height:34px;display:flex;align-items:center;justify-content:space-between;color:#aab2ba;font-size:10px}.guide-code__bar .guide-copy{position:static}.guide-definitions dt{font-weight:550;margin-top:15px}.guide-definitions dd{margin:5px 0;color:var(--text-2)}.guide-table-wrap{overflow:auto}.guide-next{display:block}.guide-next h2{color:#fff;margin:8px 0}.guide-next>.btn{margin-top:14px}.guide-footer nav{display:flex;gap:18px}.guide-hero__link{display:inline-block;margin-top:14px;font-size:14px}.guide-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-article details>p:last-child{padding-bottom:14px}.guide-progress{position:fixed;top:0;left:0;right:0;z-index:50;height:2px;pointer-events:none}.guide-progress span{display:block;height:100%;background:var(--orange);transform-origin:left;transform:scaleX(0)}
@media(max-width:700px){.guide-lead{font-size:16px}.guide-card-grid{grid-template-columns:1fr}.guide-nav{gap:8px}.guide-nav nav,.guide-nav__links{gap:10px}.guide-nav a{white-space:nowrap}.guide-nav>a:first-child{font-size:16px;gap:6px}.guide-toc nav{display:grid;grid-template-columns:1fr 1fr}}

.guide-root{scroll-padding-top:0}.guide-article section{scroll-margin-top:var(--guide-offset,140px)}
@media(max-width:360px){.guide-nav{font-size:11px;gap:6px}.guide-nav__links,.guide-nav nav{gap:8px}.guide-nav>a:first-child{font-size:15px;gap:5px}.guide-nav img{width:24px;height:24px}}

/* Guide titles use the same Chinese rhythm, with a quieter reading scale. */
html:lang(zh) .guide-article h1{font-size:clamp(34px,4.2vw,54px);line-height:1.3;letter-spacing:.01em;text-wrap:initial}
html:lang(zh) .guide-article h2{font-size:28px;line-height:1.5;letter-spacing:0;text-wrap:balance}
html:lang(zh) .guide-article h3{font-size:20px;line-height:1.5;letter-spacing:0}
html:lang(zh) .guide-toc h2{font-size:12px;line-height:1.5}
@media(max-width:700px){
  html:lang(zh) .guide-article h1{font-size:36px;line-height:1.35}
  html:lang(zh) .guide-article h2{font-size:24px;line-height:1.5}
  html:lang(zh) .guide-article h3{font-size:18px;line-height:1.55}
}
@media(max-width:360px){
  html:lang(zh) .guide-article h1{font-size:32px}
  html:lang(zh) .guide-article h2{font-size:22px}
}

html:lang(en) .guide-article h1{line-height:1.18}
@media(max-width:700px){html:lang(en) .guide-article h1{font-size:clamp(30px,8.5vw,40px);line-height:1.2}}

html:lang(en) .guide-article :is(h2,h3){text-wrap:balance}

/* Desktop guide: real product screens, readable at every viewport. */
.guide-shot{display:block;position:relative;margin:24px 0 38px;border:1px solid var(--hair);border-radius:12px;overflow:hidden;background:#eeede8;box-shadow:0 10px 30px #13171c08;cursor:zoom-in;line-height:0;transition:box-shadow .2s,transform .2s}
.guide-shot img{display:block;width:100%;height:auto;max-width:100%;transition:transform .25s}
.guide-shot:hover{box-shadow:0 14px 34px #13171c14;transform:translateY(-2px)}
.guide-shot:hover img{transform:scale(1.015)}
.guide-shot__zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;background:#fffef8;color:#333;border:1px solid #d6d4cd;border-radius:50%;font-size:19px;line-height:1}
.guide-walkthrough h3{display:flex;align-items:center;gap:12px;margin-top:42px}
.guide-walkthrough h3>span{font:12px var(--f-mono);color:var(--label);border:1px solid #dd7d3d55;border-radius:50%;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}
.guide-article details.guide-terminal{padding:0 24px;background:#f0efe9;margin:42px 0}
.guide-terminal>summary{font-size:17px}
.guide-terminal>div{padding-top:24px!important}
.guide-zoom{padding:52px 16px 16px;border:0;border-radius:16px;background:#f6f5f1;max-width:min(1420px,96vw);max-height:94dvh;width:max-content;overflow:auto;color:#13171c}
.guide-zoom::backdrop{background:#101418d9;backdrop-filter:blur(6px)}
.guide-zoom img{display:block;max-width:100%;height:auto;border-radius:6px}
.guide-zoom button{position:absolute;top:8px;right:12px;min-height:36px;padding:0 14px;border:1px solid var(--hair);border-radius:8px;background:white;font-size:13px;cursor:pointer}
.guide-shot:focus-visible,.guide-zoom button:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
@media(max-width:700px){.guide-shot{margin:20px 0 30px;border-radius:8px}.guide-walkthrough h3{align-items:flex-start;gap:10px}.guide-article details.guide-terminal{padding:0 14px}.guide-zoom{max-width:98vw;padding:52px 8px 8px}.guide-zoom img{min-width:760px;max-width:none}.guide-zoom button{position:sticky;left:calc(100% - 90px);top:-44px;margin-top:-44px;margin-bottom:8px;z-index:1}}
@media(prefers-reduced-motion:reduce){.guide-shot,.guide-shot img{transition:none}.guide-shot:hover,.guide-shot:hover img{transform:none}}
@media(max-width:700px){.guide-toc{padding:10px 0;margin-bottom:24px;background:none;border-bottom:1px solid var(--hair);border-radius:0}.guide-toc>p,.guide-toc__next{display:none!important}.guide-toc nav,.guide-toc ol{display:flex;gap:8px;overflow-x:auto;margin:0;padding:0;list-style:none;scrollbar-width:thin}.guide-toc li{flex:none}.guide-toc a{white-space:nowrap;min-height:44px;display:flex;align-items:center;border-left:0;border-bottom:2px solid transparent;padding:8px 10px}.guide-toc a[aria-current=true]{border-bottom-color:var(--orange)}.guide-toc a>span:first-child{margin-right:6px}}
.guide-shot[href*="/models-"]{max-width:560px;margin-left:auto;margin-right:auto}
@media(max-width:700px){.guide-nav{padding-inline:20px}.guide-nav>.guide-lang{min-width:44px;justify-content:center}.guide-nav__links,.guide-nav nav{gap:12px}.guide-shot__zoom{width:30px;height:30px}}

/* Feishu onboarding is a first-class chapter shared by both install routes. */
.guide-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0!important;margin:28px 0 32px!important;list-style:none}
.guide-route li{padding:16px 0;border-top:2px solid var(--hair);font-size:14px;line-height:1.5}
.guide-route b{display:block;color:var(--label);font:12px var(--f-mono);margin-bottom:8px}
.guide-scan-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start;margin:24px 0 38px}
.guide-scan-layout .guide-shot{margin:0}.guide-scan-copy ol{padding-left:20px}.guide-scan-copy li{margin-bottom:12px}
.guide-article .guide-small{font-size:13px;line-height:1.7;color:var(--muted)}
.guide-first-message{border-left:3px solid var(--orange);padding:20px 24px;margin:24px 0;background:#eeece5}
.guide-first-message>span{display:block;font-size:12px;color:var(--label);margin-bottom:10px}
.guide-first-message>p{margin:0;font-size:17px;line-height:1.8;color:var(--ink)}
.guide-feishu-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}
.guide-feishu-actions>div{border-top:1px solid var(--hair);padding-top:18px}.guide-feishu-actions h3{margin-top:0;font-size:18px}.guide-feishu-actions p{font-size:15px}
@media(max-width:700px){.guide-route{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.guide-scan-layout{grid-template-columns:1fr;gap:16px}.guide-scan-layout>div:first-child{max-width:460px;width:100%;margin:auto}.guide-feishu-actions{grid-template-columns:1fr;gap:16px}.guide-first-message{padding:18px}.guide-first-message>p{font-size:16px}}

.guide-article .guide-route>li{list-style:none}.guide-actions{display:flex;flex-wrap:wrap;gap:12px}.guide-actions .btn{min-height:44px}
@media(max-width:700px){.guide-actions{align-items:stretch;flex-direction:column}.guide-actions .btn{justify-content:center;width:100%}}

@media(max-width:700px){.guide-install .guide-toc nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:visible}.guide-install .guide-toc a{white-space:normal;display:block;font-size:12px;line-height:1.5;padding:8px 6px;min-height:62px}.guide-install .guide-toc a>span:first-child{display:block;margin:0 0 4px;font-size:10px}}

.guide-first-message>span{color:#884820}.guide-shot{scroll-margin-top:calc(var(--guide-offset,140px) + 12px)}
.guide-scan-copy>p:first-child{margin-top:0}
/* Keep keyboard navigation immediate and long-form body copy easy to read. */
html.guide-root:has(:focus-visible){scroll-behavior:auto}
.guide-page{--text-2:#47515a}
.guide-shot:focus-visible,.guide-zoom button:focus-visible{outline-color:#884820}
@media(max-width:700px){.guide-footer a{display:inline-flex;align-items:center;min-height:44px}}
