/* 1.1.74 – M_Robi (navigator, help, live chat). MarketOrg colours only. */
.robi { position: fixed; right: 18px; bottom: 18px; z-index: 900; font-size: .92rem; }
.robi-fab { position: relative; width: 64px; height: 64px; border-radius: 50%; padding: 0; border: 2px solid var(--gold); cursor: pointer;
  background: var(--navy-800); box-shadow: 0 6px 22px rgba(8,19,31,.35), 0 0 0 0 rgba(201,163,93,.5); overflow: visible;
  animation: robi-float 4.5s ease-in-out infinite; transition: transform .2s; }
.robi-fab:hover, .robi-fab:focus-visible { transform: scale(1.06); outline: none; box-shadow: 0 6px 22px rgba(8,19,31,.35), 0 0 0 6px rgba(201,163,93,.28); }
.robi-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.robi-dot { position: absolute; right: 2px; bottom: 3px; width: 14px; height: 14px; border-radius: 50%; background: #9aa3ae; border: 2px solid #fff; }
.robi.is-on .robi-dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(46,139,87,.6); animation: robi-pulse 2.2s infinite; }
.robi-badge { position: absolute; top: -4px; left: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--err);
  color: #fff; font: 700 .78rem/22px var(--f); text-align: center; }
.robi.ping .robi-fab { animation: robi-float 4.5s ease-in-out infinite, robi-ring 1.6s ease-out infinite; }
.robi.on .robi-fab { animation: none; }
@keyframes robi-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes robi-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,139,87,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(46,139,87,0); } }
@keyframes robi-ring { 0% { box-shadow: 0 6px 22px rgba(8,19,31,.35), 0 0 0 0 rgba(201,163,93,.6); } 100% { box-shadow: 0 6px 22px rgba(8,19,31,.35), 0 0 0 16px rgba(201,163,93,0); } }

.robi-panel { position: absolute; right: 0; bottom: 78px; width: min(370px, calc(100vw - 28px)); max-height: min(600px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(8,19,31,.28); animation: robi-in .22s ease-out; }
@keyframes robi-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.robi-hd { display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: radial-gradient(120% 140% at 0% 0%, var(--navy-600) 0%, var(--navy-900) 70%); color: #fff; }
.robi-hd img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.robi-hd div { flex: 1; min-width: 0; } .robi-hd b { display: block; letter-spacing: .04em; color: var(--gold-2); }
.robi-st { font-size: .78rem; color: #c9d1db; } .robi-st.on { color: #7fd6a3; }
.robi-x { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 2px 6px; opacity: .8; }
.robi-x:hover { opacity: 1; }
.robi-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.robi-tabs button { flex: 1; border: 0; background: none; padding: 9px 6px; cursor: pointer; font: 600 .88rem var(--f); color: var(--muted); border-bottom: 2px solid transparent; }
.robi-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); background: #fff; }
.robi-tdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9aa3ae; vertical-align: middle; margin-left: 4px; }
.robi-tdot.on { background: var(--ok); }
.robi-body { padding: 12px 14px; overflow-y: auto; flex: 1; min-height: 0; }
.robi-hello { color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.robi-page { background: var(--gold-soft); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.robi-page small { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--gold-ink); font-weight: 700; }
.robi-page p { margin: 4px 0 0; color: var(--ink); } .robi-page .robi-next { color: var(--text); }
.robi-find input { width: 100%; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 9px; font: inherit; background: var(--field); }
.robi-find input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.robi-res { list-style: none; margin: 6px 0 0; padding: 0; }
.robi-res button { width: 100%; display: flex; justify-content: space-between; gap: 8px; text-align: left; border: 0; background: none; padding: 7px 8px;
  border-radius: 7px; cursor: pointer; font: inherit; color: var(--ink); }
.robi-res button:hover, .robi-res button:focus-visible { background: var(--bg-alt); }
.robi-res button span { color: var(--gold-ink); font-weight: 600; white-space: nowrap; font-size: .82rem; }
.robi-none { color: var(--muted); padding: 6px 8px; }
.robi-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.robi-btn { border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 8px; padding: 7px 12px; font: 600 .86rem var(--f); cursor: pointer; }
.robi-btn:hover { border-color: var(--gold); }
.robi-btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.robi-btn.gold:hover { background: var(--gold-2); } .robi-btn:disabled { opacity: .6; cursor: wait; }
.robi-link { background: none; border: 0; color: var(--gold-ink); font: 600 .86rem var(--f); cursor: pointer; text-decoration: underline; padding: 4px 2px; }

.robi-first { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.robi-log { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.robi-log li { max-width: 86%; padding: 7px 10px; border-radius: 12px; }
.robi-log li small { display: block; font-size: .7rem; color: var(--muted); margin-bottom: 2px; }
.robi-log li p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.robi-log li.me { align-self: flex-end; background: var(--gold-soft); border-bottom-right-radius: 4px; }
.robi-log li.t { align-self: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.robi-form { display: flex; flex-direction: column; gap: 7px; }
.robi-guest { display: flex; gap: 6px; } .robi-guest input { flex: 1; min-width: 0; }
.robi-form input, .robi-form textarea { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 9px; font: inherit; background: var(--field); resize: vertical; }
.robi-form input:focus, .robi-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.robi-form .robi-btn { align-self: flex-end; }
.robi-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.robi-note { display: block; color: var(--muted); font-size: .78rem; }
.robi-away { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .82rem; color: var(--ink); }

/* pointing: lighthouse glow + the hand */
.robi-glow { position: relative; z-index: 1; border-radius: 6px; animation: robi-glow 1.3s ease-in-out 3; box-shadow: 0 0 0 3px var(--gold), 0 0 22px 6px rgba(227,197,135,.75) !important; }
@keyframes robi-glow { 0%,100% { box-shadow: 0 0 0 3px var(--gold), 0 0 10px 2px rgba(227,197,135,.5); } 50% { box-shadow: 0 0 0 4px var(--gold-2), 0 0 30px 12px rgba(227,197,135,.85); } }
.robi-hand { position: absolute; z-index: 950; width: 38px; height: 38px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .25s, transform .25s;
  background: var(--navy-800) url("robi/robi-96.ca0f74a68ed3.webp") center/cover; border: 2px solid var(--gold); box-shadow: 0 4px 14px rgba(8,19,31,.35); transform: translateX(-8px); }
.robi-hand::after { content: "➜"; position: absolute; right: -16px; top: 7px; color: var(--gold); font-size: 1.05rem; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.robi-hand.on { opacity: 1; transform: none; animation: robi-nudge 1s ease-in-out infinite; }
@keyframes robi-nudge { 0%,100% { margin-left: 0; } 50% { margin-left: 5px; } }

/* the tour bubble */
.robi-tour { position: absolute; z-index: 960; display: flex; gap: 10px; padding: 12px 14px; background: var(--navy-900); color: #e9edf2;
  border: 1px solid var(--gold); border-radius: 12px; box-shadow: 0 16px 40px rgba(8,19,31,.4); animation: robi-in .22s ease-out; }
.robi-tour img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; flex: none; }
.robi-tour small { color: var(--gold-2); font-weight: 700; letter-spacing: .04em; } .robi-tour p { margin: 4px 0 0; color: #fff; }
.robi-tour .robi-link { color: #c9d1db; } .robi-tour .robi-row { margin-top: 8px; justify-content: flex-end; }

/* the menu bubble */
.robi-bub { position: absolute; z-index: 940; max-width: 290px; padding: 10px 12px; background: var(--navy-900); color: #fff; border-radius: 10px;
  border: 1px solid rgba(201,163,93,.6); box-shadow: 0 10px 28px rgba(8,19,31,.35); font-size: .84rem; line-height: 1.45; animation: robi-in .16s ease-out; }
.robi-bub p { margin: 0 0 7px; color: #fff; }
.robi-bub button { border: 0; background: var(--gold); color: var(--navy-950); border-radius: 6px; padding: 4px 9px; font: 700 .78rem var(--f); cursor: pointer; }
.robi-bub button:hover { background: var(--gold-2); }
.robi-bub.r::before { content: ""; position: absolute; left: -7px; top: calc(50% - 7px); border: 7px solid transparent; border-left: 0; border-right-color: var(--navy-900); }

/* ⓘ instead of the old help box */
.pmain { position: relative; }
.pg-i { position: absolute; top: 0; right: 0; z-index: 2; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e6dcc4; background: #fbf8f1;
  color: var(--gold-ink); border-radius: 999px; padding: 3px 10px 3px 4px; font: 600 .8rem var(--f); cursor: pointer; }
.pg-i img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.pg-i:hover, .pg-i:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,163,93,.22); outline: none; }

@media (max-width: 760px) {
  .robi { right: 12px; bottom: 12px; } .robi-fab { width: 54px; height: 54px; }
  .robi-panel { position: fixed; right: 8px; left: 8px; bottom: 76px; width: auto; max-height: calc(100vh - 96px); }
  .robi-guest { flex-direction: column; }
}
@media print { .robi, .robi-hand, .robi-bub, .robi-tour, .pg-i { display: none !important; } }
