/* Кружок CRM. Тема статического демо детского центра «Лесенка».
   Системный шрифт, плоские поверхности, без градиентов и внешних ресурсов. */

:root {
  --navy: #25405c;
  --navy-dark: #1b3047;
  --navy-mid: #365675;
  --bg: #f3f5f8;
  --card: #ffffff;
  --text: #1d2433;
  --muted: #4a5568;
  --line: #dce3eb;
  --line-soft: #e8edf2;
  --coral: #c4532f;
  --coral-dark: #a54325;
  --coral-soft: #fbeae3;
  --mustard: #b7861a;
  --mustard-soft: #fbf1d8;
  --blue-soft: #eaf0f6;
  --risk: #8d301b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 36, 51, 0.05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

h1, h2, h3, p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--navy);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-cubes {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.muted-small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.money-coral {
  color: var(--risk);
}

.money-navy {
  color: var(--navy-dark);
}

/* Фокус */

:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

.sidebar :focus-visible,
.login-brand :focus-visible {
  outline-color: #ffffff;
}

.btn:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #ffffff;
}

.sidebar .btn:focus-visible {
  outline-color: #ffffff;
  box-shadow: 0 0 0 2px var(--navy);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

/* Кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.btn-outline {
  background: #ffffff;
  border-color: #c9d4e0;
  color: var(--navy-dark);
}

.btn-outline:hover {
  background: #f5f8fb;
  border-color: var(--navy);
}

.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-quiet:hover {
  background: #e9eef4;
  color: var(--text);
}

.btn-sm {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 12px;
  gap: 5px;
  border-radius: 7px;
}

.btn-sm .icon {
  width: 15px;
  height: 15px;
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.icon-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
  color: var(--muted);
}

.icon-btn:hover {
  background: #f3f6f9;
  color: var(--text);
}

/* Метки. Горчичный цвет используется только здесь. */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.tag-blue {
  background: var(--blue-soft);
  border-color: #cbd8e5;
  color: #27425d;
}

.tag-coral {
  background: var(--coral-soft);
  border-color: #efc8ba;
  color: var(--risk);
}

.tag-gray {
  background: #eef1f5;
  border-color: #d7dfe8;
  color: #465366;
}

.tag-mustard {
  background: var(--mustard-soft);
  border-color: #e4cf97;
  border-left: 3px solid var(--mustard);
  color: #6b4e08;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

/* Поля и формы */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea,
.compact-field select,
.search-field input,
.channel-select {
  width: 100%;
  min-height: 41px;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
}

.field input:disabled,
.field select:disabled {
  background: #f3f5f8;
  color: var(--muted);
  opacity: 1;
}

.field input::placeholder {
  color: #6b7688;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field-wide {
  grid-column: 1 / -1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.check-item,
.check-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafc;
  font-size: 13px;
}

.check-inline {
  padding: 8px 0;
  border: 0;
  background: transparent;
}

.check-item input,
.check-inline input {
  width: 17px;
  height: 17px;
  accent-color: var(--navy);
  flex: 0 0 auto;
}

.form-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.form-error {
  margin: 2px 0 12px;
  padding: 9px 11px;
  border: 1px solid #eab8a7;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--risk);
  font-size: 13px;
  font-weight: 600;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}

.toolbar-slim {
  align-items: center;
}

.search-field {
  position: relative;
  flex: 1 1 320px;
  max-width: 480px;
}

.search-field .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  padding-left: 37px;
}

.compact-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.compact-field select {
  width: auto;
  min-width: 160px;
  min-height: 41px;
}

.toolbar-count {
  margin-left: auto;
  padding-bottom: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

/* Экран входа */

.login {
  min-height: 100vh;
  background: var(--bg);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 100vh;
}

.login-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 46px;
  padding: clamp(28px, 5vw, 64px);
  background: var(--navy);
  color: #ffffff;
}

.login-brand-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-slogan {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.3;
}

.brand-on-dark .brand-name {
  color: #ffffff;
}

.brand-on-dark .brand-slogan {
  color: #c7d5e3;
}

.login-chip {
  flex: 0 0 auto;
  padding: 5px 11px;
  border: 1px solid #738ba4;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-copy {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #b9cbe0;
}

.login-copy h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.login-lead {
  max-width: 570px;
  color: #d3dfeb;
  font-size: 16px;
  line-height: 1.6;
}

.login-features {
  display: grid;
  gap: 11px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.login-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e5edf5;
  font-size: 14px;
}

.login-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--coral);
  color: #ffffff;
  flex: 0 0 auto;
}

.login-check .icon {
  width: 14px;
  height: 14px;
}

.login-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #4a6681;
}

.login-facts div {
  display: flex;
  flex-direction: column;
}

.login-facts strong {
  font-size: 28px;
  line-height: 1;
}

.login-facts span {
  margin-top: 5px;
  color: #b9cbe0;
  font-size: 12px;
}

.login-address {
  color: #b9cbe0;
  font-size: 12px;
  line-height: 1.55;
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: clamp(22px, 4vw, 50px);
  background: #eef2f6;
}

.login-card {
  width: 100%;
  max-width: 430px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 30px rgba(29, 36, 51, 0.07);
}

.login-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.login-sub {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.login-card .field {
  margin-bottom: 15px;
}

.login-hint {
  margin-top: 17px;
  padding: 10px 12px;
  border: 1px solid #cfdae6;
  border-radius: 8px;
  background: #eff4f9;
  color: #2f465e;
  font-size: 12.5px;
}

.login-hint b {
  color: var(--navy-dark);
}

.login-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
}

.login-foot {
  color: #5f6c7d;
  font-size: 11.5px;
}

/* Каркас приложения */

.app {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 248px;
  padding: 23px 14px 17px;
  background: var(--navy);
  color: #ffffff;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 0 8px 19px;
  border-bottom: 1px solid #46617b;
}

.sidebar-brand .logo-cubes {
  width: 42px;
  height: 42px;
}

.sidebar-brand .brand-name {
  font-size: 18px;
}

.sidebar-brand .brand-slogan {
  font-size: 11px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 17px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #dce6f0;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
}

.nav-item .icon {
  width: 19px;
  height: 19px;
  color: #a9bfd5;
}

.nav-item:hover {
  background: var(--navy-dark);
  color: #ffffff;
}

.nav-item:hover .icon {
  color: #ffffff;
}

.nav-item.is-active {
  background: var(--navy-dark);
  border-color: #46627e;
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--coral);
}

.nav-item.is-active .icon {
  color: #ffffff;
}

.nav-count {
  min-width: 21px;
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: #46617b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.nav-item.is-active .nav-count {
  background: #ffffff;
  color: var(--navy-dark);
}

.nav-count.is-danger {
  background: var(--coral);
  color: #ffffff;
}

.sidebar-foot {
  margin-top: auto;
  padding: 20px 8px 0;
  border-top: 1px solid #46617b;
}

.sidebar-note {
  color: #c1d0df;
  font-size: 11px;
  line-height: 1.5;
}

.sidebar-note b {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 11.5px;
}

.sidebar-version {
  margin-top: 10px;
  color: #b8c8d8;
  font-size: 10.5px;
}

.workspace {
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.topbar-context {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.topbar-label {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topbar-date {
  font-size: 14px;
  font-weight: 650;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-reset {
  font-size: 12.5px;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dce7f1;
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.topbar-user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.topbar-user-text b {
  font-size: 12.5px;
}

.topbar-user-text span {
  color: var(--muted);
  font-size: 11px;
}

.btn-logout {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
}

.main {
  width: 100%;
  padding: 26px 30px 54px;
}

.main:focus {
  outline: none;
}

/* Заголовки и каркас экранов */

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

.page-head-copy {
  min-width: 0;
}

.page-head h1 {
  font-size: clamp(25px, 2.4vw, 33px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.page-sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.head-total {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.head-total b {
  color: var(--text);
}

.week-nav {
  display: flex;
  gap: 6px;
}

.panel {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.panel + .panel {
  margin-top: 20px;
}

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

.panel-head h2 {
  font-size: 16px;
  line-height: 1.3;
}

.panel-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.panel-danger {
  border-color: #e9bdaf;
}

.panel-danger .panel-head h2 {
  color: var(--risk);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.detail-grid .panel + .panel {
  margin-top: 0;
}

.detail-grid .panel:nth-child(4) {
  grid-column: 1 / -1;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.summary-grid .panel {
  display: flex;
  flex-direction: column;
}

.summary-grid .panel + .panel {
  margin-top: 0;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.report-grid .panel {
  display: flex;
  flex-direction: column;
}

.report-grid .panel + .panel {
  margin-top: 0;
}

/* Показатели */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.kpi-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi {
  display: flex;
  flex-direction: column;
  min-height: 133px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.kpi-coral .kpi-value {
  color: var(--coral);
}

.kpi-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kpi-label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.015em;
}

.kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #eef2f6;
  color: var(--navy);
  flex: 0 0 auto;
}

.kpi-icon .icon {
  width: 16px;
  height: 16px;
}

.kpi-coral .kpi-icon {
  background: var(--coral-soft);
  color: var(--risk);
}

.kpi-value {
  margin-top: 8px;
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.kpi-note {
  margin-top: auto;
  padding-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

/* Списки на сводке */

.stack-list {
  display: flex;
  flex-direction: column;
}

.list-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.list-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.list-row:last-child {
  padding-bottom: 0;
}

.time-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #eef3f8;
  color: var(--navy-dark);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
}

.time-chip small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 650;
}

.list-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.list-main b {
  font-size: 13.5px;
  line-height: 1.35;
}

.list-main span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.list-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 46%;
}

.deadline {
  color: var(--risk);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.task-list {
  display: flex;
  flex-direction: column;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}

.task-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.task-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 1px solid #b8c8d8;
  border-radius: 6px;
  background: #ffffff;
  color: transparent;
  flex: 0 0 auto;
}

.task-check:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.task-check .icon {
  width: 14px;
  height: 14px;
}

.task-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.task-main b {
  font-size: 12.5px;
  line-height: 1.35;
}

.task-main span {
  color: var(--muted);
  font-size: 10.5px;
}

.task-row > .tag {
  flex: 0 0 auto;
}

/* Таблицы */

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fb;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data th:first-child {
  border-radius: 8px 0 0 8px;
}

.data th:last-child {
  border-radius: 0 8px 8px 0;
}

.data td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 12.5px;
  line-height: 1.45;
}

.data tr:last-child td {
  border-bottom: 0;
}

.data td:first-child {
  padding-left: 10px;
}

.data td:last-child {
  padding-right: 10px;
}

.cell-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy-dark);
  font-weight: 750;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #a9bdd1;
  text-underline-offset: 3px;
}

.cell-link:hover {
  color: var(--coral-dark);
  text-decoration-color: var(--coral-dark);
}

.cell-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.4;
}

.cell-line {
  display: block;
  font-size: 12px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.empty-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px;
  border: 1px dashed #cbd6e2;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.empty-cell b {
  color: var(--text);
  font-size: 13px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 118px;
  padding: 18px;
  border: 1px dashed #cbd6e2;
  border-radius: 10px;
  background: #fafbfd;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.empty-state b {
  color: var(--text);
  font-size: 13.5px;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: #eaf0f6;
  color: var(--navy);
}

.empty-icon .icon {
  width: 17px;
  height: 17px;
}

.mini-track {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 4px;
  border-radius: 999px;
  background: #e5ebf2;
  overflow: hidden;
}

.mini-track i {
  display: block;
  height: 100%;
  background: var(--navy);
  border-radius: inherit;
}

.remain {
  min-width: 82px;
}

.remain b {
  display: block;
  font-size: 11.5px;
  white-space: nowrap;
}

.person-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e8eef5;
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}

/* Предупреждения и заметки */

.inline-alert,
.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #ecc3b5;
  border-left: 4px solid var(--coral);
  border-radius: 9px;
  background: #fdf1ec;
  color: #4f2a1e;
  font-size: 12.5px;
}

.inline-alert > .icon,
.inline-note > .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--risk);
  flex: 0 0 auto;
}

.inline-alert .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.inline-alert-mustard {
  border-color: #ddc98d;
  border-left-color: #8f7430;
  background: #fdf8ea;
  color: #4d3b0e;
}

.inline-alert-mustard .icon {
  color: #6b4e08;
}

.inline-note {
  border-color: #cfdae6;
  border-left-color: var(--navy);
  background: #eef3f8;
  color: #2f465e;
}

.inline-note .icon {
  color: var(--navy);
}

.formulas {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.formulas p + p {
  margin-top: 4px;
}

.formulas b {
  color: var(--text);
}

/* Карточка ребёнка */

.profile-strip,
.journal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  overflow: hidden;
}

.profile-strip > div,
.journal-meta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 13px 15px;
  background: #ffffff;
}

.profile-strip span,
.journal-meta span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-strip b,
.journal-meta b {
  font-size: 13px;
  line-height: 1.35;
}

.parent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.parent-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f9fafc;
}

.parent-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.parent-copy b {
  font-size: 13px;
}

.parent-copy > span {
  color: var(--muted);
  font-size: 11.5px;
  overflow-wrap: anywhere;
}

/* Расписание */

.week-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}

.week-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot-today {
  background: var(--navy);
}

.legend-dot-conflict {
  background: var(--coral);
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.day-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff;
  overflow: hidden;
}

.day-column.is-today {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.day-head {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  background: #f6f8fb;
}

.day-head span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-head strong {
  font-size: 19px;
  line-height: 1;
}

.day-head small {
  margin-left: auto;
  color: var(--muted);
  font-size: 9.5px;
}

.is-today .day-head {
  background: var(--navy);
  border-bottom-color: var(--navy-dark);
}

.is-today .day-head span,
.is-today .day-head small {
  color: #d8e4ef;
}

.is-today .day-head strong {
  color: #ffffff;
}

.day-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  min-height: 92px;
}

.day-empty {
  padding: 15px 4px;
  color: #6b7688;
  font-size: 10.5px;
  text-align: center;
}

.session-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  padding: 9px;
  border: 1px solid #d8e1ea;
  border-left: 3px solid var(--navy);
  border-radius: 8px;
  background: #f9fafc;
  color: var(--text);
  font-size: 11px;
  text-align: left;
}

.session-card:hover {
  border-color: var(--navy);
  background: #f1f5f9;
}

.session-card.is-conflict {
  border-color: #e5ad9a;
  border-left-color: var(--coral);
  background: #fdf1ec;
}

.session-time {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 750;
  white-space: nowrap;
}

.session-name {
  font-size: 12px;
  line-height: 1.3;
}

.session-meta {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.session-load {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.session-load .mini-track {
  margin-top: 0;
  height: 4px;
}

.session-load > span {
  white-space: nowrap;
}

.conflict-note {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin-top: 3px;
  color: var(--risk);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
}

.conflict-note .icon {
  width: 11px;
  height: 11px;
  margin-top: 1px;
}

/* Журнал */

.journal-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  padding: 11px 13px;
  border: 1px solid #cfdae6;
  border-radius: 9px;
  background: #eef3f8;
  color: #2f465e;
  font-size: 12.5px;
}

.journal-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--navy);
  flex: 0 0 auto;
}

.status-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 225px;
}

.status-btn {
  min-height: 31px;
  padding: 4px 8px;
  border: 1px solid #c7d2df;
  border-radius: 7px;
  background: #ffffff;
  color: #33465a;
  font-size: 10.5px;
  font-weight: 700;
}

.status-btn:hover {
  border-color: var(--navy);
}

.status-btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
}

.status-btn.status-excused.is-active {
  border-color: #758a9f;
  background: #e8eef5;
  color: #1d3047;
}

.status-btn.status-absent.is-active {
  border-color: var(--coral);
  background: var(--coral);
  color: #ffffff;
}

.journal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.journal-footer .btn {
  margin-left: auto;
}

/* Абонементы и оплаты */

.data .cell-line,
.data .cell-sub {
  overflow-wrap: anywhere;
}

.channel-select {
  min-width: 105px;
  min-height: 34px;
  padding: 5px 8px;
  font-size: 12px;
}

/* Отработки, отчёты */

.bar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bar-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.bar-copy > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bar-copy b {
  font-size: 12.5px;
}

.bar-copy small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10.5px;
}

.bar-copy strong {
  font-size: 12px;
  white-space: nowrap;
}

.bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e7edf3;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
}

.bar-fill.bar-coral {
  background: var(--coral);
}

.bar-fill.bar-navy {
  background: var(--navy);
}

.report-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.report-total b {
  color: var(--text);
  font-size: 17px;
}

.trial-report {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 210px;
}

.col-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 50px;
  height: 188px;
  padding: 14px 8px 0;
  border-bottom: 1px solid var(--line);
}

.column-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  width: 82px;
  height: 100%;
}

.column-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.column {
  width: 54px;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: var(--navy);
}

.column-coral {
  background: var(--coral);
}

.column-gray {
  background: #8fa3b8;
}

.column-label {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
}

.conversion {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-top: 2px;
}

.conversion strong {
  color: var(--navy-dark);
  font-size: 26px;
  line-height: 1;
}

.conversion span {
  color: var(--muted);
  font-size: 11.5px;
}

.report-note {
  margin-top: 20px;
}

.report-note h2 {
  margin-bottom: 6px;
  font-size: 15px;
}

.report-note p {
  color: var(--muted);
  font-size: 12px;
}

/* Модальные окна и уведомления */

.modal-root {
  position: fixed;
  z-index: 100;
  inset: 0;
}

.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(17, 27, 40, 0.62);
  overflow-y: auto;
}

.modal {
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  border: 1px solid #cbd6e2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(13, 22, 34, 0.28);
  overflow-y: auto;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 21px 15px;
  border-bottom: 1px solid var(--line-soft);
}

.modal-head h2 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.modal-head p:not(.eyebrow) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

.modal-body {
  padding: 19px 21px;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 21px 17px;
  border-top: 1px solid var(--line-soft);
}

.toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 15px;
  border: 1px solid #46617b;
  border-left: 4px solid var(--coral);
  border-radius: 9px;
  background: var(--navy-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(17, 27, 40, 0.25);
  animation: toast-in 0.18s ease-out;
}

.toast-danger {
  background: #7c2b18;
  border-color: #a54325;
  border-left-color: #f0b6a5;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптив */

@media (max-width: 1320px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .summary-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid .panel:nth-child(4) {
    grid-column: auto;
  }

  .detail-grid .panel + .panel,
  .summary-grid .panel + .panel {
    margin-top: 0;
  }

  .kpi-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-user-text {
    display: none;
  }
}

@media (max-width: 980px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: 430px;
    gap: 32px;
    padding: 30px;
  }

  .login-copy h1 {
    max-width: 720px;
    font-size: clamp(31px, 6vw, 45px);
  }

  .login-panel {
    padding: 32px 22px 42px;
  }

  .login-card {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 13px 14px 12px;
    overflow: visible;
  }

  .sidebar-brand {
    padding: 0 2px 11px;
  }

  .sidebar-brand .logo-cubes {
    width: 37px;
    height: 37px;
  }

  .sidebar-brand .brand-name {
    font-size: 17px;
  }

  .sidebar-brand .brand-slogan {
    font-size: 10.5px;
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 11px;
  }

  .nav-item {
    flex: 1 1 96px;
    width: auto;
    min-height: 39px;
    padding: 7px 8px;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .nav-item .icon {
    width: 16px;
    height: 16px;
  }

  .nav-item.is-active {
    box-shadow: inset 0 -3px 0 var(--coral);
  }

  .nav-count {
    min-width: 18px;
    padding: 1px 5px;
    font-size: 10px;
  }

  .sidebar-foot {
    display: none;
  }

  .workspace {
    margin-left: 0;
  }

  .topbar {
    min-height: 62px;
    padding: 10px 16px;
  }

  .main {
    padding: 20px 16px 44px;
  }

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

  .profile-strip,
  .journal-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .page-actions {
    justify-content: flex-start;
  }

  .kpi-grid,
  .kpi-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi {
    min-height: 122px;
  }

  .table-wrap {
    overflow: visible;
  }

  .data,
  .data thead,
  .data tbody,
  .data tr,
  .data td {
    display: block;
    width: 100%;
  }

  .data thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .data tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .data tr {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
  }

  .data tr[hidden] {
    display: none;
  }

  .data td,
  .data td:first-child,
  .data td:last-child {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12.5px;
  }

  .data td:last-child {
    border-bottom: 0;
  }

  .data td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .data td[colspan] {
    display: block;
    padding: 0;
  }

  .data td[colspan]::before {
    display: none;
  }

  .empty-cell {
    padding: 16px;
  }

  .data .status-group {
    min-width: 0;
  }

  .data .row-actions {
    justify-content: flex-start;
  }

  .list-row {
    flex-wrap: wrap;
  }

  .list-main {
    flex-basis: calc(100% - 72px);
  }

  .list-actions {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    padding-left: 69px;
  }

  .task-row {
    flex-wrap: wrap;
  }

  .task-main {
    flex-basis: calc(100% - 35px);
  }

  .task-row > .tag {
    margin-left: 33px;
  }

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

  .table-wrap table.data {
    min-width: 0;
  }

  .modal-backdrop {
    align-items: flex-start;
    padding: 12px;
  }

  .modal {
    max-height: calc(100dvh - 24px);
  }
}

@media (max-width: 620px) {
  .login-brand {
    min-height: 0;
    padding: 23px 18px 27px;
    gap: 25px;
  }

  .login-facts {
    gap: 20px;
    margin-top: 24px;
    padding-top: 17px;
  }

  .login-facts strong {
    font-size: 24px;
  }

  .login-copy h1 {
    font-size: 31px;
  }

  .login-lead {
    font-size: 14px;
  }

  .login-features li {
    font-size: 13px;
  }

  .login-panel {
    padding: 22px 14px 32px;
  }

  .login-card {
    padding: 21px 17px;
    border-radius: 14px;
  }

  .login-card h2 {
    font-size: 24px;
  }

  .login-address {
    display: none;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .topbar-context {
    flex: 1 1 180px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .topbar-reset {
    padding: 7px 9px;
  }

  .topbar-reset span {
    display: none;
  }

  .topbar-user {
    padding-left: 8px;
  }

  .avatar {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .main {
    padding: 17px 12px 40px;
  }

  .page-head h1 {
    font-size: 25px;
  }

  .page-sub {
    font-size: 13px;
  }

  .kpi-grid,
  .kpi-grid-four {
    gap: 9px;
  }

  .kpi {
    min-height: 116px;
    padding: 12px;
  }

  .kpi-value {
    font-size: 23px;
  }

  .kpi-note {
    font-size: 10px;
  }

  .panel {
    padding: 14px;
  }

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

  .day-body {
    min-height: 55px;
  }

  .day-empty {
    padding: 10px;
  }

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

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

  .profile-strip,
  .journal-meta {
    grid-template-columns: 1fr;
  }

  .profile-strip > div,
  .journal-meta > div {
    padding: 10px 12px;
  }

  .toolbar {
    align-items: stretch;
  }

  .search-field {
    flex-basis: 100%;
    max-width: none;
  }

  .compact-field {
    justify-content: space-between;
    width: 100%;
  }

  .compact-field select {
    flex: 1 1 auto;
    min-width: 0;
  }

  .toolbar-count {
    margin-left: 0;
    padding-bottom: 0;
  }

  .col-chart {
    gap: 30px;
  }

  .status-group {
    min-width: 0;
  }

  .status-btn {
    flex: 1 1 auto;
  }

  .inline-alert {
    flex-wrap: wrap;
  }

  .inline-alert .btn {
    margin-left: 28px;
  }

  .modal-head,
  .modal-body,
  .modal-foot {
    padding-left: 15px;
    padding-right: 15px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .login-brand-top {
    align-items: flex-start;
  }

  .brand-slogan {
    max-width: 190px;
  }

  .login-copy h1 {
    font-size: 28px;
  }

  .login-facts {
    justify-content: space-between;
  }

  .nav-item {
    flex: 1 1 82px;
    font-size: 11.5px;
    min-height: 37px;
    padding: 6px;
  }

  .nav-item .icon {
    width: 15px;
    height: 15px;
  }

  .nav-count {
    display: none;
  }

  .topbar-user-text {
    display: none;
  }

  .btn-logout {
    padding: 6px 8px;
  }

  .kpi-grid,
  .kpi-grid-four {
    grid-template-columns: 1fr;
  }

  .kpi {
    min-height: 100px;
  }

  .kpi-note {
    margin-top: 4px;
  }

  .data td,
  .data td:first-child,
  .data td:last-child {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 7px;
  }

  .list-actions {
    padding-left: 0;
  }

  .list-main {
    flex-basis: calc(100% - 70px);
  }

  .week-nav {
    width: 100%;
  }

  .week-nav .btn {
    flex: 1 1 auto;
  }

  .col-chart {
    gap: 20px;
  }

  .column-item {
    width: 68px;
  }

  .column {
    width: 46px;
  }

  .head-total {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
