/* Atlas Analytics 0.12.5 — layout-only wiring to native v0.11.37 UI.
   Tables, pager, native calendar, controls, modals, themes and spacing are owned
   by existing Atlas modules. No parallel design-system overrides. */
#atlas-v12-root{min-width:0;width:100%}
#atlas-v12-toolbar .atlas-toolbar-left,#atlas-v12-toolbar .atlas-toolbar-right{gap:8px;align-items:center}
#atlas-v12-toolbar .field{margin:0;min-width:0}
#atlas-v12-toolbar .field input{width:min(230px,100%);min-height:35px}
#atlas-v12-inner{min-width:0}
#atlas-v12-inner .table-wrap{width:100%;max-width:100%}
#atlas-v12-inner .atlas-record-name{font-weight:565}
#atlas-v12-inner .row-actions{display:flex;align-items:center;gap:5px}
#atlas-v12-inner .row-actions .tiny{display:inline-flex;align-items:center;justify-content:center}
#atlas-v12-inner .row-actions svg,#atlas-v12-inner .tiny svg{width:15px;height:15px}
#atlas-v12-inner .atlas-pager{margin:0}
#atlas-v12-inner .report-filters{margin-bottom:12px}
#atlas-v12-root .atlas-v12-footer-muted{font-size:calc(12px + var(--atlas-font-step,0px));color:var(--muted);padding:12px 4px}
#atlas-v12-root .atlas-v12-native-progress{width:100%;height:8px;border-radius:5px;background:var(--soft);overflow:hidden}
#atlas-v12-root .atlas-v12-native-progress>span{height:100%;display:block;background:var(--purple);border-radius:5px}
#atlas-v12-root .atlas-v12-following{margin-top:18px}
#atlas-v12-root .error{padding:14px 4px}
#atlas-v12-root .kpis{margin-top:0}
#atlas-v12-root [data-atlas-v12-remote] tbody tr{white-space:nowrap}
#modalBg #atlas-v12-form{display:flex;flex-direction:column;gap:13px}
#modalBg #atlas-v12-form>.field{width:100%;min-width:0}
#modalBg #atlas-v12-form>.field :is(input:not([type=checkbox]),select,textarea){width:100%;max-width:100%}
#modalBg #atlas-v12-form .atlas-settings-row{margin:0;padding:12px 0;border-bottom:1px solid var(--line)}
#modalBg #atlas-v12-form .atlas-setting-switch{flex:0 0 auto}
#modalBg #atlas-v12-form .atlas-setting-switch>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}
#modalBg .atlas-v12-secret{display:block;overflow-wrap:anywhere;font-family:ui-monospace,monospace;user-select:all}
#modalBg .atlas-v12-eventpre{overflow:auto;white-space:pre-wrap;max-width:100%;font:12px/1.6 ui-monospace,monospace}
@media(max-width:700px){
 #atlas-v12-toolbar .atlas-toolbar-left{min-width:0;flex-wrap:nowrap}
 #atlas-v12-toolbar .atlas-toolbar-right{min-width:130px}
 #atlas-v12-toolbar .field input{width:100%}
 #atlas-v12-root .atlas-v12-following{margin-bottom:90px}
}
/* Native v0.11.37 table geometry across the analytics route wrappers.
   Only connect the new route's containers to existing flex/sticky rules;
   actual pagination, totals, scroll and sticky behavior remain native. */
@media (min-width:701px){
 #content.page:has(#atlas-v12-root #reportOutput > .table-wrap) > #atlas-v12-root{
  display:flex;flex:1 1 auto;min-height:0;flex-direction:column;
 }
 #content.page:has(#atlas-v12-root #reportOutput > .table-wrap) #atlas-v12-inner{
  display:flex;flex:1 1 auto;min-height:0;flex-direction:column;
 }
 #content.page:has(#atlas-v12-root #reportOutput > .table-wrap) #reportOutput{
  display:flex;flex:1 1 auto;min-height:0;flex-direction:column;
 }
}

/* Native list toolbar is now a direct child of #content.page, just as in 0.11.37. */
#content.page > #atlas-v12-toolbar{flex:0 0 auto}
#content.page > #atlas-v12-root{flex:1 1 auto;min-height:0}
