:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #18202f;
  --muted: #657083;
  --line: #dfe4eb;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --accent: #f97316;
  --blue: #2563eb;
  --danger: #dc2626;
  --shadow: 0 18px 45px rgba(28, 39, 57, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

button {
  cursor: pointer;
}

#app {
  width: min(1480px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 30px;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.account-card strong {
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.nav-button,
.segmented button,
.ghost {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.nav-button {
  min-width: 112px;
  padding: 10px 14px;
}

.nav-button.active,
.segmented button.active {
  border-color: var(--brand);
  background: #e7f5f2;
  color: var(--brand-strong);
  font-weight: 700;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.studio-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
}

.controls {
  padding: 18px;
}

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

.section-title span,
.overview-note,
.task-item p,
.work-card p,
.metric p,
.price-box p,
.field-help,
.empty {
  color: var(--muted);
}

.field-help {
  margin: -2px 0 8px;
  font-size: 13px;
  line-height: 1.5;
}

.grid-help {
  margin: 10px 0 8px;
}

label {
  display: block;
  margin: 12px 0 7px;
  color: #354052;
  font-size: 14px;
  font-weight: 700;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.segmented button {
  min-height: 38px;
}

textarea,
select,
input[type="number"],
.text-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--ink);
  outline: none;
}

textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

select,
input[type="number"],
.text-input {
  height: 40px;
  padding: 0 10px;
}

textarea:focus,
select:focus,
input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

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

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

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

.upload-slot {
  display: grid;
  min-height: 124px;
  place-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px dashed #b7c3d0;
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
  text-align: center;
}

.upload-slot span {
  color: var(--ink);
  font-weight: 800;
}

.upload-slot em {
  font-style: normal;
}

.upload-slot img {
  width: 100%;
  max-height: 86px;
  object-fit: cover;
  border-radius: 6px;
}

.upload-slot input {
  display: none;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.price-box {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #bfe8df;
  border-radius: 8px;
  background: #ecfdf8;
}

.price-box div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-box strong {
  font-size: 24px;
  color: var(--brand-strong);
}

.price-box p {
  margin: 8px 0 0;
  font-size: 13px;
}

.price-box .primary {
  margin-top: 12px;
}

.primary {
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.primary:hover {
  background: var(--brand-strong);
}

.primary.small {
  min-height: 36px;
  padding: 0 12px;
}

.primary.wide {
  width: 100%;
  min-height: 44px;
}

.primary:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.link-button {
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 420px;
  gap: 18px;
  align-items: stretch;
}

.redesigned-auth {
  min-height: 520px;
}

.auth-panel {
  padding: 26px;
  align-self: start;
}

.auth-copy {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 520px;
  overflow: hidden;
  padding: 32px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 120, 87, 0.96), rgba(29, 78, 216, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 76px);
  color: #fff;
  box-shadow: var(--shadow);
}

.auth-copy::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.3));
  pointer-events: none;
}

.brand-lockup,
.auth-price-strip,
.auth-feature-grid,
.auth-preview-board {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.auth-copy h2 {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: 40px;
  line-height: 1.16;
}

.auth-lead {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.8;
}

.auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.auth-feature-grid span,
.auth-price-strip {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.auth-feature-grid span {
  padding: 12px;
  font-weight: 800;
}

.auth-preview-board {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(3, 7, 18, 0.18);
  backdrop-filter: blur(14px);
}

.preview-toolbar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.preview-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.preview-toolbar strong {
  margin-left: 8px;
  font-size: 13px;
}

.preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.65fr);
  gap: 14px;
  padding: 16px;
}

.preview-form,
.preview-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
}

.preview-form {
  min-height: 170px;
  padding: 16px;
}

.preview-form small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.preview-form p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  line-height: 1.75;
}

.preview-form div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.preview-form b {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.preview-cards {
  display: grid;
  gap: 10px;
}

.preview-card {
  display: grid;
  min-height: 48px;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.preview-card.active {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.52), rgba(37, 99, 235, 0.42));
  color: #fff;
}

.preview-card.done {
  background: rgba(22, 163, 74, 0.32);
  color: #ecfdf5;
}

.auth-price-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

.auth-price-strip span {
  color: rgba(255, 255, 255, 0.78);
}

.auth-card-title span {
  color: var(--brand);
  font-weight: 900;
}

.auth-card-title h2 {
  margin: 8px 0 8px;
  font-size: 26px;
}

.auth-card-title p,
.auth-note {
  color: var(--muted);
  line-height: 1.7;
}

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

.auth-submit {
  margin-top: 20px;
  height: 48px;
}

.auth-note {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7fafc;
  font-size: 13px;
}

.workspace {
  display: grid;
  gap: 18px;
}

.overview-panel {
  padding: 18px;
}

.queue-panel .section-title,
.recent-works-panel .section-title {
  padding: 16px 18px 0;
  margin-bottom: 12px;
}

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

.overview-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.overview-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.overview-item strong {
  display: block;
  font-size: 17px;
}

.overview-note {
  margin: 12px 0 0;
  line-height: 1.5;
}

.badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.badge.ok {
  background: #dcfce7;
  color: #166534;
}

.badge.warn {
  background: #fee2e2;
  color: #991b1b;
}

.task-list {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.task-item {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 240px) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.task-item p {
  margin-bottom: 0;
  font-size: 13px;
}

.progress span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.progress div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 30%),
    linear-gradient(90deg, var(--brand), var(--accent));
  background-size: 140px 100%, 100% 100%;
  animation: progressShimmer 1.8s linear infinite;
}

@keyframes progressShimmer {
  from {
    background-position: -140px 0, 0 0;
  }
  to {
    background-position: 140px 0, 0 0;
  }
}

.ghost {
  min-height: 34px;
  padding: 0 10px;
}

.wide-action {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
}

.page-panel {
  padding: 18px;
}

.stacked-page {
  display: grid;
  gap: 18px;
}

.user-backend-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.detail-card {
  padding: 18px;
}

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

.mini-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.mini-row strong {
  font-size: 14px;
}

.mini-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.package-grid,
.works-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.package-card,
.work-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.membership-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.96)),
    #fbfcfd;
}

.membership-card.active {
  border-color: var(--brand);
  background: #eefaf7;
}

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

.membership-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-icon {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 12px 24px rgba(15, 23, 42, 0.16);
}

.tier-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tier-free { background: linear-gradient(135deg, #64748b, #334155); }
.tier-silver {
  background: linear-gradient(135deg, #f8fafc, #cbd5e1 55%, #94a3b8);
  color: #273244;
}
.tier-gold {
  background: linear-gradient(135deg, #fff7c2, #f59e0b 52%, #b45309);
  color: #563400;
}
.tier-platinum {
  background: linear-gradient(135deg, #f1f5f9, #94a3b8 48%, #334155);
  color: #fff;
}
.tier-diamond {
  background: linear-gradient(135deg, #a5f3fc, #38bdf8 45%, #2563eb);
  color: #fff;
}

.membership-top strong {
  display: block;
  font-size: 17px;
}

.membership-top p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.membership-card h3 {
  margin: 16px 0 14px;
  font-size: 30px;
  line-height: 1;
}

.membership-list {
  flex: 1;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.wide-action {
  width: 100%;
  margin-top: 16px;
}

.custom-recharge-panel {
  margin-top: 0;
  padding: 18px;
  border: 1px dashed #b7c3d0;
  border-radius: 8px;
  background: #fbfcfd;
}

.payment-method-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.payment-method-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.small-segment {
  display: flex;
  width: auto;
  gap: 8px;
}

.small-segment button {
  min-width: 86px;
}

.custom-recharge-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.8fr) 140px;
  gap: 14px;
  align-items: end;
}

.custom-recharge-preview {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.custom-recharge-preview span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.custom-recharge-preview strong {
  display: block;
  font-size: 24px;
}

.package-card strong {
  display: block;
  margin: 10px 0;
  font-size: 28px;
}

.package-card p,
.work-card p {
  margin-bottom: 14px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-left: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.works-grid.compact {
  padding: 0 18px 18px;
}

.more-link-row {
  display: flex;
  justify-content: center;
  padding: 0 18px 18px;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
  border-radius: 8px;
}

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

.row {
  display: grid;
  grid-template-columns: 110px 120px minmax(0, 1fr) 180px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.task-history-row {
  grid-template-columns: 180px 120px minmax(0, 1fr) 180px;
}

.admin-row {
  grid-template-columns: 140px 160px minmax(0, 1fr) 180px;
}

.row time {
  color: var(--muted);
  font-size: 13px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.metric {
  padding: 18px;
}

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

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.metric p {
  margin: 6px 0 0;
}

.admin-settings {
  grid-column: span 3;
  padding: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow);
}

.payment-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.44);
}

.payment-modal {
  width: min(520px, 100%);
  padding: 18px;
}

.payment-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}

.payment-modal-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.payment-modal-amount {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
  letter-spacing: 0;
}

.payment-qr {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.payment-link-button,
.payment-refresh {
  width: 100%;
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 1050px) {
  .studio-layout,
  .topbar,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .studio-layout {
    display: block;
  }

  .controls {
    margin-bottom: 18px;
  }

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

  .auth-copy,
  .redesigned-auth {
    min-height: auto;
  }

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

  .preview-body {
    grid-template-columns: 1fr;
  }

  .admin-settings {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  #app {
    width: 100%;
    padding: 10px 10px 96px;
  }

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

  h1 {
    font-size: 21px;
    line-height: 1.2;
  }

  h2 {
    font-size: 17px;
  }

  .topbar {
    gap: 10px;
    padding-bottom: 12px;
  }

  .account-card {
    gap: 8px;
    padding: 10px;
    box-shadow: none;
  }

  .account-card .small,
  .account-card .ghost {
    width: 100%;
  }

  .nav {
    position: sticky;
    top: 0;
    z-index: 15;
    margin: 0 -10px 10px;
    padding: 8px 10px;
    background: rgba(246, 247, 249, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-button {
    min-width: 76px;
    padding: 9px 10px;
    white-space: nowrap;
  }

  .field-grid,
  .package-grid,
  .works-grid,
  .admin-grid,
  .user-backend-layout {
    grid-template-columns: 1fr;
  }

  .membership-grid,
  .detail-grid,
  .custom-recharge-row {
    grid-template-columns: 1fr;
  }

  .auth-copy,
  .auth-panel {
    padding: 18px;
  }

  .auth-copy h2 {
    font-size: 28px;
  }

  .preview-body {
    gap: 10px;
    padding: 12px;
  }

  .preview-form {
    min-height: auto;
    padding: 12px;
  }

  .preview-form p {
    font-size: 14px;
    line-height: 1.65;
  }

  .brand-lockup,
  .auth-price-strip,
  .payment-method-row {
    align-items: stretch;
    flex-direction: column;
  }

  .small-segment {
    width: 100%;
  }

  .small-segment button {
    flex: 1;
  }

  .admin-settings {
    grid-column: span 1;
  }

  .task-item,
  .row {
    grid-template-columns: 1fr;
  }

  .panel {
    border-radius: 8px;
    box-shadow: none;
  }

  .controls,
  .page-panel,
  .admin-settings {
    padding: 12px;
  }

  .controls {
    margin-bottom: 10px;
  }

  .section-title {
    margin-bottom: 10px;
  }

  .compact-title {
    position: sticky;
    top: 50px;
    z-index: 10;
    margin: -12px -12px 10px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .segmented {
    gap: 6px;
  }

  .segmented button {
    min-height: 42px;
  }

  textarea {
    min-height: 104px;
    padding: 10px;
  }

  #negativePrompt {
    min-height: 72px;
  }

  select,
  input[type="number"],
  .text-input {
    height: 44px;
  }

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

  .upload-slot {
    min-height: 104px;
  }

  .overview-panel {
    padding: 12px;
  }

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

  .task-list,
  .works-grid.compact {
    padding: 0 12px 12px;
  }

  .queue-panel .section-title,
  .recent-works-panel .section-title {
    padding: 12px 12px 0;
    margin-bottom: 10px;
  }

  .more-link-row {
    padding: 0 12px 12px;
  }

  .mobile-sticky-price {
    position: sticky;
    bottom: 8px;
    z-index: 12;
    margin: 14px -4px 0;
    box-shadow: 0 14px 34px rgba(28, 39, 57, 0.16);
  }

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

  .payment-modal-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .payment-qr {
    justify-self: center;
  }
}
