
.brand-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.sortie-logo {
  display: inline-flex;
  align-items: baseline;
  color: #0f172a;
  font-family: "Avenir Next", Avenir, "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.sortie-logo .aero {
  color: #f05a28;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.top-nav a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fbfcfe;
  color: var(--focus);
  font-size: 13px;
  text-decoration: none;
}
.top-nav a.active {
  color: #fff;
  border-color: var(--focus);
  background: var(--focus);
}
.theme-select {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 28px 5px 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
}
html[data-theme="ops"] {
  --bg: #eef1ed;
  --panel: #fffdf5;
  --ink: #263238;
  --muted: #59636a;
  --line: #bfc7bf;
  --strong: #111827;
  --due: #9f1d14;
  --soon: #8a4b0b;
  --watch: #245b78;
  --verify: #6a4b00;
  --ok: #286247;
  --focus: #405565;
}
html[data-theme="aero"] {
  --bg: #0f1720;
  --panel: #17212b;
  --ink: #e5edf5;
  --muted: #aab8c6;
  --line: #334454;
  --strong: #f8fbff;
  --due: #ff8a80;
  --soon: #ffbf69;
  --watch: #7db7ff;
  --verify: #f2d27c;
  --ok: #7dd3a8;
  --focus: #45b6c9;
}
html[data-theme] body,
html[data-theme] html { background: var(--bg); color: var(--ink); }
html[data-theme] header,
html[data-theme] .panel,
html[data-theme] .metric,
html[data-theme] .card,
html[data-theme] .table-panel,
html[data-theme] .chart-wrap,
html[data-theme] .details,
html[data-theme] .reference-box,
html[data-theme] .field input,
html[data-theme] .field select,
html[data-theme] input,
html[data-theme] select,
html[data-theme] table,
html[data-theme] th {
  background: var(--panel);
  color: var(--ink);
}
html[data-theme] .top-nav a,
html[data-theme] .badge,
html[data-theme] .pill,
html[data-theme] .fuel-signal,
html[data-theme] .activity-flags span,
html[data-theme] .expand-icon {
  background: var(--panel);
}
html[data-theme] .top-nav a.active {
  color: #fff;
  border-color: var(--focus);
  background: var(--focus);
}
html[data-theme="ops"] body { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
html[data-theme="ops"] h1,
html[data-theme="ops"] h2,
html[data-theme="ops"] h3 { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[data-theme="ops"] .panel,
html[data-theme="ops"] .metric,
html[data-theme="ops"] .card,
html[data-theme="ops"] .field input,
html[data-theme="ops"] .field select {
  border-radius: 3px;
}
html[data-theme="ops"] .top-nav a,
html[data-theme="ops"] .theme-select,
html[data-theme="ops"] .badge,
html[data-theme="ops"] .pill,
html[data-theme="ops"] .fuel-signal {
  border-radius: 3px;
}
html[data-theme="aero"] body,
html[data-theme="aero"] header,
html[data-theme="aero"] .app {
  background: var(--bg);
}
html[data-theme="aero"] a,
html[data-theme="aero"] .top-nav a,
html[data-theme="aero"] .theme-select,
html[data-theme="aero"] .sortie-logo {
  color: var(--focus);
}
html[data-theme="aero"] .sortie-logo .aero {
  color: #ff9a62;
}
html[data-theme="aero"] .top-nav a.active {
  color: #061017;
}
html[data-theme="aero"] .subtitle,
html[data-theme="aero"] p,
html[data-theme="aero"] .muted,
html[data-theme="aero"] .note,
html[data-theme="aero"] .detail,
html[data-theme="aero"] .section-head span,
html[data-theme="aero"] .table-head span {
  color: var(--muted);
}
html[data-theme="aero"] .card,
html[data-theme="aero"] .metric,
html[data-theme="aero"] .notice,
html[data-theme="aero"] .reference-box,
html[data-theme="aero"] .chart-wrap {
  box-shadow: 0 0 0 1px rgba(69, 182, 201, 0.08);
}

:root {
  --bg: #f5f7fa;
  --panel: #ffffff;
  --ink: #18212d;
  --muted: #64748b;
  --line: #d8e0e8;
  --strong: #0f172a;
  --due: #b42318;
  --soon: #b54708;
  --watch: #175cd3;
  --verify: #7a4a00;
  --ok: #067647;
  --focus: #0b7285;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
button, input, select { font: inherit; }
.app {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}
header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 22px 28px 18px;
}
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
h1 {
  margin: 0 0 6px;
  color: var(--strong);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}
.subtitle {
  max-width: 920px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: #fbfcfe;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex: 0 0 auto;
}
.dot.due { background: var(--due); }
.dot.soon { background: var(--soon); }
.dot.watch { background: var(--watch); }
.dot.verify { background: var(--verify); }
.dot.ok { background: var(--ok); }
main {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 390px;
  gap: 16px;
  padding: 16px;
  min-height: 0;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.sidebar {
  padding: 16px;
  align-self: start;
  position: sticky;
  top: 16px;
}
.panel h2 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--strong);
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfe;
}
.metric strong {
  display: block;
  font-size: 24px;
  color: var(--strong);
  line-height: 1;
  margin-bottom: 6px;
}
.metric span {
  color: var(--muted);
  font-size: 12px;
}
.filters {
  display: grid;
  gap: 10px;
}
.reference-box {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.reference-box p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.reference-links {
  display: grid;
  gap: 7px;
}
.reference-links a {
  color: var(--focus);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fbfcfe;
  font-size: 13px;
  line-height: 1.25;
}
.reference-links a:hover {
  border-color: var(--focus);
  background: #eefcfe;
}
.field label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}
.field input,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
}
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}
.toggle.active {
  border-color: var(--focus);
  color: var(--focus);
  background: #edfafa;
}
.timeline-wrap {
  min-height: 0;
  overflow: hidden;
}
.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.timeline-head h2 { margin: 0; }
.count-label { color: var(--muted); font-size: 13px; }
.filter-notice {
  display: none;
  margin: 12px 16px 0;
  border: 1px solid #b8cdf7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f2f6ff;
  color: var(--watch);
  font-size: 13px;
  line-height: 1.35;
}
.filter-notice.visible { display: block; }
.timeline {
  position: relative;
  height: calc(100vh - 164px);
  overflow: auto;
  padding: 18px 18px 28px 36px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 22px;
  bottom: 28px;
  width: 2px;
  background: var(--line);
}
.event {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 14px;
}
.event::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ok);
  border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.event.due::before { background: var(--due); }
.event.soon::before { background: var(--soon); }
.event.watch::before { background: var(--watch); }
.event.verify::before { background: var(--verify); }
.today-marker {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 4px 0 18px;
}
.today-marker::before {
  content: "";
  position: absolute;
  left: -18px;
  right: 0;
  top: 16px;
  height: 2px;
  background: var(--focus);
}
.today-marker .label {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: start;
  border: 1px solid #89d2dc;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--focus);
  background: #eefcfe;
  font-size: 12px;
  font-weight: 650;
}
.date {
  padding-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.event-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.event-card:hover,
.event-card.selected {
  border-color: var(--focus);
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.event-title {
  color: var(--strong);
  font-weight: 650;
  line-height: 1.28;
  margin-bottom: 7px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--muted);
  background: #fbfcfe;
  font-size: 12px;
}
.tag.due { color: var(--due); border-color: #efb5ae; background: #fff5f3; }
.tag.soon { color: var(--soon); border-color: #f5c28f; background: #fff8ed; }
.tag.watch { color: var(--watch); border-color: #b8cdf7; background: #f2f6ff; }
.tag.verify { color: var(--verify); border-color: #e5c987; background: #fff9e8; }
.details {
  align-self: start;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.details-inner { padding: 16px; }
.detail-title {
  margin: 0 0 10px;
  color: var(--strong);
  font-size: 20px;
  line-height: 1.2;
}
.detail-sub {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.4;
}
.kv {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.kv b { color: var(--muted); font-weight: 550; }
.kv span { overflow-wrap: anywhere; }
.empty {
  padding: 32px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 1180px) {
  main { grid-template-columns: 300px minmax(0, 1fr); }
  .details { grid-column: 1 / -1; position: static; max-height: none; }
}
@media (max-width: 760px) {
  header { padding: 18px 16px; }
  .topbar { display: block; }
  .status { justify-content: flex-start; margin-top: 14px; min-width: 0; }
  main { grid-template-columns: 1fr; padding: 10px; }
  .sidebar { position: static; }
  .timeline { height: auto; max-height: none; padding-left: 30px; }
  .timeline::before { left: 24px; }
  .event { grid-template-columns: 86px minmax(0, 1fr); gap: 10px; }
  .event::before { left: -11px; }
}
.dashboard-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}
.dashboard-card h2,
.dashboard-card h3 {
  margin: 0 0 10px;
  color: var(--strong);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.card-head h2 {
  margin: 0;
}
.card-head span {
  color: var(--muted);
  font-size: 12px;
}
.status-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.status-banner strong {
  display: block;
  color: var(--strong);
  font-size: 24px;
  line-height: 1.1;
}
.status-banner span { color: var(--muted); }
.readiness {
  border: 1px solid #b8cdf7;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--watch);
  background: #f2f6ff;
  font-size: 13px;
  white-space: nowrap;
}
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dashboard-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fbfcfe;
  color: var(--focus);
  font-size: 12px;
  text-decoration: none;
}
.kpi strong {
  display: block;
  color: var(--strong);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 7px;
}
.kpi span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.wide { grid-column: span 6; }
.full { grid-column: 1 / -1; }
.horizon-card { grid-column: 1 / -1; }
.timeline-strip {
  position: relative;
  height: 96px;
  margin-top: 4px;
}
.timeline-strip::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 37px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--focus) 0 33%, var(--soon) 33% 58%, var(--watch) 58% 78%, var(--line) 78% 100%);
}
.milestone {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(160px, 25%);
  z-index: 1;
  display: grid;
  gap: 5px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.milestone.now { left: 4%; }
.milestone.fifty { left: 33%; }
.milestone.annual { left: 58%; }
.milestone.nextannual { left: 78%; }
.milestone i {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid var(--panel);
  background: var(--focus);
  box-shadow: 0 0 0 1px var(--line);
}
.milestone.warn i { background: var(--soon); }
.milestone.watch i { background: var(--watch); }
.milestone strong { color: var(--strong); }
.milestone div {
  display: grid;
  gap: 3px;
}
.milestone em {
  display: block;
  color: var(--strong);
  font-style: normal;
  font-weight: 700;
}
.maintenance-queue {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.queue-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}
.queue-column.due { border-color: #f1b8b0; background: #fffafa; }
.queue-column.annual { border-color: #f4c790; background: #fffdf8; }
.queue-column.verify { border-color: #b8cdf7; background: #fbfdff; }
.queue-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding: 12px 12px 8px;
  border-bottom: 1px solid var(--line);
}
.queue-head h2 {
  margin: 0;
  font-size: 16px;
}
.queue-head span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.queue-list {
  display: grid;
  gap: 0;
}
.queue-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
}
.queue-item:first-child { border-top: 0; }
.queue-item strong {
  display: block;
  color: var(--strong);
  line-height: 1.25;
}
.queue-item span { line-height: 1.3; }
.queue-item .pill {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 2px 8px;
  font-size: 11px;
}
.pill.due { color: var(--due); border-color: #efb5ae; background: #fff5f3; }
.pill.planned { color: var(--soon); border-color: #f5c28f; background: #fff8ed; }
.pill.verify { color: var(--watch); border-color: #b8cdf7; background: #f2f6ff; }
.queue-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.mini-panel {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mini-bars {
  display: grid;
  gap: 8px;
}
.mini-bar {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.mini-bar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.mini-bar i span {
  display: block;
  height: 100%;
  background: var(--focus);
}
.trend-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}
.trend-card strong {
  display: block;
  color: var(--strong);
  font-size: 24px;
  line-height: 1;
  margin: 6px 0;
}
.spark {
  width: 100%;
  height: 42px;
  margin-top: 8px;
}
.spark path {
  fill: none;
  stroke: var(--ok);
  stroke-width: 2;
}
.spark.oil path { stroke: var(--soon); }
.summary-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.summary-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #fbfcfe;
}
.summary-tile strong {
  display: block;
  color: var(--strong);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}
.summary-tile span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.section-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.section-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--focus);
  background: #fbfcfe;
  text-decoration: none;
  font-size: 13px;
}
.section-links a strong {
  display: block;
  color: var(--strong);
  margin-bottom: 3px;
}
.dashboard-page {
  background: #eef3f7;
}
.dashboard-page .app {
  display: block;
  min-height: 100vh;
}
html[data-theme] body.dashboard-page header,
.dashboard-page header {
  max-width: 1040px;
  margin: 18px auto 0;
  padding: 0;
  border: 1px solid #0a5d70;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: #075f73;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}
.dashboard-page .topbar {
  display: block;
}
.dashboard-page header .topbar > div {
  display: grid;
  gap: 0;
}
.dashboard-page .brand-strip {
  margin: 0;
  padding: 12px 18px 0;
}
html[data-theme] body.dashboard-page .sortie-logo,
.dashboard-page .sortie-logo {
  color: #fff;
  font-size: 24px;
}
html[data-theme] body.dashboard-page .sortie-logo .aero,
.dashboard-page .sortie-logo .aero {
  color: #ff7a2f;
}
.dashboard-page h1 {
  margin: 0;
  padding: 4px 18px 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}
.dashboard-page .subtitle {
  display: none;
}
html[data-theme] body.dashboard-page .top-nav,
.dashboard-page .top-nav {
  margin: 0;
  padding: 0 18px;
  gap: 0;
  background: #fff;
  border-top: 1px solid rgba(255,255,255,0.22);
}
html[data-theme] body.dashboard-page .top-nav a,
.dashboard-page .top-nav a {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  color: #334155;
  font-size: 12px;
  font-weight: 650;
}
html[data-theme] body.dashboard-page .top-nav a.active,
.dashboard-page .top-nav a.active {
  color: #075f73;
  border-bottom-color: #075f73;
  background: transparent;
}
.dashboard-page .theme-select {
  margin-left: auto;
  align-self: center;
  min-height: 28px;
  border-radius: 999px;
  font-size: 12px;
}
.dashboard-page .dashboard-main {
  max-width: 1040px;
  margin: 0 auto 24px;
  padding: 12px;
  gap: 12px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}
.dashboard-page .dashboard-card,
.dashboard-page .queue-column {
  box-shadow: none;
}
.dashboard-page .status-banner {
  padding: 12px 14px;
}
.dashboard-page .status-banner strong {
  font-size: 22px;
}
.dashboard-page .horizon-card h2,
.dashboard-page .dashboard-card h2,
.dashboard-page .queue-head h2 {
  font-size: 15px;
}
.dashboard-page .timeline-strip {
  height: 112px;
}
.dashboard-page .timeline-strip::before {
  left: 3%;
  right: 3%;
  top: 43px;
  height: 4px;
}
.dashboard-page .milestone.now { left: 3%; }
.dashboard-page .milestone.fifty { left: 31%; }
.dashboard-page .milestone.annual { left: 58%; }
.dashboard-page .milestone.nextannual { left: 86%; }
.dashboard-page .milestone {
  width: 150px;
  font-size: 11px;
}
.dashboard-page .milestone i {
  width: 20px;
  height: 20px;
}
.dashboard-page .milestone div {
  min-height: 64px;
}
.dashboard-page .milestone em {
  min-height: 15px;
}
.dashboard-page .queue-item {
  min-height: 70px;
}
.dashboard-page .queue-item strong {
  font-size: 12px;
}
.dashboard-page .queue-item span {
  font-size: 12px;
}
.dashboard-page .queue-list {
  max-height: 390px;
  overflow: hidden;
}
.dashboard-page .wide {
  grid-column: span 6;
}
@media (max-width: 900px) {
  .maintenance-queue { grid-template-columns: 1fr; }
  .wide, .mini-panel { grid-column: 1 / -1; }
  .dashboard-page header,
  .dashboard-page .dashboard-main {
    margin-left: 10px;
    margin-right: 10px;
  }
}
@media (max-width: 700px) {
  .card-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .dashboard-main { padding: 10px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .wide, .mini-panel, .horizon-card { grid-column: 1 / -1; }
  .mini-panel, .summary-tiles { grid-template-columns: 1fr; }
  .status-banner { align-items: flex-start; flex-direction: column; }
  .section-links { grid-template-columns: 1fr; }
  .dashboard-page .top-nav a { flex: 1 0 50%; }
  .dashboard-page .theme-select { margin: 8px 0; width: 100%; }
  .card-head { align-items: flex-start; flex-direction: column; }
  .timeline-strip { height: 270px; }
  .timeline-strip::before {
    left: 18px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 6px;
    height: auto;
    background: linear-gradient(180deg, var(--focus) 0 33%, var(--soon) 33% 58%, var(--watch) 58% 78%, var(--line) 78% 100%);
  }
  .milestone {
    left: 18px !important;
    width: calc(100% - 40px);
    justify-items: start;
    text-align: left;
    grid-template-columns: 36px minmax(0, 1fr);
    transform: none;
  }
  .milestone.now { top: 0; }
  .milestone.fifty { top: 78px; }
  .milestone.annual { top: 150px; }
  .milestone.nextannual { top: 218px; }
  .milestone i { grid-row: span 3; }
}
