@font-face {
  font-family: Fraunces;
  src: url("../assets/fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #faf7ee;
  --canvas: #eae7dc;
  --ink: #293c31;
  --muted: #62695d;
  --accent: #31513d;
  --rule: #d4d5c5;
  --wash: #e8ecdf;
  --serif: Fraunces, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-synthesis: none;
  accent-color: var(--accent);
  caret-color: var(--accent);
  scrollbar-color: #969d88 var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 44px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: transparent;
  padding: 9px 15px;
  cursor: pointer;
  font-weight: 550;
}
button:hover:not(:disabled) {
  background: var(--wash);
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
button.primary:hover:not(:disabled) {
  filter: brightness(1.13);
  background: var(--accent);
}
button.quiet {
  background: var(--paper);
}
button.text-button {
  border-color: transparent;
  padding-left: 4px;
  padding-right: 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
button.danger {
  color: #8b332c;
  border-color: #c59888;
  background: #fff7f1;
}
.danger.text-button {
  background: transparent;
  border-color: transparent;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid #ae643b;
  outline-offset: 3px;
}
::selection {
  color: var(--paper);
  background: var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 450;
}
h1,
h2 {
  font-family: var(--serif);
  text-wrap: balance;
}
p {
  overflow-wrap: anywhere;
}
img {
  max-width: 100%;
}
button,
span,
strong,
a {
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: var(--paper);
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
#app {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #f4f1e7;
  border-right: 1px solid var(--rule);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.025em;
}
.wordmark span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-top: 3px;
}
.shelf-header {
  margin-top: 56px;
}
.shelf-header h2 {
  font: 600 12px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.shelf-header button {
  width: 100%;
}
.trip-list {
  margin-top: 20px;
  display: grid;
  gap: 9px;
}
.trip-item {
  width: 100%;
  padding: 17px 14px;
  text-align: left;
  border-color: transparent;
  line-height: 1.5;
}
.trip-item.selected {
  background: var(--wash);
  border-color: #cbd2bf;
}
.trip-item span {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 450;
}
.trip-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.trip-item .sample-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 56px;
}
.sidebar-bottom p {
  font-size: 12px;
  margin-top: 12px;
  color: var(--muted);
}
.sidebar-bottom .fine {
  font-size: 11px;
}
#workspace {
  min-width: 0;
  padding: 26px 40px 0;
}
.workspace-inner {
  max-width: 1100px;
  margin: auto;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.toolbar > div {
  display: flex;
  gap: 10px;
}
.save-state {
  font-size: 12px;
  color: var(--muted);
}
.save-state:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
}
.book {
  background: var(--paper);
  box-shadow: 0 12px 40px #293c3109;
  min-width: 0;
}
.trip-header {
  position: relative;
  overflow: hidden;
}
.trip-heading {
  padding: 44px 48px 36px;
}
.destination {
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 10px;
  color: var(--accent);
}
h1 {
  font-size: clamp(36px, 4.4vw, 61px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.trip-dates {
  font-size: 13px;
  margin-top: 23px;
  font-variant-numeric: tabular-nums;
}
.trip-dates span {
  color: var(--muted);
}
.summary {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 46ch;
  color: var(--muted);
}
.cover {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.sample-note {
  font-size: 12px;
  padding: 12px 20px;
  margin: 0 48px 28px;
  background: var(--wash);
  color: var(--ink);
  border-radius: 4px;
}
.book-nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 32px;
}
.book-nav nav {
  display: flex;
  gap: 6px;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 17px 13px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.tab.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.style-picker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.style-picker select {
  min-height: 44px;
  border: 0;
  background: transparent;
  font-size: 12px;
  max-width: 124px;
  cursor: pointer;
}
.theme-terracotta {
  --paper: #fcf4e9;
  --ink: #503e32;
  --accent: #773f2c;
  --muted: #75604c;
  --rule: #deccba;
  --wash: #f1dfce;
}
.theme-coastal {
  --paper: #f4f7f5;
  --ink: #233e4b;
  --accent: #214f63;
  --muted: #5d6e74;
  --rule: #cbd9d8;
  --wash: #e2edeb;
}
.book,
.notebook {
  color: var(--ink);
}
.day-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 18px 36px;
  gap: 16px;
}
.day-tabs nav {
  display: flex;
  gap: 12px;
  overflow: auto;
  flex: 1;
  padding: 5px 2px;
}
.day-tab {
  flex-shrink: 0;
  min-width: 108px;
  text-align: left;
  border-color: transparent;
  padding: 8px 14px;
}
.day-tab.selected {
  background: var(--wash);
  border-color: var(--rule);
}
.day-tab span {
  display: block;
  font-weight: 600;
  font-size: 13px;
}
.day-tab small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.day-content {
  padding: 34px 48px 40px;
}
.day-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.day-date {
  font-size: 11px;
  letter-spacing: 0.025em;
  color: var(--muted);
  margin-bottom: 10px;
}
.day-heading h2,
.places-view > h2,
.packing-view > h2 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.day-note {
  margin-top: 12px;
  font-size: 14px;
  max-width: 62ch;
  color: var(--muted);
  white-space: pre-line;
}
.stops {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stop {
  display: grid;
  grid-template-columns: 83px minmax(0, 1fr) 88px;
  gap: 18px;
  border-top: 1px solid var(--rule);
  padding: 22px 0;
}
.stop-time {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.stop-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.stop h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.status {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.status.booked {
  color: var(--accent);
  font-weight: 700;
}
.stop-notes {
  font-size: 13px;
  line-height: 1.7;
  max-width: 64ch;
  margin-top: 8px;
  white-space: pre-line;
  color: var(--muted);
}
.address {
  font-size: 12px;
  margin-top: 6px;
  color: var(--muted);
}
.stop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 12px;
}
.stop-links:not(:empty) {
  margin-top: 11px;
}
.stop-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.icon-button {
  font-size: 11px;
  min-width: 44px;
  padding: 5px;
  border-color: transparent;
}
.move-tools {
  display: flex;
}
.move-tools .icon-button {
  min-width: 44px;
  font-size: 17px;
}
.add-stop {
  width: 100%;
  text-align: center;
  margin-top: 15px;
  border-style: dashed;
  border-color: #aab39b;
  font-size: 13px;
}
.help-line {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 14px;
}
.workspace-footer {
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  padding: 28px 10px;
}
.empty-day {
  padding: 38px 0 30px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.empty-day h3 {
  font-family: var(--serif);
  font-size: 24px;
}
.empty-day p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.places-view,
.packing-view {
  padding: 38px 48px 48px;
}
.places-view > p,
.packing-view > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 66ch;
}
.places-view .sample-note {
  margin: 20px 0;
}
.places-day {
  margin-top: 32px;
}
.places-day > h3 {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 10px;
}
.place-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 60px;
  align-items: start;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.place-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 12px;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.place-row strong {
  font-size: 14px;
  font-weight: 600;
}
.place-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.inline-form {
  display: flex;
  gap: 12px;
  margin: 28px 0 12px;
}
.inline-form input {
  flex: 1;
  min-width: 0;
}
.packing-list {
  padding: 0;
  list-style: none;
  margin: 0;
}
.packing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.packing-list label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  flex: 1;
  cursor: pointer;
  font-size: 14px;
}
.packing-list input {
  width: 19px;
  height: 19px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.packing-list input:checked + span {
  text-decoration: line-through;
  color: var(--muted);
}
.packing-list button {
  font-size: 12px;
}
.empty-preview {
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0;
}
.preview-hint {
  padding: 14px 36px;
  font-size: 12px;
  background: var(--wash);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.preview-content > .notebook > .trip-header {
  display: none;
}
.notebook {
  background: var(--paper);
}
.notebook .timezone {
  font-size: 11px;
  color: var(--muted);
  margin: 24px 48px;
}
.notebook .print-day {
  padding: 22px 48px 12px;
}
.notebook .day-heading {
  display: block;
}
.notebook .stop {
  grid-template-columns: 83px minmax(0, 1fr);
}
.notebook .print-packing {
  padding: 28px 48px;
}
.print-packing h2 {
  font-size: 27px;
}
.print-packing ul {
  columns: 2;
  list-style: none;
  padding: 0;
  line-height: 2;
  font-size: 13px;
}
.notebook-footer {
  margin: 20px 48px 0;
  border-top: 1px solid var(--rule);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 14px var(--serif);
}
.notebook-footer span {
  font: 11px var(--sans);
  color: var(--muted);
}
.print-only {
  display: none;
}
.shared main {
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 12px 40px #293c3110;
}
.shared .notebook {
  padding-bottom: 12px;
}
.shared .sample-note {
  margin-bottom: 12px;
}
.empty-library {
  padding: 80px 20px;
}
.empty-library h1 {
  max-width: 17ch;
}
.empty-library p {
  margin: 24px 0;
}
.notice:empty {
  display: none;
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  max-width: min(600px, 90vw);
  width: max-content;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 30px #1a281f33;
  z-index: 20;
}
.storage-error {
  background: #fff1de;
  border: 1px solid #bf825a;
  padding: 18px;
  margin: 0 0 18px;
  font-size: 13px;
}
.storage-error button {
  margin: 8px 8px 0 0;
}
dialog {
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  padding: 30px 34px;
  max-width: 540px;
  width: calc(100vw - 32px);
  max-height: 90vh;
  box-shadow: 0 24px 80px #10201440;
  color: var(--ink);
}
dialog::backdrop {
  background: #18281f66;
  backdrop-filter: blur(3px);
}
dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
dialog h2 {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.close-button {
  border: 0;
  font-size: 26px;
  padding: 0;
  min-width: 44px;
}
dialog form > label,
.form-grid > label,
details > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 18px;
}
input:not([type="checkbox"]),
textarea,
select {
  border: 1px solid #aeb6a3;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fffdf7;
  min-height: 44px;
  max-width: 100%;
}
dialog label > input:not([type="checkbox"]),
dialog label > textarea,
dialog label > select {
  width: 100%;
  display: block;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 400;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #72776b;
  opacity: 1;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}
.form-error {
  color: #943d28;
  font-size: 13px;
  margin-top: 14px;
}
.form-error:empty {
  display: none;
}
details {
  margin-top: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
summary {
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
.check-label {
  display: flex !important;
  gap: 10px;
  align-items: center;
  font-weight: 400 !important;
}
.check-label input {
  width: 18px;
  height: 18px;
}
.share-option {
  border-top: 1px solid var(--rule);
  padding: 20px 0 12px;
}
.share-option h3 {
  font-family: var(--serif);
  font-size: 21px;
}
.share-option p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 16px;
}
dialog > form > p {
  font-size: 14px;
}
.preview-content {
  animation: page-in 0.25s ease-out;
}
@keyframes page-in {
  from {
    filter: brightness(0.97);
  }
  to {
    filter: brightness(1);
  }
}
@media (min-width: 1500px) {
  #workspace {
    padding-top: 35px;
  }
  .trip-heading {
    padding-top: 52px;
    padding-bottom: 44px;
  }
  .day-content {
    padding-top: 42px;
  }
}
@media (max-width: 1100px) {
  #app {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 17px;
  }
  #workspace {
    padding: 22px 24px 0;
  }
  .trip-heading {
    padding: 36px 32px;
  }
  .sample-note {
    margin-left: 32px;
    margin-right: 32px;
  }
  .book-nav {
    padding: 0 18px;
    flex-wrap: wrap;
  }
  .style-picker {
    margin-left: auto;
  }
  .day-content {
    padding: 30px 32px;
  }
  .day-tabs {
    padding: 16px 24px;
  }
  .places-view,
  .packing-view {
    padding: 32px;
  }
  .stop {
    gap: 12px;
    grid-template-columns: 68px minmax(0, 1fr) 88px;
  }
  .stop-title {
    gap: 6px 10px;
  }
  .stop h3 {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  #app {
    display: block;
  }
  .sidebar {
    min-height: 0;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .wordmark {
    font-size: 31px;
  }
  .wordmark img {
    width: 28px;
    height: 28px;
  }
  .shelf-header {
    margin: 0;
  }
  .shelf-header h2 {
    display: none;
  }
  .shelf-header button {
    font-size: 12px;
  }
  .trip-list {
    grid-column: 1/-1;
    display: flex;
    overflow: auto;
    margin: 0;
    gap: 8px;
    padding: 2px;
  }
  .trip-item {
    min-width: 185px;
    max-width: 240px;
    padding: 12px;
    flex-shrink: 0;
  }
  .trip-item span {
    font-size: 17px;
  }
  .trip-item small {
    font-size: 10px;
    margin-top: 4px;
  }
  .trip-item .sample-label {
    font-size: 9px;
  }
  .sidebar-bottom {
    padding: 0;
    margin: 0;
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .sidebar-bottom button {
    font-size: 11px;
    min-height: 44px;
    padding: 0;
  }
  .sidebar-bottom p {
    margin: 0;
    font-size: 10px;
    line-height: 1.4;
  }
  .sidebar-bottom br {
    display: none;
  }
  .sidebar-bottom .fine {
    display: none;
  }
  #workspace {
    padding: 18px 12px 0;
  }
  .toolbar {
    margin-bottom: 18px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .toolbar > div {
    gap: 6px;
  }
  .toolbar button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .save-state {
    font-size: 10px;
  }
  .trip-heading {
    padding: 30px 24px 28px;
  }
  .destination {
    font-size: 12px;
    margin-bottom: 14px;
  }
  h1 {
    font-size: 40px;
    max-width: 13ch;
  }
  .trip-dates {
    font-size: 11px;
    margin-top: 20px;
  }
  .summary {
    font-size: 17px;
    line-height: 1.6;
    margin-top: 14px;
  }
  .sample-note {
    margin: 0 24px 24px;
    padding: 11px 13px;
    font-size: 10px;
  }
  .book-nav {
    padding: 0 10px;
    gap: 0;
  }
  .book-nav nav {
    justify-content: space-between;
    gap: 0;
    width: 100%;
  }
  .tab {
    font-size: 12px;
    padding: 14px 10px;
  }
  .style-picker {
    padding: 0 6px;
  }
  .style-picker select {
    font-size: 11px;
  }
  .day-tabs {
    padding: 12px 16px;
    gap: 8px;
  }
  .day-tabs nav {
    gap: 6px;
  }
  .day-tab {
    min-width: 85px;
    padding: 8px 10px;
  }
  .day-tab span {
    font-size: 12px;
  }
  .day-tab small {
    font-size: 10px;
  }
  .day-tabs > .text-button {
    font-size: 12px;
    white-space: nowrap;
  }
  .day-content {
    padding: 26px 24px;
  }
  .day-heading {
    gap: 10px;
    margin-bottom: 22px;
  }
  .day-heading h2,
  .places-view > h2,
  .packing-view > h2 {
    font-size: 27px;
  }
  .day-heading > button {
    font-size: 11px;
    padding: 7px 11px;
    flex-shrink: 0;
  }
  .day-date {
    font-size: 10px;
  }
  .day-note {
    font-size: 12px;
    margin-top: 10px;
  }
  .stop {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }
  .stop-time {
    font-size: 10px;
  }
  .stop h3 {
    font-size: 19px;
  }
  .stop-title {
    display: block;
  }
  .status {
    font-size: 8px;
    display: inline-block;
    margin-top: 6px;
  }
  .stop-notes {
    font-size: 12px;
    margin-top: 6px;
  }
  .stop-tools {
    grid-column: 2;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: -4px;
  }
  .stop-tools .icon-button {
    min-width: 44px;
  }
  .move-tools {
    gap: 6px;
  }
  .stop-links {
    font-size: 11px;
    gap: 10px;
  }
  .add-stop {
    font-size: 12px;
  }
  .help-line {
    font-size: 11px;
  }
  .workspace-footer {
    font-size: 11px;
    padding: 23px 10px;
  }
  .places-view,
  .packing-view {
    padding: 28px 24px;
  }
  .places-view > p,
  .packing-view > p {
    font-size: 12px;
  }
  .place-row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
  }
  .place-row > button {
    grid-column: 2;
    justify-self: start;
    font-size: 11px;
  }
  .places-day > h3 {
    font-size: 19px;
  }
  .packing-list label {
    font-size: 12px;
  }
  .packing-list button {
    font-size: 11px;
  }
  .inline-form input {
    font-size: 12px;
  }
  .inline-form button {
    font-size: 12px;
  }
  .preview-hint {
    padding: 12px 20px;
    font-size: 10px;
  }
  .preview-hint button {
    font-size: 10px;
  }
  .notebook .timezone {
    margin: 20px 24px;
    font-size: 10px;
  }
  .notebook .print-day {
    padding: 20px 24px 8px;
  }
  .notebook .stop {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .notebook .print-packing {
    padding: 22px 24px;
  }
  .print-packing ul {
    columns: 1;
  }
  .notebook-footer {
    margin: 16px 24px 0;
    display: block;
    font-size: 13px;
  }
  .notebook-footer span {
    display: block;
    margin-top: 8px;
    font-size: 10px;
  }
  .shared main {
    margin: 0;
  }
  .cover {
    height: 180px;
  }
  dialog {
    padding: 24px;
    max-height: 92dvh;
  }
  dialog h2 {
    font-size: 25px;
  }
  .form-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .form-grid > label {
    margin-top: 16px;
  }
  .notice {
    bottom: 16px;
    font-size: 12px;
  }
  .empty-library {
    padding: 50px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@page {
  size: auto;
  margin: 16mm 14mm;
}
@media print {
  body,
  :root {
    background: white;
    color: #23352b;
    font-size: 11pt;
  }
  #app {
    display: block;
  }
  .sidebar,
  .toolbar,
  .book,
  .workspace-footer,
  .notice,
  .storage-error,
  .skip,
  dialog {
    display: none !important;
  }
  #workspace {
    padding: 0;
  }
  .workspace-inner {
    max-width: none;
  }
  .print-only {
    display: block;
  }
  .notebook {
    background: white !important;
    --paper: white;
    --muted: #465147;
  }
  .notebook .trip-heading {
    padding: 0 0 20px;
  }
  .notebook h1 {
    font-size: 38pt;
    max-width: 18ch;
    line-height: 1.1;
  }
  .notebook .destination {
    font-size: 11pt;
  }
  .notebook .trip-dates {
    font-size: 10pt;
  }
  .notebook .summary {
    font-size: 13pt;
  }
  .notebook .sample-note {
    margin: 8px 0 16px;
    padding: 10px;
    font-size: 9pt;
  }
  .notebook .timezone {
    margin: 0 0 18px;
    font-size: 9pt;
  }
  .notebook .print-day {
    padding: 18px 0 0;
  }
  .notebook .day-heading {
    margin-bottom: 18px;
    break-after: avoid;
  }
  .notebook .day-heading h2 {
    font-size: 24pt;
  }
  .notebook .day-date {
    font-size: 9pt;
  }
  .notebook .day-note {
    font-size: 10pt;
  }
  .notebook .stop {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0;
    break-inside: avoid;
  }
  .notebook .stop h3 {
    font-size: 16pt;
  }
  .notebook .stop-time,
  .notebook .stop-notes,
  .notebook .address,
  .notebook .stop-links {
    font-size: 10pt;
  }
  .notebook .status {
    font-size: 8pt;
  }
  .notebook .stop-tools {
    display: none;
  }
  .notebook .print-packing {
    padding: 20px 0;
    break-inside: avoid;
  }
  .notebook .print-packing ul {
    columns: 2;
    font-size: 10pt;
  }
  .notebook-footer {
    margin: 20px 0 0;
    break-inside: avoid;
  }
  .notebook .cover {
    height: 150px;
    margin-bottom: 20px;
  }
  .shared main {
    margin: 0;
    box-shadow: none;
    max-width: none;
  }
  .shared .notebook {
    padding: 0;
  }
  a {
    color: #23352b;
    text-decoration: underline;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
  }
}
