* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #0d0f13;
  --surface: #15181e;
  --surface-2: #171a20;
  --border: #292f38;
  --muted: #9299a5;
  --text: #f6f7f9;
  --income: #22c997;
  --income-soft: #1d5039;
  --outcome: #ff6b6b;
  --outcome-soft: #56262b;
  --balance: #5ca8ff;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1b2029 0, #0d0f13 38%);
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  background: #f4f4f4;
  color: #111;
  font-weight: 750;
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

input,
select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid #343b46;
  background: #0f1217;
  color: white;
  outline: none;
}

input:focus,
select:focus {
  border-color: #838b97;
}

.shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.auth-card {
  width: min(430px, 100%);
  margin: 10vh auto 0;
  background: var(--surface-2);
  border: 1px solid #2a2f38;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 22px 70px #0007;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #f2f2f2;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 24px;
}

.brand h1,
.brand p {
  margin: 0;
}

.brand p {
  color: var(--muted);
  margin-top: 4px;
}

label {
  display: grid;
  gap: 8px;
  color: #b9c0cb;
  font-size: 14px;
  margin-bottom: 16px;
}

.error {
  color: #ff8e8e;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 22px;
}

.topbar h1 {
  font-size: 34px;
  margin: 2px 0 0;
}

.eyebrow {
  margin: 0;
  color: #8f98a6;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
  font-weight: 700;
}

.ghost {
  background: #1b1f26;
  color: #e8e9eb;
  border: 1px solid #303641;
  padding: 10px 14px;
}

.quick-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 18px;
}

.quick-entry h2 {
  margin: 4px 0 18px;
}

.quick-entry h3 {
  font-size: 14px;
  margin: 16px 0 9px;
}

.expense-title {
  color: #ff8585;
}

.income-title {
  color: #75d9a1;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quick-button {
  min-height: 82px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 17px;
}

.quick-button img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.expense-button {
  background: var(--outcome-soft);
  border: 1px solid #7d3840;
}

.income-button {
  background: var(--income-soft);
  border: 1px solid #327858;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.summary article {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.summary span {
  display: block;
  color: #949ca8;
  font-size: 13px;
  margin-bottom: 8px;
}

.summary strong {
  font-size: clamp(19px, 3vw, 28px);
}

.negative {
  color: #ff8585 !important;
}

.positive {
  color: #75d9a1 !important;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.panel-head h2 {
  margin: 4px 0 0;
}

.panel-head > span {
  color: #8f98a6;
  font-size: 13px;
}

.transaction {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  border-bottom: 1px solid #242a32;
}

.transaction strong {
  display: block;
}

.transaction span {
  display: block;
  color: #8f98a6;
  font-size: 13px;
  margin-top: 5px;
}

.tx-right {
  text-align: right;
  flex-shrink: 0;
}

.loading {
  padding: 60px;
  text-align: center;
}

.compact-loading {
  padding: 30px;
}

.empty-state {
  padding: 28px 20px;
  color: #8f98a6;
  text-align: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #05070bdd;
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 1000;
}

.entry-modal {
  width: min(460px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  background: var(--surface-2);
  border: 1px solid #343b46;
  border-radius: 24px;
  padding: 22px;
}

.entry-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.entry-modal-head h2 {
  margin: 4px 0 20px;
}

.modal-close,
.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  background: #242a32;
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
}

.amount-wrap {
  position: relative;
}

.amount-wrap input {
  font-size: 36px;
  font-weight: 850;
  padding-right: 50px;
}

.amount-wrap span {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--muted);
}

.save-income,
.save-expense {
  width: 100%;
  color: #fff;
}

.save-income {
  background: #2f8a61;
}

.save-expense {
  background: #b44752;
}

/* Кнопка аналитики внизу главного экрана */
.analytics-button {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px solid #36404c;
  border-radius: 16px;
  background: #171b22;
  color: #f6f7f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
}

.analytics-button:hover {
  background: #1d222b;
}

.analytics-arrow {
  color: var(--balance);
  font-size: 28px;
  line-height: 1;
}

/* Аналитика */
.analytics-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 18px;
}

.analytics-topbar h1 {
  margin: 2px 0 0;
  font-size: clamp(28px, 5vw, 40px);
}

.analytics-filters {
  background: rgba(21, 24, 30, 0.94);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 16px;
}

.filter-grid,
.custom-period {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.analytics-filters label {
  margin-bottom: 0;
}

.custom-period {
  margin-top: 12px;
}

.filter-button {
  width: 100%;
  margin-top: 12px;
  background: #11151b;
  color: #f6f7f9;
  border: 1px solid #343b46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.filter-button span {
  color: #a9b0bb;
  font-weight: 600;
}

.filter-button strong {
  color: var(--balance);
  font-size: 14px;
}

.filter-details {
  margin-top: 12px;
  border-top: 1px solid #272d36;
  padding-top: 12px;
}

.filter-details summary {
  color: #a9b0bb;
  cursor: pointer;
  font-size: 14px;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0 0;
}

.switch-row input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.active-selection {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #31516b;
  background: #152331;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d6e8f7;
  font-size: 14px;
}

.active-selection button {
  padding: 6px 9px;
  background: #24445e;
  color: #fff;
  font-size: 12px;
}

.analytics-status {
  padding: 26px;
  text-align: center;
  color: #aeb5c0;
  border: 1px dashed #303741;
  border-radius: 16px;
  margin-bottom: 16px;
}

.error-status {
  color: #ff9b9b;
  border-color: #69343a;
  background: #2a171a;
}

.analytics-content {
  display: grid;
  gap: 16px;
  transition: opacity 0.2s ease;
}

.analytics-content.is-updating {
  opacity: 0.58;
  pointer-events: none;
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric-card {
  min-width: 0;
  min-height: 126px;
  padding: 17px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: #f6f7f9;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 9px;
}

.metric-card span {
  color: #9da5b1;
  font-size: 13px;
}

.metric-card strong {
  font-size: clamp(20px, 3vw, 30px);
  overflow-wrap: anywhere;
}

.metric-card small {
  color: #747e8b;
  font-weight: 500;
}

.metric-income {
  border-color: #286b52;
}

.metric-outcome {
  border-color: #71363d;
}

.metric-balance {
  border-color: #31516b;
}

.metric-count {
  border-color: #414851;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.insight-grid article {
  background: #13161b;
  border: 1px solid #262c34;
  border-radius: 15px;
  padding: 15px;
}

.insight-grid span {
  display: block;
  color: #8f98a6;
  font-size: 12px;
  margin-bottom: 8px;
}

.insight-grid strong {
  font-size: 16px;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  overflow: hidden;
}

.chart-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.chart-head h2 {
  margin: 4px 0 0;
}

.chart-head > span {
  color: #8f98a6;
  font-size: 13px;
  text-align: right;
}

.chart-wrap {
  position: relative;
  min-height: 320px;
}

.chart-wrap-tall {
  min-height: 390px;
}

.chart-wrap-pie {
  min-height: 420px;
}

.chart-hint {
  margin: 10px 0 0;
  color: #7f8895;
  font-size: 12px;
}

.chart-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: #8f98a6;
}

.compact-select {
  width: auto;
  min-width: 140px;
  padding: 10px 12px;
}

.chart-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
}

.year-chart-canvas {
  min-width: 900px;
  height: 430px;
}

.operations-panel {
  background: var(--surface);
  border: 1px solid #35404c;
  border-radius: 22px;
  overflow: hidden;
  scroll-margin-top: 12px;
}

.operations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.operations-head h2 {
  margin: 4px 0 0;
}

.operations-list {
  max-height: 680px;
  overflow: auto;
}

.operations-note {
  margin: 0;
  padding: 12px 20px;
  color: #8f98a6;
  font-size: 12px;
  border-top: 1px solid var(--border);
}

.category-modal {
  display: flex;
  flex-direction: column;
}

.category-modal > input {
  margin-bottom: 12px;
}

.category-list {
  min-height: 160px;
  max-height: 430px;
  overflow: auto;
  border: 1px solid #2b323c;
  border-radius: 14px;
  background: #111419;
}

.category-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 0;
  border-bottom: 1px solid #242a32;
  cursor: pointer;
}

.category-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.category-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .analytics-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-wrap-tall {
    min-height: 350px;
  }
}

@media (max-width: 650px) {
  .shell {
    padding: 18px 12px 36px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .summary article {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .summary span {
    margin: 0;
  }

  .transaction {
    padding: 14px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 10px;
  }

  .entry-modal {
    border-radius: 20px;
    max-height: calc(100vh - 18px);
  }

  .quick-button {
    min-height: 74px;
  }

  .analytics-summary {
    gap: 9px;
  }

  .metric-card {
    min-height: 112px;
    padding: 14px;
  }

  .metric-card strong {
    font-size: 21px;
  }

  .metric-card small {
    display: none;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .custom-period {
    grid-template-columns: 1fr 1fr;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-grid article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .insight-grid span {
    margin: 0;
  }

  .chart-card {
    padding: 15px 12px;
  }

  .chart-wrap {
    min-height: 300px;
  }

  .chart-wrap-tall {
    min-height: 360px;
  }

  .chart-wrap-pie {
    min-height: 390px;
  }

  .year-chart-head {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-select {
    width: 100%;
  }

  .operations-list {
    max-height: 620px;
  }
}

/* Analytics v1.2 */
.category-option-round {
  position: relative;
}

.category-choice-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.category-choice-circle {
  width: 25px;
  height: 25px;
  min-width: 25px;
  border-radius: 50%;
  border: 2px solid #7f8996;
  background: transparent;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.category-choice-circle::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f4f7fb;
  transform: scale(0);
  transition: transform 0.15s ease;
}

.category-choice-input:checked + .category-choice-circle {
  border-color: #58a8ff;
  background: #2d75b9;
}

.category-choice-input:checked + .category-choice-circle::after {
  transform: scale(1);
}

.category-choice-input:focus-visible + .category-choice-circle {
  outline: 3px solid rgba(88, 168, 255, 0.28);
  outline-offset: 3px;
}

.category-option-round:active .category-choice-circle {
  transform: scale(0.92);
}

.category-choice-label {
  min-width: 0;
}

.mechanic-report {
  background: linear-gradient(145deg, #171b21, #12151a);
  border: 1px solid #6b5830;
  border-radius: 22px;
  padding: 18px;
}

.mechanic-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.mechanic-report-head h2 { margin: 4px 0; }
.mechanic-report-head span { color: #8f98a6; font-size: 13px; }
.mechanic-report-head button {
  width: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: #282219;
  border: 1px solid #695834;
  color: #f3e5bd;
}

.mechanic-total {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: #1e1a13;
  border: 1px solid #554728;
  margin-bottom: 12px;
}
.mechanic-total span, .mechanic-total small { color: #aaa18e; }
.mechanic-total strong { font-size: clamp(28px, 7vw, 42px); color: #f1c96a; }

.mechanic-breakdown { display: grid; gap: 8px; }
.mechanic-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #2b2c2f;
}
.mechanic-breakdown span { color: #aeb5bf; }
.mechanic-breakdown strong { white-space: nowrap; }
.mechanic-note { margin: 12px 0 0; color: #858d99; font-size: 12px; line-height: 1.45; }

@media (max-width: 640px) {
  .mechanic-report-head { display: grid; }
  .mechanic-report-head button { width: 100%; }
}

/* Аналитика v1.3 — сетка категорий */
.category-grid-modal {
  width: min(680px, calc(100vw - 24px));
}

.category-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 10px;
  max-height: min(58vh, 620px);
  overflow: auto;
  padding: 14px 4px 18px;
  margin-top: 10px;
}

.category-icon-option {
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #d8dce2;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  border-radius: 14px;
}

.category-icon-option:active {
  transform: scale(0.97);
}

.category-icon-circle {
  --category-color: #7d8795;
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--category-color) 72%, #5f6875);
  background: color-mix(in srgb, var(--category-color) 9%, #11151b);
  color: var(--category-color);
  font-size: 25px;
  font-weight: 700;
  transition: 0.16s ease;
}

.category-icon-circle i {
  display: none;
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--category-color);
  color: #081018;
  border: 3px solid #171b22;
  font-size: 13px;
  font-style: normal;
  place-items: center;
}

.category-icon-option.is-selected .category-icon-circle {
  background: color-mix(in srgb, var(--category-color) 30%, #11151b);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--category-color) 18%, transparent);
  transform: translateY(-2px);
}

.category-icon-option.is-selected .category-icon-circle i {
  display: grid;
}

.category-icon-name {
  width: 100%;
  min-height: 34px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
  color: #b9c0cb;
}

.category-icon-option.is-selected .category-icon-name {
  color: #fff;
}

.category-empty {
  grid-column: 1 / -1;
}

/* Редактирование операций */
.transaction-editable {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.transaction-editable:hover,
.transaction-editable:active {
  background: #1b2028;
}

.edit-operation-modal {
  width: min(560px, calc(100vw - 24px));
  max-height: min(92vh, 860px);
  overflow: auto;
}

.edit-operation-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  margin-top: 8px;
}

.danger-button {
  background: #31191d;
  color: #ff929b;
  border: 1px solid #70323a;
}

@media (max-width: 520px) {
  .category-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 8px;
  }

  .category-icon-circle {
    width: 62px;
    height: 62px;
    font-size: 23px;
  }

  .category-icon-name {
    font-size: 11px;
  }
}

/* MSK Many v1.5 */
.quick-button img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  flex: 0 0 44px;
}
.entry-category-modal { max-height: min(86vh, 760px); overflow-y: auto; }
.entry-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 10px; padding: 10px 0 18px; }
.category-icon-circle.has-photo {
  background-image: var(--category-image);
  background-size: cover;
  background-position: center;
  border-color: color-mix(in srgb, var(--category-color) 70%, white 10%);
}
.category-icon-circle.has-photo > span { display: none; }
.entry-category-option.is-selected .category-icon-circle { transform: scale(.94); box-shadow: 0 0 0 4px color-mix(in srgb, var(--category-color) 45%, transparent); }
.catalyst-report {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.catalyst-report > div {
  background: #171b21;
  border: 1px solid #292f39;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.catalyst-report span { color: #9ca5b2; font-size: 13px; }
.catalyst-report strong { font-size: 18px; }
.catalyst-report .catalyst-net { border-color: rgba(34,201,151,.55); }
@media (max-width: 560px) {
  .entry-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalyst-report { grid-template-columns: 1fr; }
}

.dashboard-summary-button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #f2f4f7;
  text-align: left;
}

.dashboard-summary-context {
  display: flex;
  flex-direction: column;
  min-width: 105px;
}

.dashboard-summary-context span {
  font-weight: 700;
  font-size: 15px;
}

.dashboard-summary-context small {
  color: #8f98a6;
  margin-top: 3px;
}

.dashboard-summary-formula {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(16px, 4vw, 24px);
}

.dashboard-summary-formula strong { color: #fff; }
.dashboard-summary-formula b { color: #78818e; font-weight: 600; }
.dashboard-summary-modal { max-width: 520px; }
.full-width { width: 100%; }

@media (max-width: 640px) {
  .dashboard-summary-button {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .dashboard-summary-context {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
  .dashboard-summary-formula {
    justify-content: flex-start;
    gap: 6px;
    font-size: clamp(15px, 4.2vw, 20px);
  }
}


/* v1.7 — мультивыбор проектов в сводке */
.dashboard-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 12px;
  margin: 4px 0 22px;
  max-height: 46vh;
  overflow-y: auto;
  padding: 4px 2px 10px;
}

.dashboard-project-circle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #eef1f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  cursor: pointer;
}

.dashboard-project-circle strong {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.dashboard-project-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid #68717e;
  background: #171b22;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 20px;
  font-weight: 800;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.dashboard-project-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-project-circle.selected .dashboard-project-avatar {
  border-color: #5ca8ff;
  box-shadow: 0 0 0 4px rgba(92, 168, 255, .18);
  transform: translateY(-1px);
}

.dashboard-project-circle.selected strong {
  color: #7dbaff;
}

.dashboard-project-all {
  background: #222832;
  font-size: 17px;
}

@media (min-width: 520px) {
  .dashboard-project-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* v1.8 */
.dashboard-project-circle.dimmed,
.period-choice.dimmed { opacity: .48; }
.dashboard-project-circle.selected,
.period-choice.selected { opacity: 1; }
.period-button-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px; margin:8px 0 18px;
}
.period-choice {
  min-height:54px; border:1px solid #3a424f; border-radius:16px;
  background:#12161c; color:#eef1f5; font-weight:700; font-size:15px;
}
.period-choice.selected {
  border-color:#5ca8ff;
  box-shadow:0 0 0 3px rgba(92,168,255,.16);
}
.field-caption { color:#aeb5c0; margin:4px 0 6px; }
.category-manager-modal { max-height:88vh; overflow:auto; }
.manager-list { display:grid; gap:8px; margin-bottom:16px; }
.manager-row {
  display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:center;
  padding:12px; border:1px solid #303743; border-radius:14px;
}
.manager-row button { padding:8px 10px; font-size:13px; }
.entry-payee { color:#aeb5c0; margin:4px 0 0; }

/* v1.9 — механик и зарплата сотрудников */
.employee-card-row {
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:8px;
  align-items:center;
  padding:12px;
  border:1px solid #303743;
  border-radius:14px;
}
.employee-card-row div { display:grid; gap:3px; }
.employee-card-row span, .employee-card-row small { color:#aeb5c0; }
.mechanic-new-button { margin:0 0 16px; min-height:58px; font-size:18px; }
.mechanic-total-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.mechanic-total-grid article {
  background:#141920;
  border:1px solid #303743;
  border-radius:16px;
  padding:14px;
  display:grid;
  gap:6px;
}
.mechanic-total-grid span { color:#aeb5c0; font-size:13px; }
.mechanic-total-grid strong { font-size:22px; }
.mechanic-breakdown { display:grid; gap:12px; margin:14px 0; }
.mechanic-breakdown .panel { margin:0; }
.mechanic-breakdown span { color:#aeb5c0; line-height:1.4; }
.mechanic-job-modal select, #mechanic-period { width:100%; }
@media (min-width:640px) {
  .mechanic-breakdown { grid-template-columns:1fr 1fr; }
  .mechanic-total-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

/* v1.9.2 — навигация по периодам механика */
.mechanic-analytics-head {
  align-items:end;
  gap:14px;
}
.mechanic-month-nav {
  display:grid;
  grid-template-columns:56px 1fr 56px;
  gap:10px;
  align-items:center;
  margin:14px 0;
}
.mechanic-month-nav button {
  min-height:54px;
  border:1px solid #3a424f;
  border-radius:16px;
  background:#12161c;
  color:#eef1f5;
  font-size:20px;
  font-weight:800;
}
#mechanic-month-label { font-size:17px; }
#mechanic-custom-period {
  margin:14px 0;
}
#mechanic-custom-period .primary {
  grid-column:1 / -1;
}

/* v1.9.3 — крупный мобильный интерфейс механика */
body.mechanic-mode,
.mechanic-summary-panel,
.mechanic-breakdown,
.mechanic-job-row {
  font-size: 17px;
}

.topbar h1 {
  font-size: clamp(34px, 8vw, 46px);
}

.mechanic-new-button {
  min-height: 72px;
  border-radius: 20px;
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 20px;
}

.mechanic-summary-panel {
  padding: 20px;
}

.mechanic-analytics-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.mechanic-analytics-head h2 {
  font-size: 30px;
  line-height: 1.1;
}

#mechanic-period {
  min-height: 58px;
  font-size: 18px;
  padding: 0 16px;
  border-radius: 16px;
}

.mechanic-month-nav {
  grid-template-columns: 62px 1fr 62px;
  margin: 16px 0 20px;
}

.mechanic-month-nav button {
  min-height: 62px;
  font-size: 30px;
}

#mechanic-month-label {
  font-size: 20px;
}

.mechanic-primary-stats {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 12px;
}

.mechanic-primary-stats article,
.mechanic-secondary-stats article {
  background: #141920;
  border: 1px solid #303743;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.mechanic-primary-stats span,
.mechanic-secondary-stats span {
  color: #aeb5c0;
  font-size: 16px;
}

.mechanic-primary-stats strong {
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.1;
}

.mechanic-more-stats {
  margin-top: 12px;
}

.mechanic-more-stats summary {
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  border: 1px solid #303743;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.mechanic-more-stats summary::-webkit-details-marker {
  display: none;
}

.mechanic-secondary-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.mechanic-secondary-stats strong {
  font-size: 24px;
}

.mechanic-breakdown {
  gap: 14px;
}

.mechanic-breakdown .panel {
  padding: 20px;
}

.mechanic-breakdown h2 {
  font-size: 30px;
  margin: 8px 0;
}

.mechanic-breakdown span {
  font-size: 16px;
}

.mechanic-job-row {
  min-height: 84px;
  padding: 16px 18px;
  gap: 14px;
}

.mechanic-job-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mechanic-job-main strong {
  font-size: 19px;
  line-height: 1.2;
}

.mechanic-job-main span {
  font-size: 16px;
  color: #d5d9df;
}

.mechanic-job-main small {
  font-size: 14px;
  color: #929aa6;
}

.mechanic-job-row .tx-right strong {
  font-size: 20px;
}

.mechanic-job-row .tx-right span {
  font-size: 14px;
}

@media (max-width: 480px) {
  .mechanic-primary-stats {
    grid-template-columns: 1fr 0.65fr;
  }

  .mechanic-primary-stats article,
  .mechanic-secondary-stats article {
    padding: 16px;
  }

  .mechanic-job-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* v1.9.4 — навигация вверх/вниз по месяцам и годам */
.dashboard-period-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.vertical-period-controls {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.vertical-period-controls button,
.analytics-period-navigator button {
  border: 1px solid #3a424f;
  border-radius: 14px;
  background: #171c23;
  color: #eef1f5;
  font-size: 18px;
  font-weight: 800;
  min-height: 42px;
}

.dashboard-period-row .dashboard-summary-button {
  width: 100%;
}

.analytics-period-navigator {
  display: grid;
  grid-template-rows: 46px auto 46px;
  gap: 8px;
  margin: 14px 0;
  text-align: center;
}

.analytics-period-navigator strong {
  min-height: 54px;
  border: 1px solid #3a424f;
  border-radius: 16px;
  background: #12161c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

@media (max-width: 480px) {
  .dashboard-period-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

/* v1.9.6 — исправление категорий и подсказки автомобилей */
.smart-top-category {
  position: relative;
}
.smart-top-category::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(92,168,255,.24);
  border-radius: 21px;
  pointer-events: none;
}

.category-editor {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #343c48;
  border-radius: 16px;
  background: #11161c;
}
.category-editor[hidden] {
  display: none;
}
.category-editor-actions,
.app-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.app-confirm-modal {
  max-width: 440px;
}
.app-confirm-modal p {
  color: #b6bdc7;
  line-height: 1.45;
}

.entry-modal {
  max-height: min(92dvh, 900px);
  overflow-y: auto;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}
.entry-sticky-save,
.mechanic-sticky-save {
  position: sticky;
  bottom: 0;
  z-index: 9;
  padding: 12px 0 calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #11161c 74%, rgba(17,22,28,0));
}
.entry-sticky-save button,
.mechanic-sticky-save button {
  width: 100%;
  min-height: 60px;
  font-size: 19px;
  box-shadow: 0 -8px 28px rgba(0,0,0,.25);
}

/* v1.9.7 — чистый профиль и доступная смена пользователя */
.account-settings-button {
  min-width: 54px;
  min-height: 54px;
  border-radius: 16px;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-settings-modal {
  max-width: 440px;
}


/* v1.9.8 — перелистывание месяцев и лет на главном экране */
.dashboard-summary-card {
  border: 1px solid #303846;
  border-radius: 22px;
  overflow: hidden;
  background: #151a22;
  margin: 20px 0;
}
.dashboard-summary-card .dashboard-summary-button {
  margin: 0;
  border: 0;
  border-radius: 0;
  width: 100%;
}
.dashboard-period-nav {
  display: grid;
  grid-template-columns: 44px 44px minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid #2b323d;
}
.dashboard-period-nav strong {
  text-align: center;
  font-size: 16px;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-period-nav button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid #3a4452;
  border-radius: 12px;
  background: #202631;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.dashboard-period-nav button:active { transform: scale(.96); }


/* v2.0.1 unified activity analytics */
.compact-quick-entry{padding-top:8px;padding-bottom:8px}
.quick-paired-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px}
.quick-paired-grid .quick-button{width:100%;min-height:72px;margin:0;padding:10px 14px;justify-content:flex-start}
.quick-paired-grid .quick-button img{width:46px;height:46px}
.dashboard-period-nav{grid-template-columns:58px 58px minmax(130px,1fr) 58px 58px;gap:8px}
.dashboard-period-nav>button{min-height:56px;font-size:25px}
.dashboard-period-button{min-height:56px;border-radius:16px;font-size:21px;font-weight:800;background:#171d24;border:1px solid #343d49;color:#fff;padding:0 12px}
.activity-overlay{position:fixed;inset:0;z-index:1000;background:#090c10;overflow:hidden}
.activity-screen{height:100dvh;display:flex;flex-direction:column;padding:calc(18px + env(safe-area-inset-top)) 14px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box}
.activity-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:0 6px 8px}.activity-title{min-width:0}.activity-header h2{margin:2px 0 0;font-size:28px}.activity-year-nav{display:flex;gap:7px}.activity-year-button{width:44px;height:44px;border-radius:14px;font-size:23px;font-weight:800}.activity-close{width:48px;height:48px;border-radius:15px;font-size:28px}
.activity-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 0 12px}.activity-totals strong{text-align:center;font-size:16px;padding:12px 5px;border:1px solid #2b333d;border-radius:14px;background:#11161c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.activity-calendar{flex:1;overflow-y:auto;border:1px solid #28303a;border-radius:18px;background:#0e1318;padding:6px}
.activity-day{display:grid;grid-template-columns:48px minmax(0,1fr) 25px;gap:8px;align-items:center;width:100%;min-height:34px;padding:2px 6px;background:transparent;border:0;border-radius:8px;color:#fff}.activity-day:nth-child(even){background:rgba(255,255,255,.018)}.activity-day:active{background:#202832}
.activity-date{display:flex;align-items:baseline;gap:5px;text-align:left}.activity-date b{font-size:15px}.activity-date small{font-size:10px;color:#77818d;text-transform:uppercase}
.activity-track{height:20px;border-radius:7px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 12.5%);display:flex;gap:2px;padding:2px;overflow:hidden}.activity-segment{display:block;flex:1 1 22px;max-width:70px;min-width:8px;border-radius:5px;background:#56606c}.activity-count{font-size:11px;color:#99a4b0}
.activity-income{background:#1ed26f}.activity-salary{background:#d53b59}.activity-rent{background:#f1b744}.activity-material{background:#3f91ff}.activity-tax{background:#a86bf2}.activity-other{background:#f1793f}.activity-car{background:#19cf9a}.activity-diagnostic{background:#55a7ff}.activity-catalyst{background:#f1a239}.activity-mechanic{background:#da5a75}.activity-home-1{background:#29c96d}.activity-home-2{background:#4593ff}.activity-home-3{background:#f1b645}.activity-home-4{background:#a66aec}.activity-home-5{background:#ef7850}
.activity-hint{text-align:center;font-size:11px;color:#77818d;padding:9px 0 0}.activity-detail-modal{max-height:82dvh}.activity-detail-modal .transactions{max-height:62dvh;overflow:auto}
@media(max-width:390px){.dashboard-period-nav{grid-template-columns:50px 50px minmax(112px,1fr) 50px 50px;gap:5px}.dashboard-period-nav>button{min-height:52px}.dashboard-period-button{font-size:18px}.quick-paired-grid .quick-button{min-height:68px;padding:8px}.quick-paired-grid .quick-button img{width:42px;height:42px}}

/* MSK Many v2.1 — единый выбор периода */
.gesture-period-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 14px 18px;
  text-align: center;
}
.gesture-period-nav small {
  color: var(--muted);
  font-size: 11px;
}
.dashboard-period-button,
#mechanic-month-label,
.activity-period-button {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 4px 10px;
  font-size: 22px;
  font-weight: 850;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.activity-period-button {
  text-align: left;
  display: block;
}
.activity-period-button p,
.activity-period-button h2,
.activity-period-button small { margin: 0; }
.activity-period-button small { color: var(--muted); font-size: 11px; font-weight: 600; }

.period-wheel-backdrop {
  align-items: end;
}
.period-wheel-modal {
  width: min(560px, 100%);
  border-radius: 26px 26px 0 0;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}
.period-wheel-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  color: var(--muted);
  text-align: center;
  margin: 8px 0 10px;
  font-size: 13px;
}
.period-wheel-picker {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 292px;
  overflow: hidden;
  margin-bottom: 18px;
}
.period-wheel-column {
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 116px 0;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
.period-wheel-column::-webkit-scrollbar { display: none; }
.period-wheel-column button {
  display: block;
  width: 100%;
  height: 58px;
  padding: 0 8px;
  scroll-snap-align: center;
  background: transparent;
  color: #717986;
  font-size: 18px;
  font-weight: 650;
  transition: color .16s ease, transform .16s ease, opacity .16s ease;
}
.period-wheel-column button.selected {
  color: #fff;
  transform: scale(1.08);
  opacity: 1;
}
.period-wheel-focus {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 116px;
  height: 58px;
  border: 1px solid rgba(92,168,255,.75);
  border-radius: 16px;
  background: rgba(30,94,180,.17);
  box-shadow: 0 0 28px rgba(46,133,255,.12) inset;
  pointer-events: none;
}
.period-wheel-apply { min-height: 58px; font-size: 17px; }
.period-wheel-hint {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 700px) {
  .dashboard-summary-card { touch-action: pan-y; }
  .activity-screen { overscroll-behavior-y: contain; }
  .activity-header { grid-template-columns: 1fr auto; }
}

/* MSK Many v2.2.5 — Mechanic neon mobile dashboard */
.mechanic-neon-mode{background:radial-gradient(circle at 80% 0,#071728 0,#090d13 34%,#080b10 100%);color:#f5f7fb}
.mechanic-neon-mode #app{max-width:760px;margin:0 auto;padding:18px 14px 56px}
.mechanic-hero{display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px}
.mechanic-person{display:flex;align-items:center;gap:14px}.mechanic-person img{width:76px;height:76px;border-radius:24px;object-fit:cover;border:2px solid #1aa6ff;box-shadow:0 0 24px #008cff55}.mechanic-person h1{margin:2px 0;font-size:34px}.mechanic-person span{color:#9ca8ba;font-size:16px}
.mechanic-round-button{width:52px;height:52px;border-radius:18px;border:1px solid #2a3442;background:#111823;color:#fff;font-size:24px}
.mechanic-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.mechanic-action{min-height:64px;border-radius:20px;font-size:18px;font-weight:800;border:1px solid}.mechanic-action-work{background:linear-gradient(135deg,#f7f9ff,#dfeaff);color:#0b1118;border-color:#fff}.mechanic-action-expense{background:linear-gradient(135deg,#1c232d,#10151c);color:#fff;border-color:#374253}
.mechanic-neon-panel{background:linear-gradient(145deg,#101720ee,#0b1017ee);border:1px solid #263343;border-radius:24px;padding:18px;margin-bottom:14px;box-shadow:0 16px 50px #0008}
.mechanic-period-top,.mechanic-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mechanic-period-top h2,.mechanic-section-title h2{font-size:25px;margin:3px 0}.mechanic-period-top select{min-width:116px;background:#111923;color:#fff;border:1px solid #2e3b4c;border-radius:14px;padding:12px}
.mechanic-month-pill{width:100%;margin:12px 0 0;padding:12px;border-radius:16px;background:#101d2b;color:#32aaff;border:1px solid #204d72;font-size:18px;font-weight:800}
.mechanic-kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.mechanic-kpi-grid article{min-height:110px;border-radius:20px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #283445}.mechanic-kpi-grid span{font-size:15px;color:#aab4c3}.mechanic-kpi-grid strong{font-size:30px}.kpi-earned strong{color:#4de39e}.kpi-spent strong{color:#ff6c76}.kpi-stash strong{color:#8cff51}.kpi-jobs strong{color:#53aaff}
.mechanic-expense-chips{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.expense-chip{min-height:112px;border-radius:20px;padding:14px;text-align:left;background:#0d141c;border:1px solid #2a3442;color:#fff;display:grid;grid-template-columns:auto 1fr;gap:3px 10px}.expense-chip b{font-size:26px;grid-row:1/4}.expense-chip span{font-size:15px}.expense-chip strong{font-size:22px}.expense-chip small{color:#93a0b2}.expense-chip.blue{border-color:#1688d8;box-shadow:inset 0 0 22px #0479d522}.expense-chip.orange{border-color:#d96b08;box-shadow:inset 0 0 22px #d96b0822}.expense-chip.pink{border-color:#d42f78}.expense-chip.cyan{border-color:#10aaa7}.expense-chip.yellow{border-color:#b99119}.expense-chip.gray{border-color:#596474}
.mechanic-stash-card{display:grid;grid-template-columns:1fr 110px;align-items:center;border-color:#278c2a;background:radial-gradient(circle at 85% 50%,#10482188,#0d1712 50%,#0b1110)}.mechanic-stash-card h2{font-size:28px;margin:3px 0}.mechanic-stash-card>div>strong{font-size:38px;color:#72f052}.stash-progress{height:10px;background:#17331e;border-radius:99px;margin:12px 0;overflow:hidden}.stash-progress i{display:block;height:100%;background:linear-gradient(90deg,#36d354,#9aff4f);border-radius:99px;box-shadow:0 0 18px #64ff62}.stash-jar{font-size:68px;text-align:center;filter:drop-shadow(0 0 18px #43ff55)}
.mechanic-neon-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mechanic-neon-breakdown .mechanic-neon-panel{margin:0}.mechanic-neon-breakdown h2{font-size:28px;color:#58dca2;margin:8px 0}.mechanic-neon-breakdown span{color:#96a3b4;line-height:1.4}
.mechanic-job-cards{display:grid;gap:10px;margin-top:12px}.mechanic-job-cards article{display:flex;justify-content:space-between;gap:12px;padding:15px;border-radius:18px;background:#0b1118;border:1px solid #222d3a}.mechanic-job-cards article>div{display:flex;flex-direction:column;gap:4px}.mechanic-job-cards article>div:last-child{text-align:right;align-items:flex-end}.mechanic-job-cards strong{font-size:18px}.mechanic-job-cards article>div:last-child strong{color:#4de39e}.mechanic-job-cards span,.mechanic-job-cards small{color:#98a4b5}
.mechanic-expense-modal form{display:grid;gap:14px}.mechanic-expense-modal label{display:grid;gap:7px}.mechanic-expense-modal select,.mechanic-expense-modal input{font-size:18px;min-height:50px}
@media(max-width:430px){.mechanic-neon-mode #app{padding:12px 10px 40px}.mechanic-person img{width:68px;height:68px}.mechanic-person h1{font-size:30px}.mechanic-action{font-size:16px;min-height:60px}.mechanic-neon-panel{padding:14px;border-radius:21px}.mechanic-kpi-grid strong{font-size:27px}.mechanic-kpi-grid article{min-height:100px;padding:13px}.mechanic-expense-chips{grid-template-columns:1fr 1fr}.expense-chip{min-height:106px;padding:12px}.mechanic-stash-card{grid-template-columns:1fr 88px}.stash-jar{font-size:54px}.mechanic-neon-breakdown{grid-template-columns:1fr}.mechanic-job-cards strong{font-size:17px}}
