* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --text: #172026;
  --muted: #66736c;
  --line: #e3e8e6;
  --primary: #0d7a6f;
  --primary-dark: #173f3a;
  --accent: #edb153;
  --blue: #295b94;
  --warn-bg: #fff3dd;
  --warn-text: #9a5b12;
  --gray-bg: #eef0f2;
  --gray-text: #52616a;
  --danger: #b42318;
  --shadow: 0 14px 36px rgba(28, 35, 41, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.22;
}

h2 {
  font-size: 20px;
  line-height: 1.3;
}

h3 {
  font-size: 15px;
  line-height: 1.35;
}

p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

button {
  min-width: 84px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 760;
  white-space: nowrap;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5ddda;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  outline: 0;
}

input,
select {
  height: 40px;
  padding: 0 12px;
}

input[type="file"].file-input {
  height: auto;
  padding: 9px 10px;
  color: var(--muted);
  background: #ffffff;
}

.hidden-file {
  display: none;
}

textarea {
  padding: 12px;
  resize: vertical;
  min-height: 84px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(13, 122, 111, 0.65);
  box-shadow: 0 0 0 3px rgba(13, 122, 111, 0.10);
}

label {
  display: grid;
  gap: 7px;
  color: #34433f;
  font-size: 13px;
  font-weight: 760;
}

.app-hidden {
  display: none !important;
}

.primary {
  background: var(--primary);
  color: #ffffff;
}

.ghost {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid #d5ddda;
}

.danger {
  background: var(--danger);
  color: #ffffff;
}

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

.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #eef3f2;
}

.login-screen.active {
  display: flex;
}

.login-shell {
  width: min(940px, 100%);
  min-height: 540px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  background: #ffffff;
}

.login-visual {
  padding: 42px;
  background: var(--primary-dark);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 900;
}

.login-visual .brand-mark {
  width: 60px;
  height: 60px;
  font-size: 28px;
}

.login-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.login-visual h1 {
  font-size: 34px;
}

.login-visual p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.74);
}

.login-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.login-metrics span {
  min-height: 31px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 820;
}

.login-card {
  padding: 46px 42px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.login-card h2 {
  font-size: 26px;
}

.login-card button {
  width: 100%;
  height: 44px;
}

.login-fields {
  display: grid;
  gap: 14px;
}

.form-hint {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

.sidebar {
  width: 276px;
  min-height: 100vh;
  padding: 24px;
  background: var(--primary-dark);
  color: #ffffff;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.brand-title {
  font-size: 18px;
  font-weight: 850;
}

.brand-subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

nav {
  display: grid;
  gap: 8px;
}

.nav-item {
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 14px;
  font-weight: 730;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  flex: none;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-item.active span {
  background: var(--accent);
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.sidebar-foot strong {
  display: block;
  margin: 6px 0 10px;
  color: #ffffff;
  word-break: break-all;
  font-size: 12px;
}

.health {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 820;
}

.health.wait {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.health.ok {
  background: rgba(232, 245, 239, 0.16);
  color: #a6f1d8;
}

.health.bad {
  background: rgba(255, 238, 232, 0.16);
  color: #ffd1c9;
}

.main {
  flex: 1;
  min-width: 0;
  padding: 28px;
}

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.actions,
.form-actions,
.row-actions,
.card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-chip {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e7eceb;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 850;
}

.route-section {
  display: none;
  margin-bottom: 18px;
}

.route-section.active {
  display: block;
}

.panel {
  padding: 22px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat {
  min-height: 116px;
  padding: 20px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(23, 32, 38, 0.04);
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.15;
}

.stat-label {
  margin-top: 8px;
  color: #34433f;
  font-size: 13px;
  font-weight: 820;
}

.stat-desc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

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

.overview-card {
  width: 100%;
  min-height: 126px;
  height: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
  white-space: normal;
}

.overview-card:hover {
  border-color: rgba(13, 122, 111, 0.35);
  box-shadow: 0 12px 28px rgba(13, 122, 111, 0.08);
}

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

.activity {
  width: 100%;
  min-height: 58px;
  height: auto;
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  white-space: normal;
}

.activity:last-child {
  border-bottom: 0;
}

.activity strong {
  display: block;
  font-size: 14px;
}

.activity span,
.activity time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.form-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wide {
  grid-column: span 2;
}

.full {
  grid-column: 1 / -1;
}

#products .form-grid {
  align-items: start;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.checkbox input {
  width: 16px;
  height: 16px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 10px;
  margin-bottom: 14px;
}

.type-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f7faf9;
  border: 1px solid var(--line);
}

.type-manager textarea {
  min-height: 58px;
}

#users .filter-bar,
#orders .filter-bar,
#withdraws .filter-bar {
  grid-template-columns: minmax(260px, 1fr) 180px;
}

#configs .filter-bar {
  grid-template-columns: minmax(260px, 1fr);
}

#categories .filter-bar {
  grid-template-columns: minmax(240px, 1fr) 180px;
}

#banners .filter-bar {
  grid-template-columns: minmax(260px, 1fr) 180px;
}

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

.data-row {
  display: grid;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-row {
  grid-template-columns: minmax(320px, 1.45fr) 0.5fr 0.78fr 0.76fr auto;
}

.banner-row {
  grid-template-columns: minmax(340px, 1.3fr) minmax(180px, 0.7fr) 0.45fr 0.45fr auto;
}

.product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.product-thumb {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3f1;
  border: 1px solid var(--line);
}

.product-thumb-empty {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
}

.banner-thumb {
  width: 132px;
  height: 76px;
}

.user-row {
  grid-template-columns: minmax(220px, 1.1fr) 0.9fr 0.7fr 1fr auto;
}

.category-row {
  grid-template-columns: minmax(240px, 1.1fr) 0.45fr 0.45fr 0.7fr auto;
}

.order-row {
  grid-template-columns: minmax(220px, 1.1fr) 0.8fr 0.8fr 0.65fr 0.85fr auto;
}

.ledger-row {
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr) 0.8fr 0.65fr 0.8fr auto;
}

.withdraw-row {
  grid-template-columns: minmax(180px, 1fr) 0.7fr 0.9fr 1fr auto;
}

.row-title {
  font-size: 15px;
  font-weight: 850;
}

.pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f5ef;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.pill.warn {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.pill.gray {
  background: var(--gray-bg);
  color: var(--gray-text);
}

.pill.dark {
  background: #e7eceb;
  color: var(--primary-dark);
}

.status-select {
  width: 126px;
  height: 38px;
  background: #fbfcfc;
  font-size: 13px;
}

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

.rule-card,
.board-card,
.config-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.rule-title,
.board-title,
.config-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
}

.rule-summary {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf9;
  color: var(--muted);
  font-size: 13px;
}

.rule-summary strong {
  color: var(--primary-dark);
}

.rule-form,
.config-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.config-form {
  grid-template-columns: 1fr;
}

.config-key {
  margin-top: 8px;
  word-break: break-all;
}

.board-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.slot {
  height: 30px;
  border-radius: 6px;
  background: var(--gray-bg);
  color: var(--gray-text);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
}

.slot.active {
  background: #e8f5ef;
  border: 1px solid #9ed8ca;
  color: var(--primary);
}

.card-actions {
  margin-top: 14px;
}

.empty {
  padding: 28px;
  border: 1px dashed #c8d2ce;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #fbfcfc;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(13, 20, 24, 0.34);
}

.drawer-backdrop[hidden],
.modal-backdrop[hidden] {
  display: none;
}

.drawer {
  width: min(720px, 94vw);
  height: 100vh;
  margin-left: auto;
  background: #ffffff;
  box-shadow: -20px 0 44px rgba(28, 35, 41, 0.18);
  display: flex;
  flex-direction: column;
}

.drawer-head {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.drawer-body {
  padding: 22px;
  overflow: auto;
}

.drawer-subtitle {
  margin: 22px 0 10px;
}

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

.product-preview {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.product-preview-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: #eef3f1;
}

.product-preview-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed #c8d2ce;
}

.product-preview-meta {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.product-preview-meta strong {
  font-size: 18px;
}

.product-preview-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}

.rich-text {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
  color: #34433f;
  font-size: 14px;
  line-height: 1.75;
}

.rich-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
  border-radius: 8px;
}

.rich-text h2,
.rich-text h3,
.rich-text p {
  margin: 8px 0;
}

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

.image-list img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #eef3f1;
}

.attribute-image-list img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.video-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #173f3a;
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.detail-item {
  min-height: 72px;
  padding: 14px;
  border-radius: 8px;
  background: #f7faf9;
  border: 1px solid var(--line);
}

.detail-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.detail-item strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

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

.compact-row {
  min-height: 48px;
  padding: 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

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

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

.tree-node {
  min-height: 78px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f7faf9;
  display: grid;
  gap: 4px;
}

.tree-node span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.tree-node strong {
  color: var(--gray-text);
}

.tree-node.active strong {
  color: var(--primary-dark);
}

.tree-node em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-card {
  width: min(440px, 100%);
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-modal {
  width: min(1040px, 96vw);
  max-height: min(86vh, 820px);
  overflow: auto;
}

.banner-modal {
  width: min(760px, 96vw);
}

.product-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.banner-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.rich-editor {
  border: 1px solid #d5ddda;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.rich-editor .ql-toolbar.ql-snow {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #f7faf9;
}

.rich-editor .ql-container.ql-snow {
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.rich-editor .ql-editor {
  min-height: 280px;
  max-height: 460px;
  overflow: auto;
  line-height: 1.75;
}

.rich-editor .ql-editor.ql-blank::before {
  color: #9aa6a2;
  font-style: normal;
}

.rich-editor .ql-editor img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
  border-radius: 8px;
}

.sku-editor {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

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

.sku-editor-head strong {
  display: block;
  color: var(--text);
}

.sku-editor-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sku-rows {
  display: grid;
  gap: 10px;
}

.sku-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(86px, 1fr)) minmax(130px, 1.4fr) 94px 70px;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sku-row label {
  gap: 5px;
  font-size: 12px;
}

.sku-row input,
.sku-row select {
  min-height: 36px;
  padding: 7px 8px;
}

.sku-row .sku-remove {
  min-height: 36px;
}

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

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: none;
  min-width: 180px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(28, 35, 41, 0.18);
}

@media (max-width: 1280px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-row,
  .banner-row,
  .user-row,
  .order-row,
  .ledger-row,
  .withdraw-row {
    grid-template-columns: 1fr 1fr;
  }

  .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  body {
    display: block;
  }

  .sidebar {
    width: auto;
    min-height: 0;
    position: static;
  }

  nav {
    grid-template-columns: repeat(4, max-content);
    overflow-x: auto;
  }

  .main {
    padding: 18px;
  }

  .topbar,
  .section-head {
    display: grid;
  }

  .actions,
  .form-actions {
    justify-content: flex-start;
  }

  .filter-bar,
  #users .filter-bar,
  #banners .filter-bar,
  #categories .filter-bar,
  #orders .filter-bar,
  #withdraws .filter-bar,
  #configs .filter-bar,
  .stats,
  .overview-list,
  .form-grid,
  .form-grid.compact,
  .rule-grid,
  .board-grid,
  .config-grid,
  .product-row,
  .category-row,
  .user-row,
  .order-row,
  .ledger-row,
  .withdraw-row,
  .detail-grid,
  .tree-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .login-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .login-visual,
  .login-card {
    padding: 30px 28px;
  }

  .drawer {
    width: 100vw;
  }

  .product-preview,
  .image-list {
    grid-template-columns: 1fr;
  }
}
