:root {
  --blue: #f59e0b !important;
  --blue-dark: #dd7a00 !important;
  --blue-50: #fff7e7 !important;
  --blue-100: #ffedc4 !important;
  --ink: #1f1a16 !important;
  --muted: #776e65 !important;
  --line: #e9e1d7 !important;
  --canvas: #f8f6f2 !important;
  --white: #ffffff !important;
  --orange: #f59e0b !important;
  --shadow: 0 12px 30px rgba(71, 48, 18, 0.06) !important;
}

html,
body {
  background: #f8f6f2 !important;
  color: #1f1a16 !important;
  font-family: Montserrat, Arial, sans-serif !important;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline-color: rgba(245, 158, 11, 0.28) !important;
}

.sidebar {
  width: 337px !important;
  padding: 27px 20px 18px !important;
  overflow-y: auto;
  border-right-color: #e9e1d7 !important;
  background: #fffefa !important;
}

.brand {
  min-height: 62px;
  justify-content: flex-start !important;
  padding: 0 7px 20px !important;
  border-bottom: 0 !important;
}

.brand-lockup {
  width: auto !important;
  flex: 1;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
  line-height: 1.2 !important;
}

.brand-logo,
.brand-lockup > span:not(.hunnie-brand-copy) {
  display: none !important;
}

.hunnie-mark {
  position: relative;
  display: grid;
  flex: 0 0 53px;
  width: 53px;
  height: 53px;
  place-items: center;
  overflow: visible;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffb32f, #f39400);
  box-shadow: 0 8px 18px rgba(238, 139, 0, 0.19);
  color: #fff;
}

.hunnie-mark span {
  color: #fff !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.hunnie-mark b {
  position: absolute;
  top: -7px;
  right: -6px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #fffefa;
  border-radius: 50%;
  background: #fff7e7;
  color: #e78400;
  font-size: 13px;
  font-weight: 800;
}

.hunnie-brand-copy {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 0 !important;
  color: #1f1a16 !important;
}

.hunnie-brand-copy strong {
  color: #221e1a;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.35px;
}

.hunnie-brand-copy small {
  color: #8b8177;
  font-size: 12px;
  font-weight: 500;
}

.nav-label {
  padding: 14px 12px 14px !important;
  color: #aaa198 !important;
  font-size: 11px !important;
  letter-spacing: 1.65px !important;
}

.sidebar nav {
  gap: 9px !important;
}

.sidebar nav button {
  position: relative;
  display: grid !important;
  grid-template-columns: 23px 38px minmax(0, 1fr);
  gap: 10px !important;
  min-height: 61px;
  padding: 8px 12px 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  color: #675f57 !important;
}

.sidebar nav button::before {
  content: "";
  grid-column: 1;
  align-self: center;
  color: #b9b0a6;
  font-size: 10px;
  font-weight: 700;
}

.sidebar nav button:nth-child(1)::before { content: "01"; }
.sidebar nav button:nth-child(2)::before { content: "02"; }
.sidebar nav button:nth-child(3)::before { content: "03"; }
.sidebar nav button:nth-child(4)::before { content: "04"; }
.sidebar nav button:nth-child(5)::before { content: "05"; }
.sidebar nav button:nth-child(6)::before { content: "06"; }
.sidebar nav button:nth-child(7)::before { content: "07"; }
.sidebar nav button:nth-child(8)::before { content: "08"; }
.sidebar nav button:nth-child(9)::before { content: "09"; }

.sidebar nav button:hover {
  background: #fffaf0 !important;
}

.sidebar nav button.active {
  border-color: #f5c76b !important;
  background: #fff7e7 !important;
  color: #211c18 !important;
}

.sidebar nav button.active::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: -21px;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: #f59e0b;
}

.sidebar nav button i {
  display: grid !important;
  place-items: center;
  grid-column: 2;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #e9e1d7;
  border-radius: 12px !important;
  background: #fff !important;
  color: #756c63 !important;
}

.sidebar nav button i svg {
  display: block;
  width: 19px;
  height: 19px;
}

.sidebar nav button.active i {
  border-color: #f59e0b !important;
  background: #f59e0b !important;
  color: #fff !important;
  box-shadow: 0 6px 12px rgba(245, 158, 11, 0.2) !important;
}

.sidebar nav button > span {
  grid-column: 3;
  gap: 1px !important;
}

.sidebar nav button small {
  display: none !important;
}

.sidebar nav button strong {
  color: inherit;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.38;
}

.sidebar-footer {
  margin-top: auto;
  align-items: center;
  padding: 19px 8px 0 !important;
  color: #b4aba2 !important;
}

.sidebar-footer span {
  letter-spacing: 0 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  text-transform: none;
}

.sidebar-footer small {
  display: none;
}

.main-area {
  margin-left: 337px !important;
  background: #f8f6f2;
}

.main-area > .topbar {
  display: none !important;
}

.content-area {
  max-width: 1600px !important;
  padding: 38px 42px 72px !important;
}

.tool-page {
  gap: 24px !important;
}

.eyebrow,
.card-title span,
.result-eyebrow,
.panel > .section-heading .eyebrow,
.time-filter-heading b {
  color: #e87800 !important;
}

.section-heading h2,
.card-title h3,
.panel > .section-heading h2 {
  color: #171310 !important;
}

.section-heading h2 {
  font-size: clamp(28px, 2.55vw, 38px) !important;
  letter-spacing: -1.2px !important;
}

.section-heading p,
.source-pill,
label > span,
label > small,
.upload-copy span,
.empty-state p,
.data-notice,
.metric-top > span,
.metric-card > small {
  color: #796f65 !important;
}

.source-pill {
  border-color: #d7e8df !important;
  background: #f8fffb !important;
  color: #4e7866 !important;
}

.form-card,
.price-result,
.panel,
.metric-card,
.upload-card,
.source-profit-card {
  border-color: #e8dfd3 !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(82, 57, 27, 0.055) !important;
}

.form-card,
.panel,
.price-result {
  border-radius: 22px !important;
}

.price-result {
  border-color: #f4bd52 !important;
  background: linear-gradient(180deg, #fffdf8 0%, #fff8e9 100%) !important;
}

.listing-price,
.formula-box,
.target-note,
.roi-suggestion,
.wallet-explanation,
.source-profit-wallet,
.customer-price-summary > div,
.fee,
.compact-empty {
  border-color: #eadfce !important;
  background: #fffdfa !important;
}

.result-price,
.price-result > strong,
.listing-price strong,
.variable-total-line strong,
.fee strong,
.match-panel .section-head > strong {
  color: #df7900 !important;
}

.button.primary,
.uploader .button.primary,
button.primary {
  border-color: #f59e0b !important;
  background: linear-gradient(135deg, #ffad22, #f08d00) !important;
  box-shadow: 0 8px 18px rgba(239, 142, 0, 0.2) !important;
  color: #fff !important;
}

.button.primary:hover:not(:disabled),
button.primary:hover:not(:disabled) {
  background: #e98200 !important;
}

.button.secondary,
.icon-button,
.segmented,
.time-filter-modes,
input,
select {
  border-color: #ded4c7 !important;
}

input,
select {
  color: #2a241f !important;
  background-color: #fff !important;
}

input:focus,
select:focus {
  border-color: #f2aa25 !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12) !important;
}

.segmented,
.time-filter-modes,
.icon-button {
  background: #f8f4ef !important;
}

.segmented button.active,
.time-filter-modes button.active {
  color: #d87500 !important;
  background: #fff !important;
}

.uploader {
  border-color: #f0bf62 !important;
  background: #fffaf0 !important;
}

.upload-icon,
.empty-state-icon,
.step-index,
.fee-icon {
  background: #fff1cf !important;
  color: #e77c00 !important;
}

.time-filter,
.period-strip,
.data-notice,
.dispatch-policy-note,
.order-count-equation,
.ads-filter-panel {
  border-color: #eadfce !important;
  background: #fffaf2 !important;
}

.metric-card {
  border-top-color: var(--accent, #f59e0b) !important;
}

th,
.customer-scenario-head {
  background: #fff6e6 !important;
  color: #645b52 !important;
}

td,
.customer-scenario-row span {
  color: #514940 !important;
}

.table-wrap,
.customer-scenario-table {
  border-color: #e9dfd2 !important;
}

.formula-box code,
.price-breakdown b,
.analytics-list strong,
.source-component strong,
.source-reconcile strong {
  color: #3b332c !important;
}

.progress i {
  background: linear-gradient(90deg, #f59e0b, #f7c04b) !important;
}

@media (max-width: 1180px) {
  .sidebar {
    width: 290px !important;
  }

  .main-area {
    margin-left: 290px !important;
  }

  .content-area {
    padding-right: 26px !important;
    padding-left: 26px !important;
  }
}

@media (max-width: 980px) {
  .sidebar {
    width: min(337px, 88vw) !important;
  }

  .main-area {
    margin-left: 0 !important;
  }

  .main-area > .topbar {
    display: flex !important;
    border-bottom-color: #e9e1d7 !important;
    background: rgba(255, 254, 250, 0.96) !important;
  }

  .topbar-status i {
    background: #f59e0b !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12) !important;
  }
}

@media (max-width: 720px) {
  .content-area {
    padding: 24px 14px 48px !important;
  }

  .section-heading h2 {
    font-size: 28px !important;
  }
}
