@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&family=Barlow:wght@400&display=swap");

* { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #eef2f5;
      color: #18212a;
    }

    #app {
  background: linear-gradient(
    180deg,
    #D1FFD7 0%,
    #14E0EC 100%
  );
}

    header.topbar{
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 22px;
    background:transparent;
}

.topbar-logo {
  display: block;
  width: 64px;
  height: auto;
  flex: 0 0 64px;
  object-fit: contain;
}

.topbar-title {
  flex: 1;
  margin-left: 10px;
}

.topbar-name {
  font-family: "Exo 2", Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 3.5px;
  color: #19135f;
}

.topbar-tagline {
  margin-top: 1px;
  font-family: "Exo 2", Arial, Helvetica, sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  word-spacing: 1px;
  color: #19135f;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.topbar-reset {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent url("../assets/reset.png") center / contain no-repeat;
  cursor: pointer;
  opacity: 0.72;
}

.topbar-reset::before {
  content: none;
}

.topbar-reset:hover,
.topbar-close:hover {
  opacity: 0.9;
}

.topbar-close {
  position: relative;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  background: none;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  opacity: 1;
  outline: none;
}

.topbar-close::before,
.topbar-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 2px;
  margin-left: -11.5px;
  margin-top: -1px;
  border-radius: 2px;
  background: #000000;
  box-shadow: none;
}

.topbar-close::before {
  transform: rotate(45deg);
}

.topbar-close::after {
  transform: rotate(-45deg);
}

    #chat {
  overflow: visible;
  padding: 18px 16px 4px;
}

    .bubble {
  width: fit-content;
  max-width: 78%;
  margin: 4px 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  font-size: 12.8px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
  white-space: pre-wrap;
}

    .bot {
      background: #edf1f4;
      border-bottom-left-radius: 4px;
    }

    .user {
      background: #d5ebf2;
      margin-left: auto;
      border-bottom-right-radius: 4px;
    }

    #controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  max-height: none;
  padding: 4px 16px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

    button {
      width: 100%;
      margin: 5px 0;
      padding: 12px;
      border: 0;
      border-radius: 8px;
      background: #176f88;
      color: white;
      cursor: pointer;
      font-size: 13.5px;
    }

    button:hover {
      background: #12596d;
    }

    input {
      width: 100%;
      padding: 12px;
      border: 1px solid #bbb;
      border-radius: 8px;
      font-size: 16px;
    }

    .end {
      text-align: center;
      color: #777;
      margin: 20px;
    }
.message-wrapper {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  width: 100%;
}


.bot-avatar {
  grid-column: 1;
  width: 42px;
  height: 42px;
  margin-top: 7px;
  object-fit: contain;
}


.message-wrapper .bubble {
  grid-column: 2;
  width: fit-content;
  max-width: 74%;
  margin-left: 0;
}

/* ===== LANDBOT REPLICA ===== */

body {
  font-family: Arial, Helvetica, sans-serif;
}

#app {
  background: linear-gradient(
    180deg,
    #D1FFD7 0%,
    #14E0EC 100%
  );
}

#chat {
  overflow: visible;
  padding: 18px 16px 4px;
}

.bubble {
  width: fit-content;
  max-width: 78%;
  margin: 4px 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  font-size: 12.8px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
  white-space: pre-wrap;
}

.bubble.bot,
.bot {
  color: #273238;
  background: rgba(255, 255, 255, 0.62);
  border-bottom-left-radius: 3px;
}

.bubble.user,
.user {
  margin-left: auto;
  color: #ffffff;
  background: rgba(24, 128, 130, 0.60);
  border-bottom-right-radius: 3px;
}

#controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  max-height: none;
  padding: 4px 16px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

#controls button {
  display: block;
  width:88%;
  justify-self:center;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 12px 16px;
  box-sizing: border-box;

  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;

  background: rgba(0, 106, 101, 0.78);
  color: #ffffff;

  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  font-family: Arial, Helvetica, sans-serif;
  font-size:12.7px;
  font-weight: 400;
  line-height: 1.18;
  text-align: center;

  cursor: pointer;
}

#controls button:hover {
  background: rgba(0, 118, 112, 0.84);
}

#controls button:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#controls button.restart {
  grid-column: 1 / -1;
  min-height: 42px;
  margin-top: 4px;

  border: 0;
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.42);
  color: rgba(20, 55, 60, 0.58);

  box-shadow: none;

  font-size: 12px;
}

#controls input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #30363a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.13);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  outline: none;
}

.message-wrapper .bubble {
  grid-column: 2;
  width: fit-content;
  max-width: 74%;
  margin-left: 0;
}


#controls.single-choice > button:not(.restart) {
  grid-column: 1 / -1;
}

/* ===== CHAT HEIGHT FIX ===== */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100vh;
  max-height: none;
  overflow: hidden;
}

#controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  max-height: none;
  padding: 4px 16px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* ===== SCROLL AND CONTROLS FIX ===== */

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

header.topbar{
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 22px;
    background:transparent;
}

#chat {
  overflow: visible;
  padding: 18px 16px 4px;
}

#controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  max-height: none;
  padding: 4px 16px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

#controls > button {
  flex-shrink: 0;
}

/* ===== STICKY HEADER SHADOW ===== */

header.topbar{
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 22px;
    background:transparent;
}

#controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  max-height: none;
  padding: 4px 16px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}


/* ===== HEADER MASK ===== */



#app.is-scrolled 


/* ===== ONE SCROLL CONTAINER ===== */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

header.topbar {
  flex: 0 0 auto;
}

.header-mask {
  position: sticky;
  top: var(--topbar-height, 150px);
  z-index: 99;
  height: 14px;
  margin-top: -5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.03) 45%,
    rgba(0, 0, 0, 0) 100%
  );
}

#app.is-scrolled .header-mask {
  opacity: 1;
}

#app.is-scrolled header.topbar {
  box-shadow: none;
}

#chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

#chat {
  overflow: visible;
  padding: 18px 16px 4px;
}

#controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  max-height: none;
  padding: 4px 16px 16px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

#controls.single-choice > button:not(.restart),
#controls > input,
#controls > .restart,
#controls > .end {
  grid-column: 1 / -1;
}


.bubble.user,
.user {
  max-width: 74%;
}

/* ===== FINAL CHOICE GRID ===== */

#controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px 28px 16px;
  box-sizing: border-box;
  overflow: visible;
  max-height: none;
  border: 0;
  background: transparent;
}

#controls > button {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  margin: 0;
}

#controls.single-choice > button:not(.restart),
#controls > input,
#controls > .restart,
#controls > .end {
  grid-column: 1 / -1;
}

.sailbot-restart {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  cursor: pointer;
}

.sailbot-restart:hover {
  background: rgba(255, 255, 255, 0.34);
}



/* ===== Textový vstup se šipkou uvnitř ===== */

#controls:has(.input-box) {
  display: block;
  margin: 8px 16px 14px;
  padding: 0;
  background: transparent;
}

.input-box {
  position: relative;
  width: 100%;
}

.input-box input {
  display: block;
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 46px 0 14px;
  border: 2px solid rgba(25, 19, 95, 0.8);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  color: #222;
  font: inherit;
  font-size: 15px;
  box-shadow: none;
}

.input-box input::placeholder {
  color: rgba(45, 55, 55, 0.55);
}

.input-box input:focus {
  border-color: #19135f;
}

.input-box .input-send {
  position: absolute !important;
  top: 50% !important;
  right: 6px !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  color: rgba(45, 70, 68, 0.58) !important;
  font-size: 21px !important;
  line-height: 32px !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer;
}

.input-box .input-send:hover {
  color: #19135f !important;
  background: rgba(255, 255, 255, 0.35) !important;
}

.input-box .input-send:active {
  transform: translateY(-50%) scale(0.94) !important;
}

.input-hint {
  margin-top: 5px;
  color: rgba(20, 20, 20, 0.82);
  font-size: 10px;
  line-height: 1.2;
}


/* ===== Message images ===== */
.message-wrapper-media {
  margin-top: 4px;
}

.bot-avatar-spacer {
  grid-column: 1;
  width: 42px;
  height: 1px;
}

.message-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.bubble-media-inline {
  overflow: hidden;
}

.bubble-media-inline .message-image-inline {
  width: 100%;
  margin-top: 9px;
  border-radius: 7px;
  object-fit: contain;
}

.bubble-media-cover {
  width: min(74%, 420px) !important;
  max-width: 74% !important;
  padding: 0 !important;
  overflow: hidden;
  background: transparent !important;
}

.bubble-media-cover .message-image-cover {
  width: 100%;
  max-height: 360px;
  border-radius: inherit;
  object-fit: cover;
}


/* ===== V10.5 Markdown rendering ===== */
.bubble ul {
  margin: 4px 0 4px 18px;
  padding: 0;
}

.bubble li {
  margin: 2px 0;
}

.bubble strong {
  font-weight: 700;
}

.bubble em {
  font-style: italic;
}

.markdown-empty-line {
  height: .75em;
}


/* V11.7: formatted text sizes inside chat bubbles */
.bubble .text-size {
  line-height: inherit;
}


/* V11.9: close control is intentionally pure black in every theme/state. */
.topbar-close,
.topbar-close:hover,
.topbar-close:focus,
.topbar-close:focus-visible,
.topbar-close:active {
  color: #000000 !important;
  border-color: transparent !important;
  outline-color: #000000 !important;
}
.topbar-close::before,
.topbar-close::after,
.topbar-close:hover::before,
.topbar-close:hover::after,
.topbar-close:focus::before,
.topbar-close:focus::after,
.topbar-close:active::before,
.topbar-close:active::after {
  background: #000000 !important;
  opacity: 1 !important;
}


/* ===== FREE CHAT ===== */

#free-chat {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 9px 16px 13px;

  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.50) 0px,
      rgba(255,255,255,.50) 14px,
      rgba(255,255,255,.75) 14px,
      rgba(255,255,255,.75) 28px
    ),
    #FF9700;

  /* original gradient removed */
  background-image: repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.50) 0px,
      rgba(255,255,255,.50) 14px,
      rgba(255,255,255,.75) 14px,
      rgba(255,255,255,.75) 28px
    );

  border-top: 1px solid rgba(255,255,255,.8);
}

.free-chat-hint {
  margin: 0 0 6px;
  width: 100%;
  text-align: center;

  font-family: Roboto, Arial, sans-serif;
  font-size: 7pt;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .55px;

  color: #8a3d00;
}



.free-chat-hint {
  font-size: 0;
}



.free-chat-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

#free-chat-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  box-sizing: border-box;

  padding: 0 15px;

  border: 2px solid #f28c28;
  border-radius: 20px;
  outline: none;

  background: #fff;

  font-family: Roboto, Arial, sans-serif;
  font-size: var(--chat-font-size, 15px);
  font-style: italic;
  font-weight: 400;

  color: #a84f00;

  box-shadow:
    0 2px 6px rgba(0,0,0,.10),
    inset 0 0 0 1px rgba(255,255,255,.8);

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

#free-chat-input::placeholder {
  font-family: Roboto, Arial, sans-serif;
  font-size: inherit;
  font-style: italic;
  font-weight: 400;

  color: #b65b0a;
  opacity: .82;
}

#free-chat-input:focus {
  border-color: #e9780b;

  box-shadow:
    0 0 0 2px rgba(242,140,40,.18),
    0 2px 7px rgba(0,0,0,.12);
}

#free-chat-send {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;

  margin: 0;
  padding: 0;

  border: 2px solid #f28c28;
  border-radius: 20px;

  background: #fff;
  color: #d96800;

  font-family: Roboto, Arial, sans-serif;
  font-size: 22px;
  line-height: 44px;

  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0,0,0,.10);
}

#free-chat-send:hover {
  background: #fff5eb;
}

#free-chat-return {
  flex: 0 0 auto;
  width: auto;
  height: 48px;

  margin: 0;
  padding: 0 12px;

  border: 2px solid #f28c28;
  border-radius: 20px;

  background: #fff;
  color: #a84f00;

  font-family: Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;

  white-space: nowrap;
  cursor: pointer;
}

#free-chat-return[hidden] {
  display: none;
}


.guide-zone-label {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  padding: 5px 16px 3px;

  font-family: Roboto, Arial, sans-serif;
  font-size: 7pt;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .55px;
  text-align: center;

  color: #fff;
  background: transparent;
}

.guide-zone-label b,
.free-chat-hint b {
  font-weight: 700;
}

/* ===== GUIDE / AI ZONE FINAL ===== */

.guide-zone-label {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 0 5px;

  font-family: Roboto, Arial, sans-serif;
  font-size: 7pt;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .5px;
  text-align: center;

  color: rgba(255,255,255,.95);
  background: transparent;
}

.guide-zone-label b {
  font-weight: 700;
}

#free-chat {
  flex: 0 0 auto;
  box-sizing: border-box;

  padding: 15px 16px;

  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.50) 0px,
      rgba(255,255,255,.50) 14px,
      rgba(255,255,255,.75) 14px,
      rgba(255,255,255,.75) 28px
    ),
    #FF9700;

  border-top: 1px solid rgba(255,255,255,.75);
}

.free-chat-hint {
  width: 74%;
  max-width: 620px;
  margin: 0 auto 7px;

  font-family: Roboto, Arial, sans-serif;
  font-size: 7pt !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .5px;
  text-align: center;

  color: #8A3D00;
}

.free-chat-hint b {
  font-weight: 700;
}

.free-chat-row {
  display: flex;
  align-items: center;
  gap: 7px;

  width: 74%;
  max-width: 620px;
  margin: 0 auto;
}

#free-chat-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;

  box-sizing: border-box;
  padding: 0 15px;

  border: 2px solid #FF9700;
  border-radius: 20px;
  outline: none;

  background: #FFFFFF;
  color: #A84F00;

  font-family: Roboto, Arial, sans-serif;
  font-size: 12.8px;
  font-style: italic;
  font-weight: 400;

  box-shadow: 0 2px 5px rgba(0,0,0,.10);
}

#free-chat-input::placeholder {
  color: #B65B0A;
  opacity: .82;
  font: inherit;
}

#free-chat-send {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;

  margin: 0;
  padding: 0;

  border: 2px solid #FF9700;
  border-radius: 20px;

  background: #FFFFFF;
  color: #D96800;

  font-size: 20px;
  line-height: 40px;

  box-shadow: 0 2px 5px rgba(0,0,0,.10);
}

#free-chat-return {
  flex: 0 0 auto;
  width: auto;
  height: 44px;

  margin: 0;
  padding: 0 12px;

  border: 2px solid #FF9700;
  border-radius: 20px;

  background: #FFFFFF;
  color: #A84F00;

  font-family: Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

#free-chat-return[hidden] {
  display: none;
}

/* AI ZONE – symetrie s GUIDE ZONE */
.free-chat-hint {
  position: relative;
  top: -8px;
  margin-bottom: -1px;
}


/* ===== AI THINKING ===== */

.ai-thinking-wrapper {
  margin-top: 2px;
}

.ai-thinking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 42px;
  min-height: 24px;
  padding: 8px 12px;
}

.ai-thinking span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(39, 50, 56, 0.55);
  animation: aiThinkingDot 1.15s infinite ease-in-out;
}

.ai-thinking span:nth-child(2) {
  animation-delay: .15s;
}

.ai-thinking span:nth-child(3) {
  animation-delay: .30s;
}

@keyframes aiThinkingDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: .35;
  }

  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}


/* ===== AI CHAT STREAM ===== */

#ai-chat {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 16px 14px;
}

#ai-chat:empty {
  display: none;
}

#ai-chat .bubble.user {
  margin-top: 8px;
  margin-left: auto;
}

#ai-chat .message-wrapper {
  margin-top: 8px;
}


/* ===== GUIDE RESUME ===== */

.guide-resume {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}

.guide-resume-chat {
  width: 100%;
}

.guide-resume-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  box-sizing: border-box;
  padding: 4px 12px 8px;
}

.guide-resume-controls > button {
  width: 100%;
  margin: 0;
  min-height: 58px;
  padding: 12px 16px;

  border: 2px solid rgba(255,255,255,.92);
  border-radius: 20px;

  background: rgba(0,106,101,.78);
  color: #fff;

  font-size: 12.7px;
  line-height: 1.18;
}

.guide-resume-controls.single-choice > button {
  grid-column: 1 / -1;
}

/* ===== SAILGURU SHARED LANDBOT SPACING ===== */
/* Save & Repair + Sail & Anchor */

body[data-app="save-repair"] .bubble,
body[data-app="sail-anchor"] .bubble {
    font-size: 14px;
    line-height: 1.42;
}

body[data-app="save-repair"] .bubble.bot,
body[data-app="save-repair"] .bot,
body[data-app="sail-anchor"] .bubble.bot,
body[data-app="sail-anchor"] .bot {
    padding: 15px 18px;
}

body[data-app="save-repair"] .message-wrapper,
body[data-app="sail-anchor"] .message-wrapper {
    margin-bottom: 10px;
}

body[data-app="save-repair"] #controls,
body[data-app="sail-anchor"] #controls {
    margin-top: 14px;
    gap: 10px;
}

body[data-app="save-repair"] #controls button:not(.restart):not(.sailbot-restart),
body[data-app="sail-anchor"] #controls button:not(.restart):not(.sailbot-restart) {
    padding: 15px 20px;
}

/* Odpověď uživatele: zelená bublina podle obsahu */
body[data-app="save-repair"] .bubble.user,
body[data-app="sail-anchor"] .bubble.user {
    width: fit-content;
    min-width: 90px;
    max-width: 70%;
    padding: 13px 24px;
    margin-left: auto;
    margin-right: 0;
    background: #29cf87;
    color: #fff;
    border: 0;
    border-radius: 18px;
}

body[data-app="save-repair"] .message-wrapper:has(.bubble.user),
body[data-app="sail-anchor"] .message-wrapper:has(.bubble.user) {
    justify-content: flex-end;
}

body[data-app="save-repair"] .message-wrapper:has(.bubble.user) .bot-avatar,
body[data-app="sail-anchor"] .message-wrapper:has(.bubble.user) .bot-avatar {
    display: none;
}

/* WordPress emoji musí zůstat emoji, ne nástěnná malba */
body[data-app="save-repair"] img.emoji,
body[data-app="sail-anchor"] img.emoji {
    display: inline-block !important;
    width: 1em !important;
    height: 1em !important;
    margin: 0 .07em !important;
    vertical-align: -0.1em !important;
    object-fit: contain !important;
}


/* ===== SAILGURU DIALOG FONT ===== */
body[data-app="save-repair"] .bubble,
body[data-app="sail-anchor"] .bubble,
body[data-app="save-repair"] #controls button,
body[data-app="sail-anchor"] #controls button {
    font-family: "Barlow", Tahoma, sans-serif;
    font-weight: 400;
}
