.logo{display:inline-flex;align-items:center;gap:.5rem}.logo img{width:36px;height:36px;flex-shrink:0}
.guides{display:grid;gap:1rem}.guide{padding:0;overflow:hidden;border-radius:16px}
.guide>summary{display:flex;align-items:center;gap:.8rem;padding:1rem;list-style:none;font-size:1.05rem}
.guide>summary::-webkit-details-marker{display:none}.guide>summary::after{content:"+";margin-left:auto;font-size:1.4rem;color:var(--brand)}.guide[open]>summary::after{content:"−"}
.guide[open]>summary{border-bottom:1px solid var(--line);background:#f0f8f3}.guide-count{font-family:system-ui,sans-serif;font-size:.8rem;color:var(--muted);white-space:nowrap}
.guide-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);align-items:start;gap:2rem;padding:1.5rem}
.guide-steps{list-style:none;counter-reset:guide-step;padding:0;margin:0 0 1.2rem;display:grid;gap:1rem}.guide-steps li{counter-increment:guide-step;position:relative;padding-left:2.4rem;min-width:0}.guide-steps li::before{content:counter(guide-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ebf4ff;color:#235e99;font-weight:700}.guide-steps p{margin:.3rem 0 0;color:var(--muted)}
.guide-settings{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}.guide-settings>div{min-width:0;background:#f5f8f5;border:1px solid var(--line);border-radius:9px;padding:.6rem .75rem}.guide-settings dt{font-size:.8rem;color:var(--muted)}.guide-settings dd{margin:.15rem 0 0;font-weight:700;overflow-wrap:anywhere}
.guide-url-label{display:block;margin:.8rem 0 .35rem;font-weight:700}.guide-url{display:block;width:100%;resize:none;overflow-wrap:anywhere;border:1px solid #bacdc1;border-radius:10px;background:#fbfdfa;padding:.8rem;color:var(--ink);font: .9rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.guide-url:focus-visible,.guide-copy:focus-visible{outline:3px solid #2a6eb7;outline-offset:3px}.guide-copy{font:inherit;cursor:pointer;margin-top:.65rem}.copy-status{display:block;min-height:1.5em;margin-top:.3rem;font-size:.9rem;color:#07543f}
.guide-hint{padding:.8rem;border-left:3px solid var(--brand);background:#edf7f1;border-radius:0 8px 8px 0;font-size:.9rem;color:#335447}.guide-shot{margin:0;background:#f3f7f6;border:1px solid var(--line);border-radius:12px;overflow:hidden}.guide-shot a{display:block}.guide-shot img{display:block;width:100%;height:auto}.guide-shot figcaption{font-size:.82rem;line-height:1.45;padding:.65rem .8rem;color:var(--muted);border-top:1px solid var(--line)}
.guide-points{padding:1.5rem}.guide-example{margin:0 0 1rem;font-weight:700;color:#07543f}.point-diagram{position:relative;display:flex;justify-content:space-between;gap:.5rem;margin:1.5rem 0 2rem;max-width:580px}.point-diagram::before{content:"";position:absolute;top:19px;left:20px;right:20px;border-top:2px dashed #81a99b}.point-demo{position:relative;display:grid;justify-items:center;gap:.35rem}.point-demo b{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid #b06115;color:#b06115}.point-demo.endpoint b{background:var(--brand);border-color:var(--brand);color:#fff}.point-demo small{font-size:.82rem;color:var(--muted)}.guide-comparison{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:850px;margin:1.4rem auto 0}.guide-credit{font-size:.8rem;color:var(--muted)}.zip-structure pre{overflow-x:auto;padding:.5rem;background:#f7faf8;font-size:.85rem}
@media(max-width:720px){.guide-body{grid-template-columns:1fr;padding:1rem;gap:1rem}.guide-shot{width:min(100%,360px);margin:0 auto}.guide-points{padding:1rem}.guide-comparison{grid-template-columns:1fr}.guide-count{display:none}.guide>summary{font-size:.95rem;gap:.6rem}.guide>summary .num{flex-shrink:0}.guide-settings{grid-template-columns:1fr}.guide-comparison .guide-shot{width:min(100%,380px)}}
.perp-diagram{display:block;width:min(100%,620px);height:auto;margin:.5rem 0 1.5rem;background:#f7faf8;border:1px solid var(--line);border-radius:12px}.perp-diagram text{font:600 24px system-ui,sans-serif}

.usb-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.4rem;margin:1rem 0 1.6rem}.usb-flow>div{position:relative;display:grid;align-content:start;gap:.5rem;padding:1rem;background:#f0f7f3;border:1px solid var(--line);border-radius:12px;min-width:0}.usb-flow>div+div::before{content:"→";position:absolute;left:-1.2rem;top:1rem;color:var(--brand);font-weight:700}.usb-flow small{color:var(--muted);line-height:1.5}.usb-profiles{display:flex;flex-wrap:wrap;gap:.5rem}.usb-profiles span{padding:.4rem .7rem;border:1px solid #b8d8c8;border-radius:8px;background:#f0f8f3;font-weight:700}.usb-captures{align-items:start;margin-bottom:1.4rem}.usb-warning{border:1px solid #d6bb84;background:#fff9ec;border-radius:12px;padding:1rem;margin-top:1.4rem}.usb-warning h3{margin-top:0}.usb-warning p:last-child{margin-bottom:0}@media(max-width:720px){.usb-flow{grid-template-columns:1fr;gap:1.4rem}.usb-flow>div+div::before{content:"↓";left:1rem;top:-1.45rem}}
