:root {
  --ink: #17272a;
  --ink-2: #425154;
  --muted: #7d8988;
  --paper: #f2f3ee;
  --card: #ffffff;
  --line: #dfe3dc;
  --mint: #bdebd7;
  --mint-strong: #7bd2b1;
  --lime: #d6ef80;
  --coral: #ff7d68;
  --blue: #8ec6e8;
  --amber: #f5c76e;
  --red: #e98b82;
  --shadow: 0 18px 55px rgba(23, 39, 42, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 1fr) minmax(420px, 1fr); background: var(--ink); }
.login-brand { padding: 46px; color: white; display: flex; align-items: flex-start; gap: 12px; background: radial-gradient(circle at 30% 45%, rgba(123,210,177,.25), transparent 32%), radial-gradient(circle at 70% 70%, rgba(214,239,128,.16), transparent 28%); }
.login-brand strong, .brand strong { display: block; font-size: 16px; line-height: 1.1; }
.login-brand span, .brand span { display: block; opacity: .58; font-size: 12px; margin-top: 4px; }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--lime); color: var(--ink); font-weight: 800; letter-spacing: -.05em; }
.login-card { align-self: center; justify-self: center; width: min(440px, calc(100% - 48px)); padding: 42px; border-radius: 30px; background: var(--card); box-shadow: var(--shadow); }
.login-card h1 { font-size: clamp(30px, 4vw, 44px); margin: 8px 0 10px; letter-spacing: -.045em; }
.login-card > p { color: var(--muted); line-height: 1.6; margin: 0 0 28px; }
.login-card label, .field { display: grid; gap: 8px; font-size: 12px; font-weight: 700; margin-bottom: 16px; color: var(--ink-2); }
.login-card input, .field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: #fafbf8; border-radius: 13px; padding: 13px 14px; outline: none; color: var(--ink); transition: .2s; }
.login-card input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint-strong); box-shadow: 0 0 0 4px rgba(123,210,177,.14); }
.login-card small { display: block; text-align: center; color: var(--muted); margin-top: 14px; }
.form-error { min-height: 21px; color: #be4f43; font-size: 12px; margin-bottom: 6px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 232px; background: var(--ink); color: #eff8f3; padding: 26px 18px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 7px 28px; }
.nav-list { display: grid; gap: 6px; }
.nav-list button { width: 100%; border: 0; background: transparent; color: #b8c5c2; padding: 12px 13px; border-radius: 13px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 13px; cursor: pointer; text-align: left; transition: .18s; }
.nav-list button > span { font-size: 20px; width: 20px; text-align: center; }
.nav-list button:hover { background: rgba(255,255,255,.06); color: white; }
.nav-list button.active { background: var(--mint); color: var(--ink); }
.badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 10px; }
.badge.coral { background: var(--coral); color: white; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 5px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.profile-chip { min-width: 0; display: flex; align-items: center; gap: 10px; }
.profile-button { border: 0; padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.profile-button:hover strong { color: var(--lime); }
.profile-chip strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.profile-chip span { display: block; font-size: 10px; color: #93a3a0; margin-top: 2px; }
.avatar { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.11); font-size: 12px; font-weight: 800; }
.ghost-button { border: 0; background: transparent; color: #9aaba7; font-size: 21px; cursor: pointer; }

.main-content { margin-left: 232px; min-height: 100vh; padding: 0 34px 50px; }
.topbar { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: sticky; top: 0; background: rgba(242,243,238,.9); backdrop-filter: blur(16px); z-index: 10; border-bottom: 1px solid rgba(223,227,220,.75); }
.topbar h1 { margin: 5px 0 0; font-size: 29px; letter-spacing: -.035em; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.search-box { width: min(320px, 28vw); background: white; border: 1px solid var(--line); border-radius: 14px; padding: 0 13px; display: flex; align-items: center; gap: 9px; color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; padding: 11px 0; font-size: 12px; }
.button { border: 0; border-radius: 13px; padding: 11px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 12px; cursor: pointer; transition: transform .15s, filter .15s; }
.button:hover { filter: brightness(.97); transform: translateY(-1px); }
.button.primary { background: var(--ink); color: white; }
.button.mint { background: var(--mint); color: var(--ink); }
.button.soft { background: #edf0eb; color: var(--ink); }
.button.danger { background: #ffebe8; color: #a44136; }
.button.wide { width: 100%; padding: 14px; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.view { display: none; padding-top: 26px; }
.view.active { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; min-height: 128px; position: relative; overflow: hidden; }
.stat-card.highlight { background: var(--ink); color: white; border-color: var(--ink); }
.stat-card .stat-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #eff3ed; margin-bottom: 14px; }
.stat-card.highlight .stat-icon { background: var(--lime); color: var(--ink); }
.stat-card .value { display: block; font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.stat-card .label { display: block; font-size: 11px; margin-top: 7px; color: var(--muted); }
.stat-card.highlight .label { color: #b6c5c1; }
.stat-card .spark { position: absolute; right: 14px; bottom: 15px; font-size: 10px; color: #4f9d7e; background: #e9f7ef; border-radius: 99px; padding: 4px 7px; font-weight: 700; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .75fr); gap: 18px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-header { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.panel-header h2 { font-size: 15px; margin: 0; letter-spacing: -.015em; }
.panel-header p { font-size: 11px; color: var(--muted); margin: 3px 0 0; }
.text-button { background: transparent; border: 0; color: #43826b; font-size: 11px; font-weight: 800; cursor: pointer; }
.lead-list { display: grid; }
.lead-row { padding: 15px 20px; border-bottom: 1px solid #edf0eb; display: grid; grid-template-columns: minmax(170px, 1.15fr) minmax(140px, 1fr) 110px 110px 32px; gap: 14px; align-items: center; cursor: pointer; transition: background .15s; }
.lead-row:last-child { border-bottom: 0; }
.lead-row:hover { background: #fafbf8; }
.lead-person { display: flex; align-items: center; min-width: 0; gap: 11px; }
.lead-person .avatar { background: #e4f3eb; color: #34755d; }
.lead-person strong, .lead-cell strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-person span, .lead-cell span { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.source-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; background: var(--blue); }
.source-dot.telegram { background: #3aaee8; }
.source-dot.max { background: #7d66e8; }
.stage-pill { width: fit-content; padding: 6px 9px; border-radius: 9px; background: #edf0eb; font-size: 10px; font-weight: 800; white-space: nowrap; }
.stage-pill[data-stage="Новая"] { background: #e7f3f9; color: #347395; }
.stage-pill[data-stage="В работе"] { background: #ecf7f1; color: #34795f; }
.stage-pill[data-stage="Расчёт"] { background: #fff3d9; color: #886625; }
.stage-pill[data-stage="Договор"] { background: #f0e9fa; color: #72559c; }
.stage-pill[data-stage="Продано"] { background: #e4f4bf; color: #50721b; }
.stage-pill[data-stage="Отказ"] { background: #fae8e5; color: #9f5148; }
.unread-dot { min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--coral); color: white; font-size: 9px; font-weight: 800; }
.overview-list { padding: 8px 20px 18px; }
.overview-row { display: grid; grid-template-columns: 85px 1fr 28px; gap: 9px; align-items: center; padding: 10px 0; }
.overview-row span { font-size: 10px; color: var(--ink-2); }
.overview-row b { font-size: 11px; text-align: right; }
.progress-track { height: 7px; background: #edf0eb; border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--mint-strong); }

.pipeline-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: white; border-radius: 99px; padding: 7px 11px; font-size: 10px; font-weight: 700; cursor: pointer; }
.chip.active { background: var(--ink); border-color: var(--ink); color: white; }
.pipeline-board { display: grid; grid-template-columns: repeat(6, minmax(230px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.pipeline-column { background: #e9ece6; border-radius: 18px; padding: 10px; min-height: 510px; scroll-snap-align: start; }
.column-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 13px; }
.column-head strong { font-size: 11px; }
.column-head span { width: 23px; height: 23px; border-radius: 8px; background: white; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: var(--muted); }
.column-cards { display: grid; gap: 9px; }
.lead-card { background: white; border: 1px solid #dde2da; border-radius: 15px; padding: 13px; cursor: pointer; box-shadow: 0 5px 16px rgba(23,39,42,.035); transition: .17s; }
.lead-card:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(23,39,42,.08); }
.lead-card.dragging { opacity: .45; }
.pipeline-column.drag-over { background: #deeee6; outline: 2px dashed var(--mint-strong); }
.lead-card-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.lead-card h3 { font-size: 12px; margin: 0; }
.lead-card .vehicle { font-size: 10px; color: var(--muted); margin: 5px 0 12px; min-height: 28px; }
.lead-card .last-message { font-size: 10px; background: #f5f6f2; color: var(--ink-2); padding: 8px; border-radius: 9px; margin-bottom: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-card-foot { display: flex; justify-content: space-between; align-items: center; }
.lead-card-foot span { font-size: 9px; color: var(--muted); }
.mini-avatar { width: 25px; height: 25px; border-radius: 9px; background: var(--mint); display: grid; place-items: center; font-size: 9px; font-weight: 800; }

.inbox-shell { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); min-height: calc(100vh - 168px); background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.conversation-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: calc(100vh - 168px); }
.conversation-list .panel-header { position: sticky; top: 0; background: white; z-index: 2; }
.conversation-item { width: 100%; border: 0; border-bottom: 1px solid #edf0eb; background: white; padding: 15px 17px; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; text-align: left; cursor: pointer; }
.conversation-item:hover, .conversation-item.active { background: #f3f8f4; }
.conversation-item .avatar { background: #e6f2ec; }
.conversation-body { min-width: 0; }
.conversation-body strong { display: block; font-size: 11px; }
.conversation-body span { display: block; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 5px; }
.conversation-meta { display: grid; justify-items: end; gap: 5px; font-size: 9px; color: var(--muted); }
.chat-pane { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.chat-header { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.chat-header strong { display: block; font-size: 12px; }
.chat-header span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.chat-messages { padding: 20px; overflow-y: auto; background: #f8f9f5; display: flex; flex-direction: column; gap: 9px; max-height: calc(100vh - 292px); }
.bubble { max-width: 72%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: white; border: 1px solid var(--line); align-self: flex-start; font-size: 11px; line-height: 1.55; }
.bubble.out { background: var(--mint); border-color: #aadbc7; border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.bubble small { display: block; font-size: 8px; color: var(--muted); margin-top: 5px; text-align: right; }
.composer { padding: 13px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; gap: 9px; }
.composer textarea { flex: 1; resize: none; min-height: 42px; max-height: 110px; border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; outline: none; }

.analytics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.chart-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.chart-card h2 { font-size: 14px; margin: 0 0 4px; }
.chart-card > p { font-size: 10px; color: var(--muted); margin: 0 0 22px; }
.bar-list { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 30px; gap: 10px; align-items: center; }
.bar-row span, .bar-row b { font-size: 10px; }
.bar-row b { text-align: right; }
.chart-bars { min-height: 230px; display: flex; align-items: flex-end; justify-content: space-around; gap: 12px; padding-top: 18px; border-bottom: 1px solid var(--line); }
.chart-bar { width: min(52px, 12%); min-height: 6px; background: var(--mint-strong); border-radius: 10px 10px 0 0; position: relative; transition: height .4s; }
.chart-bar b { position: absolute; top: -21px; left: 50%; transform: translateX(-50%); font-size: 10px; }
.chart-bar span { position: absolute; bottom: -27px; left: 50%; transform: translateX(-50%); font-size: 8px; white-space: nowrap; color: var(--muted); }

.integrations-intro { display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--ink); color: white; border-radius: var(--radius); padding: 23px; margin-bottom: 18px; }
.integrations-intro h2 { margin: 0 0 6px; font-size: 18px; }
.integrations-intro p { margin: 0; color: #adbfba; font-size: 11px; line-height: 1.6; max-width: 620px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.channel-card { background: white; border: 1px solid var(--line); border-radius: 19px; padding: 19px; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; }
.channel-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #eef2ed; font-weight: 800; font-size: 12px; }
.channel-card h3 { font-size: 13px; margin: 0; }
.channel-card p { font-size: 10px; color: var(--muted); margin: 5px 0 0; line-height: 1.45; }
.status-label { border-radius: 99px; padding: 6px 9px; background: #f3eee2; color: #806b3c; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-label.ready { background: #e5f5ec; color: #39765e; }
.setup-note { margin-top: 17px; padding: 17px 19px; border-radius: 17px; border: 1px dashed #b9c6bd; color: var(--ink-2); font-size: 11px; line-height: 1.65; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(12, 25, 27, .46); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.modal { width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: white; border-radius: 25px; box-shadow: 0 30px 80px rgba(9,22,24,.25); }
.modal-head { padding: 20px 23px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; position: sticky; top: 0; background: white; z-index: 2; }
.modal-head h2 { font-size: 18px; margin: 2px 0 0; }
.close-button { border: 0; background: #eef1ec; width: 34px; height: 34px; border-radius: 11px; cursor: pointer; font-size: 18px; }
.modal-body { padding: 21px 23px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field textarea { min-height: 90px; resize: vertical; }
.modal-actions { border-top: 1px solid var(--line); padding: 15px 23px; display: flex; justify-content: space-between; gap: 10px; position: sticky; bottom: 0; background: white; }
.modal-actions > div { display: flex; gap: 8px; }
.detail-tabs { display: flex; gap: 8px; margin: 5px 0 17px; }
.note-list { display: grid; gap: 9px; margin-top: 12px; }
.note { background: #f5f6f2; border-radius: 12px; padding: 11px; font-size: 11px; line-height: 1.5; }
.note small { display: block; color: var(--muted); margin-top: 5px; }
.note-compose { display: flex; gap: 8px; }
.note-compose input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; outline: none; }

.empty-state { padding: 55px 20px; text-align: center; color: var(--muted); }
.empty-state > div { font-size: 34px; }
.empty-state h3 { color: var(--ink); font-size: 13px; margin: 9px 0 4px; }
.empty-state p { font-size: 10px; margin: 0; }
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 9px; }
.toast { min-width: 250px; max-width: 360px; color: white; background: var(--ink); padding: 13px 15px; border-radius: 13px; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .25s ease; }
.toast.error { background: #a34e44; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }
.mobile-nav { display: none; }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .overview-panel { order: -1; }
  .overview-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
  .lead-row { grid-template-columns: minmax(160px, 1.15fr) minmax(120px, 1fr) 100px 32px; }
  .lead-row .lead-budget { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .login-screen { display: block; padding: 24px 0; background: var(--paper); }
  .login-brand { background: transparent; color: var(--ink); padding: 8px 24px 30px; }
  .login-card { padding: 26px 22px; width: calc(100% - 28px); }
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 0 14px 24px; }
  .topbar { min-height: 91px; align-items: center; }
  .topbar h1 { font-size: 24px; }
  .topbar .eyebrow { display: none; }
  .search-box { display: none; }
  #new-lead-button { width: 42px; height: 42px; padding: 0; border-radius: 14px; }
  #new-lead-button span:last-child { display: none; }
  .view { padding-top: 15px; }
  .stats-grid { gap: 9px; margin-bottom: 12px; }
  .stat-card { min-height: 112px; padding: 14px; border-radius: 17px; }
  .stat-card .stat-icon { width: 29px; height: 29px; margin-bottom: 12px; }
  .stat-card .value { font-size: 23px; }
  .panel { border-radius: 17px; }
  .panel-header { padding: 15px; }
  .content-grid { gap: 11px; }
  .overview-list { grid-template-columns: 1fr; padding: 5px 15px 14px; }
  .lead-row { padding: 13px 15px; grid-template-columns: 1fr auto; gap: 8px; }
  .lead-row .lead-cell, .lead-row .stage-pill { display: none; }
  .pipeline-board { margin-right: -14px; padding-right: 14px; grid-template-columns: repeat(6, 82vw); }
  .pipeline-column { min-height: 430px; }
  .pipeline-toolbar { align-items: flex-start; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .inbox-shell { min-height: calc(100vh - 180px); display: block; border-radius: 17px; }
  .conversation-list { max-height: calc(100vh - 180px); border-right: 0; }
  .chat-pane { position: fixed; inset: 0; z-index: 90; background: white; padding-bottom: env(safe-area-inset-bottom); }
  .chat-pane.mobile-hidden { display: none; }
  .chat-messages { max-height: none; }
  .chat-header::before { content: '‹'; font-size: 28px; cursor: pointer; margin-right: 10px; }
  .chat-header { justify-content: flex-start; }
  .chat-header .button { margin-left: auto; }
  .analytics-grid, .channel-grid { grid-template-columns: 1fr; }
  .integrations-intro { display: block; border-radius: 17px; }
  .channel-card { grid-template-columns: 42px 1fr; }
  .channel-card .status-label { grid-column: 2; justify-self: start; }
  .modal-backdrop { padding: 0; place-items: end center; }
  .modal { max-height: 94vh; border-radius: 24px 24px 0 0; }
  .modal-body { padding: 18px 17px; }
  .modal-head { padding: 18px 17px; }
  .modal-actions { padding: 13px 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); z-index: 60; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 25px rgba(23,39,42,.06); }
  .mobile-nav button { border: 0; background: transparent; display: grid; place-items: center; align-content: center; gap: 1px; color: var(--muted); }
  .mobile-nav button span { font-size: 20px; }
  .mobile-nav button small { font-size: 8px; font-weight: 700; }
  .mobile-nav button.active { color: var(--ink); }
  .mobile-nav .mobile-add { width: 47px; height: 47px; align-self: center; justify-self: center; border-radius: 16px; background: var(--ink); color: white; }
  .toast-stack { right: 12px; left: 12px; bottom: 78px; }
  .toast { min-width: 0; max-width: none; }
}
