/* ===== Burlington portal — shared design tokens ===== */
:root {
  --burl-red: #ED0F53;
  --burl-red-dark: #B80B41;
  --burl-red-light: #F14A7A;
  --burl-red-tint: #FEE8EE;
  --burl-red-tint-2: #FCC9D6;

  --nav-dark: #3d3d3d;
  --nav-dark-2: #2f2f2f;
  --border: #d9d9d9;
  --border-light: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-soft-2: #efefef;
  --text: #1a1a1a;
  --text-soft: #555;
  --text-mute: #888;

  --ok: #16A34A;
  --ok-tint: #e6f4ee;
  --warn: #D97706;
  --warn-tint: #FCF3E3;
  --danger: #c8232e;
  --danger-tint: #fbe8ea;
  --info: #2a6fdb;
  --info-tint: #e6efff;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --font-sans: "Open Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
}
a { color: var(--burl-red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.burl-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.burl-logo {
  color: var(--burl-red);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.burl-logo .b-heart {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 48px;
  margin-right: 2px;
}
.burl-logo .b-heart svg { position: absolute; left: 0; top: 4px; }
.burl-logo .b-heart::after {
  /* the "B" of Burlington drawn with an ordinary character but hidden — reserves width only */
  content: "B";
  visibility: hidden;
}
.burl-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
}
.burl-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: 340px;
  height: 34px;
  background: #fff;
}
.burl-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-soft);
  background: transparent;
}
.burl-search .icon {
  padding: 0 8px 0 10px;
  color: var(--text-mute);
  font-size: 13px;
}
.burl-search .go {
  background: var(--burl-red);
  color: #fff;
  border: 0;
  padding: 0 18px;
  height: 100%;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.burl-user {
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
}
.burl-user .name { color: var(--burl-red); font-weight: 600; }
.burl-cart {
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
}

/* ---------- Nav ---------- */
.burl-nav {
  background: var(--nav-dark);
  border-top: 1px solid #000;
}
.burl-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}
.burl-nav a {
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.burl-nav a:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.burl-nav a.active,
.burl-nav a:hover {
  background: var(--nav-dark-2);
  color: #fff;
  text-decoration: none;
}
.burl-nav a.pulse-item {
  color: #fff;
  position: relative;
}
.burl-nav a.pulse-item .ekg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* ---------- Notice strip ---------- */
.burl-notice {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px;
  text-align: center;
  color: var(--burl-red);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}

/* ---------- Page container ---------- */
.burl-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px 60px;
}
.burl-crumbs {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 18px;
}
.burl-crumbs a { color: var(--text); }
.burl-crumbs .sep { color: var(--burl-red); margin: 0 6px; }
.burl-crumbs .current { color: var(--text-mute); }

/* ---------- Pulse brand ---------- */
.pulse-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--burl-red);
}
.pulse-brand .word {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.5px;
}
.pulse-brand .sub {
  font-family: var(--font-sans);
  color: var(--text-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

/* Section heading in Burlington red */
.burl-h {
  color: var(--burl-red);
  font-weight: 700;
  margin: 0 0 4px;
}

/* ---------- Footer ---------- */
.burl-footer {
  max-width: 1400px;
  margin: 40px auto 24px;
  padding: 24px 24px 0;
  border-top: 1px solid var(--burl-red);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s;
}
.btn:hover { background: var(--bg-soft); }
.btn-red {
  background: var(--burl-red);
  color: #fff;
  border-color: var(--burl-red);
}
.btn-red:hover { background: var(--burl-red-dark); }
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--burl-red);
}

/* ---------- Card ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--text-soft);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}
.chip.ok    { background: var(--ok-tint); color: var(--ok); border-color: transparent; }
.chip.warn  { background: var(--warn-tint); color: var(--warn); border-color: transparent; }
.chip.danger{ background: var(--danger-tint); color: var(--danger); border-color: transparent; }
.chip.info  { background: var(--info-tint); color: var(--info); border-color: transparent; }
.chip.mute  { background: var(--bg-soft); color: var(--text-soft); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Role switcher ---------- */
.role-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
}
.role-switch button {
  border: 0;
  background: #fff;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-soft);
}
.role-switch button.active {
  background: var(--burl-red);
  color: #fff;
}

/* ---------- Pulse EKG line ---------- */
.ekg-line {
  stroke: var(--burl-red);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes ekg-sweep {
  0%   { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}
.ekg-anim {
  stroke-dasharray: 300;
  animation: ekg-sweep 3s linear infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .6; }
}
@keyframes pulseRing {
  0%   { transform: translate(-50%,-50%) scale(.6); opacity: .8; }
  100% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
}
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--burl-red);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
