/* V143.51 HTML authoring panel. Scoped to administrative slideshow/popup views. */
#adminView-slider .v14351-author,#adminView-popup .v14351-author{margin:12px 0 15px;padding:15px;background:#f8fafc;border:1px solid #dfe7f0;border-radius:9px;min-width:0;box-sizing:border-box}
#adminView-slider .v14351-title,#adminView-popup .v14351-title{display:flex;justify-content:space-between;gap:6px;align-items:center;flex-wrap:wrap;font-size:13px}
#adminView-slider .v14351-title span,#adminView-popup .v14351-title span{font-size:11px;color:#64748b}
#adminView-slider .v14351-chooser,#adminView-popup .v14351-chooser{margin:12px 0}
#adminView-slider .v14351-chooser select,#adminView-popup .v14351-chooser select{width:100%;min-height:40px;background:#fff;border:1px solid #ccd7e5;border-radius:7px;color:#1e293b;font-size:13px;font-weight:700;padding:9px}
#adminView-slider .v14351-html-box,#adminView-popup .v14351-html-box{padding:0;min-width:0}
#adminView-slider .v14351-html-box[hidden],#adminView-popup .v14351-html-box[hidden]{display:none!important}
#adminView-slider .v14351-code-top,#adminView-popup .v14351-code-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;font-size:12px}
#adminView-slider .v14351-code-top button,#adminView-popup .v14351-code-top button{font-size:11px;min-height:34px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}
#adminView-slider .v14351-html-box textarea,#adminView-popup .v14351-html-box textarea{display:block;width:100%;min-width:0;min-height:330px;max-height:55vh;resize:vertical;padding:13px;border:1px solid #cbd5e1;border-radius:8px;background:#101827;color:#dbeafe;font:12px/1.7 Consolas,'Cascadia Code',monospace;white-space:pre;overflow:auto;tab-size:2;box-sizing:border-box}
#adminView-slider .v14351-html-box textarea:focus,#adminView-popup .v14351-html-box textarea:focus{outline:2px solid #60a5fa;outline-offset:1px}
#adminView-slider .v14351-code-foot,#adminView-popup .v14351-code-foot{display:flex;justify-content:flex-end;font-size:11px;color:#64748b;padding:8px 0}
#adminView-slider .v14351-safety,#adminView-popup .v14351-safety{font-size:11px;line-height:1.65;color:#64748b;margin:5px 0}
#adminView-slider .v14351-visible-field,#adminView-popup .v14351-popup-field{display:block;margin:12px 0 0;min-width:0}
#adminView-slider.v14351-html-active .v14350-quick-panel,#adminView-slider.v14351-html-active .v14350-basic-text,#adminView-slider.v14351-html-active .v14350-advanced{display:none!important}
#adminView-popup.v14351-html-active .v14351-popup-legacy-content,#adminView-popup.v14351-html-active .v14351-popup-legacy-design{display:none!important}
/* Reusable, isolated HTML display; CSS from HTML cannot change any parent-page styles. */
.hana-html-slide{width:100%;height:100%;min-height:var(--hero-slide-h-desktop,660px);overflow:hidden;position:relative;background:#fff}
.hana-html-studio-frame{display:block;width:100%;height:100%;border:0;overflow:auto;background:#fff}
.hana-html-popup-card{border-radius:12px!important;background:#fff;overflow:hidden!important;}
.hana-html-popup-inner{width:100%;height:min(68vh,420px);overflow:hidden}
.hana-html-popup-card>.home-popup-close{z-index:4!important;background:#fff;border-radius:999px;width:34px;height:34px;box-shadow:0 2px 12px #0002}
.hana-html-popup-card>.home-popup-footer{z-index:3;position:relative;background:#fff}
@media(max-width:620px){.hana-html-slide{min-height:var(--hero-slide-h-mobile,620px)!important;height:var(--hero-slide-h-mobile,620px)!important}.hana-html-studio-frame{min-height:100%}.hana-html-popup-inner{max-height:62vh}}

#adminView-popup .v14351-popup-height{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:700;margin-top:10px}
#adminView-popup .v14351-popup-height select{min-height:36px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:8px}
