/* ================= Страницы кабинета в стиле Podium ================= */

/* шапка экрана: заголовок-капитель слева, действия справа */
.screen-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.screen-row h1 { margin: 0; }
.screen-actions { display: flex; gap: 8px; align-items: center; }

/* сегмент-переключатель (периоды, фильтры) */
.pseg { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.pseg button { border: 0; background: transparent; color: var(--muted-2); font: inherit; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.pseg button:hover { color: var(--text); }
.pseg button.on { background: var(--panel-2); color: var(--text); box-shadow: 0 0 0 1px var(--border) inset; }

/* ---------- Дашборд ---------- */
.neon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.neon { background: var(--bg); padding: 22px 24px 20px; min-width: 0; }
.neon .lbl { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 12px; }
.neon .val { font-family: var(--ff-num); font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.neon .val small { font-size: 16px; color: var(--muted-2); font-weight: 500; }
.neon.hot .val { color: var(--accent); text-shadow: 0 0 26px var(--accent-glow); }
.neon .sub { margin-top: 11px; font-size: 12.5px; color: var(--muted); }
.neon .fiat { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.grid-2 { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; margin-bottom: 22px; }
.panel { background: var(--panel); border: 1px solid var(--border-soft); border-radius: 16px; padding: 22px 24px; min-width: 0; }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.panel-h h2 { font-size: 16px; font-weight: 600; margin: 0; }
.panel-h .sub { font-size: 12px; color: var(--muted-2); }
.big-num { font-family: var(--ff-num); font-size: 40px; font-weight: 600; letter-spacing: -.025em; margin: 14px 0 2px; }
.big-num .cur { color: var(--accent); text-shadow: 0 0 30px var(--accent-glow); }
.big-num small { font-size: 20px; color: var(--muted-2); font-weight: 500; }
.area-chart { display: block; width: 100%; height: 160px; margin-top: 8px; overflow: visible; }
.area-chart .grid { stroke: var(--border-soft); stroke-width: 1; }
.area-chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--accent-glow)); }
.chart-plot { position: relative; }
.chart-plot .hit-row { position: absolute; inset: 0; cursor: crosshair; }
.chart-plot .hair { position: absolute; top: 8%; bottom: 0; width: 1px; background: var(--border); pointer-events: none; }
.chart-plot .dot-pt { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); pointer-events: none; }
.chart-plot .tip { position: absolute; top: -6px; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 4px 9px; font-size: 12px; white-space: nowrap; pointer-events: none; }
.x-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted-2); font-family: var(--ff-num); }
.kv { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-family: var(--ff-num); font-weight: 600; font-size: 16px; }
.dash-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dash-tbl th { padding: 2px 16px 12px; border-bottom: 0; }
.dash-tbl td { padding: 13px 16px; border-top: 1px solid var(--border-soft); border-bottom: 0; font-variant-numeric: tabular-nums; }
.dash-tbl tr:hover td { background: rgba(42, 171, 238, .04); }
.dash-tbl .r { text-align: right; }
.tbl-av { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who .nm { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who .sb { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; background: rgba(235, 177, 74, .08); border: 1px solid rgba(235, 177, 74, .3); color: #f0c878; margin-bottom: 10px; }
.callout a { color: #f6d58f; font-weight: 600; }

/* ---------- Аккаунты ---------- */
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.acc-stat { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--muted-2); border-radius: 14px; padding: 13px 18px; cursor: pointer; text-align: left; font: inherit; color: var(--text); }
.acc-stat:hover { background: var(--panel-2); }
.acc-stat.sel { background: rgba(42, 171, 238, .06); box-shadow: 0 0 0 1px var(--accent-glow) inset; }
.acc-stat .num { font-family: var(--ff-num); font-size: 27px; font-weight: 600; line-height: 1; }
.acc-stat .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 5px; }
.acc-stat.ok { border-left-color: var(--ok); }
.acc-stat.ok .num { color: var(--ok); }
.acc-stat.warn { border-left-color: var(--warn); }
.acc-stat.warn .num { color: var(--warn); }
.acc-stat.off .num { color: var(--muted-2); }
.actionrow { display: flex; gap: 10px; margin-bottom: 14px; align-items: center; }
.actionrow input { max-width: 360px; background: var(--panel); }
.tbl-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: auto; }
.tbl-card thead tr { background: rgba(255, 255, 255, .02); }
.tbl-card td select { background: var(--bg); height: 34px; padding: 0 10px; }
.mono-id { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--muted-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill .d { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: rgba(63, 201, 122, .1); color: var(--ok); }
.pill.warn { background: rgba(235, 177, 74, .1); color: var(--warn); }
.pill.err { background: rgba(224, 83, 59, .1); color: var(--danger); }
.pill.off { background: rgba(255, 255, 255, .04); color: var(--muted-2); }
.pill.blue { background: rgba(96, 165, 250, .14); color: #60a5fa; }
.empty { padding: 42px 20px; text-align: center; color: var(--muted); }
.empty .ico { font-size: 28px; margin-bottom: 8px; opacity: .6; }

/* ---------- Диалоги ---------- */
.dlg-wrap { display: flex; height: calc(100vh - 150px); min-height: 520px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.dlg-rail { width: 66px; flex: none; background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; overflow: auto; }
.dlg-rail .av { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer; border: 0; flex: none; position: relative; }
.dlg-rail .av.all { background: var(--panel-2); color: var(--muted); border: 1px solid var(--border); }
.dlg-rail .av.on { box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-glow); }
.dlg-rail .av .st { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--panel); background: var(--muted-2); }
.dlg-rail .av .st.ok { background: var(--ok); }
.dlg-list { width: 330px; flex: none; display: flex; flex-direction: column; border-right: 1px solid var(--border); min-height: 0; }
.dlg-list-hd { padding: 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips button { flex: none; font: inherit; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--bg); border: 0; border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.chips button.on { background: var(--accent); color: #04121b; }
.dlg-chats { flex: 1; overflow-y: auto; padding: 4px 6px; }
.chat-row { display: flex; gap: 10px; padding: 10px; border-radius: 12px; cursor: pointer; align-items: center; }
.chat-row:hover { background: var(--panel-2); }
.chat-row.on { background: rgba(42, 171, 238, .08); box-shadow: inset 2px 0 0 var(--accent); }
.chat-row .body { flex: 1; min-width: 0; }
.chat-row .top { display: flex; gap: 6px; align-items: center; }
.chat-row .nm { font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row .tm { font-size: 11px; color: var(--muted-2); flex: none; }
.chat-row .last { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.dlg-conv { flex: 1; display: flex; flex-direction: column; background: #0d0d10; min-width: 0; min-height: 0; }
.dlg-conv .chat-head { background: var(--panel); }
.dlg-conv .chat-body { background: transparent; }
.dlg-conv .chat-input { background: var(--panel); }
.dlg-side { width: 300px; flex: none; border-left: 1px solid var(--border); overflow-y: auto; padding: 16px; background: var(--panel); }
.dlg-side section + section { margin-top: 20px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.metric-grid > div { background: var(--bg); padding: 10px 12px; }
.metric-grid .k { font-size: 11px; color: var(--muted-2); }
.metric-grid .v { font-family: var(--ff-num); font-weight: 600; margin-top: 3px; }

/* тест-чат в редакторе персонажа */
.pg-wrap { height: calc(100vh - 210px); min-height: 520px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.msg.bot.typing span { background: rgba(255, 255, 255, .9); }
.msg.typing span:nth-child(2) { animation-delay: .15s; }
.msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Настройки ---------- */
.set-grid { display: grid; grid-template-columns: 1.7fr .9fr; gap: 18px; align-items: start; max-width: 1080px; }
.set-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.set-col.rail { position: sticky; top: 76px; }
.set-grouplbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 6px 2px -2px; }
.set-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.set-card .title { font-family: var(--ff-head); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.set-card .sub { font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; line-height: 1.5; }
.set-card .stack > * + * { margin-top: 12px; }
.set-status { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.set-status:last-child { border-bottom: 0; }
.set-status .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--muted-2); }
.set-status.ok .dot { background: var(--ok); box-shadow: 0 0 8px rgba(63, 201, 122, .5); }
.set-status.warn .dot { background: var(--warn); }
.set-status .grow { color: var(--muted); }
.set-details { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); margin-top: 14px; }
.set-details > summary { list-style: none; cursor: pointer; padding: 10px 14px; font-size: 13px; display: flex; align-items: center; gap: 8px; user-select: none; }
.set-details > summary::-webkit-details-marker { display: none; }
.set-details > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); transition: transform .16s; flex: none; }
.set-details[open] > summary::before { transform: rotate(45deg); }
.set-details .body { padding: 2px 14px 12px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.set-details ol { margin: 4px 0; padding-left: 18px; }
.set-btnrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }

@media (max-width: 1100px) {
  .neon-row, .acc-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .set-grid { grid-template-columns: 1fr; }
  .set-col.rail { position: static; }
  .dlg-side { display: none; }
}
@media (max-width: 760px) {
  .dlg-rail { display: none; }
  .dlg-list { width: 100%; }
  .dlg-wrap.open .dlg-list { display: none; }
}

/* ---------- Подключение аккаунта ---------- */
.method-card { display: block; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.method-card:hover { border-color: var(--accent); }
.method-card .small { margin-top: 6px; line-height: 1.45; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.45; }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: typing 1.2s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }

/* ---------- Дашборд: обзор за период ---------- */
.stack-lg { display: grid; gap: 16px; }
.dash .screen-row h1 { margin: 0; }
.dash-acc { width: auto; min-width: 170px; background: var(--panel); }
.dash-custom { gap: 8px; align-items: center; margin: -4px 0 12px; justify-content: flex-end; }
.dash-custom input { width: auto; }
.cap { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.chip { display: inline-block; padding: 3px 9px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.okc { color: var(--ok); }
.badc { color: var(--danger); }
.pseg.sm button { padding: 5px 10px; font-size: 12px; }

.income { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; padding: 0; overflow: hidden; }
.income-l { padding: 22px 24px; border-right: 1px solid var(--border-soft); background: linear-gradient(160deg, rgba(42, 171, 238, .07), transparent 60%); }
.income-r { padding: 22px 24px; min-width: 0; }
.income-big { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.01em; text-shadow: 0 0 24px var(--accent-glow); margin: 2px 0 4px; }
.income-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 26px; }
.income-kv div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.income-kv span { color: var(--muted-2); }
.y-chart { display: flex; gap: 10px; margin-top: 6px; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: var(--muted-2); height: 150px; margin-top: 14px; text-align: right; min-width: 38px; }
.y-chart .chart-plot { flex: 1; min-width: 0; }

.ready { padding: 0; overflow: hidden; }
.ready-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; flex-wrap: wrap; }
.ready-dots { display: inline-flex; gap: 4px; }
.ready-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.ready-dots i.ok { background: var(--ok); box-shadow: 0 0 6px rgba(63, 201, 122, .5); }
.chev { color: var(--muted); transform: rotate(180deg); transition: transform .15s; display: inline-block; }
.chev.open { transform: none; }
.ready-cells { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-soft); }
.ready-cell { position: relative; text-align: left; padding: 16px 18px 14px; background: var(--bg); border: 0; border-right: 1px solid var(--border-soft); border-top: 2px solid transparent; color: var(--text); cursor: pointer; font: inherit; min-height: 118px; display: flex; flex-direction: column; }
.ready-cell:last-child { border-right: 0; }
.ready-cell.ok { border-top-color: var(--ok); }
.ready-cell.bad .v { color: var(--muted); }
.ready-cell.sel { background: var(--panel-2); }
.ready-cell .num { position: absolute; top: 10px; right: 12px; font-size: 10px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--border); color: var(--muted); }
.ready-cell.ok .num { color: var(--ok); border-color: rgba(63, 201, 122, .35); }
.ready-cell .t { font-size: 12px; color: var(--muted); }
.ready-cell .v { font-size: 19px; font-weight: 700; margin-top: 8px; }
.ready-cell .n { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-top: 4px; }
.ready-cell .rsec { margin-top: auto; padding-top: 14px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.ready-body { padding: 18px; display: grid; gap: 20px; border-top: 1px solid var(--border-soft); background: var(--panel-2); }
.ready-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ready-cols p { margin: 0; line-height: 1.5; max-width: 460px; }
.why { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.why li { position: relative; padding-left: 16px; line-height: 1.45; }
.why li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--danger); }
.ready-list { border: 1px solid var(--border-soft); border-radius: 10px; overflow: hidden; background: var(--panel); }
.ready-list > div { display: flex; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.ready-list > div:last-child { border-bottom: 0; }
.how { margin: 0; padding-left: 18px; display: grid; gap: 7px; line-height: 1.45; }
.bot-note { margin-top: 14px; display: inline-block; padding: 9px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); font-size: 12.5px; }
.bot-note b { color: var(--accent); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.heat { margin-top: 16px; display: grid; gap: 4px; overflow-x: auto; }
.heat-hours, .heat-row { display: grid; grid-template-columns: 28px repeat(24, minmax(14px, 1fr)); gap: 4px; align-items: center; }
.heat-hours span { font-size: 10px; color: var(--muted-2); }
.heat-row .wd { font-size: 11px; color: var(--muted-2); }
.heat i, .heat-legend i { display: block; height: 16px; border-radius: 3px; background: rgba(42, 171, 238, .06); }
.heat i.l1, .heat-legend i.l1 { background: rgba(42, 171, 238, .2); }
.heat i.l2, .heat-legend i.l2 { background: rgba(42, 171, 238, .4); }
.heat i.l3, .heat-legend i.l3 { background: rgba(42, 171, 238, .65); }
.heat i.l4, .heat-legend i.l4 { background: var(--accent); }
.heat-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.heat-foot b { color: var(--text); font-weight: 600; }
.heat-legend { display: inline-flex; gap: 4px; align-items: center; }
.heat-legend i { width: 11px; height: 11px; display: inline-block; }

.cb-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.cb-row:last-child { border-bottom: 0; }
.cb-row b { font-size: 20px; }
.cb-row b.cb-big { font-size: 26px; }
.leads { display: flex; align-items: flex-end; gap: 2px; height: 34px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.leads i { flex: 1; background: rgba(42, 171, 238, .45); border-radius: 2px 2px 0 0; min-width: 2px; }

.ctry-wrap { max-height: 420px; overflow: auto; margin-top: 8px; }
.ctry { width: 100%; border-collapse: collapse; font-size: 13px; }
.ctry th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); font-weight: 600; text-align: left; padding: 8px 10px; position: sticky; top: 0; background: var(--panel); }
.ctry td { padding: 10px; border-top: 1px solid var(--border-soft); }
.ctry .r { text-align: right; }
.ctry .cc { display: inline-block; width: 22px; font-size: 11px; font-weight: 700; color: var(--muted); }
.barcell { width: 32%; }
.bar { height: 4px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

.top-list { margin-top: 10px; display: grid; gap: 10px; }
.top-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) 90px 56px; gap: 10px; align-items: center; font-size: 13px; }
.top-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-row b { text-align: right; }
.pay-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--panel-2); margin-top: 12px; }
.pay-bar .st, .dotc.st { background: #e8a33c; }
.pay-bar .cd, .dotc.cd { background: var(--accent); }
.dotc { display: inline-block; width: 12px; height: 5px; border-radius: 3px; vertical-align: middle; }
.dotc.both { background: var(--muted-2); }
.pay-rows { display: grid; gap: 10px; font-size: 13px; }
.pay-rows > div { display: grid; grid-template-columns: 18px 1fr 40px 40px; align-items: center; gap: 6px; }
.pay-rows b, .pay-rows span.muted { text-align: right; }
.recent-wrap { max-height: 420px; overflow: auto; }

@media (max-width: 1000px) {
  .income, .dash-grid { grid-template-columns: 1fr; }
  .income-l { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .ready-cells { grid-template-columns: 1fr 1fr; }
  .ready-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ready-cells { grid-template-columns: 1fr; }
  .ready-cell { border-right: 0; border-bottom: 1px solid var(--border-soft); min-height: 0; }
}
