:root {
  --bg: #f6f2ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #130c24;
  --muted: #6b6284;
  --border: rgba(119, 0, 255, 0.14);
  --accent: #7700ff;
  --accent-deep: #5200bf;
  --accent-soft: rgba(119, 0, 255, 0.12);
  --accent-soft-strong: rgba(119, 0, 255, 0.22);
  --accent-warm: #ff4f12;
  --accent-warm-soft: rgba(255, 79, 18, 0.12);
  --danger: #ff4f12;
  --danger-soft: rgba(255, 79, 18, 0.12);
  --other-soft: rgba(26, 15, 51, 0.06);
  --shadow: 0 24px 60px rgba(78, 27, 158, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --slot-height: 22px;
  --font-body: "Rostelecom Basis", "Rostelecom Basis Medium", "Segoe UI", "Trebuchet MS", sans-serif;
  --font-heading: "Rostelecom Basis", "Rostelecom Basis Medium", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -8%, rgba(119, 0, 255, 0.22), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255, 79, 18, 0.18), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(119, 0, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #fffeff 0%, #f6f1ff 46%, #f3eeff 100%);
  font-family: var(--font-body);
}

body {
  animation: fade-in 320ms ease-out;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1600px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.hero h1,
.panel h2,
.booking-form h2 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 0.96;
  max-width: none;
}

.hero-brand {
  display: grid;
  gap: 2px;
  align-content: end;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-warm);
}

.hero-copy,
.muted {
  color: var(--muted);
}

.hero-card,
.panel,
.booking-dialog::backdrop {
  backdrop-filter: blur(20px);
}

.hero-card,
.panel,
.booking-dialog {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #9345ff 52%, var(--accent-warm) 100%);
  opacity: 0.95;
}

.hero-card {
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.status-pair {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.status-pair:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status-pair span {
  color: var(--muted);
  font-size: 0.88rem;
}

.status-pair strong {
  color: var(--accent-deep);
  font-size: 0.98rem;
  text-align: right;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 22vw, 340px);
  gap: 20px;
  align-items: start;
}

.panel {
  padding: 20px;
  animation: rise-in 280ms ease-out;
}

.panel-wide {
  min-width: 0;
  overflow: hidden;
}

.side-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  position: sticky;
  top: 16px;
}

.side-block {
  display: grid;
  gap: 10px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.toolbar-right,
.date-nav,
.quick-actions,
.calendar-legend,
.period-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.view-switch {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(119, 0, 255, 0.05);
  border: 1px solid var(--border);
}

.view-btn {
  padding-inline: 12px;
}

.view-btn.active {
  background: var(--accent-soft);
  border-color: rgba(119, 0, 255, 0.28);
  color: var(--accent-deep);
}

.date-input {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.date-input input,
.booking-form input,
.booking-form select {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(248, 245, 255, 0.96);
  color: var(--text);
}

.ghost-btn,
.ghost-link,
.primary-btn,
.room-pill,
.delete-btn,
.free-cell-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.ghost-btn,
.ghost-link,
.delete-btn {
  padding: 10px 14px;
  background: rgba(119, 0, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
  text-decoration: none;
}

.primary-btn {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #9a34ff 50%, var(--accent-warm) 100%);
  color: #f7fffd;
  border-color: rgba(119, 0, 255, 0.18);
}

.ghost-btn:hover,
.ghost-link:hover,
.primary-btn:hover,
.room-pill:hover,
.delete-btn:hover,
.free-cell-btn:hover {
  transform: translateY(-1px);
}

.room-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
  -webkit-overflow-scrolling: touch;
}

.room-pill {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
  min-width: 180px;
}

.room-pill.active {
  background: var(--accent-soft);
  border-color: rgba(119, 0, 255, 0.32);
  box-shadow: 0 10px 24px rgba(119, 0, 255, 0.12);
}

.room-pill small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.calendar-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.period-tabs {
  margin-bottom: 12px;
}

.period-tab {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
}

.period-tab.active {
  background: var(--accent-soft);
  border-color: rgba(119, 0, 255, 0.28);
  color: var(--accent-deep);
}

.period-tab small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.6);
}

.legend-chip.free {
  background: rgba(255, 255, 255, 0.78);
}

.legend-chip.own {
  background: var(--accent-soft);
  border-color: rgba(119, 0, 255, 0.28);
}

.legend-chip.free {
  border-color: rgba(255, 79, 18, 0.18);
  color: var(--accent-warm);
}

.legend-chip.other {
  background: var(--other-soft);
}

.calendar-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
  max-width: 100%;
  min-width: 0;
}

.calendar-grid {
  display: grid;
  gap: 6px;
  min-width: 100%;
  align-items: stretch;
  width: max-content;
}

.calendar-grid.motion-forward {
  animation: calendar-slide-forward 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.calendar-grid.motion-backward {
  animation: calendar-slide-backward 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.calendar-grid.motion-room,
.calendar-grid.motion-mode,
.calendar-grid.motion-jump,
.calendar-grid.motion-today,
.calendar-grid.motion-refresh,
.calendar-grid.motion-realtime {
  animation: calendar-soft-enter 220ms ease-out;
}

.calendar-corner,
.calendar-room-header,
.calendar-time,
.calendar-booking,
.calendar-free {
  border-radius: var(--radius-md);
}

.calendar-corner,
.calendar-room-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(84, 24, 169, 0.08);
}

.calendar-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  color: var(--muted);
}

.calendar-room-header {
  padding: 12px;
  display: grid;
  gap: 4px;
  transform-origin: 50% 0;
  align-content: start;
}

.calendar-room-header strong {
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-room-header small {
  font-size: 0.84rem;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-room-header .day-chip {
  display: inline-flex;
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(119, 0, 255, 0.08);
  color: var(--accent-deep);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.calendar-room-header.focus {
  border-color: rgba(119, 0, 255, 0.35);
  background: rgba(247, 242, 255, 0.98);
}

.calendar-room-header.multiday {
  padding: 10px 12px 8px;
}

.calendar-room-header.multiday .calendar-col-meta {
  font-size: 0.82rem;
}

.calendar-room-header.dayview {
  padding: 14px 18px 12px;
  gap: 6px;
  align-content: center;
}

.calendar-room-header.dayview .day-chip {
  justify-self: start;
  max-width: fit-content;
}

.calendar-room-header.dayview strong {
  font-size: 1.06rem;
}

.calendar-room-header.dayview small {
  font-size: 0.9rem;
}

.calendar-room-header small {
  color: var(--muted);
}

.calendar-time {
  position: sticky;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: start;
  justify-content: center;
  padding-top: 2px;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(246, 242, 255, 0.94);
}

.calendar-time.quiet {
  opacity: 0.35;
}

.calendar-free {
  position: relative;
  border: 1px dashed rgba(31, 45, 42, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 247, 255, 0.58)),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 79, 18, 0.035) 10px 20px);
}

.calendar-free.focus {
  border-color: rgba(255, 79, 18, 0.22);
}

.free-cell-btn {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
}

.free-cell-btn::before {
  content: "+";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.92rem;
  color: rgba(255, 79, 18, 0.78);
}

.calendar-booking {
  padding: 10px 10px 8px;
  border: 1px solid var(--border);
  display: grid;
  gap: 6px;
  min-height: calc(var(--slot-height) - 2px);
  overflow: hidden;
  transform-origin: 50% 0;
}

.calendar-booking.own {
  background: linear-gradient(180deg, rgba(241, 233, 255, 0.98), rgba(232, 222, 255, 0.94));
  border-color: rgba(119, 0, 255, 0.34);
}

.calendar-booking.other {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 243, 250, 0.94));
}

.calendar-booking.focus {
  box-shadow: inset 0 0 0 1px rgba(119, 0, 255, 0.2);
}

.calendar-grid.motion-forward .calendar-room-header,
.calendar-grid.motion-forward .calendar-booking,
.calendar-grid.motion-backward .calendar-room-header,
.calendar-grid.motion-backward .calendar-booking,
.calendar-grid.motion-room .calendar-room-header,
.calendar-grid.motion-room .calendar-booking,
.calendar-grid.motion-mode .calendar-room-header,
.calendar-grid.motion-mode .calendar-booking,
.calendar-grid.motion-jump .calendar-room-header,
.calendar-grid.motion-jump .calendar-booking,
.calendar-grid.motion-today .calendar-room-header,
.calendar-grid.motion-today .calendar-booking,
.calendar-grid.motion-refresh .calendar-room-header,
.calendar-grid.motion-refresh .calendar-booking,
.calendar-grid.motion-realtime .calendar-room-header,
.calendar-grid.motion-realtime .calendar-booking {
  animation: booking-settle 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--enter-delay, 0ms);
}

.calendar-booking.realtime-focus {
  animation: booking-glow 1.2s ease-out;
}

.booking-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
}

.booking-meta {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.calendar-contact-btn {
  justify-self: start;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.booking-list {
  display: grid;
  gap: 10px;
}

.booking-list-item {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  display: grid;
  gap: 4px;
}

.booking-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
}

.status-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(119, 0, 255, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-deep);
  box-shadow: 0 18px 40px rgba(55, 19, 117, 0.18);
  backdrop-filter: blur(16px);
}

.status-toast.error {
  border-color: rgba(255, 79, 18, 0.28);
  background: var(--danger-soft);
  color: var(--danger);
}

.status-toast.success {
  border-color: rgba(119, 0, 255, 0.26);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.delete-btn {
  justify-self: start;
  color: var(--danger);
  border-color: rgba(255, 79, 18, 0.2);
  background: var(--danger-soft);
  padding: 6px 10px;
  font-size: 0.8rem;
}

.booking-dialog {
  border: 0;
  width: min(460px, calc(100vw - 24px));
  padding: 0;
  background: var(--surface-strong);
}

.booking-dialog[open] {
  animation: dialog-fade 180ms ease-out;
}

.booking-dialog[open] .booking-form {
  animation: dialog-rise 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.booking-dialog::backdrop {
  background: rgba(31, 45, 42, 0.28);
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.booking-form label {
  display: grid;
  gap: 8px;
}

.dialog-top,
.dialog-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes calendar-slide-forward {
  from {
    opacity: 0.52;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes calendar-slide-backward {
  from {
    opacity: 0.52;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes calendar-soft-enter {
  from {
    opacity: 0.62;
    transform: translateY(10px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes booking-settle {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes booking-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(119, 0, 255, 0.22), inset 0 0 0 1px rgba(119, 0, 255, 0.26);
  }
  55% {
    box-shadow: 0 0 0 10px rgba(119, 0, 255, 0), inset 0 0 0 1px rgba(255, 79, 18, 0.34);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(119, 0, 255, 0), inset 0 0 0 1px rgba(119, 0, 255, 0.2);
  }
}

@keyframes dialog-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes dialog-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1480px) {
  .page-shell {
    width: min(100% - 20px, 1480px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr) clamp(270px, 24vw, 320px);
    gap: 18px;
  }

  .panel,
  .hero-card {
    padding: 18px;
  }

  .toolbar {
    gap: 12px;
  }

  .room-pill {
    min-width: 164px;
  }
}

@media (max-width: 1360px) {
  .hero,
  .workspace {
    grid-template-columns: 1fr;
  }

  .hero-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .side-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .side-panel {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 700px) {
  :root {
    --slot-height: 15px;
  }

  .page-shell {
    width: min(100% - 16px, 1480px);
    padding-top: 8px;
  }

  .panel,
  .hero-card {
    border-radius: 20px;
    padding: 14px;
  }

  .hero {
    gap: 10px;
    margin-bottom: 10px;
  }

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

  .hero h1 {
    font-size: 1.45rem;
  }

  .hero-brand {
    gap: 0;
  }

  .toolbar,
  .date-nav {
    align-items: stretch;
  }

  .toolbar {
    gap: 10px;
  }

  .date-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .date-nav > .ghost-btn {
    width: 100%;
    padding: 10px 12px;
  }

  .date-input {
    order: -1;
    grid-column: 1 / -1;
    gap: 4px;
  }

  .date-input span {
    font-size: 0.8rem;
  }

  .toolbar-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .toolbar-right > * {
    min-width: 0;
  }

  .view-switch {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    padding: 3px;
    gap: 4px;
  }

  .view-btn {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .date-input {
    width: 100%;
  }

  .date-input input {
    width: 100%;
  }

  .ghost-link,
  .ghost-btn,
  .primary-btn {
    padding: 10px 12px;
  }

  .room-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 12px 0 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .room-strip::-webkit-scrollbar {
    display: none;
  }

  .room-pill {
    min-width: 148px;
    flex: 0 0 auto;
    padding: 10px 12px;
  }

  .room-pill strong {
    font-size: 0.95rem;
    line-height: 1.1;
  }

  .room-pill small {
    font-size: 0.78rem;
    margin-top: 2px;
  }

  .calendar-summary {
    align-items: start;
    gap: 8px;
    margin-bottom: 8px;
  }

  .calendar-scroller {
    overflow: visible;
    padding-bottom: 0;
    overscroll-behavior: auto;
  }

  .calendar-legend {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 6px;
    scrollbar-width: none;
  }

  .calendar-legend::-webkit-scrollbar {
    display: none;
  }

  .legend-chip {
    flex: 0 0 auto;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .calendar-room-header {
    min-width: 0;
    padding: 6px 3px;
    gap: 2px;
    text-align: center;
  }

  .calendar-room-header strong {
    font-size: 0.74rem;
    line-height: 1;
  }

  .calendar-room-header .day-chip {
    justify-self: center;
    padding: 2px 6px;
    font-size: 0.62rem;
  }

  .calendar-room-header small {
    display: none;
  }

  .calendar-time {
    font-size: 0.64rem;
    justify-content: flex-start;
    padding-left: 2px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-corner,
  .calendar-room-header,
  .calendar-time,
  .calendar-booking,
  .calendar-free {
    border-radius: 10px;
  }

  .calendar-booking {
    padding: 4px 3px;
    gap: 2px;
    border-radius: 10px;
  }

  .booking-title.compact {
    font-size: 0.62rem;
    line-height: 1.05;
    word-break: break-word;
  }

  .booking-meta.compact {
    font-size: 0.55rem;
    line-height: 1;
  }

  .calendar-delete-btn {
    display: none;
  }

  .period-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .period-tab {
    flex: 0 0 auto;
  }

  .status-pair {
    display: grid;
    gap: 2px;
    align-content: start;
    padding: 0;
    border-bottom: 0;
  }

  .status-pair span {
    font-size: 0.68rem;
  }

  .status-pair strong {
    font-size: 0.8rem;
    line-height: 1.15;
    word-break: break-word;
    text-align: left;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions button {
    width: 100%;
  }

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