:root {
  --boss-red: #e11d2e;
  --boss-red-hover: #c41122;
  --boss-pink: #fb7185;
  --boss-ink: #111827;
  --boss-muted: #6b7280;
  --boss-line: #e8eaed;
  --boss-wash: #fff;
  --bg: #fff;
  --panel: #fff;
  --panel-2: #fff;
  --panel-3: #f9fafb;
  --surface: #fff;
  --surface-2: #f9fafb;
  --border: #e8eaed;
  --border-2: #e5e7eb;
  --text: #111827;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --accent: #e11d2e;
}

html,
body,
body.bg-electrolux-dark,
body.bg-gray-50,
body.bg-\[\#0f172a\] {
  background-color: #fff !important;
  color: var(--boss-ink) !important;
}

.boss-watermark,
body.boss-watermark {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='180'%3E%3Cg fill='%23e11d2e' fill-opacity='0.035' font-family='Inter,Arial,sans-serif' font-size='16' font-weight='700'%3E%3Ctext x='8' y='36' transform='rotate(-28 70 36)'%3EBOSS%3C/text%3E%3Ctext x='120' y='100' transform='rotate(-28 180 100)'%3EBOSS%3C/text%3E%3C/g%3E%3C/svg%3E");
}

.boss-login {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.boss-card {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  padding: 2.25rem 2rem 1.75rem;
}

.boss-card h1,
.boss-card h2 {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--boss-ink);
  letter-spacing: -0.02em;
}

.boss-card .boss-sub {
  margin: 0.5rem 0 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--boss-muted);
}

.boss-field {
  position: relative;
  margin-bottom: 0.75rem;
}

.boss-field .material-symbols-outlined {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #9ca3af;
  pointer-events: none;
}

.boss-field input,
.boss-field select {
  width: 100%;
  height: 3rem;
  border: 1px solid var(--boss-line);
  border-radius: 9999px;
  padding: 0 1rem 0 2.6rem;
  font-size: 0.9rem;
  color: var(--boss-ink);
  background: #fff;
  outline: none;
}

.boss-field input:focus,
.boss-field select:focus {
  border-color: var(--boss-red);
  box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.12);
}

.boss-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.boss-btn {
  width: 100%;
  height: 3rem;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 9999px;
  background: var(--boss-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(225, 29, 46, 0.28);
}

.boss-btn:hover {
  background: var(--boss-red-hover);
}

.boss-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.boss-help {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--boss-muted);
  text-decoration: underline;
}

.boss-error {
  color: var(--boss-red);
  font-size: 0.8rem;
  text-align: center;
  margin: 0.5rem 0 0;
}

header,
header.bg-electrolux-blue,
header.bg-electrolux-blue\/95,
header.bg-gradient-to-b,
.topbar {
  background: #fff !important;
  border-bottom: 1px solid var(--boss-line) !important;
  color: var(--boss-ink) !important;
}

header .text-white,
header .text-gray-300,
.topbar .title {
  color: var(--boss-ink) !important;
}

header .text-gray-400 {
  color: var(--boss-muted) !important;
}

.bg-accent-teal {
  background-color: var(--boss-red) !important;
}

.text-accent-teal {
  color: var(--boss-red) !important;
}

.bg-accent-teal\/10 {
  background-color: rgba(225, 29, 46, 0.1) !important;
}

.border-accent-teal\/20 {
  border-color: rgba(225, 29, 46, 0.2) !important;
}

.boss-nav-wrap {
  background: #111827;
}
.boss-nav-link,
.boss-nav a,
.boss-nav span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #d1d5db !important;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
}
.boss-nav a:hover {
  color: #fff !important;
}
.boss-nav .boss-nav-active,
.boss-nav span.boss-nav-active {
  color: var(--boss-red) !important;
  font-weight: 700;
}

.glass-card {
  background: #fff;
  border: 1px solid var(--boss-line) !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  border-radius: 1rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pipeline-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.pipeline-icon--target { background: linear-gradient(135deg, #eff6ff, #fff); color: #011e41; border-color: #dbeafe; }
.pipeline-icon--sellout { background: linear-gradient(135deg, #ecfdf5, #fff); color: #059669; border-color: #d1fae5; }
.pipeline-icon--map { background: linear-gradient(135deg, #fff7ed, #fff); color: #d97706; border-color: #fed7aa; }
.pipeline-icon--commission { background: linear-gradient(135deg, #f5f3ff, #fff); color: #7c3aed; border-color: #ddd6fe; }
.pipeline-icon--shop { background: linear-gradient(135deg, #ecfeff, #fff); color: #0e7490; border-color: #a5f3fc; }
.pipeline-icon--focus { background: linear-gradient(135deg, #fdf2f8, #fff); color: #db2777; border-color: #fbcfe8; }

#hero-section {
  background: transparent !important;
  border: 0 !important;
}
#hero-section.hidden {
  display: none !important;
}
.boss-hero {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #111827 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 1.25rem;
  padding: 1.25rem 1.75rem;
  min-width: 22rem;
  box-shadow: none;
}
.boss-hero p,
.boss-hero #hero-pct,
.boss-hero #hero-target,
.boss-hero #hero-current {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff;
}
#hero-pct {
  font-size: 2.75rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

#overall-section { display: none !important; }

#kpi-section .boss-kpi {
  background: #fff;
  border: 1px solid var(--boss-line);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
#kpi-section .boss-kpi .material-symbols-outlined {
  color: var(--boss-red);
}

#export-btn,
.pipeline-btn {
  background: var(--boss-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
}
#export-feedback-btn {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid var(--boss-line) !important;
  border-radius: 9999px !important;
}

#time-progress-bar {
  background: #fff !important;
  border: 1px solid var(--boss-line) !important;
  border-radius: 0.75rem;
  color: #6b7280 !important;
  padding: 0.5rem 0.75rem !important;
  box-shadow: none;
}
#time-progress-bar .text-white,
#time-progress-bar .text-gray-300 {
  color: #111827 !important;
}
#time-progress-bar .bg-gray-700\/60 {
  background: #e5e7eb !important;
}
#time-progress-bar .bg-accent-teal {
  background: var(--boss-red) !important;
}

#insight-pane h3,
#insight-pane .text-gray-300,
#insight-pane .text-white,
#insight-pane .text-gray-200,
#insight-pane-v2 .text-white,
#insight-pane-v2 .text-gray-300 {
  color: #111827 !important;
}
#filter-pane {
  background: #fff !important;
  border: 1px solid var(--boss-line) !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  color: #111827;
}
#insight-pane .bg-white\/5,
#insight-pane .card-select,
#insight-pane-v2 > div {
  background: #fff !important;
  border: 1px solid var(--boss-line) !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  color: #111827;
}
#insight-pane .bg-gray-700 {
  background: #e5e7eb !important;
}

#empty-message,
#empty-state p {
  color: #6b7280 !important;
}

.card-select:hover {
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08) !important;
}

.boss-pct {
  color: var(--boss-red) !important;
}

.bg-white\/5,
.bg-white\/10 {
  background: #fff !important;
  border-color: var(--boss-line) !important;
}
