.studio-hidden{display:none!important}.studio-custom-block{grid-column:1/-1;box-sizing:border-box;padding:24px;border-radius:16px;min-width:0}.studio-custom-block>img{max-height:420px;object-fit:cover}.studio-custom-block p{line-height:1.75}.hm-studio-search{position:sticky;top:0;background:var(--hm-bg,#fff);padding:12px;z-index:2}.hm-studio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.hm-studio-card{padding:16px;border:1px solid #ccd8e4;border-radius:14px;min-width:0}.hm-studio-card img{display:block;max-width:100%;height:140px;object-fit:contain}.hm-studio-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.hm-studio-help{padding:12px;border-left:3px solid #008ae6;line-height:1.6}.hm-studio-modal{border:0;border-radius:18px;max-width:960px;width:90vw;max-height:85vh;padding:24px}.hm-studio-modal::backdrop{background:#102b5770}.hm-studio-modal button{min-height:40px}.hm-studio-card label{display:flex;flex-direction:column;gap:8px;margin:8px 0}.hm-studio-card input,.hm-studio-card textarea,.hm-studio-card select{max-width:100%;box-sizing:border-box}.hm-studio-card summary{font-weight:700;cursor:pointer}.hm-studio-card>details{margin:12px 0}@media(max-width:640px){.hm-studio-grid{grid-template-columns:1fr}.hm-studio-modal{padding:12px}}.studio-form:not([hidden]){display:flex;flex-direction:column}

/* Editor-only contextual cards, opened lazily. */
.hm-context{border:1px solid #b9d6ee;border-left:4px solid #0785d4;background:#f5faff;color:#163651;border-radius:12px;padding:18px;margin:16px 0;box-sizing:border-box;min-width:0}.hm-context>strong{font-size:17px}.hm-context-path{font-weight:600;line-height:1.6;overflow-wrap:anywhere}.hm-context-help{font-size:13px;line-height:1.6;color:#536c80}.hm-context h4{margin:18px 0 12px}.hm-context-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.hm-context-image{margin:0;padding:12px;border:1px solid #d2dfeb;border-radius:10px;background:white;min-width:0}.hm-context-image img{display:block;width:100%;max-width:100%;height:220px;object-fit:contain;filter:none;opacity:1;background:#fff}.hm-context-image figcaption{font-size:13px;margin:8px 0}.hm-context-image button{margin-top:10px}.hm-context-texts p{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #dce8f2;padding:8px 0;margin:0;line-height:1.65}.hm-context section>div>details{margin:12px 0}.hm-context section span{overflow-wrap:anywhere}.hm-context-original{margin-bottom:12px}.hm-context-original>small{display:block;margin-bottom:8px}.hm-context-lightbox{border:0;border-radius:16px;max-width:94vw;max-height:90vh;padding:16px}.hm-context-lightbox::backdrop{background:#102b5780}.hm-context-lightbox img{display:block;max-width:85vw;max-height:76vh;object-fit:contain;margin-top:12px}.hm-context ul{line-height:1.9;padding-left:20px}@media(max-width:640px){.hm-context{padding:12px}.hm-context-images{grid-template-columns:1fr}.hm-context-image img{height:180px}}
