:root {
  color-scheme: light;
  --c-canvas: #eceef4;
  --c-surface: #fff;
  --c-surface-2: #f4f5f9;
  --c-surface-3: #e8eaf1;
  --c-line: rgba(17,19,28,.07);
  --c-line-strong: rgba(17,19,28,.13);
  --c-ink: #0f1014;
  --c-ink-2: #474b58;
  --c-muted: #8a8f9c;
  --c-inverse: #111216;
  --c-on-inverse: #fff;
  --c-lime: #d6f65a;
  --c-lime-deep: #6f8f00;
  --c-lav: #c9c1ff;
  --c-mint: #b2ecd9;
  --c-danger: #ff4b3e;
  --c-success: #17b151;
  --sh-card: 0 1px 2px rgba(16,18,27,.04),0 10px 30px -14px rgba(16,18,27,.16);
  --sh-float: 0 20px 50px -18px rgba(16,18,27,.35);
  --sat: max(env(safe-area-inset-top,0px),14px);
  --sab: max(env(safe-area-inset-bottom,0px),10px);
  --font-display: "Outfit","Noto Sans Arabic",ui-sans-serif,system-ui,sans-serif;
  --font-sans: "Inter","Noto Sans Arabic",ui-sans-serif,system-ui,sans-serif;
}
.dark {
  color-scheme: dark;
  --c-canvas: #0a0a0c;
  --c-surface: #151518;
  --c-surface-2: #1d1d21;
  --c-surface-3: #27272d;
  --c-line: rgba(255,255,255,.07);
  --c-line-strong: rgba(255,255,255,.13);
  --c-ink: #f4f5f7;
  --c-ink-2: #b3b6bf;
  --c-muted: #7b7f8a;
  --c-inverse: #f4f5f7;
  --c-on-inverse: #0f1014;
  --c-lime: #d4ff3f;
  --c-lime-deep: #d4ff3f;
  --sh-card: 0 1px 0 rgba(255,255,255,.03) inset,0 14px 34px -18px rgba(0,0,0,.7);
  --sh-float: 0 24px 60px -20px rgba(0,0,0,.8);
}
* { box-sizing: border-box; }
html,body { margin: 0; min-height: 100%; background: var(--c-canvas); color: var(--c-ink); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
button,input { font: inherit; }
button,a { touch-action: manipulation; }
button { border: 0; cursor: pointer; color: inherit; }
button:disabled { opacity: .4; cursor: wait; }
a { color: inherit; text-decoration: none; }
h1,h2,p { margin: 0; }
[hidden] { display: none!important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button:focus-visible,a:focus-visible,input:focus-visible { outline: 3px solid var(--c-lime-deep); outline-offset: 3px; }
::selection { background: var(--c-lime); color: #0f1014; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
.brand { width: 14px; height: 14px; flex-shrink: 0; }
.finder { position: relative; min-height: 100dvh; max-width: 540px; margin: auto; }
.finder.connected { position: fixed; inset: 0; display: flex; flex-direction: column; height: 100dvh; overflow: hidden; isolation: isolate; }
.ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.ambient span { position: absolute; width: 288px; height: 288px; border-radius: 50%; filter: blur(64px); }
.ambient span:first-child { left: -96px; top: -96px; background: #c9c1ff80; }
.ambient span:nth-child(2) { right: -96px; top: 176px; background: #b2ecd966; }
.ambient span:nth-child(3) { left: 25%; top: 80px; width: 224px; height: 224px; background: #ff4b3e26; }
.header { display: flex; align-items: center; gap: 12px; position: relative; z-index: 30; flex-shrink: 0; padding: calc(var(--sat) + 4px) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left)); }
.avatar { position: relative; display: block; width: 100%; height: 100%; flex-shrink: 0; }
.avatar img,.avatar-initial { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-initial { display: grid; place-items: center; background: var(--c-lav); color: #2b2170; font-family: var(--font-display); font-weight: 600; }
.header-avatar { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.online::after { content: ""; position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 2.5px var(--c-canvas); }
.header-identity,.chat-identity { min-width: 0; flex: 1; }
.header h1 { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--c-success); white-space: nowrap; }
.status .icon { width: 13px; height: 13px; }
.status span { overflow: hidden; text-overflow: ellipsis; }
.language-picker { position: relative; flex-shrink: 0; }
#language-toggle { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 1px solid var(--c-line); border-radius: 99px; background: var(--c-surface); padding: 0 12px; font-size: 13px; font-weight: 600; box-shadow: var(--sh-card); }
#language-toggle::before { content: ""; position: absolute; inset: -4px; }
#language-toggle .icon { width: 15px; height: 15px; }
#language-toggle .chevron { width: 14px; height: 14px; transition: transform .2s; }
#language-toggle[aria-expanded=true] .chevron { transform: rotate(180deg); }
#language-menu { position: absolute; inset-inline-end: 0; top: 52px; width: min(224px,calc(100vw - 32px)); z-index: 50; padding: 6px; border: 1px solid var(--c-line); border-radius: 22px; background: var(--c-surface); box-shadow: var(--sh-float); animation: fade-in .16s ease; }
.language-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; border-radius: 16px; background: transparent; padding: 10px 12px; text-align: start; }
.language-option:hover,.language-option[aria-selected=true] { background: var(--c-surface-2); }
.language-option>span:first-child { width: 36px; height: 28px; display: grid; place-items: center; background: var(--c-surface-3); border-radius: 8px; font-size: 11px; font-weight: 700; }
.language-option>span:nth-child(2) { flex: 1; }
.language-option strong,.language-option small { display: block; }
.language-option strong { font-size: 14px; font-weight: 600; }
.language-option small { font-size: 11px; color: var(--c-muted); }
.language-check { width: 20px; height: 20px; border-radius: 50%; background: var(--c-lime); color: #0f1014; display: grid; place-items: center; }
.language-check .icon { width: 12px; height: 12px; }
.language-option[aria-selected=false] .language-check { visibility: hidden; }
.body-scroll { position: relative; z-index: 10; min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: none; padding: 0 max(16px,env(safe-area-inset-right)) var(--contact-padding,380px) max(16px,env(safe-area-inset-left)); }
.body-scroll::-webkit-scrollbar,.messages::-webkit-scrollbar { display: none; }
.lost { position: relative; overflow: hidden; border-radius: 28px; margin-top: 4px; background: linear-gradient(to bottom right,#ff5a4e,#ff2e7e); background: linear-gradient(to bottom right in oklab,#ff5a4e,#ff2e7e); color: #fff; padding: 16px; box-shadow: 0 20px 40px -18px rgba(255,75,62,.75); animation: rise-in .35s ease; }
.lost::before { content: ""; position: absolute; right: -32px; top: -32px; width: 128px; height: 128px; border-radius: 50%; background: #ffffff1a; }
.lost::after { content: ""; position: absolute; right: 48px; bottom: -48px; width: 96px; height: 96px; border-radius: 50%; background: #ffffff1a; }
.lost-top { position: relative; display: flex; align-items: center; gap: 12px; }
.lost-symbol { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #ffffff33; flex-shrink: 0; }
.lost-symbol::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #ffffff4d; animation: ping-slow 2.2s cubic-bezier(0,0,.2,1) infinite; }
.lost-symbol .icon { position: relative; width: 22px; height: 22px; }
.lost h2 { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .4px; }
.lost p { margin-top: 2px; font-size: 12px; line-height: 1.375; color: #ffffffd9; }
.reward { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; border-radius: 16px; background: #fff; color: #ff4b3e; padding: 10px; }
.reward-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #ff4b3e1a; flex-shrink: 0; }
.reward-symbol .icon { width: 18px; height: 18px; }
.reward>div { min-width: 0; }
.reward span:not(.reward-symbol) { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.reward strong { display: block; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.item-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; border: 1px solid var(--c-line); border-radius: 24px; background: color-mix(in srgb,var(--c-surface) 85%,transparent); padding: 12px; box-shadow: var(--sh-card); backdrop-filter: blur(8px); animation: rise-in .35s .15s both; }
.category { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; flex-shrink: 0; background: var(--c-lav); color: #2b2170; }
.category .icon { width: 21px; height: 21px; }
.category.keys { background: #ffc7a3; color: #7a2e0b; }
.category.phone { background: #b7e3f8; color: #0b4a6b; }
.category.backpack { background: var(--c-mint); color: #0a5541; }
.category.luggage { background: #ffcce6; color: #7a1747; }
.category.pet { background: var(--c-lime); color: #2f3b00; }
.item-name { min-width: 0; flex: 1; }
.item-name p { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .275px; color: var(--c-muted); }
.item-name h2 { font-family: var(--font-display); font-size: 17px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.scan-count { text-align: end; flex-shrink: 0; }
.scan-count strong { display: block; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 600; line-height: 1; }
.scan-count span { display: block; font-size: 10px; color: var(--c-muted); margin-top: 2px; }
.greeting-section { margin-top: 20px; }
.just-now { width: fit-content; margin: auto; border: 1px solid var(--c-line); border-radius: 99px; background: color-mix(in srgb,var(--c-surface) 80%,transparent); padding: 4px 12px; font-size: 11px; font-weight: 600; color: var(--c-muted); backdrop-filter: blur(8px); }
.greeting-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 12px; }
.greeting-avatar { width: 30px; height: 30px; flex-shrink: 0; font-size: 14px; }
.greeting-bubble { max-width: 82%; border: 1px solid var(--c-line); border-radius: 22px; border-end-start-radius: 6px; background: var(--c-surface); padding: 12px 16px; box-shadow: var(--sh-card); }
.greeting-bubble p { font-size: 14.5px; line-height: 1.625; white-space: pre-wrap; overflow-wrap: anywhere; }
.greeting-bubble time { display: block; margin-top: 6px; text-align: end; font-size: 10px; color: var(--c-muted); }
.intro-dots { display: flex; gap: 4px; padding: 2px 0; }
.intro-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted); animation: blink 1.4s infinite; }
.intro-dots span:nth-child(2) { animation-delay: .18s; }
.intro-dots span:nth-child(3) { animation-delay: .36s; }
.greeting-pending #greeting,.greeting-pending #greeting-time { display: none; }
.chat-shortcut { display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 12px 0 0 40px; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 99px; background: var(--c-surface); font-size: 12px; font-weight: 600; box-shadow: var(--sh-card); }
.chat-shortcut .icon { width: 14px; height: 14px; }
.unread-dot,.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-danger); flex-shrink: 0; }
.contact-sheet { position: absolute; inset-inline: 0; bottom: 0; z-index: 20; border-radius: 34px 34px 0 0; border-top: 1px solid var(--c-line); background: var(--c-surface); box-shadow: 0 -16px 40px -12px rgba(15,16,20,.18); transform: translateY(var(--contact-offset,0px)); transition: transform .38s cubic-bezier(.22,1,.36,1); max-height: 78%; display: flex; flex-direction: column; }
.contact-sheet.dragging { transition: none; }
.drag-handle { display: flex; justify-content: center; flex-shrink: 0; padding: 12px 0 8px; width: 100%; height: 25px; border: 0; background: transparent; touch-action: none; cursor: grab; }
button.drag-handle::after { content: ""; position: absolute; inset: 0 0 auto; height: 48px; }
.drag-handle span { width: 44px; height: 5px; border-radius: 99px; background: var(--c-line-strong); }
.contact-content { min-height: 0; overflow-y: auto; padding: 0 max(20px,env(safe-area-inset-right)) calc(var(--sab) + 12px) max(20px,env(safe-area-inset-left)); }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.contact-heading h2 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.475px; }
.contact-heading p { color: var(--c-muted); font-size: 12px; font-weight: 500; flex-shrink: 0; }
.contacts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.contact { display: flex; align-items: center; gap: 12px; min-height: 62px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-surface-2); padding: 10px; transition: transform .2s; }
.contact:active { transform: scale(.96); }
.channel-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 16px; background: var(--c-lime); color: #0f1014; flex-shrink: 0; }
.channel-badge .icon { width: 19px; height: 19px; }
.whatsapp .channel-badge { background: #25d366; color: #fff; }
.instagram .channel-badge { background: linear-gradient(45deg,#feda75 0%,#fa7e1e 25%,#d62976 55%,#962fbf 78%,#4f5bd5 100%); color: #fff; }
.facebook .channel-badge { background: #1877f2; color: #fff; }
.contact>span:last-child { min-width: 0; }
.contact strong,.contact small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact strong { font-size: 14px; font-weight: 600; }
.contact small { font-size: 11px; color: var(--c-muted); }
.no-channels { display: flex; align-items: flex-start; gap: 10px; border-radius: 16px; background: var(--c-surface-2); margin-top: 12px; padding: 14px; font-size: 12.5px; line-height: 1.625; color: var(--c-muted); }
.no-channels .icon { width: 15px; height: 15px; margin-top: 2px; }
.primary { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; width: 100%; margin-top: 12px; border-radius: 99px; background: var(--c-inverse); color: var(--c-on-inverse); font-size: 15px; font-weight: 600; transition: background .2s,transform .2s; }
.primary:active { transform: scale(.97); }
.primary.notified { background: var(--c-success); color: #fff; }
.primary.notified:disabled { opacity: 1; cursor: not-allowed; }
#notify-countdown { font-variant-numeric: tabular-nums; font-size: 13px; }
.secondary { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; width: 100%; margin-top: 8px; border: 1px solid var(--c-line); border-radius: 99px; background: var(--c-surface-2); color: var(--c-ink); font-size: 14px; font-weight: 600; transition: transform .2s; }
.secondary:active { transform: scale(.97); }
.badge { position: absolute; inset-inline-end: 16px; height: 24px; min-width: 24px; border-radius: 99px; background: var(--c-danger); color: #fff; padding: 0 6px; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--c-muted); }
.powered { display: flex; align-items: center; gap: 6px; }
footer>.icon { width: 10px; height: 10px; }
.error { border: 1px solid #f48a8a; background: #fff0f0; color: #b72435; padding: 12px; border-radius: 16px; font-size: 13px; line-height: 1.5; margin: 8px 0; overflow-wrap: anywhere; }
.dark .error { background: #411e25; color: #ffbdc5; }
dialog { color: var(--c-ink); border: 0; }
dialog::backdrop { background: #0007; backdrop-filter: blur(3px); }
#chat-sheet { position: fixed; inset: auto 0 0; width: min(100%,540px); max-width: 100%; margin: 0 auto; padding: 0; border-radius: 34px 34px 0 0; background: var(--c-surface); box-shadow: var(--sh-float); max-height: 88dvh; overflow: hidden; }
#chat-sheet[open] { display: flex; flex-direction: column; animation: sheet-in .3s cubic-bezier(.22,1,.36,1); }
.chat-content { display: flex; flex-direction: column; min-height: 0; padding: 0 max(20px,env(safe-area-inset-right)) calc(var(--sab) + 18px) max(20px,env(safe-area-inset-left)); }
.chat-header { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; flex-shrink: 0; }
.chat-avatar { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.chat-header h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.chat-identity p { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--c-success); }
.live-dot { background: var(--c-success); }
#close-chat { position: relative; display: grid; place-items: center; height: 40px; width: 40px; flex-shrink: 0; border-radius: 50%; background: var(--c-surface-2); }
#close-chat::before,.send::before { content: ""; position: absolute; inset: -4px; }
.chat-note { display: flex; align-items: center; gap: 8px; border-radius: 16px; background: #d6f65a59; padding: 8px 12px; font-size: 12px; font-weight: 500; color: var(--c-ink-2); flex-shrink: 0; }
.dark .chat-note { background: #d4ff3f1a; }
.chat-note .icon { width: 14px; height: 14px; }
.messages { height: 310px; flex: 0 1 310px; min-height: 80px; overflow-y: auto; margin-top: 12px; border-radius: 22px; background: var(--c-surface-2); padding: 12px; scrollbar-width: none; overscroll-behavior: contain; }
.message-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 8px; }
.message-row:last-child { margin-bottom: 0; }
.message-row.visitor { justify-content: flex-end; }
.message-avatar { width: 26px; height: 26px; flex-shrink: 0; font-size: 12px; }
.bubble { border-radius: 18px; max-width: 80%; background: var(--c-surface); padding: 8px 12px; box-shadow: var(--sh-card); overflow-wrap: anywhere; }
.bubble p { font-size: 13.5px; line-height: 1.375; white-space: pre-wrap; }
.bubble small { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 2px; font-size: 9.5px; color: var(--c-muted); }
.bubble small .icon { width: 10px; height: 10px; }
.owner .bubble { border-end-start-radius: 6px; }
.visitor .bubble { background: var(--c-inverse); color: var(--c-on-inverse); border-end-end-radius: 6px; }
.visitor .bubble small { color: inherit; opacity: .6; }
.empty-chat { padding: 24px; text-align: center; font-size: 12px; color: var(--c-muted); line-height: 1.625; }
#message-form { display: flex; align-items: center; gap: 8px; border: 1px solid var(--c-line); border-radius: 99px; padding: 6px; padding-inline-start: 6px; background: var(--c-surface-2); margin-top: 12px; flex-shrink: 0; }
#message { min-width: 0; flex: 1; border: 0; background: transparent; color: inherit; outline: none; font-size: 16px; height: 40px; }
#message::placeholder { color: var(--c-muted); }
.send { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--c-inverse); color: var(--c-on-inverse); }
.send .icon { width: 16px; height: 16px; }
.locate { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); }
.locate::before { content: ""; position: absolute; inset: -4px; }
.locate .icon { width: 17px; height: 17px; }
.locate.locating .icon,#share-location-card.locating .icon { animation: blink 1.4s infinite; }
.location-link { display: flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; }
.location-link .pin { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--c-lime); color: #0f1014; flex-shrink: 0; }
.location-link .pin .icon { width: 18px; height: 18px; }
.location-link strong { display: block; font-size: 13.5px; font-weight: 600; }
.location-link small { display: block; font-size: 11.5px; opacity: .7; text-decoration: underline; }
#scan-modal { position: fixed; inset: 0; margin: auto; width: min(300px,calc(100% - 64px)); max-width: none; overflow: visible; padding: 0; border-radius: 34px; background: var(--c-surface); box-shadow: var(--sh-float); }
#scan-modal::backdrop { background: #0006; backdrop-filter: blur(12px); }
#scan-modal[open] { animation: scan-in .45s cubic-bezier(.22,1,.36,1); }
.scan-card { position: relative; padding: 28px; text-align: center; }
#close-scan { position: absolute; inset-inline-end: 16px; top: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--c-surface-2); }
#close-scan::before { content: ""; position: absolute; inset: -6px; }
#close-scan .icon { width: 16px; height: 16px; }
.scan-art { position: relative; width: 128px; height: 128px; margin: 8px auto 0; }
.scan-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb,var(--c-lime-deep) 60%,transparent); animation: scan-ring 1.8s infinite ease-out; }
.scan-ring:nth-child(2) { animation-delay: .6s; }
.scan-ring:nth-child(3) { animation-delay: 1.2s; }
.scan-check { position: absolute; inset: 12px; border-radius: 50%; background: var(--c-lime); box-shadow: 0 16px 40px -12px rgba(140,180,0,.8); display: grid; place-items: center; animation: scan-check .7s cubic-bezier(.34,1.56,.64,1) both; }
.scan-check svg { width: 56px; height: 56px; }
.scan-check path { stroke-dasharray: 1; animation: scan-path .5s .55s ease-out both; }
.scan-card h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.6px; margin-top: 20px; }
.scan-card p { font-size: 14px; color: var(--c-muted); margin-top: 4px; }
.scan-progress { height: 6px; overflow: hidden; border-radius: 99px; background: var(--c-surface-3); margin-top: 16px; }
.scan-progress span { display: block; height: 100%; border-radius: inherit; background: var(--c-ink); animation: scan-progress 2.3s ease-in-out forwards; }
.empty { padding: max(12vh,var(--sat)) 24px calc(var(--sab) + 40px); }
.empty>.brand { width: 64px; height: 64px; }
.empty h1 { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.8px; margin-top: 24px; }
.empty>p { font-size: 15px; line-height: 1.65; color: var(--c-muted); margin-top: 14px; }
.empty form { margin-top: 28px; }
.empty label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.empty input { width: 100%; height: 54px; border: 1px solid var(--c-line); border-radius: 17px; background: var(--c-surface); color: inherit; padding: 12px 16px; font-size: 16px; }
.category-badge { display: inline-block; font-weight: 700; color: var(--c-ink-2); text-transform: uppercase; font-size: 10px; letter-spacing: .3px; }
.bubble-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
[dir=rtl] .online::after { right: auto; left: 0; }
[dir=rtl] .chat-shortcut { margin: 12px 40px 0 0; }
[dir=rtl] .owner .bubble { border-end-start-radius: 18px; border-end-end-radius: 6px; }
[dir=rtl] .visitor .bubble { border-end-end-radius: 18px; border-end-start-radius: 6px; }
[dir=rtl] .bubble small { justify-content: flex-start; }
[dir=rtl] .bubble-meta { flex-direction: row-reverse; }
html[dir=rtl] .rtl-flip { transform: scaleX(-1); }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes scan-in { from { transform: translateY(30px) scale(.82); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes blink { 0%,80%,100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes ping-slow { 0% { transform: scale(1); opacity: .7; } 80%,100% { transform: scale(2.3); opacity: 0; } }
@keyframes scan-ring { from { transform: scale(.7); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@keyframes scan-check { from { transform: scale(0) rotate(-60deg); } to { transform: scale(1) rotate(0deg); } }
@keyframes scan-path { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes scan-progress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; scroll-behavior: auto!important; } }

.connection-panel{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px;border:1px solid #dfe4cf;border-radius:20px;background:#f5f8e9;color:#202516}
.connection-panel[hidden]{display:none}.connection-symbol{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:12px;background:#d6f65a;font-size:21px}.connection-panel>div{min-width:0;flex:1}.connection-panel strong{font-size:12px}.connection-panel p{margin:4px 0 0;font-size:11px;line-height:1.5;color:#697157}.connection-panel button{min-width:48px;min-height:48px;border:0;border-radius:14px;background:#111216;color:#fff;padding:8px 11px;font:inherit;font-size:12px;font-weight:600}.connection-panel button:disabled{opacity:.5}
