:root {
  color-scheme: dark;
  --bg: #0f172a;
  --panel: #111827;
  --panel-2: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --border: rgba(148, 163, 184, 0.22);
  --danger: #f87171;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Segoe UI, Arial, sans-serif;
  background: linear-gradient(180deg, #020617 0%, var(--bg) 100%);
  color: var(--text);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.hero {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 18px 32px -30px rgba(56, 189, 248, 0.65);
}

.hero > :first-child {
  max-width: 860px;
}

.hero-version {
  margin: 6px 0 10px;
  color: #f8fbff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero h1 {
  color: #f8fbff;
  text-shadow: 0 8px 22px rgba(2, 6, 23, 0.32);
}

.hero .subtle {
  color: #b7c8dd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent);
}

h1, h2, p {
  margin-top: 0;
}

.subtle,
.note,
.empty-state {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
  position: relative;
}

.grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 0.95) 18%, rgba(34, 197, 94, 0.88) 50%, rgba(56, 189, 248, 0.95) 82%, rgba(56, 189, 248, 0) 100%);
  box-shadow: 0 12px 28px -18px rgba(56, 189, 248, 0.9);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.span-2 {
  grid-column: span 2;
}

.card,
.status-card {
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.status-card {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 28px -24px rgba(2, 132, 199, 0.6);
}

.status-card-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.status-card h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #dff6ff;
  letter-spacing: 0.01em;
}

.status-style-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.55);
}

.status-style-button {
  width: auto;
  min-width: 74px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #9fb8cf;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-style-button.is-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(34, 197, 94, 0.26));
  border-color: rgba(125, 211, 252, 0.32);
  color: #effbff;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.auth-panel {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
  padding-left: 22px;
  border-top: none;
  border-left: 1px solid rgba(56, 189, 248, 0.24);
  position: relative;
}

.auth-panel h3 {
  margin: 0;
  font-size: 16px;
  color: #cdeeff;
}

.auth-actions {
  margin-top: 0;
}

.auth-error {
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.auth-error.is-hidden {
  display: none;
}

.is-hidden {
  display: none !important;
}

.lookup-progress {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.4);
}

.lookup-progress.is-hidden {
  display: none;
}

.lookup-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lookup-progress-header strong {
  color: #dff6ff;
  font-size: 13px;
}

.lookup-progress-header span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lookup-progress-track {
  position: relative;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.lookup-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.25), rgba(56, 189, 248, 0.95), rgba(34, 197, 94, 0.88));
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
  animation: lookup-progress-slide 1.15s ease-in-out infinite;
}

.lookup-progress.is-success .lookup-progress-bar,
.lookup-progress.is-error .lookup-progress-bar {
  width: 100%;
  animation: none;
  transform: none;
}

.lookup-progress.is-success .lookup-progress-bar {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.72), #22c55e);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

.lookup-progress.is-error .lookup-progress-bar {
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.72), #f87171);
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.35);
}

.lookup-progress.is-success .lookup-progress-header strong {
  color: #86efac;
}

.lookup-progress.is-error .lookup-progress-header strong {
  color: #fca5a5;
}

@keyframes lookup-progress-slide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(260%);
  }
}

.current-user-display {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.42);
}

.current-user-display.success {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(20, 83, 45, 0.18);
}

.status-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 13px;
}

body.status-style-copilot .status-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

body.status-style-copilot .status-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-content: stretch;
  align-items: start;
  min-height: 96px;
  padding: 14px 15px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 31, 49, 0.96), rgba(12, 20, 34, 0.94));
  border-color: rgba(96, 165, 250, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 30px -24px rgba(15, 23, 42, 0.95);
}

body.status-style-copilot .status-pill-label {
  width: 100%;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
}

body.status-style-copilot .status-light {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  flex-basis: 12px;
}

body.status-style-copilot .status-pill-copy {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 6px;
}

body.status-style-copilot .status-pill strong {
  font-size: 18px;
  max-width: 100%;
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  text-align: left;
}

body.status-style-copilot .status-pill-copy small {
  font-size: 11px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  text-align: left;
}

body.status-style-copilot .status-pill span {
  font-size: 10px;
  line-height: 1.35;
}

body.status-style-copilot .status-pill-label span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.status-pill-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.status-light {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  flex: 0 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-light-go {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16), 0 0 12px rgba(34, 197, 94, 0.5);
}

.status-light-stop {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16), 0 0 12px rgba(239, 68, 68, 0.45);
}

.status-pill-copy {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.status-pill span {
  color: #8ab4d6;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill-label span:last-child {
  min-width: 0;
}

.status-pill strong {
  color: #f8fbff;
  font-size: 13px;
  line-height: 1.2;
  text-align: right;
}

.status-pill-copy small {
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.1;
  text-align: right;
}

.status-pill-value-muted {
  color: #cbd5e1;
}

.status-pill strong.status-pill-value-muted {
  color: #cbd5e1;
}

.status-pill-value-fresh {
  color: #86efac;
}

.status-pill strong.status-pill-value-fresh {
  color: #86efac;
}

.status-pill-value-warning {
  color: #fde047;
}

.status-pill strong.status-pill-value-warning {
  color: #fde047;
}

.status-pill-value-alert {
  color: #fca5a5;
}

.status-pill strong.status-pill-value-alert {
  color: #fca5a5;
}

.field,
.stack {
  display: grid;
  gap: 8px;
}

.field-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.field-inline-action {
  width: auto;
  min-width: 120px;
  padding: 8px 12px;
}

.stack {
  gap: 14px;
}

select,
input,
textarea,
button {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font: inherit;
}

select,
input,
textarea {
  background: #020617;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.button {
  cursor: pointer;
  background: #0f172a;
  color: var(--text);
}

a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f172a;
  border: none;
  font-weight: 700;
}

.pill-tab-link {
  width: auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: #dbeafe;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pill-tab-link:hover,
.pill-tab-link:focus-visible {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
  transform: translateY(-1px);
}

.submenu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.submenu-tab {
  width: auto;
  min-width: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
  font-weight: 600;
}

.submenu-tab.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.18);
  color: #dbeafe;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.log-filters {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.summary-item {
  padding: 14px;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1px solid var(--border);
}

.summary-item label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-item strong {
  font-size: 16px;
}

.pricing-percent-grid,
.pricing-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.pricing-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pricing-panel-block {
  display: grid;
  gap: 12px;
}

.pricing-panel-block h3 {
  margin: 0;
}

.pricing-summary-grid .summary-item strong {
  font-size: 20px;
}

.summary-item-highlight {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(20, 83, 45, 0.18);
}

.summary-item-warning {
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(113, 63, 18, 0.22);
}

.summary-item-error {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.18);
}

.pricing-breakdown-card {
  grid-column: 1 / -1;
}

.product-panel {
  min-height: 220px;
  display: grid;
  align-items: center;
}

.product-card {
  display: grid;
  gap: 14px;
}

.product-create-form {
  align-content: start;
}

.create-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
}

.admin-tool-card {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.6);
}

.admin-tool-card h3 {
  margin-bottom: 6px;
}

.admin-tool-row {
  align-items: end;
}

.admin-secrets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.secret-field-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.52);
}

.secret-field-card input {
  letter-spacing: 0.08em;
}

.admin-tool-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.manifest-formula-card {
  min-height: 100%;
  align-content: center;
}

.create-section-highlight {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.88));
}

.upc-lookup-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12), rgba(30, 41, 59, 0.7));
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.08) inset;
}

.upc-lookup-row {
  align-items: stretch;
}

.button-upc {
  width: auto;
  min-width: 180px;
  border: none;
  color: #111827;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.2);
}

.button-upc:hover:not(:disabled) {
  filter: brightness(1.05);
}

.costco-search-row {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.button-costco {
  width: auto;
  min-width: 220px;
  padding: 12px 18px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(59, 130, 246, 0.22));
  color: #e0f2fe;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.14);
}

.button-costco:hover:not(:disabled),
.button-costco:focus-visible:not(:disabled) {
  border-color: rgba(125, 211, 252, 0.85);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(59, 130, 246, 0.34));
  transform: translateY(-1px);
}

.upc-lookup-status {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.4);
}

.upc-lookup-status strong,
.compact-summary-item strong {
  font-size: 15px;
}

.upc-result-highlight {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(20, 83, 45, 0.18);
}

.compact-summary-item {
  align-content: center;
}

.create-section-header-block {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.create-section-header-block h3,
.create-section-header-block h4,
.condition-card p {
  margin: 0;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toggle-card {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.45);
}

.create-loyalty-section {
  display: grid;
  gap: 10px;
}

.create-loyalty-options {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 280px);
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.create-loyalty-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.create-loyalty-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.create-loyalty-option span {
  text-align: center;
}

.create-loyalty-option.is-active {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #eff6ff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.create-loyalty-option:hover {
  color: #e2e8f0;
}

.create-loyalty-option.is-active:hover {
  transform: translateY(-1px);
}

.create-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 10px;
}

.create-step-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.32);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.create-step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.create-step-card strong,
.create-step-card span {
  margin: 0;
}

.create-step-number {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.create-step-card.is-active {
  border-color: rgba(59, 130, 246, 0.72);
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.28), rgba(15, 23, 42, 0.72));
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.24) inset, 0 14px 28px rgba(30, 64, 175, 0.18);
  transform: translateY(-2px);
}

.create-step-card.is-active .create-step-number {
  border-color: rgba(125, 211, 252, 0.9);
  background: rgba(125, 211, 252, 0.2);
  color: #eff6ff;
}

.create-step-card.is-complete {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(20, 83, 45, 0.18);
}

.create-step-card.is-complete .create-step-number {
  border-color: rgba(34, 197, 94, 0.8);
  background: rgba(34, 197, 94, 0.18);
  color: #dcfce7;
}

.create-step-header {
  display: grid;
  gap: 6px;
}

.create-step-header h4,
.create-step-header p {
  margin: 0;
}

.create-step-status {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.62);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.create-step-card.is-active .create-step-status {
  border-color: rgba(125, 211, 252, 0.75);
  color: #eff6ff;
}

.create-step-card.is-complete .create-step-status {
  border-color: rgba(34, 197, 94, 0.75);
  color: #dcfce7;
}

.create-step-actions {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
}

.create-product-modal-card .button {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-color: rgba(96, 165, 250, 0.28);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.38), rgba(8, 145, 178, 0.34));
  box-shadow: 0 10px 22px rgba(8, 47, 73, 0.18);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.create-product-modal-card .button:hover:not(:disabled),
.create-product-modal-card .button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: rgba(125, 211, 252, 0.65);
}

.create-product-modal-card .button-primary {
  border: none;
  background: linear-gradient(135deg, #f97316, #ec4899);
  color: #fff7ed;
  box-shadow: 0 14px 26px rgba(236, 72, 153, 0.22);
}

.create-product-modal-card .button-upc {
  min-width: 156px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff7ed;
  box-shadow: 0 14px 24px rgba(239, 68, 68, 0.18);
}

.create-product-modal-card .button-costco {
  min-width: 180px;
  padding: 10px 14px;
  border-color: rgba(45, 212, 191, 0.42);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.45), rgba(59, 130, 246, 0.38));
  color: #ecfeff;
}

.create-product-modal-card .field-inline-action,
.create-product-modal-card .button-upc,
.create-product-modal-card .button-costco {
  width: auto;
}

.create-product-modal-card .create-step-actions .button {
  width: 100%;
  min-width: 0;
}

.create-product-modal-card #create-product-step-back {
  border-color: rgba(56, 189, 248, 0.42);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.62), rgba(8, 145, 178, 0.52));
  color: #e0f2fe;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.18);
}

.create-product-modal-card #create-product-step-next {
  border-color: rgba(74, 222, 128, 0.42);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.72), rgba(16, 185, 129, 0.62));
  color: #ecfdf5;
  box-shadow: 0 14px 24px rgba(16, 185, 129, 0.2);
}

.create-product-modal-card #create-product-step-back:hover:not(:disabled),
.create-product-modal-card #create-product-step-back:focus-visible:not(:disabled) {
  border-color: rgba(125, 211, 252, 0.75);
}

.create-product-modal-card #create-product-step-next:hover:not(:disabled),
.create-product-modal-card #create-product-step-next:focus-visible:not(:disabled) {
  border-color: rgba(134, 239, 172, 0.78);
}

.create-product-modal-card #cancel-create-product-form {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.86), rgba(51, 65, 85, 0.92));
  color: #e2e8f0;
}

.create-review-grid {
  margin-bottom: 12px;
}

.create-review-condition-wrap {
  padding-top: 8px;
}

.product-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-structure-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 158px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.42);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.product-structure-card input {
  margin: 0;
  justify-self: start;
}

.product-structure-card strong,
.product-structure-card span {
  margin: 0;
}

.product-structure-card strong {
  font-size: 18px;
}

.product-structure-card span {
  color: var(--muted);
  line-height: 1.45;
}

.product-structure-card.is-active {
  border-color: rgba(34, 197, 94, 0.7);
  background: rgba(20, 83, 45, 0.2);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22) inset;
}

.product-structure-card.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .create-stepper,
  .product-structure-grid {
    grid-template-columns: 1fr;
  }

  .create-step-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lookup-advanced-options {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.32);
}

.lookup-advanced-options summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
}

.lookup-advanced-options summary::-webkit-details-marker {
  display: none;
}

.lookup-advanced-options summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.lookup-advanced-options[open] summary::after {
  content: '\2212';
}

.lookup-advanced-toggle {
  margin: 0 12px 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
}

.lookup-advanced-toggle span {
  display: grid;
  gap: 4px;
}

.lookup-advanced-toggle small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.condition-section {
  display: none;
  border-style: dashed;
}

.condition-section.is-active {
  display: grid;
  border-color: rgba(34, 197, 94, 0.65);
  background: rgba(20, 83, 45, 0.16);
}

.condition-help {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.45);
}

.condition-help p {
  margin: 0;
}

.condition-field-grid {
  align-items: end;
}

.condition-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.condition-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.45);
}

.condition-card label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inline-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.inline-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dimension-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.supplier-filter-field {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.32);
}

.supplier-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
}

.supplier-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.12);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 600;
}

.managed-supplier-chip {
  gap: 8px;
  padding-right: 6px;
}

.supplier-chip-button {
  width: auto;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1;
}

.supplier-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.supplier-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}

.supplier-option input {
  width: auto;
  margin-top: 2px;
}

.supplier-option span {
  display: grid;
  gap: 4px;
}

.supplier-option small {
  color: var(--muted);
}

.checkbox-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkbox-field input {
  width: auto;
}

.label-tools {
  margin-top: 16px;
}

.label-tools .field span {
  display: block;
}

.print-label-sheet {
  display: none;
}

.print-label-card {
  width: 2.25in;
  height: 1.25in;
  padding: 0.03in 0.035in 0.01in 0.07in;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.01in;
  background: white;
  color: black;
  border: none;
  border-radius: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  align-content: start;
}

.print-label-title {
  margin: 0;
  min-width: 0;
  font-size: 7.9pt;
  line-height: 1;
  font-weight: 400;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.print-label-price {
  font-size: 17.4pt;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  text-align: right;
  align-self: start;
}

.print-label-price-empty {
  visibility: hidden;
}

.print-label-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 0.025in;
  align-items: start;
  min-height: 0;
}

.print-label-barcode-wrap {
  display: flex;
  justify-content: center;
  min-height: 0.2in;
  line-height: 0;
}

.print-label-barcode {
  width: 72%;
  height: 0.18in;
  display: block;
  object-fit: fill;
  object-position: top center;
}

.print-label-barcode-text {
  font-size: 7pt;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1;
}

.print-label-footer {
  font-size: 7pt;
  line-height: 1;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
}

.modal-overlay.is-hidden {
  display: none;
}

.modal-card {
  width: min(100%, 520px);
  background: rgba(17, 24, 39, 0.96);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.close-match-modal-card {
  width: min(100%, 640px);
  position: relative;
}

.create-product-modal-card {
  width: min(100%, 1100px);
  max-height: min(92vh, 1100px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

#create-product-modal-body {
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
}

.close-match-busy .close-match-modal-card {
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.close-match-busy .close-match-modal-card > .section-header,
.close-match-busy .close-match-modal-card > #close-match-body,
.close-match-busy .close-match-modal-card > #close-match-message {
  opacity: 0.4;
  pointer-events: none;
}

.close-match-busy .close-match-modal-card > #close-match-progress {
  position: absolute;
  top: 50%;
  left: 24px;
  right: 24px;
  z-index: 3;
  transform: translateY(-50%);
  margin: 0;
  padding: 16px 18px;
  border-width: 2px;
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(2, 6, 23, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.close-match-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.5);
}

.close-match-card img {
  width: 100%;
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
}

.close-match-copy {
  display: grid;
  gap: 8px;
}

.close-match-copy h3,
.close-match-copy p {
  margin: 0;
}

.close-match-review-prompt {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.86));
  color: #f8fafc;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 12px 28px rgba(15, 23, 42, 0.22);
  text-shadow: 0 1px 0 rgba(15, 23, 42, 0.45);
}

.close-match-callout {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.close-match-callout h3,
.close-match-callout p {
  margin: 0;
}

.close-match-callout h3 {
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.close-match-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.close-match-callout-search {
  background: linear-gradient(145deg, rgba(8, 47, 73, 0.98), rgba(30, 64, 175, 0.72));
  border-color: rgba(125, 211, 252, 0.8);
}

.close-match-callout-search h3,
.close-match-callout-search .close-match-eyebrow {
  color: #f0f9ff;
}

.close-match-callout-search p {
  color: #e0f2fe;
}

.close-match-status-line {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(240, 249, 255, 0.14);
  border: 1px solid rgba(186, 230, 253, 0.45);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.close-match-search-detail {
  font-size: 14px;
  line-height: 1.45;
}

.close-match-search-term {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.close-match-callout-confirm {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.34), rgba(31, 41, 55, 0.94));
  border-color: rgba(251, 191, 36, 0.55);
}

.close-match-callout-confirm .close-match-eyebrow {
  color: #fde68a;
}

.close-match-callout-confirm h3 {
  color: #f8fafc;
  text-shadow: 0 1px 0 rgba(15, 23, 42, 0.45);
}

.close-match-callout-confirm p {
  color: #f8fafc;
}

.close-match-counter {
  color: #dff6ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.close-match-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.close-match-actions .button[data-close-match-action="yes"],
.close-match-actions .button[data-close-match-action="confirm"] {
  border: none;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  color: #ecfdf5;
  box-shadow: 0 14px 24px rgba(20, 184, 166, 0.22);
}

.close-match-actions .button[data-close-match-action="no"] {
  border-color: rgba(248, 113, 113, 0.52);
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.9), rgba(239, 68, 68, 0.72));
  color: #fff1f2;
  box-shadow: 0 14px 24px rgba(239, 68, 68, 0.18);
}

.close-match-actions .button[data-close-match-action="back"],
.close-match-actions .button[data-close-match-action="open-create"] {
  border-color: rgba(96, 165, 250, 0.35);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(37, 99, 235, 0.42));
  color: #e0f2fe;
}

.close-match-variant-list {
  display: grid;
  gap: 10px;
}

.close-match-variant-actions {
  display: grid;
  grid-template-columns: 100px 140px;
  gap: 8px;
  align-content: start;
}

.close-match-busy .variant-row {
  border-color: rgba(96, 165, 250, 0.3);
}

.upc-result {
  display: grid;
  gap: 6px;
}

.image-preview-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.6);
}

.image-preview {
  width: 100%;
  max-width: 240px;
  max-height: 240px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
}

.extra-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.extra-image-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: white;
}

.form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#create-form-status {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.45);
}

.product-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
}

.variant-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.variant-list h4 {
  margin: 0;
}

.variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.45);
}

.variant-actions {
  display: grid;
  grid-template-columns: 90px 120px;
  gap: 8px;
  align-content: start;
}

.variant-qty-input {
  min-width: 0;
}

.success {
  color: #86efac;
}

.warning {
  color: #fbbf24;
}

.error {
  color: var(--danger);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 14px;
}

.inventory-audit-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.missing-image-layout {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.missing-image-list .table-wrap {
  margin-top: 0;
}

.missing-image-list-table {
  min-width: 100%;
}

.missing-image-detail {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.42);
}

.inventory-audit-list .table-wrap {
  margin-top: 0;
}

.inventory-audit-list-table {
  min-width: 100%;
}

.inventory-audit-detail {
  display: grid;
  gap: 16px;
  min-height: 240px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.42);
}

.inventory-audit-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inventory-audit-toolbar .button {
  width: auto;
}

.inventory-audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.inventory-audit-count-input {
  min-width: 88px;
  max-width: 120px;
}

.inventory-audit-variance.positive {
  color: #86efac;
}

.inventory-audit-variance.negative {
  color: #fca5a5;
}

.inventory-audit-variance.zero {
  color: var(--muted);
}

.inventory-audit-print-sheet {
  display: none;
}

.inventory-audit-print-card {
  color: black;
  background: white;
  width: 100%;
  max-width: 8in;
  margin: 0 auto;
}

.inventory-audit-print-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #0f172a;
}

.inventory-audit-print-header h1,
.inventory-audit-print-header p {
  color: black;
}

.inventory-audit-print-header .eyebrow {
  margin-bottom: 8px;
  color: #0f172a;
}

.inventory-audit-print-header h1 {
  margin-bottom: 8px;
  font-size: 22pt;
  line-height: 1.05;
}

.inventory-audit-print-header p {
  margin-bottom: 0;
  font-size: 10.5pt;
  line-height: 1.35;
}

.inventory-audit-print-meta {
  display: grid;
  gap: 4px;
  text-align: right;
  font-size: 11pt;
  white-space: nowrap;
}

.inventory-audit-print-col-item {
  width: 18%;
}

.inventory-audit-print-col-current,
.inventory-audit-print-col-counted {
  width: 14%;
}

.inventory-audit-print-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.inventory-audit-print-table th,
.inventory-audit-print-table td {
  border: 1px solid #cbd5e1;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.inventory-audit-print-table th {
  background: #e2e8f0;
  font-size: 10pt;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-audit-print-table td {
  font-size: 11pt;
}

.inventory-audit-print-table th:nth-child(3),
.inventory-audit-print-table th:nth-child(4),
.inventory-audit-print-table td:nth-child(3),
.inventory-audit-print-table td:nth-child(4) {
  text-align: center;
}

.inventory-audit-print-blank {
  width: 100%;
  min-width: 0;
  height: 24px;
  border-bottom: 2px solid #0f172a;
}

.log-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.log-table th,
.log-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.log-table th {
  background: rgba(2, 6, 23, 0.8);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
}

.status-badge.partial {
  color: #86efac;
}

.status-badge.complete {
  color: #fde047;
}

.status-badge.over {
  color: #fca5a5;
}

.status-badge.open {
  color: #93c5fd;
}

.status-badge.counted {
  color: #fcd34d;
}

.status-badge.reconciled {
  color: #86efac;
}

.status-badge.partially-reconciled {
  color: #fdba74;
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .status-card {
    grid-template-columns: 1fr;
  }

  .status-card-header {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .status-card h2 {
    grid-column: auto;
  }

  .status-style-toggle {
    align-self: flex-start;
  }

  .auth-panel {
    margin-top: 16px;
    padding-top: 16px;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(56, 189, 248, 0.24);
  }

  .span-2 {
    grid-column: span 1;
  }

  .log-filters {
    grid-template-columns: 1fr;
  }

  .inline-action-row,
  .inline-form-row,
  .dimension-grid,
  .dimension-grid-4,
  .toggle-grid,
  .missing-image-layout,
  .inventory-audit-layout,
  .pricing-compare-grid,
  .condition-preview-grid,
  .form-actions,
  .close-match-actions,
  .variant-row,
  .variant-actions,
  .close-match-card,
  .close-match-variant-actions {
    grid-template-columns: 1fr;
  }
}

@page {
  margin: 0.12in;
}

@media print {
  body.printing-label {
    width: 2.25in;
    height: 1.25in;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: white;
  }

  body {
    background: white;
    color: black;
  }

  body.printing-label .page,
  body.printing-label .modal-overlay {
    display: none !important;
  }

  body.printing-label .print-label-sheet {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 2.25in;
    height: 1.25in;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  body.printing-label .print-label-card {
    border: none;
    margin: 0;
    width: 100%;
    height: 100%;
  }

  body.printing-audit {
    background: white;
    color: black;
  }

  body.printing-audit .page {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.printing-audit .grid {
    display: block;
  }

  body.printing-audit .card,
  body.printing-audit .status-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
  }

  body.printing-audit .hero,
  body.printing-audit #admin-access-message,
  body.printing-audit #admin-subnav-section,
  body.printing-audit #pricing-admin-section,
  body.printing-audit #manifest-builder-section,
  body.printing-audit #stale-inventory-section,
  body.printing-audit #admin-secrets-section,
  body.printing-audit #admin-users-section,
  body.printing-audit #inventory-audit-section > :not(.inventory-audit-print-sheet) {
    display: none !important;
  }

  body.printing-audit #inventory-audit-section {
    display: block !important;
    border: none;
    background: white;
    padding: 0;
    width: 100%;
    max-width: none;
  }

  body.printing-audit .inventory-audit-print-sheet {
    display: block;
    width: 100%;
  }
}
