.hladna-guide {
  --guide-green: #123e35;
  --guide-lime: #d8f36a;
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 24px;
  color: var(--guide-green);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.hladna-guide *, .hladna-guide *::before, .hladna-guide *::after { box-sizing: border-box; }
.hladna-guide button, .hladna-guide input { font: inherit; letter-spacing: 0; }
.hladna-guide button, .hladna-guide a { -webkit-tap-highlight-color: transparent; }
.hladna-guide button { cursor: pointer; }
.hladna-guide button:focus-visible, .hladna-guide a:focus-visible { outline: 3px solid #df6995; outline-offset: 4px; }
.hladna-guide svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.6; }

.guide-launcher {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid #f6f8f442;
  border-radius: 50%;
  background: var(--guide-green);
  color: var(--guide-lime);
  box-shadow: 0 6px 28px #071d2a2b;
  transition: color .25s, background .25s, transform .25s;
}

.guide-launcher > svg { width: 26px; height: 26px; }
.guide-launcher:hover { background: var(--guide-lime); color: var(--guide-green); transform: translateY(-3px); }
.guide-launcher-label { position: absolute; right: calc(100% + 12px); width: max-content; max-width: 210px; padding: 8px 12px; border-radius: 8px; background: var(--guide-green); color: #fff; font-size: 12px; opacity: 0; visibility: hidden; transform: translateX(5px); transition: opacity .2s, transform .2s, visibility .2s; }
.guide-launcher:hover .guide-launcher-label, .guide-launcher:focus-visible .guide-launcher-label { opacity: 1; visibility: visible; transform: translateX(0); }
.hladna-guide.is-open .guide-launcher { display: none; }
body.modal-open .hladna-guide { visibility: hidden; pointer-events: none; }

.guide-panel {
  display: flex;
  flex-direction: column;
  width: 380px;
  height: min(600px, calc(100dvh - 48px));
  max-width: calc(100vw - 48px);
  overflow: hidden;
  border: 1px solid #ffffff7a;
  border-radius: 24px;
  background: #f6f8f4;
  box-shadow: 0 18px 70px #051d2d38, 0 2px 8px #061b2226;
  transform-origin: bottom right;
  animation: guide-arrive .32s cubic-bezier(.2,.8,.2,1) both;
}

.guide-panel[hidden] { display: none; }
.guide-header { display: flex; flex-shrink: 0; align-items: center; gap: 12px; padding: 22px 18px 21px; background: var(--guide-green); color: #f6f8f4; }
.guide-emblem { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid #d8f36a66; border-radius: 50%; color: var(--guide-lime); }
.guide-emblem svg { width: 28px; height: 28px; }
.guide-heading { min-width: 0; flex: 1; }
.guide-place { display: block; color: var(--guide-lime); font-size: 9px; font-weight: 600; }
.guide-heading h2 { margin: 3px 0 0; color: #f6f8f4; font: 500 18px/1.25 'DM Sans', sans-serif; letter-spacing: 0; overflow-wrap: anywhere; }
.guide-subtitle { display: block; margin-top: 4px; color: #f6f8f4b5; font-size: 10px; }
.guide-close { display: flex; width: 32px; height: 32px; flex-shrink: 0; align-items: center; justify-content: center; align-self: flex-start; padding: 0; color: #f6f8f4; background: transparent; border: 1px solid #f6f8f43b; border-radius: 50%; transition: background .2s; }
.guide-close:hover { background: #f6f8f41a; }
.guide-close svg { width: 16px; height: 16px; }

.guide-scroll { flex: 1; min-height: 85px; overflow-y: auto; overscroll-behavior: contain; padding: 22px 18px 18px; scrollbar-width: thin; scrollbar-color: #123e3540 transparent; }
.guide-log { display: flex; flex-direction: column; gap: 14px; }
.guide-message { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.guide-answer { padding-left: 12px; border-left: 2px solid #a9c35a; color: #304b43; font-size: 13px; line-height: 1.65; }
.guide-question { align-self: flex-end; max-width: 92%; padding: 10px 14px; border-radius: 13px 13px 3px 13px; background: #e5ecdf; color: var(--guide-green); font-size: 13px; }
.guide-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.guide-topic { padding: 7px 10px; border: 1px solid #123e3524; border-radius: 7px; color: var(--guide-green); background: transparent; font-size: 11px !important; font-weight: 500 !important; line-height: 1.4; transition: border-color .2s, background .2s; }
.guide-topic:hover { background: var(--guide-lime); border-color: var(--guide-lime); }

.guide-footer { padding: 0 18px 16px; flex-shrink: 0; }
.guide-booking { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 1px; margin-bottom: 10px; border-top: 1px solid #123e351a; border-bottom: 1px solid #123e351a; color: var(--guide-green); text-decoration: none; font-size: 12px; font-weight: 600; }
.guide-booking svg { width: 17px; height: 17px; transition: transform .2s; }
.guide-booking:hover svg { transform: translate(2px, -2px); }
.guide-form { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid #123e352f; border-radius: 12px; background: #fff; }
.guide-form:focus-within { border-color: #477761; box-shadow: 0 0 0 2px #123e3510; }
.guide-form input { display: block; min-width: 0; width: 100%; height: 34px; margin: 0; padding: 0 5px; border: 0; outline: 0; background: transparent; color: var(--guide-green); font-size: 13px; }
.guide-form input::placeholder { color: #687b72; opacity: 1; }
.guide-send { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: var(--guide-green); color: #f6f8f4; transition: background .2s, color .2s; }
.guide-send:hover { background: var(--guide-lime); color: var(--guide-green); }
.guide-note { margin: 9px 0 3px; color: #52685b; font-size: 9px; line-height: 1.5; }
.guide-source { color: #466959; font-size: 9px; text-decoration: underline; text-underline-offset: 2px; }

@keyframes guide-arrive { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 600px) {
  .hladna-guide { right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .guide-launcher { width: 54px; height: 54px; }
  .guide-launcher-label { display: none; }
  .guide-panel { width: 380px; max-width: calc(100vw - 36px); height: min(590px, calc(100dvh - 36px - env(safe-area-inset-bottom))); }
  .guide-header { padding: 18px 15px; gap: 10px; }
  .guide-heading h2 { font-size: 17px; }
  .guide-emblem { width: 40px; height: 40px; }
  .guide-scroll { padding: 18px 15px 15px; }
  .guide-footer { padding: 0 15px 13px; }
  .guide-form input { font-size: 16px; }
  .guide-topic { min-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .hladna-guide *, .hladna-guide *::before, .hladna-guide *::after { animation: none !important; transition: none !important; }
}
