.scripts-heading{max-width:880px;margin-bottom:24px}.scripts-heading .lead{margin-bottom:12px}.script-search{max-width:800px;margin:24px 0 16px}.script-search label{display:block;font-weight:650;margin-bottom:7px}.script-search>div{display:flex;gap:8px}.script-search input[type=search]{flex:1;min-width:0}.script-filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.script-filters a{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid var(--line,#d9e6e4);border-radius:8px;text-decoration:none;color:inherit}.script-filters [aria-current=true]{background:#dff6f1;border-color:#138b7e;color:#08695f}.scripts-result{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.scripts-result p{margin:0}.script-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.script-card{border:1px solid #dce6e4;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;background:white}.script-card-image{display:block;background:#f4f7f6;aspect-ratio:600/270;overflow:hidden}.script-card-image img{width:100%;height:100%;object-fit:contain;display:block}.script-card-body{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}.script-card-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:9px}.script-card h2{font-size:1.23rem;margin:0}.script-card h2 a{text-decoration:none;color:inherit}.script-card p{font-size:.94rem;line-height:1.5;margin:0 0 14px}.script-key{display:inline-flex;font-size:.78rem;line-height:1.4;font-weight:650;color:#675331;background:#f7f1e5;padding:5px 8px;border-radius:5px}.script-key.is-keyless{color:#08695f;background:#e1f5ef}.script-card .script-fact-label{font-size:.78rem;color:#5b6e69;margin-bottom:6px}.script-tags{list-style:none;padding:0;margin:0 0 15px;display:flex;flex-wrap:wrap;gap:5px}.script-tags li{font-size:.79rem;background:#f3f6f5;padding:4px 7px;border-radius:4px}.script-card-meta{font-size:.79rem;line-height:1.5;display:grid;grid-template-columns:100px 1fr;gap:5px 8px;margin:0 0 16px}.script-card-meta dt{color:#5c6e68}.script-card-meta dd{margin:0;overflow-wrap:anywhere}.script-detail-link{margin-top:auto;font-weight:650;display:flex;justify-content:space-between;gap:8px;text-decoration:none}.script-notice{border-left:3px solid #dba75c;padding:4px 0 4px 15px;margin:28px 0;max-width:1000px;line-height:1.65}.script-guides{margin:32px 0}.script-guides .guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.script-guides .guide-list a{padding:13px 0;border:0;border-bottom:1px solid #e2ebe8;border-radius:0;background:none;display:flex;flex-direction:column;gap:6px}.script-guides .guide-list span{font-size:.9rem;color:#52665f;font-weight:400;line-height:1.5}.scripts-faq{max-width:1000px;margin:36px 0}.scripts-faq details{border-bottom:1px solid #dce6e4;padding:14px 0}.scripts-faq summary{font-weight:650;cursor:pointer;min-height:24px}.scripts-faq p{line-height:1.7;margin:12px 0 4px}.script-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,440px);align-items:center;gap:30px;margin-bottom:28px}.script-head img{width:100%;height:auto;max-height:260px;object-fit:contain;border-radius:10px}.script-head p:last-child{font-size:.9rem;color:#5c6e68}.script-info{display:grid;grid-template-columns:1fr 1fr;gap:36px}.script-detail section{min-width:0}.script-detail h2{font-size:1.45rem}.script-info p,.script-detail>section>p{line-height:1.7;max-width:1050px}.script-info ul{padding-left:22px;line-height:1.8}.script-facts{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 18px;font-size:.92rem;line-height:1.6}.script-facts dt{color:#536b63}.script-facts dd{margin:0;overflow-wrap:anywhere}.script-code-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;font-size:.88rem}.script-code-toolbar [role=status]{font-weight:650;color:#087365}.script-code-toggle summary{cursor:pointer;padding:10px 0;font-weight:650}.script-code{max-width:100%;max-height:330px;overflow:auto;white-space:pre;background:#142d2b;color:#edf9f5;padding:20px;border-radius:10px;font:14px/1.65 ui-monospace,Consolas,monospace;tab-size:4}.script-code-help{font-size:.85rem;color:#5b6f68}.script-detail>section{margin-top:32px}.script-detail .script-card h2{font-size:1.23rem}.script-detail .script-grid{margin-top:20px}button[hidden]{display:none!important}
@media(max-width:1100px){.script-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.script-info{gap:24px}.script-facts{grid-template-columns:1fr;gap:4px}.script-facts dd{margin-bottom:8px}}
@media(max-width:700px){.script-grid{grid-template-columns:minmax(0,1fr);gap:18px}.script-head{grid-template-columns:1fr;gap:16px}.script-head img{max-height:220px}.script-info{grid-template-columns:1fr;gap:12px}.script-guides .guide-list{grid-template-columns:1fr}.script-filters{gap:7px}.script-filters a{font-size:.85rem;padding:9px 11px}.script-card-image{aspect-ratio:600/280}.script-card-body{padding:16px}.script-card-meta{grid-template-columns:95px minmax(0,1fr)}.script-search>div{gap:7px}.scripts-result{align-items:flex-start;font-size:.88rem}.script-code{font-size:12px;padding:14px}.script-head .lead{font-size:1.05rem}.script-code-toolbar{align-items:flex-start}.scripts-heading{margin-bottom:18px}}

.script-card-image{aspect-ratio:auto;height:170px}.script-date{white-space:nowrap}@media(max-width:700px){.script-card-image{height:165px}}

/* Script detail: compact overview and facts */
.script-detail .script-head{grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:24px;align-items:center;margin-bottom:24px}
.script-detail .script-head--no-image{grid-template-columns:minmax(0,1fr)}
.script-head-content{min-width:0}
.script-detail .script-head h1{margin-bottom:12px;overflow-wrap:anywhere}
.script-detail .script-head .lead{font-size:1.05rem;line-height:1.55;margin:0 0 16px}
.script-head-features h2{font-size:1rem;margin:0 0 8px;letter-spacing:0}
.script-head-features .script-tags{margin:0;gap:6px}
.script-head-features .script-tags li{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;background:#e9f5f1;color:#245a4e;font-size:.85rem;line-height:1.3;border-radius:5px}
.script-detail .script-head img{width:100%;height:auto;max-height:220px;object-fit:contain}
.script-detail>.script-head+section{margin-top:24px}
.script-characteristics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;max-width:950px;margin:0}
.script-characteristics>div{display:grid;grid-template-columns:minmax(110px, .7fr) minmax(0,1.3fr);gap:12px;padding:10px 0;border-bottom:1px solid #e2ebe8}
.script-characteristics dt{color:#536b63}
.script-characteristics dd{margin:0;overflow-wrap:anywhere}
@media(max-width:700px){.script-detail .script-head{grid-template-columns:minmax(0,1fr);gap:16px}.script-detail .script-head img{width:auto;max-width:100%;max-height:200px;justify-self:start}.script-characteristics{grid-template-columns:minmax(0,1fr)}.script-characteristics>div{grid-template-columns:minmax(95px,.65fr) minmax(0,1.35fr)}}
