/* Innovation SMM Panel — design system
   Brand colors (--gold, --ink) come from Admin → Settings and are printed inline in <head>. */

:root {
  --gold: #2F7BEA;
  --gold-ink: #FFFFFF;
  --ink: #06163A;
  --ink-2: color-mix(in srgb, var(--ink) 82%, white);
  --pearl: #F3F6FC;
  --surface: #FFFFFF;
  --text: #0F1B33;
  --muted: #5C6A85;
  --line: #E1E7F2;
  --ok: #15926F;   --ok-bg: #E4F5EF;
  --warn: #B07811; --warn-bg: #FBF1DC;
  --bad: #C93C3C;  --bad-bg: #FBE7E7;
  --info: #3D5FD1; --info-bg: #E7ECFB;
  --r-lg: 18px; --r-md: 12px; --r-sm: 9px;
  --shadow: 0 1px 2px rgba(6, 22, 58, .06), 0 8px 24px -12px rgba(6, 22, 58, .18);
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.6 var(--body); color: var(--text); background: var(--pearl); }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--gold) 70%, white); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px;
  padding: 11px 20px; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 88%, white); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { background: transparent; border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--muted); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.hint { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=tel], input[type=file],
select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--text);
  font: 15px/1.4 var(--body); transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
textarea { min-height: 110px; resize: vertical; }
input[type=color] { width: 56px; height: 42px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 14px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; }

/* ---------- Alerts & badges ---------- */
.alert { border-radius: var(--r-md); padding: 12px 16px; margin: 0 0 16px; font-weight: 500; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-err { background: var(--bad-bg); color: var(--bad); }
.alert-info { background: var(--info-bg); color: var(--info); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.b-pending, .b-processing, .b-open, .b-customer_reply { background: var(--warn-bg); color: var(--warn); }
.b-in_progress, .b-answered { background: var(--info-bg); color: var(--info); }
.b-completed, .b-approved, .b-active { background: var(--ok-bg); color: var(--ok); }
.b-partial { background: #F1E8FB; color: #7A3FB8; }
.b-canceled, .b-rejected, .b-banned, .b-inactive, .b-closed { background: var(--bad-bg); color: var(--bad); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 13px; white-space: nowrap; }
tbody tr:hover td { background: color-mix(in srgb, var(--pearl) 60%, white); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub { display: block; color: var(--muted); font-size: 12.5px; }
.link-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 34px 10px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.pager a, .pager span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; background: var(--surface); }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 18px; }
.card h2 { font-size: 17px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head h2 { margin: 0; }

/* =========================================================
   PUBLIC SITE
   ========================================================= */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; color: inherit; }
.logo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.sidebar .logo img { height: 48px; }
.logo .mark { width: 30px; height: 30px; fill: var(--gold); stroke: none; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.78); font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav, .site-actions { display: none; }
  .site-header.open .site-nav, .site-header.open .site-actions { display: flex; }
  .site-header.open .wrap { flex-wrap: wrap; height: auto; padding-top: 16px; padding-bottom: 16px; }
  .site-header.open .site-nav { flex-direction: column; width: 100%; gap: 12px; margin: 8px 0 0; }
  .site-header.open .site-actions { width: 100%; }
}
.announce { background: var(--gold); color: var(--gold-ink); text-align: center; font-weight: 600; font-size: 14px; padding: 8px 16px; }

.hero { background: var(--ink); color: #fff; padding: 64px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 26%, transparent), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; max-width: 14ch; }
.hero .lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 52ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pay-row span { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: rgba(255,255,255,.85); }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 44px 0 56px; } }

/* Price checker — the hero's centrepiece */
.checker { background: var(--surface); color: var(--text); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  border-top: 5px solid var(--gold); }
.checker h2 { font-size: 18px; margin-bottom: 4px; }
.checker .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px; font: 600 13.5px var(--body); cursor: pointer; color: var(--text); }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.checker-total { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.checker-total .price { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; }
.checker-total .per { color: var(--muted); font-size: 13px; }
.checker .svc-meta { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 20px; }

.platforms { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.platforms .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.platforms span { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.6vw, 28px); color: var(--ink); opacity: .9; }
.platforms span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }

.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section h2 { font-size: clamp(24px, 3.2vw, 36px); max-width: 22ch; }
.section .intro { color: var(--muted); font-size: 17px; max-width: 60ch; margin-bottom: 40px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--gold-ink); background: var(--gold);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.feature { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature .icon { width: 26px; height: 26px; color: var(--gold); margin-top: 3px; stroke-width: 1.7; }
.feature h3 { font-family: var(--body); font-size: 17px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 16px 36px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; white-space: pre-line; }

.cta-band { background: var(--ink); color: #fff; border-radius: 26px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); max-width: 20ch; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 28px; margin-top: 80px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-family: var(--body); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

.page-head { background: var(--ink); color: #fff; padding: 48px 0 40px; }
.page-head h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 8px; }
.page-head p { color: rgba(255,255,255,.75); margin: 0; max-width: 60ch; }
.page-body { padding: 40px 0; }
.prose { max-width: 760px; white-space: pre-line; }

/* Auth pages */
.auth { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 40px 16px; background: var(--ink); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border-radius: 22px; padding: 32px; border-top: 5px solid var(--gold); }
.auth-card h1 { font-size: 24px; }
.auth-card .switch { text-align: center; color: var(--muted); margin: 20px 0 0; font-size: 14.5px; }

/* Public services table */
.svc-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.svc-filter input { max-width: 340px; }
.cat-title td { background: var(--pearl) !important; font-weight: 700; color: var(--ink); }

/* =========================================================
   PANEL (customer + admin)
   ========================================================= */
.panel { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: #fff; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .logo { padding: 4px 10px 22px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.72);
  text-decoration: none; font-weight: 500; margin-bottom: 2px; position: relative; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a[aria-current=page] { background: rgba(255,255,255,.1); color: #fff; }
.side-nav a[aria-current=page]::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.side-nav .group { font-size: 12px; color: rgba(255,255,255,.45); padding: 18px 12px 6px; }
.side-nav .count { margin-left: auto; background: var(--gold); color: var(--gold-ink); border-radius: 999px; font-size: 11.5px; font-weight: 700; padding: 1px 8px; }
.sidebar .side-foot { margin-top: auto; padding-top: 16px; }

.main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar h1 { font-size: 19px; margin: 0; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--pearl); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.balance-chip .icon { width: 18px; height: 18px; color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--text); }
.content { padding: 26px 28px 60px; max-width: 1240px; }
.impersonate { background: var(--warn-bg); color: var(--warn); padding: 9px 28px; font-weight: 600; font-size: 14px; }
.impersonate a { color: inherit; }
@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; width: 270px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
  body.side-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(10, 8, 30, .5); }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 12px 16px; }
  .content { padding: 20px 16px 50px; }
  .topbar h1 { font-size: 17px; }
  .topbar .hide-sm { display: none; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.stat .label { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.stat .value { font-family: var(--display); font-weight: 600; font-size: 24px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat.highlight { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat.highlight .label { color: rgba(255,255,255,.7); }
.stat.highlight .value { color: var(--gold); }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.order-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: start; }
@media (max-width: 1060px) { .order-layout { grid-template-columns: 1fr; } }
.svc-desc { white-space: pre-line; color: var(--text); font-size: 14.5px; }
.svc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.svc-facts div { background: var(--pearl); border-radius: var(--r-sm); padding: 10px 12px; }
.svc-facts span { display: block; color: var(--muted); font-size: 12.5px; }
.svc-facts b { font-variant-numeric: tabular-nums; }
.charge-box { display: flex; justify-content: space-between; align-items: center; background: var(--pearl); border-radius: var(--r-md); padding: 14px 16px; margin-top: 18px; }
.charge-box b { font-family: var(--display); font-size: 22px; }

.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.pay-method { display: block; border: 2px solid var(--line); border-radius: var(--r-md); padding: 14px; text-decoration: none; background: var(--surface); }
.pay-method strong { display: block; font-size: 15.5px; }
.pay-method span { color: var(--muted); font-size: 13px; }
.pay-method[aria-current=true] { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.account-box { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; background: var(--pearl); border: 1px dashed color-mix(in srgb, var(--muted) 45%, transparent); border-radius: var(--r-md); padding: 16px; margin: 6px 0 14px; }
.account-box .big { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .02em; word-break: break-all; }
.account-box .qr { width: 150px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 14px; background: var(--pearl); white-space: pre-line; }
.msg.admin { align-self: flex-end; background: var(--ink); color: #fff; }
.msg .meta { display: block; font-size: 12px; opacity: .65; margin-top: 6px; }
.code-block { background: var(--ink); color: #EDEBFA; border-radius: var(--r-md); padding: 16px; overflow-x: auto; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input, .toolbar select { width: auto; min-width: 160px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.tabs a[aria-current=page] { background: var(--ink); border-color: var(--ink); color: #fff; }
.inline-form { display: inline; }
.actions-row { display: flex; gap: 6px; flex-wrap: wrap; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.preview-logo { max-height: 56px; background: var(--ink); padding: 8px 12px; border-radius: 10px; }

/* =========================================================
   SUPPORT BOT
   ========================================================= */
.bot-launch { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }
.bot-launch .icon { width: 28px; height: 28px; }
.bot-panel { position: fixed; right: 20px; bottom: 92px; z-index: 60; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  background: var(--surface); border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(15, 12, 45, .5); display: none; flex-direction: column; overflow: hidden; }
.bot-panel.open { display: flex; animation: botIn .18s ease-out; }
@keyframes botIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bot-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.bot-head .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; }
.bot-head strong { display: block; font-size: 15px; }
.bot-head small { color: rgba(255,255,255,.65); }
.bot-head button { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.bot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--pearl); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; white-space: pre-line; line-height: 1.5; }
.bubble.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bubble .acts a { font-size: 13px; font-weight: 600; text-decoration: none; background: var(--gold); color: var(--gold-ink); padding: 5px 11px; border-radius: 999px; }
.bot-quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; background: var(--surface); border-top: 1px solid var(--line); scrollbar-width: none; }
.bot-quick button { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--body); cursor: pointer; color: var(--text); }
.bot-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); }
.bot-form input { border-radius: 999px; }
.bot-form button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.typing { color: var(--muted); font-size: 13px; padding-left: 4px; }
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 55; }
