.conf-editando-layout .conf-overview,.conf-editando-layout .conf-cadastros-toolbar{display:none}
.conf-editando-layout .conf-wrap{max-width:none;padding:24px}
.conf-editando-layout .conf-page-title{margin-bottom:20px}
.hud-editor{border:1px solid var(--cf-border);border-radius:12px;overflow:hidden;background:var(--cf-card)}
.hud-editor:fullscreen{padding:18px;border-radius:0;overflow:auto;background:var(--cf-bg)}
.hud-barra{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:18px;border-bottom:1px solid var(--cf-border)}
.hud-barra .conf-field{margin:0;min-width:150px;flex:1;max-width:260px}
.hud-barra .campo{min-height:39px;padding:9px 10px;font-size:12px}
.hud-barra .hud-acoes{margin-left:auto;display:flex;flex-wrap:wrap;gap:7px}
.hud-editor button:disabled{cursor:default}
.hud-ferramentas{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:11px 18px;border-bottom:1px solid var(--cf-border);background:var(--cf-soft)}
.hud-ferramentas button{padding:6px 9px;background:var(--cf-card);color:var(--cf-text);border:1px solid var(--cf-border);border-radius:6px;font-size:11px!important;min-height:31px}
.hud-ferramentas .hud-legenda{margin-left:auto;color:var(--cf-muted);font-size:11px}
.hud-trabalho{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:560px}
.hud-camadas{padding:18px 14px;border-right:1px solid var(--cf-border);background:var(--cf-card)}
.hud-mini-titulo{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.2px;color:var(--cf-muted);font-weight:700;margin:0 0 12px}
.hud-mini-titulo span{letter-spacing:0;font-size:10px}
.hud-camada{display:flex;align-items:center;gap:8px;padding:9px 7px;border:1px solid transparent;border-radius:6px;margin-bottom:3px}
.hud-camada[data-selecionado=true]{border-color:#d5ab24;background:var(--cf-active)}
.hud-camada input{accent-color:#ba9112;flex:none;cursor:pointer;width:15px;height:15px;margin:0}
.hud-camada button{min-width:0;flex:1;padding:0;border:0;background:none;color:var(--cf-text);font-size:11px!important;line-height:1.5;text-align:left}
.hud-camada[data-oculto=true] button{color:var(--cf-muted)}
.hud-propriedades{margin-top:22px;padding-top:19px;border-top:1px solid var(--cf-border)}
.hud-propriedades h3{font-size:12px;margin:0 0 13px;font-weight:650}
.hud-medidas{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hud-medidas label{display:grid;gap:6px;font-size:10px;color:var(--cf-muted)}
.hud-medidas input{width:100%;min-width:0;min-height:35px;border:1px solid var(--cf-border);border-radius:6px;background:var(--cf-soft);color:var(--cf-text);padding:7px;font:12px system-ui}
.hud-alinhar{display:flex;gap:4px;margin-top:10px}.hud-alinhar button{flex:1;border:1px solid var(--cf-border);border-radius:5px;background:var(--cf-soft);color:var(--cf-text);height:30px;font-size:15px!important}
.hud-dica{font-size:10px;color:var(--cf-muted);line-height:1.8;margin:13px 0 0}
.hud-ativar{display:flex;gap:8px;align-items:flex-start;border-top:1px solid var(--cf-border);padding-top:18px;margin:20px 0 0;color:var(--cf-text);font-size:11px;line-height:1.6}
.hud-ativar input{accent-color:#b28c12;margin-top:3px}
.hud-palco-wrap{min-width:0;background:#0b1e28;color:#c8dce6;display:flex;flex-direction:column}
.hud-palco-topo{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:1.3px;padding:16px 20px;color:#7899ac;border-bottom:1px solid #27424f}
.hud-palco-topo strong{color:#cee0e9;font-size:10px;font-weight:600;letter-spacing:.3px}
.hud-area{padding:24px 20px 40px;overflow:auto;height:clamp(480px,70vh,900px);background:radial-gradient(#2e4b59 1px,transparent 1px);background-size:16px 16px}
.hud-prancheta{position:relative;width:100%;aspect-ratio:var(--hud-preview-ratio,1.7778);margin:0 auto;background-color:#142b38;background-image:linear-gradient(to right,#93b1c414 1px,transparent 1px),linear-gradient(to bottom,#93b1c414 1px,transparent 1px);background-size:calc(100% / 24) calc(100% / 48);border:1px solid #456170;box-shadow:0 14px 50px #00101970;isolation:isolate}
.hud-prancheta[data-formato=celular]{max-width:390px}
.hud-bloco{position:absolute;box-sizing:border-box;padding:3px;outline:none;touch-action:none;user-select:none;cursor:grab;min-width:0}
.hud-bloco:active{cursor:grabbing}
.hud-bloco-miolo{height:100%;min-width:0;overflow:hidden;border:1px solid #3a5869;border-radius:5px;background:#1b3647;color:#c9dce8;box-shadow:0 2px 8px #0001}
.hud-bloco[data-selecionado=true] .hud-bloco-miolo,.hud-bloco:focus-visible .hud-bloco-miolo{border:2px solid #f6c62e;box-shadow:0 0 0 3px #f6c62e18}
.hud-bloco[data-conflito=true] .hud-bloco-miolo{border-color:#ff8170;background:#4d303b}
.hud-bloco-titulo{display:flex;align-items:center;gap:5px;padding:6px 8px;font:600 10px/1.4 system-ui,sans-serif;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#bdd4e2;background:#244355;border-bottom:1px solid #3c5867}
.hud-bloco-titulo:before{content:'⠿';color:#7b9eb2;font-size:13px;line-height:1}
.hud-bloco[data-selecionado=true] .hud-bloco-titulo{color:#f6d978}
.hud-redimensionar{display:none;position:absolute;right:2px;bottom:2px;width:25px;height:25px;border-radius:5px 0 3px 0;background:#f1c334;cursor:nwse-resize;touch-action:none;color:#233b47;text-align:center;font:20px/25px system-ui}
.hud-bloco[data-selecionado=true] .hud-redimensionar,.hud-bloco:focus-visible .hud-redimensionar{display:block}
.hud-amostra{padding:8px;font:10px/1.5 system-ui,sans-serif;overflow:hidden;height:calc(100% - 28px);min-height:0}
.hud-amostra strong{color:#e8f2f8}.hud-amostra small{color:#9cb7c8;font-size:8px}
.hud-amostra-cabecalho{display:flex;align-items:center;justify-content:space-between;gap:10px;height:100%}.hud-amostra-cabecalho strong{font-size:clamp(10px,1vw,16px)}.hud-amostra-cabecalho time{color:#f5d67b;font-size:15px;font-variant-numeric:tabular-nums}
.hud-amostra-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;height:100%}.hud-amostra-kpis>div{min-width:0;overflow:hidden;border-radius:4px;background:#284b60;padding:6px;border-top:2px solid #69b7d2}.hud-amostra-kpis b{font-size:19px;display:block;color:#e5f3fb}
.hud-amostra-linha{display:flex;justify-content:space-between;gap:8px;padding:6px 4px;border-bottom:1px solid #375268;font-size:9px}.hud-amostra-linha span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hud-amostra-linha i{color:#7fdfba;font-style:normal;font-size:8px;white-space:nowrap}
.hud-amostra-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hud-amostra-card{border:1px solid #487894;border-left:3px solid #75c7ad;background:#244a60;border-radius:4px;padding:6px;min-width:0}.hud-amostra-card strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.hud-amostra-card small{display:block;font-size:8px}.hud-amostra-card b{font-size:11px;color:#e1f0f8;display:block;margin-top:3px}
.hud-amostra-chip{display:inline-block;padding:3px 7px;margin:2px;border:1px solid #466477;border-radius:12px;font-size:8px;white-space:nowrap}.hud-amostra-chip:first-child{background:#dbb42e;color:#183543;border-color:#dbb42e}
.hud-amostra-barras{display:flex;align-items:flex-end;gap:8px;height:80%;padding:10px}.hud-amostra-barras i{flex:1;background:#6cb3cf;border-radius:4px 4px 0 0;min-height:10px}
.hud-amostra-campo{height:23px;border:1px solid #496578;border-radius:4px;margin:5px 0;background:#213f51;color:#a4bfce;font-size:8px;padding:4px 7px}
.hud-amostra-botao{display:inline-block;padding:5px 10px;border-radius:4px;background:#edc23b;color:#203846;font-weight:700;font-size:9px}
.hud-status-rodape{padding:13px 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--cf-border);font-size:11px;color:var(--cf-muted)}
.hud-status-rodape p{margin:0;line-height:1.6}.hud-status-rodape [data-tone=error]{color:#bd5447}
.hud-editor[data-carregando=true] :is(button,select,input){pointer-events:none;opacity:.5}
.hud-editor .hud-aviso{padding:12px 18px;background:var(--cf-active);font-size:11px;line-height:1.7;color:var(--cf-text);border-bottom:1px solid var(--cf-border)}
.hud-bloco-titulo{padding:4px 7px;font-size:9px}
.hud-amostra{height:calc(100% - 22px);padding:4px}
.hud-amostra-kpis>div{padding:3px 5px}
.hud-amostra-kpis small{font-size:7px;line-height:1.2}
.hud-amostra-kpis small:last-child{display:none}
.hud-amostra-kpis b{font-size:16px;line-height:1.3}
@media(max-width:1100px){.hud-trabalho{grid-template-columns:190px minmax(0,1fr)}.hud-camadas{padding:15px 10px}.hud-ferramentas .hud-legenda{width:100%;margin-left:0}.hud-barra .hud-acoes{width:100%;margin-left:0}.hud-barra .conf-field{max-width:none}.hud-area{padding:20px 12px}}
@media(max-width:720px){.conf-editando-layout .conf-wrap{padding:20px 12px}.hud-trabalho{display:flex;flex-direction:column}.hud-camadas{border-right:0;border-bottom:1px solid var(--cf-border)}#hud-camadas{display:grid;grid-template-columns:1fr 1fr;gap:2px}.hud-propriedades{margin-top:12px;padding-top:12px}.hud-medidas{grid-template-columns:repeat(4,minmax(0,1fr))}.hud-alinhar{max-width:240px}.hud-dica{margin:8px 0}.hud-ativar{padding-top:12px;margin-top:12px}.hud-area{height:550px;min-height:0}.hud-barra{padding:14px;gap:9px}.hud-barra .conf-field{min-width:120px}.hud-palco-topo{padding:13px}.hud-barra .conf-button{flex:1;min-height:40px}.hud-ferramentas{padding:10px 12px}.hud-bloco-titulo{font-size:9px;padding:4px}.hud-amostra{padding:5px}.hud-amostra-kpis{gap:2px}.hud-amostra-kpis>div{padding:3px}.hud-amostra-kpis b{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hud-editor *{scroll-behavior:auto!important}}
