.cabinet-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.cabinet-content {
  min-width: 0;
}
.pro-navigation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 20px;
}
.pro-navigation a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: #b7b6c2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.pro-navigation a:hover {
  background: #1c1c21;
  color: #fff;
}
.pro-navigation a[aria-current='page'] {
  background: #1c1c21;
  color: #ff681e;
}
.pro-navigation a:focus-visible {
  outline: 2px solid #ff681e;
  outline-offset: 2px;
}
.pro-nav-icon {
  width: 22px;
  text-align: center;
  color: #ff681e;
  font-size: 20px;
  line-height: 1;
}
.home-heading {
  margin-bottom: 12px;
}
@media (max-width: 1023px) {
  .cabinet-shell {
    display: block;
  }
  .pro-navigation {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    margin: 0 0 18px;
    padding: 2px 0 6px;
    scrollbar-width: thin;
  }
  .pro-navigation a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.growth-panel {
  border: 1px solid #303037;
  border-radius: 16px;
  padding: 16px;
  background: #1c1c21;
}
.growth-panel h2 {
  font-size: 19px;
}
.growth-panel button,
.growth-dialog button {
  width: auto;
  margin: 0;
}
.growth-panel .growth-car {
  width: 100%;
}
.growth-panel h3 {
  font-size: 16px;
  margin: 0 0 4px;
}
.growth-panel p {
  margin: 6px 0;
  font-size: 14px;
}
.growth-panel .section-toolbar {
  margin-bottom: 8px;
}
.growth-inline,
.growth-actions {
  display: flex;
  gap: 8px;
  align-items: end;
  flex-wrap: wrap;
}
.growth-inline {
  margin: 8px 0;
}
.growth-inline label {
  flex: 1;
  min-width: 180px;
}
.growth-inline input {
  flex: 1;
  min-width: 160px;
}
.growth-inline label span,
.growth-fields label span {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}
.growth-inline input,
.growth-fields input,
.growth-fields select,
.growth-fields textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #3b3b44;
  background: #111115;
  color: #f5f4fa;
  font: inherit;
  box-sizing: border-box;
}
.growth-segments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.growth-segments button {
  font-size: 13px;
  padding: 8px 10px;
  min-height: 44px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.growth-segments .active {
  border: 1px solid #ff681e;
  color: #ff681e;
  background: #111115;
}
.growth-segments span {
  border-radius: 6px;
  padding: 2px 5px;
  background: #303037;
  font-variant-numeric: tabular-nums;
}
.growth-list {
  display: grid;
  gap: 8px;
}
.growth-client {
  padding: 12px;
  border: 1px solid #33333c;
  border-radius: 12px;
  background: #151519;
}
.growth-checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  min-height: 44px;
}
.growth-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: #ff681e;
}
.growth-status {
  font-size: 12px;
  border-radius: 6px;
  background: #25252d;
  padding: 4px 7px;
}
.growth-status.overdue {
  color: #ff5a50;
}
.growth-status.due {
  color: #ffb15d;
}
.growth-status.healthy {
  color: #7ad791;
}
.growth-car {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-top: 5px;
  padding: 8px;
}
.growth-car img {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
}
.growth-car span:first-of-type {
  flex: 1;
}
.growth-car small {
  display: block;
  color: #aaa9b7;
  font-size: 12px;
  margin-top: 4px;
}
.growth-record {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #33333c;
  align-items: center;
}
.growth-record > div:first-child {
  flex: 1;
  min-width: 0;
}
.growth-record p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.growth-record .growth-actions {
  justify-content: end;
  max-width: 430px;
}
.growth-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.growth-metrics > div {
  padding: 12px;
  border-radius: 10px;
  background: #111115;
}
.growth-metrics strong {
  display: block;
  font-size: 24px;
}
.growth-metrics span {
  font-size: 12px;
  color: #aaa9b7;
  display: block;
  margin-top: 4px;
}
.growth-dialog {
  width: min(660px, calc(100vw - 24px));
  max-height: 90dvh;
  padding: 18px;
  border: 1px solid #3b3b44;
  border-radius: 16px;
  background: #1c1c21;
  color: #f5f4fa;
}
.growth-dialog::backdrop {
  background: #000a;
}
.growth-dialog h2 {
  font-size: 19px;
  margin: 0;
}
.growth-dialog .section-toolbar {
  margin-bottom: 10px;
}
.growth-dialog p {
  font-size: 14px;
}
.growth-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.growth-fields .wide {
  grid-column: 1/-1;
}
.growth-dialog .growth-actions {
  margin-top: 10px;
}
.verified-badge {
  display: inline-flex;
  color: #79d58c;
  margin-left: 5px;
  vertical-align: baseline;
  font-weight: 700;
}
.service-home .profile-panel,
.cabinet-shell .profile-panel {
  padding: 18px;
}
.service-home .service-dashboard,
.cabinet-shell .service-dashboard {
  gap: 14px;
}
.cabinet-shell .invitation-panel {
  padding: 14px;
}
.cabinet-shell .prepared-section {
  margin-top: 14px;
  margin-bottom: 0;
}
.cabinet-shell .prepared-section .section-toolbar {
  margin-bottom: 6px;
}
.cabinet-shell .prepared-section .field-hint {
  margin: 4px 0 8px;
}
.cabinet-shell .prepared-section .client-grid {
  margin-bottom: 6px;
}
.cabinet-shell .prepared-section .client-grid > .profile-panel {
  padding: 10px 14px;
}
.cabinet-shell .prepared-section .client-grid > .profile-panel p {
  margin: 0;
}
.client-grid {
  grid-template-columns: 1fr;
}
.vehicle-heading {
  margin: 12px 0;
}
.billing-section {
  margin-bottom: 14px;
}
@media (max-width: 700px) {
  .growth-panel {
    padding: 12px;
  }
  .growth-fields {
    grid-template-columns: 1fr;
  }
  .growth-record {
    align-items: stretch;
    flex-direction: column;
  }
  .growth-record .growth-actions {
    justify-content: start;
    max-width: none;
  }
  .growth-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .growth-inline label {
    min-width: 130px;
  }
  .growth-dialog {
    padding: 12px;
  }
  .pro-navigation a {
    padding: 0 10px;
  }
  .home-heading h1 {
    font-size: 26px;
  }
  .vehicle-summary .vehicle-photo {
    width: 80px;
    height: 56px;
  }
  .cabinet-shell .profile-panel {
    padding: 14px;
  }
  .cabinet-shell .invitation-panel {
    padding: 12px;
  }
  .cabinet-shell .invitation-panel.has-qr {
    grid-template-columns: minmax(0, 1fr) 76px;
  }
  .cabinet-shell .service-qr {
    width: 76px;
    height: 76px;
  }
}

@media (min-width: 1024px) {
  .account-page main {
    max-width: 1400px;
  }
  .cabinet-shell {
    grid-template-columns: minmax(150px, 1fr) minmax(0, 4fr) minmax(150px, 1fr);
    gap: clamp(12px, 2vw, 28px);
  }
  .pro-navigation {
    max-width: 200px;
  }
}
.invite-disclosure > summary {
  width: fit-content;
  margin-left: auto;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
  border-radius: 10px;
  background: var(--surface);
}
.invite-disclosure[open] > summary {
  margin-bottom: 8px;
}
.overview-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.overview-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.overview-row p {
  margin: 4px 0 0;
}
.overview-row button {
  width: auto;
}
