/* Flakk Guest (v3.8) — phone-first, light + dark, themed per hotel from its config (JS sets --brand, --brand-2, --font). */
:root {
  --brand: #AEE0E6; --brand-2: #0E1824; --hero-bg: var(--brand); --hero-ink: var(--brand-2);
  --bg: #F2F6F8; --surface: #FFFFFF; --surface-2: #EAF0F3; --ink: #0E1824; --muted: #4D5B68; --rule: rgba(14, 24, 36, .14);
  --btn: var(--brand-2); --btn-ink: #FFFFFF; --accent-strong: #2A7F8A; --accent-glow: rgba(42, 127, 138, .4);
  --stage: #EEF4F7; --glass: #DCEEF5; --recess: rgba(14, 24, 36, .07); --metal: #C9D2DA; --fabric: #E6D9C8; --blind: #E4E0D8;
  --v3-floor: #E9E2D6; --v3-wall: #FFFFFF; --v3-walltop: #2B3946; --v3-furn: #D3DAE0;
  --ok: #17694A; --ok-bg: #E2F3EA; --warn: #7E520A; --warn-bg: #FBF0DA; --bad: #9A3123; --bad-bg: #F9E3DF; --info-bg: #E2ECF7; --info: #245892;
  --flakk-navy: #0F2A47; --flakk-amber: #F2A741;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px; --shadow: 0 1px 2px rgba(10, 29, 51, .06), 0 10px 30px -14px rgba(10, 29, 51, .25);
  --nav-h: 68px; --top-h: 58px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B141E; --surface: #15202C; --surface-2: #1E2B39; --ink: #EAF2F6; --muted: #A9B7C3; --rule: rgba(234, 242, 246, .14);
    --btn: var(--brand); --btn-ink: var(--brand-2); --stage: #111C27; --glass: #20384A; --recess: rgba(255, 255, 255, .05); --metal: #4A5866; --fabric: #4A4036; --blind: #3B3832;
    --v3-floor: #3A3530; --v3-wall: #C9D1D8; --v3-walltop: #0B141E; --v3-furn: #5B6672;
    --ok: #7FD3AA; --ok-bg: rgba(31, 138, 91, .22); --warn: #F2C46E; --warn-bg: rgba(201, 134, 18, .2); --bad: #F2A196; --bad-bg: rgba(194, 64, 47, .22); --info-bg: rgba(47, 111, 179, .24); --info: #9CC3EE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B141E; --surface: #15202C; --surface-2: #1E2B39; --ink: #EAF2F6; --muted: #A9B7C3; --rule: rgba(234, 242, 246, .14);
  --btn: var(--brand); --btn-ink: var(--brand-2); --stage: #111C27; --glass: #20384A; --recess: rgba(255, 255, 255, .05); --metal: #4A5866; --fabric: #4A4036; --blind: #3B3832;
  --v3-floor: #3A3530; --v3-wall: #C9D1D8; --v3-walltop: #0B141E; --v3-furn: #5B6672;
  --ok: #7FD3AA; --ok-bg: rgba(31, 138, 91, .22); --warn: #F2C46E; --warn-bg: rgba(201, 134, 18, .2); --bad: #F2A196; --bad-bg: rgba(194, 64, 47, .22); --info-bg: rgba(47, 111, 179, .24); --info: #9CC3EE;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flakk-amber); outline-offset: 2px; border-radius: 10px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.top .brand { font-weight: 700; font-size: 18px; letter-spacing: -.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.top .brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); line-height: 1.1; }
.tbtn { min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; padding: 0 10px; font-weight: 600; font-size: 14px; }
.demo-bar { background: var(--warn-bg); color: var(--warn); font-size: 14px; font-weight: 500; padding: 8px 16px; display: flex; gap: 8px; align-items: flex-start; }

/* layout */
.wrap { max-width: 760px; margin: 0 auto; padding: 16px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
main:focus { outline: none; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 4px; }
h2 { font-size: 19px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.01em; }
h3 { font-size: 16px; margin: 0; }
.muted { color: var(--muted); }
.sec { margin-top: 22px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.hero { background: var(--hero-bg); color: var(--hero-ink); border-radius: 24px; padding: 20px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 40px; transform: rotate(45deg); background: color-mix(in srgb, var(--hero-ink) 7%, transparent); }
.hero .hi { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; position: relative; }
.hero p { margin: 6px 0 0; position: relative; opacity: .9; }
.stay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; position: relative; }
.stay .box { background: color-mix(in srgb, var(--hero-ink) 9%, transparent); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.stay .box b { display: block; font-size: 17px; }
.stay .box span { font-size: 13px; opacity: .85; }
.stay .wide { grid-column: 1 / -1; }
.countdown { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); position: relative; font-weight: 600; }
.countdown .ic { color: var(--accent-strong); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 96px; padding: 14px; border-radius: 16px; border: 1px solid var(--rule); background: var(--surface); cursor: pointer; text-align: left; text-decoration: none; font-weight: 600; line-height: 1.25; box-shadow: var(--shadow); width: 100%; }
.tile .ib { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 45%, var(--surface)); color: var(--accent-strong); }
.tile.sos .ib { background: var(--bad-bg); color: var(--bad); }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.tile[aria-disabled="true"] { opacity: .55; }
.list { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); min-height: 56px; width: 100%; text-align: left; cursor: default; }
button.row, a.row { cursor: pointer; text-decoration: none; }
.row .grow { flex: 1; min-width: 0; }
.row .grow b { display: block; font-weight: 600; }
.row .grow span { font-size: 14px; color: var(--muted); display: block; overflow-wrap: anywhere; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); } .chip.warn { background: var(--warn-bg); color: var(--warn); } .chip.info { background: var(--info-bg); color: var(--info); } .chip.bad { background: var(--bad-bg); color: var(--bad); }
.btn { min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--rule); background: var(--surface); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.pri { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.btn.block { width: 100%; }
.btn.sos { background: #C2402F; color: #fff; border-color: transparent; }
.btn:disabled { opacity: .55; cursor: default; }
.note { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note .ic { margin-top: 1px; }
.empty { padding: 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--rule); border-radius: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field label { font-weight: 600; font-size: 15px; }
.field textarea, .field input { width: 100%; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--surface); padding: 12px 14px; min-height: 48px; font-size: 16px; }
.field textarea { min-height: 110px; resize: vertical; }
.field textarea:focus, .field input:focus { border-color: var(--accent-strong); outline: none; box-shadow: 0 0 0 3px var(--accent-glow); }
details.info { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; }
details.info + details.info { margin-top: 8px; }
details.info summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 56px; font-weight: 600; }
details.info summary::-webkit-details-marker { display: none; }
details.info summary .chev { margin-left: auto; transition: transform .25s; color: var(--muted); }
details.info[open] summary .chev { transform: rotate(180deg); }
details.info .body { padding: 0 16px 16px 50px; margin-top: -4px; white-space: pre-line; }
.sos-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; background: var(--bad-bg); color: var(--bad); border-radius: 18px; padding: 14px 16px; }
.sos-card b { font-size: 34px; letter-spacing: -.02em; line-height: 1; }
.sos-card .grow { flex: 1 1 180px; min-width: 0; }
.sos-card .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .sos-card .btn { flex: 0 0 auto; } }

/* bottom nav (left rail on wide screens) */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--rule); }
.nav button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); border-radius: 14px; cursor: pointer; min-height: 52px; min-width: 0; padding: 0 2px; }
.nav button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav button[aria-current="page"] { color: var(--ink); }
.nav button[aria-current="page"] .ic { color: var(--accent-strong); }
.nav .ai .ic { color: var(--flakk-amber); }
@media (min-width: 960px) {
  .nav { top: var(--top-h); bottom: 0; right: auto; width: 112px; height: auto; grid-template-columns: 1fr; grid-auto-rows: 78px; align-content: start; padding: 12px 8px; border-top: 0; border-right: 1px solid var(--rule); }
  .nav button { font-size: 13px; }
  .wrap { padding-left: 140px; padding-right: 24px; padding-bottom: 40px; max-width: 920px; }
  .demo-bar { padding-left: 128px; }
}

/* sheets (request form, guide, chat) */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5, 10, 16, .45); display: none; }
.scrim.open { display: block; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 92vh; max-height: 92dvh; background: var(--bg); border-radius: 24px 24px 0 0; display: none; flex-direction: column; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .4); }
.sheet.open { display: flex; animation: up .28s cubic-bezier(.2, .8, .2, 1); }
.sheet .sh-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--rule); flex: none; }
.sheet .sh-h h2 { margin: 0; flex: 1; font-size: 18px; min-width: 0; }
.sheet .sh-b { overflow: auto; padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); flex: 1; overscroll-behavior: contain; }
.xbtn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); display: grid; place-items: center; cursor: pointer; flex: none; }
@media (min-width: 720px) { .sheet { left: 50%; right: auto; bottom: 50%; width: 600px; transform: translate(-50%, 50%); border-radius: 24px; max-height: 88vh; } .sheet.open { animation: none; } }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* chat */
.chat { position: fixed; inset: 0; z-index: 70; display: none; flex-direction: column; background: var(--bg); height: 100vh; height: 100dvh; }
.chat.open { display: flex; }
.chat .ch-h { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-bottom: 1px solid var(--rule); background: var(--flakk-navy); color: #F3EDE2; min-height: 60px; }
.chat .ch-h h2 { margin: 0; font-size: 18px; line-height: 1.1; }
.chat .ch-h small { display: block; font-size: 12.5px; opacity: .8; font-weight: 500; }
.chat .ch-h .xbtn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.chat .ch-h .grow { flex: 1; min-width: 0; }
.flakk-mark { width: 34px; height: 34px; flex: none; }
.ch-log { flex: 1; overflow: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--btn); color: var(--btn-ink); border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--rule); border-bottom-left-radius: 6px; }
.msg.err { align-self: center; background: var(--bad-bg); color: var(--bad); font-size: 14px; }
.msg .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .acts button { min-height: 40px; border-radius: 12px; border: 1.5px solid var(--accent-strong); background: transparent; color: var(--accent-strong); font-weight: 600; font-size: 14px; padding: 4px 12px; cursor: pointer; text-align: left; }
.typing { display: inline-flex; gap: 4px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.ch-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 8px; flex: none; scrollbar-width: none; }
.ch-chips button { flex: none; min-height: 40px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); padding: 0 14px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ch-in { flex: none; display: flex; gap: 8px; align-items: flex-end; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--surface); }
.ch-in textarea { flex: 1; min-height: 46px; max-height: 120px; resize: none; border: 1.5px solid var(--rule); border-radius: 14px; padding: 11px 14px; background: var(--bg); font-size: 16px; line-height: 1.35; }
.ch-in textarea:focus { outline: none; border-color: var(--accent-strong); }
.ch-in .send { width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--flakk-amber); color: #0F2A47; display: grid; place-items: center; cursor: pointer; flex: none; }
.ch-foot { font-size: 12px; color: var(--muted); padding: 0 14px 6px; flex: none; }
@media (min-width: 960px) { .chat { left: auto; width: 440px; border-left: 1px solid var(--rule); box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .4); } }
@media (max-height: 420px) { .ch-chips, .ch-foot { display: none; } .chat .ch-h { min-height: 52px; } }

/* 3D viewer */
.v3wrap { position: relative; height: 320px; border-radius: 20px; overflow: hidden; background: var(--stage); border: 1px solid var(--rule); }
@media (min-width: 720px) { .v3wrap { height: 420px; } }
.v3host, .v3 { position: absolute; inset: 0; }
.v3-c { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.v3-hots { position: absolute; inset: 0; pointer-events: none; }
.v3-hot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border: 0; background: transparent; pointer-events: auto; cursor: pointer; display: grid; place-items: center; padding: 0; }
.v3-2d .v3-hot { transform: translate(-50%, -50%); }
.v3-hot span { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-strong); color: var(--ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.v3-hot.on span { background: var(--flakk-amber); border-color: var(--flakk-amber); color: #0F2A47; }
.v3-ctl { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; }
.v3-b { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); font-size: 20px; font-weight: 600; cursor: pointer; }
.v3-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.v3-tag { position: absolute; left: 10px; bottom: 10px; right: 64px; font-size: 12.5px; font-weight: 600; background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 5px 9px; pointer-events: none; }
.v3-2d { position: absolute; inset: 0; padding: 12px; }
.v3-2d svg { width: 100%; height: 100%; }
.v2-floor { fill: var(--v3-floor); } .v2-furn { fill: var(--v3-furn); opacity: .7; } .v2-wall { stroke: var(--ink); stroke-width: 10; stroke-linecap: square; } .v2-wall.outer { stroke-width: 14; }
.v2-win { stroke: #6CB8DE; stroke-width: 8; } .v2-room { fill: var(--muted); font: 600 22px var(--font); text-anchor: middle; } .v2-item rect { fill: var(--accent-strong); opacity: .85; }
.itemrow .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 2px solid var(--accent-strong); flex: none; }

/* screens: landing / expired */
.center { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.flakk-foot { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 28px; }
.flakk-foot svg { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-weight: 600; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* ===== v3.9 the orb (Flakk navy background, Flakk amber orb; follows the phone's dark/light) ===== */
body.o-body { --o-bg: #0F2A47; --o-bg2: #0A1D33; --o-amber: #F2A741; --o-amber-2: #FFD48A; --o-ink: #F3EDE2; background: radial-gradient(120% 80% at 50% 30%, #163A61 0%, var(--o-bg) 55%, var(--o-bg2) 100%); color: var(--o-ink); overflow: hidden; }
@media (prefers-color-scheme: dark) { body.o-body { --o-bg: #0A1D33; --o-bg2: #050E1A; background: radial-gradient(120% 80% at 50% 30%, #112C4B 0%, var(--o-bg) 55%, var(--o-bg2) 100%); } }
.o-app { position: relative; display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.o-vis { flex: 0 0 auto; max-height: 0; overflow: hidden; width: 100%; max-width: 380px; margin: 0 auto; padding: 0 14px; transition: max-height .45s cubic-bezier(.3,1,.4,1); }
.o-app.has-vis .o-vis { flex: 1 1 auto; max-height: var(--visH); overflow-y: auto; padding-top: 18px; display: flex; flex-direction: column; justify-content: flex-start; }
.o-vis > .o-card { margin-top: auto; margin-bottom: auto; flex: none; } /* v3.14: centred when there is room, from the top (and scrollable) when the card is taller than the area */
.o-center { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px 22px 18px; text-align: center; transition: padding .45s; }
.o-app.has-vis .o-center { flex: 0 0 auto; justify-content: flex-end; gap: 8px; padding-bottom: 22px; }
.o-you { margin: 0; min-height: 1.3em; max-width: 520px; font-family: 'Geist', system-ui, sans-serif; font-size: 14px; line-height: 1.4; color: rgba(243,237,226,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.orb { --lvl: 0; --sz: min(30vw, 124px); position: relative; flex: none; width: var(--sz); height: var(--sz); border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; transition: width .45s cubic-bezier(.3,1.2,.5,1), height .45s cubic-bezier(.3,1.2,.5,1); }
.o-app.has-vis .orb { --sz: 56px; }
.orb > span { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.orb-core { background: radial-gradient(circle at 35% 30%, #FFF6DF 0%, var(--o-amber-2) 16%, var(--o-amber) 46%, #D9862A 78%, #A8611A 100%); box-shadow: inset -12px -16px 34px rgba(80,40,0,.28), 0 0 60px -6px rgba(242,167,65,.55); transform: scale(calc(1 + var(--lvl) * .14)); transition: transform .08s; animation: orb-breathe 4.2s ease-in-out infinite; }
.orb-glow { inset: -22% !important; background: radial-gradient(circle, rgba(242,167,65,.42) 0%, rgba(242,167,65,0) 66%); filter: blur(8px); animation: orb-glow 4.2s ease-in-out infinite; }
.orb-ring { border: 2px solid rgba(242,167,65,.7); opacity: 0; }
.orb.listening .orb-ring { animation: orb-ring 1.4s ease-out infinite; }
.orb.listening .orb-ring.r2 { animation-delay: .7s; }
.orb.listening .orb-core { animation: none; }
.orb.busy .orb-core { animation: orb-think 1.2s ease-in-out infinite; }
.orb:focus-visible { outline: 3px solid var(--o-amber-2); outline-offset: 8px; }
@keyframes orb-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes orb-glow { 0%,100% { opacity: .5; } 50% { opacity: .85; } }
@keyframes orb-ring { from { transform: scale(1); opacity: .85; } to { transform: scale(1.6); opacity: 0; } }
@keyframes orb-think { 0%,100% { transform: scale(.96); filter: brightness(1); } 50% { transform: scale(1.02); filter: brightness(1.12); } }
@media (prefers-reduced-motion: reduce) { .orb-core, .orb-glow, .orb.listening .orb-ring, .orb.busy .orb-core { animation: none !important; } }
.o-say { margin: 0; max-width: 520px; color: var(--o-amber); font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 144; font-size: clamp(19px, 5.2vw, 24px); font-weight: 450; letter-spacing: -0.022em; line-height: 1.25; white-space: pre-line; min-height: 1.4em; max-height: 9.8em; overflow-y: auto; }
.o-say:empty { min-height: 0; }
/* the website's type: Fraunces display (450, opsz 144, -0.022em) with the italic word at 400, Geist for UI */
.o-hint { margin: 0; font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 144; font-size: clamp(22px, 6vw, 27px); font-weight: 450; letter-spacing: -0.022em; line-height: 1.1; color: var(--o-amber); }
.o-hint em { font-style: italic; font-weight: 400; }
.orb.listening ~ .o-hint, .orb.busy ~ .o-hint { font-size: 18px; font-style: italic; }
.o-hint.nudge { animation: o-nudge .5s ease; }
@keyframes o-nudge { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.o-in { width: 100%; max-width: 480px; display: flex; gap: 8px; }
.o-in[hidden] { display: none; }
.o-in input { flex: 1; min-height: 48px; border: 1.5px solid rgba(243,237,226,.25); border-radius: 999px; padding: 0 18px; background: rgba(255,255,255,.08); color: var(--o-ink); font: inherit; font-size: 16px; }
.o-in input::placeholder { color: rgba(243,237,226,.55); }
.o-in .send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--o-amber); color: #0F2A47; display: grid; place-items: center; cursor: pointer; }
.o-card { position: relative; border-radius: 22px; padding: 14px; font-family: 'Geist', system-ui, sans-serif; background: #FBF8F2; color: #14202E; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); animation: o-pop .45s cubic-bezier(.3,1.3,.5,1); }
@media (prefers-color-scheme: dark) { .o-card { background: #1A2433; color: #EEF2F7; } }
@keyframes o-pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.o-gt { display: block; font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 72; font-weight: 450; letter-spacing: -0.02em; font-size: 20px; margin: 2px 40px 10px 2px; }
.o-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(15,42,71,.08); color: inherit; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.o-hist { position: absolute; inset: 0 0 auto 0; max-height: 62vh; max-height: 62dvh; overflow-y: auto; margin: 12px; padding: 48px 16px 16px; border-radius: 20px; background: rgba(10,29,51,.94); border: 1px solid rgba(243,237,226,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 5; text-align: left; }
.o-hist[hidden] { display: none; }
.o-hist .o-x { background: rgba(243,237,226,.12); color: var(--o-ink); }
.o-hist p { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
.o-hist .h-me { color: rgba(243,237,226,.75); font-style: italic; }
.o-hist .h-ai { color: var(--o-amber); }
.o-hint { transition: opacity 1.1s ease; }
.o-hint.fade { opacity: 0; }
.o-hint[hidden] { display: none; }
.o-card .ft-cap p { font-size: 15.5px; }
.o-card .ft-nav button { min-height: 44px; }
.o-center { gap: 16px; }
.o-say { margin-top: 26px; }
.o-app.has-vis .o-say { margin-top: 14px; }
.o-say:empty { margin-top: 0; }
.o-you { margin-bottom: 6px; }

/* texture: fine grain + soft light, so the blue is not flat */
body.o-body::before { content: ""; position: fixed; top: -30vh; bottom: -30vh; left: -10vw; right: -10vw; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.o-body::after { content: ""; position: fixed; inset: -20%; pointer-events: none; z-index: 0; background: radial-gradient(40% 30% at 78% 12%, rgba(242,167,65,.10), transparent 70%), radial-gradient(45% 35% at 12% 88%, rgba(92,160,230,.10), transparent 70%); }
.o-app { z-index: 1; }
/* v3.10d safe areas: the iPhone app now draws under the notch / Dynamic Island, so every screen keeps its own top clear */
.top { height: calc(var(--top-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
.chat .ch-h { padding-top: calc(8px + env(safe-area-inset-top)); min-height: calc(60px + env(safe-area-inset-top)); }
.o-hist { margin-top: calc(12px + env(safe-area-inset-top)); }
/* v3.10d full-bleed texture (GUMMI SAID 30.10: "a full-screen texture so it looks great"): the grain also lives on the root
   canvas, so the strip under the notch / Dynamic Island, the home-bar strip and any edge bounce carry the same grain, not flat blue.
   The ::before layer above is also oversized so it never stops at the screen edge. */
html:has(> body.o-body) { background-color: #0F2A47; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(120% 80% at 50% 30%, #163A61 0%, #0F2A47 55%, #0A1D33 100%); background-blend-mode: soft-light, normal; background-attachment: fixed; min-height: 100%; }
@media (prefers-color-scheme: dark) { html:has(> body.o-body) { background-color: #0A1D33; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(120% 80% at 50% 30%, #112C4B 0%, #0A1D33 55%, #050E1A 100%); } }
/* press, release, answer */
.orb.pressed .orb-core { transform: scale(.93); transition: transform .12s ease-out; filter: brightness(1.08); }
.orb.pressed .orb-glow { opacity: 1; }
.orb.pop .orb-core { animation: orb-pop .55s cubic-bezier(.3,1.6,.5,1); }
@keyframes orb-pop { 0% { transform: scale(.9); } 55% { transform: scale(1.1); } 100% { transform: scale(1); } }
.o-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.o-burst i { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--o-amber-2); box-shadow: 0 0 8px rgba(242,167,65,.9); animation: o-burst .8s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes o-burst { from { transform: rotate(var(--a)) translateX(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateX(calc(var(--sz) / 2 + var(--d))) scale(.2); opacity: 0; } }
.o-app::after { content: ""; position: fixed; inset: 0; pointer-events: none; border-radius: 0; box-shadow: inset 0 0 0 0 transparent; z-index: 9; }
.o-app.flash-ok::after { animation: o-flash-ok 1.5s ease-out; }
.o-app.flash-amber::after { animation: o-flash-amber 1.1s ease-out; }
@keyframes o-flash-ok { 0% { box-shadow: inset 0 0 0 0 rgba(46,204,113,0); } 18% { box-shadow: inset 0 0 0 5px rgba(46,204,113,.95), inset 0 0 60px 6px rgba(46,204,113,.45); } 100% { box-shadow: inset 0 0 0 0 rgba(46,204,113,0); } }
@keyframes o-flash-amber { 0% { box-shadow: inset 0 0 0 0 rgba(242,167,65,0); } 20% { box-shadow: inset 0 0 0 3px rgba(242,167,65,.7), inset 0 0 50px 4px rgba(242,167,65,.28); } 100% { box-shadow: inset 0 0 0 0 rgba(242,167,65,0); } }
.o-app.shimmer .o-say { animation: o-shimmer .9s ease-out; }
@keyframes o-shimmer { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .o-app.flash-ok::after, .o-app.flash-amber::after { animation-duration: .01s; } .o-burst { display: none; } }
.o-card .ft { font-family: 'Geist', system-ui, sans-serif; }
.o-card .ft-num { font-family: 'Geist Mono', ui-monospace, monospace; }
.o-card .ft-cap small { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
body.o-body { font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; }
/* panels the guest asks for */
.o-card.o-p-room .v3wrap { position: relative; border-radius: 16px; overflow: hidden; }
.o-card.o-p-room .v3wrap { height: min(52vh, 380px); }
.o-items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.o-items button { display: flex; align-items: center; gap: 8px; text-align: left; font: inherit; font-size: 14.5px; padding: 12px; border-radius: 14px; border: 1px solid rgba(15,42,71,.12); background: rgba(15,42,71,.04); color: inherit; cursor: pointer; }
.o-items button span { font-size: 20px; }
@media (prefers-color-scheme: dark) { .o-items button { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); } }
.o-rows { display: grid; gap: 8px; }
.o-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(15,42,71,.05); }
.o-row span { grid-column: 1; font-size: 13.5px; opacity: .75; }
.o-row .chip { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.o-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.o-kv div { padding: 12px; border-radius: 14px; background: rgba(15,42,71,.05); }
@media (prefers-color-scheme: dark) { .o-row, .o-kv div { background: rgba(255,255,255,.06); } }
.o-kv small { display: block; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.o-kv b { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 450; font-size: 20px; }
.o-kv span { font-size: 13.5px; opacity: .75; }
.o-big { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px; border-radius: 18px; background: #F2A741; color: #0A1D33; text-decoration: none; font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 500; }
.o-big small { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .04em; }
.o-big.red { background: #D93B30; color: #fff; }
.o-card.o-p-call, .o-card.o-p-sos { padding-top: 54px; }
.orb.speaking .orb-core { animation: orb-speak .62s ease-in-out infinite; }
.orb.speaking .orb-glow { animation: orb-speak-glow .62s ease-in-out infinite; }
.orb.speaking .orb-ring { animation: orb-ring 1.25s ease-out infinite; }
.orb.speaking .orb-ring.r2 { animation-delay: .62s; }
@keyframes orb-speak { 0%,100% { transform: scale(.97); } 50% { transform: scale(1.09); filter: brightness(1.1); } }
@keyframes orb-speak-glow { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.12); } }

/* v3.9 breakfast menu + review */
.o-card.o-p-menu { padding-bottom: 10px; }
.o-gt small { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: .04em; opacity: .6; margin-left: 6px; }
.mn-note { margin: -4px 2px 8px; font-size: 13.5px; opacity: .7; }
.mn-list { max-height: min(46vh, 420px); overflow-y: auto; margin: 0 -4px; padding: 0 4px; -webkit-overflow-scrolling: touch; }
.mn-list h4 { margin: 10px 2px 6px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; font-weight: 600; }
.mn-it { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 14px; transition: background .2s; }
.mn-it.on { background: rgba(242,167,65,.16); }
.mn-e { font-size: 24px; text-align: center; }
.mn-tx b { display: block; font-size: 15px; font-weight: 600; }
.mn-tx span { display: block; font-size: 12.5px; opacity: .65; line-height: 1.3; margin-top: 1px; }
.mn-tx i { display: block; font-style: normal; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; margin-top: 3px; color: #B86E17; }
@media (prefers-color-scheme: dark) { .mn-tx i { color: #F2A741; } .o-items button, .mn-q button { border-color: rgba(255,255,255,.14); } }
.mn-q { display: flex; align-items: center; gap: 6px; }
.mn-q em { font-style: normal; min-width: 14px; text-align: center; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 14px; font-weight: 600; }
.mn-q button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(15,42,71,.16); background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.mn-q button[data-mq="1"] { background: #F2A741; border-color: #F2A741; color: #0F2A47; font-weight: 700; }
.mn-q button.pop, .rv-stars button.pop { animation: o-tap .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes o-tap { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
.mn-bar { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.mn-slots { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.mn-slots button { flex: none; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(15,42,71,.16); background: transparent; color: inherit; font: 600 13px 'Geist Mono', ui-monospace, monospace; cursor: pointer; }
.mn-slots button.on { background: #0F2A47; color: #F3EDE2; border-color: #0F2A47; }
@media (prefers-color-scheme: dark) { .mn-slots button { border-color: rgba(255,255,255,.18); } .mn-slots button.on { background: #F3EDE2; color: #0F2A47; } }
.mn-go { height: 50px; border-radius: 16px; border: 0; background: #F2A741; color: #0F2A47; font: 700 16px 'Geist', system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(242,167,65,.9); }
.mn-go:disabled { opacity: .45; box-shadow: none; cursor: default; }
.rv-send { width: 100%; }
.rv-send:disabled { opacity: .62; }
/* v3.9 desktop / tablet: the same app, larger cards */
@media (min-width: 900px) and (min-height: 680px) {
  .o-vis { max-width: 520px; }
  .o-app { --visH: min(74vh, calc(100vh - 252px)); }
  .orb { --sz: 150px; }
  .o-app.has-vis .orb { --sz: 64px; }
  .o-card { padding: 18px; border-radius: 26px; }
  .o-gt { font-size: 23px; }
  .o-card.o-p-room .v3wrap { height: min(56vh, 520px); }
  .mn-list { max-height: min(48vh, 520px); }
}
/* v3.10 3D room: a tapped number shows what it is inside the view (the room stays open; only the X closes it) */
.o-card.o-p-room .o-x { width: 44px; height: 44px; background: rgba(15,42,71,.12); }
.v3pick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 16px; background: rgba(251,248,242,.97); color: #14202E; box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); font-family: 'Geist', system-ui, sans-serif; animation: o-pop .3s cubic-bezier(.3,1.3,.5,1); }
.v3pick[hidden] { display: none; }
.v3pick b { flex: 1; font-size: 15px; font-weight: 600; min-width: 0; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v3p-e { font-size: 22px; }
.v3p-go { border: 0; border-radius: 999px; min-height: 40px; padding: 0 14px; background: #F2A741; color: #0F2A47; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.v3p-x { border: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(15,42,71,.08); color: inherit; display: grid; place-items: center; cursor: pointer; flex: none; }
/* v3.11 screens opened on request: services, conversations, weather, northern lights, getting around, health, info, a request */
/* v3.14: p.o-body only. The bare class also matched <body class="o-body">, so every blank line in the page source became a visible line (the whole app sat 47px too low and its bottom, the answer line, was cut off) */
p.o-body { margin: 0 0 4px; font-size: 15.5px; line-height: 1.5; white-space: pre-line; }
.o-small { font-size: 13.5px; opacity: .75; margin-top: 8px; }
.o-scroll { max-height: min(46vh, 420px); overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px; }
.o-sec { display: block; margin: 12px 2px 6px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; font-weight: 600; }
.o-sec:first-child { margin-top: 0; }
button.o-big { border: 0; width: 100%; cursor: pointer; font-size: 19px; }
button.o-big:disabled { opacity: .6; }
.o-note { width: 100%; box-sizing: border-box; min-height: 48px; margin: 0 0 10px; border-radius: 14px; border: 1.5px solid rgba(15,42,71,.18); padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: #14202E; }
.o-note.nudge { animation: o-nudge .5s ease; border-color: #F2A741; }
.o-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(15,42,71,.18); background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; margin-top: 10px; }
.o-two { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; margin-top: 10px; }
.o-two .o-btn { margin-top: 0; }
.o-two .o-big { padding: 12px; font-size: 16px; }
.o-tx p { margin: 0 0 9px; font-size: 15px; line-height: 1.45; }
.o-tx .h-me { opacity: .7; font-style: italic; }
.o-tx .h-ai { color: #9A5B10; }
button.o-row { width: 100%; text-align: left; border: 0; font: inherit; color: inherit; cursor: pointer; }
.o-conv em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 12px; opacity: .6; }
.o-loc { grid-template-columns: 1fr; }
.o-loc.red { background: rgba(217,59,48,.1); }
.o-loc b { font-weight: 600; }
.o-tel, .o-url { color: #0F2A47; font-weight: 600; text-decoration: none; font-size: 14.5px; }
.o-url { font-weight: 500; opacity: .8; }
.o-wx { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; }
.o-wx-e { font-size: 40px; line-height: 1; }
.o-wx b { font-family: 'Fraunces', Georgia, serif; font-size: 40px; font-weight: 450; letter-spacing: -.02em; line-height: 1; }
.o-wx b.o-ch { font-size: 26px; }
.o-ch-good { color: #1E7A4C; } .o-ch-fair { color: #4D7A1E; } .o-ch-low { color: #7A6A55; }
.o-wx span:last-child { font-size: 14px; line-height: 1.4; opacity: .8; }
.o-kv div b { display: block; } .o-kv div span { font-size: 13px; opacity: .75; }
.o-src { display: block; margin-top: 10px; font-size: 11.5px; opacity: .55; }
@media (prefers-color-scheme: dark) { .o-tel, .o-url { color: #F2B65C; } .o-btn { border-color: rgba(255,255,255,.34); } .o-x { background: rgba(255,255,255,.14); } .o-tx .h-ai { color: #F2B65C; } .o-note { background: #0F1824; color: #EEF2F7; border-color: rgba(255,255,255,.22); } }

/* ===== v3.14 (GUMMI SAID 02.11): phone lines with Call buttons, staff profiles, the review form ===== */
.o-card.o-p-contacts, .o-card.o-p-team, .o-card.o-p-review { padding-top: 14px; }
.ct-list { display: grid; gap: 8px; align-content: start; }
.ct-sos { margin-top: 8px; }
.ct-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 10px 10px 12px; border-radius: 16px; background: rgba(15,42,71,.06); }
.ct-row.red { background: rgba(217,59,48,.12); }
.ct-e { font-size: 22px; text-align: center; line-height: 1; }
.ct-tx b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.ct-tx span { display: block; font-size: 13px; line-height: 1.3; opacity: .78; margin-top: 1px; }
.ct-tx em { display: block; font-style: normal; font-size: 12px; opacity: .7; margin-top: 2px; }
.ct-num { display: block; font-style: normal; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .02em; margin-top: 4px; font-weight: 500; }
.ct-call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; min-width: 46px; padding: 0 16px; border-radius: 999px; background: #F2A741; color: #0A1D33; font: 700 15px 'Geist', system-ui, sans-serif; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(242,167,65,.95); }
.ct-call .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.ct-call.red { background: #D93B30; color: #fff; box-shadow: 0 8px 18px -10px rgba(217,59,48,.9); }
.ct-call:active { transform: scale(.96); }
.ct-team { width: 100%; margin-top: 12px; }
@media (max-width: 340px) { .ct-call span { display: none; } .ct-call { padding: 0 12px; } }
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-card { display: flex; flex-direction: column; text-align: left; gap: 2px; padding: 0 0 10px; border: 0; border-radius: 16px; background: rgba(15,42,71,.06); color: inherit; font: inherit; cursor: pointer; overflow: hidden; min-width: 0; }
.tm-card:active { transform: scale(.98); }
.tm-card b { padding: 8px 10px 0; font-size: 15.5px; font-weight: 600; }
.tm-card span { padding: 0 10px; font-size: 12.5px; opacity: .78; line-height: 1.25; }
.tm-ph { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: center 18%; background: #D5DEE8; }
.tm-ini { display: grid; place-items: center; font: 450 40px 'Fraunces', Georgia, serif; color: #0F2A47; background: #F2A741; }
.tm-top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 8px; }
.tm-hero { display: block; width: 96px; height: 128px; border-radius: 16px; object-fit: cover; object-position: center 18%; background: #D5DEE8; }
.tm-hero.tm-ini { font-size: 48px; }
.tm-id .o-gt { margin: 0 34px 2px 0; font-size: 24px; }
.tm-role { display: block; font-size: 14px; opacity: .82; margin-bottom: 8px; }
.tm-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tm-since { display: block; font-size: 12.5px; opacity: .72; }
.tm-meta span { font-size: 12.5px; line-height: 1.3; padding: 4px 8px; border-radius: 8px; background: rgba(15,42,71,.07); max-width: 100%; }
.tm-body { flex: 1 1 auto; min-height: 56px; max-height: none; }
.tm-two { grid-template-columns: 1fr 1fr; }
.tm-two .o-btn { margin-top: 0; }
.tm-asks { margin: 0 0 4px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tm-asks li { font-size: 13.5px; padding: 6px 10px; border-radius: 999px; background: rgba(242,167,65,.24); }
.o-p-team.prof .o-big, .o-p-team.prof .o-btn { width: 100%; margin-top: 8px; box-sizing: border-box; }
.o-p-team.prof .tm-two .o-btn { padding: 0 8px; font-size: 14px; }
.o-p-team.prof a.o-big { font-size: 19px; padding: 12px; }
.rv-stars { display: flex; justify-content: center; gap: 4px; margin: 6px 0 4px; }
.rv-stars button { flex: 1 1 0; min-width: 44px; max-width: 60px; height: 54px; padding: 0; border: 0; background: transparent; color: #55657A; cursor: pointer; display: grid; place-items: center; transition: color .2s, transform .2s; }
.rv-stars button svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: fill .2s; }
.rv-stars button.on { color: #D9862A; }
.rv-stars button.on svg { fill: #F2A741; filter: drop-shadow(0 0 8px rgba(242,167,65,.55)); }
.rv-hint { margin: 0 0 8px; text-align: center; font-size: 14px; font-weight: 600; min-height: 1.3em; opacity: .85; }
.rv-hint.nudge { animation: o-nudge .5s ease; color: #B8650F; }
.rv-text { display: block; width: 100%; box-sizing: border-box; min-height: 84px; max-height: 160px; resize: none; margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(15,42,71,.24); background: #fff; color: #14202E; font: inherit; font-size: 16px; line-height: 1.4; }
.rv-text::placeholder { color: #5E6B7A; }
.rv-text:focus { outline: none; border-color: #F2A741; box-shadow: 0 0 0 3px rgba(242,167,65,.3); }
@media (prefers-color-scheme: dark) {
  .ct-row, .tm-card { background: rgba(255,255,255,.07); } .ct-row.red { background: rgba(217,59,48,.2); }
  .tm-meta span { background: rgba(255,255,255,.1); } .tm-asks li { background: rgba(242,167,65,.22); }
  .rv-stars button { color: #A7B6C9; } .rv-stars button.on { color: #F2A741; }
  .rv-text { background: #0F1824; color: #EEF2F7; border-color: rgba(255,255,255,.26); } .rv-text::placeholder { color: #98A8BC; }
  .rv-hint.nudge { color: #F2B65C; }
}
/* the keyboard is up (on an iPhone only the visible area shrinks): the app is as tall as what can be seen and, while a card is open, the orb steps aside,
   so the card's close button, its text box and its Send button all stay on screen */
.o-app.kb { height: var(--vvh, 100dvh); transform: translateY(var(--vvt, 0px)); padding-bottom: 0; }
.o-app.tin .o-center, .o-app.kb .o-center { padding: 0 14px 6px; gap: 4px; }
.o-app.tin.has-vis .orb, .o-app.tin.has-vis .o-hint, .o-app.kb.has-vis .orb, .o-app.kb.has-vis .o-hint { display: none; }
.o-app.tin.has-vis .o-vis, .o-app.kb.has-vis .o-vis { max-height: none; padding-top: 10px; justify-content: flex-start; }
.o-app.tin .o-say, .o-app.kb .o-say { margin-top: 6px; font-size: 16px; max-height: 3.6em; }
.o-app.tin .o-card.o-p-review .rv-text { min-height: 64px; }
@media (max-height: 640px) { /* small phones: the staff profile gets a smaller portrait and a shorter text area */
  .tm-top { grid-template-columns: 72px minmax(0, 1fr); } .tm-hero { width: 72px; height: 96px; } .tm-hero.tm-ini { font-size: 34px; } .tm-id .o-gt { font-size: 21px; }
  .tm-role { margin-bottom: 4px; } .o-p-team.prof a.o-big { padding: 8px; font-size: 17px; }
}
/* v3.14 the card area: one height (--visH) = what is left above the orb and a three-line answer; cards with a long middle part keep their header and buttons in view */
.o-app { --visH: min(76vh, calc(100vh - 252px)); --visH: min(76dvh, calc(100dvh - 252px)); }
@media (min-width: 900px) and (min-height: 680px) { .o-app { --visH: min(74vh, calc(100vh - 252px)); } }
.o-app.tin, .o-app.kb { --visH: calc(100vh - 64px); --visH: calc(100dvh - 64px); }
.o-app.kb { --visH: calc(var(--vvh, 100dvh) - 64px); }
.o-card.o-p-contacts, .o-card.o-p-team, .o-card.o-p-hist { display: flex; flex-direction: column; max-height: calc(var(--visH) - 22px); }
.o-p-contacts .ct-list, .o-p-team .o-scroll, .o-p-hist .o-scroll { flex: 1 1 auto; min-height: 64px; max-height: none; }
.o-p-contacts .ct-sos, .o-p-contacts .ct-team, .o-p-team.prof > a.o-big, .o-p-team.prof > .tm-two, .o-p-team.prof > .o-btn, .o-p-team .tm-top, .o-p-contacts > .o-gt, .o-p-team > .o-gt, .o-p-hist > .o-gt { flex: none; }
.o-p-team.prof > .o-btn, .o-p-team.prof > a.o-big, .o-p-team.prof > .tm-two { margin-top: 8px; }
@media (max-height: 600px) { /* very small phones (320x568): a smaller orb and answer line give the card more room */
  .o-app { --visH: calc(100vh - 202px); --visH: calc(100dvh - 202px); }
  .o-app.has-vis .orb { --sz: 44px; } .o-app.has-vis .o-say { font-size: 17px; margin-top: 8px; } .o-app.has-vis .o-center { padding-bottom: 14px; }
}
.o-app.tin, .o-app.kb { --visH: calc(100vh - 64px); --visH: calc(100dvh - 64px); }
.o-app.kb { --visH: calc(var(--vvh, 100dvh) - 64px); }
/* typing in the review: a smaller card so the close button, the stars, the box and Send all fit above the keyboard */
.o-app.tin .rv-stars button, .o-app.kb .rv-stars button { height: 44px; } .o-app.tin .rv-stars button svg, .o-app.kb .rv-stars button svg { width: 32px; height: 32px; }
.o-app.tin .rv-hint, .o-app.kb .rv-hint { display: none; } .o-app.tin .rv-text, .o-app.kb .rv-text { min-height: 56px; margin-bottom: 8px; } .o-app.tin .rv-send, .o-app.kb .rv-send { height: 46px; }
.o-app.tin .o-card.o-p-review .o-gt, .o-app.kb .o-card.o-p-review .o-gt { margin-bottom: 4px; }

/* 02.11.2026: the text bar is always under the orb, subtle until the guest uses it (GUMMI SAID: "very subtle in the bottom area") */
.o-in.subtle { opacity: .6; transition: opacity .2s; margin-top: 4px; }
.o-in.subtle:focus-within { opacity: 1; }
.o-in.subtle input { min-height: 40px; background: rgba(255,255,255,.04); border-color: rgba(243,237,226,.16); font-size: 16px; }
.o-in.subtle .send { width: 40px; height: 40px; background: rgba(242,165,65,.5); }
.has-vis .o-in.subtle { display: none; }   /* a card (review, team, contacts) is open: it has its own controls, keep small screens clear */
/* ===== v3.15 (GUMMI SAID 02.11): staff ratings - team search, scores, what a person helped you with, what guests say, the rate card ===== */
.o-sec { opacity: .76; } /* the small section labels: readable (>= 4.5:1) on the light card too */
.tm-find { display: block; flex: none; margin: 0 0 10px; }
.tm-find input { display: block; width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(15,42,71,.24); background: #fff; color: #14202E; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.tm-find input::placeholder { color: #5E6B7A; }
.tm-find input:focus { outline: none; border-color: #F2A741; box-shadow: 0 0 0 3px rgba(242,167,65,.3); }
.tm-card[hidden] { display: none; }
.tm-sc { display: block; padding: 2px 10px 0; font-style: normal; font-size: 12.5px; font-weight: 700; color: #7A4508; min-height: 1.25em; }
.tm-sc em, .tm-score em { font-style: normal; padding: 1px 6px; border-radius: 6px; background: rgba(242,167,65,.28); color: #5C3406; }
.tm-score { display: block; font-size: 13.5px; font-weight: 700; color: #7A4508; margin: -4px 0 6px; }
.tm-score:empty { display: none; }
.tm-none { margin: 10px 2px; font-size: 14px; }
.sr-list, .sr-cm { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.sr-list li, .sr-cm li { padding: 8px 10px; border-radius: 12px; background: rgba(15,42,71,.06); }
.sr-list b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sr-list span, .sr-cm small { display: block; font-size: 12.5px; opacity: .8; margin-top: 2px; }
.sr-cm q { display: block; font-size: 14px; line-height: 1.35; }
.sr-st { display: block; color: #9A5A0C; letter-spacing: 1px; font-size: 13px; }
.sr-why { margin: 2px 0 8px; font-size: 13.5px; line-height: 1.35; }
.tm-fix { margin: 4px 0 8px; }
.tm-fix .o-btn { width: 100%; margin-top: 0; }
.sr-head { display: flex; align-items: center; gap: 10px; margin: 0 44px 4px 0; min-width: 0; }
.sr-head .o-gt { margin: 0; min-width: 0; }
.sr-ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 18%; flex: none; background: #D5DEE8; }
.sr-ph.tm-ini { display: grid; place-items: center; font: 450 20px 'Fraunces', Georgia, serif; }
.sr-for { margin: 2px 0 4px; font-size: 13.5px; line-height: 1.3; text-align: center; }
.sr-for small { font-weight: 700; margin-right: 4px; }
.sr-reqs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 2px 0 4px; }
.sr-reqs button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(15,42,71,.3); background: transparent; color: inherit; font: 600 13px 'Geist', system-ui, sans-serif; cursor: pointer; max-width: 100%; }
.sr-reqs button.on { background: #0F2A47; color: #F3EDE2; border-color: #0F2A47; }
.o-app.tin .sr-for, .o-app.kb .sr-for, .o-app.tin .sr-reqs, .o-app.kb .sr-reqs, .o-app.tin .sr-ph, .o-app.kb .sr-ph { display: none; }
.o-app.tin .sr-head, .o-app.kb .sr-head { margin-bottom: 2px; }
@media (prefers-color-scheme: dark) {
  .tm-find input { background: #0F1824; color: #EEF2F7; border-color: rgba(255,255,255,.26); } .tm-find input::placeholder { color: #98A8BC; }
  .tm-sc, .tm-score { color: #F2B65C; } .tm-sc em, .tm-score em { background: rgba(242,167,65,.22); color: #F7D49A; }
  .sr-list li, .sr-cm li { background: rgba(255,255,255,.07); } .sr-st { color: #F2B65C; }
  .sr-reqs button { border-color: rgba(255,255,255,.3); } .sr-reqs button.on { background: #F3EDE2; color: #0F2A47; border-color: #F3EDE2; }
}

/* 04.11.2026 (Gummi: "the send button is off-center"): the send button must never shrink. At 339 px wide it was squeezed to 34x40, so it was not round and the icon sat off. */
.o-in .send, .o-in.subtle .send, .ch-in .send { flex: 0 0 auto; aspect-ratio: 1 / 1; min-width: 0; padding: 0; display: grid; place-items: center; }
.o-in .send { width: 48px; height: 48px; } .o-in.subtle .send { width: 40px; height: 40px; }
.o-in .send .ic, .ch-in .send .ic { display: block; margin: 0; }
#oForm input, #oForm textarea, .ch-in input, .ch-in textarea { min-width: 0; flex: 1 1 auto; }

/* 04.11.2026 right-to-left (Hebrew, Arabic): the layout mirrors with dir="rtl" on <html>; the send plane points the way the text reads, and the "more" chevrons turn */
[dir=rtl] .send .ic { transform: scaleX(-1); }
[dir=rtl] svg.ic:has(use[href="#i-right"]) { transform: scaleX(-1); }
[dir=rtl] .o-in input, [dir=rtl] .ch-in textarea { text-align: right; }
.o-say, .o-you, .o-hint { unicode-bidi: plaintext; } /* a line in another script than the page keeps its own direction (a full stop stays at its end) */
:lang(ja) .o-say, :lang(ja) .o-hint { word-break: auto-phrase; } /* 04.11: Japanese lines break between phrases */
