:root {
  color-scheme: dark;
  --bg: #09111f;
  --panel: #101827;
  --panel-2: #151f31;
  --line: #243149;
  --text: #e6edf7;
  --muted: #92a2bb;
  --primary: #38bdf8;
  --primary-2: #0ea5e9;
  --danger: #ef4444;
  --warn: #f59e0b;
  --ok: #22c55e;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.12), transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  background: rgba(16, 24, 39, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.login-card h1 {
  margin: 0 0 8px;
  font-size: 26px;
}

.login-card p,
.muted {
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.captcha-row,
.account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-row img {
  width: 180px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1220;
}

.input,
.select {
  width: 100%;
  color: var(--text);
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 40px;
  padding: 9px 11px;
  outline: none;
}

.input:focus,
.select:focus {
  border-color: var(--primary);
}

.app-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: rgba(8, 13, 24, 0.96);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  padding: 8px 10px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.brand strong {
  display: block;
  font-size: 22px;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav button {
  text-align: left;
  width: 100%;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 10px 11px;
  cursor: pointer;
}

.nav button.active,
.nav button:hover {
  color: var(--text);
  background: #162238;
}

.main {
  min-width: 0;
  padding: 20px;
}

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

.topbar h1 {
  margin: 0;
  font-size: 24px;
}

.mobile-nav {
  display: none;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.panel {
  background: rgba(16, 24, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.card-title {
  color: var(--muted);
  font-size: 13px;
}

.metric {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.notice {
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

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

.action-card,
.file-row {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  color: var(--text);
  background: #111b2d;
  border: 1px solid #2d405e;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}

.action-card span,
.file-row span {
  color: var(--muted);
  font-size: 13px;
}

.action-card:hover,
.file-row:hover {
  border-color: var(--primary);
}

.action-card.primary-card {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.24), rgba(17, 34, 56, 0.96));
  border-color: var(--primary-2);
}

.action-card.danger {
  background: #3a1720;
  border-color: #7f1d1d;
}

.breadcrumbs {
  margin-top: 12px;
  line-height: 1.8;
}

.btn {
  border: 1px solid #2d405e;
  color: var(--text);
  background: #162238;
  border-radius: 6px;
  min-height: 38px;
  padding: 8px 12px;
  cursor: pointer;
}

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

.btn.primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  border-color: var(--primary-2);
  color: #00111d;
  font-weight: 700;
}

.btn.danger {
  background: #3a1720;
  border-color: #7f1d1d;
  color: #fecaca;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.failed-row td {
  background: rgba(127, 29, 29, 0.12);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #172033;
  color: var(--muted);
  font-size: 12px;
}

.status.success {
  color: #bbf7d0;
  background: #10351f;
}

.status.failed,
.status.error {
  color: #fecaca;
  background: #3a1720;
}

.status.running {
  color: #bae6fd;
  background: #0c2f4a;
}

.pre {
  margin: 0;
  background: #020617;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #dbeafe;
  min-height: 120px;
  max-height: 58vh;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  font: 12px/1.55 Consolas, "Cascadia Mono", monospace;
}

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

.list {
  display: grid;
  gap: 8px;
}

.list button {
  text-align: left;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.62);
  z-index: 20;
  padding: 18px;
}

.modal {
  width: min(460px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(460px, calc(100vw - 36px));
  background: #111827;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  z-index: 30;
}

.path-link {
  color: var(--primary);
  cursor: pointer;
  word-break: break-all;
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: block;
    width: 100%;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .grid.cols-2,
  .grid.cols-3,
  .split {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 14px;
  }
}

/* 2.1 视觉优化：参考 1Panel 的深色运维控制台风格，但保留 PixOps 的发布和审计语义。 */
:root {
  --bg: #070b12;
  --sidebar: #0d1218;
  --sidebar-2: #101720;
  --panel: #1e2022;
  --panel-2: #25282b;
  --panel-3: #151b24;
  --line: #2c333d;
  --line-strong: #384454;
  --text: #f2f6fb;
  --muted: #94a3b8;
  --primary: #0877ff;
  --primary-2: #005fe8;
  --primary-soft: rgba(8, 119, 255, 0.16);
  --danger: #ef4444;
  --warn: #f59e0b;
  --ok: #22c55e;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

body {
  background: var(--bg);
  letter-spacing: 0;
}

.app-shell {
  grid-template-columns: 184px minmax(0, 1fr);
  background: var(--bg);
}

.sidebar {
  background: linear-gradient(180deg, #0f141b 0%, #0a0f14 100%);
  border-right: 1px solid #151c25;
  padding: 0 8px 14px;
  display: flex;
  flex-direction: column;
}

.brand {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  margin: 0 0 10px;
  border-bottom: 1px solid #141b24;
}

.brand-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #9dccff;
  font-weight: 900;
  border: 2px solid var(--primary);
  border-radius: 8px;
  box-shadow: inset 0 0 16px rgba(8, 119, 255, 0.35), 0 0 22px rgba(8, 119, 255, 0.18);
}

.brand strong {
  color: #2f8dff;
  font-size: 24px;
  line-height: 1;
}

.brand span {
  color: #6f7f95;
  font-size: 11px;
}

.nav {
  gap: 6px;
}

.nav button {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dbe7f7;
  background: #10151b;
  border: 1px solid #131b25;
  border-radius: 5px;
  padding: 0 12px;
  font-weight: 700;
}

.nav button:hover {
  color: #fff;
  background: #182230;
  border-color: #243447;
}

.nav button.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(8, 119, 255, 0.28);
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
  opacity: 0.95;
}

.sidebar-foot {
  margin-top: auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  padding: 0 10px;
  border: 1px solid #151d27;
  border-radius: 5px;
  background: rgba(16, 21, 27, 0.75);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.75);
}

.main {
  padding: 16px 18px 24px;
}

.topbar {
  min-height: 44px;
  padding: 0;
  margin-bottom: 16px;
}

.topbar h1 {
  font-size: 24px;
  line-height: 1.05;
}

.account-actions .btn,
.topbar .btn {
  min-height: 34px;
  border-radius: 5px;
}

.panel {
  background: var(--panel);
  border: 1px solid #2a3038;
  border-radius: 5px;
  box-shadow: none;
}

.panel h2 {
  position: relative;
  padding-left: 12px;
  font-size: 16px;
}

.panel h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--primary);
}

.btn,
.input,
.select {
  border-radius: 5px;
}

.btn {
  background: #162132;
  border-color: #2d405e;
}

.btn.primary {
  color: #07121f;
  background: linear-gradient(180deg, #35b8ff, #0b85f4);
  border-color: #1d9fff;
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
}

.dashboard-main,
.dashboard-side {
  display: grid;
  align-content: start;
  gap: 16px;
}

.banner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(8, 119, 255, 0.22), rgba(32, 32, 34, 0.96) 42%, #202224);
  border: 1px solid #303842;
  border-radius: 5px;
}

.banner h2 {
  margin: 4px 0 6px;
  font-size: 22px;
}

.banner p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  color: #5da8ff;
  font-size: 12px;
  font-weight: 900;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  background: #121923;
  border: 1px solid #233044;
  border-radius: 5px;
}

.metric-card span,
.metric-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.metric-card strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

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

.panel-head h2,
.panel-head p {
  margin-bottom: 0;
}

.panel-head.compact {
  align-items: center;
}

.gauge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
}

.gauge-card {
  min-height: 158px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
}

.gauge-ring {
  --value: 0;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #161b22 0 55%, transparent 56%),
    conic-gradient(from 220deg, #4f78ff calc(var(--value) * 1%), rgba(65, 72, 82, 0.55) 0);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.gauge-ring > div {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.gauge-ring strong {
  font-size: 22px;
}

.gauge-ring span,
.gauge-title {
  color: var(--muted);
  font-size: 12px;
}

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

.server-panel {
  min-height: 270px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pill.ok {
  color: #b6f7c9;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.pill.danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.service-list span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--muted);
  background: #111820;
  border: 1px solid #26313f;
  font-size: 12px;
  font-weight: 800;
}

.service-list span.online {
  color: #d7fbe3;
  border-color: rgba(34, 197, 94, 0.45);
}

.service-list span.offline {
  color: #ffb4b4;
  border-color: rgba(239, 68, 68, 0.42);
}

.info-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 10px;
  margin: 12px 0;
}

.info-strip div {
  min-width: 0;
  padding: 11px;
  background: #121821;
  border: 1px solid #253044;
  border-radius: 5px;
}

.info-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.info-strip strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.raw-details {
  margin-top: 12px;
}

.raw-details summary {
  color: #8fc7ff;
  cursor: pointer;
  font-size: 13px;
}

.system-card dl {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

.system-card dt {
  color: #f1f5f9;
  font-weight: 800;
}

.system-card dd {
  margin: 0;
  color: #b6c4d8;
  min-width: 0;
  overflow-wrap: anywhere;
}

.system-rank-btn {
  width: 100%;
  margin-top: 16px;
}

.quick-panel {
  display: grid;
  gap: 10px;
}

.quick-panel button,
.mini-list button {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
  color: var(--text);
  background: #151b24;
  border: 1px solid #263344;
  border-radius: 5px;
  padding: 11px;
  cursor: pointer;
}

.quick-panel button:hover,
.mini-list button:hover {
  border-color: var(--primary);
  background: #192231;
}

.quick-panel strong,
.mini-list span {
  font-size: 14px;
}

.quick-panel span,
.mini-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list button {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mini-list em {
  grid-column: 1 / -1;
}

.loading-line {
  color: var(--muted);
  min-height: 28px;
}

.log-output {
  min-height: 620px;
  max-height: 72vh;
  overflow: auto;
  padding: 10px 12px;
  background: #050913;
  border: 1px solid #1d2840;
  border-radius: 5px;
  font: 12px/1.6 Consolas, "Cascadia Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.log-line {
  min-height: 18px;
  color: #dbeafe;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.log-line.log-info {
  color: #86efac;
}

.log-line.log-warn {
  color: #fde68a;
}

.log-line.log-error {
  color: #fda4af;
  background: rgba(127, 29, 29, 0.14);
}

.log-line.log-trace {
  color: #67e8f9;
}

.log-line.log-debug {
  color: #d8b4fe;
}

.file-row.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.audit-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.audit-filters button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--text);
  background: #141b25;
  border: 1px solid #263344;
  border-radius: 5px;
  cursor: pointer;
}

.audit-filters button.active,
.audit-filters button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.audit-category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  color: #cfe5ff;
  background: rgba(8, 119, 255, 0.16);
  border: 1px solid rgba(8, 119, 255, 0.34);
  font-size: 12px;
}

.wide-modal {
  width: min(980px, 96vw);
}

.process-pre {
  max-height: 70vh;
}

.pre {
  background: #050913;
  border-color: #1d2840;
}

.notice {
  border-radius: 5px;
}

@media (max-width: 1280px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: block;
    width: 100%;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-side,
  .metric-grid,
  .gauge-grid,
  .server-grid {
    grid-template-columns: 1fr;
  }

  .banner {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .app-shell {
    display: block;
    min-height: 100vh;
  }

  .sidebar {
    display: none !important;
  }

  .main {
    width: 100%;
    padding: 12px;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: -12px -12px 12px;
    padding: 12px;
    background: rgba(7, 11, 18, 0.96);
    border-bottom: 1px solid #1b2430;
  }

  .topbar h1 {
    font-size: 22px;
  }

  .topbar .muted {
    font-size: 12px;
  }

  .account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .account-actions .btn {
    width: 100%;
  }

  .mobile-nav {
    display: block !important;
    min-height: 40px;
    width: 100%;
  }

  .panel {
    padding: 12px;
    border-radius: 6px;
  }

  .banner {
    min-height: auto;
    padding: 14px;
  }

  .banner h2 {
    font-size: 19px;
  }

  .banner p {
    font-size: 13px;
  }

  .banner-actions,
  .toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .banner-actions .btn,
  .toolbar .btn {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .dashboard,
  .dashboard-main,
  .dashboard-side,
  .grid.cols-2,
  .grid.cols-3,
  .split,
  .server-grid,
  .gauge-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .metric-card {
    min-height: 78px;
    padding: 12px;
  }

  .metric-card strong {
    font-size: 24px;
  }

  .health-panel .panel-head,
  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .gauge-card {
    min-height: 132px;
  }

  .gauge-ring {
    width: 92px;
    height: 92px;
  }

  .gauge-ring strong {
    font-size: 19px;
  }

  .server-panel {
    min-height: auto;
  }

  .service-list {
    gap: 6px;
  }

  .service-list span {
    min-height: 26px;
    padding: 0 8px;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .system-card dl {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 9px;
    font-size: 13px;
  }

  .quick-panel button,
  .mini-list button,
  .action-card,
  .file-row {
    min-height: 58px;
    padding: 10px;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .table th,
  .table td {
    padding: 9px 10px;
  }

  .pre,
  .log-output {
    max-height: 56vh;
    min-height: 260px;
    font-size: 11px;
    line-height: 1.55;
    -webkit-overflow-scrolling: touch;
  }

  .log-output {
    white-space: pre-wrap;
    touch-action: pan-y;
  }

  .raw-details .pre {
    min-height: 160px;
  }

  .field {
    margin-top: 12px;
  }

  .input,
  .select {
    min-height: 40px;
  }

  .audit-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .modal {
    width: calc(100vw - 24px);
    max-height: 88vh;
    overflow: auto;
  }

  .wide-modal {
    width: calc(100vw - 24px);
  }

  .toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}
