/* pebbl web: the planner. Built for a wide screen first: the trip, the detail and the map side by side. */

.area-planner { --bar-h: 74px; }
.planbar { position: sticky; top: var(--top-h); z-index: 40; background: var(--teal-deep); color: #fff; }
.planbar-in { display: grid; grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr); gap: var(--s5); align-items: center; min-height: 74px; padding: 8px var(--gut); max-width: 1680px; margin-inline: auto; }
.planbar h1 { font-size: var(--step-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .planbar-trip { min-width: 0; } .planbar-trip p { font-size: var(--step--1); opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.planbar nav ul { display: flex; gap: 4px; background: rgba(0, 0, 0, .22); padding: 5px; border-radius: var(--r-pill); }
.planbar nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill); color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.planbar nav a:hover { background: rgba(255, 255, 255, .14); } .planbar nav a[aria-current] { background: #fff; color: var(--teal-deep); font-weight: 600; }
.planbar-end { justify-self: end; } .save { display: inline-flex; align-items: center; gap: 6px; font-size: var(--step--1); opacity: .92; } .save.bad { background: var(--danger-bg); color: var(--danger); padding: 6px 12px; border-radius: var(--r-m); opacity: 1; }
.area-planner { padding-block: var(--s5) var(--s8); }

/* ---- Plan: three columns ---- */
.work { display: grid; grid-template-columns: 400px minmax(0, 1fr) clamp(280px, 24vw, 400px); gap: var(--s5); padding-inline: var(--gut); max-width: 1680px; margin-inline: auto; align-items: start; }
.tl, .work-panel, .work-map { position: sticky; top: calc(var(--top-h) + 74px + var(--s5)); max-height: calc(100vh - var(--top-h) - 74px - 2 * var(--s5)); }
.tl, .work-panel { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.work-map { --map-off: 250px; }
.tl { display: grid; gap: var(--s3); align-content: start; padding-right: 4px; }
.tl-start { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: var(--r-m); border: 1.5px dashed var(--field); background: var(--paper); }
.tl-start > span { display: grid; } .tl-start:hover, .tl-start.sel { border-color: var(--teal); border-style: solid; background: var(--teal-soft); }
.tl-list { display: grid; gap: 0; }
.tl-stop { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 6px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 8px 10px 8px 6px; }
.tl-stop.sel { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); } .tl-stop.hot { border-color: var(--teal); } .tl-stop.dragging { opacity: .4; }
.grip { color: var(--field); cursor: grab; display: grid; }
.tl-open { display: flex; gap: 12px; align-items: center; text-align: left; background: none; border: 0; padding: 0; min-width: 0; }
.tl-text { display: grid; gap: 2px; min-width: 0; } .tl-text b { font-family: var(--display); font-size: var(--step-1); display: flex; align-items: center; gap: 8px; }
.num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #8E2B1C; color: #fff; font: 600 .8125rem/1 var(--body); font-style: normal; flex: none; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.tl-hop { display: grid; padding: 3px 0 3px 30px; position: relative; } .tl-hop::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; border-left: 2px dotted var(--field); }
.hop { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 7px 12px; border-radius: var(--r-pill); border: 1.5px solid transparent; background: var(--teal-soft); color: var(--teal-deep); font-size: var(--step--1); }
.hop:hover, .hop.sel { border-color: var(--teal); } .hop.sel { background: var(--teal); color: #fff; } .hop.none { background: var(--danger-bg); color: var(--danger); }
.hop .pill { margin-left: auto; } .hop-how { display: inline-flex; gap: 3px; }
.work-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.panel { padding: var(--s6); display: grid; gap: var(--s4); align-content: start; }
.panel h2 { font-size: var(--step-3); } .panel h3 { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); } .panel section { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.panel-ph { position: relative; height: 220px; margin: calc(-1 * var(--s6)) calc(-1 * var(--s6)) 0; border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden; color: #fff; display: grid; align-items: end; }
.panel-ph .cover { position: absolute; inset: 0; } .panel-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 30, 36, .82)); }
.panel-ph > div { position: relative; z-index: 1; padding: var(--s5) var(--s6); } .panel-ph .kind { color: #FFE7C2; }
.panel-top { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; } .panel-top > div:first-child { display: grid; gap: var(--s2); min-width: 0; }
@media (max-width: 620px) { .panel-top { flex-direction: column; align-items: stretch; } }
.panel-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.startcard { display: grid; gap: 6px; text-align: left; padding: var(--s5); border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; }
.startcard:hover { border-color: var(--teal); background: var(--teal-soft); } .startcard .ic { color: var(--teal); } .startcard b { font-family: var(--display); font-size: var(--step-1); } .startcard span { color: var(--muted); font-size: var(--step--1); }
.checks { display: grid; gap: var(--s2); } .checks.cols { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.checks button { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; width: 100%; text-align: left; padding: 12px 14px; border-radius: var(--r-m); border: 0; background: var(--sand); }
.checks .warn button { background: var(--warn-bg); color: var(--warn); } .checks button:hover { outline: 2px solid var(--teal); }
.picker { display: grid; gap: 2px; }
.picker li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-m); }
.picker li:hover, .picker li.hot { background: var(--sand); } .picker li > div { display: grid; gap: 1px; min-width: 0; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s2); }
.way { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: var(--r-m); border: 1.5px solid var(--field); background: #fff; }
.way:hover { border-color: var(--teal); } .way[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal); } .way span { font-size: var(--step--1); color: var(--muted); }
.steps { display: grid; gap: 0; margin-block: var(--s2); }
.steps li { display: grid; grid-template-columns: 62px 1fr; gap: var(--s4); padding: 10px 0; position: relative; }
.steps li::before { content: ""; position: absolute; left: 76px; top: 0; bottom: 0; border-left: 2px solid var(--line); } .steps li:first-child::before { top: 18px; } .steps li:last-child::before { bottom: calc(100% - 18px); }
.steps time { font-family: var(--display); font-weight: 600; text-align: right; } .steps li > span { padding-left: var(--s5); position: relative; display: grid; gap: 4px; justify-items: start; }
.steps li > span::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; z-index: 1; }
.steps .quiet { color: var(--muted); font-size: var(--step--1); } .steps .quiet > span::before { background: var(--field); width: 8px; height: 8px; left: -5px; top: 7px; }
.st-head { display: flex; gap: 8px; align-items: center; } .st-head .ic { color: var(--teal); }
.tl .pill { font-size: .75rem; padding: 2px 8px; }
.chips-list { display: flex; flex-wrap: wrap; gap: 6px; } .chips-list li { padding: 5px 12px; border-radius: var(--r-pill); background: var(--sand); font-size: var(--step--1); }
.tools { padding-top: var(--s4); border-top: 1px solid var(--line); }

/* ---- Book ---- */
.book { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.book section { display: grid; gap: var(--s4); align-content: start; } .book .split-head { align-items: center; min-height: 86px; }
.ring { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--surface); border: 6px solid var(--teal-soft); text-align: center; } .ring b { font-family: var(--display); font-size: var(--step-1); line-height: 1; } .ring span { font-size: .6875rem; color: var(--muted); }
.todo { display: grid; gap: var(--s2); }
.todo li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: var(--s3); align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.todo li.done { background: var(--good-bg); border-color: transparent; } .todo li > div { display: grid; min-width: 0; } .todo li b { display: flex; gap: 8px; align-items: center; }

/* ---- Budget ---- */
.budget { display: grid; gap: var(--s5); }
.budget-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s4); }
.budget .tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s5); display: grid; gap: 6px; align-content: start; }
.budget .tile.main { background: var(--teal-deep); color: #fff; border: 0; } .budget .tile.main .kind { color: #FFE7C2; } .budget .tile.main .figure { font-size: var(--step-5); }
.bars .barcol { width: 22%; vertical-align: middle; }

/* ---- Whole trip ---- */
.whole { display: grid; gap: var(--s5); }
.strip-scroll { overflow-x: auto; padding-bottom: 6px; position: relative; }
.strip { display: grid; grid-template-columns: repeat(var(--days), minmax(46px, 1fr)); grid-template-rows: auto 64px 30px; gap: 6px 3px; min-width: calc(var(--days) * 49px); }
.d-head { grid-row: 1; text-align: center; font-size: .75rem; color: var(--muted); display: grid; padding: 4px 0; border-radius: var(--r-s); position: relative; }
.d-head b { font-family: var(--display); font-size: var(--step-1); color: var(--ink); } .d-head.we { background: var(--sand); } .d-head em { font-style: normal; font-weight: 600; color: var(--teal); } .d-head.end { opacity: .55; }
.d-stay { grid-row: 2; border-radius: var(--r-m); padding: 8px 10px; color: #fff; text-decoration: none; display: grid; align-content: center; overflow: hidden; position: relative; min-width: 0; border: 2px dashed rgba(255, 255, 255, .75); }
.d-stay.booked { border: 2px solid transparent; } .d-stay b, .d-stay span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .d-stay span { font-size: .75rem; opacity: .92; } .d-stay:hover { filter: brightness(1.12); }
.d-stay .wx { position: absolute; right: 6px; top: 6px; color: #FFE7C2; }
.t1 { background: #1C686E; } .t2 { background: #8E2B1C; } .t3 { background: #3A5BA0; } .t4 { background: #7A5A2E; } .t5 { background: #5E4674; }
.d-move { grid-row: 3; align-self: center; justify-self: start; min-width: 44px; height: 24px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); font-size: .6875rem; font-weight: 600; display: grid; place-items: center; text-decoration: none; white-space: nowrap; border: 1.5px dashed var(--teal); padding-inline: 4px; }
.d-move.booked { border-style: solid; } .d-move.long { background: var(--warn-bg); color: var(--warn); border-color: var(--amber); } .d-move.none { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s4); font-size: var(--step--1); color: var(--muted); } .legend li { display: flex; align-items: center; gap: 6px; }
.legend .k { width: 22px; height: 12px; border-radius: 6px; display: inline-block; } .k.stay { background: var(--teal); } .k.move { background: var(--teal-soft); border: 1.5px solid var(--teal); } .k.long { background: var(--warn-bg); border: 1.5px solid var(--amber); } .k.todo { border: 2px dashed var(--field); }
.doc header { display: flex; gap: var(--s4); align-items: center; } .doc header img { border-radius: 14px; }
.days { display: grid; gap: var(--s5); } .days > li { padding-top: var(--s4); border-top: 1px solid var(--line); display: grid; gap: 6px; } .days h3 { font-size: var(--step-2); }
.doc-list { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }

/* ---- Take it with you ---- */
.take { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: var(--s5); align-items: start; }
.take h2 { font-size: var(--step-2); display: flex; align-items: center; gap: 10px; } .phone-card { border-color: var(--teal); }
.howto { counter-reset: n; display: grid; gap: var(--s3); } .howto li { counter-increment: n; position: relative; padding-left: 44px; min-height: 32px; }
.howto li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 600; }
.trips { display: grid; gap: var(--s2); } .trips li { display: flex; justify-content: space-between; gap: var(--s3); align-items: center; padding: 12px; border-radius: var(--r-m); background: var(--sand); flex-wrap: wrap; }
.code { font: 600 2.25rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .18em; padding: var(--s4); border-radius: var(--r-m); background: var(--sand); text-align: center; }
.members { display: grid; gap: var(--s2); } .members li { display: flex; align-items: center; gap: var(--s3); } .members li span:nth-child(2) { flex: 1; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 600; }

@media (max-width: 1280px) { .work { grid-template-columns: 360px minmax(0, 1fr); } .work-map { display: none; } .planbar-in { grid-template-columns: 1fr auto; } .planbar-end { grid-column: 1 / -1; justify-self: start; } .take { grid-template-columns: 1fr 1fr; } .phone-card { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .planbar { position: static; } .planbar-in { grid-template-columns: 1fr; gap: var(--s2); } .planbar nav { overflow-x: auto; } .planbar nav a span { display: none; } .planbar nav a[aria-current] span { display: inline; }
  .work { grid-template-columns: 1fr; } .tl, .work-panel { position: static; max-height: none; overflow: visible; }
  .book, .take, .budget-top { grid-template-columns: minmax(0, 1fr); } .budget .tile.main .figure { font-size: var(--step-4); } .bars .barcol { display: none; } .budget .card { overflow-x: auto; } .panel { padding: var(--s4); } .panel-ph { margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) 0; }
  .picker li { grid-template-columns: 56px minmax(0, 1fr) auto; } .picker li .pill, .picker li a.btn { display: none; } .start-grid { grid-template-columns: 1fr; }
  .todo li { grid-template-columns: auto minmax(0, 1fr); } .todo li .btn { grid-column: 2; justify-self: start; } .checks.cols { grid-template-columns: 1fr; }
}
@media print { .area-planner { padding: 0; } .whole .card.doc { border: 0; padding: 0; } }

/* pebbl web 3 (22 Nov 2026) */
.chips-list li:has(a) { padding: 0; } .chips-list a { display: inline-block; padding: 5px 12px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; }
.chips-list a:hover, .chips-list a:focus-visible { background: var(--teal-soft); color: var(--teal-deep); }
.area-pick { margin: var(--s2) 0; display: grid; gap: 4px; } .area-pick select { min-height: 44px; border: 1.5px solid var(--field); border-radius: var(--r-s); padding: 0 var(--s3); background: var(--surface); }
/* the trip check: "How this trip shapes up" (pebbl8) */
.check { display: grid; gap: var(--s2); margin-top: var(--s4); }
.check-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.score { font-family: var(--display); font-weight: 600; font-size: var(--step-3); padding: 2px 14px; border-radius: var(--r-pill); background: var(--good-bg); color: var(--good); }
.score.amber { background: var(--warn-bg); color: var(--warn); } .score.bad { background: var(--danger-bg); color: var(--danger); }
.check-lab { font-weight: 600; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: var(--s2); }
.fixes { display: grid; gap: var(--s2); }
.fix { display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); padding: 12px 14px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.fix > div { display: grid; gap: 4px; } .fix .btn-row { margin-top: 4px; }
.fix-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--warn-bg); color: var(--warn); }
.fix.red { border-color: var(--danger-bg); } .fix.red .fix-n { background: var(--danger-bg); color: var(--danger); }
.fix.ask .fix-n { background: var(--teal-soft); color: var(--teal-deep); }
.checks .good-note { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); background: var(--good-bg); color: var(--good); }
.meant { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.ease { margin: var(--s4) 0; display: grid; gap: var(--s2); background: var(--teal-soft); border: 0; }
/* Share my trip score */
.scorepage { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: var(--s6); align-items: start; padding-top: var(--s5); }
.score-pic { aspect-ratio: 4 / 5; background: var(--teal-deep); border-radius: var(--r-l); overflow: hidden; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-2); }
.score-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .scorepage { grid-template-columns: minmax(0, 1fr); } }

/* The trip in order, in the app's "filmstrip path" look (23 Nov 2026). Same parts and actions as before. */
.tl.path { gap: 0; padding: 14px; border-radius: var(--r-l); background: #CFE9EE center/cover no-repeat; }
.tl.path .tl-start { border: 0; background: rgba(34,44,74,.86); color: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: 0 6px 14px rgba(110,31,26,.16); }
.tl.path .tl-start .small { color: #E8ECF5; } .tl.path .tl-start:hover, .tl.path .tl-start.sel { background: rgba(21,79,84,.95); outline: 2px solid #fff; }
.tl.path .tl-list { display: flex; flex-direction: column; }
.tl.path .tl-hop { position: relative; height: 66px; padding: 0; display: flex; align-items: center; justify-content: center; } .tl.path .tl-hop::before { content: none; }
.tl.path .cv { position: absolute; inset: 0; width: 100%; height: 100%; } .tl.path .cv path { fill: none; stroke: var(--teal-deep); opacity: .9; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0.1 9; vector-effect: non-scaling-stroke; }
.tl.path .hop { position: relative; width: auto; max-width: 96%; min-height: 34px; padding: 3px 14px; gap: 6px; border: 2px solid transparent; background: var(--teal-deep); color: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(8,16,40,.25); }
.tl.path .hop:hover, .tl.path .hop.sel { border-color: #fff; background: var(--teal); } .tl.path .hop.none { background: #7A1F10; color: #FFE2A8; }
.tl.path .hop .pill { margin-left: 2px; background: none; padding: 0 0 0 8px; border-left: 1px solid currentColor; border-radius: 0; color: #FFD9A0; } .tl.path .hop .pill.good { color: #BFF0CF; }
.tl.path .tl-stop { position: relative; display: block; width: 86%; height: 118px; padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #1F5E66, #3A2416); box-shadow: 0 6px 14px rgba(110,31,26,.2); }
.tl.path .tl-stop.l { align-self: flex-start; } .tl.path .tl-stop.r { align-self: flex-end; }
.tl.path .tl-stop.sel { outline: 3px solid #fff; box-shadow: 0 0 0 6px var(--teal), 0 6px 14px rgba(110,31,26,.2); } .tl.path .tl-stop.hot { outline: 3px dashed #fff; }
.tl.path .strip-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl.path .sh { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,40,.85) 0%, rgba(8,16,40,.3) 65%, rgba(8,16,40,.05) 100%); }
.tl.path .tl-open { position: absolute; inset: 0; display: block; width: 100%; padding: 14px 14px 14px 16px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.tl.path .tl-text { height: 100%; align-content: space-between; } .tl.path .tl-text b { font-size: 1.3125rem; font-weight: 600; line-height: 1.1; align-items: flex-start; }
.tl.path .tl-text .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tl.path .tl-text b .pill { flex: none; font: 600 .6875rem/1.4 var(--body); padding: 3px 9px; text-shadow: none; white-space: nowrap; }
.tl.path .num { width: 22px; height: 22px; text-shadow: none; }
.tl.path .tl-tags { align-items: center; gap: 8px; margin: 0; padding-right: 104px; color: #E8ECF5; } .tl.path .tl-tags .pill { text-shadow: none; font-size: .6875rem; padding: 2px 8px; }
.tl.path .grip { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.75); }
.tl.path .stepper { position: absolute; right: 12px; bottom: 10px; color: #fff; gap: 4px; background: rgba(8,16,40,.45); border-radius: var(--r-pill); padding: 2px; }
.tl.path .stepper .round { width: 28px; height: 28px; min-height: 0; background: rgba(255,255,255,.92); color: var(--teal-deep); border: 0; } .tl.path .stepper output { min-width: 20px; text-align: center; }
.tl.path > .btn { margin-top: 14px; background: rgba(255,252,247,.94); } .tl.path > .btn.ghost:hover, .tl.path > .btn.on { background: var(--teal-soft); } .tl.path > .btn + .btn { margin-top: 10px; }
.tl.path > p.small { margin-top: 10px; padding: 6px 10px; border-radius: var(--r-s); background: rgba(255,252,247,.85); color: var(--ink); }
.olong { position: absolute; bottom: 0; left: calc(81% - 6px); width: 46px; height: 26px; pointer-events: none; } .olong.rev { left: auto; right: calc(81% - 6px); }
.olong.mid, .olong.mid.rev { left: 50%; right: auto; bottom: auto; top: 50%; margin: -23px 0 0 -23px; }
.olong svg { display: block; animation: olbob 3.4s ease-in-out infinite; transform-origin: 50% 80%; } .olong.rev svg { transform: scaleX(-1); animation-name: olbobr; }
.olong.in svg { animation-name: olbobr; transform: scaleX(-1); } .olong.rev.in svg { animation-name: olbob; transform: none; }
@keyframes olbob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-2px) rotate(2deg); } }
@keyframes olbobr { 0%, 100% { transform: scaleX(-1) translateY(0) rotate(-2deg); } 50% { transform: scaleX(-1) translateY(-2px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .olong svg { animation: none; } }
/* The small trip map is only for screens too narrow for the big map on the right; never show both (23 Nov 2026). */
@media (min-width: 1600px) { .work-panel [data-anim="trip"] { display: none; } }

/* Mark, 23 Nov 2026: the Plan page uses the whole page. One page scroll instead of a scroll bar in each box,
   the trip list (the key content) about twice as wide with bigger place strips, and in "Your trip so far" a
   bigger trip map with nights, places and booked stacked to its left. The big map column shows from 1600px. */
.sum { display: grid; gap: var(--s3); } .sum .anim.small { max-width: none; width: 100%; }
@media (min-width: 521px) {
  .sum:not(.solo) { grid-template-columns: minmax(104px, .62fr) minmax(0, 1.5fr); align-items: stretch; }
  .sum:not(.solo) .tiles.three { grid-template-columns: 1fr; grid-row: 1; grid-column: 1; } .sum:not(.solo) .anim { grid-row: 1; grid-column: 2; align-self: center; }
  .sum:not(.solo) .tile { display: grid; align-content: center; }
}
@media (min-width: 1600px) { .sum:not(.done) { grid-template-columns: 1fr; } .sum:not(.done) .tiles.three { grid-template-columns: repeat(3, 1fr); grid-column: 1; } }
@media (min-width: 901px) {
  .work { grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr); }
  .tl, .work-panel { position: static; max-height: none; overflow: visible; }
  .work-panel.fits { position: sticky; top: var(--stick, calc(var(--top-h) + 74px + var(--s5))); }
  .tl { padding-right: 0; } .tl.path { padding: clamp(16px, 2vw, 28px); }
  .tl.path .tl-start { padding: 20px 24px; font-size: var(--step-1); }
  .tl.path .tl-hop { height: 88px; } .tl.path .hop { min-height: 42px; padding: 6px 20px; font-size: 1rem; gap: 10px; }
  .tl.path .tl-stop { height: clamp(150px, 15vw, 190px); border-radius: 26px; }
  .tl.path .tl-open { padding: 20px 22px; } .tl.path .tl-text b { font-size: clamp(1.5rem, 2.2vw, 2rem); gap: 12px; }
  .tl.path .tl-text b .pill { font-size: .8125rem; padding: 5px 12px; align-self: center; }
  .tl.path .num { width: 32px; height: 32px; font-size: 1rem; }
  .tl.path .tl-tags { padding-right: 150px; gap: 10px; } .tl.path .tl-tags .small { font-size: 1rem; } .tl.path .tl-tags .pill { font-size: .8125rem; padding: 3px 10px; }
  .tl.path .stepper { right: 18px; bottom: 16px; gap: 8px; padding: 4px; font-size: 1.125rem; } .tl.path .stepper .round { width: 38px; height: 38px; }
  .tl.path .grip { right: 10px; top: 38%; }
  .tl.path > .btn { margin-top: 20px; min-height: 52px; font-size: 1rem; }
}
@media (min-width: 901px) and (max-width: 1599px) { .work-map { display: none; } }
@media (min-width: 1600px) { .work { grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr) clamp(270px, 18vw, 340px); } }
/* Review rev2, P2 (23 Nov 2026): on a phone the trip bar is two slim rows (name with the saved note beside it, then the tabs), so the trip itself starts higher up the screen */
@media (max-width: 900px) {
  .planbar-in { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding-block: 6px; gap: 4px 10px; align-items: center; }
  .planbar h1 { font-size: 1rem; } .planbar-trip p { display: none; }
  .planbar-end { grid-column: 2; grid-row: 1; justify-self: end; max-width: 46vw; } .planbar-end .save { font-size: .6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } .planbar-end .save .ic { display: none; } .planbar-end .save.bad { white-space: normal; }
  .planbar nav { grid-column: 1 / -1; grid-row: 2; } .planbar nav a { padding-block: 7px; }
  .area-planner { padding-top: var(--s3); }
}
