:root {
  --ink: #10252b;
  --muted: #5e6f73;
  --paper: #f7f8f4;
  --white: #ffffff;
  --deep: #12343b;
  --teal: #087f75;
  --coral: #ef6548;
  --yellow: #f3b63f;
  --line: #d9dfdc;
  --shadow: 0 14px 38px rgba(16, 37, 43, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; color: white; background: var(--deep); }
.skip-link:focus { top: 12px; }
.app-header { position: sticky; top: 0; z-index: 30; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 4vw, 56px); color: white; background: rgba(18,52,59,.96); border-bottom: 3px solid var(--yellow); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: cover; object-position: center 18%; border: 2px solid var(--yellow); }
.brand span { display: grid; }
.brand strong { font-size: 15px; }
.brand small { color: #c9dcda; }
.site-link { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; color: white; text-decoration: none; border: 1px solid rgba(255,255,255,.35); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-picker select { min-height: 42px; max-width: 130px; padding: 0 30px 0 10px; color: white; background: var(--deep); border: 1px solid rgba(255,255,255,.35); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
main { padding-bottom: 104px; }
.intro { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: 44px max(24px, calc((100vw - 1120px)/2)); color: var(--ink); background: #eef3ef; border-bottom: 1px solid var(--line); }
.intro::after { content: none; }
.eyebrow { margin: 0 0 8px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.intro .eyebrow { color: #386458; }
h1, h2 { margin: 0; line-height: 1.05; letter-spacing: 0; }
h1 { max-width: 560px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.2; }
.intro-copy > p:last-child { max-width: 460px; margin: 16px 0 0; color: #465e57; font-size: 17px; line-height: 1.6; }
.search-box { position: relative; z-index: 1; padding: 24px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.search-box > label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.search-control { min-height: 54px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto auto; align-items: center; padding: 4px 6px 4px 12px; border: 1px solid #82998e; border-radius: 8px; background: white; }
.search-control:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.search-control > span { font-size: 27px; transform: rotate(-15deg); }
.search-control input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 16px; }
.search-control button { border: 0; background: transparent; font-size: 26px; cursor: pointer; }
#ask-button { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--teal); font-size: 22px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.suggestions button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: #f4f7f5; font-size: 13px; font-weight: 700; cursor: pointer; }
.offline-conversation { margin-top: 18px; border: 1px solid var(--line); background: #eef4f2; }
.conversation-head { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: white; background: var(--deep); }
.conversation-head img { width: 36px; height: 36px; object-fit: cover; border: 2px solid var(--yellow); }
.conversation-head span { display: grid; }
.conversation-head small { color: #c9dcda; font-size: 11px; }
.conversation-body { display: grid; gap: 10px; padding: 14px; }
.message-bubble { max-width: 88%; padding: 11px 13px; line-height: 1.55; font-size: 14px; }
.message-bubble.parent { justify-self: end; color: white; background: var(--teal); }
.message-bubble.answer { justify-self: start; color: var(--ink); background: white; border-left: 4px solid var(--yellow); }
.follow-up-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 14px; }
.follow-up-list button { padding: 8px 10px; text-align: left; color: var(--deep); background: white; border: 1px solid var(--line); font-size: 12px; cursor: pointer; }
.human-chat-link { width: 100%; min-height: 44px; color: white; background: var(--coral); border: 0; font-weight: 800; cursor: pointer; }
.quick-paths { max-width: 1160px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 auto; padding: 24px 20px 0; }
.quick-path { min-height: 86px; display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; text-align: left; background: white; border: 1px solid var(--line); border-left: 5px solid var(--teal); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.quick-path:last-child { border-left-color: var(--coral); }
.quick-path.live-path { border-left-color: var(--yellow); }
a.quick-path { color: inherit; text-decoration: none; }
.quick-path:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.quick-path strong, .quick-path small { display: block; }
.quick-path small { margin-top: 4px; color: var(--muted); }
.quick-path > span:last-child { font-size: 28px; }
.quick-icon { width: 44px; height: 44px; display: block; position: relative; background: #e4f2ef; }
.calendar-icon::before, .nav-calendar::before { content: ""; position: absolute; inset: 9px 8px 7px; border: 2px solid currentColor; border-top-width: 6px; }
.calendar-icon { color: var(--teal); }
.message-icon { background: #fff0ec; }
.message-icon::before { content: ""; position: absolute; inset: 10px 8px 12px; border: 2px solid var(--coral); }
.message-icon::after { content: ""; position: absolute; left: 12px; bottom: 7px; border: 6px solid transparent; border-top-color: var(--coral); transform: rotate(18deg); }
.live-icon { background: #fff4d9; }
.live-icon::before { content: ""; position: absolute; inset: 10px; border: 3px solid #9a6900; border-radius: 50%; }
.live-icon::after { content: ""; position: absolute; right: 7px; top: 7px; width: 9px; height: 9px; background: #10a06b; border: 2px solid white; border-radius: 50%; }
.schedule-panel, .contact-panel, .answers { max-width: 1160px; margin: 24px auto 0; padding: clamp(24px, 5vw, 48px) 20px; }
.schedule-panel, .contact-panel { background: white; border-top: 6px solid var(--yellow); box-shadow: var(--shadow); }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 24px; }
.close-panel { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); background: white; font-size: 28px; cursor: pointer; }
.timezone-note { display: inline-block; margin: 0 0 22px; padding: 8px 10px; color: var(--deep); background: #e4f2ef; font-size: 13px; font-weight: 700; }
.finder-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.finder-fields label { display: grid; gap: 8px; font-size: 13px; font-weight: 800; }
.finder-fields select { min-height: 50px; padding: 0 12px; border: 1px solid var(--ink); background: white; }
.schedule-results { margin-top: 20px; border-top: 1px solid var(--line); }
.schedule-item { display: grid; grid-template-columns: minmax(110px,.4fr) 1fr; gap: 18px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.schedule-item strong { color: var(--teal); }
.schedule-item p { margin: 3px 0 0; color: var(--muted); line-height: 1.5; }
.schedule-item.is-closed strong { color: var(--coral); }
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.answers { padding-top: 30px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 3px 0 16px; }
.category-tabs button { flex: 0 0 auto; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); background: white; font-weight: 750; cursor: pointer; }
.category-tabs button[aria-selected="true"] { color: white; background: var(--deep); border-color: var(--deep); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item summary { position: relative; min-height: 68px; display: flex; align-items: center; padding: 16px 54px 16px 4px; font-size: 16px; font-weight: 780; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--teal); font-size: 23px; }
.faq-item[open] { padding-bottom: 18px; background: white; }
.faq-item[open] summary { padding-left: 18px; }
.faq-item[open] summary::after { content: "−"; background: var(--coral); }
.faq-answer { max-width: 850px; margin: 0; padding: 0 54px 0 18px; color: #3f5358; font-size: 15px; line-height: 1.7; }
.empty-state { padding: 34px; text-align: center; background: white; border: 1px solid var(--line); }
.empty-state p { color: var(--muted); }
.empty-state button, .primary-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: white; background: var(--coral); border: 0; text-decoration: none; font-weight: 800; cursor: pointer; }
.chat-action { margin-right: 8px; background: var(--teal); }
.contact-panel > p { color: var(--muted); line-height: 1.6; }
.qr-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 26px 0; }
.qr-list figure { margin: 0; padding: 14px; border: 1px solid var(--line); }
.qr-list img { width: 100%; aspect-ratio: 1; object-fit: contain; background: white; }
.qr-list figcaption { display: grid; margin-top: 10px; }
.qr-list figcaption span { color: var(--muted); font-size: 13px; }
.bottom-nav { display: none; }
.guide-chat-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 45; max-width: min(310px, calc(100vw - 28px)); display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 10px 14px; color: white; background: var(--deep); border: 2px solid var(--yellow); text-decoration: none; box-shadow: 0 8px 28px rgba(12,43,49,.28), 0 0 0 4px rgba(243,182,63,.15); animation: guide-chat-glow 2.4s ease-in-out infinite; }
.guide-chat-launcher > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--deep); background: var(--yellow); border-radius: 50%; font-size: 19px; }
.guide-chat-launcher strong, .guide-chat-launcher small { display: block; }
.guide-chat-launcher strong { font-size: 14px; line-height: 1.2; }
.guide-chat-launcher small { margin-top: 3px; color: #d9e8e5; font-size: 10px; font-weight: 500; line-height: 1.3; }
@keyframes guide-chat-glow { 50% { box-shadow: 0 9px 30px rgba(12,43,49,.32), 0 0 22px rgba(243,182,63,.58); } }
@media (max-width: 760px) { .guide-chat-launcher { right: 10px; bottom: calc(78px + env(safe-area-inset-bottom)); left: 10px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .guide-chat-launcher { animation: none; } }
.guide-chat-launcher.is-panel-open { display: none; }
.guide-chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 46; width: min(360px, calc(100vw - 24px)); height: min(540px, calc(100dvh - 36px)); display: none; grid-template-rows: 42px 1fr; background: white; border: 2px solid var(--yellow); box-shadow: 0 20px 60px rgba(8,31,36,.34); }
.guide-chat-panel.is-open { display: grid; }
.guide-chat-panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px 0 14px; color: white; background: var(--deep); }
.guide-chat-panel header strong { font-size: 13px; }
.guide-chat-panel nav { display: flex; align-items: center; gap: 4px; }
.guide-chat-panel nav a, .guide-chat-panel nav button { min-width: 34px; height: 34px; display: grid; place-items: center; padding: 0 8px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); text-decoration: none; font-weight: 700; cursor: pointer; }
.guide-chat-panel nav a { font-size: 11px; }
.guide-chat-panel iframe { width: 100%; height: 100%; border: 0; background: var(--paper); }
.guide-chat-panel > header { all: unset; box-sizing: border-box; width: 100%; height: 42px; min-height: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 0 12px; color: white; background: var(--deep); }
.guide-chat-panel > header > strong { all: unset; color: white; font: 700 12px/1.2 Inter, sans-serif; }
.guide-chat-panel > header > nav { all: unset; display: flex; align-items: center; gap: 4px; }
.guide-chat-panel > header > nav > a, .guide-chat-panel > header > nav > button { all: unset; box-sizing: border-box; min-width: 32px; height: 30px; display: grid; place-items: center; padding: 0 7px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); font: 700 15px/1 Inter, sans-serif; cursor: pointer; }
.guide-chat-panel > header > nav > a { font-size: 10px; }
@media (max-width: 760px) { .guide-chat-panel { inset: 8px; width: auto; height: auto; } }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .app-header { min-height: 62px; padding: 8px 14px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .header-actions { gap: 6px; }
  .language-picker select { width: 96px; min-height: 38px; font-size: 12px; }
  .site-link { min-height: 38px; padding: 0 10px; font-size: 12px; }
  main { padding-bottom: 92px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 42px 18px 28px; }
  h1 { font-size: 32px; }
  .search-box { padding: 18px; }
  .search-control { min-height: 54px; }
  .suggestions { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .suggestions button { flex: 0 0 auto; }
  .category-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .quick-paths { grid-template-columns: 1fr; padding: 14px 14px 0; }
  .quick-path { min-height: 78px; }
  .schedule-panel, .contact-panel, .answers { margin-top: 14px; padding: 28px 16px; }
  .answers { padding-top: 38px; }
  .finder-fields { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 1fr; gap: 4px; }
  .faq-item summary { padding-right: 48px; }
  .faq-answer { padding-right: 18px; }
  .qr-list { grid-template-columns: 1fr; }
  .qr-list figure { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
  .qr-list figcaption { margin: 0; }
  .bottom-nav { position: fixed; inset: auto 0 0; z-index: 40; height: calc(68px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); padding-bottom: env(safe-area-inset-bottom); color: white; background: var(--deep); border-top: 3px solid var(--yellow); }
  .bottom-nav a, .bottom-nav button { display: grid; place-items: center; align-content: center; gap: 3px; color: inherit; background: transparent; border: 0; text-decoration: none; font-size: 20px; cursor: pointer; }
  .bottom-nav small { font-size: 11px; }
  .nav-calendar { position: relative; width: 22px; height: 22px; display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* TG_GUIDE_CHAT_LAYOUT_V53 */
.guide-chat-panel{width:min(440px,calc(100vw - 28px));height:min(720px,calc(100dvh - 36px));grid-template-rows:46px minmax(0,1fr);overflow:hidden;border-radius:16px}
.guide-chat-panel>header{min-width:0}.guide-chat-panel>header>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guide-chat-panel>iframe{min-width:0;min-height:0}
@media(max-width:760px){.guide-chat-panel{inset:4px;width:auto;height:auto;border-radius:12px;grid-template-rows:44px minmax(0,1fr)}.guide-chat-panel header{padding-left:10px}}
