/* V44.08: o conteúdo rola somente entre título e ações. */
@media screen{
html body #editVeil.active{position:fixed!important;inset:0!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:max(12px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) calc(80px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))!important}
html body #editVeil>.dialogbox{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;position:relative!important;left:auto!important;top:auto!important;transform:none!important;resize:none!important;margin:0!important;width:min(740px,100%)!important;min-width:0!important;max-width:100%!important;height:min(850px,calc(100dvh - 104px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding:0!important;will-change:auto!important}
html body #editVeil>.dialogbox>h2{flex:0 0 auto;margin:0!important;padding:18px 20px!important;border-bottom:1px solid var(--ui-border,#29464b)!important;cursor:default!important;touch-action:auto!important;user-select:auto!important;font-size:22px;line-height:1.25}
html body #editVeil>.dialogbox>h2:after{content:none!important}
html body #editVeil #vsgoSettingsContent{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:18px 20px;scroll-padding-block:12px}
html body #editVeil #vsgoSettingsContent>*{max-width:100%;box-sizing:border-box}
html body #editVeil #vsgoSettingsContent input:not([type=checkbox]):not([type=color]),html body #editVeil #vsgoSettingsContent select{min-width:0;width:100%}
html body #editVeil #vsgoSettingsActions.actions{flex:0 0 auto;position:static!important;bottom:auto!important;z-index:auto!important;box-sizing:border-box;display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important;padding:14px 20px!important;background:var(--ui-card,#0a1b1e)!important;background-color:var(--ui-card,#0a1b1e)!important;border-top:1px solid var(--ui-border,#29464b)!important;box-shadow:none!important}
html body #editVeil #vsgoSettingsActions button{flex:0 1 auto!important;min-width:110px!important;min-height:44px!important;margin:0!important;padding:11px 18px!important;font-size:14px!important}
html.vsgo-ui[data-theme] body #editVeil #vsgoColors{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:4px}
html.vsgo-ui[data-theme] body #editVeil #vsgoColors button{background:var(--swatch-gradient)!important;height:42px!important;min-height:42px!important;width:100%;padding:0!important;border:2px solid #78988e!important;box-shadow:none!important}
html.vsgo-ui[data-theme] body #editVeil #vsgoColors button[aria-pressed=true]{outline:3px solid var(--ui-accent,#62dcb6)!important;outline-offset:2px}
#vsgoGradientName{font-size:13px;color:var(--ui-muted,#b0c0c7);margin:6px 0 12px}
#vsgoGradientControls{display:flex;gap:18px;flex-wrap:wrap}#vsgoGradientControls>div{flex:1 1 150px}#vsgoCustomColor,#vsgoCustomColorEnd{width:90px!important;height:44px;padding:3px}
html.vsgo-ui[data-theme=dark] body .shell>.top,html.vsgo-ui[data-theme=dark] body .shell>.navtabs{background:var(--vsgo-header-background,linear-gradient(135deg,#0a1b1e,#0a282b))!important}
html.vsgo-ui[data-theme=light] body .shell>.top,html.vsgo-ui[data-theme=light] body .shell>.navtabs{background:var(--vsgo-header-light-background,linear-gradient(135deg,#f8fbfa,#edf3f1))!important}
/* Fechamento com texto, sem dimensões de botão circular. */
html body :is(#obsSummaryCloseTop,#vsCollabClose,#vsCollabShareClose,.vsm-photo-close,#vsmClose,#vs95InstallDismiss),html body #vsAiVeil .vs-ai-x{box-sizing:border-box!important;flex:0 0 auto!important;width:auto!important;min-width:76px!important;height:auto!important;min-height:40px!important;padding:10px 14px!important;font:600 14px/1.25 var(--ui-font,Arial,sans-serif)!important;border:1px solid var(--ui-border,#29464b)!important;border-radius:10px!important;white-space:nowrap!important}
html body #vsAiVeil .vs-ai-x{margin:0 0 10px 10px!important}
@media(max-width:900px){html body #editVeil.active{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}html body #editVeil>.dialogbox{height:calc(100dvh - 120px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important}}
@media(max-width:700px){html body #editVeil>.dialogbox>h2{padding:15px!important;font-size:20px}html body #editVeil #vsgoSettingsContent{padding:15px}html body #editVeil #vsgoSettingsActions.actions{padding:12px 15px!important}html body #editVeil #vsgoSettingsActions button{flex:1 1 100px!important;min-width:0!important}html.vsgo-ui[data-theme] body #editVeil #vsgoColors{grid-template-columns:repeat(4,minmax(0,1fr))}}
}
/* O texto Fechar no aviso de instalação fica livre do botão flutuante. */
@media screen and (max-width:900px){html body .vs95-install-banner{right:80px!important;max-width:calc(100vw - 96px)!important;flex-wrap:wrap!important}html body .vs95-install-banner>span{flex:1 1 100%;min-width:0}}
