@font-face {
  font-family: Cormorant;
  src: url('../fonts/cormorant-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --paper: #f5f6f2;
  --ink: #101e26;
  --navy: #132e3d;
  --navy-dark: #0d2431;
  --saffron: #f6a72d;
  --amber: #92600e;
  --muted: #64727a;
  --line: #cbd3d5;
  --gutter: clamp(22px, 3.5vw, 58px);
  --max: 1680px;
  --header-height: 72px;
  color-scheme: light;
  scroll-padding-top: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body.composer-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 13px/1.55 Poppins, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button { background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { object-fit: cover; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}
strong, b { font-weight: 600; }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 4px; }
input, select, textarea { min-width: 0; color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--saffron);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Dedicated journey masthead, aligned with the guide navigation. */
.composer-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 20px;
  padding: 8px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.composer-brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.composer-header .brand { display: block; flex: none; }
.composer-header .brand img { width: 112px; height: 52px; object-fit: contain; filter: brightness(0); }
.brand-label {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none;
}
.header-guide-link { display: inline-flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.header-guide-link:hover { color: var(--amber); }
.trip-name { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.trip-name input {
  width: 100%;
  min-height: 40px;
  padding: 5px 8px;
  text-align: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  font: 700 23px/1.15 Cormorant, Georgia, serif;
  text-overflow: ellipsis;
}
.trip-name input:hover { border-bottom-color: var(--line); }
.trip-name input:focus { border-bottom-color: var(--saffron); }
.trip-name svg { flex: none; width: 16px; height: 16px; }
.share-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 41px;
  padding: 8px 22px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 12px;
  transition: background .16s;
}
.share-button:hover { background: #e9eeeb; }
.share-button svg { width: 17px; height: 17px; }
.icon-button { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; font-size: 28px; }
.icon-button svg { width: 21px; height: 21px; }

/* Main selection area and the permanently visible desktop notebook. */
.composer-layout, .plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(330px, 1fr);
  align-items: start;
  gap: clamp(26px, 2.4vw, 40px);
  width: 100%;
  max-width: var(--max);
  padding: 20px var(--gutter) 42px;
  margin: 0 auto;
}
.composer-main, .plan-main { min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 28px; margin-bottom: 19px; font-size: 12px; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--amber); }
.eyebrow { color: var(--amber); font-size: 9px; line-height: 1.6; font-weight: 600; letter-spacing: .31em; text-transform: uppercase; }
.composer-title { margin-top: 4px; }
.composer-title h1, h1.composer-title {
  max-width: 940px;
  font-size: clamp(48px, 4.7vw, 76px);
  line-height: .94;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.composer-intro { margin-top: 12px; color: var(--muted); font-size: clamp(12px, 1.06vw, 16px); line-height: 1.55; max-width: 900px; }
.category-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(4px, 1.6vw, 28px);
  width: 100%;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px 11px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 12px;
  transition: color .15s, border-color .15s;
}
.category-tab:hover { color: var(--ink); }
.category-tab[aria-selected='true'] { color: var(--ink); border-color: var(--saffron); font-weight: 600; }
.category-tab .count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 50%; background: #e6ebea; color: var(--ink); font: 400 10px/1 Poppins, sans-serif; }
.category-tab .count:empty { display: none; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(165px, 22%); gap: 12px; margin: 13px 0 12px; }
.search-field { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 51px; padding: 0 17px; border: 1px solid #91a0a8; background: #ffffff20; border-radius: 2px; }
.search-field svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.search-field input { width: 100%; min-height: 49px; padding: 6px 0; border: 0; background: transparent; font: 700 22px/1.2 Cormorant, Georgia, serif; }
.search-field:focus-within { outline: 2px solid var(--saffron); outline-offset: 2px; }
.search-field input:focus-visible { outline: none; }
.filter-bar select, .month-select { width: 100%; min-height: 51px; padding: 10px 33px 10px 15px; border: 1px solid #91a0a8; border-radius: 2px; background-color: transparent; font-size: 12px; }
.category-panel { min-width: 0; }
.section-heading { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 12px 0 13px; }
.section-heading h2, h2.section-heading { font-size: clamp(29px, 2.55vw, 40px); }
.section-heading p { color: var(--muted); font-size: 12px; }

/* Selectable photograph cards: generous images and quiet square checkmarks. */
.envy-grid, .experience-grid, .activity-grid, .circuit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-card, .photo-card, .experience-card, .activity-feature, .activity-card, .pepite-card, .circuit-card { position: relative; min-width: 0; text-align: left; }
.choice-card > button, .experience-card > button, .activity-card > button, .pepite-card > button, .circuit-card > button { display: block; width: 100%; height: 100%; text-align: left; }
.photo-card, .envy-grid > .choice-card {
  display: block;
  width: 100%;
  min-height: 178px;
  aspect-ratio: 1.68;
  overflow: hidden;
  background: var(--navy);
  color: white;
  border: 1px solid transparent;
}
.envy-grid > .choice-card > .photo-card { height: 100%; aspect-ratio: auto; border: 0; }
.photo-card img, .envy-grid > .choice-card > img, .envy-grid > .choice-card > button > img { width: 100%; height: 100%; position: absolute; inset: 0; }
.photo-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 30%, #07192326 48%, #071923da 100%); }
.photo-card .card-content, .envy-grid .card-content { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 34px 12px 11px; background: linear-gradient(transparent, #081b2790); }
.card-content h3 { font-size: clamp(23px, 1.9vw, 31px); line-height: .99; }
.card-content p { margin-top: 4px; font-size: 11px; line-height: 1.35; }
.select-indicator { position: absolute; z-index: 3; top: 11px; right: 11px; display: grid; place-items: center; width: 21px; height: 21px; border: 1.5px solid #c4cdd1; border-radius: 2px; background: #ffffff7a; color: transparent; font-size: 0; transition: background .16s, border-color .16s; }
.select-indicator svg { opacity: 0; }
.photo-card .select-indicator, .pepite-card .select-indicator, .card-image .select-indicator { border-color: white; background: #ffffff17; }
:is(.choice-card, .photo-card, .experience-card, .activity-feature, .activity-card, .pepite-card, .circuit-card):is(.is-selected, [aria-pressed='true']) { border-color: var(--saffron); box-shadow: inset 0 0 0 1px var(--saffron); }
:is(.is-selected, [aria-pressed='true']) > .select-indicator,
:is(.is-selected, [aria-pressed='true']) .select-indicator { background: var(--saffron); border-color: var(--saffron); }
:is(.is-selected, [aria-pressed='true']) .select-indicator::after { content: ''; width: 11px; height: 6px; margin-top: -3px; border-left: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink); transform: rotate(-45deg); }
.choice-card:hover .select-indicator, .experience-card:hover .select-indicator, .activity-feature:hover .select-indicator, .activity-card:hover .select-indicator, .pepite-card:hover .select-indicator, .circuit-card:hover .select-indicator { border-color: var(--saffron); }
.experience-card, .circuit-card { border: 1px solid var(--line); background: #ffffff12; overflow: hidden; }
.card-image { display: block; position: relative; overflow: hidden; background: #dae0de; }
.experience-card .card-image { aspect-ratio: 2.12; }
.circuit-card .card-image { aspect-ratio: 1.75; }
.card-image img { width: 100%; height: 100%; }
.card-copy { display: block; min-width: 0; padding: 9px 12px 11px; }
.card-copy h3 { font-size: clamp(21px, 1.65vw, 27px); line-height: 1.02; }
.card-copy .meta, .card-copy p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.42; }
.card-copy .meta { display: block; font-size: 10px; }
.selection-badge, .added-badge { position: absolute; z-index: 2; bottom: 8px; left: 10px; padding: 3px 9px; background: var(--saffron); color: var(--ink); border-radius: 12px; font-size: 9px; font-weight: 600; }
.experience-card .select-indicator, .circuit-card .select-indicator { top: 10px; right: 10px; }

/* Activities mix one landscape story with a compact icon directory. */
.activities-feature { margin-bottom: 12px; }
.activity-feature { display: grid; grid-template-columns: 1.1fr 1fr; width: 100%; min-height: 188px; border: 1px solid var(--line); background: #ffffff28; overflow: hidden; }
.activity-feature > img, .activity-feature > .card-image { width: 100%; height: 100%; min-height: 188px; max-height: 255px; object-fit: cover; }
.activity-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; min-width: 0; padding: 22px 28px; }
.activity-feature-copy h2, .activity-feature-copy h3 { font-size: clamp(29px, 2.6vw, 42px); }
.activity-feature-copy p, .activity-feature-copy .meta { color: var(--muted); font-size: 12px; line-height: 1.5; }
.activity-feature-copy .eyebrow { font-size: 9px; color: var(--amber); }
.activity-feature-copy .meta { display: flex; gap: 8px; align-items: center; }
.activity-feature-copy .meta svg { width: 17px; height: 17px; }
.activity-grid { gap: 9px 12px; }
.activity-card { display: flex; align-items: center; gap: 12px; min-height: 73px; padding: 10px 34px 10px 12px; border: 1px solid var(--line); background: #ffffff20; }
.activity-card > button { display: flex; align-items: center; gap: 12px; }
.activity-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; }
.activity-icon svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.activity-card .card-copy { padding: 0; }
.activity-card h3 { font-size: 22px; }
.activity-card .card-copy p { font-size: 10px; }
.activity-card .select-indicator { width: 18px; height: 18px; top: 14px; right: 11px; background: transparent; }
.activity-card.is-selected .select-indicator, .activity-card[aria-pressed='true'] .select-indicator { background: var(--saffron); }

/* The first pépite is a full-height editorial card, followed by smaller places. */
.pepite-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: minmax(181px, 1fr); gap: 12px; }
.pepite-card { min-height: 181px; overflow: hidden; border: 1px solid transparent; color: white; background: var(--navy); }
.pepite-card:first-child { grid-row: span 2; min-height: 385px; }
.pepite-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pepite-card .card-content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 65px 12px 14px; background: linear-gradient(transparent, #0d2431eb); }
.pepite-card .card-content h3 { font-size: clamp(23px, 1.85vw, 31px); }
.pepite-card .card-content p { color: #e2edf0; }
.pepite-card:first-child .card-content { padding: 100px 18px 19px; }
.pepite-card:first-child .card-content h3 { font-size: clamp(32px, 2.75vw, 45px); }
.pepite-card:first-child .card-content p { font-size: 12px; margin-top: 7px; }
.pepite-card .eyebrow { position: absolute; z-index: 1; top: 16px; left: 17px; color: white; }
.pepite-card .added-label, .selection-caption { display: block; margin-top: 15px; color: var(--saffron); font-size: 12px; }
.pepite-card .card-content > small { display: block; margin-bottom: 5px; font-size: 10px; color: #bfdae5; }
.more-button { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; margin-top: 11px; padding: 5px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.more-button:hover { color: var(--amber); }
.next-category { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; padding-top: 15px; border-top: 1px solid var(--line); }
.next-category h2, .next-category h3 { font-size: clamp(29px, 2.6vw, 42px); }
.next-category button, .next-category a { flex: none; padding: 8px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.empty-state { padding: 48px 24px; border: 1px solid var(--line); text-align: center; }
.empty-state h2, .empty-state h3 { font-size: 32px; }
.empty-state p { max-width: 430px; margin: 12px auto; color: var(--muted); }

/* Notebook: a geographic view and a readable live list, never a second catalog. */
.notebook {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  min-width: 0;
  max-height: calc(100dvh - var(--header-height) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 28px 16px;
  background: var(--navy);
  color: var(--paper);
  scrollbar-width: thin;
  scrollbar-color: #68808d var(--navy);
}
.notebook-heading .eyebrow { color: var(--saffron); font-size: 8px; letter-spacing: .26em; }
.notebook-heading h2 { margin-top: 5px; font-size: clamp(35px, 3.15vw, 50px); line-height: .94; letter-spacing: -.04em; }
.notebook-heading > p:not(.eyebrow) { margin-top: 8px; color: #bdd0d9; font-size: 11px; }
.route-map { width: 100%; margin: 16px 0 13px; }
.route-map svg { width: 100%; height: auto; max-height: min(37vw, 390px); }
.route-map text { font-family: Poppins, Arial, sans-serif; }
.route-map .map-label { fill: var(--paper); font-size: 12px; }
.route-map .map-point { fill: var(--saffron); stroke: var(--navy); stroke-width: 2px; }
.route-map .route-line { fill: none; stroke: var(--saffron); stroke-width: 2px; stroke-dasharray: 5 5; }
.notebook-summary { padding-top: 12px; border-top: 1px solid #e0eaed8a; }
.notebook-summary h3, .notebook-summary > strong { display: block; font: 700 27px/1.05 Cormorant, Georgia, serif; letter-spacing: -.025em; }
.notebook-summary > p { color: #bdd0d9; font-size: 12px; line-height: 1.5; margin-top: 7px; }
.selection-list { display: grid; gap: 7px; margin-top: 11px; }
.selection-row { display: grid; grid-template-columns: 67px minmax(0, 1fr) 27px; align-items: center; gap: 10px; min-width: 0; position: relative; }
.selection-row > img { width: 67px; height: 39px; border: 1px solid #7390a1; object-fit: cover; }
.selection-row:not(:has(> img)) { grid-template-columns: minmax(0, 1fr) 27px; }
.selection-copy { min-width: 0; }
.selection-copy strong { display: block; font: 700 18px/1.07 Cormorant, Georgia, serif; letter-spacing: -.012em; overflow-wrap: anywhere; }
.selection-copy small { display: block; margin-top: 3px; color: #a8ccd9; font-size: 9px; line-height: 1.4; }
.remove-choice { display: grid; place-items: center; width: 28px; height: 32px; font-size: 23px; font-weight: 400; color: #d3e0e5; }
.remove-choice svg { width: 17px; height: 17px; }
.remove-choice:hover { color: var(--saffron); }
.places-summary { margin-top: 11px; color: #c5d5dc; font-size: 10px; line-height: 1.65; }
.places-summary strong { color: var(--paper); font-weight: 400; }
.notebook-note { margin-top: 5px; color: #b8cdd6; font-size: 10px; line-height: 1.5; }
.notebook-footer { margin-top: 12px; }
.notebook-footer .primary-button { width: 100%; min-height: 43px; }
.notebook-footer > p { margin-top: 7px; color: #bdd0d9; text-align: center; font-size: 9px; line-height: 1.5; }
.notebook .text-button { color: #c6d8e0; font-size: 10px; }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background .16s, border-color .16s, color .16s;
}
.primary-button { background: var(--saffron); color: var(--ink); }
.primary-button:hover { background: #ffb743; }
.primary-button:disabled { background: #546b79; color: #c4cfd5; opacity: .82; }
.primary-button svg, .secondary-button svg { width: 18px; height: 18px; }
.secondary-button { border-color: #819199; color: var(--ink); background: transparent; }
.secondary-button:hover { background: #e7ede9; }
.secondary-button:disabled { opacity: .45; }
.text-button { min-height: 36px; text-decoration: underline; text-underline-offset: 5px; font-size: 12px; }
.text-button:hover { color: var(--amber); }

/* Travel constraints retain the same paper-and-rule vocabulary. */
.frame-panel { max-width: 860px; padding-top: 16px; }
.frame-group { padding: 21px 0; border-bottom: 1px solid var(--line); }
.frame-group:first-child { padding-top: 2px; }
.frame-group fieldset, fieldset.frame-group { min-width: 0; padding-inline: 0; border-inline: 0; border-top: 0; margin: 0; }
.frame-group legend, .frame-group h2, .frame-group h3 { margin-bottom: 12px; padding: 0; font: 700 29px/1.1 Cormorant, Georgia, serif; letter-spacing: -.025em; }
.frame-group > p { margin: -3px 0 13px; color: var(--muted); font-size: 12px; }
.option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option-button { min-height: 43px; padding: 10px 16px; border: 1px solid #acb8bc; background: transparent; font-size: 12px; }
.option-button:hover { border-color: var(--amber); }
.option-button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: white; }
.month-select { max-width: 350px; }
label.month-select { display: block; padding: 0; border: 0; }
.month-select select { width: 100%; min-height: 47px; padding: 10px 13px; border: 1px solid #91a0a8; border-radius: 1px; background: transparent; }

/* Mobile notebook and small native dialogs. */
.mobile-bar { display: none; }
dialog {
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 70px #07192330;
}
dialog::backdrop { background: #081d29a8; backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 23px 12px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 33px; }
.dialog-body { padding: 22px 25px 26px; }
.dialog-body > p { color: var(--muted); margin-bottom: 18px; }
.dialog-body input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #96a4ac; background: transparent; }
.dialog-body .primary-button, .dialog-body .secondary-button { margin-top: 14px; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.dialog-actions .primary-button, .dialog-actions .secondary-button { margin-top: 0; }
.share-link { display: flex; align-items: center; gap: 8px; }
.share-link input { flex: 1; }
.notebook-dialog { width: min(470px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; background: var(--navy); color: var(--paper); }
.notebook-dialog .dialog-header { border-color: #718692; padding: 9px 18px; }
.notebook-dialog .dialog-header h2 { font-size: 26px; }
.notebook-dialog .notebook { display: block; position: static; top: auto; max-height: none; padding-top: 20px; overflow: visible; }
.notebook-dialog .route-map svg { max-height: 360px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: min(500px, calc(100vw - 32px)); transform: translateX(-50%); padding: 13px 22px; background: var(--navy-dark); color: white; border-left: 3px solid var(--saffron); box-shadow: 0 7px 25px #132e3d20; font-size: 12px; text-align: center; }

/* Composed itinerary: editorial days and the handoff to the recap. */
#plan-view { padding-bottom: 40px; }
.plan-layout { padding-top: 30px; }
.plan-title h1, h1.plan-title { margin: 7px 0 13px; font-size: clamp(46px, 4.4vw, 70px); line-height: .98; }
.plan-summary { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 760px; }
.plan-summary strong { color: var(--ink); }
.plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 23px 0 28px; }
.day-list { display: grid; gap: 20px; }
.day-card { position: relative; display: grid; grid-template-columns: 30% minmax(0, 1fr); min-width: 0; min-height: 186px; border: 1px solid var(--line); background: #ffffff22; }
.day-photo { position: relative; min-height: 180px; background: #d7dedb; }
.day-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.day-number { display: inline-flex; align-items: center; justify-content: center; min-width: 53px; min-height: 29px; padding: 5px 9px; background: var(--saffron); color: var(--ink); font-size: 10px; font-weight: 600; }
.day-photo .day-number { position: absolute; top: 12px; left: 12px; }
.day-content { padding: 23px 25px; }
.day-content > .day-number { margin-bottom: 12px; }
.day-content h2, .day-content h3 { font-size: 35px; }
.day-content > p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.day-places { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 13px; color: var(--amber); font-size: 10px; }
.day-places li, .day-places span { border-bottom: 1px solid #d9cbaa; padding-bottom: 2px; }
.plan-warnings { margin-top: 22px; padding: 17px 20px; border-left: 3px solid var(--saffron); background: #ebece4; color: #425661; font-size: 12px; line-height: 1.7; }
.plan-warnings p + p, .plan-warnings li + li { margin-top: 8px; }
.plan-map-panel { min-width: 0; }
.plan-map-panel:not(.notebook) { position: sticky; top: calc(var(--header-height) + 20px); }
.panel-enter { animation: panel-enter .18s ease-out both; }
.new-point { transform-box: fill-box; transform-origin: center; animation: point-appear .32s ease-out both; }
.new-leg { animation: leg-appear .35s ease-out both; }
@keyframes panel-enter { from { opacity: .3; } to { opacity: 1; } }
@keyframes point-appear { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes leg-appear { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1700px) {
  .composer-layout, .plan-layout { grid-template-columns: minmax(0, 2.35fr) 425px; }
}
@media (max-width: 1250px) {
  .composer-layout, .plan-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 25px; }
  .notebook { padding: 23px 23px 17px; }
  .notebook-heading h2 { font-size: 39px; }
  .category-nav { gap: 2px; }
  .category-tab { padding-inline: 10px; font-size: 11px; }
  .card-content h3 { font-size: 25px; }
  .activity-card { gap: 8px; padding-left: 9px; }
  .activity-icon, .activity-icon svg { width: 33px; }
  .activity-icon { flex-basis: 33px; }
  .activity-card h3 { font-size: 20px; }
  .activity-feature-copy { padding: 22px 20px; }
  .activity-feature-copy h2, .activity-feature-copy h3 { font-size: 31px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 26px; }
  .composer-brand { gap: 18px; }
  .brand-label { padding-left: 18px; }
  .share-button { padding-inline: 17px; }
  .composer-layout, .plan-layout { grid-template-columns: minmax(0, 1fr) 305px; gap: 23px; }
  .composer-title h1, h1.composer-title { font-size: 56px; }
  .notebook { padding-inline: 20px; }
  .notebook-heading h2 { font-size: 37px; }
  .selection-row { grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 8px; }
  .selection-row > img { width: 56px; height: 37px; }
  .selection-copy strong { font-size: 17px; }
  .envy-grid, .experience-grid, .circuit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pepite-grid { grid-template-columns: 1.2fr 1fr; grid-auto-rows: minmax(177px, 1fr); }
  .pepite-card:first-child { grid-row: span 2; }
  .activity-feature { grid-template-columns: 1fr; }
  .activity-feature > img, .activity-feature > .card-image { height: 175px; min-height: 0; }
  .activity-feature-copy { padding: 19px; }
  .activity-feature-copy h2, .activity-feature-copy h3 { font-size: 35px; }
  .next-category { align-items: flex-start; flex-direction: column; gap: 8px; }
  .day-card { grid-template-columns: 34% minmax(0, 1fr); }
  .day-content { padding: 20px; }
}
@media (max-width: 900px) {
  :root { --gutter: 28px; }
  body.composer-page { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .composer-layout, .plan-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .composer-layout > .notebook { display: none; }
  .composer-title h1, h1.composer-title { font-size: clamp(48px, 7vw, 66px); max-width: 760px; }
  .category-nav { gap: 10px; }
  .category-tab { padding-inline: 13px; font-size: 12px; }
  .envy-grid, .experience-grid, .circuit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card, .envy-grid > .choice-card { min-height: 168px; }
  .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activity-feature { grid-template-columns: 1.05fr 1fr; }
  .activity-feature > img, .activity-feature > .card-image { height: 100%; min-height: 205px; }
  .activity-feature-copy { padding: 22px; }
  .pepite-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(180px, 1fr); }
  .next-category { flex-direction: row; align-items: center; margin-top: 25px; }
  .mobile-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 75px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #71848e; background: var(--navy); color: white; }
  .mobile-summary { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-align: left; }
  .mobile-summary strong { font: 700 24px/1.05 Cormorant, Georgia, serif; }
  .mobile-summary small, .mobile-summary span { font-size: 10px; color: #bbd0da; }
  .mobile-bar .primary-button { min-height: 43px; padding: 11px 17px; font-size: 11px; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .plan-map-panel:not(.notebook), .plan-layout > .notebook { position: static; max-height: none; }
  .plan-map-panel { grid-row: 2; }
  .plan-map-panel .route-map { max-width: 390px; margin-inline: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-height: 64px; }
  .composer-header { gap: 12px; padding-block: 5px; }
  .composer-brand { gap: 12px; }
  .composer-header .brand img { width: 96px; height: 44px; }
  .brand-label { padding-left: 12px; font-size: 11px; }
  .header-guide-link { font-size: 11px; gap: 7px; }
  .share-button { min-height: 37px; padding: 7px 12px; font-size: 10px; gap: 7px; grid-column: 2; grid-row: 1; }
  .trip-name { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #dce1df; margin-top: 6px; padding-top: 4px; }
  .trip-name input { width: min(100%, 300px); min-height: 30px; font-size: 20px; padding-block: 3px; }
  .trip-name svg { width: 13px; height: 13px; }
  .composer-layout { padding-top: 15px; padding-bottom: 25px; }
  .back-link { margin-bottom: 17px; font-size: 11px; }
  .eyebrow { font-size: 8px; letter-spacing: .25em; }
  .composer-title { margin-top: 6px; }
  .composer-title h1, h1.composer-title { font-size: clamp(43px, 8.5vw, 55px); line-height: .97; letter-spacing: -.045em; }
  .composer-intro { margin-top: 11px; font-size: 12px; line-height: 1.65; }
  .category-nav { margin-top: 15px; gap: 7px; }
  .category-tab { min-height: 46px; padding-inline: 9px; font-size: 11px; }
  .category-tab:first-child { padding-left: 0; }
  .filter-bar { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
  .search-field { min-height: 47px; padding-inline: 13px; gap: 10px; }
  .search-field input { min-height: 45px; font-size: 20px; }
  .search-field svg { width: 21px; height: 21px; }
  .filter-bar select { min-height: 42px; font-size: 11px; padding-block: 8px; }
  .section-heading { gap: 5px; margin-top: 16px; margin-bottom: 12px; }
  .section-heading h2, h2.section-heading { font-size: 32px; }
  .section-heading p { width: 100%; font-size: 11px; }
  .envy-grid, .experience-grid, .circuit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-card, .envy-grid > .choice-card { min-height: 181px; aspect-ratio: .94; }
  .photo-card .card-content, .envy-grid .card-content { padding: 40px 10px 11px; }
  .card-content h3 { font-size: 26px; }
  .card-content p { font-size: 10px; margin-top: 6px; line-height: 1.45; }
  .select-indicator { top: 9px; right: 9px; width: 21px; height: 21px; }
  .experience-card .card-image, .circuit-card .card-image { aspect-ratio: 1.45; }
  .card-copy { padding: 10px; }
  .card-copy h3 { font-size: 24px; line-height: 1.02; }
  .card-copy p, .card-copy .meta { font-size: 10px; line-height: 1.5; margin-top: 6px; }
  .activity-feature { grid-template-columns: 1fr; }
  .activity-feature > img, .activity-feature > .card-image { min-height: 0; height: 195px; }
  .activity-feature-copy { padding: 20px 18px; gap: 8px; }
  .activity-feature-copy h2, .activity-feature-copy h3 { font-size: 36px; }
  .activity-feature-copy p { font-size: 11px; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .activity-card { align-items: flex-start; gap: 8px; padding: 14px 27px 13px 10px; min-height: 93px; }
  .activity-card > button { align-items: flex-start; gap: 8px; }
  .activity-icon { flex-basis: 28px; width: 28px; }
  .activity-icon svg { width: 28px; height: 35px; }
  .activity-card h3 { font-size: 22px; }
  .activity-card .card-copy p { font-size: 9px; }
  .activity-card .select-indicator { width: 16px; height: 16px; right: 8px; top: 12px; }
  .pepite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 10px; }
  .pepite-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 360px; }
  .pepite-card .card-content { padding: 55px 11px 13px; }
  .pepite-card .card-content h3 { font-size: 27px; }
  .pepite-card:first-child .card-content h3 { font-size: 40px; }
  .pepite-card:first-child .card-content p { max-width: 290px; }
  .more-button { margin-top: 9px; font-size: 11px; }
  .next-category { align-items: flex-start; flex-direction: column; gap: 9px; padding-top: 19px; margin-top: 20px; }
  .next-category h2, .next-category h3 { font-size: 34px; }
  .next-category a, .next-category button { font-size: 11px; }
  .frame-group { padding-block: 20px; }
  .option-button { padding: 10px 12px; font-size: 11px; }
  .mobile-bar { gap: 12px; }
  .mobile-summary strong { font-size: 22px; }
  .mobile-bar .primary-button { padding-inline: 13px; max-width: 55%; font-size: 10px; gap: 8px; }
  .notebook-dialog .notebook { padding-inline: 23px; }
  .notebook-dialog .notebook-heading h2 { font-size: 40px; }
  .notebook-dialog .route-map svg { max-height: 350px; }
  .dialog-header { padding-inline: 18px; }
  .dialog-header h2 { font-size: 30px; }
  .dialog-body { padding: 19px; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
  .dialog-actions > * { width: 100%; }
  .plan-layout { padding-top: 20px; }
  .plan-title h1, h1.plan-title { font-size: 48px; }
  .plan-summary { font-size: 12px; }
  .plan-actions { margin-block: 20px; gap: 8px; }
  .plan-actions .primary-button, .plan-actions .secondary-button { padding-inline: 14px; font-size: 11px; }
  .day-card { grid-template-columns: 1fr; }
  .day-photo { min-height: 190px; max-height: 220px; }
  .day-content { padding: 22px; }
  .day-content h2, .day-content h3 { font-size: 34px; }
}
@media (max-width: 370px) {
  :root { --gutter: 15px; }
  .share-button { padding-inline: 10px; font-size: 9px; }
  .composer-title h1, h1.composer-title { font-size: 42px; }
  .envy-grid, .experience-grid, .circuit-grid { gap: 8px; }
  .photo-card, .envy-grid > .choice-card { min-height: 185px; }
  .card-content h3 { font-size: 23px; }
  .card-content p { font-size: 9px; }
  .card-copy h3 { font-size: 21px; }
  .card-copy { padding: 10px 8px; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card { align-items: center; min-height: 73px; padding: 12px 37px 12px 15px; gap: 15px; }
  .activity-card > button { align-items: center; gap: 15px; }
  .activity-icon { flex-basis: 38px; width: 38px; }
  .activity-icon svg { width: 38px; height: 38px; }
  .activity-card .select-indicator { right: 13px; top: 15px; width: 18px; height: 18px; }
  .activity-card .card-copy p { font-size: 10px; }
  .pepite-card .card-content h3 { font-size: 24px; }
  .pepite-card .card-content p { font-size: 9px; }
  .mobile-summary strong { font-size: 20px; }
  .mobile-summary small, .mobile-summary span { font-size: 9px; }
  .mobile-bar .primary-button { min-height: 42px; padding-inline: 10px; }
  .notebook-dialog .notebook { padding-inline: 19px; }
  .notebook-dialog .notebook-heading h2 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  @page { margin: 16mm; }
  body.composer-page { padding: 0; background: white; color: black; font-size: 10pt; }
  .composer-header, .composer-layout, .mobile-bar, dialog, .toast, .skip-link, .plan-actions, .plan-map-panel, .back-link { display: none !important; }
  #plan-view, #plan-view[hidden] { display: block !important; padding: 0; }
  .plan-layout { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
  .plan-title h1, h1.plan-title { color: black; font-size: 32pt; }
  .plan-summary { font-size: 10pt; }
  .day-list { display: block; margin-top: 18pt; }
  .day-card { display: grid; grid-template-columns: 27% minmax(0, 1fr); min-height: 120px; margin-bottom: 12pt; break-inside: avoid; border-color: #bbb; }
  .day-photo { min-height: 120px; }
  .day-content { padding: 12pt; }
  .day-content h2, .day-content h3 { font-size: 21pt; }
  .day-content > p, .day-places { color: #333; font-size: 9pt; }
  .plan-warnings { background: transparent; color: #333; break-inside: avoid; }
  .day-number { color: black; background: #eee; }
}

/* One journey: preferences, itinerary, then the separate recap. Specificity
   intentionally keeps these rules above legacy details.css refinements. */
.composer-progress{max-width:var(--max);padding:10px var(--gutter) 0;margin:0 auto}
.composer-progress .journey-progress{margin:0}
body.composer-page .composer-layout{padding-top:28px}
.trip-name-details{margin-top:15px;max-width:390px}
.trip-name-details>summary{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;list-style:none;font-size:11px;color:#526a73}
.trip-name-details>summary::-webkit-details-marker{display:none}
.trip-name-details>summary::before{content:'+';font-size:19px;color:var(--amber)}
.trip-name-details[open]>summary::before{content:'−'}
.trip-name-details>summary>span{font-size:9px;color:var(--muted)}
body.composer-page .trip-name-details .trip-name{display:block;margin:0;padding:0;border:0}
body.composer-page .trip-name-details input{width:100%;min-height:46px;text-align:left;font-size:25px;border:1px solid var(--line);padding:9px 12px;background:#fffefa}
.composer-frame{margin:26px 0 30px;padding:23px 25px 0;border:1px solid var(--line);background:#eef1eb;scroll-margin-top:0}
.composer-frame-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.composer-frame-heading h2{font-size:31px}
.composer-frame-heading>span{font-size:9px;line-height:1.6;color:var(--muted)}
body.composer-page .composer-frame .frame-panel{max-width:none;padding-top:20px}
.frame-essentials{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(170px,1fr);gap:25px}
body.composer-page .composer-frame .frame-group{padding:0 0 22px;margin:0;border:0;min-width:0}
body.composer-page .composer-frame .frame-group legend{font:600 11px/1.6 Poppins,Arial,sans-serif;letter-spacing:0;margin-bottom:12px}
body.composer-page .composer-frame .option-list{gap:8px}
body.composer-page .composer-frame .option-button{min-height:44px;padding:10px 13px;font-size:11px;background:var(--paper)}
body.composer-page .composer-frame .option-button[aria-pressed=true]{background:var(--navy);color:var(--paper);border-color:var(--navy)}
body.composer-page .composer-frame .month-select select{display:block;width:100%;min-width:0;min-height:44px;height:44px;padding:8px 12px;font-size:11px}
.frame-optional{border-top:1px solid var(--line)}
.frame-optional>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:49px;padding:10px 0;font-size:11px;list-style:none;cursor:pointer}
.frame-optional>summary::-webkit-details-marker{display:none}
.frame-optional>summary>span{font-size:9px;color:var(--muted);margin-left:auto}
.frame-optional>summary::after{content:'+';font-size:20px;color:var(--amber)}
.frame-optional[open]>summary::after{content:'−'}
.frame-optional>div{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding-top:12px}
body.composer-page .filter-bar{margin-top:0;margin-bottom:30px}
body.composer-page .text-button,body.composer-page .notebook-reset{min-height:44px}
body.composer-page .selection-row{grid-template-columns:64px minmax(0,1fr) 44px;gap:10px}
body.composer-page .selection-row>.remove-choice{width:44px;height:44px}
body.composer-page .notebook-footer .primary-button{min-height:46px;font-size:11px}
body.composer-page .notebook-dialog{max-height:calc(100dvh - 24px)}
body.composer-page .notebook-dialog .dialog-header{min-height:59px;position:sticky;top:0;z-index:2;background:var(--navy)}
body.composer-page .notebook-dialog .dialog-header .icon-button{width:44px;height:44px}
body.composer-page #mobile-notebook{display:flex;flex-direction:column;max-height:calc(100dvh - 87px);overflow:hidden;padding:20px 22px 12px;gap:18px}
body.composer-page #mobile-notebook .notebook-summary{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 0 5px;border:0}
body.composer-page #mobile-notebook .selection-list{max-height:none;overflow:visible;margin-top:18px;gap:13px}
body.composer-page #mobile-notebook .selection-copy strong{font-size:21px;line-height:1.1}
body.composer-page #mobile-notebook .selection-copy small{font-size:10px;line-height:1.5}
body.composer-page #mobile-notebook .places-summary{margin-top:23px;font-size:11px}
body.composer-page #mobile-notebook .notebook-footer{flex:none;margin:0;padding-top:15px;border-top:1px solid #78909b}
body.composer-page #mobile-notebook .notebook-reset{font-size:10px;margin:7px auto 0}
body.composer-page .trace-page-actions{align-items:flex-start}
body.composer-page .trace-page-actions>.primary-button,body.composer-page .trace-page-actions>.secondary-button{min-height:46px;font-size:11px}
body.composer-page .frame-edit-link{font-size:10px;text-decoration:underline;text-underline-offset:4px}
.plan-tools{margin-left:auto;min-width:150px;position:relative}
.plan-tools>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:46px;padding:10px 14px;list-style:none;cursor:pointer;font-size:11px;border:1px solid var(--line)}
.plan-tools>summary::-webkit-details-marker{display:none}
.plan-tools>summary::after{content:'+';font-size:19px;color:var(--amber)}
.plan-tools[open]>summary::after{content:'−'}
.plan-tools>div{display:grid;gap:3px;padding:7px 13px;border:1px solid var(--line);border-top:0;background:var(--paper)}
body.composer-page .plan-tools .text-button{text-align:left;font-size:11px;min-height:44px}
.recap-invitation{display:flex;align-items:center;justify-content:space-between;gap:35px;background:var(--navy);color:var(--paper);padding:32px 35px;margin-top:38px}
.recap-invitation .eyebrow{color:var(--saffron);margin-bottom:12px}
.recap-invitation h2{font-size:clamp(35px,3vw,46px)}
.recap-invitation>.primary-button{flex:none;font-size:11px}
@media(max-width:1100px){
  .frame-essentials{grid-template-columns:1fr;gap:0}
  .frame-optional>div{grid-template-columns:1fr;gap:0}
  .composer-frame-heading{align-items:flex-start;flex-direction:column;gap:6px}
}
@media(max-width:900px){
  html body.composer-page[data-view=plan]{padding-bottom:87px}
  body.composer-page[data-view=plan] .composer-footer{padding-bottom:30px}
  body.composer-page .composer-layout{padding-bottom:95px}
  body.composer-page .mobile-bar{min-height:77px;gap:14px}
  body.composer-page .mobile-summary{min-height:44px;justify-content:center;flex:1;min-width:0}
  body.composer-page .mobile-summary strong{font-size:25px}
  body.composer-page .mobile-summary span{font-size:10px;line-height:1.5}
  body.composer-page .mobile-bar .primary-button{min-height:48px;max-width:59%;font-size:11px;padding:10px 15px;gap:8px;line-height:1.5}
  body.composer-page .trace-page-actions>.primary-button{display:none}
  body.composer-page .trace-page-actions>.secondary-button{flex:1;min-width:0}
  body.composer-page .trace-page-actions .plan-tools{flex:1;margin-left:0;min-width:0}
  .frame-essentials{grid-template-columns:1.4fr 1fr;gap:25px}
  .frame-optional>div{grid-template-columns:1fr 1fr;gap:25px}
  .composer-frame-heading{flex-direction:row;align-items:baseline;gap:20px}
}
@media(max-width:640px){
  .composer-progress{padding-top:1px}
  body.composer-page .composer-layout{padding-top:22px}
  body.composer-page .composer-title{margin-top:0}
  .trip-name-details{margin-top:10px}
  .trip-name-details>summary{font-size:10px;gap:7px;flex-wrap:wrap}
  .trip-name-details>summary>span{font-size:9px}
  .composer-frame{padding:20px 17px 0;margin-top:21px;margin-bottom:24px}
  .composer-frame-heading{display:block}
  .composer-frame-heading h2{font-size:29px}
  .composer-frame-heading>span{display:block;margin-top:7px;font-size:9px}
  .frame-essentials,.frame-optional>div{grid-template-columns:1fr;gap:0}
  body.composer-page .composer-frame .frame-panel{padding-top:21px}
  body.composer-page .composer-frame .frame-group{padding-bottom:19px}
  body.composer-page .composer-frame .option-list{gap:7px;display:grid;grid-template-columns:1fr 1fr}
  body.composer-page .composer-frame .option-button{font-size:10px;min-height:44px;padding:9px 8px;text-align:center}
  body.composer-page .composer-frame .month-select select{font-size:12px;min-height:46px}
  body.composer-page .filter-bar{margin-bottom:27px}
  body.composer-page .mobile-summary strong{font-size:23px}
  body.composer-page .mobile-bar .primary-button{font-size:10px;min-height:48px;padding-inline:12px}
  body.composer-page .trace-page-actions{gap:10px}
  body.composer-page .trace-page-actions>.secondary-button{flex-basis:calc(50% - 5px);padding-inline:10px;font-size:10px}
  body.composer-page .trace-page-actions .plan-tools{flex-basis:calc(50% - 5px)}
  .plan-tools>summary{font-size:10px;padding-inline:11px;gap:10px}
  body.composer-page .plan-tools .text-button{font-size:10px}
  .recap-invitation{display:block;padding:27px 23px}
  .recap-invitation h2{font-size:37px}
  .recap-invitation>.primary-button{margin-top:24px;width:100%;font-size:11px;min-height:47px}
  body.composer-page .plan-bottom .text-button,body.composer-page .plan-bottom>a{min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:380px){
  body.composer-page .composer-header{gap:8px}
  body.composer-page .composer-brand{gap:9px}
  body.composer-page .composer-header .brand-label{display:none}
  body.composer-page .header-guide-link{gap:5px}
  body.composer-page .mobile-bar{gap:9px;padding-inline:16px}
  body.composer-page .mobile-summary strong{font-size:21px}
  body.composer-page .mobile-summary span{font-size:9px}
  body.composer-page .mobile-bar .primary-button{max-width:61%;padding:10px 11px;font-size:10px}
  body.composer-page #mobile-notebook{padding-inline:17px}
  body.composer-page #mobile-notebook .selection-row{grid-template-columns:52px minmax(0,1fr) 44px;gap:9px}
  body.composer-page #mobile-notebook .selection-row>img{width:52px;height:44px}
  body.composer-page #mobile-notebook .selection-copy strong{font-size:20px}
}
@media print{
  .composer-progress,.plan-tools,.recap-invitation,.frame-edit-link{display:none!important}
  html body.composer-page[data-view=plan]{padding-bottom:0}
}
