:root {
  color-scheme:dark;
  --bg:#0b0d0b;
  --surface:#121512;
  --raised:#191d18;
  --line:#272c25;
  --text:#f3f4ec;
  --muted:#959b90;
  --lime:#b4ff63;
  --lime-dim:#202b18;
  --danger:#ff9399;
  --radius:16px;
  font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased
}
body:has(dialog[open]) {
  overflow:hidden
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  color:inherit;
  cursor:pointer
}
button:disabled {
  opacity:.5;
  cursor:wait
}
a {
  color:inherit;
  text-decoration:none
}
button {
  border:0
}
img,svg {
  display:block
}
img {
  max-width:100%
}
h1,h2,h3,p {
  margin:0
}
h2 {
  font-size:17px;
  font-weight:650;
  letter-spacing:-.35px
}
h3 {
  font-size:15px;
  font-weight:650
}
small {
  color:var(--muted);
  font-size:12px;
  line-height:1.65
}
code {
  font-size:12px
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid var(--lime);
  outline-offset:4px
}
[hidden] {
  display:none!important
}
::selection {
  background:var(--lime);
  color:#10160b
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  z-index:100;
  background:var(--lime);
  color:#111;
  padding:12px 20px;
  border-radius:8px
}
.skip-link:focus {
  top:12px
}
.muted {
  color:var(--muted)
}
.icon {
  width:20px;
  height:20px;
  flex:none;
  fill:none;
  stroke:currentColor
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:24px;
  font-weight:750;
  letter-spacing:-1px;
  white-space:nowrap
}
.brand-dot {
  color:var(--lime)
}
.eyebrow {
  display:block;
  color:var(--lime);
  font-size:10px;
  font-weight:650;
  letter-spacing:1.9px;
  margin-bottom:10px
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  min-height:43px;
  border:1px solid transparent;
  padding:10px 18px;
  border-radius:9px;
  font-size:12px;
  font-weight:650;
  transition:background .18s,border-color .18s;
  white-space:nowrap
}
.primary {
  background:var(--lime);
  color:#10150c
}
.primary:hover {
  background:#caff8e
}
.secondary {
  background:var(--surface);
  border-color:#343b30
}
.secondary:hover {
  background:var(--raised);
  border-color:#667758
}
.icon-button {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  flex:none;
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--muted)
}
.icon-button:hover {
  color:var(--lime);
  border-color:#5d7647
}
.text-button {
  background:none;
  color:var(--lime);
  font-size:12px;
  font-weight:600;
  padding:4px 0;
  text-align:left
}
.text-button:hover {
  text-decoration:underline
}
.notice {
  padding:13px 15px;
  background:#171e13;
  border:1px solid #33442a;
  border-radius:10px;
  color:#d1e6be;
  font-size:13px;
  line-height:1.7;
  overflow-wrap:anywhere
}
.notice.error {
  background:#271619;
  color:var(--danger);
  border-color:#623136
}
.notice.success {
  border-color:#5c773e;
  color:var(--lime)
}
.status-dot {
  width:7px;
  height:7px;
  display:inline-block;
  background:var(--lime);
  border-radius:50%;
  box-shadow:0 0 12px #b4ff6320;
  flex:none
}
.status-badge,.tag {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #3a4434;
  border-radius:6px;
  padding:4px 8px;
  font-size:10px;
  font-weight:600;
  color:#b1bba8;
  white-space:nowrap;
  line-height:1.4
}
.tag {
  letter-spacing:1px;
  font-size:9px
}
.status-badge.good {
  background:#202d17;
  border-color:#405630;
  color:#b4ff63
}
.status-badge.pending {
  background:#2b2518;
  border-color:#53452a;
  color:#ead08a
}
.status-badge.bad {
  background:#2b191b;
  border-color:#573136;
  color:#ffaaaa
}
.status-badge.neutral {
  background:#222420;
  border-color:#393f34;
  color:#b6bcae
}
.access-screen {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:100dvh;
  max-width:1440px;
  margin:auto
}
.access-card {
  width:min(410px,calc(100% - 48px));
  margin:auto;
  padding:70px 0
}
.access-card .brand {
  margin-bottom:65px
}
.access-card h1 {
  font-size:32px;
  line-height:1.15;
  letter-spacing:-1.4px;
  margin-bottom:14px
}
.access-card>.muted {
  margin-bottom:25px
}
.access-card>.notice {
  margin-bottom:20px
}
.access-card .form-stack {
  margin-top:24px
}
.access-card form>.button {
  width:100%;
  margin-top:5px
}
.access-card>.secondary {
  margin-top:16px
}
.back-link {
  display:block;
  color:var(--muted);
  margin-top:28px;
  font-size:12px
}
.back-link:hover {
  color:var(--lime)
}
.access-art {
  margin:24px;
  border:1px solid var(--line);
  border-radius:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:46px;
  background:radial-gradient(ellipse at center,#253b183b,transparent 60%),repeating-linear-gradient(90deg,transparent,transparent 79px,#9fe86805 80px),repeating-linear-gradient(0deg,transparent,transparent 79px,#9fe86805 80px),var(--surface)
}
.access-art img {
  filter:drop-shadow(0 0 45px #b4ff6320)
}
.access-art p {
  color:var(--muted);
  font-size:10px;
  letter-spacing:3px
}
.admin-shell {
  min-height:100dvh;
  display:grid;
  grid-template-columns:225px minmax(0,1fr)
}
.sidebar {
  height:100dvh;
  position:sticky;
  top:0;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:34px 22px 24px;
  background:#0e100d
}
.sidebar .brand {
  font-size:23px;
  gap:8px
}
.sidebar-label {
  font-size:9px;
  color:#70796a;
  font-weight:600;
  letter-spacing:1.7px;
  margin:47px 12px 15px
}
.admin-nav {
  display:flex;
  flex-direction:column;
  gap:7px
}
.admin-nav button {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  background:transparent;
  padding:12px 14px;
  border-radius:9px;
  font-size:12px;
  text-align:left;
  color:#a5ad9e;
  border:1px solid transparent;
  white-space:nowrap
}
.admin-nav button:hover {
  background:var(--surface);
  color:var(--text)
}
.admin-nav button[aria-current=page] {
  background:#202b18;
  border-color:#3d512b;
  color:var(--lime)
}
.admin-nav .icon {
  width:18px;
  height:18px
}
.sidebar-footer {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding:30px 10px 0;
  color:var(--muted);
  font-size:10px
}
.sidebar-footer a {
  width:100%;
  margin-top:10px;
  font-size:12px;
  color:var(--text)
}
.workspace {
  min-width:0
}
.topbar {
  height:82px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  gap:20px
}
.breadcrumb {
  font-size:11px;
  color:var(--muted)
}
.breadcrumb>span {
  padding:0 13px;
  color:#525a4c
}
.breadcrumb strong {
  color:var(--text);
  font-weight:500
}
.account {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:12px
}
.account>span {
  max-width:170px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.main-content {
  max-width:1550px;
  margin:auto;
  padding:35px 38px 0;
  outline:none
}
.main-content>#global-message {
  margin-bottom:22px
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:29px
}
.page-heading h1 {
  font-size:35px;
  letter-spacing:-1.6px;
  font-weight:650;
  line-height:1.2;
  margin-bottom:11px
}
.page-heading h1>span {
  color:var(--lime)
}
.page-heading p {
  font-size:12px
}
.page-heading .eyebrow {
  font-size:9px;
  margin-bottom:8px
}
.card {
  padding:23px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius);
  min-width:0
}
.card-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:24px
}
.card-heading p {
  font-size:11px;
  margin-top:5px
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-bottom:22px
}
.stat-card {
  padding:19px 18px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  min-width:0
}
.stat-label {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-bottom:15px
}
.stat-value {
  display:block;
  font-size:26px;
  font-weight:650;
  line-height:1.2;
  letter-spacing:-1px;
  overflow-wrap:anywhere
}
.stat-card:first-child {
  border-color:#4e6635;
  background:linear-gradient(130deg,#25321b,var(--surface))
}
.stat-card:first-child .stat-value {
  color:var(--lime)
}
.stat-help {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:10px
}
.dashboard-grid {
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:22px;
  margin-bottom:22px
}
.sales-chart {
  height:194px;
  display:flex;
  align-items:end;
  gap:5px;
  border-bottom:1px solid var(--line);
  padding:10px 0 23px;
  position:relative
}
.chart-column {
  flex:1;
  height:100%;
  display:flex;
  align-items:end;
  min-width:0
}
.chart-column meter {
  display:block;
  width:100%;
  height:100%;
  writing-mode:vertical-lr;
  direction:rtl;
  appearance:auto;
  accent-color:var(--lime)
}
.chart-labels {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:var(--muted);
  position:absolute;
  left:0;
  right:0;
  bottom:0
}
.chart-empty {
  margin:auto;
  color:var(--muted);
  font-size:12px;
  text-align:center
}
.attention-card>p {
  font-size:12px;
  margin-top:-10px;
  margin-bottom:19px
}
.attention-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:15px 0;
  background:none;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:12px;
  gap:12px
}
.attention-link:last-child {
  border-bottom:0;
  padding-bottom:2px
}
.attention-link>span:last-child {
  color:var(--lime)
}
.attention-link:hover {
  color:var(--lime)
}
.toolbar {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 20px;
  font-size:12px
}
.search-field {
  flex:1;
  position:relative
}
.search-field input {
  padding-left:41px
}
.search-field .icon {
  position:absolute;
  left:13px;
  top:13px;
  color:var(--muted);
  width:18px;
  height:18px
}
.toolbar select {
  width:auto;
  min-width:200px
}
.table-card {
  padding:0;
  overflow:hidden
}
.table-wrap {
  overflow-x:auto;
  width:100%
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:12px
}
th {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:600;
  color:var(--muted);
  padding:14px 15px;
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
td {
  padding:17px 15px;
  border-bottom:1px solid #22271f;
  vertical-align:middle
}
tbody tr:last-child td {
  border-bottom:0
}
tbody tr:hover {
  background:#ffffff02
}
td>small {
  display:block;
  font-size:10px;
  margin-top:3px
}
.customer-cell {
  max-width:220px;
  overflow-wrap:anywhere
}
.table-action {
  background:none;
  padding:5px 0;
  color:var(--lime);
  font-size:11px;
  font-weight:600;
  white-space:nowrap
}
.table-action:hover {
  text-decoration:underline
}
.order-reference {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:11px;
  color:#dce7d1
}
.nowrap {
  white-space:nowrap
}
.empty-state {
  padding:50px 20px;
  text-align:center;
  color:var(--muted);
  font-size:13px
}
.empty-state strong {
  display:block;
  color:var(--text);
  font-size:15px;
  margin-bottom:8px
}
.loading {
  padding:40px 20px;
  color:var(--muted);
  text-align:center
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:24px
}
.product-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  display:flex;
  flex-direction:column
}
.product-art {
  height:150px;
  position:relative;
  background:#191d18;
  overflow:hidden
}
.product-art img {
  width:100%;
  height:100%;
  object-fit:cover
}
.product-art .status-badge {
  position:absolute;
  right:10px;
  top:10px
}
.product-info {
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1
}
.product-category {
  color:var(--muted);
  font-size:9px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:7px
}
.product-info h2 {
  font-size:15px;
  overflow-wrap:anywhere
}
.product-info p {
  font-size:11px;
  color:var(--muted);
  margin-top:8px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}
.product-card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  padding-top:20px;
  gap:12px
}
.product-price {
  font-size:20px;
  font-weight:600;
  letter-spacing:-.7px
}
.product-card-footer .button {
  padding:7px 14px;
  min-height:35px;
  font-size:11px
}
.settings-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:24px;
  align-items:start
}
.settings-guide {
  display:grid;
  gap:22px
}
.settings-guide h2 {
  font-size:15px
}
.settings-guide .card-heading {
  margin-bottom:19px
}
.settings-guide .field-block {
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line)
}
.field-label {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-bottom:8px
}
.url-value {
  display:block;
  overflow-wrap:anywhere;
  color:#d1ddc6;
  line-height:1.8
}
.field-block .text-button {
  margin-top:10px
}
.guide-card ol {
  padding-left:20px;
  margin:20px 0;
  color:#bac2b3;
  font-size:12px
}
.guide-card li {
  padding-left:4px;
  margin-bottom:15px
}
.guide-card li::marker {
  color:var(--lime)
}
.guide-card p {
  font-size:11px;
  line-height:1.8;
  margin-bottom:20px
}
.readiness-item {
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:12px;
  margin:12px 0;
  color:var(--muted)
}
.readiness-item>span:first-child {
  font-weight:700;
  color:#dcbf77
}
.readiness-item.ready>span:first-child {
  color:var(--lime)
}
.readiness-item.ready {
  color:var(--text)
}
.form-stack {
  display:flex;
  flex-direction:column;
  gap:17px
}
.form-stack>.card-heading {
  margin-bottom:0
}
.form-stack>small {
  margin-top:-10px
}
.form-stack label {
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
  font-weight:500;
  color:#d1d7cb
}
input,select,textarea {
  width:100%;
  min-width:0;
  min-height:43px;
  background:#0c0f0b;
  border:1px solid #333b2d;
  border-radius:8px;
  color:var(--text);
  padding:11px 12px;
  font-size:12px;
  transition:border-color .18s
}
input:hover,select:hover,textarea:hover {
  border-color:#506140
}
input:focus,select:focus,textarea:focus {
  border-color:var(--lime)
}
input::placeholder,textarea::placeholder {
  color:#697262
}
input:disabled,select:disabled,textarea:disabled {
  opacity:.6
}
textarea {
  resize:vertical;
  line-height:1.6;
  max-height:360px
}
label.check-field {
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:12px;
  background:#161d12;
  border:1px solid #324028;
  padding:16px;
  border-radius:10px;
  cursor:pointer
}
.check-field input {
  width:16px;
  height:16px;
  min-height:0;
  accent-color:var(--lime);
  margin:3px 0 0;
  flex:none
}
.check-field small {
  display:block;
  font-weight:400;
  margin-top:5px
}
.form-actions {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-top:8px
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}
.workspace-footer {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  margin-top:40px;
  padding:20px 0 24px;
  color:#66705e;
  font-size:10px
}
.detail-dialog {
  width:min(680px,calc(100% - 32px));
  max-height:calc(100dvh - 48px);
  border:1px solid #3f4b35;
  background:#121611;
  color:var(--text);
  border-radius:19px;
  padding:28px;
  box-shadow:0 24px 100px #0008;
  overflow-y:auto;
  overscroll-behavior:contain
}
.detail-dialog::backdrop {
  background:#030602cc;
  backdrop-filter:blur(5px)
}
.dialog-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px
}
.dialog-heading h2 {
  font-size:23px;
  letter-spacing:-.7px;
  overflow-wrap:anywhere
}
.dialog-heading .eyebrow {
  font-size:9px
}
.detail-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:20px 0
}
.detail-grid>div {
  min-width:0
}
.detail-grid strong {
  display:block;
  font-size:13px;
  overflow-wrap:anywhere;
  font-weight:500
}
.detail-grid small {
  display:block;
  overflow-wrap:anywhere
}
.detail-label {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-bottom:5px
}
.detail-badges {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.order-items {
  margin:20px 0;
  display:flex;
  flex-direction:column
}
.order-item {
  display:flex;
  align-items:center;
  gap:13px;
  padding:13px 0;
  border-top:1px solid var(--line);
  font-size:12px
}
.order-item img {
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:8px;
  flex:none
}
.order-item>div {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere
}
.order-item strong {
  font-size:12px;
  font-weight:500
}
.order-item small {
  display:block;
  font-size:10px
}
.order-item>span {
  font-size:12px;
  white-space:nowrap
}
.order-total {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:17px;
  font-size:13px
}
.order-total strong {
  font-size:25px;
  color:var(--lime);
  letter-spacing:-.8px
}
.divider-top {
  border-top:1px solid var(--line);
  padding-top:24px;
  margin-top:25px
}
.conversation {
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:23px 0;
  max-height:380px;
  overflow-y:auto;
  padding-right:5px
}
.message-bubble {
  border:1px solid var(--line);
  border-radius:11px;
  background:#191e16;
  padding:14px
}
.message-bubble.admin {
  background:#202c18;
  border-color:#40512f;
  margin-left:24px
}
.message-meta {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:start;
  font-size:10px;
  color:var(--muted);
  margin-bottom:8px
}
.message-meta strong {
  font-weight:600;
  color:#cedabe;
  overflow-wrap:anywhere
}
.message-meta time {
  font-size:9px;
  white-space:nowrap
}
.message-bubble p {
  font-size:12px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.audit-detail {
  max-width:400px;
  font-size:11px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:var(--muted)
}
.pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
  margin-top:17px;
  font-size:11px
}
.pagination-controls {
  display:flex;
  gap:9px
}
.pagination .button {
  font-size:11px;
  min-height:35px;
  padding:7px 12px
}
.payment-issues {
  margin-top:23px
}
.payment-issues ul {
  padding-left:18px;
  margin-bottom:0
}
.payment-history h3 {
  margin-bottom:12px
}
@media(min-width:1500px) {
  .main-content {
    padding-top:45px
  }
  .stats-grid {
    gap:20px
  }
  .stat-card {
    padding:23px
  }
  .stat-value {
    font-size:30px
  }
  .product-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
}
@media(max-width:1200px) {
  .admin-shell {
    grid-template-columns:195px minmax(0,1fr)
  }
  .sidebar {
    padding-inline:16px
  }
  .sidebar .brand {
    font-size:21px
  }
  .sidebar .brand img {
    width:30px;
    height:30px
  }
  .topbar {
    padding-inline:26px
  }
  .main-content {
    padding-inline:26px
  }
  .stats-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .dashboard-grid {
    grid-template-columns:1.5fr 1fr
  }
  .card {
    padding:20px
  }
  .table-card {
    padding:0
  }
  .product-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .settings-grid {
    grid-template-columns:1fr
  }
  .settings-guide {
    grid-template-columns:1fr 1fr
  }
  .stat-value {
    font-size:25px
  }
  .dashboard-grid .card-heading {
    align-items:start
  }
  .dashboard-grid .tag {
    display:none
  }
}
@media(max-width:850px) {
  .admin-shell {
    display:block
  }
  .sidebar {
    position:static;
    height:auto;
    padding:20px 24px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
    gap:20px
  }
  .sidebar .brand {
    font-size:23px
  }
  .sidebar-label,.sidebar-footer {
    display:none
  }
  .admin-nav {
    flex-direction:row;
    overflow-x:auto;
    gap:5px;
    padding-bottom:13px;
    scrollbar-width:thin
  }
  .admin-nav button {
    padding:9px 11px;
    gap:7px;
    font-size:11px;
    min-height:38px
  }
  .admin-nav .icon {
    width:16px;
    height:16px
  }
  .topbar {
    height:65px;
    padding-inline:24px
  }
  .main-content {
    padding:28px 24px 0
  }
  .page-heading h1 {
    font-size:30px
  }
  .dashboard-grid {
    grid-template-columns:1fr
  }
  .attention-card {
    display:none
  }
  .settings-guide {
    grid-template-columns:1fr 1fr
  }
  .access-screen {
    grid-template-columns:1fr
  }
  .access-art {
    display:none
  }
  .access-card {
    max-width:440px
  }
  .access-card .brand {
    margin-bottom:50px
  }
  .access-card {
    padding-block:45px
  }
  .toolbar {
    flex-wrap:wrap
  }
  .search-field {
    flex-basis:100%
  }
  .toolbar select {
    flex:1
  }
  .product-art {
    height:165px
  }
}
@media(max-width:520px) {
  .sidebar {
    padding:19px 16px 0;
    gap:16px
  }
  .sidebar .brand {
    font-size:23px
  }
  .topbar {
    padding-inline:18px;
    height:59px
  }
  .breadcrumb {
    font-size:10px
  }
  .breadcrumb>span {
    padding-inline:8px
  }
  .account {
    gap:8px
  }
  .account>span {
    max-width:85px;
    font-size:10px
  }
  .main-content {
    padding:25px 16px 0
  }
  .page-heading {
    align-items:flex-start;
    gap:12px;
    margin-bottom:23px
  }
  .page-heading h1 {
    font-size:29px
  }
  .page-heading .eyebrow {
    font-size:8px;
    letter-spacing:1.25px
  }
  .page-heading p {
    font-size:11px;
    max-width:220px
  }
  .page-heading>.button {
    font-size:10px;
    padding:8px 10px;
    min-height:35px;
    margin-top:18px
  }
  .page-heading>.tag {
    margin-top:20px;
    font-size:8px
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .stat-card {
    padding:16px 13px
  }
  .stat-card:first-child {
    grid-column:1 / -1
  }
  .stat-value {
    font-size:26px
  }
  .stat-label {
    font-size:10px;
    margin-bottom:11px
  }
  .stat-help {
    font-size:9px
  }
  .card {
    padding:17px
  }
  .table-card {
    padding:0
  }
  .card-heading {
    gap:10px;
    margin-bottom:20px
  }
  .card-heading h2 {
    font-size:14px
  }
  .card-heading p {
    font-size:10px
  }
  .sales-chart {
    gap:3px;
    height:170px
  }
  .product-grid {
    grid-template-columns:1fr;
    gap:15px
  }
  .product-art {
    height:160px
  }
  .product-info {
    padding:17px
  }
  .settings-guide {
    grid-template-columns:1fr
  }
  .settings-grid {
    gap:18px
  }
  .form-actions {
    flex-wrap:wrap
  }
  .form-actions .button {
    flex:1;
    font-size:11px;
    white-space:normal;
    padding-inline:12px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .form-stack {
    gap:17px
  }
  .check-field {
    padding:13px!important
  }
  .workspace-footer {
    gap:20px;
    font-size:9px;
    align-items:start
  }
  .workspace-footer>span:last-child {
    text-align:right
  }
  .detail-dialog {
    padding:22px 17px;
    max-height:calc(100dvh - 24px);
    width:calc(100% - 20px);
    border-radius:14px
  }
  .dialog-heading h2 {
    font-size:21px
  }
  .detail-grid {
    gap:15px
  }
  .detail-grid strong {
    font-size:12px
  }
  .order-item {
    gap:10px
  }
  .order-item img {
    width:39px;
    height:39px
  }
  .order-item>span {
    font-size:11px
  }
  .order-item strong {
    font-size:11px
  }
  .message-meta {
    flex-wrap:wrap;
    gap:4px
  }
  .message-bubble.admin {
    margin-left:10px
  }
  .notice {
    font-size:12px;
    padding:12px
  }
  .access-card {
    width:calc(100% - 40px)
  }
  .access-card h1 {
    font-size:29px
  }
  .toolbar select {
    min-width:0;
    font-size:11px
  }
  .toolbar .button {
    font-size:11px
  }
  .account .icon-button {
    width:32px;
    height:32px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important
  }
}

/* Keep names readable inside the horizontally scrollable mobile tables. */
.customer-cell {
  min-width: 170px;
}
.button.danger {
  color: var(--danger);
  background: #2b171b;
  border: 1px solid #70414a;
}
.button.danger:hover {
  background: #402129;
  border-color: var(--danger);
}
#order-cancel-help {
  font-size: 12px;
  margin: 12px 0 18px;
}
.cancellation-summary {
  margin-top: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cancellation-summary p {
  margin-top: 8px;
}
.streaming-service-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.streaming-service-field > small {
  grid-column: 1 / -1;
}
.streaming-service-logo {
  width: 100px;
  height: 40px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .streaming-service-field { grid-template-columns: 1fr; }
}
