/*
 * Water Tours Newstyle.
 *
 * Section 1-8 are the supplied reference design (newstyle/water-tours.html), with the
 * configurator's selectors renamed to the `wt-cfg-` prefix the purchase plugin actually emits.
 * Sections 9-12 are what the reference has no markup for and the site does: the parent theme's
 * header and footer on inner pages, the support dialog, and the checkout's own status, resume and
 * error screens. river.css is dequeued, so every rule those need lives here.
 *
 * Colour is defined once, on bare :root, and only re-pointed for dark; nothing gets its single
 * definition inside a media query.
 */

/* ---------------------------------------------------------------- 1. tokens */

:root{
  --neva:#13293A; --neva-deep:#0D1F2D; --lime:#DCEE7E; --amber:#FDD27D;
  --bg:#EEEFEA; --surface:#FFFFFF; --ink:#13293A; --muted:#55636D; --line:#D9DCD4; --teal:#3F6B79;
  --on-dark:#F3F5F0; --on-dark-muted:#A9B6BF;
  --danger:#B3261E; --ok:#1F6F4A;
  /* Filled controls (the + step, the active format, a primary status action). Navy reads as
     "pressed" on the light ground; on the dark ground navy IS the ground, so the pair flips to
     lime rather than disappearing into the card behind it. */
  --solid:#13293A; --solid-ink:#F3F5F0;
  --display:"Unbounded","Arial Black","Segoe UI",sans-serif;
  --text:"Onest","Segoe UI",system-ui,sans-serif;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0B1822; --surface:#132736; --ink:#EEF0EB; --muted:#A3B0B9; --line:#253B4C; --teal:#9CC9D5;
    --danger:#FFB4AB; --ok:#7FD7A8;
    --solid:#DCEE7E; --solid-ink:#13293A;
  }
}
:root[data-theme="dark"]{
  --bg:#0B1822; --surface:#132736; --ink:#EEF0EB; --muted:#A3B0B9; --line:#253B4C; --teal:#9CC9D5;
  --danger:#FFB4AB; --ok:#7FD7A8;
  --solid:#DCEE7E; --solid-ink:#13293A;
}

html{background:var(--neva);scroll-padding-top:env(safe-area-inset-top,0px);scroll-behavior:smooth}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--text);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px;border-radius:6px}
[hidden]{display:none !important}
.wrap{max-width:1240px;margin:0 auto;padding-inline:clamp(20px,4vw,48px)}

.skip{position:absolute;left:-9999px;top:0;z-index:100;padding:14px 20px;background:var(--lime);color:var(--neva);font-weight:600;border-radius:0 0 12px 0}
.skip:focus{left:0}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:999px;border:0;font:600 16px/1 var(--text);text-decoration:none;cursor:pointer}
.btn-buy{background:var(--amber);color:var(--neva)}
.btn-buy:hover{background:#FFE0A0}
.btn-ghost{background:transparent;color:var(--on-dark);box-shadow:inset 0 0 0 1.5px rgba(243,245,240,.4)}
.btn-ghost:hover{box-shadow:inset 0 0 0 1.5px var(--on-dark)}
.btn-dark{background:var(--solid);color:var(--solid-ink)}
.btn-dark:hover{filter:brightness(1.08)}

/* ------------------------------------------------------------------ 2. hero */

.hero{background:var(--neva);color:var(--on-dark);overflow:hidden}
.bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;font:600 17px/1 var(--display);letter-spacing:-.01em;color:var(--on-dark)}
.logo svg{stroke:var(--lime)}
.nav{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:500}
.nav a{text-decoration:none;color:var(--on-dark-muted)}
.nav a:hover{color:var(--on-dark)}
.nav .btn{color:var(--neva)}
.bar-buy{min-height:46px;padding:0 20px;font-size:15px}
.menu-toggle{display:none;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid rgba(243,245,240,.35);background:transparent;color:var(--on-dark);font:600 15px/1 var(--text);cursor:pointer}

.intro-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:clamp(40px,9vh,110px) 0 18px}
.intro{margin:0;font-size:clamp(16px,1.6vw,19px);color:var(--lime);max-width:34ch}
.word{margin:0;padding-bottom:.14em;font-family:var(--display);font-weight:600;font-size:clamp(30px,12vw,148px);line-height:.94;letter-spacing:-.035em}

.water{background:var(--neva-deep);border-top:1.5px solid var(--lime)}
.reflection-box{height:clamp(46px,12vw,168px);overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom,#000 10%,transparent 95%),repeating-linear-gradient(to bottom,#000 0 3px,rgba(0,0,0,.35) 3px 5px);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,#000 10%,transparent 95%),repeating-linear-gradient(to bottom,#000 0 3px,rgba(0,0,0,.35) 3px 5px);
  mask-composite:intersect}
.reflection{padding-bottom:.14em;font-family:var(--display);font-weight:600;font-size:clamp(30px,12vw,148px);line-height:.94;letter-spacing:-.035em;
  transform:scaleY(-1);transform-origin:50% 50%;color:#5E8196;opacity:.55;user-select:none}
/* The live ripple is switched on by newstyle.js only where it runs smoothly. */
.ripple-on .reflection-box{-webkit-mask-image:linear-gradient(to bottom,#000 10%,transparent 95%);mask-image:linear-gradient(to bottom,#000 10%,transparent 95%)}
.ripple-on .reflection{filter:url(#ripple)}

.hero-foot{display:grid;grid-template-columns:minmax(0,1.1fr) auto;gap:32px 48px;align-items:end;padding:28px 0 64px}
.hero-foot p{margin:0;max-width:52ch;color:var(--on-dark-muted);font-size:clamp(16px,1.5vw,18px)}
.hero-foot p strong{color:var(--on-dark);font-weight:600}
.actions{display:flex;flex-wrap:wrap;gap:12px}

/* -------------------------------------------------------------- 3. sections */

.sec{padding:clamp(72px,10vw,128px) 0}
.sec-tight{padding-top:0}
.h2{margin:0;font-family:var(--display);font-weight:600;font-size:clamp(30px,4.4vw,56px);line-height:1.02;letter-spacing:-.03em;max-width:18ch;text-wrap:balance}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:24px 48px;flex-wrap:wrap;margin-bottom:clamp(32px,5vw,56px)}
.sec-head p{margin:0;max-width:44ch;color:var(--muted)}

/* ------------------------------------------- 4. configurator (purchase plugin markup) */

.wt-cfg-switch{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;padding:6px;border-radius:18px;background:var(--bg);margin-bottom:28px}
.wt-cfg-switch button{min-height:52px;padding:6px 8px;border:0;border-radius:13px;background:transparent;color:var(--ink);font:600 16px/1.2 var(--text);cursor:pointer}
.wt-cfg-switch button[aria-pressed="true"]{background:var(--solid);color:var(--solid-ink)}

.wt-cfg-order{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start}
.wt-cfg-panel{background:var(--surface);border-radius:28px;padding:clamp(22px,3vw,40px)}

.wt-cfg-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.wt-cfg-row:first-child{border-top:0}
.wt-cfg-row:last-of-type{border-bottom:1px solid var(--line)}
.wt-cfg-row-name{display:flex;flex-direction:column;gap:2px}
.wt-cfg-row-name b{font-weight:600}
.wt-cfg-row-name span{font-size:14px;color:var(--muted)}
.wt-cfg-step{display:flex;align-items:center;gap:12px}
.wt-cfg-step button{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);background:transparent;color:var(--ink);font:500 22px/1 var(--text);cursor:pointer}
.wt-cfg-step button.plus{background:var(--solid);border-color:var(--solid);color:var(--solid-ink)}
.wt-cfg-step output{min-width:22px;text-align:center;font-weight:700;font-size:18px}

.wt-cfg-group{border:0;margin:24px 0 0;padding:0}
.wt-cfg-group legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:600;color:var(--muted)}
.wt-cfg-seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.wt-cfg-seg-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.wt-cfg-seg input{position:absolute;opacity:0;pointer-events:none}
.wt-cfg-seg label{display:flex;align-items:center;justify-content:center;min-height:50px;padding:0 8px;border-radius:14px;box-shadow:inset 0 0 0 1.5px var(--line);font-weight:600;font-size:15px;text-align:center;cursor:pointer}
.wt-cfg-seg input:checked+label{background:var(--lime);box-shadow:none;color:var(--neva)}
.wt-cfg-seg input:focus-visible+label{outline:3px solid var(--amber);outline-offset:2px}

.wt-cfg-contacts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.wt-cfg-contacts label,.wt-cfg-wish{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:var(--muted)}
.wt-cfg-wish{margin-top:16px}
.wt-cfg-contacts input,.wt-cfg-wish textarea{min-height:50px;padding:12px 16px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:400 16px/1.4 var(--text)}
.wt-cfg-wish textarea{min-height:84px;resize:vertical}

/* ----------------------------------------------------------- 5. ticket stub */

.wt-cfg-ticket{position:sticky;top:24px;overflow:hidden;background:var(--amber);color:var(--neva);border-radius:22px;padding:28px 28px 24px}
.wt-cfg-t-top{display:flex;justify-content:space-between;align-items:center;font:600 14px/1 var(--display)}
.wt-cfg-t-top span:last-child{font:600 13px/1 var(--text);opacity:.75}
.wt-cfg-t-title{margin:22px 0 4px;font:600 clamp(22px,2.2vw,28px)/1.1 var(--display);letter-spacing:-.02em}
.wt-cfg-t-lines{margin:14px 0 0;padding:0;list-style:none;font-size:15px}
.wt-cfg-t-lines li{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.wt-cfg-t-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px;padding-top:12px;border-top:1.5px solid rgba(19,41,58,.25)}
.wt-cfg-t-total b{font:600 30px/1 var(--display);letter-spacing:-.03em}
.wt-cfg-t-cut{position:relative;margin:22px -28px;border-top:2px dashed rgba(19,41,58,.35)}
.wt-cfg-t-cut::before,.wt-cfg-t-cut::after{content:"";position:absolute;top:-17px;width:32px;height:32px;border-radius:50%;background:var(--bg)}
.wt-cfg-t-cut::before{left:-16px}
.wt-cfg-t-cut::after{right:-16px}
.wt-cfg-t-bottom{display:grid;grid-template-columns:72px 1fr;gap:18px;align-items:center;font-size:14px}
/* Where the reference draws a QR code. A real one exists only inside an issued PDF, so this is a
   mark, not a scannable-looking stand-in for a ticket that has not been paid for yet. */
.wt-cfg-t-mark{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:16px;background:rgba(19,41,58,.12);font:600 32px/1 var(--display);color:var(--neva)}
.wt-cfg-t-bottom dl{margin:0;display:grid;gap:8px}
.wt-cfg-t-bottom dt{opacity:.75}
.wt-cfg-t-bottom dd{margin:0;font-weight:600}
.wt-cfg-pay{width:100%;margin-top:22px;display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 24px;border:0;border-radius:999px;background:var(--neva);color:var(--on-dark);font:600 16px/1.2 var(--text);cursor:pointer}
.wt-cfg-pay:hover:not(:disabled){background:#1D3B51}
/* Disabled on an amber card: a flat, quiet navy rather than opacity, which would let the amber
   through and leave the label reading as olive. */
.wt-cfg-pay:disabled{background:transparent;color:rgba(19,41,58,.72);box-shadow:inset 0 0 0 1.5px rgba(19,41,58,.3);cursor:default}
.wt-cfg-t-note{margin:12px 0 0;font-size:13px;opacity:.8}

/* ------------------------------------------------------------- 6. about route */

.route{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:start}
.lede{margin:24px 0 0;max-width:46ch;font-size:clamp(17px,1.6vw,19px)}
.factors{list-style:none;margin:36px 0 0;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.factors li{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:18px 0;border-bottom:1px solid var(--line)}
.factors svg{width:28px;height:28px;margin-top:2px;color:var(--teal)}
.factors b{display:block;font-weight:600}
.factors span{color:var(--muted);font-size:15px}
.gauge{margin:0;background:var(--surface);border-radius:28px;padding:clamp(20px,3vw,32px)}
.gauge svg{display:block;width:100%;height:auto}
.gauge figcaption{margin-top:16px;font-size:15px;color:var(--muted)}
.g-bridge{fill:var(--ink)}
.g-water{fill:var(--teal);opacity:.28}
.g-line{stroke:var(--teal);stroke-width:2.5}
.g-label{fill:var(--muted);font:500 14px var(--text)}
.g-boat{fill:var(--amber)}
.g-ghost{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:6 5;opacity:.6}
.g-hit{fill:#C2410C}
.facts{margin:24px 0 0;display:grid;border-top:1px solid var(--line)}
.facts div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:600}
.facts-title{margin:36px 0 0;font-size:20px;font-weight:600}

/* ------------------------------------------------------------------ 7. steps */

.how{background:var(--surface)}
.how-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,4vw,56px);counter-reset:s}
.how-list li{counter-increment:s;display:flex;flex-direction:column;gap:10px}
.how-list li::before{content:counter(s);font:600 clamp(48px,6vw,80px)/1 var(--display);color:var(--teal);letter-spacing:-.04em}
.how-list b{font-size:20px;font-weight:600}
.how-list span{color:var(--muted)}

/* -------------------------------------------------------------- 8. faq, foot */

.faq{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,96px);align-items:start}
.faq-side p{color:var(--muted);margin:20px 0 24px;max-width:32ch}
.faq-side .ask-line{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}
details{border-top:1px solid var(--line)}
details:last-child{border-bottom:1px solid var(--line)}
summary{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:14px 0;font-weight:600;font-size:18px;cursor:pointer;list-style:none}
summary::-webkit-details-marker{display:none}
/* The plus is two gradient bars rather than an SVG data URI: a data URI bakes its stroke colour
   in, and the reference's navy stroke disappears against the dark surface. Drawn from tokens, it
   is legible in both themes; open, it is always navy because the lime disc is light in both. */
summary::after{content:"";flex-shrink:0;width:36px;height:36px;border-radius:50%;transition:transform .2s;
  background:
    linear-gradient(var(--ink),var(--ink)) center/2px 14px no-repeat,
    linear-gradient(var(--ink),var(--ink)) center/14px 2px no-repeat,
    var(--surface)}
details[open] summary::after{transform:rotate(45deg);
  background:
    linear-gradient(var(--neva),var(--neva)) center/2px 14px no-repeat,
    linear-gradient(var(--neva),var(--neva)) center/14px 2px no-repeat,
    var(--lime)}
details p{margin:0 0 22px;color:var(--muted);max-width:60ch}

.foot{background:var(--neva);color:var(--on-dark)}
.foot-cta{display:flex;justify-content:space-between;align-items:end;gap:32px;flex-wrap:wrap;padding:clamp(72px,10vw,120px) 0 clamp(48px,6vw,72px);border-bottom:1.5px solid var(--lime)}
.foot-cta .h2{max-width:14ch}
/* Three columns, not the reference's four: the fourth was company registration details nobody
   has confirmed, so the remaining three share the width instead of leaving a hole where it was. */
.foot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 48px;padding:48px 0;font-size:15px}
.foot-grid h3{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--on-dark-muted)}
.foot-grid p{margin:0 0 8px}
.foot-fine{color:var(--on-dark-muted);font-size:13px}
.foot-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.foot-grid a{color:var(--on-dark);text-underline-offset:3px}
.legal{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:24px 0 40px;border-top:1px solid rgba(243,245,240,.14);font-size:13px;color:var(--on-dark-muted)}

.buybar{display:none}

/* ---------------------------------------- 9. inner pages (parent inc/chrome.php) */

.site-header{background:var(--neva);color:var(--on-dark)}
.nav-shell{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1240px;margin:0 auto;padding:22px clamp(20px,4vw,48px)}
.brand{display:flex;align-items:baseline;gap:10px;text-decoration:none;color:var(--on-dark);font:600 17px/1 var(--display);letter-spacing:-.01em}
.brand-mark{color:var(--lime);font-size:20px}
.brand-place{font:500 11px/1 var(--text);letter-spacing:.12em;color:var(--on-dark-muted)}
.site-header nav{display:flex;align-items:center;gap:24px;font-size:15px;font-weight:500}
.site-header nav a{text-decoration:none;color:var(--on-dark-muted)}
.site-header nav a:hover{color:var(--on-dark)}
.site-header nav a.btn-ticket{color:var(--neva)}
.site-header nav a.btn-route,.site-header nav a.btn-ask{color:var(--on-dark)}
.btn-route{min-height:46px;padding:0 20px;font-size:15px;background:transparent;color:var(--on-dark);box-shadow:inset 0 0 0 1.5px rgba(243,245,240,.4)}
.btn-ticket{min-height:46px;padding:0 20px;font-size:15px;background:var(--amber);color:var(--neva)}
.inner-main{padding-block:clamp(48px,7vw,96px) clamp(64px,8vw,112px)}
.inner-main h1,.inner-main h2{font-family:var(--display);font-weight:600;letter-spacing:-.03em;line-height:1.05}
.inner-main h1{font-size:clamp(28px,4.4vw,52px);margin:0 0 24px}
.inner-main a{text-underline-offset:3px}
.site-footer{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;padding:32px clamp(20px,4vw,48px);border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
.site-footer .brand{color:var(--ink)}
.site-footer p{margin:0}
.footer-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.footer-boarding{max-width:52ch}
.btn-ask{min-height:46px;padding:0 20px;font-size:15px;background:var(--solid);color:var(--solid-ink)}
.wt-contacts-city{font-size:20px}
.wt-contacts-boarding{color:var(--muted);max-width:60ch}
.booking-unavailable{margin:0;padding:18px 20px;border-radius:16px;background:var(--surface);color:var(--muted)}

/* --------------------------------------- 10. support dialog (parent river.js) */

.wt-ask-modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px}
.wt-ask-backdrop{position:absolute;inset:0;background:rgba(13,31,45,.6)}
.wt-ask-panel{position:relative;width:min(560px,100%);max-height:90vh;overflow:auto;background:var(--surface);color:var(--ink);border-radius:24px;padding:clamp(24px,4vw,36px)}
.wt-ask-panel h2{margin:0 0 12px;font-family:var(--display);font-weight:600;font-size:clamp(22px,3vw,30px);letter-spacing:-.02em}
.wt-ask-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:transparent;color:var(--ink);font-size:22px;line-height:1;cursor:pointer}
.wt-ask-note{margin:0 0 20px;color:var(--muted);font-size:15px}
.wt-ask-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:14px;font-weight:600;color:var(--muted)}
.wt-ask-field input,.wt-ask-field textarea{min-height:50px;padding:12px 16px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:400 16px/1.4 var(--text)}
.wt-ask-field textarea{resize:vertical}
.wt-ask-field [aria-invalid="true"]{border-color:var(--danger)}
.wt-ask-hint{font-weight:400;font-size:13px}
.wt-ask-optional{font-weight:400}
.wt-ask-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wt-ask-submit{width:100%;min-height:56px;border:0;border-radius:999px;background:var(--solid);color:var(--solid-ink);font:600 16px/1 var(--text);cursor:pointer}
.wt-ask-submit[disabled]{opacity:.6;cursor:default}
.wt-ask-status{margin:14px 0 0;font-size:15px;min-height:1.5em}
.wt-ask-status[data-state="error"]{color:var(--danger)}
.wt-ask-status[data-state="ok"]{color:var(--ok)}

/* -------------------------- 11. checkout status screens (purchase plugin JS) */

/*
 * water-tours-buy.css styles these screens for a white dialog, with literal colours
 * (`background:#f3faf4`, `color:#17212b`) and two-class selectors such as
 * `.wt-status-success .wt-status-panel`. A one-class rule here loses to those on specificity, and
 * what survives is a pale-green card with near-black text sitting on this theme's dark ground.
 *
 * So every rule below is scoped to `.newstyle-theme`, which outranks all of them, and every
 * property the plugin hard-codes is re-stated from tokens rather than left to win by accident.
 * The plugin stylesheet is deliberately still loaded: the dialog shortcodes remain usable on any
 * other page, styled as they always were.
 */

.newstyle-theme .wt-result{margin-top:20px;min-height:0;text-align:left;font-weight:400;color:var(--ink)}
.newstyle-theme .wt-result:empty{margin-top:0}

.newstyle-theme .wt-status-panel{background:var(--surface);color:var(--ink);
  border:0;border-left:5px solid var(--teal);border-radius:24px;padding:clamp(22px,3vw,32px)}
.newstyle-theme .wt-status-success .wt-status-panel{background:var(--surface);border-left-color:var(--ok)}
.newstyle-theme .wt-status-info .wt-status-panel{background:var(--surface);border-left-color:var(--teal)}
.newstyle-theme .wt-status-warn .wt-status-panel{background:var(--surface);border-left-color:var(--amber)}
.newstyle-theme .wt-status-error .wt-status-panel{background:var(--surface);border-left-color:var(--danger)}

.newstyle-theme .wt-status-title{margin:0;font:600 clamp(19px,2.2vw,24px)/1.2 var(--display);letter-spacing:-.02em;color:var(--ink)}
.newstyle-theme .wt-status-text{margin:12px 0 0;font-size:16px;color:var(--muted);max-width:62ch}
.newstyle-theme .wt-status-note{margin:16px 0 0;font-size:15px;color:var(--muted);max-width:62ch}
/* Where the resend refusal's "Повторить можно после …" sentence lands. */
.newstyle-theme .wt-status-note-error{color:var(--danger)}

.newstyle-theme .wt-status-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.newstyle-theme .wt-status-button{display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 24px;border-radius:999px;border:1.5px solid var(--line);
  background:transparent;color:var(--ink);font:600 16px/1 var(--text);text-decoration:none;cursor:pointer}
.newstyle-theme .wt-status-button-primary{background:var(--solid);border-color:var(--solid);color:var(--solid-ink)}
.newstyle-theme .wt-status-button-ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.newstyle-theme .wt-status-button:disabled,
.newstyle-theme .wt-status-button[aria-busy="true"]{opacity:.6;cursor:default}

/* Plain one-line messages (checking, create failed) rather than a full screen. */
.newstyle-theme .wt-result.wt-status-info,
.newstyle-theme .wt-result.wt-status-warn,
.newstyle-theme .wt-result.wt-status-error{padding:16px 20px;border-radius:16px;background:var(--surface);font-size:15px;font-weight:500}
.newstyle-theme .wt-result.wt-status-error{color:var(--danger)}
.newstyle-theme .wt-result.wt-status-warn{color:var(--ink)}
.newstyle-theme .wt-result.wt-status{padding:0;background:transparent}

/* The resume bar belongs to the dialog checkouts; inline never renders one (see createCheckout's
   `inline` branch). Styled anyway so a page mixing the two shortcodes stays consistent. */
.newstyle-theme .wt-resume{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;
  margin-top:16px;padding:16px 20px;border:0;border-radius:16px;background:var(--surface);text-align:left}
.newstyle-theme .wt-resume-success{background:var(--surface);border-left:5px solid var(--ok)}
.newstyle-theme .wt-resume-warn{background:var(--surface);border-left:5px solid var(--amber)}
.newstyle-theme .wt-resume-text{margin:0;font-size:16px;font-weight:600;color:var(--ink)}
.newstyle-theme .wt-resume-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:0}

/* ------------------------------------------------------- 12. responsive, motion */

@media (max-width:900px){
  .menu-toggle{display:inline-flex;align-items:center;gap:8px}
  .nav{display:none}
  .nav.open{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:100%;order:3;padding:18px 0 4px;border-top:1px solid rgba(243,245,240,.2)}
  .bar{flex-wrap:wrap}
  .hero-foot{grid-template-columns:1fr}
  .wt-cfg-order,.route,.faq{grid-template-columns:1fr}
  .wt-cfg-ticket{position:static}
  .how-list{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .site-header nav{gap:16px;font-size:14px}
}
@media (max-width:560px){
  .bar-buy{display:none}
  .nav.open .bar-buy{display:inline-flex}
  .actions .btn{flex:1 1 100%}
  .wt-cfg-seg{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wt-cfg-switch button{padding:6px 4px;font-size:14px;hyphens:auto;overflow-wrap:anywhere}
  .wt-cfg-contacts{grid-template-columns:1fr}
  .facts div{grid-template-columns:1fr;gap:4px}
  .foot-grid{grid-template-columns:1fr}
  body{padding-bottom:88px}
  .buybar{display:flex;position:fixed;left:12px;right:12px;bottom:0;z-index:10;align-items:center;justify-content:space-between;gap:12px;
    margin-bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:8px 8px 8px 22px;border-radius:999px;background:var(--neva);color:var(--on-dark);box-shadow:0 10px 30px rgba(13,31,45,.35)}
  .buybar span{display:flex;flex-direction:column;font-size:12px;color:var(--on-dark-muted)}
  .buybar b{font-size:17px;color:var(--on-dark)}
  .buybar .btn{min-height:48px;padding:0 22px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  summary::after{transition:none}
}
/* Anchor aliases for links written against the parent theme: targets only, never boxes. */
.anchor-alias{display:block;height:0;overflow:hidden}
