/* GENERATED FILE - DO NOT EDIT.
   Source: shared/print-theme.css - run `npm run sync:shared` after editing. */

/* Itinerary PDF theme — the "workbook" look for the printed / exported itinerary.
   Layered on top of the print-board layout (css/styles.css @media print on web,
   mobile/www/css/print-board.css in the app). Visual only: no layout geometry
   (page size, poster height, column maths) changes here.

   Loaded as <link media="print"> on play.html and mobile/www/index.html, and
   appended as screen CSS to the iOS LakbayPrint document — so no @media wrapper. */

:root {
  --pt-paper: #fbf6ec;
  --pt-card: #fffdf8;
  --pt-forest: #1f3d30;
  --pt-forest-2: #2d5a45;
  --pt-gold: #b8892f;
  --pt-gold-soft: #f2cf7e;
  --pt-ink: #1d1a15;
  --pt-muted: #6f675a;
  --pt-rule: #e6dcc8;
  --pt-rule-soft: #efe7d6;
  --pt-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --pt-sans: "DM Sans", Helvetica, Arial, sans-serif;
}

html,
body,
html.is-printing .print-root,
.print-root {
  background: #fbf6ec !important;
  color: #1d1a15;
}

.print-root {
  counter-reset: pt-page;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
}

.print-poster {
  counter-increment: pt-page;
  position: relative;
  background: #fbf6ec;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  color: #1d1a15;
  gap: 0.34rem;
}

/* ---------- Header band (both page kinds) ---------- */

.print-poster .print-mast {
  align-items: flex-end;
  padding: 0.55rem 0.9rem 0.5rem;
  background: #1f3d30;
  color: #fbf6ec;
  border-bottom: 2px solid #b8892f;
  border-radius: 0 0 6px 6px;
  break-after: avoid;
  page-break-after: avoid;
}

.print-poster .print-kicker {
  margin: 0 0 0.12rem;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 6.2pt;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f2cf7e;
}

.print-poster .print-mast h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 17pt;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: #fffdf8;
}

.print-poster .print-mast em {
  font-style: italic;
  font-weight: 400;
  color: #f2cf7e;
}

.print-poster .print-page-note {
  margin: 0.22rem 0 0;
  font-size: 6.4pt;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9ccae;
}

.print-poster .print-meta {
  max-width: 45%;
  font-size: 7.2pt;
  line-height: 1.4;
  color: #efe6d2;
  opacity: 1;
}

/* ---------- Timetable page ---------- */

.print-legend {
  gap: 0.2rem 0.35rem;
  padding: 0 0.1rem;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 5.8pt;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.print-legend li {
  gap: 0.25rem;
  padding: 0.08rem 0.42rem 0.08rem 0.32rem;
  border: 1px solid #e6dcc8;
  border-radius: 999px;
  background: #fffdf8;
}

.print-legend li::before {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
}

.print-board {
  border: 1px solid #e6dcc8;
  border-radius: 6px;
  background: #fffdf8;
}

.print-board-head {
  background: #f4ecdb;
  color: #1f3d30;
  border-bottom: 1.5px solid #b8892f;
}

.print-corner {
  color: #8a6a2a;
  font-weight: 600;
  border-right: 1px solid #e6dcc8;
}

.print-day-label {
  padding: 0.22rem 0.24rem 0.24rem;
  border-right: 1px solid #e6dcc8;
}

.print-day-label strong {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 7.4pt;
  font-weight: 500;
  color: #1f3d30;
}

.print-day-label small {
  font-size: 5.2pt;
  color: #6f675a;
}

.print-board-body,
.print-day-col {
  background: #fffdf8;
}

.print-hours {
  background: #fbf6ec;
  border-right: 1px solid #e6dcc8;
}

.print-hour {
  color: #8a8172;
  border-bottom: 1px solid #efe7d6;
}

.print-day-col {
  border-right: 1px solid #efe7d6;
}

.print-day-rail {
  background-color: #fffdf8;
  background-image: repeating-linear-gradient(
    to bottom,
    #fffdf8 0,
    #fffdf8 calc(100% / 24 - 1px),
    #f1eadb calc(100% / 24 - 1px),
    #f1eadb calc(100% / 24)
  );
}

.print-block {
  left: 0.08rem;
  right: 0.08rem;
  border-left-width: 2px;
  padding: 0.08rem 0.2rem 0.1rem 0.24rem;
  border-radius: 2px 3px 3px 2px;
}

.print-block.print-block-short {
  padding: 0 0.2rem 0 0.24rem;
}

.print-block time {
  color: #5d5548;
  font-weight: 600;
}

.print-block span {
  color: #1d1a15;
}

/* Solid tints (no color-mix) so WebKit / Android print keep the wash. */
.print-block.type-transpo { border-left-color: #0369a1; background: #e8f0f5; }
.print-block.type-food { border-left-color: #c2410c; background: #f8ebe0; }
.print-block.type-attraction,
.print-block.type-see { border-left-color: #0f766e; background: #e5f0ed; }
.print-block.type-rest { border-left-color: #a21caf; background: #f5e8f6; }
.print-block.type-activity { border-left-color: #be123c; background: #f7e6ea; }
.print-block.type-tour { border-left-color: #a16207; background: #f6eedb; }
.print-block.type-shop { border-left-color: #4338ca; background: #f6eedb; }
.print-block.type-rr,
.print-block.type-freetime { border-left-color: #15803d; background: #e6f2e8; }

.print-foot {
  align-items: center;
  padding: 0.2rem 0.35rem 0;
  border-top: 1px solid #b8892f;
  font-size: 6.2pt;
  color: #6f675a;
}

.print-foot span {
  white-space: nowrap;
}

/* Brand + page number on every page. */
.print-foot::after,
.print-details .print-list-footer::after {
  content: "LakbayBook \00B7  p. " counter(pt-page);
  margin-left: auto;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 6.6pt;
  letter-spacing: 0.02em;
  color: #2d5a45;
  white-space: nowrap;
}

/* ---------- Daily detail pages ---------- */

.print-details {
  background: #fbf6ec;
  gap: 0;
}

.print-details .print-mast {
  padding: 0.75rem 1.2rem 0.65rem;
  border-bottom: 2px solid #b8892f;
}

.print-details .print-mast h1 {
  font-size: 20pt;
}

.print-day-intro {
  align-items: baseline;
  margin: 14px 26px 8px;
  padding: 0 0 7px;
  border-bottom: 1px solid #e6dcc8;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 12pt;
  font-style: italic;
  font-weight: 400;
  color: #1f3d30;
  break-after: avoid;
  page-break-after: avoid;
}

.print-day-intro small {
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: 7.4pt;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f675a;
}

.print-details .print-detail-list {
  margin: 0 26px;
  padding: 0;
}

.print-details .print-detail-list li {
  --event-accent: #2d5a45;
  --event-chip: #e3ece5;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 0;
  border: 0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.print-details .print-detail-list li.print-event-food { --event-accent: #a95d2a; --event-chip: #f5e7d9; }
.print-details .print-detail-list li.print-event-travel { --event-accent: #3d6c83; --event-chip: #e1ecf1; }
.print-details .print-detail-list li.print-event-rest { --event-accent: #7a5c8c; --event-chip: #eee5f2; }

/* Timeline spine + dot, centred in the gap between time and card. */
.print-details .print-detail-list li::before {
  left: 130px;
  width: 1px;
  background: #e0d3b6;
}

.print-details .print-detail-list li:first-child::before { top: 12px; }
.print-details .print-detail-list li:last-child::before { bottom: auto; height: 12px; }
.print-details .print-detail-list li:only-child::before { display: none; }

.print-details .print-detail-list li::after {
  left: 126.5px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-sizing: border-box;
  background: #fffdf8;
  border: 2px solid var(--event-accent);
}

.print-details .print-detail-list time {
  display: block;
  padding: 7px 0 0;
  text-align: right;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 8.4pt;
  font-weight: 600;
  line-height: 1.3;
  color: #1f3d30;
  font-variant-numeric: tabular-nums;
}

.print-event-card {
  padding: 6px 0 7px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #efe7d6;
  border-radius: 0;
}

.print-details .print-detail-list li:last-child .print-event-card {
  border-bottom: 0;
}

.print-details .print-detail-list strong {
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 10.4pt;
  font-weight: 600;
  line-height: 1.28;
  color: #1d1a15;
}

.print-event-meta {
  gap: 8px;
  margin-top: 4px;
  font-size: 7.2pt;
  color: #6f675a;
}

.print-details .print-event-meta small {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--event-chip);
  color: var(--event-accent);
  font-size: 6.4pt;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.print-event-meta span {
  font-variant-numeric: tabular-nums;
}

.print-details .print-list-footer {
  align-items: center;
  gap: 12px;
  margin: auto 26px 0;
  padding: 7px 0 8px;
  border-top: 1px solid #b8892f;
  font-size: 6.8pt;
  letter-spacing: 0.06em;
  color: #6f675a;
}

.print-details .print-list-footer span:first-child {
  font-weight: 600;
  color: #1f3d30;
}

.print-details .print-list-footer span + span {
  margin-left: auto;
}

.print-details .print-list-footer::after {
  content: "p. " counter(pt-page);
  margin-left: 0;
  padding-left: 12px;
  border-left: 1px solid #e6dcc8;
}
