/* Attribution Lab – the travel-agency skin (backlog item 54, 23.09).

   Two ordinary travel-agency sites: the network's brand site (the root of
   alpha) and the Da Nang franchise (the root of beta); the original stands
   are under /legacy/. The layout follows what real
   Vietnamese operators put on their front pages (izitour, dacotours,
   hoiandaytrip, handspan): a utility bar with phone and WhatsApp, a sticky
   header, a photo hero with a search card, tour cards with a "from" price,
   duration and rating, a "why book with us" row, destinations, reviews, a
   plan-my-trip form, a footer with the licence line.

   Loaded after tokens.css (fonts) and demo.css (the strip, modal, toast and
   hints of the demo layer). lab.css is imported into the `lab` cascade layer,
   so everything here wins over it; the last section places the console, the
   cookie bar and the booking panel on the agency page.
   No external requests: fonts are self-hosted, icons are inline SVG, the map
   is drawn, not embedded. */

:root {
  --s-bg: #FBF9F5;
  --s-surface: #FFFFFF;
  --s-ink: #1E1B16;
  --s-ink-2: #4A443C;
  --s-muted: #7A7268;
  --s-line: #E8E2D9;
  --s-line-2: #D9D2C7;
  --s-primary: #1F5F5B;
  --s-primary-2: #174A47;
  --s-primary-soft: #E6F0EE;
  --s-accent: #D9772F;
  --s-accent-2: #BF6524;
  --s-accent-soft: #FBEEE2;
  --s-star: #E4A11B;
  --s-font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --s-radius: 14px;
  --s-radius-sm: 8px;
  --s-shadow: 0 10px 30px rgba(30, 27, 22, 0.08);
  --s-shadow-sm: 0 1px 2px rgba(30, 27, 22, 0.06);
  --s-max: 1180px;
  --s-gutter: 16px;
  /* the sticky header's height; site.js writes the measured one */
  --s-header-h: 69px;
}
@media (min-width: 768px) {
  :root { --s-gutter: 32px; }
}

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
/* The demo strip and the site header are stuck to the top: an anchor jump,
   scrollIntoView (the hints, the search card) and the booking panel (lab.js
   reads this value) land below them, not under them (e1ea-5). The bottom:
   the console and the cookie bar cover the foot of the screen. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--dm-strip-h, 0px) + var(--s-header-h) + 12px);
  scroll-padding-bottom: calc(var(--drawer-h, 0px) + var(--s-cookie-h, 0px));
}
body.s-body {
  margin: 0;
  background: var(--s-bg);
  color: var(--s-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
.s-body img { max-width: 100%; display: block; }
/* The base rules stop at the demo layer (the console, the strip, the
   modals, toasts and hints): it keeps the hub's look (demo.css, lab.css).
   lab.css sits in a cascade layer, so without the :not() the site's links
   and serif headings won over it inside the console. */
.s-body a:where(:not(.wb *, .dm-strip *, .dm-modal *, .dm-toast *, .s-callout *)) { color: var(--s-primary); text-decoration: none; }
.s-body a:where(:not(.wb *, .dm-strip *, .dm-modal *, .dm-toast *, .s-callout *)):hover { text-decoration: underline; }
/* links that are components, not text links: .s-body a would win on specificity */
.s-body a.s-btn { color: var(--s-ink); }
.s-body a.s-btn.primary, .s-body a.s-btn.green, .s-body a.s-btn.ghost { color: #fff; }
.s-body a.s-dest { color: #fff; }
.s-body a.s-logo { color: var(--s-primary-2); }
.s-body a.s-wa { color: #fff; }
.s-body h1:where(:not(.wb *, .dm-modal *)), .s-body h2:where(:not(.wb *, .dm-modal *)), .s-body h3:where(:not(.wb *, .dm-modal *)) {
  font-family: var(--s-font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.s-body h2:where(:not(.wb *, .dm-modal *)) { font-size: 30px; }
.s-body h3:where(:not(.wb *, .dm-modal *)) { font-size: 20px; }
.s-body p { margin: 0; }
.s-wrap { max-width: var(--s-max); margin: 0 auto; padding: 0 var(--s-gutter); }
.s-section { padding: 56px 0; }
.s-section.alt { background: var(--s-surface); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.s-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.s-section-head p { color: var(--s-muted); max-width: 560px; margin-top: 6px; }
.s-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s-accent-2);
  margin-bottom: 8px;
}
.s-more { white-space: nowrap; font-weight: 500; }
.s-more::after { content: ' →'; }
@media (max-width: 767px) {
  .s-body h2:where(:not(.wb *, .dm-modal *)) { font-size: 25px; }
  .s-section { padding: 40px 0; }
}

/* ---------------------------------------------------------- buttons */
.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--s-radius-sm);
  border: 1px solid var(--s-line-2);
  background: var(--s-surface);
  color: var(--s-ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms, border-color 140ms, transform 140ms;
}
.s-btn:hover { text-decoration: none; border-color: var(--s-ink-2); }
.s-btn:active { transform: translateY(1px); }
.s-btn.primary { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.s-btn.primary:hover { background: var(--s-accent-2); border-color: var(--s-accent-2); }
.s-btn.green { background: var(--s-primary); border-color: var(--s-primary); color: #fff; }
.s-btn.green:hover { background: var(--s-primary-2); border-color: var(--s-primary-2); }
.s-btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.s-btn.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.s-btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.s-btn.block { width: 100%; }

/* ------------------------------------------------------ utility bar */
.s-utility {
  background: var(--s-primary-2);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}
.s-utility .s-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.s-utility a { color: #fff; }
.s-utility-left, .s-utility-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.s-utility-left span, .s-utility-left a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.s-utility svg { width: 14px; height: 14px; flex: none; }
.s-lang { display: inline-flex; gap: 2px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 2px; }
.s-lang a { padding: 1px 9px; border-radius: 999px; font-weight: 500; letter-spacing: 0.04em; }
.s-lang a.on { background: #fff; color: var(--s-primary-2); }
.s-lang a:hover { text-decoration: none; }
/* the copy in the header (site.js): phones only, in the header's colours */
.s-lang-hd { display: none; border-color: var(--s-line); margin-right: 8px; }
.s-lang-hd a { color: var(--s-ink-2); font-size: 13px; }
.s-lang-hd a.on { background: var(--s-primary); color: #fff; }
@media (max-width: 767px) {
  .s-utility .s-hide-sm { display: none; }
  .s-header .s-lang-hd { display: inline-flex; }
  .s-utility .s-lang { display: none; }
}

/* ----------------------------------------------------------- header */
.s-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--s-line);
}
.s-header .s-wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--s-ink); font-family: var(--s-font-display); font-size: 22px; line-height: 1; }
.s-logo:hover { text-decoration: none; }
.s-logo .s-mark { width: 34px; height: 34px; flex: none; }
.s-logo small { display: block; font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s-muted); margin-top: 4px; }
.s-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.s-nav a { padding: 8px 12px; border-radius: 999px; color: var(--s-ink-2); font-weight: 500; font-size: 15px; }
.s-nav a:hover { background: var(--s-primary-soft); color: var(--s-primary-2); text-decoration: none; }
.s-nav a.cta { margin-left: 8px; background: var(--s-primary); color: #fff; padding: 10px 18px; }
.s-nav a.cta:hover { background: var(--s-primary-2); }
.s-burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--s-line-2);
  border-radius: var(--s-radius-sm);
  background: var(--s-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.s-burger svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .s-burger { display: inline-flex; }
  .s-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--s-gutter) 16px;
    background: var(--s-surface);
    border-bottom: 1px solid var(--s-line);
    box-shadow: var(--s-shadow);
  }
  .s-nav.open { display: flex; }
  .s-nav a { padding: 12px 14px; border-radius: var(--s-radius-sm); }
  .s-nav a.cta { margin: 8px 0 0; text-align: center; }
}

/* ------------------------------------------------------------- hero */
.s-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.s-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  z-index: -2;
}
.s-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 22, 0.18) 0%, rgba(20, 24, 22, 0.12) 40%, rgba(20, 24, 22, 0.72) 100%),
    linear-gradient(90deg, rgba(20, 24, 22, 0.55) 0%, rgba(20, 24, 22, 0.15) 55%, rgba(20, 24, 22, 0) 100%);
}
.s-hero .s-wrap { width: 100%; padding-top: 72px; padding-bottom: 56px; }
.s-hero-copy { max-width: 640px; }
.s-hero-copy .s-kicker { color: rgba(255, 255, 255, 0.85); }
.s-hero h1 { font-size: 50px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.s-hero .s-lede { font-size: 18px; max-width: 540px; margin-top: 16px; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.s-hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.s-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.s-stat strong { display: block; font-family: var(--s-font-display); font-size: 26px; line-height: 1; }
.s-stat span { font-size: 13px; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 767px) {
  .s-hero { min-height: 520px; }
  .s-hero .s-wrap { padding-top: 56px; padding-bottom: 40px; }
  .s-hero h1 { font-size: 34px; }
  .s-hero .s-lede { font-size: 16px; }
  .s-stats { gap: 20px; }
}

/* ------------------------------------------------------ search card */
.s-search-wrap { position: relative; z-index: 2; margin-top: -34px; }
.s-search {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 10px;
  padding: 14px;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
}
.s-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s-field label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--s-muted); }
.s-input, .s-select, .s-textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--s-line-2);
  border-radius: var(--s-radius-sm);
  background: #fff;
  color: var(--s-ink);
  font: inherit;
}
.s-textarea { min-height: 110px; resize: vertical; }
.s-input:focus, .s-select:focus, .s-textarea:focus { outline: 2px solid var(--s-primary); outline-offset: 1px; border-color: var(--s-primary); }
.s-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A443C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.s-search .s-btn { align-self: end; min-height: 44px; }
@media (max-width: 900px) {
  .s-search { grid-template-columns: 1fr 1fr; }
  .s-search .s-field:first-child { grid-column: 1 / -1; }
  .s-search .s-btn { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .s-search-wrap { margin-top: -22px; }
  .s-search { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- tour cards */
.s-tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s-tour {
  display: flex;
  flex-direction: column;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  overflow: hidden;
  box-shadow: var(--s-shadow-sm);
  transition: transform 160ms, box-shadow 160ms;
}
.s-tour:hover { transform: translateY(-3px); box-shadow: var(--s-shadow); }
.s-tour-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.s-tour-media img { width: 100%; height: 100%; object-fit: cover; }
.s-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--s-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.s-badge.hot { background: var(--s-accent); color: #fff; }
.s-badge.new { background: var(--s-primary); color: #fff; }
.s-tour-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.s-tour-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--s-muted); font-size: 13.5px; }
.s-tour-meta span { display: inline-flex; align-items: center; gap: 5px; }
.s-tour-meta svg { width: 14px; height: 14px; }
.s-tour p.s-blurb { color: var(--s-ink-2); font-size: 14.5px; }
.s-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--s-ink-2); }
.s-stars { display: inline-flex; gap: 1px; color: var(--s-star); }
.s-stars svg { width: 14px; height: 14px; }
.s-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--s-line); }
.s-price { display: flex; flex-direction: column; line-height: 1.15; }
.s-price small { font-size: 12px; color: var(--s-muted); }
.s-price strong { font-size: 22px; font-weight: 600; }
.s-price strong span { font-size: 13px; font-weight: 500; color: var(--s-muted); }
.s-tour-actions { display: flex; gap: 8px; }
@media (max-width: 980px) {
  .s-tours { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .s-tours { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ why us */
.s-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.s-why-item { display: flex; flex-direction: column; gap: 10px; }
.s-why-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--s-primary-soft);
  color: var(--s-primary);
}
.s-why-icon svg { width: 22px; height: 22px; }
.s-why-item h3 { font-family: var(--font-sans); font-size: 16.5px; font-weight: 600; }
.s-why-item p { color: var(--s-ink-2); font-size: 14.5px; }
@media (max-width: 900px) {
  .s-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .s-why { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------- how it works */
.s-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.s-step { position: relative; padding: 22px 22px 22px 68px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.s-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--s-accent-soft);
  color: var(--s-accent-2);
  font-family: var(--s-font-display);
  font-size: 18px;
}
.s-step h3 { font-family: var(--font-sans); font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.s-step p { color: var(--s-ink-2); font-size: 14.5px; }
@media (max-width: 900px) {
  .s-steps { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------ destinations */
.s-dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s-dest {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--s-radius);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, #2C6B66, #17403D);
  isolation: isolate;
}
.s-dest:hover { text-decoration: none; }
.s-dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 300ms; }
.s-dest:hover img { transform: scale(1.04); }
.s-dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%); }
.s-dest-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.s-dest-text strong { display: block; font-family: var(--s-font-display); font-size: 22px; font-weight: 400; }
.s-dest-text span { font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.s-dest-text em { font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--s-ink); white-space: nowrap; }
.s-dest.soft { background: linear-gradient(160deg, #B98A5A, #7E5A38); }
.s-dest.soft2 { background: linear-gradient(160deg, #4F7C9C, #2E4E66); }
.s-dest.soft3 { background: linear-gradient(160deg, #6E8F5A, #3F5A32); }
.s-dest .s-pattern { position: absolute; inset: 0; z-index: -1; opacity: 0.35; }
@media (max-width: 767px) {
  .s-dests { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .s-dest-text strong { font-size: 18px; }
  .s-dest-text em { display: none; }
}

/* ----------------------------------------------------------- reviews */
.s-reviews-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.s-score { font-family: var(--s-font-display); font-size: 40px; line-height: 1; }
.s-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-review { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.s-review blockquote { margin: 0; font-size: 15.5px; color: var(--s-ink-2); }
.s-review-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.s-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s-primary-soft);
  color: var(--s-primary-2);
  font-weight: 600;
  font-size: 14px;
  flex: none;
}
.s-review-who strong { display: block; font-size: 14.5px; font-weight: 600; }
.s-review-who span { font-size: 13px; color: var(--s-muted); }
@media (max-width: 900px) {
  .s-reviews { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- team */
.s-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-person { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.s-person .s-avatar { width: 52px; height: 52px; font-size: 17px; background: var(--s-accent-soft); color: var(--s-accent-2); }
.s-person strong { display: block; font-size: 15.5px; font-weight: 600; }
.s-person span { font-size: 13.5px; color: var(--s-muted); }
@media (max-width: 900px) {
  .s-team { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------ plan / contact */
.s-plan { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.s-plan-copy p { color: var(--s-ink-2); margin-top: 12px; }
.s-plan-copy ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.s-plan-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--s-ink-2); font-size: 15px; }
.s-plan-copy li svg { width: 18px; height: 18px; flex: none; color: var(--s-primary); margin-top: 3px; }
.s-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 24px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-sm); }
.s-form .full { grid-column: 1 / -1; }
.s-form .s-btn { grid-column: 1 / -1; justify-self: start; }
.s-form-note { grid-column: 1 / -1; font-size: 13px; color: var(--s-muted); }
.s-form-done { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--s-radius-sm); background: var(--s-primary-soft); color: var(--s-primary-2); font-weight: 500; }
@media (max-width: 900px) {
  .s-plan { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .s-form { grid-template-columns: 1fr; padding: 18px; }
}

/* ------------------------------------------------------------ office */
.s-office { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.s-office-card { padding: 26px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.s-office-card dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.s-office-card dt { color: var(--s-muted); }
.s-office-card dd { margin: 0; }
.s-map { position: relative; min-height: 260px; border-radius: var(--s-radius); overflow: hidden; border: 1px solid var(--s-line); background: #EAF1EE; }
.s-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-map-pin {
  position: absolute;
  left: 58%;
  top: 46%;
  transform: translate(-50%, -100%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--s-accent-2);
  font-size: 12.5px;
  font-weight: 600;
}
.s-map-pin svg { width: 30px; height: 30px; position: static; }
.s-map-pin span { padding: 4px 9px; border-radius: 999px; background: #fff; box-shadow: var(--s-shadow-sm); white-space: nowrap; }
@media (max-width: 900px) {
  .s-office { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- network strip */
.s-network {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  background: var(--s-surface);
  flex-wrap: wrap;
}
.s-network p { color: var(--s-ink-2); max-width: 720px; }
.s-network strong { font-weight: 600; }

/* ------------------------------------------------------------ footer */
.s-footer { background: #16302E; color: rgba(255, 255, 255, 0.8); padding: 52px 0 28px; margin-top: 20px; font-size: 14.5px; }
.s-footer a { color: rgba(255, 255, 255, 0.86); }
.s-footer a:hover { color: #fff; }
.s-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.s-footer h4 { margin: 0 0 12px; color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.s-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-footer .s-logo { color: #fff; }
.s-footer .s-logo small { color: rgba(255, 255, 255, 0.6); }
.s-footer-about p { margin-top: 14px; max-width: 360px; }
.s-social { display: flex; gap: 10px; margin-top: 18px; }
.s-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); }
.s-social a:hover { background: rgba(255, 255, 255, 0.1); }
.s-social svg { width: 16px; height: 16px; }
.s-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.s-footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; opacity: 0.8; }
.s-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.s-pay span { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #fff; }
.s-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}
.s-footer-bottom .s-legal { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .s-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .s-footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* -------------------------------------------------------- whatsapp fab */
.s-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 14px;
  min-height: 50px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.s-wa:hover { text-decoration: none; background: #1FB85A; }
.s-wa svg { width: 22px; height: 22px; }
@media (max-width: 767px) {
  .s-wa { right: 14px; bottom: 14px; padding: 0 16px 0 13px; min-height: 46px; font-size: 14px; }
}

/* ================================================== the lab layer (step 2) */
/* lab.css is imported into the `lab` cascade layer on these pages, so every
   rule in this file wins over it. The drawer, map and controls keep the lab
   look; only their placement on the agency page is set here. */
html.al-console-off { --drawer-h: 0px !important; }
.s-body { padding-bottom: calc(var(--drawer-h, 0px) + 24px); }
#al-drawer.hidden { display: none; }
.s-wa { bottom: calc(var(--drawer-h, 0px) + var(--s-cookie-h, 0px) + 18px); transition: bottom 240ms ease; }
@media (max-width: 767px) {
  .s-wa { bottom: calc(var(--drawer-h, 0px) + var(--s-cookie-h, 0px) + 14px); }
}

/* the cookie icon (lab.js renderCookieIcon): after a choice, the way back to
   the cookie bar, bottom left above the console, opposite the WhatsApp button */
.s-body .s-cookieicon {
  position: fixed;
  left: 18px;
  bottom: calc(var(--drawer-h, 0px) + 18px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--s-line-2);
  border-radius: 999px;
  background: var(--s-surface);
  color: var(--s-primary);
  box-shadow: 0 6px 18px rgba(30, 27, 22, 0.14);
  cursor: pointer;
  transition: bottom 240ms ease;
}
.s-body .s-cookieicon[hidden] { display: none; }
.s-body .s-cookieicon:hover { border-color: var(--s-primary); }
.s-body .s-cookieicon:focus-visible { outline: 2px solid var(--s-primary); outline-offset: 2px; }
.s-body .s-cookieicon svg { width: 26px; height: 26px; }
@media (max-width: 767px) {
  .s-body .s-cookieicon { left: 14px; bottom: calc(var(--drawer-h, 0px) + 14px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
}

/* the demo strip is stuck to the top (demo.js turns #al-demo-strip into
   .dm-strip, in the hub's look, demo.css); the site header sticks right
   under it */
.s-body .s-header { top: var(--dm-strip-h, 0px); }

/* The agency's own dialog and its answer (lab.js: "Your privacy choices",
   "Measurement is on.") use the demo's modal and toast with skin 'site':
   they present Lotus Route, so they look like the site, not like the hub. */
.s-body .dm-modal.dm-site { background: rgba(30, 27, 22, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.s-body .dm-site .dm-card { border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); padding: 26px 28px 22px; color: var(--s-ink); font-family: var(--font-sans); line-height: 1.55; }
.s-body .dm-modal.dm-site .dm-card h2 { font-family: var(--s-font-display); font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; color: var(--s-ink); }
.s-body .dm-site .dm-kicker { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--s-accent-2); }
.s-body .dm-modal.dm-site .dm-body p { color: var(--s-ink-2); }
.s-body .dm-modal.dm-site .dm-card a { color: var(--s-primary); }
.s-body .dm-site .dm-small { color: var(--s-muted); }
.s-body .dm-site .dm-btn { border-radius: var(--s-radius-sm); border-color: var(--s-line-2); color: var(--s-ink); font-size: 15px; }
.s-body .dm-site .dm-btn:hover { border-color: var(--s-ink); color: var(--s-ink); }
.s-body .dm-site .dm-btn.primary { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.s-body .dm-site .dm-btn.primary:hover { background: #000; }
.s-body .dm-site .dm-btn.lnk { color: var(--s-muted); text-decoration: none; }
.s-body .dm-site .dm-x { border-radius: 50%; color: var(--s-muted); }
.s-body .dm-site .dm-x:hover { background: #F3EEE5; color: var(--s-ink); }
@media (max-width: 767px) {
  .s-body .dm-site .dm-card { padding: 22px 20px 18px; border-radius: 16px 16px 12px 12px; }
}
.s-body .dm-toast.dm-site { border-radius: 12px; background: var(--s-ink); padding: 4px 4px 4px 16px; }
.s-body .dm-toast.dm-site .dm-toast-txt a:hover { color: var(--s-accent); }

/* the drawer content on these pages: the map and the stage cards inside the
   Journey tab, the controls tab */
.wbstack { flex: 1; min-width: 0; min-height: 0; overflow: auto; display: flex; flex-direction: column; -webkit-overflow-scrolling: touch; }
.wbstack .wbcols { flex: none; min-height: 0; }
.wbstack .wbcol { overflow: visible; }
.wbstack .wbmap { margin: 12px 16px 0; flex: none; }
.wbstack .ncard-wrap { margin: 0 16px; flex: none; }
.wbstack .ncard-wrap.open { margin-top: 10px; }
.wbpanel .utmform { display: flex; }
.ctrlgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
.ctrlcard { min-width: 0; }
.ctrlfoot { margin-top: 10px; }
.ctrlfoot .topbar-right { flex-wrap: wrap; }
@media (max-width: 980px) {
  .ctrlgrid { grid-template-columns: 1fr; }
}


/* ------------------------------------------------ cookies and privacy */
/* EU: a bar along the bottom of the page, above the console */
/* the decision bar (EU, or ?al_ask=consent): the page behind is dimmed while
   the choice is open, still readable and scrollable (Anton 25.09) */
.s-body .banner.s-cookiebar.ask { box-shadow: 0 0 0 100vmax rgba(15, 15, 25, 0.35); }
.s-body .banner.s-cookiebar {
  left: 0;
  right: 0;
  bottom: var(--drawer-h, 0px);
  transform: none;
  max-width: none;
  width: auto;
  margin: 0;
  padding: 16px var(--s-gutter);
  border: 0;
  border-top: 1px solid var(--s-line-2);
  border-radius: 0;
  background: #fff;
  color: var(--s-ink);
  box-shadow: 0 -8px 30px rgba(30, 27, 22, 0.12);
  font-family: var(--font-sans);
  gap: 20px;
  align-items: center;
  transition: bottom 240ms ease;
}
.s-body .s-cookiebar .btext { max-width: 760px; margin: 0 auto 0 0; }
.s-body .s-cookiebar .btitle { font-size: 16px; font-weight: 600; color: var(--s-ink); }
.s-body .s-cookiebar .bbody { font-size: 14px; color: var(--s-ink-2); }
.s-body .s-cookiebar .bbody a { color: var(--s-primary); text-decoration: underline; }
.s-body .s-cookiebar .bbtns .btn { min-height: 42px; padding: 0 18px; border-radius: var(--s-radius-sm); font: inherit; font-weight: 500; font-size: 14.5px; }
.s-body .s-cookiebar .bbtns .btn.primary { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
/* the decision bar: three equal buttons (EDPB: no colour nudge) */
.s-body .s-cookiebar .bbtns .btn:not(.primary) { background: var(--s-surface); border: 1px solid var(--s-ink); color: var(--s-ink); }
.s-body .s-cookiebar .bbtns .btn:not(.primary):hover { border-color: var(--s-primary); color: var(--s-primary); }
/* the settings layer: the categories, one per row */
.s-body .s-cookiebar .cb-cat { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 8px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.s-body .s-cookiebar .cb-cat input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--s-primary); }
.s-body .s-cookiebar .cb-cat-name { font-weight: 600; color: var(--s-ink); }
.s-body .s-cookiebar .cb-cat-note { font-size: 12.5px; color: var(--s-muted); }
.s-body .s-cookiebar .cb-cat-desc { display: block; color: var(--s-ink-2); }
.s-body .s-cookiebar .cb-cat-svc { display: block; font-size: 12.5px; color: var(--s-muted); }
.s-body .s-cookiebar [data-cb="settings"] { max-height: 60vh; overflow-y: auto; }
@media (min-width: 900px) { .s-body .s-cookiebar [data-cb="settings"] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; } .s-body .s-cookiebar [data-cb="settings"] .btitle { grid-column: 1 / -1; } }
/* the "sad" layer after a refusal: ring timer, text, "I changed my mind" in the
   brand colour, a quiet "Close" (Anton 25.09, as on the hub) */
.s-body .s-cookiebar .cb-sad { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px 20px; align-items: center; width: 100%; }
.s-body .s-cookiebar .cb-timer { position: relative; width: 48px; height: 48px; }
.s-body .s-cookiebar .cb-timer svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.s-body .s-cookiebar .cb-track, .s-body .s-cookiebar .cb-ring { fill: none; stroke-width: 3.5; }
.s-body .s-cookiebar .cb-track { stroke: var(--s-line); }
.s-body .s-cookiebar .cb-ring { stroke: var(--s-accent); stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; transition: stroke-dashoffset 200ms linear; }
.s-body .s-cookiebar .cb-sec { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--s-ink); }
.s-body .s-cookiebar .cb-mind { min-height: 42px; padding: 0 18px; border-radius: var(--s-radius-sm); font: inherit; font-weight: 500; font-size: 14.5px; background: var(--s-accent); border: 1px solid var(--s-accent); color: #fff; cursor: pointer; }
.s-body .s-cookiebar .cb-close { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; color: var(--s-muted); text-decoration: underline; text-underline-offset: 3px; }
.s-body .s-cookiebar .cb-close:hover { color: var(--s-ink); }
@media (max-width: 767px) {
  .s-body .s-cookiebar .cb-sad { grid-template-columns: auto 1fr auto; }
  .s-body .s-cookiebar .cb-sad-text { grid-column: 2 / -1; }
  .s-body .s-cookiebar .cb-mind { grid-column: 1 / 3; }
  .s-body .s-cookiebar .cb-close { grid-column: 3; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .s-body .s-cookiebar .cb-ring { transition: none; } }
/* the consent cases: a press on the page before the choice (lab.js
   holdUntilChoice) - the bar says so in the site's own voice and shakes once
   (Anton 26.09: «в стиле агентства, а не хаба») */
.s-body .s-cookiebar .cb-first { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--s-accent-2); }
.s-body .banner.s-cookiebar.cb-nudge { animation: al-cb-nudge 420ms ease; }
@keyframes al-cb-nudge { 0%, 100% { translate: 0 0; } 20% { translate: -6px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 4px 0; } }
/* the hint about the dimming blinks it once (guide.js CONSENT_DIM) */
.s-body.al-dim-blink .banner.s-cookiebar.ask { animation: al-dim-blink 1100ms ease-in-out 2; }
@keyframes al-dim-blink { 0%, 100% { box-shadow: 0 0 0 100vmax rgba(15, 15, 25, 0.35); } 50% { box-shadow: 0 0 0 100vmax rgba(15, 15, 25, 0.7); } }
@media (prefers-reduced-motion: reduce) { .s-body .banner.s-cookiebar.cb-nudge, .s-body.al-dim-blink .banner.s-cookiebar.ask { animation: none; } }
@media (max-width: 767px) {
  .s-body .banner.s-cookiebar { left: 0; right: 0; bottom: calc(var(--drawer-h, 0px) + env(safe-area-inset-bottom, 0px)); max-width: none; flex-direction: column; align-items: stretch; }
  .s-body .s-cookiebar .bbtns { flex-wrap: wrap; }
  /* three buttons fit a 375-390 px phone (the third one ran off the edge, 26.09) */
  .s-body .s-cookiebar .bbtns .btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 14px; white-space: normal; line-height: 1.2; }
}
/* US: a slim bar along the bottom (the usual US pattern), dismissed once.
   A corner card covered the "Book now" of the first tour card on a laptop
   screen (prod check 23.09 20:45), a bar never sits on a button. */
.s-cookienote {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--drawer-h, 0px);
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--s-gutter);
  border-top: 1px solid var(--s-line-2);
  background: #fff;
  color: var(--s-ink-2);
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 -6px 24px rgba(30, 27, 22, 0.08);
  transition: bottom 240ms ease;
}
.s-cookienote > span { max-width: 900px; }
.s-cookienote a { color: var(--s-primary); text-decoration: underline; }
.s-cookienote .btn { flex: none; min-height: 38px; padding: 0 16px; border-radius: var(--s-radius-sm); font: inherit; font-size: 14px; font-weight: 500; background: var(--s-accent); border-color: var(--s-accent); color: #fff; cursor: pointer; }
@media (max-width: 767px) {
  .s-cookienote { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--s-gutter) calc(12px + env(safe-area-inset-bottom, 0px)); bottom: calc(var(--drawer-h, 0px) + env(safe-area-inset-bottom, 0px)); }
  .s-cookienote .btn { align-self: flex-start; }
}
/* the switch in "Your privacy choices" */
.s-switch { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; margin: 6px 0 10px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: var(--s-bg); cursor: pointer; }
.s-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.s-switch .sw { position: relative; flex: none; width: 40px; height: 22px; margin-top: 2px; border-radius: 999px; background: #C9C1B5; transition: background 160ms; }
.s-switch .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: left 160ms; }
.s-switch input:checked + .sw { background: var(--s-primary); }
.s-switch input:checked + .sw::after { left: 20px; }
.s-switch strong { display: block; font-weight: 600; color: var(--s-ink); }
.s-switch small { display: block; font-size: 13px; color: var(--s-muted); margin-top: 2px; }
/* one switch per kind of cookie (Anton 30.09) */
.s-switches { margin: 6px 0 10px; }
.s-switches .s-switch { margin: 0 0 8px; padding: 10px 14px; }
.s-switch.fixed { cursor: default; }
.s-switch.fixed .sw { opacity: .55; }
.s-switch strong em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--s-muted); }

/* --------------------------------------------- booking on this site */
/* the panel under the tours (api: our own form; embed: the partner widget) */
.s-bookcard { margin-top: 24px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow); overflow: hidden; }
.s-bookcard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--s-line); background: var(--s-bg); }
.s-bookcard-head h3 { font-size: 22px; }
.s-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--s-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.s-x:hover { background: var(--s-line); color: var(--s-ink); }
.s-bookcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.s-bookform { display: grid; grid-template-columns: 1.1fr 0.8fr 1fr auto; gap: 14px; align-items: end; }
.s-total { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 2px; }
.s-total strong { font-size: 22px; font-weight: 600; }
.s-total span { font-size: 13px; color: var(--s-muted); }
.s-bookcard-intro { color: var(--s-ink-2); }
.s-bookframe { width: 100%; height: 780px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: #fff; }
@media (max-width: 560px) { .s-bookframe { height: 900px; } }
.s-form-note.err { color: #B42318; }
.s-booked { align-items: flex-start; }
.s-booked-ico { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--s-primary-soft); color: var(--s-primary-2); font-size: 24px; font-weight: 600; }
.s-booked-lead { font-family: var(--s-font-display); font-size: 24px; line-height: 1.2; }
.s-booked-facts { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 15px; }
.s-booked-facts dt { color: var(--s-muted); }
.s-booked-facts dd { margin: 0; }
.s-booked-facts .mono { font-family: var(--font-mono); }
.s-booked-note { color: var(--s-ink-2); max-width: 620px; }
.s-booked-acts { display: flex; gap: 10px; margin-top: 4px; }
@media (max-width: 900px) {
  .s-bookform { grid-template-columns: 1fr 1fr; }
  .s-bookform .s-go { grid-column: 1 / -1; }
  .s-bookform .s-go label { display: none; }
}
@media (max-width: 560px) {
  .s-bookform { grid-template-columns: 1fr; }
  .s-bookcard-body { padding: 18px 16px; }
}

/* ----------------------------------------------- thank-you and "your data" */
.s-page { padding: 48px 0 40px; }
.s-page-head { margin-bottom: 26px; max-width: 720px; }
.s-page-head h1 { font-size: 38px; }
.s-page-head p { color: var(--s-ink-2); margin-top: 10px; font-size: 17px; }
.s-confirm { max-width: 720px; padding: 30px 32px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-sm); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.s-confirm h1 { font-size: 32px; }
.s-confirm.err h1 { color: #7A2E22; }
.s-confirm .s-hero-actions { margin-top: 6px; }
@media (max-width: 767px) {
  .s-page { padding: 32px 0 28px; }
  .s-page-head h1, .s-confirm h1 { font-size: 28px; }
  .s-confirm { padding: 22px 18px; }
}
/* the privacy policy (privacy.html): plain text of a legal page */
.s-doc { max-width: 720px; }
.s-body .s-doc h2 { font-family: var(--s-font-display); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 34px 0 10px; }
.s-doc p, .s-doc li { color: var(--s-ink-2); font-size: 16px; line-height: 1.6; }
.s-doc p + p, .s-doc ul + p, .s-doc p + ul { margin-top: 10px; }
.s-doc ul { padding-left: 20px; list-style: disc; }
.s-doc li + li { margin-top: 6px; }
.s-doc code { font-size: 0.92em; padding: 1px 5px; background: var(--s-primary-soft); border-radius: 4px; color: var(--s-ink); overflow-wrap: anywhere; }
.s-doc .s-doc-date { color: var(--s-muted); font-size: 14px; margin-top: 30px; }
/* the record (lab.js renders it; the lab look is re-dressed here) */
.s-body .mepage { gap: 18px; }
.s-body .mesec { padding: 22px 24px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-sm); gap: 14px; }
.s-body .mesec .sect-head { align-items: baseline; }
.s-body .mesec .sect-head h2 { font-family: var(--s-font-display); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.s-body .mesec .sect-head .hint { display: none; }
.s-body .mesec p.body, .s-body .mesec .formnote { font-size: 14.5px; color: var(--s-ink-2); }
.s-body .mesec .formnote a { color: var(--s-primary); text-decoration: underline; }
.s-body .mecode .k { color: var(--s-muted); }
.s-body .mecode .code { font-size: 30px; color: var(--s-primary-2); }
.s-body .mesec .tbl { font-size: 13.5px; }
.s-body .mesec .btn { min-height: 42px; padding: 0 18px; border-radius: var(--s-radius-sm); font: inherit; font-weight: 500; font-size: 14.5px; }
.s-body .mesec .btn.sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
.s-body .mesec .btn.primary { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.s-body .mesec .input { min-height: 42px; border-radius: var(--s-radius-sm); font: inherit; }
@media (max-width: 767px) {
  .s-body .mesec { padding: 18px 16px; }
}
