.ot-library-page .ot-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ot-library-page .ot-card{padding:28px;border:1px solid #c9dce3;background:#fff;border-radius:8px}
.ot-library-page .ot-card h3{margin-top:0}
.ot-library-page .ot-card a,.ot-library-page .ot-download-list a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.ot-download-list{list-style:none;padding:0;max-width:860px;margin:0 auto}
.ot-download-list li{display:grid;gap:8px;padding:22px 0;border-bottom:1px solid #c9dce3}
.ot-library-notice,.ot-library-intro,.ot-builder{max-width:860px;margin:0 auto}
.ot-library-notice{background:#eef6f8;border-left:4px solid #0b7291;padding:24px;border-radius:4px}
.ot-library-notice h3{margin-top:0}
.ot-builder form{display:grid;gap:28px}
.ot-builder [hidden]{display:none!important}
.ot-builder fieldset{min-width:0;margin:0;padding:24px;border:1px solid #b5cdd6;border-radius:8px;background:#fff}
.ot-builder legend{font-size:1.2rem;font-weight:700;padding:0 8px;max-width:100%;white-space:normal}
.ot-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.ot-choice-grid label{display:flex;gap:10px;align-items:flex-start;line-height:1.5;padding:10px;background:#f4f8fa;border-radius:4px;cursor:pointer;min-height:44px}
.ot-choice-grid input{width:20px;height:20px;flex:none;margin:2px 0 0;accent-color:#087799}
.ot-builder-field{display:grid;gap:8px;margin:18px 0;font-weight:600}
.ot-builder-field input,.ot-builder-field select{width:100%;min-width:0;min-height:48px;border:1px solid #8daab5;border-radius:4px;padding:10px;background:white;color:#231f20;font:inherit;font-weight:400}
.ot-builder details{padding-top:12px}.ot-builder summary{cursor:pointer;font-weight:700;min-height:44px}
.ot-builder-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ot-builder-actions button:not(.btn){min-height:44px;padding:8px 14px;border:1px solid #8daab5;border-radius:4px;background:#fff;color:#164e63;font:inherit;cursor:pointer}
.ot-builder .btn{white-space:normal;text-align:center;height:auto;min-height:48px;line-height:1.5;cursor:pointer}
.ot-builder button:disabled{opacity:.65;cursor:wait}
.ot-builder-preview{padding:24px;background:#eaf5f8;border:1px solid #a1c4cf;border-radius:8px}
.ot-builder-preview h2{font-size:1.4rem;margin-top:0}
.ot-builder :focus-visible{outline:3px solid #075c78;outline-offset:3px}
#builder-status{margin:0;font-weight:600;scroll-margin-top:150px}
.ot-library-page .section-head{max-width:860px;margin-left:auto;margin-right:auto}
@media(max-width:640px){.ot-library-page .ot-library-grid,.ot-choice-grid{grid-template-columns:1fr}.ot-builder fieldset{padding:18px 14px}.ot-builder-preview,.ot-library-notice{padding:20px}.ot-builder-actions{align-items:stretch}.ot-builder-actions .btn{width:100%}}
