@import url("https://use.typekit.net/czg7nrx.css?v=20260908-pixel");

:root {
  color-scheme: dark;
  --ink: #f1eee4 !important;
  --muted: #94988f !important;
  --paper: #080908 !important;
  --card: #0d0f0d !important;
  --line: rgba(255, 163, 26, 0.2) !important;
  --green: #e52635 !important;
  --green2: #f39a18 !important;
  --mint: rgba(102, 209, 149, 0.13) !important;
  --blue: rgba(95, 179, 219, 0.13) !important;
  --amber: #f39a18 !important;
  --amber-soft: rgba(243, 154, 24, 0.12) !important;
  --danger: #ff5361 !important;
  --danger-soft: rgba(229, 38, 53, 0.13) !important;
  --neutral: #171917 !important;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42) !important;
  --cd-sidebar: #090a09;
  --cd-panel: #0a0c0a;
  --cd-bone: #f1eee4;
}

html[data-theme="meadow"] {
  color-scheme: light;
  --ink: #3d3028 !important;
  --muted: #746255 !important;
  --paper: #fbf3d8 !important;
  --card: #fffaf0 !important;
  --line: rgba(105, 113, 73, 0.3) !important;
  --green: #aa4d5b !important;
  --green2: #a96b28 !important;
  --mint: rgba(82, 127, 88, 0.13) !important;
  --blue: rgba(93, 138, 122, 0.13) !important;
  --amber: #a96b28 !important;
  --amber-soft: rgba(169, 107, 40, 0.12) !important;
  --danger: #a83e48 !important;
  --danger-soft: rgba(168, 62, 72, 0.12) !important;
  --neutral: #f0e5cf !important;
  --shadow: 0 24px 70px rgba(103, 72, 56, 0.18) !important;
  --cd-sidebar: #e9efd2;
  --cd-panel: #f5e8c9;
  --cd-bone: #3d3028;
}

html,
body {
  background: var(--paper) !important;
}

body {
  min-width: 300px;
  color: var(--ink) !important;
  font-family: "roc-grotesk", "Segoe UI", Arial, sans-serif !important;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 163, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 163, 26, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

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

input,
select,
textarea {
  border-color: rgba(255, 163, 26, 0.26) !important;
  border-radius: 0 !important;
  background: #111311 !important;
  color: var(--ink) !important;
}

input::placeholder,
textarea::placeholder {
  color: #73786f;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f39a18 !important;
  box-shadow: 0 0 0 3px rgba(243, 154, 24, 0.14) !important;
}

input[readonly] {
  background: #171917 !important;
  color: #a7aaa2 !important;
}

.cd-layout {
  min-height: 100svh;
}

.cd-sidebar {
  position: fixed;
  z-index: 45;
  inset: 0 auto 0 0;
  display: flex;
  width: 258px;
  flex-direction: column;
  border-right: 1px solid rgba(255, 163, 26, 0.2);
  background: #090a09;
}

.cd-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  border-bottom: 1px solid rgba(255, 163, 26, 0.18);
  padding: 12px 16px;
  color: var(--cd-bone);
  text-decoration: none;
}

.cd-brand-symbol {
  display: block;
  flex: none;
  background-color: #000;
  background-image: url("/brand/chamut-digital-symbol.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

html[data-theme="meadow"] .cd-brand-symbol {
  background-color: transparent;
  background-image: url("/brand/chamut-digital-symbol-cottage.png");
}

.cd-brand .cd-brand-symbol {
  width: 44px;
  height: 44px;
}

.cd-brand strong,
.cd-brand span {
  display: block;
}

.cd-brand strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cd-brand span {
  margin-top: 2px;
  color: #8f938a;
  font: 700 0.66rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-nav {
  flex: 1;
  overflow: auto;
  padding: 16px 10px;
  scrollbar-width: thin;
}

.cd-nav-label {
  margin: 14px 9px 7px;
  color: #676b64;
  font: 800 0.65rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cd-nav-label:first-child {
  margin-top: 0;
}

.cd-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin: 2px 0;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 9px 10px;
  color: #c4c5be;
  font-size: 0.9rem;
  font-weight: 690;
  text-decoration: none;
  transition: 150ms ease;
}

.cd-nav-link:hover {
  border-color: rgba(255, 163, 26, 0.14);
  background: #151714;
  color: var(--cd-bone);
}

.cd-nav-link[aria-current="page"] {
  border-color: rgba(229, 38, 53, 0.36);
  background: rgba(229, 38, 53, 0.12);
  color: #fff;
  box-shadow: inset 3px 0 0 #e52635;
}

.cd-nav-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  color: #f39a18;
  font: 800 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.cd-nav-link[aria-current="page"] .cd-nav-icon {
  color: #ff5260;
}

.cd-sidebar-footer {
  border-top: 1px solid rgba(255, 163, 26, 0.18);
  padding: 12px;
}

.cd-theme-toggle {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 163, 26, 0.24);
  border-radius: 0;
  background: #111311;
  color: #f1eee4;
  padding: 7px 9px;
  text-align: left;
  cursor: pointer;
  transition: 150ms ease;
}

.cd-theme-toggle:hover {
  border-color: rgba(243, 154, 24, 0.56);
  background: #171917;
  transform: translateY(-1px);
}

.cd-theme-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(243, 154, 24, 0.28);
  color: #f39a18;
  font-size: 1rem;
}

.cd-theme-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cd-theme-copy strong,
.cd-theme-copy small {
  display: block;
}

.cd-theme-copy strong {
  font-size: 0.78rem;
}

.cd-theme-copy small {
  margin-top: 2px;
  color: #757a71;
  font-size: 0.65rem;
}

.cd-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cd-account-text small,
.cd-account-text strong {
  display: block;
}

.cd-account-text small {
  color: #757a71;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-account-text strong {
  margin-top: 3px;
  font-size: 0.82rem;
}

.cd-logout {
  width: 38px;
  min-height: 38px !important;
  border: 1px solid rgba(255, 163, 26, 0.24);
  border-radius: 0;
  background: #111311;
  color: #aaaDA5;
  cursor: pointer;
  font-size: 1.05rem;
}

.cd-main {
  min-width: 0;
  margin-left: 258px;
}

.cd-mobile-header {
  position: sticky;
  z-index: 35;
  top: 0;
  display: none;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 163, 26, 0.2);
  background: rgba(9, 10, 9, 0.94);
  padding: 8px 12px;
  backdrop-filter: blur(14px);
}

.cd-menu-button {
  display: grid;
  width: 42px;
  min-height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 163, 26, 0.24);
  border-radius: 0;
  background: #111311;
  color: #f39a18;
  cursor: pointer;
  font-size: 1.15rem;
}

.cd-mobile-title {
  min-width: 0;
}

.cd-mobile-title strong,
.cd-mobile-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-mobile-title strong {
  font-size: 0.93rem;
}

.cd-mobile-title span {
  margin-top: 2px;
  color: #8f938a;
  font-size: 0.68rem;
}

.cd-mobile-logo {
  width: 38px;
  height: 38px;
  margin-left: auto;
}

.cd-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
}

.shell {
  width: min(100%, 1420px) !important;
  margin: 0 !important;
  padding: 24px clamp(14px, 3vw, 34px) 52px !important;
}

#app > .topbar .links,
#app > header .links,
#app > .tabs {
  display: none !important;
}

.topbar,
.header-row {
  align-items: flex-end !important;
  margin-bottom: 22px !important;
}

h1,
h2,
h3,
.aroma,
.equipment-title,
.empty strong {
  font-family: "roc-grotesk", "Segoe UI", Arial, sans-serif !important;
}

h1 {
  color: #f1eee4;
  font-size: clamp(2.05rem, 6vw, 3.4rem) !important;
  font-weight: 780 !important;
  letter-spacing: -0.045em !important;
}

.eyebrow {
  color: #f39a18 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.card,
.inventory-row,
.empty,
dialog,
.gate-card {
  border-color: rgba(255, 163, 26, 0.2) !important;
  border-radius: 0 !important;
  background: #0d0f0d !important;
  color: var(--ink) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28) !important;
}

.card {
  position: relative;
}

.card::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 16px;
  height: 16px;
  border-right: 1px solid rgba(243, 154, 24, 0.5);
  border-bottom: 1px solid rgba(243, 154, 24, 0.5);
  content: "";
  pointer-events: none;
}

.stat,
.metric,
.projection,
.info,
.work-status,
.status-chip,
.balance-badge,
.pill,
.row-tag,
.section-tag {
  border-radius: 0 !important;
}

.stat,
.metric,
.info {
  border: 1px solid rgba(255, 163, 26, 0.1);
  background: #151714 !important;
}

.button,
.save,
.refresh,
.export,
.nav-link,
.tab,
.period-arrow,
.period-nav button,
.dialog-close,
.cancel {
  border-radius: 0 !important;
}

.button.primary,
.save,
.refresh,
.tab[aria-selected="true"] {
  background: #e52635 !important;
  color: #fff !important;
}

.button.secondary,
.export,
.cancel,
.nav-link,
.period-arrow,
.period-nav button {
  border-color: rgba(255, 163, 26, 0.25) !important;
  background: #111311 !important;
  color: #f1eee4 !important;
}

.track {
  border-radius: 0 !important;
  background: #20231f !important;
}

.fill {
  border-radius: 0 !important;
  background: linear-gradient(90deg, #e52635, #f39a18) !important;
}

.capture::before {
  background: #e52635 !important;
}

.order-row,
.details-body {
  border-color: rgba(255, 163, 26, 0.14) !important;
}

.order-total,
.order-row strong,
.text-button {
  color: #f39a18 !important;
}

.gate {
  background:
    radial-gradient(circle at 50% 14%, rgba(229, 38, 53, 0.14), transparent 30rem),
    #080908 !important;
}

.gate-card {
  width: min(100%, 440px) !important;
  border-left: 4px solid #e52635 !important;
  padding: 28px !important;
}

.cd-gate-logo {
  display: block;
  width: 94px;
  height: 76px;
  margin: 0 0 18px;
  background-position: left center;
}

.toast {
  z-index: 80 !important;
  border: 1px solid rgba(243, 154, 24, 0.36) !important;
  border-radius: 0 !important;
  background: #111311 !important;
  color: #f1eee4 !important;
}

.import-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.import-stack {
  display: grid;
  gap: 14px;
}

.import-dropzone {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px dashed rgba(243, 154, 24, 0.45);
  background:
    radial-gradient(circle at 50% 30%, rgba(229, 38, 53, 0.11), transparent 14rem),
    #0a0c0a;
  padding: 24px;
  text-align: center;
  cursor: pointer;
}

.import-dropzone:hover,
.import-dropzone.dragging {
  border-color: #f39a18;
  background-color: #111311;
}

.import-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.import-dropzone strong,
.import-dropzone span {
  display: block;
}

.import-dropzone strong {
  color: #f1eee4;
  font-size: 1.05rem;
}

.import-dropzone span {
  margin-top: 8px;
  color: #8f938a;
  font-size: 0.8rem;
  line-height: 1.5;
}

.import-file-name {
  margin-top: 13px !important;
  color: #f39a18 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.import-anchor {
  margin-top: 14px;
}

.import-anchor p,
.import-note,
.import-last {
  color: #8f938a;
  font-size: 0.78rem;
  line-height: 1.5;
}

.import-anchor p {
  margin: 6px 0 0;
}

.import-preview {
  display: grid;
  gap: 12px;
}

.import-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.import-preview-stat {
  border: 1px solid rgba(255, 163, 26, 0.13);
  background: #151714;
  padding: 12px;
}

.import-preview-stat small,
.import-preview-stat strong {
  display: block;
}

.import-preview-stat small {
  color: #8f938a;
  font-size: 0.7rem;
}

.import-preview-stat strong {
  margin-top: 5px;
  color: #f1eee4;
  font-size: 1.15rem;
}

.import-warning {
  border-left: 3px solid #f39a18;
  background: rgba(243, 154, 24, 0.09);
  color: #dbc093;
  padding: 11px 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.import-success {
  border-left-color: #66d195;
  background: rgba(102, 209, 149, 0.09);
  color: #a6dabd;
}

.import-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c8c7c0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.import-confirm input {
  width: 18px !important;
  min-height: 18px !important;
  flex: none;
  margin-top: 1px;
}

.import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.import-actions .button {
  flex: 1;
  min-width: 170px;
}

.import-status {
  min-height: 1.4em;
  margin: 0;
  color: #8f938a;
  font-size: 0.8rem;
}

.import-status.error {
  color: #ff6470;
}

html[data-theme="meadow"] body {
  color: #3d3028 !important;
  font-family: "acumin-pro", "Segoe UI", Arial, sans-serif !important;
}

html[data-theme="meadow"] body::before {
  background-image:
    radial-gradient(circle at 12% 3%, rgba(241, 183, 112, 0.2), transparent 26rem),
    radial-gradient(circle at 92% 8%, rgba(123, 164, 137, 0.14), transparent 23rem),
    linear-gradient(90deg, rgba(190, 124, 137, 0.035) 50%, transparent 50%),
    linear-gradient(rgba(190, 124, 137, 0.035) 50%, transparent 50%),
    linear-gradient(rgba(184, 119, 132, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 119, 132, 0.075) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px, 32px 32px, 32px 32px;
}

html[data-theme="meadow"] h1,
html[data-theme="meadow"] h2,
html[data-theme="meadow"] h3,
html[data-theme="meadow"] h4,
html[data-theme="meadow"] .aroma,
html[data-theme="meadow"] .equipment-title,
html[data-theme="meadow"] .empty strong,
html[data-theme="meadow"] button,
html[data-theme="meadow"] [role="button"],
html[data-theme="meadow"] .cd-brand strong {
  font-family: "pixelify-sans", "Courier New", monospace !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

html[data-theme="meadow"] input,
html[data-theme="meadow"] select,
html[data-theme="meadow"] textarea {
  border-color: rgba(105, 113, 73, 0.34) !important;
  background: #fffdf6 !important;
  color: #3d3028 !important;
}

html[data-theme="meadow"] input::placeholder,
html[data-theme="meadow"] textarea::placeholder {
  color: #8d7969;
}

html[data-theme="meadow"] input:focus,
html[data-theme="meadow"] select:focus,
html[data-theme="meadow"] textarea:focus {
  border-color: #6f8b62 !important;
  box-shadow: 0 0 0 3px rgba(111, 139, 98, 0.16) !important;
}

html[data-theme="meadow"] input[readonly] {
  background: #f0e5cf !important;
  color: #746255 !important;
}

html[data-theme="meadow"] .cd-sidebar {
  border-color: rgba(78, 104, 66, 0.28);
  background-color: #e9efd2;
  background-image:
    linear-gradient(155deg, rgba(255, 255, 255, 0.3), transparent 45%),
    linear-gradient(to bottom, transparent 0 95%, rgba(66, 91, 42, 0.055) 95% 100%);
  background-size: auto, 100% 24px;
}

html[data-theme="meadow"] .cd-brand,
html[data-theme="meadow"] .cd-sidebar-footer,
html[data-theme="meadow"] .cd-mobile-header {
  border-color: rgba(78, 104, 66, 0.28);
}

html[data-theme="meadow"] .cd-brand {
  color: #35442f;
}

html[data-theme="meadow"] .cd-brand span,
html[data-theme="meadow"] .cd-mobile-title span,
html[data-theme="meadow"] .cd-account-text small,
html[data-theme="meadow"] .cd-theme-copy small,
html[data-theme="meadow"] .import-anchor p,
html[data-theme="meadow"] .import-note,
html[data-theme="meadow"] .import-last,
html[data-theme="meadow"] .import-status,
html[data-theme="meadow"] .import-dropzone span,
html[data-theme="meadow"] .import-preview-stat small {
  color: #746255;
}

html[data-theme="meadow"] .cd-nav-label {
  color: #6e7e61;
}

html[data-theme="meadow"] .cd-nav-link {
  color: #45563e;
}

html[data-theme="meadow"] .cd-nav-link:hover {
  border-color: rgba(78, 104, 66, 0.2);
  background: #d8e4bd;
  color: #2d3b28;
}

html[data-theme="meadow"] .cd-nav-link[aria-current="page"] {
  border-color: rgba(159, 72, 87, 0.38);
  background: rgba(170, 77, 91, 0.13);
  color: #57343a;
  box-shadow: inset 3px 0 0 #aa4d5b;
}

html[data-theme="meadow"] .cd-nav-icon {
  color: #6f8b62;
}

html[data-theme="meadow"] .cd-nav-link[aria-current="page"] .cd-nav-icon {
  color: #aa4d5b;
}

html[data-theme="meadow"] .cd-theme-toggle {
  border-color: rgba(111, 139, 98, 0.48);
  background-image: linear-gradient(145deg, #fffdf6, #f2dfb0);
  color: #55784f;
  box-shadow: 0 0 0 1px rgba(111, 139, 98, 0.12);
}

html[data-theme="meadow"] .cd-theme-toggle:hover {
  border-color: #6f8b62;
  background: #fffdf6;
  box-shadow: 0 0 0 3px rgba(111, 139, 98, 0.18);
}

html[data-theme="meadow"] .cd-theme-icon {
  border-color: rgba(111, 139, 98, 0.38);
  color: #55784f;
}

html[data-theme="meadow"] .cd-logout,
html[data-theme="meadow"] .cd-menu-button {
  border-color: rgba(105, 113, 73, 0.34);
  background: #fffdf6;
  color: #6f8b62;
}

html[data-theme="meadow"] .cd-mobile-header {
  background: rgba(255, 250, 240, 0.93);
  box-shadow: 0 4px 18px rgba(92, 80, 56, 0.09);
}

html[data-theme="meadow"] h1,
html[data-theme="meadow"] .import-dropzone strong,
html[data-theme="meadow"] .import-preview-stat strong {
  color: #3d3028;
}

html[data-theme="meadow"] .eyebrow,
html[data-theme="meadow"] .order-total,
html[data-theme="meadow"] .order-row strong,
html[data-theme="meadow"] .text-button,
html[data-theme="meadow"] .import-file-name {
  color: #a96b28 !important;
}

html[data-theme="meadow"] .card,
html[data-theme="meadow"] .inventory-row,
html[data-theme="meadow"] .empty,
html[data-theme="meadow"] dialog,
html[data-theme="meadow"] .gate-card {
  border-color: rgba(105, 113, 73, 0.3) !important;
  background: #fffaf0 !important;
  color: #3d3028 !important;
  box-shadow: 0 24px 70px rgba(103, 72, 56, 0.18) !important;
}

html[data-theme="meadow"] .card::after {
  border-color: rgba(170, 77, 91, 0.42);
}

html[data-theme="meadow"] .stat,
html[data-theme="meadow"] .metric,
html[data-theme="meadow"] .info,
html[data-theme="meadow"] .import-preview-stat {
  border-color: rgba(105, 113, 73, 0.2);
  background: #f0e5cf !important;
}

html[data-theme="meadow"] .button.primary,
html[data-theme="meadow"] .save,
html[data-theme="meadow"] .refresh,
html[data-theme="meadow"] .tab[aria-selected="true"] {
  background: #aa4d5b !important;
  color: #fffaf0 !important;
}

html[data-theme="meadow"] .button.secondary,
html[data-theme="meadow"] .export,
html[data-theme="meadow"] .cancel,
html[data-theme="meadow"] .nav-link,
html[data-theme="meadow"] .period-arrow,
html[data-theme="meadow"] .period-nav button {
  border-color: rgba(105, 113, 73, 0.3) !important;
  background: #fffdf6 !important;
  color: #3d3028 !important;
}

html[data-theme="meadow"] .track {
  background: #dce8c6 !important;
}

html[data-theme="meadow"] .fill {
  background: linear-gradient(90deg, #aa4d5b, #a96b28) !important;
}

html[data-theme="meadow"] .capture::before {
  background: #aa4d5b !important;
}

html[data-theme="meadow"] .order-row,
html[data-theme="meadow"] .details-body {
  border-color: rgba(105, 113, 73, 0.2) !important;
}

html[data-theme="meadow"] .gate {
  background:
    radial-gradient(circle at 50% 14%, rgba(202, 138, 91, 0.18), transparent 30rem),
    #fbf3d8 !important;
}

html[data-theme="meadow"] .gate-card {
  border-left-color: #aa4d5b !important;
}

html[data-theme="meadow"] .toast {
  border-color: rgba(111, 139, 98, 0.4) !important;
  background: #fffdf6 !important;
  color: #3d3028 !important;
}

html[data-theme="meadow"] .import-dropzone {
  border-color: rgba(111, 139, 98, 0.58);
  background:
    radial-gradient(circle at 50% 30%, rgba(170, 77, 91, 0.1), transparent 14rem),
    #f5e8c9;
}

html[data-theme="meadow"] .import-dropzone:hover,
html[data-theme="meadow"] .import-dropzone.dragging {
  border-color: #6f8b62;
  background-color: #fffdf6;
}

html[data-theme="meadow"] .import-warning {
  border-left-color: #a96b28;
  background: rgba(169, 107, 40, 0.1);
  color: #74491f;
}

html[data-theme="meadow"] .import-success {
  border-left-color: #527f58;
  background: rgba(82, 127, 88, 0.1);
  color: #355a3c;
}

html[data-theme="meadow"] .import-confirm {
  color: #4c4037;
}

html[data-theme="meadow"] .import-status.error {
  color: #a83e48;
}

@media (max-width: 900px) {
  .cd-sidebar {
    width: min(84vw, 292px);
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  .cd-layout.cd-nav-open .cd-sidebar {
    transform: translateX(0);
  }

  .cd-layout.cd-nav-open .cd-backdrop {
    display: block;
  }

  .cd-main {
    margin-left: 0;
  }

  .cd-mobile-header {
    display: flex;
  }

  .shell {
    padding-top: 18px !important;
  }
}

@media (max-width: 760px) {
  .import-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .import-preview-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .gate-card {
    padding: 22px !important;
  }

  .cd-mobile-title span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-sidebar,
  .cd-nav-link {
    transition: none;
  }
}
