/*
  Owner: shared Pulse component primitives.
  Belongs here: tabs, tables, sidebar controls, date range picker anatomy, sidebar stats, buttons, and overlays.
  Does not belong here: shell frame layout, homepage-only modules, or feature/page-specific presentation.
  Migration target: core/css/pulse/components.css after compatibility wrappers are approved.
*/

.pulse-tab-strip {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
  margin: 0;
  border-bottom: 0;
  background: linear-gradient(to bottom, transparent calc(100% - 1px), var(--pulse-tab-strip-baseline) calc(100% - 1px));
  overflow-x: auto;
}

.pulse-tab-strip--sub {
  margin-bottom: 18px;
}

.pulse-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--pulse-shell-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-tab:hover,
.pulse-tab:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  color: var(--pulse-shell-accent-strong);
  outline: 0;
}

.pulse-tab.is-active,
.pulse-tab.active,
.pulse-tab[aria-selected="true"] {
  z-index: 1;
  border-color: var(--pulse-tab-active-border);
  background: var(--pulse-tab-active-bg);
  color: var(--pulse-tab-active-text);
}

.pulse-tab.is-active::after,
.pulse-tab.active::after,
.pulse-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 1px;
  background: var(--pulse-tab-active-cover-bg);
  pointer-events: none;
}

.pulse-sidebar-controls-slot,
.pulse-sidebar-bottom-slot {
  display: grid;
  gap: 12px;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.pulse-sidebar-bottom-slot {
  flex: 0 0 auto;
  margin: 0;
  background: var(--pulse-sidebar-bg, #202020);
}

.pulse-sidebar-bottom-slot:has(.pulse-sidebar-contact-button) {
  gap: 0;
  width: auto;
  max-width: none;
  margin-right: -18px;
  margin-bottom: -18px;
  margin-left: -18px;
}

.pulse-sidebar-bottom-slot:has(.pulse-sidebar-contact-button)::before {
  content: "";
  display: block;
  width: 100%;
  height: 18px;
  border-bottom: 1px solid var(--pulse-shell-border, #303030);
  background: linear-gradient(
    to bottom,
    rgba(32, 32, 32, 0),
    var(--pulse-sidebar-bg, #202020) 10px,
    var(--pulse-sidebar-bg, #202020) 100%
  );
}

.pulse-sidebar-controls-slot:empty,
.pulse-sidebar-bottom-slot:empty {
  display: none;
}

.pulse-sidebar-controls-region {
  display: contents;
}

.pulse-sidebar-control-modal-backdrop,
.pulse-sidebar-collapsed-controls {
  display: none;
}

.pulse-sidebar-filter-section {
  padding-top: 2px;
}

.pulse-sidebar-filter-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  padding: 0 2px;
  color: var(--pulse-shell-text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  list-style: none;
}

.pulse-sidebar-filter-summary::-webkit-details-marker {
  display: none;
}

.pulse-sidebar-filter-summary span {
  display: block;
  min-width: 0;
  color: var(--pulse-shell-text);
}

.pulse-sidebar-filter-summary small {
  margin-left: auto;
  color: var(--pulse-shell-subtle);
  font-size: 12px;
  font-weight: 750;
}

.pulse-sidebar-filter-summary i {
  flex: 0 0 auto;
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  line-height: 1;
  transition: transform 140ms ease, color 140ms ease;
}

.pulse-sidebar-filter-section[open] > .pulse-sidebar-filter-summary > i {
  transform: rotate(180deg);
  color: var(--pulse-shell-accent);
}

.pulse-sidebar-filter-summary:hover span,
.pulse-sidebar-filter-summary:hover small,
.pulse-sidebar-filter-summary:hover i,
.pulse-sidebar-filter-summary:focus-visible span,
.pulse-sidebar-filter-summary:focus-visible small,
.pulse-sidebar-filter-summary:focus-visible i {
  color: var(--pulse-shell-accent-strong);
}

.pulse-sidebar-filter-summary:focus-visible {
  outline: 2px solid rgba(231, 199, 95, 0.42);
  outline-offset: 3px;
  border-radius: 7px;
}

.pulse-sidebar-control-stack {
  --pulse-sidebar-control-radius: 3px;
  --pulse-sidebar-control-max-width: 100%;
  --pulse-sidebar-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e7c75f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  display: grid;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  max-width: var(--pulse-sidebar-control-max-width);
  min-width: 0;
}

.pulse-sidebar-controls-slot *,
.pulse-sidebar-bottom-slot *,
.pulse-sidebar-control-stack *,
.pulse-sidebar-filter-control * {
  box-sizing: border-box;
}

.pulse-sidebar-controls-slot > *,
.pulse-sidebar-bottom-slot > *,
.pulse-sidebar-control-stack > *,
.pulse-sidebar-filter-control > * {
  max-width: 100%;
  min-width: 0;
}

.pulse-sidebar-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 8px;
  max-width: 100%;
  min-width: 0;
}

.pulse-sidebar-filter-control {
  --pulse-sidebar-control-radius: 3px;
  --pulse-sidebar-control-max-width: 100%;
  --pulse-sidebar-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e7c75f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  display: grid;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--pulse-sidebar-control-max-width);
  min-width: 0;
}

.pulse-sidebar-compact-grid > .pulse-sidebar-filter-control,
.pulse-sidebar-filter-control--compact {
  gap: 5px;
}

.pulse-sidebar-filter-control--full {
  grid-column: 1 / -1;
}

.pulse-sidebar-control-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pulse-sidebar-filter-control select,
.pulse-sidebar-filter-control textarea,
.pulse-sidebar-filter-control input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  max-width: var(--pulse-sidebar-control-max-width);
  min-width: 0;
  min-height: 36px;
  box-sizing: border-box;
  border: 1px solid var(--pulse-shell-border);
  border-radius: var(--pulse-sidebar-control-radius);
  background: var(--pulse-shell-panel);
  color: var(--pulse-shell-text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  outline: 0;
}

.pulse-sidebar-filter-control select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 31px 0 10px;
  background-image: var(--pulse-sidebar-select-chevron);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
  cursor: pointer;
}

.pulse-sidebar-filter-control textarea,
.pulse-sidebar-filter-control input:not([type="checkbox"]):not([type="radio"]) {
  padding: 0 10px;
}

.pulse-sidebar-filter-control--compact select,
.pulse-sidebar-filter-control--compact textarea,
.pulse-sidebar-filter-control--compact input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 34px;
  padding-left: 8px;
  font-size: 11.5px;
}

.pulse-sidebar-filter-control--compact select {
  padding-right: 29px;
  background-position: right 9px center;
}

.pulse-sidebar-filter-control--compact textarea,
.pulse-sidebar-filter-control--compact input:not([type="checkbox"]):not([type="radio"]) {
  padding-right: 8px;
}

.pulse-sidebar-filter-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 3px;
  padding-top: 9px;
  border-top: 1px solid #303030;
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.pulse-sidebar-filter-subhead::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #303030;
}

.pulse-sidebar-filter-control select:focus,
.pulse-sidebar-filter-control input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: var(--pulse-shell-accent);
  box-shadow: 0 0 0 3px rgba(231, 199, 95, 0.12);
}

.pulse-date-range {
  --pulse-sidebar-control-radius: 3px;
  --pulse-sidebar-control-max-width: 100%;
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--pulse-sidebar-control-max-width);
  min-width: 0;
}

.pulse-date-range-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: var(--pulse-sidebar-control-max-width);
  min-width: 0;
  box-sizing: border-box;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #454545;
  border-radius: var(--pulse-sidebar-control-radius);
  background: #191919;
  color: var(--pulse-shell-text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-date-range-trigger:hover,
.pulse-date-range-trigger:focus-visible,
.pulse-date-range.is-open .pulse-date-range-trigger {
  border-color: var(--pulse-shell-accent);
  background: #202020;
  color: var(--pulse-shell-accent-strong);
  box-shadow: 0 0 0 2px rgba(231, 199, 95, 0.18);
}

.pulse-date-range-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--pulse-shell-accent);
  font-size: 11px;
}

.pulse-date-range-trigger-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-date-range-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  width: min(760px, calc(100vw - 32px));
  max-width: min(760px, calc(100vw - 32px));
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 3px;
  background: #191919;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
}

.pulse-date-range.is-open .pulse-date-range-panel,
.pulse-date-range-panel.open {
  display: grid;
  gap: 8px;
}

.pulse-date-range-presets {
  display: grid;
  gap: 2px;
}

.pulse-date-range-preset {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #eeeeee;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

.pulse-date-range-preset:hover,
.pulse-date-range-preset:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  outline: 0;
}

.pulse-date-range-preset.is-active,
.pulse-date-range-preset.active,
.pulse-date-range-preset[aria-current="true"] {
  background: rgba(231, 199, 95, 0.08);
  color: var(--pulse-shell-accent);
}

.pulse-date-range-custom {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 8px;
  border-top: 1px solid #303030;
}

.pulse-date-range-custom-label {
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.pulse-date-range-custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

.pulse-date-range-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pulse-date-range-field span {
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.pulse-date-range-input {
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 7px;
  background: #151515;
  color: #eeeeee;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  outline: 0;
}

.pulse-date-range-input:focus {
  border-color: var(--pulse-shell-accent);
  box-shadow: 0 0 0 3px rgba(231, 199, 95, 0.12);
}

.pulse-date-range-calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pulse-date-range-calendar {
  min-width: 0;
  padding: 10px;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #151515;
}

.pulse-date-range-calendar-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.pulse-date-range-calendar-head strong {
  min-width: 0;
  color: #eeeeee;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.pulse-date-range-calendar-nav {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--pulse-shell-muted);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-date-range-calendar-nav:hover,
.pulse-date-range-calendar-nav:focus-visible {
  border-color: var(--pulse-shell-accent);
  background: #222222;
  color: var(--pulse-shell-accent-strong);
  outline: 0;
}

.pulse-date-range-weekdays,
.pulse-date-range-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.pulse-date-range-weekdays {
  margin-bottom: 3px;
}

.pulse-date-range-weekdays span {
  color: var(--pulse-shell-subtle);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.pulse-date-range-day,
.pulse-date-range-calendar-spacer {
  aspect-ratio: 1;
  min-width: 0;
}

.pulse-date-range-day {
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #d7d7d7;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.pulse-date-range-day:hover,
.pulse-date-range-day:focus-visible {
  border-color: #555555;
  background: #222222;
  outline: 0;
}

.pulse-date-range-day.is-in-range {
  background: rgba(231, 199, 95, 0.08);
  color: #ffffff;
}

.pulse-date-range-day.is-selected {
  border-color: var(--pulse-shell-accent);
  background: rgba(231, 199, 95, 0.16);
  color: var(--pulse-shell-accent-strong);
}

.pulse-date-range-day.is-today {
  color: var(--pulse-shell-accent-strong);
}

.pulse-date-range-day:disabled {
  opacity: 0.32;
  cursor: default;
}

.pulse-date-range-day:disabled:hover,
.pulse-date-range-day:disabled:focus-visible {
  border-color: transparent;
  background: transparent;
  color: #d7d7d7;
}

.pulse-date-range-selected {
  min-height: 15px;
  color: var(--pulse-shell-muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.pulse-date-range-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px;
}

.pulse-date-range-action {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 7px;
  background: #171717;
  color: var(--pulse-shell-muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-date-range-action:hover,
.pulse-date-range-action:focus-visible {
  border-color: var(--pulse-shell-accent);
  background: #232323;
  color: var(--pulse-shell-accent-strong);
  outline: 0;
}

.pulse-date-range-action--primary {
  border-color: rgba(231, 199, 95, 0.48);
  color: var(--pulse-shell-accent-strong);
}

.pulse-sidebar-control-button {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  flex-wrap: nowrap;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #454545;
  border-radius: 8px;
  background: #191919;
  color: var(--pulse-shell-muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  justify-content: flex-start;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-sidebar-control-button:hover,
.pulse-sidebar-control-button:focus-visible {
  border-color: var(--pulse-shell-accent);
  background: #202020;
  color: var(--pulse-shell-accent-strong);
  box-shadow: 0 0 0 2px rgba(231, 199, 95, 0.18);
  outline: 0;
}

.pulse-sidebar-control-button:disabled,
.pulse-sidebar-control-button[aria-disabled="true"] {
  opacity: 0.54;
  cursor: not-allowed;
}

.pulse-sidebar-control-button i {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 11px;
}

.pulse-sidebar-control-button--primary {
  justify-content: center;
  border-color: rgba(231, 199, 95, 0.52);
  color: var(--pulse-shell-accent-strong);
}

.pulse-sidebar-control-button--secondary {
  color: var(--pulse-shell-muted);
}

.pulse-sidebar-control-button--icon {
  width: 36px;
  min-width: 36px;
  padding: 0;
  justify-content: center;
}

.pulse-sidebar-control-button span {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-sidebar-filter-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pulse-sidebar-filter-actions .pulse-sidebar-control-button--secondary {
  width: auto;
  min-width: 0;
  white-space: nowrap;
}

.pulse-sidebar-check-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pulse-sidebar-check {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 5px 0;
  color: var(--pulse-shell-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.pulse-sidebar-check input[type="checkbox"],
.pulse-sidebar-check input[type="radio"] {
  appearance: auto;
  box-sizing: border-box;
  display: inline-block;
  width: 15px;
  height: 15px;
  inline-size: 15px;
  block-size: 15px;
  min-width: 15px;
  min-height: 15px;
  max-width: 15px;
  max-height: 15px;
  margin: 0;
  padding: 0;
  border-radius: 3px;
  flex: 0 0 15px;
  justify-self: start;
  align-self: center;
  accent-color: var(--pulse-shell-accent);
}

.pulse-sidebar-check span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .pulse-date-range-panel {
    width: min(540px, calc(100vw - 24px));
    max-width: min(540px, calc(100vw - 24px));
  }

  .pulse-date-range-calendar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pulse-info-help {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.pulse-info-help-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--pulse-shell-border-strong);
  border-radius: 999px;
  background: #181818;
  color: var(--pulse-shell-accent);
  cursor: help;
  font-size: 11px;
  line-height: 1;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-info-help:hover .pulse-info-help-icon,
.pulse-info-help:focus-within .pulse-info-help-icon {
  border-color: var(--pulse-shell-accent);
  background: #232323;
  color: var(--pulse-shell-accent-strong);
}

.pulse-info-help-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  width: min(300px, calc(100vw - 48px));
  padding: 12px 13px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 8px;
  background: #151515;
  color: #eeeeee;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
}

.pulse-info-help-popover--right {
  right: 0;
  left: auto;
}

.pulse-sidebar-panel .pulse-info-help-popover,
.pulse-sidebar-controls-region .pulse-info-help-popover {
  left: 0;
  right: auto;
  z-index: 240;
}

.pulse-info-help:hover .pulse-info-help-popover,
.pulse-info-help:focus-within .pulse-info-help-popover {
  display: block;
}

.pulse-info-help-popover strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.pulse-info-help-popover ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 16px;
  color: #eeeeee;
  font-size: 12px;
  line-height: 1.45;
}

.pulse-sidebar-stat-section {
  padding-top: 2px;
}

.pulse-sidebar-stat-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  color: var(--pulse-shell-text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  list-style: none;
}

.pulse-sidebar-stat-summary::-webkit-details-marker {
  display: none;
}

.pulse-sidebar-stat-summary i {
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  transition: transform 140ms ease, color 140ms ease;
}

.pulse-sidebar-stat-section[open] > .pulse-sidebar-stat-summary > i {
  transform: rotate(180deg);
  color: var(--pulse-shell-accent);
}

.pulse-sidebar-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 7px;
}

.pulse-sidebar-stat-context {
  min-width: 0;
  overflow: hidden;
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-sidebar-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #3d3d3d;
  border-bottom: 1px solid #303030;
}

.pulse-sidebar-stat-item {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  gap: 5px;
  padding: 10px 8px;
  border-bottom: 1px solid #303030;
}

.pulse-sidebar-stat-item:nth-child(even) {
  border-left: 1px solid #303030;
}

.pulse-sidebar-stat-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pulse-sidebar-stat-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.pulse-sidebar-stat-kicker i {
  flex: 0 0 auto;
  color: var(--pulse-shell-accent);
  font-size: 10px;
}

.pulse-sidebar-stat-value {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 17px;
  font-weight: 875;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pulse-sidebar-stat-value span {
  color: var(--pulse-shell-subtle) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

.pulse-sidebar-stat-value--good {
  color: #87d37c !important;
}

.pulse-sidebar-stat-value--bad {
  color: #d97878 !important;
}

.pulse-sidebar-stat-value--accent,
.pulse-sidebar-stat-value.text-slate-300 {
  color: var(--pulse-shell-accent) !important;
}

.pulse-sidebar-stat-minirow {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 7px 10px;
  min-width: 0;
  padding: 10px 8px;
  border-top: 1px solid #303030;
}

.pulse-sidebar-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pulse-shell-muted);
  font-size: 11.5px;
  font-weight: 800;
}

.pulse-sidebar-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--pulse-shell-subtle);
}

.pulse-sidebar-stat-dot--positive {
  background: #87d37c;
}

.pulse-sidebar-stat-dot--neutral {
  background: #8a8a8a;
}

.pulse-sidebar-stat-dot--negative {
  background: #d97878;
}

.pulse-sidebar-section + .pulse-sidebar-section {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--pulse-shell-border);
}

.pulse-sidebar-controls-slot > :where(.pulse-sidebar-section, form) + :where(.pulse-sidebar-section, form) {
  padding-top: 12px;
  border-top: 1px solid var(--pulse-shell-border);
}

.pulse-sidebar-control-stack > :not(.pulse-sidebar-section) + .pulse-sidebar-section,
.pulse-sidebar-control-stack > .pulse-sidebar-section + .pulse-sidebar-section {
  margin-top: 3px;
  padding-top: 12px;
  border-top: 1px solid var(--pulse-shell-border);
}

.pulse-sidebar-section--favorites {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid var(--pulse-shell-border);
}

.pulse-sidebar-section--favorites.is-first-sidebar-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pulse-sidebar-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.pulse-sidebar-favorites-head {
  position: relative;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.pulse-sidebar-favorites-title-row {
  display: inline-flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.pulse-sidebar-section-toggle.pulse-sidebar-favorites-title-toggle {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  width: auto;
  min-width: 0;
}

.pulse-sidebar-favorites-title-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-sidebar-favorites-settings {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--pulse-shell-subtle);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  transition: background-color 140ms ease, color 140ms ease;
}

.pulse-sidebar-favorites-settings i {
  display: block;
  line-height: 1;
}

.pulse-sidebar-favorites-settings:hover,
.pulse-sidebar-favorites-settings:focus-visible,
.pulse-sidebar-favorites-settings.is-active {
  background: rgba(255, 255, 255, 0.055);
  color: var(--pulse-shell-accent-strong);
  outline: 0;
}

.pulse-sidebar-section-toggle.pulse-sidebar-favorites-meta-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  min-width: 0;
}

.pulse-sidebar-favorites-settings-note {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 20;
  display: inline-flex !important;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 7px;
  background: #1c1c1c;
  color: var(--pulse-shell-text) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.pulse-sidebar-section-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.pulse-sidebar-section-toggle:disabled {
  cursor: default;
}

.pulse-sidebar-section-toggle i {
  color: var(--pulse-shell-subtle);
  font-size: 10px;
  transition: transform 150ms ease, color 150ms ease;
}

.pulse-sidebar-section-toggle:hover:not(:disabled) span,
.pulse-sidebar-section-toggle:hover:not(:disabled) i,
.pulse-sidebar-section-toggle:focus-visible span,
.pulse-sidebar-section-toggle:focus-visible i {
  color: var(--pulse-shell-accent-strong);
}

.pulse-sidebar-section-toggle:focus-visible {
  outline: 2px solid rgba(231, 199, 95, 0.42);
  outline-offset: 3px;
  border-radius: 7px;
}

.pulse-sidebar-section--collapsible.is-open .pulse-sidebar-section-toggle i {
  transform: rotate(180deg);
}

.pulse-sidebar-list[hidden] {
  display: none;
}

.pulse-sidebar-list {
  display: grid;
  gap: 0;
}

.pulse-sidebar-page-group {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.pulse-sidebar-page-group-head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  justify-items: start;
  padding: 0 2px;
}

.pulse-sidebar-page-group-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #ff3232;
  font-size: 17px;
}

.pulse-sidebar-page-group-title {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  color: var(--pulse-shell-text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.pulse-sidebar-page-group-description {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  color: var(--pulse-shell-subtle);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.pulse-sidebar-page-group-icon + .pulse-sidebar-page-group-title,
.pulse-sidebar-page-group-icon ~ .pulse-sidebar-page-group-description {
  grid-column: 2;
}

.pulse-sidebar-item {
  --pulse-sidebar-icon-color: var(--pulse-shell-accent);
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--pulse-shell-text);
  text-decoration: none;
  box-shadow: none;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.pulse-sidebar-item--recent {
  --pulse-sidebar-icon-color: var(--pulse-shell-control-light);
}

.pulse-sidebar-section--page .pulse-sidebar-page-group .pulse-sidebar-item {
  min-height: 42px;
}

.pulse-sidebar-item + .pulse-sidebar-item {
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.pulse-sidebar-item::before {
  display: none;
}

.pulse-sidebar-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--pulse-shell-subtle);
  border-right: 2px solid var(--pulse-shell-subtle);
  opacity: 0;
  transform: translateY(-50%) rotate(45deg);
  transition:
    border-color 150ms ease,
    opacity 150ms ease;
}

.pulse-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
}

.pulse-sidebar-item:hover::after {
  border-color: var(--pulse-shell-accent);
  opacity: 1;
}

.pulse-sidebar-item:focus-visible {
  outline: 2px solid rgba(231, 199, 95, 0.42);
  outline-offset: 2px;
}

.pulse-sidebar-item-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--pulse-sidebar-icon-color);
}

.pulse-sidebar-item strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-sidebar-empty {
  padding: 13px 12px;
  border: 1px dashed var(--pulse-shell-border-strong);
  border-radius: 8px;
  color: var(--pulse-shell-muted);
  font-size: 12px;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.025);
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-panel,
.main-sidebar.sidebar-collapsed .pulse-sidebar-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-height: calc(100vh - var(--pulse-shell-top-inset));
  padding: var(--pulse-shell-content-top-offset) 6px 14px;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-scroll-region,
.main-sidebar.sidebar-collapsed .pulse-sidebar-scroll-region {
  align-items: stretch;
  gap: 10px;
  margin-right: -6px;
  padding-right: 6px;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-head,
.main-sidebar.sidebar-collapsed .pulse-sidebar-head {
  justify-content: center;
  width: 100%;
  padding: 0;
  border-bottom: 0;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-head > div,
.main-sidebar.sidebar-collapsed .pulse-sidebar-head > div {
  display: none;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-head .sidebar-collapse-btn,
.main-sidebar.sidebar-collapsed .pulse-sidebar-head .sidebar-collapse-btn {
  margin-right: auto;
  margin-left: auto;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-collapsed-controls,
.main-sidebar.sidebar-collapsed .pulse-sidebar-collapsed-controls {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
}

.pulse-sidebar-collapsed-control {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--pulse-shell-border-strong);
  border-radius: 8px;
  background: #181818;
  color: var(--pulse-shell-accent);
  cursor: pointer;
  font-size: 13px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-sidebar-collapsed-control:hover,
.pulse-sidebar-collapsed-control:focus-visible,
.pulse-sidebar-collapsed-control.is-active {
  border-color: var(--pulse-shell-accent);
  background: #232323;
  color: var(--pulse-shell-accent-strong);
  outline: 0;
}

.pulse-sidebar-control-modal-backdrop {
  position: fixed;
  top: var(--pulse-shell-topbar-height);
  right: 0;
  bottom: 0;
  left: var(--pulse-sidebar-offset);
  z-index: calc(var(--pulse-z-overlay) - 1);
  display: block;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: default;
}

.pulse-sidebar-controls-region.is-open {
  position: fixed;
  top: calc(var(--pulse-shell-topbar-height) + 10px);
  left: calc(var(--pulse-sidebar-offset) + 10px);
  z-index: var(--pulse-z-overlay);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: min(328px, calc(100vw - var(--pulse-sidebar-offset) - 24px));
  max-height: calc(100vh - var(--pulse-shell-topbar-height) - 24px);
  padding: 12px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 8px;
  background: #1c1c1c;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

.pulse-sidebar-control-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding-bottom: 9px;
  border-bottom: 1px solid #303030;
}

.pulse-sidebar-control-modal-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--pulse-shell-text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.pulse-sidebar-control-modal-head span i {
  color: var(--pulse-shell-accent);
  font-size: 13px;
}

.pulse-sidebar-control-modal-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--pulse-shell-muted);
  cursor: pointer;
}

.pulse-sidebar-control-modal-close:hover,
.pulse-sidebar-control-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--pulse-shell-accent-strong);
  outline: 0;
}

.pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-section]:not([data-sidebar-control-selected="true"]) {
  display: none;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section-head,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-filter-section,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-page-group-head,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-empty,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-slot,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-bottom-slot,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-stat-section,
.main-sidebar.sidebar-collapsed .pulse-sidebar-section-head,
.main-sidebar.sidebar-collapsed .pulse-sidebar-filter-section,
.main-sidebar.sidebar-collapsed .pulse-sidebar-page-group-head,
.main-sidebar.sidebar-collapsed .pulse-sidebar-empty,
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-slot,
.main-sidebar.sidebar-collapsed .pulse-sidebar-bottom-slot,
.main-sidebar.sidebar-collapsed .pulse-sidebar-stat-section {
  display: none;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot,
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot,
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot {
  display: grid;
  gap: 12px;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-date-range.is-open),
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-date-range-panel.open),
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-info-help:hover),
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-info-help:focus-within),
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has([aria-haspopup][aria-expanded="true"]),
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.cp-combobox-trigger[aria-expanded="true"]),
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has([data-sidebar-overlay-open="true"]),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has(.pulse-date-range.is-open),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has(.pulse-date-range-panel.open),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has(.pulse-info-help:hover),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has(.pulse-info-help:focus-within),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has([aria-haspopup][aria-expanded="true"]),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has(.cp-combobox-trigger[aria-expanded="true"]),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-bottom-slot:has([data-sidebar-overlay-open="true"]),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-date-range.is-open),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-date-range-panel.open),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-info-help:hover),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.pulse-info-help:focus-within),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has([aria-haspopup][aria-expanded="true"]),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has(.cp-combobox-trigger[aria-expanded="true"]),
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-controls-slot:has([data-sidebar-overlay-open="true"]) {
  overflow: visible;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-selected="true"],
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-selected="true"] {
  display: grid;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-selected="true"] .pulse-sidebar-filter-section,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-selected="true"] .pulse-sidebar-stat-section,
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-selected="true"] .pulse-sidebar-filter-section,
.main-sidebar.sidebar-collapsed .pulse-sidebar-controls-region.is-open .pulse-sidebar-section[data-sidebar-control-selected="true"] .pulse-sidebar-stat-section {
  display: block;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-bottom-slot:has(.pulse-sidebar-contact-button),
.main-sidebar.sidebar-collapsed .pulse-sidebar-bottom-slot:has(.pulse-sidebar-contact-button) {
  display: grid;
  justify-items: center;
  width: auto;
  max-width: none;
  margin-top: auto;
  margin-right: -6px;
  margin-bottom: -14px;
  margin-left: -6px;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section,
.main-sidebar.sidebar-collapsed .pulse-sidebar-section {
  display: grid;
  justify-items: center;
  gap: 4px;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section--favorites,
.main-sidebar.sidebar-collapsed .pulse-sidebar-section--favorites {
  width: 100%;
  margin-top: auto;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section + .pulse-sidebar-section,
.main-sidebar.sidebar-collapsed .pulse-sidebar-section + .pulse-sidebar-section,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section--collapsible.is-open,
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-filter-section[open],
html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-stat-section[open],
.main-sidebar.sidebar-collapsed .pulse-sidebar-section--collapsible.is-open,
.main-sidebar.sidebar-collapsed .pulse-sidebar-filter-section[open],
.main-sidebar.sidebar-collapsed .pulse-sidebar-stat-section[open] {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  border-top: 0;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-page-group,
.main-sidebar.sidebar-collapsed .pulse-sidebar-page-group {
  width: 100%;
  gap: 4px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-list,
.main-sidebar.sidebar-collapsed .pulse-sidebar-list {
  width: 100%;
  justify-items: center;
  gap: 4px;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item,
.main-sidebar.sidebar-collapsed .pulse-sidebar-item {
  grid-template-columns: 1fr;
  justify-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item + .pulse-sidebar-item,
.main-sidebar.sidebar-collapsed .pulse-sidebar-item + .pulse-sidebar-item {
  border-top: 0;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item::after,
.main-sidebar.sidebar-collapsed .pulse-sidebar-item::after {
  display: none;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item strong,
.main-sidebar.sidebar-collapsed .pulse-sidebar-item strong {
  display: none;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item-icon,
.main-sidebar.sidebar-collapsed .pulse-sidebar-item-icon {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section--page .pulse-sidebar-page-group .pulse-sidebar-item,
.main-sidebar.sidebar-collapsed .pulse-sidebar-section--page .pulse-sidebar-page-group .pulse-sidebar-item {
  min-height: 44px;
}

.pulse-page-breadcrumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.08;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-page-breadcrumb a,
.pulse-page-breadcrumb-label {
  color: #ffffff;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.pulse-page-breadcrumb a.pulse-page-breadcrumb-label {
  color: var(--pulse-shell-accent);
}

.pulse-page-breadcrumb a:hover,
.pulse-page-breadcrumb a:focus-visible {
  color: var(--pulse-shell-accent-strong);
  text-decoration-line: underline;
}

.pulse-page-breadcrumb a[aria-disabled="true"],
.pulse-page-breadcrumb-label[aria-disabled="true"] {
  color: var(--pulse-shell-accent);
  cursor: default;
  pointer-events: none;
}

.pulse-page-breadcrumb a[aria-current="page"],
.pulse-page-breadcrumb a.is-current {
  color: #ffffff;
}

.pulse-page-breadcrumb-separator {
  color: #ffffff;
}

.pulse-shell-page .pulse-floating-actions {
  --pulse-floating-action-size: 42px;
  position: fixed;
  top: max(124px, calc(var(--pulse-shell-top-inset, 64px) + 28px));
  right: 0;
  z-index: 1050;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.pulse-shell-page .pulse-floating-scrim {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(1px);
}

.pulse-shell-page .pulse-floating-scrim.is-hidden {
  display: none;
}

.pulse-shell-page .pulse-floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: var(--pulse-floating-action-size);
  height: var(--pulse-floating-action-size);
  padding: 0;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: var(--pulse-shell-panel, #171717);
  color: var(--pulse-shell-muted, #b6b6b6);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-shell-page .pulse-floating-action:hover,
.pulse-shell-page .pulse-floating-action:focus-visible {
  border-color: var(--pulse-shell-accent, #e7c75f);
  background: var(--pulse-shell-accent, #e7c75f);
  color: #ffffff;
  outline: none;
}

.pulse-shell-page .pulse-floating-action--info {
  width: 48px;
  height: 48px;
  border-color: var(--pulse-shell-accent, #e7c75f);
  background: var(--pulse-shell-accent, #e7c75f);
  color: var(--pulse-color-bg-topbar, #0b090f);
}

.pulse-shell-page .pulse-floating-action--info:hover,
.pulse-shell-page .pulse-floating-action--info:focus-visible,
.pulse-shell-page .pulse-floating-action--info[aria-expanded="true"],
.pulse-floating-action--info:hover,
.pulse-floating-action--info:focus-visible,
.pulse-floating-action--info[aria-expanded="true"] {
  border-color: var(--pulse-shell-accent-strong, #f6dc86);
  background: var(--pulse-shell-accent-strong, #f6dc86);
  color: var(--pulse-color-bg-topbar, #0b090f);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 0 2px rgba(246, 220, 134, 0.18);
}

.pulse-shell-page .pulse-floating-action--info .pulse-floating-action__icon {
  font-size: 18px;
}

.pulse-shell-page .pulse-floating-action__icon {
  width: 16px;
  height: 16px;
  font-size: 15px;
  line-height: 1;
}

.pulse-shell-page .pulse-floating-action__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pulse-shell-page .pulse-floating-popover {
  position: fixed;
  top: max(124px, calc(var(--pulse-shell-top-inset, 64px) + 28px));
  right: 58px;
  z-index: 1100;
  width: max-content;
  max-width: min(1400px, calc(100vw - 88px));
  max-height: min(78vh, 760px);
}

.pulse-shell-page .pulse-floating-popover.is-hidden {
  display: none;
}

.pulse-shell-page .pulse-popover-panel {
  width: max-content;
  max-width: min(1400px, calc(100vw - 88px));
  max-height: inherit;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.52);
}

.pulse-shell-page .pulse-modal.pulse-popover-panel,
.pulse-shell-page .pulse-modal--compact.pulse-popover-panel {
  width: max-content;
  max-width: min(1400px, calc(100vw - 88px));
}

.pulse-shell-page .pulse-page-info-panel {
  border-color: rgba(231, 199, 95, 0.28);
}

.pulse-shell-page .pulse-page-info-panel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -7px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(231, 199, 95, 0.28);
  border-right: 1px solid rgba(231, 199, 95, 0.28);
  background: var(--pulse-shell-panel, #171717);
  transform: rotate(45deg);
}

.pulse-shell-page .pulse-modal-backdrop,
.pulse-home-page .pulse-modal-backdrop,
.reddit-pulse-page .pulse-modal-backdrop {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 160px 24px 24px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
  z-index: 1100;
}

.pulse-shell-page .pulse-modal-backdrop.is-hidden,
.pulse-home-page .pulse-modal-backdrop.is-hidden,
.reddit-pulse-page .pulse-modal-backdrop.is-hidden {
  display: none;
}

.pulse-shell-page .pulse-modal,
.pulse-home-page .pulse-modal,
.reddit-pulse-page .pulse-modal {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, calc(100vw - 32px));
  max-width: min(620px, calc(100vw - 32px));
  max-height: min(860px, max(320px, calc(100vh - 184px)));
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  background: var(--pulse-shell-panel, #171717);
  color: var(--pulse-shell-text, #f2f2f2);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.pulse-shell-page .pulse-modal__form,
.pulse-home-page .pulse-modal__form,
.reddit-pulse-page .pulse-modal__form {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.pulse-shell-page .pulse-modal--wide,
.pulse-home-page .pulse-modal--wide,
.reddit-pulse-page .pulse-modal--wide {
  width: min(980px, calc(100vw - 40px));
  max-width: min(980px, calc(100vw - 40px));
}

.pulse-shell-page .pulse-modal--compact,
.pulse-home-page .pulse-modal--compact,
.reddit-pulse-page .pulse-modal--compact {
  width: min(520px, calc(100vw - 32px));
  max-width: min(520px, calc(100vw - 32px));
}

.pulse-shell-page .pulse-floating-modal {
  width: min(560px, calc(100vw - 32px));
  max-width: min(560px, calc(100vw - 32px));
}

.pulse-shell-page .pulse-modal__header,
.pulse-home-page .pulse-modal__header,
.reddit-pulse-page .pulse-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--pulse-shell-border, #343434);
}

.pulse-shell-page .pulse-modal__header--title-only,
.pulse-home-page .pulse-modal__header--title-only,
.reddit-pulse-page .pulse-modal__header--title-only {
  align-items: center;
  padding: 14px 20px;
}

.pulse-shell-page .pulse-modal__title,
.pulse-home-page .pulse-modal__title,
.reddit-pulse-page .pulse-modal__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
}

.pulse-shell-page .pulse-modal__title i,
.pulse-home-page .pulse-modal__title i,
.reddit-pulse-page .pulse-modal__title i {
  color: var(--pulse-shell-accent, #e7c75f);
  font-size: 14px;
}

.pulse-shell-page .pulse-modal__subtitle,
.pulse-home-page .pulse-modal__subtitle,
.reddit-pulse-page .pulse-modal__subtitle {
  margin: 5px 0 0;
  color: var(--pulse-shell-subtle, #858585);
  font-size: 12px;
  line-height: 1.4;
}

.pulse-shell-page .pulse-modal__close,
.pulse-home-page .pulse-modal__close,
.reddit-pulse-page .pulse-modal__close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--pulse-shell-muted, #b6b6b6);
  background: transparent;
}

.pulse-shell-page .pulse-modal__close:hover,
.pulse-shell-page .pulse-modal__close:focus-visible,
.pulse-home-page .pulse-modal__close:hover,
.pulse-home-page .pulse-modal__close:focus-visible,
.reddit-pulse-page .pulse-modal__close:hover,
.reddit-pulse-page .pulse-modal__close:focus-visible {
  border-color: var(--pulse-shell-border-strong, #525252);
  background: var(--pulse-shell-panel-soft, #242424);
  color: #ffffff;
  outline: none;
}

.pulse-shell-page .pulse-modal__body,
.pulse-home-page .pulse-modal__body,
.reddit-pulse-page .pulse-modal__body {
  display: grid;
  gap: 18px;
  min-height: 0;
  flex: 1 1 auto;
  padding: 18px 20px 20px;
  overflow: auto;
}

.pulse-shell-page .pulse-modal__section,
.pulse-home-page .pulse-modal__section,
.reddit-pulse-page .pulse-modal__section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.pulse-shell-page .pulse-modal__section h4,
.pulse-home-page .pulse-modal__section h4,
.reddit-pulse-page .pulse-modal__section h4 {
  margin: 0;
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-shell-page .pulse-modal__context,
.pulse-home-page .pulse-modal__context,
.reddit-pulse-page .pulse-modal__context {
  padding: 12px;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.pulse-shell-page .pulse-modal__context h4,
.pulse-home-page .pulse-modal__context h4,
.reddit-pulse-page .pulse-modal__context h4 {
  margin: 0 0 5px;
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-shell-page .pulse-modal__context p,
.pulse-home-page .pulse-modal__context p,
.reddit-pulse-page .pulse-modal__context p {
  margin: 0;
  color: #eeeeee;
  font-size: 13px;
  line-height: 1.45;
}

.pulse-shell-page .pulse-bug-context {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--pulse-shell-muted, #b6b6b6);
  font-size: 12px;
  line-height: 1.45;
}

.pulse-shell-page .pulse-bug-context__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--pulse-shell-accent, #e7c75f);
}

.pulse-shell-page .pulse-page-info {
  gap: 18px;
}

.pulse-shell-page .pulse-page-info__section {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.pulse-shell-page .pulse-page-info__section + .pulse-page-info__section {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-shell-page .pulse-page-info__section h4 {
  margin: 0;
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.pulse-shell-page .pulse-page-info__section p {
  margin: 0;
  color: var(--pulse-shell-text, #f2f2f2);
  font-size: 13px;
  line-height: 1.45;
}

.pulse-shell-page .pulse-page-info__metrics {
  display: grid;
  gap: 0;
}

.pulse-shell-page .pulse-page-info__metric {
  display: grid;
  grid-template-columns: minmax(116px, 0.28fr) minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-shell-page .pulse-page-info__metric:first-child {
  border-top: 0;
}

.pulse-shell-page .pulse-page-info__metric strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.pulse-shell-page .pulse-page-info__metric span,
.pulse-shell-page .pulse-page-info__notes {
  color: var(--pulse-shell-muted, #b6b6b6);
  font-size: 12px;
  line-height: 1.45;
}

.pulse-shell-page .pulse-page-info__formula {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  grid-column: 2;
  padding: 3px 6px;
  overflow-wrap: anywhere;
  border: 0;
  border-radius: 4px;
  background: rgba(231, 199, 95, 0.07);
  color: var(--pulse-shell-accent-strong, #f6dc86);
  font-size: 11px;
}

.pulse-shell-page .pulse-page-info__notes {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.pulse-shell-page .pulse-modal__two-column,
.pulse-home-page .pulse-modal__two-column,
.reddit-pulse-page .pulse-modal__two-column {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.pulse-shell-page .pulse-modal__column,
.pulse-home-page .pulse-modal__column,
.reddit-pulse-page .pulse-modal__column {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.pulse-shell-page .pulse-modal__input,
.pulse-home-page .pulse-modal__input,
.reddit-pulse-page .pulse-modal__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  background: var(--pulse-shell-panel-soft, #242424);
  color: var(--pulse-shell-text, #f2f2f2);
  font-size: 12px;
  outline: none;
}

.pulse-shell-page .pulse-modal__input::placeholder,
.pulse-home-page .pulse-modal__input::placeholder,
.reddit-pulse-page .pulse-modal__input::placeholder {
  color: var(--pulse-shell-subtle, #858585);
}

.pulse-shell-page .pulse-modal__input:focus,
.pulse-home-page .pulse-modal__input:focus,
.reddit-pulse-page .pulse-modal__input:focus {
  border-color: var(--pulse-shell-accent, #e7c75f);
  box-shadow: 0 0 0 2px rgba(231, 199, 95, 0.16);
}

.pulse-shell-page .pulse-modal__input--color,
.pulse-home-page .pulse-modal__input--color,
.reddit-pulse-page .pulse-modal__input--color {
  height: 38px;
  padding: 4px;
  cursor: pointer;
}

.pulse-shell-page .pulse-modal__field,
.pulse-home-page .pulse-modal__field,
.reddit-pulse-page .pulse-modal__field {
  display: grid;
  gap: 6px;
}

.pulse-shell-page .pulse-modal__field label,
.pulse-home-page .pulse-modal__field label,
.reddit-pulse-page .pulse-modal__field label {
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-shell-page .pulse-bug-label {
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-shell-page .pulse-bug-choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pulse-shell-page .pulse-bug-choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--pulse-shell-text, #f2f2f2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.pulse-shell-page .pulse-bug-choice:hover,
.pulse-shell-page .pulse-bug-choice:focus-within {
  border-color: var(--pulse-shell-accent, #e7c75f);
  background: rgba(231, 199, 95, 0.08);
}

.pulse-shell-page .pulse-bug-choice input {
  width: 14px;
  height: 14px;
  accent-color: var(--pulse-shell-accent, #e7c75f);
}

.pulse-shell-page .pulse-bug-textarea {
  min-height: 92px;
  line-height: 1.45;
  resize: vertical;
}

.pulse-shell-page .pulse-bug-request-fields {
  display: grid;
  gap: 12px;
}

.pulse-shell-page .pulse-bug-extra-fields {
  display: grid;
  gap: 12px;
}

.pulse-shell-page .pulse-modal__field[hidden],
.pulse-shell-page .pulse-bug-request-fields[hidden],
.pulse-shell-page .pulse-bug-extra-fields[hidden] {
  display: none;
}

.pulse-shell-page .pulse-modal__field-grid,
.pulse-home-page .pulse-modal__field-grid,
.reddit-pulse-page .pulse-modal__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pulse-shell-page .pulse-modal__picker,
.pulse-home-page .pulse-modal__picker,
.reddit-pulse-page .pulse-modal__picker {
  min-width: 0;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.pulse-shell-page .pulse-modal__picker-head,
.pulse-home-page .pulse-modal__picker-head,
.reddit-pulse-page .pulse-modal__picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--pulse-shell-border, #343434);
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-shell-page .pulse-modal__count,
.pulse-home-page .pulse-modal__count,
.reddit-pulse-page .pulse-modal__count {
  color: var(--pulse-shell-subtle, #858585);
  font-size: 10px;
  font-weight: 750;
  text-transform: none;
}

.pulse-shell-page .pulse-modal__icon-actions,
.pulse-home-page .pulse-modal__icon-actions,
.reddit-pulse-page .pulse-modal__icon-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pulse-shell-page .pulse-modal__icon-action,
.pulse-home-page .pulse-modal__icon-action,
.reddit-pulse-page .pulse-modal__icon-action {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--pulse-shell-muted, #b6b6b6);
  cursor: pointer;
}

.pulse-shell-page .pulse-modal__icon-action:hover,
.pulse-shell-page .pulse-modal__icon-action:focus-visible,
.pulse-home-page .pulse-modal__icon-action:hover,
.pulse-home-page .pulse-modal__icon-action:focus-visible,
.reddit-pulse-page .pulse-modal__icon-action:hover,
.reddit-pulse-page .pulse-modal__icon-action:focus-visible {
  border-color: var(--pulse-shell-border-strong, #525252);
  background: var(--pulse-shell-panel-soft, #242424);
  color: #ffffff;
  outline: none;
}

.pulse-shell-page .pulse-modal__text-action,
.pulse-home-page .pulse-modal__text-action,
.reddit-pulse-page .pulse-modal__text-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--pulse-shell-accent, #e7c75f);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.pulse-shell-page .pulse-modal__text-action:hover,
.pulse-shell-page .pulse-modal__text-action:focus-visible,
.pulse-home-page .pulse-modal__text-action:hover,
.pulse-home-page .pulse-modal__text-action:focus-visible,
.reddit-pulse-page .pulse-modal__text-action:hover,
.reddit-pulse-page .pulse-modal__text-action:focus-visible {
  color: var(--pulse-shell-accent-strong, #f6dc86);
  outline: none;
}

.pulse-shell-page .pulse-modal__picker-footer,
.pulse-home-page .pulse-modal__picker-footer,
.reddit-pulse-page .pulse-modal__picker-footer {
  padding: 9px 10px;
  border-top: 1px solid var(--pulse-shell-border, #343434);
}

.pulse-shell-page .pulse-modal__scroll-list,
.pulse-home-page .pulse-modal__scroll-list,
.reddit-pulse-page .pulse-modal__scroll-list {
  display: grid;
  gap: 4px;
  max-height: 286px;
  min-height: 160px;
  padding: 8px;
  overflow: auto;
}

.pulse-shell-page .pulse-modal__scroll-list--tall,
.pulse-home-page .pulse-modal__scroll-list--tall,
.reddit-pulse-page .pulse-modal__scroll-list--tall {
  max-height: 380px;
}

.pulse-shell-page .pulse-modal__tag-list,
.pulse-home-page .pulse-modal__tag-list,
.reddit-pulse-page .pulse-modal__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 24px;
  color: var(--pulse-shell-subtle, #858585);
  font-size: 12px;
}

.pulse-shell-page .pulse-modal__empty,
.pulse-home-page .pulse-modal__empty,
.reddit-pulse-page .pulse-modal__empty {
  padding: 22px 10px;
  color: var(--pulse-shell-subtle, #858585);
  font-size: 12px;
  text-align: center;
}

.pulse-shell-page .pulse-modal__footer,
.pulse-home-page .pulse-modal__footer,
.reddit-pulse-page .pulse-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--pulse-shell-border, #343434);
  background: rgba(255, 255, 255, 0.018);
}

.pulse-shell-page .pulse-modal__button,
.pulse-home-page .pulse-modal__button,
.reddit-pulse-page .pulse-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  background: #202020;
  color: var(--pulse-shell-muted, #b6b6b6);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pulse-shell-page .pulse-modal__button:hover,
.pulse-shell-page .pulse-modal__button:focus-visible,
.pulse-home-page .pulse-modal__button:hover,
.pulse-home-page .pulse-modal__button:focus-visible,
.reddit-pulse-page .pulse-modal__button:hover,
.reddit-pulse-page .pulse-modal__button:focus-visible {
  border-color: var(--pulse-shell-border-strong, #525252);
  background: var(--pulse-shell-panel-soft, #242424);
  color: #ffffff;
  outline: none;
}

.pulse-shell-page .pulse-modal__button--primary,
.pulse-home-page .pulse-modal__button--primary,
.reddit-pulse-page .pulse-modal__button--primary {
  border-color: rgba(231, 199, 95, 0.5);
  background: rgba(231, 199, 95, 0.16);
  color: var(--pulse-shell-accent-strong, #f6dc86);
}

.pulse-shell-page .pulse-modal__button--primary:hover,
.pulse-shell-page .pulse-modal__button--primary:focus-visible,
.pulse-home-page .pulse-modal__button--primary:hover,
.pulse-home-page .pulse-modal__button--primary:focus-visible,
.reddit-pulse-page .pulse-modal__button--primary:hover,
.reddit-pulse-page .pulse-modal__button--primary:focus-visible {
  border-color: var(--pulse-shell-accent, #e7c75f);
  background: rgba(231, 199, 95, 0.22);
  color: #fff3bd;
}

.pulse-shell-page .pulse-modal__button--ghost,
.pulse-home-page .pulse-modal__button--ghost,
.reddit-pulse-page .pulse-modal__button--ghost {
  border-color: transparent;
  background: transparent;
}

.pulse-shell-page .pulse-favorites-preferences {
  width: min(820px, calc(100vw - 40px));
  max-width: min(820px, calc(100vw - 40px));
}

.pulse-shell-page .pulse-favorites-preferences__body {
  gap: 12px;
  padding-top: 14px;
}

.pulse-shell-page .pulse-favorites-preferences__default-open {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 2px 0 14px;
  border-bottom: 1px solid var(--pulse-color-border-subtle);
  cursor: pointer;
}

.pulse-shell-page .pulse-favorites-preferences__default-open input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--pulse-color-accent);
}

.pulse-shell-page .pulse-favorites-preferences__default-open > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pulse-shell-page .pulse-favorites-preferences__default-open strong {
  color: var(--pulse-color-text-heading);
  font-size: var(--pulse-font-size-interface);
  line-height: 1.25;
}

.pulse-shell-page .pulse-favorites-preferences__default-open small {
  color: var(--pulse-color-text-muted);
  font-size: var(--pulse-font-size-metadata);
  line-height: 1.4;
}

.pulse-shell-page .pulse-favorite-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pulse-shell-page .pulse-favorite-slot {
  min-width: 0;
  border-bottom: 1px solid var(--pulse-color-border-subtle);
}

.pulse-shell-page .pulse-favorite-slot__row {
  display: grid;
  grid-template-columns: 28px minmax(180px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding: 6px 0;
}

.pulse-shell-page .pulse-favorite-slot__number {
  color: var(--pulse-color-text-subtle);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: center;
}

.pulse-shell-page .pulse-favorite-slot__selection {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pulse-shell-page .pulse-favorite-slot__icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--pulse-color-text-muted);
  font-size: 12px;
}

.pulse-shell-page .pulse-favorite-slot__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pulse-shell-page .pulse-favorite-slot__copy strong {
  overflow: hidden;
  color: var(--pulse-color-text-heading);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-shell-page .pulse-favorite-slot__empty {
  grid-column: 1 / -1;
  color: var(--pulse-color-text-subtle);
  font-size: 12px;
  font-style: italic;
}

.pulse-shell-page .pulse-favorite-slot__actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.pulse-shell-page .pulse-favorite-slot__action {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--pulse-color-border);
  border-radius: var(--pulse-radius-sm);
  background: var(--pulse-color-surface-soft);
  color: var(--pulse-color-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
}

.pulse-shell-page .pulse-favorite-slot__action:hover,
.pulse-shell-page .pulse-favorite-slot__action:focus-visible,
.pulse-shell-page .pulse-favorite-slot__action[aria-expanded="true"] {
  border-color: var(--pulse-color-border-strong);
  color: var(--pulse-color-text-heading);
  outline: none;
}

.pulse-shell-page .pulse-favorite-slot__action--clear {
  border-color: transparent;
  background: transparent;
  color: var(--pulse-color-text-subtle);
}

.pulse-shell-page .pulse-favorite-slot__action:disabled {
  cursor: default;
  opacity: 0.34;
}

.pulse-shell-page .pulse-favorite-slot__search {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 4px 0 14px 38px;
}

.pulse-shell-page .pulse-favorite-slot__search > label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.pulse-shell-page .pulse-favorites-search-box {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--pulse-color-control-light);
  border-radius: var(--pulse-radius-md);
  background: var(--pulse-color-surface);
}

.pulse-shell-page .pulse-favorites-search-box:focus-within {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pulse-color-text-muted) 16%, transparent);
}

.pulse-shell-page .pulse-favorites-search-box > i {
  color: var(--pulse-color-text-subtle);
  font-size: 11px;
  text-align: center;
}

.pulse-shell-page .pulse-favorites-search-box input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 10px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pulse-color-text);
  font: inherit;
  font-size: 12px;
}

.pulse-shell-page .pulse-favorite-search-results {
  display: grid;
  max-height: 250px;
  overflow: auto;
  border: 1px solid var(--pulse-color-border);
  border-radius: var(--pulse-radius-md);
  background: var(--pulse-color-surface-menu);
}

.pulse-shell-page .pulse-favorite-search-result {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid var(--pulse-color-border-subtle);
  background: transparent;
  color: var(--pulse-color-text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.pulse-shell-page .pulse-favorite-search-result:last-child {
  border-bottom: 0;
}

.pulse-shell-page .pulse-favorite-search-result:hover,
.pulse-shell-page .pulse-favorite-search-result:focus-visible,
.pulse-shell-page .pulse-favorite-search-result[aria-selected="true"] {
  background: color-mix(in srgb, var(--pulse-color-text) 6%, transparent);
  outline: none;
}

.pulse-shell-page .pulse-favorite-search-result > i {
  color: var(--pulse-color-text-muted);
  font-size: 12px;
  text-align: center;
}

.pulse-shell-page .pulse-favorite-search-result > i:last-child {
  color: var(--pulse-color-accent);
}

.pulse-shell-page .pulse-favorite-search-result span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pulse-shell-page .pulse-favorite-search-result strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-shell-page .pulse-favorite-search-result strong {
  color: var(--pulse-color-text-heading);
  font-size: 11px;
  font-weight: 850;
}

.pulse-shell-page .pulse-favorites-preferences__footer {
  align-items: center;
}

.pulse-shell-page .pulse-favorites-preferences__message {
  flex: 1 1 auto;
  margin: 0;
  color: var(--pulse-color-danger);
  font-size: 11px;
  font-weight: 750;
}

.pulse-shell-page .pulse-bug-modal__footer {
  align-items: center;
  justify-content: space-between;
}

.pulse-shell-page .pulse-bug-modal__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-shell-page .pulse-bug-message {
  padding: 10px 12px;
  border: 1px solid var(--pulse-shell-border, #343434);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.pulse-shell-page .pulse-bug-message--error {
  border-color: rgba(239, 68, 68, 0.34);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}

.pulse-shell-page .pulse-bug-message--success {
  border-color: rgba(135, 211, 124, 0.32);
  background: rgba(135, 211, 124, 0.08);
  color: #ccefc7;
}

.pulse-shell-page .pulse-modal__button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.pulse-shell-page .pulse-sidebar-contact-button {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--pulse-shell-accent, #e7c75f);
  border-radius: 0;
  background: var(--pulse-shell-accent, #e7c75f);
  color: var(--pulse-color-bg-topbar, #0b090f);
  cursor: pointer;
  text-align: center;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.pulse-shell-page .pulse-sidebar-contact-button:hover,
.pulse-shell-page .pulse-sidebar-contact-button:focus-visible,
.pulse-sidebar-contact-button:hover,
.pulse-sidebar-contact-button:focus-visible {
  border-color: var(--pulse-shell-accent-strong, #f6dc86);
  background: var(--pulse-shell-accent-strong, #f6dc86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 -8px 22px rgba(0, 0, 0, 0.18);
  outline: 0;
}

.pulse-shell-page .pulse-sidebar-contact-button__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.pulse-shell-page .pulse-sidebar-contact-button__icon img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%);
  opacity: 0.88;
  object-fit: contain;
}

.pulse-shell-page .pulse-sidebar-contact-button__copy {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.pulse-shell-page .pulse-sidebar-contact-button__copy strong {
  color: var(--pulse-color-bg-topbar, #0b090f);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.pulse-shell-page .pulse-sidebar-contact-button__copy small {
  display: none;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-contact-button,
.main-sidebar.sidebar-collapsed .pulse-sidebar-contact-button {
  grid-template-columns: 1fr;
  justify-items: center;
  width: 100%;
  min-height: 38px;
  padding: 0;
}

html.sidebar-start-collapsed .main-sidebar .pulse-sidebar-contact-button__copy,
.main-sidebar.sidebar-collapsed .pulse-sidebar-contact-button__copy {
  display: none;
}

@media (min-width: 761px) {
  .pulse-shell-page .pulse-floating-actions {
    top: max(132px, calc(var(--pulse-shell-top-inset, 64px) + 36px));
  }

  .pulse-shell-page .pulse-floating-popover {
    top: max(132px, calc(var(--pulse-shell-top-inset, 64px) + 36px));
  }
}

@media (max-width: 760px) {
  .pulse-shell-page .pulse-modal-backdrop,
  .pulse-home-page .pulse-modal-backdrop,
  .reddit-pulse-page .pulse-modal-backdrop {
    padding: 96px 14px 14px;
  }

  .pulse-shell-page .pulse-modal,
  .pulse-home-page .pulse-modal,
  .reddit-pulse-page .pulse-modal {
    max-height: max(320px, calc(100vh - 110px));
  }

  .pulse-shell-page .pulse-modal__two-column,
  .pulse-home-page .pulse-modal__two-column,
  .reddit-pulse-page .pulse-modal__two-column,
  .pulse-shell-page .pulse-modal__field-grid,
  .pulse-home-page .pulse-modal__field-grid,
  .reddit-pulse-page .pulse-modal__field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pulse-shell-page .pulse-modal__footer,
  .pulse-home-page .pulse-modal__footer,
  .reddit-pulse-page .pulse-modal__footer {
    flex-wrap: wrap;
  }

  .pulse-shell-page .pulse-favorites-preferences {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .pulse-shell-page .pulse-favorites-preferences .pulse-modal__header {
    padding: 15px 15px 13px;
  }

  .pulse-shell-page .pulse-favorites-preferences__body {
    padding: 12px 15px 16px;
  }

  .pulse-shell-page .pulse-favorite-slots {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
  }

  .pulse-shell-page .pulse-favorite-slot__row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .pulse-shell-page .pulse-favorite-slot__actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    flex-direction: column;
  }

  .pulse-shell-page .pulse-favorite-slot__search {
    padding-left: 32px;
  }

  .pulse-shell-page .pulse-favorites-preferences__message {
    flex-basis: 100%;
  }

  .pulse-shell-page .pulse-bug-choice-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .pulse-shell-page .pulse-page-info__metric {
    grid-template-columns: minmax(0, 1fr);
  }

  .pulse-shell-page .pulse-page-info__formula {
    grid-column: 1;
  }

  .pulse-shell-page .pulse-floating-actions {
    --pulse-floating-action-size: 40px;
    top: calc(var(--pulse-shell-top-inset, 64px) + 14px);
  }

  .pulse-shell-page .pulse-floating-action--info {
    width: 44px;
    height: 44px;
  }

  .pulse-shell-page .pulse-floating-popover {
    top: calc(var(--pulse-shell-top-inset, 64px) + 14px);
    right: 52px;
    width: max-content;
    max-width: calc(100vw - 66px);
    max-height: calc(100vh - var(--pulse-shell-top-inset, 64px) - 28px);
  }

  .pulse-shell-page .pulse-popover-panel {
    max-width: calc(100vw - 66px);
  }

  .pulse-shell-page .pulse-modal.pulse-popover-panel,
  .pulse-shell-page .pulse-modal--compact.pulse-popover-panel {
    max-width: calc(100vw - 66px);
  }

  .pulse-shell-page .pulse-bug-modal__footer,
  .pulse-shell-page .pulse-bug-modal__actions {
    width: 100%;
  }

  .pulse-shell-page .pulse-bug-modal__actions {
    justify-content: flex-end;
  }
}

.pulse-list-module,
.pulse-table-module,
.pulse-form-module {
  padding: 0;
}

.pulse-base-card-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.pulse-base-card-row {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.pulse-base-card-row--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.pulse-base-card-row--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-base-card-row--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pulse-debug-panel {
  margin-bottom: 16px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 8px;
  background: var(--pulse-shell-panel);
  color: #eeeeee;
}

.pulse-debug-panel__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.pulse-debug-panel__icon {
  flex: 0 0 auto;
  color: var(--pulse-shell-accent);
  font-size: 15px;
  line-height: 1.3;
}

.pulse-debug-panel__content {
  min-width: 0;
}

.pulse-debug-panel__title {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.pulse-debug-panel__body {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--pulse-shell-muted);
  font-size: 13px;
  line-height: 1.45;
}

.pulse-debug-panel__body p {
  margin: 0;
}

.pulse-debug-panel__group-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pulse-debug-panel__empty {
  color: var(--pulse-shell-subtle);
}

.pulse-debug-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d4;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.pulse-debug-pill--accent {
  border-color: rgba(231, 199, 95, 0.4);
  background: rgba(231, 199, 95, 0.1);
  color: var(--pulse-shell-accent-strong);
}

.pulse-debug-pill--danger {
  border-color: rgba(217, 120, 120, 0.45);
  background: rgba(217, 120, 120, 0.12);
  color: #f0b4b4;
}

.pulse-debug-pill--success {
  border-color: rgba(135, 211, 124, 0.45);
  background: rgba(135, 211, 124, 0.12);
  color: #ccefc7;
}

.pulse-debug-pill--muted {
  border-color: rgba(182, 182, 182, 0.35);
  color: #eeeeee;
}

.pulse-debug-pill--neutral {
  border-color: rgba(255, 255, 255, 0.14);
  color: #d4d4d4;
}

.pulse-base-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  border-top: 1px solid var(--pulse-shell-border);
  padding-top: 14px;
}

.pulse-base-card__header,
.pulse-base-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.pulse-base-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}

.pulse-base-card__subtitle {
  margin: 4px 0 0;
  color: var(--pulse-shell-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.pulse-base-card__body {
  min-width: 0;
}

.pulse-base-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 980px) {
  .pulse-base-card-row--cols-2,
  .pulse-base-card-row--cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pulse-template-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #3f3f3f;
}

.pulse-template-list-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px solid #303030;
  color: var(--pulse-shell-text);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.pulse-template-list-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.pulse-template-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pulse-shell-accent);
  font-size: 15px;
}

.pulse-template-list-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pulse-template-list-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-template-list-copy span {
  color: var(--pulse-shell-subtle);
  font-size: 11px;
  font-weight: 750;
}

.pulse-template-list-row:hover .pulse-template-list-copy strong {
  color: var(--pulse-shell-accent-strong);
}

.pulse-table-shell {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border-top: 1px solid var(--pulse-shell-border);
}

.pulse-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--pulse-shell-text);
}

.pulse-table th {
  padding: 11px 12px 11px 0;
  color: var(--pulse-shell-subtle);
  font-size: 11px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-table td {
  height: 50px;
  padding: 0 12px 0 0;
  border-top: 1px solid #303030;
  color: #eeeeee;
  font-size: 13px;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.pulse-table td > *,
.pulse-table th > * {
  min-width: 0;
}

.pulse-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.pulse-table a {
  color: inherit;
  text-decoration: none;
}

.pulse-table a:hover {
  color: var(--pulse-shell-accent-strong);
}

.pulse-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  box-sizing: border-box;
  min-width: 0;
  padding: 14px 15px;
  border: 1px dashed var(--pulse-shell-border-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--pulse-shell-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.pulse-state--compact {
  padding: 10px 12px;
  font-size: 12px;
}

.pulse-state--centered {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.pulse-state--error {
  border-style: solid;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.16);
}

.pulse-state--loading {
  border-style: solid;
}

.pulse-state--access {
  border-style: solid;
  border-color: rgba(231, 199, 95, 0.42);
  background: rgba(231, 199, 95, 0.08);
}

.pulse-state__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--pulse-shell-accent);
  font-size: 13px;
  line-height: 1;
}

.pulse-state--error .pulse-state__icon {
  color: #ff8a8a;
}

.pulse-state__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pulse-state__title {
  margin: 0;
  color: var(--pulse-shell-text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.pulse-state__copy {
  margin: 0;
  color: var(--pulse-shell-muted);
  overflow-wrap: anywhere;
}

.pulse-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pulse-react-mount {
  min-width: 0;
}

.pulse-react-mount[data-pulse-mount-state="mounted"] {
  animation: pulse-react-mount-fade-in 180ms ease-out both;
}

.pulse-react-mount[data-pulse-mount-state="failed"] {
  animation: none;
}

.pulse-react-mount-fallback {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 520px);
  min-height: 72px;
  opacity: 0;
  pointer-events: none;
  animation: pulse-react-mount-fallback-reveal 160ms ease-out 520ms both;
}

.pulse-react-mount-fallback__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pulse-react-mount-fallback__skeleton {
  display: grid;
  gap: 6px;
  width: min(100%, 320px);
  padding-top: 16px;
}

.pulse-react-mount-fallback__skeleton span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.pulse-react-mount-fallback__skeleton span:nth-child(2) {
  width: 74%;
}

.pulse-react-mount-fallback__skeleton span:nth-child(3) {
  width: 46%;
}

@keyframes pulse-react-mount-fade-in {
  from {
    opacity: 0.01;
    filter: blur(2px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes pulse-react-mount-fallback-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-react-mount[data-pulse-mount-state="mounted"] {
    animation: none;
  }

  .pulse-react-mount-fallback {
    animation: none;
  }
}

.pulse-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #474747;
  border-radius: 7px;
  color: var(--pulse-shell-muted);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.pulse-messages {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin-bottom: 18px;
}

.pulse-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--pulse-shell-border);
  border-radius: 8px;
  background: #191919;
  color: var(--pulse-shell-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.pulse-message i {
  margin-top: 2px;
  color: var(--pulse-shell-accent);
}

.pulse-message p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.pulse-message--success {
  border-color: rgba(135, 211, 124, 0.36);
}

.pulse-message--success i {
  color: #87d37c;
}

.pulse-message--error {
  border-color: rgba(248, 113, 113, 0.4);
}

.pulse-message--error i {
  color: #ff8a8a;
}

.pulse-message--warning {
  border-color: rgba(231, 199, 95, 0.42);
}

.pulse-message--warning i {
  color: var(--pulse-shell-accent-strong);
}

.pulse-icon-action {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--pulse-shell-muted);
  cursor: pointer;
  text-decoration: none;
}

.pulse-icon-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--pulse-shell-accent-strong);
}

@media (max-width: 760px) {

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-panel,
  html.pulse-mobile-sidebar-open .main-sidebar .pulse-sidebar-panel,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-panel {
    align-items: stretch;
    gap: 12px;
    padding: var(--pulse-shell-content-top-padding) 18px 18px;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-scroll-region,
  html.pulse-mobile-sidebar-open .main-sidebar .pulse-sidebar-scroll-region,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-scroll-region {
    align-items: stretch;
    gap: 12px;
    margin-right: -18px;
    padding-right: 18px;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-head,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-head {
    justify-content: space-between;
    width: auto;
    padding: 0 6px 2px;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-head > div,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-head > div {
    display: grid;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-head .sidebar-collapse-btn,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-head .sidebar-collapse-btn {
    margin-right: 0;
    margin-left: 0;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-collapsed-controls,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-collapsed-controls {
    display: none;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-section-head,
  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-page-group-head,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section-head,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-page-group-head {
    display: flex;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-filter-section,
  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-stat-section,
  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-empty,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-filter-section,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-stat-section,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-empty {
    display: block;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-controls-slot,
  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-bottom-slot,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-controls-slot,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-bottom-slot {
    display: grid;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-bottom-slot:has(.pulse-sidebar-contact-button),
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-bottom-slot:has(.pulse-sidebar-contact-button) {
    position: static;
    left: auto;
    width: auto;
    max-width: none;
    margin-right: -18px;
    margin-bottom: -18px;
    margin-left: -18px;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-contact-button,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-contact-button {
    grid-template-columns: max-content max-content;
    justify-content: center;
    justify-items: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-contact-button__copy,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-contact-button__copy {
    display: flex;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-section,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section {
    display: block;
    justify-items: stretch;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-section--favorites,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section--favorites {
    width: auto;
    margin-top: 0;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-section--favorites.is-first-sidebar-section,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-section--favorites.is-first-sidebar-section {
    margin-top: 0;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-page-group,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-page-group,
  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-list,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-list {
    width: 100%;
    justify-items: stretch;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-item,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item {
    grid-template-columns: 24px minmax(0, 1fr);
    justify-items: start;
    width: 100%;
    min-height: 38px;
    padding: 0 8px;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-item strong,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item strong {
    display: block;
  }

  html.pulse-mobile-sidebar-open .main-sidebar.sidebar-collapsed .pulse-sidebar-item-icon,
  html.pulse-mobile-sidebar-open.sidebar-start-collapsed .main-sidebar .pulse-sidebar-item-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .pulse-table-shell--responsive {
    overflow-x: visible;
  }

  .pulse-table--responsive,
  .pulse-table--responsive thead,
  .pulse-table--responsive tbody,
  .pulse-table--responsive tr,
  .pulse-table--responsive th,
  .pulse-table--responsive td {
    display: block;
  }

  .pulse-table--responsive thead {
    display: none;
  }

  .pulse-table--responsive tbody {
    display: grid;
    gap: 0;
  }

  .pulse-table--responsive tr {
    padding: 11px 0;
    border-bottom: 1px solid #303030;
  }

  .pulse-table--responsive tr:hover td {
    background: transparent;
  }

  .pulse-table--responsive td {
    display: grid;
    grid-template-columns: minmax(86px, 0.34fr) minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    height: auto;
    min-height: 28px;
    padding: 4px 0;
    border-top: 0;
    white-space: normal !important;
  }

  .pulse-table--responsive td::before {
    content: attr(data-label);
    color: var(--pulse-shell-subtle);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .pulse-table--responsive td[data-label=""] {
    grid-template-columns: 1fr;
  }

  .pulse-table--responsive td:not([data-label]) {
    grid-template-columns: 1fr;
  }

  .pulse-table--responsive td[data-label=""]::before {
    display: none;
  }

  .pulse-table--responsive td:not([data-label])::before {
    display: none;
  }
}

/* Drained from the retired global stylesheet while preserving older page contracts. Future cleanup should move surviving feature-specific selectors into owned feature CSS or replace them with Pulse contracts. */
/* =============================================== */
/* =============================================== */
/* Legacy design-system aliases retained for older page assets. */
/* Legacy design-system aliases retained for older page assets. */
/* =============================================== */
/* =============================================== */


:root {
:root {
  /* Typography */
  /* Typography */
  --font-primary: var(--pulse-font-family-sans, "Saira", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif);
  --font-primary: var(--pulse-font-family-sans, "Saira", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif);


  /* Enhanced Color Palette */
  /* Enhanced Color Palette */
  --corsair-primary: var(--pulse-color-accent, var(--pulse-shell-accent, #e7c75f));
  --corsair-primary: var(--pulse-color-accent, var(--pulse-shell-accent, #e7c75f));
  --corsair-accent: var(--pulse-color-accent-strong, var(--pulse-shell-accent-strong, #f6dc86));
  --corsair-accent: var(--pulse-color-accent-strong, var(--pulse-shell-accent-strong, #f6dc86));
  --corsair-dark: #caa94a;
  --corsair-dark: #caa94a;
  --competitor-primary: #f59e0b;   /* Amber-500 - Warmer orange */
  --competitor-primary: #f59e0b;   /* Amber-500 - Warmer orange */
  --competitor-accent: #fbbf24;    /* Amber-400 - Lighter variant */
  --competitor-accent: #fbbf24;    /* Amber-400 - Lighter variant */
  --competitor-dark: #d97706;      /* Amber-600 - Darker variant */
  --competitor-dark: #d97706;      /* Amber-600 - Darker variant */


  /* Pulse-compatible surface aliases */
  /* Pulse-compatible surface aliases */
  --surface-elevated: var(--pulse-color-surface, var(--pulse-shell-panel, #171717));
  --surface-elevated: var(--pulse-color-surface, var(--pulse-shell-panel, #171717));
  --surface-base: var(--pulse-color-bg-page, var(--pulse-shell-bg, #181818));
  --surface-base: var(--pulse-color-bg-page, var(--pulse-shell-bg, #181818));
  --surface-hover: var(--pulse-color-surface-soft, var(--pulse-shell-panel-soft, #242424));
  --surface-hover: var(--pulse-color-surface-soft, var(--pulse-shell-panel-soft, #242424));


  /* Pulse-compatible border aliases */
  /* Pulse-compatible border aliases */
  --border-subtle: var(--pulse-color-border, var(--pulse-shell-border, #343434));
  --border-subtle: var(--pulse-color-border, var(--pulse-shell-border, #343434));
  --border-emphasis: var(--pulse-color-border-strong, var(--pulse-shell-border-strong, #525252));
  --border-emphasis: var(--pulse-color-border-strong, var(--pulse-shell-border-strong, #525252));
  --border-interactive: rgba(231, 199, 95, 0.42);
  --border-interactive: rgba(231, 199, 95, 0.42);


  /* Pulse-compatible text aliases */
  /* Pulse-compatible text aliases */
  --text-primary: var(--pulse-color-text, var(--pulse-shell-text, #f2f2f2));
  --text-primary: var(--pulse-color-text, var(--pulse-shell-text, #f2f2f2));
  --text-secondary: var(--pulse-color-text-muted, var(--pulse-shell-muted, #b6b6b6));
  --text-secondary: var(--pulse-color-text-muted, var(--pulse-shell-muted, #b6b6b6));
  --text-tertiary: var(--pulse-color-text-subtle, var(--pulse-shell-subtle, #858585));
  --text-tertiary: var(--pulse-color-text-subtle, var(--pulse-shell-subtle, #858585));


  /* Spacing Scale (8px base unit) */
  /* Spacing Scale (8px base unit) */
  --space-1: 0.25rem;   /* 4px */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-6: 1.5rem;    /* 24px */
  --space-7: 1.75rem;   /* 28px */
  --space-7: 1.75rem;   /* 28px */
  --space-8: 2rem;      /* 32px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-12: 3rem;     /* 48px */


  /* Border Radius Scale */
  /* Border Radius Scale */
  --radius-sm: 6px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-2xl: 20px;
  --radius-full: 9999px;
  --radius-full: 9999px;


  /* Transition Timings */
  /* Transition Timings */
  --transition-fast: 150ms ease-out;
  --transition-fast: 150ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 300ms ease-in-out;
  --transition-slow: 300ms ease-in-out;


  /* Shadow Depths */
  /* Shadow Depths */
  --shadow-sm: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-xl: none;


  /* Z-Index Scale */
  /* Z-Index Scale */
  --z-dropdown: 50;
  --z-dropdown: 50;
  --z-sticky: 100;
  --z-sticky: 100;
  --z-modal: 1000;
  --z-modal: 1000;
  --z-tooltip: 1100;
  --z-tooltip: 1100;
}
}


/* Apply the Pulse font stack globally; shell CSS repeats this for authenticated pages. */
/* Apply the Pulse font stack globally; shell CSS repeats this for authenticated pages. */
body {
body {
  font-family: var(--font-primary);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-osx-font-smoothing: grayscale;
}
}


/* Legacy visibility hook retained for older Django scripts. */
.hidden {
  display: none !important;
}


/* Sentiment button overrides were removed; current pages use Pulse component styles. */
/* Sentiment button overrides were removed; current pages use Pulse component styles. */


table {
table {
  width: 100%;
  width: 100%;
  border-collapse: collapse;
  border-collapse: collapse;
  text-align: left;
  text-align: left;
}
}


/* Custom max-width for main content */
/* Custom max-width for main content */
.max-w-custom {
.max-w-custom {
    max-width: 1600px;
    max-width: 1600px;
}
}


/* =============================================== */
/* APP SHELL LAYOUT */
/* =============================================== */

body.app-shell {
    min-height: 100vh;
    overflow-x: hidden;
}

/* =============================================== */
/* BU FILTER BUTTONS - Business Unit Filtering */
/* =============================================== */


.bu-filter-btn {
.bu-filter-btn {
    padding: 0.5rem 1.25rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    border-radius: 0.375rem;
    border: 1px solid var(--pulse-shell-border-strong, #525252);
    border: 1px solid var(--pulse-shell-border-strong, #525252);
    background-color: var(--pulse-shell-panel, #171717);
    background-color: var(--pulse-shell-panel, #171717);
    color: var(--pulse-shell-muted, #b6b6b6);
    color: var(--pulse-shell-muted, #b6b6b6);
    font-size: 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-weight: 500;
    transition:
    transition:
        background-color 0.2s ease-in-out,
        background-color 0.2s ease-in-out,
        border-color 0.2s ease-in-out,
        border-color 0.2s ease-in-out,
        color 0.2s ease-in-out;
        color 0.2s ease-in-out;
    min-width: 100px; /* Equal length buttons */
    min-width: 100px; /* Equal length buttons */
    text-align: center;
    text-align: center;
    cursor: pointer;
    cursor: pointer;
    white-space: nowrap;
    white-space: nowrap;
}
}


.bu-filter-btn:hover {
.bu-filter-btn:hover {
    background-color: var(--pulse-shell-panel-soft, #242424);
    background-color: var(--pulse-shell-panel-soft, #242424);
    border-color: rgba(231, 199, 95, 0.46);
    border-color: rgba(231, 199, 95, 0.46);
    color: var(--pulse-shell-accent-strong, #f6dc86);
    color: var(--pulse-shell-accent-strong, #f6dc86);
}
}


.bu-filter-btn.active {
.bu-filter-btn.active {
    background-color: rgba(231, 199, 95, 0.13);
    background-color: rgba(231, 199, 95, 0.13);
    border-color: rgba(231, 199, 95, 0.52);
    border-color: rgba(231, 199, 95, 0.52);
    color: var(--pulse-shell-accent-strong, #f6dc86);
    color: var(--pulse-shell-accent-strong, #f6dc86);
    box-shadow: none;
    box-shadow: none;
}
}


.bu-filter-btn.active:hover {
.bu-filter-btn.active:hover {
    background-color: rgba(231, 199, 95, 0.18);
    background-color: rgba(231, 199, 95, 0.18);
    border-color: var(--pulse-shell-accent, #e7c75f);
    border-color: var(--pulse-shell-accent, #e7c75f);
}
}


/* Responsive BU Filter Buttons */
/* Responsive BU Filter Buttons */
@media (max-width: 768px) {
@media (max-width: 768px) {
    .bu-filter-btn {
    .bu-filter-btn {
        min-width: 80px;
        min-width: 80px;
        padding: 0.375rem 0.875rem;
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
        font-size: 0.8125rem;
    }
    }
}
}


/* ===============================
/* ===============================
   Header & Title (moved from inline to prevent FOUC)
   Header & Title (moved from inline to prevent FOUC)
   =============================== */
   =============================== */
.select-view-container {
.select-view-container {
  margin-top: 12px;
  margin-top: 12px;
  margin-bottom: 30px; /* spacing between Select View and logo/title */
  margin-bottom: 30px; /* spacing between Select View and logo/title */
}
}


.dashboard-header {
.dashboard-header {
  display: flex;
  display: flex;
  align-items: center;
  align-items: center;
  margin-bottom: 1.5rem; /* 24px spacing below header */
  margin-bottom: 1.5rem; /* 24px spacing below header */
}
}


.dashboard-logo {
.dashboard-logo {
  height: 60px;
  height: 60px;
  width: auto;
  width: auto;
  filter: brightness(1.1);
  filter: brightness(1.1);
  margin-left: 8px; /* 8px left margin for all logos */
  margin-left: 8px; /* 8px left margin for all logos */
}
}


/* Fanatec logo - matches standard logo size */
/* Fanatec logo - matches standard logo size */
.dashboard-logo-fanatec {
.dashboard-logo-fanatec {
  height: 60px !important; /* Same as standard logo size */
  height: 60px !important; /* Same as standard logo size */
}
}


.dashboard-title {
.dashboard-title {
  font-size: 3rem;
  font-size: 3rem;
  font-weight: 800;
  font-weight: 800;
  color: #ffffff;
  color: #ffffff;
  letter-spacing: 0.05em;
  letter-spacing: 0.05em;
  margin: 0;
  margin: 0;
  line-height: 1;
  line-height: 1;
}
}


@media (max-width: 768px) {
@media (max-width: 768px) {
  .dashboard-logo { height: 40px; }
  .dashboard-logo { height: 40px; }
  .dashboard-logo-fanatec { height: 40px !important; }
  .dashboard-logo-fanatec { height: 40px !important; }
  .dashboard-title { font-size: 2rem; }
  .dashboard-title { font-size: 2rem; }
}
}


@media (max-width: 480px) {
@media (max-width: 480px) {
  .dashboard-logo { height: 32px; }
  .dashboard-logo { height: 32px; }
  .dashboard-logo-fanatec { height: 32px !important; }
  .dashboard-logo-fanatec { height: 32px !important; }
  .dashboard-title { font-size: 1.5rem; }
  .dashboard-title { font-size: 1.5rem; }
}
}


/* ==================================
/* ==================================
   BU Dashboard Layout Styles
   BU Dashboard Layout Styles
   ================================== */
   ================================== */


.bu-dashboard-container {
.bu-dashboard-container {
    display: flex;
    display: flex;
    flex-direction: column;
    flex-direction: column;
}
}


.dashboard-section {
.dashboard-section {
    width: 100%;
    width: 100%;
    max-width: 100%; /* Prevent overflow */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box; /* Include padding in width calculation */
    box-sizing: border-box; /* Include padding in width calculation */
}
}


/* Consistent vertical spacing between sections (robust to intervening non-section siblings like STYLE/SCRIPT) */
/* Consistent vertical spacing between sections (robust to intervening non-section siblings like STYLE/SCRIPT) */
/* Fallback: apply spacing to all dashboard sections in container subtree, then reset the very first direct section */
/* Fallback: apply spacing to all dashboard sections in container subtree, then reset the very first direct section */
.bu-dashboard-container .dashboard-section {
.bu-dashboard-container .dashboard-section {
    margin-top: 1.5rem !important;
    margin-top: 1.5rem !important;
}
}
.bu-dashboard-container > .dashboard-section:first-of-type {
.bu-dashboard-container > .dashboard-section:first-of-type {
    margin-top: 0 !important;
    margin-top: 0 !important;
}
}


.bu-dashboard-container > .dashboard-section ~ .dashboard-section {
.bu-dashboard-container > .dashboard-section ~ .dashboard-section {
    margin-top: 1.5rem !important;
    margin-top: 1.5rem !important;
}
}


/* Defensive rule: still ensure any non-first direct section gets spacing */
/* Defensive rule: still ensure any non-first direct section gets spacing */
.bu-dashboard-container > .dashboard-section:not(:first-child) {
.bu-dashboard-container > .dashboard-section:not(:first-child) {
    margin-top: 1.5rem !important;
    margin-top: 1.5rem !important;
}
}


@media (max-width: 768px) {
@media (max-width: 768px) {
  .bu-dashboard-container.bu-corsair > .dashboard-section:not(:first-child)::before {
  .bu-dashboard-container.bu-corsair > .dashboard-section:not(:first-child)::before {
      height: 1rem;
      height: 1rem;
  }
  }
}
}






/* Two-Column Layout for Hot Products + Most Discussed Threads */
/* Two-Column Layout for Hot Products + Most Discussed Threads */
.discussions-row {
.discussions-row {
    display: flex;
    display: flex;
    gap: 1.5rem;
    gap: 1.5rem;
    align-items: stretch;
    align-items: stretch;
}
}


/* Left Column - Hot Products + Search Reviews (60%) */
/* Left Column - Hot Products + Search Reviews (60%) */
.discussions-left {
.discussions-left {
    flex: 0 0 60%;
    flex: 0 0 60%;
    min-width: 0;
    min-width: 0;
    display: flex;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    gap: 1rem;
}
}


/* Hot Products takes majority of vertical space */
/* Hot Products takes majority of vertical space */
.discussions-left .hot-products-card {
.discussions-left .hot-products-card {
    flex: 1 1 auto;
    flex: 1 1 auto;
}
}


/* Search Reviews is compact at bottom */
/* Search Reviews is compact at bottom */
.discussions-left .search-reviews-card {
.discussions-left .search-reviews-card {
    flex: 0 0 auto;
    flex: 0 0 auto;
    margin-top: 1rem; /* Add explicit top margin for spacing */
    margin-top: 1rem; /* Add explicit top margin for spacing */
}
}


/* Most Discussed Threads (Right - 40%) */
/* Most Discussed Threads (Right - 40%) */
.discussions-right {
.discussions-right {
    flex: 0 0 calc(40% - 1.5rem);
    flex: 0 0 calc(40% - 1.5rem);
    min-width: 0;
    min-width: 0;
}
}


/* Responsive Adjustments for BU Dashboard */
/* Responsive Adjustments for BU Dashboard */
@media (max-width: 768px) {
@media (max-width: 768px) {
    /* Subtree spacing fallback on mobile */
    /* Subtree spacing fallback on mobile */
    .bu-dashboard-container .dashboard-section {
    .bu-dashboard-container .dashboard-section {
        margin-top: 1rem !important;
        margin-top: 1rem !important;
    }
    }
    .bu-dashboard-container > .dashboard-section:first-of-type {
    .bu-dashboard-container > .dashboard-section:first-of-type {
        margin-top: 0 !important;
        margin-top: 0 !important;
    }
    }


    /* Adjust inter-section spacing on mobile (robust to intervening siblings) */
    /* Adjust inter-section spacing on mobile (robust to intervening siblings) */
    .bu-dashboard-container > .dashboard-section ~ .dashboard-section {
    .bu-dashboard-container > .dashboard-section ~ .dashboard-section {
        margin-top: 1rem !important;
        margin-top: 1rem !important;
    }
    }


    /* Defensive rule: apply spacing to any non-first section on mobile */
    /* Defensive rule: apply spacing to any non-first section on mobile */
    .bu-dashboard-container > .dashboard-section:not(:first-child) {
    .bu-dashboard-container > .dashboard-section:not(:first-child) {
        margin-top: 1rem !important;
        margin-top: 1rem !important;
    }
    }


    /* Stack Hot Products + Most Discussed Threads on mobile */
    /* Stack Hot Products + Most Discussed Threads on mobile */
    .discussions-row {
    .discussions-row {
        flex-direction: column;
        flex-direction: column;
        gap: 1rem;
        gap: 1rem;
    }
    }


    /* Stack left column items on mobile */
    /* Stack left column items on mobile */
    .discussions-left {
    .discussions-left {
        gap: 1rem;
        gap: 1rem;
    }
    }


    .discussions-left .hot-products-card,
    .discussions-left .hot-products-card,
    .discussions-left .search-reviews-card {
    .discussions-left .search-reviews-card {
        flex: 1 1 auto;
        flex: 1 1 auto;
    }
    }


    .discussions-left,
    .discussions-left,
    .discussions-right {
    .discussions-right {
        flex: 1;
        flex: 1;
    }
    }


}
}



/* Brand Badge */
.brand-badge {
.brand-badge {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    padding: 0.3rem 0.65rem;
    padding: 0.3rem 0.65rem;
    background-color: rgba(55, 65, 81, 0.24);
    background-color: rgba(55, 65, 81, 0.24);
    border-radius: 9999px;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-size: 0.74rem;
    font-weight: 600;
    font-weight: 600;
    text-transform: uppercase;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    letter-spacing: 0.05em;
    color: rgb(241, 245, 249);
    color: rgb(241, 245, 249);
    flex-shrink: 0;
    flex-shrink: 0;
}
}


/* Rating Display (Large, Prominent) */
/* Rating Display (Large, Prominent) */
.rating-display {
.rating-display {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    gap: 0.5rem;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-shrink: 0;
}
}


.rating-display .stars {
.rating-display .stars {
    display: flex;
    display: flex;
    gap: 0.25rem;
    gap: 0.25rem;
    font-size: 14px;
    font-size: 14px;
    color: #fbbf24; /* yellow-400 */
    color: #fbbf24; /* yellow-400 */
}
}


.rating-display .rating-number {
.rating-display .rating-number {
    font-size: 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-weight: 700;
    color: #fbbf24; /* yellow-400 */
    color: #fbbf24; /* yellow-400 */
}
}




.review-product-link {
.review-product-link {
    color: rgb(156, 163, 175);
    color: rgb(156, 163, 175);
    text-decoration: none;
    text-decoration: none;
    min-width: 0;
    min-width: 0;
}
}


.review-product-link:hover {
.review-product-link:hover {
    color: #fdba74; /* orange-300 */
    color: #fdba74; /* orange-300 */
    text-decoration: none;
    text-decoration: none;
}
}


.review-product-name {
.review-product-name {
    font-weight: 500;
    font-weight: 500;
    font-size: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.35;
    line-height: 1.35;
    overflow: hidden;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    white-space: nowrap;
}
}


.review-product-sep {
.review-product-sep {
    color: rgb(75, 85, 99); /* gray-600 */
    color: rgb(75, 85, 99); /* gray-600 */
}
}


.review-product-meta {
.review-product-meta {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.5rem;
    gap: 0.5rem;
}
}


.review-pill {
.review-pill {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-weight: 600;
    border: 1px solid var(--pulse-shell-border);
    border: 1px solid var(--pulse-shell-border);
    background: var(--pulse-shell-panel);
    background: var(--pulse-shell-panel);
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
}
}


.review-pill--asin {
.review-pill--asin {
    color: var(--pulse-shell-muted);
    color: var(--pulse-shell-muted);
}
}


.review-variant-pill {
.review-variant-pill {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.12);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: rgb(191, 219, 254); /* blue-200 */
    color: rgb(191, 219, 254); /* blue-200 */
    font-size: 0.75rem;
    font-size: 0.75rem;
}
}


.review-variant-asin {
.review-variant-asin {
    color: rgba(191, 219, 254, 0.8);
    color: rgba(191, 219, 254, 0.8);
}
}


.review-product-title-link {
.review-product-title-link {
    text-decoration: none;
    text-decoration: none;
    color: inherit;
    color: inherit;
    display: inline-block;
    display: inline-block;
    max-width: 100%;
    max-width: 100%;
}
}


.review-product-title-link:hover .review-product-title {
.review-product-title-link:hover .review-product-title {
    color: #fdba74; /* orange-300 */
    color: #fdba74; /* orange-300 */
}
}


.review-asin {
.review-asin {
    margin-top: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-size: 0.75rem;
    color: rgb(156, 163, 175); /* gray-400 */
    color: rgb(156, 163, 175); /* gray-400 */
}
}


.review-metadata.review-metadata-top {
.review-metadata.review-metadata-top {
    margin-top: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem; /* 14px */
    font-size: 0.875rem; /* 14px */
}
}


/* Content Zone */
/* Content Zone */
.review-card-body {
.review-card-body {
    margin-bottom: 1rem; /* 16px */
    margin-bottom: 1rem; /* 16px */
}
}


/* Product Title (24px bold) */
/* Product Title (24px bold) */
.review-product-title {
.review-product-title {
    font-size: 1.25rem; /* 20px */
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    font-weight: 700;
    line-height: 1.2;
    line-height: 1.2;
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
    margin-bottom: 0.25rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: ellipsis;
}
}


/* Review Title (18px semi-bold) */
/* Review Title (18px semi-bold) */
.review-title {
.review-title {
    font-size: 1.08rem;
    font-size: 1.08rem;
    font-weight: 600;
    font-weight: 600;
    line-height: 1.4;
    line-height: 1.4;
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
    margin: 0;
    margin: 0;
    display: -webkit-box;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: ellipsis;
}
}


/* Review Content (16px with 1.6 line-height) */
/* Review Content (16px with 1.6 line-height) */
.review-content {
.review-content {
    font-size: 0.96rem;
    font-size: 0.96rem;
    font-weight: 400;
    font-weight: 400;
    line-height: 1.62;
    line-height: 1.62;
    color: rgb(226, 232, 240); /* gray-200 */
    color: rgb(226, 232, 240); /* gray-200 */
    margin-bottom: 0.4rem;
    margin-bottom: 0.4rem;
}
}


/* Clamp with "Read more" */
/* Clamp with "Read more" */
.review-content-wrap {
.review-content-wrap {
    position: relative;
    position: relative;
}
}


.review-content--clamp {
.review-content--clamp {
    display: -webkit-box;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: hidden;
}
}


.review-content-wrap.expanded .review-content--clamp {
.review-content-wrap.expanded .review-content--clamp {
    display: block;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-line-clamp: unset;
    overflow: visible;
    overflow: visible;
}
}


.review-readmore {
.review-readmore {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    margin-top: -0.25rem;
    margin-top: -0.25rem;
    margin-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    color: #fdba74; /* orange-300 */
    color: #fdba74; /* orange-300 */
    font-weight: 600;
    font-weight: 600;
    font-size: 0.86rem;
    font-size: 0.86rem;
    background: transparent;
    background: transparent;
    border: none;
    border: none;
    padding: 0;
    padding: 0;
    cursor: pointer;
    cursor: pointer;
}
}


.review-readmore:hover {
.review-readmore:hover {
    color: #fb923c; /* orange-400 */
    color: #fb923c; /* orange-400 */
}
}


/* Review Content Truncation (3-4 lines visible) */
/* Review Content Truncation (3-4 lines visible) */
.review-content-truncated {
.review-content-truncated {
    display: -webkit-box;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: hidden;
}
}




/* Metadata Row (14px subdued) */
/* Metadata Row (14px subdued) */
.review-metadata {
.review-metadata {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    gap: 0.75rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: 0.875rem; /* 14px */
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    font-weight: 500;
    line-height: 1.4;
    line-height: 1.4;
    color: rgb(156, 163, 175); /* gray-400 */
    color: rgb(156, 163, 175); /* gray-400 */
    margin-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
}


.review-metadata .metadata-item {
.review-metadata .metadata-item {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
}
}


.review-metadata .separator {
.review-metadata .separator {
    color: rgb(75, 85, 99); /* gray-600 */
    color: rgb(75, 85, 99); /* gray-600 */
}
}


/* Verified Purchase Badge */
/* Verified Purchase Badge */
.verified-badge {
.verified-badge {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.25rem;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    padding: 0.25rem 0.625rem;
    background-color: rgba(251, 146, 60, 0.12); /* orange-400 */
    background-color: rgba(251, 146, 60, 0.12); /* orange-400 */
    border: 1px solid rgba(251, 146, 60, 0.3);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #fdba74; /* orange-300 */
    color: #fdba74; /* orange-300 */
    border-radius: 9999px;
    border-radius: 9999px;
    font-size: 0.75rem; /* 12px */
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    font-weight: 600;
}
}


/* Sentiment Badge */
/* Sentiment Badge */
.sentiment-badge {
.sentiment-badge {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.25rem;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem; /* 6px 12px */
    padding: 0.375rem 0.75rem; /* 6px 12px */
    border-radius: 9999px;
    border-radius: 9999px;
    font-size: 0.75rem; /* 12px */
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    font-weight: 600;
}
}


.sentiment-badge.positive {
.sentiment-badge.positive {
    background-color: #315a2e;
    background-color: #315a2e;
    color: #ccefc7;
    color: #ccefc7;
}
}


.sentiment-badge.negative {
.sentiment-badge.negative {
    background-color: #b91c1c; /* red-700 */
    background-color: #b91c1c; /* red-700 */
    color: #fee2e2; /* red-100 */
    color: #fee2e2; /* red-100 */
}
}


.sentiment-badge.neutral {
.sentiment-badge.neutral {
    background-color: #374151; /* gray-700 */
    background-color: #374151; /* gray-700 */
    color: var(--pulse-shell-text, #eeeeee);
    color: var(--pulse-shell-text, #eeeeee);
}
}


.sentiment-badge.mixed {
.sentiment-badge.mixed {
    background-color: #a16207; /* yellow-700 */
    background-color: #a16207; /* yellow-700 */
    color: #fef3c7; /* yellow-100 */
    color: #fef3c7; /* yellow-100 */
}
}


/* Marketplace Badge (Color-coded) */
/* Marketplace Badge (Color-coded) */
.marketplace-badge {
.marketplace-badge {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.25rem;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border-radius: 6px;
    font-size: 0.75rem; /* 12px */
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    font-weight: 600;
}
}


.marketplace-badge.default {
.marketplace-badge.default {
    background-color: var(--pulse-shell-panel-soft);
    background-color: var(--pulse-shell-panel-soft);
    border: 1px solid var(--pulse-shell-border);
    border: 1px solid var(--pulse-shell-border);
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
}
}


.marketplace-badge.usa {
.marketplace-badge.usa {
    background-color: #1e40af; /* blue-800 */
    background-color: #1e40af; /* blue-800 */
    color: #dbeafe; /* blue-100 */
    color: #dbeafe; /* blue-100 */
}
}


.marketplace-badge.uk {
.marketplace-badge.uk {
    background-color: #991b1b; /* red-800 */
    background-color: #991b1b; /* red-800 */
    color: #fee2e2; /* red-100 */
    color: #fee2e2; /* red-100 */
}
}


.marketplace-badge.germany {
.marketplace-badge.germany {
    background-color: var(--pulse-shell-panel-soft);
    background-color: var(--pulse-shell-panel-soft);
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
}
}


.marketplace-badge.canada {
.marketplace-badge.canada {
    background-color: #991b1b; /* red-800 */
    background-color: #991b1b; /* red-800 */
    color: #fee2e2; /* red-100 */
    color: #fee2e2; /* red-100 */
}
}


.marketplace-badge.mexico {
.marketplace-badge.mexico {
    background-color: #166534; /* green-800 */
    background-color: #166534; /* green-800 */
    color: #d1fae5; /* green-100 */
    color: #d1fae5; /* green-100 */
}
}


/* Review Actions Container */
/* Review Actions Container */
.review-actions {
.review-actions {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    gap: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-wrap: wrap;
}
}


/* Action links/buttons */
/* Action links/buttons */
.review-action-link {
.review-action-link {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
    color: rgb(209, 213, 219);
    color: rgb(209, 213, 219);
    font-weight: 600;
    font-weight: 600;
    font-size: 0.82rem;
    font-size: 0.82rem;
    text-decoration: none;
    text-decoration: none;
    transition: color 200ms ease-in-out;
    transition: color 200ms ease-in-out;
}
}


.review-action-link:hover {
.review-action-link:hover {
    color: #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-decoration: none;
}
}


.review-action-link i {
.review-action-link i {
    font-size: 0.75rem;
    font-size: 0.75rem;
}
}


.review-action-btn {
.review-action-btn {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
    padding: 0.26rem 0.5rem;
    padding: 0.26rem 0.5rem;
    border-radius: 8px;
    border-radius: 8px;
    background: var(--pulse-shell-panel);
    background: var(--pulse-shell-panel);
    border: 1px solid var(--pulse-shell-border);
    border: 1px solid var(--pulse-shell-border);
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
    font-weight: 600;
    font-weight: 600;
    font-size: 0.78rem;
    font-size: 0.78rem;
    cursor: pointer;
    cursor: pointer;
    transition:
    transition:
        background-color 150ms ease-in-out,
        background-color 150ms ease-in-out,
        border-color 150ms ease-in-out,
        border-color 150ms ease-in-out,
        transform 150ms ease-in-out;
        transform 150ms ease-in-out;
}
}


.review-action-btn:hover {
.review-action-btn:hover {
    border-color: rgba(251, 146, 60, 0.35);
    border-color: rgba(251, 146, 60, 0.35);
    background: rgba(55, 65, 81, 0.7);
    background: rgba(55, 65, 81, 0.7);
}
}


.review-action-btn:active {
.review-action-btn:active {
    transform: translateY(1px);
    transform: translateY(1px);
}
}


.review-footnote {
.review-footnote {
    font-size: 0.75rem;
    font-size: 0.75rem;
    color: rgb(156, 163, 175); /* gray-400 */
    color: rgb(156, 163, 175); /* gray-400 */
}
}


/* Product Link */
/* Product Link */
.product-link {
.product-link {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
    color: #fb923c; /* orange-400 */
    color: #fb923c; /* orange-400 */
    font-weight: 500;
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    font-size: 0.875rem; /* 14px */
    text-decoration: none;
    text-decoration: none;
    transition: color 200ms ease-in-out;
    transition: color 200ms ease-in-out;
}
}


.product-link:hover {
.product-link:hover {
    color: #fdba74; /* orange-300 */
    color: #fdba74; /* orange-300 */
    text-decoration: none;
    text-decoration: none;
}
}


.product-link i {
.product-link i {
    font-size: 0.75rem;
    font-size: 0.75rem;
}
}


/* Translate Button */
/* Translate Button */
.translate-button {
.translate-button {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: 0.375rem;
    gap: 0.375rem;
    padding: 0.3rem 0.62rem;
    padding: 0.3rem 0.62rem;
    background-color: rgba(59, 130, 246, 0.12);
    background-color: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
    color: #dbeafe;
    border: 1px solid rgba(59, 130, 246, 0.24);
    border: 1px solid rgba(59, 130, 246, 0.24);
    border-radius: 6px;
    border-radius: 6px;
    font-weight: 500;
    font-weight: 500;
    font-size: 0.76rem;
    font-size: 0.76rem;
    cursor: pointer;
    cursor: pointer;
    transition:
    transition:
        background-color 200ms ease-in-out,
        background-color 200ms ease-in-out,
        border-color 200ms ease-in-out,
        border-color 200ms ease-in-out,
        color 200ms ease-in-out;
        color 200ms ease-in-out;
}
}

.translate-button:hover {
.translate-button:hover {
    background-color: rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd; /* blue-300 */
    color: #93c5fd; /* blue-300 */
    border-color: #60a5fa; /* blue-400 */
    border-color: #60a5fa; /* blue-400 */
}
}


.translate-button:disabled {
.translate-button:disabled {
    opacity: 0.6;
    opacity: 0.6;
    cursor: not-allowed;
    cursor: not-allowed;
}
}


.translate-button i {
.translate-button i {
    font-size: 0.75rem;
    font-size: 0.75rem;
}
}


/* Review Images */
/* Review Images */
.review-images {
.review-images {
    display: flex;
    display: flex;
    gap: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    margin-bottom: 1rem;
}
}


.review-image-thumbnail {
.review-image-thumbnail {
    width: 80px;
    width: 80px;
    height: 80px;
    height: 80px;
    border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    overflow: hidden;
    border: 2px solid rgb(55, 65, 81); /* gray-700 */
    border: 2px solid rgb(55, 65, 81); /* gray-700 */
    transition:
    transition:
        border-color 150ms ease-out,
        border-color 150ms ease-out,
        transform 150ms ease-out;
        transform 150ms ease-out;
    cursor: pointer;
    cursor: pointer;
}
}


.review-image-thumbnail:hover {
.review-image-thumbnail:hover {
    border-color: #fb923c; /* orange-400 */
    border-color: #fb923c; /* orange-400 */
    transform: scale(1.05);
    transform: scale(1.05);
}
}


.review-image-thumbnail img {
.review-image-thumbnail img {
    width: 100%;
    width: 100%;
    height: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: cover;
}
}

/* =============================================== */
/* =============================================== */
/* SIDEBAR NAVIGATION */
/* SIDEBAR NAVIGATION */
/* =============================================== */
/* =============================================== */


.main-sidebar {
.main-sidebar {
    width: 296px;
    width: 296px;
    overflow: hidden;
    overflow: hidden;
    position: relative;
    position: relative;
    background: rgba(39, 53, 76, 0.96);
    background: rgba(39, 53, 76, 0.96);
    border-right: 1px solid var(--pulse-shell-border);
    border-right: 1px solid var(--pulse-shell-border);
    box-shadow:
    box-shadow:
        inset -1px 0 0 rgba(255, 255, 255, 0.03),
        inset -1px 0 0 rgba(255, 255, 255, 0.03),
        8px 0 22px rgba(15, 23, 42, 0.05);
        8px 0 22px rgba(15, 23, 42, 0.05);
    transition: width 0.25s cubic-bezier(0.2, 0, 0, 1);
    transition: width 0.25s cubic-bezier(0.2, 0, 0, 1);
}
}


.sidebar-logo-section {
.sidebar-logo-section {
    background: rgba(255, 255, 255, 0.028);
    background: rgba(255, 255, 255, 0.028);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
}


.sidebar-logo-section > .flex {
.sidebar-logo-section > .flex {
    gap: 0.75rem;
    gap: 0.75rem;
}
}


.sidebar-logo-section a {
.sidebar-logo-section a {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    min-width: 0;
    min-width: 0;
}
}


.sidebar-logo-full {
.sidebar-logo-full {
    filter: none;
    filter: none;
}
}


.sidebar-nav-content {
.sidebar-nav-content {
    padding: 0.875rem 0.875rem 1.25rem;
    padding: 0.875rem 0.875rem 1.25rem;
    overflow-y: auto;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-gutter: stable;
}
}


.sidebar-search {
.sidebar-search {
    padding-bottom: 0.625rem;
    padding-bottom: 0.625rem;
}
}


.sidebar-search-form {
.sidebar-search-form {
    margin: 0;
    margin: 0;
}
}


.sidebar-search-shell {
.sidebar-search-shell {
    position: relative;
    position: relative;
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    min-height: 42px;
    min-height: 42px;
    border-radius: 8px;
    border-radius: 8px;
    background: var(--pulse-shell-panel);
    background: var(--pulse-shell-panel);
    box-shadow: 0 0 0 1px var(--pulse-shell-border);
    box-shadow: 0 0 0 1px var(--pulse-shell-border);
}
}


.sidebar-search-icon {
.sidebar-search-icon {
    position: absolute;
    position: absolute;
    left: 0.875rem;
    left: 0.875rem;
    color: var(--pulse-shell-subtle);
    color: var(--pulse-shell-subtle);
    font-size: 0.8125rem;
    font-size: 0.8125rem;
    pointer-events: none;
    pointer-events: none;
}
}


.sidebar-search-input {
.sidebar-search-input {
    width: 100%;
    width: 100%;
    border: 0;
    border: 0;
    background: transparent;
    background: transparent;
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
    padding: 0.75rem 0.875rem 0.75rem 2.4rem;
    padding: 0.75rem 0.875rem 0.75rem 2.4rem;
    font-size: 0.875rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    line-height: 1.25rem;
}
}


.sidebar-search-input::placeholder {
.sidebar-search-input::placeholder {
    color: var(--pulse-shell-subtle);
    color: var(--pulse-shell-subtle);
}
}


.sidebar-search-input:focus {
.sidebar-search-input:focus {
    outline: none;
    outline: none;
}
}


.sidebar-nav-list {
.sidebar-nav-list {
    display: flex;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    gap: 0.375rem;
    gap: 0.375rem;
}
}


.sidebar-section {
.sidebar-section {
    margin: 0;
    margin: 0;
}
}


.sidebar-link,
.sidebar-link,
.sidebar-section-header {
.sidebar-section-header {
    position: relative;
    position: relative;
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    width: 100%;
    width: 100%;
    min-height: 44px;
    min-height: 44px;
    gap: 0.75rem;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 0;
    border: 0;
    border-radius: 8px;
    border-radius: 8px;
    background: transparent;
    background: transparent;
    color: var(--pulse-shell-text, #eeeeee);
    color: var(--pulse-shell-text, #eeeeee);
    text-align: left;
    text-align: left;
    text-decoration: none;
    text-decoration: none;
    box-shadow: 0 0 0 1px transparent;
    box-shadow: 0 0 0 1px transparent;
    transition-property: background-color, color, box-shadow;
    transition-property: background-color, color, box-shadow;
    transition-duration: 180ms;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
}


.sidebar-link:hover,
.sidebar-link:hover,
.sidebar-section-header:hover,
.sidebar-section-header:hover,
.sidebar-section.has-active-link > .sidebar-section-header {
.sidebar-section.has-active-link > .sidebar-section-header {
    background: var(--pulse-shell-panel-soft);
    background: var(--pulse-shell-panel-soft);
    box-shadow:
    box-shadow:
        0 0 0 1px var(--pulse-shell-border),
        0 0 0 1px var(--pulse-shell-border),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: #ffffff;
    color: #ffffff;
}
}


.sidebar-link:hover,
.sidebar-link:hover,
.sidebar-section-header:hover {
.sidebar-section-header:hover {
    transform: none;
    transform: none;
}
}


.sidebar-link-root {
.sidebar-link-root {
    font-weight: 600;
    font-weight: 600;
}
}


.sidebar-link-subsection {
.sidebar-link-subsection {
    min-height: 40px;
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    padding: 0.55rem 0.75rem;
    color: var(--pulse-shell-muted);
    color: var(--pulse-shell-muted);
    font-size: 0.95rem;
    font-size: 0.95rem;
}
}


.sidebar-link-subsection:hover {
.sidebar-link-subsection:hover {
    transform: none;
    transform: none;
}
}


.sidebar-section-main {
.sidebar-section-main {
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    gap: 0.75rem;
    gap: 0.75rem;
    min-width: 0;
    min-width: 0;
    flex: 1;
    flex: 1;
}
}


.sidebar-icon-badge {
.sidebar-icon-badge {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    justify-content: center;
    width: 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    flex-shrink: 0;
    border-radius: 8px;
    border-radius: 8px;
    background: var(--pulse-shell-panel-soft);
    background: var(--pulse-shell-panel-soft);
    box-shadow: inset 0 0 0 1px var(--pulse-shell-border);
    box-shadow: inset 0 0 0 1px var(--pulse-shell-border);
}
}


.sidebar-link-icon {
.sidebar-link-icon {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    justify-content: center;
    width: 1rem;
    width: 1rem;
    flex-shrink: 0;
    flex-shrink: 0;
    color: var(--pulse-shell-subtle);
    color: var(--pulse-shell-subtle);
}
}


.sidebar-label {
.sidebar-label {
    min-width: 0;
    min-width: 0;
    line-height: 1.35;
    line-height: 1.35;
    text-wrap: pretty;
    text-wrap: pretty;
}
}


.sidebar-section-header {
.sidebar-section-header {
    justify-content: space-between;
    justify-content: space-between;
    cursor: pointer;
    cursor: pointer;
    font: inherit;
    font: inherit;
    font-weight: 600;
    font-weight: 600;
}
}


.sidebar-section-chevron {
.sidebar-section-chevron {
    display: inline-flex;
    display: inline-flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    justify-content: center;
    width: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    flex-shrink: 0;
    border-radius: 999px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
    color: var(--pulse-shell-subtle);
    color: var(--pulse-shell-subtle);
    transition-property: transform, background-color, color;
    transition-property: transform, background-color, color;
    transition-duration: 180ms;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
}


.sidebar-section:not(.sidebar-section-collapsed) .sidebar-section-chevron {
.sidebar-section:not(.sidebar-section-collapsed) .sidebar-section-chevron {
    transform: rotate(90deg);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.055);
    background: rgba(255, 255, 255, 0.055);
    color: var(--pulse-shell-text);
    color: var(--pulse-shell-text);
}
}


.sidebar-section-content {
.sidebar-section-content {
    position: relative;
    position: relative;
    overflow: hidden;
    overflow: hidden;
    max-height: 1000px;
    max-height: 1000px;
    margin-top: 0.2rem;
    margin-top: 0.2rem;
    margin-left: 0.875rem;
    margin-left: 0.875rem;
    padding-left: 0.875rem;
    padding-left: 0.875rem;
    opacity: 1;
    opacity: 1;
    transform: translateY(0);
    transform: translateY(0);
    transition-property: max-height, opacity, transform, margin-top;
    transition-property: max-height, opacity, transform, margin-top;
    transition-duration: 260ms, 180ms, 260ms, 260ms;
    transition-duration: 260ms, 180ms, 260ms, 260ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
}


.sidebar-section-content::before {
.sidebar-section-content::before {
    content: "";
    content: "";
    position: absolute;
    position: absolute;
    top: 0.35rem;
    top: 0.35rem;
    bottom: 0.45rem;
    bottom: 0.45rem;
    left: 0.25rem;
    left: 0.25rem;
    width: 1px;
    width: 1px;
    background: var(--pulse-shell-border-strong);
    background: var(--pulse-shell-border-strong);
}
}


.sidebar-section-collapsed .sidebar-section-content {
.sidebar-section-collapsed .sidebar-section-content {
    max-height: 0;
    max-height: 0;
    margin-top: 0;
    margin-top: 0;
    opacity: 0;
    opacity: 0;
    transform: translateY(-8px);
    transform: translateY(-8px);
    pointer-events: none;
    pointer-events: none;
}
}


.sidebar-subsection {
.sidebar-subsection {
    padding-left: 0;
    padding-left: 0;
}
}


.sidebar-nested-section {
.sidebar-nested-section {
    margin-top: 0;
    margin-top: 0;
}
}


.sidebar-nested-header {
.sidebar-nested-header {
    font-weight: 400;
    font-weight: 400;
}
}


.sidebar-nested-chevron {
.sidebar-nested-chevron {
    width: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    height: 1.25rem;
    background: transparent;
    background: transparent;
    box-shadow: none;
    box-shadow: none;
}
}


.sidebar-nested-content {
.sidebar-nested-content {
    margin-left: 1.25rem;
    margin-left: 1.25rem;
    padding-left: 0.75rem;
    padding-left: 0.75rem;
}
}


.sidebar-nested-content::before {
.sidebar-nested-content::before {
    left: 0.15rem;
    left: 0.15rem;
    background: var(--pulse-shell-border);
    background: var(--pulse-shell-border);
}
}


.sidebar-link-nested {
.sidebar-link-nested {
    min-height: 34px;
    min-height: 34px;
    padding: 0.42rem 0.6rem;
    padding: 0.42rem 0.6rem;
    font-size: 0.86rem;
    font-size: 0.86rem;
    color: #bac5d6;
    color: #bac5d6;
}
}


.sidebar-link.is-active {
.sidebar-link.is-active {
    background: rgba(96, 165, 250, 0.13);
    background: rgba(96, 165, 250, 0.13);
    box-shadow:
    box-shadow:
        0 0 0 1px rgba(147, 197, 253, 0.18),
        0 0 0 1px rgba(147, 197, 253, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #ffffff;
    color: #ffffff;
}
}


.sidebar-link.is-active .sidebar-link-icon {
.sidebar-link.is-active .sidebar-link-icon {
    color: #ffffff;
    color: #ffffff;
}
}


.sidebar-link:focus-visible,
.sidebar-link:focus-visible,
.sidebar-section-header:focus-visible,
.sidebar-section-header:focus-visible,
.sidebar-collapse-btn:focus-visible,
.sidebar-collapse-btn:focus-visible,
.sidebar-search-input:focus-visible {
.sidebar-search-input:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 2px;
    outline-offset: 2px;
}
}


/* Start collapsed BEFORE first paint (set via inline <script> on <html>).
/* Start collapsed BEFORE first paint (set via inline <script> on <html>).
   This prevents the sidebar flashing wide then snapping shut. */
   This prevents the sidebar flashing wide then snapping shut. */
html.sidebar-start-collapsed .main-sidebar {
html.sidebar-start-collapsed .main-sidebar {
    width: 56px;
    width: 56px;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-logo-full {
html.sidebar-start-collapsed .main-sidebar .sidebar-logo-full {
    display: none !important;
    display: none !important;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-logo-mini {
html.sidebar-start-collapsed .main-sidebar .sidebar-logo-mini {
    display: block !important;
    display: block !important;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-nav-content {
html.sidebar-start-collapsed .main-sidebar .sidebar-nav-content {
    display: none;
    display: none;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-logo-section {
html.sidebar-start-collapsed .main-sidebar .sidebar-logo-section {
    padding-left: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-right: 0.5rem;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-logo-section > .flex {
html.sidebar-start-collapsed .main-sidebar .sidebar-logo-section > .flex {
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    align-items: center;
    gap: 0.625rem;
    gap: 0.625rem;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-logo-section a {
html.sidebar-start-collapsed .main-sidebar .sidebar-logo-section a {
    justify-content: center;
    justify-content: center;
    margin-left: 0;
    margin-left: 0;
}
}


html.sidebar-start-collapsed .main-sidebar .sidebar-collapse-icon {
html.sidebar-start-collapsed .main-sidebar .sidebar-collapse-icon {
    transform: rotate(180deg);
    transform: rotate(180deg);
}
}


.sidebar-collapse-btn {
.sidebar-collapse-btn {
    position: relative;
    position: relative;
    display: flex;
    display: flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    justify-content: center;
    width: 28px;
    width: 28px;
    height: 28px;
    height: 28px;
    flex-shrink: 0;
    flex-shrink: 0;
    padding: 0;
    padding: 0;
    margin-left: 16px;
    margin-left: 16px;
    border: 0;
    border: 0;
    border-radius: 8px;
    border-radius: 8px;
    background: var(--pulse-shell-panel-soft);
    background: var(--pulse-shell-panel-soft);
    color: var(--pulse-shell-muted);
    color: var(--pulse-shell-muted);
    cursor: pointer;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--pulse-shell-border);
    box-shadow: 0 0 0 1px var(--pulse-shell-border);
    transition-property: background-color, color, box-shadow;
    transition-property: background-color, color, box-shadow;
    transition-duration: 180ms;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
}


.sidebar-collapse-btn::before {
.sidebar-collapse-btn::before {
    content: "";
    content: "";
    position: absolute;
    position: absolute;
    inset: -6px;
    inset: -6px;
}
}


.main-sidebar.sidebar-collapsed .sidebar-collapse-btn {
.main-sidebar.sidebar-collapsed .sidebar-collapse-btn {
    margin-left: 0;
    margin-left: 0;
}
}


.sidebar-collapse-btn:hover {
.sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.076);
    background: rgba(255, 255, 255, 0.076);
    color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
}


.sidebar-collapse-btn:active {
.sidebar-collapse-btn:active {
    transform: scale(0.96);
    transform: scale(0.96);
}
}


.sidebar-collapse-icon {
.sidebar-collapse-icon {
    font-size: 0.625rem;
    font-size: 0.625rem;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}
}


.main-sidebar.sidebar-collapsed {
.main-sidebar.sidebar-collapsed {
    width: 56px;
    width: 56px;
}
}


.main-sidebar.sidebar-collapsed .sidebar-collapse-icon {
.main-sidebar.sidebar-collapsed .sidebar-collapse-icon {
    transform: rotate(180deg);
    transform: rotate(180deg);
}
}


.main-sidebar.sidebar-collapsed .sidebar-logo-full {
.main-sidebar.sidebar-collapsed .sidebar-logo-full {
    display: none !important;
    display: none !important;
}
}


.main-sidebar.sidebar-collapsed .sidebar-logo-mini {
.main-sidebar.sidebar-collapsed .sidebar-logo-mini {
    display: block !important;
    display: block !important;
}
}


.main-sidebar.sidebar-collapsed .sidebar-logo-section {
.main-sidebar.sidebar-collapsed .sidebar-logo-section {
    padding-left: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-right: 0.5rem;
}
}


.main-sidebar.sidebar-collapsed .sidebar-logo-section > .flex {
.main-sidebar.sidebar-collapsed .sidebar-logo-section > .flex {
    flex-direction: column;
    flex-direction: column;
    align-items: center;
    align-items: center;
    gap: 0.625rem;
    gap: 0.625rem;
}
}


.main-sidebar.sidebar-collapsed .sidebar-logo-section a {
.main-sidebar.sidebar-collapsed .sidebar-logo-section a {
    justify-content: center;
    justify-content: center;
    margin-left: 0;
    margin-left: 0;
}
}


.main-sidebar.sidebar-collapsed .sidebar-nav-content {
.main-sidebar.sidebar-collapsed .sidebar-nav-content {
    display: none;
    display: none;
}
}
