/* Product Data Lake Ipacarai — UI base */
:root {
  --bg-deep: #0e0c0b;
  --bg-base: #131110;
  --bg-surface: #1a1816;
  --bg-elevated: #221f1c;
  --bg-hover: #2a2622;

  --line: rgba(255, 230, 215, 0.06);
  --line-strong: rgba(255, 230, 215, 0.12);
  --grid-line: rgba(255, 230, 215, 0.05);
  --grid-line-bold: rgba(255, 230, 215, 0.08);

  --txt-primary: #f1ebe3;
  --txt-secondary: #a89f93;
  --txt-muted: #6e655c;
  --txt-faint: #4a423b;

  --red: #e94c3d;
  --red-soft: rgba(233, 76, 61, 0.12);
  --red-glow: rgba(233, 76, 61, 0.35);

  --neutral-icon: #a89f93;
  --neutral-bg: rgba(255, 230, 215, 0.04);
  --neutral-border: rgba(255, 230, 215, 0.1);

  --ok: #8a9a3f;
  --warn: #c89a3f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg-deep);
  color: var(--txt-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-bold) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  background-position: 0 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.15) 60%, transparent 90%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.15) 60%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(233, 76, 61, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.mono { font-family: 'IBM Plex Mono', monospace; }
.display { font-family: 'Bricolage Grotesque', sans-serif; }
.serif-i { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

/* Bridge: keep existing app containers working */
.app-body { position: relative; z-index: 10; min-height: 100vh; }
.app-main { padding: 36px; }
.app-footer { border-top: 1px solid var(--line); color: var(--txt-faint); padding: 18px 36px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.alert { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-surface); margin-bottom: 14px; }
.alert--ok { border-color: rgba(138, 154, 63, 0.25); color: var(--ok); }
.alert--error { border-color: rgba(233, 76, 61, 0.25); color: var(--red); background: var(--red-soft); }

.btn { cursor: pointer; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--txt-secondary); border-radius: 6px; padding: 10px 14px; }
.btn--ghost:hover { background: var(--bg-elevated); border-color: var(--line-strong); color: var(--txt-primary); }
.btn--primary { background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 6px; padding: 10px 14px; font-weight: 600; }
.btn--primary:hover { box-shadow: 0 8px 24px -8px var(--red-glow); transform: translateY(-1px); filter: brightness(1.05); }

.form__input { width: 100%; background: var(--bg-surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; color: var(--txt-primary); outline: none; transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease; }
.form__input:hover:not(:focus) { border-color: rgba(255, 230, 215, 0.1); }
.form__input:focus { border-color: var(--line-strong); background: var(--bg-elevated); box-shadow: 0 0 0 3px var(--neutral-bg); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-surface); }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 14px 22px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-secondary); font-weight: 500; border-bottom: 1px solid var(--line); background: rgba(255, 230, 215, 0.02); }
.table td { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--txt-primary); transition: background 0.18s ease; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-elevated); }
.table__empty { text-align: center; color: var(--txt-muted); }

/* Auth bridge */
.auth-body { position: relative; z-index: 10; min-height: 100vh; display: grid; place-items: center; padding: 36px; }
.auth-wrap { width: 100%; max-width: 520px; }
.auth-card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }

/* ============= LOGIN (v3) ============= */
#login-screen {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.login-left {
  position: relative;
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-base);
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-bold) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 160px 160px, 160px 160px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0.2) 65%, transparent 95%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0.2) 65%, transparent 95%);
  pointer-events: none;
}

.login-left::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.5;
}

.login-left > * { position: relative; z-index: 3; }

.brand-block { display: flex; align-items: center; gap: 22px; }
.brand-block img { height: clamp(56px, 9vw, 112px); width: auto; max-width: 100%; object-fit: contain; }
.brand-divider { width: 1px; height: clamp(44px, 6.5vw, 80px); background: var(--line-strong); }
.brand-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-tag .dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.login-hero { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 32px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--txt-muted); }
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  color: var(--txt-primary);
}
.hero-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.02em;
}
.hero-desc { font-size: 16px; color: var(--txt-secondary); line-height: 1.65; max-width: 480px; }

.login-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.login-stat { padding-right: 24px; }
.login-stat:not(:last-child) { border-right: 1px solid var(--line); margin-right: 24px; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--txt-primary);
  margin-bottom: 6px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.stat-num em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--txt-muted); font-weight: 400; margin-left: 2px; }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-muted);
}

.login-right {
  position: relative;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-deep);
}
.auth-label {
  position: absolute;
  top: 36px;
  right: 56px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--txt-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-label::after {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-glow);
}

.login-card { max-width: 440px; width: 100%; margin: 0 auto; position: relative; }
.login-card-head { margin-bottom: 36px; }
.step-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-muted);
}
.step-indicator .red { color: var(--red); }
.step-line { flex: 1; height: 1px; background: var(--line-strong); }
.login-card h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.login-card h2 em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--red); font-weight: 400; }
.login-card-head p { color: var(--txt-secondary); font-size: 14px; line-height: 1.6; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 9px;
}
.form-field label .req { color: var(--txt-faint); }
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px 14px 46px;
  color: var(--txt-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  transition: all 0.2s;
  outline: none;
}
.input-wrap input:hover:not(:focus) {
  border-color: rgba(255, 230, 215, 0.1);
}
.input-wrap input:focus {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--neutral-bg);
}
.input-wrap input::placeholder { color: var(--txt-muted); }
.input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--txt-muted); pointer-events: none; transition: color 0.2s; }
.input-wrap input:focus + .input-icon { color: var(--red); }

.form-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; font-size: 13px; }
.checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--txt-secondary); }
.checkbox input { display: none; }
.checkbox .box { width: 17px; height: 17px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg-surface); display: grid; place-items: center; transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease; }
.checkbox:hover .box { border-color: rgba(255, 230, 215, 0.22); }
.checkbox input:checked + .box { background: var(--red); border-color: var(--red); }
.checkbox input:checked + .box::after { content: '✓'; color: var(--bg-deep); font-size: 11px; font-weight: 800; }
.forgot-link {
  color: var(--txt-secondary);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 14.5px;
}
.forgot-link:hover { color: var(--red); }

.btn-primary {
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px var(--red-glow); filter: brightness(1.05); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  width: 100%;
  padding: 14px;
  background: var(--bg-surface);
  color: var(--txt-primary);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-secondary:hover {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.55);
}

.login-footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--txt-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.system-status { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(138, 154, 63, 0.5); }

/* ============= APP LAYOUT (v3) ============= */
#dashboard-screen { position: relative; z-index: 10; min-height: 100vh; }
#dashboard-screen.active { display: grid; grid-template-columns: 260px 1fr; }

.sidebar {
  background: var(--bg-base);
  border-right: 1px solid var(--line);
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 18px;
}
.sidebar-brand {
  display: block;
  position: relative;
  padding: 0 6px 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.sidebar-brand img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 110px;
  object-fit: contain;
}
.sidebar-brand-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--txt-muted);
  border: 1px solid var(--line-strong);
  padding: 3px 8px;
  border-radius: 3px;
  position: absolute;
  top: 2px;
  right: 0;
  text-transform: uppercase;
}
.nav-section { margin-bottom: 26px; }
.nav-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--txt-faint);
  padding: 0 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-label::before { content: ''; width: 14px; height: 1px; background: var(--txt-faint); }
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--txt-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.2s ease;
  cursor: pointer;
  position: relative;
}
.nav-item:hover {
  background: var(--bg-surface);
  color: var(--txt-primary);
  transform: translateX(3px);
}
.nav-item.active { background: var(--bg-surface); color: var(--txt-primary); }
.nav-item.active::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px var(--red-glow);
}
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.nav-item.active svg { opacity: 1; }
.nav-badge {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  background: var(--bg-elevated);
  padding: 2px 7px;
  border-radius: 3px;
  color: var(--txt-muted);
  border: 1px solid var(--line);
}
.sidebar-footer {
  margin-top: auto;
  padding: 14px;
  background: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sidebar-footer:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}
.user-mini { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--txt-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 13px; font-weight: 600; color: var(--txt-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--txt-muted); letter-spacing: 0.1em; margin-top: 2px; }
.logout-btn {
  background: transparent;
  border: none;
  color: var(--txt-muted);
  cursor: pointer;
  padding: 7px;
  border-radius: 5px;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.logout-btn:hover { color: var(--red); background: var(--red-soft); transform: scale(1.08); }

.main { background: transparent; min-height: 100vh; position: relative; }
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 12, 11, 0.85);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--txt-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.breadcrumb .current { color: var(--txt-primary); }
.breadcrumb .sep { color: var(--txt-faint); }
.topbar-search { margin-left: 16px; flex: 1; max-width: 480px; position: relative; }
.topbar-search input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px 9px 38px;
  color: var(--txt-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}
.topbar-search input:hover:not(:focus) { border-color: rgba(255, 230, 215, 0.1); }
.topbar-search input:focus { border-color: var(--line-strong); }
.topbar-search input::placeholder { color: var(--txt-muted); font-style: italic; }
.topbar-search .input-icon { left: 12px; }
.topbar-search kbd {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 6px;
  color: var(--txt-muted);
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--txt-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.live-indicator:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, 0.45);
}
.live-indicator .live-dot { width: 6px; height: 6px; background: var(--ok); border-radius: 50%; box-shadow: 0 0 8px rgba(138, 154, 63, 0.5); animation: pulse 1.8s infinite; }

/* Dashboard — fila de jobs (estável / processando) */
.run-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 0;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.run-status--stable {
  border-color: rgba(138, 154, 63, 0.38);
  background: linear-gradient(125deg, rgba(138, 154, 63, 0.14), rgba(138, 154, 63, 0.03));
  box-shadow: 0 0 28px -12px rgba(138, 154, 63, 0.4);
}
.run-status--busy {
  border-color: rgba(200, 154, 63, 0.42);
  background: linear-gradient(125deg, rgba(200, 154, 63, 0.14), rgba(200, 154, 63, 0.04));
  box-shadow: 0 0 28px -12px rgba(200, 154, 63, 0.35);
}
.run-status__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.run-status__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(138, 154, 63, 0.55);
  animation: runStatusRipple 2.1s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}
.run-status--stable .run-status__dot {
  background: radial-gradient(circle at 32% 28%, #d4e29a, #7a8b38);
  box-shadow: 0 0 0 1px rgba(138, 154, 63, 0.45);
  animation: runStatusGlow 2.1s ease-in-out infinite;
}
.run-status--busy .run-status__dot {
  background: radial-gradient(circle at 32% 28%, #f0d49a, #a67c28);
  box-shadow: 0 0 0 1px rgba(200, 154, 63, 0.45);
  animation: runStatusGlowBusy 1.25s ease-in-out infinite;
}
.run-status--busy .run-status__dot::after {
  border-color: rgba(200, 154, 63, 0.55);
  animation-duration: 1.35s;
}
.run-status__label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.run-status--stable .run-status__label {
  color: #d6e0b8;
}
.run-status--busy .run-status__label {
  color: #e8d4a8;
}
@keyframes runStatusGlow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(138, 154, 63, 0.4), 0 0 10px rgba(138, 154, 63, 0.35);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(138, 154, 63, 0.65), 0 0 22px rgba(138, 154, 63, 0.55);
  }
}
@keyframes runStatusGlowBusy {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(200, 154, 63, 0.35), 0 0 10px rgba(200, 154, 63, 0.3);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(200, 154, 63, 0.6), 0 0 22px rgba(200, 154, 63, 0.45);
  }
}
@keyframes runStatusRipple {
  0% { transform: scale(1); opacity: 0.55; }
  70% { opacity: 0.12; }
  100% { transform: scale(2.85); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .run-status__dot,
  .run-status__dot::after {
    animation: none !important;
  }
  .run-status--stable .run-status__dot,
  .run-status--busy .run-status__dot {
    animation: none !important;
  }
}

.content { padding: 36px; position: relative; }

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.page-header-info { flex: 1; }
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--txt-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-eyebrow .ed { color: var(--txt-primary); }
.page-eyebrow .sep { width: 30px; height: 1px; background: var(--line-strong); }
.page-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  line-height: 0.95;
}
.page-title em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--red); font-weight: 400; }
.page-subtitle { color: var(--txt-secondary); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.page-subtitle code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 3px;
  color: var(--txt-secondary);
}

.panel {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.panel:hover {
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px -34px rgba(0, 0, 0, 0.65);
  transform: translateY(-1px);
}
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-title { display: flex; align-items: baseline; gap: 12px; }
.panel-title h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; transition: color 0.2s ease; }
.panel:hover .panel-title h3 { color: var(--txt-primary); }
.panel-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--txt-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.panel:hover .panel-tag {
  border-color: var(--line-strong);
  transform: translateY(-0.5px);
}
.panel-body { padding: 22px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 14px 22px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-muted); font-weight: 500; border-bottom: 1px solid var(--line); background: rgba(255, 230, 215, 0.02); }
.data-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--txt-primary); transition: background 0.18s ease; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-elevated); }

.sync-confirm {
  border: none;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--txt-primary);
  max-width: 860px;
  width: calc(100vw - 32px);
  margin: auto;
  inset: 0;
}
.sync-confirm::backdrop {
  background: rgba(0, 0, 0, 0.65);
}
.sync-confirm__form {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.sync-confirm__title {
  padding: 18px 18px 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.sync-confirm__body {
  padding: 0 18px 18px;
  color: var(--txt-secondary);
}
.sync-confirm__actions {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.job-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.job-actions > a,
.job-actions > form{
  display:block;
}
.job-actions .btn-secondary{
  min-width: 140px;
  justify-content: center;
}

.btn-tech{
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  border-radius: 10px;
  border-color: rgba(255, 230, 215, 0.16);
  background: linear-gradient(180deg, rgba(255, 230, 215, 0.06), rgba(255, 230, 215, 0.02));
}
.btn-tech:hover{
  border-color: rgba(233, 76, 61, 0.35);
  box-shadow: 0 10px 26px -12px rgba(233, 76, 61, 0.35);
  background: linear-gradient(180deg, rgba(255, 230, 215, 0.08), rgba(255, 230, 215, 0.03));
}

.actionbar{
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}
.actionbar__form{ display:inline; }
.actionbar__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 230, 215, 0.14);
  background: linear-gradient(180deg, rgba(255, 230, 215, 0.05), rgba(255, 230, 215, 0.02));
  color: var(--txt-secondary);
  text-decoration:none;
  cursor:pointer;
  transition: all .18s ease;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
button.actionbar__btn {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  line-height: 1;
}
.actionbar__btn svg{ width:14px; height:14px; opacity:.85; }
.actionbar__btn:hover{
  color: var(--txt-primary);
  border-color: rgba(255, 230, 215, 0.22);
  background: linear-gradient(180deg, rgba(255, 230, 215, 0.08), rgba(255, 230, 215, 0.03));
  box-shadow: 0 10px 28px -14px rgba(255, 230, 215, 0.18);
  transform: translateY(-1px);
}
.actionbar__btn--primary{
  border-color: rgba(233, 76, 61, 0.35);
  background: linear-gradient(180deg, rgba(233, 76, 61, 0.85), rgba(233, 76, 61, 0.65));
  color: #fff;
}
.actionbar__btn--primary:hover{
  border-color: rgba(233, 76, 61, 0.50);
  box-shadow: 0 14px 34px -14px rgba(233, 76, 61, 0.45);
  filter: brightness(1.02);
}
@media (max-width: 980px){
  .actionbar__btn span{ display:none; }
  .actionbar__btn{ padding: 0 12px; }
}

.btn-small {
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 6px;
}

/* Attachments (produto/show) */
.attachments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  gap: 14px;
  align-items: start;
  justify-content: start;
}

@media (max-width: 560px) { .attachments-grid { grid-template-columns: 1fr; } }

.attachment-card {
  border: 1px solid var(--line);
  background: var(--bg-surface);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.attachment-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}
.attachment-card.is-principal {
  border-color: rgba(138, 154, 63, 0.35);
  box-shadow: 0 0 0 1px rgba(138, 154, 63, 0.10);
}

.attachment-thumb {
  display: block;
  position: relative;
  height: 92px;
  background: rgba(255, 230, 215, 0.03);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}

.attachment-file {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 55% 60% at 70% 25%, rgba(233, 76, 61, 0.08), transparent 60%),
    rgba(255, 230, 215, 0.03);
}
.attachment-file-ext {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--txt-secondary);
  border: 1px solid var(--line);
  background: rgba(255, 230, 215, 0.03);
  padding: 7px 10px;
  border-radius: 8px;
  text-transform: uppercase;
}

.attachment-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ok);
  background: rgba(138, 154, 63, 0.10);
  border: 1px solid rgba(138, 154, 63, 0.25);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.attachment-meta {
  padding: 12px 14px 10px;
}
.attachment-name {
  font-weight: 650;
  font-size: 13px;
  color: var(--txt-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}
.attachment-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.attachment-sub .dot { opacity: 0.6; }

.attachment-actions {
  padding: 0 14px 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.attachment-actions .btn-secondary.btn-small,
.attachment-actions form {
  flex: 1 1 100%;
}

.attachment-actions form button {
  width: 100% !important;
}

.attachment-btn-delete {
  border-color: rgba(233, 76, 61, 0.42) !important;
  color: var(--red) !important;
}
.attachment-btn-delete:hover {
  border-color: rgba(233, 76, 61, 0.6) !important;
  background: var(--red-soft) !important;
}

/* Produto (show) - hero / carrossel / chips */
.neon-border{
  border: 1px solid rgba(255, 230, 215, 0.10);
  background:
    radial-gradient(ellipse 60% 55% at 10% 0%, rgba(233, 76, 61, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(138, 154, 63, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(255, 230, 215, 0.04), rgba(255, 230, 215, 0.02));
  box-shadow:
    0 0 0 1px rgba(233, 76, 61, 0.06),
    0 28px 70px -42px rgba(233, 76, 61, 0.35);
  border-radius: 16px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.neon-border:hover {
  border-color: rgba(255, 230, 215, 0.16);
  box-shadow:
    0 0 0 1px rgba(233, 76, 61, 0.1),
    0 32px 72px -40px rgba(233, 76, 61, 0.42);
  transform: translateY(-1px);
}

.product-hero{
  display: grid;
  grid-template-columns: 0.92fr 1.12fr;
  gap: 16px;
  padding: 14px;
  margin-bottom: 18px;
  align-items: stretch;
}
@media (max-width: 1040px){
  .product-hero{ grid-template-columns: 1fr; }
}

.product-gallery{
  display:flex;
  flex-direction:column;
  gap: 12px;
  height: 100%;
}
.carousel{ border: 1px solid var(--line); border-radius: 14px; overflow:hidden; background: #ffffff; }
.carousel-main{ position: relative; height: 420px; background: #ffffff; }
.carousel--empty{
  border-color: rgba(255, 230, 215, 0.12);
  background:
    radial-gradient(ellipse 90% 70% at 50% 18%, rgba(233, 76, 61, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 230, 215, 0.06) 0%, rgba(12, 11, 10, 0.92) 42%, rgba(8, 7, 7, 0.98) 100%);
}
.carousel--empty .carousel-main{ background: transparent; }
@media (max-width: 560px){ .carousel-main{ height: 300px; } }
.carousel-track{
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide{
  display: none;
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #ffffff;
}
.carousel-slide.is-active{
  display: flex;
  z-index: 1;
}
.carousel-slide__media{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transform: translateZ(0);
}
.carousel-slide__video{
  width: 100%;
  height: auto;
  max-height: 100%;
  background: #0a0908;
}
.carousel-slide--pdf{
  background:
    radial-gradient(ellipse 72% 62% at 50% 108%, rgba(233, 76, 61, 0.07), transparent 52%),
    radial-gradient(ellipse 90% 56% at 12% 18%, rgba(200, 154, 63, 0.05), transparent 45%),
    linear-gradient(168deg, #f3ede6 0%, #e8dfd4 36%, #ded4c8 100%);
  padding: 20px 14px;
}
.carousel-slide-doc{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}
.carousel-slide-doc__card{
  width: 100%;
  text-align: center;
  padding: 26px 22px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 230, 215, 0.12);
  background:
    linear-gradient(152deg, rgba(32, 28, 26, 0.98) 0%, rgba(14, 12, 11, 0.99) 52%, rgba(10, 9, 8, 1) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 28px 56px -24px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 230, 215, 0.06);
}
.carousel-slide-doc__icon-wrap{
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: radial-gradient(circle at 38% 30%, rgba(233, 76, 61, 0.2), transparent 62%),
    rgba(255, 230, 215, 0.04);
  border: 1px solid rgba(233, 76, 61, 0.22);
}
.carousel-slide-doc__icon-svg{
  width: 56px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}
.carousel-slide-doc__eyebrow{
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 230, 215, 0.38);
  margin-bottom: 8px;
}
.carousel-slide-doc__name{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-primary);
  line-height: 1.4;
  word-break: break-word;
  margin: 0 0 8px;
}
.carousel-slide-doc__hint{
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--txt-secondary);
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.carousel-slide-doc__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(233, 76, 61, 0.45);
  background: linear-gradient(180deg, rgba(233, 76, 61, 0.95), rgba(200, 58, 48, 0.92));
  box-shadow: 0 12px 32px -14px rgba(233, 76, 61, 0.55);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.carousel-slide-doc__cta:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px rgba(233, 76, 61, 0.6);
}
.carousel-slide-doc__cta svg{
  flex-shrink: 0;
  opacity: 0.95;
}
.carousel-empty{
  position: relative;
  height: 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align: center;
  padding: 28px 24px;
  box-sizing: border-box;
  border: none;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 230, 215, 0.72);
}
.carousel-empty__glow{
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(233, 76, 61, 0.22) 0%, transparent 68%);
  pointer-events: none;
  animation: carouselEmptyPulse 4s ease-in-out infinite;
}
.carousel-empty__visual{
  position: relative;
  z-index: 1;
  color: rgba(255, 230, 215, 0.62);
  margin-bottom: 8px;
}
.carousel-empty__icon{
  width: 112px;
  height: 112px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}
.carousel-empty__cam{
  transform-origin: 60px 64px;
  transform-box: fill-box;
}
@media (prefers-reduced-motion: no-preference){
  .carousel-empty__cam{
    animation: carouselEmptyCamLive 2.9s ease-in-out infinite;
  }
}
.carousel-empty__title{
  position: relative;
  z-index: 1;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--txt-primary);
  margin: 10px 0 0;
}
.carousel-empty__hint{
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--txt-secondary);
}
.carousel-empty__hint strong{
  color: var(--txt-primary);
  font-weight: 600;
}
.carousel-empty__cta{
  position: relative;
  z-index: 2;
  margin-top: 14px;
}
@keyframes carouselEmptyCamLive{
  0%, 100%{
    transform: rotate(-2.8deg) translateY(0) scale(1);
  }
  25%{
    transform: rotate(3deg) translateY(-5px) scale(1.05);
  }
  55%{
    transform: rotate(-1.2deg) translateY(3px) scale(0.97);
  }
  80%{
    transform: rotate(1.8deg) translateY(-2px) scale(1.02);
  }
}
@keyframes carouselEmptyPulse{
  0%, 100%{ opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%{ opacity: 0.9; transform: translate(-50%, -50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce){
  .carousel-empty__glow,
  .carousel-empty__cam{
    animation: none !important;
  }
}
.carousel-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 230, 215, 0.16);
  background: rgba(15, 13, 12, 0.55);
  color: var(--txt-primary);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s, background .15s;
  backdrop-filter: blur(8px);
}
.carousel-nav:hover{
  transform: translateY(-50%) scale(1.02);
  border-color: rgba(233, 76, 61, 0.35);
  box-shadow: 0 14px 34px -18px rgba(233, 76, 61, 0.55);
  background: rgba(15, 13, 12, 0.70);
}
.carousel-nav.prev{ left: 12px; }
.carousel-nav.next{ right: 12px; }

.thumb-strip{
  display: flex;
  gap: 8px;
  padding: 10px 10px 12px;
  border-top: 1px solid rgba(255, 230, 215, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 16, 15, 0.45) 0%, rgba(12, 11, 10, 0.72) 100%);
  overflow-x: auto;
  flex-wrap: nowrap;
  align-items: stretch;
  scrollbar-color: rgba(233, 76, 61, 0.35) transparent;
}
.thumb-strip::-webkit-scrollbar{ height: 6px; }
.thumb-strip::-webkit-scrollbar-thumb{
  background: rgba(233, 76, 61, 0.35);
  border-radius: 999px;
}
.thumb{
  border: 1px solid rgba(255, 230, 215, 0.14);
  background: rgba(10, 9, 8, 0.55);
  width: 82px;
  height: 60px;
  border-radius: 12px;
  padding: 3px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.45);
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}
.thumb--placeholder{
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.thumb-chip{
  width: 100%;
  height: 100%;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    linear-gradient(145deg, rgba(255, 230, 215, 0.07) 0%, rgba(255, 230, 215, 0.02) 100%);
  border: 1px solid rgba(255, 230, 215, 0.1);
}
.thumb-chip__icon{
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
.thumb-chip__icon--pdf{
  background: rgba(233, 76, 61, 0.2);
  color: #ffb4aa;
  border: 1px solid rgba(233, 76, 61, 0.42);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.thumb-chip__icon--video{
  background: rgba(200, 154, 63, 0.18);
  color: #e8cf8f;
  border: 1px solid rgba(200, 154, 63, 0.42);
  font-size: 12px;
  padding-left: 2px;
}
.thumb-chip__lbl{
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 230, 215, 0.48);
}
.thumb:hover{
  transform: translateY(-2px);
  border-color: rgba(255, 230, 215, 0.24);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.5);
}
.thumb.active{
  border-color: rgba(233, 76, 61, 0.65);
  box-shadow:
    0 0 0 1px rgba(233, 76, 61, 0.25),
    0 12px 28px -12px rgba(233, 76, 61, 0.55);
  background: rgba(233, 76, 61, 0.08);
}
.thumb.active .thumb-chip{
  border-color: rgba(233, 76, 61, 0.35);
  background: linear-gradient(145deg, rgba(233, 76, 61, 0.12) 0%, rgba(233, 76, 61, 0.04) 100%);
}

.product-description{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 230, 215, 0.02);
  flex: 1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.desc-text{ margin-top: 6px; color: var(--txt-primary); font-size: 14px; }
.desc-hint{ margin-top: 10px; color: var(--txt-muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.product-meta{ display:flex; flex-direction:column; gap: 12px; }
.info-card{
  border: 1px solid var(--line);
  background: rgba(255, 230, 215, 0.02);
  border-radius: 14px;
  padding: 12px 14px;
}
.info-list{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.info-item{
  border: 1px solid rgba(255, 230, 215, 0.10);
  background: rgba(255, 230, 215, 0.02);
  border-radius: 10px;
  padding: 8px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.info-item .k{
  color: var(--txt-muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}
.info-item .v{
  color: var(--txt-primary);
  text-align:right;
}
.info-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 230, 215, 0.06);
}
.info-row:last-child{ border-bottom:none; }
.info-row .k{ color: var(--txt-muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-family: 'IBM Plex Mono', monospace; }
.info-row .v{ color: var(--txt-primary); text-align:right; }

.chips{ display:flex; flex-wrap:wrap; gap: 10px; }
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 230, 215, 0.12);
  background: rgba(255, 230, 215, 0.03);
  color: var(--txt-primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: transform .12s, border-color .12s, box-shadow .12s, background .12s;
}
.chip .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 230, 215, 0.25);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.25);
}
.chip.is-empty{ opacity: .55; }
.chip-btn{ cursor:pointer; }
.chip-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(233, 76, 61, 0.28);
  box-shadow: 0 14px 34px -20px rgba(233, 76, 61, 0.40);
}
.chip-btn .x{
  margin-left: 4px;
  opacity: .7;
  font-size: 12px;
  line-height: 1;
}

.read-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.read-field{ grid-column: span 6; }
@media (max-width: 760px){ .read-field{ grid-column: span 12; } }
.read-value{
  border: 1px solid rgba(255, 230, 215, 0.10);
  background: rgba(255, 230, 215, 0.02);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--txt-primary);
}

.mini-list{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.mini-item{
  border: 1px solid rgba(255, 230, 215, 0.10);
  background: rgba(255, 230, 215, 0.02);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--txt-primary);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.advanced-info{
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 230, 215, 0.02);
  overflow: hidden;
}
.advanced-info > summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 18px 14px 15px;
  border-left: 3px solid rgba(233, 76, 61, 0.5);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-secondary);
  border-bottom: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.advanced-info > summary::-webkit-details-marker{ display:none; }
.advanced-info > summary::after{
  content: '+';
  float: right;
  opacity: .75;
}
.advanced-info[open] > summary{
  color: var(--txt-primary);
  background: rgba(255, 230, 215, 0.03);
  border-bottom-color: var(--line);
}
.advanced-info[open] > summary::after{ content: '−'; }
.advanced-info__content{
  padding: 16px 16px 8px;
  background: linear-gradient(180deg, rgba(255, 230, 215, 0.028) 0%, transparent 140px);
}
.advanced-info__content > .panel{
  margin-bottom: 14px;
  border-radius: 14px;
  border-color: rgba(255, 230, 215, 0.1);
  overflow: hidden;
}
.advanced-info__content > .panel:last-child{
  margin-bottom: 4px;
}
.advanced-info__content .panel-head{
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255, 230, 215, 0.04) 0%, rgba(255, 230, 215, 0.01) 100%);
}
.advanced-info__content .panel-title h3{
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

/* —— Informações avançadas: dados mestres / curadoria —— */
.adv-master-body{
  padding: 18px 20px 22px;
}
.adv-kpi-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.adv-kpi-card{
  flex: 1 1 160px;
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 230, 215, 0.12);
  background: linear-gradient(158deg, rgba(255, 230, 215, 0.06) 0%, rgba(255, 230, 215, 0.015) 100%);
  box-shadow: 0 10px 28px -20px rgba(0, 0, 0, 0.55);
}
.adv-kpi-card--grow{
  flex: 2 1 220px;
}
.adv-kpi-card__eyebrow{
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 6px;
}
.adv-kpi-card__label{
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--txt-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.adv-kpi-card__val{
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-primary);
  word-break: break-word;
}
.adv-kpi-card__val--hash{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--txt-secondary);
  word-break: break-all;
}
.adv-erp-strip{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid rgba(233, 76, 61, 0.28);
  background: linear-gradient(115deg, rgba(233, 76, 61, 0.12) 0%, rgba(255, 230, 215, 0.05) 42%, rgba(200, 154, 63, 0.08) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 230, 215, 0.06), 0 12px 32px -24px rgba(233, 76, 61, 0.35);
}
.adv-erp-strip__tag{
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 230, 215, 0.52);
  margin-bottom: 4px;
}
.adv-erp-strip__title{
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 650;
  color: var(--txt-primary);
}
.adv-erp-strip__sub{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--txt-secondary);
  max-width: 36rem;
}
.adv-erp-strip__form{ flex-shrink: 0; }
.adv-erp-strip__btn{ min-width: 168px; }

.adv-sector-label{
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 230, 215, 0.42);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 230, 215, 0.09);
}

.adv-kv-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px 14px;
}
.adv-kv{
  grid-column: span 12;
}
@media (min-width: 920px){
  .adv-kv--half{ grid-column: span 6; }
  .adv-kv--third{ grid-column: span 4; }
  .adv-kv--full{ grid-column: span 12; }
}
.adv-kv__label{
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-muted);
}
.adv-kv__box{
  border: 1px solid rgba(255, 230, 215, 0.11);
  background: rgba(8, 7, 6, 0.42);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--txt-primary);
  min-height: 2.75rem;
}

.adv-curation-body{
  padding: 18px 20px 22px;
}
.adv-read-grid{
  gap: 14px;
}
.adv-read-field .read-value{
  margin-top: 0;
  border-color: rgba(255, 230, 215, 0.12);
  background: rgba(8, 7, 6, 0.38);
  padding: 12px 14px;
}
.adv-read-field--full{
  grid-column: 1 / -1;
}

.adv-tags-body,
.adv-attachments-body,
.adv-snapshot-body{
  padding: 16px 20px 20px;
}
.adv-panel-intro{
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 230, 215, 0.44);
}
.adv-chips-well{
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 230, 215, 0.1);
  background: rgba(255, 230, 215, 0.025);
}

.adv-empty-well{
  text-align: center;
  padding: 24px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 230, 215, 0.16);
  color: var(--txt-muted);
  font-size: 13px;
  background: rgba(255, 230, 215, 0.02);
}

.adv-table-scroll{
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 230, 215, 0.09);
  background: rgba(0, 0, 0, 0.12);
}
.adv-table-scroll .data-table{
  margin: 0;
  min-width: 640px;
}

.product-cell { display: flex; align-items: center; gap: 14px; }
.product-thumb { width: 36px; height: 36px; border-radius: 6px; background: var(--bg-elevated); display: grid; place-items: center; border: 1px solid var(--line); font-family: 'Bricolage Grotesque', sans-serif; font-size: 12px; font-weight: 600; color: var(--txt-secondary); }
.product-info-cell .name { font-weight: 500; color: var(--txt-primary); margin-bottom: 3px; font-size: 13.5px; }
.product-info-cell .sku { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--txt-muted); letter-spacing: 0.05em; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid;
}
.status-pill.success { background: rgba(138, 154, 63, 0.08); color: var(--ok); border-color: rgba(138, 154, 63, 0.2); }
.status-pill.warn { background: rgba(200, 154, 63, 0.08); color: var(--warn); border-color: rgba(200, 154, 63, 0.2); }
.status-pill.error { background: var(--red-soft); color: var(--red); border-color: rgba(233, 76, 61, 0.25); }
.status-pill.tag-empty {
  background: rgba(255, 230, 215, 0.04);
  color: var(--txt-muted);
  border-color: rgba(255, 230, 215, 0.12);
}
.status-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--txt-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s;
  position: relative;
}
.icon-btn:hover {
  background: var(--bg-surface);
  border-color: var(--line);
  color: var(--txt-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.5);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-muted);
}
.pagination a {
  color: var(--txt-secondary);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.pagination a:hover {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
  color: var(--txt-primary);
  transform: translateY(-1px);
}

.filters { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; align-items: end; }
.filters .filters__label { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--txt-muted); margin-bottom: 8px; }

@media (max-width: 1100px) {
  #login-screen { grid-template-columns: 1fr; }
  .login-left { display: none; }
  #dashboard-screen.active { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .page-title { font-size: 40px; }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

::selection { background: var(--red); color: #fff; }

/* Qualidade → lista de produtos */
.quality-section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 14px;
}
.quality-section-title:first-child {
  margin-top: 0;
}

.quality-scope-menu {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--txt-muted);
  position: relative;
}
.quality-scope-menu summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.quality-scope-menu summary::-webkit-details-marker { display: none; }
.quality-scope-menu summary::after {
  content: ' ▸';
  opacity: 0.55;
  font-size: 10px;
}
.quality-scope-menu[open] summary::after {
  content: ' ▾';
}
.quality-scope-menu__body {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 220px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 20;
}
.quality-scope-menu__body a {
  display: block;
  color: var(--txt-secondary);
  text-decoration: none;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.quality-scope-menu__body a:first-of-type { margin-top: 0; }
.quality-scope-menu__body a:hover { color: var(--red); }
.quality-scope-menu__hint {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--txt-muted);
  line-height: 1.45;
}

label.quality-scope-inline {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--txt-muted);
}
label.quality-scope-inline input {
  margin-top: 2px;
  accent-color: var(--red);
}
.quality-scope-inline-hint {
  margin: 6px 0 0 24px;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--txt-muted);
  opacity: 0.85;
}

a.quality-indicator-card {
  display: block;
  grid-column: span 3;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 230, 215, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.quality-indicator-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.55);
}
a.quality-indicator-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  a.quality-indicator-card { grid-column: span 6; }
}
@media (max-width: 600px) {
  a.quality-indicator-card { grid-column: span 12; }
}

/* Qualidade — distribuição de status (faixa + cartões) */
.quality-status-dist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quality-status-dist__meta {
  margin: 0;
  font-size: 11px;
  color: var(--txt-muted);
  letter-spacing: 0.08em;
}
.quality-status-dist__bar {
  display: flex;
  width: 100%;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.2s ease;
}
.quality-status-dist__bar:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 28px -16px rgba(0, 0, 0, 0.45);
}
.quality-status-dist__seg {
  min-width: max(4px, 0.4%);
  transition: filter 0.22s ease, transform 0.22s ease;
}
.quality-status-dist__bar:hover .quality-status-dist__seg {
  filter: brightness(1.1) saturate(1.06);
}
.quality-status-dist__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.quality-status-dist__card {
  position: relative;
  padding: 16px 18px 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 230, 215, 0.05), rgba(255, 230, 215, 0.015));
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.quality-status-dist__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--status-accent, var(--ok));
  border-radius: 2px 0 0 2px;
}
.quality-status-dist__card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -22px rgba(0, 0, 0, 0.55);
}
.quality-status-dist__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.quality-status-dist__card-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-primary);
  line-height: 1.25;
}
.quality-status-dist__card-code {
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-muted);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-surface);
}
.quality-status-dist__card-stat {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--txt-primary);
}
.quality-status-dist__card-pct {
  margin-top: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--txt-secondary);
}

/* Painel sync ao vivo (/sync) */
.sync-live-panel {
  margin: 16px 0 24px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(233, 76, 61, 0.06), rgba(255, 230, 215, 0.02));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.sync-live-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.sync-live-panel__title {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.sync-live-panel__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--txt-secondary);
}
.sync-live-panel__stats {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--txt-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.sync-live-panel__log-wrap {
  margin-bottom: 14px;
}
.sync-live-panel__log-title {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-muted);
  margin-bottom: 8px;
}
.sync-live-panel__log {
  display: block;
  max-height: 340px;
  overflow: auto;
  padding: 12px 14px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--txt-secondary);
}
.sync-live-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.sync-live-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--txt-muted);
  flex-shrink: 0;
  margin-top: 4px;
}
.sync-live-pulse--on {
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(200, 154, 63, 0.45);
  animation: syncPulse 1.4s ease-out infinite;
}
@keyframes syncPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 154, 63, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(200, 154, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 154, 63, 0); }
}

