/* r459 (20 Nov 2026, owner): phone - the chart fills the screen edge to edge: no rounded corners, no grey frame around it.
   Only the live screen changes; saved photos are drawn from the chart canvas and look exactly as before. */
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
  html[data-theme] body:not(.embed) .stage:is(.lay-1, .is-focused), html[data-theme] body:not(.embed) .stage:not([class*=lay-]) { padding: 0 !important; border-radius: 0 !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; }
  html[data-theme] body:not(.embed) .stage:is(.lay-1, .is-focused) > .card, html[data-theme] body:not(.embed) .stage:not([class*=lay-]) > .card,
  html[data-theme] body:not(.embed) .stage:is(.lay-1, .is-focused) > .slot-card > iframe { border-radius: 0 !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; }
  html[data-theme] body:not(.embed) .stage:not(.is-focused):not(.lay-1)[class*=lay-], html[data-theme] body:not(.embed) .stage:not(.is-focused):not(.lay-1)[class*=lay-] > .card { border-radius: 4px !important; }
  body.embed .card { border-radius: 0 !important; border: 0 !important; }
  .stage:is(.lay-1, .is-focused) > .card.panel-active::after { display: none; }
}
/* r459b owner: phone - the parts under the chart (time axis area, panels, bars) also get square corners on left and right.
   Single chart only; a 2/3/4-chart layout keeps its small 4 px corners. Floating buttons and sheets keep their round shape. */
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
  html[data-theme] body:not(.embed) .stage:is(.lay-1, .is-focused) > *, html[data-theme] body:not(.embed) .stage:not([class*=lay-]) > *,
  html[data-theme] body:not(.embed) .stage:is(.lay-1, .is-focused) > .slot-card, html[data-theme] body.embed .card, html[data-theme] body.embed #chart,
  html[data-theme] body:not(.embed) .stage:is(.lay-1, .is-focused) #chart, html[data-theme] body:not(.embed) .stage:not([class*=lay-]) #chart,
  html[data-theme] body:not(.embed) .rail, html[data-theme] body:not(.embed) .dock, html[data-theme] body:not(.embed) footer.bottom, html[data-theme] body:not(.embed) .mnav {
    border-radius: 0 !important; }
  html[data-theme] body:not(.embed) footer.bottom, html[data-theme] body:not(.embed) .rail, html[data-theme] body:not(.embed) .dock { margin-left: 0 !important; margin-right: 0 !important; border-left: 0 !important; border-right: 0 !important; }
}
/* r461 owner: phone - the symbol / time frame bar above the bottom navigation had round top corners; now square, edge to edge */
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
  html[data-theme] body:not(.embed) .top, html[data-theme] body.mobile-toolbar-mounted:not(.embed) .top {
    border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; border-left: 0 !important; border-right: 0 !important; }
}
