:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #182230;
  --muted: #475467;
  --line: #e4e7ec;
  --brand: #f08a00;
  --brand-dark: #c76b00;
  --blue: #0b56c4;
  --ok: #16a34a;
  --warn: #dc6803;
  --danger: #dc2626;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f2f5fa 100%);
  color: var(--text);
}
body.is-auth-locked {
  overflow: hidden;
}
body.is-auth-locked .app-shell {
  filter: blur(12px);
  pointer-events: none;
  user-select: none;
}
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
}
.auth-overlay[hidden] {
  display: none !important;
}
.auth-card {
  width: min(100%, 420px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.auth-card h2 {
  margin: 0 0 8px;
}
.auth-note {
  margin: 0 0 16px;
  color: var(--muted);
}
.auth-form {
  display: grid;
  gap: 12px;
}
.auth-passcode-label {
  display: grid;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.auth-passcode-input {
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.auth-actions {
  justify-content: center;
}
.auth-status {
  min-height: 20px;
  font-size: 13px;
  font-weight: 700;
}
button, input, select {
  font: inherit;
}
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.app-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #0f172a;
  color: #fff;
  padding: 24px 18px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.brand-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}
.brand-block-logo {
  grid-template-columns: 1fr;
  gap: 12px;
}
.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffb648 0%, #f08a00 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
}
.brand-logo-wrap {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 0 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.brand-logo-mark {
  position: absolute;
  inset: 8px 0 auto 0;
  height: 74px;
  pointer-events: none;
}
.brand-logo-orb {
  position: absolute;
  left: 18px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #90cdfa 0%, #2196f3 45%, #0b56c4 100%);
  box-shadow: 0 0 0 2px rgba(11,86,196,0.14);
}
.brand-logo-swoosh {
  position: absolute;
  left: 36px;
  top: 18px;
  width: 170px;
  height: 32px;
  border-top: 5px solid #1d78e8;
  border-radius: 999px;
  transform: rotate(-6deg);
  opacity: 0.95;
}
.brand-logo-swoosh::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 154px;
  height: 22px;
  border-bottom: 4px solid rgba(107,114,128,0.75);
  border-radius: 999px;
  transform: rotate(9deg);
}
.brand-logo-molecule {
  position: absolute;
  left: 10px;
  bottom: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1d78e8;
  box-shadow: 14px 8px 0 #1d78e8, 28px 0 0 #1d78e8;
}
.brand-logo-wordmark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.brand-logo-st {
  background: linear-gradient(180deg, #41b6ff 0%, #0e74eb 48%, #0b3ea8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 0 rgba(10,47,122,0.14);
}
.brand-logo-k {
  margin-left: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #e5e7eb 48%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 0 rgba(71,85,105,0.18);
}
.brand-logo-sub {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #475467;
}
.brand-logo-tag {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  color: #0b3ea8;
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #98a2b3;
}
.sidebar h1,
.sidebar h2,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content p {
  margin-top: 0;
}
.muted {
  color: #cbd5e1;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.main-nav {
  display: grid;
  gap: 10px;
}
.nav-btn,
.primary-btn,
.filter-chip,
.mini-btn,
.input-chip,
.sales-menu-btn {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
}
.tap-feedback-active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.98) saturate(1.08);
}
.button-busy {
  position: relative;
  box-shadow: 0 0 0 3px rgba(11, 86, 196, 0.12);
}
.button-busy::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
  animation: stkTapPulse 0.9s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes stkTapPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}
.nav-btn {
  background: linear-gradient(180deg, #0f52ba 0%, #0033a0 100%);
  border-color: rgba(125, 170, 255, 0.42);
  color: #ffffff;
  text-align: left;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 10px 22px rgba(0, 51, 160, 0.24);
}
.nav-btn:hover {
  background: linear-gradient(180deg, #1f63cf 0%, #0a43b8 100%);
}
.nav-btn.is-active {
  background: linear-gradient(180deg, #ffb648 0%, #f08a00 100%);
  border-color: rgba(255, 214, 102, 0.45);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 12px 24px rgba(240, 138, 0, 0.24);
}
.nav-btn[data-tab="sales"],
.nav-btn[data-tab="technical"],
.nav-btn[data-tab="warehouse"] {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(74, 222, 128, 0.28);
  color: #dcfce7;
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.08);
}
.nav-btn[data-tab="sales"]:hover,
.nav-btn[data-tab="technical"]:hover,
.nav-btn[data-tab="warehouse"]:hover {
  background: rgba(34, 197, 94, 0.22);
}
.nav-btn[data-tab="sales"].is-active,
.nav-btn[data-tab="technical"].is-active,
.nav-btn[data-tab="warehouse"].is-active {
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
  border-color: #15803d;
  color: #ffffff;
}
.sidebar-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 16px;
}
.sidebar-card h2 {
  font-size: 16px;
  margin-bottom: 10px;
}
.simple-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #e2e8f0;
}
.main-content {
  padding: 24px;
  display: grid;
  gap: 18px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-actions,
.hero-actions,
.chip-row,
.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, #0b56c4 0%, #1d78e8 100%);
  color: #ffffff;
  border-color: rgba(29, 120, 232, 0.3);
  box-shadow: 0 10px 24px rgba(11, 86, 196, 0.18);
}
.admin-home-btn::before {
  content: '↩';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 900;
}
.admin-home-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.admin-home-btn.is-current,
.admin-home-btn[aria-current="page"] {
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 10px 24px rgba(11, 86, 196, 0.18);
}
.pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}
.pill {
  background: #eef2ff;
  color: #344054;
  border: 1px solid #dfe3f8;
}
.pill-warn { background: #fff3e8; color: var(--warn); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.entry-card-material,
.entry-card-product,
.entry-card-formula {
  position: relative;
  overflow: hidden;
}
.entry-card-material::before,
.entry-card-product::before,
.entry-card-formula::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}
.entry-card-material::before {
  background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
}
.entry-card-product::before {
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}
.entry-card-formula::before {
  background: linear-gradient(90deg, #f08a00 0%, #ffb648 100%);
}
.callcenter-card {
  position: relative;
  overflow: hidden;
  border-width: 2px;
}
.callcenter-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
}
.callcenter-card h3 {
  margin-bottom: 0;
}
.callcenter-card-customer {
  background: linear-gradient(180deg, #eff8ff 0%, #ffffff 100%);
  border-color: #b2ddff;
}
.callcenter-card-customer::before {
  background: linear-gradient(90deg, #2e90fa 0%, #53b1fd 100%);
}
.callcenter-card-reminder {
  background: linear-gradient(180deg, #f6fef9 0%, #ffffff 100%);
  border-color: #a6f4c5;
}
.callcenter-card-reminder::before {
  background: linear-gradient(90deg, #12b76a 0%, #6ce9a6 100%);
}
.callcenter-card-calllog {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border-color: #f9dbaf;
}
.callcenter-card-calllog::before {
  background: linear-gradient(90deg, #f79009 0%, #fdb022 100%);
}
.sales-theme-card {
  position: relative;
  overflow: hidden;
  border-width: 2px;
}
.sales-theme-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
}
.sales-theme-card > * {
  position: relative;
}
.sales-theme-employees {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-color: #cbd5e1;
}
.sales-theme-employees::before {
  background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%);
}
.sales-theme-projects {
  background: linear-gradient(180deg, #eff8ff 0%, #ffffff 100%);
  border-color: #b2ddff;
}
.sales-theme-projects::before {
  background: linear-gradient(90deg, #2e90fa 0%, #53b1fd 100%);
}
.sales-theme-callcenter {
  background: linear-gradient(180deg, #fff8eb 0%, #ffffff 100%);
  border-color: #f9dbaf;
}
.sales-theme-callcenter::before {
  background: linear-gradient(90deg, #f79009 0%, #fdb022 100%);
}
.sales-theme-todos {
  background: linear-gradient(180deg, #f6fef9 0%, #ffffff 100%);
  border-color: #a6f4c5;
}
.sales-theme-todos::before {
  background: linear-gradient(90deg, #12b76a 0%, #6ce9a6 100%);
}
.sales-theme-customers-wrap {
  gap: 16px;
}
.sales-theme-customers,
.sales-theme-customers-sub {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #b9e6fe;
}
.sales-theme-customers::before,
.sales-theme-customers-sub::before {
  background: linear-gradient(90deg, #0ba5ec 0%, #36bffa 100%);
}
.sales-theme-profiles {
  background: linear-gradient(180deg, #f9f5ff 0%, #ffffff 100%);
  border-color: #d9d6fe;
}
.sales-theme-profiles::before {
  background: linear-gradient(90deg, #7a5af8 0%, #9e77ed 100%);
}
.sales-theme-orders {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border-color: #fed7aa;
}
.sales-theme-orders::before {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
}
.sales-theme-commission {
  background: linear-gradient(180deg, #fff1f3 0%, #ffffff 100%);
  border-color: #fecdd3;
}
.sales-theme-commission::before {
  background: linear-gradient(90deg, #f43f5e 0%, #fb7185 100%);
}
.sales-theme-chat {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  border-color: #c7d7fe;
}
.sales-theme-chat::before {
  background: linear-gradient(90deg, #6172f3 0%, #8098f9 100%);
}
.sales-theme-chat-sub {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(128, 152, 249, 0.24);
}
.entry-title {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0;
}
.entry-title-material {
  background: #ecfdf3;
  color: #166534;
}
.entry-title-product {
  background: #eff6ff;
  color: #1d4ed8;
}
.entry-title-formula {
  background: #fff7ed;
  color: #c2410c;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.primary-btn {
  background: linear-gradient(180deg, #ffb648 0%, #f08a00 100%);
  color: #fff;
  border-color: var(--brand-dark);
  font-weight: 800;
}
.primary-btn.secondary-btn {
  background: #fff;
  color: var(--blue);
  border-color: #cfe0ff;
}
#salesOrderToggleBtn,
#showFormulaActionsBtn,
button[data-entry-toggle],
button[data-warehouse-toggle] {
  background: linear-gradient(180deg, #ffb648 0%, #f08a00 100%) !important;
  color: #ffffff !important;
  border-color: #c76b00 !important;
}
#salesOrderToggleBtn:hover,
#showFormulaActionsBtn:hover,
button[data-entry-toggle]:hover,
button[data-warehouse-toggle]:hover {
  filter: brightness(0.98);
}
.primary-btn[data-jump-tab="sales"],
.primary-btn[data-jump-tab="technical"],
.primary-btn[data-jump-tab="warehouse"] {
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
  border-color: #15803d;
  color: #ffffff;
}
.primary-btn.secondary-btn[data-jump-tab="sales"],
.primary-btn.secondary-btn[data-jump-tab="technical"],
.primary-btn.secondary-btn[data-jump-tab="warehouse"] {
  background: #ecfdf3;
  color: #166534;
  border-color: #86efac;
}
.hero-jump-btn {
  background: linear-gradient(180deg, #34d399 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border-color: #15803d !important;
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
#warehouseTab .section-stack,
#warehouseTab .grid-cards,
#warehouseTab .two-col {
  gap: 12px;
}
#warehouseTab .card {
  padding: 14px;
  border-radius: 20px;
}
#warehouseTab .note-box,
#warehouseTab .entry-collapsed-note {
  padding: 10px 12px;
  border-radius: 14px;
}
#warehouseTab .form-grid {
  gap: 10px;
}
#warehouseTab .field {
  gap: 4px;
}
#warehouseTab .field label,
#warehouseTab .meta,
#warehouseTab .subtle {
  font-size: 12px;
}
#warehouseTab .kpi-card .kpi-value {
  font-size: 24px;
}
#warehouseTab .table th,
#warehouseTab .table td {
  padding: 9px 8px;
}
#warehouseTab .row-between {
  align-items: center;
}
#warehouseTab .row-between > .inline-actions {
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
#warehouseTab .row-between > .inline-actions .pill,
#warehouseTab .row-between > .inline-actions .primary-btn {
  white-space: nowrap;
}
#warehouseTab #productionReceiptSubmitBtn,
#warehouseTab #finishedGoodsTxnForm button[type="submit"] {
  justify-self: end;
  width: auto;
  min-width: 210px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
}
body.warehouse-compact .app-shell {
  grid-template-columns: 240px minmax(0, 1fr);
}
body.warehouse-compact .sidebar {
  padding: 16px 14px;
  gap: 12px;
}
body.warehouse-compact .brand-block {
  grid-template-columns: 52px 1fr;
  gap: 10px;
}
body.warehouse-compact .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 18px;
}
body.warehouse-compact .sidebar .muted {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}
body.warehouse-compact .main-nav {
  gap: 8px;
}
body.warehouse-compact .nav-btn {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}
body.warehouse-compact .sidebar-card {
  padding: 12px;
  border-radius: 16px;
}
body.warehouse-compact .sidebar-card.sidebar-future,
body.warehouse-compact .sidebar-card.sidebar-principles {
  display: none;
}
body.warehouse-compact .main-content {
  padding: 16px 18px;
  gap: 12px;
}
body.warehouse-compact .topbar {
  gap: 10px;
}
body.warehouse-compact .topbar .eyebrow {
  margin-bottom: 4px;
  font-size: 11px;
}
body.warehouse-compact .topbar h2 {
  margin-bottom: 0;
  font-size: 26px;
}
body.warehouse-compact .topbar-actions {
  gap: 8px;
}
body.warehouse-compact .pill,
body.warehouse-compact .status-pill {
  padding: 6px 10px;
}
body.warehouse-compact .hero.card {
  padding: 12px 14px;
  border-radius: 18px;
}
body.warehouse-compact .hero h3 {
  margin-bottom: 4px;
  font-size: 18px;
}
body.warehouse-compact .hero p {
  font-size: 13px;
  line-height: 1.4;
}
body.warehouse-compact .hero-actions .primary-btn {
  padding: 10px 12px;
}
.section-stack,
.grid-cards,
.alert-list,
.list-stack,
.department-grid,
.table-stack {
  display: grid;
  gap: 16px;
}
.grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.kpi-card .kpi-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.kpi-card .kpi-value {
  font-size: 30px;
  font-weight: 800;
}
.two-col,
.three-col {
  display: grid;
  gap: 16px;
}
.two-col { grid-template-columns: 1.2fr 0.8fr; }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alert-item,
.list-item,
.info-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}
.alert-item {
  border-left: 5px solid var(--danger);
}
.item-top,
.alert-top,
.row-between {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.item-top strong,
.alert-top strong {
  font-size: 15px;
}
.meta,
.subtle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.department-grid,
.nutrient-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.dept-card {
  display: grid;
  gap: 12px;
}
.dept-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.stat-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}
.stat-box strong {
  display: block;
  font-size: 20px;
}
.status-ok { background: #eaf8ef; color: var(--ok); }
.status-warn { background: #fff3e8; color: var(--warn); }
.status-danger { background: #fdecec; color: var(--danger); }
.stock-number {
  display: inline-block;
}
.stock-number-negative {
  color: var(--danger);
  font-weight: 800;
}
.formula-source-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--blue);
}
.formula-source-note.is-danger {
  color: var(--danger);
  font-weight: 700;
}
.formula-source-warning {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #fdecec;
  border: 1px solid #f5c2c7;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.toolbar-left,
.toolbar-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.input-chip,
select {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 44px;
}
.input-chip {
  min-width: 260px;
  font-size: 16px;
  cursor: text;
}
.field input,
.field select,
.field textarea,
select {
  font-size: 16px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th,
.table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: linear-gradient(135deg, #0b56c4 0%, #1d4ed8 100%);
  border-bottom: 1px solid #0a43a3;
}
.highlight-box {
  border: 1px dashed #f0b35f;
  background: #fff8ed;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.raw-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  min-height: 46px;
}
.empty-state {
  color: var(--muted);
  font-style: italic;
}
.note-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.compact-note {
  padding: 10px 12px;
  border-radius: 14px;
}
.compact-note .meta {
  font-size: 12px;
  line-height: 1.4;
}
.summary-highlight {
  background: #e8f4ff;
  border-color: #b8dbff;
}
.summary-highlight strong {
  color: #0b56c4;
}
.summary-highlight .meta {
  color: #12324a;
  font-weight: 600;
  line-height: 1.7;
}
.entry-top-grid {
  grid-template-columns: 1fr;
}
.entry-card-wide {
  grid-column: 1 / -1;
}
.entry-groups-wrap {
  display: grid;
  gap: 12px;
}
.entry-groups-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8ed;
  border: 1px solid #f3d6a5;
  color: #8b5e10;
  font-size: 13px;
  font-weight: 600;
}
.entry-collapsed-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.entry-groups {
  display: grid;
  gap: 12px;
}
.entry-group-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #f8fafc;
  display: grid;
  gap: 12px;
}
.entry-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.field-compact {
  gap: 5px;
}
.field-compact span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.field-compact input {
  min-height: 42px;
  padding: 10px 12px;
}
.nutrient-card h4 {
  margin-bottom: 0;
}
.nutrient-table {
  min-width: 520px;
}
.nutrient-table td:last-child .status-pill {
  min-width: 88px;
}
@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding-bottom: 12px;
  }
}
@media (max-width: 900px) {
  .two-col,
  .three-col,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .main-content {
    padding: 16px;
  }
  .table {
    min-width: 640px;
  }
}

.sales-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.sales-side-menu {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 10px;
}
.sales-side-title {
  font-size: 16px;
  font-weight: 800;
}
.sales-side-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.sales-menu-btn {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff7ed;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.sales-menu-btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.sales-main-stack {
  display: grid;
  gap: 18px;
}
.warehouse-workspace {
  align-items: start;
}
.warehouse-side-menu {
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.warehouse-main-stack {
  gap: 18px;
}
.warehouse-menu-group {
  display: grid;
  gap: 8px;
}
.warehouse-menu-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.warehouse-menu-buttons {
  display: grid;
  gap: 8px;
}
.warehouse-menu-btn {
  position: relative;
  overflow: hidden;
  border-width: 1px;
  border-style: solid;
  border-color: var(--warehouse-btn-border, #f3c98b);
  background: linear-gradient(180deg, var(--warehouse-btn-top, #fff7ed) 0%, var(--warehouse-btn-bottom, #ffe6c7) 100%);
  color: var(--warehouse-btn-text, #9a3412);
  box-shadow: 0 4px 0 var(--warehouse-btn-shadow-edge, rgba(154, 52, 18, 0.22)), 0 12px 24px var(--warehouse-btn-shadow, rgba(240, 138, 0, 0.18));
  transform: translateY(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.warehouse-menu-btn::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: 12px 12px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.warehouse-menu-btn:hover {
  border-color: var(--warehouse-btn-border-hover, var(--warehouse-btn-border, #f08a00));
  color: var(--warehouse-btn-text-hover, var(--warehouse-btn-text, #7c2d12));
  filter: saturate(1.04);
  box-shadow: 0 6px 0 var(--warehouse-btn-shadow-edge, rgba(154, 52, 18, 0.22)), 0 16px 28px var(--warehouse-btn-shadow, rgba(240, 138, 0, 0.22));
  transform: translateY(-2px);
}
.warehouse-menu-btn.is-active {
  background: linear-gradient(135deg, #f08a00 0%, #f97316 100%);
  border-color: #c76b00;
  color: #ffffff;
  box-shadow: 0 5px 0 rgba(124, 45, 18, 0.28), 0 18px 30px rgba(240, 138, 0, 0.28);
  transform: translateY(-1px);
}
.warehouse-menu-group:nth-of-type(1) .warehouse-menu-btn {
  --warehouse-btn-top: #eff8ff;
  --warehouse-btn-bottom: #cfe8ff;
  --warehouse-btn-border: #8fc5ff;
  --warehouse-btn-border-hover: #4d9fff;
  --warehouse-btn-text: #0b4f8a;
  --warehouse-btn-text-hover: #073b67;
  --warehouse-btn-shadow: rgba(77, 159, 255, 0.24);
  --warehouse-btn-shadow-edge: rgba(11, 79, 138, 0.24);
}
.warehouse-menu-group:nth-of-type(2) .warehouse-menu-btn {
  --warehouse-btn-top: #ecfdf3;
  --warehouse-btn-bottom: #c9f1d6;
  --warehouse-btn-border: #84d8a0;
  --warehouse-btn-border-hover: #45b36b;
  --warehouse-btn-text: #146c43;
  --warehouse-btn-text-hover: #0e5132;
  --warehouse-btn-shadow: rgba(69, 179, 107, 0.22);
  --warehouse-btn-shadow-edge: rgba(20, 108, 67, 0.24);
}
.warehouse-menu-group:nth-of-type(3) .warehouse-menu-btn {
  --warehouse-btn-top: #fff1f3;
  --warehouse-btn-bottom: #ffd5dc;
  --warehouse-btn-border: #ff9aae;
  --warehouse-btn-border-hover: #ff6685;
  --warehouse-btn-text: #9f1239;
  --warehouse-btn-text-hover: #881337;
  --warehouse-btn-shadow: rgba(255, 102, 133, 0.22);
  --warehouse-btn-shadow-edge: rgba(159, 18, 57, 0.24);
}
.warehouse-menu-group:nth-of-type(4) .warehouse-menu-btn {
  --warehouse-btn-top: #f5f3ff;
  --warehouse-btn-bottom: #ddd6fe;
  --warehouse-btn-border: #b8a5ff;
  --warehouse-btn-border-hover: #8b6cff;
  --warehouse-btn-text: #5b21b6;
  --warehouse-btn-text-hover: #4c1d95;
  --warehouse-btn-shadow: rgba(139, 108, 255, 0.22);
  --warehouse-btn-shadow-edge: rgba(91, 33, 182, 0.24);
}
.sales-section-anchor {
  scroll-margin-top: 16px;
}
body.sales-only-mode .main-nav .nav-btn:not([data-tab="sales"]),
body.sales-only-mode .hero,
body.sales-only-mode .sidebar-future,
body.sales-only-mode .sidebar-principles,
body.sales-only-mode .sidebar-guide {
  display: none !important;
}
body.sales-only-mode .app-shell {
  grid-template-columns: 260px minmax(0, 1fr);
}
body.sales-only-mode .sidebar {
  gap: 14px;
}
@media (max-width: 980px) {
  .sales-workspace {
    grid-template-columns: 1fr;
  }
  .sales-side-menu {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    overflow-x: auto;
  }
}

#salesEmployeeSwitchBtn,
a[href*="switch=1"],
button[data-sales-switch],
.sales-switch-link {
  display: none !important;
}

.main-content-shell {
  padding-top: 22px;
}
.shell-panel {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}
.shell-panel-brand {
  background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, rgba(11,31,68,0.88) 100%);
  padding: 16px;
}
.shell-panel-accent {
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
  border-color: rgba(240,138,0,0.35);
}
.shell-panel-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe5f0;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.shell-brand-note {
  margin: 8px 0 0;
  line-height: 1.5;
}
.topbar-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 18px 20px;
}
.shell-intro {
  display: grid;
  gap: 6px;
}
.shell-intro h2 {
  margin: 0;
}
.shell-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 760px;
}
.shell-actions {
  justify-content: flex-end;
  gap: 10px;
}
.shell-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0b56c4;
  border: 1px solid #cfe2ff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.hero-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #eef6ff 100%);
  border: 1px solid #f1dcc3;
}
.hero-copy {
  display: grid;
  gap: 8px;
}
.hero-copy h3 {
  margin: 0;
}
.hero-subtitle {
  margin: 0;
  color: #475467;
  line-height: 1.55;
  max-width: 680px;
}
.hero-shell .hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sidebar-shell-admin .main-nav,
.sidebar-shell-sales .main-nav {
  padding: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.sidebar-shell-admin .nav-btn,
.sidebar-shell-sales .nav-btn {
  border-radius: 14px;
}
.sidebar-shell-sales ~ .main-content,
.sidebar-shell-sales ~ .main-content p,
.sidebar-shell-sales ~ .main-content li,
.sidebar-shell-sales ~ .main-content label,
.sidebar-shell-sales ~ .main-content td,
.sidebar-shell-sales ~ .main-content .meta,
.sidebar-shell-sales ~ .main-content .subtle,
.sidebar-shell-sales ~ .main-content .shell-subtitle,
.sidebar-shell-sales ~ .main-content .hero-subtitle,
.sidebar-shell-sales ~ .main-content .sales-side-note {
  color: #182230;
}
.sidebar-shell-sales ~ .main-content .muted,
.sidebar-shell-sales ~ .main-content .meta,
.sidebar-shell-sales ~ .main-content .subtle,
.sidebar-shell-sales ~ .main-content .shell-subtitle,
.sidebar-shell-sales ~ .main-content .hero-subtitle,
.sidebar-shell-sales ~ .main-content .kpi-label,
.sidebar-shell-sales ~ .main-content .empty-state,
.sidebar-shell-sales ~ .main-content .field label,
.sidebar-shell-sales ~ .main-content .field-compact span,
.sidebar-shell-sales ~ .main-content [style*="475467"] {
  color: #182230 !important;
  font-weight: 600;
}
.sidebar-shell-sales ~ .main-content .table td {
  color: #182230;
  font-weight: 500;
}
@media (max-width: 980px) {
  .topbar-shell,
  .hero-shell {
    flex-direction: column;
    align-items: stretch;
  }
  .shell-actions,
  .hero-shell .hero-actions {
    justify-content: flex-start;
  }
}


.brand-logo-wrap.brand-logo-image-wrap {
  width: min(100%, 136px);
  margin: 0 auto;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.08);
}
.brand-logo-wrap.brand-logo-image-wrap img.brand-logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}
.brand-block-logo .brand-logo-wrap.brand-logo-image-wrap + div {
  text-align: center;
}
@media (max-width: 768px) {
  .brand-block.brand-block-logo {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }
  .brand-logo-wrap.brand-logo-image-wrap {
    width: 72px;
    margin: 0;
    border-radius: 16px;
  }
  .brand-logo-wrap.brand-logo-image-wrap img.brand-logo-image {
    border-radius: 16px;
  }
  .brand-block-logo .brand-logo-wrap.brand-logo-image-wrap + div {
    text-align: left;
  }
}

/* 20260526salesbuttons3d1 - Sales V2 action buttons: 3D + color-coded */
[data-sales-v2-page] .mini-btn,
[data-sales-v2-page] .primary-btn {
  position: relative;
  transform: translateY(0);
  border-width: 0 !important;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 5px 0 rgba(15,23,42,.22),
    0 12px 22px rgba(15,23,42,.16) !important;
  text-shadow: 0 1px 1px rgba(15,23,42,.18);
}
[data-sales-v2-page] .mini-btn:hover,
[data-sales-v2-page] .primary-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 7px 0 rgba(15,23,42,.24),
    0 16px 26px rgba(15,23,42,.20) !important;
}
[data-sales-v2-page] .mini-btn:active,
[data-sales-v2-page] .primary-btn:active,
[data-sales-v2-page] .tap-feedback-active {
  transform: translateY(4px) scale(.99);
  box-shadow:
    inset 0 2px 5px rgba(15,23,42,.22),
    0 1px 0 rgba(15,23,42,.25),
    0 6px 12px rgba(15,23,42,.14) !important;
}
[data-sales-v2-page] .mini-btn:disabled,
[data-sales-v2-page] .primary-btn:disabled {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(.12);
}
[data-sales-v2-page] button[data-chat-order],
[data-sales-v2-page] button[data-chat-customer] {
  background: linear-gradient(180deg,#38bdf8 0%,#0284c7 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-edit-order],
[data-sales-v2-page] button[data-edit-customer],
[data-sales-v2-page] button[data-schedule-edit],
[data-sales-v2-page] #ordersEditSaveBtn,
[data-sales-v2-page] #scheduleEditSaveBtn,
[data-sales-v2-page] #customersEditSaveBtn {
  background: linear-gradient(180deg,#a78bfa 0%,#7c3aed 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-pdf-order] {
  background: linear-gradient(180deg,#818cf8 0%,#4f46e5 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-telegram-order],
[data-sales-v2-page] button[data-schedule-telegram] {
  background: linear-gradient(180deg,#60a5fa 0%,#2563eb 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-complete-order] {
  background: linear-gradient(180deg,#34d399 0%,#059669 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-schedule-complete] {
  background: linear-gradient(180deg,#34d399 0%,#059669 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-delete-order],
[data-sales-v2-page] button[data-delete-customer],
[data-sales-v2-page] #ordersEditDeleteBtn {
  background: linear-gradient(180deg,#fb7185 0%,#dc2626 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] button[data-copy-text],
[data-sales-v2-page] button[data-schedule-copy],
[data-sales-v2-page] .mini-btn.secondary-btn:not([data-chat-order]):not([data-chat-customer]):not([data-edit-order]):not([data-edit-customer]):not([data-delete-order]):not([data-delete-customer]):not([data-pdf-order]):not([data-telegram-order]):not([data-complete-order]):not([data-copy-text]):not([data-schedule-edit]):not([data-schedule-copy]):not([data-schedule-telegram]):not([data-schedule-complete]) {
  background: linear-gradient(180deg,#e2e8f0 0%,#94a3b8 100%) !important;
  color: #0f172a !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
[data-sales-v2-page] .hero-jump-btn,
[data-sales-v2-page] .primary-btn:not(.secondary-btn) {
  background: linear-gradient(180deg,#fbbf24 0%,#f97316 100%) !important;
  color: #fff !important;
}
[data-sales-v2-page] .admin-home-btn.is-current {
  background: linear-gradient(180deg,#cbd5e1 0%,#64748b 100%) !important;
  color: #fff !important;
}

/* 20260527orderschedulebig1 - Sales V2 Orders/Schedule bigger text + action buttons stacked */
[data-sales-v2-page] .table-wrap {
  overflow-x: auto;
}
[data-sales-v2-page] .table {
  font-size: 16px;
}
[data-sales-v2-page] .table th {
  font-size: 14px;
  line-height: 1.35;
  padding: 12px 10px;
  white-space: nowrap;
}
[data-sales-v2-page] .table td {
  font-size: 16px;
  line-height: 1.48;
  padding: 13px 10px;
  vertical-align: top;
}
[data-sales-v2-page] .table td:first-child,
[data-sales-v2-page] .table td:nth-child(2),
[data-sales-v2-page] .table td:nth-child(3) {
  font-size: 17px;
  font-weight: 850;
}
[data-sales-v2-page] .table .muted {
  font-size: 15px;
  line-height: 1.45;
}
[data-sales-v2-page] .table tr.sales-row-overdue td {
  background: #fee2e2;
}
[data-sales-v2-page] .table tr.sales-row-today td {
  background: #dcfce7;
}
[data-sales-v2-page] .table tr.sales-row-upcoming td {
  background: #fef3c7;
}
[data-sales-v2-page] .table tr.sales-row-overdue td,
[data-sales-v2-page] .table tr.sales-row-today td,
[data-sales-v2-page] .table tr.sales-row-upcoming td {
  transition: background .2s ease;
}
[data-sales-v2-page] .table tr.sales-row-overdue:hover td,
[data-sales-v2-page] .table tr.sales-row-today:hover td,
[data-sales-v2-page] .table tr.sales-row-upcoming:hover td {
  filter: brightness(0.98);
}
[data-sales-v2-page] .sales-action-stack,
[data-sales-v2-page] td .topbar-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 9px !important;
  align-items: stretch;
  min-width: 132px;
}
[data-sales-v2-page] .sales-action-stack .mini-btn,
[data-sales-v2-page] td .topbar-actions .mini-btn {
  width: 100%;
  min-height: 42px;
  justify-content: center;
  font-size: 15px;
  padding: 10px 12px;
  white-space: normal;
  line-height: 1.18;
}
@media (max-width: 768px) {
  [data-sales-v2-page] .table {
    font-size: 17px;
    min-width: 760px;
  }
  [data-sales-v2-page] .table th {
    font-size: 14px;
    padding: 12px 9px;
  }
  [data-sales-v2-page] .table td {
    font-size: 17px;
    padding: 14px 9px;
  }
  [data-sales-v2-page] .table .muted {
    font-size: 16px;
  }
  [data-sales-v2-page] .sales-action-stack,
  [data-sales-v2-page] td .topbar-actions {
    min-width: 150px;
  }
  [data-sales-v2-page] .sales-action-stack .mini-btn,
  [data-sales-v2-page] td .topbar-actions .mini-btn {
    min-height: 46px;
    font-size: 16px;
  }
}


/* 20260604_app_logo_header1 - responsive STK app logos for Accounting / Procurement / Warehouse */
.brand-logo-wrap.stk-app-logo {
  width: min(100%, 150px);
  margin: 0 auto;
  padding: 8px 6px 7px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,250,252,.78));
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 16px 34px rgba(15,23,42,.13);
  overflow: hidden;
}
.brand-logo-wrap.stk-app-logo .brand-logo-wordmark { font-size: 54px; }
.brand-logo-wrap.stk-app-logo .brand-logo-mark { inset: 8px 0 auto 0; height: 64px; }
.brand-logo-wrap.stk-app-logo .brand-logo-swoosh { width: 140px; }
.brand-logo-wrap.stk-app-logo .brand-logo-swoosh::after { width: 126px; }
.brand-logo-wrap.stk-app-logo .brand-logo-sub { font-size: 16px; margin-top: -1px; }
.brand-logo-wrap.stk-app-logo .brand-logo-tag { font-size: 9.5px; line-height: 1.2; padding: 0 4px; }
.brand-block-logo .brand-logo-wrap.stk-app-logo + div { text-align: center; }
.brand-logo-wrap.stk-app-logo.logo-accounting {
  background: linear-gradient(145deg, #ecfeff 0%, #ffffff 48%, #dbeafe 100%);
  border-color: rgba(14,116,144,.18);
}
.logo-accounting .brand-logo-orb,.logo-accounting .brand-logo-molecule { background:#0f766e; box-shadow:14px 8px 0 #0891b2,28px 0 0 #2563eb; }
.logo-accounting .brand-logo-swoosh { border-top-color:#0f766e; }
.logo-accounting .brand-logo-swoosh::after { border-bottom-color:rgba(37,99,235,.55); }
.logo-accounting .brand-logo-st { background:linear-gradient(180deg,#2dd4bf 0%,#0f766e 52%,#064e3b 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.logo-accounting .brand-logo-k { background:linear-gradient(180deg,#93c5fd 0%,#2563eb 52%,#1e3a8a 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.logo-accounting .brand-logo-sub,.logo-accounting .brand-logo-tag { color:#0f766e; }
.brand-logo-wrap.stk-app-logo.logo-procurement {
  background: linear-gradient(145deg, #fff7ed 0%, #ffffff 48%, #fef3c7 100%);
  border-color: rgba(245,158,11,.28);
}
.logo-procurement .brand-logo-orb,.logo-procurement .brand-logo-molecule { background:#16a34a; box-shadow:14px 8px 0 #f59e0b,28px 0 0 #84cc16; }
.logo-procurement .brand-logo-swoosh { border-top-color:#f59e0b; }
.logo-procurement .brand-logo-swoosh::after { border-bottom-color:rgba(22,163,74,.55); }
.logo-procurement .brand-logo-st { background:linear-gradient(180deg,#fde68a 0%,#f59e0b 50%,#92400e 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.logo-procurement .brand-logo-k { background:linear-gradient(180deg,#bbf7d0 0%,#16a34a 52%,#166534 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.logo-procurement .brand-logo-sub,.logo-procurement .brand-logo-tag { color:#a16207; }
.brand-logo-wrap.stk-app-logo.logo-warehouse {
  width: min(100%, 128px);
  padding: 6px 5px;
  border-radius: 20px;
  background: linear-gradient(145deg, #eff6ff 0%, #ffffff 48%, #e0f2fe 100%);
  border-color: rgba(37,99,235,.2);
}
.logo-warehouse .brand-logo-wordmark { font-size: 48px; }
.logo-warehouse .brand-logo-sub { font-size: 13px; }
.logo-warehouse .brand-logo-tag { font-size: 8.8px; }
.logo-warehouse .brand-logo-swoosh { width: 124px; }
.logo-warehouse .brand-logo-swoosh::after { width: 108px; }
@media (max-width: 768px) {
  .brand-block.brand-block-logo { grid-template-columns: 76px minmax(0,1fr); gap: 12px; align-items: center; }
  .brand-logo-wrap.stk-app-logo,.brand-logo-wrap.stk-app-logo.logo-warehouse { width: 76px; min-width:76px; margin:0; border-radius:18px; padding:5px 3px; }
  .brand-logo-wrap.stk-app-logo .brand-logo-wordmark,.brand-logo-wrap.stk-app-logo.logo-warehouse .brand-logo-wordmark { font-size: 34px; }
  .brand-logo-wrap.stk-app-logo .brand-logo-mark { inset:5px 0 auto 0; height:42px; }
  .brand-logo-wrap.stk-app-logo .brand-logo-orb { left:10px; width:15px; height:15px; }
  .brand-logo-wrap.stk-app-logo .brand-logo-swoosh { left:20px; top:11px; width:70px; height:18px; border-top-width:3px; }
  .brand-logo-wrap.stk-app-logo .brand-logo-swoosh::after { left:-10px; top:7px; width:66px; height:12px; border-bottom-width:2px; }
  .brand-logo-wrap.stk-app-logo .brand-logo-molecule { left:6px; bottom:2px; width:6px; height:6px; box-shadow:8px 5px 0 currentColor,16px 0 0 currentColor; }
  .brand-logo-wrap.stk-app-logo .brand-logo-sub { font-size:9px; letter-spacing:.06em; }
  .brand-logo-wrap.stk-app-logo .brand-logo-tag { display:none; }
  .brand-block-logo .brand-logo-wrap.stk-app-logo + div { text-align:left; min-width:0; }
  .brand-block-logo .brand-logo-wrap.stk-app-logo + div h1 { font-size:22px; line-height:1.08; }
  .brand-block-logo .brand-logo-wrap.stk-app-logo + div .shell-brand-note { font-size:12px; line-height:1.35; }
}


/* 20261006sales_search_light_blue1: Sales app search/filter inputs light blue background + black text for visibility. */
.app-shell[data-sales-v2-page] input[type="search"],
.app-shell[data-sales-v2-page] input[inputmode="search"],
.app-shell[data-sales-v2-page] input[id*="Search"],
.app-shell[data-sales-v2-page] input[id*="search"],
.app-shell[data-sales-v2-page] .company-filter-grid input,
.app-shell[data-sales-v2-page] #customersRawSearchInput,
.app-shell[data-sales-v2-page] #customersSearchInput,
.app-shell[data-sales-v2-page] #companiesSearchInput,
.app-shell[data-sales-v2-page] #orderSearchInput,
.app-shell[data-sales-v2-page] #todoSearchInput,
.app-shell[data-sales-v2-page] #priceSearchInput,
.app-shell[data-sales-v2-page] #profilesSearchInput,
.app-shell[data-sales-v2-page] #projectsSearchInput,
.app-shell[data-sales-v2-page] #commissionSearchInput,
.app-shell[data-sales-v2-page] #stockSearchInput,
.app-shell[data-sales-v2-page] #callCenterSearchInput,
.app-shell[data-sales-v2-page] select[id*="Filter"],
.app-shell[data-sales-v2-page] select[id*="filter"] {
  background:#dff6ff!important;
  color:#111827!important;
  border:2px solid #38bdf8!important;
  font-weight:900!important;
  caret-color:#111827!important;
  box-shadow:0 0 0 3px rgba(56,189,248,.20)!important;
}
.app-shell[data-sales-v2-page] input[type="search"]::placeholder,
.app-shell[data-sales-v2-page] input[inputmode="search"]::placeholder,
.app-shell[data-sales-v2-page] input[id*="Search"]::placeholder,
.app-shell[data-sales-v2-page] input[id*="search"]::placeholder {
  color:#1f2937!important;
  opacity:.9!important;
  font-weight:800!important;
}
.app-shell[data-sales-v2-page] input[type="search"]:focus,
.app-shell[data-sales-v2-page] input[inputmode="search"]:focus,
.app-shell[data-sales-v2-page] input[id*="Search"]:focus,
.app-shell[data-sales-v2-page] input[id*="search"]:focus,
.app-shell[data-sales-v2-page] select[id*="Filter"]:focus,
.app-shell[data-sales-v2-page] select[id*="filter"]:focus {
  outline:3px solid #0284c7!important;
  outline-offset:1px!important;
}
