.releases-manager-head{margin-bottom:16px}.release-admin-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}.release-admin-actions a{margin-left:auto;padding:10px 14px;border:1px solid #334050;color:#b5c0ce;font-size:11px;font-weight:800;text-decoration:none}.release-admin-layout{display:grid;grid-template-columns:minmax(270px,.72fr) minmax(0,1.8fr);gap:16px}.release-tree-card,.release-products-card{min-width:0}.release-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.release-panel-title h2,.release-panel-title p{margin:0}.release-panel-title p{color:var(--muted);font-size:12px;margin-top:5px}.release-tree{display:grid;gap:10px}.release-tree-empty,.release-products-empty{padding:28px 18px;border:1px dashed #33404d;color:#8793a1;text-align:center}.release-tree-category{border:1px solid #28333f;background:#0d1117}.release-tree-category-head,.release-tree-subcategory{display:flex;align-items:center;gap:8px;padding:11px 12px}.release-tree-category-head{background:#121821}.release-tree-category-head strong{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.release-tree-category-head small{color:#6f7c8a}.release-tree-subcategories{padding:5px 8px 8px}.release-tree-subcategory{padding:8px;border-bottom:1px solid #202a34;color:#a8b2be;font-size:12px}.release-tree-subcategory:last-child{border-bottom:0}.release-tree-subcategory span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.release-tree button,.release-admin-product-actions button{padding:6px 8px;font-size:9px}.release-tree button.icon-danger{color:#ff7c86;border-color:#622c32}.release-admin-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.release-admin-product{position:relative;min-width:0;border:1px solid #293440;background:#0d1117;overflow:hidden}.release-admin-product-media{height:120px;display:grid;place-items:center;background:linear-gradient(135deg,#171e27,#0a0d12);overflow:hidden}.release-admin-product-media img,.release-admin-product-media video{width:100%;height:100%;object-fit:cover}.release-admin-product-media span{font:32px Impact;color:#394552}.release-admin-new{position:absolute;top:12px;right:-34px;z-index:2;width:120px;padding:5px 0;transform:rotate(38deg);background:#ff1627;color:white;text-align:center;font-size:9px;font-weight:900;letter-spacing:.15em}.release-admin-product-copy{padding:13px}.release-admin-product-copy small,.release-admin-product-copy strong{display:block}.release-admin-product-copy small{color:#ff5966;font-size:8px;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.release-admin-product-copy strong{margin:8px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.release-product-badges{display:flex;gap:5px;flex-wrap:wrap}.release-product-badges span{padding:4px 6px;border:1px solid #2b3743;color:#7f8b98;font-size:8px}.release-product-badges .draft{color:#ffbd67;border-color:#5b4629}.release-admin-product-actions{display:flex;gap:7px;padding:0 13px 13px}.release-admin-dialog{width:min(900px,calc(100vw - 30px));max-height:92vh;border:1px solid #34414f;background:#0b0f14;color:var(--text);padding:28px;overflow:auto}.release-admin-dialog::backdrop{background:#000c;backdrop-filter:blur(7px)}.release-admin-dialog.small-dialog{width:min(500px,calc(100vw - 30px))}.release-admin-dialog form>h2{margin-top:0}.release-admin-dialog label{display:grid;gap:7px;color:#b8c2ce;font-size:12px;font-weight:700}.release-admin-dialog input,.release-admin-dialog textarea,.release-admin-dialog select{width:100%;border:1px solid #303c48;background:#080b0f;color:white;padding:11px 12px;outline:none}.release-admin-dialog input:focus,.release-admin-dialog textarea:focus,.release-admin-dialog select:focus{border-color:#7c5cff}.release-admin-dialog input:disabled,.release-admin-dialog textarea:disabled{opacity:.38}.release-admin-dialog .dialog-actions{margin-top:22px}.product-dialog-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.product-dialog-heading h2{margin:5px 0 0}.product-dialog-heading>span{color:#6f7d8b;font-size:11px}.release-form-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px}.release-switch-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.release-switch,.optional-field-toggle{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:11px!important}.release-switch{padding:13px;border:1px solid #2b3743;background:#10151b}.release-switch.new-switch{border-color:#5f242b;background:#1c090c}.release-switch input,.optional-field-toggle input{width:17px!important;height:17px;margin:2px 0 0;accent-color:#ff1627}.release-switch span,.optional-field-toggle span{display:grid;gap:3px}.release-switch small,.optional-field-toggle small{color:#778492;font-size:10px;font-weight:400}.optional-release-field{display:grid;gap:12px;padding:15px;margin-top:10px;border:1px solid #293541;background:#0d1218}.optional-release-field.enabled{border-color:#613039;background:#130b0e}.release-media-editor{display:grid;gap:10px}.release-media-row{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(140px,.55fr) auto;gap:7px;align-items:center;padding:9px;border:1px solid #2c3742;background:#080b0f}.release-media-row button{padding:10px;color:#ff7c86;border-color:#612d33}.sticky-actions{position:sticky;bottom:-28px;padding:16px 0 0;background:linear-gradient(transparent,#0b0f14 25%)}@media(max-width:1150px){.release-admin-products{grid-template-columns:repeat(2,1fr)}.release-form-grid{grid-template-columns:1fr 1fr}.release-form-grid label:first-child{grid-column:1/-1}}@media(max-width:850px){.release-admin-layout{grid-template-columns:1fr}.release-switch-row{grid-template-columns:1fr}.release-media-row{grid-template-columns:1fr}.release-admin-actions a{margin-left:0}}@media(max-width:560px){.release-admin-products{grid-template-columns:1fr}.release-form-grid{grid-template-columns:1fr}.release-form-grid label:first-child{grid-column:auto}.release-admin-dialog{padding:20px}.product-dialog-heading{display:block}.product-dialog-heading>span{display:block;margin-top:10px}}
.release-product-badges .engagement{border-color:#3a2a2e;color:#dfe6ee;letter-spacing:.06em}
/* --- Editor de descricao --------------------------------------------- */
.rich-editor{border:1px solid #2a3441;background:#080b0f;border-radius:6px;overflow:visible}
.rich-editor.disabled{opacity:.45;pointer-events:none}
.rich-toolbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;border-bottom:1px solid #212a35;background:#0d1218;border-radius:6px 6px 0 0}
.rich-divider{width:1px;height:20px;background:#28323d;margin:0 4px}
.rich-button{min-width:30px;height:30px;padding:0 7px;border:1px solid transparent;border-radius:4px;background:transparent;color:#b3bdc9;font-size:13px;line-height:1;cursor:pointer;transition:.15s}
.rich-button:hover{background:#182029;color:#fff;border-color:#2f3a46}
.rich-button.active{background:#2a0a0e;border-color:var(--red,#ff1627);color:#fff}
.rich-button.danger:hover{background:#2a0a0e;border-color:#8f2130;color:#ff8894}
.rich-select{height:30px;max-width:150px;padding:0 6px;border:1px solid #2b3540;border-radius:4px;background:#0d1218;color:#c3ccd6;font-size:11px;cursor:pointer}
.rich-select.rich-size{max-width:110px}
.rich-color{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid transparent;border-radius:4px;color:#b3bdc9;font-size:13px;font-weight:800;cursor:pointer}
.rich-color:hover{background:#182029;border-color:#2f3a46}
.rich-color::after{content:"";position:absolute;left:6px;right:6px;bottom:4px;height:3px;border-radius:2px;background:currentColor}
.rich-color span{pointer-events:none;line-height:1;margin-bottom:3px}
.rich-color.highlight{color:#ffe500}
.rich-color input{position:absolute;inset:0;opacity:0;cursor:pointer}
.rich-emoji-picker{position:absolute;z-index:20;top:calc(100% + 6px);right:8px;width:296px;max-height:210px;overflow:auto;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;padding:8px;border:1px solid #2f3a46;border-radius:6px;background:#0d1218;box-shadow:0 20px 50px #000c}
.rich-emoji-picker button{height:32px;border:0;border-radius:4px;background:transparent;font-size:17px;line-height:1;cursor:pointer}
.rich-emoji-picker button:hover{background:#1c242e}
.rich-surface{min-height:190px;max-height:420px;overflow:auto;padding:14px 16px;color:#dbe2ea;font-size:14px;line-height:1.7;outline:0}
.rich-surface:focus{box-shadow:inset 0 0 0 1px #7d2730}
.rich-surface[contenteditable="false"]{cursor:not-allowed}
.rich-surface:empty::before{content:attr(data-placeholder);color:#5c6976;pointer-events:none}
.rich-surface p{margin:0 0 10px}
.rich-surface h2{font-size:22px;margin:0 0 10px}
.rich-surface h3{font-size:17px;margin:0 0 8px}
.rich-surface ul,.rich-surface ol{margin:0 0 10px;padding-left:22px}
.rich-surface blockquote{margin:0 0 10px;padding:6px 14px;border-left:3px solid var(--red,#ff1627);color:#aab4c0}
.rich-surface pre{margin:0 0 10px;padding:10px 12px;background:#0b1015;border:1px solid #232d38;border-radius:4px;font-family:"Courier New",monospace;white-space:pre-wrap}
.rich-surface a{color:#5fa8ff;text-decoration:underline}
.rich-surface hr{border:0;border-top:1px solid #2b3540;margin:14px 0}
.rich-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;border-top:1px solid #212a35;background:#0b0f14;border-radius:0 0 6px 6px}
.rich-footer small{color:#6b7785;font-size:10px}
.rich-footer small.over{color:#ff8894;font-weight:800}
.rich-source-toggle{border:1px solid #2b3540;border-radius:4px;background:transparent;color:#94a0ad;padding:5px 10px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.rich-source-toggle:hover{border-color:#4a5764;color:#fff}
.rich-source{width:100%;min-height:170px;padding:12px 14px;border:0;border-top:1px solid #212a35;background:#05070a;color:#8fd6a5;font-family:"Courier New",monospace;font-size:12px;line-height:1.6;resize:vertical;outline:0}
/* selects e botoes da barra: altura pelo conteudo, sem cortar o texto */
.rich-toolbar *{box-sizing:border-box}
.rich-select{height:auto;min-height:36px;max-width:none;flex:0 1 auto;padding:8px 28px 8px 10px;line-height:1.25;font-size:12px;text-overflow:ellipsis}
.rich-select.rich-font{flex:0 1 168px}
.rich-select.rich-size{flex:0 1 128px}
.rich-select.rich-block{flex:0 1 148px}
.rich-button{height:auto;min-height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.rich-color{width:36px;height:36px}
.rich-divider{height:24px}
.rich-clear-highlight{color:#8f9aa7;font-size:15px}
.rich-clear-highlight:hover{background:#182029;color:#fff;border-color:#2f3a46}
/* --- linha de midia + editor de enquadramento -------------------------- */
.release-media-row{grid-template-columns:118px minmax(0,1fr) minmax(120px,.5fr) auto auto}
.release-media-row .media-frame-button.adjusted{border-color:#613039;background:#1c090c;color:#ff9aa4}
.release-admin-product-media{overflow:hidden}
.release-admin-product-media img,.release-admin-product-media video{object-fit:cover}
.frame-dialog{width:min(680px,calc(100vw - 30px))}
.frame-heading h2{margin:0 0 8px}
.frame-heading p{margin:0 0 18px;color:#7f8b98;font-size:12px;line-height:1.6}
.frame-stage{position:relative;width:100%;aspect-ratio:296/158;overflow:hidden;border:1px solid #3a4757;background:#05070a;cursor:grab;touch-action:none;user-select:none}
.frame-stage.dragging{cursor:grabbing;border-color:#ff1627}
.frame-stage img,.frame-stage video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
.frame-stage::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff14}
.frame-controls{display:flex;align-items:center;gap:14px;margin-top:16px}
.frame-zoom{display:flex!important;align-items:center;gap:12px;flex:1;color:#b8c2ce;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.frame-zoom input[type="range"]{flex:1;width:auto!important;padding:0;border:0;background:transparent;accent-color:#ff1627;cursor:pointer}
.frame-controls output{min-width:56px;text-align:right;color:#fff;font-size:13px;font-weight:800}
.frame-actions{display:flex;justify-content:flex-end;gap:9px}
@media(max-width:850px){.release-media-row{grid-template-columns:1fr}}
.release-admin-product-media{position:relative;display:block;height:auto;aspect-ratio:16/9;overflow:hidden}
.release-admin-product-media img,.release-admin-product-media video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.release-admin-product-media span{position:absolute;inset:0;display:grid;place-items:center}
.frame-stage{aspect-ratio:16/9}
.release-extra-locations{margin:18px 0;padding:16px;border:1px solid #29313b;border-radius:8px}
.release-extra-locations>legend{padding:0 8px;font-size:13px;font-weight:700}
.release-extra-locations>p{color:#93a0af;font-size:12px;line-height:1.6;margin:0 0 14px}
#releaseProductLocations{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-height:260px;overflow:auto}
#releaseProductLocations fieldset{min-width:0;margin:0;padding:10px;border:1px solid #29313b;border-radius:6px}
#releaseProductLocations legend{padding:0 5px;font-size:12px;color:#efeff3}
#releaseProductLocations label{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:12px;cursor:pointer}
#releaseProductLocations input{width:16px;height:16px;min-height:0;margin:0;accent-color:#ff1627}
#releaseProductLocations .primary-location{opacity:.45}
