:root {
  color-scheme: dark;
  --bg: #080a0e;
  --surface: rgba(16, 20, 27, 0.78);
  --surface-solid: #11151c;
  --surface-raised: rgba(24, 29, 38, 0.88);
  --line: rgba(182, 197, 219, 0.13);
  --line-strong: rgba(182, 197, 219, 0.24);
  --text: #f2f5f8;
  --muted: #929ca9;
  --faint: #646e7b;
  --accent: #b9c6d8;
  --accent-strong: #e5ebf3;
  --success: #71c7a6;
  --warning: #e4bd72;
  --danger: #e68585;
  --critical: #ff6969;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 0;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 112, 140, 0.10), transparent 31rem),
    linear-gradient(145deg, #07090c 0%, #0a0d12 52%, #07090c 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  min-height: 44px;
}

input,
select {
  min-height: 44px;
}

button,
input,
select,
dialog {
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.56;
}

:focus-visible {
  outline: 2px solid rgba(210, 222, 238, 0.92);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.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;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one {
  top: -18rem;
  right: -8rem;
  background: #8296b3;
}

.ambient-two {
  bottom: -22rem;
  left: -12rem;
  background: #4e627d;
}

.operator-shell {
  min-width: 0;
  min-height: 100vh;
}

.glass-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(22, 27, 35, 0.82), rgba(11, 14, 19, 0.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.login-card {
  width: min(100%, 440px);
  padding: 34px;
  border-radius: var(--radius-lg);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-lockup.compact {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: #0b0e13;
  background: linear-gradient(150deg, #e8edf4, #9eacbf);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.compact .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h3 {
  font-size: 0.84rem;
  letter-spacing: 0;
}

.login-copy {
  margin: 24px 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.login-form,
.dialog-shell {
  display: flex;
  flex-direction: column;
}

.login-form {
  gap: 10px;
}

label,
.filter-grid label {
  color: #c5ccd5;
  font-size: 0.78rem;
  font-weight: 650;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(4, 6, 9, 0.62);
  padding: 10px 12px;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

input:hover,
select:hover {
  border-color: var(--line-strong);
}

input:focus,
select:focus {
  border-color: rgba(190, 204, 224, 0.5);
  background: rgba(8, 11, 16, 0.92);
  box-shadow: 0 0 0 3px rgba(154, 173, 200, 0.08);
}

input::placeholder {
  color: #596371;
}

.button,
.icon-button,
.view-tab {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  font-size: 0.81rem;
  font-weight: 700;
}

.button:hover:not(:disabled),
.icon-button:hover:not(:disabled),
.view-tab:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-primary {
  color: #0b0d11;
  background: linear-gradient(145deg, #edf1f6, #abb8c9);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.login-form .button-primary {
  margin-top: 8px;
}

.button-quiet {
  border-color: var(--line);
  color: #c7cfd9;
  background: rgba(255, 255, 255, 0.035);
}

.button-quiet:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.065);
}

.button-danger {
  border-color: rgba(229, 119, 119, 0.28);
  color: #ffd7d7;
  background: rgba(159, 50, 50, 0.2);
}

.button-danger:hover:not(:disabled) {
  border-color: rgba(229, 119, 119, 0.46);
  background: rgba(176, 55, 55, 0.28);
}

.compact-button {
  min-height: 44px;
  padding: 6px 11px;
}

.form-message {
  min-height: 1.3em;
  margin: 3px 0 0;
  color: var(--danger);
  font-size: 0.8rem;
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 0.72rem;
  line-height: 1.55;
}

.dashboard {
  min-width: 0;
  min-height: 100vh;
}

.operator-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.79);
  padding: 12px max(24px, calc((100vw - 1440px) / 2));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(113, 199, 166, 0.09);
}

.operator-main {
  width: min(100%, 1488px);
  margin: 0 auto;
  padding: 34px 24px 56px;
}

.section-heading,
.workspace-topbar,
.dialog-header,
.dialog-footer,
.dialog-id-row,
.storage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-meta {
  margin: 0;
  color: var(--faint);
  font-size: 0.74rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.summary-card {
  min-width: 0;
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(23, 28, 36, 0.76), rgba(12, 15, 20, 0.74));
  padding: 17px;
}

.summary-card strong {
  display: block;
  margin: 12px 0 7px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.summary-label,
.summary-hint {
  display: block;
}

.summary-label {
  color: #aab3bf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-hint {
  color: var(--faint);
  font-size: 0.69rem;
  line-height: 1.4;
}

.storage-card strong {
  margin-bottom: 12px;
}

.level-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.66rem;
  font-weight: 750;
  text-transform: uppercase;
}

.level-badge[data-level="ok"] {
  border-color: rgba(113, 199, 166, 0.24);
  color: var(--success);
}

.level-badge[data-level="warning"] {
  border-color: rgba(228, 189, 114, 0.25);
  color: var(--warning);
}

.level-badge[data-level="high"],
.level-badge[data-level="critical"] {
  border-color: rgba(230, 133, 133, 0.3);
  color: var(--danger);
}

.storage-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.storage-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 240ms ease, background 240ms ease;
}

.workspace {
  min-width: 0;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.workspace-topbar {
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
}

.view-tabs {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  padding: 4px;
}

.view-tab {
  min-height: 44px;
  color: var(--muted);
  background: transparent;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 720;
}

.view-tab.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.view-panel {
  min-width: 0;
  padding: 20px 22px 22px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.filter-grid input {
  min-width: 0;
}

.key-filter-grid {
  grid-template-columns: repeat(2, minmax(180px, 260px)) auto;
  justify-content: start;
}

.filter-actions {
  display: flex;
  gap: 7px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overscroll-behavior-inline: contain;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: auto;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--faint);
  background: rgba(255, 255, 255, 0.018);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table td {
  color: #b9c1cc;
  font-size: 0.76rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.data-table code,
.dialog-id-row code {
  color: #d8dee7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.71rem;
}

.truncate-id {
  display: inline-block;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.status-badge[data-tone="success"] {
  border-color: rgba(113, 199, 166, 0.24);
  color: var(--success);
}

.status-badge[data-tone="warning"] {
  border-color: rgba(228, 189, 114, 0.25);
  color: var(--warning);
}

.status-badge[data-tone="danger"] {
  border-color: rgba(230, 133, 133, 0.3);
  color: var(--danger);
}

.table-action {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #d3dae4;
  background: rgba(255, 255, 255, 0.055);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  margin-top: 12px;
  padding: 34px 18px;
  color: var(--faint);
  text-align: center;
  font-size: 0.82rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-height: 44px;
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.72rem;
}

.pagination .button {
  min-height: 44px;
  padding-block: 5px;
}

.image-filter-grid {
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(140px, 1fr)) auto;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.image-card,
.model-card,
.catalog-editor,
.model-toolbar {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(4, 7, 11, 0.32);
}

.image-card {
  min-width: 0;
  overflow: hidden;
}

.image-card-preview {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  background:
    linear-gradient(145deg, rgba(25, 31, 40, 0.92), rgba(9, 12, 17, 0.96));
  font-size: 0.76rem;
}

.image-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
}

.image-card-heading,
.model-card-header,
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.image-card-heading strong,
.image-card-key {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-card-meta,
.model-capability,
.model-health {
  margin: 0;
  color: var(--faint);
  font-size: 0.72rem;
  line-height: 1.55;
}

.image-card-key {
  color: var(--muted);
  font-size: 0.69rem;
}

.image-card .table-action {
  align-self: flex-start;
}

.model-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 10px;
  padding: 16px;
}

.totp-field,
.catalog-fields label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.catalog-editor {
  margin-top: 16px;
  padding: 16px;
}

.catalog-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.45fr) repeat(2, minmax(220px, 1.3fr));
  gap: 12px;
  margin-top: 16px;
}

.models-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.model-card {
  min-width: 0;
  padding: 16px;
}

.model-capability {
  margin-top: 10px;
}

.model-variants {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.model-variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.model-variant-facts {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: var(--faint);
  font-size: 0.7rem;
}

.model-variant-facts strong {
  color: var(--text);
}

.model-variant-controls {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 8px;
}

.image-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.image-detail-preview-shell {
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #07090d;
}

.image-detail-preview-shell img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
}

.image-detail-preview-shell img:not([src]) {
  display: none;
}

.image-detail-copy {
  display: grid;
  gap: 10px;
}

.image-detail-copy section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

dialog {
  width: min(calc(100% - 32px), 980px);
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--text);
  background: rgba(13, 17, 23, 0.97);
  padding: 0;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.66);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.narrow-dialog,
.confirmation-dialog {
  width: min(calc(100% - 32px), 620px);
}

.dialog-shell {
  gap: 19px;
  padding: 24px;
}

.dialog-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 1.35rem;
}

.dialog-id-row {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
}

.dialog-id-row code {
  padding-top: 8px;
  word-break: break-all;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-grid section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

.detail-grid h3 {
  margin-bottom: 10px;
  color: var(--muted);
}

pre {
  max-height: 310px;
  overflow: auto;
  margin: 0;
  color: #c8d0db;
  font: 0.74rem/1.6 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.dialog-footer {
  justify-content: flex-end;
  padding-top: 4px;
}

.key-detail-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
}

.key-detail-list dt {
  color: var(--faint);
  font-size: 0.72rem;
}

.key-detail-list dd {
  margin: 0;
  color: #c9d0da;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.detail-note,
.confirmation-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.danger-eyebrow {
  color: var(--danger);
}

.affected-count {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.16);
  padding: 11px 12px;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  width: min(calc(100% - 40px), 380px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: #d6dde6;
  background: rgba(20, 25, 33, 0.96);
  padding: 13px 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  font-size: 0.78rem;
}

@media (max-width: 1200px) {
  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
  }

  .catalog-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .operator-header,
  .workspace-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .operator-header {
    position: relative;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions,
  .view-tabs {
    width: 100%;
  }

  .header-actions .button,
  .view-tab {
    flex: 1;
  }

  .live-state {
    display: none;
  }

  .filter-grid,
  .key-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-actions {
    align-self: end;
  }

  .model-toolbar,
  .model-variant,
  .image-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .operator-main {
    padding: 24px 14px 42px;
  }

  .operator-header {
    padding: 14px;
  }

  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-card {
    min-height: 112px;
  }

  .section-heading,
  .dialog-footer,
  .dialog-id-row {
    align-items: stretch;
    flex-direction: column;
  }

  .section-meta {
    align-self: flex-start;
  }

  .workspace-topbar,
  .view-panel,
  .dialog-shell {
    padding: 17px;
  }

  .view-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-grid,
  .key-filter-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .images-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-fields,
  .model-variant-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .image-detail-preview-shell {
    min-height: 240px;
  }

  .filter-actions .button,
  .dialog-footer .button {
    flex: 1;
  }

  .key-detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .key-detail-list dd {
    margin-bottom: 9px;
  }
}

@media (max-width: 420px) {
  .operator-main {
    padding: 20px 10px 36px;
  }

  .login-screen {
    padding: 14px 10px;
  }

  .login-card {
    padding: 24px 19px;
  }

  .header-actions,
  .view-tabs,
  .filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .view-tabs {
    width: 100%;
  }

  .workspace,
  dialog {
    border-radius: 16px;
  }

  dialog {
    width: calc(100% - 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
