/* Set 18 — sky day-track: sticky dock, station timeline, chip rows. Not a manual. */
:root {
  --sky: #0ea5e9;
  --sky-deep: #0369a1;
  --haze: #f0f9ff;
  --card: #ffffff;
  --ink: #0c4a6e;
  --text: #164e63;
  --mute: #3d6a7a;
  --line: #bae6fd;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--haze);
  color: var(--text);
  line-height: 1.68;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.shelf { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.dock {
  position: sticky;
  top: 0;
  z-index: 16;
  background: #ffffff;
  border-bottom: 2px solid var(--sky);
}

.dock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--sky-deep);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.pills a {
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--haze);
  color: var(--mute);
}

.pills a:hover,
.pills a:focus {
  background: var(--sky);
  color: #fff;
}

.day-hero {
  padding: 36px 0 8px;
}

.day-hero h1 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
  max-width: 16em;
}

.day-hero p {
  max-width: 46em;
  margin-bottom: 10px;
}

.band { padding: 32px 0 6px; }

.band h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  color: var(--ink);
  margin-bottom: 10px;
}

.intro { margin-bottom: 18px; max-width: 48em; }

.track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.track article {
  padding: 22px 20px 20px;
  position: relative;
}

.track article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28%;
  height: 44%;
  width: 2px;
  background: var(--line);
}

.track .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  margin-bottom: 10px;
}

.track h3 { color: var(--sky-deep); margin-bottom: 8px; font-size: 17px; }

.wake {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wake article {
  background: #ffffff;
  padding: 16px 14px;
  border-radius: 12px;
  border-top: 3px solid var(--sky);
}

.wake em {
  display: block;
  font-style: normal;
  font-weight: 800;
  color: var(--sky);
  margin-bottom: 6px;
}

.wake h3 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }

.breaks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.breaks article {
  background: #ffffff;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.breaks .ico {
  width: 40px;
  height: 40px;
  color: var(--sky-deep);
  margin-bottom: 8px;
}

.breaks h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }

.keep {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.keep th,
.keep td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.keep th {
  background: var(--sky-deep);
  color: #f0f9ff;
  font-weight: 600;
}

.keep td:first-child { font-weight: 700; color: var(--sky-deep); width: 28%; }

.off {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.off li {
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  flex: 1 1 220px;
}

.shifts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.shifts article {
  background: #ffffff;
  padding: 16px;
  border-left: 5px solid var(--sky);
}

.shifts h3 { color: var(--ink); font-size: 16px; margin-bottom: 8px; }

.unread { display: grid; gap: 10px; }

.unread article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 10px;
}

.unread span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--haze);
  color: var(--sky-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.unread h3 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }

.ask details {
  background: #ffffff;
  margin-bottom: 8px;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
}

.ask summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.ask details p { margin-top: 8px; }

.foot {
  margin-top: 36px;
  background: var(--sky-deep);
  color: #e0f2fe;
  padding: 26px 0 20px;
  font-size: 14.5px;
}

.foot p { margin-bottom: 8px; max-width: 50em; }
.foot .legal { color: #bae6fd; margin-top: 12px; }

@media (max-width: 860px) {
  .dock-row { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .track,
  .wake,
  .breaks,
  .shifts { grid-template-columns: 1fr; }
  .track article:not(:last-child)::after { display: none; }
  .track article:not(:last-child) { border-bottom: 1px solid var(--line); }
}
