/* VKCRM QUIET POLISH V1 - pure presentation, no hidden actions or metrics. */
/* Focus: KPI compactness, comfortable client workspace, clear next step. */
@media (min-width: 1000px) {
  /* Less visual mass at the top, while retaining every KPI and daily norm. */
  #daily-manager-stats-13033,
  section.daily-manager-stats-13033,
  section[aria-label="Результаты за сегодня"] {
    border-radius: 16px !important;
    padding: 12px 15px !important;
    box-shadow: 0 5px 18px rgba(28, 59, 103, .065) !important;
  }
  .daily-manager-stats-13033-head {
    margin-bottom: 8px !important;
    gap: 8px !important;
  }
  .daily-manager-stats-13033-grid {
    gap: 8px !important;
  }
  .daily-manager-stats-13033-metric {
    min-height: 0 !important;
    padding: 10px 11px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }
  .daily-manager-stats-13033-value {
    font-size: clamp(21px, 1.85vw, 28px) !important;
    line-height: 1.12 !important;
  }
  .daily-manager-stats-13033-label {
    font-weight: 650 !important;
    letter-spacing: 0 !important;
  }
  .daily-manager-stats-13033-subtitle {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  #clientsSection .clients-layout {
    gap: 12px !important;
  }
  #clientsSection .client-list-panel,
  #clientCard .client-tabs-card-1257,
  #clientCard .client-side-stack-13010 .side-card {
    border-radius: 16px !important;
    border-color: #dce6f4 !important;
    box-shadow: 0 4px 15px rgba(30, 60, 102, .045) !important;
  }
  #clientsSection .client-list-panel {
    padding: 12px !important;
  }
  #clientsSection .client-list-panel .panel-title {
    margin-bottom: 9px !important;
  }
  #clientsSection .client-filter-groups-12834 {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  #clientsSection .client-filter-group-12834 {
    gap: 6px !important;
  }
  #clientsSection .client-filter-group-title-12834 {
    margin-bottom: 5px !important;
    color: #5e718f !important;
    font-size: 11px !important;
  }
  #clientsSection .client-stage-filters,
  #clientsSection .client-attention-filters-12834 {
    gap: 6px !important;
  }
  #clientsSection .client-list-panel .chip {
    border-radius: 11px !important;
    box-shadow: none !important;
  }

  /* Main client card: keep the familiar blue identity, reduce glare. */
  #clientCard .client-profile-hero-13010 {
    border-radius: 18px !important;
    padding: 16px 19px !important;
    background: linear-gradient(108deg, #12396f 0%, #1556a8 75%, #1e65be 100%) !important;
    box-shadow: 0 9px 23px rgba(26, 69, 124, .16) !important;
  }
  #clientCard .client-profile-title-line-13010 h2 {
    font-size: clamp(19px, 1.65vw, 24px) !important;
    line-height: 1.17 !important;
    letter-spacing: -.35px !important;
  }
  #clientCard .client-profile-contact-row-13010 {
    gap: 10px 15px !important;
  }
  #clientCard .client-profile-hero-13010 .contact {
    border-radius: 10px !important;
    min-height: 32px !important;
    padding: 7px 11px !important;
    box-shadow: none !important;
  }
  #clientCard .client-profile-hero-13010 .call-primary {
    box-shadow: 0 4px 11px rgba(12, 27, 69, .15) !important;
  }
  #clientCard .client-card-layout-13010 {
    gap: 12px !important;
  }
  #clientCard .client-nav-13010 {
    gap: 5px !important;
  }
  #clientCard .client-nav-13010 .tab {
    border-radius: 10px !important;
    padding: 9px 12px !important;
  }
  #clientCard .client-nav-13010 .tab:not(.active) {
    color: #526783 !important;
  }
  #clientCard .client-nav-13010 .tab.active {
    background: #f1f5ff !important;
    color: #1456e4 !important;
  }
  #clientCard .client-tab-surface-13010 {
    padding-top: 8px !important;
  }
  #clientCard .side-stack .side-card {
    overflow: visible;
  }
  #clientCard .section-head h3 {
    letter-spacing: -.15px !important;
  }
  #clientCard .section-head p {
    color: #718099 !important;
    font-size: 11px !important;
  }
  #clientCard .bank-entity-card-13010,
  #clientCard .accounts-total-card-13010,
  #clientCard .client-bank-entity-1257 {
    border-radius: 13px !important;
  }
  #clientCard .bank-entity-card-13010 summary {
    padding: 11px 13px !important;
  }
  #clientCard .next-action-alert,
  #clientCard .task.overdue,
  #clientCard .next-action-card {
    border-radius: 14px !important;
  }
  #clientCard .next-action-alert.danger,
  #clientCard .task.overdue {
    box-shadow: 0 3px 11px rgba(158, 42, 60, .055) !important;
  }
}

/* Consistent spacing without hiding controls, statuses or other data. */
#clientsSection .client-list-panel button,
#clientCard button,
#clientCard a.contact {
  -webkit-tap-highlight-color: transparent;
}
#clientsSection .client-list-panel .chip:focus-visible,
#clientCard button:focus-visible,
#clientCard a.contact:focus-visible {
  outline: 2px solid #4c83e8 !important;
  outline-offset: 2px !important;
}
@media (max-width: 999px) {
  #clientCard .client-profile-hero-13010 {
    border-radius: 14px !important;
  }
}
