.home-editor-studio{width:min(1040px,96vw)!important;max-width:1040px!important;padding:22px!important}.home-editor-studio [hidden]{display:none!important}.home-editor-studio .page-management-tools{display:none}.home-editor-studio .management-workspace,.home-editor-studio .page-management-body{display:block;padding:0;overflow:visible}.home-editor-studio>header{padding:0 0 10px!important;background:transparent!important}.home-editor-studio>header h2{font-size:25px}.hes-tabs{display:flex;gap:5px;padding:0 0 10px;margin-bottom:14px;border-bottom:1px solid var(--line)}.hes-tabs button{border:1px solid var(--line);border-radius:8px;padding:10px 24px;background:var(--white);color:var(--ink)}.hes-tabs [aria-selected=true]{background:#ffda36;color:#181818;border-color:#ffda36;font-weight:700}.home-editor-studio .panel{margin:0;padding:0;border:0;box-shadow:none}.home-editor-studio form{display:block!important}.home-editor-studio .admin-grid{grid-template-columns:1.1fr 1fr;gap:12px}.home-editor-studio .admin-grid>div,#hero-copy-editor .hes-copy-workspace{border:1px solid var(--line);border-radius:10px;padding:20px}.home-editor-studio h2{font-size:21px;margin:0 0 5px}.home-editor-studio h3{margin:0 0 14px}.home-editor-studio label{display:block;font-size:14px;margin:10px 0}.home-editor-studio input:not([type=checkbox]),.home-editor-studio textarea,.home-editor-studio select{width:100%;min-width:0;margin-top:5px;padding:9px 12px;border-radius:8px}.home-editor-studio textarea{min-height:78px}.home-editor-studio p{font-size:13px;line-height:1.65;color:var(--muted)}.home-editor-studio .hes-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:164px;border:1px dashed var(--line);border-radius:8px;background:var(--surface);cursor:pointer}.hes-upload>span{font-size:55px;color:var(--muted)}.hes-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.hes-upload:focus-within{outline:2px solid #e1b500}.home-editor-studio form>.row{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.home-editor-studio .hes-controls{display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:14px}.hes-controls label:last-child{display:flex;align-items:center;gap:10px}.home-editor-studio .hes-controls input[type=number]{width:85px}.hes-copy-workspace{position:relative;min-height:490px;padding:12px!important}.hes-list-title,.home-editor-studio [data-copy-entries]{width:43%}.hes-list-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;gap:8px;font-size:13px}.hes-list-title button{padding:6px 10px;font-size:12px}.home-editor-studio .hero-copy-entry{border:0;margin:0 0 5px;padding:0}.home-editor-studio .hero-copy-entry summary{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:9px;padding:10px;list-style:none;font-size:12px}.hero-copy-entry.hes-selected summary{background:#fff3c9;color:#171717;border-color:#f2ce48}.home-editor-studio [data-copy-title]{min-width:55px}.home-editor-studio [data-copy-preview]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-editor-studio .hero-copy-edit-label{display:none}.home-editor-studio .hero-copy-fields{position:absolute;top:12px;right:12px;width:53%;padding:4px 12px 12px;border:1px solid var(--line);border-radius:9px;box-sizing:border-box}.home-editor-studio .hero-copy-fields .row{display:flex;gap:6px;flex-wrap:wrap}.home-editor-studio .hero-copy-fields button{font-size:11px;padding:5px 9px}.hes-count{float:right;color:var(--muted);font-size:11px}.hes-preview{background:var(--surface);border-radius:8px;padding:12px;margin-top:10px;display:flex;gap:20px}.hes-preview strong{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.25;font-size:22px}.hes-preview small{flex-shrink:0}.home-editor-studio h2::before,.home-editor-studio h3::before{display:none!important}
@media(max-width:700px){.home-editor-studio{padding:14px!important}.home-editor-studio .admin-grid{grid-template-columns:1fr}.hes-tabs button{padding:9px;font-size:12px;flex:1}.home-editor-studio .hes-controls{flex-direction:column;align-items:stretch;gap:0}.hes-list-title,.home-editor-studio [data-copy-entries]{width:100%}.home-editor-studio .hero-copy-fields{position:static;width:100%;margin:8px 0}.hes-copy-workspace{min-height:0}.home-editor-studio .admin-grid>div{padding:14px}.home-editor-studio form>.row{flex-wrap:wrap}}

.home-editor-studio [data-copy-entries]{display:block!important}.home-editor-studio .hero-copy-entry summary{display:flex!important;flex-direction:row!important;padding:9px 10px!important;min-height:0!important}.home-editor-studio .hero-copy-fields{display:block!important}.home-editor-studio .hero-copy-entry:not([open]) .hero-copy-fields{display:none!important}.home-editor-studio .hes-footer{position:static!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}.home-editor-studio .hes-tabs button[aria-selected="false"]{background:var(--white)!important;font-weight:400}.home-editor-studio .hes-tabs button[aria-selected="true"]{background:#ffda36!important}.home-editor-studio input:not([type=checkbox]),.home-editor-studio select{min-height:36px;height:36px}.home-editor-studio .hero-copy-fields label{margin:7px 0}.home-editor-studio .page-management-body{padding:0!important}.home-editor-studio>header [data-management-close]{border-radius:50%;width:30px;height:30px}


/* Keep a single bounded content scroller inside the modal. */
.home-editor-studio>header,.home-editor-studio>.hes-tabs{flex-shrink:0}
.home-editor-studio>.management-workspace{display:flex;flex:1 1 auto;min-height:0;overflow:hidden}
.home-editor-studio .page-management-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:16px!important}

/* Scroll the text-set list independently from its editor. */
.home-editor-studio [data-copy-entries]{max-height:400px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
.home-editor-studio [data-copy-title]{flex-shrink:0;white-space:nowrap}
@media(max-width:700px){.home-editor-studio [data-copy-entries]{max-height:55dvh}}
