@import "./classicInstallGuide.css?v=v20261118-r07";

/* Classic detail surfaces. Loaded only by /classic/; the board and its markers
   keep their established appearance. These colors never follow OS themes. */
:root {
  --classic-card-bg: #061a66;
  --classic-card-header: #01157f;
  --classic-card-raised: #193880;
  --classic-card-text: #ffffff;
  --classic-card-muted: #c5d5ed;
  --classic-card-past: #91a7cd;
  --classic-card-early: #9ee6af;
  --classic-card-rule: #7188bc;
  --classic-card-yellow: #fee401;
  --classic-card-works: #ffcc75;
  --classic-card-disruption: #ff8178;
  --classic-card-info: #a8d5ff;
  --classic-card-radius: 12px;
}

body .ui-modal-shell,
body .hc2__sheet.home-stop-modal,
body .hc2__sheet.ui-modal-shell.whats-new-modal,
body .clock-time-picker,
body .platform-inferred-tooltip,
body #favorites-popover.ui-modal-shell,
body #filters-popover.ui-modal-shell {
  color: var(--classic-card-text);
  background: var(--classic-card-bg);
  border: 1px solid var(--classic-card-rule);
  border-radius: var(--classic-card-radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scrollbar-color: var(--classic-card-muted) var(--classic-card-bg);
}

body .info-panel::before,
body .info-panel::after,
body #favorites-popover.ui-modal-shell::before,
body #filters-popover.ui-modal-shell::before,
body .clock-time-picker::before { display: none; }

body .ui-modal-header,
body .info-panel-header,
body .home-stop-modal .home-stop-modal__header,
body #favorites-popover .hc2__sheetHeader,
body #filters-popover .hc2__sheetHeader,
body .clock-time-picker__header {
  background: var(--classic-card-header);
  color: var(--classic-card-text);
  border-bottom: 1px solid var(--classic-card-rule);
}

body .ui-modal-title,
body .info-panel-title,
body .home-stop-modal .hc2__sheetTitle,
body .clock-time-picker__title {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  color: var(--classic-card-text);
}
body .hc2__sheetHeader.ui-modal-header .ui-modal-headerMain {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
}

body .ui-modal-close,
body .hc2__sheetClose,
body .clock-time-picker__close,
body .platform-inferred-tooltip__close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--classic-card-text);
  background: transparent;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  font-size: 1.5rem;
}

body .ui-modal-close:hover,
body .hc2__sheetClose:hover,
body .clock-time-picker__close:hover,
body .platform-inferred-tooltip__close:hover { background: transparent; color: var(--classic-card-muted); }

body .service-banner .service-banner__dismiss,
body .ios-install-guide__close {
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}
body .service-banner .service-banner__dismiss:hover,
body .ios-install-guide__close:hover { background: transparent; }

:is(.ui-modal-shell, .home-stop-modal, .clock-time-picker, .platform-inferred-tooltip) :focus-visible {
  outline: 2px solid var(--classic-card-yellow);
  outline-offset: 3px;
}
:is(.ui-modal-shell, .home-stop-modal, .clock-time-picker, .platform-inferred-tooltip) ::selection {
  color: var(--classic-card-bg);
  background: var(--classic-card-yellow);
}

/* Standard dialogs use sections on one surface, rather than translucent cards. */
body .info-panel {
  --info-text-primary: var(--classic-card-text);
  --info-text-secondary: var(--classic-card-muted);
  --info-text-tertiary: var(--classic-card-muted);
  --info-text-meta: var(--classic-card-muted);
  --info-text-label: var(--classic-card-muted);
  --info-active-bg: var(--classic-card-yellow);
  --info-active-color: var(--classic-card-bg);
  --info-surface: var(--classic-card-raised);
  --info-surface-border: var(--classic-card-rule);
  --info-surface-hover: var(--classic-card-raised);
}
body .info-panel-body,
body .hc2__sheetBody { font-size: 1rem; line-height: 1.5; }
body .info-panel-desc,
body .info-statusBody,
body .home-stop-modal__desc,
body .home-stop-modal__note,
body .platform-inferred-tooltip__body {
  color: var(--classic-card-muted);
  opacity: 1;
  font-size: 1rem;
  line-height: 1.5;
}
body .info-card {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--classic-card-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body .info-card::before { display: none; }
body .info-card-title,
body .info-statusLabel,
body .hc2__sectionTitle {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  color: var(--classic-card-text);
}
body .info-tabs { background: var(--classic-card-bg); border-color: var(--classic-card-rule); }
body .info-tab { color: var(--classic-card-muted); font-size: 0.875rem; }
body .info-tab.is-active { color: var(--classic-card-bg); background: var(--classic-card-yellow); box-shadow: none; }

body .hc2__sheet {
  --hc2-surface-shell-bg: var(--classic-card-bg);
  --hc2-surface-shell-border: var(--classic-card-rule);
  --hc2-surface-shell-shadow: none;
  --hc2-surface-control-color: var(--classic-card-text);
  --hc2-surface-control-color-muted: var(--classic-card-muted);
  --hc2-surface-label-color: var(--classic-card-muted);
  --hc2-surface-active-bg: var(--classic-card-yellow);
  --hc2-surface-active-color: #061a66;
  --hc2-surface-control-border: var(--classic-card-rule);
}
body .home-stop-modal .dual-picker-input-card {
  background: var(--classic-card-bg);
  border-color: var(--classic-card-rule);
  box-shadow: none;
}
body .home-stop-modal .home-stop-modal__header {
  margin: -16px -16px 16px;
  padding: 16px;
  border-radius: 11px 11px 0 0;
}
body .home-stop-modal__search.hc2__search,
body .clock-time-picker input {
  background: var(--classic-card-raised);
  color: var(--classic-card-text);
  border-color: var(--classic-card-rule);
}
body .home-stop-modal__searchInput::placeholder { color: var(--classic-card-muted); opacity: 1; }
body .home-stop-modal__btn.hc2__primary {
  background: var(--classic-card-yellow);
  color: var(--classic-card-bg);
  border-color: var(--classic-card-yellow);
  box-shadow: none;
}
body .clock-time-picker__label { font-size: 0.875rem; color: var(--classic-card-muted); }
body .clock-time-picker__field { background: transparent; border-color: var(--classic-card-rule); }
body .platform-inferred-tooltip { padding: 16px; }
body .platform-inferred-tooltip__title { color: var(--classic-card-yellow); font-size: 1rem; }
body .platform-inferred-tooltip__header { gap: 12px; margin-bottom: 12px; }

@media (max-width: 480px) {
  body .ui-modal-shell,
  body .home-stop-modal { max-width: calc(100vw - 20px); }
}

body #filters-popover .hc2__sectionTitle { font-size: 1rem; color: var(--classic-card-text); letter-spacing: 0; text-transform: none; }
body .hc2__sheet .hc2__filterPanel,
body .hc2__sheet .hc2__favoritesPanel,
body .hc2__sheet .hc2__saveCard {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body .hc2__sheet .hc2__filterPanel { padding: 16px 0; border-bottom: 1px solid var(--classic-card-rule); }
body #favorites-popover .hc2__favoriteItem { background: var(--classic-card-raised); color: var(--classic-card-text); box-shadow: none; }
body .hc2__sheet .hc2__saveCtaTitle { font-size: 1rem; color: var(--classic-card-text); }
body .hc2__sheet .hc2__saveCtaMeta,
body .hc2__sheet .hc2__empty { color: var(--classic-card-muted); font-size: 0.875rem; }
body .hc2__sheet .hc2__empty--favorites { border: 0; background: transparent; box-shadow: none; }
body .whats-new-modal::after { display: none; }
body .whats-new-modal .whats-new-modal__intro { color: var(--classic-card-muted); font-size: 0.9375rem; }
body .whats-new-modal .whats-new-modal__highlightGrid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 0; }
body .whats-new-modal .whats-new-modal__highlightCard { padding: 16px 0; min-height: 0; border: 0; border-top: 1px solid var(--classic-card-rule); border-radius: 0; background: transparent; box-shadow: none; }
body .whats-new-modal .whats-new-modal__highlightTitle { color: var(--classic-card-text); font-size: 1rem; }
body .whats-new-modal .whats-new-modal__highlightBody { color: var(--classic-card-muted); font-size: 0.9375rem; line-height: 1.5; }
