/* =====================================================================
   UNWIND ANDAMAN — single site-wide stylesheet
   Orange (logo) + ocean blue. Mobile-first, app-style.
   Sections: 1 tokens · 2 base · 3 app shell · 4 buttons · 5 forms
             6 login · 7 dashboard · 8 cards · 9 package form / day edit
             10 itinerary builder · 11 viewer · 12 PDF pages · 13 print
   ===================================================================== */

/* 1 · TOKENS ---------------------------------------------------------- */
:root{
  --or:#f47a1f; --or2:#ff9d45; --or-d:#d65f09;
  --navy:#06293d; --navy2:#0a4660; --ocean:#0b6a8c; --lagoon:#14a8b8;
  --foam:#e6f5f8; --sand:#fbf5ea; --bg:#eef5f7; --card:#fff;
  --ink:#12303f; --mute:#62808d; --line:#dbe8ec;
  --ok:#12805c; --err:#c8372d;
  --ff:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --fd:'Playfair Display',Georgia,'Times New Roman',serif;
  --r:20px; --sh:0 12px 30px -16px rgba(6,41,61,.45);
  --top:env(safe-area-inset-top,0px); --bot:env(safe-area-inset-bottom,0px);
  --wave:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'><path d='M0 6 Q12 0 25 5 T50 5 T75 5 T100 4 V10 H0Z' fill='%23fbf5ea'/></svg>");
}

/* 2 · BASE ------------------------------------------------------------ */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font:400 15px/1.5 var(--ff);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}
h1,h2,h3{margin:0;color:var(--navy)}
h1{font:700 1.7rem/1.15 var(--fd)}
h2{font:600 1.02rem/1.3 var(--ff);margin:0 0 10px}
h3{font:600 1.05rem/1.3 var(--ff)}
a{color:var(--ocean)}
.muted{color:var(--mute)}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--or2);outline-offset:2px}
.ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.eyebrow{display:inline-block;font:600 .7rem var(--ff);letter-spacing:.18em;text-transform:uppercase;color:var(--or2)}

/* 3 · APP SHELL ------------------------------------------------------- */
.appbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:calc(10px + var(--top)) 16px 10px;background:linear-gradient(120deg,var(--navy),var(--navy2));color:#fff;box-shadow:0 10px 24px -14px rgba(0,0,0,.7)}
.appbar .ttl{flex:1;text-align:center;font-weight:600;font-size:.95rem;white-space:nowrap}
@media(max-width:480px){.appbar .ttl{display:none}}
.brand{display:flex;align-items:center;text-decoration:none;color:#fff}
.lg{height:36px;width:auto;display:block}
.wm{font:800 1rem/1 var(--ff);letter-spacing:.16em;color:#fff}
.wm em{font-style:normal;color:var(--or);margin-left:.35em}
.topnav{display:none;align-items:center;gap:4px}
.topnav a{display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;color:#d6edf3;text-decoration:none;font-weight:500;font-size:.9rem}
.topnav a:hover,.topnav a.on{background:rgba(255,255,255,.12);color:#fff}
.appbar .out{display:none}
.appbar .pt{font-weight:600;font-size:.95rem;color:#dff1f6}
main{max-width:1000px;margin:0 auto;padding:18px 16px 40px}
.has-tabs main{padding-bottom:calc(104px + var(--bot))}
.flash{display:flex;gap:10px;align-items:center;background:#e4f6ee;border:1px solid #b6e3cf;color:var(--ok);padding:12px 14px;border-radius:14px;margin-bottom:16px;font-weight:500}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;
  padding:8px 6px calc(8px + var(--bot));background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line)}
.tab{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0;font-size:.68rem;font-weight:600;color:var(--mute);text-decoration:none}
.tab .ico{width:24px;height:24px}
.tab.on{color:var(--or-d)}
.tab.fab{color:var(--or-d)}
.tab.fab .fb{display:grid;place-items:center;width:56px;height:56px;margin-top:-30px;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--or2),var(--or));box-shadow:0 12px 22px -8px rgba(244,122,31,.9),0 0 0 5px #fff}
.tab.fab .ico{width:26px;height:26px}
@media(min-width:900px){
  .tabbar{display:none}
  .topnav{display:flex}
  .appbar{padding-left:max(24px,calc((100vw - 1000px)/2));padding-right:max(24px,calc((100vw - 1000px)/2))}
  .appbar .out{display:grid}
  .has-tabs main{padding-bottom:50px}
  main{padding-top:28px}
}

/* 4 · BUTTONS --------------------------------------------------------- */
.btn,button.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:12px 20px;
  font:600 .95rem var(--ff);color:#fff;background:linear-gradient(135deg,var(--or2),var(--or));box-shadow:0 10px 20px -10px rgba(244,122,31,.95);
  text-decoration:none;cursor:pointer;transition:transform .12s,box-shadow .12s}
.btn:active{transform:scale(.97)}
.btn.alt{background:#fff;color:var(--ocean);box-shadow:inset 0 0 0 1.5px var(--line)}
.btn.danger{background:#fff;color:var(--err);box-shadow:inset 0 0 0 1.5px #f2c6c2}
.btn.sm{padding:8px 14px;font-size:.82rem;border-radius:12px}
.btn.sm:not(.alt):not(.danger){box-shadow:0 8px 16px -10px rgba(244,122,31,.95)}
.btn.block{display:flex;width:100%}
.btn[disabled]{opacity:.45;pointer-events:none}
.ibtn{display:inline-grid;place-items:center;width:42px;height:42px;border:0;border-radius:14px;background:var(--foam);color:var(--ocean);cursor:pointer;text-decoration:none;flex:none}
.ibtn.sm{width:36px;height:36px;border-radius:12px}
.ibtn.or{background:#fff0e1;color:var(--or-d)}
.ibtn.danger{background:#fdeceb;color:var(--err)}
.ibtn.glass{background:rgba(255,255,255,.14);color:#fff}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

/* 5 · FORMS ----------------------------------------------------------- */
label{display:block;margin:14px 0 6px;font-size:.82rem;font-weight:600;color:var(--navy)}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font:400 16px var(--ff);transition:border .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--lagoon);box-shadow:0 0 0 4px rgba(20,168,184,.16)}
select{appearance:none;-webkit-appearance:none;padding-right:38px;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2362808d' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center}
textarea{min-height:110px;resize:vertical}
input[type=file]{width:100%;padding:12px;border:1.5px dashed #b9d3da;border-radius:14px;background:#f6fbfc;font:400 .85rem var(--ff);color:var(--mute)}
input[type=file]::file-selector-button{margin-right:12px;border:0;border-radius:10px;padding:8px 14px;background:var(--navy);color:#fff;font:600 .8rem var(--ff)}
input[type=checkbox]{width:20px;height:20px;accent-color:var(--or);flex:none}
.chk{display:inline-flex;align-items:center;gap:8px;margin:8px 16px 0 0;font-weight:500;color:var(--ink);font-size:.92rem}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0 14px}
.panel{background:var(--card);border-radius:var(--r);padding:18px;box-shadow:var(--sh);margin-bottom:16px}
.err{color:var(--err);font-weight:500;margin:10px 0 0}
.errors{background:#fdeceb;border:1px solid #f4c3bf;color:#8a1f17;padding:12px 14px;border-radius:14px;margin-bottom:16px}
.errors p{margin:2px 0}
.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:36px 20px;background:#fff;border-radius:var(--r);color:var(--mute);box-shadow:var(--sh)}
.empty .ico{width:38px;height:38px;color:var(--lagoon)}

/* 6 · LOGIN ----------------------------------------------------------- */
.login-body{min-height:100vh;min-height:100dvh;background:
  radial-gradient(120% 60% at 50% 0%,rgba(20,168,184,.35),transparent 60%),
  linear-gradient(180deg,#06293d 0%,#0a4660 55%,#0b6a8c 100%);color:#fff;overflow-x:hidden;overflow-y:auto;max-width:100%;touch-action:pan-y;overscroll-behavior-x:none;position:relative}
html:has(.login-body){overflow-x:hidden;max-width:100%}
.login-body:before,.login-body:after{content:"";position:absolute;left:0;right:0;bottom:0;height:34vh;pointer-events:none;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'><path d='M0 40 Q50 10 100 40 T200 40 T300 40 T400 40 V100 H0Z' fill='%23f47a1f' fill-opacity='.16'/></svg>") bottom/100% 100% no-repeat}
.login-body:after{height:24vh;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'><path d='M0 50 Q50 20 100 50 T200 50 T300 50 T400 50 V100 H0Z' fill='%2314a8b8' fill-opacity='.22'/></svg>") bottom/100% 100% no-repeat}
.login-body main{position:relative;z-index:1;min-height:100vh;min-height:100dvh;max-width:none;padding:24px 20px;display:grid;place-items:center}
.login{width:100%;min-width:0;max-width:340px;display:flex;flex-direction:column;align-items:center;text-align:center}
.login .lg{height:84px;max-width:80vw;margin-bottom:26px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
.login .wm{font-size:1.6rem;margin-bottom:26px}
.login h1{color:#fff;font:700 1.6rem/1.2 var(--fd)}
.login .sub{margin:6px 0 26px;color:#b9dbe6;font-size:.9rem}
.login .err{color:#ffc6c0;margin:16px 0 0;font-size:.88rem}
.login .btn{margin-top:26px;width:100%}

/* 7 · DASHBOARD ------------------------------------------------------- */
.hero-card{position:relative;overflow:hidden;border-radius:26px;padding:24px 22px 26px;color:#fff;background:linear-gradient(135deg,var(--navy) 0%,var(--ocean) 70%,var(--lagoon) 100%);box-shadow:0 20px 40px -20px rgba(6,41,61,.8)}
.hero-card:before{content:"";position:absolute;right:-40px;top:-40px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,var(--or2),var(--or) 60%,transparent 62%);opacity:.9}
.hero-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'><path d='M0 30 Q50 5 100 30 T200 30 T300 30 T400 30 V60 H0Z' fill='%23ffffff' fill-opacity='.12'/></svg>") bottom/100% 100% no-repeat}
.hero-card>*{position:relative;z-index:1}
.hero-card h1{color:#fff;margin:6px 0 4px;font-size:1.9rem}
.hero-card p{margin:0;color:#cfe8ef;font-size:.9rem;max-width:30ch}
.stats{display:flex;gap:10px;margin-top:20px}
.stats div{flex:1;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.stats b{display:block;font:700 1.35rem/1.1 var(--ff)}
.stats span{font-size:.72rem;color:#cfe8ef;letter-spacing:.04em}
.sh{margin:24px 2px 12px;font:600 .95rem var(--ff);color:var(--navy)}
.apps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 8px}
.ai{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;text-decoration:none;color:var(--navy);font-size:.74rem;font-weight:600;line-height:1.25}
.ai span{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;color:#fff;background:linear-gradient(135deg,var(--or2),var(--or));box-shadow:0 12px 22px -10px rgba(244,122,31,.9);transition:transform .15s}
.ai:active span{transform:scale(.93)}
.ai:nth-child(2) span{background:linear-gradient(135deg,var(--lagoon),var(--ocean));box-shadow:0 12px 22px -10px rgba(11,106,140,.9)}
.ai:nth-child(3) span{background:linear-gradient(135deg,var(--ocean),var(--navy));box-shadow:0 12px 22px -10px rgba(6,41,61,.9)}
.ai:nth-child(4) span{background:linear-gradient(135deg,#ffb36b,#e8590c);box-shadow:0 12px 22px -10px rgba(232,89,12,.9)}
.ai .ico{width:28px;height:28px}
.list{display:flex;flex-direction:column;gap:10px}
.li{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:18px;background:#fff;color:var(--navy);text-decoration:none;box-shadow:var(--sh)}
.li .lic{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--foam);color:var(--ocean);flex:none}
.li .lt{flex:1;min-width:0}
.li .lt b{display:block;font-weight:600;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li .lt small{color:var(--mute);font-size:.76rem}
.li .go{width:18px;height:18px;color:#b8cfd7}

/* welcome (install) */
.welcome main{display:block;padding:0}
.wl{position:relative;z-index:1;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;text-align:center;padding:calc(54px + var(--top)) 26px calc(34px + var(--bot))}
.wl-top .lg{height:88px;max-width:78vw;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
.wl-top .wm{font-size:1.6rem}
.wl-mid{margin:auto 0;max-width:340px}
.wl h1{margin:12px 0 14px;color:#fff;font:700 2.15rem/1.15 var(--fd)}
.wl .sub{margin:0;color:#b9dbe6;font-size:.92rem}
.wl-bot{width:100%;max-width:340px}
.wl-bot .btn{padding:15px 20px;font-size:1rem}
.hint{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.13);color:#fff;font-size:.85rem;line-height:1.45}
.wl-login{display:block;margin-top:18px;color:#b9dbe6;text-decoration:none;font-size:.9rem}
.wl-login b{color:var(--or2)}

/* 8 · CARDS (packages, saved) ----------------------------------------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}
.card{display:flex;flex-direction:column;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh)}
.card .cv{position:relative;height:178px;background:linear-gradient(135deg,#bfe3ea,#7cc3cf) center/cover;display:grid;place-items:center;color:#fff;font-weight:500;font-size:.85rem}
.card .cv:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,41,61,0) 40%,rgba(6,41,61,.6))}
.card .cv .tags{position:absolute;left:12px;bottom:10px;z-index:1;display:flex;gap:6px;flex-wrap:wrap}
.card .bd{display:flex;flex-direction:column;gap:6px;padding:16px;flex:1}
.card h3{font:700 1.15rem/1.25 var(--fd)}
.card .meta{display:flex;align-items:center;gap:6px;color:var(--mute);font-size:.82rem}
.card .meta .ico{width:16px;height:16px;color:var(--lagoon)}
.card .rate{font:700 1.35rem var(--ff);color:var(--or-d)}
.card .rate small{font:500 .75rem var(--ff);color:var(--mute)}
.card .acts,.acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.card .acts{margin-top:auto;padding-top:10px}
.card .acts form{margin:0;display:contents}
.card .acts .grow{flex:1}
.pill{display:inline-block;padding:3px 11px;border-radius:99px;background:#fff0e1;color:var(--or-d);font-size:.7rem;font-weight:700;letter-spacing:.03em}
.cv .pill{background:rgba(255,255,255,.92);color:var(--navy)}
.pill.pub{background:#dff5ea;color:var(--ok)}
.card.sv .top{height:6px;background:linear-gradient(90deg,var(--or),var(--lagoon))}

/* 9 · PACKAGE FORM · DAY EDIT ----------------------------------------- */
.place{display:grid;grid-template-columns:1fr 92px 44px;gap:8px;margin-bottom:8px;align-items:center}
.thumbs{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}
.thumbs figure{position:relative;margin:0}
.thumbs img{display:block;width:112px;height:82px;object-fit:cover;border-radius:12px}
.thumbs button{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:26px;height:26px;border:0;border-radius:50%;background:rgba(6,41,61,.75);color:#fff;cursor:pointer;padding:0}
.thumbs button .ico{width:14px;height:14px}
.blk{border-left:5px solid var(--or)}
.blk.stay{border-color:var(--lagoon)}
.blk.activity{border-color:var(--ocean)}
.blk h3{text-transform:capitalize}
.hotel{background:#f4fafb;border:1px solid var(--line);border-radius:16px;padding:12px;margin:12px 0}
.daylist a.day{display:flex;gap:14px;align-items:center;background:#fff;padding:14px 16px;border-radius:16px;margin-bottom:10px;text-decoration:none;color:inherit;box-shadow:var(--sh)}
.daylist .n{background:var(--or);color:#fff;font-weight:700;border-radius:99px;padding:6px 14px;white-space:nowrap}

/* 10 · ITINERARY BUILDER ---------------------------------------------- */
.builder{background:var(--bg)}
.steps{display:flex;gap:6px;padding:12px 16px 0;max-width:640px;margin:0 auto}
.steps i{flex:1;height:5px;border-radius:9px;background:#d3e3e8}
.steps i.on{background:linear-gradient(90deg,var(--or2),var(--or))}
.wrap{max-width:640px;margin:0 auto;padding:16px 16px calc(40px + var(--bot))}
.wrap h1{margin-bottom:4px}
.wrap>.intro{margin-bottom:16px}
.wrap>.intro p{margin:4px 0 0}
.box{background:#fff;border-radius:var(--r);padding:16px;margin-bottom:14px;box-shadow:var(--sh)}
.box h2{font-weight:600}
details.box summary{cursor:pointer;font-weight:600;color:var(--navy)}
.irow{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.irow>span{width:54px;flex:none;font-weight:600;font-size:.82rem;color:var(--mute)}
.irow select{flex:1;min-width:0}
.sq{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:14px;background:#fdeceb;color:var(--err);font:500 22px/1 var(--ff);cursor:pointer;padding:0}
.sq.add{background:#e1f6ec;color:var(--ok)}
.msg{min-height:1.2em;margin:4px 0 10px;color:var(--ok);font-size:.85rem}
.stat{padding:12px 14px;border-radius:14px;margin-bottom:12px;font-size:.88rem}
.stat.ok{background:#e1f6ec;color:var(--ok)}
.stat.bad{background:#fff1d6;color:#7a4b00}
.stat button{margin:8px 8px 0 0}
.hrow{border-top:1px solid var(--line);padding:14px 0}
.hrow:first-child{border:0;padding-top:0}
.hrow small{color:var(--mute);margin-left:6px}
.g3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin-top:4px}
.g3 label{font-size:.72rem;margin-top:8px}
.btns{display:flex;gap:10px;flex-wrap:wrap}
.hph{display:flex;gap:10px;align-items:center;margin-top:10px}
.hph img{width:68px;height:48px;object-fit:cover;border-radius:10px}
.wrap .btns .btn,.wrap>.btn{margin-top:4px}

/* modal / toast */
#modal{position:fixed;inset:0;z-index:60;display:none;align-items:flex-end;justify-content:center;background:rgba(6,41,61,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
#modal.on{display:flex}
.dlg{width:100%;max-width:560px;max-height:92vh;overflow:auto;background:#fff;border-radius:26px 26px 0 0;padding:20px 18px calc(20px + var(--bot));animation:up .22s ease}
.dlg h2{font:700 1.25rem var(--fd);margin-bottom:4px}
.dlg .acts{justify-content:flex-end;margin-top:16px}
@keyframes up{from{transform:translateY(30px);opacity:0}}
@media(min-width:700px){#modal{align-items:center;padding:20px}.dlg{border-radius:26px}}
#toast{position:fixed;left:50%;bottom:calc(30px + var(--bot));z-index:80;transform:translateX(-50%);padding:10px 20px;border-radius:99px;background:var(--navy);color:#fff;font-weight:500;font-size:.88rem;opacity:0;pointer-events:none;transition:opacity .2s;white-space:nowrap}
#toast.on{opacity:1}

/* 11 · VIEWER --------------------------------------------------------- */
#viewer{display:none;height:100vh;height:100dvh;flex-direction:column;background:var(--navy)}
#bar{flex:none;display:flex;align-items:center;gap:8px;padding:calc(8px + var(--top)) 12px 8px;color:#fff}
#bar .grow{flex:1;text-align:center;font-weight:600;font-size:.92rem}
#bar .ibtn{background:rgba(255,255,255,.12);color:#fff}
#track{flex:1;min-height:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;background:linear-gradient(180deg,#0a3b54,#06293d)}
#track::-webkit-scrollbar{display:none}
.slot{flex:0 0 100%;scroll-snap-align:center;display:grid;place-items:center;padding:10px;min-height:0}
#dots{flex:none;display:flex;gap:6px;justify-content:center;padding:8px 0 2px;min-height:18px}
#dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.3);transition:all .2s}
#dots i.on{width:18px;border-radius:9px;background:var(--or)}
#dock{flex:none;display:flex;gap:10px;padding:8px 14px calc(12px + var(--bot))}
#dock .btn{flex:1;padding:14px}
.vnav{position:fixed;top:50%;transform:translateY(-50%);z-index:4;width:40px;height:72px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:24px;cursor:pointer;border-radius:0 14px 14px 0}
#next{right:0;border-radius:14px 0 0 14px}
#prev{left:0}
@media(hover:none){.vnav{display:none!important}}
.ro #edit,.ro #sv,.ro #dashb{display:none}

/* 12 · PDF PAGES (A4, everything sized in cqw so it scales) ----------- */
.pg{height:100%;max-height:calc(100dvh - 176px);aspect-ratio:210/297;max-width:100%;position:relative;overflow:hidden;container-type:inline-size;
  background:var(--sand);color:var(--ink);border-radius:6px;box-shadow:0 22px 60px -18px rgba(0,0,0,.7)}
.pg .pi{position:absolute;inset:0;display:flex;flex-direction:column;font:400 2.45cqw/1.45 var(--ff)}
.pg .pi.d2{font-size:2.2cqw}.pg .pi.d3{font-size:2cqw}.pg .pi.d4{font-size:1.82cqw}
.pg svg{display:block}
.pg .ph{position:relative;overflow:hidden;background:#cfe3e8}
.pg .ph>div{width:100%;height:100%;background:center/cover no-repeat}
.pg .ph>svg{width:100%;height:100%}
.pg .script,.pg .ttl2 i,.pg .dh i,.pg .psm i{font-family:'Great Vibes','Brush Script MT','Segoe Script',cursive;font-style:normal;font-weight:400}

/* footer (all inner pages) */
.pg .ft{flex:none;display:flex;justify-content:space-between;align-items:center;gap:3cqw;padding:1.6cqw 5cqw;background:var(--navy);border-top:.7cqw solid var(--or);color:#fff;font:500 1.7cqw/1.4 var(--ff)}
.pg .ft .lg{height:6.6cqw}
.pg .ft .wm{font-size:2.4cqw}
.pg .ft div{display:flex;flex-direction:column;align-items:flex-end;gap:.2cqw}
.pg .ft span{display:flex;align-items:center;gap:1cqw}
.pg .ft svg{width:2.2cqw;height:2.2cqw;color:var(--or2)}

/* script headings */
.pg .ttl2{flex:none;padding:6cqw 5cqw 0}
.pg .ttl2 i{display:block;font-size:9.5cqw;line-height:1;color:var(--navy)}
.pg .ttl2 small{display:block;margin-top:.8cqw;font:600 2cqw var(--ff);letter-spacing:.75cqw;color:var(--or-d);text-transform:uppercase}

/* cover (image on one side, details on the other) */
.pg .cv2{display:block;background:#f6f1e7}
.pg .cvp{position:absolute;top:0;bottom:0;right:0;width:64%;clip-path:polygon(24% 0,100% 0,100% 100%,36% 100%,41% 91%,31% 82%,40% 72%,29% 61%,39% 51%,30% 40%,41% 30%,32% 19%,40% 9%)}
.pg .cvp>.ph{position:absolute;inset:0;background:var(--navy)}
.pg .cvl{position:absolute;z-index:2;left:0;top:0;bottom:0;width:58%;padding:6cqw 0 5cqw 6cqw;display:flex;flex-direction:column;align-items:flex-start}
.pg .cv2.lf .cvp{right:auto;left:0;transform:scaleX(-1)}
.pg .cv2.lf .cvp>.ph>div,.pg .cv2.lf .cvp>.ph>svg{transform:scaleX(-1)}
.pg .cv2.lf .cvl{left:auto;right:0;padding:6cqw 6cqw 5cqw 0}
.pg .cvlogo{padding:2cqw 3.6cqw;border-radius:2.4cqw;background:linear-gradient(120deg,var(--navy),#0a4a66);box-shadow:0 1.4cqw 3cqw -1.2cqw rgba(6,41,61,.6)}
.pg .cvlogo .lg{height:9cqw}
.pg .cvlogo .wm{font-size:3cqw}
.pg .cvl .ey{margin-top:11cqw;font:700 1.85cqw var(--ff);letter-spacing:.7cqw;color:var(--or-d);text-transform:uppercase}
.pg .cvl h1{margin:1.2cqw 0 0;font:800 10cqw/1.05 var(--fd);color:var(--navy);white-space:nowrap}
.pg .cvl h1 b{font-size:1.28em}
.pg .cvl .sb{margin-top:1cqw;font:italic 400 3.5cqw/1.2 var(--fd);color:var(--or-d)}
.pg .cvl .ru{width:8cqw;height:.55cqw;margin:3.4cqw 0;background:var(--or)}
.pg .cvl .lead{margin:0;font:400 3.1cqw/1.35 var(--fd);color:var(--navy);max-width:36cqw}
.pg .cvl .dl2{margin-top:6cqw;font:700 1.7cqw var(--ff);letter-spacing:.6cqw;color:var(--or-d)}
.pg .cvl .dp{margin-top:1.2cqw;font:500 2.3cqw/1.5 var(--fd);color:var(--navy);max-width:36cqw}
.pg .cvl .dur{margin-top:2.4cqw;display:inline-flex;align-items:center;gap:1cqw;padding:1.1cqw 2.6cqw;border-radius:5cqw;background:var(--or);color:#fff;font:600 1.9cqw var(--ff)}
.pg .cvl .dur svg{width:2.4cqw;height:2.4cqw}
.pg .fe{display:flex;width:48cqw;margin-top:auto;padding-top:2.6cqw;border-top:.25cqw solid #d8ccb4}
.pg .fe div{flex:1;display:flex;flex-direction:column;align-items:center;gap:.8cqw;padding:0 1cqw;text-align:center;font:500 1.55cqw/1.25 var(--fd);color:#5d6f77}
.pg .fe div+div{border-left:.25cqw solid #d8ccb4}
.pg .fe svg{width:4.2cqw;height:4.2cqw;color:var(--navy)}
.pg .cb{margin-top:3.4cqw;display:inline-flex;align-items:center;gap:2cqw;padding:1.8cqw 3.6cqw;border-radius:5cqw;background:var(--navy);color:#fff;font:600 1.95cqw var(--ff);letter-spacing:.35cqw}
.pg .cb svg{width:2.6cqw;height:2.6cqw}
.pg .cvl .web{margin-top:2.4cqw;font:500 1.9cqw var(--ff);letter-spacing:.4cqw;color:var(--navy)}

/* day pages */
.pg .dy{flex:1;min-height:0;display:grid;grid-template-columns:1fr 36%}
.pg .dl{min-height:0;display:flex;flex-direction:column;padding:0 4cqw 3cqw 5cqw}
.pg .dh{flex:none;padding-top:6cqw}
.pg .dh i{display:block;font-size:10.5cqw;line-height:1;color:var(--navy)}
.pg .dh small{display:block;margin-top:.8cqw;font:600 2cqw var(--ff);letter-spacing:.7cqw;color:var(--or-d);text-transform:uppercase}
.pg .dls{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:2.2cqw;margin-top:3.4cqw}
.pg .it{padding:1.8cqw 2.2cqw 2cqw;border-radius:1.6cqw;background:rgba(255,255,255,.78);border:.25cqw solid #e8dfcd}
.pg .it .tg{display:inline-block;margin-bottom:1cqw;padding:.5cqw 1.8cqw;border-radius:.6cqw;background:var(--or);color:#fff;font:700 1.5cqw var(--ff);letter-spacing:.35cqw;text-transform:uppercase}
.pg .it p{margin:0;color:#35525f}
.pg .dr{display:flex;flex-direction:column;gap:1.4cqw;min-height:0}
.pg .dr>.ph{flex:1;min-height:0}
.pg .dr>.ph:first-child{flex:1.5}
.pg .d4 .dr>.ph+.ph{display:none}
.pg .nt{flex:none;display:flex;gap:1.8cqw;align-items:flex-start;margin-top:2.4cqw;padding:2cqw 2.4cqw;border-radius:1.8cqw;background:linear-gradient(120deg,var(--or-d),var(--or));color:#fff;font-size:.92em}
.pg .nt svg{flex:none;width:3.8cqw;height:3.8cqw}

/* hotels · inclusions · terms */
.pg .sp{flex:1;min-height:0;display:flex;flex-direction:column;gap:2.6cqw;padding:3cqw 5cqw 3.4cqw;overflow:hidden}
.pg .hc{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:46% 1fr;background:#fff;border-radius:2.6cqw;overflow:hidden;box-shadow:0 1.4cqw 3cqw -1.4cqw rgba(6,41,61,.4)}
.pg .hc.rv{grid-template-columns:1fr 46%}
.pg .hc.rv>.ph{order:2}
.pg .hc>.ph{height:100%}
.pg .hc .pc{position:absolute;z-index:2;top:2cqw;left:2cqw;display:inline-flex;align-items:center;gap:.8cqw;padding:.9cqw 2.2cqw;border-radius:4cqw;background:rgba(6,41,61,.82);color:#fff;font:600 1.8cqw var(--ff)}
.pg .hc.rv .pc{left:auto;right:2cqw}
.pg .pc svg{width:2.2cqw;height:2.2cqw;color:var(--or2)}
.pg .hb{display:flex;flex-direction:column;justify-content:center;gap:1.4cqw;padding:2.6cqw 3.2cqw;min-width:0}
.pg .hb h4{margin:0 0 .6cqw;font:700 3.5cqw/1.15 var(--fd);color:var(--navy)}
.pg .hm{display:flex;align-items:center;gap:1.2cqw;color:#35525f;font-size:2.1cqw}
.pg .hm svg{width:2.8cqw;height:2.8cqw;color:var(--or);flex:none}
.pg .ig{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:2.2cqw}
.pg .ic2{display:flex;gap:2cqw;align-items:center;padding:2.2cqw;border-radius:2cqw;background:#fff;box-shadow:0 .8cqw 2cqw -1cqw rgba(6,41,61,.4);font-size:.92em;line-height:1.35}
.pg .ic{flex:none;display:grid;place-items:center;width:7cqw;height:7cqw;border-radius:2cqw;color:#fff;background:linear-gradient(135deg,var(--lagoon),var(--ocean))}
.pg .ic svg{width:58%;height:58%}
.pg .ex{flex:none;display:flex;gap:2cqw;align-items:flex-start;padding:2.4cqw 3cqw;border-radius:2cqw;background:#fff3f1;border:.3cqw solid #f4cbc6;color:#8a2a21}
.pg .ex svg{flex:none;width:4cqw;height:4cqw;padding:.7cqw;border-radius:50%;background:#f9d3cf}
.pg .ex b{display:block;letter-spacing:.5cqw;font-size:.9em;margin-bottom:.4cqw}
.pg .band{position:relative;flex:1;min-height:0;border-radius:2.6cqw;overflow:hidden}
.pg .band>.ph{position:absolute;inset:0}
.pg .band span{position:absolute;left:0;right:0;bottom:2.4cqw;text-align:center;color:#fff;font:italic 400 3cqw var(--fd);text-shadow:0 .4cqw 1.4cqw rgba(0,0,0,.5)}
.pg .tm{flex:none;display:flex;flex-direction:column;gap:1.6cqw;padding:2.8cqw 3cqw;border-radius:2.2cqw;background:#fff;color:#35525f;font-size:.9em;line-height:1.4}
.pg .tr{display:flex;gap:1.8cqw;align-items:flex-start}
.pg .tr i{flex:none;display:grid;place-items:center;width:3.2cqw;height:3.2cqw;border-radius:50%;background:var(--or);color:#fff;font:700 1.7cqw var(--ff);font-style:normal}
.pg .cta{flex:none;margin-top:auto;display:flex;align-items:center;gap:3cqw;padding:2.8cqw 3.4cqw;border-radius:2.6cqw;background:linear-gradient(120deg,var(--navy),var(--navy2));color:#fff}
.pg .cta .lg{height:9cqw}
.pg .cta .wm{font-size:3cqw}
.pg .cta div{display:flex;flex-direction:column;font-size:1.95cqw;line-height:1.4;color:#cfe5ec}
.pg .cta b{font:700 3cqw var(--fd);color:var(--or2)}

/* last page: price poster */
.pg .ps{display:block;color:#fff;background:var(--navy)}
.pg .ps>.ph{position:absolute;inset:0}
.pg .ps:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,41,61,.6) 0,rgba(6,41,61,0) 22%,rgba(6,41,61,.05) 45%,rgba(6,41,61,.82) 100%)}
.pg .ps>div{position:absolute;z-index:2}
.pg .pst{top:5cqw;left:6cqw;right:6cqw;display:flex;justify-content:space-between;align-items:center}
.pg .pst .lg{height:10.5cqw}
.pg .pst .wm{font-size:3.4cqw}
.pg .pst span{font:500 2cqw var(--ff);letter-spacing:.2cqw;text-shadow:0 .3cqw 1cqw rgba(0,0,0,.5)}
.pg .psm{left:6cqw;right:6cqw;top:42%;text-align:center}
.pg .psm i{display:block;font-size:12cqw;line-height:.9;text-shadow:0 .5cqw 2cqw rgba(0,0,0,.4)}
.pg .psm b{display:block;margin-top:-.5cqw;font:700 15.5cqw/1.05 var(--ff);letter-spacing:-.3cqw;text-shadow:0 .5cqw 2cqw rgba(0,0,0,.4)}
.pg .psm .du{display:flex;justify-content:flex-end;align-items:center;gap:1.6cqw;margin:3cqw 4cqw 0 0;font:600 3.6cqw/1.15 var(--ff)}
.pg .psm .du svg{width:7cqw;height:7cqw}
.pg .psb{left:6cqw;right:6cqw;bottom:6cqw}
.pg .psb .r1{display:flex;justify-content:space-between;align-items:flex-end;gap:3cqw}
.pg .pp small{display:block;font:500 1.8cqw var(--ff);letter-spacing:.3cqw;opacity:.9}
.pg .pp b{display:block;font:600 11cqw/1.05 var(--ff);letter-spacing:-.4cqw}
.pg .pp b em{font:500 6cqw var(--ff);font-style:normal;margin-right:.6cqw}
.pg .pp u{display:block;text-decoration:none;font:500 1.7cqw var(--ff);opacity:.85}
.pg .po{margin-top:1.4cqw;font:500 1.7cqw/1.5 var(--ff);opacity:.92}
.pg .bk{text-align:right;font:600 3.6cqw/1 var(--ff)}
.pg .bk small{display:block;margin-top:1.2cqw;font:500 1.7cqw var(--ff);opacity:.9}
.pg .r2{display:flex;justify-content:space-between;align-items:center;gap:3cqw;margin-top:3.4cqw}
.pg .tq{display:flex;gap:1.6cqw}
.pg .tq div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8cqw;width:11.5cqw;height:11.5cqw;border:.25cqw solid rgba(255,255,255,.65);border-radius:1.6cqw;font:500 1.15cqw var(--ff);letter-spacing:.15cqw;text-transform:uppercase}
.pg .tq svg{width:4.8cqw;height:4.8cqw}
.pg .ar{flex:1;display:flex;align-items:center;margin-left:2cqw}
.pg .ar:before{content:"";flex:1;height:.25cqw;background:rgba(255,255,255,.7)}
.pg .ar span{display:grid;place-items:center;width:15cqw;height:6cqw;border:.25cqw solid #fff;border-radius:4cqw}
.pg .ar svg{width:4cqw;height:4cqw}

/* 13 · PRINT ---------------------------------------------------------- */
@media print{
  @page{size:A4;margin:0}
  html,body{background:#fff!important}
  .appbar,.tabbar,.wrap,.steps,#bar,#dock,#dots,.vnav,#modal,#toast{display:none!important}
  #viewer{display:block!important;height:auto;background:none}
  #track{display:block;overflow:visible;background:none}
  .slot{display:block;padding:0;break-after:page;page-break-after:always}
  .pg{width:210mm;height:297mm;max-height:none;border-radius:0;box-shadow:none;margin:0}
  .pg,.pg *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* 14 · BUILD | VIEW TOGGLE, labelled BACK ------------------------------ */
.ibtn.bk{width:auto;display:inline-flex;align-items:center;gap:4px;padding:0 14px 0 8px;font:700 .76rem var(--ff);letter-spacing:.12em}
.trow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.trow h1{font-size:1.3rem;text-align:right;min-width:0;margin:0}
.seg{display:inline-flex;flex:none;padding:3px;gap:2px;border-radius:99px;background:#d9e8ed}
.seg button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:99px;padding:8px 13px;background:transparent;color:var(--navy);font:600 .8rem var(--ff);cursor:pointer}
.seg button .ico{width:16px;height:16px}
.seg button.on{background:var(--navy);color:#fff;cursor:default;box-shadow:0 6px 12px -8px rgba(6,41,61,.8)}
#bar .seg{background:rgba(255,255,255,.14)}
#bar .seg button{color:#fff}
#bar .seg button.on{background:var(--or)}
#bar .grow{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:420px){#bar .seg button{padding:8px 10px}#bar .seg button span{display:none}}
.ro #bar .seg{display:none}
.pg .cvl .dur{max-width:50cqw;line-height:1.3}
.pg .cvl .dur svg{flex:none}

.g2{display:grid;grid-template-columns:2fr 1fr;gap:8px;margin-top:4px}
.g2 label{font-size:.72rem;margin-top:8px}
.g2 .full{grid-column:1/-1}
#dock .btn .ico{width:20px;height:20px}

/* 15 · LOGO ON TOP, PHONE / WEBSITE AT THE BOTTOM, NO BOX ON THE COVER LOGO */
.pg .ph0{flex:none;display:flex;align-items:center;padding:1.3cqw 5cqw;background:var(--navy);border-bottom:.7cqw solid var(--or)}
.pg .ph0 .lg{height:5.4cqw}
.pg .ph0 .wm{font-size:2.2cqw}
.pg .ft{padding:1cqw 5cqw}
.pg .cvlogo{padding:0;border-radius:0;background:none;box-shadow:none}
.pg .cvlogo .wm{color:var(--navy)}
.g2{grid-template-columns:1fr 1fr}
/* 16 · COVER: BIGGER LOGO, TITLE, DAYS-PER-PLACE; DAY PAGES: LOGO IN CONTENT, SINGLE PHOTO CENTRED */
.pg .cvlogo .lg{height:11.5cqw;max-width:54cqw}
.pg .cvl h1{margin-top:9cqw}
.pg .cvl h1 span{display:block;margin-top:1.2cqw;font:700 4.3cqw/1.1 var(--ff);letter-spacing:.9cqw;color:var(--or-d)}
.pg .cvl .lead{margin-top:14cqw;max-width:50cqw;font:400 3.1cqw/1.35 var(--fd);color:var(--navy)}
.pg .segs{margin-top:3cqw;display:flex;flex-wrap:wrap;gap:2.4cqw 0;max-width:54cqw}
.pg .sg{display:flex;align-items:center;gap:1.2cqw;padding:0 2.4cqw}
.pg .sg:first-child{padding-left:0}
.pg .sg+.sg{border-left:.25cqw solid #d8ccb4}
.pg .sg b{font:800 8cqw/1 var(--fd);color:var(--or)}
.pg .sg span{font:600 2cqw/1.25 var(--ff);color:var(--navy)}
.pg .sg small{display:block;font:400 1.5cqw var(--ff);color:#5d6f77}
.pg .cvl .web{margin-top:2.4cqw}
.pg .cvl .web.tel{margin-top:1cqw;display:flex;align-items:center;gap:1.2cqw}
.pg .cvl .web.tel svg{width:2.4cqw;height:2.4cqw;color:var(--or)}
.pg .dlogo{flex:none;padding-top:4cqw}
.pg .dlogo .lg{height:7cqw;max-width:100%}
.pg .dlogo .wm{color:var(--navy);font-size:2.4cqw}
.pg .dh{padding-top:2.6cqw}
.pg .dh i{font-size:7cqw}
.pg .dls{margin-top:2.4cqw}
.pg .dy.np{grid-template-columns:1fr}
.pg .dr.one{justify-content:center;padding-top:0}
.pg .dr.one>.ph{flex:none;width:100%;aspect-ratio:3/4;border-radius:1.6cqw}

/* 17 · REFINEMENTS */
.pg .cvl h1 span{font:800 4.4cqw/1.1 var(--fd);letter-spacing:.5cqw;color:var(--navy)}
.pg .cvl .lead{font-size:4.6cqw;line-height:1.3;max-width:54cqw}
.pg .cvl .web{display:flex;align-items:center;gap:1.2cqw;margin-top:1cqw}
.pg .cvl .web svg{width:2.4cqw;height:2.4cqw;color:var(--or)}
.pg .cvl .web.tel{margin-top:2.4cqw}
.pg .dlogo{display:flex;justify-content:center}
.pg .dr,.pg .dr.one{justify-content:center;align-items:center;gap:4cqw;padding:0 4cqw 0 0}
.pg .dr>.ph,.pg .dr>.ph:first-child,.pg .dr.one>.ph{flex:none;width:100%;aspect-ratio:1/1;border-radius:50%;border:1cqw solid #fff;box-shadow:0 0 0 .6cqw var(--or),0 2cqw 4cqw -1.4cqw rgba(6,41,61,.5)}

/* 18 · COVER TITLE INDENT, CENTRED WEBSITE, ORANGE BAR UNDER DAY LOGO */
.pg .cvl h1 span{padding-left:9.5cqw}
.pg .cvl .web:not(.tel){width:48cqw;justify-content:center;margin-top:4.6cqw}
.pg .dbar{flex:none;align-self:center;width:16cqw;height:.9cqw;margin-top:2cqw;border-radius:1cqw;background:var(--or)}
.pg .dbar{align-self:stretch;width:auto}

/* 19 · DAY PAGES: FULL PHOTO BACKGROUND, SOLID WHITE CARDS */
.pg .it{background:#fff;border-color:transparent;box-shadow:0 1.2cqw 3cqw -1cqw rgba(6,41,61,.45)}
.pg .nt{background:#fff;color:var(--navy);box-shadow:0 1.2cqw 3cqw -1cqw rgba(6,41,61,.45)}
.pg .nt svg{color:var(--or)}

/* 20 · DAY PAGES: ONE WHITE BOX, NO PHOTO SLOTS, NO ORANGE BAR */
.pg .dy{display:flex;flex-direction:column;padding:0 5cqw 4cqw}
.pg .dy .dl{padding:0;flex:1;min-height:0}
.pg .dlogo{padding-top:4cqw;padding-bottom:3cqw}
.pg .dcard{flex:0 1 auto;min-height:0;overflow:hidden;background:#fff;border-radius:2.4cqw;padding:2.6cqw 4cqw 3cqw;box-shadow:0 1.4cqw 3.4cqw -1cqw rgba(6,41,61,.5)}
.pg .dcard .dh{padding-top:0}
.pg .dcard .dh i{font-size:6.4cqw}
.pg .dcard .dls{flex:none;overflow:visible;gap:0;margin-top:1.6cqw}
.pg .dcard .it{padding:1.8cqw 0;border:0;border-radius:0;background:none;box-shadow:none}
.pg .dcard .it+.it{border-top:.25cqw solid #eadfca}
.pg .dcard .nt{margin-top:1.6cqw;background:#fff3e1;box-shadow:none;border-radius:1.6cqw;color:var(--navy)}
/* 21 · WHITE BOX KEPT TO THE LEFT SIDE (same width as the old item boxes) */
.pg .dy .dl{flex:1;width:55cqw;max-width:55cqw}
.pg .dcard{border-radius:1.6cqw}
/* 22 · SHORT DAYS: CENTRE THE WHITE BOX VERTICALLY (equal gap above and below); LONG DAYS STILL FILL THE PAGE */
.pg .dy .dl .dcard{margin-top:auto;margin-bottom:auto}

/* 23 · HOTEL PAGE: NO WHITE BOX, BIGGER NAME + NIGHTS */
.pg .ttl2 small:empty{display:none}
.pg .hc{background:none;box-shadow:none;border-radius:0}
.pg .hc>.ph{border-radius:2.6cqw;box-shadow:0 1.4cqw 3cqw -1.4cqw rgba(6,41,61,.4)}
.pg .hb h4{font-size:4.8cqw}
.pg .hb .hm:last-child{font:700 3cqw/1.2 var(--ff);color:var(--navy)}
.pg .hb .hm:last-child svg{width:3.6cqw;height:3.6cqw}

/* 24 · LAST PAGE: PACKAGE NAME + DAYS PER PLACE, BIGGER GUEST LINE AND PHONE, NO ARROW, CENTRED ICONS */
.pg .psm{top:38%}
.pg .psm .pkg{margin:0;font:400 7.2cqw/1.2 var(--fd);color:#fff;text-shadow:0 .5cqw 2cqw rgba(0,0,0,.5)}
.pg .psm .segs{margin:4cqw auto 0;justify-content:center;max-width:none;text-align:left}
.pg .psm .sg b{color:#fff;font-size:8cqw;text-shadow:0 .5cqw 2cqw rgba(0,0,0,.5)}
.pg .psm .sg span,.pg .psm .sg small{color:#fff;text-shadow:0 .3cqw 1cqw rgba(0,0,0,.5)}
.pg .psm .sg span{font-size:2.2cqw}
.pg .psm .sg small{font-size:1.7cqw}
.pg .psm .sg+.sg{border-left-color:rgba(255,255,255,.7)}
.pg .pp u{margin-top:.8cqw;font:600 3.6cqw/1.2 var(--ff);opacity:1}
.pg .bk small{margin-top:1.4cqw;font:600 3cqw/1.35 var(--ff);opacity:1}
.pg .r2{justify-content:center}
.pg .r2 .tq{justify-content:center}
/* 25 · LAST PAGE PACKAGE NAME: SAME FONT AS THE OLD "ANDAMAN" HEADLINE, SMALLER */
.pg .psm .pkg{font:700 7.2cqw/1.1 var(--ff);letter-spacing:-.15cqw}
/* 26 · DAYS-PER-PLACE: NUMBERS IN THE LAST-PAGE HEADLINE FONT, PLACE TEXT SLIGHTLY LOWER (cover + last page) */
.pg .sg b{font-family:var(--ff);font-weight:700;letter-spacing:-.15cqw}
.pg .sg span{position:relative;top:1.1cqw}

/* 27 · INNER PAGES: NEW HEADER + FOOTER (all pages except cover and last), NEW DAY PAGE ----------- */
:root{--grn:#46582e;--rose:#b8706a;--slate:#413e3a}
.pg{border-radius:0}

/* header: green arrow banner + tagline on the left, logo on the right, orange line under */
.pg .ph0{flex:none;display:flex;justify-content:space-between;align-items:center;gap:3cqw;padding:2.6cqw 5cqw 2.2cqw 0;background:var(--sand);border-bottom:.8cqw solid var(--or)}
.pg .ph0 .hl{min-width:0}
.pg .ph0 .bn{position:relative;display:flex;align-items:center;justify-content:center;width:33cqw;height:9.4cqw;background:var(--grn);color:#fff;text-align:center;font:700 2.9cqw/1.12 var(--ff);letter-spacing:.15cqw}
.pg .ph0 .bn:after{content:"";position:absolute;left:100%;top:0;border-left:3.6cqw solid var(--grn);border-top:4.7cqw solid transparent;border-bottom:4.7cqw solid transparent}
.pg .ph0 .hl small{display:block;margin-top:1.6cqw;font:600 1.75cqw/1.2 var(--ff);color:var(--grn);white-space:nowrap}
.pg .ph0 .lg{height:8cqw;max-width:40cqw;width:auto}
.pg .ph0 .wm{font-size:3cqw;color:var(--navy)}

/* footer: phone numbers | divider | website, orange line above */
.pg .ft{flex:none;justify-content:center;align-items:center;gap:4.5cqw;padding:2.2cqw 5cqw;background:var(--sand);border-top:.8cqw solid var(--or);color:#3f3f3f;font:600 2.6cqw/1.35 var(--ff)}
.pg .ft .fp,.pg .ft .fw{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:2.4cqw}
.pg .pi.d5{font-size:1.62cqw}
.pg .pi.d3 .gx .it,.pg .pi.d4 .gx .it,.pg .pi.d5 .gx .it{line-height:1.4}
.pg .ft svg{width:4.4cqw;height:4.4cqw;color:#555}
.pg .ft .fv{flex:none;width:.6cqw;height:6.4cqw;background:var(--or)}
.pg .ft .fw span{letter-spacing:.35cqw;font-size:2.7cqw}

/* day page */
.pg .dy{flex:1;min-height:0;display:flex;flex-direction:row;align-items:stretch;gap:3cqw;padding:5cqw 5cqw 5cqw 0}
.pg .dy .dc{flex:none;width:36cqw;min-height:0;display:flex;flex-direction:column;gap:0;padding-left:5.4cqw}
.pg .rb{position:relative;flex:none;align-self:flex-start;display:flex;align-items:center;justify-content:center;width:28cqw;height:7.6cqw;margin:0 0 4.6cqw -.6cqw;background:var(--rose);color:#3a3532;font:700 4cqw/1 var(--ff);letter-spacing:.6cqw}
.pg .rb i{font-style:normal}
.pg .rb:before,.pg .rb:after{content:"";position:absolute;top:0;border-top:3.8cqw solid transparent;border-bottom:3.8cqw solid transparent}
.pg .rb:before{left:0;border-left:2.4cqw solid var(--sand)}
.pg .rb:after{right:0;border-right:2.4cqw solid var(--sand)}
.pg .po{flex:1;min-height:0;padding:1.7cqw;background:#fff;box-shadow:.5cqw 1cqw 1.8cqw -.4cqw rgba(0,0,0,.32)}
.pg .po>.ph{width:100%;height:100%;border-radius:0}
.pg .ob{flex:none;width:22cqw;height:4.6cqw;margin:3.6cqw 0 3.6cqw -5.4cqw;background:var(--or)}

.pg .gx{position:relative;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:4cqw 4cqw 10cqw 4.6cqw;background:var(--slate);color:#fff;overflow:hidden}
.pg .gx:after{content:"";position:absolute;left:0;bottom:3.4cqw;width:26cqw;height:4.6cqw;background:var(--or)}
.pg .gx .dls{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:space-evenly;gap:2cqw;margin:0}
.pg .gx .it{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.pg .gx .it+.it{border:0}
.pg .gx .it p{margin:0;color:#fff}
.pg .gx .nt{flex:none;margin-top:2cqw;background:rgba(255,255,255,.1);color:#fff;box-shadow:none;border-radius:1.2cqw}
.pg .gx .nt svg{color:var(--or2)}

/* PRINT / SAVE AS PDF: exact A4, no white strips or rounded corners at the sides */
@media print{
  @page{size:210mm 297mm;margin:0}
  html,body{margin:0!important;padding:0!important;width:210mm!important;background:var(--sand)!important}
  #viewer,#track{width:210mm!important}
  .slot{display:block!important;width:210mm!important;height:297mm!important;margin:0!important;padding:0!important;overflow:hidden;background:var(--sand);break-inside:avoid}
  .pg{width:210mm!important;height:297mm!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;box-shadow:none!important}
}
.pg .ft .fp span,.pg .ft .fw span{white-space:nowrap}
.pg .ft{gap:4cqw;font-size:2.5cqw}
.pg .ft .fw span{font-size:2.4cqw;letter-spacing:.25cqw}

/* 28 · COVER TWEAKS ------------------------------------------------------------------ */
.pg .cvl h1{margin-left:-2.5cqw}
.pg .cvl h1 span{padding-left:12cqw}
.pg .cvl .sb{margin-top:2.8cqw}
.pg .cvl .ru{width:20cqw}
.pg .cvl .lead{font:600 4cqw/1.3 var(--ff);letter-spacing:-.05cqw;margin-top:12cqw}
.pg .fe{margin-top:8cqw}
.pg .cvl .web.tel{margin-top:auto}

/* 29 · DAY PAGE: AUTO-HEIGHT CENTRED GREY BOX (fixed width), 0/1/2 PHOTO BLOCKS WITH FOLDED CORNERS, BIGGER TEXT ---------- */
.pg .dy{position:relative}
.pg .rb{position:absolute;top:5cqw;left:4.8cqw;margin:0}
.pg .dy .dc{flex:none;width:36cqw;align-self:stretch;justify-content:center}
.pg .dy .dc.n2{justify-content:flex-start;padding-top:12.2cqw}
.pg .dc.n1 .po{flex:none;aspect-ratio:4/5}
.pg .po{position:relative}
.pg .po:before,.pg .po:after{content:"";position:absolute;width:0;height:0;border-style:solid}
.pg .po:before{top:0;right:0;border-width:0 4.6cqw 4.6cqw 0;border-color:transparent var(--sand) #d9d2c0 transparent}      /* top-right corner folded in */
.pg .po:after{bottom:0;left:0;border-width:4.6cqw 0 0 4.6cqw;border-color:#d9d2c0 transparent transparent var(--sand)}   /* bottom-left corner folded in */
.pg .po:after{border-color:#d9d2c0 transparent transparent var(--sand)}
.pg .gx{flex:none;align-self:center;width:56cqw;max-height:100%;margin-left:auto;justify-content:flex-start;min-height:30cqw;padding:4.6cqw 4.6cqw 11cqw 4.8cqw}
.pg .gx .dls{flex:none;overflow:visible;justify-content:flex-start;gap:3.4cqw}
.pg .pi.d1{font-size:2.85cqw}.pg .pi.d2{font-size:2.6cqw}.pg .pi.d3{font-size:2.4cqw}.pg .pi.d4{font-size:2.2cqw}.pg .pi.d5{font-size:2cqw}.pg .pi.d6{font-size:1.8cqw}
.pg .gx .it .tg{font-size:.66em;padding:.5cqw 2cqw;margin-bottom:1.1cqw}
.pg .gx .it p{line-height:1.42}

/* 30 · HOTEL BLOCKS: FIXED HEIGHT, CENTRED; PHOTO FRAME TILT; ----------------------------------------------- */
.pg .sp.hp{justify-content:center}
.pg .sp.hp .hc{flex:0 1 44cqw}
.pg .hb h4{text-transform:uppercase;letter-spacing:.2cqw}
/* day photo frame: top-left and bottom-right corners lifted (diagonal stretch), replaces the folded-corner look */
.pg .po:before,.pg .po:after{display:none}
.pg .po{transform:matrix(1,.028,.028,1,0,0);box-shadow:.4cqw 1.2cqw 2cqw -.5cqw rgba(0,0,0,.34)}
#s2>.btns{flex-wrap:nowrap;margin-top:6px}#s2>.btns #show{flex:1;justify-content:center}#s2>.btns #backS2{flex:none;white-space:nowrap}

/* 31 · UPRIGHT PHOTO FRAME WITH TOP-LEFT + BOTTOM-RIGHT CORNERS LOOKING LIFTED / NOT STUCK DOWN ------------------ */
.pg .po{position:relative;padding:0;background:none;box-shadow:none;transform:none}
.pg .po:before,.pg .po:after{display:none}
.pg .po>i{display:block;position:absolute;width:42%;height:30%;background:#fff}
.pg .po>.l1{left:-.7cqw;top:-.7cqw;transform:rotate(-1.8deg);transform-origin:0 0;box-shadow:-.5cqw -.3cqw 1.5cqw rgba(0,0,0,.36)}
.pg .po>.l2{right:-.7cqw;bottom:-.7cqw;transform:rotate(-1.8deg);transform-origin:100% 100%;box-shadow:.5cqw .3cqw 1.5cqw rgba(0,0,0,.36)}
.pg .pf{position:relative;width:100%;height:100%;padding:1.7cqw;background:#fff;box-shadow:.2cqw .6cqw 1.2cqw -.3cqw rgba(0,0,0,.3)}
.pg .pf>.ph{width:100%;height:100%;border-radius:0}
.pg .po>.ph{width:auto;height:auto}
/* bigger item headings inside the grey box */
.pg .gx .it .tg{font-size:.92em;padding:.8cqw 2.4cqw;margin-bottom:1.4cqw;letter-spacing:.2cqw}
/* hotel place: orange bar on the photo */
.pg .hc .pc{top:3cqw;left:0;padding:1.2cqw 3.2cqw 1.2cqw 2.4cqw;border-radius:0 2.4cqw 2.4cqw 0;background:var(--or);color:#fff;font:700 2.5cqw/1.1 var(--ff);box-shadow:0 .5cqw 1.2cqw rgba(0,0,0,.25)}
.pg .hc.rv .pc{left:auto;right:0;padding:1.2cqw 2.4cqw 1.2cqw 3.2cqw;border-radius:2.4cqw 0 0 2.4cqw}
.pg .hc .pc svg{width:2.8cqw;height:2.8cqw;color:#fff}
.pg .pf,.pg .po>i{border:.28cqw solid #ddd6c6;box-sizing:border-box}
/* 14 · PRICING ---------------------------------------------------------- */
.psw{display:flex;gap:6px;padding:4px;margin:0 0 16px;border-radius:99px;background:#d9e8ed}
.psw a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 8px;border-radius:99px;color:var(--navy);text-decoration:none;font:600 .82rem var(--ff)}
.psw a .ico{width:16px;height:16px}
.psw a.on{background:var(--navy);color:#fff;box-shadow:0 6px 12px -8px rgba(6,41,61,.8)}
.rtrow{display:flex;gap:8px;align-items:stretch}
.rtrow select{flex:1;min-width:0}
.rtrow .btn{flex:none;white-space:nowrap}
.gh{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.gh3{display:grid;grid-template-columns:1fr;gap:0}
@media(min-width:560px){.gh3{grid-template-columns:repeat(3,1fr);gap:0 10px}}
.gh label,.gh3 label{font-size:.76rem}
.pnote{font-size:.8rem;margin:8px 2px 12px}
.hi{width:18px;height:18px;vertical-align:-3px;color:var(--or);margin-right:2px}
.tbl{overflow-x:auto}
.pt{width:100%;border-collapse:collapse;font-size:.82rem}
.pt th{padding:8px 10px;text-align:left;font-weight:600;color:var(--mute);border-bottom:1.5px solid var(--line);white-space:nowrap}
.pt td{padding:10px;border-bottom:1px solid var(--line);white-space:nowrap}
.est{display:flex;gap:10px;margin:0 0 14px}
.est>div{flex:1;min-width:0;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,var(--navy),var(--ocean));color:#fff}
.est>div:last-child{background:linear-gradient(135deg,var(--or),var(--or2))}
.est small{display:block;margin:0;font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.est b{display:block;font:700 1.2rem/1.25 var(--ff)}
.estn{margin:-6px 2px 14px;font-size:.78rem;color:var(--mute)}
.rate{margin-top:6px;font-size:.82rem;color:var(--ocean);font-weight:600}
.brh{display:flex;justify-content:space-between;margin:14px 0 4px;font:600 .82rem var(--ff);color:var(--navy)}
.brr{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:.82rem;color:var(--ink)}
.brr span{flex:1;min-width:0}
.brr b{font-weight:600;white-space:nowrap}
.gx2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
input[readonly].fin{font-weight:700;color:var(--or-d);background:#fff7ef;border-color:#f6d3b2}
input[readonly]{background:#f6fbfc}

/* button rows on the later builder pages stay on one line on phones, like the days page */
#s3>.btns,#sc>.btns,#s4>.btns,#s5>.btns{flex-wrap:nowrap;margin-top:6px}
#s3>.btns .btn:last-child,#sc>.btns .btn:last-child,#s4>.btns .btn:last-child,#s5>.btns .btn:last-child{flex:1;justify-content:center}
#s3>.btns .btn:first-child,#sc>.btns .btn:first-child,#s4>.btns .btn:first-child,#s5>.btns .btn:first-child{flex:none;white-space:nowrap}

/* login: loader after the 4th digit; itinerary: loader while a saved PDF opens */
.lload{display:flex;flex-direction:column;align-items:center;gap:12px;margin:6px 0 0;color:#b9dbe6;font:600 .9rem var(--ff)}
.lload i,.boot i{width:38px;height:38px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:var(--or2);animation:lsp .8s linear infinite}
.boot{display:grid;place-items:center;min-height:60vh}
.boot i{border-color:#d9e8ed;border-top-color:var(--or)}
@keyframes lsp{to{transform:rotate(360deg)}}


/* 31 · ITINERARY BUILDER STEPS + WEBSITE CONTENT LISTS ------------------------------ */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}
h1 .of{font:500 .95rem var(--ff);color:var(--mute)}
.stepnav{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;margin:0 -2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.stepnav::-webkit-scrollbar{display:none}
.stepnav button,.stepnav a{flex:none;display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border:0;border-radius:99px;background:#fff;color:var(--navy);font:600 .84rem var(--ff);text-decoration:none;cursor:pointer;box-shadow:inset 0 0 0 1.5px var(--line)}
.stepnav .done:not(.on):before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ok)}
.stepnav .on{background:linear-gradient(135deg,var(--or2),var(--or));color:#fff;box-shadow:0 8px 16px -10px rgba(244,122,31,.95)}
.stepnav.tabs{padding-bottom:8px}
.blk.checkout,.blk.departure{border-color:#9aa9b1}
.blk.optional{border-color:var(--or2)}
.blk.meal{border-color:#8a9a5b}
.blk.transfer h3,.blk.checkout h3,.blk.optional h3{text-transform:none}
.addbar .addgrid{display:flex;flex-wrap:wrap;gap:8px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chips button{border:0;border-radius:99px;padding:6px 12px;background:var(--foam);color:var(--ocean);font:500 .78rem var(--ff);cursor:pointer}
.pager{justify-content:space-between}
.pager .btn:last-child{margin-left:auto}
.srow{align-items:center;gap:12px;flex-wrap:wrap}
.srow .sth{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:#d8ecf0 center/cover;color:var(--lagoon)}
.srow .sth.stars{font:700 1rem var(--ff);color:var(--or-d);background:#fff0e1}
.srow .lt{flex:1;min-width:150px;display:grid;gap:3px;justify-items:start}
.srow .sact{display:flex;gap:6px;margin-left:auto}
.srow .sact .ibtn[disabled]{opacity:.35}
.vprev{display:block;width:100%;max-width:360px;border-radius:14px;margin:8px 0;background:#000}

/* ---- app navigation: back / home buttons, trial banner, app feel ---- */
.appbar .abk,.appbar .hm{flex:none;width:40px;height:40px}
.appbar .brand{margin-right:auto}
.appbar .abk + .brand{margin-left:0}
.appbar .pt{display:none}
@media(min-width:900px){.appbar .pt{display:block;margin:0 8px 0 auto}.appbar .brand{margin-right:0}.appbar .hm{display:none}}
@media(max-width:899px){.appbar .abk ~ .brand .lg{height:30px}.appbar .abk ~ .brand .wm{font-size:.85rem}}
.plan{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;padding:10px 14px;border-radius:14px;text-decoration:none;font-size:.88rem;line-height:1.35}
.plan.trial{background:#fff4e3;color:#7a4300;border:1px solid #ffd9a3}
.plan.over{background:#fdeceb;color:#8f1d16;border:1px solid #f5c1bd}
.plan .go{flex:none;font-weight:700;padding:5px 12px;border-radius:99px;background:var(--or);color:#fff}
.plan.over .go{background:#c62828}
body{-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}
.appbar,.tabbar,.ibtn,.btn,.tab,.ai{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* ---- new-user guide: setup checklist + welcome tour ---- */
.setup{background:var(--card);border-radius:18px;box-shadow:var(--sh);padding:14px 14px 6px;margin:0 0 18px}
.setup-h{display:flex;justify-content:space-between;align-items:center;gap:10px}.setup-h b{display:block;color:var(--navy)}.setup-h small{color:var(--mute)}
.setup-x{background:none;border:0;color:var(--mute);font:inherit;font-size:.82rem;cursor:pointer;padding:6px 4px}
.setup-bar{height:6px;border-radius:99px;background:#e3eef2;margin:10px 0 6px;overflow:hidden}.setup-bar i{display:block;height:100%;background:var(--or);border-radius:99px}
.setup-r{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px dashed var(--line);text-decoration:none;color:var(--ink)}.setup-r:first-of-type{border-top:0}
.setup-c{flex:none;width:26px;height:26px;border-radius:50%;border:2px solid #c9d9df;display:grid;place-items:center;color:#fff}.setup-r.ok .setup-c{background:#2fa66a;border-color:#2fa66a}.setup-c .ic{width:15px;height:15px}
.setup-t{flex:1;min-width:0}.setup-t b{display:block;font-size:.95rem}.setup-t small{display:block;color:var(--mute);font-size:.8rem}.setup-r.ok .setup-t b{color:var(--mute);text-decoration:line-through}
.setup-r .go{flex:none;width:18px;height:18px;color:var(--mute)}
.tour{position:fixed;inset:0;z-index:200;background:rgba(6,36,46,.78);display:grid;place-items:center;padding:16px}
.tour-in{position:relative;width:min(420px,100%);background:var(--card);border-radius:24px;padding:22px 0 18px;box-shadow:0 24px 60px rgba(0,0,0,.4)}
.tour-skip{position:absolute;top:12px;right:14px;z-index:2;background:none;border:0;color:var(--mute);font:inherit;font-size:.88rem;cursor:pointer;padding:6px}
.tour-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.tour-track::-webkit-scrollbar{display:none}
.tslide{flex:0 0 100%;scroll-snap-align:center;padding:14px 26px 8px;text-align:center;box-sizing:border-box}
.tslide h2{margin:12px 0 8px;font-size:1.35rem;color:var(--navy)}.tslide p{margin:0 0 14px;line-height:1.6;color:var(--ink)}
.tic{width:64px;height:64px;margin:6px auto 0;border-radius:20px;background:#fff4e3;color:var(--or-d);display:grid;place-items:center}.tic .ic{width:32px;height:32px}
.tsteps{text-align:left;margin:6px auto 0;padding-left:22px;line-height:1.9;max-width:300px}.tinst{text-align:left;list-style:none;margin:0;padding:0}.tinst li{background:#f4f9fb;border-radius:12px;padding:10px 12px;margin-bottom:8px;line-height:1.5}.tinst b{display:block}
.tour-dots{display:flex;justify-content:center;gap:7px;margin:10px 0 12px}.tour-dots i{width:8px;height:8px;border-radius:99px;background:#cfdde3;transition:.25s}.tour-dots i.on{width:22px;background:var(--or)}
.tour-btns{display:flex;gap:10px;justify-content:center;padding:0 22px}.tour-btns .btn{flex:1}

/* ---- page guide box: centred on desktop, always inside the screen on a phone (also with a notch / home bar) ---- */
:root{--gt:max(14px,env(safe-area-inset-top));--gb:max(14px,env(safe-area-inset-bottom));--gl:max(14px,env(safe-area-inset-left));--gr:max(14px,env(safe-area-inset-right))}
.gopen{overflow:hidden}
.gmodal{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;background:rgba(6,36,46,.7);padding:var(--gt) var(--gr) var(--gb) var(--gl);box-sizing:border-box}
.gbox{display:flex;flex-direction:column;width:100%;max-width:460px;max-height:calc(100vh - var(--gt) - var(--gb));max-height:calc(100dvh - var(--gt) - var(--gb));background:var(--card,#fff);border-radius:22px;box-shadow:0 24px 60px rgba(0,0,0,.4);overflow:hidden}
.ghead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 18px 10px;flex:none}
.ghead h2{margin:0;font-size:1.25rem;line-height:1.25;color:var(--navy)}
.gn{display:inline-block;margin-bottom:6px;padding:2px 10px;border-radius:99px;background:#fff4e3;color:var(--or-d);font-size:.74rem;font-weight:700}
.gclose{flex:none;width:36px;height:36px;border-radius:50%;border:0;background:#eef5f7;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}
.gbody{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 18px 6px}
.gi{margin:0 0 10px;line-height:1.55;color:var(--ink)}
.gs{margin:0;padding:0;list-style:none;counter-reset:g}
.gs li{counter-increment:g;position:relative;padding:9px 0 9px 36px;line-height:1.5;border-top:1px dashed var(--line)}
.gs li:first-child{border-top:0}
.gs li::before{content:counter(g);position:absolute;left:0;top:9px;width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;font-size:.78rem;font-weight:700;display:grid;place-items:center}
.gtip{margin:10px 0 8px;padding:10px 12px;border-radius:12px;background:#f1f8fa;color:var(--ink);font-size:.9rem;line-height:1.5}
.gtip b{color:var(--or-d)}
.gfoot{flex:none;padding:10px 18px 16px}
.hq{font:700 1.1rem var(--ff,inherit)}
.appbar .hq{flex:none;width:40px;height:40px}
@media (max-height:560px){.ghead{padding:12px 14px 6px}.gbody{padding:0 14px 4px}.gfoot{padding:8px 14px 12px}.ghead h2{font-size:1.1rem}}

/* welcome tour: same fit rules, so it never runs off a small screen */
.tour{padding:var(--gt) var(--gr) var(--gb) var(--gl);box-sizing:border-box}
.tour-in{display:flex;flex-direction:column;max-height:calc(100vh - var(--gt) - var(--gb));max-height:calc(100dvh - var(--gt) - var(--gb));padding-top:18px;overflow:hidden}
.tour-track{flex:1 1 auto;min-height:0}
.tslide{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-top:26px}
.tour-dots,.tour-btns{flex:none}
.tour-btns{padding-bottom:2px}
@media (max-height:640px){.tic{width:46px;height:46px;border-radius:14px}.tic .ic{width:24px;height:24px}.tslide h2{font-size:1.15rem;margin-top:8px}.tslide p,.tsteps{font-size:.92rem;line-height:1.45}.tsteps{line-height:1.6}.tinst li{padding:8px 10px;margin-bottom:6px}}
.est.bt{margin-top:14px}
.btns+details.box{margin-top:14px}

/* 30 · WATERMARK ON EVERY PAGE WHEN PRINTING / SAVE AS PDF (the Share-PDF route draws its own in JS) */
@media print{
  .pg:after{content:"Tripooly";position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;
    transform:rotate(-38deg);font:800 17cqw/1 Poppins,Arial,sans-serif;letter-spacing:.02em;color:rgba(6,41,61,.10);
    -webkit-text-stroke:.25cqw rgba(255,255,255,.35);pointer-events:none;white-space:nowrap}
}
