/* Google Material Icons, Filled. Stored locally so Telegram can render them offline. */
@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;font-display:block;src:url('/static/fonts/material-icons-filled.ttf') format('truetype')}
.icon.material-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-family:'Material Icons';font-style:normal;font-weight:400;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;fill:none;stroke:none}
.icon.material-icon.address-glyph{font-size:18px}
.address-icon-choice .icon.material-icon{font-size:22px}
.icon-button .icon.material-icon,.choice-trigger .icon.material-icon,.sheet-close .icon.material-icon,.delete-address .icon.material-icon{font-size:21px}
.bottom-nav .icon.material-icon{font-size:27px}
.notification-master>.icon.material-icon{flex:0 0 24px;width:24px;height:24px;font-size:24px}
.notification-master>span:not(.switch):not(.icon){flex:1;min-width:0}
#home-view .status-mark .icon.material-icon{font-size:28px}
#home-view .status-icon .icon.material-icon{font-size:48px}
.summary-address .icon.material-icon{font-size:22px}
.summary-address .summary-chevron.material-icon{font-size:18px}
@media(max-width:350px){#home-view .status-icon .icon.material-icon{font-size:36px}}

/* Quiet schedule rows: status color stays legible, current interval uses a line. */
.period-row,.period-row.on,.period-row.off,.period-row.transition,.period-row.current{
  background:#17222e;border:0;box-shadow:none;border-radius:15px;
  grid-template-columns:10px minmax(0,1fr) auto;column-gap:12px;
  min-height:62px;padding:12px 14px;
}
.period-row.on{background:#192b29}
.period-row.off{background:#2b2229}
.period-row.transition{background:#282a2c}
.period-row .period-icon,.period-row.on .period-icon,.period-row.off .period-icon,.period-row.transition .period-icon{
  grid-area:auto;width:8px;height:8px;min-width:8px;min-height:8px;border-radius:50%;
  align-self:center;justify-self:center;background:#69b995;color:inherit;
}
.period-row.off .period-icon{background:#df858b}
.period-row.transition .period-icon{background:#c6ad70}
.period-row .period-time{font-size:15px;line-height:20px;font-weight:700;color:#f3f5f7;font-variant-numeric:tabular-nums;white-space:nowrap}
.period-row .period-state,.period-row.current .period-state{font-size:12px;line-height:16px;font-weight:400;color:#9abeb0;white-space:nowrap}
.period-row.off .period-state,.period-row.off.current .period-state{color:#e5a1a5;font-weight:400}
.period-row.transition .period-state{color:#d2bd91}
.period-row.current{position:relative;grid-template-rows:auto auto;grid-template-areas:'dot time now' 'dot state now';row-gap:0;background:#1d2c31}
.period-row.off.current{background:#30272d}
.period-row.current .period-icon{grid-area:dot}
.period-row.current .period-time{grid-area:time}
.period-row.current .period-state{grid-area:state}
.period-current{grid-area:now;align-self:center;padding:0;border:0;border-radius:0;background:transparent;color:#69b995;font-size:12px;line-height:16px;font-weight:600}
.period-row.off.current .period-current{color:#e47e87}
.period-row.transition.current .period-current{color:#d2bd91}
@media(max-width:350px){.period-row,.period-row.current{grid-template-columns:8px minmax(0,1fr) auto;column-gap:8px;padding:10px 11px}.period-row .period-time{font-size:13px}.period-row .period-state,.period-current{font-size:11px}}

/* Compact connectivity status: visible without competing with the power state. */
.connection-note{
  display:grid;grid-template-columns:8px auto minmax(0,1fr) auto;align-items:center;gap:8px;
  min-height:40px;margin:0 0 8px;padding:8px 4px;border:0;border-radius:0;background:transparent;
  color:var(--text);font-size:13px;line-height:18px;
}
.connection-note[hidden]{display:none}
.connection-state-dot{width:8px;height:8px;border-radius:50%;background:#ef7655}
.connection-note strong{font-size:13px;font-weight:600;white-space:nowrap}
.connection-copy{min-width:0;color:var(--muted);font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.connection-refresh{min-height:32px;padding:4px 0 4px 8px;background:transparent;color:var(--yellow);font-size:12px;font-weight:600}
.connection-refresh:focus,.connection-refresh:focus-visible{outline:none;box-shadow:none}

/* One navigation treatment on every screen, directly on the app background. */
.bottom-nav{background:var(--bg);border:0;box-shadow:none;backdrop-filter:none}
.bottom-nav [aria-current=page]{background:transparent;color:var(--yellow)}
.bottom-nav button:focus,.bottom-nav button:focus-visible{outline:none;box-shadow:none}

/* District choices are grouped by spacing, not divider lines. */
.branch-option{border-bottom:0}
