/* Lite mode (ss_lite.js): the effects an old phone cannot draw smoothly, off. Nothing here hides or removes anything
   the person uses, and the offline copy is not touched. */
html.ss-lite .ss-tabbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-color, #fff); }
html.ss-lite .ss-pop, html.ss-lite .ss-login-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* pages and panes arrive without sliding, and the pane's frame does not flash; arranging Home does not rock every piece */
html.ss-lite .ss-in-ahead, html.ss-lite .ss-in-back { animation: none; }
html.ss-lite .ss-pane-arrive::after { animation: none; display: none; }
html.ss-lite .ssr-pieces.editing .ssr-piece { animation: none; }
html.ss-lite .ss-fan { animation: none; }
/* shadows: flat cards, and the drop shadows of sheets and widgets off */
html.ss-lite md-elevated-card { --md-elevated-card-container-elevation: 0; --md-elevated-card-hover-container-elevation: 0;
	--md-elevated-card-pressed-container-elevation: 0; --md-elevated-card-focus-container-elevation: 0; }
html.ss-lite .ssr-piece, html.ss-lite .ssr-frame, html.ss-lite .ss-sheet .modal-content, html.ss-lite .ss-me-card,
html.ss-lite .ss-rows, html.ss-lite .ss-compose { box-shadow: none; }
html.ss-lite * { scroll-behavior: auto !important; }
/* the headers that blur what scrolls under them (Frappe's page head, the page's tabs): solid instead, which costs nothing to draw */
html.ss-lite .page-head, html.ss-lite md-tabs.ss-tabs { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.ss-lite .page-head { background: #fcfcfc !important; background: var(--ss-surface, #fcfcfc) !important; }
html.ss-lite md-tabs.ss-tabs { background: #fcfcfc; background: var(--ss-surface, #fcfcfc); }
html[data-theme="dark"].ss-lite .page-head { background: #0f1511 !important; background: var(--ss-surface, #0f1511) !important; }
html[data-theme="dark"].ss-lite md-tabs.ss-tabs { background: #0f1511; background: var(--ss-surface, #0f1511); }
