/* Journey timeline, trip header pills and chat card. Ask then Go identity (ink / teal / coral on sand).
 * Order in the panel: header -> stop chips -> map -> journey -> fares. The old schematic "route" card is replaced by the journey. */
#nmJourney{order:4}#planContent>#nmServices{order:4}      /* the services card follows the days (both order 4: document order decides), the consultant offer after them */
#planContent.nm-j-on #routeCard,#planContent.nm-j-on #hotels,#planContent.nm-j-on #activities,#planContent.nm-j-on .expense{display:none}
#planContent.nm-j-on #flights{margin-top:6px}
.nm-journey{margin:6px 0 22px;color:var(--nm-ink)}

/* ---------- header pills + editor ---------- */
.hero-info.nm-th-on .hero-metas{display:none}
.nm-th{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.nm-th[hidden],.nm-th-edit[hidden]{display:none}
.nm-th-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--nm-line);background:#fff;color:var(--nm-ink);border-radius:999px;padding:8px 14px;font-weight:600;font-size:14px;line-height:1.1;font-family:inherit;cursor:pointer;max-width:100%}
.nm-th-pill.static{background:var(--nm-sand);cursor:default}
.nm-th-pill:not(.static):hover{border-color:var(--nm-teal);background:var(--nm-teal-soft)}
.nm-th-pill.ask{border-color:var(--nm-coral);color:var(--nm-coral-d);background:#fff7f4}
.nm-th-pill.ask:hover{background:#ffeae3;border-color:var(--nm-coral-d)}
.nm-th-pill[aria-expanded=true]{box-shadow:0 0 0 3px #7fcfc999}
.nm-th-i{flex:none;font-size:14px}.nm-th-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nm-th-edit{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 14px;align-items:end;background:#fff;border:1px solid var(--nm-line);border-radius:18px;padding:16px;margin:10px 0 6px;box-shadow:0 12px 32px #0e22301f}
.nm-th-edit>*{min-width:0}
.nm-th-title{grid-column:1/-1;font:600 18px Georgia,serif}
.nm-th-f{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--nm-muted);letter-spacing:.03em;text-transform:uppercase}
.nm-th-f.wide{grid-column:span 2}
.nm-th-f input{font:inherit;font-size:15px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--nm-ink);border:1.5px solid #d9d0c1;border-radius:12px;padding:10px 12px;background:#fff;min-width:0;width:100%;box-sizing:border-box}
.nm-th-f input:focus{outline:none;border-color:var(--nm-teal);box-shadow:0 0 0 3px #7fcfc9aa}
.nm-th-step{display:inline-flex;align-items:center;gap:0;border:1.5px solid #d9d0c1;border-radius:12px;overflow:hidden;background:#fff;width:max-content}
.nm-th-step button{width:42px;height:42px;border:0;background:#fff;color:var(--nm-ink);font-size:20px;cursor:pointer;font-family:inherit}
.nm-th-step button:hover:not(:disabled){background:var(--nm-teal-soft)}.nm-th-step button:disabled{opacity:.35;cursor:default}
.nm-th-n{min-width:38px;text-align:center;font:600 16px Georgia,serif;color:var(--nm-ink);letter-spacing:0;text-transform:none}
.nm-th-err{grid-column:1/-1;margin:0;color:#b4351c;font-weight:600;font-size:13.5px;min-height:0}.nm-th-err:empty{display:none}
.nm-th-hint{grid-column:1/-1;margin:0;color:var(--nm-muted);font-size:12.5px;line-height:1.4}
.nm-th-acts{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}
.nm-th-go{border:0;border-radius:14px;background:var(--nm-coral);color:#fff;font-weight:700;font-size:15px;font-family:inherit;padding:12px 18px;cursor:pointer}
.nm-th-go:hover{background:var(--nm-coral-d)}
.nm-th-cancel{border:1.5px solid #d9d0c1;border-radius:14px;background:#fff;color:var(--nm-ink);font-weight:600;font-size:15px;font-family:inherit;padding:11px 18px;cursor:pointer}
.nm-th-cancel:hover{background:var(--nm-sand)}

/* ---------- day boxes: one per calendar day, on a vertical rail (the design chosen on 17.10) ----------
   Closed: date, title, one sentence, the night's stay and a picture; the whole header toggles the details, the button is the keyboard way.
   Open: the arrival / transfer, the experiences by part of the day, the stay card, the day on the map; nothing is regenerated, nothing moves. */
.nm-d-sechead{margin:26px 0 10px}
.nm-d-list{position:relative;display:grid;gap:14px;padding-left:28px;margin:0 0 8px;overflow-anchor:none}      /* opening a day must not make the browser re-anchor and move the page */
.nm-d-list::before{content:"";position:absolute;left:9px;top:28px;bottom:28px;width:2px;background:var(--nm-line)}
.nm-d{position:relative;min-width:0;background:#fff;border:1px solid var(--nm-line);border-radius:18px;box-shadow:0 8px 24px #0e22301a}
.nm-d::before{content:"";position:absolute;left:-24px;top:30px;width:12px;height:12px;border-radius:50%;background:var(--nm-teal);box-shadow:0 0 0 3px #fff,0 0 0 4px #b7dcd9}
.nm-d.is-open{border-color:#b7dcd9;box-shadow:0 12px 30px #0e22301f}
.nm-d.nm-selectable.is-selected{border-radius:18px}
.nm-d-head{display:grid;grid-template-columns:60px minmax(0,1fr) 168px auto;gap:14px;align-items:center;padding:14px 16px;cursor:pointer;border-radius:18px}
.nm-d-head:hover{background:#fffdf9}
.nm-d-date{display:grid;place-items:center;align-content:center;width:60px;height:60px;border-radius:16px;background:var(--nm-teal-soft);color:var(--nm-teal-d);text-align:center}
.nm-d-date b{font:600 22px/1 Georgia,serif}.nm-d-date small{display:block;margin-top:3px;font-size:10.5px;font-weight:800;letter-spacing:.4px;white-space:nowrap}
.nm-d-main{min-width:0}
.nm-d-title{margin:0;font:600 19px/1.2 Georgia,serif;letter-spacing:-.2px;color:var(--nm-ink)}
.nm-d-sum{margin:4px 0 0;color:var(--nm-muted);font-size:14px;line-height:1.45}
.nm-d-stayline{margin:6px 0 0;color:var(--nm-ink);font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px}.nm-d-stayline .nm-ic{width:15px;height:15px;color:var(--nm-teal-d)}.nm-d-stayline.is-vehicle{font-weight:600;color:var(--nm-teal-d)}
.nm-d-photo{position:relative;width:168px;height:96px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,var(--nm-teal-soft),#f4e7cf)}
.nm-d-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s ease}.nm-d-photo.has-img img{opacity:1}
/* every day keeps its picture slot, the same size in the same place (audit 18.10: two days had none); nm-photos.js fills it with a picture of its own */
.nm-d-photo .nm-d-phico{position:absolute;inset:0;margin:auto;width:24px;height:24px;color:#bfb29d}
.nm-d-photo img{z-index:1}
.nm-d-toggle{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--nm-teal-d);background:#fff;color:var(--nm-teal-d);border-radius:999px;padding:9px 14px;font:700 13px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap;min-height:36px}
.nm-d-toggle:hover{background:var(--nm-teal-soft)}.nm-d-toggle:focus-visible{outline:2px solid var(--nm-teal);outline-offset:2px}.nm-d-toggle .nm-ic{width:14px;height:14px}
.nm-d-body{padding:4px 16px 16px;border-top:1px dashed var(--nm-line);margin:0 0 0}
.nm-d-body[hidden]{display:none}
.nm-d-body>.nm-j-item{padding-top:14px}
.nm-d-parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.nm-d-part{min-width:0;display:grid;gap:8px;align-content:start}
.nm-d-partlbl{margin:0;font-size:13px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;color:var(--nm-teal-d)}
.nm-d-parts .nm-j-day{grid-template-columns:96px minmax(0,1fr)}
.nm-d-night{margin:10px 4px 0;color:var(--nm-ink);font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nm-d-night .nm-ic{color:var(--nm-teal-d)}
.nm-d-nightlink{padding:4px 0}
.nm-d-acts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0}
.nm-d-staywrap{display:grid;gap:10px}
.nm-j-chipbtn{flex:none;border:1px solid #b7dcd9;background:var(--nm-teal-soft);color:var(--nm-teal-d);border-radius:999px;padding:7px 13px;font-weight:700;font-size:12.5px;line-height:1;font-family:inherit;cursor:pointer;white-space:nowrap}
.nm-j-chipbtn:hover{background:#d3ebe9}
/* transport and useful services: partner cards side by side, after the days */
.nm-services{margin-top:22px}
.nm-sv-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.nm-sv-row .nm-j-pcard{border:1px solid var(--nm-line);border-radius:16px;padding:14px;background:#fffdf9;align-content:start}
.nm-sv-row .nm-j-pcard .nm-j-acts{margin-top:auto}

.nm-j-item{position:relative;display:grid;grid-template-columns:118px minmax(0,1fr);gap:14px;padding:0 0 14px}
.nm-j-item::before{content:"";position:absolute;left:19px;top:44px;bottom:-4px;width:2px;background:var(--nm-line)}
.nm-j-endstop .nm-j-item::before{display:none}
.nm-j-mark{display:grid;grid-template-columns:40px 1fr;gap:2px 10px;align-items:start;align-content:start}
.nm-j-ico{grid-row:span 3;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--nm-ink);color:#fff;font-size:18px}
.nm-j-mark b{font-size:14px;line-height:1.2;padding-top:2px}.nm-j-mark small{grid-column:2;color:var(--nm-muted);font-size:12px;line-height:1.3}
.nm-j-body{min-width:0;background:#fff;border:1px solid var(--nm-line);border-radius:20px;padding:12px;box-shadow:0 8px 24px #0e22301a;container-type:inline-size}
.nm-j-muted{margin:2px 4px;color:var(--nm-muted);font-size:14px}.nm-j-note{margin:8px 4px 4px;color:var(--nm-muted);font-size:12px}.nm-j-pending{margin:4px 4px 10px;padding:8px 12px;border-radius:10px;background:#fff4e5;color:#7a4a0c;font-size:13px;line-height:1.45}
.nm-j-near{margin:2px 0 10px;padding:8px 12px;border-left:3px solid var(--nm-gold);border-radius:0 10px 10px 0;background:#fdf6e6;color:var(--nm-ink);font-size:13px;font-weight:600;line-height:1.4}
.nm-j-acts{display:flex;gap:8px 10px;flex-wrap:wrap;margin:6px 0 0;justify-content:flex-start}.nm-j-acts .nm-j-btn{margin-left:0}
.nm-j-link{border:0;background:transparent;color:var(--nm-teal-d);font-weight:700;font-size:13px;cursor:pointer;padding:4px;font-family:inherit}
.nm-j-link:hover{text-decoration:underline}
.nm-j-flight.is-loading .nm-j-muted{animation:nmJPulse 1.4s ease-in-out infinite}
@keyframes nmJPulse{50%{opacity:.45}}
.nm-j-fl .nm-fl-list{margin:0}
.nm-j-staytop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 4px 10px}.nm-j-staytop b{font:600 17px Georgia,serif}
/* partner links: a quiet text link by default; the filled button only for a tracked affiliate link (a programme that accepted the owner) */
.nm-j-btn{margin-left:auto;display:inline-block;border-radius:11px;border:1px solid var(--nm-line);background:#fff;color:var(--nm-teal-d);font-weight:700;font-size:13px;padding:7px 12px;text-decoration:none}
.nm-j-btn:hover{background:var(--nm-sand)}
.nm-j-btn[data-affiliate="1"]{background:var(--nm-coral);border-color:var(--nm-coral);color:#fff;font-size:13.5px;padding:8px 13px}
.nm-j-btn[data-affiliate="1"]:hover{background:var(--nm-coral-d)}
.nm-j-toursrow{justify-content:flex-start;margin-top:6px}.nm-j-toursrow .nm-j-btn{margin-left:0}
.nm-j-tours{font-size:14.5px;padding:11px 18px;border:1.5px solid var(--nm-teal-d);border-radius:14px;box-shadow:0 1px 0 rgba(0,0,0,.04)}.nm-j-tours::before{content:'🎟 ';}
.nm-j-stay details.nm-stay{margin:0}
.nm-j-stay details.nm-stay>summary .nm-stopno2,.nm-j-stay details.nm-stay>summary .nm-stay-name{display:none}
.nm-j-stay details.nm-stay>summary .nm-stay-hint{margin-left:0;flex:1;font-size:14px;font-weight:650;color:var(--nm-ink)}
.nm-j-foot{margin:2px 4px 0;color:var(--nm-muted);font-size:12px;line-height:1.45}

/* ---------- day cards ---------- */
.nm-j-days{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.nm-j-day{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;border:1px solid var(--nm-line);border-radius:16px;overflow:hidden;background:var(--nm-paper,#fffdf9)}
.nm-j-day.nm-selectable.is-selected{border-radius:16px}
.nm-j-photo{position:relative;min-height:104px;background:linear-gradient(135deg,var(--nm-teal-soft),#f4e7cf)}
.nm-j-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.nm-j-photo.is-dup img,.nm-j-stayph.is-dup img{display:none}      /* the same picture already shown higher in the journey */
.nm-j-daytxt{padding:10px 36px 10px 0;min-width:0}
.nm-j-when{display:inline-block;background:var(--nm-teal-soft);color:var(--nm-teal-d);border-radius:999px;padding:3px 10px;font-weight:700;font-size:12px}
.nm-j-daytxt h4{margin:6px 0 2px;font-size:16px;line-height:1.25}
.nm-j-desc{margin:0;color:var(--nm-muted);font-size:13.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nm-j-desc.open{display:block;-webkit-line-clamp:unset}
.nm-j-more{border:0;background:transparent;color:var(--nm-teal-d);font-weight:700;font-size:12.5px;font-family:inherit;padding:2px 0;cursor:pointer}
.nm-j-dayacts{margin-top:6px;display:flex;gap:8px;flex-wrap:wrap}
.nm-j-x{position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:50%;border:1px solid #e3d9ea;background:#fff;color:#8a7d92;font-size:16px;line-height:1;opacity:0;transition:opacity .15s;cursor:pointer;padding:0}
.nm-j-day:hover .nm-j-x,.nm-j-day:focus-within .nm-j-x,.nm-j-x:focus-visible{opacity:1}
@media(hover:none){.nm-j-x{opacity:1}}

/* ---------- chat card ---------- */
.nm-tripcard{container:nm-tc/inline-size;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;max-width:440px;margin:6px 0 10px 40px;padding:10px 12px;background:#fff;border:1px solid var(--nm-line);border-radius:18px;box-shadow:0 8px 24px #0e22301a}
.nm-tripcard.old{opacity:.72;box-shadow:none}
/* the version on screen (22.10): the card whose plan the trip page shows is marked; an older one opened again is marked instead */
.nm-tripcard.is-shown{border-color:#b7dcd9;opacity:1}
.nm-tripcard.is-shown .nm-tc-sub::after{content:' · ' attr(data-shown);color:var(--nm-teal-d);font-weight:700}
#nmTripHead.flash{outline:3px solid #b7dcd9;outline-offset:4px;transition:outline-color .6s}
.nm-tc-thumb{display:block;width:58px;height:58px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,var(--nm-teal),var(--nm-gold))}
.nm-tc-cover{display:block;width:100%;height:100%;object-fit:cover}.nm-tc-cover[hidden]{display:none}
.nm-tc-body{display:grid;gap:1px;min-width:0}
.nm-tc-title{font:600 16px/1.25 Georgia,serif;color:var(--nm-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nm-tc-sub{font-size:12.5px;font-weight:700;color:var(--nm-teal-d)}.nm-tc-meta{color:var(--nm-muted);font-size:12px}.nm-tc-diff{display:block;color:#7a4a0c;font-size:12px;margin-top:2px}.nm-tc-diff[hidden]{display:none}
.nm-tc-open{border:1px solid var(--nm-teal);background:#fff;color:var(--nm-teal-d);border-radius:22px;padding:9px 15px;font-weight:700;font-size:13px;font-family:inherit;cursor:pointer;white-space:nowrap}
.nm-tc-open:hover{background:var(--nm-teal-soft)}.nm-tc-open[hidden]{display:none}
/* the chat column is only ~360px wide on a ~1000px window: when the card is too narrow for thumbnail + text + button in one row, the button moves under the text and the title may use two lines */
@container nm-tc (max-width:379px){
  .nm-tc-open{grid-column:1/-1;grid-row:2;justify-self:stretch;text-align:center}
  .nm-tc-title{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
}
@media(min-width:901px) and (max-width:1380px){.nm-tripcard{margin-left:0}}

/* ---------- sticky bar: real fares only ---------- */
.nm-bar-total.has-fare strong{font:600 22px/1.15 Georgia,serif;color:var(--nm-ink)}
.nm-bar-total.has-fare span{max-width:46ch}

@media(max-width:720px){
  .nm-bar-total.has-fare span{display:block;max-width:52vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nm-j-item{grid-template-columns:1fr}.nm-j-item::before{display:none}
  .nm-j-mark{grid-template-columns:40px 1fr;align-items:center}.nm-j-ico{grid-row:span 2}
  .nm-j-chipbtn{padding:6px 10px}
  .nm-j-day{grid-template-columns:92px minmax(0,1fr)}
  /* a day box on a phone: date + text in the first row, the picture full width under them, the button on its own row (no horizontal scroll) */
  .nm-d-list{padding-left:22px}.nm-d-list::before{left:6px}.nm-d::before{left:-21px;width:10px;height:10px}
  .nm-d-head{grid-template-columns:52px minmax(0,1fr);gap:10px 12px;padding:12px}
  .nm-d-date{width:52px;height:52px;border-radius:14px}.nm-d-date b{font-size:19px}
  .nm-d-title{font-size:17px}
  .nm-d-photo{grid-column:1/-1;width:100%;height:132px}
  .nm-d-toggle{grid-column:1/-1;justify-content:center}
  .nm-d-body{padding:4px 12px 12px}
  .nm-d-parts .nm-j-day{grid-template-columns:84px minmax(0,1fr)}
  .nm-th-f.wide{grid-column:1/-1}
  .nm-tripcard{margin-left:0;max-width:none}
}
@media(prefers-reduced-motion:reduce){.nm-journey *,.nm-th *{animation:none!important;transition:none!important}}

/* the trip leads the panel; the web-research report (long, text only) follows the plan and is one tap away from the status line */
.panel-inner{display:flex;flex-direction:column}
.panel-inner>#liveResearch{order:5;margin-top:28px}
.nm-res-jump{margin-left:auto;flex:none;border:1px solid var(--nm-line);background:var(--nm-paper);color:var(--nm-teal-d);border-radius:999px;padding:6px 12px;font-family:inherit;font-size:12px;font-weight:700;line-height:1;cursor:pointer}
.stage .nm-res-jump+.progress{margin-left:10px}
.nm-res-jump:hover{background:var(--nm-teal-soft)}.nm-res-jump:focus-visible{outline:2px solid var(--nm-teal);outline-offset:2px}

/* the journey shows every flight in place (arrival, hops, return): the separate fares panel below is not needed any more */
#planContent.nm-j-on #flights{display:none}

/* the stay card: city picture on the left, facts and one button on the right */
.nm-j-staycard{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center}
.nm-j-stayph{position:relative;min-height:110px;align-self:stretch;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,var(--nm-teal-soft,#dff1ef),#f4e7cf)}
.nm-j-stayph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s ease}
.nm-j-stayph.has-img img{opacity:1}
.nm-j-staytxt{display:grid;gap:4px;padding:4px 4px 4px 0}
.nm-j-staytxt b{font:600 17px Georgia,serif}.nm-j-staytxt small{color:var(--nm-muted);font-weight:600}.nm-j-staytxt .nm-j-muted{margin:2px 0 6px}
.nm-j-staytxt .nm-j-btn{margin-left:0;justify-self:start}
.nm-j-stayacts{align-items:center;margin-top:2px}
@media(max-width:700px){.nm-j-staycard{grid-template-columns:100px minmax(0,1fr)}.nm-j-stayph{min-height:90px}}

/* the "check current prices" web research: real fares already sit in the journey, and that search earned nothing and went stale */
#checkPrices{display:none}

/* live partner widgets (iframes from tpwgts.com) */
.nm-j-widget{margin:8px 0 2px;min-height:0}.nm-j-widget iframe{max-width:100%;border:0;border-radius:12px}.nm-j-widget.is-failed{display:none}.nm-j-live .nm-j-widget{min-height:120px}
/* partner forms (eSIM, compensation) are shown smaller than they come: the iframe is scaled down and its box clipped to the scaled height (nm-widgets.js keeps the height in step) */
.nm-j-shrink{max-width:460px;overflow:hidden;border-radius:14px}.nm-j-shrink iframe{transform:scale(.86);transform-origin:0 0;width:116.3%!important}
.nm-j-airhelp,.nm-j-pickups{max-width:460px}
/* partner cards in our own design (eSIM, compensation): no foreign forms */
.nm-j-pcard{display:grid;gap:6px;padding:4px 4px 2px}.nm-j-pcard-h{display:flex;align-items:center;gap:10px}.nm-j-pcard-h b{font:600 17px Georgia,serif;color:var(--nm-ink)}.nm-j-pcard-ico{width:34px;height:34px;border-radius:10px;background:var(--nm-sand);display:grid;place-items:center;font-size:17px}
.nm-j-pcard-t{margin:0 0 4px;color:var(--nm-muted);font-size:14px;line-height:1.45}
.nm-j-lead{margin:2px 4px 4px;font-size:15.5px;color:var(--nm-ink);font-weight:600}
.nm-j-btn.nm-j-primary{border:2px solid var(--nm-teal-d);color:var(--nm-teal-d);background:#fff;font-size:14.5px;padding:10px 16px}.nm-j-btn.nm-j-primary:hover{background:var(--nm-teal-soft)}      /* filled = affiliate link only; a strong outline marks the main action honestly */
.nm-j-item.arrive .nm-j-acts .nm-j-btn,.nm-j-pcard .nm-j-btn{font-size:14px;padding:10px 16px;border-radius:14px}
/* flexible dates: the note above the live widget and the month-wide Kiwi link */
.nm-j-flexnote{margin:0 0 6px;color:var(--nm-ink)}
/* the compact Kiwi search form on hops: narrower than the results widget, no extra air around it */
.nm-j-form{max-width:720px}
.nm-j-form tp-cascoon{display:block}
.nm-j-multi-wrap{margin-top:12px;padding-top:10px;border-top:1px dashed var(--nm-line)}
.nm-j-multinote{margin:0 0 6px;color:var(--nm-ink)}

/* the journey carries every stop's pictures already: the old gallery at the bottom would show them a third time */
#planContent.nm-j-on > #gallery{display:none}
/* tap targets and legibility (mobile audit 16.10): chips and links at least 32 px tall, credit line readable */
.nm-j-chipbtn,.nm-j-link{min-height:32px}
.nm-credit{font-size:12px;line-height:1.7}.nm-credit a{display:inline-block;padding:3px 0}

/* Ask then Go's own line icons (nm-icons.js) */
.nm-ic{display:inline-block;vertical-align:-0.15em;width:1em;height:1em;flex:none}
.nm-j-ico .nm-ic{width:20px;height:20px}
.nm-j-sep .nm-ic{width:15px;height:15px}
.nm-j-pcard-ico .nm-ic{width:18px;height:18px;color:var(--nm-ink)}
.nm-j-chipbtn .nm-ic{width:14px;height:14px;margin-right:2px}
.nm-th-i .nm-ic{width:15px;height:15px}
.nm-fa-ico .nm-ic,.nm-fl-ico .nm-ic{width:18px;height:18px}
.travel-icon .nm-ic{width:22px;height:22px}
.nm-leg .nm-ic,.nm-leglabel .nm-ic{width:14px;height:14px}
.nm-cc h4 .nm-ic{width:16px;height:16px;margin-right:4px}
.nm-d-cont{margin:12px 4px 0;color:var(--nm-muted);font-size:14px;display:flex;align-items:center;gap:8px}.nm-d-cont .nm-ic{color:var(--nm-teal-d);flex:none}

/* ---- audit 18.10, second round: the live flights widget folds to its top (search, filters, first results); "See all flights" opens it ---- */
.nm-j-widget.is-foldable:not(.is-unfolded){max-height:620px;overflow:hidden;position:relative}      /* the search, the filters and the first result whole (checked live on the Kiwi widget, 18.10) */
.nm-j-widget.is-foldable:not(.is-unfolded)::after{content:'';position:absolute;left:0;right:0;bottom:0;height:72px;background:linear-gradient(rgba(255,255,255,0),#fff 85%);pointer-events:none}
.nm-j-more{display:flex;align-items:center;justify-content:center;width:100%;margin:6px 0 2px;min-height:40px;border:1.5px solid var(--nm-line);border-radius:12px;background:#fff;color:var(--nm-teal-d);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.nm-j-more:hover{background:var(--nm-teal-soft)}
.nm-j-more:focus-visible{outline:2px solid var(--nm-teal);outline-offset:2px}
.nm-j-more[hidden]{display:none}
/* a day with no picture of its own (Octavian, 18.10: never the same picture twice): a quiet tile with the town's name instead of an empty frame; on a phone nothing */
.nm-d-photo.no-photo{display:grid;place-items:center;background:linear-gradient(135deg,#eef6f5,#f7efe2)}
.nm-d-photo.no-photo .nm-d-phico{display:none}
.nm-d-photo.no-photo::after{content:attr(data-place);padding:0 12px;text-align:center;font:600 16px/1.2 Georgia,serif;color:var(--nm-teal-d);opacity:.75}
@media (max-width:720px){ .nm-d-photo.no-photo{display:none} }
/* the flight day before day 1, when the long flight lands the next day (19.10): no stay, no programme, just the way there */
.nm-d.nm-d-flightday{background:linear-gradient(135deg,#f3f8f8,#fbf7f0);border-style:dashed;box-shadow:none}
.nm-d.nm-d-flightday .nm-d-head{grid-template-columns:60px minmax(0,1fr);cursor:default}
.nm-d.nm-d-flightday .nm-d-head:hover{background:none}
.nm-d-date.nm-d-date-fly{background:#fff;border:1.5px solid #b7dcd9}
.nm-d-date.nm-d-date-fly .nm-ic{width:22px;height:22px;color:var(--nm-teal-d)}
.nm-d.nm-d-flightday .nm-d-title{font-size:17px}
@media(max-width:720px){ .nm-d.nm-d-flightday .nm-d-head{grid-template-columns:52px minmax(0,1fr)} }

/* the price of the flight chosen in Kiwi (audit 21.10): typed by the person, used by the budget */
.nm-fc-chosen{margin:12px 0 2px;padding:12px 14px;border:1px dashed #cdbfa9;border-radius:14px;background:#fffdf8;font-size:13.5px;color:var(--nm-ink,#16323a)}
.nm-fc-chosen-txt{margin-right:8px}
.nm-fc-chosen.is-folded{padding:6px 12px;border-style:dashed}
.nm-fc-chosen-open{text-align:left;white-space:normal}
.nm-fc-chosen-lab{display:grid;gap:8px}
.nm-fc-chosen-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.nm-fc-chosen input{width:120px;min-height:42px;border:1px solid #d9d0c1;border-radius:10px;padding:6px 10px;font:inherit;font-size:15px}
.nm-fc-cur{font-weight:700;color:var(--nm-muted,#5b6870)}
.nm-fc-chosen-go{min-height:42px;padding:8px 16px;border:0;border-radius:999px;background:var(--nm-teal,#1d7a82);color:#fff;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.nm-fc-chosen-go:focus-visible,.nm-fc-chosen input:focus-visible{outline:2px solid var(--nm-teal,#1d7a82);outline-offset:2px}

/* the last date is the day the flight home leaves (audit 21.10) */
.nm-th-retnote{margin:8px 0 0;font-size:12.5px;line-height:1.45;color:var(--nm-muted,#5b6870)}
.nm-th-retnote[hidden]{display:none}
/* a seasonal part of a day the planner could not confirm (audit 21.10: the Koman ferry in November) */
.nm-d-check{margin:6px 0 0;padding:6px 10px;border-radius:10px;background:#fff4e5;color:#7a4a0c;font-size:12.5px;line-height:1.4}
.nm-d-check svg{vertical-align:-.15em}
.nm-d-check.nm-d-travelday{background:#e8f1fb;color:#1f4d7a}
.nm-d.is-travelday .nm-d-date b{color:#1f4d7a}
/* 26.10: the places of the day as tiles under the stay (picture, name, one line, "more photos" and "map"); light, like the day box */
.nm-d-pcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:12px 0 4px}
.nm-d-pcard{background:#fff;border:1px solid var(--nm-line,#e7dfd2);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.nm-d-pcart{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#e3f1f0,#f4ede1);display:flex;align-items:center;justify-content:center;color:#9fb3b6;overflow:hidden}
.nm-d-pcart > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nm-d-pcart.has-img .nm-d-phico{display:none}
.nm-d-pcart .nm-d-phico{width:26px;height:26px;opacity:.7}
.nm-d-pcbody{padding:11px 13px 13px;display:flex;flex-direction:column;gap:6px;flex:1}
.nm-d-pcbody h4{margin:0;font:600 16px/1.2 Georgia,serif;color:var(--nm-ink,#0e2230)}
.nm-d-pcbody p{margin:0;font-size:13px;line-height:1.4;color:var(--nm-muted,#6f7c83)}
.nm-d-pcbtns{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:4px}
.nm-d-pcbtn{display:inline-flex;align-items:center;font-size:12.5px;font-weight:650;text-decoration:none;padding:6px 10px;border-radius:9px;border:1px solid var(--nm-line,#e2d8c8);color:var(--nm-ink,#0e2230);background:#faf7f1}
.nm-d-pcbtn.primary{background:var(--nm-teal,#1d7a82);border-color:var(--nm-teal,#1d7a82);color:#fff}
.nm-d-pcbtn:hover{border-color:var(--nm-teal,#1d7a82)}
@media (max-width:520px){.nm-d-pcards{grid-template-columns:1fr 1fr;gap:8px}.nm-d-pcbody{padding:9px 10px 11px}.nm-d-pcbody h4{font-size:14.5px}.nm-d-pcbody p{font-size:12.5px}}
