.guide-page{padding-block:28px 48px}.guide-intro{max-width:820px;margin:24px 0 32px}.guide-intro h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.18;margin:12px 0 18px;overflow-wrap:anywhere}.guide-intro p{line-height:1.7}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.guide-card,.guide-article{border:1px solid var(--border,#354354);background:var(--panel,#1a2633);border-radius:20px;padding:26px}.guide-card h2{font-size:1.3rem;line-height:1.4;margin:0 0 12px}.guide-card p{line-height:1.65}.guide-read{display:inline-flex;gap:10px;margin-top:12px}.guide-article{max-width:900px;margin:24px auto}.guide-byline{font-size:.88rem;opacity:.75}.guide-toc{display:grid;gap:10px;padding:18px;border:1px solid var(--border,#354354);border-radius:12px}.guide-section{scroll-margin-top:240px;margin-top:34px;line-height:1.75}.guide-section h2{font-size:1.35rem;line-height:1.4}.guide-product-links{padding-left:22px}.guide-product-links li,.buying-note li{margin:10px 0;line-height:1.7}.guide-sources{font-size:.94rem}.guide-page a,.buying-note a{overflow-wrap:anywhere}html[data-theme=light] .guide-card,html[data-theme=light] .guide-article{background:#fff;border-color:#d4deeb}@media(max-width:760px){.guide-grid{grid-template-columns:1fr}.guide-card,.guide-article{padding:20px}.guide-page{padding-top:12px}.guide-intro{margin-top:16px}.guide-section{scroll-margin-top:220px}}

.guide-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.guide-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; line-height: 1.4; }
.guide-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border-radius: 12px; margin-bottom: 1rem; }
.guide-card .guide-read, .guide-all { align-items: center; min-height: 44px; margin-top: auto; padding: .5rem .85rem; border-radius: 9px; background: #175fce; color: #fff; font-weight: 600; text-decoration: none; }
.guide-card p { margin-bottom: 1rem; }
.guide-card .guide-read:hover, .guide-all:hover { background: #134fae; }
.guide-card .guide-read:focus-visible, .guide-all:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.guide-cover { object-fit: cover; background: #101b2d; height: auto; }

.guide-all { margin-top: 1rem; justify-content: center; }
.category-guide.guide-listing{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.category-guide.guide-listing .guide-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
@media(max-width:760px){.category-guide.guide-listing .guide-grid{grid-template-columns:minmax(0,1fr)}}
.guide-article,.guide-page,.guide-section{min-width:0;max-width:100%;box-sizing:border-box}.guide-article{width:min(100%,960px)}.guide-article .guide-intro{margin-top:0}.guide-read{align-items:center;min-height:44px;padding:.65rem 1rem;border:1px solid transparent;border-radius:10px;background:#175fce;color:#fff;font-weight:600;text-decoration:none;box-sizing:border-box;max-width:100%;white-space:normal;text-align:center;line-height:1.5}.guide-read:hover{background:#134fae}.guide-read:focus-visible{outline:3px solid var(--accent,#79adff);outline-offset:3px}.guide-hero{margin:0 0 28px}.guide-hero img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:14px}.guide-hero-product img{object-fit:contain;background:#fff}.guide-related{display:flex;flex-wrap:wrap;gap:12px}.guide-related .guide-read{margin:0}.component-guides{margin-top:48px;scroll-margin-top:220px}.guide-search{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.guide-search input{flex:1;min-width:150px;padding:12px;border:1px solid var(--border,#354354);border-radius:9px;background:var(--panel,#1a2633);color:inherit}.guide-search .guide-read{margin:0;font:inherit;cursor:pointer}.guide-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}.component-article-note{margin-block:20px}.connection-diagram{margin:20px 0;padding:18px;border:1px solid var(--border,#354354);border-radius:14px;background:var(--bg,#101b2d)}.connection-row{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);align-items:center;margin-block:14px;--wire:#85b5ff}.connection-end{min-width:0;padding:12px 10px;border:1px solid var(--wire);border-radius:10px;overflow-wrap:anywhere;font-size:.95rem;line-height:1.5}.connection-wire{height:3px;background:var(--wire)}.connection-power{--wire:#e38181}.connection-ground{--wire:#85b5ff}.connection-signal{--wire:#d5b468}.connection-diagram figcaption{font-size:.9rem;line-height:1.6;margin-top:20px}.guide-section .attributes{max-width:100%;overflow-wrap:anywhere}.guide-toc a{padding-block:4px}.guide-article p{overflow-wrap:anywhere}
@media(max-width:600px){.guide-page{padding-inline:14px}.guide-article{padding:18px 14px}.guide-grid{gap:16px}.guide-hero .guide-read{display:flex;justify-content:center}.guide-search label{width:100%}.guide-related .guide-read{width:100%;justify-content:center}.connection-diagram{padding:10px}.connection-row{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)}.connection-end{font-size:.86rem;padding:9px 7px}.guide-section .attributes>div{grid-template-columns:1fr;gap:4px}.guide-section .attributes dd{margin-left:0}}
@media (max-width: 760px) { .guide-all { display: flex; width: 100%; } }

.operation-diagram{margin:20px 0;padding:18px;border:1px solid var(--border,#354354);border-radius:15px;background:#101b2d;color:#edf4ff;min-width:0;box-sizing:border-box}
.operation-diagram svg{display:block;max-width:100%;height:auto;width:100%;overflow:visible}
.operation-diagram .op-box{fill:#1a2b40;stroke:#85b5ff;stroke-width:2}
.operation-diagram .op-wire{fill:none;stroke:#85b5ff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.operation-diagram .op-arrow,.operation-diagram .op-junction{fill:#85b5ff}
.operation-diagram .op-feedback{fill:none;stroke:#d5b468;stroke-width:2;stroke-dasharray:6 5}
.operation-diagram .op-label{fill:#edf4ff;font:17px system-ui,sans-serif}
.operation-diagram .op-small-label{font-size:14px}
.operation-diagram .op-feedback-label{fill:#edcf8d;font-size:16px}
.operation-diagram figcaption{font-size:.9rem;line-height:1.65;margin-top:16px}
.operation-diagram .operation-flow-narrow{display:none}
.operation-diagram .operation-circuit{max-width:560px;margin-inline:auto}
html[data-theme=light] .operation-diagram{background:#f3f7fd;color:#15263d;border-color:#c7d7ec}
html[data-theme=light] .operation-diagram .op-box{fill:#fff;stroke:#235caa}
html[data-theme=light] .operation-diagram .op-wire{stroke:#235caa}
html[data-theme=light] .operation-diagram .op-arrow,html[data-theme=light] .operation-diagram .op-junction{fill:#235caa}
html[data-theme=light] .operation-diagram .op-label{fill:#15263d}
html[data-theme=light] .operation-diagram .op-feedback{stroke:#916013}
html[data-theme=light] .operation-diagram .op-feedback-label{fill:#754a08}
html[data-theme=light] .connection-diagram{background:#f3f7fd;color:#15263d;border-color:#c7d7ec}
html[data-theme=light] .connection-diagram .connection-end{background:#fff;color:#15263d}
html[data-theme=light] .connection-power{--wire:#a23a3a}
html[data-theme=light] .connection-ground{--wire:#235caa}
html[data-theme=light] .connection-signal{--wire:#856016}
@media(max-width:600px){.operation-diagram{padding:10px}.operation-diagram .operation-flow-wide{display:none}.operation-diagram .operation-flow-narrow{display:block}.operation-diagram .operation-circuit{width:100%;max-width:400px}.operation-diagram .op-label{font-size:20px}.operation-diagram .op-small-label{font-size:17px}}
