.tp-shell {
  --tp-ink: #243830;
  --tp-muted: #4e655c;
  --tp-line: #d5e0d9;
  --tp-accent: #215e48;
  --tp-wash: #eef4ef;
  --tp-paper: #fcfdfb;
  color: var(--tp-ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: clamp(12px, 3vw, 32px);
}
.tp-shell *, .tp-shell *::before, .tp-shell *::after { box-sizing: border-box; }
.tp-shell h2, .tp-shell h3, .tp-shell h4 { margin: 0; line-height: 1.25; }
.tp-shell p { margin: .45rem 0; }
.tp-hero { padding-block: clamp(24px, 6vw, 58px) 24px; }
.tp-hero h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.04em; }
.tp-hero p, .tp-note, .tp-route p, .tp-links { color: var(--tp-muted); }
.tp-preset, .tp-panel, .tp-shell .harness-travel-inquiry {
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  padding: clamp(16px, 2.5vw, 26px);
  min-width: 0;
}
.tp-preset { margin-bottom: 16px; }
.tp-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; align-items: start; }
.tp-route { background: var(--tp-wash); border-radius: 10px; padding: 12px; }
.tp-route p { font-size: .93rem; }
.tp-route-button { width: 100%; text-align: left; }
.tp-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.tp-panel + .tp-panel { margin-top: 16px; }
.tp-panel h3 { margin-bottom: 12px; }
.tp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-block: 8px; }
.tp-field, .tp-shell .harness-travel-inquiry label { display: grid; min-width: 0; gap: 4px; font-size: .92rem; }
.tp-shell input:not([type=checkbox]), .tp-shell select, .tp-shell textarea {
  background: white;
  border: 1px solid #aabbb0;
  border-radius: 8px;
  color: var(--tp-ink);
  font: inherit;
  min-height: 44px;
  min-width: 0;
  padding: 8px;
  width: 100%;
}
.tp-shell :where(button, summary, input, select, textarea, a):focus-visible { outline: 3px solid #177557; outline-offset: 3px; }
.tp-shell .tp-button, .tp-shell .tp-route-button, .tp-shell .tp-small, .tp-shell .harness-travel-inquiry button {
  background: var(--tp-accent);
  border: 1px solid var(--tp-accent);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  min-height: 44px;
  padding: 8px 12px;
}
.tp-shell .tp-secondary, .tp-shell .tp-small, .tp-shell .tp-route-button { color: var(--tp-accent); background: white; border-color: #aabbb0; }
.tp-shell .tp-small { font-size: .88rem; padding-inline: 8px; }
.tp-shell button:disabled { opacity: .45; cursor: default; }
.tp-shell summary { cursor: pointer; min-height: 44px; padding-block: 10px; color: var(--tp-accent); }
.tp-day { border-top: 1px solid var(--tp-line); margin-block: 12px; padding-top: 12px; }
.tp-day-heading, .tp-add { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tp-add button { flex: 0 0 auto; }
.tp-shell ol { margin: 10px 0; padding-inline-start: 23px; }
.tp-stop, .tp-timeline li { padding: 8px 0; border-bottom: 1px solid var(--tp-line); }
.tp-actions, .tp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tp-actions { margin-block: 7px; }
.tp-actions select { width: auto; max-width: 100%; }
.tp-links { font-size: .85rem; }
.tp-shell a { color: var(--tp-accent); text-underline-offset: 3px; }
.tp-timeline { margin-top: 16px; }
.tp-transfer { color: var(--tp-muted); display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; margin-bottom: 4px; }
.tp-budget { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tp-budget div { background: var(--tp-wash); border-radius: 10px; padding: 10px; }
.tp-budget strong { display: block; font-size: clamp(1.3rem, 2.9vw, 2rem); overflow-wrap: anywhere; }
.tp-breakdown { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; margin-block: 12px; }
.tp-breakdown dd { text-align: right; margin: 0; }
.tp-warning { color: #764319; background: #fff3de; border-radius: 6px; font-size: .87rem; padding: 4px 7px; }
.tp-note, .tp-status { font-size: .89rem; }
.tp-status { color: var(--tp-accent); }
.tp-copy { min-height: 100px; }
.tp-shell .harness-travel-inquiry { margin-block: 16px 32px; }
.tp-shell .harness-travel-inquiry form { display: grid; gap: 10px; }
.tp-shell .harness-travel-inquiry button { justify-self: start; }
.tp-shell .travel-inquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-shell .travel-consent { display: flex !important; align-items: center; }
.tp-shell .travel-hp { position: absolute; left: -10000px; }
.tp-jump { display: none; }
@media (max-width: 780px) {
  .tp-layout { grid-template-columns: minmax(0, 1fr); }
  .tp-routes { grid-template-columns: minmax(0, 1fr); }
  .tp-jump { display: inline-flex; align-items: center; min-height: 44px; }
}
