/* Theme only: original markup, dimensions, grid, menus and breakpoints remain. */
html[data-theme872=glass] body{isolation:isolate;background-color:#07131f;background-image:radial-gradient(ellipse at 6% 24%,#25789a70,transparent 48%),radial-gradient(ellipse at 89% 70%,#46648b55,transparent 48%),linear-gradient(130deg,#091c2b,#07101b 70%);background-attachment:fixed}
html[data-theme872=glass] #ambient339{z-index:-1}
html[data-theme872=glass] :is(.mac139-head,.painel-menu,.tabs-container,.monitor-card,.table-wrap,.card,.metrics article,.notification-card,.card32,.t680-card,.vehicles486-card,.s198-card,.admin405-nodes,.admin405-loading,.reports866-overview,.reports558-summary,.admin405-tabs,.s198-nav),:host([data-glass872]) :is(.card,.panel,.table-wrap,.hero,.package-card){background:linear-gradient(125deg,#bedfff17,#aacded08)!important;border-color:#a3cee340!important;border-radius:8px!important;box-shadow:inset 0 1px #e7f6ff09,0 14px 35px #00000014;backdrop-filter:blur(18px)}
html[data-theme872=glass] :is(.monitor-head,.notification-toolbar,.mac-modal-header,.mac-modal-footer,thead),:host([data-glass872]) :is(thead,.modal-header,.modal-footer){background:#96c7e50b!important;border-color:#9fc8e62c!important}
html[data-theme872=glass] :is(button,.btn,.tab-btn,input,select,textarea),:host([data-glass872]) :is(button,input,select,textarea){border-radius:5px!important}
html[data-theme872=glass] button,:host([data-glass872]) button{transition:background-color .18s,border-color .18s,box-shadow .18s}
html[data-theme872=glass] :is(input,select,textarea),:host([data-glass872]) :is(input,select,textarea){background-color:#06152270!important}
html[data-theme872=glass] option,:host([data-glass872]) option{background:#102435}
html[data-theme872=glass] dialog:not(.tutorial667),:host([data-glass872]) dialog:not(.tutorial667){background:linear-gradient(135deg,#203e51ee,#0c2031f5)!important;border-color:#a7d7f14f!important;border-radius:8px!important;backdrop-filter:blur(24px);box-shadow:0 35px 110px #0008}
html[data-theme872=glass] dialog:not(.tutorial667)::backdrop,:host([data-glass872]) dialog:not(.tutorial667)::backdrop{background:#030c178f;backdrop-filter:blur(6px)}

/* Native dialog lifecycle remains synchronous; closing transitions retain the overlay only visually. */
html[data-theme872=glass] dialog:not(.tutorial667),:host([data-glass872]) dialog:not(.tutorial667){opacity:0;transform:translateY(12px) scale(.985);transition:opacity .18s,transform .2s,display .2s allow-discrete,overlay .2s allow-discrete}
html[data-theme872=glass] dialog:not(.tutorial667)[open],:host([data-glass872]) dialog:not(.tutorial667)[open]{opacity:1;transform:none}
@starting-style{html[data-theme872=glass] dialog:not(.tutorial667)[open],:host([data-glass872]) dialog:not(.tutorial667)[open]{opacity:0;transform:translateY(16px) scale(.98)}}
#ambient872{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}#ambient872 svg{width:100%;height:100%;fill:none;stroke:#9cd7ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.34}
html[data-theme872=glass] #ambient339 .ambient339-pulse{display:none}
@media(prefers-reduced-motion:reduce){html[data-theme872=glass] *, :host([data-glass872]) *{animation:none!important;transition:none!important}#ambient872{display:none}}

/* Header controls keep their original shape and blend into the glass header. */
html[data-theme872=glass] #mac139-shell #mac139-client{background-color:transparent!important;box-shadow:none}
html[data-theme872=glass] #mac139-shell #mac139-avatar{border-radius:50%!important}

/* Apps882: appearance only, scoped away from the desktop and capture controls. */
.appearance882{margin:16px 0;padding:14px 0;border-top:1px solid #385365;border-bottom:1px solid #385365}
.appearance882 h3{font-size:13px;margin:0 0 12px;color:#acc8db}
.appearance882 button{font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;min-height:40px;padding:10px 12px;color:#dce8f3;background:#1b3449;border:1px solid #416378;border-radius:8px;cursor:pointer;text-transform:uppercase}.appearance882 button:disabled{opacity:.5;cursor:default}
.appearance-options882{display:flex;gap:10px}
.appearance-options882 button{flex:1;min-width:0}
.appearance-options882 button[aria-pressed=true]{background:#236b93!important;border-color:#73b9df!important;color:#fff}
.appearance882 [role=status]{min-height:36px;margin:10px 0;font-size:11px;line-height:18px;color:#b4c8d6}
.appearance-actions882{display:flex;justify-content:flex-end}
.profile-row882{display:flex;align-items:center;justify-content:space-between;gap:12px}
.profile-row882 button{font-size:11px;padding:7px 12px;flex:none}
#portariaProfile882{width:min(440px,calc(100vw - 24px))}
#portariaProfile882 h2{font-size:18px}
#portariaProfile882 footer{display:flex;justify-content:flex-end;margin-top:16px}
html[data-app-theme882][data-theme872=glass] .phone{background:transparent}
html[data-app-theme882][data-theme872=glass] :is(.operator-welcome,.welcome441,.registration-person706,.quick-action,.profile-account452,.account,.details,.parcel-list270,.home-summary269,.mail-action542,.profile,.operator-nav705,.resident-nav598,#nav,#app>header,.business-dialog729,fieldset,details){background:linear-gradient(125deg,#bedfff17,#aacded08)!important;border-color:#a3cee340!important;border-radius:8px!important;box-shadow:inset 0 1px #e7f6ff09,0 12px 30px #00000014;backdrop-filter:blur(18px)}
html[data-app-theme882][data-theme872=glass] :is(#nav,.operator-nav705,.resident-nav598){background:#102334e8!important;backdrop-filter:blur(20px)}
html[data-app-theme882][data-theme872=glass] :is(.operator-logo,.welcome-photo441){border-radius:50%!important}
html[data-app-theme882][data-theme872=glass] :is(.operator-welcome select,.welcome-condo441 select){background:transparent!important}
html[data-app-theme882][data-theme872=glass] :is(#cameraScreen,#camera,.camera-wrapper,.capture-preview540){backdrop-filter:none}

/* Gestor883: expand the translucent surface without narrowing or moving fields. */
html[data-app-theme882=operador][data-theme872=glass] :is(#facialForm>.card:first-child,#profile729 [data-details]>fieldset){margin-inline:-8px!important;padding-inline:8px!important}
