/*
  Niti public site: the sample screens and the client itinerary page.
  Loaded after site.css and before the page's own file, only by the pages that
  show them: the home page, the features pages, the three "Built for" pages, and
  the split auth pages (sign in, create an agency) for the client itinerary page. Pages with
  no sample screens (help, legal, the single auth pages, errors) never load it.

  The screens use Inter at 12px or more and sample data only. A page file only
  places a screen in its own layout (a bleed into a cell corner, a stage padding,
  a smaller photo); the screens themselves live here.
*/

/* Fraunces is the serif of the real client itinerary page. Only the client page samples use it.
   The file is a subset: only the letters and the few marks the samples use. */
@font-face{font-family:"Fraunces";src:url(../fonts/fraunces-subset.woff2) format("woff2");font-weight:400 600;font-style:normal;font-display:swap;unicode-range:U+20,U+27,U+2C,U+2E,U+3A,U+41-5A,U+61-7A,U+2013}

/* ---------- the paper stage and the small screen ---------- */
.stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;padding:32px 20px;border-radius:17px;overflow:hidden;
  background:radial-gradient(56% 60% at 50% 46%, rgba(198,244,50,.12), transparent 72%),var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
.mk{position:relative;width:100%;font-family:var(--font-text);font-size:12px;line-height:1.4;color:var(--ink);text-align:left}
/* tabular figures only on the numbers, so the hyphens in "Day-by-Day" and "4-star" keep their normal width */
.cost__rows dd,.cost__client b,.cost__client p + p,.opt__p,.cli__trips b,.app__in b,.app__done b{font-variant-numeric:tabular-nums}
.mk dl,.mk dd{margin:0}
.panel{background:#fff;border-radius:14px;box-shadow:0 0 0 1px rgba(10,10,10,.07),var(--shadow-md)}
.mk__h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600}
.mk__h span{font-size:12px;font-weight:500;color:var(--ink-3)}

/* ---------- two versions of one trip, as the client sees them. "Duplicate this" made the second from the first. The blue is the agency's colour. ---------- */
.opts{--b:#1F5E8C;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:340px;padding-top:46px}
.opts__dup{position:absolute;z-index:1;top:0;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px 0 10px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2),var(--shadow-sm);font-weight:600;white-space:nowrap}
.opts__dup .ico-line{width:14px;height:14px;stroke-width:1.8}
/* a dashed line from the middle of the first card, up past the button, down to the second card */
.opts__arc{position:absolute;top:14px;left:calc(25% - 3px);right:calc(25% - 3px);height:25px;border:1.5px dashed var(--line-dash);border-bottom:0;border-radius:12px 12px 0 0}
.opts__arc::before{content:"";position:absolute;left:-4.25px;bottom:-2px;width:5px;height:5px;border-radius:50%;background:var(--ink-3)}
.opts__arc::after{content:"";position:absolute;right:-4.6px;bottom:1px;width:6px;height:6px;border:solid var(--ink-3);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.opt{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(10,10,10,.07),var(--shadow-md)}
.opt.is-pick{box-shadow:0 0 0 2px var(--b),var(--shadow-md)}
.opt__ph{position:relative;height:96px;background:#EFEFEA}
.opt__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.opt__tag{position:absolute;top:8px;left:8px;padding:2px 8px;border-radius:999px;background:var(--b);color:#fff;font-weight:600;line-height:16px;white-space:nowrap}
.opt__b{display:flex;flex-direction:column;padding:10px 12px 12px}
.opt__t{font-family:var(--font-display);font-size:14px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.opt__m{color:var(--ink-3);white-space:nowrap}
.opt__p{margin-top:8px;font-family:var(--font-display);font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1.2;color:var(--b);white-space:nowrap}
.opt__btn{margin-top:10px;display:grid;place-items:center;height:30px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line-2);font-weight:600;white-space:nowrap}

/* ---------- the costing: supplier costs, markup and tax add up to the total, and the client's price ---------- */
.cost{max-width:340px;padding:14px 16px 12px}
.cost__rows{padding-top:4px}
.cost__rows div{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
.cost__rows dt{color:var(--ink-2)}
.cost__rows dd{white-space:nowrap}
.cost__rows .is-sub{margin-top:4px;padding-top:8px;border-top:1px solid var(--line)}
.cost__rows .is-tot{margin-top:4px;padding-top:8px;border-top:1px solid var(--line-2);font-weight:600}
.cost__rows .is-tot dt{color:var(--ink)}
.cost__client{margin-top:8px;padding:9px 12px 10px;border-radius:10px;background:var(--lime-wash);box-shadow:inset 0 0 0 1px rgba(77,94,0,.14)}
.cost__client p:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-weight:600;color:var(--lime-ink)}
.cost__client b{font-family:var(--font-display);font-size:18px;font-weight:600;letter-spacing:-.02em;color:var(--ink);white-space:nowrap}
.cost__client p + p{margin-top:1px;color:var(--ink-2)}

/* ---------- one client record, and the latest inquiry on it ---------- */
.cli{max-width:340px;padding:14px 16px}
.cli__top{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.cli__top .ini{width:36px;height:36px;font-size:13px}
.cli__n{font-family:var(--font-display);font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1.25}
.cli__s{color:var(--ink-3)}
.cli__trips{margin-left:auto;align-self:flex-start;color:var(--ink-3);white-space:nowrap}
.cli__trips b{color:var(--ink);font-weight:600}
.cli__rows{padding-top:6px}
.cli__rows div{display:grid;grid-template-columns:82px minmax(0,1fr);column-gap:10px;padding:4px 0}
.cli__rows dt{color:var(--ink-3)}
.cli__rows dd{min-width:0;overflow-wrap:anywhere}
.cli__rows .pill{margin:0;height:20px;padding:0 8px;vertical-align:top}
.cli__more{margin-left:5px;color:var(--ink-3);white-space:nowrap}
.cli__inq{margin-top:8px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
.cli__inq > span:first-child{display:flex;flex-direction:column;min-width:0}
.cli__inq b{font-weight:600}
.cli__inq small{font-size:12px;color:var(--ink-3)}

/* ---------- the itinerary builder: a calm copy of the screen ---------- */
.app{max-width:660px;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(10,10,10,.08),var(--shadow-lg)}
.app__bar{display:flex;align-items:center;gap:12px;height:40px;padding:0 14px;border-bottom:1px solid var(--line);background:#FCFCFA}
.app__dots{display:flex;gap:6px}
.app__dots i{width:9px;height:9px;border-radius:50%;background:#E4E4DF}
.app__bar p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}
.app__bar .pill{margin-left:auto}
.app__body{display:grid;grid-template-columns:188px minmax(0,1fr)}
.app__side{padding:10px 8px 12px;border-right:1px solid var(--line)}
.app__rail li{display:flex;align-items:center;justify-content:space-between;gap:8px;height:27px;padding:0 10px;border-radius:7px;font-weight:500;color:var(--ink-3);white-space:nowrap}
.app__rail li.is-on{background:rgba(198,244,50,.34);color:var(--ink);font-weight:600}
.app__rail .sep{height:1px;margin:4px 10px;padding:0;background:var(--line)}
.app__rail i{flex:none;width:6px;height:6px;border-radius:50%;background:#EAB308}
.app__done{margin:8px 10px 0;padding-top:10px;border-top:1px solid var(--line);color:var(--ink-3)}
.app__done p{display:flex;justify-content:space-between}
.app__done span{display:block;height:4px;margin-top:6px;border-radius:999px;background:rgba(198,244,50,.3)}
/* --done: the share of the steps that are done (60% unless the screen says otherwise) */
.app__done span::before{content:"";display:block;width:var(--done, 60%);height:100%;border-radius:inherit;background:var(--lime-ink)}
.app__main{display:flex;flex-direction:column;min-width:0;padding:16px;background:#FCFCFA}
.app__card{padding:14px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.app__h{font-size:14px;font-weight:600}
.app__d{color:var(--ink-3)}
.app__l{margin-top:14px;font-weight:600;color:var(--ink-2)}
.app__in{margin-top:5px;display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;overflow:hidden;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 1px var(--line-2);white-space:nowrap}
.app__in .ico-line{width:14px;height:14px;color:var(--ink-3);stroke-width:1.8}
.app__in small{font-size:12px;color:var(--ink-3)}
.app__in b{margin-left:auto;font-weight:600}
.app__add{margin-top:14px;display:inline-flex;align-items:center;align-self:flex-start;height:30px;padding:0 10px;border-radius:7px;box-shadow:inset 0 0 0 1px var(--line-2);font-weight:600}
.app__foot{margin-top:auto;padding-top:16px;display:flex;gap:8px}
.app__btn{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px var(--line-2);font-weight:600;white-space:nowrap}
.app__btn.is-pri{background:var(--ink);color:#fff;box-shadow:none}
.app__btn .ico-line{width:14px;height:14px;margin-right:6px;stroke-width:1.8}

/* ---------- the payment schedule: a deposit and a balance ---------- */
/* its own white box sits in the bottom-right corner of a cell. :where() keeps the box at zero
   specificity, so a schedule on a .panel takes the panel's box instead. */
:where(.pay){border-radius:16px 0 0 0;background:var(--surface);box-shadow:0 0 0 1px rgba(77,94,0,.12),var(--shadow-md)}
.pay{padding:18px 18px 14px}
.pay__head{font-size:.8125rem;font-weight:600;color:var(--ink)}
.pay__row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:4px;padding:12px 0;border-bottom:1px solid var(--line)}
.pay__row:first-of-type{margin-top:6px}
/* the circle and the words take both lines of the row, so the circle sits level with the title and its small line */
.pay__row :is(.pay__ic,.pay__t){grid-row:span 2}
.pay__ic{display:grid;place-items:center;width:22px;height:22px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line-dash);color:var(--surface)}
.pay__ic.is-ok{background:var(--lime-ink);box-shadow:none}
.pay__ic .ico-line{width:13px;height:13px;stroke-width:2.8}
.pay__t b{display:block;font-size:.84375rem;font-weight:600;line-height:1.3}
.pay__t small{display:block;font-size:.75rem;color:var(--ink-3);line-height:1.35}
.pay__amt{font-size:.84375rem;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.pay__pill{grid-column:3;justify-self:end;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:.75rem;font-weight:600;white-space:nowrap;background:var(--paper);color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line-2)}
.pay__pill.is-ok{background:var(--lime-wash);color:var(--lime-ink);box-shadow:inset 0 0 0 1px rgba(77,94,0,.2)}
.pay__foot{padding-top:10px;font-size:.75rem;color:var(--ink-3)}

/* ---------- a fragment of a screen in the bottom-right corner of a cell: a list, or a mapping ---------- */
.frag{position:relative;margin:auto -24px -24px 0;padding:14px 18px 6px 16px;border-radius:16px 0 0 0;background:var(--paper);border:1px solid var(--line);border-width:1px 0 0 1px}
.frag__head{font-size:.8125rem;font-weight:600;color:var(--ink);line-height:1.4}
.frag__list{margin-top:6px}
.frag__list li{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 0;font-size:.8125rem;line-height:1.35;color:var(--ink)}
.frag__list li + li{border-top:1px solid var(--line)}
.frag__t{display:flex;flex-direction:column;min-width:0}
.frag__t b{font-weight:600}
.frag__t small{font-size:.75rem;color:var(--ink-3);line-height:1.35}
.frag__list .map{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 16px;align-items:center;column-gap:10px;width:100%}
.map span{min-width:0}
.map span:first-child{color:var(--ink-3)}
.map .ico-line{width:14px;height:14px;color:var(--ink-3)}
.map .ok{width:16px;height:16px;color:var(--lime-ink);stroke-width:2.6}

/* ---------- the itinerary checks, in the bottom-right corner of a cell ---------- */
.checks{margin:auto -40px -24px 0;padding:8px 16px;border-radius:16px 0 0 0;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
.checks li{display:flex;align-items:baseline;gap:10px;padding:9px 0;font-size:.8125rem;line-height:1.4;color:var(--ink)}
.checks li + li{border-top:1px solid var(--line)}
.checks i{width:7px;height:7px;border-radius:9px;background:#B45309;flex:none;transform:translateY(-1px)}

/* ---------- the pipeline board, on ink: six columns, one card each ---------- */
.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.board__col{min-width:0}
.board__h{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:0 2px 8px;border-bottom:1px solid var(--line-dark-2);font-size:.75rem;line-height:1.3;color:var(--on-ink-2)}
.board__h b{color:var(--on-ink);font-weight:600;font-variant-numeric:tabular-nums}
.board__card{margin-top:8px;padding:10px 10px 12px;border-radius:12px;background:var(--ink-row);box-shadow:inset 0 0 0 1px var(--line-dark);font-size:.8125rem;line-height:1.35;color:var(--on-ink)}
.board__card span{display:block;color:var(--on-ink-2)}
.board__card i{display:grid;place-items:center;width:24px;height:24px;margin-top:10px;border-radius:999px;background:#33332F;color:var(--on-ink);font-style:normal;font-size:12px;font-weight:600;letter-spacing:-.02em}

/* ---------- responsive ---------- */
@media (min-width:960px) and (max-width:1199.98px){
  .app__body{grid-template-columns:172px minmax(0,1fr)}
}
@media (max-width:759.98px){
  .opts{gap:10px}
  .opt__b{padding:9px 10px 10px}

  .app__dots,.app__in .ico-line,.app__in b{display:none}
  .app__body{grid-template-columns:minmax(0,1fr)}
  /* the first six steps wrap onto two or three rows, so both yellow dots show; the completion bar sits under them */
  .app__side{padding:8px 8px 10px;border-right:0;border-bottom:1px solid var(--line)}
  .app__rail{display:flex;flex-wrap:wrap;gap:4px}
  .app__rail li{flex:none;padding:0 9px}
  .app__rail .sep,.app__rail li:nth-child(n+9){display:none}
  .app__done{display:flex;align-items:center;gap:10px;margin:8px 9px 0;padding-top:0;border-top:0}
  .app__done p{flex:none;gap:4px}
  .app__done span{flex:1;margin-top:0}
  .app__main{padding:12px}
  .app__card{padding:12px}
  .app__foot{padding-top:12px;flex-wrap:wrap}
  .app__btn{padding:0 12px}

  .frag{margin:20px -22px -22px 0}
  .checks{margin:18px -22px -22px 24px}

  /* the pipeline on a phone: each column's name and count */
  .board{display:block}
  .board__col{display:flex;justify-content:space-between;align-items:center;min-height:40px;border-bottom:1px solid var(--line-dark)}
  .board__col:last-child{border-bottom:0}
  .board__h{display:contents;font-size:.875rem}
  .board__card{display:none}
}
@media (max-width:399.98px){
  .pay{padding-inline:14px}
  .pay__t b{white-space:nowrap}
}

/* ---------- the client page: a miniature of what Niti sends. The values follow the real page, scaled down. Light only, like the real page. ---------- */
.cp{--b:#1F5E8C;--b-soft:rgba(31,94,140,.1);--b-line:rgba(31,94,140,.2);
  --c-ink:#15171C;--c-soft:#545862;--c-faint:#8A8E97;--c-paper:#FAFAF7;--c-line:#ECECE6;
  --fp:14px;--hh:280px;--z:14px;
  position:relative;width:100%;max-width:var(--pw);margin-inline:auto;color:var(--c-ink);font-family:var(--font-text);line-height:1.5;text-align:left;font-optical-sizing:auto}
.cp p{margin:0}
.cp svg{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cp-serif{font-family:var(--font-serif);letter-spacing:-.01em}
/* two torn pieces of one page: the top of the page, then one day. The shadow sits on the wrapper, so it follows the torn edges. */
.cp__part{filter:drop-shadow(0 0 .6px rgba(10,10,10,.34)) drop-shadow(0 18px 30px rgba(10,10,10,.11))}
.cp__sheet{position:relative;background:var(--c-paper);padding:var(--fp) var(--fp) 0}
.cp__part--top .cp__sheet{border-radius:22px 22px 0 0;
  -webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% / var(--z) 100%;
          mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% / var(--z) 100%}
.cp__part--day .cp__sheet{padding:0 var(--fp);
  -webkit-mask:conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) 50% / var(--z) 100%,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% / var(--z) 100%;
  -webkit-mask-composite:source-in;
          mask:conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) 50% / var(--z) 100%,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% / var(--z) 100%;
          mask-composite:intersect}
.cp__skip{display:flex;align-items:center;justify-content:center;height:46px}
.cp__skip span{display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 11px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);font-size:.75rem;font-weight:600;color:var(--ink-3);white-space:nowrap}
.cp__skip span::before,.cp__skip span::after{content:"";width:12px;border-top:1.5px dotted var(--line-dash)}
/* one whole page that runs on: no torn edges, one shadow round the page, the welcome card closed and the day card under it */
.cp--whole{filter:drop-shadow(0 0 .6px rgba(10,10,10,.34)) drop-shadow(0 18px 30px rgba(10,10,10,.11))}
.cp--whole .cp__part{filter:none}
.cp--whole .cp__part--top .cp__sheet,.cp--whole .cp__part--day .cp__sheet{-webkit-mask:none;mask:none}
.cp--whole .cp-welcome{padding-bottom:20px;border-bottom:1px solid var(--c-line);border-radius:16px}
.cp--whole .cp__part--day .cp__sheet{padding-top:12px}
.cp--whole .cp-tl{border-top:1px solid var(--c-line);border-radius:16px 16px 0 0}
.cp--whole .cp-tl::before{top:34px}

/* the cover: up to three of the agency's photos, blended along tilted seams */
.cp-hero{position:relative;height:var(--hh);border-radius:18px;color:#fff}
.cp-cover{position:absolute;inset:0;overflow:hidden;border-radius:inherit;background:linear-gradient(135deg,#E5E7EB,#D1D5DB);isolation:isolate}
.cp-cover::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 62%,rgba(0,0,0,.2) 100%),linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,0) 34%)}
.cp-cover > span{position:absolute;inset:0}
.cp-cover img{position:absolute;top:0;height:100%;width:53.333%;max-width:none;object-fit:cover}
.cp-cover > :nth-child(1){z-index:3;-webkit-mask-image:linear-gradient(96deg,#000 0,#000 28.33%,#0000 38.33%);mask-image:linear-gradient(96deg,#000 0,#000 28.33%,#0000 38.33%)}
.cp-cover > :nth-child(1) img{left:-10%}
.cp-cover > :nth-child(2){z-index:2;-webkit-mask-image:linear-gradient(96deg,#000 0,#000 61.67%,#0000 71.67%);mask-image:linear-gradient(96deg,#000 0,#000 61.67%,#0000 71.67%)}
.cp-cover > :nth-child(2) img{left:23.333%}
.cp-cover > :nth-child(3){z-index:1}
.cp-cover > :nth-child(3) img{left:56.667%}
/* two photos: one seam in the middle */
.cp-cover--2 > :nth-child(1){-webkit-mask-image:linear-gradient(96deg,#000 0,#000 44%,#0000 56%);mask-image:linear-gradient(96deg,#000 0,#000 44%,#0000 56%)}
.cp-cover--2 > :nth-child(1) img{left:-5%;width:60%}
.cp-cover--2 > :nth-child(2){z-index:1;-webkit-mask-image:none;mask-image:none}
.cp-cover--2 > :nth-child(2) img{left:40%;width:60%}
.cp-hero__bar{position:absolute;z-index:5;top:0;left:0;right:0;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px}
.cp-hero__txt{position:absolute;z-index:5;left:0;right:0;bottom:0;padding:22px 24px;border-radius:0 0 18px 18px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.34) 14%,rgba(0,0,0,.6) 45%,rgba(0,0,0,.76) 75%,rgba(0,0,0,.84) 100%)}
.cp-pill{position:relative;display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.28);color:#fff;font-size:10.5px;font-weight:500;line-height:16px;white-space:nowrap}
.cp-pill svg{width:10px;height:10px}
.cp-pill--agency{font-size:12px;font-weight:600}
.cp-eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:10px;font-size:9.5px;font-weight:600;line-height:1.3;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.85)}
.cp-eyebrow::before{content:"";flex:none;width:14px;height:1.5px;border-radius:999px;background:rgba(255,255,255,.85)}
.cp-title{max-width:13em;font-size:34px;font-weight:600;line-height:1.05;text-wrap:balance;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.cp-sub{margin-top:9px;font-size:14px;line-height:1.375;color:rgba(255,255,255,.9);text-shadow:0 1px 6px rgba(0,0,0,.4)}
.cp-pills{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px}

/* white cards on the paper */
.cp-card{position:relative;background:#fff;border:1px solid var(--c-line);border-radius:16px}
.cp-stamp{display:inline-flex;align-items:center;gap:6px;font-size:9.5px;font-weight:600;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--b)}
.cp-stamp::before{content:"";width:14px;height:1.5px;border-radius:999px;background:var(--b)}
/* the welcome card is torn off after its first sentence. The bottom padding is a 16px band plus the depth of the torn edge. */
.cp-welcome{margin-top:12px;padding:22px 24px calc(16px + var(--z) / 2);border-bottom:0;border-radius:16px 16px 0 0}
.cp-greet{margin-top:8px;font-size:22px;font-weight:600;line-height:1.15}
.cp-intro{margin-top:10px;max-width:82%;font-size:13px;line-height:1.625;color:var(--c-soft)}

/* one day of the timeline: the dashed rail runs on from the days above */
.cp-tl{padding:28px 24px 36px;border-block:0;border-radius:0}
.cp-tl::before{content:"";position:absolute;top:0;bottom:0;left:23px;border-left:2px dashed var(--b-line)}
.cp-day{position:relative;padding-left:28px}
.cp-dot{position:absolute;left:-6px;top:1px;z-index:2;width:12px;height:12px;border-radius:999px;background:var(--b);box-shadow:0 0 0 3.5px var(--c-paper),0 0 0 4.5px var(--b-line)}
.cp-day__head{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-bottom:6px}
.cp-date{font-size:10.5px;line-height:14px;color:var(--c-faint)}
.cp-day__title{font-size:21px;font-weight:600;line-height:1.25}
.cp-prose{position:relative;margin-top:10px;max-width:82%;font-size:13.5px;line-height:1.625;color:var(--c-soft)}
.cp-stay{position:relative;margin-top:16px}
.cp-stay__in{display:grid;grid-template-columns:3fr 2fr;border-radius:12px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px var(--b-line),0 1px 3px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}
.cp-stay__media{position:relative;background:#EFEFEA}
.cp-stay__media img{display:block;width:100%;height:100%;aspect-ratio:16 / 9;object-fit:cover}
.cp-badge{position:absolute;top:9px;left:9px;padding:3px 8px;border-radius:999px;background:var(--b);color:#fff;font-size:8.5px;font-weight:600;line-height:12px;letter-spacing:.025em;text-transform:uppercase;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.cp-stay__txt{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:14px 16px}
.cp-eye{font-size:8.5px;font-weight:600;line-height:1.3;letter-spacing:.16em;text-transform:uppercase;color:var(--c-faint)}
.cp-stay__name{margin-top:4px;font-size:17px;font-weight:600;line-height:1.25}
.cp-det{margin-top:10px;display:flex;flex-direction:column;gap:8px;font-size:11px;line-height:15px;color:var(--c-soft)}
.cp-row{display:flex;align-items:flex-start;gap:6px}
.cp-row svg{width:11px;height:11px;margin-top:2px}
.cp-row b{font-weight:500;color:var(--c-ink)}
.cp-row .f{color:var(--c-faint)}
.cp-chips{margin-top:5px;display:flex;flex-wrap:wrap;gap:3px}
.cp-chips span{padding:3px 5px;border-radius:4px;background:#F4F4F2;color:var(--c-faint);font-size:8.5px;line-height:1;white-space:nowrap}
.cp-tiles{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cp-tile{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:12px;border:1px solid var(--c-line);background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}
.cp-tile__cover{position:relative;height:118px;background:#EFEFEA}
.cp-tile__cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cp-tile__cover::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.7),rgba(0,0,0,.2),transparent)}
.cp-tile__cap{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:10px 12px}
.cp-tile__name{color:#fff;font-size:13px;font-weight:600;line-height:17px}
.cp-tile__loc{margin-top:2px;display:flex;align-items:center;gap:3px;color:rgba(255,255,255,.85);font-size:9.5px;line-height:12px}
.cp-tile__loc svg{width:9px;height:9px}
.cp-tile__body{padding:10px 12px 12px;font-size:11px;line-height:1.6;color:var(--c-soft)}
.cp-tile__body span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.cp-leg{margin-top:10px;display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid var(--c-line);border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)}
.cp-leg__ic{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:var(--b-soft);color:var(--b)}
.cp-leg__ic svg{width:15px;height:15px;stroke-width:1.75}
.cp-leg__lbl{font-size:8px;font-weight:600;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--c-faint)}
.cp-leg__mode{margin-top:1px;font-size:12.5px;font-weight:600;line-height:1.375}
.cp-leg__meta{margin-top:2px;font-size:9.5px;line-height:1.3;color:var(--c-faint)}
.cp-leg__lang{margin-top:5px;display:flex;align-items:center;gap:4px;font-size:10px;line-height:1.3;color:var(--c-soft)}
.cp-leg__lang svg{width:10px;height:10px}
