:root {
  --teal: #567d2e;
  --teal-2: #759f3f;
  --lime: #98c455;
  --mint: #eff6e5;
  --cream: #fbfaf5;
  --ink: #293226;
  --muted: #788172;
  --line: #e5eadf;
  --gold: #e27338;
  --shadow: 0 18px 50px rgba(86, 125, 46, .10);
}

html,
body {
  background: #f7f8f4;
}

.sidebar {
  background: linear-gradient(180deg, #4f752d, #628d34);
}

.brand-with-logo {
  align-items: stretch;
  flex-direction: column;
  gap: 7px;
}

.brand-logo-card {
  align-items: center;
  background: #fff;
  border-radius: 12px;
  display: flex;
  min-height: 74px;
  overflow: hidden;
  padding: 5px 8px;
  width: 100%;
}

.brand-logo {
  display: block;
  height: auto;
  width: 100%;
}

.brand-with-logo > small {
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.6px;
  margin: 0;
  padding-left: 3px;
}

.sidebar nav a:hover {
  background: rgba(255, 255, 255, .12);
  border-left: 3px solid #e27338;
}

.user-card-clean {
  padding-left: 3px;
}

.user-card-clean b {
  font-size: 13px;
}

.user-card-clean small {
  color: rgba(255, 255, 255, .68);
  opacity: 1;
}

.welcome {
  background: linear-gradient(120deg, #567d2e, #98c455);
}

.welcome .eyebrow,
.welcome p:not(.eyebrow) {
  color: rgba(255, 255, 255, .86);
}

.login-brand {
  background: linear-gradient(145deg, #4d722c, #98c455);
}

.login-brand .eyebrow,
.login-brand > p:last-child {
  color: rgba(255, 255, 255, .86);
}

.login-logo-card {
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(49, 77, 29, .18);
  display: flex;
  margin-bottom: 28px;
  max-width: 300px;
  overflow: hidden;
  padding: 8px 12px;
}

.login-logo {
  display: block;
  height: auto;
  width: 100%;
}

.btn.primary {
  background: #5f8733;
}

.btn.primary:hover {
  background: #496d28;
}

.btn.secondary,
.role-badge,
.source-icon {
  background: #eff6e5;
  color: #567d2e;
}

.size-selector input:checked + span {
  background: #698f3a;
  border-color: #698f3a;
}

.beverage-hero {
  background: linear-gradient(125deg, #4f752d, #769f3f);
}

.beverage-image,
.beverage-photo {
  background: linear-gradient(145deg, #eff6e5, #f8dfd0);
}

.source-icon.base,
.base-use-builder {
  background: #fff1e8;
  color: #a64f22;
}

.base-use-builder {
  border-color: #f1d5c5;
}

.section-number,
.size-dot,
.base-number {
  color: #e27338;
}

.size-dot {
  background: #e27338;
}

.status.submitted {
  background: #fff0e7;
  color: #a65226;
}

.manual-head,
.manual-item-row {
  display: grid;
  grid-template-columns: 90px minmax(150px, 1.5fr) 88px 88px 68px 78px 85px 28px;
  gap: 7px;
  align-items: center;
}

.manual-head {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 0 4px 5px;
  text-transform: uppercase;
}

.manual-item-row {
  margin: 8px 0;
}

.manual-item-row input,
.manual-item-row select {
  min-width: 0;
  padding: 9px 8px;
}

.manual-item-row .line-cost {
  font-size: 11px;
  text-align: right;
}

@media(max-width: 900px) {
  .manual-head { display: none; }
  .manual-item-row {
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
  .manual-item-row .line-cost { text-align: left; }
}

@media(max-width: 560px) {
  .manual-item-row { grid-template-columns: 1fr 1fr; }
  .login-logo-card { max-width: 245px; }
}
