/* PLAN studio: a quiet, spacious workspace. All rules stay inside PLAN. */
@media screen {
  body:has(.op-studio) { background:#f3f4f2; }
  .op-studio {
    --op-ink:#102d3e; --op-deep:#102f40; --op-muted:#526973;
    --op-gold:#d7ad6c; --op-gold-dark:#775622; --op-white:#fff;
    --op-line:#dde4e3; --op-soft:#eff4f3;
    max-width:1392px; padding:32px 40px 64px; font-size:16px; line-height:1.8;
  }
  .op-studio h2 { font-size:30px; letter-spacing:-.7px; }
  .op-studio h3 { letter-spacing:-.2px; }
  .op-studio .op-muted,.op-studio .op-source { font-size:14px; color:#536b75; }
  .op-studio .op-eyebrow { color:#775622; font-size:12px; letter-spacing:.3px; }
  .op-studio .op-intro { font-size:16px; color:#526b76; }
  .op-studio .op-button { min-height:48px; padding:11px 20px; border-radius:12px; border-color:#cbd8da; font-size:14px; font-weight:700; }
  .op-studio .op-primary { color:#fff; background:#10394c; border-color:#10394c; box-shadow:0 3px 0 #0628390d; }
  .op-studio .op-primary:hover { background:#1d4f62; border-color:#1d4f62; }
  .op-studio .op-subtle { background:#f3f6f5; }
  .op-studio .op-text-button { background:transparent; border-color:transparent; }
  .op-studio .op-text-link { font-size:14px; }
  .op-studio label { font-size:14px; color:#244655; }
  .op-studio input:not([type=checkbox]):not([type=file]):not([type=radio]),.op-studio select,.op-studio textarea {
    min-height:52px; padding:12px 14px; margin-top:8px; border-color:#bfced2; border-radius:11px; font-size:16px; background:#fff;
    transition:border-color .15s,box-shadow .15s;
  }
  .op-studio input:not([type=checkbox]):not([type=file]):not([type=radio]):hover,.op-studio select:hover,.op-studio textarea:hover { border-color:#7c9ba8; }
  .op-studio input:focus,.op-studio select:focus,.op-studio textarea:focus { border-color:#92703b; box-shadow:0 0 0 3px #d7ad6c1a; }
  .op-studio input[aria-invalid=true] { border-color:#ac542c!important; background:#fffbf6!important; }
  .op-studio input[type=checkbox],.op-studio input[type=radio] { accent-color:#164458; }

  /* An editorial opening, then a short wordmark while the trip is in progress. */
  .op-studio .op-hero { grid-template-columns:1.1fr .9fr; gap:52px; padding:32px 42px; border:1px solid #153b4d; border-radius:24px; background:#102f40; margin-bottom:30px; }
  .op-studio .op-hero::before { width:540px; height:540px; inset-inline-end:-280px; top:-260px; border-color:#d7ad6c25; box-shadow:0 0 0 65px #d7ad6c06,0 0 0 130px #d7ad6c04; }
  .op-studio .op-hero .op-eyebrow { display:flex; gap:9px; align-items:center; color:#e5c38c; font-size:12px; }
  .op-studio-spark { display:grid; place-items:center; height:25px; width:25px; border:1px solid #a88d5f66; border-radius:50%; font-size:13px; }
  .op-studio .op-hero h1 { font-size:23px; letter-spacing:-.5px; margin-top:15px; }
  .op-studio .op-hero h1 em { color:#e4c28a; }
  .op-studio .op-dek { font-size:clamp(40px,4vw,54px); line-height:1.14; letter-spacing:-1.8px; margin-top:13px; }
  .op-studio .op-dek>span { color:#e4c28a; }
  .op-studio .op-hero-description { color:#cedee3; font-size:15px; max-width:440px; margin-top:15px; line-height:1.8; }
  .op-studio .op-hero-actions { margin-top:19px; gap:14px 22px; }
  .op-studio .op-hero .op-primary { background:#e4c28a; border-color:#e4c28a; color:#102d3e; box-shadow:none; }
  .op-studio .op-hero .op-primary:hover { background:#efd5ae; border-color:#efd5ae; }
  .op-studio .op-hero .op-text-link { color:#e1e9ec; font-size:13px; }
  .op-studio .op-privacy-note { margin-top:15px; font-size:12px; color:#bed0d9; }
  .op-studio .op-hero-card { transform:none; border:0; border-radius:18px; padding:23px; background:#f9f7f1; box-shadow:0 16px 35px #041d2a22; }
  .op-studio .op-sheet-heading { padding-bottom:14px; border-color:#dfd9cb; }
  .op-studio .op-sheet-heading>span:first-child { color:#6c664f; font-size:10px; letter-spacing:2.2px; }
  .op-studio .op-hero-card h2 { font-size:23px; margin-top:16px; line-height:1.45; }
  .op-studio .op-journey { margin:15px 0 14px; }
  .op-studio .op-journey li { align-items:center; gap:14px; padding:9px 0; border:0; }
  .op-studio .op-journey li>span { display:grid; place-items:center; flex:0 0 35px; width:35px; height:35px; padding:0; border:1px solid #d8cbb6; border-radius:11px; background:#f0e9dd; color:#725a35; }
  .op-studio .op-journey strong { font-size:14px; }
  .op-studio .op-journey small { font-size:12px; color:#596d73; }
  .op-studio .op-sheet-footer { border-color:#dfd9cb; color:#776246; font-size:12px; }
  .op-studio.has-trip .op-hero { display:flex; padding:0 0 17px; border:0; border-bottom:1px solid #d5dedd; border-radius:0; margin-bottom:0; color:#102d3e; background:transparent; }
  .op-studio.has-trip .op-hero::before { display:none; }
  .op-studio.has-trip .op-hero h1 { margin:0; font-size:21px; }
  .op-studio.has-trip .op-hero h1 em { color:#886630; }
  .op-studio.has-trip .op-hero .op-eyebrow { display:none; }

  /* The existing OLAMPO compass image welcomes a new trip. */
  .op-studio:not(.has-trip) .op-hero { display:block; min-height:370px; isolation:isolate; }
  .op-studio:not(.has-trip) .op-hero::before { display:none; }
  .op-studio:not(.has-trip) .op-hero-copy { width:54%; position:relative; z-index:1; }
  .op-studio .op-hero-compass { position:absolute; inset:0; z-index:0; margin:0; padding:0; border:0; border-radius:0; box-shadow:none; background:#062734; transform:none; }
  .op-studio:not(.has-trip) .op-hero-compass { display:block; padding:0; }
  .op-studio .op-hero-compass img { display:block; width:100%; height:100%; object-fit:cover; object-position:left center; }
  .op-studio .op-hero-compass::after { content:''; position:absolute; inset:0; background:linear-gradient(to left,#001c28e6,#001c28e0 43%,#001c2880 62%,transparent 76%); pointer-events:none; }
  .op-studio .op-hero-compass figcaption { position:absolute; inset-inline-end:18px; bottom:15px; z-index:1; padding:3px 9px; border-radius:5px; color:#fff; background:#062734d9; font-size:11px; line-height:1.8; }

  /* Setup reads as one clear form, with extra detail kept on demand. */
  .op-studio .op-panel { padding:30px; border-radius:20px; border-color:#dde4e3; box-shadow:0 4px 18px #14394b03; margin-bottom:22px; }
  .op-studio .op-setup { position:relative; max-width:1100px; padding:30px 36px; margin-bottom:30px; border-color:#d5dedc; box-shadow:0 12px 34px #12384907; }
  .op-studio .op-setup>summary { font-size:25px; gap:16px; }
  .op-studio .op-setup>summary small { color:#637782; font-size:14px; margin-top:5px; }
  .op-studio .op-step-number { width:48px; height:48px; flex:0 0 48px; border-radius:14px; background:#f3ebdd; color:#916d34; }
  .op-studio .op-step-number svg { width:25px; height:25px; }
  .op-studio .op-summary-icon { width:36px; height:36px; background:#eff3f2; color:#59747d; }
  .op-studio .op-setup form { margin-top:29px; }
  .op-studio .op-trip-grid { grid-template-columns:1.25fr 1fr 1fr .65fr; gap:20px; padding:23px; background:#f4f7f6; border:1px solid #e1e8e5; border-radius:16px; }
  .op-studio .op-preferences { margin-top:16px; }
  .op-studio .op-preferences>summary { font-size:14px; color:#506d77; min-height:44px; }
  .op-studio .op-check-options label { background:#f7f9f8; border-color:#dae4e1; border-radius:10px; min-height:48px; }
  .op-studio .op-local-explanation { padding:16px 20px 8px; background:#faf8f2; border-color:#e3dfd2; border-radius:13px; }
  .op-studio .op-local-explanation>p { font-size:14px; color:#586d75; }
  .op-studio .op-local-dates>summary { min-height:44px; font-size:14px; color:#775b2f; }
  .op-studio .op-local-dates>summary::before { margin-inline-end:7px; }
  .op-studio .op-local-dates>.op-form-grid { gap:18px; max-width:650px; }
  .op-studio .op-setup-footer { padding-top:4px; margin-top:23px; }
  .op-studio .op-setup-footer .op-primary { min-width:270px; min-height:54px; }
  .op-studio .op-setup-footer .op-muted { font-size:13px; }
  .op-studio .op-start-options { padding-top:18px; margin-top:24px; gap:12px; border-color:#e4e9e6; }
  .op-studio .op-start-options>small { color:#5d727b; font-size:13px; }

  /* The summary and navigation form a stable frame around the actual work. */
  .op-studio .op-workspace-toolbar { padding:12px 0; margin-bottom:18px; background:#f3f4f2f5; border-color:#d9e1df; }
  .op-studio .op-save-indicator { font-size:13px; color:#526f79; }
  .op-studio .op-save-indicator::before { width:8px; height:8px; box-shadow:0 0 0 4px #b09b7912; }
  .op-studio .op-save-indicator.is-saved::before { box-shadow:0 0 0 4px #4f806d12; }
  .op-studio .op-toolbar-actions>.op-button,.op-studio .op-toolbar-actions summary.op-button { min-height:46px; border-radius:11px; font-size:13px; }
  .op-studio .op-export-panel { border-color:#cddbd9; border-radius:18px; padding:26px; box-shadow:0 18px 65px #08243626; }
  .op-studio .op-dirty-banner { border-radius:15px; background:#fff4df; border-color:#d9bb86; }
  .op-studio .op-dashboard { padding:0; margin:0 0 28px; border:0; border-radius:0; background:transparent; }
  .op-studio .op-dashboard-title { padding:8px 2px 22px; }
  .op-studio .op-dashboard h2 { font-size:clamp(30px,3vw,43px); margin-top:7px; line-height:1.35; }
  .op-studio .op-dashboard-title>p:last-child { font-size:15px; color:#5e7680; }
  .op-studio .op-trip-stats { gap:12px; padding:0; margin:0; border:0; }
  .op-studio .op-stat,.op-studio .op-stat:first-child { position:relative; padding:18px 22px; border:1px solid #dce5e3; border-radius:15px; background:#fff; }
  .op-studio .op-stat::before { content:''; display:block; width:21px; height:3px; margin-bottom:14px; border-radius:3px; background:#c5b084; }
  .op-studio .op-stat strong { color:#163c4b; font-size:27px; }
  .op-studio .op-stat span { color:#536f7b; font-size:13px; }
  .op-studio .op-stat-budget { background:#f9f5ec; border-color:#e4dbc7; }
  .op-studio .op-workspace-layout { grid-template-columns:196px minmax(0,1fr); gap:24px; }
  .op-studio .op-tabs { padding:12px; gap:7px; border:1px solid #193e4d; border-radius:18px; background:#112f3e; box-shadow:0 8px 25px #13394a0a; }
  .op-studio .op-tabs>button { min-height:76px; padding:14px 11px; gap:12px; color:#d5e1e7; border-radius:11px; }
  .op-studio .op-tabs>button>span { font-size:15px; }
  .op-studio .op-tabs>button small { font-size:12px; color:#a9c0cb; }
  .op-studio .op-tabs>button>svg { width:23px; height:23px; color:#adc4cf; }
  .op-studio .op-tabs>button[aria-selected=true] { color:#143547; background:#f3e6ce; box-shadow:none; }
  .op-studio .op-tabs>button[aria-selected=true]>svg { color:#8a662e; }
  .op-studio .op-tabs>button[aria-selected=true] small { color:#6e624d; }
  .op-studio .op-tabs>button:hover:not([aria-selected=true]) { color:#fff; background:#244858; }
  .op-studio .op-navigation-note { border-color:#33515d; color:#acc1ca; font-size:12px; padding:18px 12px 6px; }
  .op-studio .op-section-head .op-eyebrow { margin-bottom:8px; }
  .op-studio .op-chip { font-size:12px; color:#526c62; background:#f1f6f1; border-color:#d6e3d9; }
  .op-studio .op-notice { padding:15px 18px; background:#f4f6f1; border-color:#dce2d4; border-radius:12px; font-size:14px; }
  .op-studio .op-empty { padding:23px; background:#f5f8f7; border-color:#cedcda; border-radius:14px; color:#536d77; font-size:15px; }

  /* A well-defined brief, with choice cards that feel like part of the studio. */
  .op-studio .op-builder { border-color:#d6c6aa; background:#fbf8f0; }
  .op-studio .op-builder-opening h2 { max-width:620px; font-size:32px; }
  .op-studio .op-builder-opening .op-intro { max-width:640px; }
  .op-studio .op-builder-mark { border-color:#d2bd97; border-radius:18px; background:#f2e7d3; }
  .op-studio .op-builder-main-actions { margin-top:25px; }
  .op-studio .op-builder-main-actions>.op-primary { min-width:210px; }
  .op-studio .op-builder-steps { padding:16px; border:1px solid #e4dccb; background:#fffdf8; border-radius:13px; gap:14px 24px; }
  .op-studio .op-builder-steps li { font-size:13px; color:#657577; }
  .op-studio .op-builder-steps li[aria-current=step] { color:#76572b; }
  .op-studio .op-builder-fieldset legend { font-size:21px; }
  .op-studio .op-builder-pace label { border-radius:14px; background:#fff; padding:16px; }
  .op-studio .op-builder-pace label:has(input:checked) { background:#f3e9d8; border-color:#a9864c; box-shadow:inset 0 0 0 1px #a9864c; }
  .op-studio .op-builder-pace small { color:#576e75; font-size:13px!important; }
  .op-studio .op-builder-interests label { font-size:14px; background:#fff; }
  .op-studio .op-builder-alternative { border-color:#d9dfd9; background:#fff; padding:22px 19px; border-radius:16px; }
  .op-studio .op-builder-alternative.is-selected { border-color:#9e7a3d; background:#fffaf0; box-shadow:inset 0 0 0 1px #9e7a3d; }
  .op-studio .op-builder-card-reasons { font-size:14px; color:#526d76; }
  .op-studio .op-builder-metrics dt { font-size:12px; color:#526d76; }
  .op-studio .op-builder-tradeoff,.op-studio .op-builder-limits { font-size:13px; color:#705d3d; }
  .op-studio .op-builder-preview-day { background:#fff; border-color:#d8e2df; border-radius:16px; }
  .op-studio .op-builder-preview-item { background:#f5f8f6; border-color:#dce6e0; border-inline-start-color:#b8965c; border-radius:12px; }
  .op-studio .op-builder-confirm { border-radius:16px; background:#edf5ef; }
  .op-studio .op-readiness { border-color:#dde4e3; background:#fff; }
  .op-studio .op-readiness-step { border-radius:14px; background:#f4f7f6; border-color:#dce5e1; }
  .op-studio .op-readiness-step:first-child { background:#153d50; border-color:#153d50; }
  .op-studio .op-readiness-step p { color:#526e77; font-size:14px; }
  .op-studio .op-readiness-step:first-child p { color:#d1e0e4; }
  .op-studio .op-disclosure>summary>span:first-child { font-size:18px; }
  .op-studio .op-disclosure>summary small { font-size:14px; color:#5b717a; }

  /* Day cards and a subtle timeline give the itinerary a natural reading order. */
  .op-studio .op-day-navigation { margin:25px 0 18px; padding:17px 18px 8px; border:1px solid #e1e8e5; border-radius:15px; background:#f3f7f5; }
  .op-studio .op-day-strip { gap:9px; padding-top:12px; }
  .op-studio .op-day-strip>button { min-width:88px; min-height:83px; border-radius:13px; background:#fff; border-color:#d7e2de; color:#4e6c77; }
  .op-studio .op-day-strip>button strong { font-size:19px; }
  .op-studio .op-day-strip>button small { font-size:12px; }
  .op-studio .op-day-strip>button[aria-pressed=true],.op-studio .op-day-strip>button[aria-selected=true] { background:#133b4c; border-color:#133b4c; color:#fff; box-shadow:inset 0 -3px #dec08f; }
  .op-studio .op-day { padding-top:24px; margin-top:22px; border-top-color:#dde5df; }
  .op-studio .op-day>h3 { font-size:25px; }
  .op-studio .op-activity { margin-inline-start:19px; padding:22px; margin-top:17px; border:1px solid #d9e4df; border-inline-start:3px solid #c4a36a; border-radius:14px; background:#fff; box-shadow:0 3px 10px #12384903; }
  .op-studio .op-activity::before { content:''; position:absolute; top:30px; inset-inline-start:-24px; width:9px; height:9px; border:2px solid #b49a71; border-radius:50%; background:#fff; box-shadow:0 0 0 5px #fff; }
  .op-studio .op-activity::after { content:''; position:absolute; top:41px; bottom:-20px; inset-inline-start:-19px; width:1px; background:#dce5e0; }
  .op-studio .op-activity:last-of-type::after { display:none; }
  .op-studio .op-activity>strong { font-size:20px; }
  .op-studio .op-activity-timing { margin-top:10px; color:#7a5c2b!important; font-size:14px!important; }
  .op-studio .op-activity>p { font-size:14px; }
  .op-studio .op-item-actions { margin-top:16px; padding-top:15px; border-color:#e6ece8; gap:10px 18px; }
  .op-studio .op-item-actions label { font-size:13px; }
  .op-studio .op-item-actions select { min-height:44px; font-size:14px; padding:8px 10px; }
  .op-studio .op-activity-editor>summary { font-size:14px; color:#775b2e; }
  .op-studio .op-guide-picker { padding:22px; border-radius:15px; background:#faf7ef; border-color:#dfd2b8; }
  .op-studio .op-guide-place { padding:17px; border-radius:12px; border-color:#dce5df; background:#fff; }
  .op-studio .op-guide-place strong { font-size:17px; }
  .op-studio .op-guide-place p { font-size:13px; color:#5b747d; }
  .op-studio .op-manual-entry { padding:19px 22px; border-radius:15px; background:#f6f8f6; }
  .op-studio .op-day-notes { background:#fcf7ed; border-color:#e2cfac; border-radius:13px; }
  .op-studio .op-day-notes p,.op-studio .op-day-findings p { font-size:14px; color:#5b6e72; }

  /* Clear financial and preparation surfaces share the same visual language. */
  .op-studio .op-budget-total { padding:25px; background:#143a4c; border-color:#143a4c; border-radius:17px; color:#fff; font-size:35px; }
  .op-studio .op-budget-total small { color:#d2e1e6; font-size:14px; }
  .op-studio #plan-budget-form { padding:23px; border-radius:15px; background:#f4f7f5; border-color:#dce5de; }
  .op-studio .op-budget-row { padding:21px 0; border-color:#e0e7e3; }
  .op-studio .op-budget-row strong { font-size:18px; }
  .op-studio .op-budget-row p { font-size:14px; }
  .op-studio .op-budget-row>b { font-size:23px; color:#1b4352; }
  .op-studio .op-budget-editor { border-radius:12px; background:#f2f7f2; }
  .op-studio .op-scenario { padding:23px; border-radius:15px; background:#faf6ec; border-color:#e2d5bc; }
  .op-studio .op-scenario p { font-size:14px; color:#616f64; }
  .op-studio .op-task-group>h3 { display:flex; align-items:center; justify-content:space-between; background:#edf3f0; border-radius:11px; padding:14px 16px; color:#385d55; font-size:16px; }
  .op-studio .op-task-group>h3>span { display:grid; place-items:center; min-width:28px; min-height:28px; background:#fff; border:1px solid #d4e0d8; border-radius:9px; font-size:12px; }
  .op-studio .op-task { padding:23px 5px; gap:16px; border-color:#e0e7e2; }
  .op-studio .op-task h4 { font-size:19px; margin-top:9px; }
  .op-studio .op-task time { border-radius:7px; padding:4px 9px; border-color:#e6dcc7; background:#fbf6eb; color:#705c36; font-size:13px; }
  .op-studio .op-task summary { font-size:14px; color:#6a603f; }
  .op-studio .op-task.done h4 { color:#6b817b; }
  .op-studio .op-task.done time { background:#edf5ee; border-color:#d2e2d4; color:#496c52; }
  .op-studio .op-pack-row { padding:16px 0; }
  .op-studio .op-pack-row label { font-size:16px; }
  .op-studio .op-benefit { border-radius:15px; background:#f3f7ef; border-color:#d9e3cc; }

  /* The event calendar uses the same clear typography and quiet gold accents. */
  .op-studio .calendar-planner { padding:24px; border-color:#dbe4de; border-radius:16px; background:#f3f7f4; }
  .op-studio .calendar-planner>h2 { font-size:25px; }
  .op-studio .calendar-planner>p { font-size:14px; color:#526d77; }
  .op-studio .calendar-planner .destination-calendar { max-width:490px; padding:20px; margin-top:22px; border-color:#d5e0d9; border-radius:16px; background:#fff; box-shadow:0 6px 20px #173c4b05; }
  .op-studio .calendar-planner .calendar-heading { margin:8px 0 14px; }
  .op-studio .calendar-planner .calendar-heading h4 { font-size:21px; color:#173c4c; }
  .op-studio .calendar-planner .calendar-heading button { background:#edf3f1; border:1px solid #d6e2dc; border-radius:10px; color:#1c4758; min-height:44px; min-width:44px; font-size:21px; }
  .op-studio .calendar-planner .calendar-week { padding:10px 0; }
  .op-studio .calendar-planner .calendar-week span { font-size:13px; color:#617881; font-weight:700; }
  .op-studio .calendar-planner .calendar-days { gap:4px; }
  .op-studio .calendar-planner .calendar-day { min-height:47px; font-size:16px; border-radius:10px; color:#294f5e; background:#f7f9f8; }
  .op-studio .calendar-planner .calendar-day.has-event { color:#755326; background:#f7ead3; border-color:#e5c898; }
  .op-studio .calendar-planner .calendar-day.has-event::after { bottom:5px; background:#96723b; }
  .op-studio .calendar-planner .calendar-day[aria-expanded=true] { background:#173e50; border-color:#173e50; color:#fff; }
  .op-studio .calendar-planner .calendar-day.today { box-shadow:inset 0 0 0 2px #577c87; }
  .op-studio .calendar-planner .calendar-day.outside { color:#617178; background:repeating-linear-gradient(135deg,#f1f3f1,#f1f3f1 4px,#e6ebe7 4px,#e6ebe7 5px); }
  .op-studio .calendar-planner .calendar-month-jump { margin-top:18px; padding-top:16px; border-top:1px solid #e0e7e2; font-size:13px; flex-wrap:wrap; gap:10px; }
  .op-studio .calendar-planner .calendar-month-jump input { width:auto; max-width:170px; min-height:44px; margin:0; font-size:14px; }
  .op-studio .calendar-planner .calendar-legend,.op-studio .calendar-planner .calendar-coverage { color:#5a727b; font-size:13px; line-height:1.85; }
  .op-studio .op-calendar-record { padding:21px; border-radius:14px; background:#faf8f1; border-color:#e2d8c2; }
  .op-studio .op-calendar-record p { font-size:14px; color:#566d73; }
  .op-studio .op-calendar-record time { color:#775a29; font-size:14px; }
  .op-studio .op-workspace-footer { border-color:#d5dfdb; padding-top:28px; }

  @media (max-width:1100px) {
    .op-studio { padding-inline:28px; }
    .op-studio .op-hero { padding:34px; gap:34px; }
    .op-studio .op-hero-card { padding:23px; }
    .op-studio .op-hero-card h2 { font-size:23px; }
    .op-studio .op-trip-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .op-studio .op-workspace-layout { grid-template-columns:175px minmax(0,1fr); gap:20px; }
    .op-studio .op-tabs { padding:8px; }
    .op-studio .op-tabs>button { padding-inline:9px; gap:9px; }
    .op-studio .op-panel { padding:25px; }
    .op-studio .op-stat { padding:17px; }
    .op-studio .op-builder-opening h2 { font-size:29px; }
    .op-studio .op-builder-mark { flex-basis:54px; width:54px; height:54px; }
    .op-studio .op-builder-mark svg { width:37px; height:37px; }
    .op-studio .op-builder-alternative { padding:22px; }
  }
  @media (max-width:900px) and (min-width:761px) {
    .op-studio { padding-inline:24px; }
    .op-studio .op-hero { display:block; }
    .op-studio .op-hero-copy { max-width:610px; }
    .op-studio .op-hero-card { display:none; }
    .op-studio .op-dek { font-size:46px; }
    .op-studio .op-workspace-layout { grid-template-columns:150px minmax(0,1fr); gap:17px; }
    .op-studio .op-tabs>button { padding-inline:8px; gap:8px; }
    .op-studio .op-tabs>button>span { font-size:14px; }
    .op-studio .op-tabs>button>svg { width:20px; height:20px; }
    .op-studio .op-panel { padding:22px; }
    .op-studio .op-stat { padding:16px; }
    .op-studio .op-stat strong { font-size:24px; }
    .op-studio .op-builder-opening h2 { font-size:27px; }
    .op-studio .op-builder-mark { display:none; }
    .op-studio .op-builder-pace { grid-template-columns:1fr; }
    .op-studio .op-builder-pace label { min-height:76px; }
    .op-studio .op-builder-pace label>span { padding-top:0; padding-inline-end:20px; }
    .op-studio .op-readiness-list { grid-template-columns:1fr; }
  }
  @media (max-width:760px) {
    .op-studio { padding:16px 16px 36px; font-size:15px; }
    .op-studio h2 { font-size:27px; }
    .op-studio .op-muted,.op-studio .op-source { font-size:13px; }
    .op-studio .op-intro { font-size:15px; }
    .op-studio .op-hero { display:block; padding:23px 25px; border-radius:20px; margin-bottom:18px; }
    .op-studio:not(.has-trip) .op-hero { display:flex; flex-direction:column; min-height:0; padding:0; }
    .op-studio:not(.has-trip) .op-hero-copy { width:auto; padding:21px 25px 24px; }
    .op-studio .op-hero-compass { position:relative; inset:auto; display:block; order:-1; width:100%; aspect-ratio:3/1; }
    .op-studio .op-hero-compass::after { display:none; }
    .op-studio .op-hero-compass figcaption { bottom:7px; inset-inline-end:10px; font-size:10px; }
    .op-studio .op-hero h1 { font-size:18px; margin-top:14px; }
    .op-studio .op-dek { font-size:39px; line-height:1.13; margin-top:12px; letter-spacing:-1.2px; }
    .op-studio .op-hero-description,.op-studio .op-hero-actions { display:none; }
    .op-studio .op-hero-actions .op-primary { min-height:47px; width:100%; }
    .op-studio .op-hero-actions .op-text-link { min-height:36px; font-size:13px; }
    .op-studio .op-privacy-note { font-size:12px; margin-top:14px; }
    .op-studio.has-trip .op-hero { display:none; }
    .op-studio .op-panel { padding:23px 20px; border-radius:17px; margin-bottom:18px; }
    .op-studio .op-setup { padding:23px 20px; margin-bottom:20px; }
    .op-studio .op-setup>summary { gap:12px; font-size:23px; align-items:center; }
    .op-studio .op-step-number { width:42px; height:42px; flex-basis:42px; border-radius:12px; margin-top:0; }
    .op-studio .op-step-number svg { width:23px; height:23px; }
    .op-studio .op-setup>summary small { font-size:13px; line-height:1.7; }
    .op-studio .op-setup form { margin-top:23px; }
    .op-studio .op-trip-grid { padding:17px; gap:17px 12px; border-radius:13px; }
    .op-studio .op-trip-grid>label:first-child { grid-column:1/-1; }
    .op-studio .op-trip-grid>label:last-child { grid-column:1/-1; max-width:150px; }
    .op-studio input:not([type=checkbox]):not([type=file]):not([type=radio]),.op-studio select,.op-studio textarea { min-height:50px; padding:11px 12px; font-size:16px; }
    .op-studio .op-local-explanation { padding:15px 16px 8px; border-radius:12px; }
    .op-studio .op-local-explanation>p { font-size:13px; }
    .op-studio .op-local-dates>summary { display:block; font-size:13px; padding:9px 0; }
    .op-studio .op-local-dates .op-optional { display:block; font-size:12px; }
    .op-studio .op-setup-footer { gap:11px; margin-top:20px; }
    .op-studio .op-setup-footer .op-primary { width:100%; min-width:0; min-height:52px; }
    .op-studio .op-start-options { margin-top:21px; padding-top:19px; gap:9px; }
    .op-studio .op-start-options>.op-button { width:100%; }
    .op-studio .op-start-options>small { font-size:12px; }
    .op-studio .op-workspace-toolbar { margin:0 0 15px; padding:12px 0; }
    .op-studio .op-save-indicator { font-size:12px; margin-bottom:11px!important; }
    .op-studio .op-toolbar-actions>.op-button,.op-studio .op-toolbar-actions summary.op-button { font-size:12px; padding:9px; }
    .op-studio .op-export-panel { padding:23px; max-height:65dvh; }
    .op-studio .op-dashboard { padding:0; margin-bottom:22px; }
    .op-studio .op-dashboard-title { padding:6px 1px 19px; }
    .op-studio .op-dashboard h2 { font-size:30px; }
    .op-studio .op-dashboard-title>p:last-child { font-size:14px; margin-top:7px; }
    .op-studio .op-trip-stats { gap:10px; margin-top:0; padding-top:0; }
    .op-studio .op-stat,.op-studio .op-stat:first-child { padding:15px 17px; border-radius:13px; }
    .op-studio .op-stat::before { margin-bottom:10px; width:18px; }
    .op-studio .op-stat strong { font-size:25px; }
    .op-studio .op-stat span { font-size:12px; }
    .op-studio .op-workspace-layout { display:block; }
    .op-studio .op-tabs { gap:3px; padding:5px; inset-inline:10px; border:1px solid #254b5c; border-radius:17px; background:#123546f7; box-shadow:0 -5px 25px #0d2a3b1a; }
    .op-studio .op-tabs>button { min-height:62px; min-width:0; gap:5px; padding:6px 3px; border-radius:11px; }
    .op-studio .op-tabs>button>svg { width:21px; height:21px; }
    .op-studio .op-tabs>button>span { font-size:12px; }
    .op-studio .op-section-head { gap:9px; }
    .op-studio .op-section-head>.op-text-link { font-size:13px; }
    .op-studio .op-chip { font-size:12px; }
    .op-studio .op-empty { padding:20px; font-size:14px; }
    .op-studio .op-builder-opening { gap:15px; }
    .op-studio .op-builder-opening h2 { font-size:28px; }
    .op-studio .op-builder-mark { display:none; }
    .op-studio .op-builder-main-actions { margin-top:22px; }
    .op-studio .op-builder-main-actions>.op-primary { min-width:0; width:100%; }
    .op-studio .op-builder-steps { padding:12px; gap:12px; }
    .op-studio .op-builder-steps li { font-size:12px; }
    .op-studio .op-builder-fieldset legend { font-size:20px; }
    .op-studio .op-builder-pace label { padding:14px; }
    .op-studio .op-builder-alternative { padding:21px; }
    .op-studio .op-readiness-step { padding:19px 16px; }
    .op-studio .op-readiness-step:first-child { padding:21px 17px; }
    .op-studio .op-readiness-step p { font-size:14px; }
    .op-studio .op-disclosure>summary>span:first-child { font-size:17px; }
    .op-studio .op-disclosure>summary small { font-size:13px; }
    .op-studio .op-day-navigation { padding:15px 13px 5px; margin-top:22px; border-radius:13px; }
    .op-studio .op-day-strip { gap:7px; }
    .op-studio .op-day-strip>button { min-width:79px; min-height:78px; padding:10px; }
    .op-studio .op-day-strip>button strong { font-size:18px; }
    .op-studio .op-day>h3 { font-size:23px; }
    .op-studio .op-activity { margin-inline-start:14px; padding:18px 16px; border-radius:12px; }
    .op-studio .op-activity::before { inset-inline-start:-19px; }
    .op-studio .op-activity::after { inset-inline-start:-14px; }
    .op-studio .op-activity>strong { font-size:19px; }
    .op-studio .op-item-actions { gap:10px; }
    .op-studio .op-item-actions label { font-size:13px; }
    .op-studio .op-guide-picker,.op-studio .op-manual-entry { padding:18px 16px; border-radius:13px; }
    .op-studio .op-guide-place { padding:16px; }
    .op-studio .op-guide-place strong { font-size:16px; }
    .op-studio .op-day-notes p { font-size:13px; }
    .op-studio .op-budget-total { padding:22px; font-size:31px; border-radius:14px; }
    .op-studio .op-budget-total small { font-size:13px; }
    .op-studio #plan-budget-form,.op-studio .op-scenario { padding:19px 16px; border-radius:13px; }
    .op-studio .op-budget-row strong { font-size:17px; }
    .op-studio .op-budget-row p { font-size:13px; }
    .op-studio .op-budget-row>b { font-size:21px; }
    .op-studio .op-task-group>h3 { font-size:15px; }
    .op-studio .op-task { padding:21px 0; gap:12px; }
    .op-studio .op-task h4 { font-size:18px; }
    .op-studio .op-task time { font-size:12px; }
    .op-studio .op-calendar-record { padding:18px; border-radius:12px; }
    .op-studio .op-calendar-record p { font-size:13px; }
    .op-studio .calendar-planner { padding:18px 14px; border-radius:14px; }
    .op-studio .calendar-planner>h2 { font-size:24px; }
    .op-studio .calendar-planner .destination-calendar { padding:14px 10px; border-radius:13px; }
    .op-studio .calendar-planner .calendar-days { gap:2px; }
    .op-studio .calendar-planner .calendar-day { min-height:44px; font-size:15px; border-radius:8px; }
    .op-studio .calendar-planner .calendar-heading h4 { font-size:20px; }
    .op-studio .calendar-planner .calendar-week span { font-size:12px; }
  }
  @media (max-width:370px) {
    .op-studio { padding-inline:12px; }
    .op-studio .op-hero { padding:23px 21px; }
    .op-studio .op-dek { font-size:38px; }
    .op-studio .op-panel { padding:21px 16px; }
    .op-studio .op-setup>summary { font-size:21px; gap:10px; }
    .op-studio .op-step-number { width:36px; height:36px; flex-basis:36px; border-radius:10px; }
    .op-studio .op-trip-grid { padding:14px 11px; gap:16px 8px; }
    .op-studio .op-trip-grid label { font-size:13px; }
    .op-studio .op-builder-opening h2 { font-size:26px; }
    .op-studio .op-builder-steps { flex-direction:column; gap:8px; }
    .op-studio .op-builder-pace label { min-height:76px; }
    .op-studio .op-builder-pace label>span { padding:0 23px 0 0; }
    .op-studio .op-dashboard h2 { font-size:28px; }
    .op-studio .op-stat,.op-studio .op-stat:first-child { padding:14px; }
    .op-studio .op-stat strong { font-size:23px; }
    .op-studio .op-tabs>button>span { font-size:11px; }
    .op-studio .op-activity { padding:17px 13px; }
    .op-studio .op-guide-picker,.op-studio .op-manual-entry { padding:17px 13px; }
    .op-studio .calendar-planner { padding:15px 8px; margin-inline:-5px; }
    .op-studio .calendar-planner .destination-calendar { padding-inline:4px; }
    .op-studio .calendar-planner .calendar-days { gap:1px; }
    .op-studio .calendar-planner .calendar-day { font-size:14px; }
  }
  @media (max-width:480px) {
    .op-studio .op-trip-grid>label:nth-child(2),.op-studio .op-trip-grid>label:nth-child(3) { grid-column:1/-1; }
    /* Seven 44px cells fit at 320px; the calendar can breathe beyond its card. */
    .op-studio .calendar-planner .destination-calendar {
      width:calc(100vw - 12px); max-width:none; min-width:308px;
      margin-inline:calc((100% - (100vw - 12px))/2); padding-inline:0;
      border:0; box-shadow:none; background:transparent;
    }
    .op-studio .calendar-planner .calendar-days { gap:0; }
    .op-studio .calendar-planner .calendar-day { min-width:44px; min-height:44px; }
    .op-studio .calendar-planner .calendar-month-jump { padding-inline:8px; }
    .op-studio .calendar-planner .calendar-legend,.op-studio .calendar-planner .calendar-coverage { padding-inline:8px; }
  }
}
@media print {
  .op-studio-spark { display:none; }
  .op-studio .op-activity::before,.op-studio .op-activity::after,.op-studio .op-stat::before { display:none; }
}

/* Planning preferences stay visible from choosing places through the applied days. */
@media screen {
 .op-studio .op-builder-place-filter { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px; margin:18px 0 12px; border:1px solid #d6e1dc; border-radius:12px; background:#f1f6f3; }
 .op-studio .op-builder-place-filter p { color:#365c68; font-size:14px; }
 .op-studio .op-builder-place-filter .op-button { flex-shrink:0; min-height:44px; }
 .op-studio .op-builder-place-filter .op-button[aria-pressed=true] { background:#173e50; border-color:#173e50; color:#fff; }
 .op-studio .op-builder-selected-summary { margin:0 0 18px; font-size:13px; color:#536c74; }
 .op-studio .op-builder-selected-summary summary { min-height:44px; padding:9px 0; color:#3d606e; font-weight:700; cursor:pointer; }
 .op-studio .op-builder-selected-summary details>p { margin:6px 0 12px; }
 .op-studio .op-builder-selected-summary ul { list-style:none; margin:0; padding:0; }
 .op-studio .op-builder-selected-summary li { display:flex; gap:14px; align-items:center; justify-content:space-between; padding:10px 0; border-top:1px solid #dfe7e2; }
 .op-studio .op-builder-selected-summary .op-button { min-width:60px; min-height:44px; padding:8px 12px; }
 .op-studio .op-builder-outside { display:block; margin-top:8px; color:#795622; font-size:12px; line-height:1.7; }
 .op-studio .op-builder-place[data-outside-interests] { border-style:dashed; background:#fffcf6; }
 .op-studio .op-plan-frame { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px 24px; padding:16px 18px; margin:18px 0; border:1px solid #cfddd9; border-radius:12px; background:#eff5f3; color:#244b5c; font-size:14px; line-height:1.8; }
 .op-studio .op-plan-frame strong { display:flex; flex-wrap:wrap; gap:5px 12px; }
 .op-studio .op-plan-frame strong span { font-size:16px; color:#143a4c; }
 .op-studio .op-plan-frame p { flex-basis:100%; color:#4e6974; font-size:13px; }
 .op-studio .op-plan-frame .op-plan-geography { padding-top:8px; border-top:1px solid #d6e2dc; }
 .op-studio .op-plan-frame.is-compact { padding:11px 14px; margin:11px 0 16px; font-size:12px; }
 .op-studio .op-builder-interest-outcome { padding:11px 0; font-size:13px; color:#44616e; line-height:1.85; }
 .op-studio .op-builder-interest-outcome p+p { margin-top:7px; }
 .op-studio .op-builder-preview-item .op-builder-slot { max-width:100%; font-size:13px; white-space:normal; }
 .op-studio .op-place-nearby { margin:12px 0; padding:12px 14px; border-inline-start:3px solid #b59862; background:#faf7ee; color:#465f68; font-size:13px; line-height:1.85; }
 .op-studio .op-place-nearby small { display:block; margin-top:5px; font-size:12px; }
 @media(max-width:760px) {
  .op-studio .op-builder-place-filter { align-items:flex-start; flex-direction:column; padding:14px; gap:11px; }
  .op-studio .op-builder-place-filter .op-button { width:100%; }
  .op-studio .op-plan-frame { padding:14px; gap:6px; }
  .op-studio .op-plan-frame>span { flex-basis:100%; }
  .op-studio .op-plan-frame strong { font-size:14px; }
  .op-studio .op-plan-frame.is-compact>span { flex-basis:auto; }
 }
}
@media print {
 .op-studio .op-plan-frame { padding:7pt 0; margin:6pt 0; border-block:1px solid #999; font-size:9pt; background:none; color:#000; }
 .op-studio .op-plan-frame strong,.op-studio .op-plan-frame>span { display:inline; margin-inline-end:10pt; }
 .op-studio .op-plan-frame p,.op-studio .op-place-nearby { font-size:9pt; color:#000; }
}

@media screen {
 .op-studio .op-preserved-time-exception { margin:12px 0; padding:11px 14px; border:1px solid #d9b679; border-radius:9px; color:#70501e; background:#fff5e4; font-size:13px; line-height:1.8; }
 .op-studio .op-preserved-time-exception strong,.op-studio .op-preserved-time-exception small { display:block; }
 .op-studio .op-preserved-time-exception small { font-size:12px; margin-top:3px; }
}

/* A single working surface for places, transfer estimates and decisions. */
@media screen {
 .op-studio .op-trip-grid { grid-template-columns:1.2fr 1fr 1fr .6fr; }
 .op-studio .op-routing-preferences { padding:22px; border:1px solid #d7e2de; border-radius:15px; background:#f2f7f4; }
 .op-studio .op-routing-preferences legend { padding:0 9px; }
 .op-studio .op-routing-details { margin-top:18px; padding-top:9px; border-top:1px solid #d9e4de; }
 .op-studio .op-routing-details>summary { min-height:44px; cursor:pointer; font-size:14px; font-weight:700; }
 .op-studio .op-routing-check { display:flex; align-items:center; gap:10px; min-height:44px; font-size:13px; font-weight:400; }
 .op-studio .op-routing-check input { width:19px; height:19px; flex-shrink:0; accent-color:#163e50; }
 .op-studio .op-routing-disclosure { padding:14px 17px; margin:18px 0; border-inline-start:3px solid #bc985d; border-radius:8px; background:#f7f3e9; color:#526a75; font-size:13px; line-height:1.85; }
 .op-studio .op-routing-busy { display:flex; align-items:center; gap:16px; padding:20px; margin:20px 0; border:1px solid #cddedb; border-radius:14px; background:#f0f6f4; }
 .op-studio .op-routing-busy p { flex:1; font-size:14px; }
 .op-route-spinner { width:27px; height:27px; border:3px solid #cbdad6; border-top-color:#214d5e; border-radius:50%; animation:op-route-spin .8s linear infinite; flex-shrink:0; }
 @keyframes op-route-spin { to { transform:rotate(360deg); } }
 .op-studio .op-journey-workspace { margin:24px 0 28px; padding:25px; border:1px solid #d5e1dc; border-radius:18px; background:#fbfdfa; }
 .op-studio .op-journey-workspace>.op-section-head { align-items:center; }
 .op-studio .op-journey-workspace h3 { font-size:25px; margin-top:5px; }
 .op-studio .op-journey-controls { display:flex; flex-wrap:wrap; align-items:end; gap:12px 26px; margin:19px 0; }
 .op-studio .op-journey-controls>label:first-child { min-width:200px; }
 .op-studio .op-journey-summary { display:flex; flex-direction:column; gap:6px; padding:15px 17px; margin:17px 0; border:1px solid #cdded2; border-radius:11px; background:#edf5ed; color:#234b43; font-size:13px; line-height:1.85; }
 .op-studio .op-journey-summary strong { font-size:15px; }
 .op-studio .op-journey-summary small { font-size:12px; color:#4d6964; }
 .op-studio .op-journey-summary[data-journey-status=partial],.op-studio .op-journey-summary.is-stale { background:#fbf4e7; border-color:#e0c998; color:#6d512a; }
 .op-studio .op-journey-summary[data-journey-status=unavailable],.op-studio .op-journey-coverage { background:#f1f5f5; border-color:#d9e2e2; color:#506a75; }
 .op-studio .op-journey-coverage { padding:13px; border-radius:8px; font-size:13px; margin:13px 0; }
 .op-studio .op-journey-columns { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:20px; align-items:start; }
 .op-studio .op-journey-map { min-width:0; margin:0; border:1px solid #d6e3dd; border-radius:13px; overflow:hidden; background:#eef4ef; }
 .op-studio #plan-journey-map { width:100%; min-width:0; }
 .op-studio #plan-journey-map svg { display:block; width:100%; height:auto; background:#f1f6f2; }
 .op-route-pin { cursor:pointer; }
 .op-route-pin circle { fill:#133b4c; stroke:#fff; stroke-width:3; }
 .op-route-pin text { fill:#fff; font:700 14px Arial,sans-serif; pointer-events:none; }
 .op-route-pin:focus { outline:none; }
 .op-route-pin:hover circle,.op-route-pin:focus circle,.op-route-pin.is-selected circle { fill:#e3c18a; stroke:#805f29; }
 .op-route-pin:hover text,.op-route-pin:focus text,.op-route-pin.is-selected text { fill:#102d3e; }
 .op-route-anchor { fill:#805f29; stroke:#fff; stroke-width:1; pointer-events:none; }
 .op-route-cluster circle { fill:#e3c18a; stroke:#805f29; }
 .op-route-cluster text { fill:#102d3e; }
 .op-route-cluster:hover circle,.op-route-cluster:focus circle,.op-route-cluster.is-selected circle { fill:#f4dbaf; stroke:#102d3e; stroke-width:4; }
 body:has(.op-route-cluster-dialog[open]) { overflow:hidden; }
 .op-studio .op-route-cluster-dialog { width:480px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 32px); padding:20px; overflow:auto; }
 .op-route-cluster-heading { display:flex; align-items:center; gap:12px; justify-content:space-between; }
 .op-studio .op-route-cluster-heading h2 { margin:0; font-size:21px; line-height:1.4; }
 .op-studio .op-route-cluster-heading>.op-button { flex-shrink:0; padding:8px 12px; min-height:44px; }
 .op-studio .op-route-cluster-dialog>p { margin:14px 0; font-size:14px; }
 .op-route-cluster-choices { display:flex; flex-direction:column; gap:10px; }
 .op-studio .op-route-cluster-choice { display:flex; gap:12px; align-items:center; width:100%; min-height:52px; text-align:start; overflow-wrap:anywhere; background:#f3f6f5; }
 .op-route-cluster-choice>span:first-child { display:grid; place-items:center; width:28px; height:28px; flex-shrink:0; border-radius:50%; background:#e8d4ae; color:#523f22; }
 .op-route-north { font:12px Arial,sans-serif; fill:#3b606d; }
 .op-studio .op-route-map-note,.op-studio .op-map-attribution,.op-studio .op-journey-map figcaption { padding:10px 13px; color:#4c6870; font-size:12px; line-height:1.8; }
 .op-studio .op-journey-map figcaption { border-top:1px solid #d6e3dd; }
 .op-studio .op-route-map-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:30px 20px; min-height:230px; text-align:center; color:#526e76; }
 .op-studio .op-route-map-empty>span { font-size:44px; line-height:1; color:#9c793e; }
 .op-studio .op-route-map-empty p { font-size:14px; }
 .op-studio .op-route-timeline { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; min-width:0; }
 .op-studio .op-route-visit { display:flex; align-items:flex-start; gap:12px; padding:15px; border:1px solid #d9e4df; border-radius:12px; background:#fff; min-width:0; }
 .op-route-visit>div { min-width:0; flex:1; }
 .op-route-stop-number { display:grid; place-items:center; width:29px; height:29px; flex-shrink:0; border-radius:50%; background:#f1e8d7; color:#775723; font-size:12px; font-weight:700; }
 .op-studio .op-route-focus-button { display:block; min-height:44px; padding:0; border:0; background:transparent; color:#173c4f; text-align:start; font-size:16px; line-height:1.5; font-weight:700; cursor:pointer; }
 .op-studio .op-route-visit p { font-size:13px; color:#506e78; margin-top:5px; }
 .op-studio .op-route-visit small { display:block; color:#5a716e; font-size:12px; }
 .op-studio .op-route-order { display:flex; flex-wrap:wrap; gap:7px; margin-top:10px; }
 .op-studio .op-route-order button { min-height:44px; padding:7px 10px; border:1px solid #d1dfda; border-radius:8px; background:#f5f8f6; color:#365b69; font-size:12px; cursor:pointer; }
 .op-studio .op-route-transfer,.op-studio .op-route-break { display:flex; align-items:center; gap:11px; padding:10px 14px; border-inline-start:2px solid #b89a63; margin-inline-start:14px; background:#f7f4ed; border-radius:0 8px 8px 0; color:#69552f; }
 .op-studio .op-route-transfer.is-unknown { background:#f1f4f4; border-color:#bacbcf; color:#526b77; }
 .op-route-transfer>span,.op-route-break>span { width:20px; flex-shrink:0; font-size:19px; }
 .op-studio .op-route-transfer strong,.op-studio .op-route-break strong { display:block; font-size:13px; }
 .op-studio .op-route-transfer small,.op-studio .op-route-break p { display:block; font-size:12px; margin-top:3px; }
 .op-studio .is-route-focused { outline:2px solid #a68143; outline-offset:4px; }
 .op-studio .op-route-whatif { border-top:1px solid #d6e2dc; padding-top:14px; margin-top:22px; }
 .op-studio .op-route-whatif>summary { min-height:44px; cursor:pointer; font-size:17px; font-weight:700; }
 .op-studio .op-route-whatif>p { font-size:14px; color:#526e78; margin:9px 0; }
 .op-route-whatif-controls { display:flex; gap:14px; align-items:end; }
 .op-route-whatif-controls>label { flex:1; }
 .op-studio .op-route-comparison { padding:23px; margin:18px 0; border:1px solid #d9bd8d; border-radius:14px; background:#fbf5e9; }
 .op-studio .op-route-comparison h3 { margin:6px 0 16px; }
 .op-route-comparison dl { display:flex; flex-wrap:wrap; gap:15px 30px; margin:0; }
 .op-route-comparison dt { font-size:12px; color:#725a36; }
 .op-route-comparison dd { margin:4px 0 0; color:#183c4c; font-size:16px; font-weight:700; }
 .op-studio .op-route-comparison p { margin-top:14px; font-size:13px; color:#675b42; }
 .op-studio .op-route-repairs { padding:16px; margin:13px 0; border:1px solid #ddc293; border-radius:10px; background:#fbf4e6; font-size:14px; }
 @media(max-width:1100px){.op-studio .op-trip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.op-studio .op-journey-columns{grid-template-columns:minmax(0,1fr)}.op-studio .op-journey-workspace{padding:20px}}
 @media(max-width:760px){
  .op-studio .op-journey-workspace{padding:16px 12px;margin-inline:-6px;border-radius:14px}.op-studio .op-journey-workspace h3{font-size:21px}
  .op-studio .op-journey-workspace>.op-section-head{display:block}.op-studio .op-journey-workspace>.op-section-head>.op-button{margin-top:12px;width:100%}
  .op-studio .op-journey-controls{display:block}.op-studio .op-journey-controls>label:first-child{min-width:0}.op-studio .op-journey-controls .op-routing-check{margin-top:9px}
  .op-studio .op-routing-preferences{padding:15px}.op-studio .op-routing-busy{flex-wrap:wrap}.op-studio .op-routing-busy>.op-button{width:100%}
  .op-route-whatif-controls{display:block}.op-route-whatif-controls>.op-button{width:100%;margin-top:12px}
  .op-studio .op-route-comparison{padding:18px}.op-route-comparison dl{display:grid;gap:12px}.op-studio .op-route-visit{padding:12px;gap:9px}
  .op-studio .op-routing-disclosure{font-size:12px;padding:12px}.op-studio .op-route-transfer,.op-studio .op-route-break{margin-inline-start:9px;padding:10px}
 }
 @media(max-width:480px){.op-studio .op-trip-grid>label:nth-child(4){grid-column:1/-1}}
 @media(prefers-reduced-motion:reduce){.op-route-spinner{animation:none}}
}
@media print {
 .op #plan-journey { display:none!important; }
 .op .op-routing-busy,.op .op-routing-disclosure { display:none!important; }
}

@media screen{.op-studio .op-journey-print{display:none}}
@media print{.op .op-journey-print{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:9pt;line-height:1.7;border-top:1px solid #999;padding-top:12pt;margin-top:12pt}}

/* The first plan shares the existing preference controls without a second setup screen. */
.op-studio .op-initial-preferences .op-builder-form{margin:26px 0 0;padding:0;border:0}
.op-studio .op-initial-builder .op-builder-steps,.op-studio .op-initial-builder .op-builder-step-actions,.op-studio .op-initial-builder .op-builder-draft-actions,.op-studio .op-initial-builder #plan-routing-disclosure{display:none}
.op-studio .op-initial-builder [data-builder-step="1"]{display:flex;flex-direction:column}
.op-studio .op-initial-builder .op-pace-preferences{order:1}
.op-studio .op-initial-builder .op-interest-preferences{order:2}
.op-studio .op-initial-builder .op-routing-preferences{order:3;border:0;padding:0;margin-bottom:12px}
.op-studio .op-initial-builder .op-initial-place-details{border:1px solid #d8e2df;border-radius:12px;padding:14px 18px;margin:12px 0 0}
.op-studio .op-initial-place-details>summary{cursor:pointer;font-weight:700}
.op-studio .op-initial-builder .op-initial-place-details:not([open])>*:not(summary){display:none}
.op-studio #plan-initial-routing-note{font-size:12px;line-height:1.8;max-width:760px;margin-top:14px}
.op-studio #plan-initial-busy{margin-top:18px}
.op-studio .op-first-plan-notice{border:1px solid #d8c89e;background:#fff9e8;border-radius:12px;padding:16px 18px;margin-bottom:20px}
.op-studio .op-first-plan-notice ul{margin:8px 0 0;padding-inline-start:20px}
@media(max-width:760px){.op-studio .op-initial-preferences .op-builder-form{margin-top:20px}.op-studio .op-initial-builder .op-initial-place-details{padding:13px}.op-studio .op-first-plan-notice{padding:14px}}
