@font-face {
  font-family: "DM Sans";
  src: url("/assets/sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f8f7f1;
  --white: #fffefa;
  --ink: #19342d;
  --dark: #16483f;
  --text: #253e37;
  --mute: #54665d;
  --line: #cdd3c6;
  --mint: #e1ecdb;
  --orange: #b34c2f;
  --amber: #835518;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font: 16px/1.52 var(--sans);
  display: flex;
  flex-direction: column;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--dark);
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid #ad512f;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
.skip {
  position: absolute;
  left: 0.6rem;
  top: -6rem;
  background: white;
  padding: 0.8rem;
  z-index: 5;
}
.skip:focus {
  top: 0.5rem;
}
.wrap,
.bar {
  width: min(1232px, calc(100% - 9.2vw));
  margin-inline: auto;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.bar,
.mast nav,
.buttons,
.section-head,
.flex,
.inline,
.foot,
.tabs,
.status,
.kind {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.bar {
  min-height: 78px;
  justify-content: space-between;
}
.mast nav {
  gap: 1.6rem;
}
.mast nav a,
.foot a {
  text-decoration: none;
}
.mast nav a:hover,
.foot a:hover,
.text-btn:hover {
  text-decoration: underline;
}
.brand,
.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.15rem;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 1;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.mark {
  display: block;
  width: 32px;
  height: 32px;
}
#main {
  flex: 1;
}
.button,
.text-btn,
.tab,
.mini,
.example,
.tile,
.close {
  border: 0;
  background: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border-radius: 6px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
}
.button span[aria-hidden] {
  font-size: 1.16em;
}
.primary {
  background: var(--dark);
  color: #fffdf3;
}
.primary:hover {
  background: #0b382f;
}
.quiet {
  border-color: #aab7a5;
  background: transparent;
  color: var(--ink);
}
.quiet:hover,
.mini:hover,
.example:hover,
.tile:hover {
  background: #edf1e4;
}
.small {
  min-height: 39px;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.buttons {
  flex-wrap: wrap;
  gap: 0.65rem;
}
.hero {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(1.8rem, 4.1vw, 5rem);
  align-items: center;
  padding-block: clamp(2.25rem, 4.7vw, 5.8rem);
}
.hero-copy {
  padding-bottom: 0.3rem;
}
.eyebrow,
.kind {
  font-size: 0.78rem;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
  margin: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tick {
  width: 23px;
  height: 3px;
  background: var(--orange);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
}
h1,
h2,
.card-title {
  font-family: var(--serif);
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(3.5rem, 5.55vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.043em;
  margin: 1.15rem 0;
}
.hero h1 em {
  color: #3e6353;
}
.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 42ch;
  line-height: 1.55;
  color: #495e54;
}
.hero .buttons {
  margin-top: 1.7rem;
}
.route-illustration {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #243149;
}
.route-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 395;
  object-fit: cover;
  object-position: center 44%;
}
.route-illustration figcaption {
  color: #fff9ed;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.83rem 1rem;
  gap: 0.5rem;
  font-size: clamp(0.76rem, 1.2vw, 0.96rem);
}
.route-illustration figcaption span {
  display: flex;
  gap: 0.45em;
  align-items: center;
}
.route-illustration strong,
time,
.mono {
  font-variant-numeric: tabular-nums;
}
.dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--mute);
}
.dot.good {
  background: #f2cc58;
}
.dot.pending {
  background: #ff9a79;
}
.examples {
  padding: 1.65rem 0 3.9rem;
  border-top: 1px solid var(--line);
}
.section-head,
.foot {
  justify-content: space-between;
}
.section-head {
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-head h2,
.workspace h2,
.library h2,
.study h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.15;
}
.text-btn,
.mini {
  color: var(--dark);
  font-weight: 650;
}
.text-btn {
  padding: 0.45rem 0;
  text-align: left;
}
.example-grid,
.trip-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.example,
.tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem;
}
.example b,
.tile b,
.example small,
.tile small {
  display: block;
}
.example b,
.tile b {
  line-height: 1.16;
  font-size: 1.13rem;
}
.example small,
.tile small,
.hint,
.muted,
.foot {
  color: var(--mute);
}
.example small,
.tile small {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}
.example i {
  margin-left: auto;
  font-style: normal;
}
.example img {
  width: 96px;
  height: 70px;
  border-radius: 4px;
  flex: 0 0 auto;
  object-fit: cover;
}
.foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-block: 1.3rem;
  font-size: 0.86rem;
}
.wordmark {
  font-size: 1.55rem;
}
.library,
.workspace,
.study {
  padding-block: 2.1rem 4rem;
}
.library h1,
.workspace h1,
.study h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.9rem);
  line-height: 1.07;
  letter-spacing: -0.026em;
}
.trip-grid {
  margin: 1rem 0 2rem;
}
.tile {
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  min-height: 95px;
}
.back {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
}
.topline .hint {
  margin-top: 0.35rem;
}
.tabs {
  gap: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin: 1.6rem 0 1.65rem;
  overflow-x: auto;
}
.tab {
  padding: 0.55rem 0.15rem 0.65rem;
  white-space: nowrap;
  color: var(--mute);
  border-bottom: 3px solid transparent;
  font-weight: 600;
}
.tab[aria-current="page"] {
  border-bottom-color: var(--dark);
  color: var(--dark);
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 29%);
  gap: 2rem;
  align-items: start;
}
.side,
.soft,
.empty,
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 1.3rem;
}
.side {
  background: #eef1e7;
}
.side h2,
.empty h2 {
  font-size: 1.8rem;
  margin-bottom: 0.55rem;
}
.side p + .button,
.empty p + .button {
  margin-top: 0.8rem;
}
.side + .side,
.card + .card,
.soft + .soft {
  margin-top: 1rem;
}
.side > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.card {
  margin-top: 0.65rem;
}
.card-title {
  font-size: 1.85rem;
  line-height: 1.12;
  margin: 0.38rem 0;
}
.card p + .buttons,
.card .buttons {
  margin-top: 0.7rem;
}
.card time,
.hint,
.meta,
.note {
  font-size: 0.91rem;
}
.meta {
  color: var(--mute);
}
.meta strong {
  color: var(--text);
}
.status {
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.42rem;
  color: var(--mute);
}
.status:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status.agreed {
  color: #386549;
}
.status.waiting,
.status.dependent,
.status.details {
  color: #815916;
}
.status.conflict,
.status.declined {
  color: #913c2b;
}
.mini {
  font-size: 0.86rem;
  border: 1px solid #c3cebd;
  border-radius: 5px;
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  background: transparent;
}
.section-gap {
  margin-top: 2rem;
}
.stack > * + * {
  margin-top: 1rem;
}
.compact > * + * {
  margin-top: 0.45rem;
}
.work-column {
  width: 100%;
  max-width: 48rem;
}
.dependency span {
  font-weight: 650;
  margin-right: 0.3rem;
}
.dependency a {
  display: inline-block;
  min-height: 24px;
}
.card[id] {
  scroll-margin-block: 1rem;
}
.manual-arrangement {
  margin-top: 1.2rem;
}
.card .status,
.card .mini {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.source-grid {
  grid-template-columns: minmax(0, 1fr);
}
details {
  margin-top: 0.8rem;
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
}
.proof {
  padding: 0.7rem 0 0.2rem 0.8rem;
  border-left: 2px solid var(--line);
  margin: 0.55rem 0;
}
.proof small {
  display: block;
  color: var(--mute);
}
.proof p {
  overflow-wrap: anywhere;
}
.empty {
  padding: 1.6rem;
}
.text-wrap {
  overflow-wrap: anywhere;
}
.inline {
  flex-wrap: wrap;
}
.hint {
  line-height: 1.5;
}
.notice-plain,
.problem {
  padding: 0.7rem 0.95rem;
  border-radius: 5px;
  background: #f5e9cd;
  color: #5d431c;
}
.problem {
  background: #f9e8e1;
  color: #753921;
}
.ask {
  border-left: 3px solid #bc794c;
  padding: 0.55rem 1rem;
  margin: 1rem 0;
  color: #553e2d;
}
.chip {
  display: inline-block;
  background: var(--mint);
  color: var(--dark);
  font-weight: 650;
  font-size: 0.78rem;
  padding: 0.17rem 0.5rem;
  border-radius: 4px;
}
.actions {
  margin-top: 1rem;
}
.spaced {
  justify-content: space-between;
}
.answer-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.answer-label input {
  width: auto;
  margin-top: 0.25rem;
}
dialog {
  border: 1px solid var(--line);
  padding: 0;
  width: min(570px, calc(100% - 1.4rem));
  max-height: 90dvh;
  color: var(--text);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 22px 70px #162f2933;
}
dialog::backdrop {
  background: #192e28a6;
}
dialog form,
dialog .dialog-body {
  padding: 1.45rem;
}
dialog h2 {
  font-size: 2.35rem;
  line-height: 1.08;
  margin-right: 2.5rem;
}
dialog .close {
  position: absolute;
  right: 0.85rem;
  top: 0.75rem;
  font-size: 1.5rem;
  padding: 0.25rem 0.55rem;
}
dialog .buttons {
  margin-top: 1.2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.field {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  margin-top: 0.75rem;
  font-size: 0.93rem;
  font-weight: 600;
}
.field small {
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #aab8a8;
  border-radius: 5px;
  background: var(--white);
  padding: 0.56rem 0.65rem;
  width: 100%;
  min-width: 0;
  font-size: 1rem;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 6rem;
}
.field input[type="file"] {
  padding: 0.5rem;
  font-size: 0.85rem;
}
.source-grid textarea {
  min-height: 127px;
}
.box-list {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}
.box-list li + li {
  margin-top: 0.4rem;
}
.preview-photo, .side > .preview-photo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 145px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 6px;
}
.section-head .text-btn {
  flex-shrink: 0;
}
.waypoints {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.waypoints li {
  position: relative;
  border-left: 2px solid #a6b6a2;
  padding: 0 0 1.1rem 1rem;
  margin-left: 0.35rem;
}
.waypoints li:last-child {
  padding-bottom: 0;
  border-color: transparent;
}
.waypoints li:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  background: #36624f;
  border-radius: 50%;
  left: -5px;
  top: 0.45rem;
}
.waypoints small {
  display: block;
  color: var(--mute);
}
#notice:not(:empty) {
  position: fixed;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 680px);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: #173d33;
  color: white;
  z-index: 10;
  font-size: 0.95rem;
}
.study {
  max-width: 900px;
}
.study p,
.study h2,
.study table,
.study ul {
  margin-top: 1rem;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.6rem;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  .wrap,
  .bar {
    width: calc(100% - 2.6rem);
  }
  .hero {
    grid-template-columns: 0.94fr 1.06fr;
    gap: 1.5rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 6.5vw, 4rem);
  }
  .route-illustration figcaption {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 27%);
    gap: 1rem;
  }
  .example {
    gap: 0.75rem;
  }
  .example img {
    width: 70px;
    height: 62px;
  }
}
@media (max-width: 670px) {
  .wrap,
  .bar {
    width: calc(100% - 2rem);
  }
  .bar {
    min-height: 62px;
  }
  .brand {
    font-size: 1.85rem;
    gap: 0.45rem;
  }
  .mast nav {
    gap: 0.85rem;
  }
  .mast nav a {
    font-size: 0.88rem;
  }
  .mast .small {
    min-height: 36px;
    padding: 0.45rem 0.65rem;
    font-size: 0.83rem;
  }
  .mark {
    width: 27px;
    height: 27px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.55rem;
    padding-block: 1.9rem;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 11.6vw, 4.6rem);
    margin: 0.65rem 0 0.8rem;
  }
  .hero .buttons {
    margin-top: 1.1rem;
  }
  .route-illustration img {
    aspect-ratio: 1.92;
  }
  .route-illustration figcaption {
    grid-template-columns: 1fr 1fr;
    padding: 0.65rem;
    font-size: 0.75rem;
  }
  .lead {
    max-width: 45ch;
  }
  .example-grid,
  .trip-grid,
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .examples {
    padding: 1.25rem 0 2.7rem;
  }
  .example img {
    width: 78px;
  }
  .topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
  .tabs {
    margin: 1.05rem 0;
    gap: 1rem;
  }
  .tab {
    font-size: 0.9rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .bar .button span {
    display: none;
  }
  .foot {
    padding-block: 1rem;
  }
  .workspace,
  .library,
  .study {
    padding-block: 1.15rem 2.5rem;
  }
  .workspace h1 {
    font-size: 2.8rem;
  }
  .card,
  .side,
  .soft {
    padding: 1rem;
  }
  .workspace-grid > aside {
    order: 2;
  }
  .section-head {
    align-items: baseline;
  }
  .buttons .button {
    min-height: 42px;
  }
  .inline {
    align-items: flex-start;
  }
  .hero .buttons {
    gap: 0.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.tab,
.tile {
  text-decoration: none;
}
.tab:hover {
  text-decoration: underline;
}
.tile:hover b {
  text-decoration: underline;
}
@media (max-width: 670px) {
  .board-layout {
    display: flex;
    flex-direction: column;
  }
  .board-layout > * {
    width: 100%;
  }
  .mini,
  .tab,
  .text-btn,
  .foot a,
  .mast nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .mini,
  .text-btn {
    justify-content: center;
  }
  .mini {
    padding: 0.6rem 0.8rem;
  }
  .close {
    min-width: 44px;
    min-height: 44px;
  }
  .tabs {
    gap: 0.65rem;
  }
  .hero .buttons .button {
    min-height: 46px;
  }
  .mast nav {
    gap: 0.55rem;
  }
  .mast .small {
    min-height: 44px;
  }
  .card-title {
    overflow-wrap: anywhere;
  }
  .workspace h1,
  .trip-grid b {
    overflow-wrap: anywhere;
  }
  dialog {
    max-height: 88dvh;
  }
  .route-illustration figcaption span {
    flex-wrap: wrap;
  }
  .button,
  .mini {
    max-width: 100%;
  }
}
@media (max-width: 370px) {
  .wrap,
  .bar {
    width: calc(100% - 1.4rem);
  }
  .brand {
    font-size: 1.6rem;
  }
  .brand .mark {
    width: 24px;
    height: 24px;
  }
  .mast nav a {
    font-size: 0.82rem;
  }
  .hero h1 {
    font-size: 3.08rem;
  }
  .route-illustration figcaption {
    line-height: 1.3;
  }
  .tabs .tab {
    font-size: 0.82rem;
  }
  .tabs {
    gap: 0.55rem;
  }
  .example img {
    width: 55px;
  }
}

.flow {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}
.flow h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.15;
}
.flow ol {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.flow li + li {
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.flow button {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  text-align: left;
  border: 0;
  background: none;
  padding: 0.45rem 0.15rem;
  border-radius: 5px;
}
.flow button:hover b,
.flow button:focus-visible b {
  text-decoration: underline;
  text-underline-offset: 0.17em;
}
.flow svg {
  width: 49px;
  height: 44px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--dark);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow .wash {
  fill: #dae6cb;
}
.flow li:nth-child(2) .wash {
  fill: #f3c28d;
}
.flow b,
.flow small {
  display: block;
}
.flow b {
  font-size: 1.02rem;
  color: var(--ink);
}
.flow small {
  margin-top: 0.2rem;
  color: var(--mute);
  font-size: 0.91rem;
  max-width: 32ch;
}
.signin {
  max-width: 510px;
  padding-block: clamp(2rem, 8vw, 7rem);
}
.signin h1 {
  font-size: clamp(2.7rem, 5vw, 4rem);
  line-height: 1.05;
}
.signin p {
  margin: 1rem 0 1.4rem;
}
.signin #return {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
@media (max-width: 750px) {
  .flow ol {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    margin-top: 0.75rem;
  }
  .flow {
    padding: 1.3rem 0 1.6rem;
  }
  .flow li + li {
    padding-left: 0;
    border-left: 0;
  }
  .flow button {
    gap: 1rem;
    padding: 0.55rem 0.15rem;
    align-items: center;
  }
  .flow small {
    max-width: 48ch;
  }
  .flow svg {
    width: 42px;
    height: 39px;
  }
}
.term-change {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0.7rem 0 0.3rem;
  padding: 0.55rem 0.8rem;
  border-left: 3px solid #c4a66d;
  background: #f6f2e5;
  max-width: fit-content;
}
.term-change span {
  min-width: 0;
}
.term-change b,
.term-change small {
  display: block;
}
.term-change small {
  font-size: 0.76rem;
  color: var(--mute);
}
.term-change b {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.term-change i {
  font-style: normal;
  color: #806d40;
}
.pick-chat {
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}
.pick-chat p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0.55rem 0;
}
.pick-chat details {
  margin: 0.35rem 0 0.2rem 1.6rem;
}

.cover-choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
  margin: 0.75rem 0;
}
.cover-symbol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6rem, 25%) 1rem;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .3rem .65rem .3rem .3rem;
  border: 1px solid var(--line);
  border-radius: .42rem;
  background: #faf8f0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.cover-symbol img, img.preview-photo.cover-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 1;
  object-fit: contain;
  border-radius: .3rem;
}
.cover-symbol span {font-size:.9rem;font-weight:600}
.cover-symbol[aria-pressed="true"] {
  border-color: var(--dark);
  box-shadow: inset 0 0 0 1px var(--dark);
  background: #e5ecde;
}
.cover-symbol[aria-pressed="true"]::after {
  content: "";
  width: .35rem;
  height: .7rem;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.own-cover {
  margin: 0.65rem 0;
}

.reading-note {
  border-left: 3px solid #a57640;
  background: #f4eddb;
  padding: 0.75rem 1rem;
  margin: 0.6rem 0 1rem;
}

.ui-symbol {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  display: inline-block;
}
.status:has(.ui-symbol)::before {
  display: none;
}
.sample-tile {
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
}
.stack .sample-tile + .sample-tile {
  margin-top: 0.55rem;
}
.sample-symbol {
  width: 43px;
  height: 43px;
  border-radius: 0.5rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #f5dfa0;
  color: #28334a;
}
.sample-symbol .ui-symbol {
  width: 29px;
  height: 29px;
}
.sample-tile:nth-child(3n + 2) .sample-symbol {
  background: #c3decf;
}
.sample-tile:nth-child(3n) .sample-symbol {
  background: #ffceb5;
}
button[aria-busy="true"] {
  cursor: progress;
}
.signin-help {
  margin: 1rem 0;
}

.tabs .ui-symbol {
  display: none;
}
@media (max-width: 520px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    border: 0;
    overflow: visible;
  }
  .tabs .tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 0.9rem;
    text-decoration: none;
  }
  .tabs .tab[aria-current="page"] {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
  }
  .tabs .ui-symbol {
    display: block;
    width: 1.12rem;
    height: 1.12rem;
  }
}
.message-picker select {
  min-width: 0;
  max-width: 100%;
}
.message-picker small {
  color: var(--mute);
}
.message-picker .field {
  margin-top: 0.65rem;
}
.draft-action {
  margin-top: 1.1rem;
}

.latency-chart {
  min-width: 0;
  max-width: 46rem;
  margin: 1.2rem 0 1.6rem;
  padding: 0.8rem 1.1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.latency-chart legend {
  padding-inline: 0.35rem;
  font-weight: 650;
}
.latency-chart label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 0.6rem;
  cursor: pointer;
}
.latency-chart input {
  accent-color: var(--dark);
}
#median-time:checked ~ .p95-series,
#tail-time:checked ~ .median-series {
  display: none;
}
.latency-series table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.latency-series caption {
  text-align: left;
  padding: 0.5rem 0;
  color: var(--mute);
  font-size: 0.9rem;
}
.latency-series th,
.latency-series td {
  text-align: left;
  vertical-align: middle;
  padding: 0.5rem 0.4rem;
  overflow-wrap: break-word;
}
.latency-series meter {
  display: block;
  width: 100%;
  height: 0.6rem;
  margin-top: 0.2rem;
  border: 0;
  border-radius: 4px;
  background: #e7e9df;
  appearance: none;
}
.latency-series meter::-webkit-meter-bar {
  height: 100%;
  background: #e7e9df;
  border: 0;
}
.plan-meter::-webkit-meter-optimum-value {
  background: #427c72;
}
.cover-meter::-webkit-meter-optimum-value {
  background: #bc7644;
}
.plan-meter::-moz-meter-bar {
  background: #427c72;
}
.cover-meter::-moz-meter-bar {
  background: #bc7644;
}

.cost-matrix {
  margin: 1.5rem 0;
  border: 0;
  padding: 0;
  min-width: 0;
}
.cost-matrix legend { font-weight: 650; }
.cost-matrix th[scope="col"]:not(:first-child), .cost-matrix td { text-align: right; }
.cost-matrix td { white-space: nowrap; }
.cost-sizes { display: none; }
@media (max-width: 650px) {
  .cost-sizes { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .65rem; }
  .cost-sizes label { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; cursor: pointer; }
  .cost-matrix th:not(:first-child), .cost-matrix td { display: none; }
  .cost-matrix:has([value="1"]:checked) tr > :nth-child(2),
  .cost-matrix:has([value="2"]:checked) tr > :nth-child(3),
  .cost-matrix:has([value="3"]:checked) tr > :nth-child(4),
  .cost-matrix:has([value="4"]:checked) tr > :nth-child(5) { display: table-cell; }
}
.workspace-grid.map-columns {grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-grid.map-columns > * {min-width:0}
.board-layout.with-map > .board-content {grid-column:1;grid-row:1 / span 2}
.board-layout.with-map > :is(.sample-area,.arrange-area,aside) {grid-column:2}
.board-layout.with-map > :is(.sample-area,.arrange-area) {grid-row:1}
.sample-area .trip-map-canvas {height:clamp(16rem,43vh,30rem)}
.sample-area .map-expanded .trip-map-canvas {height:100%}
@media (max-width: 900px) {
  .workspace-grid.map-columns {grid-template-columns:minmax(0,1fr)}
  .board-layout.with-map {display:flex;flex-direction:column;gap:1rem}
  .board-layout.with-map > * {width:100%}
}

.arrange-area > .section-head {margin-bottom:.6rem;gap:1rem}
.arrange-area > .section-head h2 {margin:0}
.route-visits {padding-left:1.5rem}
.route-visits li {padding:.45rem .1rem}
.route-visits small,.route-choice small {display:block;color:var(--mute)}
.route-choice {display:flex;align-items:baseline;gap:.7rem;padding:.7rem 0;border-bottom:1px solid var(--line)}
.route-key {color:#674053;font-size:.93rem}
.route-key b {display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;background:#a52a62;color:white}
.shared-route-panel .trip-map-canvas {height:clamp(17rem,50vh,35rem)}
@media(min-width:901px) {
  .workspace.wrap:has(.map-columns) {max-width:1560px;width:94%}
}

.plan-story {max-width:72ch;margin:1rem auto 3rem}
.plan-story .section-head {gap:1rem;align-items:center}
.plan-story p {margin:.45em 0;font-family:var(--serif,Georgia,serif);font-size:clamp(1.2rem,2.2vw,1.55rem);line-height:1.56}
.plan-story > a {display:inline-block;margin-top:.8rem}

.itinerary-overview {margin:2rem 0;min-width:0}
.itinerary-overview .section-head {flex-wrap:wrap}
.itinerary-overview .field {grid-template-columns:minmax(0,1fr);overflow:hidden;padding:.15rem}
.itinerary-overview select {text-overflow:ellipsis}
[data-itinerary-overview] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
[data-route-rows] fieldset {border:1px solid var(--line);border-radius:8px;margin:.8rem 0;padding:.8rem}
[data-route-rows] legend {font-weight:700}
@media(max-width:750px){[data-itinerary-overview]{grid-template-columns:minmax(0,1fr)}}

.trip-team{border-block-end:1px solid #c9d1c3;padding-bottom:1rem;margin-bottom:1.5rem}
.trip-team ul{display:flex;gap:.45rem .9rem;flex-wrap:wrap;list-style:none;padding:0;margin:.6rem 0 0}
.trip-team li{padding:.35rem .7rem;background:#e8efe4;border-radius:.45rem}
