/* Global responsive UI density. No zoom/transform scaling; print layout unchanged. */
@media screen {
:root {--gst-ui-font:13px;--gst-ui-gap:12px;--gst-ui-control:34px;--gst-ui-radius:10px;--gst-ui-gutter:clamp(12px,1.4vw,24px)}
body {font-size:var(--gst-ui-font);line-height:1.45;}
html body #app.etapa15-shell>main {min-width:0!important;padding-right:var(--gst-ui-gutter)!important;}
html body #app.etapa15-shell .etapa15-topbar {background:var(--gst-header-bg,#F4F8FC);gap:12px!important;margin:0 0 12px!important;padding:8px var(--gst-ui-gutter)!important;height:auto!important;min-height:56px!important;max-height:none!important;}
html body #app .etapa15-topbar .topbar-actions {min-width:0!important;gap:8px!important;height:auto!important;}
html body #app .etapa15-topbar .topbar-actions :is(button,select) {font-size:12px!important;min-height:34px!important;height:34px!important;max-height:none!important;}
html body #app .etapa15-topbar .topbar-global-search {min-width:0!important;}
html body #app .etapa15-topbar .topbar-global-search input {min-width:0!important;font-size:13px!important;}
#app .page {min-width:0;max-width:100%;}
#app .page:not(#serviceconfigPage) .page-toolbar {gap:var(--gst-ui-gap);margin-bottom:12px;flex-wrap:wrap;}
#app .page:not(#serviceconfigPage) .page-toolbar h3 {font-size:clamp(18px,1.5vw,24px)!important;line-height:1.25;}
#app .page:not(#serviceconfigPage)>.box {padding:clamp(12px,1.1vw,18px);min-width:0;}
#app .page:not(#serviceconfigPage) :is(.page-toolbar,.actions,.dialog-actions) button {font-size:13px;min-height:var(--gst-ui-control);padding:7px 11px;border-radius:var(--gst-ui-radius);}
#app .page:not(#serviceconfigPage) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea) {font-size:13px;max-width:100%;}
#app .page:not(#serviceconfigPage) :is(.table-wrap,.table-scroll,.ce-table-wrap,.report-table-wrap) {min-width:0;max-width:100%;overflow-x:auto;}
#app .page:not(#serviceconfigPage) table :is(th,td) {font-size:12px;padding:8px 10px;}
#app .page:not(#serviceconfigPage) table th {font-size:11px;}
#app .page:not(#serviceconfigPage) .stats {gap:var(--gst-ui-gap);}
#app .page:not(#serviceconfigPage) .stats article {padding:12px 14px;gap:6px;min-width:0;}
#app .page:not(#serviceconfigPage) .stats b {font-size:clamp(22px,1.8vw,28px);}
body dialog:not(#guidePrintFormatDialog) {max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;}
body dialog:not(#guidePrintFormatDialog) .dialog-head h2 {font-size:20px;line-height:1.25;}
body dialog:not(#guidePrintFormatDialog) .dialog-actions {flex-wrap:wrap;gap:8px;}
@media(max-width:1250px){html body #app.etapa15-shell .etapa15-topbar {grid-template-columns:minmax(0,1fr) auto!important;display:flex!important;flex-wrap:wrap!important;}html body #app .etapa15-topbar .topbar-global-search {order:3;flex:1 1 100%!important;width:100%!important;}html body #app .etapa15-topbar .topbar-actions {flex-wrap:wrap!important;overflow:visible!important;}}
@media(max-width:900px){html body #app.etapa15-shell>main {padding-left:var(--gst-ui-gutter)!important;}}
@media(max-width:600px){:root{--gst-ui-font:14px;--gst-ui-control:40px;}html body #app .etapa15-topbar .topbar-actions {flex:1 1 100%!important;justify-content:flex-start!important;}#app .page:not(#serviceconfigPage) .page-toolbar {align-items:stretch;}#app .page:not(#serviceconfigPage) :is(.actions,.dialog-actions){flex-wrap:wrap;}body dialog:not(#guidePrintFormatDialog) form{padding:14px;} }
}
