html[data-i18n-loading] body { visibility:hidden; }
@media(min-width:861px){.section-shortcut{display:none}}

/* All saved layouts use the same explicit 24-unit coordinate system. */
html[data-theme] body [data-window-layout]:not([hidden]) { display:block!important; gap:0!important; align-content:normal!important; }
html body [data-window-layout]>:is(.snap-card,.premium-layout-panel,.premium-added-panel,.master-chart-card) { overflow:hidden; box-sizing:border-box; }
html body .premium-editor-map { position:relative!important; padding:0!important; border:0!important; overflow:hidden!important; }
html body .premium-editor-window { margin:0!important; min-width:0!important; min-height:0!important; box-sizing:border-box!important; }
html body .custom-space[data-window-layout=custom]>.custom-editor-button { max-height:36px!important; margin:0!important; }
html body .custom-space[data-window-layout=custom]>.custom-add-tile { height:36px!important; min-height:0!important; margin:0!important; }
html[data-theme] body .charts-page #allChartsMasterModal .full-graph-header { flex:0 0 56px!important; height:56px!important; min-height:0!important; margin:0!important; box-sizing:border-box!important; }
html[data-theme] body .charts-page #allChartsMasterModal .all-charts-bento[data-window-layout] { flex:0 0 auto!important; margin:0!important; }

html body [data-window-layout]>[data-window-id]{container:tracker-window / size;overflow:auto;overscroll-behavior:contain}
@container tracker-window (max-width:340px) or (max-height:220px){
 html[data-theme] body [data-window-layout] [data-window-id] :is(.panel-header,.side-sub-header,.center-day-header,.task-quick-add-bar,.swaga-chat-header){flex-wrap:wrap;gap:4px;min-width:0}
 html[data-theme] body [data-window-layout] [data-window-id] :is(input,select,textarea,button){max-width:100%}
 html[data-theme] body [data-window-layout] [data-window-id] .btn-mini{padding:3px 6px!important;min-height:26px}
}
