/* Расходы: «Сегодня», форма траты, карточка записи, чеки, свои категории (js/screens/today.js, add.js, record.js, expenses-*.js) */
.toast span { white-space: pre-line; }

.ex-title-btn { border: 0; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: 4px; min-width: 0; text-align: left; }
.ex-title-btn .page-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-title-chevron { width: 20px; height: 20px; color: var(--hint); flex: none; margin-top: 4px; }
.ex-day-nav { display: flex; gap: 8px; flex: none; }
.ex-today .page-head { align-items: center; }

.ex-allowance { display: block; width: 100%; border: 0; text-align: left; color: var(--text); }
.ex-allowance:active { background: color-mix(in srgb, var(--surface) 85%, var(--hint)); }
.ex-allowance-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.ex-allowance-value { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.ex-allowance-note { margin-top: 8px; }

.ex-kind { padding-top: 6px; }
.ex-add .amount-input { padding-top: 4px; padding-bottom: 14px; }

.ex-date-row { cursor: pointer; }
.ex-date-input { border: 0; background: transparent; color: var(--accent); font-size: 16px; text-align: right; max-width: 55%; }

.ex-quick-box { padding: 4px 16px; }
.ex-quick-input { width: 100%; border: 0; background: transparent; outline: none; resize: none; padding: 10px 0; font-size: 17px; line-height: 1.4; color: var(--text); }
.ex-note { background: var(--surface); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 15px; }

.ex-voice { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 0 28px; }
.ex-voice-mic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); animation: ex-pulse 1.4s ease-in-out infinite; }
.ex-voice-mic svg { width: 38px; height: 38px; }
.ex-voice-clock { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes ex-pulse { 50% { transform: scale(1.08); } }

.ex-record-hero { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: transparent; color: var(--text); text-align: left; }
.ex-record-amount { flex: 1; min-width: 0; }
.ex-record-edit { width: 20px; height: 20px; color: var(--accent); flex: none; }
.ex-record-hero .avatar { width: 52px; height: 52px; font-size: 28px; }

.ex-wait { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 48px 24px; }
.ex-wait .spinner { width: 40px; height: 40px; }

.ex-emoji-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 8px; }
.ex-emoji { border: 0; background: transparent; font-size: 24px; height: 44px; border-radius: 10px; }
.ex-emoji.on { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.ex-emoji-input { grid-column: span 7; border: 0; border-radius: 10px; height: 44px; text-align: center; font-size: 20px; background: color-mix(in srgb, var(--hint) 12%, transparent); outline: none; }
