/* Full-color local backdrop; panels and forms retain their readable surfaces. */
body[data-offline="true"] {
  background-color: #f5f9fb;
  background-image: linear-gradient(140deg, var(--theme-bg1) 0%, var(--theme-bg2) 55%, var(--theme-bg3) 100%);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media print {
  body[data-offline="true"] { background: white !important; }
}
.quick-sale-product-option.is-bestseller {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--theme-soft);
  border-color: var(--theme-primary);
}
.quick-sale-bestseller-label { color: var(--theme-dark); font-weight: 700; }

/* Adegás — verde floresta e esmeralda, 06/11/2026. */
:root {
  --primary: var(--theme-primary);
  --primary-dark: var(--theme-dark);
  --success: var(--theme-primary);
  --ink: #172d25;
  --muted: #536c60;
  --line: #d5e4db;
  --surface-soft: #f1f6f3;
}
.site-header {
  background: linear-gradient(115deg, var(--theme-deep) 0%, var(--theme-dark) 55%, var(--theme-primary) 100%);
  border-bottom: 1px solid rgb(190 222 201 / 22%);
  box-shadow: 0 8px 28px rgb(12 43 30 / 18%);
}
.card.quick-sale-workspace {
  background: linear-gradient(130deg, var(--theme-dark) 0%, var(--theme-primary) 60%, var(--theme-primary) 100%);
  border-color: var(--theme-dark);
}
.dashboard-hero {
  background: linear-gradient(120deg, #ffffff 0%, var(--theme-soft) 58%, var(--theme-bg2) 100%);
  border-color: var(--theme-line);
}
.button:not(.button-secondary):not(.button-danger),
button[type="submit"]:not(.link-button):not(.button-secondary):not(.button-danger):not(.module-link-button) {
  background: linear-gradient(120deg, var(--theme-dark), var(--theme-primary));
  color: #fff;
  border-color: var(--theme-dark);
}
.button:not(.button-secondary):not(.button-danger):hover,
button[type="submit"]:not(.link-button):not(.button-secondary):not(.button-danger):not(.module-link-button):hover {
  background: linear-gradient(120deg, var(--theme-dark), var(--theme-dark));
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .button, button {transition: background-color .15s ease, border-color .15s ease;}
}
@media print {.site-header {box-shadow:none;}}
