:root {
  --brand-blue: #0077FF;
  --brand-sky: #36A9E1;
  --brand-dark: #181D23;
  --brand-charcoal: #2E3038;
  --brand-gray: #878787;
  --brand-white: #FFFFFF;
  --app-bg: var(--tg-theme-bg-color, #F3F5F8);
  --app-secondary-bg: var(--tg-theme-secondary-bg-color, #FFFFFF);
  --app-section-bg: var(--tg-theme-section-bg-color, #FFFFFF);
  --app-text: var(--tg-theme-text-color, #181D23);
  --app-muted: var(--tg-theme-hint-color, #6F7782);
  --app-link: var(--brand-blue);
  --app-button: var(--brand-blue);
  --app-button-text: #FFFFFF;
  --app-border: color-mix(in srgb, var(--app-text) 11%, transparent);
  --app-soft: color-mix(in srgb, var(--app-button) 10%, var(--app-secondary-bg));
  --app-danger: #e5484d;
  --app-success: #2d9d62;
  --app-warning: #d68a14;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
  --safe-left: max(env(safe-area-inset-left, 0px), var(--tg-safe-area-inset-left, 0px), var(--tg-content-safe-area-inset-left, 0px));
  --safe-right: max(env(safe-area-inset-right, 0px), var(--tg-safe-area-inset-right, 0px), var(--tg-content-safe-area-inset-right, 0px));
  font-family: "Montserrat", Tahoma, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--app-bg); color: var(--app-text); }
body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: var(--app-link); }

.app-shell { min-height: var(--tg-viewport-stable-height, 100dvh); padding-bottom: calc(88px + var(--safe-bottom)); }
.app-shell.chat-mode { min-height: 0; padding-bottom: 0; }
.splash { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; }
.brand-mark { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--brand-charcoal); box-shadow: 0 18px 42px rgba(24,29,35,.22); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.splash-title { font-size: 28px; font-weight: 750; }
.splash-subtitle { color: var(--app-muted); }
.loader { margin-top: 12px; width: 26px; height: 26px; border: 3px solid var(--app-border); border-top-color: var(--app-button); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.topbar { position: sticky; top: 0; z-index: 20; padding: calc(10px + var(--safe-top)) calc(16px + var(--safe-right)) 11px calc(16px + var(--safe-left)); color: #fff; background: color-mix(in srgb, var(--brand-charcoal) 96%, transparent); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 960px; margin: 0 auto; }
.brand-title-group { display: flex; align-items: center; min-width: 0; gap: 11px; }
.topbar-mark { width: 44px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.eyebrow { color: var(--app-muted); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; }
.topbar .eyebrow { color: rgba(255,255,255,.64); }
.page-title { margin: 2px 0 0; font-size: 21px; line-height: 1.15; font-weight: 760; }
.avatar { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; flex: 0 0 auto; font-weight: 750; background: rgba(0,119,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.topbar-actions { display: flex; align-items: center; gap: 7px; }
.dashboard-entry { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: rgba(255,255,255,.08); color: #fff; font-size: 19px; font-weight: 800; cursor: pointer; }

.page { width: min(100%, 960px); margin: 0 auto; padding: 8px 16px 28px; animation: page-in .18s ease-out; }
@keyframes page-in { from { opacity: .55; transform: translateY(5px); } }
.section { margin-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 2px 10px; }
.section-title { margin: 0; font-size: 17px; font-weight: 720; }
.section-link { border: 0; background: transparent; color: var(--app-link); padding: 5px; cursor: pointer; }
.muted { color: var(--app-muted); }
.small { font-size: 13px; }

.hero { position: relative; overflow: hidden; min-height: 184px; padding: 22px; border-radius: 28px; color: #fff; background: linear-gradient(140deg, var(--brand-blue), var(--brand-sky)); box-shadow: 0 18px 38px color-mix(in srgb, var(--app-button) 22%, transparent); }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; right: -85px; top: -110px; border: 34px solid rgba(255,255,255,.11); border-radius: 50%; }
.hero-label { position: relative; z-index: 1; opacity: .78; font-size: 14px; }
.hero-value { position: relative; z-index: 1; margin-top: 8px; font-size: clamp(34px, 10vw, 46px); font-weight: 800; letter-spacing: -.04em; }
.hero-footer { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-note { max-width: 55%; font-size: 13px; opacity: .8; }
.hero-button { border: 0; border-radius: 14px; padding: 11px 15px; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); font-weight: 650; cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-card, .service-card, .account-card, .list-card, .profile-card { border: 1px solid var(--app-border); background: var(--app-section-bg); }
.quick-card { min-height: 106px; padding: 15px; border-radius: 20px; text-align: left; cursor: pointer; }
.quick-icon, .service-icon { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--app-soft); font-size: 20px; }
.quick-title { margin-top: 13px; font-weight: 690; }
.quick-sub { margin-top: 3px; color: var(--app-muted); font-size: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.service-card { display: flex; flex-direction: column; min-height: 142px; padding: 16px; border-radius: 22px; text-align: left; cursor: pointer; }
.service-card[disabled] { opacity: .46; cursor: not-allowed; }
.service-title { margin-top: auto; padding-top: 16px; font-weight: 720; }
.service-sub { margin-top: 4px; color: var(--app-muted); font-size: 12px; line-height: 1.35; }

.category-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 8px; }
.category-tabs::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border: 1px solid var(--app-border); border-radius: 999px; padding: 9px 13px; background: var(--app-section-bg); cursor: pointer; }
.chip.active { border-color: var(--app-button); background: var(--app-button); color: var(--app-button-text); }

.account-list, .history-list, .faq-list { display: grid; gap: 10px; }
.account-card { width: 100%; padding: 16px; border-radius: 21px; display: flex; align-items: center; gap: 13px; text-align: left; cursor: pointer; }
.account-icon { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; flex: 0 0 auto; background: var(--app-soft); font-size: 21px; }
.account-main { min-width: 0; flex: 1; }
.account-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-meta { margin-top: 4px; color: var(--app-muted); font-size: 12px; }
.account-amount { text-align: right; font-weight: 730; white-space: nowrap; }
.account-amount.zero { color: var(--app-success); }
.chevron { color: var(--app-muted); font-size: 20px; }

.list-card { padding: 15px 16px; border-radius: 19px; display: flex; align-items: flex-start; gap: 12px; }
.status-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--app-muted); flex: 0 0 auto; }
.status-dot.confirmed { background: var(--app-success); }
.status-dot.failed, .status-dot.reversed { background: var(--app-danger); }
.status-dot.created, .status-dot.authorized { background: var(--app-warning); }
.list-main { min-width: 0; flex: 1; }
.list-title { display: flex; justify-content: space-between; gap: 10px; font-weight: 660; }
.list-meta { margin-top: 5px; font-size: 12px; color: var(--app-muted); }

.empty { padding: 30px 20px; border: 1px dashed var(--app-border); border-radius: 22px; text-align: center; color: var(--app-muted); }
.empty-icon { font-size: 30px; margin-bottom: 7px; }
.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 12px;
  border: 1px solid color-mix(in srgb, var(--app-warning) 38%, var(--app-border));
  border-radius: 17px;
  padding: 11px 13px;
  background: color-mix(in srgb, var(--app-warning) 9%, var(--app-section-bg));
  font-size: 12px;
  line-height: 1.4;
}
.warning-banner > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--app-warning);
  font-weight: 800;
}
.warning-banner p { margin: 1px 0; }

.profile-card { padding: 18px; border-radius: 23px; }
.profile-name { font-size: 20px; font-weight: 740; }
.profile-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--app-border); }
.profile-row:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-label { color: var(--app-muted); }
.profile-value { text-align: right; font-weight: 600; }

.bottom-nav { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(10px + var(--safe-bottom)); max-width: 736px; margin: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 7px; border: 1px solid var(--app-border); border-radius: 23px; background: color-mix(in srgb, var(--app-secondary-bg) 92%, transparent); backdrop-filter: blur(22px); box-shadow: 0 14px 40px rgba(0,0,0,.13); }
.nav-button { border: 0; background: transparent; border-radius: 17px; padding: 8px 4px 7px; color: var(--app-muted); cursor: pointer; }
.nav-button.active { color: var(--app-button); background: var(--app-soft); }
.nav-icon { display: block; font-size: 20px; line-height: 1; }
.nav-label { display: block; margin-top: 5px; font-size: 10px; font-weight: 650; }

.primary, .secondary, .danger, .ghost { min-height: 48px; border-radius: 15px; padding: 12px 16px; font-weight: 680; cursor: pointer; }
.primary { border: 0; color: var(--app-button-text); background: var(--app-button); }
.secondary { border: 1px solid var(--app-border); background: var(--app-section-bg); }
.danger { border: 0; color: #fff; background: var(--app-danger); }
.ghost { border: 0; background: transparent; color: var(--app-link); }
.full { width: 100%; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.inline-actions { display: flex; gap: 9px; }
.inline-actions > * { flex: 1; }
button:disabled { opacity: .55; cursor: wait; }

.form-page { width: min(100%, 520px); margin: 0 auto; padding: calc(32px + var(--safe-top)) 18px 28px; }
.form-logo { width: 84px; height: 68px; border-radius: 20px; display: grid; place-items: center; padding: 9px; background: var(--brand-charcoal); }
.form-logo img { width: 100%; height: 100%; object-fit: contain; }
.form-title { margin: 22px 0 8px; font-size: 28px; letter-spacing: -.025em; }
.form-lead { margin: 0 0 24px; color: var(--app-muted); line-height: 1.5; }
.field { display: grid; gap: 7px; margin-top: 14px; }
.field-label { font-size: 13px; font-weight: 650; }
.input, .textarea, .select { width: 100%; border: 1px solid var(--app-border); border-radius: 15px; background: var(--app-section-bg); color: var(--app-text); padding: 13px 14px; outline: none; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--app-button); box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-button) 13%, transparent); }
.textarea { min-height: 112px; resize: vertical; }
.help { color: var(--app-muted); font-size: 12px; line-height: 1.35; }
.check-list { display: grid; gap: 9px; margin-top: 15px; }
.check-row { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--app-border); border-radius: 16px; background: var(--app-section-bg); }
.check-row input { width: 20px; height: 20px; accent-color: var(--app-button); }

.modal-backdrop { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.36); animation: fade-in .18s ease-out; }
@keyframes fade-in { from { opacity: 0; } }
.modal { width: min(100%, 640px); max-height: min(88dvh, 820px); overflow-y: auto; border-radius: 28px 28px 0 0; padding: 10px 18px calc(24px + var(--safe-bottom)); background: var(--app-secondary-bg); box-shadow: 0 -20px 70px rgba(0,0,0,.24); animation: modal-in .22s ease-out; }
@keyframes modal-in { from { transform: translateY(24px); opacity: .65; } }
.modal-grabber { width: 42px; height: 5px; margin: 2px auto 17px; border-radius: 999px; background: var(--app-border); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal-title { margin: 0; font-size: 22px; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--app-soft); cursor: pointer; }
.modal-body { margin-top: 14px; }
.modal-description { color: var(--app-muted); line-height: 1.45; }

.faq-section { margin-top: 18px; }
.faq-section-title { margin: 0 0 9px; font-size: 15px; color: var(--app-muted); }
.faq-item { border: 1px solid var(--app-border); border-radius: 17px; background: var(--app-section-bg); overflow: hidden; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-question { width: 100%; border: 0; background: transparent; color: var(--app-text); padding: 14px; text-align: left; font-weight: 650; cursor: pointer; }
.faq-answer { display: none; padding: 0 14px 15px; white-space: pre-wrap; color: var(--app-muted); line-height: 1.5; }
.faq-item.open .faq-answer { display: block; }

.toast { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: calc(96px + var(--safe-bottom)); max-width: 560px; margin: auto; padding: 13px 15px; border-radius: 16px; color: #fff; background: rgba(27,29,34,.94); box-shadow: 0 12px 35px rgba(0,0,0,.24); transform: translateY(16px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: color-mix(in srgb, var(--app-danger) 88%, #242424); }

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .modal { margin-bottom: 12px; border-radius: 28px; }
  .modal-backdrop { align-items: center; padding: 20px; }
}

/* Brand and conversation experience */
.brand-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px;
  color: #fff;
  background: var(--brand-charcoal);
}
.brand-banner img { width: min(47%, 280px); height: 54px; object-fit: contain; object-position: left center; }
.brand-banner div { display: grid; gap: 4px; }
.brand-banner strong { font-size: 17px; }
.brand-banner span { color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.35; }

.primary.compact { min-height: 40px; width: auto; padding: 9px 13px; border-radius: 13px; }
.secondary.compact { min-height: 38px; width: auto; padding: 8px 11px; border-radius: 12px; font-size: 12px; }
.modal-section-title { margin: 20px 2px 10px; color: var(--app-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.conversation-entry {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--app-button) 28%, var(--app-border));
  border-radius: 19px;
  padding: 14px;
  color: var(--app-text);
  background: var(--app-soft);
  text-align: left;
  cursor: pointer;
}
.conversation-entry-icon, .contact-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--app-button);
  color: var(--app-button-text);
  font-weight: 760;
}
.conversation-entry-main { min-width: 0; flex: 1; display: grid; gap: 4px; }
.conversation-entry-main span { color: var(--app-muted); font-size: 12px; line-height: 1.35; }
.contact-list { display: grid; gap: 9px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--app-border);
  border-radius: 18px;
  padding: 12px;
  background: var(--app-section-bg);
}
.contact-avatar { background: var(--brand-charcoal); }
.contact-main { min-width: 0; flex: 1; }
.contact-name { font-weight: 700; }
.contact-sub { margin-top: 3px; color: var(--app-muted); font-size: 11px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nav-icon { position: relative; width: fit-content; margin: auto; }
.nav-badge {
  position: absolute;
  top: -8px;
  left: 12px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--app-secondary-bg);
  border-radius: 999px;
  padding: 0 4px;
  color: #fff;
  background: var(--app-danger);
  font-size: 9px;
  line-height: 1;
}

.conversation-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--app-border);
  border-radius: 24px;
  padding: 18px;
  background: var(--app-section-bg);
}
.conversation-summary h2 { margin: 3px 0 6px; font-size: 22px; }
.conversation-summary p { margin: 0; max-width: 520px; color: var(--app-muted); font-size: 13px; line-height: 1.45; }
.conversation-list { display: grid; gap: 10px; }
.conversation-card {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--app-border);
  border-radius: 20px;
  padding: 13px;
  color: var(--app-text);
  background: var(--app-section-bg);
  text-align: left;
  cursor: pointer;
}
.conversation-card-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-card.has-unread { border-color: color-mix(in srgb, var(--brand-blue) 38%, var(--app-border)); }
.conversation-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  background: var(--app-soft);
  font-size: 21px;
}
.conversation-avatar.large { width: 62px; height: 62px; border-radius: 20px; font-size: 28px; }
.conversation-card-main { min-width: 0; flex: 1; }
.conversation-card-head { display: flex; justify-content: space-between; gap: 10px; }
.conversation-card-head time { color: var(--app-muted); font-size: 10px; white-space: nowrap; }
.conversation-card-preview { display: block; overflow: hidden; margin-top: 5px; color: var(--app-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.conversation-card-status { display: inline-block; margin-top: 7px; border-radius: 999px; padding: 3px 7px; color: var(--brand-blue); background: var(--app-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.conversation-card-status.closed { color: var(--app-muted); background: color-mix(in srgb, var(--app-muted) 10%, transparent); }
.unread-badge { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; padding: 0 6px; color: #fff; background: var(--brand-blue); font-size: 11px; font-weight: 700; }
.department-list { display: grid; gap: 9px; }
.department-row { display: flex; width: 100%; align-items: center; gap: 12px; border: 1px solid var(--app-border); border-radius: 18px; padding: 12px; background: var(--app-section-bg); text-align: left; }
.department-row > span:nth-child(2) { min-width: 0; flex: 1; }
.department-row small { display: block; margin-top: 3px; color: var(--app-muted); line-height: 1.35; }

.chat-layout {
  height: var(--tg-viewport-height, 100dvh);
  min-height: 420px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--app-bg);
}
.chat-header {
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(9px + var(--safe-top)) calc(10px + var(--safe-right)) 9px calc(10px + var(--safe-left));
  color: #fff;
  background: var(--brand-charcoal);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.chat-header .conversation-avatar { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,119,255,.2); }
.chat-header-main { min-width: 0; flex: 1; display: grid; gap: 2px; }
.chat-header-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-header-main span { overflow: hidden; color: rgba(255,255,255,.62); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--app-border); border-radius: 13px; background: var(--app-section-bg); font-weight: 700; cursor: pointer; }
.chat-header .icon-button { border-color: rgba(255,255,255,.14); color: #fff; background: rgba(255,255,255,.08); }
.chat-messages {
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px max(12px, var(--safe-right)) 18px max(12px, var(--safe-left));
  scroll-behavior: smooth;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand-gray) 16%, transparent) 1px, transparent 0);
  background-size: 24px 24px;
}
.chat-date-pill { align-self: center; border: 1px solid var(--app-border); border-radius: 999px; padding: 5px 10px; color: var(--app-muted); background: color-mix(in srgb, var(--app-section-bg) 94%, transparent); font-size: 10px; }
.chat-welcome { align-self: center; max-width: 430px; display: grid; justify-items: center; gap: 7px; margin: auto; padding: 25px; text-align: center; }
.chat-welcome p { margin: 0; color: var(--app-muted); font-size: 13px; line-height: 1.5; }
.chat-message { max-width: min(82%, 640px); border: 1px solid var(--app-border); border-radius: 18px; padding: 9px 11px 6px; background: var(--app-section-bg); box-shadow: 0 2px 10px rgba(24,29,35,.05); }
.chat-message.incoming { align-self: flex-start; border-bottom-left-radius: 6px; }
.chat-message.outgoing { align-self: flex-end; border-color: color-mix(in srgb, var(--brand-blue) 26%, var(--app-border)); border-bottom-right-radius: 6px; background: color-mix(in srgb, var(--brand-blue) 9%, var(--app-section-bg)); }
.message-sender { margin-bottom: 4px; color: var(--brand-blue); font-size: 10px; font-weight: 750; }
.message-text { overflow-wrap: anywhere; font-size: 14px; line-height: 1.43; }
.message-time { margin-top: 5px; color: var(--app-muted); font-size: 9px; text-align: right; }
.message-attachments { display: grid; gap: 7px; margin-top: 7px; }
.message-image-link { display: grid; gap: 5px; color: var(--app-text); text-decoration: none; font-size: 10px; }
.message-image { display: block; width: min(100%, 360px); max-height: 320px; border-radius: 13px; object-fit: cover; background: var(--app-soft); }
.message-file { display: flex; align-items: center; gap: 9px; min-width: min(270px, 66vw); border: 1px solid var(--app-border); border-radius: 13px; padding: 8px; color: var(--app-text); background: var(--app-section-bg); text-decoration: none; }
.message-file-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: var(--app-soft); }
.message-file > span:nth-child(2) { min-width: 0; flex: 1; }
.message-file strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.message-file small { display: block; margin-top: 2px; color: var(--app-muted); font-size: 9px; }
.download-icon { color: var(--brand-blue); font-size: 17px; }
.system-message { align-self: center; max-width: 88%; display: flex; align-items: center; gap: 7px; border: 1px solid var(--app-border); border-radius: 999px; padding: 6px 10px; color: var(--app-muted); background: var(--app-section-bg); font-size: 10px; }
.system-message time { opacity: .7; }
.chat-composer { width: 100%; min-width: 0; padding: 7px max(9px, var(--safe-right)) calc(8px + var(--safe-bottom)) max(9px, var(--safe-left)); border-top: 1px solid var(--app-border); background: var(--app-secondary-bg); }
.selected-files { display: flex; gap: 6px; overflow-x: auto; padding: 0 2px 7px; scrollbar-width: none; }
.selected-files:empty { display: none; }
.selected-file { max-width: 220px; display: flex; align-items: center; gap: 5px; flex: 0 0 auto; border: 1px solid var(--app-border); border-radius: 10px; padding: 6px 8px; background: var(--app-soft); font-size: 10px; }
.selected-file > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file button { border: 0; padding: 0 2px; color: var(--app-muted); background: transparent; font-size: 17px; }
.composer-row { width: 100%; min-width: 0; display: flex; align-items: flex-end; gap: 7px; }
.composer-button, .send-button { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; cursor: pointer; }
.composer-button { border: 1px solid var(--app-border); background: var(--app-section-bg); font-size: 22px; }
.send-button { border: 0; color: #fff; background: var(--brand-blue); font-size: 18px; }
.composer-input { min-width: 0; min-height: 44px; max-height: 120px; flex: 1; resize: none; border: 1px solid var(--app-border); border-radius: 17px; padding: 11px 13px; outline: none; color: var(--app-text); background: var(--app-bg); line-height: 1.35; }
.composer-input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.closed-composer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--app-muted); font-size: 12px; }

[data-scheme="dark"] {
  --app-bg: var(--tg-theme-bg-color, #181D23);
  --app-secondary-bg: var(--tg-theme-secondary-bg-color, #232A32);
  --app-section-bg: var(--tg-theme-section-bg-color, #232A32);
  --app-text: var(--tg-theme-text-color, #FFFFFF);
  --app-muted: var(--tg-theme-hint-color, #A4ABB3);
}

@media (max-width: 420px) {
  .page { padding-inline: 12px; }
  .topbar { padding-inline: 12px; }
  .topbar-mark { width: 39px; height: 34px; }
  .page-title { font-size: 19px; }
  .topbar .eyebrow { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bottom-nav { left: 7px; right: 7px; gap: 1px; padding: 5px; }
  .nav-button { padding-inline: 1px; }
  .nav-label { font-size: 9px; }
  .conversation-summary { align-items: flex-start; flex-direction: column; }
  .conversation-summary .primary { width: 100%; }
  .brand-banner { align-items: flex-start; flex-direction: column; }
  .brand-banner img { width: 250px; max-width: 100%; }
  .chat-message { max-width: 88%; }
}

@media (min-width: 900px) {
  .app-shell:not(.chat-mode) { padding-left: 106px; padding-bottom: 28px; }
  .app-shell:not(.chat-mode) .bottom-nav {
    top: calc(18px + var(--safe-top));
    bottom: auto;
    left: 14px;
    right: auto;
    width: 82px;
    max-width: none;
    grid-template-columns: 1fr;
    border-radius: 25px;
  }
  .app-shell:not(.chat-mode) .nav-button { min-height: 62px; }
  .app-shell:not(.chat-mode) .topbar { padding-left: 24px; }
  .chat-layout { width: min(100%, 1080px); margin: 0 auto; border-right: 1px solid var(--app-border); border-left: 1px solid var(--app-border); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 430px) {
  .contact-row { align-items: flex-start; flex-wrap: wrap; }
  .contact-main { min-width: calc(100% - 56px); }
  .contact-actions { width: 100%; padding-left: 53px; justify-content: stretch; }
  .contact-actions .secondary { flex: 1; }
}

/* Hardened release: announcements, ticket states and long-history navigation. */
.announcement-list { display: grid; gap: 10px; }
.announcement-card {
  width: 100%; display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--app-border); border-radius: 20px; padding: 14px;
  background: var(--app-card); color: var(--app-text); text-align: left; cursor: pointer;
}
.announcement-card.unread { border-color: color-mix(in srgb, var(--brand-blue) 50%, var(--app-border)); }
.announcement-card.important { background: color-mix(in srgb, var(--brand-blue) 8%, var(--app-card)); }
.announcement-marker {
  display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px;
  border-radius: 12px; background: var(--app-soft); color: var(--brand-blue); font-weight: 800;
}
.announcement-card.important .announcement-marker { background: var(--brand-blue); color: #fff; }
.announcement-main { min-width: 0; flex: 1; display: grid; gap: 5px; }
.announcement-title { font-weight: 750; line-height: 1.3; }
.announcement-preview { color: var(--app-muted); font-size: 12px; line-height: 1.45; }
.announcement-meta { color: var(--app-muted); font-size: 10px; }
.announcement-count { border-radius: 999px; padding: 7px 10px; background: var(--app-soft); color: var(--brand-blue); font-size: 11px; font-weight: 700; }
.unread-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--brand-blue); }
.announcement-detail { display: grid; gap: 14px; }
.announcement-detail.important { border-left: 3px solid var(--brand-blue); padding-left: 14px; }
.announcement-detail-meta { color: var(--app-muted); font-size: 12px; }
.announcement-body { overflow-wrap: anywhere; line-height: 1.55; }
.acknowledged { border-radius: 14px; padding: 11px 13px; background: var(--app-soft); color: var(--brand-blue); font-weight: 700; text-align: center; }
.conversation-subject { display: block; margin-top: 4px; font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.load-older { align-self: center; border: 1px solid var(--app-border); border-radius: 999px; padding: 7px 12px; background: var(--app-card); color: var(--brand-blue); font-size: 11px; cursor: pointer; }
.resolved-composer { display: grid; gap: 10px; width: 100%; }
.resolved-composer > div:first-child { display: grid; gap: 3px; }
.resolved-composer span { color: var(--app-muted); font-size: 12px; }
.resolved-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

@media (max-width: 360px) {
  .nav-label { font-size: 9px; }
  .bottom-nav { gap: 1px; padding-inline: 5px; }
  .announcement-card { padding: 12px; gap: 9px; }
  .resolved-actions { grid-template-columns: 1fr; }
}

/* CIRPAY visual system — calm, precise, and made for short mobile sessions. */
:root {
  --cir-ink: #101826;
  --cir-surface: #ffffff;
  --cir-line: rgba(18, 35, 59, .10);
  --cir-blue: #2b7cff;
  --cir-cyan: #31d4ff;
  --cir-mist: #eef5ff;
  --cir-shadow: 0 18px 48px rgba(18, 40, 78, .10);
  --app-card: var(--cir-surface);
}

html, body {
  background:
    radial-gradient(circle at 85% -20%, rgba(49, 212, 255, .16), transparent 31rem),
    linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .46;
  pointer-events: none;
  background-image: linear-gradient(rgba(47, 97, 165, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 97, 165, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.app-shell { padding-bottom: calc(96px + var(--safe-bottom)); }
.page { padding-top: 16px; }

.topbar {
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(112deg, #111c2d, #172942 64%, #153452);
  box-shadow: 0 10px 34px rgba(12, 24, 43, .22);
}
.topbar::after {
  content: "";
  position: absolute;
  right: 14%; bottom: 0;
  width: 190px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49,212,255,.8), transparent);
}
.topbar-mark { width: 48px; height: 42px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.topbar-kicker { display: flex; align-items: center; gap: 6px; color: rgba(225, 241, 255, .63) !important; font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.topbar-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--cir-cyan); box-shadow: 0 0 0 4px rgba(49,212,255,.13), 0 0 14px rgba(49,212,255,.9); }
.page-title { font-size: 23px; letter-spacing: -.035em; }
.avatar { position: relative; overflow: hidden; border-radius: 17px; background: linear-gradient(135deg, rgba(43,124,255,.94), rgba(49,212,255,.82)); box-shadow: 0 7px 18px rgba(0,0,0,.16); }
.avatar::after { content: ""; position: absolute; inset: 1px; border: 1px solid rgba(255,255,255,.3); border-radius: 15px; }
.avatar span { position: relative; z-index: 1; }

.mission-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(188px, .8fr);
  gap: 18px;
  min-height: 286px;
  padding: 25px;
  border: 1px solid rgba(93, 181, 255, .25);
  border-radius: 30px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 80% 18%, rgba(49,212,255,.35), transparent 19%),
    radial-gradient(circle at 16% 130%, rgba(43,124,255,.48), transparent 42%),
    linear-gradient(125deg, #102039, #162b48 58%, #123854);
  box-shadow: 0 23px 50px rgba(24, 67, 119, .20);
}
.mission-hero::before, .mission-hero::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(114, 210, 255, .22); border-radius: 999px; }
.mission-hero::before { width: 370px; height: 370px; top: -250px; right: -108px; box-shadow: 0 0 0 38px rgba(49,212,255,.035), 0 0 0 76px rgba(49,212,255,.025); }
.mission-hero::after { width: 210px; height: 210px; bottom: -150px; left: 24%; }
.hero-gridline { position: absolute; z-index: -1; height: 1px; left: 0; right: 0; background: linear-gradient(90deg, transparent, rgba(111,210,255,.32), transparent); transform: rotate(-18deg); transform-origin: left; }
.hero-gridline-one { top: 35%; }
.hero-gridline-two { top: 74%; opacity: .45; }
.hero-content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(173,229,255,.22); border-radius: 999px; padding: 6px 10px; color: rgba(236,249,255,.84); background: rgba(4, 16, 34, .24); font-size: 10px; font-weight: 670; letter-spacing: .025em; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #70f5b4; box-shadow: 0 0 0 4px rgba(112,245,180,.12); }
.hero-greeting { margin-top: 19px; font-size: clamp(23px, 5.3vw, 35px); line-height: 1.06; letter-spacing: -.055em; }
.hero-greeting strong { color: #fff; }
.hero-copy { max-width: 470px; margin-top: 10px; color: rgba(225,239,255,.72); font-size: 13px; line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-button { min-height: 42px; border: 0; border-radius: 14px; padding: 10px 13px; font-size: 12px; font-weight: 720; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.hero-button:active, .quick-card:active, .service-card:active { transform: translateY(1px) scale(.985); }
.hero-button-primary { color: #092244; background: linear-gradient(100deg, #72e5ff, #d5f7ff); box-shadow: 0 9px 20px rgba(49,212,255,.16); }
.hero-button-primary span { margin-left: 6px; font-size: 15px; }
.hero-button-ghost { border: 1px solid rgba(228,246,255,.22); color: #f7fcff; background: rgba(11,32,56,.35); }
.hero-balance-card {
  align-self: center;
  display: flex;
  width: 100%; min-width: 0; min-height: 185px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(202,244,255,.24);
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(155deg, rgba(255,255,255,.20), rgba(255,255,255,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 38px rgba(2,15,34,.18);
  backdrop-filter: blur(14px);
}
.balance-card-top { display: flex; justify-content: space-between; gap: 10px; color: rgba(236,248,255,.72); font-size: 11px; }
.balance-shield { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 8px; color: #86f5be; background: rgba(55,214,143,.15); font-weight: 800; }
.balance-amount { overflow: hidden; margin: 14px 0 5px; color: #fff; font-size: clamp(25px, 5.4vw, 36px); font-weight: 760; letter-spacing: -.055em; text-overflow: ellipsis; white-space: nowrap; }
.balance-note { color: rgba(236,248,255,.62); font-size: 10px; line-height: 1.35; }
.balance-link { align-self: flex-start; border: 0; padding: 6px 0 0; color: #c5f5ff; background: transparent; font-size: 11px; font-weight: 720; cursor: pointer; }
.balance-link span { margin-left: 4px; }

.section { margin-top: 26px; }
.section-head-modern { align-items: center; }
.section-kicker { display: block; margin-bottom: 4px; color: var(--cir-blue); font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.section-title { font-size: 19px; letter-spacing: -.025em; }
.section-link { display: inline-flex; align-items: center; gap: 4px; color: #246de1; font-size: 12px; font-weight: 720; }
.quick-grid-modern { gap: 12px; }
.quick-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border-color: rgba(24,74,133,.10);
  border-radius: 23px;
  padding: 16px;
  background: rgba(255,255,255,.79);
  box-shadow: 0 10px 26px rgba(29,69,120,.055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.quick-card::before { content: ""; position: absolute; right: -20px; bottom: -38px; width: 115px; height: 115px; border: 1px solid rgba(43,124,255,.10); border-radius: 50%; }
.quick-card:hover { border-color: rgba(43,124,255,.30); box-shadow: 0 16px 32px rgba(29,69,120,.10); transform: translateY(-2px); }
.quick-icon { width: 42px; height: 42px; border-radius: 15px; color: #1769df; background: linear-gradient(140deg, #e7f2ff, #f8fbff); font-size: 21px; font-weight: 800; }
.quick-title { position: relative; margin-top: 17px; font-size: 15px; font-weight: 760; letter-spacing: -.015em; }
.quick-sub { position: relative; max-width: 150px; font-size: 11px; line-height: 1.35; }
.quick-arrow { position: absolute; right: 15px; bottom: 13px; color: #2b7cff; font-size: 18px; }
.quick-card-accent { color: #f9fdff; border-color: rgba(85,193,255,.38); background: linear-gradient(150deg, #1670ea, #38bdeb); box-shadow: 0 15px 29px rgba(35,128,229,.24); }
.quick-card-accent::before { border-color: rgba(255,255,255,.23); }
.quick-card-accent .quick-icon { color: #165ece; background: rgba(255,255,255,.90); }
.quick-card-accent .quick-sub { color: rgba(245,253,255,.73); }
.quick-card-accent .quick-arrow { color: #fff; }
.quick-card-dark { color: #eef8ff; border-color: rgba(255,255,255,.06); background: linear-gradient(155deg, #182b44, #172033); }
.quick-card-dark::before { border-color: rgba(82,213,255,.20); }
.quick-card-dark .quick-icon { color: #73e7ff; background: rgba(43,124,255,.18); }
.quick-card-dark .quick-sub { color: rgba(229,241,255,.62); }
.quick-card-dark .quick-arrow { color: #73e7ff; }

.hero:not(.mission-hero), .brand-banner {
  border: 1px solid rgba(84,166,255,.20);
  box-shadow: var(--cir-shadow);
}
.hero:not(.mission-hero) { background: linear-gradient(135deg, #166fe6, #3cc6ef); }
.service-card, .account-card, .list-card, .profile-card, .announcement-card, .conversation-card, .conversation-summary, .department-row, .contact-row, .faq-item {
  border-color: var(--cir-line);
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 24px rgba(29,69,120,.035);
}
.service-card { min-height: 150px; border-radius: 23px; }
.service-icon { color: #1769df; background: linear-gradient(140deg, #e6f3ff, #f9fcff); font-weight: 800; }
.service-card:hover { transform: translateY(-2px); border-color: rgba(43,124,255,.26); }
.account-card, .list-card { border-radius: 20px; }
.account-icon { background: var(--cir-mist); }
.announcement-card.important { background: linear-gradient(140deg, #eef8ff, #fff); }

.bottom-nav {
  bottom: calc(12px + var(--safe-bottom));
  max-width: 760px;
  border-color: rgba(176,209,245,.52);
  border-radius: 25px;
  padding: 7px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 15px 38px rgba(25,61,106,.16), inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(22px) saturate(160%);
}
.nav-button { border-radius: 18px; padding: 9px 4px 8px; }
.nav-button.active { color: #fff; background: linear-gradient(145deg, #267aff, #489eff); box-shadow: 0 7px 16px rgba(43,124,255,.24); }
.nav-button.active .nav-badge { color: var(--cir-blue); background: #fff; }
.nav-icon { font-size: 19px; }
.nav-label { font-weight: 720; letter-spacing: -.01em; }
.nav-badge { top: -5px; right: calc(50% - 19px); }

[data-scheme="dark"] {
  --cir-surface: #202a38;
  --cir-line: rgba(220,235,255,.11);
  --app-card: #202a38;
}
[data-scheme="dark"] html, [data-scheme="dark"] body { background: radial-gradient(circle at 90% -10%, rgba(49,212,255,.13), transparent 28rem), #151d29; }
[data-scheme="dark"] .quick-card, [data-scheme="dark"] .service-card, [data-scheme="dark"] .account-card, [data-scheme="dark"] .list-card, [data-scheme="dark"] .profile-card, [data-scheme="dark"] .announcement-card, [data-scheme="dark"] .conversation-card, [data-scheme="dark"] .conversation-summary, [data-scheme="dark"] .department-row, [data-scheme="dark"] .contact-row, [data-scheme="dark"] .faq-item { background: rgba(31,42,56,.91); }
[data-scheme="dark"] .quick-icon, [data-scheme="dark"] .service-icon { background: rgba(43,124,255,.16); }
[data-scheme="dark"] .bottom-nav { background: rgba(27,38,52,.86); border-color: rgba(255,255,255,.10); }

@media (max-width: 570px) {
  .page { padding: 13px 13px 24px; }
  .mission-hero { grid-template-columns: 1fr; gap: 15px; min-height: 0; padding: 21px; border-radius: 26px; }
  .hero-balance-card { min-height: 145px; }
  .hero-greeting { margin-top: 15px; }
  .hero-actions { margin-top: 16px; }
  .hero-button { flex: 1; }
  .balance-amount { margin: 9px 0 3px; }
}

@media (min-width: 900px) {
  .app-shell:not(.chat-mode) { padding-left: 122px; }
  .app-shell:not(.chat-mode) .bottom-nav { width: 92px; border-radius: 27px; }
  .app-shell:not(.chat-mode) .nav-button { min-height: 66px; }
  .mission-hero { min-height: 306px; }
}

/* Stable SVG icon system: avoids platform-specific emoji glyphs in Telegram. */
.ui-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}
.quick-icon .ui-icon,
.service-icon .ui-icon,
.account-icon .ui-icon,
.empty-icon .ui-icon,
.conversation-avatar .ui-icon,
.conversation-entry-icon .ui-icon {
  width: 22px;
  height: 22px;
}
.quick-icon .ui-icon,
.service-icon .ui-icon { stroke-width: 1.9; }
.account-icon .ui-icon { width: 24px; height: 24px; }
.empty-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 32px;
  color: var(--cir-blue);
}
.empty-icon .ui-icon { width: 30px; height: 30px; }
.nav-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 20px;
}
.nav-symbol { width: 20px; height: 20px; stroke-width: 1.9; }
.dashboard-entry .ui-icon { width: 18px; height: 18px; margin: auto; }
.account-icon[data-category="fuel"], .binding-category-icon[data-category="fuel"] { color: #d87908; }
.account-icon[data-category="zsd"], .binding-category-icon[data-category="zsd"] { color: #2b7cff; }
.account-icon[data-category="cafe"], .binding-category-icon[data-category="cafe"] { color: #b161d4; }
.account-icon[data-category="parking"], .binding-category-icon[data-category="parking"] { color: #1b9c6b; }
.binding-category-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--cir-blue);
  background: var(--cir-mist);
}
.binding-category-icon .ui-icon { width: 18px; height: 18px; }
.check-row { align-items: center; }
.conversation-avatar { color: var(--cir-blue); }
.chat-header .conversation-avatar { color: #d9f7ff; }
.message-file-icon,
.conversation-entry-icon {
  display: grid;
  place-items: center;
  color: var(--cir-blue);
}
.message-file-icon .ui-icon,
.conversation-entry-icon .ui-icon { width: 20px; height: 20px; }
.composer-button .ui-icon,
.send-button .ui-icon { width: 20px; height: 20px; }
.button-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.button-with-icon .ui-icon { width: 15px; height: 15px; }

@media (prefers-reduced-motion: reduce) {
  .quick-card:hover, .service-card:hover { transform: none; }
}
