/* Blue concept theme. Loaded last so all four tabs and sheets share one palette. */
:root{
  --bg:#0070ff;
  --surface:#0057c7;
  --raised:#004aae;
  --yellow:#ffda24;
  --text:#fff;
  --muted:#d2e2ff;
  --border:#ffffff24;
}
body,.app-shell,.screen{background:var(--bg)}
.card,.empty-card,.queue-picker,.settings-card,.notification-card,#notification-options,
.notification-master,.day-tabs,.choice-trigger,.address-chip,.address-add,
.schedule-share-trigger,.schedule-share-menu,.selection-sheet,.sheet-option,
.time-picker-value,.address-queue,.address-icon-choice,.branch-trigger,
.branch-search input,.address-label input,.field-select,.toast{
  background:var(--surface);
  border-color:transparent;
  box-shadow:none;
}
.day-tab.selected,.address-chip.selected,.address-queue.selected,.address-icon-choice.selected,
.sheet-option.selected,.time-picker-value.selected,.primary-button{
  background:var(--yellow);
  border-color:transparent;
  color:#071625;
  box-shadow:none;
}
.address-add,.address-add .address-glyph,#settings-add-address{background:var(--raised);color:var(--yellow)}
.queue-picker,.settings-card,.notification-card,#notification-options,.notification-master,
.day-tabs,.period-row,.empty-card{border:0}
.choice-trigger,.address-label input,.branch-search input{background:var(--raised);color:var(--text)}
.choice-trigger[aria-expanded=true]{background:var(--raised);border-color:transparent}
.period-row.on,.period-row.on.current{background:#075f94}
.period-row.off,.period-row.off.current{background:#66405b}
.period-row.transition{background:#385da1}
.period-row .period-icon,.period-current{color:#82e2b7}
.period-row.off .period-icon,.period-row.off .period-current{color:#ffb0bf}
.period-row .period-state,.schedule-date,.source-note,.section-intro,.disclaimer,
.field-help,.check-row small,.subtle-button,.summary-note{color:var(--muted)}
.period-row.off .period-state{color:#ffb0bf}
.period-row.on .period-state{color:#a8f4cb}
#home-view .status-card.on{background:#2d9e50}
#home-view .status-card.off{background:#bf4250}
#home-view .status-card.unknown,#home-view .status-card.transition{background:var(--surface)}
#home-view .status-card.on h2,#home-view .status-card.on p,
#home-view .status-card.off h2,#home-view .status-card.off p{color:#fff}
#home-view .status-card.on .status-icon .icon{color:#fff}
#home-view .status-card.on .status-mark{background:#e5ffe9;color:#166b37}
#home-view .timeline,.summary-bar{background:var(--raised)}
#home-view .timeline-bar.off,.legend i.off,#summary-off-bar{background:#064b9e}
#home-view .day-summary,#home-view .advice-card,#home-view .advice-card.emergency{background:var(--surface)}
#home-view .next-card,#home-view .timeline-card,#home-view .home-panel{background:transparent}
.bottom-nav{background:var(--bg);border:0;box-shadow:none;backdrop-filter:none}
.bottom-nav button{color:#d8e6ff}
.bottom-nav [aria-current=page],.bottom-nav [aria-current=page] span{background:transparent;color:var(--yellow)}
.notification-visual{background:var(--bg)}
.notification-visual::after{content:"";position:absolute;inset:auto 0 0;height:22%;background:linear-gradient(transparent,var(--bg));pointer-events:none}
.selection-sheet{background:var(--surface);border:0}
.sheet-close,.branch-option.selected{background:var(--raised)}
.sheet-handle{background:#a9c7f4}
.branch-option{border-bottom-color:#ffffff1c}
.branch-search input:focus,#address-name:focus{background:var(--raised)}
.loading-screen{background:var(--bg)}
.subscription-card{background:var(--surface)}
.subscription-check{background:var(--raised)}
.connection-note{
  display:flex;align-items:center;gap:6px;min-height:42px;
  width:calc(100% + 32px);margin:-8px -16px 12px;padding:8px 16px;
  background:var(--raised);border:0;border-radius:0;color:#fff;
  font-size:12px;line-height:18px;
}
.connection-note.is-offline{background:#ffae1b;color:#071625}
.connection-note .connection-icon{font-size:20px;flex:none}
.connection-note strong{font-size:13px;font-weight:700;color:inherit}
.connection-copy{color:inherit;white-space:normal;overflow:visible}
.connection-refresh{margin-left:auto;padding-left:4px;color:inherit;text-decoration:underline;text-underline-offset:2px;white-space:nowrap;font-weight:700}
@media(max-width:350px){.connection-copy{font-size:11px}.connection-note{gap:4px}}
.schedule-share-menu{background:var(--surface)}
.schedule-share-trigger{background:var(--yellow)}
.schedule-share-icon{color:#071625}
.schedule-share-menu button:active{background:var(--raised)}
/* The existing night illustration fades into the exact page blue. */
.scene-hero{background:var(--bg)}
.scene-hero::after{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(transparent 62%,var(--bg) 100%);pointer-events:none}
.scene-hero .brand-lockup{z-index:2}
.region-sources .field-help{margin:4px 0 12px}
.region-source{display:flex;align-items:center;gap:10px;min-height:46px;margin:6px 0;padding:10px 12px;border-radius:12px;background:var(--raised);color:#fff;text-decoration:none;font-size:14px;font-weight:700}
.region-source .icon{color:var(--yellow);font-size:21px}
.region-source .region-arrow{margin-left:auto;color:var(--muted)}
.region-source:active{transform:scale(.99)}
.settings-help{margin-top:16px}
.about-project{margin:6px 0;border-radius:12px;background:var(--raised);color:#fff}
.about-project summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;cursor:pointer;font-size:14px;font-weight:700;list-style:none}
.about-project summary::-webkit-details-marker{display:none}
.about-project summary>.icon:first-child{color:var(--yellow);font-size:21px}
.about-project[open] .region-arrow{transform:rotate(180deg)}
.about-project p{padding:0 12px 14px;margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.address-region-select{display:block;width:100%;min-height:52px;margin-top:8px;padding:0 14px;border:0;border-radius:12px;background:var(--raised);color:#fff;font:inherit;font-weight:700;outline:none}
.address-region-select option{background:#084aa8;color:#fff}
