.sgtube-library{--sg-ink:#30291f;--sg-muted:#756958;--sg-paper:#fbf8f1;--sg-line:#e0d7c8;--sg-accent:#745332;box-sizing:border-box;color:var(--sg-ink);background:var(--sg-paper);padding:clamp(24px,5vw,64px);border:1px solid var(--sg-line);border-radius:4px;max-width:1280px;margin:30px auto;font-family:inherit;line-height:1.6;isolation:isolate}
.sgtube-library *{box-sizing:border-box}.sgtube-library [hidden]{display:none!important}.sgtube-library h2,.sgtube-library h3,.sgtube-library h4,.sgtube-library p{margin-top:0}.sgtube-library h2,.sgtube-library h3{color:var(--sg-ink);font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.15}.sgtube-library__header{max-width:800px;margin-bottom:32px}.sgtube-library__header h2{font-size:clamp(32px,4vw,54px);margin-bottom:16px;letter-spacing:-.03em}.sgtube-library__header>p:last-child{color:var(--sg-muted);max-width:650px}.sgtube-library__eyebrow{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:var(--sg-accent);font-weight:600;margin-bottom:13px}
.sgtube-library button,.sgtube-library input,.sgtube-library select{font:inherit}.sgtube-library button,.sgtube-library a{transition:background .15s,color .15s,border-color .15s}.sgtube-library button{cursor:pointer}.sgtube-library button:focus-visible,.sgtube-library a:focus-visible,.sgtube-library input:focus-visible,.sgtube-library select:focus-visible{outline:3px solid #ad865a;outline-offset:3px}.sgtube-library button:disabled{cursor:default;opacity:.4}.sgtube-library__search{padding:24px;background:#f2ece1;border:1px solid var(--sg-line);margin:0 0 20px}.sgtube-library__search>label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.sgtube-library__search-row{display:flex;gap:12px}.sgtube-library__search input{flex:1;min-width:0;width:100%;background:#fffdf8;color:var(--sg-ink);border:1px solid #cfc1ae;border-radius:2px;padding:13px 15px;height:auto}.sgtube-library__search-row button,.sgtube-library__download{background:var(--sg-accent);color:#fffaf1;border:1px solid var(--sg-accent);padding:12px 20px;border-radius:2px;text-decoration:none;font-size:13px;white-space:nowrap}.sgtube-library__search-row button:hover,.sgtube-library__download:hover{background:#513b24;color:#fff}.sgtube-library__filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.sgtube-library__filters label{font-size:11px;letter-spacing:.04em;color:var(--sg-muted)}.sgtube-library__filters select{display:block;width:100%;margin-top:4px;min-height:38px;background:#fffdf8;border:1px solid var(--sg-line);border-radius:2px;color:var(--sg-ink);padding:7px 24px 7px 10px;font-size:12px}
.sgtube-library__alphabet{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--sg-line);padding:10px 0 20px;margin-bottom:20px}.sgtube-library__alphabet button{color:var(--sg-muted);background:transparent;border:1px solid transparent;border-radius:2px;padding:6px 8px;min-width:28px;font-size:12px;line-height:1.3}.sgtube-library__alphabet button:hover{border-color:var(--sg-line);color:var(--sg-accent)}.sgtube-library__alphabet button[aria-pressed=true]{color:#fffaf1;background:var(--sg-accent)}.sgtube-library__status{font-size:12px;color:var(--sg-muted);min-height:20px;margin-bottom:14px}.sgtube-library__results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sgtube-library__card{position:relative;text-align:left;display:flex;flex-direction:column;gap:8px;min-height:148px;border:1px solid var(--sg-line);padding:22px 30px 18px 20px;background:#fffdf8;color:var(--sg-ink);border-radius:2px;box-shadow:none;overflow-wrap:anywhere}.sgtube-library__card:hover{background:#f2eadc;border-color:#b69b77}.sgtube-library__card-name{font-family:Georgia,'Times New Roman',serif;font-size:27px;line-height:1.1}.sgtube-library__card-meta{font-size:11px;color:var(--sg-muted);line-height:1.5}.sgtube-library__card-flags{margin-top:auto}.sgtube-library__card-arrow{position:absolute;right:14px;top:20px;font-size:16px;color:var(--sg-accent)}.sgtube-library__badge{display:inline-block;font-size:10px;letter-spacing:.02em;line-height:1.4;border:1px solid #c6b393;background:#efe5d3;color:#60482b;padding:3px 7px;border-radius:2px}.sgtube-library__badge--muted{background:transparent;border-color:var(--sg-line);color:var(--sg-muted)}.sgtube-library__pagination{display:flex;justify-content:center;gap:22px;align-items:center;margin-top:24px;font-size:12px}.sgtube-library__pagination button,.sgtube-library__back,.sgtube-library__variants button{color:var(--sg-accent);background:transparent;border:1px solid var(--sg-line);border-radius:2px;padding:8px 13px}.sgtube-library__detail{margin-top:40px;padding-top:20px;border-top:2px solid var(--sg-accent);scroll-margin-top:35px}.sgtube-library__detail:focus{outline:none}.sgtube-library__detail-top{margin-bottom:28px}.sgtube-library__back{font-size:12px}.sgtube-library__model-header{display:flex;gap:24px;align-items:flex-start;justify-content:space-between}.sgtube-library__model-header h2{font-size:clamp(42px,6vw,68px);margin-bottom:12px}.sgtube-library__model-header .sgtube-library__eyebrow{margin-bottom:12px}.sgtube-library__type{color:var(--sg-muted);font-size:15px;margin-bottom:12px}.sgtube-library__aliases{font-size:12px;color:var(--sg-muted)}.sgtube-library__badges{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 20px}.sgtube-library__quality-note{padding:12px 16px;border-left:3px solid #b69b77;background:#f2ecdf;color:var(--sg-muted);font-size:13px;white-space:pre-wrap}.sgtube-library__variants{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:20px 0;font-size:12px}.sgtube-library__variants button{font-size:12px;padding:5px 8px}.sgtube-library__section{margin-top:32px;border-top:1px solid var(--sg-line);padding-top:24px}.sgtube-library__section-heading{display:flex;gap:18px;align-items:baseline;margin-bottom:14px}.sgtube-library__section-heading>span{font-size:12px;color:#9a815f}.sgtube-library__section-heading h3{font-size:27px;margin:0}.sgtube-library__section-caption{font-size:12px;color:var(--sg-muted);margin-bottom:20px}.sgtube-library__record{padding:14px 0;border-bottom:1px solid #ebe3d6}.sgtube-library__record:last-child{border-bottom:0}.sgtube-library__record h4{font-size:16px;font-weight:600;margin-bottom:8px}.sgtube-library__prose{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.sgtube-library__conditions{font-size:12px;color:var(--sg-muted);white-space:pre-wrap}.sgtube-library__citations{font-size:11px;color:var(--sg-muted);padding-left:16px;margin:12px 0 0}.sgtube-library__citations li{margin:5px 0}.sgtube-library__citations a,.sgtube-library__text-link{color:var(--sg-accent);text-decoration:underline;text-underline-offset:3px}.sgtube-library__diagram{display:block;max-width:100%;height:auto;max-height:700px;object-fit:contain;background:#fff;margin:15px 0;border:1px solid var(--sg-line)}.sgtube-library__pins{border-collapse:collapse;width:100%;font-size:13px;margin:15px 0}.sgtube-library__pins th,.sgtube-library__pins td{padding:9px 12px;border:1px solid var(--sg-line);text-align:left}.sgtube-library__pins th{background:#f0e8da}.sgtube-library__pending{font-size:13px;color:var(--sg-muted);font-style:italic;padding:18px 0}.sgtube-library__sources{border-top:1px solid var(--sg-line);padding-top:20px;margin-top:30px}.sgtube-library__sources h3{font-size:22px}.sgtube-library__error{color:#8b3525}.sgtube-library[aria-busy=true] .sgtube-library__results{opacity:.55}
.sgtube-library__advanced{margin-top:16px;color:var(--sg-muted);font-size:12px}.sgtube-library__advanced summary{cursor:pointer;padding:4px 0;width:max-content}.sgtube-library__advanced summary:focus-visible{outline:3px solid #ad865a;outline-offset:3px}.sgtube-library__advanced .sgtube-library__filters{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}
.sgtube-library__viewer{margin:18px 0;border:1px solid var(--sg-line);background:#fffdf8;max-width:100%}.sgtube-library__viewer-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;background:#f2ecdf}.sgtube-library__viewer-controls button{border:1px solid #c6b393;background:#fffdf8;color:var(--sg-ink);padding:5px 11px;border-radius:2px;font-size:12px}.sgtube-library__viewer-controls span{font-size:11px;color:var(--sg-muted);min-width:42px}.sgtube-library__viewer-frame{width:100%;max-height:85vh;overflow:auto;overscroll-behavior:contain;background:#fff;min-height:80px}.sgtube-library__canvas{display:block;max-width:none!important;user-select:none;-webkit-user-select:none}.sgtube-library__viewer figcaption{font-size:12px;color:var(--sg-muted);padding:10px 14px;white-space:pre-wrap}.sgtube-library__viewer-message{padding:20px;font-size:13px}.sgtube-library__viewer-notice{font-size:12px;color:var(--sg-muted);border-left:3px solid #b69b77;padding:10px 14px;background:#f2ecdf}
@media print{.sgtube-library__viewer{display:none!important}.sgtube-library__viewer-notice:after{content:' Reference images are available in the online viewer.'}}
@media(max-width:900px){.sgtube-library__results{grid-template-columns:repeat(2,minmax(0,1fr))}.sgtube-library__filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.sgtube-library{padding:22px 16px}.sgtube-library__search{padding:16px}.sgtube-library__search-row,.sgtube-library__model-header{flex-direction:column}.sgtube-library__search-row button{width:100%}.sgtube-library__results{grid-template-columns:1fr}.sgtube-library__filters,.sgtube-library__advanced .sgtube-library__filters{grid-template-columns:1fr}.sgtube-library__card{min-height:124px}.sgtube-library__section-heading h3{font-size:23px}.sgtube-library__download{display:inline-block;white-space:normal}.sgtube-library__alphabet{gap:3px}.sgtube-library__alphabet button{min-width:30px;padding:8px}.sgtube-library__pagination{gap:14px}}
