/* My trips (the organizer dashboard). Builds on ../builder/builder.css.
   The layout is Nick's pick of 4 December 2026 ("round 3, version C"): a
   light side menu, a band of pictures across the top, one white sheet of
   trips, and the picked trip in a panel beside it. Everything new is
   prefixed mt- so nothing here collides with the builder's own classes. */

/* The page runs the width of the window, unlike the builder's 900 px column. */
.mytrips .top-inner { max-width: none; padding-left: 20px; padding-right: 20px; }
.dash { padding: 0; }

/* The live dot: the one thing coral is for. It marks a trip that is on the
   road right now, and pulses. Its ring is a pseudo-element spreading from the
   dot's own center, and nothing it sits in clips it: rows and names leave
   room around it (see .mt-name b). */
.live-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF6B4A; position: relative; }
.live-dot.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: live-ping 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes live-ping { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3.2); opacity: 0; } }
/* Restraint: the band and the panel keep pinging while a trip is on the road;
   a row's dot pings three times as the page opens, an update that just landed
   four, and then they rest as plain dots. */
.mt-name .live-dot.pulse::after { animation-iteration-count: 3; }
.live-dot.brief::after { animation-iteration-count: 4; }

/* ── The frame: menu beside everything else ────────────────────────────── */
.mt-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - var(--top-h, 52px)); }
/* The menu's white runs the page's full height, however far the list goes,
   though the menu itself sticks in place. */
.mt-shell { background: linear-gradient(to right, var(--card) 247px, var(--line) 247px, var(--line) 248px, transparent 248px); }
.mt-main { min-width: 0; }
.mt-banner { margin: 18px 28px 0; }
.mt-retry { padding: 28px; }

/* The menu sticks under the header and scrolls on its own, so Team is in
   reach however long the list of trips gets. */
.mt-rail {
  position: sticky; top: var(--top-h, 52px); align-self: start;
  height: calc(100vh - var(--top-h, 52px)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border-right: 1px solid var(--line);
  padding: 18px 12px 24px; display: flex; flex-direction: column; gap: 2px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.mt-new { display: grid; gap: 8px; margin: 0 4px 16px; }
.mt-new .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.mt-nav {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; min-height: 38px;
  border: 0; border-radius: 9px; background: none; cursor: pointer; text-align: left;
  font: inherit; font-weight: 600; font-size: 14.5px; color: var(--soft);
  transition: background var(--step), color var(--step);
}
.mt-nav:hover { background: var(--bg); color: var(--ink); }
.mt-nav.on { background: var(--bg); color: var(--ink); }
.mt-nav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-nav i { margin-left: auto; font-style: normal; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mt-rail-head { margin: 22px 10px 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.mt-rail-note { margin: 0 10px; font-size: 12.5px; line-height: 1.45; color: var(--soft); }

/* Groups: a swatch, the name, how many. A square swatch, never a dot, so it
   can't be read as a live marker; the colors are group-colors.mjs's set. */
.mt-sw { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; vertical-align: 0; }
.mt-sw.none { background: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.mt-group .mt-sw { width: 12px; height: 12px; margin: 0 3px; }
.mt-new-group { color: var(--lagoon); }
.mt-new-group:hover { color: var(--lagoon); }
.mt-from-schools { margin: 2px 10px 0; padding: 0; font-size: 13px; text-align: left; }
.mt-name > span .mt-sw { width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.mt-group-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 2px; padding: 9px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.mt-group-bar b { font-weight: 700; }
.mt-group-bar > span:not(.mt-sw) { color: var(--soft); }
.mt-group-bar .btn.link { padding: 0; font-size: 13.5px; }
.mt-group-off { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.mt-p-group { margin: -2px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--soft); }
.mt-p-group label { font-weight: 600; }
.mt-p-group select { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; min-height: 36px; }
.mt-p-group .btn.link { padding: 0; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.mt-group-form { display: grid; gap: 4px; }
.mt-group-form label, .mt-swatch-label { font-weight: 600; font-size: 14px; margin: 6px 0 0; }
.mt-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.mt-swatch { width: 34px; height: 34px; border-radius: 9px; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(14, 27, 44, 0.12); }
.mt-swatch[aria-checked="true"] { outline: 2.5px solid var(--ink); outline-offset: 2.5px; }
.mt-swatch:focus-visible { outline: 2.5px solid var(--lagoon); outline-offset: 2.5px; }
.dialog-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.dialog-acts .btn.link { display: inline-flex; align-items: center; gap: 6px; }
.dialog-acts .btn.link.danger { margin-left: auto; color: var(--bad); }
.mt-pick-groups { display: grid; gap: 6px; margin: 8px 0 4px; }
.mt-pick-group { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-weight: 600; font-size: 14.5px; text-align: left; cursor: pointer; }
.mt-pick-group:hover { border-color: var(--soft); }
.mt-pick-group.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mt-pick-group .mt-sw { width: 14px; height: 14px; }
/* The calendar: a month of weeks, each a grid of seven days with the trips
   laid across it as bars, one lane each where they overlap. A bar is the
   trip's group color (else its own) as a pale fill, with a solid edge where
   the trip begins. Drafts are dashed, finished trips faded. */
.mt-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.mt-cal-nav { display: flex; align-items: center; gap: 6px; }
.mt-cal-prev svg { transform: rotate(90deg); }
.mt-cal-next svg { transform: rotate(-90deg); }
.mt-cal-nav .is-now { color: var(--soft); }
.mt-cal { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 10px; }
.mt-cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--bg); }
.mt-cal-days span { padding: 7px 10px; font-size: 12px; font-weight: 700; color: var(--soft); }
.mt-cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: 32px repeat(var(--lanes, 1), 26px) 10px; row-gap: 4px; min-height: 104px; border-bottom: 1px solid var(--line); }
.mt-cal-week:last-child { border-bottom: 0; }
.mt-cal-day { grid-row: 1 / -1; border-right: 1px solid var(--line); padding: 7px 9px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mt-cal-day:nth-child(7) { border-right: 0; }
.mt-cal-day.out { background: var(--bg); color: var(--soft); font-weight: 500; }
.mt-cal-day.today span { display: inline-block; min-width: 24px; padding: 2px 6px; margin: -2px 0 0 -6px; border-radius: 999px; background: var(--ink); color: var(--card); text-align: center; }
.mt-cal-bar {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; min-width: 0; height: 26px; margin: 0 5px; padding: 0 9px;
  border: 0; border-radius: 7px; background: color-mix(in srgb, var(--tc) 17%, var(--card)); color: var(--ink);
  font: inherit; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer; transition: background var(--step);
}
/* Where a trip starts and ends shows in the bar's rounded ends; one running
   on from another week has a square, open edge. */
.mt-cal-bar:not(.starts) { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.mt-cal-bar:not(.ends) { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.mt-cal-bar:hover { background: color-mix(in srgb, var(--tc) 28%, var(--card)); }
.mt-cal-bar.built { background: var(--card); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tc) 55%, var(--card)); }
.mt-cal-bar.done { opacity: 0.55; }
.mt-cal-bar.sel { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 2; }
.mt-cal-bar:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 1px; z-index: 2; }
.mt-cal-bar .live-dot { flex: none; }
.mt-cal-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-agenda { display: none; }
.mt-cal-note { margin: 10px 0 0; }
/* Holidays and the person's own calendar, under each day's trips: quieter
   than a trip, so the trips still lead. Their own events sit on a pale tint
   of the accent; holidays are just words. */
.mt-cal-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 4px; }
.mt-cal-chip { min-height: 30px; font-size: 13px; }
.mt-cal-connect { gap: 6px; min-height: 30px; font-size: 13px; color: var(--soft); border-style: dashed; }
.mt-cal-warn { flex-basis: 100%; margin: 4px 0 0; }
.mt-cal-ev {
  position: relative; z-index: 1; display: block; min-width: 0; height: 20px; margin: 0 5px; padding: 0 7px; border: 0; border-radius: 6px;
  background: none; color: var(--soft); font: inherit; font-size: 12px; line-height: 20px; text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mt-cal-ev.holiday { font-style: italic; }
.mt-cal-ev.yours { background: color-mix(in srgb, var(--lagoon) 9%, var(--card)); color: var(--ink); cursor: pointer; }
.mt-cal-ev.yours:hover { background: color-mix(in srgb, var(--lagoon) 17%, var(--card)); }
.mt-cal-ev time { color: var(--soft); font-variant-numeric: tabular-nums; }
.mt-cal-ev:focus-visible, .mt-cal-more:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 1px; }
.mt-cal-more { position: relative; z-index: 1; justify-self: start; margin: 0 5px; padding: 0 7px; border: 0; background: none; color: var(--soft); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.mt-cal-more:hover { color: var(--ink); text-decoration: underline; }
.mt-cal-list { display: grid; gap: 4px; margin: 0 0 8px; padding: 0; list-style: none; }
.mt-cal-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; }
.mt-cal-list.in-day li { grid-template-columns: minmax(0, 1fr); }
.mt-cal-list .mt-cal-ev { height: auto; min-height: 30px; margin: 0; padding: 5px 10px; line-height: 1.35; white-space: normal; }
.mt-cal-list-day { color: var(--soft); font-size: 13px; font-weight: 600; }
.mt-cal-form { margin-top: 14px; }
.mt-cal-steps { margin: 0 0 6px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.mt-cal-steps summary { cursor: pointer; font-weight: 600; }
.mt-cal-steps ol { margin: 8px 0 2px; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.dialog .mt-cal-steps + label { display: block; margin-top: 14px; }
/* One of the person's events, opened whole. */
.mt-ev { display: grid; gap: 10px; }
.mt-ev-when { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--soft); font-size: 14.5px; }
.mt-ev-join { justify-self: start; text-decoration: none; }
.mt-ev-sec { padding-top: 12px; border-top: 1px solid var(--line); }
.mt-ev-sec h4 { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 14px; }
.mt-ev-sec h4 span { color: var(--soft); font-weight: 600; }
.mt-ev-people { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mt-ev-person { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; }
.mt-ev-face { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); font-size: 13px; font-weight: 700; }
.mt-ev-who { display: grid; min-width: 0; }
.mt-ev-who b, .mt-ev-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-ev-who b { font-size: 14px; }
.mt-ev-who span, .mt-ev-answer { color: var(--soft); font-size: 12.5px; }
.mt-ev-answer { font-weight: 600; white-space: nowrap; }
.mt-ev-person.yes .mt-ev-answer { color: var(--ok); }
.mt-ev-person.no .mt-ev-who b { text-decoration: line-through; color: var(--soft); }
.mt-ev-notes { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.mt-ev-notes a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); }

/* Every trip's scheduled messages, by the day each goes out. */
.mt-sched { list-style: none; margin: 0 0 6px; padding: 0; }
.mt-sched-row { display: grid; grid-template-columns: 92px 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mt-sched-row:last-child { border-bottom: 0; }
.mt-sched-row time { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.mt-sched-row time small { display: block; font-weight: 500; font-size: 11.5px; color: var(--soft); }
.mt-sched-text b { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.mt-sched-text p { margin: 2px 0 0; color: var(--soft); font-size: 13.5px; overflow-wrap: anywhere; }
.mt-sched-acts { display: flex; gap: 6px; }

/* On a phone the groups are a page of their own, titled already. */
.mt-sheet .mt-groups .mt-rail-head { display: none; }
.mt-sheet .mt-groups .mt-rail-note { margin: 0 10px 8px; font-size: 14px; }
.mt-sheet .mt-groups .mt-nav { font-size: 15.5px; min-height: 46px; }

/* Team, high in the menu: faces when shut; everyone and the add box open. */
.mt-team { margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.mt-team-head {
  display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none;
  padding: 10px; cursor: pointer; text-align: left; font: inherit; color: var(--ink); border-radius: 12px;
}
.mt-team-head b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mt-team-head .mt-faces { margin-left: auto; }
.mt-team-head .icon-chevron { color: var(--soft); transition: transform var(--step); }
.mt-team.open .mt-team-head .icon-chevron { transform: rotate(180deg); }
.mt-faces { display: inline-flex; padding-left: 8px; }
.mt-face {
  width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  font-weight: 700; font-size: 10px; letter-spacing: 0; color: #FFFFFF;
  border: 2px solid var(--card); margin-left: -5px;
}
.mt-team-body { padding: 0 10px 12px; }
.mt-team-body > .hint { margin: 0 0 10px; }
.mt-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mt-person { display: flex; align-items: center; gap: 9px; font-size: 13.5px; min-width: 0; }
.mt-person .mt-face { margin: 0; border: 0; width: 28px; height: 28px; }
.mt-person-who { min-width: 0; flex: 1; }
.mt-person-who b { display: block; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-person-who span { display: block; color: var(--soft); font-size: 12px; }
.mt-person .btn.link { font-size: 12.5px; padding: 0; }
.mt-team-add { margin-top: 12px; }
.mt-team-add label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.mt-team-row { display: flex; gap: 6px; }
.mt-team-row input { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; padding: 6px 9px; min-height: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); color: var(--ink); }
.mt-note { margin: 10px 0 0; padding: 7px 9px; border-radius: 8px; background: var(--tint); font-size: 13px; }
.mt-note.warn { background: var(--bad-bg); color: var(--bad); }
/* The Team tab on a phone: the same card, open, as the page's sheet, where
   there's room for an address whole. */
.mt-sheet > .mt-team .mt-person-who b { white-space: normal; overflow-wrap: anywhere; }
.mt-sheet > .mt-team { margin: 0; border: 0; }
.mt-team-title { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.mt-sheet > .mt-team .mt-team-body { padding: 0; }

/* ── The band ──────────────────────────────────────────────────────────── */
.mt-band { position: relative; isolation: isolate; overflow: hidden; height: 300px; background: #0E1B2C; color: #FFFFFF; }
.mt-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.mt-slide.on { opacity: 1; }
.mt-slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 8s linear;
}
.mt-slide.on .mt-slide-bg { transform: scale(1); }
/* A school trip: its art in grey, multiplied into the trip's color, softened
   and enlarged so it reads as a print rather than a second copy of the sticker. */
.mt-slide.art { background: var(--tc); }
.mt-slide.art .mt-slide-bg { filter: grayscale(1) contrast(1.25) brightness(1.08) blur(1.5px); mix-blend-mode: multiply; transform: scale(1.5); }
.mt-slide.art.on .mt-slide-bg { transform: scale(1.4); }
.mt-slide-wash { position: absolute; right: -6%; top: 50%; width: 70%; aspect-ratio: 1; translate: 0 -50%; opacity: 0.16; mix-blend-mode: screen; }
.mt-slide-wash svg { width: 100%; height: 100%; display: block; }
.mt-slide-mark { position: absolute; right: 9%; top: 50%; translate: 0 -50%; transform: scale(0.94) rotate(-4deg); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.mt-slide.on .mt-slide-mark { transform: none; }
.mt-slide-mark .mt-mark { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
.mt-slide.welcome { opacity: 1; background: radial-gradient(120% 140% at 85% 30%, #17384A 0%, #0E1B2C 60%); }
/* Shade on the left, where the words are, so they read on any picture. */
.mt-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 27, 44, 0.9) 0%, rgba(14, 27, 44, 0.55) 32%, rgba(14, 27, 44, 0.1) 70%, rgba(14, 27, 44, 0));
}
.mt-band-in { position: relative; z-index: 2; height: 100%; padding: 0 36px; display: flex; flex-direction: column; justify-content: center; }
.mt-band-title {
  margin: 0; max-width: 62%; font-family: var(--display); font-weight: 800; font-size: 60px;
  line-height: 1; letter-spacing: -0.035em; text-wrap: balance; color: #FFFFFF;
}
.mt-band-line { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; font-size: 15px; color: #DCE4E9; max-width: 62%; }
.mt-band-line .live-dot { margin-left: 2px; }
.mt-pips { position: absolute; z-index: 2; left: 36px; bottom: 22px; display: flex; gap: 2px; }
.mt-pips button { width: 30px; height: 24px; border: 0; padding: 10px 4px; background: none; cursor: pointer; }
.mt-pips button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); transition: background var(--step); }
.mt-pips button.on::before, .mt-pips button:hover::before { background: #FFFFFF; }

/* The phone's menu: tabs under the band. */
.mt-tabs { display: none; gap: 6px; overflow-x: auto; padding: 14px 14px 0; scrollbar-width: none; }
.mt-tabs::-webkit-scrollbar { display: none; }
.mt-tab {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px;
  padding: 5px 13px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.mt-tab i { font-style: normal; color: var(--soft); font-variant-numeric: tabular-nums; }
.mt-tab.on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.mt-tab.on i { color: inherit; opacity: 0.75; }
.mt-tab .mt-faces { padding-left: 6px; }
.mt-tab .mt-face { width: 20px; height: 20px; font-size: 8.5px; border-width: 1.5px; margin-left: -4px; }

/* ── Below the band: the sheet, and the panel beside it ────────────────── */
.mt-below {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start;
  padding: 24px 28px 48px; max-width: 1360px;
}
.mt-below.no-panel { grid-template-columns: minmax(0, 860px); }
.mt-sheet { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px 12px; min-width: 0; }
.mt-sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 14px; }
.mt-sheet-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.mt-sheet-title span { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--soft); font-variant-numeric: tabular-nums; }
.mt-head-new { display: none; margin-left: auto; gap: 8px; }
.mt-head-new .btn { display: inline-flex; align-items: center; gap: 6px; }
.mt-sheet-head .who-line { flex-basis: 100%; }
.mt-sheet-hint { margin: -4px 0 12px; }
.mt-sheet > .mt-sheet-title { margin-bottom: 14px; }

.mt-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.mt-search {
  display: flex; align-items: center; gap: 8px; width: 300px; max-width: 100%; height: 40px;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); color: var(--soft);
  transition: border-color var(--step);
}
.mt-search:focus-within { border-color: var(--lagoon); }
.mt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14.5px; color: var(--ink); padding: 0; }
.mt-search input::placeholder { color: var(--soft); opacity: 0.85; }
.mt-search input::-webkit-search-cancel-button { cursor: pointer; }
.mt-chip {
  display: inline-flex; align-items: center; min-height: 34px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); border-radius: 999px; padding: 4px 13px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.mt-chip:hover { border-color: var(--ink); }
.mt-chip.on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

/* Section headings: the headline face, the count beside it quieter. */
.mt-sheet .group {
  display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink);
}
.mt-sheet .group-count { font-family: var(--body); font-size: 13.5px; font-weight: 700; letter-spacing: 0; color: var(--soft); font-variant-numeric: tabular-nums; }
/* Coming up's months: sentence case, a step down from the section. */
.mt-month {
  display: flex; align-items: baseline; gap: 8px; margin: 18px 0 2px;
  font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -0.015em; color: var(--ink);
}
.group + .mt-month { margin-top: 4px; }
.mt-month span { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 0; color: var(--soft); }

/* Rows: quiet, one line each, running to the sheet's edges. */
.mt-rows { margin: 0 -22px; }
.mt-row {
  position: relative; display: grid; gap: 16px; align-items: center;
  padding: 8px 22px; border-top: 1px solid var(--line); transition: background var(--step);
}
.mt-rows > .mt-row:first-child { border-top: 0; }
.mt-row.status { grid-template-columns: 52px minmax(0, 1fr) 112px 84px 64px; }
.mt-row.dated { grid-template-columns: 64px 52px minmax(0, 1fr) auto; }
.mt-row:hover { background: color-mix(in srgb, var(--ink) 3%, var(--card)); }
.mt-row.sel { background: color-mix(in srgb, var(--lagoon) 10%, var(--card)); }
/* The row's button covers it all, so anywhere on the row picks the trip;
   Edit sits above it and stays a link of its own. */
.mt-pick { position: absolute; inset: 0; z-index: 0; border: 0; background: none; cursor: pointer; padding: 0; }
.mt-pick:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 4px; }
.mt-row > :not(.mt-pick) { position: relative; z-index: 1; pointer-events: none; }
.mt-row .mt-go, .mt-row .mt-go * { pointer-events: auto; }
.mt-name { min-width: 0; }
/* The dot comes first and never shrinks; the name is what gets cut. A little
   room on the left so its pulse has somewhere to go. */
.mt-name b { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.35; }
.mt-name b .live-dot { margin: 0 3px 0 2px; }
.mt-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mt-name > span { display: block; color: var(--soft); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-name > span.mt-today { color: var(--ink); font-size: 12.5px; margin-top: 1px; }
.mt-dates { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-state { font-size: 13px; color: var(--soft); white-space: nowrap; }
.mt-go { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.mt-go .btn { opacity: 0; transition: opacity var(--step); }
.mt-row:hover .mt-go .btn, .mt-row.sel .mt-go .btn, .mt-row:focus-within .mt-go .btn { opacity: 1; }
.mt-when { font-size: 13px; color: var(--soft); min-width: 74px; text-align: right; white-space: nowrap; }
.mt-date { line-height: 1.05; }
.mt-date b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
/* A trip across two months ("Nov – Dec 7") wraps onto a second line rather than run into its picture. */
.mt-date small { display: block; font-size: 11.5px; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* The marks: a regular trip's round sticker, a Private trip's square photo,
   a logo whole on a white disc, the blank sticker until it has a picture. */
.mt-mark { display: block; flex: none; }
img.mt-mark.sticker { border-radius: 50%; object-fit: cover; box-shadow: 0 3px 9px -4px rgba(14, 27, 44, 0.5); background: var(--tint); }
img.mt-mark.photo { border-radius: 10px; object-fit: cover; box-shadow: 0 3px 9px -4px rgba(14, 27, 44, 0.5); }
img.mt-mark.logo { border-radius: 50%; object-fit: contain; background: #FFFFFF; padding: 12%; border: 1px solid var(--line); }
.mt-mark.blank svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 5px rgba(14, 27, 44, 0.28)); }
.blank-sticker text { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }

/* Being built and Finished fold to one line. */
.mt-fold { margin: 18px -22px 0; border-top: 1px solid var(--line); }
.mt-rows + .mt-fold, .mt-fold + .mt-fold { margin-top: 18px; }
.mt-fold-bar { display: flex; align-items: center; gap: 10px; padding-right: 22px; }
.mt-fold-head {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 14px 0 14px 22px;
  border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.mt-fold-head b { font-weight: 700; font-size: 15px; }
.mt-fold-count { color: var(--soft); font-weight: 600; font-size: 13.5px; }
.mt-fold-head .icon-chevron { margin-left: auto; color: var(--soft); transition: transform var(--step); }
.mt-fold.open .mt-fold-head .icon-chevron { transform: rotate(180deg); }
.mt-minis { display: flex; align-items: center; }
.mt-minis > * { margin-left: -6px; }
.mt-minis > :first-child { margin-left: 0; }
.mt-minis img.mt-mark.sticker, .mt-minis img.mt-mark.logo { border: 2px solid var(--card); }
.mt-more-count { margin-left: 6px !important; font-size: 12.5px; font-weight: 700; color: var(--soft); }
.mt-fold-rows { margin: 0; border-top: 1px solid var(--line); }
.mt-archive-all { white-space: nowrap; font-weight: 600; text-decoration: none; }
.mt-archive-all:hover { text-decoration: underline; }
/* Finished trips step back, but stay recognizable. */
.fold-done .mt-mark, .fold-groupArchived .mt-mark { filter: grayscale(0.85); opacity: 0.8; }
.fold-done .mt-fold-rows .mt-name b, .fold-groupArchived .mt-fold-rows .mt-name b { color: var(--soft); font-weight: 600; }
.mt-sheet > .mt-sections > :last-child:not(.mt-fold) { margin-bottom: 8px; }

.mt-empty { padding: 8px 0 14px; max-width: 58ch; }
.mt-empty h3 { margin: 6px 0 6px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.mt-empty p { margin: 0 0 10px; color: var(--soft); }
.mt-none { padding: 18px 0 14px; color: var(--soft); }
/* No trips yet: the steps on the left, the example trip's sticker on the right. */
.mt-first { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 32px; align-items: start; padding: 6px 0 18px; }
.mt-first h3 { margin: 4px 0 16px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.mt-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; max-width: 54ch; }
.mt-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
.mt-step-n { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; color: var(--lagoon); font-variant-numeric: tabular-nums; }
.mt-steps b { font-size: 15.5px; }
.mt-steps li > span:last-child { color: var(--soft); font-size: 14px; line-height: 1.5; }
.mt-first-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.mt-first-hint { margin: 2px 0 10px; max-width: 60ch; }
.mt-first-acts .btn { display: inline-flex; align-items: center; gap: 8px; }
.mt-example {
  display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 16px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg); color: var(--ink); text-decoration: none;
  transition: border-color var(--step);
}
.mt-example:hover { border-color: var(--soft); }
.mt-example img { width: 150px; height: 150px; border-radius: 50%; margin-bottom: 8px; box-shadow: 0 14px 30px -16px rgba(14, 27, 44, 0.55); }
.mt-example small { color: var(--soft); font-size: 13px; line-height: 1.45; }
.mt-none p { margin: 0 0 10px; }

/* ── The picked trip ───────────────────────────────────────────────────── */
.mt-panel {
  position: sticky; top: calc(var(--top-h, 52px) + 16px);
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 40px -32px rgba(14, 27, 44, 0.5);
}
.mt-p { animation: mt-pin 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes mt-pin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mt-p-media { position: relative; height: 168px; display: grid; place-items: center; overflow: hidden; border-radius: 17px 17px 0 0; background: var(--tc, #0E1B2C); isolation: isolate; }
.mt-p-wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); filter: grayscale(1) contrast(1.25) brightness(1.08) blur(1px); mix-blend-mode: multiply; }
.mt-p-media .mt-slide-wash { width: 90%; right: -20%; }
.mt-p-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-p-media > .mt-mark { position: relative; }
.mt-p-body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.mt-p-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.025em; line-height: 1.1; overflow-wrap: anywhere; }
.mt-p-sub { margin: 4px 0 0; color: var(--soft); font-size: 13.5px; }
.mt-p-state { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.mt-p-state span:not(.live-dot) { font-weight: 500; color: var(--soft); margin-left: -4px; }
.mt-p-today { margin: -6px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.mt-p-today b { font-weight: 700; }
.mt-name .mt-today b { display: inline; font-size: inherit; font-weight: 700; }
/* Room for the ping beside the heading; nothing here clips it. */
.mt-p-sec h5 .live-dot { margin: 0 8px 1px 2px; vertical-align: middle; }
.mt-p-acts { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.mt-p-acts .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.mt-p-acts .trip-more > summary { width: 44px; padding: 0; justify-content: center; }
.mt-p-acts .more-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.mt-p-link { display: flex; gap: 6px; }
.mt-p-link input { flex: 1; min-width: 0; font: inherit; font-size: 13px; color: var(--soft); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; min-height: 36px; }
.mt-p-note { margin: -4px 0 0; font-size: 12.5px; color: var(--soft); }
.mt-p-sec h5 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--soft); }
.mt-p-sec h5 span { font-weight: 500; }
.mt-p-update { background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; overflow-wrap: anywhere; }
.mt-p-update small { display: block; color: var(--soft); font-size: 12px; margin-top: 4px; }
.mt-p-update-acts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.mt-p-update-acts .btn.link, .mt-p-sched .btn.link { padding: 0; font-size: 13px; }
.mt-p-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.mt-p-list li { display: flex; gap: 10px; min-width: 0; }
.mt-p-list time { font-weight: 700; flex: none; width: 92px; font-variant-numeric: tabular-nums; }
.mt-p-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-p-quiet { margin: 0; font-size: 13px; color: var(--soft); }
.mt-p-foot { margin: 0; font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }

/* More (moreMenu in dashboard.js; "trip-more" because the builder already
   has a details.more). The summary is drawn as a button like the ones beside it. */
.trip-more { position: relative; display: inline-block; }
.trip-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; user-select: none; }
.trip-more > summary::-webkit-details-marker { display: none; }
.trip-more[open] > summary { border-color: var(--navy); background: var(--tint); }
.more-menu {
  position: absolute; z-index: 20; right: 0; top: calc(100% + 6px);
  min-width: 230px; max-width: calc(100vw - 32px); padding: 6px;
  display: grid; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-pop);
}
.trip-more.opens-right .more-menu { right: auto; left: 0; }
.more-item {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border: 0; border-radius: 8px; background: none; color: var(--ink);
  font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer;
}
.more-item:hover { background: var(--tint); }
.more-item:focus-visible { background: var(--tint); outline-offset: -2px; }
.more-item.danger { color: var(--bad); }
.more-sep { height: 1px; margin: 6px; background: var(--line); }

.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 9px; white-space: nowrap; flex: none; }
.pill.live { background: rgba(29, 122, 70, 0.14); color: var(--ok); }
.pill.draft { background: var(--warn-bg); color: var(--warn); }
.pill.archived { background: var(--tint); color: var(--soft); }
/* A Private trip's tag: an outline, quieter than anything beside it. */
.pill.private { background: none; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }

/* ── Narrower screens ──────────────────────────────────────────────────── */
/* A laptop with no room for the panel beside the sheet: the panel goes on top. */
@media (max-width: 1180px) {
  .mt-below { grid-template-columns: minmax(0, 1fr); }
  .mt-panel { position: static; order: -1; }
  /* On the calendar the month comes first; the picked trip follows it. */
  .mt-below.is-cal .mt-panel { order: 0; }
  .mt-p { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .mt-p-media { height: auto; min-height: 200px; border-radius: 17px 0 0 17px; }
}
@media (max-width: 760px) {
  .mt-first { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .mt-cal { display: none; }
  .mt-agenda { display: block; }
  .mt-sched-row { grid-template-columns: 70px minmax(0, 1fr); gap: 4px 12px; }
  .mt-sched-row .mt-mark { display: none; }
  .mt-sched-acts { grid-column: 2; }
  .mytrips .top-inner { padding-left: 14px; padding-right: 14px; }
  .mt-shell { display: block; background: none; }
  .mt-rail { display: none; }
  .mt-tabs { display: flex; }
  .mt-banner { margin: 14px 14px 0; }
  .mt-band { height: 220px; }
  .mt-band-in { padding: 0 18px; }
  .mt-band-title { font-size: 34px; max-width: 68%; }
  .mt-band-line { font-size: 13.5px; align-items: flex-start; max-width: 64%; line-height: 1.4; }
  .mt-band-line .live-dot { margin-top: 5px; }
  .mt-slide-mark { right: -18px; }
  .mt-slide-mark .mt-mark { width: 130px !important; height: 130px !important; }
  .mt-pips { left: 14px; bottom: 8px; }
  .mt-below { padding: 14px 14px 40px; gap: 14px; }
  .mt-p { display: block; }
  .mt-p-media { height: 110px; min-height: 0; border-radius: 17px 17px 0 0; }
  .mt-p-media .mt-mark { width: 84px !important; height: 84px !important; }
  .mt-p-link, .mt-p-sched, .mt-p-foot, .mt-p-note { display: none; }
  .mt-sheet { padding: 16px 14px 8px; border-radius: 16px; }
  .mt-sheet-title { font-size: 28px; }
  .mt-head-new { display: flex; }
  .mt-search { width: 100%; }
  .mt-rows { margin: 0 -14px; }
  .mt-row { padding: 8px 14px; gap: 12px; }
  .mt-row.status { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .mt-row.status .mt-mark { width: 46px !important; height: 46px !important; }
  .mt-row.status .mt-dates, .mt-row .mt-go { display: none; }
  .mt-row.dated { grid-template-columns: 48px 46px minmax(0, 1fr); }
  .mt-row.dated .mt-mark { width: 46px !important; height: 46px !important; }
  .mt-date small { font-size: 10.5px; }
  .mt-fold { margin: 14px -14px 0; }
  .mt-fold-bar { padding-right: 14px; }
  .mt-fold-head { padding: 12px 0 12px 14px; }
  .mt-minis > :nth-child(n+4):not(.mt-more-count) { display: none; }
}

/* On a phone the address leaves the header. Beside the logo and Sign out it
   was cut to "events@h…", which says nothing about which account this is —
   least of all to a teammate working in someone else's. It goes on a line of
   its own under "My trips" instead (whoWords in dashboard.js), whole, and the
   header keeps the logo and its buttons (Nick, 3 December 2026). */
.who-line { display: none; }
@media (max-width: 640px) {
  #who { display: none; }
  .who-line { display: block; overflow-wrap: anywhere; }
  #owner-link { margin-left: auto; }
  #owner-link[hidden] + #sign-out { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot.pulse::after, .mt-p { animation: none; }
  .mt-slide, .mt-slide-bg, .mt-slide-mark { transition: none; }
}

/* ── Dialogs ───────────────────────────────────────────────────────────── */
/* Updates to the group */
.push-preview {
  display: grid; gap: 2px; margin: 4px 0 12px; padding: 12px 14px; border-radius: 14px;
  /* Drawn like the notification it previews: a rounded card, not a card with a
     coloured stripe down one side. */
  background: var(--field); border: 1px solid var(--line);
  box-shadow: 0 6px 18px -8px rgba(0, 20, 50, 0.18); overflow-wrap: anywhere;
}
.dialog textarea { margin: 6px 0 2px; }

/* The QR code dialog */
.qr { display: grid; justify-items: center; gap: 12px; margin: 10px 0; }
.qr canvas { width: min(260px, 70vw); height: auto; image-rendering: pixelated; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.dialog .check { margin: 12px 0; }
.dialog input[type="text"] { margin: 6px 0 12px; }

/* Scheduled messages (showScheduled in dashboard.js) */
.dialog .sched-head { font-size: 16px; margin: 20px 0 6px; }
.dialog .sched-when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.dialog .sched-when label { display: grid; gap: 4px; }
.dialog .sched-done summary { cursor: pointer; font-weight: 600; margin: 16px 0 6px; color: var(--soft); }
.dialog select { margin: 6px 0 2px; }

/* Invite links and their own web address (invitesBody, addressBody). */
.invites .invite-form { margin-top: 14px; }
/* Their own web address: the records their tech team adds. Long values wrap
   rather than push the page sideways on a phone. */
.address .address-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 4px; overflow-wrap: anywhere; }
.address .address-head .pill { margin: 0; }
.address .records { width: 100%; margin: 10px 0 0; border-collapse: collapse; font-size: 13px; }
.address .records th { text-align: left; font-weight: 600; color: var(--soft); padding: 4px 6px 4px 0; }
.address .records td { padding: 6px 6px 6px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; word-break: break-all; }
.address .records .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.address .records td:first-child { white-space: nowrap; word-break: normal; }
.address .toolbar { margin-top: 12px; }
.invites .invite-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.invites .invite-row { display: flex; gap: 10px; flex-wrap: wrap; }
.invites .invite-row input { flex: 1 1 240px; min-width: 0; }
.invites .invite-note { margin: 12px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--tint); font-size: 14px; }
.invites .invite-note.warn { background: var(--bad-bg); color: var(--bad); }
.invites .invite-list { list-style: none; margin: 16px 0 0; padding: 0; }
.invites .invite { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.invites .invite.new .invite-who b::after { content: " · new"; font-weight: 500; color: var(--soft); }
.invites .invite-who { display: grid; gap: 2px; min-width: 0; }
.invites .invite-who b { overflow-wrap: anywhere; }
.invites .invite-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.invites .invite.off { opacity: .7; }
.invites .invite-off-head { padding: 14px 0 4px; font-size: 13px; font-weight: 600; color: var(--soft); }

/* ── My trips for a Private client (privateLook in dashboard.js) ────────────
   The Private builder's own look (brand/private/README.md): Paper #F6F5F2 for
   a page worked in for hours, the dark ground in the header, Newsreader for
   headings and Figtree for the rest, ink for the main action and oxblood for
   links. html.private-look outranks :root, light or dark, so it holds in
   either. */
@font-face { font-family: Newsreader; src: url('/private/fonts/newsreader.woff2') format('woff2'); font-weight: 300 500; font-display: swap; }
html.private-look {
  --bg: #F6F5F2;   /* Paper, as the builder (Nick, 2 December 2026) */
  --card: #FFFFFF;
  --ink: #1C1A17;
  --soft: #5E574D;
  --line: rgba(28, 26, 23, 0.14);
  --field: #FFFFFF;
  --navy: #1C1A17;
  --on-navy: #F6F5F2;
  --lagoon: #7A2E26;
  --tint: rgba(28, 26, 23, 0.06);
  --focus: #7A2E26;
  --ok: #2E6B4A;
  --warn: #7A4A10;
  --warn-bg: #F6EAD6;
  --bad: #9B2C22;
  --bad-bg: #F8E4E0;
  --display: Newsreader, Georgia, serif;
  --header: #0F1618;
  --header-ink: #EFE8DC;
  --header-soft: #B3AA9D;
  --header-line: rgba(239, 232, 220, 0.16);
  --header-tint: rgba(239, 232, 220, 0.08);
  --shadow-pop: 0 12px 28px -12px rgba(28, 26, 23, 0.3);
  color-scheme: light;
}
/* Headings in the display face, light, as on every Private surface. */
html.private-look :is(h1, h2, h3, h4, .group, .mt-sheet-title, .mt-band-title, .mt-p-title, .mt-month, .mt-date b) { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
html.private-look .mt-sheet-title, html.private-look .mt-band-title { font-weight: 300; letter-spacing: -0.02em; }
html.private-look .mark-sub { font-family: var(--body); font-weight: 500; color: var(--header-soft); }
html.private-look .mt-band { background: #0F1618; }
html.private-look .mt-row.sel { background: rgba(28, 26, 23, 0.06); }
html.private-look .btn.primary:hover:not(:disabled) { background: #000000; box-shadow: 0 8px 18px -10px rgba(28, 26, 23, 0.45); }
