button{font:inherit;cursor:pointer}
.guide-page{padding-block:52px 80px}
.guide-head{max-width:900px;padding-bottom:40px}
.guide-kicker{color:var(--olive);font-size:14px;font-weight:600;margin-bottom:15px}
.guide-head h1{font-size:clamp(36px,4.7vw,66px);margin-bottom:20px;max-width:850px;text-wrap:balance}
.guide-lead{font-size:20px;line-height:1.5;max-width:650px;color:var(--muted)}
.guide-head .guide-subline{font-size:14px;color:var(--muted);margin-top:12px}
.guide-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
.guide-sidebar{position:sticky;top:24px;min-width:0}
.guide-toc{border:1px solid var(--line);border-radius:18px;background:var(--wash);overflow:hidden}
.guide-toc summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;font-size:15px;font-weight:650;cursor:pointer;list-style:none}
.guide-toc summary::-webkit-details-marker{display:none}
.guide-toc summary svg{width:17px;height:17px;flex:none;transition:transform .15s}
.guide-toc[open] summary svg{transform:rotate(180deg)}
.guide-toc nav{padding:0 9px 14px;max-height:calc(100dvh - 120px);overflow:auto;scrollbar-width:thin}
.guide-toc ol{list-style:none;padding:0;margin:0;display:grid;gap:3px}
.guide-toc a{display:block;padding:7px 9px;color:var(--muted);font-size:13px;line-height:1.4;text-decoration:none;border-radius:8px}
.guide-toc a:hover,.guide-toc a[aria-current=location]{background:#e5e9d9;color:var(--olive)}
.guide-toc a.toc-sub{margin-left:15px;padding-top:3px;font-size:12px}
.guide-content{min-width:0;max-width:900px;overflow-wrap:break-word}
.guide-section{border-top:1px solid var(--line);padding-top:30px;margin-top:42px}
.guide-section:first-child{margin-top:0}
.guide-section h2{font-size:clamp(25px,2.6vw,34px);line-height:1.23;letter-spacing:-.03em;margin:0 0 24px;text-wrap:pretty;scroll-margin-top:25px}
.guide-section h3{font-family:Bahnschrift,"Segoe UI",Arial,sans-serif;font-size:21px;line-height:1.35;letter-spacing:-.015em;font-weight:600;margin:30px 0 13px;scroll-margin-top:25px}
.guide-section p,.guide-section li{font-size:16px;color:var(--muted);line-height:1.75}
.guide-section p+p{margin-top:14px}
.guide-section ol,.guide-section ul{padding-left:24px;margin:16px 0 22px}
.guide-section li{padding-left:5px;margin-bottom:7px}
.guide-section li::marker{color:var(--olive);font-weight:600}
.guide-section strong{color:var(--ink);font-weight:600}
.guide-section code{font-size:.9em;background:var(--wash);border-radius:4px;padding:1px 4px}
.guide-note{border-left:3px solid var(--olive);background:var(--olive-wash);padding:16px 19px;margin:22px 0;border-radius:0 12px 12px 0}
.guide-note p{font-size:15px}
.table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:14px;margin:20px 0 26px;scrollbar-width:thin}
.guide-content table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;text-align:left}
.guide-content th,.guide-content td{vertical-align:top;padding:13px 15px;border-bottom:1px solid var(--line);min-width:130px}
.guide-content th{background:var(--olive-wash);color:var(--ink);font-weight:600}
.guide-content td{color:var(--muted)}
.guide-content td:first-child{color:var(--ink);font-weight:500}
.guide-content tr:last-child td{border-bottom:0}
.guide-figure{margin:26px 0 32px}
.screenshot-link{display:block;position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fafafa}
.screenshot-link img{display:block;width:100%;height:auto}
.zoom-hint{display:flex;align-items:center;gap:6px;position:absolute;right:10px;bottom:10px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px 8px;font-size:12px;color:var(--olive);box-shadow:0 2px 8px #201e1c0d}
.zoom-hint svg{width:14px;height:14px}
.guide-figure figcaption{font-size:13px;line-height:1.5;color:var(--muted);margin-top:10px}
.screenshot-dialog{padding:0;border:1px solid var(--line);border-radius:16px;width:min(1440px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);background:#faf9f5;color:var(--ink);overflow:hidden}
.screenshot-dialog::backdrop{background:#201e1ccc}
.lightbox-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line);background:#fff}
.lightbox-bar p{font-size:14px;line-height:1.4}
.lightbox-close{flex:none;width:40px;height:40px;padding:8px;border:1px solid var(--line);border-radius:50%;background:var(--wash);color:var(--ink)}
.lightbox-close svg{width:22px;height:22px}
.lightbox-body{overflow:auto;max-height:calc(100dvh - 125px);padding:16px;overscroll-behavior:contain}
.lightbox-body img{display:block;max-width:100%;max-height:calc(100dvh - 157px);width:auto;height:auto;object-fit:contain;margin:auto}
@media(max-width:1000px){.guide-layout{grid-template-columns:1fr;gap:28px}.guide-sidebar{position:static}.guide-toc nav{max-height:50dvh}.guide-content{max-width:none}.guide-head{padding-bottom:28px}.guide-toc a{font-size:14px}.guide-toc a.toc-sub{font-size:13px}}
@media(max-width:740px){.guide-page{padding-block:30px 48px}.guide-head h1{font-size:38px}.guide-lead{font-size:18px}.guide-section{margin-top:32px;padding-top:24px}.guide-section h2{font-size:27px}.guide-section h3{font-size:20px}.guide-section p,.guide-section li{font-size:15px}.guide-content th,.guide-content td{padding:11px 12px;min-width:140px}.guide-content table{font-size:13px;min-width:450px}.guide-figure{margin-block:22px 28px}.zoom-hint{font-size:11px;padding:4px 6px;right:7px;bottom:7px}.guide-note{padding:14px 16px}.screenshot-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.lightbox-bar{align-items:flex-start;gap:8px;padding:10px}.lightbox-body{padding:8px;max-height:calc(100dvh - 135px)}.lightbox-body img{max-height:calc(100dvh - 151px)}.lightbox-bar p{font-size:13px;align-self:center}}
@media print{.guide-page{width:100%;padding:0}.guide-sidebar,.zoom-hint,.screenshot-dialog{display:none}.guide-layout{display:block}.guide-head{padding-bottom:10px}.guide-section{break-inside:auto}.guide-section h2,.guide-section h3{break-after:avoid}.table-scroll{overflow:visible;border:0}.guide-content table{min-width:0}.guide-content th,.guide-content td{min-width:0;padding:7px}.guide-figure{break-inside:avoid}.guide-figure img{max-height:450px;object-fit:contain}.guide-head h1{font-size:30px}}
