:root {
  --bg-main: #000000;
  --bg-card: #0F0F0F;
  --bg-card-hover: #1A1A1A;
  --color-primary: #FF9F00;
  --color-purple: #B233FF;
  --color-green: #00C853;
  --text-main: #FFFFFF;
  --text-muted: #AAAAAA;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-week: #888888;
  --app-ui-scale: 1;

  /*
   * Единая адаптивная шкала текста (стандарт приложения).
   * База = макет Figma @400px; на широких экранах текст растёт до максимума.
   * --fs-hint  — мелкие подписи (легенды, цифры у прогресс-баров): 10px
   * --fs-small — второстепенный текст (табы, подписи статов, телефон): 12px
   * --fs-caption — описания и подписи: 13px
   * --fs-eyebrow — надзаголовки капсом: 11px
   * --fs-hero-value — самое крупное значение карточки: 32px
   */
  --fs-hint: clamp(10px, 2.56vw, 12px);
  --fs-small: clamp(12px, 3.1vw, 14px);
  --fs-caption: clamp(14px, 3.6vw, 16px);
  --fs-eyebrow: clamp(11px, 2.8vw, 13px);
  --fs-hero-value: clamp(32px, 8.2vw, 40px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

/*
 * Общий адаптив пользовательского приложения.
 * На мобильной базе до 400px масштаб равен 1. На более широких экранах
 * весь интерфейс растёт синхронно до 112.5% (базовые 16px -> максимум 18px).
 * Значение задаётся до первого рендера в main.html и обновляется при resize.
 */
body.responsive-app {
  zoom: var(--app-ui-scale);
  min-height: var(--app-layout-viewport-height, 100dvh);
}

body.responsive-app .app-container,
body.responsive-app #instruction-screen {
  min-height: var(--app-layout-viewport-height, 100dvh);
}

body.responsive-app #view-main,
body.responsive-app #view-salary,
body.responsive-app #view-clients {
  min-height: calc(var(--app-layout-viewport-height, 100dvh) - 160px);
}

body.responsive-app .chok-detail-panel {
  max-height: var(--app-detail-max-height, 78vh);
}

.auth-screen {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 400px;
}

.shift-loc-info-without-first-child {
  color: #888;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.last-update-info {
  text-align: center;
  color: #8e8e93;
  font-size: 11px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 400;
}

.last-update-info span {
  display: inline-block;
}

.shift-loc-info,
.shift-motiv-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}


.shift-loc-info span:first-child,
#ui-motivation-icon {
  width: 16px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}


#ui-shift-branch,
#ui-motivation-text {
  flex: 1;
  line-height: 1.2;

}

.auth-content {
  width: 100%;
  padding: 69px 16px 20px 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.auth-logo {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auth-logo::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 159, 0, 0.5);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 1;
}

.auth-logo img,
.auth-logo svg {
  z-index: 2;
  height: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-title {
  color: #FF9F00;
  font-size: 24px;
  font-weight: 800;
  line-height: 29px;
  text-align: inherit;
}

.auth-subtitle {
  color: #FFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.32px;
  text-align: inherit;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.auth-input-wrapper {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-input-wrapper:focus-within {
  border-color: rgba(255, 159, 0, 0.5);
}

.auth-input-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(170, 170, 170, 1);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.28px;
  pointer-events: none;
  transition: all 0.2s ease;
}

.auth-phone-input:focus~.auth-input-label,
.auth-phone-input:not(:placeholder-shown)~.auth-input-label {
  top: 10px;
  transform: translateY(0);
  font-size: 11px;
  color: #AAA;
  letter-spacing: 0.22px;
}

.auth-input-label.error-active {
  top: 10px;
  transform: translateY(0);
  font-size: 11px;
  color: #FF4444;
  letter-spacing: 0.22px;
}

.auth-phone-input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.28px;
  caret-color: #FF9F00;
  padding-top: 14px;
  text-align: left;
  padding-right: 30px;
}

.auth-phone-input::placeholder {
  color: transparent;
}

.auth-input-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 22px;
  cursor: pointer;
  display: none;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
  z-index: 2;
}

.auth-input-clear:hover {
  color: #FFF;
}

.auth-input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-input-wrapper.auth-input-error {
  border-color: rgba(255, 63, 66, 0.5);
  ;
  background: rgba(255, 68, 68, 0.08);
}

.auth-input-wrapper.auth-input-error:focus-within {
  border-color: #FF4444;
}

.login-error {
  color: #D94444;
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
}

.auth-button {
  width: 100%;
  height: 60px;
  background: #FF9F00;
  border: none;
  border-radius: 12px;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-button:hover {
  background: #FFB033;
}

.auth-button:active {
  background: #E68F00;
}

.auth-button:disabled {
  background: #734700;
  color: rgba(0, 0, 0, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}

.back-button {
  align-self: flex-start;
  margin-bottom: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.back-button:hover {
  opacity: 0.7;
}

.verify-code-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.verify-code-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.verify-code-input {
  width: 100%;
  max-width: 76px;
  height: 60px;
  background: #171717;
  border: 1px solid #171717;
  border-radius: 12px;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
}

.verify-code-input.verify-input-error {
  border-color: #D94444;
  background: rgba(255, 68, 68, 0.08);
}

.verify-code-input:focus:not(.verify-input-error),
.verify-code-input.filled:not(.verify-input-error) {
  border-color: rgba(255, 159, 0, 0.5);
  background: rgba(255, 159, 0, 0.05);
  box-shadow: 0 0 8px rgba(255, 159, 0, 0.2);
}




.verify-error {
  color: #D94444;
  font-size: 11px;
  font-weight: 400;
  text-align: left;
  margin: 0;
  padding-left: 4px;
}

#verify-btn:disabled {
  background: #B37100;
  color: #000;
  cursor: not-allowed;
  pointer-events: none;
}

.verify-change-link {
  color: #FF9F00;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.verify-change-link:hover {
  text-decoration: underline;
}

.verify-resend-wrapper {
  text-align: center;
}

#resend-timer {
  color: rgba(255, 255, 255, 1);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  display: block;
}

.verify-resend-active {
  color: #FF9F00;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.verify-resend-active:hover {
  text-decoration: underline;
}

.verify-header {
  gap: 16px;
}

.verify-subtitle {
  font-size: 14px;
  line-height: 20px;
}

.verify-phone {
  font-weight: 700;
  color: #FFF;
  margin-right: 8px;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  z-index: 9999;
  overflow: hidden;
}

#loading-screen::before {
  content: "";
  position: absolute;
  width: 185px;
  height: 160px;
  background: rgba(255, 159, 0, 0.3);
  border-radius: 50%;
  filter: blur(80px);
  transform: translate(0%, -20%);
}

.loading-logo-glow::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;

  border: 3px solid rgba(255, 159, 0, 0.4);
  box-sizing: border-box;
}

.loading-logo-glow {
  width: 90px;
  height: 90px;
  background: #FF9F00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loading-logo-glow img {
  width: 90px;
  height: 90px;
  z-index: 2;
  position: relative;

  filter: drop-shadow(0 0 20px rgba(255, 159, 0, 0.4));
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.loading-logo-glow::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;

  border: 3px solid transparent;
  border-top: 3px solid #FF9F00;
  box-sizing: border-box;


  filter: drop-shadow(0 0 5px rgba(255, 159, 0, 0.8));

  animation: logo-spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 2;
}

.loading-text {
  color: #AAA;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.8;
}


#instruction-screen {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.onboarding-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 100;
  transition: opacity 0.5s ease;
}

.onboarding-content {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding-top: 60px;
  padding-bottom: 40px;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}


.onboarding-close {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.onboarding-close:hover {
  opacity: 1;
}

.onboarding-btn {
  max-height: 60px;
}

.onboarding-title {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
  width: 100%;
  color: #FFF;
}

.os-toggle-wrapper-admin {
  display: flex;
  background: #1A1A1A;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.os-toggle-wrapper {
  display: flex;
  background: #1A1A1A;
  border-radius: 10px;
  padding: 4px;
  width: 100%;
  gap: 4px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.os-tab {
  flex: 1;
  height: 35px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.os-tab.active {
  background: #FF9F00;
  color: #000;
}

.os-content {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;

}

.os-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.os-list {
  color: #FFF;
  font-size: 15px;
  line-height: 1.5;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.os-list li {
  padding-left: 6px;
}

.os-list li::marker {
  font-variant-numeric: tabular-nums;
}

.os-list b {
  font-weight: 700;
}

.inline-step-icon {
  height: auto;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin-left: 6px;
  margin-top: -3px;
}

.inline-icon {
  color: #FF9F00;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 4px;
}

.app-container {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

.main-content {
  padding: 16px 6px 0px 6px;
  max-width: 100vw;
}

#ui-share-history .share-row {

  padding-right: 32px;
}

.calendar-grid-error {
  display: flex;
  justify-content: center;
  align-items: center;
}

#ui-share-history {
  padding-right: 0;
  gap: 12px;
}

.bottom-nav-spacer {
  height: 90px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 4px 4px 4px 4px;
  position: relative;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

section {
  margin-bottom: 24px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  background-color: var(--color-primary);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.brand-name {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  color: var(--color-primary);
  font-size: 10px;
  letter-spacing: 1px;
}

.header-update-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.header-update-area:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.05);
}


.header-update-area:active .update-icon-btn img {
  transform: rotate(180deg);
}

.update-icon-btn img {
  transition: transform 0.4s ease;
  display: block;
}

.header-update-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.update-date {
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.2;
}

.update-time {
  color: var(--text-week);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 2px;
}

.update-icon-btn {
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

.update-icon-btn:active {
  transform: rotate(180deg);
}

.update-icon-btn img {
  width: 24px;
  height: 24px;
}

.header-date {
  text-align: right;
}

.date-day {
  font-weight: 700;
  font-size: 14px;
}

.date-weekday {
  color: var(--text-muted);
  font-size: 11px;
}

.notification-banner {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 159, 0, 0.15);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  animation: notifySlideIn 0.5s ease-out;
}

.notification-banner.hiding {
  animation: notifySlideOut 0.45s ease forwards;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 0, 0.2);
}

.notification-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      rgba(255, 159, 0, 0) 0%,
      rgba(255, 159, 0, 0.3) 50%,
      rgba(255, 159, 0, 0) 100%);
  z-index: 1;
}

@keyframes notifySlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notifySlideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
    margin-bottom: 32px;
  }

  60% {
    opacity: 0;
    transform: translateY(-16px);
    max-height: 80px;
    margin-bottom: 32px;
  }

  100% {
    opacity: 0;
    transform: translateY(-16px);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    overflow: hidden;
  }
}

.notify-icon-wrapper {
  position: relative;
  font-size: 24px;
  background: rgba(255, 159, 0, 0.1);
  padding: 8px 0px 8px 12px;
  border-radius: 35%;
  width: 48px;
  height: 48px;
}

.notify-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.notify-text {
  flex-grow: 1;
}

.notify-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}

.notify-desc {
  color: var(--text-week);
  font-size: 11px;
  line-height: 1.3;
}

.notify-btn {
  background-color: var(--color-primary);
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}


.notify-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine-cycle 5s infinite;
}


@keyframes shine-cycle {
  0% {
    left: -150%;
  }

  50% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}


.notify-btn:active {
  transform: scale(0.95);
}

.notify-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  margin-left: -4px;
}

.greeting-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 25px;
  margin-top: 5px;
}

.dropdown-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}


.date-separator {
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: #FFFFFF;
  border-radius: 50%;
  margin: 0 10px;
  vertical-align: middle;
  opacity: 0.8;
}


.section-label {
  color: var(--text-week);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.icon-calendar {
  margin-right: 12px;
  font-size: 18px;
}

.calendar-accordion-container {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  margin-top: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.calendar-header-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 12px;
}

.calendar-header-btn .accordion-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
  margin-right: 0;
  width: 24px;
}

.calendar-accordion-container.expanded .calendar-header-btn .accordion-chevron {
  transform: rotate(180deg);
  width: 24px;
  display: flex;
  justify-content: flex-end;
}

.calendar-body-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease-out;
  padding: 0 16px;
}

.calendar-body-inner {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.calendar-accordion-container.expanded .calendar-body-content {
  grid-template-rows: 1fr;
  padding: 0 16px 16px 16px;
}

.calendar-accordion-container.expanded .calendar-body-inner {
  opacity: 1;
}

.calendar-month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 16px;
}

.calendar-nav-btn {
  background: none;
  border: none;
  color: #FF9F00;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.calendar-month-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-week);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: var(--text-week);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  background: transparent;
  border: 1px solid #222222;
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cal-day.empty {
  border-color: transparent;
  cursor: default;
}

.cal-day.has-data {
  color: #FF9F00;
}

.cal-day.selected {
  background: #FF9F00;
  border-color: #FF9F00;
  color: #000000;
}

.cal-amount {
  font-size: 9px;
  font-weight: 500;
  margin-top: 4px;
}

.cal-day.selected .cal-amount {
  color: #000000;
}

.cal-day.has-data:not(.selected) .cal-amount {
  color: #FF9F00;
}

.shift-card {
  background: #121212;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #2A2A2A;
}

.shift-info-top {
  display: flex;
  justify-content: space-between;

  align-items: stretch;
  margin-bottom: 16px;
}

.shift-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.shift-number {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.shift-location {
  font-size: 13px;
  color: var(--text-week);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shift-motivation {
  font-size: 13px;
  color: var(--text-week);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shift-visits {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.21);
  ;
  padding-left: 16px;
  margin-left: 12px;
  min-width: 65px;

  /* 2. Добавляем отрицательные отступы сверху и снизу, 
     чтобы линия доходила до краев карточки (если нужно) */
  margin-top: 4px;
  margin-bottom: 4px;
}

.visits-count {
  font-size: 26px;
  font-weight: 800;
  color: #FF9F00;
  line-height: 1;
  margin-bottom: 4px;
}

.visits-label {
  font-size: 10px;
  color: var(--text-week);
  text-transform: lowercase;
  font-weight: 500;
}

.shift-progress-pills {
  display: flex;
  gap: 4px;
  width: 100%;
}

.shift-progress-pills .pill {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #333333;
}

.shift-progress-pills .pill.active {
  background: #FF9F00;
}

.vat-toggle-container {
  display: inline-flex;
  background: #18181A;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid #2A2A2A;
}

.vat-btn {
  background: transparent;
  border: none;
  color: var(--text-week);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vat-btn.active {
  background: #FF9F00;
  color: #000000;
}

.financial-wrapper {
  transition: opacity 0.3s ease;
}

.accordion-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.accordion-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.accordion-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.accordion-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
  display: flex;
  color: #888;
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.accordion-content {
  overflow: hidden;
  padding: 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease, padding 0.3s ease;
}

.accordion-card.expanded .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-card.expanded .accordion-content {
  padding: 0 16px 20px 16px;
  opacity: 1;
}

.accordion-card.expanded .accordion-chevron {
  transform: rotate(180deg);
}

.center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 16px;
}

.header-text-group {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accordion-label-small {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-week);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cal-error-wrapper {
  grid-column: 1 / -1;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  gap: 12px;
  text-align: center;
}

.cal-error-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.accordion-value-huge {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.accordion-card.earnings-card {

  background: linear-gradient(55deg,
      rgba(0, 200, 83, 0.12) 0%,
      rgba(0, 200, 83, 0.04) 100%) !important;

  border: 1px solid rgba(0, 200, 83, 0.2);
  position: relative;
  box-shadow: none;
}

.earnings-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      rgba(0, 200, 83, 0) 0%,
      rgba(0, 200, 83, 0.5) 50%,
      rgba(0, 200, 83, 0) 100%);
  z-index: 2;
}

.earnings-card .accordion-label-small,
.earnings-card .accordion-chevron {
  color: #00C853 !important;
}

.earnings-card .accordion-content {
  padding-top: 16px;
}

.earnings-card .breakdown-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.earnings-card .breakdown-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.earnings-card .total-green-row .breakdown-row-left {
  color: var(--text-week);
}

.note-center {
  text-align: center;
  color: #8f8f8f;
  font-size: 10px;
  margin-top: 15px;
  margin-bottom: auto;
}

.gray {
  color: var(--text-week);
}

.earnings-card .total-green-row .breakdown-row-right {
  color: #00C853;
  font-size: 16px;
  font-weight: 800;
}

.breakdown-list2 {
  display: flex;
  flex-direction: column;
  gap: 12px;

  border-top: 1px solid rgba(255, 255, 255, 0.05);

}

.breakdown-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);

}

.revenue-card-orange {
  position: relative;
  overflow: hidden;
}

.orange {
  color: #FF9F00;
}

.revenue-card-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(255, 159, 0, 0) 0%,
      rgba(255, 159, 0, 1) 50%,
      rgba(255, 159, 0, 0) 100%);
  z-index: 2;

  box-shadow: 0 1px 4px rgba(255, 159, 0, 0.3);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;

  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;

  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-row2:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.breakdown-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.breakdown-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.breakdown-row-right {
  font-weight: 700;
  color: var(--text-main);
  font-size: 18px;
}

.breakdown-subtext {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.breakdown-icon {
  font-size: 16px;
}

.share-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.breakdown-list .share-row:last-child {
  margin-bottom: 0;
}

.share-date {
  width: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-week);
}

.share-row.header-row .share-date {
  color: #FFFFFF;
}

.share-track {
  flex: 1;
  height: 22px;
  background: #1C1C1E;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
}

.share-fill {
  height: 100%;
  background: linear-gradient(to right, rgba(156, 81, 182, 0.5) 0%, #B855D6 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: width 0.4s ease;
  min-width: 4px;
}

.share-text {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  padding-right: 8px;
}

.share-text.outside {
  position: absolute;
  padding-right: 0;
  margin-left: 6px;
}

.bonus-card {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.bonus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bonus-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bonus-amount {
  font-size: 22px;
  font-weight: 800;
}

.color-yellow {
  color: var(--color-primary);
}

.color-purple {
  color: var(--color-purple);
}

.color-blue {
  color: #00A3FF;
}

.bonus-desc {
  font-size: 12px;
  color: var(--text-week);
  line-height: 1.4;
  margin-bottom: 36px;
}

.bonus-desc b {
  color: var(--text-muted);
}

.bonus-bar-container {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.bonus-track {
  height: 8px;
  background: transparent;
  position: relative;
  overflow: visible;
}




.bonus-bg-empty {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(102, 102, 102, 0.4) 0%, #666 100%);
  border-radius: 2px;
  z-index: 0;
  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}


.bonus-target-line {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 1px;
  background: #FFFFFF;
  z-index: 5;
  transform: translateX(-50%);
}

.bonus-label {
  position: absolute;
  bottom: 32px;
  font-size: 11px;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;

  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10;
}

.bonus-track {
  height: 8px;
  background: transparent;
  position: relative;
  overflow: visible;
}


.bonus-bar-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #1a1a1a;
}


.bonus-gradient-track {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;

  background: linear-gradient(90deg, rgba(102, 102, 102, 0.4) 0%, #666 100%);
  z-index: 1;
  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}


.bonus-target-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}


.bonus-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 2px;
}


.bonus-sold-lbl-yellow,
.bonus-sold-lbl-purple {
  position: absolute;
  transform: translateX(-50%);
  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
}

s .bonus-label.target {
  bottom: 32px;
  color: #FFFFFF;
  opacity: 0.8;
}

.bonus-label.offset-up {
  font-size: 12px;
}

.bonus-footer-labels {
  display: flex;
  justify-content: end;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  position: relative;
}

.next-shift-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: #121212;
  border: 1px solid rgba(255, 159, 0, 0.2);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.next-shift-label {
  color: #FF9F00;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.next-shift-date-text {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.next-shift-watermark {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 70px;
  font-weight: 900;
  color: rgba(255, 159, 0, 0.1);
  line-height: 1;
  pointer-events: none;
}

.schedule-day {
  background: transparent;
  border: 1px solid #222222;
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555555;
  font-size: var(--fs-caption);
  font-weight: 600;
}

.schedule-day.shift {
  background: rgba(255, 159, 0, 0.15);
  border-color: rgba(255, 159, 0, 0.3);
  color: #FF9F00;
}

.schedule-day.shift.highlight {
  background: #FF9F00;
  color: #000000;
}

.schedule-subtext {
  font-size: var(--fs-hint);
  font-weight: 600;
  margin-top: 2px;
}

.next-shift-card:disabled { cursor: default; }
.next-shift-card:disabled .next-shift-action { display: none; }
.next-shift-action { display: block; margin-top: 12px; color: var(--color-primary); font-size: var(--fs-small); font-weight: 600; }
.schedule-day.shift[role="button"] { cursor: pointer; }
.schedule-day.shift[role="button"]:hover { border-color: var(--color-primary); }
.next-shift-card:focus-visible,
.schedule-day.shift:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

html.shift-appointments-open,
body.shift-appointments-open { overflow: hidden; overscroll-behavior: none; }
.shift-appointments-dialog {
  --shift-avatar-size: 40px;
  position: fixed;
  inset: auto 0 0;
  z-index: 99999;
  width: 100%;
  max-width: 560px;
  max-height: none;
  margin: auto auto 0;
  border: 1px solid #3A3A3A;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 0;
  background: #0F0F0F;
  color: var(--text-main);
  overscroll-behavior: none;
}
.shift-appointments-backdrop { position: fixed; inset: 0; z-index: 99998; background: rgba(0, 0, 0, .72); touch-action: none; overscroll-behavior: none; animation: shift-backdrop-in .28s ease both; }
.shift-appointments-backdrop.is-restoring { animation: none; }
.shift-appointments-backdrop.is-closing { animation: shift-backdrop-out .22s ease both; }
@keyframes shift-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes shift-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .shift-appointments-backdrop { animation: none; }
}
.shift-appointments-sheet {
  display: flex;
  flex-direction: column;
  height: calc(var(--app-layout-viewport-height, 100dvh) * .9);
  max-height: calc(var(--app-layout-viewport-height, 100dvh) * .9);
  padding: 12px 16px max(18px, env(safe-area-inset-bottom));
}
.shift-appointments-handle { display: flex; flex-shrink: 0; justify-content: center; width: calc(100% + 32px); height: 36px; margin: -12px -16px 0; padding-top: 12px; cursor: grab; }
.shift-appointments-handle::before { content: ''; width: 38px; height: 4px; border-radius: 4px; background: #666; }
.shift-appointments-handle:active { cursor: grabbing; }
.shift-appointments-handle,
.shift-appointments-head { touch-action: none; user-select: none; -webkit-user-select: none; }
.shift-appointments-head { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; }
.shift-appointments-heading { flex: 1; min-width: 0; }
.shift-appointments-head h2 { margin: 0; font-size: clamp(20px, 5.5vw, 24px); font-weight: 800; line-height: 1.3; }
.shift-appointments-head h2:focus { outline: none; }
.shift-appointments-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; }
.shift-appointments-date { margin: 0; color: var(--color-primary); font-size: clamp(15px, 4vw, 17px); font-weight: 700; line-height: 1.4; }
.shift-appointments-close { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #242426; color: #aaa; cursor: pointer; }
.shift-appointments-close svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; pointer-events: none; }
.shift-appointments-scroll-area { position: relative; display: flex; flex: 1; flex-direction: column; min-height: 0; }
.shift-appointments-scroll-area::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 64px; background: linear-gradient(to bottom, rgba(15, 15, 15, 0), #0F0F0F); opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.shift-appointments-scroll-area.has-more::after { opacity: 1; }
.shift-appointments-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.shift-appointments-content::-webkit-scrollbar { display: none; width: 0; height: 0; }
.shift-appointments-count { flex: 0 0 11ch; white-space: nowrap; color: #8E8E93; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.shift-appointments-list { list-style: none; margin: 0; padding: 4px 0 0; }
.shift-appointment { padding-bottom: 24px; }
.shift-appointment-row { display: flex; align-items: stretch; width: 100%; }
.shift-appointment-profile-action { display: flex; flex: 1; align-items: stretch; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.shift-appointment-profile-action:disabled { cursor: default; opacity: 1; }
.shift-appointment-profile-action:not(:disabled):hover .chok-client-name { color: var(--color-primary); }
.shift-appointment-row .tl-divider { width: var(--shift-avatar-size); }
.shift-appointments-dialog .shift-appointments-list .shift-appointment-row .tl-divider::before { top: calc(var(--shift-avatar-size) / 2); bottom: calc(var(--shift-avatar-size) / -2 - 24px); background: rgba(255, 255, 255, .09); }
.shift-appointment:last-child .tl-divider::before { display: none; }
.shift-appointment-heading { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: var(--shift-avatar-size); }
.shift-appointment-heading .chok-client-name { flex: 0 1 auto; min-width: 0; }
.shift-appointment-details { margin-top: 2px; }
.shift-appointment-details > div { min-width: 0; }
.shift-appointment-chevron { flex: 0 0 16px; align-self: flex-start; margin: calc((var(--shift-avatar-size) - 16px) / 2) 0 0 8px; color: #fff; }
.shift-appointments-dialog .shift-appointment-avatar { z-index: 1; width: var(--shift-avatar-size); height: var(--shift-avatar-size); margin: 0; padding: 0; border: 0; font-size: clamp(18px, 4.5vw, 20px); }
button.shift-appointment-avatar:not(:disabled) { cursor: zoom-in; }
.shift-appointment-time.tl-time { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 48px; width: 48px; height: var(--shift-avatar-size); box-sizing: border-box; padding: 0 8px 0 0; white-space: nowrap; color: var(--color-primary); font-size: var(--fs-small); font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums; }
.shift-appointment-time.is-past { color: #8E8E93; }
.shift-appointment-info.tl-content { min-width: 0; padding: 0 0 0 12px; overflow-wrap: anywhere; }
.shift-appointments-dialog .chok-client-name { display: block; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(15px, 4vw, 17px); font-weight: 700; line-height: 1.3; }
.shift-appointment-services .tl-item { margin: 0 0 6px; }
.shift-appointment-services .tl-item:last-child { margin-bottom: 0; }
.shift-appointment-services .tl-item-title { margin: 0; font-size: var(--fs-caption); line-height: 1.4; }
.shift-appointments-state { display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px 10px 40px; text-align: center; }
.shift-appointments-state p { margin: 0; font-size: var(--fs-caption); line-height: 1.4; }
.shift-appointments-state span { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.5; }
.shift-appointments-retry { min-height: 44px; margin-top: 8px; border: 0; border-radius: 10px; padding: 10px 24px; background: var(--color-primary); color: #000; font: inherit; font-size: var(--fs-caption); font-weight: 700; cursor: pointer; }
.shift-appointments-dialog button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
dialog.shift-avatar-photo-dialog { width: 100%; height: var(--app-layout-viewport-height, 100dvh); max-width: none; max-height: none; margin: 0; padding: 0; border: 0; }
.shift-avatar-photo-dialog::backdrop { background: #000; }
.shift-avatar-photo-dialog .chok-photo-viewer-slide img { width: 100%; height: 100%; object-fit: contain; }
.shift-avatar-photo-error { color: #aaa; font-size: var(--fs-caption); line-height: 1.4; }
@media (max-width: 360px) {
  .shift-appointments-dialog { --shift-avatar-size: 36px; }
}

.schedule-day.shift.highlight .schedule-subtext {
  color: #000000;
}

.schedule-footer {
  text-align: center;
  color: #666666;
  font-size: var(--fs-small);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #222222;
}

.footer-update-text {
  text-align: center;
  color: #666666;
  font-size: 11px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 400px;
  transform: translateX(-50%);
  background-color: #0F0F0F;
  border-top: 1px solid #1a1a1a;
  display: flex;
  padding: 6px 3px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 8px 0;
  text-decoration: none;
  color: #FFFFFF;
  flex: 1;
  margin: 0 3px;
  border-radius: 24px;


  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;


  transform: scale(1);
}

/* ЭФФЕКТ ПРИ НАЖАТИИ (Тактильный отклик) 
   Когда пользователь зажимает пальцем кнопку, она слегка уменьшается */
.nav-item:active {
  transform: scale(0.9);
  background-color: rgba(255, 255, 255, 0.05);
}

/* ЭФФЕКТ ПРИ АКТИВАЦИИ
   Когда вкладка становится активной, она плавно "вырастает" */
.nav-item.active {
  background-color: rgba(255, 159, 0, 0.18);
  color: #FF9F00;

  animation: navItemPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



.nav-item.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  box-shadow: 0 0 15px rgba(255, 159, 0, 0.1);
  pointer-events: none;
}

.nav-indicator {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  background-color: rgba(255, 159, 0, 0.15);
  border-radius: 18px;
  z-index: 0;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}


.nav-item.active {
  background-color: transparent !important;
}

.inline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.inline-header h2 {
  margin: 0;
  font-size: 18px;
}

.ui-sal-bonus {
  color: var(--text-muted);
}

.icon-box {
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.cal-day.future-shift {
  cursor: default;
  background: transparent;
}

.cal-day.future-shift .cal-amount {
  display: none;
}

.cal-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 0;
  color: #FF9F00;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 159, 0, 0.3);
  border-radius: 50%;
  border-top-color: #FF9F00;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 16px;
}

.page-title {
  font-size: 24px;
  font-weight: 800;
  margin: 20px 0 16px 0;
  color: #FFF;
}

.dark-nav-btn {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.chart-card {
  width: 100%;
  overflow: hidden;
  padding: 16px 0 16px 16px;
  margin-bottom: 30px;
}

.css-chart {
  display: flex;
  align-items: stretch;
  height: 220px;
  position: relative;
}

.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 12px;
  font-size: 10px;
  color: #FFF;
  position: sticky;
  left: 0;
  background: var(--bg-card);
  z-index: 10;
}

.chart-bars {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-right: 16px;
  align-items: flex-end;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chart-bars::-webkit-scrollbar {
  display: none;
}

.chart-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  min-width: 44px;
}

.bars-container {
  display: flex;
  gap: 6px;
  height: 100%;
  align-items: flex-end;
  position: relative;
  width: 100%;
  justify-content: center;
}

.bar {
  width: 16px;
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
}

.bar-gray {
  background: #444;
}

.bar-green {
  background: #00C853;
}

.bar-val {
  position: absolute;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.val-inside {
  top: 8px;
}

.val-outside {
  bottom: calc(100% + 6px);
}

.bar-gray .val-inside,
.bar-gray .val-outside {
  color: #FFF;
}

.bar-green .val-inside {
  color: #000;
}

.bar-green .val-outside {
  color: #00E676;
}

.bar-topup {
  position: absolute;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  color: #B855D6;
  white-space: nowrap;
}

.expected-income-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      rgba(0, 200, 83, 0) 0%,
      rgba(0, 200, 83, 0.8) 50%,
      rgba(0, 200, 83, 0) 100%);
  z-index: 2;
}

.x-axis-label {
  font-size: 10px;
  color: #888;
  font-weight: 600;
}

.chart-legend {
  border-top: 1px solid #222;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 10px;
}

.legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.expected-income-card {
  border: 1px solid rgba(0, 200, 83, 0.3);
  background: linear-gradient(135deg,
      rgba(0, 200, 83, 0.12) 0%,
      rgba(0, 200, 83, 0.04) 100%);
  position: relative;
  overflow: hidden;
}

.income-green {
  color: #00E676;
  font-size: 18px;
  white-space: nowrap;
}

.income-header-title {
  color: #00C853;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
}

.income-total {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  white-space: nowrap;
}

.income-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 500;
}

.income-row:last-child {
  border-bottom: none;
}

.income-val {
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.sub-val {
  font-size: 11px;
  color: #888;
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.rules-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.rules-header {
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.rules-badge {
  font-size: 14px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}

.badge-purple {
  background: rgba(178, 51, 255, 0.2);
  color: #B233FF;
}

.badge-blue {
  background: rgba(0, 163, 255, 0.2);
  color: #00A3FF;
}

.rules-bar-container {
  display: flex;
  width: 100%;
  height: 12px;
  margin-top: 16px;
  background: transparent;
}

.rule-segment {
  flex: 1;
  background: #222;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}


.rule-segment-fill {
  height: 100%;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fill-purple {
  background: #B233FF;
}

.fill-blue {
  background: #00A3FF;
}

.rules-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s ease;
}

.rules-bar-purple {
  background: #B233FF;
}

.rules-bar-blue {
  background: #00A3FF;
}

.rules-scale-labels {
  display: flex;
  margin-top: 10px;
  padding: 0;
}


.rules-scale-labels span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #888;
  /* Добавляем небольшой сдвиг, чтобы цифра была по центру блока, 
     учитывая margin-right: 6px у блоков */
  padding-right: 6px;
}


.rules-scale-labels span:last-child {
  padding-right: 0;
}

.rules-chevron {
  display: flex;
  justify-content: center;
  color: #666;
  margin-top: 12px;
  transition: transform 0.3s ease;
}

.rules-card.expanded .rules-chevron {
  transform: rotate(180deg);
}

.rules-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  padding: 0 16px;
}

.rules-content {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rules-card.expanded .rules-body {
  grid-template-rows: 1fr;
  padding: 0 16px 16px 16px;
}

.rules-card.expanded .rules-content {
  opacity: 1;
}

.rules-detail-text {
  font-size: 13px;
  color: #AAA;
  margin-top: 8px;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
}

.rule-item {
  font-size: 12px;
  color: #AAA;
  white-space: nowrap;
}

.rule-item b {
  color: #FFF;
  font-weight: 600;
}

.summary-card-dark {
  border: 1px solid rgba(255, 159, 0, 0.2);
  background: linear-gradient(135deg,
      rgba(255, 159, 0, 0.12) 0%,
      rgba(255, 159, 0, 0.04) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 159, 0, 0.05);
}

.visits-list-card {
  background: #111111 !important;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.visit-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.visit-row:last-child {
  margin-bottom: 0;
}

.visit-time {
  width: 42px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-align: right;
  padding-top: 2px;
}

.visit-time.is-goods {
  color: #FF9F00;
}

.visit-icon {
  width: 20px;
  display: flex;
  justify-content: center;
}

.visit-content {
  flex: 1;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.visit-row:last-child .visit-content {
  border-bottom: none;
  padding-bottom: 0;
}

.visit-name {
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
  line-height: 1.2;
}

.visit-calc {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
  font-weight: 500;
}

.visit-calc b {
  color: #888;
}

.visit-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.visit-tag.gold {
  color: #FFD700;
}

.visit-tag.gray {
  color: #AAA;
}

.visit-total-block {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.visit-total-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #00E676;
  margin-bottom: 2px;
}

.visit-total-val {
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
}

.cal-day-sub {
  font-size: 8px;
  color: #FF9F00;
  font-weight: 700;
  margin-top: 2px;
}

.bonus-current-line {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 2px;
  z-index: 6;
  transform: translateX(-50%);
  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.shift-card-ongoing {
  background: linear-gradient(to bottom right,
      rgba(255, 159, 0, 0.44) 0%,
      rgba(255, 159, 0, 0.15) 100%);
  border: 1px solid rgba(255, 159, 0, 0.5) !important;
}

.shift-card-ongoing .shift-visits {
  border-left: 1px solid rgba(255, 159, 0, 0.2);
}


.shift-card-ongoing .shift-motiv-info {
  color: #FFFFFF;
}


.shift-card-ongoing .shift-progress-pills .pill {
  background: rgba(255, 159, 0, 0.15);
}


.shift-card-ongoing .shift-progress-pills .pill.active {
  background: linear-gradient(180deg, #FFC066 0%, #FF9F00 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}


.tl-row {
  display: flex;
  position: relative;
}


.tl-time {
  width: 50px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #AAAAAA;
  padding-right: 12px;
}

.tl-goods-lbl {
  color: #FF9F00;
  font-weight: 700;
  font-size: 10px;
}


.tl-divider {
  position: relative;
  width: 20px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.tl-divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
}

.tl-row:last-child .tl-divider::before {
  bottom: 50%;
}

.tl-icon {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
  background: #111111;
}

.tl-icon img {
  width: 14px;
  height: 14px;
}

.tl-icon-goods {
  font-size: 12px;
  background: #111111;
}

.tl-icon-own {
  background: #111111;
}

.tl-icon-rep {
  background: #111111;
}


.tl-content {
  flex: 1;
  /* не даём ряду фото визита распирать карточку шире экрана — иначе стрелка «ещё фото» уезжает за край */
  min-width: 0;
  padding-left: 12px;
  padding-bottom: 20px;
}

.tl-client-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
  line-height: 1.2;
}

.tl-client-heading { position: relative; }
.tl-client-name.with-profile-link { padding-right: 32px; }
.tl-client-profile-link {
  position: absolute;
  top: -12px;
  right: -10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.tl-client-profile-link:focus-visible { outline: 2px solid #ff9f00; outline-offset: -3px; }
.tl-row.can-edit-media { cursor: pointer; }
.tl-row.can-edit-media:focus-visible { outline: 2px solid #ff9f00; outline-offset: 3px; }

.tl-item {
  margin-bottom: 12px;
}

.tl-item-title {
  font-size: var(--fs-caption);
  color: #AAAAAA;
  line-height: 1.3;
  margin-bottom: 4px;
}

.tl-item-calc {
  text-align: right;
  font-size: var(--fs-caption);
}

.tl-calc-gray {
  color: #AAAAAA;
  margin-right: 4px;
}

.tl-calc-white2 {
  color: #FFF;
}

.tl-calc-white {
  color: #FFF;
  font-weight: 400;
}

.tl-calc-result {
  font-weight: 700;
}


.tl-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 16px;
  margin-bottom: 4px;
  color: #FF9F00;
}


.tl-total-box {
  margin-top: 12px;
  text-align: right;
}

.tl-total-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #00C853;
  margin-bottom: 2px;
}

.tl-total-val {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
}

.nav-text {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================
   1. ТАКТИЛЬНЫЙ ОТКЛИК (Micro-interactions) 
   ========================================= */

.card,
.bonus-card,
.next-shift-card,
.visits-list-card,
.nav-item,
.vat-btn,
.calendar-header-btn {
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), filter 0.15s ease !important;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}


.card:active,
.bonus-card:active,
.next-shift-card:active,
.nav-item:active,
.vat-btn:active,
.calendar-header-btn:active {
  transform: scale(0.99) !important;
  filter: brightness(1.1);
}


.nav-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-bottom: 2px;



  background-color: currentColor;


  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.custom-toast {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 280px;
  max-width: 92%;
  background: #121212;
  border-radius: 16px;
  padding: 8px 16px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: auto;
}

.custom-toast.show {
  top: 24px;
  opacity: 1;
}


.toast-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


.toast-text {
  flex-grow: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}


.toast-close {
  color: #888;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #FFF;
}


.custom-toast.success {
  border: 1px solid rgba(0, 230, 118, 0.15);
}

.custom-toast.success .toast-icon-wrapper {
  background: rgba(0, 230, 118, 0.1);
  color: #00E676;
}

.custom-toast.success .toast-text {
  color: #00E676;
}


.custom-toast.error {
  border: 1px solid rgba(229, 57, 53, 0.15);
}

.custom-toast.error .toast-icon-wrapper {
  background: rgba(229, 57, 53, 0.1);
  color: #E53935;
}

.custom-toast.error .toast-text {
  color: #E53935;
}

@media (display-mode: standalone) {
  .install-hint {
    display: none !important;
  }
}

#view-main,
#view-salary,
#view-clients {
  min-height: calc(100vh - 160px);
}

.main-content {
  width: 100% !important;
  max-width: 100vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}


.app-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


#view-main,
#view-salary,
#view-clients {
  width: 100%;
  box-sizing: border-box;
}

.privilege-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.priv-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.priv-yes {
  background: rgba(0, 230, 118, 0.1);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.priv-no {
  background: rgba(255, 255, 255, 0.05);
  color: #666;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: line-through;
}

.admin-branches {
  font-size: 11px;
  color: var(--color-primary);
  margin-top: 6px;
  font-weight: 600;
  opacity: 0.8;
}

a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* =========================================
   EXTRACTED FROM HTML <STYLE> & INLINE STYLES
   ========================================= */

.logo-icon {
  background: none;
  border: none;
  padding: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notify-icon-wrapper img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.icon-box.purple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.icon-calendar {
  display: flex;
  align-items: center;
  margin-right: 6px;
}

.shift-loc-info {
  color: #888;
  font-size: 13px;
  gap: 6px;
}

.shift-motiv-info {
  color: #888;
  font-size: 12px;
  gap: 6px;
}

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

.row-flex-center.mb-8 {
  margin-bottom: 8px;
}

.title-flex {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.desc-muted {
  font-size: 12px;
  color: #AAA;
  line-height: 1.4;
}

.income-left {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

.bonus-sold-lbl-yellow {
  color: #FF9F00;
}

.bonus-sold-lbl-purple {
  color: #AB47BC;
}

.install-hint {
  text-align: center;
  margin-top: 4px;
  font-size: 13px;
  color: #FFF;
  line-height: 1.6;
}

.install-link {
  color: #FF9F00;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-top: 4px;
}

.icon-box-sm {
  width: 20px;
  height: 20px;
}

.icon-box-sm-font {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.icon-box-sm-font-green {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.income-total-right {
  text-align: right;
}

.salary-section-title {
  font-size: 14px;
  text-transform: uppercase;
  color: #AAA;
  letter-spacing: 1px;
}

.nav-icon {
  -webkit-mask-image: var(--mask-icon);
  mask-image: var(--mask-icon);
}

.admin-back-link {
  text-decoration: none;
  display: block;
  margin-top: 30px;
}

.admin-back-bar {
  background: #FF9F00;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
}

.admin-back-text {
  color: #000;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.icon-calendar-img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.earnings-card-mt {
  margin-top: 12px;
}

.sal-bonus-sub {
  color: var(--text-muted);
}

.sal-bonus-val {
  font-size: 11px;
  font-weight: 500;
}

.breakdown-row-right-ta {
  text-align: right;
}

.inline-header-mb-sm {
  margin-bottom: 12px;
}

.icon-box-mr {
  margin-right: 12px;
}

.share-accordion-header {
  padding: 16px;
  align-items: center;
  display: flex;
}

.share-header-content {
  flex: 1;
  padding-right: 8px;
}

.accordion-content-pt0 {
  padding-top: 0;
}

.next-shift-inner {
  position: relative;
  z-index: 2;
}

.dropdown-text-lg {
  font-size: 16px;
}

.salary-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #121212;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.salary-nav-btn {
  background: none;
  border: none;
  color: #FF9F00;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 10px;
  font-weight: bold;
  transition: color 0.2s;
}

.salary-nav-btn:disabled {
  color: #444;
  cursor: default;
}

.salary-nav-title {
  font-weight: 700;
  font-size: 14px;
  color: #FFF;
}

.vat-toggle-mb-lg {
  margin-bottom: 20px;
}

.legend-dot-gray {
  background: #555;
}

.legend-dot-green {
  background: #00E676;
}

.legend-dot-purple {
  background: #B233FF;
}

.expected-income-mb {
  margin-bottom: 24px;
}

.income-accordion-header {
  display: flex;
  align-items: center;
  padding: 16px;
}

.income-center-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 24px;
}

.income-total-nomb {
  margin-bottom: 0;
}

.income-chevron-green {
  color: #00E676;
  margin-left: 0;
}

.income-row-compact {
  border-bottom: none;
  padding: 4px 0;
}

.income-label-muted {
  color: #AAA;
  font-size: 14px;
}

.income-value-white {
  font-weight: 700;
  font-size: 14px;
  color: #FFF;
}

.income-row-total {
  padding: 4px 0;
  border-bottom: none;
}

.income-label-total {
  font-weight: 800;
  font-size: 18px;
  color: #FFF;
}

.income-value-total {
  font-weight: 800;
  font-size: 18px;
  color: #00E676;
}

.income-row-mt {
  margin-top: 16px;
}

.emoji-16 {
  font-size: 16px;
}

.summary-card-mt {
  margin-top: 16px;
  margin-bottom: 24px;
}

.accordion-label-white {
  color: #FFF;
}

.accordion-value-orange {
  color: #FF9F00;
}

.rules-bar-initial {
  width: 0%;
}

.desc-muted-sm {
  margin-top: 16px;
  font-size: 13px;
}

#instruction-screen {
  background-color: #000;
}

.onboarding-content-inner {
  width: 100%;
  max-width: 400px;
}

.onboarding-close-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.flex-grow-1 {
  flex-grow: 1;
}

.android-auto-install {
  display: none;
  flex-direction: column;
  flex-grow: 1;
}

.android-auto-install-inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.install-pwa-btn {
  width: 100%;
  cursor: pointer;
}

.later-btn {
  background: #2A2A2A;
  color: #FFF;
  margin-top: 24px;
}

.android-manual-install {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#error-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}

.error-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.error-title {
  color: #FFF;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.error-text {
  color: #AAA;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.error-btn {
  width: 100%;
  max-width: 300px;
  cursor: pointer;
}

.view-initial-hidden {
  display: none;
}

.tl-icon-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.inline-icon-sm {
  vertical-align: middle;
  margin: 0 2px;
}

.text-purple-bold {
  color: #AB47BC;
  font-weight: 700;
}

.text-blue-bold {
  color: #29B6F6;
  font-weight: 700;
}

.text-white-bold {
  color: #FFF;
  font-weight: 700;
}

.tl-calc-strikethrough {
  text-decoration: line-through;
  margin-right: 6px;
}

.empty-visits-msg {
  text-align: center;
  color: #888;
  font-size: var(--fs-caption);
  padding: 20px 0;
}

.clients-skeleton-list { pointer-events: none; }
.clients-skeleton-row .tl-content { padding-bottom: 24px; }
.clients-skeleton-time { width: 38px; height: 12px; margin-left: auto; }
.clients-skeleton-icon { position: relative; z-index: 2; width: 16px; height: 20px; margin-top: 1px; border-radius: 4px; }
.clients-skeleton-name { width: min(130px, 62%); height: 17px; margin-bottom: 10px; }
.clients-skeleton-service { width: min(185px, 82%); height: 14px; margin-bottom: 10px; }
.clients-skeleton-amount { width: 108px; height: 14px; margin-left: auto; }
.clients-skeleton-media { margin-top: 14px; }
.clients-skeleton-photo { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 12px; }
.clients-skeleton-note { width: 76%; height: 14px; margin-top: 10px; }
.clients-skeleton-stat { width: 72px; height: 13px; border-radius: 5px; }
.income-val .clients-skeleton-stat { width: 64px; margin-left: auto; }

.cal-error-msg {
  text-align: center;
  padding: 20px;
  color: #888;
}

.toast-icon-img {
  width: 24px;
  height: 24px;
}

.rules-badge-sm {
  padding: 2px 8px;
  font-size: 13px;
  margin: 0;
}

.rules-stats-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
}

.chart-x-label {
  margin-top: 10px;
  color: #888;
  font-size: 11px;
  font-weight: 500;
}

#view-main,
#view-salary,
#view-clients {
  width: 100%;
  box-sizing: border-box;
}



.section-title,
.vat-toggle-container,
.card,
.bonus-card,
.next-shift-card,
.visits-list-card {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.reveal-card {
  animation: cardEntrance 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  will-change: transform, opacity;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-slide-left {
  animation: slideLeft 0.35s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.page-slide-right {
  animation: slideRight 0.35s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.barber-logout-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #121212;
  border: 1px solid rgba(255, 68, 68, 0.2);
  color: #FF4444;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.barber-logout-btn:active {
  transform: scale(0.97);
  background: rgba(255, 68, 68, 0.1);
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.custom-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-card {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  width: 100%;
  max-width: 320px;
  padding: 24px;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-overlay.active .custom-modal-card {
  transform: translateY(0) scale(1);
}

.custom-modal-title {
  color: #FFF;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.custom-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.custom-modal-btn {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}

.custom-modal-btn:active {
  transform: scale(0.95);
}

.custom-modal-cancel {
  background: #2A2A2A;
  color: #FFF;
}

.custom-modal-confirm {
  background: rgba(255, 68, 68, 0.1);
  color: #FF4444;
  border: 1px solid rgba(255, 68, 68, 0.2);
}

.header-update-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.header-update-btn:active {
  transform: scale(0.9) rotate(45deg);
  background: rgba(255, 255, 255, 0.2);
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 20px 0 30px 0;
  padding-top: 10px;
}

.pg-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 90px;
}

.pg-btn:active:not(:disabled) {
  transform: scale(0.95);
  border-color: var(--color-primary);
}

.pg-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.pg-info {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 80px;
  text-align: center;
}


/* =========================================
   ГРЕЙДЫ - ВЕРХНЯЯ ЧАСТЬ
   ========================================= */

/* Блок информации о периоде */
.grades-period-box {
  background: transparent;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.grades-period-dot {
  color: #FF9F00;
  line-height: 1;
  margin-top: 3px;
}

.grades-period-main {
  color: #F3F4F6;
  font-size: 14px;
  font-weight: 500;
}

.grades-period-main span {
  font-weight: 700;
}

.grades-period-sub {
  color: #9CA3AF;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}


.grade-main-card {
  background: #121212;

  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.grade-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.grade-main-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grade-medal-icon {
  width: 16px;
  height: 16px;
}

.grade-step-pill {
  background: rgba(255, 159, 0, 0.15);
  color: #FF9F00;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.grade-name {
  font-size: 28px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 12px;
}

.grade-progress-container {
  width: 100%;
  display: block;
}

.grade-progress-track {
  height: 8px;
  background: #2A2A2A;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

.grade-progress-fill {
  height: 100%;
  background: #FF9F00;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.grade-top-text {
  display: none;
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
}

.grade-main-card.is-top-grade {
  background: linear-gradient(135deg, #072a15 0%, #021208 100%);
  border-color: rgba(0, 200, 83, 0.3);
}

.grade-main-card.is-top-grade .grade-step-pill {
  display: none;
}

.grade-main-card.is-top-grade .grade-progress-container {
  display: none;
}

.grade-main-card.is-top-grade .grade-top-text {
  display: block;
}

/* =========================================
   ГРЕЙДЫ - КАРТОЧКИ ПОКАЗАТЕЛЕЙ (ШАГ 2)
   ========================================= */

.grade-card {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* Переопределяем стандартный accordion-header, чтобы он не был display: flex; */
.grade-card-header {
  display: block;
  padding: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.grade-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.grade-title {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #F3F4F6;
}

.grade-title .emoji-icon {
  margin-right: 8px;
  font-size: 16px;
}

.grade-value {
  font-size: 22px;
  font-weight: 800;
}

.grade-desc {
  font-size: 13px;
  color: var(--text-week);
  line-height: 1.4;
  margin-bottom: 20px;
}

.grade-desc b {
  color: var(--text-muted);
  font-weight: 600;
}

/* Прогресс-бары внутри карточек */
.grade-progress-area {
  position: relative;
  width: 100%;
}

.grade-progress-top-label {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.grade-progress-track {
  position: relative;
  height: 8px;
  background: #666;
  /* Темно-серый фон трека */
  border-radius: 4px;
  width: 100%;
}

.grade-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 2;
}

.grade-gradient-track {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, #171717 0%, #373737 100%);
  z-index: 1;
  border-radius: 0 4px 4px 0;
  transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.grade-target-line {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: #FFFFFF;
  z-index: 3;
  transform: translateX(-50%);
  /* Центруем ровно по проценту */
  border-radius: 1px;
}

.grade-progress-bottom-labels {
  position: relative;
  height: 16px;
  margin-top: 6px;
}

.grade-target-label {
  position: absolute;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #F3F4F6;
  white-space: nowrap;
}

.grade-max-label {
  position: absolute;
  right: 0;
  font-size: 10px;
  font-weight: 600;
  color: #9CA3AF;
}

/* Иконка-шеврон (по центру) */
.grade-chevron {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  color: #6B7280;
  transition: transform 0.3s ease;
}

.grade-card.expanded .grade-chevron {
  transform: rotate(180deg);
}

.grade-history-content {
  padding-top: 12px;
  /* border-top: 1px solid #2A2A2A; */
}

.grade-history-item {
  /* margin-bottom: 16px; */
  margin-top: 12px;
}

.grade-history-item:last-child {
  margin-bottom: 0;
}

.grade-history-title {
  font-size: 13px;
  color: #9CA3AF;
  margin-bottom: 6px;
}

.grade-history-bottom {
  text-align: right;
  font-size: 10px;
  color: #6B7280;
  margin-top: 4px;
  font-weight: 600;
}

/* Карточка Скилл-чека */
.skill-check-card {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 32px;
}

.skill-header {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #F3F4F6;
  margin-bottom: 12px;
}

.skill-header .emoji-icon {
  margin-right: 8px;
  font-size: 16px;
}

.skill-desc {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 1px solid #2A2A2A;
  margin-bottom: 16px;
}

.skill-action {
  display: flex;
}

.skill-btn {
  background: rgba(255, 159, 0, 0.15);
  /* Темно-оранжевый фон */
  color: #FF9F00;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 8px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Системные цвета для показателей */
.value-orange {
  color: #FF9F00 !important;
}

.value-green {
  color: #00C853 !important;
}

.bg-orange {
  background: #FF9F00 !important;
}

.bg-green {
  background: #00C853 !important;
}

/* =========================================
   ГРЕЙДЫ - ФИНАЛЬНЫЕ ПРАВКИ (ЦВЕТА И ПОЗИЦИИ)
   ========================================= */

.value-green {
  color: #00C853 !important;
}

.bg-green {
  background: #00C853 !important;
}

.grade-progress-track {
  overflow: visible !important;
}

.grade-progress-area .grade-progress-track {
  margin-top: 24px;
}

.grade-progress-top-label {
  position: absolute;
  top: -20px;
  transform: translateX(calc(-1% * var(--percent, 50)));
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  z-index: 5;
  transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.grade-progress-bottom-labels {
  margin-top: 4px;
  height: 14px;
}

/* =========================================
   ЭФФЕКТ ЗОЛОТОГО СВЕЧЕНИЯ ДЛЯ СРЕДНЕГО ГРЕЙДА
   ========================================= */

.grade-main-card.is-gold-grade {
  background: linear-gradient(135deg, #452b00 0%, #1e1201 100%);
  border: 1px solid rgba(255, 159, 0, 0.5) !important;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}


.grade-main-card.is-gold-grade .grade-step-pill {
  background: rgba(249, 115, 22, 0.25) !important;
  color: #FF9F00 !important;
}

.grade-progress-area {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
  padding-top: 12px;
}

.grades-period-box {
  background: #121212 !important;
  border: 1px solid rgba(249, 115, 22, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(249, 115, 22, 0.04) !important;
  position: relative;
  overflow: hidden;
}

.grades-period-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(249, 115, 22, 0) 0%,
      rgba(249, 115, 22, 0.5) 50%,
      rgba(249, 115, 22, 0) 100%) !important;
  z-index: 2;
}


.grades-period-main {
  color: #F3F4F6 !important;
}

.grades-period-sub {
  color: #F3F4F6 !important;
}

#ui-grades-period {
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

/* ЧОК: скроллбар панели детализации */
.chok-detail-panel {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 159, 0, 0.55) transparent;
}

.chok-detail-panel::-webkit-scrollbar {
  width: 4px;
}

.chok-detail-panel::-webkit-scrollbar-track {
  background: transparent;
}

.chok-detail-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 159, 0, 0.55);
  border-radius: 4px;
}

/* ЧОК: Заголовок и интро-баннер */
#ui-chok-main-screen .page-title {
  margin: 18px 0 14px 0;
}

.chok-intro-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #161616;
  border: 1px solid rgba(255, 159, 0, 0.22);
  border-radius: 14px;
  padding: 13px 14px;
  margin-top: 0;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Лейбл перед селектором месяца: 24px сверху (если нет баннера), 6px снизу до бара */
#ui-chok-main-screen .section-label {
  margin-top: 24px;
  margin-bottom: 6px;
}

#ui-chok-main-screen .chok-intro-banner + .section-label {
  margin-top: 0;
}

/* ЧОК: Селектор месяца во всю ширину */
.salary-nav.chok-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.chok-nav .salary-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  color: #FF9F00;
}

.chok-nav .salary-nav-btn:disabled {
  color: #38383A;
  cursor: default;
  pointer-events: none;
}

.chok-nav .salary-nav-btn#ui-chok-prev-btn,
.chok-nav .salary-nav-btn#ui-chok-rating-prev-btn {
  grid-column: 1;
  justify-self: start;
}

.chok-nav .salary-nav-title {
  grid-column: 2;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  color: #FFF;
  width: 100%;
}

.chok-nav .salary-nav-btn#ui-chok-next-btn,
.chok-nav .salary-nav-btn#ui-chok-rating-next-btn {
  grid-column: 3;
  justify-self: end;
}

.chok-intro-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 159, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
}

.chok-intro-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF9F00;
  box-shadow: 0 0 8px rgba(255, 159, 0, 0.8);
}

.chok-intro-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 1px;
}

.chok-intro-title {
  font-size: 14px;
  font-weight: 700;
  color: #F3F4F6;
  line-height: 1.35;
}

.chok-intro-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #9CA3AF;
  line-height: 1.4;
}

.chok-intro-close {
  background: transparent;
  border: none;
  color: #8E8E93;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 1;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.chok-intro-close:hover,
.chok-intro-close:active {
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
}

/* ЧОК: редизайн под стиль первых страниц */
.chok-card {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  margin-top: 12px;
  padding: 16px;
  position: relative;
  z-index: 1;
}

/* Hero-карточка текущего рейтинга: цвет задаётся классом chok-tone-* */
.chok-score-card {
  margin-top: 0 !important;
  background: linear-gradient(
    162deg,
    var(--chok-gradient-from, rgba(170, 170, 170, 0.3)) 0%,
    var(--chok-gradient-to, rgba(170, 170, 170, 0.1)) 100%
  );
  border: 1px solid var(--chok-tone-border, #2A2A2A);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 22px var(--chok-tone-glow, rgba(0, 0, 0, 0));
  z-index: 50;
}

.chok-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.chok-hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chok-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFF;
  padding-top: 0;
  margin: 0;
}

.chok-hero-label-icon {
  font-size: 16px;
  line-height: 1;
}

.chok-hero-score {
  font-size: var(--fs-hero-value);
  font-weight: 800;
  line-height: 1;
  color: var(--chok-tone, #00C853);
  flex-shrink: 0;
}

.chok-hero-status {
  font-size: 24px;
  font-weight: 800;
  color: #FFF;
  margin-top: 0;
  line-height: 1.15;
}

/* Заголовок крупной секции: 32px сверху, 12px снизу до карточки */
.chok-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 800;
  color: #FFF;
  letter-spacing: -0.2px;
  margin: 40px 2px 12px;
}

.chok-tone-purple {
  --chok-tone: #B855D6;
  --chok-gradient-from: rgba(184, 85, 214, 0.3);
  --chok-gradient-to: rgba(184, 85, 214, 0.1);
  --chok-tone-border: rgba(184, 85, 214, 0.2);
  --chok-tone-glow: rgba(184, 85, 214, 0.14);
  --chok-rating-fill-from: rgba(184, 85, 214, 0.5);
  --chok-rating-fill-to: rgba(184, 85, 214, 0.3);
  --chok-rating-bar: rgba(184, 85, 214, 0.2);
}

.chok-tone-green {
  --chok-tone: #00C853;
  --chok-gradient-from: rgba(0, 200, 83, 0.3);
  --chok-gradient-to: rgba(0, 200, 83, 0.1);
  --chok-tone-border: rgba(0, 200, 83, 0.2);
  --chok-tone-glow: rgba(0, 200, 83, 0.14);
  --chok-rating-fill-from: rgba(0, 200, 83, 0.5);
  --chok-rating-fill-to: rgba(0, 200, 83, 0.3);
  --chok-rating-bar: rgba(0, 200, 83, 0.2);
}

.chok-tone-cyan {
  --chok-tone: #00FFD5;
  --chok-gradient-from: rgba(0, 255, 213, 0.3);
  --chok-gradient-to: rgba(0, 255, 213, 0.1);
  --chok-tone-border: rgba(0, 255, 213, 0.2);
  --chok-tone-glow: rgba(0, 255, 213, 0.13);
  --chok-rating-fill-from: rgba(0, 255, 213, 0.5);
  --chok-rating-fill-to: rgba(0, 255, 213, 0.3);
  --chok-rating-bar: rgba(0, 255, 213, 0.2);
}

.chok-tone-orange {
  --chok-tone: #FF9F00;
  --chok-gradient-from: rgba(255, 159, 0, 0.3);
  --chok-gradient-to: rgba(255, 159, 0, 0.1);
  --chok-tone-border: rgba(255, 159, 0, 0.2);
  --chok-tone-glow: rgba(255, 159, 0, 0.13);
  --chok-rating-fill-from: rgba(255, 159, 0, 0.5);
  --chok-rating-fill-to: rgba(255, 159, 0, 0.3);
  --chok-rating-bar: rgba(255, 159, 0, 0.2);
}

.chok-tone-gray {
  --chok-tone: #AAAAAA;
  --chok-gradient-from: rgba(193, 193, 193, 0.3);
  --chok-gradient-to: rgba(144, 144, 144, 0.1);
  --chok-tone-border: rgba(80, 80, 80, 0.2);
  --chok-tone-glow: rgba(0, 0, 0, 0);
  --chok-rating-fill-from: rgba(193, 193, 193, 0.5);
  --chok-rating-fill-to: rgba(144, 144, 144, 0.3);
  --chok-rating-bar: rgba(144, 144, 144, 0.2);
}

/* ЧОК: экран ожидания первой оценки */
.chok-pending-card {
  margin: 0;
  padding: 18px 16px 16px;
  background: #121212;
  border: 2px dashed rgba(255, 159, 0, 0.2);
  border-radius: 16px;
}

.chok-pending-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FF9F00;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.05px;
  text-transform: uppercase;
}

.chok-pending-eyebrow img {
  display: block;
  flex: 0 0 auto;
}

.chok-pending-title {
  margin-top: 18px;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.25px;
}

.chok-pending-copy {
  margin-top: 14px;
  color: #8E8E93;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.chok-pending-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.chok-pending-progress-item {
  min-width: 0;
  text-align: center;
}

.chok-pending-progress-track {
  --chok-pending-opacity: 0;
  position: relative;
  height: 7px;
  overflow: hidden;
  background: #29292B;
  border-radius: 999px;
}

.chok-pending-progress-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FF9F00;
  border-radius: inherit;
  opacity: var(--chok-pending-opacity);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.chok-pending-progress-label {
  display: block;
  margin-top: 8px;
  color: #8E8E93;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.chok-pending-summary {
  cursor: default;
  pointer-events: none;
}

.chok-pending-summary .chok-summary-title {
  color: #FFFFFF;
}

.chok-pending-summary .chok-summary-arrow {
  color: #8E8E93;
}

.chok-pending-section .chok-section-head {
  margin-top: 40px;
}

.chok-pending-history-card {
  padding: 16px 14px 14px;
  background: #121212;
  border-radius: 16px;
}

.chok-pending-history-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  height: 55px;
}

.chok-pending-history-bar {
  display: block;
  min-height: 28px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed #343438;
  border-radius: 999px;
}

.chok-pending-history-card p {
  margin-top: 14px;
  color: #636366;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.chok-pending-rating-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #121212;
  border-radius: 16px;
}

.chok-pending-rank-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #636366;
  background: #1A1A1C;
  border: 1.5px dashed #38383A;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.chok-pending-rating-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chok-pending-rating-card strong {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.chok-pending-rating-card div span {
  color: #636366;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.chok-pending-rating-button {
  width: 100%;
  margin-top: 16px;
}

.chok-pending-rating-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* Стабильные заглушки для всех асинхронных блоков ЧОК. */
.chok-skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(90deg, #252527 25%, #343437 45%, #252527 65%);
  background-size: 220% 100%;
  animation: chokSkeletonShimmer 1.35s ease-in-out infinite;
}

@keyframes chokSkeletonShimmer {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.chok-main-score-skeleton {
  min-height: 185px;
  box-sizing: border-box;
  background: #141416;
  border-color: #2A2A2A;
  box-shadow: none;
}

.chok-skeleton-eyebrow { width: 132px; height: 10px; }
.chok-skeleton-status { width: 116px; height: 27px; margin-top: 9px; }
.chok-skeleton-hero-score { width: 58px; height: 38px; }
.chok-skeleton-progress { width: 100%; height: 10px; margin-top: 48px; border-radius: 999px; }
.chok-skeleton-caption { width: min(220px, 72%); height: 14px; margin-top: 24px; }

.chok-summary-card-skeleton {
  min-height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.chok-skeleton-summary { width: min(250px, 78%); height: 18px; }
.chok-main-history-skeleton { margin-top: 40px; }
.chok-skeleton-section-title { width: 205px; height: 21px; margin: 0 2px 12px; }

.chok-history-card-skeleton {
  min-height: 310px;
  box-sizing: border-box;
  background: #121212;
}

.chok-main-skeleton-bars {
  height: 250px;
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.chok-main-skeleton-bar {
  width: 24px;
  border-radius: 999px;
  flex-shrink: 0;
}

.chok-rating-row-skeleton {
  min-height: 60px;
  pointer-events: none;
}

.chok-skeleton-rank { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; }
.chok-skeleton-name { width: min(170px, 64%); height: 17px; }
.chok-skeleton-name.short { width: min(125px, 48%); }
.chok-skeleton-score { width: 44px; height: 20px; flex-shrink: 0; }

/* Скелетон профиля клиента */
.chok-profile-visit .chok-skeleton-dot {
  position: absolute;
  top: 4px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 159, 0, 0.12);
}

.chok-skeleton-profile-avatar { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; }
.chok-skeleton-client-name { width: 148px; height: 22px; margin-bottom: 9px; }
.chok-skeleton-client-phone { width: 112px; height: 12px; }

.chok-profile-skeleton-tabs { align-self: flex-start; }
.chok-skeleton-tab { width: 88px; height: 26px; border-radius: 6px; }

.chok-skeleton-summary-label,
.chok-skeleton-summary-amount { grid-column: 1 / -1; justify-self: center; }
.chok-skeleton-summary-label { width: 150px; height: 12px; }
.chok-skeleton-summary-amount { width: 190px; height: 34px; margin-top: 8px; }

.chok-skeleton-stat-label { width: 42%; height: 12px; }
.chok-skeleton-stat-value { width: 64px; height: 16px; }

.chok-skeleton-section-label { width: 88px; height: 12px; margin: 0 auto 12px; }
.chok-skeleton-nav-btn { width: 100%; height: 44px; border-radius: 10px; }
.chok-skeleton-nav-title { width: 82%; height: 18px; justify-self: center; border-radius: 6px; }

.chok-skeleton-visit-date { width: 118px; height: 15px; }
.chok-skeleton-visit-amount { width: 68px; height: 15px; }
.chok-skeleton-visit-service { width: 72%; height: 13px; margin-top: 8px; }
.chok-skeleton-visit-photo { width: 120px; height: 120px; flex: 0 0 120px; border-radius: 12px; }
.chok-skeleton-visit-note { width: 92%; height: 40px; margin-top: 12px; border-radius: 4px; }
.chok-skeleton-visit-note.short { width: 64%; height: 13px; margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  .chok-skeleton { animation: none; }
}

/* Прогресс с подписями «вернулось / всего» у концов шкалы */
.chok-progress-wrap {
  position: relative;
  margin-top: 10px;
  padding: 32px 0 25px;
}

.chok-progress {
  height: 10px;
  border-radius: 999px;
  background: #666666;
  overflow: hidden;
  width: 100%;
}

.chok-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--chok-tone, #00C853);
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.chok-progress-cur {
  position: absolute;
  top: 10px;
  transform: translateX(-100%);
  font-size: var(--fs-hint);
  font-weight: 700;
  color: var(--chok-tone, #00C853);
  line-height: 1;
}

.chok-progress-max {
  position: absolute;
  bottom: 2px;
  right: 0;
  font-size: var(--fs-hint);
  font-weight: 500;
  color: #AAAAAA;
  line-height: 1;
}

/* Подпись в стиле grade-desc / shift-location */
.chok-score-caption {
  margin-top: 0;
  font-size: var(--fs-caption);
  font-weight: 400;
  color: #FFF;
  line-height: 1.4;
}

.chok-score-caption b {
  color: inherit;
  font-weight: 400;
}

.chok-status-guide {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.chok-status-guide-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.chok-status-guide-inner::before {
  content: "";
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 12px 0 6px;
}

.chok-score-card.status-guide-open .chok-status-guide {
  grid-template-rows: 1fr;
}

.chok-score-card.status-guide-open .chok-status-guide-inner {
  opacity: 1;
}

.chok-status-guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  color: #AAAAAA;
  font-size: var(--fs-hint);
  font-weight: 400;
  line-height: 1.4;
}

.chok-status-guide-row:last-child {
  margin-bottom: 0;
}

.chok-status-guide-row span {
  white-space: nowrap;
}

.chok-status-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #C7C7CC;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chok-status-toggle .accordion-chevron {
  margin: 0;
  color: inherit;
}

.chok-score-card.status-guide-open .chok-status-toggle .accordion-chevron {
  transform: rotate(180deg);
}

.chok-status-toggle:focus-visible {
  outline: 2px solid #FFF;
  outline-offset: 2px;
  border-radius: 8px;
}

/* ЧОК: Скроллящийся столбчатый график (точный размер и пропорции из Figma) */
.chok-history-card {
  margin-top: 0 !important;
  padding: 22px 0 20px !important;
  border-radius: 18px;
}

.chok-chart-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 30px 16px 0;
}

.chok-css-chart {
  display: flex;
  align-items: stretch;
  height: 268px;
  position: relative;
  overflow: hidden;
}

.chok-css-chart::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28px;
  background: linear-gradient(to right, #121212 15%, rgba(18, 18, 18, 0) 100%);
  pointer-events: none;
  z-index: 5;
}

.chok-card,
.chok-card:active,
.chok-history-card,
.chok-history-card:active {
  transform: none !important;
}

.chok-chart-bars {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-left: 16px;
  padding-right: 16px;
  align-items: flex-end;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.chok-chart-bars::-webkit-scrollbar {
  display: none;
}

.chok-chart-bars,
.chok-chart-group,
.chok-bars-container,
.chok-bar,
.chok-bar-score-top,
.chok-chart-x-label {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.chok-chart-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 52px;
  width: 52px;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
  height: 100%;
}

.chok-bar-score-top {
  font-size: 13px;
  font-weight: 700;
  color: #E5E5EA;
  margin-bottom: 12px;
  text-align: center;
  white-space: nowrap;
  height: 16px;
  line-height: 16px;
  transition: color 0.15s ease;
}

.chok-chart-group.current .chok-bar-score-top,
.chok-bar-score-top.current {
  color: #FFFFFF;
  font-weight: 800;
}

.chok-bars-container {
  display: flex;
  height: 204px;
  align-items: flex-end;
  position: relative;
  width: 26px;
  box-sizing: border-box;
  background: #28282B;
  border-radius: 999px;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.15s ease;
}

.chok-bar {
  width: 100%;
  border-radius: 999px;
  background: #68686D;
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.15s ease;
}

.chok-chart-group:hover .chok-bar {
  background: #78787E;
}

.chok-chart-group.current .chok-bar,
.chok-bar.current {
  background: linear-gradient(180deg, #FFB020 0%, #FF9500 100%) !important;
  box-shadow: 0 0 16px rgba(255, 159, 0, 0.35);
}

.chok-chart-x-label {
  font-size: 12px;
  color: #8E8E93;
  font-weight: 700;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 16px;
  line-height: 16px;
  transition: color 0.15s ease;
}

.chok-chart-group.current .chok-chart-x-label,
.chok-chart-x-label.current {
  color: #FF9F00;
  font-weight: 800;
}

/* ЧОК: «Сводка по клиентам» — карточка-переход к списку клиентов (привязана к hero-карточке с отступом 8px) */
.chok-summary-card {
  margin-top: 20px !important;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.chok-summary-card:active {
  background: #1A1A1C;
  transform: scale(0.99);
}

.chok-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chok-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
}

.chok-summary-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}

.chok-summary-period {
  color: #C7C7CC;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.chok-summary-arrow {
  color: #8E8E93;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.chok-summary-card:hover .chok-summary-arrow,
.chok-summary-card:active .chok-summary-arrow {
  color: #FF9F00;
  transform: translateX(2px);
}

.chok-month-btn {
  margin-left: auto;
  background: #1C1C1E;
  border: 1px solid rgba(255, 159, 0, 0.45);
  border-radius: 10px;
  color: #FF9F00;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 14px rgba(255, 159, 0, 0.15);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

.chok-month-btn:hover,
.chok-month-btn:active {
  background: #FF9F00;
  color: #121212;
  box-shadow: 0 0 18px rgba(255, 159, 0, 0.45);
}

.chok-month-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #1A1A1C;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.chok-month-list-row.current {
  border-color: #FF9F00;
  background: rgba(255, 159, 0, 0.08);
}

.chok-month-list-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #F3F4F6;
}

.chok-month-list-status {
  font-size: 11px;
  color: var(--chok-tone, #8b8b8b);
}

.chok-month-list-score {
  width: 34px;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
}

.chok-month-list-rank {
  width: 30px;
  text-align: right;
  font-size: 11px;
  color: #8b8b8b;
}

.chok-month-list-arrow {
  color: #8b8b8b;
  font-size: 14px;
}

/* ЧОК: рейтинг мастеров */
.chok-section-head {
  font-size: 20px;
  font-weight: 800;
  color: #FFF;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chok-rating-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.chok-rating-gap {
  color: #A1A1A6;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1;
  text-align: center;
  padding: 5px 0;
}

.chok-rating-row {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  background: #000;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* Обычные участники: карточка сливается с фоном, виден только цветной блик слева (макет Figma) */
.chok-rating-list .chok-rating-row:not(.me):not(.chok-rating-row-skeleton)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 56px;
  background: linear-gradient(90deg, var(--chok-rating-bar, rgba(170, 170, 170, 0.2)) 0%, transparent 100%);
  pointer-events: none;
}

.chok-rating-row > * {
  position: relative;
}

/* Карточка «ты тут»: градиент тона 50% -> 30% + бордер тона 20% (спека Figma) */
.chok-rating-row.me {
  background: linear-gradient(
    110deg,
    var(--chok-rating-fill-from, rgba(170, 170, 170, 0.5)) 0%,
    var(--chok-rating-fill-to, rgba(170, 170, 170, 0.3)) 100%
  );
  border-color: var(--chok-tone-border, rgba(170, 170, 170, 0.2));
}

.chok-rating-preview .chok-rating-rank.num {
  visibility: hidden;
}

.chok-me-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF9F00;
  color: #131313;
  font-size: 11px;
  font-weight: 800;
  padding: 0 7px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 1;
}

.chok-rating-rank {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  color: #8E8E93;
}

/* 4+ места: чистый крупный номер без серых квадратных плашек (макет Figma) */
.chok-rating-rank.num {
  width: 34px;
  min-width: 34px;
  height: 34px;
  margin: 0;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: var(--chok-tone, #8E8E93);
}

/* Топ-3: SVG-медали */
.chok-rating-rank.medal {
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin: 0;
}

.chok-rating-rank.medal svg,
.chok-rating-rank.medal img {
  display: block;
}

.chok-rating-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.chok-rating-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.chok-rating-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chok-rating-row.me .chok-rating-name {
  font-weight: 800;
  color: #FFF;
}

.chok-rating-score {
  font-size: 18px;
  font-weight: 700;
  color: #C7C7CC;
  letter-spacing: -0.2px;
  flex-shrink: 0;
}

.chok-rating-row.me .chok-rating-score {
  font-size: 18px;
  font-weight: 800;
  color: #FFF;
}

.chok-rating-movement {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #C7C7CC;
  font-size: 13px;
  font-weight: 600;
}

.chok-rating-row.me .chok-rating-movement {
  color: rgba(255, 255, 255, 0.84);
}

.chok-rating-change {
  font-weight: 800;
}

.chok-rating-change.up {
  color: #22C55E;
}

.chok-rating-change.down {
  color: #FF4D4D;
}

.chok-rating-change.same {
  color: inherit;
}

.chok-rating-new {
  color: #C7C7CC;
}

.chok-show-all-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: #FF9F00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 28px 0 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.chok-show-all-btn:hover,
.chok-show-all-btn:active {
  color: #FFB733;
}

/* ЧОК: Экран полного рейтинга */
#ui-chok-rating-screen .chok-nav {
  margin-bottom: 14px;
}

.chok-rating-all-btn {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #FF9F00;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chok-rating-all-btn:focus-visible,
.chok-rating-group-header:focus-visible {
  outline: 2px solid #FF9F00;
  outline-offset: 3px;
}

.chok-rating-screen {
  gap: 14px;
  margin-bottom: 24px;
}

.chok-rating-screen > .chok-rating-group {
  margin-bottom: 0;
}

.chok-rating-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 3px 12px 3px 3px;
  border: 1px solid var(--chok-tone-border, rgba(142, 142, 147, 0.35));
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--chok-gradient-from, rgba(142, 142, 147, 0.3)),
    var(--chok-gradient-to, rgba(142, 142, 147, 0.1)));
  color: var(--chok-tone, #AAAAAA);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chok-rating-group-icon,
.chok-rating-group-icon img {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.chok-rating-group.chok-tone-purple .chok-rating-group-icon img { filter: hue-rotate(248deg); }
.chok-rating-group.chok-tone-green .chok-rating-group-icon img { filter: hue-rotate(106deg); }
.chok-rating-group.chok-tone-cyan .chok-rating-group-icon img { filter: hue-rotate(132deg); }
.chok-rating-group.chok-tone-gray .chok-rating-group-icon img { filter: grayscale(1); }

.chok-rating-group-title {
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.chok-rating-group-header .chok-rating-group-chevron {
  margin-left: auto;
  color: inherit;
  flex-shrink: 0;
  transform: rotate(180deg);
}

.chok-rating-group:not(.is-open) .chok-rating-group-chevron {
  transform: rotate(0);
}

.chok-rating-group-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease;
}

.chok-rating-group:not(.is-open) .chok-rating-group-body {
  grid-template-rows: 0fr;
}

.chok-rating-group-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.chok-rating-group:not(.is-open) .chok-rating-group-inner {
  opacity: 0;
}

.chok-rating-group-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .chok-rating-group-body,
  .chok-rating-group-inner,
  .chok-rating-group-chevron {
    transition: none;
  }
}

/* Анимация открытия экрана рейтинга: плавный slide-in справа + fade */
.chok-screen-enter {
  animation: chokScreenEnter 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chokScreenEnter {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Анимация закрытия экрана рейтинга: slide-out влево + fade */
.chok-screen-exit {
  animation: chokScreenExit 0.24s cubic-bezier(0.55, 0, 1, 0.45) both;
}

@keyframes chokScreenExit {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

/* Каскадная анимация строк рейтинга: fade-up с stagger-delay */
.chok-row-enter {
  animation: chokRowEnter 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chokRowEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chok-soft {
  animation: chokSoft 0.25s ease both;
}

@keyframes chokSoft {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ЧОК: блокировка прокрутки фона под оверлеем */
body.chok-modal-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
}

/* ЧОК: детализация месяца — оверлей сверху, как подсказка */
.chok-detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 12px;
}

.chok-detail-panel {
  background: #121212;
  border: 1px solid #2A2A2A;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 78vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  margin-top: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ЧОК: Экран списка клиентов за месяц (без модалок) */
.chok-back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.chok-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #FF9F00;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  padding: 6px 0;
  margin-left: 12px;
  transition: opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.chok-back-btn:hover,
.chok-back-btn:active {
  opacity: 0.8;
}

.chok-back-arrow {
  display: block;
  flex: 0 0 auto;
  width: 9px;
  height: 15px;
}

.chok-back-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
  background: transparent;
  border: none;
  color: #C7C7CC;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.chok-back-close-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.chok-back-close-icon {
  display: block;
}

.chok-clients-page-title {
  margin: 4px 0 5px;
}

.chok-observation-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #8E8E93;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.chok-client-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  margin: 8px 0 24px;
  padding: 0 14px;
  border: 1px solid #484848;
  border-radius: 12px;
  background: #0D0D0D;
  color: #77777B;
}

.chok-client-search:focus-within { border-color: #FF9F00; }
.chok-client-search-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.chok-client-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #FFF;
  font: 400 var(--fs-caption)/1.3 Inter, sans-serif;
}
.chok-client-search input::placeholder { color: #69696D; opacity: 1; }
.chok-client-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #FFF;
  font: 400 20px/1 Inter, sans-serif;
  cursor: pointer;
}
.chok-client-search-clear[hidden] { display: none; }

.chok-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  padding: 0;
  border: 1px solid rgba(255, 159, 0, 0.55);
  border-radius: 50%;
  background: rgba(255, 159, 0, 0.1);
  color: #FF9F00;
  font: 700 12px/1 Inter, sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.chok-help-open {
  overflow: hidden;
}

.chok-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0);
  transition: background 0.18s ease;
}

.chok-help-overlay.is-visible {
  background: rgba(0, 0, 0, 0.72);
}

.chok-help-sheet {
  width: min(100%, 560px);
  max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #18181A;
  color: #C7C7CC;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.chok-help-overlay.is-visible .chok-help-sheet {
  opacity: 1;
}

.chok-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.chok-help-head h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.chok-help-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #2C2C2E;
  color: #C7C7CC;
  cursor: pointer;
}

.chok-help-close img {
  display: block;
  flex: 0 0 auto;
}

.chok-help-sheet p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
}

.chok-help-sheet strong {
  color: #FFFFFF;
  font-weight: 700;
}

.chok-help-sheet ul {
  margin: 2px 0 12px;
  padding-left: 20px;
  color: #C7C7CC;
  font-size: 14px;
  line-height: 1.55;
}

.chok-help-confirm {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: #FF9F00;
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* ЧОК: Фильтры списка клиентов — сегментированный бар */
.chok-detail-filters {
  display: flex;
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 5px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chok-detail-filters::-webkit-scrollbar {
  display: none;
}

.chok-filter-pill {
  flex: 1;
  min-width: fit-content;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #F3F4F6;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.chok-filter-pill.active {
  background: #FF9F00;
  color: #131313;
  font-weight: 800;
}

.chok-filter-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chok-filter-dot.dot-green {
  background: #22C55E;
}

.chok-filter-dot.dot-red {
  background: #FF4D4D;
}

.chok-filter-pill.active .chok-filter-dot.dot-green {
  background: #131313;
  box-shadow: none;
}

.chok-filter-pill.active .chok-filter-dot.dot-red {
  background: #131313;
  box-shadow: none;
}

.chok-filter-skeleton {
  flex: 1;
  width: 100%;
  height: 38px;
  border-radius: 10px;
}

/* Клиенты за месяц */
.chok-clients-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0 16px;
}

.chok-clients-empty {
  text-align: center;
  padding: 24px 16px;
  color: #8E8E93;
  font-size: var(--fs-caption);
}

.chok-clients-empty.is-search-empty {
  text-align: left;
  padding: 16px 0 18px;
  line-height: 1.25;
}

.chok-clients-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 16px;
}

.chok-clients-loading-text {
  color: #8E8E93;
  font-size: 13px;
  font-weight: 500;
}

.chok-client-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8E8E93;
  font-size: 13px;
  font-weight: 500;
  padding: 17px 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.chok-client-table-head > :last-child {
  margin-right: 28px;
  text-align: right;
}

.chok-client-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  min-height: 78px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 0;
  width: 100%;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.chok-client-row:focus-visible {
  outline: 2px solid #FF9F00;
  outline-offset: -2px;
}

.chok-client-row:last-child {
  border-bottom: none;
}

.chok-client-row-skeleton {
  min-height: 86px;
  box-sizing: border-box;
  pointer-events: none;
}

.chok-skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.chok-skeleton-client-name { width: min(145px, 82%); height: 18px; }
.chok-skeleton-client-name.short { width: min(105px, 64%); }
.chok-skeleton-phone { width: min(132px, 88%); height: 13px; }
.chok-skeleton-client-meta { width: min(120px, 82%); height: 13px; }
.chok-skeleton-amount { width: 68px; height: 19px; }
.chok-skeleton-chevron { width: 12px; height: 18px; }

.chok-client-avatar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FF9F00;
  color: #FFF;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.chok-client-avatar img,
.chok-profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.chok-client-date {
  font-size: 13px;
  font-weight: 500;
  color: #636366;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chok-client-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chok-client-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

.chok-client-phone {
  color: #E5E5EA;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chok-client-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.chok-client-meta-separator {
  color: #636366;
  flex-shrink: 0;
}

.chok-returns-yes {
  color: #22C55E;
  font-weight: 600;
  flex-shrink: 0;
}

.chok-returns-no {
  color: #FF4D4D;
  font-weight: 600;
  flex-shrink: 0;
}

.chok-client-trailing {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  min-width: 0;
}

.chok-client-amount {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.chok-client-amount.is-zero {
  color: #8E8E93;
}

.chok-client-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #A1A1A6;
}

#ui-chok-client-profile-screen {
  padding-bottom: 48px;
}

.chok-profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 16px;
  margin: 20px 0 30px;
  border: 1px solid rgba(255, 159, 0, 0.2);
  border-radius: 16px;
  background: linear-gradient(162deg, rgba(255, 159, 0, 0.12), rgba(255, 159, 0, 0.04));
}

.chok-profile-avatar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  background: #FF9F00;
  color: #fff;
  font-size: 38px;
  font-weight: 800;
}

.chok-profile-identity-text { min-width: 0; }
.chok-profile-identity h1 { margin: 0 0 5px; color: #fff; font-size: 24px; line-height: 1.15; overflow-wrap: anywhere; }
.chok-profile-identity-text span { color: #8C8C8C; font-size: var(--fs-small); }
.chok-profile-identity.has-important-notes { margin-bottom: 14px; }

.chok-important-notes {
  margin-bottom: 24px;
  border: 1px solid rgba(255, 159, 0, 0.23);
  border-radius: 16px;
  background: linear-gradient(145deg, #211b12 0%, #171719 56%);
  overflow: hidden;
}
.chok-important-preview {
  display: block;
  position: relative;
  width: 100%;
  border: 0;
  padding: 17px 46px 17px 16px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.chok-important-preview-label {
  display: block;
  color: #c89440;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
}
.chok-important-preview-chevron {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #ff9f00;
  font-size: 28px;
  line-height: 1;
}
.chok-important-preview-body {
  display: block;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid #ff9f00;
  color: #fff;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.chok-important-preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 11px;
  padding-left: 12px;
  color: #aaaab0;
  font-size: var(--fs-small);
  line-height: 1.3;
}
.chok-important-preview-more { color: #ffae2a; font-weight: 700; }
.chok-important-preview-empty { display: block; margin-top: 10px; color: #dedee0; font-size: var(--fs-caption); }
.chok-important-add {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 159, 0, 0.55);
  border-radius: 9px;
  background: rgba(255, 159, 0, 0.13);
  color: #ffb53d;
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
}
.chok-important-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: #1b1b1d; }
.chok-important-item p { grid-column: 1; min-width: 0; margin: 0; color: #f0f0f0; font-size: var(--fs-caption); line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chok-important-item-footer { grid-column: 1 / -1; margin-top: 12px; }
.chok-important-item-footer span { color: #a8a8ad; font-size: var(--fs-small); line-height: 1.3; }
.chok-important-item-actions { grid-column: 2; grid-row: 1; align-self: start; display: flex; gap: 8px; }
.chok-important-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 159, 0, 0.55);
  border-radius: 10px;
  background: rgba(255, 159, 0, 0.12);
  cursor: pointer;
}
.chok-important-action-btn img {
  display: block;
  width: 17px;
  height: 17px;
  filter: invert(67%) sepia(82%) saturate(1767%) hue-rotate(359deg) brightness(101%) contrast(103%);
}
.chok-important-action-btn.is-delete { border-color: rgba(255, 68, 68, 0.65); background: rgba(255, 68, 68, 0.12); }
.chok-important-action-btn.is-delete img { filter: invert(36%) sepia(84%) saturate(2013%) hue-rotate(337deg) brightness(104%) contrast(101%); }
.chok-important-action-btn:active { transform: scale(0.95); }
.chok-important-item-meta { position: relative; display: flex; align-items: center; gap: 4px; }
.chok-important-item-meta > span { min-width: 0; }
.chok-important-edit-marker { flex: 0 0 auto; }
.chok-important-edit-marker summary {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ff9f00;
  font-size: var(--fs-caption);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}
.chok-important-edit-marker summary::-webkit-details-marker { display: none; }
.chok-important-edit-marker summary:focus-visible { outline: 2px solid #ff9f00; outline-offset: 2px; }
.chok-important-edit-info {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 2;
  width: max-content;
  max-width: min(280px, 75vw);
  padding: 10px 12px;
  border: 1px solid #454545;
  border-radius: 8px;
  background: #242424;
  color: #f0f0f0;
  font-size: var(--fs-small);
  line-height: 1.45;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 16px #0008;
}
.chok-important-error { margin: 12px 0 0; color: #ff7777; font-size: var(--fs-small); line-height: 1.4; }
.chok-important-error[hidden] { display: none; }
.chok-important-skeleton { display: grid; gap: 12px; padding: 16px; }

body.chok-important-screen-open { overflow: hidden; }
.chok-important-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #000;
  color: #fff;
}
.chok-important-screen-layout {
  width: 100%;
  max-width: 400px;
  min-height: 100dvh;
  box-sizing: border-box;
  margin: 0 auto;
  padding: max(env(safe-area-inset-top), 14px) 16px max(env(safe-area-inset-bottom), 32px);
}
.chok-important-screen-bar { min-height: 36px; }
.chok-important-screen-bar .chok-back-btn { margin-left: 0; font-size: var(--fs-small); }
.chok-important-screen-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 20px; }
.chok-important-screen-title h1 { margin: 0; font-size: 24px; line-height: 1.2; }
.chok-important-screen-title p { margin: 4px 0 0; color: #aaa; font-size: var(--fs-caption); }
.chok-important-screen-list { display: grid; gap: 10px; }
.chok-important-screen-empty { padding: 20px 0; color: #aaa; font-size: var(--fs-caption); }

body.chok-important-editor-open { overflow: hidden; }
.chok-important-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.78);
}
.chok-important-editor {
  width: min(100%, 440px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 22px 20px 20px;
  box-sizing: border-box;
  border: 1px solid #494037;
  border-radius: 18px;
  background: #1b1b1d;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.5);
}
.chok-important-editor h2 { margin: 0; color: #fff; font-size: 22px; line-height: 1.2; }
.chok-important-editor-hint { margin: 10px 0 20px; color: #b0b0b5; font-size: var(--fs-caption); line-height: 1.45; }
.chok-important-editor label { display: block; margin-bottom: 8px; color: #f0f0f0; font-size: var(--fs-caption); font-weight: 700; }
.chok-important-editor textarea {
  display: block;
  width: 100%;
  min-height: 116px;
  resize: vertical;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #4b4b4e;
  border-radius: 10px;
  outline: none;
  background: #111113;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.chok-important-editor textarea:focus { border-color: #ff9f00; }
.chok-important-editor textarea::placeholder { color: #77777d; }
.chok-important-editor-meta { margin-top: 6px; color: #99999f; font-size: var(--fs-small); text-align: right; }
.chok-important-editor-actions { display: flex; gap: 10px; margin-top: 18px; }
.chok-important-editor-actions button { flex: 1; min-height: 44px; border-radius: 10px; font-size: var(--fs-caption); font-weight: 700; cursor: pointer; }
.chok-important-cancel { border: 1px solid #49494d; background: #29292c; color: #fff; }
.chok-important-save { border: 0; background: #ff9f00; color: #111; }
.chok-important-save:disabled { opacity: 0.45; cursor: default; }

.chok-profile-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 2px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.chok-profile-tabs button {
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  background: transparent;
  color: #AAAAAA;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
}

.chok-profile-tabs button.active { background: #FF9F00; color: #000; }

.chok-profile-summary,
.chok-profile-month-summary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.chok-profile-summary { margin-bottom: 36px; overflow: hidden; }
.chok-profile-summary-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  position: relative;
  width: 100%;
  border: 0;
  padding: 20px 42px 20px 16px;
  background: transparent;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.chok-profile-summary-label {
  grid-column: 1 / -1;
  color: #AAAAAA;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.125em;
}

.chok-profile-summary-toggle strong {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.chok-profile-summary-chevron {
  position: absolute;
  right: 14px;
  top: calc(50% - 9px);
  width: 18px;
  height: 18px;
  color: #A1A1A6;
  transition: transform .25s ease;
}

.chok-profile-summary-chevron svg { display: block; }

.chok-profile-summary:not(.is-collapsed) .chok-profile-summary-chevron { transform: rotate(180deg); }
.chok-profile-summary-details { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
.chok-profile-summary.is-collapsed .chok-profile-summary-details { grid-template-rows: 0fr; }
.chok-profile-summary-details-inner { min-height: 0; overflow: hidden; padding: 0 16px 14px; }
.chok-profile-summary.is-collapsed .chok-profile-summary-details-inner { padding-bottom: 0; }

.chok-profile-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chok-profile-stat span { color: #AAAAAA; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.02em; }
.chok-profile-stat strong { color: #fff; font-size: 18px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.chok-profile-month-nav { margin: 6px 0 20px; }
.chok-profile-month-summary { padding: 8px 16px; margin-bottom: 22px; }
.chok-profile-month-summary .chok-profile-stat:first-child { border-top: 0; }

.chok-profile-history .section-label {
  color: #666666;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.0833em;
  text-align: center;
}

.chok-profile-timeline { padding-left: 18px; padding-right: 14px; }
.chok-profile-visit { position: relative; border-left: 2px solid rgba(255, 255, 255, 0.1); padding: 0 0 20px 18px; }
.chok-profile-visit:last-child { border-left-color: transparent; }
.chok-profile-visit.can-edit-media { cursor: pointer; }
.chok-profile-visit.can-edit-media:focus-visible { outline: 2px solid #ff9f00; outline-offset: 3px; border-radius: 4px; }
.chok-profile-visit-photo { cursor: pointer; }
.chok-profile-visit-photo:focus-visible { outline: 2px solid #ff9f00; outline-offset: -3px; }
.visit-media-check-select { width: 100%; margin-bottom: 8px; padding: 10px; border: 1px solid #444; border-radius: 10px; background: #1a1a1a; color: #fff; font: inherit; font-size: var(--fs-caption); }
.chok-profile-visit-dot { position: absolute; top: 4px; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: #FF9F00; box-shadow: 0 0 0 4px rgba(255, 159, 0, 0.25); }
.chok-profile-visit-heading { display: flex; justify-content: space-between; gap: 12px; color: #fff; font-size: 16px; font-weight: 700; }
.chok-profile-visit-heading strong:last-child { flex-shrink: 0; }
.chok-profile-visit-service { margin-top: 4px; color: #AAAAAA; font-size: var(--fs-caption); line-height: 1.4; }
.chok-profile-visit-photos { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.chok-profile-visit-photos::-webkit-scrollbar { display: none; }
.chok-profile-visit-photo { flex: 0 0 120px; width: 120px; height: 120px; border: 0; border-radius: 12px; padding: 0; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.chok-profile-visit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.chok-profile-visit-photo.is-loaded img { opacity: 1; transition: opacity .2s ease; }
.chok-profile-visit-photo.chok-skeleton,
.daily-visit-photo.chok-skeleton { background: linear-gradient(90deg, #252527 25%, #343437 45%, #252527 65%); background-size: 220% 100%; }
.chok-profile-visit-note { margin-top: 12px; border-left: 2px solid rgba(255, 159, 0, 0.6); border-radius: 4px; padding: 6px 8px; background: rgba(255, 255, 255, 0.08); color: #AAAAAA; font-size: var(--fs-caption); line-height: 1.4; white-space: pre-wrap; }
.chok-profile-empty { padding: 8px 0 48px; }
.chok-profile-empty strong { display: block; color: #fff; font-size: 20px; line-height: 1.3; }
.chok-profile-empty p { margin: 10px 0 0; color: #8E8E93; font-size: 15px; line-height: 1.4; }

body.chok-photo-viewer-open { overflow: hidden; }
.chok-photo-viewer { position: fixed; inset: 0; z-index: 100000; background: #000; color: #fff; overscroll-behavior: contain; }
.chok-photo-viewer-layout {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: 600px;
  /* The fixed viewer already fits the viewport inside the scaled app. */
  height: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: max(env(safe-area-inset-top), 12px) 16px max(env(safe-area-inset-bottom), 16px);
}
.chok-photo-viewer-bar { margin: 0 0 18px; min-height: 36px; }
.chok-photo-viewer-bar .chok-back-btn { margin-left: 0; }
.chok-photo-viewer-caption { min-width: 0; margin-bottom: 18px; font-size: 17px; line-height: 1.4; }
.chok-photo-viewer-caption > strong { display: block; font-size: 20px; }
.chok-photo-viewer-caption div { color: #B6B6BB; overflow-wrap: anywhere; }
.chok-photo-viewer-caption div strong { color: #fff; }
.chok-photo-viewer-stage { height: 100%; min-height: 0; margin: 0 -16px; overflow: hidden; touch-action: none; }
.chok-photo-viewer-track { display: flex; width: 100%; height: 100%; transition: transform .28s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.chok-photo-viewer-slide { display: flex; flex: 0 0 100%; align-items: center; justify-content: center; min-width: 0; height: 100%; overflow: hidden; }
.chok-photo-viewer-slide img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; will-change: transform; user-select: none; -webkit-user-drag: none; }
.chok-photo-viewer-controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 48px;
  margin-top: 20px;
  border: 1px solid #444;
  border-radius: 12px;
  background: #1B1B1B;
  text-align: center;
}
.chok-photo-viewer-controls strong { font-size: 18px; }
.chok-photo-viewer-controls button { height: 48px; border: 0; background: transparent; color: #FF9F00; font-size: 22px; cursor: pointer; }
.chok-photo-viewer-controls button:disabled { color: #616166; cursor: default; }

.daily-visit-media { position: relative; margin-top: 12px; }
.daily-visit-media-photo-strip.has-more-photos .daily-visit-media-photos {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
/* В макете фото и заметка — один серый контейнер с пунктирной оранжевой рамкой */
.daily-visit-media.has-media {
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}
.daily-visit-media.can-edit { cursor: pointer; }
.daily-visit-media-photos { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.daily-visit-media-photos::-webkit-scrollbar { display: none; }
.daily-visit-photo { position: relative; flex: 0 0 80px; width: 80px; height: 80px; border: 0; border-radius: 12px; padding: 0; overflow: hidden; background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.daily-visit-photo img { opacity: 0; }
.daily-visit-photo.is-loaded img { opacity: 1; transition: opacity .2s ease; }
.daily-visit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.daily-visit-media-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 29px; padding: 6px 8px; border: 1px dashed rgba(255, 159, 0, .35); border-radius: 8px; background: rgba(255, 255, 255, 0.03); color: #FF9F00; cursor: pointer; }
.daily-visit-media-add svg { display: block; }
.daily-visit-note { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; margin-top: 0; border: 0; padding: 0; background: transparent; color: #AAAAAA; text-align: left; font: inherit; font-size: var(--fs-small); font-weight: 500; cursor: pointer; }
.daily-visit-media.has-photos .daily-visit-note { margin-top: 10px; }
.daily-visit-note span { border-left: 2px solid rgba(255, 159, 0, 0.6); padding-left: 8px; white-space: pre-wrap; }

body.visit-media-editor-open { overflow: hidden; }
.visit-media-editor-overlay { position: fixed; inset: 0; z-index: 99999; }
.visit-media-editor-overlay.is-opening { animation: visitMediaOverlayIn .25s ease; }
.visit-media-editor-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); }
.visit-media-editor-sheet { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 100%; max-width: 600px; height: auto; max-height: var(--visit-media-sheet-max-height, 94dvh); min-height: 0; box-sizing: border-box; margin: 0 auto; border: 1px solid #3A3A3A; border-bottom: 0; border-radius: 24px 24px 0 0; padding: 12px 16px max(18px, env(safe-area-inset-bottom)); background: #1B1B1B; color: #fff; }
.visit-media-editor-overlay.is-opening .visit-media-editor-sheet { animation: visitMediaSheetIn .34s cubic-bezier(.22, 1, .36, 1); }
.visit-media-editor-overlay.is-closing { pointer-events: none; }
.visit-media-editor-overlay.is-closing .visit-media-editor-sheet { transform: translateY(100%) !important; transition: transform .24s ease; }
.visit-media-editor-overlay.is-closing .visit-media-editor-backdrop { opacity: 0; transition: opacity .24s ease; }
@keyframes visitMediaOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes visitMediaSheetIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.visit-media-editor-handle { width: 100%; height: 26px; margin: 0 auto 2px; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
.visit-media-editor-handle::before { content: ""; width: 38px; height: 4px; border-radius: 4px; background: #666; }
.visit-media-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; touch-action: none; }
.visit-media-editor-head h2 { margin: 0; font-size: 21px; line-height: 1.2; }
.visit-media-editor-head button { width: 32px; height: 32px; border: 0; background: transparent; color: #A1A1A6; font-size: 28px; line-height: 1; cursor: pointer; }
.visit-media-editor-head button:disabled { opacity: .4; cursor: default; }
.visit-media-editor-subtitle { margin-top: 5px; color: #9A9A9A; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.visit-media-editor-content { min-height: 0; flex: 1; overflow-y: auto; padding: 20px 0 14px; }
.visit-media-editor-label { display: block; margin-bottom: 9px; color: #89898D; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.visit-media-editor-photos { display: flex; gap: 12px; min-height: 208px; padding: 40px 18px; overflow-x: auto; scrollbar-width: none; }
.visit-media-editor-photos::-webkit-scrollbar { display: none; }
.visit-media-photo, .visit-media-photo-add { position: relative; flex: 0 0 128px; width: 128px; height: 128px; border-radius: 12px; overflow: hidden; background: #252525; }
.visit-media-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visit-media-photo-preparing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; padding: 12px; box-sizing: border-box; color: #aaa; font-size: var(--fs-small); line-height: 1.4; text-align: center; }
.visit-media-photo-remove { position: absolute; top: 6px; right: 6px; z-index: 2; display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border: 0; border-radius: 50%; background: #111; color: #fff; cursor: pointer; }
.visit-media-photo-remove:disabled { opacity: .45; cursor: default; }
.visit-media-photo.is-avatar { box-shadow: 0 0 0 2px #ff9f00, 0 0 12px 3px rgba(255, 159, 0, .6), 0 0 26px 6px rgba(255, 159, 0, .28); }
.visit-media-avatar-choice { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.visit-media-avatar-choice:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.visit-media-avatar-choice:disabled { cursor: default; }
.visit-media-avatar-help { margin: 0 0 18px; color: #aaa; font-size: var(--fs-small); line-height: 1.4; }
.visit-media-photo-add { border: 1px dashed #464646; color: #8E8E93; font-size: 34px; cursor: pointer; }
.visit-media-photo-add:disabled { opacity: .45; cursor: default; }
.visit-media-editor-content textarea { display: block; width: 100%; height: 84px; box-sizing: border-box; border: 1px solid #484848; border-radius: 12px; padding: 12px 14px; resize: none; overflow-y: auto; outline: none; background: #252525; color: #fff; font: inherit; font-size: 15px; line-height: 1.4; }
.visit-media-editor-content textarea { height: 104px; }
.visit-media-editor-content textarea:focus { border-color: #FF9F00; }
.visit-media-editor-content textarea:disabled { opacity: .65; }
.visit-media-note-counter { margin-top: 5px; color: #7D7D82; font-size: 12px; text-align: right; }
.visit-media-note-counter.is-near-limit { color: #FF9F00; }
.visit-media-editor-help { margin: 16px 0 0; color: #89898D; font-size: 13px; line-height: 1.45; }
.visit-media-editor-error { margin: 12px 0 0; color: #FF6B6B; font-size: 13px; }
.visit-media-editor-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; padding-top: 10px; }
.visit-media-editor-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.visit-media-cancel { border: 1px solid #4A4A4A; background: #292929; color: #fff; }
.visit-media-cancel:disabled { opacity: .45; cursor: default; }
.visit-media-save { border: 0; background: #FF9F00; color: #111; }
.visit-media-save:disabled { background: #735016; color: #1A1308; cursor: default; }
.visit-media-spinner { width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: visit-media-spin .7s linear infinite; }
@keyframes visit-media-spin { to { transform: rotate(360deg); } }
.visit-media-editor-overlay.is-keyboard-open .visit-media-editor-actions,
.visit-media-editor-overlay.is-keyboard-open .visit-media-editor-help,
.visit-media-editor-overlay.is-keyboard-open .visit-media-note-counter { display: none; }
.visit-media-editor-overlay.is-keyboard-open .visit-media-editor-content { padding-bottom: 8px; }
.visit-media-confirm-layer { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.visit-media-confirm-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.visit-media-confirm { position: relative; width: min(300px, calc(100% - 48px)); box-sizing: border-box; border: 1px solid #444; border-radius: 21px; padding: 20px; outline: none; background: #222; color: #fff; box-shadow: 0 16px 48px rgba(0, 0, 0, .35); }
.visit-media-confirm h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.2; }
.visit-media-confirm p { margin: 0 0 16px; color: #B2B2B7; font-size: 15px; line-height: 1.35; }
.visit-media-confirm button { display: block; width: 100%; min-height: 45px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.visit-media-confirm-primary { margin-bottom: 8px; border: 0; background: #FF9F00; color: #111; }
.visit-media-confirm-secondary { margin-bottom: 8px; border: 1px solid #4A4A4A; background: #2E2E2E; color: #fff; }

@media (max-width: 360px) {
  .chok-clients-list { padding: 0 12px; }
  .chok-client-row { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 8px; }
  .chok-client-avatar,
  .chok-skeleton-avatar { width: 36px; height: 36px; }
  .chok-client-trailing { gap: 6px; }
  .chok-client-amount { font-size: 14px; }
  .chok-client-meta { flex-wrap: wrap; row-gap: 2px; }
  .chok-client-meta-separator { display: none; }
  .chok-client-table-head > :last-child { margin-right: 22px; }
}
