/* Панель администратора Lumière (Telegram Mini App).
   Классы — БЭМ. Цвета и шрифты — только через переменные ниже. */

:root {
  --bg: #f4f0f5;
  --surface: #ffffff;
  --surface-2: #ece5ee;
  --ink: #2a1a2e;
  --muted: #7b6c80;
  --line: #e2d9e5;
  --accent: #b8325a;
  --accent-ink: #ffffff;
  --gold: #b98a2c;
  --ok: #2f7f65;
  --warn: #a8720f;

  /* Оттенки мастеров — как флаконы лака на полке */
  --tint-0: #d9788f;
  --tint-1: #9a86d6;
  --tint-2: #e3a15c;
  --tint-3: #6fae98;
  --tint-4: #6fa3d6;
  --tint-5: #b56fb8;

  --font-display: "Yeseva One", "Georgia", serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --radius: 14px;
  --radius-s: 9px;
  --gutter: 16px;
  --px-per-min: 1.4px;
}

:root[data-theme="dark"] {
  --bg: #1a1220;
  --surface: #251a2c;
  --surface-2: #2f2237;
  --ink: #f3eaf5;
  --muted: #a898ae;
  --line: #3a2b42;
  --accent: #e86a90;
  --accent-ink: #1a1220;
  --gold: #e6bf66;
  --ok: #6cc4a4;
  --warn: #e6b24d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- app ---------- */

.app {
  min-height: 100dvh;
  /* --tabs-h выставляет app.js по реальной высоте панели вкладок */
  padding-bottom: var(--tabs-h, 0px);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- masthead ---------- */

.masthead {
  padding: 18px var(--gutter) 14px;
}

.masthead__salon {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.masthead__note {
  margin: 8px 0 0;
  color: var(--muted);
  min-height: 1.4em;
}

.masthead__note strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- view ---------- */

.view {
  padding: 0 var(--gutter);
}

.view--busy {
  opacity: 0.55;
}

/* ---------- state (пусто, загрузка, ошибка) ---------- */

.state {
  margin: 28px 0;
  padding: 22px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.state__title {
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 600;
}

.state__text {
  margin: 0;
}

.state--loading {
  border-color: transparent;
}

@keyframes pulse {
  50% { opacity: 0.45; }
}

/* ---------- block (раздел с заголовком) ---------- */

.block {
  margin-top: 26px;
}

.block--first {
  margin-top: 4px;
}

.block__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.block__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.block__count {
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.block__more {
  margin-top: 10px;
}

.block__hint {
  margin: 8px 2px 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- ribbon (лента дня: загрузка мастеров одной полосой) ---------- */

.ribbon {
  display: block;
  width: 100%;
  padding: 14px 14px 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.ribbon__rows {
  position: relative;
  display: grid;
  gap: 7px;
}

.ribbon__row {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 10px;
}

.ribbon__name {
  overflow: hidden;
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ribbon__track {
  position: relative;
  height: 12px;
  border-radius: 3px;
  background: var(--surface-2);
}

.ribbon__track--off {
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 4px, transparent 4px 8px);
}

.ribbon__seg {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: var(--tint);
}

.ribbon__seg--pending {
  background: repeating-linear-gradient(90deg, var(--tint) 0 3px, transparent 3px 5px);
  outline: 1px solid var(--tint);
  outline-offset: -1px;
}

.ribbon__seg--done {
  opacity: 0.4;
}

.ribbon__now {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
  box-shadow: 0 0 10px 1px var(--gold);
  border-radius: 2px;
  pointer-events: none;
}

.ribbon__scale {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0 86px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

/* ---------- request (запись ждёт решения) ---------- */

.request {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border-left: 4px solid var(--tint, var(--accent));
}

.request + .request {
  margin-top: 10px;
}

.request__when {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.request__service {
  margin: 3px 0 2px;
  font-size: 16px;
  font-weight: 600;
}

.request__who {
  color: var(--muted);
}

.request__phone {
  white-space: nowrap;
}

.request__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

/* ---------- visit (строка записи в списке) ---------- */

.visits {
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.visit {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}

.visit:first-child {
  border-top: 0;
}

.visit__time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.visit__service {
  display: block;
  font-weight: 500;
}

.visit__who {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.visit__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tint);
}

/* ---------- btn ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  font-weight: 600;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--ghost {
  background: none;
  border-color: var(--line);
}

.btn--danger {
  background: none;
  border-color: var(--line);
  color: var(--accent);
}

.btn--wide {
  width: 100%;
}

/* ---------- strip (лента дат) ---------- */

.strip {
  display: flex;
  gap: 6px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 2px var(--gutter) 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip__day {
  position: relative;
  flex: 0 0 46px;
  padding: 7px 0 9px;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  text-align: center;
  cursor: pointer;
}

.strip__weekday {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.strip__date {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
}

.strip__day--off .strip__date {
  color: var(--muted);
}

.strip__day--today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
}

.strip__day--active {
  background: var(--ink);
}

.strip__day--active .strip__weekday,
.strip__day--active .strip__date {
  color: var(--bg);
}

/* ---------- chips (фильтр по мастеру) ---------- */

.chips {
  display: flex;
  gap: 6px;
  margin: 0 calc(var(--gutter) * -1) 12px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: none;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
}

.chips__item--active {
  border-color: var(--ink);
  background: var(--surface);
  font-weight: 600;
}

.chips__swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tint);
}

/* ---------- book (журнал записи: сетка времени по мастерам) ---------- */

.book {
  margin: 0 calc(var(--gutter) * -1);
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.book__grid {
  display: grid;
  grid-template-columns: 46px repeat(var(--cols), minmax(138px, 1fr));
  min-width: min-content;
}

.book__corner,
.book__head {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.book__corner {
  left: 0;
  z-index: 4;
}

.book__head {
  border-left: 1px solid var(--line);
}

.book__master {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
}

.book__swatch {
  flex: 0 0 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tint);
}

.book__load {
  margin-top: 2px;
  padding-left: 16px;
  font-size: 12px;
  color: var(--muted);
}

.book__ruler {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
}

.book__hour {
  height: calc(60 * var(--px-per-min));
  padding: 0 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  text-align: right;
  color: var(--muted);
  transform: translateY(-5px);
}

.book__hour:first-child {
  transform: translateY(3px);
}

.book__col {
  position: relative;
  border-left: 1px solid var(--line);
}

.book__lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      var(--line) 0 1px,
      transparent 1px calc(30 * var(--px-per-min)),
      color-mix(in srgb, var(--line) 45%, transparent) calc(30 * var(--px-per-min)) calc(30 * var(--px-per-min) + 1px),
      transparent calc(30 * var(--px-per-min) + 1px) calc(60 * var(--px-per-min))
    );
  pointer-events: none;
}

.book__off {
  position: absolute;
  left: 0;
  right: 0;
  background: repeating-linear-gradient(
    135deg,
    color-mix(in srgb, var(--muted) 14%, transparent) 0 5px,
    transparent 5px 10px
  );
}

.book__off-label {
  position: sticky;
  top: 60px;
  display: block;
  padding: 10px 8px;
  font-size: 12px;
  color: var(--muted);
}

.book__now {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 2px;
  margin-top: -1px;
  background: var(--gold);
  box-shadow: 0 0 12px 1px var(--gold);
  pointer-events: none;
}

.book__now-label {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 46px;
  margin-top: -8px;
  padding-right: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  color: var(--gold);
  background: var(--surface);
}

/* ---------- slot (запись в сетке) ---------- */

.slot {
  position: absolute;
  left: 4px;
  right: 4px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5px 7px;
  overflow: hidden;
  border: 0;
  border-left: 3px solid var(--tint);
  border-radius: 6px;
  background: color-mix(in srgb, var(--tint) 24%, var(--surface));
  text-align: left;
  cursor: pointer;
}

.slot__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}

.slot__service {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.slot__client {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}

.slot--pending {
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--tint) 30%, var(--surface)) 0 6px,
      color-mix(in srgb, var(--tint) 12%, var(--surface)) 6px 12px
    );
  outline: 1px dashed var(--tint);
  outline-offset: -1px;
}

.slot__flag {
  display: block;
  margin-bottom: 1px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warn);
}

.slot--completed {
  opacity: 0.55;
}

/* ---------- sheet (нижняя панель) ---------- */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
}

.sheet[hidden] {
  display: none;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 24, 0.55);
}

.sheet__panel {
  position: relative;
  width: 100%;
  max-height: 88dvh;
  padding: 22px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  background: var(--surface);
}

.sheet__close {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.sheet__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.sheet__eyebrow {
  margin: 0 40px 4px 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.sheet__title {
  margin: 0 40px 14px 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.15;
}

.sheet__actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.sheet__actions--pair {
  grid-template-columns: 1fr 1fr;
}

@keyframes fade {
  from { opacity: 0; }
}

@keyframes rise {
  from { transform: translateY(24px); opacity: 0; }
}

/* ---------- facts (пары «название — значение») ---------- */

.facts {
  margin: 0;
}

.facts__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.facts__row:first-child {
  border-top: 0;
}

.facts__name {
  color: var(--muted);
}

.facts__value {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.facts__value a {
  color: var(--accent);
  text-decoration: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status--pending::before { background: var(--warn); }
.status--confirmed::before { background: var(--ok); }
.status--completed::before { background: var(--muted); }

/* ---------- seg (переключатель периода) ---------- */

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
}

.seg__item {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 13.5px;
  cursor: pointer;
}

.seg__item--active {
  background: var(--surface);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(20, 10, 24, 0.12);
}

/* ---------- money (главное число статистики) ---------- */

.money {
  margin: 22px 0 0;
}

.money__label {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.money__value {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.money__unit {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--muted);
}

.money__note {
  margin: 8px 0 0;
  color: var(--muted);
}

.money__note strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- chart (выручка по дням) ---------- */

.chart {
  padding: 14px 12px 10px;
  border-radius: var(--radius);
  background: var(--surface);
}

.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 110px;
}

.chart__bar {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.chart__fill {
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--ink);
  opacity: 0.82;
}

.chart__bar--future .chart__fill {
  background: none;
  outline: 1px dashed var(--muted);
  outline-offset: -1px;
  opacity: 0.7;
}

.chart__bar--today .chart__fill {
  background: var(--gold);
  opacity: 1;
}

.chart__bar--empty .chart__fill {
  background: var(--line);
  opacity: 1;
}

.chart__axis {
  display: flex;
  gap: 3px;
  margin-top: 6px;
}

.chart__tick {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
}

.chart__legend {
  margin: 10px 2px 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- bars (горизонтальные полосы) ---------- */

.bars {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
}

.bars__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  font-size: 14px;
}

.bars__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.bars__track {
  height: 6px;
  border-radius: 3px;
  background: var(--surface-2);
}

.bars__fill {
  height: 100%;
  border-radius: 3px;
  background: var(--tint, var(--ink));
}

/* ---------- service (строка услуги) ---------- */

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}

.service:first-child {
  border-top: 0;
}

.service__title {
  display: block;
  font-weight: 500;
}

.service__meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.service__price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.service--hidden .service__title,
.service--hidden .service__price {
  color: var(--muted);
  text-decoration: line-through;
}

/* ---------- field (поле формы) ---------- */

.field {
  display: block;
  margin-top: 16px;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.field__input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 17px;
}

.field__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.field__option {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: none;
  font-size: 13.5px;
  cursor: pointer;
}

.field__option--active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.field__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  cursor: pointer;
}

.field__check {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--tabs-h, 0px) + 12px);
  z-index: 30;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
}

.toast[hidden] {
  display: none;
}

.toast--error {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- footer ---------- */

.footer {
  padding: 30px var(--gutter) 18px;
  text-align: center;
}

.footer__dev {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}

.footer__dev-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- tabs ---------- */

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.tabs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.tabs__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabs__label {
  font-size: 11px;
}

.tabs__item--active {
  color: var(--accent);
}

.tabs__item--active .tabs__label {
  font-weight: 600;
}

/* ---------- широкий экран (Telegram Desktop, браузер) ---------- */

@media (min-width: 720px) {
  .masthead,
  .view,
  .footer {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .sheet {
    align-items: center;
    justify-content: center;
  }

  .sheet__panel {
    max-width: 460px;
    border-radius: 20px;
  }
}

/* ---------- движение: только если пользователь его не отключил ---------- */

@media (prefers-reduced-motion: no-preference) {
  .view--busy {
    transition: opacity 0.15s;
  }

  .btn {
    transition: transform 0.08s;
  }

  .state--loading {
    animation: pulse 1.2s ease-in-out infinite;
  }

  .sheet__backdrop {
    animation: fade 0.18s ease-out;
  }

  .sheet__panel {
    animation: rise 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .toast {
    animation: rise 0.2s ease-out;
  }
}
