/* ---------- tokens (booking-app white & blue) ---------- */
:root{
  color-scheme:light;
  --page:#FFFFFF; --bg:#F3F6FB; --fg:#0B1B3A; --muted:#5E6A82; --muted-2:#7B879C; --faint:#A9B3C3; --panel:#FFFFFF; --tile:#F3F6FB; --line:#E3E9F2; --line-2:#DCE4EF;
  --nav-ink:#3A4560; --pill:#E8EEF5; --pill-hover:#DCE5F0; --pill-ink:#0B1B3A; --seg-on:#FFFFFF;
  --card-line:#CFE0F2; --card-bg:#FFFFFF;
  --shadow-xl:0 34px 70px rgba(11,27,58,.12),0 10px 24px rgba(11,27,58,.05);
  --shadow-l:0 24px 60px rgba(11,27,58,.09); --shadow-s:0 8px 22px rgba(11,27,58,.10); --shadow-xs:0 4px 12px rgba(11,27,58,.10);
  --blue:#2F7FE6; --blue-d:#1F5FC4; --blue-l:#DCEAFD; --blue-xl:#EEF4FE; --btn-hover:#0B1B3A;
  --blue-fill:#1F5FC4; --blue-on-white:#1F5FC4; --on-blue:#FFFFFF; --white:#FFFFFF;
  --find-bg:#1C2538; --find-hover:#0B1B3A; --find-ink:#EEF2F8;
  --sky:#66A9DB; --mark-navy:#021B47; --orange:#F5AA2C; --orange-ink:#D9821A; --focus:#1F5FC4;
  /* 1.15.0 (the owner's logo, 12 Nov): the palm symbol before the footer's wordmark (.mark-sym), the black of his logo
     file; cream in the dark theme, as --mark-navy */
  --mark-sym:#231F20;
  --mint:#DFF3EA; --mint-ink:#1E7A57; --line-green:#06C755; --on-line-green:#0B1B3A;
  /* the hero photo stays daylight in both themes, so its title ink never changes */
  --hero-ink:#101A2C; --hero-ink-2:#1B2230; --play-disc:rgba(255,255,255,.42); --play-ring:rgba(255,255,255,.92); --play-icon:#FFFFFF;
  --glass:rgba(255,255,255,.74); --glass-strong:rgba(255,255,255,.88); --glass-ink:#0B1B3A; --glass-line:rgba(255,255,255,.6);
  --search-bg:rgba(255,255,255,.9);
  --chip-dark:rgba(11,27,58,.72); --scrim:rgba(11,27,58,.28); --scrim-0:rgba(11,27,58,0);
  /* Inter (Latin) + Noto Sans Thai (Thai): Inter has no Thai letters, so Thai text falls through to Noto Sans Thai.
     1.15.0 (13 Nov, the owner's EasyTravel reference and his decision): on English pages the first screen (the header,
     the hero's texts, the search bar) is Poppins, --font-pop (400 / 500 / 600; 700 is the wordmark's), with Noto Sans
     Thai behind it for a Thai word there (the language menu); Thai pages keep their fonts and weights. */
  --font-en:'Inter','Noto Sans Thai',system-ui,sans-serif; --font-th:'Inter','Noto Sans Thai',system-ui,sans-serif; --font-mark:'Poppins','Inter',sans-serif; --font-title:'Inter','Noto Sans Thai',system-ui,sans-serif;
  --font-pop:'Poppins','Noto Sans Thai',system-ui,sans-serif;
  --hot:#CC4A0D; --hot-ink:#FFFFFF;
  /* 1.9.0 (docs/FEATURES-1.9.md): the navy (the consult band's tile until 1.14.0; the Activities page's brand card) and
     the consult band's pill. One font throughout (Inter; Thai in
     Noto Sans Thai): no serif, as the owner asked. (1.11.0: the consultant page's own colours are consult.css's --cp-*; the 1.9.0 /
     1.10.0 backdrop tokens --cons-* are gone.) */
  --band-bg:#1C2A47; --band-bg-2:#0D1830; --band-pill:#DCEAFD; --band-pill-ink:#0B1B3A;
  /* 1.16.1 (20 Nov 2026): the planning fee's yellow pill, the results page's colours (find.css --fd-pill reads these),
     8.1:1 */
  --fee-pill:#FCE99A; --fee-pill-ink:#5A3E00;
  --container:1274px; --gutter:max(16px,env(safe-area-inset-left,0px)); --gutter-r:max(16px,env(safe-area-inset-right,0px));
}
/* 1.16.0 (19 Nov 2026, the owner): one light theme on every device. The dark tokens that followed the system setting
   (prefers-color-scheme) and the data-theme="dark" switch are gone; header.php prints <html data-theme="light">, which
   also keeps consult.css's remaining dark block off. */

/* ---------- base ---------- */
#site,#site *,#site *::before,#site *::after{box-sizing:border-box}
#site [hidden]{display:none!important}
body{margin:0;background:var(--page);color:var(--fg)} /* mockup only */
#site{background:var(--page);color:var(--fg);font-family:var(--font-th);font-size:15px;line-height:1.6;font-synthesis:none;font-optical-sizing:auto;-webkit-font-smoothing:antialiased;overflow-wrap:break-word;min-width:0;overflow-x:clip}
#site[data-lang="en"]{font-family:var(--font-en);line-height:1.55}
:where(#site) :is(h1,h2,h3,h4,p,ul,figure){margin:0}
:where(#site) ul{padding:0;list-style:none}
:where(#site) a{color:inherit}
:where(#site) button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0;margin:0;text-align:inherit}
:where(#site) :is(select,input){font:inherit;color:inherit}
:where(#site) svg{display:block}
:where(#site) :focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.skip{position:absolute;left:16px;top:-60px;z-index:100;background:var(--panel);color:var(--fg);padding:10px 16px;border-radius:999px;text-decoration:none;font-weight:600;box-shadow:var(--shadow-s)}
.skip:focus{top:12px}
.skip:not(:focus){box-shadow:none}
.nw{white-space:nowrap}
.wrap{width:min(var(--container),100% - var(--gutter) - var(--gutter-r));margin-inline:auto}
#site section[id]{scroll-margin-top:16px}
.mark{font-family:var(--font-mark)!important;font-weight:700;letter-spacing:-.01em;line-height:1;color:var(--mark-navy);text-decoration:none;font-size:23px;white-space:nowrap}
.mark .dot{color:var(--orange)} .mark .co{color:var(--sky)}
/* 1.15.0 (the owner's logo, 12 Nov): the palm symbol before "Teapak.co" in the footer (span.mark-sym; the header keeps
   the wordmark alone, his choice of 13 Nov), as the mock-up he chose: 1.3em of the wordmark's size tall, as wide as
   the symbol (assets/img/logo-mark.png, 304 x 320), a .32em gap, its foot .27em under the text's baseline. The file is
   a mask (only its alpha counts), so the colour is --mark-sym: his black #231F20 (one light theme since 1.16.0, so no
   cream variant any more). Forced colours (Windows contrast themes) keep it visible in the text colour, and it prints
   (a background, which browsers leave out of print unless told). */
.mark .mark-sym{display:inline-block;width:1.235em;height:1.3em;margin-inline-end:.32em;vertical-align:-.27em;background-color:var(--mark-sym);-webkit-mask:url(../img/logo-mark.png) center/contain no-repeat;mask:url(../img/logo-mark.png) center/contain no-repeat;-webkit-print-color-adjust:exact;print-color-adjust:exact}
@media (forced-colors:active){ .mark .mark-sym{forced-color-adjust:none;background-color:CanvasText} }
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--blue-d);font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:11px 20px;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;min-height:44px;line-height:1.2;transition:background .15s,color .15s}
.btn svg{width:17px;height:17px;flex:none}
.btn-primary{background:var(--blue-fill);color:var(--on-blue)}
.btn-primary:hover{background:var(--btn-hover)}
.btn-secondary{background:var(--blue-l);color:var(--blue-d)}
.btn-white{background:var(--white);color:var(--blue-on-white)}
.btn-outline{background:transparent;color:var(--on-blue);box-shadow:inset 0 0 0 1.5px var(--on-blue)}
.btn-line{background:var(--line-green);color:var(--on-line-green)}
.btn-line:hover{filter:brightness(.95)}
.chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:600;line-height:1.3;background:var(--blue-xl);color:var(--blue-d)}
.chip svg{width:14px;height:14px;flex:none}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 40px;flex-wrap:wrap}
.sec-head>div{max-width:720px}
.sec-head h2{font-size:clamp(26px,3vw,36px);font-weight:700;line-height:1.2;margin-top:10px;text-wrap:balance;letter-spacing:-.025em}
.sec-head .intro{margin-top:12px;font-size:16px;color:var(--muted)}
#site[data-lang="th"] .eyebrow,#site[data-lang="th"] .back .sub,#site[data-lang="th"] .foot h3{letter-spacing:0;text-transform:none}
#site[data-lang="th"] .sec-head h2,#site[data-lang="th"] .consult h2{font-weight:600}
.band>.wrap{padding-block:96px 0}

/* ---------- photos (painted placeholders) ---------- */
.photo{position:relative;display:block;overflow:hidden;background:var(--photo) center/cover no-repeat,linear-gradient(180deg,#CFE6F7,#9CC4F7)}
.photo>canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.photo.has-photo>canvas{display:none}

/* ---------- header ---------- */
.hdr{position:relative;z-index:40;background:var(--page)}
.hdr-in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding-top:52px;min-height:96px}
.hdr .mark{justify-self:start}
.nav{display:flex;align-items:center;gap:38px}
.nav a{text-decoration:none;font-size:17px;font-weight:400;color:var(--nav-ink);white-space:nowrap;padding:8px 0;line-height:1.3}
.nav a[aria-current="page"]{font-weight:700;color:var(--fg)}
.nav a:hover{color:var(--blue-d)}
.hdr-right{justify-self:end;display:flex;align-items:center;gap:12px;margin-inline-end:-9px}
/* language and currency: a button opens a small menu (1.15.0: in the header the globe and the currency sign, .hdr-ic
   below; in the phone menu the pills that show the value) */
.dd{position:relative;flex:none}
.dd-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 13px 0 14px;border-radius:999px;background:var(--pill);color:var(--pill-ink);font-family:var(--font-en);font-size:14px;font-weight:700;line-height:1;white-space:nowrap;transition:background .15s}
.dd-btn:hover,.dd-btn[aria-expanded="true"]{background:var(--pill-hover)}
.dd-btn .ic{width:18px;height:18px;flex:none;stroke-width:1.9}
.dd-btn .dd-sym{font-size:15px;font-weight:700;width:14px;text-align:center}
.dd-btn .chev{width:14px;height:14px;flex:none;stroke-width:2.6;color:var(--muted);transition:transform .15s}
.dd-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.dd-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:214px;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-l);padding:6px;display:grid;gap:2px}
.dd-menu[hidden]{display:none}
.dd-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 12px;border-radius:12px;font-size:15px;color:var(--fg);text-align:left;white-space:nowrap}
.dd-menu button:hover,.dd-menu button:focus-visible{background:var(--blue-xl)}
.dd-menu button[aria-checked="true"]{font-weight:600;color:var(--blue-d)}
.dd-menu .ck{width:16px;height:16px;flex:none;margin-left:auto;stroke-width:2.6;visibility:hidden}
.dd-menu button[aria-checked="true"] .ck{visibility:visible}
.dd-menu [lang="th"]{font-family:var(--font-th);font-weight:400}
.dd-menu button[aria-checked="true"] [lang="th"]{font-weight:600}
/* the 1.14.0 Sign in pill, kept for one release only for pages a cache stored before 1.15.0 (purge the cache after the
   upload, docs/TESTING.md) */
.pill-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;border-radius:999px;background:var(--pill);color:var(--pill-ink);font-size:16px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s}
.pill-btn:hover{background:var(--pill-hover)}
.pill-btn[aria-current="page"]{background:var(--blue-fill);color:var(--on-blue)}
/* 1.15.0 (13 Nov 2026; the owner's EasyTravel reference: Previews/hero-options/1-computer-icons-only.png, 3-phone.png):
   the header's right side is thin outline icons, no pills. The globe opens the language menu and the currency sign the
   currency menu (the .dd-btn of template-parts/header-dropdown.php n 1; their names, "Choose language: English", are
   aria-labels that app.js updateToggles keeps current); the person is Sign in, or My account while signed in
   (#hdr-account, the person filled in; "My account" and the first name stay in the link's name,
   span.screen-reader-text). Phones and iPads (1024 px and less) show the person and the menu button; the language and
   currency menus are in the menu, as before. Each icon is 26 px in a 44 px round target, 12 px between targets (30 px
   between icons), the row 9 px past the container so the last icon lines up with the hero card's edge. A soft circle
   on hover and while its menu is open; on the Sign in page the person is blue on a light blue circle (its transparent
   border is the ring Windows contrast themes show, where backgrounds are replaced). The ฿ turns $ or € while that is
   the visitor's currency (#site[data-currency], set by app.js). */
.hdr-ic{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;background:transparent;color:var(--fg);text-decoration:none;transition:background .15s}
.hdr-ic>svg{width:26px;height:26px}
.hdr-ic:hover,.hdr-ic[aria-expanded="true"]{background:var(--pill)}
.hdr-ic[aria-current="page"]{color:var(--blue-d);background:var(--blue-xl);border:1px solid transparent}
.hdr-ic .cur-usd,.hdr-ic .cur-eur,#site[data-currency="USD"] .hdr-ic .cur-thb,#site[data-currency="EUR"] .hdr-ic .cur-thb{display:none}
#site[data-currency="USD"] .hdr-ic .cur-usd,#site[data-currency="EUR"] .hdr-ic .cur-eur{display:inline}
/* English pages: the header's words in Poppins (the nav, the menus, the phone menu), the current page 600; Thai pages
   keep their fonts and the 700 below */
#site[data-lang="en"] .hdr,#site[data-lang="en"] .hdr .dd-btn{font-family:var(--font-pop)}
#site[data-lang="en"] .nav a[aria-current="page"]{font-weight:600}
.menu-btn{display:none;width:44px;height:44px;border-radius:50%;background:transparent;place-items:center;flex:none;transition:background .15s}
.menu-btn:hover,.menu-btn[aria-expanded="true"]{background:var(--pill)}
.menu-btn svg{width:26px;height:26px}
.menu-btn .ic-close{display:none}
.menu-btn[aria-expanded="true"] .ic-menu{display:none}
.menu-btn[aria-expanded="true"] .ic-close{display:block}
.menu-panel{position:absolute;left:0;right:0;top:100%;background:var(--panel);border-bottom:1px solid var(--line);box-shadow:var(--shadow-l);padding:10px var(--gutter-r) 20px var(--gutter);display:grid;gap:14px}
.menu-panel .nav{flex-direction:column;align-items:stretch;gap:0}
.menu-panel .nav a{padding:12px 10px;border-bottom:1px solid var(--line);font-size:16px}
.menu-panel .row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}
.menu-panel .btn{width:100%}
@media (max-width:1240px){ .nav{gap:28px} .nav a{font-size:16px} .hdr-in{grid-template-columns:auto 1fr auto} .hdr-in>.nav{justify-self:center} }
@media (max-width:1024px){
  .hdr-in>.nav,.hdr-right .dd{display:none}
  .menu-panel .nav{display:flex}
  .menu-btn{display:grid}
  .hdr-in{grid-template-columns:1fr auto;padding-top:14px;min-height:72px}
  .pill-btn{padding:0 18px;font-size:15px}   /* a page cached before 1.15.0 */
}
@media (max-width:340px){ .pill-btn{padding:0 12px;font-size:13px} .mark{font-size:20px} }
/* 1.18.0 (22 Nov 2026, the owner's Recovery Score set, "เดสก์ท็อป 1 · หน้าแรก"): while the 2-minute check is open, header.php
   starts the right side with the blue "เช็กคะแนนฟื้นพลัง" button (a.btn.btn-primary.hdr-cta), the site's primary button at
   about the nav's text size. Computers only, from 1101 px: measured on 22 Nov, the header holds every nav item and the
   button on one line from 1025 px in Thai and from 1080 px in English (1097 px with a 17 px Windows scrollbar); below
   1101 px it is hidden, and the phone menu (1024 px and less) has the same link as its second button. With the button
   the right side is wider than the logo, so from 1241 px the header keeps the grid it has below (logo, nav, right side;
   the nav centred between them, as in his picture) instead of centring the nav on the page, which would push it against
   the button in English. Windows contrast themes drop the blue fill, so the button keeps an outline there. */
#site .hdr-cta{padding:11px 20px;font-size:15px}
@media (max-width:1100px){ #site .hdr-cta{display:none} }
@media not all and (max-width:1240px){   /* the exact complement of max-width:1240px, so no fractional width falls between */
  #site .hdr-in:has(>.hdr-right>.hdr-cta){grid-template-columns:auto 1fr auto}
  #site .hdr-in:has(>.hdr-right>.hdr-cta)>.nav{justify-self:center}
}
@media (forced-colors:active){ #site .hdr-cta,#site .menu-panel .btn{border:1px solid CanvasText} }

/* ---------- hero + search ---------- */
/* 1.15.0 (13 Nov 2026, the owner's EasyTravel reference: Previews/hero-options, docs/FEATURES-1.15.md "13 Nov: the first
   screen"): a taller card, its texts on the start side (left): the small line (hero.subtitle)
   over the title (hero.title), then the "Discover Reset Plans" link (hero.discover) down to the Reset Plans row
   (#plans). Above 720 px the search bar lies inside the card near its bottom: the card and the bar share the band's one
   grid cell and the bar sits at its end, so a taller bar (three rows on iPads) grows upwards while the card keeps its
   height and the next band its place. --hero-in: the texts' and the bar's distance from the card's sides (72 px at
   1440 px), half of it under the bar. Phones (720 px and less, below) keep the bar in the page's flow, a white panel
   over the card's bottom. Type: English pages set the small line, the title and the link in Poppins (--font-pop, the
   approved picture's 500 / 600 / 500); Thai pages keep their fonts and weights (the title Inter 800, the small line
   400), at sizes that suit them. */
.hero-band{--hero-in:clamp(24px,5vw,72px)}
.hero-band>.wrap{padding-top:43px;display:grid;grid-template-columns:minmax(0,1fr)}
.hero-band>.wrap>:is(.hero,.search){grid-area:1/1}
/* 640 px tall as on the mock-up; on a short laptop screen (1366 x 768) a little less, down to 520 px, so the search bar
   stays above the fold (the first height is for browsers without svh) */
.hero{position:relative;height:640px;height:clamp(520px,calc(100svh - 156px),640px);border-radius:32px;overflow:hidden;isolation:isolate}
/* background video: the painted photo shows until DATA.heroVideo has a URL and the first frame has loaded */
.hero-media{position:absolute;inset:0;overflow:hidden}
.hero-media>.photo{position:absolute;inset:0;background-color:#CFE6F7}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .8s ease}
.hero.has-video .hero-video{opacity:1}
/* a soft light wash from the start side keeps the dark texts readable on any footage (wp.css --hero-wash, also over the
   poster; from the top on phones) */
.hero.has-video .hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgba(255,255,255,.66),rgba(255,255,255,.34) 38%,rgba(255,255,255,0) 66%);pointer-events:none}
/* "Your video plays here" (no hero video set) sits in the card's top end corner, away from the texts (1.15.0; the pause
   button's corner, which shows only once a video plays) */
.video-tag{position:absolute;inset-inline-end:18px;top:18px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding-block:8px;padding-inline:11px 14px;border-radius:999px;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px var(--glass-line);font-size:12.5px;font-weight:600;line-height:1.2;white-space:nowrap}
.video-tag svg{width:16px;height:16px;flex:none}
.hero.has-video .video-tag{display:none}
.hero-pause{position:absolute;right:18px;top:18px;z-index:3;width:40px;height:40px;border-radius:50%;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:none;place-items:center}
.hero.has-video .hero-pause{display:grid}
.hero-pause svg{width:16px;height:16px}
.hero-pause .i-play,.hero-pause[aria-pressed="true"] .i-pause{display:none}
.hero-pause[aria-pressed="true"] .i-play{display:block}
.hero-copy{position:absolute;top:clamp(64px,8.2vw,118px);inset-inline:var(--hero-in);z-index:2;max-width:820px;text-align:start;pointer-events:none}
.hero-sub{margin:0 0 10px;font-size:clamp(20px,1.95vw,28px);line-height:1.35;font-weight:400;color:var(--hero-ink-2);letter-spacing:-.005em}
.hero-title{font-family:var(--font-title)!important;font-weight:800;font-size:clamp(56px,6.1vw,88px);line-height:1.08;letter-spacing:-.03em;word-spacing:.04em;color:var(--hero-ink)}
/* a Thai title that wraps needs room for the marks above and below its letters (the default title is Latin) */
#site[data-lang="th"] .hero-title{line-height:1.16}
/* "Discover Reset Plans": a real link to #plans (app.js scrolls there and moves the focus to the Reset Plans heading),
   44 px tall with its icon where the mock-up has it (the play-in-circle, never mirrored); the hero stays daylight, so
   its focus ring is the hero ink in both themes */
.hero-go{display:flex;align-items:center;gap:10px;width:fit-content;min-height:44px;margin-top:22px;font-size:17px;font-weight:500;line-height:1.3;color:var(--hero-ink);text-decoration:none;pointer-events:auto}
.hero-go svg{width:28px;height:28px;flex:none}
.hero-go:hover span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.hero-go:focus-visible{outline:2px solid var(--hero-ink);outline-offset:4px;border-radius:8px}
/* English pages: Poppins at the approved picture's sizes (28 / 96 / 17 px at 1440 px) */
#site[data-lang="en"] :is(.hero-sub,.hero-go){font-family:var(--font-pop)}
#site[data-lang="en"] .hero-sub{line-height:1.3;font-weight:500}
#site[data-lang="en"] .hero-title{font-family:var(--font-pop)!important;font-weight:600;font-size:clamp(64px,6.67vw,96px);line-height:1.04;letter-spacing:-.025em;word-spacing:0}
/* 1.15.0 (13 Nov 2026, the last review round): a long Banner headline that would reach the search bar is set smaller
   on computers and iPads, in every language (app.js fitHeroTitle adds is-long, or is-longer when that is not enough;
   since 1.16.0 on phones too: their sizes are in the phone block below, after the English title size) */
@media not all and (max-width:720px){
  #site .hero-title.is-long{font-size:clamp(48px,4.6vw,66px)}
  #site .hero-title.is-longer{font-size:clamp(40px,3.7vw,54px)}
}
/* print: the texts without the playing video (a frame would print with no wash under the texts) or the scroll link */
@media print{ .hero-video,.hero-go,.hero-pause{display:none!important} }
/* forced colours (Windows contrast themes) drop the wash, a gradient: the texts get the theme's own background */
@media (forced-colors:active){ .hero-copy{width:fit-content;padding:12px 16px;border-radius:14px;background:Canvas} }

/* 1.15.0: the search bar inside the card, --hero-in from its sides and half of that above its bottom (the bar's own look:
   wp.css "19 Nov"). 1.16.0 (19 Nov 2026, the owner's picture): half of --hero-in from the sides as well (32 px at
   1280 px) */
.search{position:relative;z-index:3;width:auto;margin:0 calc(var(--hero-in) / 2) calc(var(--hero-in) / 2);align-self:end;height:136px;background:var(--search-bg);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);border-radius:28px;box-shadow:var(--shadow-xl);display:grid;grid-template-columns:210px 180px minmax(0,1fr) 203px;align-items:center;padding:0 27px 0 36px}
/* each cell is a button that opens its panel; the soft pill behind it shows which one is open */
.cell{position:relative;isolation:isolate;min-width:0;width:100%;height:48px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;cursor:pointer}
.cell-date{border-left:1px solid var(--line-2);padding-left:32px}
.cell::before{content:"";position:absolute;z-index:-1;top:-18px;bottom:-18px;left:-20px;right:-14px;border-radius:20px;background:transparent;transition:background .15s,box-shadow .15s}
.cell-date::before{left:12px}
.cell:hover::before{background:var(--tile)}
.cell[aria-expanded="true"]::before{background:var(--blue-xl);box-shadow:inset 0 0 0 1.5px var(--blue-l)}
.cell .cl,.cell .cs{max-width:100%}
.cell .cl svg{transition:transform .2s}
.cell[aria-expanded="true"] .cl svg{transform:rotate(180deg)}
.cell .cl{display:inline-flex;align-items:center;gap:6px;font-size:19px;font-weight:700;line-height:1;color:var(--fg);white-space:nowrap;margin-top:-6px}
#site[data-lang="th"] .cell .cl{font-weight:600;font-size:18px}
.cell .cl svg{width:18px;height:18px;flex:none;stroke-width:2.4}
.cell .cs{display:block;font-size:13.5px;line-height:1.25;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:-6px}
.cell .cs.has-value{color:var(--fg);font-weight:600}
.cell:focus-visible{outline:2px solid var(--focus);outline-offset:10px;border-radius:14px}
.cell-date:focus-visible{outline-offset:6px}

/* search panels: open under the bar on desktop and tablet, inside the card on phones (1.16.0: their places, wp.css) */
.search{z-index:10}
.sp{position:absolute;top:calc(100% + 12px);z-index:5;background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow-xl);padding:20px 20px 18px;text-align:left;cursor:default}
.sp-date{left:0;right:0;margin-inline:auto;width:min(700px,100%)}
.sp-head{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-bottom:14px}
.sp-k{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);line-height:1.3}
#site[data-lang="th"] .sp-k{letter-spacing:0;text-transform:none;font-size:13px}
.opt-ck{width:18px;height:18px;flex:none;margin-left:auto;color:var(--blue-d);stroke-width:2.6;visibility:hidden}
/* (1.16.0: the destination list, its photos and its small HOT / NEW marks went with the Destination cell) */
/* calendar */
.quick{display:flex;gap:6px;flex-wrap:wrap}
.qchip{min-height:36px;padding:0 13px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;background:var(--tile);color:var(--fg);transition:background .15s,color .15s}
.qchip:hover{background:var(--blue-xl);color:var(--blue-d)}
.qchip[aria-pressed="true"]{background:var(--blue-fill);color:var(--on-blue)}
.cal-box{position:relative}
.cal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.cal-month h4{margin:0 0 6px;font-size:15px;font-weight:700;line-height:36px;text-align:center}
#site[data-lang="th"] .cal-month h4{font-weight:600}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:2px}
.cal-wd{padding:2px 0 6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:center;line-height:1.3}
.cday{position:relative;height:40px;display:grid;place-items:center;font-family:var(--font-en);font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--fg)}
.cday>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;transition:background .12s}
.cday:not([disabled]):hover>span{background:var(--tile)}
.cday.wkend{color:var(--blue-d);font-weight:600}
.cday.today>span{box-shadow:inset 0 0 0 1.5px var(--line-2)}
.cday[disabled]{color:var(--faint);cursor:default;font-weight:400}
.cday.in-range{background:var(--blue-l)}
.cday.r-start{background:linear-gradient(to right,transparent 50%,var(--blue-l) 50%)}
.cday.r-end{background:linear-gradient(to left,transparent 50%,var(--blue-l) 50%)}
.cday.r-start>span,.cday.r-end>span,.cday.r-start:hover>span{background:var(--blue-fill);color:var(--on-blue);font-weight:700;box-shadow:none}
.cday:focus-visible{outline:none}
.cday:focus-visible>span{outline:2px solid var(--focus);outline-offset:1px}
.cal-nav{position:absolute;left:0;right:0;top:0;height:36px;display:flex;justify-content:space-between;pointer-events:none}
.cal-arrow{pointer-events:auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--fg);transition:background .15s}
.cal-arrow svg{width:18px;height:18px;stroke-width:2.4}
.cal-arrow:hover{background:var(--tile)}
.cal-arrow[disabled]{color:var(--faint);cursor:default;background:none}
.sp-foot{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.cal-sum{font-size:13.5px;color:var(--muted);line-height:1.4;min-width:0;flex:1 1 220px}
.cal-sum b{color:var(--fg);font-weight:700}
.sp-acts{display:flex;align-items:center;gap:6px;margin-left:auto}
.sp-clear{min-height:40px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:600;color:var(--blue-d)}
.sp-clear:hover{background:var(--blue-xl)}
.sp-done{min-height:40px;padding:8px 20px}
/* option rows with an icon tile: the rest goals and the types of traveller (1.16.0; until then the category list) */
.copt{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:16px;text-align:left;min-width:0;transition:background .15s,box-shadow .15s}
.copt:hover{background:var(--tile)}
.ci{flex:none;width:38px;height:38px;border-radius:12px;background:var(--blue-xl);color:var(--blue-d);display:grid;place-items:center}
.ci svg{width:19px;height:19px}
.cmeta{min-width:0;flex:1}
.cmeta b{display:block;font-size:14.5px;font-weight:700;line-height:1.3}
.cmeta small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#site[data-lang="th"] .cmeta b{font-weight:600}
/* the button (1.16.0: the site's filled blue with its words, the owner's picture; the results page's compact bar keeps
   the dark one, wp.css) */
.find{height:81px;border-radius:18px;background:var(--blue-fill);color:var(--on-blue);display:flex;align-items:center;justify-content:center;gap:12px;font-size:17px;font-weight:600;transition:background .15s;padding:0 18px;white-space:nowrap}
.find:hover{background:var(--btn-hover)}
.find svg{width:22px;height:22px;flex:none}

/* ---------- plans: the bento row ---------- */
.plans-band>.wrap{padding-top:56px}   /* 1.15.0 (13 Nov): from the hero card's bottom (the search bar lies inside it above 720 px) */
.bento-row{display:grid;grid-template-columns:315px minmax(0,1fr);column-gap:68px;align-items:start}
.offers{height:365px;background:var(--panel);border-radius:32px;box-shadow:var(--shadow-l);display:flex;flex-direction:column;padding-top:33px;min-width:0}
.offers h2{font-size:23px;font-weight:800;text-align:center;line-height:1.3;letter-spacing:-.02em}
#site[data-lang="th"] .offers h2{font-weight:600}
.offers h2:focus{outline:none}   /* 1.15.0: focused by the hero's Discover link (app.js, tabindex -1 while focused) */
.offers-head{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0 20px}
.see-all{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;line-height:1.3;color:var(--blue-d);text-decoration:none;padding:4px 10px;border-radius:999px;white-space:nowrap;transition:background .15s}
.see-all svg{width:15px;height:15px;stroke-width:2.4;flex:none}
.see-all:hover{background:var(--blue-xl)}
.cat-list{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding:16px 32px 26px 25px;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 92px),transparent calc(100% - 6px));mask-image:linear-gradient(to bottom,#000 calc(100% - 92px),transparent calc(100% - 6px))}
.cat-list::-webkit-scrollbar{display:none}
.cat-list.at-end{-webkit-mask-image:none;mask-image:none}
.cat-item{position:relative;display:flex;align-items:stretch}
/* 1.7.0 (docs/FEATURES-1.7.md §D): every row keeps one height; the pressed chip's light-blue pill is its own layer
   (::before, 44 px tall, anchored at the inline start), so a switch can grow and shrink it (the motion block at the end) */
.cat-chip{flex:1;min-width:0;position:relative;isolation:isolate;display:block;padding:19px 10px 19px 28px;font-size:17px;line-height:1.3;color:var(--muted);border-radius:12px;transition:color .15s}
.cat-chip::before{content:"";position:absolute;z-index:-1;inset-block:8px;inset-inline-start:0;width:100%;border-radius:12px;background:var(--blue-l);opacity:0}
.cat-chip::after{content:"";position:absolute;left:28px;right:6px;bottom:0;height:1.5px;background:var(--line);transition:opacity .2s}
.cat-chip:hover{color:var(--fg)}
/* 1.15.0 (7 Nov): the Activities page's category links (pages-v10.css .acts-cat) wear these rows too, the one shown
   aria-current where the home page's pressed button is aria-pressed */
.cat-chip:is([aria-pressed="true"],[aria-current="true"]){color:var(--fg);font-weight:600}
.cat-chip:is([aria-pressed="true"],[aria-current="true"])::before{opacity:1}
.cat-chip:is([aria-pressed="true"],[aria-current="true"])::after,.cat-item:has(+ .cat-item .cat-chip:is([aria-pressed="true"],[aria-current="true"])) .cat-chip::after,.cat-item:last-child .cat-chip::after{display:none}
.cat-item.is-leave .cat-chip::after,.cat-item:has(+ .cat-item.is-leave) .cat-chip::after{opacity:0}
.cat-go{display:none;position:absolute;right:0;top:8px;bottom:8px;width:63px;border-radius:12px;background:var(--panel);box-shadow:var(--shadow-s);place-items:center;color:var(--fg)}
.cat-go svg{width:18px;height:18px;stroke-width:2.2}
.cat-chip[aria-pressed="true"]{padding-right:76px}
.cat-chip[aria-pressed="true"]+.cat-go,.cat-item.is-leave .cat-go{display:grid}
.cat-item.is-leave .cat-go{pointer-events:none}
.cat-go:hover{color:var(--blue-d)}

.plans-wrap{position:relative;min-width:0}
.track{position:relative;display:grid;grid-auto-flow:column;grid-template-rows:176px 176px;row-gap:13px;column-gap:27px;justify-content:start;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px;margin:-6px;scroll-padding-inline:6px}
.track::-webkit-scrollbar{display:none}
.arrow{position:absolute;top:50%;z-index:3;width:48px;height:48px;margin-top:-24px;border-radius:50%;background:var(--panel);color:var(--fg);display:grid;place-items:center;box-shadow:var(--shadow-s);transition:opacity .15s,background .15s}
.arrow svg{width:20px;height:20px;stroke-width:2.2}
.arrow:hover{background:var(--blue-l);color:var(--blue-d)}
#plans-next{right:-24px} #plans-prev{left:-24px}
.arrow[aria-disabled="true"]:not(:focus){visibility:hidden}

/* card shell: the shape (is-h horizontal / is-t tall) is set by the bento layout script */
.plan-card{position:relative;min-width:0;scroll-snap-align:start;perspective:1600px}
.plan-card.is-h{width:405px;height:176px;margin-right:35px}
.plan-card.is-t{width:198px;height:365px;grid-row:span 2}
.card-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.3,.7,.2,1)}
.face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:visibility 0s linear .3s;overflow:hidden}
.face.back{transform:rotateY(180deg);visibility:hidden}
.is-h .t-only,.is-t .h-only{display:none!important}

/* horizontal card: photo half + centred text half */
.is-h .face.front{display:flex;border-radius:24px;background:var(--card-bg);box-shadow:inset 0 0 0 1px var(--card-line)}
.is-h.img-right .face.front{flex-direction:row-reverse}
.is-h .front .photo{flex:0 0 199px;height:100%;border-radius:24px}
.h-body{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 14px 12px;gap:8px}
.h-city{font-size:19px;font-weight:700;line-height:1.25;color:var(--fg);letter-spacing:-.015em}
#site[data-lang="th"] .h-city{font-weight:600}
.place{display:inline-flex;align-items:center;gap:7px;font-size:15px;line-height:1.3;color:var(--muted)}
.place svg{width:18px;height:18px;flex:none;color:var(--blue)}
.price-pill{margin-top:8px;display:inline-flex;align-items:center;gap:7px;background:var(--card-bg);border-radius:999px;padding:7px 13px 7px 11px;font-size:13px;line-height:1.2;color:var(--fg);box-shadow:var(--shadow-s);white-space:nowrap;transition:transform .15s}
.price-pill svg{width:15px;height:15px;color:var(--orange-ink);flex:none}
.price-pill b{font-weight:700;font-variant-numeric:tabular-nums}
.price-pill:hover{transform:translateY(-1px)}

/* tall card: full photo, location pill, frosted panel */
.is-t .face.front{border-radius:36px;background:#9CC4F7}
.is-t .front .photo{position:absolute;inset:0;border-radius:36px}
.loc-pill{position:absolute;right:14px;top:13px;z-index:2;display:inline-flex;align-items:center;gap:7px;padding:9px 15px 9px 12px;border-radius:999px;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:15px;line-height:1.2;max-width:calc(100% - 64px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.loc-pill svg{width:17px;height:17px;flex:none}
.flip-round{position:absolute;left:12px;top:12px;z-index:2;width:40px;height:40px;border-radius:50%;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:grid;place-items:center;transition:transform .15s}
.flip-round svg{width:18px;height:18px}
.flip-round:hover{transform:rotate(-30deg)}
.t-glass{position:absolute;left:8px;right:8px;bottom:8px;z-index:2;border-radius:28px;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(12px) saturate(1.1);backdrop-filter:blur(12px) saturate(1.1);box-shadow:inset 0 0 0 1px var(--glass-line);padding:12px 10px 11px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px}
.t-plan{font-size:16px;font-weight:600;line-height:1.25}
#site[data-lang="th"] .t-plan{font-weight:600}
.t-price{font-size:12px;line-height:1.35;color:var(--glass-ink);opacity:.85}
.t-price b{font-weight:700;font-variant-numeric:tabular-nums}
.t-price>span{white-space:nowrap}
.t-price .pp{display:block;font-size:11px;opacity:.85}
/* 1.16.1 (20 Nov 2026): the planning fee (inc/fee.php, app.js window.teapak.fee). Every plan price is the price to pay;
   the stored price, crossed out where there is room (.fee-was-w, with "ราคาปกติ" for screen readers), is the regular
   one; one yellow pill per card or section says the fee and its discount ("ค่าบริการวางแผน 3,500 บาท → ฟรี · ทริปนำร่อง
   15 ทริปแรก"), the home cards a short tag (.is-xs, "ไม่มีค่าบริการวางแผน") under their price, as a flex child of the
   card's text column, so a hidden tag leaves no gap. Flat mode prints none of them outside /find/, whose pill then names
   the full fee as in 1.16.0 (find.css). */
#site .fee-pill{display:inline-block;max-width:100%;padding:5px 12px;border-radius:999px;background:var(--fee-pill);color:var(--fee-pill-ink);font-size:13px;font-weight:700;line-height:1.4;white-space:normal}
#site .fee-pill.is-xs{padding:3px 9px;font-size:11px;line-height:1.3}
#site .fee-pill.is-sm{padding:2px 9px;font-size:12px}
#site .fee-was-w s{color:var(--muted);font-weight:500;text-decoration-thickness:1.5px;font-variant-numeric:tabular-nums;white-space:nowrap}
#site .h-body>.fee-pill,#site .t-glass>.fee-pill{margin-top:-2px}
@media (forced-colors:active){ #site .fee-pill{border:1px solid CanvasText} }   /* the pill keeps its outline without its yellow */
/* 1.18.0 (22 Nov 2026, the owner's Recovery Score set): "เหมาะกับคนที่คะแนน “ความเครียด” ต่ำสุด" on the three plans
   site.json scorePlans names, while the check is open (app.js cardHTML, p.score-fit): small and muted under the place
   line of the horizontal card, under the plan name in the tall card's glass; two lines at most. A card with it
   (.has-fit) closes up its text column a little, so the city, the place, the line, the price and the fee tag stay
   inside the 176 px card (150 px on phones, below). Its text starts higher, where the HOT / NEW tag of a card with the
   photo on the start side would cover the city: on such a card the tag sits on the photo's top corner, as it does on a
   card with the photo on the end side */
#site .score-fit{max-width:100%;padding-top:1px;font-size:12px;line-height:1.35;color:var(--muted);text-wrap:balance;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}   /* the 1 px keeps a stacked Thai tone mark inside the clamp's clip */
#site .t-glass>.score-fit{font-size:11.5px;color:var(--glass-ink);opacity:.85}
#site .has-fit .h-body{gap:4px;padding-block:10px 8px}
#site .has-fit .h-body>.price-pill{margin-top:2px}
#site .plan-card.is-h:not(.img-right) .hot{right:auto;left:10px}   /* every card with the photo on the start side: the tag on the photo, never over the city (a 1.17.0 overlap, fixed for all cards) */
.t-book{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;text-decoration:none;color:var(--glass-ink);padding:3px 4px;line-height:1.25}
.t-book svg{width:15px;height:15px;color:var(--orange-ink);flex:none}
.t-book:hover{color:var(--blue-d)}
.soon{display:inline-flex;align-items:center;border-radius:999px;background:var(--mint);color:var(--mint-ink);font-size:11.5px;font-weight:600;padding:3px 9px;line-height:1.3}

/* HOT tag: an orange label in the top-right corner of the plans listed in DATA.hot */
.hot{position:absolute;right:12px;top:12px;z-index:3;display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px 0 8px;border-radius:9px;background:var(--hot);color:var(--hot-ink);font-family:var(--font-en);font-size:11.5px;font-weight:800;letter-spacing:.1em;line-height:1;white-space:nowrap;box-shadow:0 6px 16px rgba(204,74,13,.3);pointer-events:none}
.hot svg{width:13px;height:13px;flex:none}
.is-h .hot{right:10px;top:10px}
.is-t.is-hot .loc-pill{top:48px}
/* 1.8.0 (docs/FEATURES-1.8.md P): NEW, a plan set to New in Teapak Editor (DATA.new): the HOT tag's place and size, a
   sparkle and acts.new, in the site's blue (calm, apart from the HOT orange, readable on photos and on the card) */
.hot.is-new{background:var(--blue-fill);color:var(--on-blue);text-transform:uppercase}
.hot.is-new{box-shadow:0 6px 16px rgba(31,95,196,.32)}
.is-t.is-new .loc-pill{top:48px}
#site[data-lang="th"] .hot.is-new{font-weight:700;letter-spacing:.02em}

/* back faces */
.face.back{background:var(--card-bg);box-shadow:inset 0 0 0 1px var(--card-line);display:flex;flex-direction:column;gap:7px;color:var(--fg);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.is-h .face.back{border-radius:24px;padding:12px 16px}
.is-t .face.back{border-radius:36px;padding:20px 14px 14px}
.back .sub{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-weight:700;line-height:1.3}
.back h3{font-size:17px;font-weight:600;line-height:1.2}
#site[data-lang="th"] .back h3{font-weight:600}
.back .travel{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:11.5px;color:var(--muted);line-height:1.35}
.back .travel span{display:inline-flex;align-items:center;gap:4px}
.back .travel svg{width:13px;height:13px;color:var(--blue);flex:none}
.best-for{font-size:12px;line-height:1.4;color:var(--fg)}
.best-for b{font-weight:600;color:var(--blue-d)}
.levels{display:grid;gap:5px}
.lvl{display:flex;justify-content:space-between;align-items:baseline;gap:6px;background:var(--tile);border-radius:10px;padding:5px 9px;font-size:12px;line-height:1.3}
.lvl b{font-weight:600}
.lvl .lp{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}
.back-actions{display:flex;gap:6px;margin-top:auto;position:sticky;bottom:0;background:var(--card-bg);padding-top:4px}
.back-actions .btn{min-height:34px;padding:7px 12px;font-size:12px}
.back-actions .btn-primary{flex:1}
.is-h .back-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.is-h .back .travel{justify-content:flex-end}
.is-h .best-for{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.is-h .levels{grid-template-columns:repeat(3,1fr)}
.is-h .lvl{flex-direction:column;align-items:flex-start;gap:0;padding:4px 9px}
.is-t .back .travel{flex-direction:column}
.is-t .levels .cap{font-size:11px;color:var(--muted);font-weight:600}
.is-h .levels .cap{display:none}
.is-t .back-actions{flex-direction:column}
.plan-card.is-match .face.front{box-shadow:inset 0 0 0 2px var(--blue),0 0 0 4px var(--blue-l)}
.is-t.is-match .face.front{box-shadow:0 0 0 3px var(--blue),0 0 0 7px var(--blue-l)}

.plans-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:26px;font-size:13px;color:var(--muted)}
.plans-meta .hint{margin-left:auto;display:inline-flex;align-items:center;gap:6px}
.plans-meta .see-all-btn{min-height:44px;padding:10px 20px}
.plans-meta .hint svg{width:14px;height:14px}
.travel-chip{background:var(--blue-l)}
.footnotes{margin-top:10px;display:flex;flex-direction:column;gap:6px;max-width:900px}
.footnote{font-size:13px;color:var(--muted);line-height:1.5}
.footnote.is-on{background:var(--blue-l);color:var(--blue-d);border-radius:14px;padding:10px 14px;font-weight:500}
.helper a{color:var(--blue-d);font-weight:600}

/* ---------- why Teapak: bento ---------- */
.trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(190px,auto);gap:20px;margin-top:36px}
.ttile{background:var(--panel);border-radius:28px;padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:var(--shadow-l)}
.ttile:nth-child(1){grid-column:span 2;grid-row:span 2;position:relative;overflow:hidden;padding:0;justify-content:flex-end;min-height:400px;border-radius:32px}
.ttile:nth-child(1)>.photo{position:absolute;inset:0}
.ttile .tcap{position:relative;z-index:1;margin:12px;padding:20px 22px;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:24px;display:flex;flex-direction:column;gap:6px;box-shadow:inset 0 0 0 1px var(--glass-line)}
.ttile:nth-child(1) h3{font-size:22px}
.ttile:nth-child(1) p{font-size:15px;max-width:44ch}
.ttile .ic{width:46px;height:46px;border-radius:15px;background:var(--blue-xl);color:var(--blue);display:grid;place-items:center;margin-bottom:6px}
.ttile .ic svg{width:23px;height:23px}
.ttile h3{font-size:17px;font-weight:600;line-height:1.3}
#site[data-lang="th"] .ttile h3{font-weight:600}
.ttile p{font-size:13.5px;color:var(--muted)}
.ttile .tcap p{color:var(--glass-ink);opacity:.85}

/* ---------- consult band (template-parts/consult-band.php). 1.15.0 (the owner, 17 Nov 2026; his choices in
   Previews/consult-options, pictures 15-20): a bento of one box and a side column over the three equal columns (the box
   over two of them), ending level. The box (white with the thin blue line) holds the pill, "Book a consult", the text, a
   card for each consultant (at most four, in a centred row: the photo, their card label in the top corner, their price
   just above the name caption, where it covers no face), the buttons and the fine line; the side column holds "What our
   consultants can help with", three pale tiles and the disclaimer line. Up to 1280 px the side column goes under the
   box with its tiles in a row; on phones the cards go two by two and the tiles one under another. Before 17 Nov: the
   7 Nov bento (a text tile, the "Meet your consultant" photo tile and the facts row); 4 Nov the Chiang Mai card; 1.9.0
   to 1.14.0 a navy tile. ---------- */
#consult{--band-free:#DCF3E4;--band-free-ink:#17643A;--band-paid:#FFF0D6;--band-paid-ink:#7A4300;overflow-x:clip}   /* the price pill's colours, as the consultant page's (consult.css --cp-free-* / --cp-paid-*); clip: the slide-in never widens the page */
.consult-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.consult{grid-column:span 2;min-width:0;color:var(--fg);background:var(--card-bg);box-shadow:inset 0 0 0 1px var(--card-line);border-radius:28px;padding:36px 40px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center}   /* centred when the side column is the taller (no consultant with a page) */
.consult-head{display:flex;flex-direction:column;align-items:center;text-align:center}
.consult .free-pill{min-height:30px;padding:5px 12px;font-size:13px;line-height:1.35;background:var(--band-pill);color:var(--band-pill-ink)}
.consult h2{font-size:clamp(28px,3.2vw,40px);font-weight:700;line-height:1.15;margin-top:14px;text-wrap:balance;letter-spacing:-.025em}
.consult-head p{margin:12px auto 0;max-width:560px;font-size:16px;line-height:1.55;color:var(--muted);text-wrap:balance}
/* the cards: as many as there are, centred, none wider than 210 px; 3:4 like the consult photo and the square portraits */
.consult-people{list-style:none;margin:24px 0 0;padding:0;width:100%;display:flex;justify-content:center;gap:12px}
.consult-person{flex:0 1 210px;min-width:0}
.consult-card{position:relative;display:block;aspect-ratio:3/4;border-radius:22px;overflow:hidden;isolation:isolate;color:inherit;text-decoration:none}
.consult-card>.photo{position:absolute;inset:0;background-position:50% 18%}
/* the card label (Teapak Editor's Card label box: "Top consultant"), as the plan cards' NEW tag (.hot.is-new): the site's blue, a
   gold star; only while the consultant has one (data-ct-show) */
.consult-label{position:absolute;inset-inline-start:8px;top:8px;z-index:2;display:inline-flex;align-items:center;gap:5px;min-height:26px;max-width:calc(100% - 16px);padding-block:4px;padding-inline:8px 10px;border-radius:9px;background:var(--blue-fill);color:var(--on-blue);font-size:12px;font-weight:700;line-height:1.25;box-shadow:0 6px 16px rgba(31,95,196,.32);pointer-events:none}
.consult-label svg{flex:none;width:12px;height:12px;color:#FFD66B}
.consult-label [data-ct]{min-width:0;overflow-wrap:anywhere}
/* the price and the name caption, stacked at the foot of the card */
.consult-foot{position:absolute;inset-inline:8px;bottom:8px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.consult-fee{display:inline-flex;align-items:center;gap:7px;max-width:100%;min-height:30px;padding-block:5px;padding-inline:11px 14px;border-radius:999px;background:var(--band-free);color:var(--band-free-ink);font-size:15px;font-weight:700;line-height:1.3;letter-spacing:0;vertical-align:top}
.consult-fee[data-paid="1"]{background:var(--band-paid);color:var(--band-paid-ink)}
.consult-fee svg{flex:none;width:15px;height:15px}
.consult-fee [data-ct]{min-width:0}   /* a fee with no break in it wraps inside the pill */
.consult-foot .consult-fee{min-height:26px;padding-block:3px;padding-inline:8px 10px;gap:5px;font-size:12.5px;box-shadow:0 4px 12px rgba(11,27,58,.14)}
.consult-foot .consult-fee svg{width:13px;height:13px}
/* the caption: the name with a small arrow, the role on its own full-width line; one height for every caption of a
   language (room for a two-line role such as "Reset Consultant, English"), its texts centred in it */
.consult-cap{align-self:stretch;min-height:72px;border-radius:16px;background:var(--glass);color:var(--glass-ink);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px var(--glass-line);padding:9px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n g" "r r";align-content:center;column-gap:6px;row-gap:1px;text-align:start}
.consult-cap b{grid-area:n;align-self:center;min-width:0;font-size:15px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.consult-cap .r{grid-area:r;min-width:0;font-size:12px;line-height:1.3;opacity:.85}
.consult-cap .go{grid-area:g;align-self:center;width:22px;height:22px;border-radius:50%;background:var(--blue-fill);color:var(--on-blue);display:grid;place-items:center}
.consult-cap .go svg{width:12px;height:12px}
.consult-card:hover .go{background:var(--btn-hover)}
.consult-actions{margin-top:24px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
.consult-actions .btn{min-height:46px;padding-inline:22px;font-size:14.5px}
.consult-actions .btn-primary{min-height:56px;padding-inline:40px;font-size:16px}
.consult .btn-outline{color:var(--blue-d);box-shadow:inset 0 0 0 1.5px var(--blue-d)}   /* the base outline button is white (for photos): blue on the white box */
.consult .btn-outline:hover{background:var(--blue-xl)}
.consult .fine{margin-top:12px;font-size:13px;line-height:1.5;color:var(--muted);text-align:center;text-wrap:balance}
/* the side column: its small heading, the three tiles (the icon top, the title and its line at the foot) sharing the
   height, and the disclaimer line */
.consult-side{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-width:0}
.consult-good-h{margin:0;padding-inline:6px;font-size:14px;font-weight:600;line-height:1.4;color:var(--muted)}
.consult-good{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:16px;min-width:0}
.consult-tile{border-radius:28px;background:var(--tile);padding:22px 24px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto auto;row-gap:4px;min-width:0}
.consult-tile .ic{grid-row:1;justify-self:start;width:48px;height:48px;border-radius:15px;background:var(--card-bg);color:var(--blue-d);display:grid;place-items:center;box-shadow:inset 0 0 0 1px var(--card-line)}
.consult-tile .ic svg{width:24px;height:24px}
.consult-tile b{grid-row:3;margin-top:10px;font-size:21px;font-weight:700;line-height:1.25;letter-spacing:-.01em}
.consult-tile .s{grid-row:4;font-size:15px;line-height:1.45;color:var(--muted);text-wrap:pretty}
.consult-note{margin:0;padding-inline:6px;font-size:12.5px;line-height:1.45;color:var(--muted)}   /* --muted: 5.4:1 on the page, as the footer prints the same line */
#site[data-lang="th"] .consult-fee{font-weight:600}
#site[data-lang="th"] .consult h2{letter-spacing:0}
#site[data-lang="th"] :is(.consult-tile b,.consult-cap b){font-weight:600;line-height:1.35;letter-spacing:0}
#site[data-lang="th"] .consult-tile .s{line-height:1.55}
#site[data-lang="th"] .consult-cap .r{line-height:1.45}
#site[data-lang="th"] .consult-label{font-weight:600}
#site[data-lang="th"] .consult-cap{min-height:76px}   /* a two-line Thai role: 75.8 px */
/* the owner's slide (17 Nov: "animation slide left and right", his choice "Slide in when it appears"; app.js
   initBandSlide sets data-slide on the grid while the band is below the screen, then .is-in on each part as it reaches
   the screen): the box glides in from its side and the side column from the other, for every visitor, outside the
   reduced-motion block (his rule for the videos, 8 Nov). Without JavaScript nothing is hidden. */
.consult-grid[data-slide]>.consult:not(.is-in){opacity:0;transform:translateX(-64px)}   /* each part waits for its own .is-in (app.js initBandSlide), set off at once */
.consult-grid[data-slide]>.consult-side:not(.is-in){opacity:0;transform:translateX(64px)}
.consult-grid[data-slide]>.is-in{transition:opacity .7s cubic-bezier(.2,.75,.2,1),transform .9s cubic-bezier(.2,.75,.2,1)}   /* only the way in moves */
@media (min-width:1281px){ .consult-grid[data-slide]>.consult-side.is-in{transition-delay:.12s} }   /* side by side, the tiles follow the box */
@media print{ .consult-grid[data-slide]>*{opacity:1!important;transform:none!important} }
@media (max-width:1280px){   /* iPads and small laptops: the box full width, the side column under it, its tiles in a row */
  .consult-grid{grid-template-columns:minmax(0,1fr)}
  .consult{grid-column:auto}
  .consult-side{grid-template-rows:none}
  .consult-good{grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:720px){   /* phones: the cards two by two (an odd last one across both), the buttons as before (the blue one over the other two), the tiles one under another */
  .consult-grid{gap:12px}
  .consult{padding:26px 16px 20px;border-radius:24px}
  .consult h2{font-size:30px}
  .consult-head p{font-size:15px}
  .consult-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
  .consult-person:last-child:nth-child(odd){grid-column:1/-1}
  .consult-card{aspect-ratio:4/5}
  .consult-person:last-child:nth-child(odd) .consult-card{aspect-ratio:8/5}
  .consult-label{inset-inline-start:6px;top:6px;max-width:calc(100% - 12px);font-size:11.5px}
  .consult-foot{inset-inline:6px;bottom:6px;gap:5px}
  .consult-cap{min-height:67px;padding:8px 10px;border-radius:14px}
  #site[data-lang="th"] .consult-cap{min-height:71px}
  .consult-cap b{font-size:14px}
  .consult-cap .r{font-size:11.5px}
  .consult-cap .go{width:20px;height:20px}
  .consult-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:22px;align-items:stretch}   /* LINE and Email one height when one of them wraps */
  .consult-actions .btn{width:100%;white-space:normal;text-align:center;padding-inline:12px}
  .consult-actions .btn-primary{grid-column:1/-1}
  .consult-actions .btn:not(.btn-primary){min-height:44px}
  .consult-good{grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:12px}
  .consult-tile{border-radius:24px;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:3px;padding:18px;align-content:center}
  .consult-tile .ic{grid-row:1/3;align-self:center}
  .consult-tile b{grid-row:1;grid-column:2;margin-top:0;font-size:18px;align-self:end}
  .consult-tile .s{grid-row:2;grid-column:2;font-size:14px;align-self:start}
}
@media (max-width:380px){ .consult-actions{grid-template-columns:1fr} }
@media (max-width:340px){ .consult-people{grid-template-columns:minmax(0,1fr)} .consult-card,.consult-person:last-child:nth-child(odd) .consult-card{aspect-ratio:8/5} }   /* the smallest phones: one card a row, so the label and the price never cover the face */

/* ---------- inner pages: shared page head (Vlog, About us) ---------- */
.page-head>.wrap{padding-top:64px;display:flex;flex-direction:column;align-items:center;text-align:center}
.ph-pill{display:inline-flex;align-items:center;border-radius:999px;background:var(--blue-xl);color:var(--blue-d);font-size:13px;font-weight:600;padding:6px 14px;line-height:1.3;box-shadow:inset 0 0 0 1px var(--blue-l)}
.ph-title{margin-top:18px;font-size:clamp(34px,4.4vw,54px);font-weight:800;line-height:1.1;letter-spacing:-.035em;text-wrap:balance;max-width:20ch}
#site[data-lang="en"] .ph-title{font-family:var(--font-title)}
#site[data-lang="th"] .ph-title{font-weight:600;line-height:1.3;letter-spacing:0}
.ph-sub{margin-top:16px;max-width:640px;font-size:18px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.ph-actions{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.btn-ghost{background:var(--panel);color:var(--fg);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.btn-ghost:hover{box-shadow:inset 0 0 0 1.5px var(--blue);color:var(--blue-d)}
.btn-lg{min-height:52px;padding:14px 26px;font-size:15px}
.btn-secondary:hover{background:var(--blue-fill);color:var(--on-blue)}
.band-tight>.wrap{padding-top:56px}
.band-mid>.wrap{padding-top:80px}

/* ---------- About us page: team grid (reference: "Let's meet our team") ---------- */
.team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.member{background:var(--tile);border-radius:28px;padding:34px 22px 26px;text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0}
.avatar{position:relative;flex:none;width:84px;height:84px;border-radius:50%;overflow:hidden;isolation:isolate;box-shadow:0 0 0 4px var(--panel),var(--shadow-s)}
.avatar>.photo{position:absolute;inset:0}
.member .avatar{margin-bottom:18px}
.member h3{font-size:18px;font-weight:700;line-height:1.3}
#site[data-lang="th"] .member h3{font-weight:600}
.member .role{margin-top:2px;font-size:14px;color:var(--blue-d);font-weight:600}
#site[data-lang="th"] .member .role{font-weight:600}
.member .bio{margin-top:10px;font-size:14px;color:var(--muted);line-height:1.5;max-width:28ch}
.member .grow{flex:1;min-height:12px}
.profile-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:var(--blue-d);text-decoration:none;margin-bottom:12px;border-radius:999px;background:var(--blue-xl);padding:6px 12px}
.profile-link svg{width:14px;height:14px;stroke-width:2.4}
.profile-link:hover{background:var(--blue-l)}
.soc-row{display:flex;gap:16px;color:var(--faint)}
.soc-row a{color:inherit;display:grid;place-items:center;width:28px;height:28px;border-radius:8px}
.soc-row a:hover{color:var(--blue-d)}
.soc-row svg{width:19px;height:19px}
.partner{background:var(--blue-xl);border-radius:32px;padding:48px 56px;display:flex;align-items:center;justify-content:space-between;gap:24px 48px;flex-wrap:wrap}
.partner>div:first-child{max-width:600px}
.partner h2{font-size:clamp(26px,3vw,36px);font-weight:700;line-height:1.2;letter-spacing:-.025em}
#site[data-lang="th"] .partner h2{font-weight:600}
.partner p{margin-top:12px;font-size:16px;color:var(--muted)}
.partner-acts{display:flex;gap:12px;flex-wrap:wrap}
.btn .ar{width:17px;height:17px;stroke-width:2.2}

/* ---------- consult band: hidden on the consultant page (its own look); the 7 Nov tile "Meet your consultant" (.meet) is
   gone since 17 Nov (the cards, above) ---------- */
#site[data-page="consultant"] #consult{display:none}

/* ---------- Consultant page: since 1.11.0 (docs/FEATURES-1.11.md A, the owner's reference page) all of it is in
   assets/css/consult.css, loaded on that page only; the 1.9.0 / 1.10.0 backdrop, steps, booking card and cards are
   gone. The breadcrumb stays here: the plan pages use it (plan-page.php). ---------- */
.crumbs{padding-top:36px;font-size:14px;color:var(--muted);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--blue-d)}
.crumbs [aria-current]{color:var(--fg);font-weight:600}
.crumbs svg{width:14px;height:14px;stroke-width:2.2}

/* ---------- Reset Plans page (/reset-plans/): every plan in one grid ---------- */
.rp-tools{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap}
.rp-chips{display:flex;gap:8px;flex-wrap:wrap}
.rp-chip{padding:9px 15px;border-radius:999px;font-size:14px;line-height:1.2;background:var(--panel);box-shadow:inset 0 0 0 1px var(--line);color:var(--fg);white-space:nowrap;transition:background .15s,color .15s}
.rp-chip:hover{background:var(--blue-xl)}
.rp-chip[aria-pressed="true"]{background:var(--blue-fill);color:var(--on-blue);box-shadow:none;font-weight:600}   /* 1.17.0 (21 Nov 2026): the pressed chip in the site's blue, as the owner's "Pubpular trips" reference */
.rp-count{font-size:14px;color:var(--muted);white-space:nowrap}
/* 1.11.0 (docs/FEATURES-1.11.md B): the chips, then the "Categories" menu (#rp-dd, the header's .dd) at the row's end,
   the count under them. The button is a chip's size in the header pill's colours; while the pick has no chip (Hot
   Deals) it names the pick, with its icon, in the pressed chip's colours (.is-on); the menu lists each pick with its icon tile (the search panel's .ci look). */
.rp-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px 16px}
.rp-tools>.rp-count{grid-column:1/-1}
.rp-dd-btn{min-height:0;padding:9px 12px 9px 13px;gap:7px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.2}
.rp-dd-ic{flex:none;display:grid}
.rp-dd-ic svg{width:16px;height:16px}
.rp-dd-btn.is-on{background:var(--blue-fill);color:var(--on-blue)}   /* 1.17.0: the pressed chip's blue */
.rp-dd-btn.is-on .chev{color:inherit;opacity:.75}
.rp-menu{width:max-content;min-width:min(330px,calc(100vw - 32px));max-width:min(400px,calc(100vw - 32px));max-height:min(470px,70vh);overflow-y:auto;overscroll-behavior:contain}
.rp-menu button{gap:11px;padding:6px 12px 6px 7px;line-height:1.3;white-space:normal}
.rp-mi{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--blue-xl);color:var(--blue-d)}
.rp-mi svg{width:16px;height:16px}
.rp-menu button[aria-checked="true"] .rp-mi{background:var(--blue-fill);color:var(--on-blue)}
.rp-menu button .rp-mi.is-hot{background:var(--hot);color:var(--hot-ink)}
/* 1.17.0 (21 Nov 2026, docs/FEATURES-1.17.md §2; the owner's references "Pubpular trips" and "Travel recommend"): the
   page's two sections under the chip row (.rp-sec: "Popular trips" and "All trips", each with a .sec-head: the title and
   its line left, the filled "Book a consult" right on All trips), the flat Popular trips cards (.pop-card: a 3:2 photo
   with 12 px corners, a row with the plan's small icon, its name and the price to pay, two grey lines ending in "See the
   plan"; the whole card one link, .card-hit) and the All trips card (.rp-card: a white 16 px panel with a soft shadow,
   the photo flush at the top at 5:4, capped at 300 px tall where a card is wide (the Activities page's two columns), the
   name with the star and score at its right only when Teapak Editor gave the plan one (.rp-score), two grey lines, the
   facts small, the foot: the Eco price to pay with the regular price crossed out and "per person" on one line, the short
   fee tag under it, then the two buttons side by side, "Book a consult" filled first). No level tiles any more (the level
   is picked on the plan page); the .rp-lvl rules stay for a page cached with an older app.js. Deep Recovery's wide card
   takes the same panel. */
.rp-sec{margin-top:40px}
.rp-sec-head{align-items:flex-end;gap:14px 32px}
.rp-sec-head h2{margin-top:0;font-size:clamp(24px,2.6vw,32px);font-weight:800;line-height:1.2;letter-spacing:-.025em}
#site[data-lang="th"] .rp-sec-head h2{font-weight:700;line-height:1.35;letter-spacing:0}
.rp-sec-head .intro{margin-top:8px;font-size:15.5px;line-height:1.55;max-width:62ch}
.rp-sec-head .btn{flex:none;min-height:46px;padding:12px 22px}
.pop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 40px;margin-top:26px}
.pop-card{position:relative;display:flex;flex-direction:column;min-width:0}
.pop-card .card-hit{position:absolute;inset:0;z-index:1;display:block;border-radius:12px;-webkit-tap-highlight-color:transparent}
.pop-card .card-hit:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
.pop-photo{position:relative;aspect-ratio:3/2;border-radius:12px;overflow:hidden;isolation:isolate;background:var(--tile)}
.pop-photo>.photo{position:absolute;inset:0}
.pop-row{display:flex;align-items:flex-start;gap:10px;margin-top:16px}
.pop-ic{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--blue-xl);color:var(--blue-d)}
.pop-ic svg{width:16px;height:16px}
.pop-name{flex:1;min-width:0;align-self:center;font-size:15.5px;font-weight:700;line-height:1.35;letter-spacing:-.01em}
#site[data-lang="th"] .pop-name{letter-spacing:0}
.pop-price{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:end}
.pop-price b{font-size:15.5px;font-weight:700;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap}
.pop-line,.pop-best{font-size:13.5px;line-height:1.5;color:var(--muted)}
.pop-line{margin-top:10px}
.pop-best{margin-top:4px}
.pop-more{position:relative;z-index:2;display:inline-flex;align-items:center;gap:3px;color:var(--blue-d);font-weight:600;text-decoration:none;white-space:nowrap}
.pop-more svg{width:14px;height:14px;stroke-width:2.2}
.pop-more:hover{text-decoration:underline}
.rp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.rp-card{position:relative;background:var(--panel);border-radius:16px;box-shadow:var(--shadow-s);border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.rp-photo{position:relative;flex:none;aspect-ratio:5/4;max-height:300px;margin:0;border-radius:0;overflow:hidden;isolation:isolate;background:var(--tile)}
.rp-photo>.photo{position:absolute;inset:0}
.rp-photo .loc-pill{right:auto;left:12px;top:auto;bottom:12px;max-width:calc(100% - 24px)}
.rp-body{flex:1;display:flex;flex-direction:column;gap:10px;padding:16px 18px 18px;min-width:0}
.rp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.rp-head h3{flex:1;min-width:0}
.rp-body h3{font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.015em}
.rp-score{flex:none;display:inline-flex;align-items:center;gap:4px;padding-top:2px;font-size:14px;font-weight:700;line-height:1.3;color:var(--fg);font-variant-numeric:tabular-nums;white-space:nowrap}
.rp-score svg{width:16px;height:16px;color:var(--orange-ink)}
.rp-body .soon{align-self:flex-start}
.rp-line,.rp-best{font-size:13.5px;line-height:1.5;color:var(--muted)}
.rp-line{margin-top:-2px}
.rp-best{margin-top:-4px}
.rp-facts{display:flex;flex-wrap:wrap;gap:5px}
.rp-fact{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:var(--tile);padding:4px 9px 4px 7px;font-size:11.5px;line-height:1.3;color:var(--nav-ink)}
.rp-fact svg{width:12px;height:12px;color:var(--blue);flex:none}
.rp-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.rp-lvl{border-radius:14px;box-shadow:inset 0 0 0 1px var(--line);padding:8px 10px;min-width:0}
.rp-lvl small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);line-height:1.3}
.rp-lvl b{display:block;margin-top:2px;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.rp-foot{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding-top:12px;border-top:1px solid var(--line)}
.rp-price{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.rp-from{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;min-width:0}
.rp-from small{font-size:12.5px;font-weight:600;color:var(--muted);line-height:1.3}
.rp-from b{font-size:20px;font-weight:800;letter-spacing:-.02em;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
.rp-from span{font-size:12.5px;color:var(--muted);line-height:1.3}
/* 1.16.1: the crossed-out regular price on the price line; the fee tag under it (1.17.0: in .rp-price; .rp-body>.fee-pill
   serves a page cached with an older app.js) */
#site .rp-body>.fee-pill{align-self:flex-start;margin-top:-4px}
#site .rp-price>.fee-pill{align-self:flex-start}
#site .rp-from .fee-was-w{display:inline;font-size:12.5px}
#site .rp-from .fee-was-w+span{display:inline}
/* the two buttons share the foot's width (wp.css .rp-acts right-aligns them on the older card) */
#site .rp-card .rp-acts{display:flex;flex-wrap:wrap;justify-content:stretch;gap:8px;margin-left:0}
#site .rp-card .rp-acts .btn{flex:1 1 auto;min-height:42px;padding:10px 14px;font-size:13.5px}
.rp-card.rp-deep{grid-column:1/-1;flex-direction:row;background:linear-gradient(135deg,var(--blue-xl),var(--panel) 70%)}
.rp-deep .rp-photo{width:42%;aspect-ratio:auto;max-height:none;height:auto;min-height:300px}
.rp-deep .rp-body{padding:30px 40px;justify-content:center;gap:12px}
.rp-deep h3{font-size:28px;letter-spacing:-.025em}
.rp-deep .rp-line{max-width:52ch;font-size:14.5px}
.rp-deep .rp-foot{margin-top:6px;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px}
.rp-deep .rp-foot .btn{flex:none;min-height:44px;padding:10px 18px;font-size:13.5px}
.rp-notes{margin-top:32px}
#site[data-lang="th"] .rp-lvl small{letter-spacing:0;text-transform:none;font-size:11.5px}
#site[data-lang="th"] .rp-body h3{font-weight:700;letter-spacing:0}

/* ---------- Sign in / Register page (/sign-in/) ----------
   1.7.0 (docs/FEATURES-1.7.md §C; Referance/v17/signin-reference-tripmocha*.png) in the site's bento style: two tiles
   with the site's radius, gap and soft shadows, not the reference's edge-to-edge halves. The photo tile (~55 %) carries
   the white wordmark in its middle over a soft dark overlay, the tagline under it and the perks as glass chips at the
   bottom; Register crossfades to its own photo (.auth-art-reg) while it has one. The form tile (~45 %) shows one view,
   centred, with outlined fields. Phones and tablets: the photo tile becomes a banner over the form. */
.auth{--auth-bad:#B93E08;display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);gap:24px;align-items:stretch;padding-top:40px}
.auth-art{position:relative;border-radius:32px;overflow:hidden;isolation:isolate;min-height:640px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 32px 96px;box-shadow:var(--shadow-l);color:#FFFFFF;text-align:center}
.auth-art>.photo{position:absolute;inset:0;z-index:-2}
.auth-art::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(110% 75% at 50% 46%,rgba(7,18,43,.30),rgba(7,18,43,.56)),linear-gradient(180deg,rgba(7,18,43,0) 60%,rgba(7,18,43,.32))}
.auth-art-reg{opacity:0}
.auth[data-view="register"] .auth-art-reg{opacity:1}
.auth-brand{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:460px}
.auth-mark{font-family:var(--font-mark)!important;font-weight:700;font-size:clamp(46px,5.2vw,72px);line-height:1;letter-spacing:-.02em;color:#FFFFFF;white-space:nowrap;text-shadow:0 4px 30px rgba(7,18,43,.35)}
.auth-mark .dot{color:var(--orange)}
.auth-mark .co{color:#A8D3F5}
/* 1.15.0 (the owner's logo, 12 Nov): the palm symbol in white, centred above the big wordmark (span.auth-sym, as the
   mock-up he chose): 1.05em of the wordmark's own size tall (the breakpoints below set both sizes) and .22em over it,
   with a soft shadow like the wordmark's. Its ::before is the symbol (the logo-mark.png mask, as .mark-sym), so the
   shadow, on the span, follows the palm's outline (a mask on the same box would cut its own shadow away). Forced
   colours (Windows contrast themes): the text colour, no shadow, as the wordmark gets. */
.auth-sym{display:block;flex:none;font-size:clamp(46px,5.2vw,72px);width:.9975em;height:1.05em;margin:0 auto .22em;filter:drop-shadow(0 4px 22px rgba(7,18,43,.35))}
.auth-sym::before{content:"";display:block;width:100%;height:100%;background-color:#FFFFFF;-webkit-mask:url(../img/logo-mark.png) center/contain no-repeat;mask:url(../img/logo-mark.png) center/contain no-repeat}
@media (forced-colors:active){ .auth-sym{filter:none} .auth-sym::before{forced-color-adjust:none;background-color:CanvasText} }
.auth-tagline{font-size:19px;font-weight:600;line-height:1.4;color:rgba(255,255,255,.95);text-wrap:balance;text-shadow:0 2px 16px rgba(7,18,43,.3)}
.auth-perks{position:absolute;inset-inline:20px;bottom:22px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.auth-perks li{display:inline-flex;align-items:center;gap:8px;padding-block:7px;padding-inline:8px 14px;border-radius:999px;background:rgba(255,255,255,.16);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);font-size:13.5px;font-weight:500;line-height:1.3;color:#FFFFFF;text-align:start}
.auth-perks svg{width:20px;height:20px;flex:none;padding:3px;border-radius:50%;background:#FFFFFF;color:#1F5FC4;stroke-width:3}
.auth-card{background:var(--panel);border-radius:32px;box-shadow:var(--shadow-xl);border:1px solid var(--line);padding:44px 48px 24px;display:flex;flex-direction:column;min-width:0;min-height:640px}
.auth-views{flex:1;display:flex;flex-direction:column;justify-content:center}
.auth-panel{display:flex;flex-direction:column;gap:16px;width:100%;max-width:440px;margin-inline:auto}
.auth-panel h1{font-size:32px;font-weight:800;line-height:1.15;letter-spacing:-.03em;text-wrap:balance;outline:none}
.auth-sub{margin-top:-8px;font-size:15px;color:var(--muted)}
.auth-social{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-social .btn{min-height:48px;border-radius:12px;font-size:15px;white-space:normal;text-align:center}
.auth-social .btn svg{width:20px;height:20px}
.btn-google{background:var(--panel);color:var(--fg);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.btn-google:hover{box-shadow:inset 0 0 0 1.5px var(--blue)}
.auth-or{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;color:var(--muted);line-height:1.3;margin-block:2px}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
.field{display:flex;flex-direction:column;gap:7px;min-width:0}
.fl{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);line-height:1.3}
.inp{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border-radius:14px;background:var(--tile);box-shadow:inset 0 0 0 1.5px transparent;transition:box-shadow .15s,background .15s}
.inp:focus-within{background:var(--panel);box-shadow:inset 0 0 0 1.5px var(--blue)}
.inp>svg{width:18px;height:18px;color:var(--muted);flex:none}
:where(#site) .inp input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:15.5px;color:var(--fg);padding:13px 0;margin:0}
.inp input::placeholder{color:var(--faint);opacity:1}
.inp .pre{font-weight:600;font-size:15px;padding-right:10px;border-right:1px solid var(--line-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.eye{width:36px;height:36px;margin-right:-6px;border-radius:10px;display:grid;place-items:center;color:var(--muted);flex:none}
.eye svg{width:19px;height:19px}
.eye .i-hide,.eye[aria-pressed="true"] .i-show{display:none}
.eye[aria-pressed="true"] .i-hide{display:block}
.eye:hover{color:var(--fg)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field .hint{font-size:12.5px;color:var(--muted)}
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:8px 12px;flex-wrap:wrap;font-size:14px}
.ckbox{display:inline-flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;cursor:pointer}
.ckbox input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--blue-fill);flex:none}
.auth-row a,.ckbox a,.auth-switch button{color:var(--blue-d);font-weight:600;text-decoration:none}
.auth-row a:hover,.ckbox a:hover,.auth-switch button:hover{text-decoration:underline}
.auth-go{width:100%;min-height:54px;font-size:16px;border-radius:14px;margin-top:2px}
.auth-switch{text-align:center;font-size:14.5px;color:var(--muted)}
.auth-fine{margin-top:auto;padding-top:22px;display:flex;gap:8px;justify-content:center;align-items:center;text-align:center;font-size:12.5px;color:var(--muted)}
.auth-fine svg{width:15px;height:15px;flex:none}
/* 1.7.0: the reference's outlined fields (1.5 px line, 12 px radius, a leading icon) under sentence-case labels; the
   other forms (.inp of the consult form and the checkout) keep their own look */
.auth .field{gap:6px}
.auth .fl{font-size:13.5px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--fg)}
.auth .inp{min-height:50px;border-radius:12px;background:var(--panel);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.auth .inp:focus-within{box-shadow:inset 0 0 0 1.5px var(--blue),0 0 0 4px var(--blue-xl)}
.auth .inp input{font-size:15px;padding-block:12px}
.auth .eye{margin-right:0;margin-inline-end:-6px}
.auth .field.is-bad .inp,.auth .field.is-bad .inp:focus-within{box-shadow:inset 0 0 0 2px var(--auth-bad)}
.auth-err{font-size:13px;font-weight:600;line-height:1.45;color:var(--auth-bad)}
.auth-switch{margin-top:2px}
.auth-fine span{text-wrap:balance}
#site[data-page="account"] #consult{display:none}
#site[data-lang="th"] .fl,#site[data-lang="th"] .auth-or{letter-spacing:0;text-transform:none;font-size:13px}
#site[data-lang="th"] .auth-panel h1,#site[data-lang="th"] .auth-tagline{font-weight:700;letter-spacing:-.01em;line-height:1.3}
#site[data-lang="th"] .auth .fl{font-size:14px}
/* 1.14.0 (docs/FEATURES-1.14.md A): real accounts. The header's signed-in pill (an icon and the first name; since 1.15.0
   the filled person icon, .hdr-ic in the header block: the pill rules stay for one release, for pages a cache stored
   before 1.15.0); the activation banner; field hints and errors; the line over the button (.auth-status: an error, or green when done);
   the button's spinner while it works; date of birth and sex (a date input and a select in the outlined field); the
   read-only email of My account; "Check your email"; My account's Book a consult and Sign out; the honeypot. */
.pill-user{gap:8px;padding-inline:14px 20px;max-width:220px}
.pill-user svg{width:18px;height:18px;flex:none}
.pill-user .pill-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:720px){ .pill-user{max-width:150px;padding-inline:12px 16px;gap:6px} .pill-user svg{width:16px;height:16px} }
@media (max-width:340px){ .pill-user{max-width:110px} .pill-user svg{display:none} }
.auth-banner{display:block;margin:0 auto 18px;width:100%;max-width:440px;padding:12px 16px;border-radius:14px;font-size:14.5px;font-weight:600;line-height:1.45}
.auth-banner.is-ok{background:var(--mint);color:var(--mint-ink)}
.auth-banner.is-bad{background:color-mix(in srgb,var(--auth-bad) 12%,var(--panel));color:var(--auth-bad)}
.auth-hint{font-size:12.5px;line-height:1.45;color:var(--muted)}
.auth-status{font-size:14px;font-weight:600;line-height:1.5;color:var(--auth-bad);text-align:center}
.auth-status.is-ok{color:var(--mint-ink)}
.auth-link{align-self:flex-start;padding:2px 0;font-size:13.5px;font-weight:700;color:var(--blue-d);text-decoration:underline;text-underline-offset:3px}
.auth-link[aria-busy="true"]{opacity:.6}
.auth-go,.auth-out{position:relative;gap:10px}
.auth-spin{display:none;width:18px;height:18px;flex:none;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;opacity:.85}
.is-busy .auth-spin{display:block;animation:tp-auth-spin .8s linear infinite}
.auth-go.is-busy,.auth-out.is-busy{cursor:progress}
.auth-go:disabled{opacity:1}
@keyframes tp-auth-spin{to{transform:rotate(360deg)}}
.auth .inp input[type="date"]{min-height:24px;font-family:inherit;color:var(--fg)}
.auth .inp input[type="date"]:invalid:not(:focus):not(:out-of-range){color:var(--faint)}
.auth .inp:has(input[type="date"]){position:relative}
.auth .inp input[type="date"]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;margin:0;padding:0;opacity:0;cursor:pointer}   /* the field's own icon shows; a click anywhere opens the calendar */
.auth .field.is-bad .auth-hint{display:none}
.auth .inp-select{position:relative}
.auth .inp select{flex:1;min-width:0;height:48px;margin:0;padding:0 26px 0 0;border:0;background:none;outline:none;font:inherit;font-size:15px;color:var(--fg);-webkit-appearance:none;appearance:none;cursor:pointer}
.auth .inp select:invalid{color:var(--faint)}
.auth .inp select option{color:#0B1B3A;background:#FFFFFF}
.auth .inp-select::after{content:"";position:absolute;inset-inline-end:16px;top:50%;width:8px;height:8px;margin-top:-6px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);transform:rotate(45deg);pointer-events:none}
.auth .inp.is-fixed{background:var(--tile);box-shadow:inset 0 0 0 1.5px var(--line)}
.auth .inp.is-fixed input{color:var(--muted)}
.auth .field.is-bad .ckbox input{outline:2px solid var(--auth-bad);outline-offset:2px}
.auth-hp{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.auth[data-view="check"] .auth-art-reg{opacity:1}
.auth-check{text-align:center;align-items:center}
.auth-check .auth-sub{margin-top:-4px;max-width:36ch;text-wrap:pretty}
.auth-check .auth-hint{max-width:36ch}
.auth-check-ic{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--blue-xl);color:var(--blue-d)}
.auth-check-ic svg{width:30px;height:30px}
.auth-mail{font-weight:700;color:var(--fg);overflow-wrap:anywhere}
.auth-acts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-acts .btn{min-height:48px;border-radius:12px;font-size:15px;white-space:normal;text-align:center}
.auth-out{background:var(--panel);color:var(--fg);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.auth-out:hover{box-shadow:inset 0 0 0 1.5px var(--auth-bad);color:var(--auth-bad)}
@media (prefers-reduced-motion:reduce){ .is-busy .auth-spin{animation-duration:2.4s} }

/* ---------- footer ---------- */
.foot{margin-top:96px;border-top:1px solid var(--line);background:var(--panel)}
.foot>.wrap{padding-block:48px 28px}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px}
.foot-grid>*{min-width:0}
.foot h3{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:0 0 12px;font-weight:700}
.foot a{text-decoration:none;color:var(--fg);font-size:14px}
.foot a:hover{color:var(--blue-d)}
.foot li{margin-bottom:9px}
.soc a{display:inline-flex;align-items:center;gap:8px}
.soc svg{width:18px;height:18px;color:var(--blue);flex:none}
.foot .tag{margin-top:12px;color:var(--muted);font-size:14px;max-width:36ch}
.foot .note{font-size:12.5px;color:var(--muted);margin-top:10px}
.foot-bottom{margin-top:36px;padding-top:18px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted);display:flex;flex-direction:column;gap:4px}

/* ---------- toast ---------- */
.toast:empty{padding:0;box-shadow:none;opacity:0;pointer-events:none}
.toast{position:fixed;left:50%;bottom:max(20px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--fg);color:var(--page);padding:12px 18px;border-radius:999px;font-size:14px;font-weight:500;box-shadow:var(--shadow-l);z-index:60;max-width:calc(100vw - 32px);text-align:center;line-height:1.4}

/* ---------- smaller screens ---------- */
@media (max-width:1180px){
  .bento-row{column-gap:36px;grid-template-columns:280px minmax(0,1fr)}
}
@media (max-width:1100px){
  .hero{height:640px}   /* 1.15.0: the search bar (1.16.0: two or three rows) inside the card, under the texts */
  .plans-band>.wrap{padding-top:48px}
  .search{height:auto;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 16px 16px}   /* 1.16.0: the rows, wp.css */
  .find{grid-column:span 2;height:56px}
  .cell::before{top:6px;bottom:6px}
}
@media (max-width:900px){
  .bento-row{display:block}
  .offers{height:auto;background:none;box-shadow:none;border-radius:0;padding:0}
  .offers h2{text-align:left;padding:0;font-size:24px}
  .cat-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:16px var(--gutter-r) 6px var(--gutter);margin:0 calc(-1*var(--gutter-r)) 0 calc(-1*var(--gutter));-webkit-mask-image:none;mask-image:none;scroll-padding-inline:var(--gutter)}
  .cat-item{flex:none}
  .cat-chip,.cat-chip[aria-pressed="true"]{padding:9px 15px;font-size:14px;border-radius:999px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--line);white-space:nowrap;margin:0;color:var(--fg);font-weight:400}
  .cat-chip:is([aria-pressed="true"],[aria-current="true"]){font-weight:600;color:var(--blue-d)}
  .cat-chip::before{inset-block:0;border-radius:999px}   /* the pill's fill (1.7.0: it sweeps in from the inline start) */
  .cat-chip::after,.cat-chip[aria-pressed="true"]+.cat-go,.cat-item.is-leave .cat-go{display:none}
  .plans-wrap{margin-top:14px}
  .track{grid-template-rows:150px 150px;row-gap:12px;column-gap:12px;margin-inline:calc(-1*var(--gutter)) calc(-1*var(--gutter-r));padding:6px var(--gutter-r) 6px var(--gutter);scroll-padding-inline:var(--gutter)}
  .plan-card.is-h{width:300px;height:150px;margin-right:0}
  .plan-card.is-t{width:160px;height:312px}
  .is-h .front .photo{flex-basis:140px}
  .h-city{font-size:16px} .place{font-size:13px} .place svg{width:15px;height:15px}
  .price-pill{font-size:12px;padding:6px 10px 6px 9px;margin-top:4px}
  #site .h-body>.fee-pill.is-xs,#site .t-glass>.fee-pill.is-xs{font-size:10.5px;padding:2px 8px}   /* 1.16.1: the 144 px text column of the 300 px card */
  .h-body{gap:5px;padding:10px 8px}
  #site .score-fit{font-size:11px;line-height:1.3}   /* 1.18.0: the score line in the 144 px text column, closed up */
  #site .t-glass>.score-fit{font-size:10.5px}
  #site .has-fit .h-body{gap:3px;padding-block:7px 6px}
  #site .has-fit .h-body>.price-pill{margin-top:1px}
  .is-t .face.front,.is-t .front .photo,.is-t .face.back{border-radius:28px}
  .loc-pill{font-size:13px;padding:7px 11px 7px 9px;right:10px;top:10px}
  .loc-pill svg{width:14px;height:14px}
  .flip-round{width:34px;height:34px;left:9px;top:9px}
  .t-glass{border-radius:22px;padding:10px 8px 9px;left:6px;right:6px;bottom:6px}
  .t-plan{font-size:14px} .t-price{font-size:11px} .t-book{font-size:11.5px}
  #plans-next{right:2px} #plans-prev{left:2px}
  .arrow{width:42px;height:42px;margin-top:-21px}
  .is-h .face.back{padding:10px 12px;gap:6px}
  .is-h .back .travel{display:none}
  .is-h .best-for{-webkit-line-clamp:1;font-size:11.5px}
  .is-h .lvl{padding:3px 7px;font-size:11px}
  .back-actions .btn{min-height:30px;padding:5px 10px;font-size:11.5px}
  .is-t .face.back{padding:16px 10px 10px}
  .trust{grid-template-columns:1fr 1fr}
  .ttile:nth-child(1){grid-column:1/-1;grid-row:auto;min-height:340px}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  /* phones (1.15.0, 13 Nov): the card with the texts at its top; the search panel in the page's flow over the card's
     bottom, 12 px in from its sides. 1.16.0 (19 Nov 2026, the owner's phone picture "1 · หน้าแรก"): the card 300 px tall
     (600 before) and the panel 40 px over its bottom (150 before), so the whole bar and its button stand on the first
     screen; the video and the texts are as they were */
  .hero-band>.wrap{display:block;padding-top:8px}
  .hero{height:300px;border-radius:28px}
  .hero-copy{top:40px;inset-inline:24px;max-width:none}
  .hero:not(.has-video-src) .hero-copy{top:56px}   /* under the "Your video plays here" pill */
  .hero-sub{font-size:17px;margin-bottom:6px}
  .hero-title{font-size:clamp(34px,10.6vw,42px);line-height:1.12}
  #site[data-lang="th"] .hero-title{line-height:1.2}
  #site[data-lang="en"] .hero-title{font-size:clamp(38px,11.8vw,46px);line-height:1.04}
  /* 1.16.0 (20 Nov): a long Banner headline shrinks on phones too (fitHeroTitle), so the Discover link stays above the
     bar that lies over the card's last 40 px; after the English size, which has the same specificity */
  #site .hero-title.is-long{font-size:clamp(30px,9.2vw,36px)}
  #site .hero-title.is-longer{font-size:clamp(26px,7.8vw,30px)}
  .hero-go{margin-top:8px;font-size:15px}
  .hero-go svg{width:24px;height:24px}
  .video-tag{inset-inline-end:12px;top:12px;font-size:11.5px;padding-block:6px;padding-inline:9px 11px}
  .hero-pause{right:12px;top:12px}
  .search{width:auto;grid-template-columns:1fr;row-gap:0;padding:8px 20px 20px;margin:-40px 12px 0;border-radius:24px}
  .cell{height:auto;padding:14px 0 12px;gap:8px}
  .cell-date{border-left:0;border-top:1px solid var(--line-2);padding-left:0}
  .cell::before,.cell-date::before{top:4px;bottom:4px;left:-12px;right:-12px;border-radius:16px}
  .cell .cl{font-size:17px;margin:0}
  .cell .cs{margin:0;font-size:14px}
  .cell:focus-visible,.cell-date:focus-visible{outline-offset:2px}
  .sp{position:static;width:auto;margin:2px -2px 12px;padding:14px 12px;border:0;border-radius:20px;background:var(--tile);box-shadow:none}
  .sp-head{margin-bottom:10px}
  .copt:hover{background:var(--panel)}
  .cal{grid-template-columns:minmax(0,1fr)}
  .cal-month+.cal-month{display:none}
  .cday{height:38px}
  .cday>span{width:36px;height:36px}
  .qchip{min-height:34px;padding:0 11px;font-size:12.5px}
  .ci{width:34px;height:34px;border-radius:10px}
  .copt{padding:6px 8px 6px 6px}
  .find{margin-top:10px;height:56px;border-radius:16px}
  .band>.wrap{padding-top:64px}
  .plans-band>.wrap{padding-top:44px}   /* 1.15.0: from the search panel's bottom */
  .ttile:nth-child(1){border-radius:26px}
  /* the consult band on phones: its own block (17 Nov), after the band's rules */
  .trust{gap:12px;margin-top:24px}
  .ttile{padding:18px 16px;border-radius:24px}
  .foot{margin-top:64px}
  .foot-grid{gap:28px 16px}
  .foot-grid>:first-child{grid-column:1/-1}
  .plans-meta .hint{display:none}
}
@media (max-width:380px){ .rp-lvl b{font-size:12px;letter-spacing:-.01em} .rp-levels{gap:5px} .rp-lvl{padding:7px 6px} }
/* ---------- inner pages on smaller screens ---------- */
@media (max-width:1180px){
  .team{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .team{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .partner{padding:36px 28px}
}
@media (max-width:720px){
  .page-head>.wrap{padding-top:28px}
  .ph-sub{font-size:16px}
  .ph-actions{width:100%}
  .ph-actions .btn{flex:1 1 160px}
  .team{grid-template-columns:minmax(0,1fr);gap:12px}
  .member{padding:26px 20px 22px}
  .partner{padding:28px 22px;border-radius:26px}
  .partner-acts{width:100%}
  .partner-acts .btn{flex:1 1 150px}
  .band-mid>.wrap{padding-top:56px}
  .band-tight>.wrap{padding-top:36px}
  .crumbs{padding-top:16px;font-size:13px}
}
@media (max-width:1100px){ .rp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px} }
@media (max-width:1023px){ .pop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px} }   /* 1.17.0: Popular trips, two a row on iPads */
@media (max-width:1024px){
  .auth{grid-template-columns:minmax(0,1fr);max-width:620px;padding-top:24px;gap:16px}
  .auth-art{min-height:236px;padding:28px 24px}
  .auth-perks{display:none}
  .auth-brand{gap:12px}
  .auth-mark,.auth-sym{font-size:52px}
  .auth-tagline{font-size:16px}
  .auth-card{min-height:0;padding:36px 40px 22px}
}
@media (max-width:900px){
  .offers-head{flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px;padding:0}
  .see-all{margin-right:-10px}
  .rp-deep .rp-photo{width:42%}
  .rp-deep .rp-body{padding:24px 26px}
}
@media (max-width:720px){
  /* (1.16.0: the search bar's phone look is wp.css's, its 1.0 caps labels are gone) */
  .plans-meta .see-all-btn{width:100%}
  /* 1.11.0: the chips scroll sideways from the screen's edge to the Categories button, fading out before it */
  .rp-tools{align-items:center;gap:12px 6px}
  .rp-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline-start:calc(-1*var(--gutter));padding-inline:var(--gutter) 22px;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 26px),transparent)}
  .rp-chips::-webkit-scrollbar{display:none}
  .rp-chip{flex:none;font-size:14px;padding:9px 16px}
  /* 1.17.0: the two sections and their cards one a row; the photos 16:10 */
  .rp-sec{margin-top:32px}
  .rp-sec-head{gap:12px}
  .rp-sec-head .btn{width:100%}
  .pop-grid{grid-template-columns:minmax(0,1fr);gap:26px;margin-top:20px}
  .rp-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:18px}
  .rp-photo{aspect-ratio:16/10}
  .rp-body{padding:14px 14px 16px;gap:10px}
  .rp-card.rp-deep{flex-direction:column}
  .rp-deep .rp-photo{width:auto;aspect-ratio:16/10;height:auto;min-height:0}
  .rp-deep .rp-body{padding:16px 14px 16px}
  .rp-deep h3{font-size:22px}
  .rp-deep .rp-foot{flex-wrap:wrap}
  .rp-deep .rp-foot .btn{flex:1 1 100%}
  .rp-lvl{padding:7px 8px}
  .rp-lvl b{font-size:13px}
  .auth{padding-top:8px;gap:12px}
  .auth-art{min-height:208px;border-radius:26px;padding:22px 18px}
  .auth-brand{gap:10px}
  .auth-mark,.auth-sym{font-size:42px}
  .auth-tagline{font-size:14.5px;max-width:30ch}
  .auth-card{padding:26px 18px 18px;border-radius:26px}
  .auth-panel{gap:14px}
  .auth-panel h1{font-size:26px}
  .auth .field-row{grid-template-columns:minmax(0,1fr)}
  .field-row{gap:10px}
  .hot{height:24px;font-size:11px;padding:0 8px 0 7px;right:10px;top:10px}
  .is-t.is-hot .loc-pill,.is-t.is-new .loc-pill{top:42px}
}
@media (max-width:720px){
  .member{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:16px;text-align:left;justify-items:start;align-items:start;padding:20px 18px}
  .member .avatar{grid-row:1/7;width:72px;height:72px;margin:0}
  .member .bio{margin-top:6px;max-width:none}
  .member .grow{display:none}
  .member .profile-link{margin:10px 0 0}
  .member .soc-row{margin-top:10px;margin-left:-6px;gap:8px}
}
/* ---------- motion: page load, scroll reveals, hover, parallax ----------
   All of it sits inside prefers-reduced-motion:no-preference, so visitors who ask for less motion get the still page.
   Load and reveal animations use fill-mode "backwards" so nothing is left transformed after they finish. */
@keyframes tp-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes tp-swap{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
@keyframes tp-fade{from{opacity:0}to{opacity:1}}
@keyframes tp-drop{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
@keyframes tp-zoom{from{transform:scale(1.09)}to{transform:none}}
@keyframes tp-unveil{from{opacity:0;clip-path:inset(0 0 100% 0);transform:translateY(40px)}to{opacity:1;clip-path:inset(-30% -10% -30% -10%);transform:none}}
@keyframes tp-pulse{0%{transform:scale(1);opacity:.85}100%{transform:scale(1.65);opacity:0}}
@keyframes tp-pop{0%{transform:scale(.86)}60%{transform:scale(1.05)}100%{transform:none}}
@keyframes tp-drift{from{transform:none}to{transform:scale(1.07) translate3d(-1.5%,.5%,0)}}
@keyframes tp-ping{0%{box-shadow:0 0 0 0 rgba(31,174,110,.5)}100%{box-shadow:0 0 0 10px rgba(31,174,110,0)}}
@media (prefers-reduced-motion:no-preference){
  #site{--ease-out:cubic-bezier(.2,.75,.2,1)}
  /* every page fades in when it opens; the header drops in once */
  #site.motion .page:not([hidden]){animation:tp-fade .5s ease backwards}
  #site.motion .hdr-in{animation:tp-drop .8s var(--ease-out) backwards}
  .hdr-in>.nav a{position:relative}
  .hdr-in>.nav a::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;border-radius:2px;background:var(--blue);transform:scaleX(0);transform-origin:left center;transition:transform .35s var(--ease-out)}
  .hdr-in>.nav a:hover::after,.hdr-in>.nav a[aria-current="page"]::after{transform:scaleX(1)}

  /* Home hero: the media settles, the small line and then the title rise out of a mask (1.15.0, 13 Nov: the small line
     first, as it sits over the title now), the link and the search bar slide up; until the real video is in, the
     painted photo drifts slowly so the slot reads as moving footage */
  #site.motion .hero-media{animation:tp-zoom 2s var(--ease-out) backwards}
  #site.motion .hero:not(.has-video) .hero-media>.photo{animation:tp-drift 14s ease-in-out 2s infinite alternate}
  .hero>.photo>canvas{transform:translate3d(0,var(--py,0px),0) scale(1.12)}
  #site.motion .hero-sub{animation:tp-unveil 1.05s var(--ease-out) .2s backwards}
  #site.motion .hero-title{animation:tp-unveil 1.05s var(--ease-out) .3s backwards}
  #site.motion .hero-go{animation:tp-rise .9s var(--ease-out) .46s backwards}
  #site.motion .video-tag{animation:tp-fade .9s ease .9s backwards}
  #site.motion .search{animation:tp-rise 1s var(--ease-out) .5s backwards}

  /* About us page heads, Consultant profile */
  #site.motion .ph-pill{animation:tp-rise .7s var(--ease-out) .05s backwards}
  #site.motion .ph-title{animation:tp-unveil 1.05s var(--ease-out) .14s backwards}
  #site.motion .ph-sub{animation:tp-rise .9s var(--ease-out) .3s backwards}
  #site.motion .ph-actions{animation:tp-rise .9s var(--ease-out) .42s backwards}
  #site.motion .crumbs{animation:tp-fade .6s ease backwards}
  #site.motion .auth-art{animation:tp-rise .95s var(--ease-out) .05s backwards}
  #site.motion .auth-card{animation:tp-rise .95s var(--ease-out) .18s backwards}
  #site.motion .auth-art>.photo{animation:tp-zoom 1.8s var(--ease-out) backwards}
  #site.motion .auth-panel:not([hidden]){animation:tp-fade .35s ease backwards}
  /* 1.7.0: a switch of view (app.js setAuthTab adds .is-switch): Register slides in from the inline end, Sign in from
     the inline start; Register's own photo (when it has one) crossfades in over the Sign in photo */
  @keyframes tp-auth-in{from{opacity:0;translate:var(--auth-dx,0px) 0}to{opacity:1;translate:0 0}}
  #site.motion .auth-panel.is-switch{animation:tp-auth-in .36s var(--ease-out) backwards}
  #site #panel-register{--auth-dx:18px}
  #site #panel-signin{--auth-dx:-18px}
  .auth-art-reg{transition:opacity .6s ease}
  #site.motion .rp-card.is-swap{animation:tp-swap .55s var(--ease-out) backwards;animation-delay:calc(var(--d,0) * 60ms)}
  .hot{animation:tp-pop .5s var(--ease-out) .4s backwards}
  #site.motion .sp:not([hidden]){animation:tp-rise .35s var(--ease-out) backwards}

  /* scroll reveals: each block rises into place as it enters the screen, siblings one after another */
  #site.motion [data-reveal]:not(.is-in){opacity:0}
  #site.motion [data-reveal].is-in{animation:tp-rise .9s var(--ease-out) backwards;animation-delay:calc(var(--d,0) * 90ms)}
  #site.motion .plan-card.is-swap{animation:tp-swap .55s var(--ease-out) backwards;animation-delay:calc(var(--d,0) * 60ms)}

  /* hover: cards lift, photos drift closer, arrows nudge */
  .plan-card{transition:transform .35s var(--ease-out)}
  .plan-card:hover{transform:translateY(-4px)}
  .is-h .face.front{transition:box-shadow .35s}
  .is-h:hover .face.front{box-shadow:inset 0 0 0 1px var(--card-line),var(--shadow-s)}
  .ttile>.photo,.consult-card>.photo{transition:transform 1.2s var(--ease-out)}
  .ttile:hover>.photo,.consult-card:hover>.photo{transform:scale(1.06)}
  .member,.ttile,.rp-card{transition:transform .35s var(--ease-out),box-shadow .35s}
  .member:hover,.ttile:hover{transform:translateY(-5px)}
  /* 1.17.0: the plan card no longer lifts under the mouse (a card that moves away from a mouse resting at its edge
     flickers, as the owner saw on the Activities page on 19 Nov): its shadow deepens and the photo drifts closer */
  .rp-card:hover{box-shadow:var(--shadow-l)}
  .rp-photo>.photo{transition:transform 1.2s var(--ease-out)}
  .rp-card:hover .rp-photo>.photo{transform:scale(1.06)}
  .member:hover{box-shadow:var(--shadow-l)}
  .member .avatar{transition:transform .45s var(--ease-out)}
  .member:hover .avatar{transform:scale(1.07) rotate(-3deg)}
  .btn .ar,.consult-cap .go svg,.profile-link svg{transition:transform .25s var(--ease-out)}
  .btn:hover .ar,.consult-card:hover .go svg,.profile-link:hover svg{transform:translateX(3px)}
  /* 1.7.0 (docs/FEATURES-1.7.md §D), the home Reset Plans list: on a category switch (app.js catSwitch sets .is-enter
     on the new row, .is-leave on the old one, and --cat-from: the box's way from the inline start end, a negative
     length) the new row's pill grows from the inline start while its ">" box slides from
     that end to its place at the inline end; at the same time the old row's arrow turns to "<", its box slides back to
     the start end with the pill shrinking behind it, and both fade. Pill and box share the easing, so the box rides the
     pill's edge. The directions live in the keyframes below: tp-cat-in / tp-cat-out move the box (from / to
     --cat-from), tp-cat-grow / tp-cat-shrink size the pill from the inline start.
     Phones and tablets (the pill chips): the new pill's fill sweeps in from the inline start, the old one just clears. */
  @keyframes tp-cat-grow{from{width:63px}to{width:100%}}
  @keyframes tp-cat-in{from{translate:var(--cat-from,0px) 0}to{translate:0 0}}
  @keyframes tp-cat-shrink{0%{width:100%;opacity:1}78%{width:63px;opacity:1}100%{width:63px;opacity:0}}
  @keyframes tp-cat-out{0%{translate:0 0;opacity:1}78%{translate:var(--cat-from,0px) 0;opacity:1}100%{translate:var(--cat-from,0px) 0;opacity:0}}
  @keyframes tp-cat-turn{from{rotate:0deg}to{rotate:180deg}}
  @keyframes tp-cat-sweep{from{width:0}to{width:100%}}
  .cat-item.is-enter .cat-chip::before{animation:tp-cat-grow .42s var(--ease-out) both}
  .cat-item.is-enter .cat-go{animation:tp-cat-in .42s var(--ease-out) both}
  .cat-item.is-leave .cat-chip::before{animation:tp-cat-shrink .42s var(--ease-out) both}
  .cat-item.is-leave .cat-go{animation:tp-cat-out .42s var(--ease-out) both}
  .cat-item.is-leave .cat-go svg{animation:tp-cat-turn .2s var(--ease-out) both}
  @media (max-width:900px){
    .cat-item.is-enter .cat-chip::before{animation:tp-cat-sweep .36s var(--ease-out) both}
    .cat-item.is-leave .cat-chip::before{animation:none}
  }
}
@media (prefers-reduced-motion:reduce){
  .card-inner,.face,.btn,.cat-chip,.arrow,.flip-round,.price-pill,.hero-video{transition:none!important}
}

/* ---------- 1.7.0: the page-link progress bar (app.js "instant feedback on page links") ----------
   Fixed along the top edge, above the header and the WordPress toolbar; grows from the left edge quickly at first, then
   slows near the end while the next page loads. Reduced motion: a static full bar. */
.tp-navbar{position:fixed;top:0;left:0;right:0;z-index:100000;height:3px;pointer-events:none;background:var(--blue);background:linear-gradient(90deg,var(--blue),var(--sky));box-shadow:0 0 8px rgba(47,127,230,.45);transform:scaleX(0);transform-origin:left center;opacity:0;transition:opacity .2s linear}
.tp-navbar.is-on{opacity:1}
.tp-navbar.is-run{transform:scaleX(.92);transition:transform 6s cubic-bezier(.08,.82,.17,1),opacity .2s linear}
@media (prefers-reduced-motion:reduce){
  .tp-navbar,.tp-navbar.is-run{transform:scaleX(1);transition:none}
}
