:root {
  color-scheme: light;
  --paper: #f3f6fd;
  --panel: #ffffff;
  --rail: #edf2fc;
  --ink: #172543;
  --muted: #52617d;
  --border: #dae3f2;
  --hint: #e7efff;
  --brand: #2252b9;
  --accent: #2356cb;
  --accent-hover: #1942a5;
  --on-accent: #ffffff;
  --focus: #4071ce;
  --hover-edge: #a0bae7;
  --green: #16634c;
  --out: #9b432e;
  --hero: #173773;
  --hero-glow: #3066cc;
  --soft-blue: #edf3ff;
  --soft-green: #e8f1e3;
  --soft-orange: #faeee5;
  --shadow: 0 16px 44px rgb(23 47 96 / 16%);
  --normal-size: 15px;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #101829;
  --panel: #18233a;
  --rail: #121d34;
  --ink: #edf3ff;
  --muted: #b0bfd9;
  --border: #31415f;
  --hint: #253961;
  --brand: #a5c5ff;
  --accent: #9bbcfd;
  --accent-hover: #bed4ff;
  --on-accent: #0e2554;
  --focus: #8db6ff;
  --hover-edge: #688ed1;
  --green: #9cdbbd;
  --out: #ffb49d;
  --hero: #192f63;
  --hero-glow: #284f9d;
  --soft-blue: #213354;
  --soft-green: #294133;
  --soft-orange: #433027;
  --shadow: 0 16px 44px rgb(0 0 0 / 26%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; font-size: var(--normal-size); line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .56; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a { color: var(--brand); }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, strong { font-weight: 690; }
h1 { font-size: clamp(31px, 4.5vw, 53px); letter-spacing: -.072em; line-height: 1.04; }
h2 { font-size: clamp(18px, 2vw, 21px); letter-spacing: -.035em; line-height: 1.2; }
h3 { font-size: 16px; letter-spacing: -.018em; }
small, .small { font-size: 13px; }
.muted { color: var(--muted); }
.skip { position: fixed; top: -100px; z-index: 20; padding: 10px; background: var(--panel); }
.skip:focus { top: 0; }
.mono { font-variant-numeric: tabular-nums; }
.ico { display: inline-block; background: currentColor; mask: var(--ico) center / contain no-repeat; width: 21px; height: 21px; flex: 0 0 auto; vertical-align: middle; }
.ico-home { --ico: url('./icons/home.png'); }
.ico-history { --ico: url('./icons/history.png'); }
.ico-chat { --ico: url('./icons/chat.png'); }
.ico-wallet { --ico: url('./icons/wallet.png'); }
.ico-chart { --ico: url('./icons/chart.png'); }
.ico-budget { --ico: url('./icons/budget.png'); }
.ico-more { --ico: url('./icons/more.png'); }
.ico-settings { --ico: url('./icons/settings.png'); }
.ico-plus { --ico: url('./icons/plus.png'); }
.ico-scan { --ico: url('./icons/scan.png'); }
.ico-up { --ico: url('./icons/up.png'); }
.ico-down { --ico: url('./icons/down.png'); }
.ico-left { --ico: url('./icons/left.png'); }
.ico-right { --ico: url('./icons/right.png'); }
.ico-swap { --ico: url('./icons/swap.png'); }
.ico-close { --ico: url('./icons/close.png'); }
.ico-cloud { --ico: url('./icons/cloud.png'); }
.ico-download { --ico: url('./icons/download.png'); }
.ico-edit { --ico: url('./icons/edit.png'); }
.ico-clock { --ico: url('./icons/clock.png'); }
.ico-search { --ico: url('./icons/search.png'); }
.ico-device { --ico: url('./icons/device.png'); }
.ico-sun { --ico: url('./icons/sun.png'); }
.ico-moon { --ico: url('./icons/moon.png'); }
.shell { display: grid; min-height: 100dvh; grid-template-columns: 213px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; overflow-y: auto; padding: 29px 15px 20px; background: var(--rail); border-right: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 0; width: max-content; color: var(--ink); text-align: left; }
.brand img { display: block; width: 38px; height: 38px; }
.brand strong { font-size: 20px; letter-spacing: -.07em; }
.sidebar > .brand { margin: 0 0 34px 10px; }
.rail-nav { display: grid; gap: 22px; }
.rail-group { display: grid; gap: 4px; }
.rail-label { padding: 0 12px 3px; color: var(--muted); font-size: 11px; font-weight: 660; letter-spacing: .065em; text-transform: uppercase; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; min-height: 46px; text-align: left; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 610; }
.nav-link:hover { color: var(--ink); border-color: var(--border); }
.nav-link[aria-current='page'] { background: var(--hint); border-color: var(--border); color: var(--brand); }
.rail-footer { margin-top: auto; padding-top: 18px; }
.storage-label { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--border); padding: 15px 8px 0; margin: 13px 4px 0; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 30px; height: 77px; border-bottom: 1px solid var(--border); }
.top-location { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.top-location .ico { width: 17px; height: 17px; }
.top-mobile-brand, .top-actions .top-scan, .mobile-navigation { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; }
#main { padding: 32px 30px 44px; width: 100%; max-width: 1310px; margin: 0 auto; }
.loading { color: var(--muted); }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding-bottom: 22px; }
.page-head > div:first-child { min-width: 0; }
.page-head p { margin-top: 8px; color: var(--muted); }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 21px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.panel-head p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.dashboard-top { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 15px; }
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 218px; background: radial-gradient(100% 165% at 98% 0, var(--hero-glow), transparent 75%), var(--hero); color: #f4f7ff; border-radius: 20px; padding: 23px; isolation: isolate; }
.hero p { color: #e2edff; }
.hero .sum { font-size: clamp(30px, 4.1vw, 56px); line-height: 1.13; letter-spacing: -.065em; font-weight: 690; color: #fff; overflow-wrap: anywhere; margin: 8px 0 16px; }
.hero-decoration { position: absolute; width: min(58%, 267px); aspect-ratio: 1; border: 1px solid rgb(189 224 255 / 44%); outline: 1px solid rgb(189 224 255 / 25%); outline-offset: 16px; right: -14%; top: 16%; z-index: -1; border-radius: 27%; transform: rotate(-25deg); }
.hero-decoration::before, .hero-decoration::after { content: ''; position: absolute; border: 1px solid rgb(189 224 255 / 30%); inset: 16px; border-radius: 27%; }
.hero-decoration::after { inset: 34px; }
.hero .hero-link { display: inline-flex; align-self: start; align-items: center; gap: 7px; margin-top: auto; color: #e4edff; border: 1px solid rgb(215 233 255 / 44%); border-radius: 9px; background: rgb(11 33 82 / 43%); padding: 7px 11px; font-weight: 620; }
.hero .hero-link:hover { background: rgb(207 225 255 / 19%); }
.hero .hero-link:focus-visible { outline-color: #cfddff; }
.hero-link .ico { width: 15px; height: 15px; }
.month-control { display: inline-flex; align-items: center; justify-content: space-between; gap: 2px; background: var(--panel); border: 1px solid var(--border); border-radius: 11px; color: var(--ink); white-space: nowrap; }
.month-control b { min-width: 123px; padding: 0 4px; text-align: center; font-size: 13px; font-weight: 620; }
.month-control button { min-width: 36px; border: 0; height: 36px; background: transparent; color: var(--muted); border-radius: 9px; }
.month-control button:hover:not(:disabled) { background: var(--hint); color: var(--ink); }
.month-control .ico { width: 17px; height: 17px; }
.cashflow { display: grid; align-content: start; gap: 12px; }
.cashRow { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.cashRow strong { font-size: 16px; overflow-wrap: anywhere; text-align: right; }
.bubble { width: 35px; height: 35px; display: inline-grid; place-items: center; border-radius: 11px; color: var(--brand); background: var(--soft-blue); flex: 0 0 auto; }
.bubble .ico { width: 19px; height: 19px; }
.cashRow .bubble { width: 31px; height: 31px; border-radius: 9px; }
.bubble.in { background: var(--soft-green); }
.out, .expense { color: var(--out); }
.in, .income { color: var(--green); }
.bubble.out { background: var(--soft-orange); }
.cash-meter { height: 8px; background: var(--rail); border-radius: 10px; overflow: hidden; display: flex; margin-top: 2px; }
.cash-meter > span { display: block; height: 100%; }
.cash-meter .earned { background: #68a77b; }
.cash-meter .spent { background: #da9878; }
.cash-difference { margin-top: 1px; color: var(--muted); font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 15px 0; }
.quick { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; min-height: 70px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); }
.quick:hover, .wallet-row:hover, .entry-row:hover, .menu-row:hover { border-color: var(--hover-edge); background: var(--hint); }
.quick > span:nth-child(2) { flex: 1; min-width: 0; }
.quick .ico-right { width: 14px; height: 14px; color: var(--muted); }
.quick small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.quick strong { display: block; color: var(--ink); font-size: 14px; }
.quick.primary { background: var(--soft-blue); }
.quick.primary:hover { background: var(--hint); }
.quick.primary .bubble { background: var(--accent); color: var(--on-accent); }
.dashboard-lists { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 15px; }
.rows { display: grid; gap: 3px; }
.entry-row, .wallet-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid transparent; background: transparent; border-radius: 11px; color: var(--ink); text-align: left; padding: 8px 4px; min-height: 55px; }
.entry-row .bubble, .wallet-row .bubble { width: 35px; height: 35px; border-radius: 10px; }
.entry-main { flex: 1; min-width: 0; }
.entry-main strong, .entry-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-main strong { font-size: 14px; }
.entry-main small { color: var(--muted); margin-top: 2px; }
.entry-amount { text-align: right; font-weight: 670; overflow-wrap: anywhere; font-size: 14px; max-width: 45%; }
.row-line { border-top: 1px solid var(--border); margin: 7px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--panel); color: var(--ink); padding: 9px 13px; min-height: 42px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-weight: 640; line-height: 1.35; }
.btn .ico { width: 18px; height: 18px; }
.btn:hover:not(:disabled) { border-color: var(--hover-edge); background: var(--hint); }
.btn-primary { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-danger { color: var(--out); }
.btn-icon { min-width: 42px; padding: 8px; }
.btn-text { padding: 4px; min-height: 35px; border: 0; border-radius: 8px; background: transparent; color: var(--brand); white-space: nowrap; font-size: 13px; }
.empty { display: grid; gap: 7px; padding: 18px 12px; background: var(--paper); border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); text-align: center; justify-items: center; }
.empty strong { color: var(--ink); }
.empty .ico { color: var(--brand); }
.sample-banner { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--hint); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px; }
.filters { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(100px, 1fr)); gap: 9px; margin-bottom: 16px; }
.field { display: grid; gap: 5px; min-width: 0; font-size: 13px; color: var(--muted); font-weight: 630; }
.field input, .field textarea, .field select { padding: 9px 11px; min-width: 0; width: 100%; background: var(--paper); border: 1px solid var(--border); border-radius: 9px; color: var(--ink); font-weight: 490; font-size: 16px; min-height: 44px; }
.field textarea { resize: vertical; min-height: 87px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
input[type='date'], input[type='month'] { appearance: none; -webkit-appearance: none; }
.list-day { color: var(--muted); font-size: 12px; margin: 9px 0 1px 4px; font-weight: 650; }
.history-footer { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 0; gap: 10px; }
.wallet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.wallet-card { position: relative; display: grid; gap: 7px; text-align: left; color: var(--ink); min-height: 151px; border-top: 4px solid var(--wallet-color); }
.wallet-card:hover { border-bottom-color: var(--brand); }
.wallet-card .entry-amount { max-width: none; text-align: left; font-size: clamp(23px, 4vw, 35px); letter-spacing: -.045em; line-height: 1.2; }
.wallet-card .ico-edit { position: absolute; top: 17px; right: 16px; color: var(--muted); }
.chat-panel { max-width: 820px; padding: 0; overflow: hidden; }
.chat-stream { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; min-height: 250px; max-height: min(54dvh, 470px); padding: 18px; }
.message { max-width: 88%; width: fit-content; min-width: 0; padding: 10px 13px; border-radius: 13px; background: var(--paper); color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.message.user { margin-left: auto; background: var(--soft-blue); border-bottom-right-radius: 4px; }
.message.reply { border-bottom-left-radius: 4px; }
.message .draft-box { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 8px 0 1px; white-space: normal; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 5px; border-top: 1px solid var(--border); padding: 12px 14px 0; }
.chat-chips .btn { font-size: 12px; min-height: 33px; font-weight: 520; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; padding: 12px 14px 14px; }
.chat-compose input { height: 44px; }
.chat-compose .btn { min-height: 44px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 15px; }
.report-grid .span { grid-column: 1 / -1; }
.indicators { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.indicators span { padding: 4px 8px; font-size: 12px; border-radius: 5px; font-weight: 600; }
.indicators .in { background: var(--soft-green); }
.indicators .out { background: var(--soft-orange); }
.trend-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.trend-bars .month { text-align: center; font-size: 12px; color: var(--muted); }
.trend-bars .bar-group { height: 112px; border-bottom: 1px solid var(--border); display: flex; gap: 3px; justify-content: center; align-items: end; padding-bottom: 0; }
.trend-bars .bar { height: calc(var(--size) * 1%); width: min(18px, 37%); border-radius: 5px 5px 0 0; background: #68a77b; }
.trend-bars .bar.spent { background: #da9878; }
.trend-bars span:last-child { display: inline-block; margin-top: 6px; }
.category-row { display: grid; gap: 5px; padding: 7px 0; }
.category-row .category-label { display: flex; justify-content: space-between; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.meter { height: 7px; border-radius: 7px; overflow: hidden; background: var(--rail); }
.meter span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.meter.limit span { background: #d98568; }
.budget-row { border: 1px solid var(--border); padding: 12px; margin-top: 7px; border-radius: 11px; }
.budget-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.budget-row p { margin: 7px 0; }
.budget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.budget-panel .budget-row { margin-top: 0; }
.budget-panel .panel-head { flex-wrap: wrap; }
.more-panel { max-width: 650px; display: grid; gap: 6px; padding: 13px; }
.menu-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; width: 100%; min-height: 62px; padding: 9px 10px; text-align: left; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.menu-row .ico-right { width: 17px; height: 17px; color: var(--muted); }
.menu-row strong, .menu-row small { display: block; }
.menu-row small { color: var(--muted); overflow-wrap: anywhere; }
.capture-menu { display: grid; gap: 8px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .87fr); align-items: start; gap: 15px; }
.settings-grid section { display: grid; gap: 13px; }
.settings-grid .panel-head { margin-bottom: 0; }
.settings-stack { display: grid; gap: 15px; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.cloud-summary { padding: 10px 12px; border-radius: 10px; background: var(--paper); color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.cloud-form { display: grid; gap: 9px; }
.cloud-form details { font-size: 13px; }
.cloud-form summary { padding: 7px 0; color: var(--brand); cursor: pointer; font-weight: 650; }
.dialog-error { font-size: 13px; color: var(--out); white-space: pre-line; }
.form-note { padding: 8px 10px; background: var(--hint); color: var(--ink); font-size: 13px; border-radius: 9px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; }
dialog { width: min(94vw, 490px); max-height: 92dvh; border: 1px solid var(--border); border-radius: 20px; background: var(--panel); color: var(--ink); padding: 17px 19px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(12 25 57 / 56%); }
.dialog-form { display: grid; gap: 11px; }
.fields-two { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dialog-actions { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.dialog-actions .btn-danger { margin-right: auto; }
.scan-photo { display: block; width: 100%; max-height: 156px; object-fit: contain; background: var(--paper); border: 1px solid var(--border); border-radius: 9px; }
.scan-status { min-height: 24px; font-size: 13px; color: var(--muted); }
.scan-status progress { width: 100%; height: 8px; accent-color: var(--accent); }
.toast { position: fixed; z-index: 10; bottom: 16px; right: 16px; color: #f3f7ff; background: #213d79; border: 1px solid #536eaa; border-radius: 12px; padding: 10px 14px; max-width: min(390px, calc(100vw - 32px)); box-shadow: var(--shadow); }
.toast.error { background: #65382b; border-color: #9e5a47; }
@media (min-width: 1520px) {
  .topbar { padding-inline: 42px; }
  #main { padding-inline: 42px; }
}
@media (max-width: 1050px) {
  .shell { grid-template-columns: 174px minmax(0, 1fr); }
  .sidebar { padding-inline: 11px; }
  #main, .topbar { padding-left: 22px; padding-right: 22px; }
  .quick .ico-right { display: none; }
  .panel { padding: 17px; }
  .chat-panel { padding: 0; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar, .top-location, .top-actions .top-capture { display: none; }
  .top-mobile-brand, .top-actions .top-scan { display: inline-flex; }
  .topbar { padding: calc(11px + env(safe-area-inset-top)) max(15px, env(safe-area-inset-right)) 10px max(15px, env(safe-area-inset-left)); height: auto; min-height: 62px; }
  .topbar .brand img { width: 34px; height: 34px; }
  .topbar .brand strong { font-size: 18px; }
  #main { padding: 19px max(14px, env(safe-area-inset-right)) calc(86px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
  .page-head { padding-bottom: 16px; align-items: center; flex-wrap: wrap; }
  .page-head p { margin-top: 5px; font-size: 13px; }
  .dashboard-top, .dashboard-lists, .report-grid, .settings-grid { grid-template-columns: 1fr; gap: 11px; }
  .hero { min-height: 165px; padding: 19px; }
  .hero .sum { font-size: clamp(33px, 9.4vw, 48px); margin: 5px 0 13px; }
  .hero-decoration { right: -3%; top: 4%; }
  .mobile-navigation { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; bottom: 0; z-index: 4; width: 100%; background: var(--panel); border-top: 1px solid var(--border); padding: 5px max(4px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)); }
  .mobile-navigation .nav-link { display: grid; justify-items: center; align-content: center; text-align: center; gap: 3px; font-size: 11px; padding: 7px 1px; }
  .mobile-navigation .nav-link[aria-current='page'] { background: var(--hint); border-color: transparent; }
  .mobile-navigation .nav-link .ico { width: 20px; height: 20px; }
  .mobile-navigation .mobile-capture { padding-block: 1px; color: var(--brand); }
  .capture-icon { display: inline-grid; place-items: center; width: 37px; height: 34px; border-radius: 11px; background: var(--accent); color: var(--on-accent); }
  dialog[data-variant='capture'] { inset: auto 0 0; width: 100%; max-width: none; margin: 0; border-radius: 20px 20px 0 0; padding: 16px max(17px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(17px, env(safe-area-inset-left)); }
  .toast { bottom: calc(69px + env(safe-area-inset-bottom)); }
  .quick-grid { gap: 7px; margin: 11px 0; }
  .quick { gap: 6px; min-height: 63px; padding: 7px; }
  .quick small { display: none; }
  .quick strong { font-size: 12px; line-height: 1.25; }
  .quick .bubble { width: 25px; height: 25px; border-radius: 8px; }
  .quick .bubble .ico { width: 16px; height: 16px; }
  .chat-stream { max-height: 47dvh; min-height: 180px; padding: 11px; }
  .panel { border-radius: 16px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 355px) {
  .quick { flex-direction: column; text-align: center; }
  .quick-grid .bubble { align-self: center; }
  .fields-two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
