:root {
  --bp-bg: #f6f7f9;
  --bp-surface: #ffffff;
  --bp-border: #d1d7e0;
  --bp-text: #0a2850;
  --bp-muted: #6e829f;
  --bp-primary: #2a6ecf;
  --bp-primary-dark: #2058a8;
  --bp-danger: #b20018;
  --bp-scania-blue: #041e42;
  --bp-scania-blue-border: #0f3263;
  --bp-scania-dark: #0b0c0f;
  --bp-scania-steel: #3a4554;
  --bp-scania-light: #f6f7f9;
  --bp-scania-footer-text: #c3d8f7;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bp-bg: #07111f;
  --bp-surface: #0d1b2f;
  --bp-border: #2a3d55;
  --bp-text: #e6eef8;
  --bp-muted: #9fb1c8;
  --bp-primary: #7ab6ff;
  --bp-primary-dark: #4c8fe8;
  --bp-danger: #ff6b78;
  --bp-scania-blue: #03152e;
  --bp-scania-blue-border: #17365f;
  --bp-scania-dark: #e6eef8;
  --bp-scania-steel: #9fb1c8;
  --bp-scania-light: #0b1628;
  --bp-scania-footer-text: #b8cbe2;
  --bs-body-color: #e6eef8;
  --bs-body-bg: #07111f;
  --bs-secondary-color: #9fb1c8;
  --bs-border-color: #2a3d55;
}

[data-theme="dark"] body,
[data-theme="dark"] .bp-card,
[data-theme="dark"] .bp-table-card,
[data-theme="dark"] .bp-management-shell,
[data-theme="dark"] .bp-console-form-card,
[data-theme="dark"] .bp-user-drawer-panel,
[data-theme="dark"] .bp-advanced-diagnostics details,
[data-theme="dark"] .modal-content {
  background: var(--bp-surface);
  color: var(--bp-text);
}

[data-theme="dark"] .bp-card,
[data-theme="dark"] .bp-table-card,
[data-theme="dark"] .bp-local-admin-nav,
[data-theme="dark"] .bp-advanced-diagnostics details,
[data-theme="dark"] .modal-content,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  border-color: var(--bp-border);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .bp-select-shell select {
  background: #101f35;
  color: var(--bp-text);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #7f94ad;
}

[data-theme="dark"] .text-secondary,
[data-theme="dark"] .bp-summary-title,
[data-theme="dark"] .bp-passport-id,
[data-theme="dark"] .bp-console-table thead th,
[data-theme="dark"] .bp-field-help {
  color: var(--bp-muted) !important;
}

[data-theme="dark"] .bp-console-table {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-console-table thead th,
[data-theme="dark"] .table > :not(caption) > * > * {
  background: #101f35;
  border-color: var(--bp-border);
  color: var(--bp-text);
}

[data-theme="dark"] .bp-console-table tbody tr:hover > * {
  background: #142842;
}

[data-theme="dark"] .bp-footer-extended,
[data-theme="dark"] .bp-local-admin-nav,
[data-theme="dark"] .bp-edit-nav a,
[data-theme="dark"] .bp-edit-nav .bp-edit-nav-button,
[data-theme="dark"] .bp-password-reveal,
[data-theme="dark"] .bp-copy-id-button,
[data-theme="dark"] .bp-document-row,
[data-theme="dark"] .bp-blocker-group {
  background: #0b1628;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-footer-column h2,
[data-theme="dark"] .bp-footer-column a,
[data-theme="dark"] .bp-battery-id-cell,
[data-theme="dark"] code {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-tab {
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-tab-active {
  border-color: #3f5f86;
  background: #132d4f;
  color: #cce3ff;
}

[data-theme="dark"] .bp-copy-id-button:hover,
[data-theme="dark"] .bp-copy-id-button:focus-visible,
[data-theme="dark"] .bp-password-reveal:hover,
[data-theme="dark"] .bp-password-reveal:focus-visible {
  border-color: var(--bp-primary);
  background: #132d4f;
  color: var(--bp-primary);
}

[data-theme="dark"] .alert-success {
  border-color: #236a44;
  background: #0d2d1d;
  color: #b9f6cf;
}

[data-theme="dark"] .alert-danger {
  border-color: #8c303b;
  background: #35131a;
  color: #ffc3ca;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--bp-text);
  background: var(--bp-bg);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: var(--bp-primary);
  text-decoration: none;
}

a:hover {
  color: var(--bp-primary-dark);
}

.bp-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bp-header {
  border-bottom: 1px solid var(--bp-border);
  background: var(--bp-surface);
}

.bp-scania-header {
  background: var(--bp-scania-blue);
  border-bottom-color: var(--bp-scania-blue-border);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.bp-header-top-row,
.bp-header-nav-row {
  width: 100%;
  display: flex;
  align-items: center;
}

.bp-header-top-row {
  min-height: 54px;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid var(--bp-scania-blue-border);
}

.bp-header-title-group {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.bp-header-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  color: #fff;
}

.bp-header-wordmark:hover,
.bp-header-symbol-link:hover {
  color: #fff;
}

.bp-header-wordmark-image {
  display: block;
  width: 112px;
  height: auto;
}

.bp-mark-white {
  filter: brightness(0) invert(1);
}

.bp-header-divider {
  height: 24px;
  width: 1px;
  background: rgba(195, 216, 247, 0.28);
}

.bp-market-label {
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.bp-header-symbol-link {
  min-height: 54px;
  width: 64px;
  margin-left: auto;
  border-left: 1px solid var(--bp-scania-blue-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bp-header-symbol-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.bp-header-nav-row {
  min-height: 52px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bp-nav {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.92rem;
}

.bp-header-actions {
  align-self: stretch;
  min-width: 100%;
  display: flex;
  justify-content: flex-end;
}

.bp-header-right-group,
.bp-header-primary-links,
.bp-header-account-links {
  display: inline-flex;
  align-items: stretch;
  min-height: 52px;
}

.bp-header-right-group {
  margin-left: auto;
}

.bp-header-actions a,
.bp-header-actions .bp-link-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--bp-scania-blue-border);
  color: #fff;
  font-weight: 700;
  padding: 0 20px;
  white-space: nowrap;
}

.bp-header-actions a:hover,
.bp-header-actions .bp-link-button:hover {
  background: #0f3263;
  color: #fff;
}

.bp-identity {
  display: none;
  text-align: left;
  min-height: 52px;
  border-right: 1px solid var(--bp-scania-blue-border);
  padding: 8px 18px;
  color: #fff;
}

.bp-identity p {
  margin: 0;
  line-height: 1.25;
}

.bp-identity p:first-child {
  font-weight: 600;
}

.bp-identity p:last-child {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.bp-link-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0 18px;
  font: inherit;
}

.bp-theme-toggle-form {
  margin: 0;
  display: inline-flex;
}

.bp-theme-toggle {
  position: relative;
  min-height: 52px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--bp-scania-blue-border);
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.bp-theme-toggle:hover,
.bp-theme-toggle:focus-visible {
  background: #0f3263;
  color: #fff;
}

.bp-theme-toggle-icon {
  inline-size: 1.18rem;
  block-size: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-header-mobile-menu {
  display: none;
}

.bp-theme-toggle::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 6;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  content: attr(data-tooltip);
  border: 1px solid #c8d2df;
  border-radius: 6px;
  background: #fff;
  color: #1f2f3f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
  padding: 7px 9px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.bp-theme-toggle:hover::after,
.bp-theme-toggle:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bp-header-logout-form {
  margin: 0;
  display: inline-flex;
}

.bp-main {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.bp-main-wide {
  max-width: min(1760px, calc(100vw - 48px));
}

.bp-footer {
  margin-top: auto;
  border-top: 0;
  color: var(--bp-text);
  font-size: 0.88rem;
}

.bp-footer a {
  color: inherit;
}

.bp-footer-extended {
  background: var(--bp-scania-light);
  border-top: 1px solid var(--bp-border);
  padding: 40px 24px 28px;
}

.bp-footer-columns {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.bp-footer-column {
  min-width: 0;
}

.bp-footer-column h2 {
  margin: 0 0 18px;
  color: rgba(10, 40, 80, 0.68);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.bp-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bp-footer-column a {
  color: var(--bp-scania-dark);
  font-weight: 700;
}

.bp-footer-column a:hover {
  color: var(--bp-primary-dark);
  text-decoration: underline;
}

.bp-footer-legal {
  background: var(--bp-scania-blue);
  color: #fff;
  min-height: 104px;
  border-top: 1px solid var(--bp-scania-blue-border);
  padding: 16px 22px 18px;
  display: flex;
  align-items: center;
}

.bp-footer-legal-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "links wordmark"
    "copy wordmark";
  gap: 10px 32px;
  align-items: center;
}

.bp-footer-link-row {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.bp-footer-link-row a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bp-footer-link-row a:hover {
  text-decoration: underline;
}

.bp-footer-copy {
  grid-area: copy;
  max-width: 900px;
  margin: 0;
  color: rgba(195, 216, 247, 0.78);
  font-size: 0.76rem;
  line-height: 1.5;
}

.bp-footer-wordmark {
  grid-area: wordmark;
  justify-self: end;
  color: #fff;
  line-height: 1;
}

.bp-footer-wordmark-image {
  display: block;
  width: clamp(116px, 12vw, 156px);
  height: auto;
}

@media (max-width: 767px) {
  .bp-header-wordmark {
    padding: 0 16px;
  }

  .bp-header-wordmark-image {
    width: 96px;
  }

  .bp-header-symbol-link {
    width: 58px;
  }

  .bp-header-symbol-logo {
    width: 32px;
    height: 32px;
  }

  .bp-header-actions a,
  .bp-header-actions .bp-link-button {
    min-height: 52px;
    padding: 0 14px;
  }

  .bp-header-actions {
    justify-content: flex-start;
    min-width: max-content;
  }

  .bp-header-right-group,
  .bp-header-primary-links,
  .bp-header-account-links {
    flex: 0 0 auto;
  }

  .bp-header-right-group {
    margin-left: 0;
  }

  .bp-main {
    padding-top: 20px;
  }

  .bp-footer-extended,
  .bp-footer-legal {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bp-footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bp-footer-column {
    border-bottom: 1px solid #bacde8;
    padding: 18px 0;
  }

  .bp-footer-column h2 {
    margin-bottom: 12px;
  }

  .bp-footer-legal-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "links"
      "copy"
      "wordmark";
    gap: 12px;
  }

  .bp-footer-wordmark {
    justify-self: end;
    margin-top: 4px;
  }

  .bp-footer-wordmark-image {
    width: 104px;
  }
}

.bp-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bp-card {
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: var(--bp-surface);
  padding: 20px;
}

.bp-console-header,
.bp-console-toolbar,
.bp-local-admin-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bp-console-header {
  padding-bottom: 2px;
}

.bp-console-header h1,
.bp-console-header h2 {
  margin: 0 0 4px;
}

.bp-console-toolbar {
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.bp-console-toolbar .bp-search-form {
  flex: 1 1 520px;
  margin: 0;
}

.bp-console-form-card label {
  color: #405367;
  font-size: 0.86rem;
  font-weight: 750;
}

.bp-console-form-card input:not([type="checkbox"]),
.bp-console-form-card select,
.bp-console-form-card textarea,
.bp-console-form-card .form-control,
.bp-console-form-card .form-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  background: #fff;
  color: var(--bp-text);
  box-shadow: 0 1px 0 rgba(8, 35, 63, 0.02);
  font: inherit;
  padding: 8px 10px;
}

.bp-console-form-card input:not([type="checkbox"]):focus,
.bp-console-form-card select:focus,
.bp-console-form-card textarea:focus,
.bp-console-form-card .form-control:focus,
.bp-console-form-card .form-select:focus {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 3px rgba(42, 110, 207, 0.14);
  outline: 0;
}

.bp-console-form-card input[readonly],
.bp-console-form-card textarea[readonly] {
  background: #f8fafc;
  color: #56687b;
}

.bp-select-shell {
  position: relative;
  display: block;
}

.bp-select-shell select {
  appearance: none;
  padding-right: 2.2rem !important;
}

.bp-select-shell::after {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 1.8px solid #405367;
  border-bottom: 1.8px solid #405367;
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.bp-console-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bp-local-admin-nav {
  align-items: center;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.bp-local-admin-nav .bp-tab-row {
  flex: 1 1 auto;
}

.bp-console-split {
  display: grid;
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.bp-table-card {
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
}

.bp-table-scroll {
  overflow-x: auto;
}

.bp-console-table {
  min-width: 1080px;
  margin-bottom: 0;
}

.bp-console-table thead th {
  border-bottom: 1px solid var(--bp-border);
  background: #f8fafc;
  color: var(--bp-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.bp-console-table th,
.bp-console-table td {
  padding: 13px 14px !important;
  vertical-align: middle;
  white-space: nowrap;
}

.bp-console-table tbody tr:last-child td {
  border-bottom: 0;
}

.bp-battery-id-cell {
  display: inline-block;
  max-width: 460px;
  overflow: hidden;
  color: #334155;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.bp-battery-id-cell-compact {
  max-width: 18ch;
}

.bp-shared-battery-table {
  min-width: 980px;
}

.bp-shared-battery-table th:nth-child(2),
.bp-shared-battery-table td:nth-child(2) {
  max-width: 190px;
}

.bp-shared-battery-table th:last-child,
.bp-shared-battery-table td:last-child {
  width: 1%;
}

.bp-admin-battery-table .bp-battery-id-cell {
  max-width: none;
}

.bp-admin-cluster-assignment-table {
  min-width: 1120px;
}

.bp-admin-cluster-assignment-table .bp-battery-id-cell {
  max-width: none;
}

.bp-cluster-assignment-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.bp-cluster-assignment-form .form-select {
  min-width: 230px;
  max-width: 280px;
}

.bp-action-cell {
  width: 1%;
  text-align: right;
}

.bp-action-cell .bp-icon-action-row,
.bp-action-cell .bp-action-row {
  justify-content: flex-end;
}

.bp-status-pill.is-published {
  border: 1px solid #b7dfc9;
  background: #ecfdf3;
  color: #166534;
}

.bp-status-pill.is-signed {
  border: 1px solid #f2d58d;
  background: #fffbeb;
  color: #92400e;
}

.bp-status-pill.is-draft {
  border: 1px solid #d5dee9;
  background: #f8fafc;
  color: #475569;
}

.bp-local-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bp-local-edit-grid .bp-field-shell {
  margin: 0;
}

.bp-local-edit-grid input,
.bp-local-edit-grid select,
.bp-local-edit-grid textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--bp-text);
  font: inherit;
  padding: 8px 10px;
}

.bp-local-edit-grid input[readonly],
.bp-local-edit-grid textarea[readonly] {
  background: #f8fafc;
  color: #475569;
}

.bp-local-edit-actions {
  grid-column: 1 / -1;
}

.bp-policy-console {
  display: grid;
  gap: 18px;
}

.bp-policy-meta {
  color: var(--bp-muted);
  font-size: 0.86rem;
}

.bp-policy-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
}

.bp-policy-section-grid .bp-policy-section {
  margin: 0;
}

.bp-local-editable-policy-form {
  display: grid;
  gap: 14px;
}

.bp-local-editable-policy-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-local-editable-policy-table {
  min-width: 1120px;
}

.bp-local-editable-section-cell strong {
  display: block;
  color: var(--bp-text);
  font-weight: 700;
}

.bp-local-editable-section-cell span,
.bp-local-editable-examples {
  color: #526477;
  font-size: 0.84rem;
}

.bp-local-editable-examples {
  font-family: "Cascadia Mono", Consolas, monospace;
  white-space: normal;
}

.bp-local-editable-state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d6e1ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0 10px;
  white-space: nowrap;
}

.bp-local-editable-state-pill.is-on {
  border-color: #b7dfc9;
  background: #ecfdf3;
  color: #166534;
}

.bp-local-editable-drawer-toggle[aria-expanded="true"] .bp-action-icon {
  transform: rotate(180deg);
}

.bp-local-editable-drawer-row td {
  background: #fbfdff;
  white-space: normal;
}

.bp-local-editable-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 10px;
}

.bp-local-editable-field-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 12px;
  align-items: center;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fff;
  color: var(--bp-text);
  padding: 10px;
}

.bp-local-editable-field-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bp-local-editable-field-copy strong {
  color: var(--bp-text);
  font-size: 0.94rem;
  font-weight: 650;
}

.bp-local-editable-field-copy span {
  color: #526477;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.35;
}

.bp-local-editable-field-copy code {
  color: #526477;
  font-size: 0.78rem;
  font-weight: 400;
  overflow-wrap: anywhere;
  white-space: normal;
}

.bp-local-editable-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 12px;
  align-items: end;
}

.bp-local-editable-toggle-wrap {
  position: relative;
  inline-size: 76px;
  block-size: 42px;
  flex: 0 0 auto;
}

.bp-local-editable-toggle-label {
  display: block;
  margin-bottom: 4px;
  color: #526477;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1;
  text-align: center;
}

.bp-local-editable-field-toggle {
  position: absolute;
  inset: auto 17px 0;
  inline-size: 42px;
  block-size: 24px;
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}

.bp-local-editable-toggle-shell {
  position: absolute;
  inset: auto 17px 0;
  block-size: 24px;
  border: 1px solid #b9c8d8;
  border-radius: 999px;
  background: #edf2f7;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bp-local-editable-toggle-shell::before {
  position: absolute;
  top: 2px;
  left: 2px;
  inline-size: 18px;
  block-size: 18px;
  content: "";
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease;
}

.bp-local-editable-field-toggle:checked + .bp-local-editable-toggle-shell {
  border-color: #12906f;
  background: #16826c;
}

.bp-local-editable-field-toggle:checked + .bp-local-editable-toggle-shell::before {
  transform: translateX(18px);
}

.bp-local-editable-field-toggle:focus-visible + .bp-local-editable-toggle-shell {
  outline: 3px solid rgba(42, 110, 207, 0.18);
  outline-offset: 2px;
}

.bp-local-editable-policy-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .bp-local-editable-field-grid {
    grid-template-columns: 1fr;
  }

  .bp-local-editable-field-card {
    grid-template-columns: 1fr;
  }

  .bp-local-editable-toggle-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bp-landing {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.bp-landing-content {
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bp-landing h1 {
  font-size: 2rem;
  margin: 0;
}

.bp-landing p {
  margin: 10px 0 0;
  color: var(--bp-muted);
}

.bp-search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-landing-search {
  align-items: stretch;
}

.bp-search-main-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-search-inline-message {
  margin: 0;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.bp-search-inline-message[hidden] {
  display: none;
}

.bp-search-form input,
.bp-form-grid input,
.bp-form-grid select,
.bp-form-grid textarea {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.92rem;
  width: 100%;
}

.bp-form-grid textarea {
  min-height: 96px;
}

.bp-form-grid input[readonly],
.bp-form-grid textarea[readonly],
.bp-form-grid input:disabled,
.bp-form-grid select:disabled,
.bp-form-grid textarea:disabled,
.bp-form-grid input[type="date"][readonly],
.bp-form-grid input[type="date"]:disabled {
  border-color: #cbd7e4;
  background: #eef2f6;
  color: #5c6c7d;
}

.bp-form-grid input:disabled,
.bp-form-grid select:disabled,
.bp-form-grid textarea:disabled {
  cursor: not-allowed;
}

.bp-fieldset {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px;
}

.bp-fieldset legend {
  float: none;
  width: auto;
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.bp-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.bp-search-form button,
.bp-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--bp-primary);
  color: #fff;
  font-weight: 600;
  padding: 0 16px;
}

.bp-search-form button:hover,
.bp-primary-button:hover {
  background: var(--bp-primary-dark);
  color: #fff;
}

.bp-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid #b4c0cf;
  color: #334155;
  background: #fff;
  padding: 0 14px;
}

.bp-button-compact {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.bp-icon-action-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.bp-icon-action-row form {
  margin: 0;
}

.bp-actions-column {
  width: 132px;
}

.bp-icon-button,
.bp-action-button {
  position: relative;
  inline-size: 2.35rem;
  block-size: 2.35rem;
  min-inline-size: 2.35rem;
  min-block-size: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9fb1c5;
  border-radius: 8px;
  background: #fff;
  color: #163b5c;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  box-shadow: 0 4px 13px rgba(15, 35, 55, 0.08);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.bp-icon-button:hover,
.bp-action-button:hover {
  border-color: #2f6f88;
  color: #0b5f78;
  background: #f4fafc;
  box-shadow: 0 8px 20px rgba(15, 35, 55, 0.13);
  transform: translateY(-1px);
  text-decoration: none;
}

.bp-icon-button.is-danger,
.bp-action-button.is-danger {
  border-color: #fda29b;
  color: var(--bp-danger);
}

.bp-icon-button.is-danger:hover,
.bp-action-button.is-danger:hover {
  background: #fff5f5;
  color: var(--bp-danger);
}

.bp-action-icon {
  inline-size: 1.22rem;
  block-size: 1.22rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-action-button::after {
  position: absolute;
  top: calc(-100% - 10px);
  left: 50%;
  z-index: 6;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  content: attr(data-tooltip);
  border: 1px solid #c8d2df;
  border-radius: 6px;
  background: #fff;
  color: #1f2f3f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.bp-action-button:hover::after,
.bp-action-button:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bp-danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #fda29b;
  color: var(--bp-danger);
  background: #fff;
  padding: 0 12px;
}

.bp-modal[hidden] {
  display: none;
}

.bp-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.bp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.bp-modal-panel {
  position: relative;
  width: min(100%, 480px);
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.24);
  padding: 20px;
}

.bp-modal-open {
  overflow: hidden;
}

.bp-landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.92rem;
}

.bp-search-page {
  max-width: 720px;
  min-height: 70vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bp-search-page h1 {
  margin: 0;
  font-size: 1.8rem;
}

.bp-search-page p {
  color: var(--bp-muted);
}

.bp-back-link {
  margin-top: 16px;
}

.bp-warning {
  margin: 16px 0 0;
  border-radius: 8px;
  border: 1px solid #fedf89;
  background: #fffaeb;
  color: #b54708;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.bp-search-input-shell {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.bp-search-input-shell input {
  min-height: 54px;
  padding-right: 66px;
}

.bp-search-input-shell .bp-qr-trigger {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 44px;
  height: 44px;
  min-height: 44px !important;
  min-width: 44px;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #eef4fb !important;
  color: var(--bp-scania-blue) !important;
  padding: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(4, 30, 66, 0.12);
}

.bp-search-input-shell .bp-qr-trigger:hover {
  background: #dbeafe !important;
}

.bp-qr-trigger-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: inherit;
}

.bp-qr-trigger-icon svg,
.bp-qr-placeholder svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bp-qr-modal[hidden] {
  display: none;
}

.bp-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
}

.bp-qr-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 16, 28, 0.48);
}

.bp-qr-modal-panel {
  position: relative;
  width: min(100%, 625px);
  display: grid;
  gap: 18px;
  border-radius: 16px;
  background: #fff;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 28px 72px rgba(10, 16, 28, 0.28);
}

.bp-qr-modal-panel h2 {
  margin: 0;
  padding-right: 56px;
  color: #111827;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.bp-qr-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 3px solid #222;
  border-radius: 14px;
  background: #fff;
  color: #8c95a3;
  font-size: 2rem;
  line-height: 1;
}

.bp-qr-camera-frame {
  min-height: clamp(250px, 48vw, 338px);
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f4f7fa;
  overflow: hidden;
}

.bp-qr-placeholder {
  display: grid;
  place-items: center;
  color: #a7b0bd;
}

.bp-qr-video {
  width: 100%;
  height: 100%;
  min-height: clamp(250px, 48vw, 338px);
  background: #041e42;
  object-fit: cover;
}

.bp-qr-start-button,
.bp-qr-stop-button {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  background: #18bd84;
  font-size: 1.1rem;
}

.bp-qr-start-button:hover {
  background: #10a875;
}

.bp-qr-upload-link {
  justify-self: center;
  position: relative;
  overflow: hidden;
  color: #8c95a3;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
}

.bp-qr-upload-link input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.bp-qr-status {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d8e5f1;
  border-radius: 12px;
  background: #fff;
  color: #526173;
  font-size: 0.9rem;
}

.bp-qr-status.is-error {
  border-color: #fedf89;
  background: #fffaeb;
  color: #b54708;
}

.bp-summary-grid {
  display: grid;
  gap: 20px;
}

.bp-report-hero-card {
  display: block;
  width: min(1860px, calc(100vw - 96px));
  max-width: none;
  margin-inline: 50%;
  transform: translateX(-50%);
}

.bp-report-wide-section {
  width: min(1860px, calc(100vw - 96px));
  max-width: none;
  margin-inline: 50%;
  transform: translateX(-50%);
}

.bp-report-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: stretch;
  gap: 28px;
}

.bp-report-hero-info {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: var(--bp-surface);
  padding: 20px;
  box-shadow: 0 18px 36px rgba(4, 30, 66, 0.08);
}

.bp-report-hero-info.bp-summary-identity-grid,
.bp-report-identity-grid {
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr) minmax(160px, 220px);
  gap: 14px;
  align-items: stretch;
}

.bp-report-hero-info.bp-summary-identity-grid > .bp-report-hero-main {
  grid-column: 1 / -1;
}

.bp-report-identity-panel {
  min-width: 0;
}

.bp-summary-id-panel,
.bp-summary-qr-panel {
  min-width: 0;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.bp-report-hero-info.bp-summary-identity-grid .bp-report-header {
  padding-bottom: 14px;
  border-bottom: 0;
}

.bp-summary-id-panel .bp-passport-id {
  margin: 10px 0 0;
}

.bp-report-identity-panel--identifiers {
  overflow: hidden;
}

.bp-report-identity-panel--identifiers .bp-passport-id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  word-break: normal;
}

.bp-report-identity-panel--identifiers .bp-id-label {
  white-space: nowrap;
}

.bp-report-identity-panel--identifiers .bp-id-copy-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.bp-report-identity-panel--identifiers .bp-id-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-summary-qr-panel img {
  display: block;
  inline-size: min(132px, 100%);
  block-size: auto;
  margin-inline: auto;
}

.bp-report-identity-panel--qr {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
}

.bp-report-identity-panel--qr .bp-report-hero-qr {
  width: min(132px, 100%);
}

.bp-summary-fields-panel {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .bp-report-hero-info.bp-summary-identity-grid {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  }

  .bp-report-identity-panel--qr {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1180px) {
  .bp-report-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  }
}

@media (max-width: 760px) {
  .bp-report-hero-info.bp-summary-identity-grid {
    grid-template-columns: 1fr;
  }

  .bp-report-identity-panel--qr {
    grid-column: auto;
    grid-row: auto;
  }

  .bp-summary-fields-panel {
    grid-column: auto;
  }
}

.bp-report-hero-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
}

.bp-report-hero-info .bp-report-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bp-border);
}

.bp-report-hero-info .bp-report-title-block {
  padding-inline-end: 0;
}

.bp-report-hero-info .bp-passport-id {
  word-break: normal;
  overflow-wrap: normal;
}

.bp-report-hero-info .bp-id-copy-row {
  flex-wrap: nowrap;
}

.bp-report-hero-info .bp-id-value {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.bp-report-hero-info h1 {
  margin: 4px 0 0;
  color: var(--bp-text);
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
}

.bp-report-hero-info .text-secondary {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.bp-report-hero-fields {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px 20px;
  margin: 0;
}

.bp-report-hero-fields dt {
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 4px;
}

.bp-report-hero-fields dd {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
}

.bp-report-hero-qr {
  justify-self: center;
  align-self: start;
  width: min(132px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  line-height: 0;
}

.bp-report-hero-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bp-report-hero-qr:hover,
.bp-report-hero-qr:focus-visible {
  border-color: #18bd84;
  outline: 0;
}

.bp-report-hero-media {
  min-height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 14px;
  min-width: 0;
}

.bp-report-hero-media .bp-image-wrap {
  width: min(100%, 330px);
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.bp-report-media-code-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 132px);
  gap: 12px;
  align-items: start;
}

.bp-report-media-code-row .bp-report-hero-qr {
  width: 100%;
  justify-self: stretch;
}

.bp-report-hero-media .bp-battery-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 18px rgba(16, 24, 40, 0.16));
}

.bp-report-hero-cta {
  width: min(100%, 330px);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: #18bd84;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  padding: 10px 14px;
  box-shadow: 0 10px 18px rgba(20, 184, 132, 0.18);
}

.bp-report-hero-cta:hover,
.bp-report-hero-cta:focus-visible {
  background: #087253;
  color: #fff;
  outline: 0;
}

.bp-report-hero-cta.bp-report-hero-cta-warning {
  border: 1px solid #fedf89;
  background: #fffaeb;
  color: #b54708;
  box-shadow: none;
  font-weight: 650;
}

.bp-report-hero-cta.bp-report-hero-cta-warning:hover,
.bp-report-hero-cta.bp-report-hero-cta-warning:focus-visible {
  background: #fff4d6;
  color: #93370d;
}

.bp-report-header {
  position: relative;
}

.bp-report-title-block {
  min-inline-size: 0;
  padding-inline-end: 6.25rem;
}

.bp-report-header-actions {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bp-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.bp-pill-ok {
  background: #dcfce7;
  color: #166534;
}

.bp-pill-muted {
  background: #e2e8f0;
  color: #334155;
}

.bp-pill-alert {
  background: #ea580c;
  color: #fff;
}

.bp-passport-id {
  word-break: break-all;
  color: #475569;
  font-size: 0.9rem;
}

.bp-id-copy-row {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  vertical-align: middle;
}

.bp-id-value {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bp-copy-id-button {
  position: relative;
  inline-size: 1.72rem;
  block-size: 1.72rem;
  min-inline-size: 1.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c5d1df;
  border-radius: 7px;
  background: #fff;
  color: #35536c;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.bp-copy-id-button:hover,
.bp-copy-id-button:focus-visible {
  border-color: #2f6f88;
  background: #f4fafc;
  color: #0b5f78;
  transform: translateY(-1px);
}

.bp-copy-id-button.is-copied {
  border-color: #16a34a;
  background: #dcfce7;
  color: #166534;
}

.bp-copy-id-icon {
  inline-size: 1rem;
  block-size: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-copy-id-button::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 6;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  content: attr(data-tooltip);
  border: 1px solid #c8d2df;
  border-radius: 6px;
  background: #fff;
  color: #1f2f3f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
  padding: 7px 9px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.bp-copy-id-button:hover::after,
.bp-copy-id-button:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bp-image-wrap {
  border-radius: 10px;
  border: 1px solid var(--bp-border);
  overflow: hidden;
  background: #f8fafc;
}

.bp-summary-media-panel {
  position: relative;
  display: grid;
  align-items: start;
}

.bp-summary-image-frame {
  width: 100%;
}

.bp-summary-qr-download {
  position: absolute;
  top: 0;
  left: 12px;
  width: 92px;
  display: block;
  line-height: 0;
}

.bp-summary-qr-download img {
  width: 100%;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(4, 30, 66, 0.08);
}

.bp-summary-qr-download:hover img {
  border-color: #18bd84;
}

.bp-battery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.bp-help-text {
  color: var(--bp-muted);
  font-size: 0.8rem;
}

.bp-field-grid {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

.bp-field-grid dt {
  color: var(--bp-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.bp-field-grid dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.bp-summary-title {
  display: inline-block;
  color: #667085;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 0;
  background: transparent;
}

.bp-summary-section {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bp-summary-section > div {
  min-width: 0;
}

.bp-summary-report-row {
  min-width: 0;
}

.bp-number {
  font-size: 2rem;
  font-weight: 700;
}

.bp-subheading {
  font-size: 1rem;
  font-weight: 700;
}

.bp-pie-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.bp-pie {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
}

.bp-chart-frame {
  position: relative;
  height: clamp(220px, 28vw, 300px);
  overflow: hidden;
}

.bp-chart-frame canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.bp-telemetry-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.bp-telemetry-chart-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
}

@media (max-width: 760px) {
  .bp-telemetry-chart-grid {
    grid-template-columns: 1fr;
  }
}

.bp-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
}

.bp-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-chart-value-legend {
  width: 100%;
  min-width: min(280px, 100%);
  border-collapse: collapse;
  font-size: 0.86rem;
}

.bp-chart-value-legend td {
  border-top: 1px solid #e4e8ef;
  padding: 6px 4px;
  vertical-align: middle;
}

.bp-chart-value-legend td:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bp-chart-value-legend td:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.bp-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
}

.bp-donut-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.bp-donut-card {
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
  overflow: hidden;
}

.bp-donut {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.bp-donut-hole {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #fff;
}

.bp-tabs.nav-tabs {
  border-bottom-color: var(--bp-border);
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.bp-tabs .nav-item {
  flex: 0 0 auto;
}

.bp-tabs .nav-link {
  border: 0;
  color: #334155;
  border-radius: 8px;
  padding: 0.5rem 0.72rem;
  white-space: nowrap;
}

.bp-tabs .nav-link.active {
  background: var(--bp-primary);
  color: #fff;
}

.bp-software-panel {
  display: grid;
  gap: 18px;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 92% 10%, rgba(29, 78, 216, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.bp-software-hero h2 {
  margin: 4px 0 8px;
}

.bp-two-column {
  display: grid;
  gap: 16px;
}

.bp-metric-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.bp-metric {
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  padding: 10px;
}

.bp-metric p {
  margin: 0;
  color: var(--bp-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.bp-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.bp-link-grid {
  display: grid;
  gap: 10px;
}

.bp-link-grid a {
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
}

.bp-tab-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
}

.bp-admin-mobile-tab-form {
  display: none;
}

.bp-tab {
  min-height: 40px;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  color: #475569;
  background: transparent;
}

.bp-tab-active {
  border-color: #bacde8;
  background: #e8f1ff;
  color: var(--bp-scania-blue);
}

.bp-credential-tab-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
}

.bp-password-field {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.bp-password-field input {
  min-width: 0;
  flex: 1 1 auto;
}

.bp-password-field input::-ms-reveal,
.bp-password-field input::-ms-clear {
  display: none;
}

.bp-password-field-inline {
  min-width: 260px;
}

.bp-password-reveal {
  inline-size: 2.35rem;
  block-size: 2.35rem;
  min-width: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  padding: 0;
}

.bp-password-reveal:hover,
.bp-password-reveal:focus-visible {
  border-color: #2f6f88;
  color: #0b5f78;
  background: #f4fafc;
}

.bp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.78rem;
}

.bp-role-tag {
  border-radius: 999px;
  background: #e2e8f0;
  padding: 2px 8px;
  font-weight: 600;
}

.bp-tag-delete {
  border: 0;
  background: transparent;
  color: var(--bp-danger);
  cursor: pointer;
  padding: 0;
}

.bp-edit-grid {
  display: grid;
  gap: 16px;
}

.bp-edit-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.bp-edit-nav a,
.bp-edit-nav .bp-edit-nav-button {
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  font-size: 0.88rem;
  color: #334155;
  text-align: left;
}

.bp-edit-nav .bp-edit-nav-button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.bp-edit-nav .bp-edit-nav-button.is-active,
.bp-edit-nav a.is-active {
  border-color: var(--bp-primary);
  background: #e8f1ff;
  color: var(--bp-scania-blue);
  font-weight: 600;
}

.bp-edit-nav .bp-edit-nav-button.has-missing-fields {
  border-color: #f1b5b5;
  box-shadow: inset 0 -3px 0 #dc2626;
  color: #991b1b;
}

.bp-edit-nav .bp-edit-nav-button.is-active.has-missing-fields {
  border-color: #dc2626;
  background: #fff7f7;
  color: #991b1b;
}

.bp-edit-form {
  display: grid;
  gap: 14px;
}

.bp-edit-form h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.bp-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.bp-form-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.bp-stack-form {
  display: grid;
  gap: 10px;
}

.bp-stack-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.bp-stack-form input,
.bp-stack-form select,
.bp-stack-form textarea {
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
  width: 100%;
}

.bp-span-2 {
  grid-column: span 1;
}

.bp-credential-stack {
  display: grid;
  gap: 18px;
}

.bp-credential-panel {
  border-radius: 8px;
  padding: 24px;
}

.bp-credential-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.bp-credential-form-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

.bp-credential-form-grid label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.bp-credential-form-grid input:not([type="checkbox"]),
.bp-credential-form-grid select,
.bp-credential-form-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--bp-text);
  font-size: 0.94rem;
  padding: 10px 12px;
}

.bp-token-clusters {
  min-height: 146px;
}

.bp-checkbox-row {
  display: grid;
  gap: 10px;
  align-content: start;
}

.bp-checkbox-option {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
  line-height: 1.35;
}

.bp-checkbox-option input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.bp-checkbox-option span {
  min-width: 0;
}

.bp-credential-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bp-credential-actions .bp-primary-button,
.bp-credential-actions .bp-secondary-button {
  min-height: 44px;
}

.bp-table-card {
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
}

.bp-table-scroll {
  overflow-x: auto;
}

.bp-credential-table {
  min-width: 880px;
  margin-bottom: 0;
}

.bp-credential-table thead th {
  border-bottom: 1px solid var(--bp-border);
  background: #f8fafc;
  color: var(--bp-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-credential-table th,
.bp-credential-table td {
  padding: 16px 18px !important;
  vertical-align: middle;
}

.bp-credential-table tbody tr:last-child td {
  border-bottom: 0;
}

.bp-credential-name {
  margin: 0 0 4px;
  font-weight: 700;
}

.bp-code-wrap {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bp-access-pill,
.bp-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.bp-access-pill {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e40af;
}

.bp-status-pill.is-active {
  background: #dcfce7;
  color: #166534;
}

.bp-status-pill.is-inactive {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.bp-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-action-row form {
  margin: 0;
}

.bp-action-control {
  display: grid;
  gap: 6px;
  max-width: 260px;
}

.bp-action-row .bp-secondary-button,
.bp-action-row .bp-danger-button {
  min-height: 40px;
}

.bp-primary-button:disabled,
.bp-secondary-button:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.bp-button-accent {
  border-color: #9cc3f5;
  background: #eff6ff;
  color: #0f3263;
  font-weight: 700;
}

.bp-button-accent:hover {
  background: #dbeafe;
  color: #041e42;
}

.bp-conformance-shell {
  position: relative;
  overflow: hidden;
  border-color: #c6d3e2;
  background:
    radial-gradient(circle at top right, rgba(42, 110, 207, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
}

.bp-conformance-hero {
  display: grid;
  gap: 18px;
}

.bp-conformance-hero h1,
.bp-conformance-panel h2 {
  margin: 8px 0 6px;
  color: #041e42;
}

.bp-conformance-hero .bp-passport-id {
  margin: 0 0 8px;
}

.bp-conformance-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-page-return-row,
.bp-conformance-return-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: -8px;
}

.bp-page-return-link,
.bp-conformance-return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #35506f;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.52rem 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 42, 73, 0.06);
}

.bp-page-return-link::before,
.bp-conformance-return-link::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.bp-page-return-link:hover,
.bp-page-return-link:focus-visible,
.bp-conformance-return-link:hover,
.bp-conformance-return-link:focus-visible {
  border-color: #b6c9dd;
  color: #041e42;
  background: #ffffff;
  text-decoration: none;
}

.bp-conformance-shell .bp-summary-title,
.bp-conformance-panel .bp-summary-title {
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  background: #eef4fb;
  color: #35506f;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 4px 9px;
}

.bp-readiness-strip {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bp-readiness-card {
  min-width: 0;
  border: 1px solid #d7e0eb;
  border-left: 4px solid #94a3b8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  padding: 13px 14px;
  box-shadow: 0 10px 28px rgba(15, 35, 64, 0.05);
}

.bp-readiness-card p {
  margin: 0 0 5px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bp-readiness-card strong {
  display: block;
  color: #0f172a;
  font-size: 1.18rem;
  line-height: 1.15;
}

.bp-readiness-card span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
}

.bp-readiness-card.is-ready {
  border-left-color: #16a34a;
}

.bp-readiness-card.is-blocked {
  border-left-color: #dc2626;
}

.bp-readiness-card.is-muted {
  border-left-color: #64748b;
}

.bp-conformance-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

.bp-conformance-main-grid,
.bp-evidence-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

.bp-conformance-panel {
  padding: 18px;
}

.bp-workflow-panel {
  border-color: #b9c9dc;
  background:
    radial-gradient(circle at top right, rgba(198, 146, 20, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.bp-workflow-panel .bp-action-row {
  margin-top: 16px;
}

.bp-action-row-primary {
  border-top: 1px solid #dce6f1;
  padding-top: 16px;
}

.bp-next-step-card {
  border: 1px solid #c8d8ea;
  border-left: 5px solid var(--bp-primary);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(4, 30, 66, 0.08);
}

.bp-next-step-card span {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-next-step-card strong {
  display: block;
  margin-top: 5px;
  color: #041e42;
  font-size: 1.05rem;
}

.bp-next-step-card p {
  margin: 6px 0 0;
  color: #52657c;
  line-height: 1.4;
}

.bp-focus-panel {
  border-color: #b6c8dc;
}

.bp-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bp-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 26px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 10px;
}

.bp-count-pill.is-ready {
  background: #dcfce7;
  color: #166534;
}

.bp-count-pill.is-muted {
  background: #e2e8f0;
  color: #334155;
}

.bp-count-pill.is-warning {
  background: #ffedd5;
  color: #9a3412;
}

.bp-issue-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.bp-issue-list li {
  display: grid;
  gap: 4px;
  border: 1px solid #f1c7c7;
  border-radius: 10px;
  background: #fff7f7;
  padding: 11px 12px;
}

.bp-issue-list.is-warning li {
  border-color: #fed7aa;
  background: #fffaf2;
}

.bp-issue-list strong {
  color: #0f172a;
}

.bp-issue-list code,
.bp-diagnostics-list code {
  white-space: normal;
  word-break: break-word;
}

.bp-empty-state {
  margin: 12px 0 0;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  padding: 12px;
}

.bp-policy-list,
.bp-diagnostics-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.bp-policy-list div,
.bp-diagnostics-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #e6edf5;
  padding-bottom: 9px;
}

.bp-policy-list dt,
.bp-diagnostics-list dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bp-policy-list dd,
.bp-diagnostics-list dd {
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 650;
}

.bp-workflow-row {
  display: grid;
  gap: 16px;
}

.bp-completion-checklist {
  border-color: #b6c8dc;
}

.bp-completion-sections {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.bp-completion-section {
  border: 1px solid #d8e3ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  overflow: hidden;
}

.bp-completion-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e1e9f2;
  background: #f4f7fb;
  padding: 13px 14px;
}

.bp-completion-section-header span:first-child {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bp-completion-section-header strong {
  display: block;
  margin-top: 2px;
  color: #041e42;
  font-size: 1rem;
}

.bp-completion-items {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.bp-completion-item {
  display: grid;
  gap: 9px;
  border: 1px solid #efd1d1;
  border-left: 4px solid #dc2626;
  border-radius: 11px;
  background: #fffafa;
  padding: 12px;
}

.bp-completion-kind {
  justify-self: start;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  text-transform: uppercase;
}

.bp-completion-item dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bp-completion-item dl div {
  display: grid;
  gap: 3px;
}

.bp-completion-item dt {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bp-completion-item dd {
  margin: 0;
  color: #172033;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bp-completion-item code {
  white-space: normal;
  word-break: break-word;
}

.bp-evidence-panel {
  margin-top: 18px;
  border-color: #c7d7ea;
  background:
    radial-gradient(circle at top right, rgba(22, 163, 74, 0.1), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.bp-evidence-step > summary {
  list-style: none;
}

.bp-evidence-step > summary::-webkit-details-marker {
  display: none;
}

.bp-evidence-step-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  padding: 16px;
}

.bp-evidence-step-header::after {
  content: "";
  justify-self: center;
  inline-size: 10px;
  block-size: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.bp-evidence-step[open] > .bp-evidence-step-header {
  border-bottom: 1px solid #d8e3ef;
}

.bp-evidence-step[open] > .bp-evidence-step-header::after {
  transform: rotate(225deg);
}

.bp-evidence-step-header h2 {
  margin: 3px 0 5px;
  color: #041e42;
  font-size: 1.2rem;
}

.bp-evidence-step-header .bp-help-text {
  margin: 0;
}

.bp-evidence-step-content {
  padding: 0 16px 16px;
}

.bp-evidence-metrics {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.bp-evidence-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.bp-evidence-item {
  display: grid;
  gap: 12px;
  border: 1px solid #d8e3ef;
  border-left: 4px solid #64748b;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
}

.bp-evidence-status-missingRequired,
.bp-evidence-status-externalLinkOnly,
.bp-evidence-status-missingFileReference {
  border-left-color: #dc2626;
}

.bp-evidence-status-uploadedUnsigned,
.bp-evidence-status-changedSinceSigning {
  border-left-color: #d97706;
}

.bp-evidence-status-verified {
  border-left-color: #16a34a;
}

.bp-evidence-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bp-evidence-item-header span:first-child {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bp-evidence-item-header strong {
  display: block;
  margin-top: 2px;
  color: #041e42;
}

.bp-evidence-status {
  border-radius: 999px;
  background: #eef4fb;
  color: #35506f;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 5px 10px;
  white-space: nowrap;
}

.bp-evidence-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bp-evidence-details div {
  display: grid;
  gap: 3px;
}

.bp-evidence-details dt {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bp-evidence-details dd {
  margin: 0;
  color: #172033;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bp-evidence-details code {
  white-space: normal;
  word-break: break-word;
}

.bp-trust-panel {
  margin-top: 18px;
  border: 1px solid #d8e3ef;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(4, 30, 66, 0.08), transparent 30%),
    #f8fafc;
  padding: 16px;
}

.bp-trust-panel .bp-field-grid {
  margin-top: 16px;
}

.bp-validation-sections {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.bp-validation-drawer {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.bp-validation-section {
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.bp-validation-section summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  cursor: pointer;
  background: #f7f9fc;
  padding: 12px 14px;
}

.bp-validation-section summary strong {
  margin-right: auto;
}

.bp-validation-section summary span {
  border-radius: 999px;
  background: #e8eef6;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
}

.bp-validation-section .table-responsive,
.bp-validation-section .bp-empty-state {
  margin: 12px;
}

.bp-readiness-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.5rem;
  align-items: stretch;
  border: 1px solid rgba(15, 42, 73, 0.14);
  background:
    radial-gradient(circle at top left, rgba(38, 127, 184, 0.18), transparent 34rem),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

.bp-readiness-hero h1 {
  margin: 0.35rem 0;
  color: #041e42;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.bp-readiness-ready {
  border-color: rgba(18, 126, 93, 0.24);
}

.bp-readiness-trusted {
  border-color: rgba(10, 139, 91, 0.34);
  background:
    radial-gradient(circle at top left, rgba(8, 163, 72, 0.2), transparent 34rem),
    linear-gradient(135deg, #ffffff, #f3fff8);
}

.bp-readiness-blocked {
  border-color: rgba(191, 77, 35, 0.28);
  background:
    radial-gradient(circle at top left, rgba(223, 107, 59, 0.2), transparent 34rem),
    linear-gradient(135deg, #ffffff, #fff8f3);
}

.bp-next-action-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(15, 42, 73, 0.08);
}

.bp-next-action-panel > span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #607189;
}

.bp-next-action-panel > strong {
  font-size: 1.45rem;
  color: #071d33;
}

.bp-conformance-page {
  --bp-step-border: #d6e1ec;
}

.bp-conformance-header {
  align-items: flex-start;
}

.bp-conformance-header h1 {
  margin: 0.35rem 0 0.45rem;
  color: #041e42;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
}

.bp-conformance-header-actions {
  justify-content: flex-end;
}

.bp-conformance-step-workflow {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  border: 1px solid #c6d3e2;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(42, 110, 207, 0.1), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  padding: 16px;
}

.bp-trust-step {
  overflow: hidden;
  border: 1px solid var(--bp-step-border);
  border-left: 5px solid #94a3b8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 42, 73, 0.06);
}

.bp-trust-step > summary {
  list-style: none;
}

.bp-trust-step > summary::-webkit-details-marker {
  display: none;
}

.bp-trust-step.is-active {
  border-left-color: var(--bp-primary);
}

.bp-trust-step.is-complete {
  border-left-color: #16a34a;
}

.bp-trust-step.is-blocked {
  border-left-color: #dc2626;
}

.bp-trust-step.is-locked {
  border-left-color: #94a3b8;
}

.bp-trust-step-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto 28px;
  gap: 14px;
  align-items: center;
  background: #fbfdff;
  cursor: pointer;
  padding: 15px 16px;
}

.bp-trust-step-header::after {
  content: "";
  justify-self: center;
  inline-size: 10px;
  block-size: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.bp-trust-step[open] > .bp-trust-step-header {
  border-bottom: 1px solid #e4ebf3;
}

.bp-trust-step[open] > .bp-trust-step-header::after {
  transform: rotate(225deg);
}

.bp-trust-step-number {
  inline-size: 34px;
  block-size: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #041e42;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.bp-trust-step-header h2 {
  margin: 3px 0 3px;
  color: #041e42;
  font-size: 1.1rem;
}

.bp-trust-step-header p {
  margin: 0;
  color: #5b6d82;
  line-height: 1.35;
}

.bp-trust-step-status {
  justify-self: end;
  border-radius: 999px;
  background: #e8eef6;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 850;
  padding: 6px 10px;
  white-space: nowrap;
}

.bp-trust-step-status.is-ready {
  background: #dcfce7;
  color: #166534;
}

.bp-trust-step-status.is-blocked {
  background: #fee2e2;
  color: #991b1b;
}

.bp-trust-step-status.is-muted {
  background: #e2e8f0;
  color: #334155;
}

.bp-trust-step-content {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.bp-trust-step-content-compact {
  grid-template-columns: minmax(0, 1fr);
}

.bp-trust-step .bp-readiness-strip {
  margin-top: 0;
}

@media (max-width: 760px) {
  .bp-report-title-block {
    padding-inline-end: 5.5rem;
  }

  .bp-report-hero-info .bp-report-title-block {
    padding-inline-end: 0;
  }

  .bp-report-hero-layout,
  .bp-report-hero-info {
    grid-template-columns: 1fr;
  }

  .bp-report-hero-layout {
    gap: 24px;
  }

  .bp-report-hero-card {
    width: 100%;
    margin-inline: 0;
    transform: none;
  }

  .bp-report-wide-section {
    width: 100%;
    margin-inline: 0;
    transform: none;
  }

  .bp-report-hero-fields {
    grid-template-columns: 1fr;
  }

  .bp-report-hero-qr {
    justify-self: start;
  }

  .bp-report-hero-info .bp-passport-id {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .bp-report-hero-info .bp-id-copy-row {
    flex-wrap: wrap;
  }

  .bp-report-hero-info .bp-id-value {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .bp-report-hero-media {
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .bp-report-media-code-row {
    grid-template-columns: 1fr;
  }

  .bp-report-media-code-row .bp-report-hero-qr {
    max-width: 132px;
    justify-self: start;
  }

  .bp-report-hero-media .bp-image-wrap {
    height: auto;
  }

  .bp-report-hero-media .bp-battery-image {
    height: auto;
  }

  .bp-trust-step-header {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
  }

  .bp-trust-step-status,
  .bp-trust-step-header .bp-action-control {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .bp-trust-step-header::after {
    grid-column: 3;
    grid-row: 1;
  }

  .bp-evidence-step-header {
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .bp-evidence-step-header .bp-count-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .bp-evidence-step-header::after {
    grid-column: 2;
    grid-row: 1;
  }
}

.bp-blocker-groups {
  display: grid;
  gap: 1rem;
}

.bp-blocker-group {
  border: 1px solid rgba(15, 42, 73, 0.08);
  background: #f8fbff;
}

.bp-advanced-diagnostics details {
  border-radius: 18px;
  border: 1px solid rgba(15, 42, 73, 0.1);
  background: #ffffff;
}

.bp-advanced-diagnostics summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem;
}

.bp-advanced-diagnostics details > div {
  padding: 0 1rem 1rem;
}

.bp-field-shell {
  display: grid;
  gap: 0.35rem;
}

.bp-field-shell > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-weight: 750;
}

.bp-field-marker {
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  background: #edf4fb;
  color: #35526e;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bp-field-help {
  color: #64758a;
  line-height: 1.45;
}

.bp-field-shell.is-invalid input,
.bp-field-shell.is-invalid select,
.bp-field-shell.is-invalid textarea {
  border-color: #dc2626;
  background: #fff7f7;
  outline: 3px solid rgba(220, 38, 38, 0.12);
}

.bp-field-shell.is-invalid .bp-field-marker {
  background: #fee2e2;
  color: #991b1b;
}

.bp-document-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.bp-document-field-shell,
.bp-document-visibility-field {
  display: grid;
  gap: 7px;
}

.bp-document-main-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 8px;
  align-items: stretch;
}

.bp-document-smart-upload {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-document-hidden-file {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.bp-document-main-line button[disabled] {
  cursor: wait;
  opacity: 0.62;
}

.bp-document-visibility-field {
  min-width: 0;
}

.bp-document-visibility-field select {
  width: 100%;
}

.bp-document-sha-field {
  display: grid;
  gap: 4px;
  margin: 0 !important;
}

.bp-document-sha-field span {
  color: #667991;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bp-document-sha-field input[readonly] {
  min-height: 34px;
  color: #45566c;
  background: #f8fafc;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
}

.bp-document-upload-status {
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #dde7f1;
  border-radius: 8px;
  background: #fff;
  color: #5f7087;
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}

.bp-document-upload-status[hidden] {
  display: none;
}

.bp-document-row[data-upload-state="ready"] .bp-document-upload-status {
  border-color: #d7e4f0;
  background: #f8fafc;
  color: #45566c;
}

.bp-document-row[data-upload-state="busy"] .bp-document-upload-status {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.bp-document-row[data-upload-state="success"] .bp-document-upload-status {
  border-color: #b7e2c7;
  background: #effaf2;
  color: #176235;
}

.bp-document-row[data-upload-state="error"] .bp-document-upload-status {
  border-color: #f1b5a8;
  background: #fff3ed;
  color: #9c2f14;
}

.bp-table-empty {
  color: var(--bp-muted);
  padding: 24px !important;
}

.bp-ledger {
  --bp-ledger-line: #dbe5ef;
  --bp-ledger-ink: #071a35;
  --bp-ledger-soft: #f6f9fc;
}

.bp-ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.bp-ledger-header h1 {
  margin-top: 8px;
  color: var(--bp-ledger-ink);
}

.bp-ledger-state-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.bp-ledger-state-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.bp-ledger-state-grid span,
.bp-ledger-label {
  color: #62748a;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-ledger-state-grid strong {
  color: var(--bp-ledger-ink);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.bp-ledger-state-grid small {
  color: #68788c;
}

.bp-ledger-panel {
  display: grid;
  gap: 18px;
}

.bp-ledger-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}

.bp-ledger-panel-heading h2 {
  margin: 8px 0 0;
  color: var(--bp-ledger-ink);
}

.bp-ledger-panel-heading p {
  max-width: 660px;
  margin: 0;
  color: #63748a;
}

.bp-audit-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.bp-audit-filter-grid label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.bp-audit-filter-grid label span {
  color: #516278;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-audit-filter-grid input,
.bp-audit-filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #cbd8e6;
  border-radius: 8px;
  background: #fff;
  color: #071a35;
  padding: 0.58rem 0.72rem;
}

.bp-audit-filter-grid input[type="date"] {
  min-width: 0;
}

.bp-audit-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.bp-ledger-timeline {
  display: grid;
  gap: 16px;
}

.bp-audit-log .bp-ledger-panel {
  gap: 14px;
}

.bp-audit-log .bp-ledger-timeline {
  gap: 16px;
}

.bp-audit-event-row {
  display: grid;
  grid-template-columns: minmax(128px, 150px) minmax(300px, 0.46fr) minmax(360px, 0.54fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #c5d4e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(14, 38, 70, 0.07), inset 5px 0 #8ea6c2;
}

.bp-audit-event-row.is-change {
  box-shadow: 0 10px 22px rgba(14, 38, 70, 0.07), inset 5px 0 #2f8b55;
}

.bp-audit-event-row.is-proof {
  box-shadow: 0 10px 22px rgba(14, 38, 70, 0.07), inset 5px 0 #2a6ecf;
}

.bp-audit-event-row.is-warning {
  box-shadow: 0 10px 22px rgba(14, 38, 70, 0.07), inset 5px 0 #bf4c1f;
}

.bp-audit-event-time {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 14px 14px 18px;
  background: #f1f5fa;
  border-right: 1px solid #d7e2ee;
  min-width: 0;
}

.bp-audit-event-time span {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9e3ee;
  color: #274869;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
  padding: 3px 8px;
  text-transform: uppercase;
}

.bp-audit-event-time time {
  color: #152f4f;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.bp-audit-event-main {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
}

.bp-audit-event-titleline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.bp-audit-event-titleline code {
  color: #49637f;
  font-size: 0.73rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.bp-audit-event-main h3 {
  margin: 0;
  color: var(--bp-ledger-ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.bp-audit-event-main p {
  margin: 0;
  color: #53657a;
  font-size: 0.86rem;
  line-height: 1.35;
}

.bp-audit-event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border-left: 1px solid #d7e2ee;
  background: #f8fbff;
}

.bp-audit-event-facts div {
  min-width: 0;
}

.bp-audit-event-facts div:nth-child(n + 3) {
  grid-column: 1 / -1;
}

.bp-audit-event-facts dt {
  color: #728197;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bp-audit-event-facts dd {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  margin: 2px 0 0;
  color: #142f4e;
  font-size: 0.82rem;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.bp-audit-event-facts dd span:not(.bp-audit-event-chip) {
  color: #64758a;
  font-size: 0.76rem;
}

.bp-audit-event-chip {
  display: inline-block;
  max-width: 100%;
  border-radius: 6px;
  background: #eef4fb;
  color: #183a5f;
  font-size: 0.74rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  padding: 2px 6px;
  white-space: normal;
}

.bp-audit-event-metadata {
  margin-top: 2px;
}

.bp-audit-event-metadata summary {
  padding: 6px 8px;
  font-size: 0.82rem;
}

.bp-audit-event-metadata code {
  padding: 0 8px 8px;
  font-size: 0.78rem;
}

.bp-ledger-event {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--bp-ledger-line);
  border-radius: 16px;
  background: #fff;
}

.bp-ledger-event-rail {
  display: grid;
  place-items: center;
  padding: 14px;
  background: #eef5fb;
  color: #073b76;
}

.bp-ledger-event-rail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 30px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bp-ledger-event.is-change .bp-ledger-event-rail {
  background: #effaf2;
  color: #176235;
}

.bp-ledger-event.is-proof .bp-ledger-event-rail {
  background: #eff6ff;
  color: #1d4ed8;
}

.bp-ledger-event.is-warning .bp-ledger-event-rail {
  background: #fff3ed;
  color: #9c2f14;
}

.bp-ledger-event-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.bp-ledger-event-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  flex-wrap: wrap;
}

.bp-ledger-event-title h3 {
  margin: 4px 0 0;
  color: var(--bp-ledger-ink);
  font-size: 1.02rem;
}

.bp-ledger-event-title code,
.bp-ledger-kv code,
.bp-ledger-metadata code,
.bp-revision-card code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.bp-ledger-event-body p {
  margin: 0;
  color: #53657a;
}

.bp-ledger-kv {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin: 0;
}

.bp-ledger-kv div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  background: #fbfdff;
}

.bp-ledger-kv dt {
  color: #728197;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bp-ledger-kv dd {
  margin: 3px 0 0;
  color: #142f4e;
  overflow-wrap: anywhere;
}

.bp-ledger-kv dd span {
  display: inline-flex;
  margin-left: 6px;
  color: #64758a;
  font-size: 0.8rem;
}

.bp-ledger-changes {
  display: grid;
  gap: 8px;
}

.bp-ledger-change-row,
.bp-revision-document-row {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  background: var(--bp-ledger-soft);
}

.bp-ledger-change-row span {
  width: fit-content;
  border-radius: 999px;
  background: #e8f1ff;
  color: #073b76;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 2px 8px;
  text-transform: uppercase;
}

.bp-ledger-change-row small,
.bp-revision-document-row small {
  color: #68788c;
  overflow-wrap: anywhere;
}

.bp-ledger-metadata {
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  background: #fbfdff;
}

.bp-ledger-metadata summary {
  cursor: pointer;
  color: #294b70;
  font-weight: 800;
  padding: 9px 10px;
}

.bp-ledger-metadata code {
  display: block;
  padding: 0 10px 10px;
}

.bp-revision-grid {
  display: grid;
  gap: 14px;
}

.bp-revision-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--bp-ledger-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 59, 118, 0.09), transparent 30%),
    #fff;
  padding: 16px;
}

.bp-revision-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  flex-wrap: wrap;
}

.bp-revision-card-header span {
  color: #61748b;
  font-weight: 850;
}

.bp-revision-card-header h3 {
  margin: 3px 0 0;
  color: var(--bp-ledger-ink);
}

.bp-revision-proof,
.bp-revision-documents {
  display: grid;
  gap: 9px;
}

.bp-revision-document-row {
  grid-template-columns: minmax(140px, 0.36fr) minmax(0, 1fr) minmax(120px, 0.22fr);
  align-items: center;
}

.bp-revision-document-row strong {
  color: #16365a;
}

@media (min-width: 768px) {
  .bp-ledger-state-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-ledger-kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bp-audit-filter-grid {
    grid-template-columns: 1fr;
  }

  .bp-audit-filter-actions {
    justify-content: stretch;
  }

  .bp-audit-filter-actions .bp-primary-button,
  .bp-audit-filter-actions .bp-secondary-button {
    flex: 1 1 0;
    justify-content: center;
  }

  .bp-ledger-event,
  .bp-revision-document-row {
    grid-template-columns: 1fr;
  }

  .bp-ledger-event-rail {
    place-items: start;
  }
}

@media (max-width: 980px) {
  .bp-audit-event-row {
    grid-template-columns: 1fr;
    gap: 0;
    box-shadow: 0 8px 18px rgba(14, 38, 70, 0.08), inset 4px 0 #8ea6c2;
  }

  .bp-audit-event-time {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid #d7e2ee;
    padding: 12px 14px 12px 18px;
  }

  .bp-audit-event-main {
    padding: 14px 16px;
  }

  .bp-audit-event-facts {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid #d7e2ee;
    padding: 14px 16px;
  }

  .bp-audit-event-titleline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .bp-audit-event-titleline code {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .bp-document-row,
  .bp-document-main-line {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .bp-readiness-hero {
    grid-template-columns: 1fr;
  }

  .bp-main-wide {
    max-width: min(100vw - 24px, 1760px);
  }

  .bp-console-split,
  .bp-local-edit-grid {
    grid-template-columns: 1fr;
  }

  .bp-local-edit-actions {
    grid-column: auto;
  }
}

@media (min-width: 768px) {
  .bp-header-inner {
    flex-wrap: nowrap;
  }

  .bp-search-form {
    flex-direction: row;
  }

  .bp-landing-search {
    flex-direction: column;
  }

  .bp-search-main-row {
    flex-direction: row;
  }

  .bp-search-main-row .bp-search-input-shell {
    flex: 1;
  }

  .bp-search-form input {
    flex: 1;
  }

  .bp-identity {
    display: block;
  }

  .bp-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-summary-grid {
    grid-template-columns: 1fr 320px;
  }

  .bp-summary-media-panel {
    display: block;
  }

  .bp-summary-qr-download {
    left: -126px;
    width: 110px;
  }

  .bp-report-hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bp-report-hero-media {
    grid-template-columns: minmax(220px, 330px) minmax(220px, 330px);
    grid-template-rows: auto;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
  }

  .bp-report-hero-media .bp-image-wrap {
    height: auto;
    min-height: 260px;
  }

  .bp-report-hero-cta {
    align-self: end;
  }

  .bp-conformance-hero,
  .bp-workflow-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .bp-readiness-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-evidence-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bp-evidence-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-conformance-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .bp-conformance-main-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  }

  .bp-evidence-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  }

  .bp-summary-section {
    grid-template-columns: 1fr;
  }

  .bp-two-column {
    grid-template-columns: 320px 1fr;
  }

  .bp-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-edit-grid {
    grid-template-columns: 220px 1fr;
  }

  .bp-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-span-2 {
    grid-column: span 2;
  }

  .bp-token-form-grid {
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.7fr);
  }

  .bp-token-clusters-field,
  .bp-token-form-grid .bp-checkbox-row,
  .bp-token-form-grid .bp-credential-actions {
    grid-column: span 2;
  }

  .bp-secret-form-grid {
    grid-template-columns: minmax(320px, 1fr) auto;
    align-items: end;
  }

  .bp-secret-form-grid .bp-credential-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .bp-field-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bp-report-hero-fields {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .bp-summary-section {
    grid-template-columns: 1fr;
  }

  .bp-readiness-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bp-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bp-edit-nav {
    position: sticky;
    top: 78px;
  }

  .bp-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-token-form-grid {
    grid-template-columns: minmax(260px, 1.1fr) minmax(180px, 0.65fr) minmax(280px, 1fr);
    align-items: start;
  }

  .bp-token-clusters-field {
    grid-column: auto;
    grid-row: span 2;
  }

  .bp-token-form-grid .bp-checkbox-row {
    grid-column: auto;
  }

  .bp-token-form-grid .bp-credential-actions {
    grid-column: 1 / 3;
  }
}

.bp-admin-page .bp-form-grid input,
.bp-admin-page .bp-form-grid select,
.bp-admin-page .bp-form-grid textarea {
  min-height: 36px;
  padding: 7px 10px;
}

.bp-admin-page .bp-stack-form input,
.bp-admin-page .bp-stack-form select,
.bp-admin-page .bp-stack-form textarea {
  min-height: 36px;
  padding: 7px 10px;
}

.bp-admin-page .bp-form-grid textarea {
  min-height: 82px;
}

.bp-admin-page .form-select.form-select-sm,
.bp-admin-page .form-control.form-control-sm {
  min-height: 34px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.bp-api-help-page {
  gap: 16px;
}

@media (min-width: 1180px) {
  .bp-report-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .bp-report-hero-media {
    grid-template-columns: minmax(220px, 330px);
    grid-template-rows: auto auto;
  }
}

.bp-help-page .bp-help-kv-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.bp-api-help-meta-strip {
  align-items: stretch;
}

.bp-api-help-meta-strip .bp-help-kv-grid {
  flex: 1 1 100%;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.bp-api-help-meta-strip .bp-help-kv-grid > div {
  min-width: 0;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 12px;
}

.bp-api-help-meta-strip code {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #18344f;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-help-stack {
  display: grid;
  gap: 16px;
}

.bp-help-tester-card {
  position: static;
}

.bp-api-help-section-card {
  overflow: hidden;
  padding: 0;
}

.bp-api-help-doc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--bp-border);
  background: #fff;
  padding: 14px 16px;
}

.bp-api-help-doc-heading h2 {
  margin: 2px 0 0;
  color: #10263d;
  font-size: 1.08rem;
}

.bp-api-help-search {
  max-width: 340px;
  min-height: 36px;
}

.bp-api-help-reference-console .bp-table-scroll {
  border-bottom: 1px solid var(--bp-border);
}

.bp-api-help-endpoint-table {
  min-width: 1040px;
  table-layout: fixed;
}

.bp-api-help-endpoint-table th:nth-child(1) {
  width: 96px;
}

.bp-api-help-endpoint-table th:nth-child(2) {
  width: 34%;
}

.bp-api-help-endpoint-table th:nth-child(3) {
  width: 132px;
}

.bp-api-help-endpoint-table th:nth-child(5) {
  width: 92px;
}

.bp-api-help-endpoint-table .bp-help-doc-item {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.bp-api-help-endpoint-table td:nth-child(4) {
  white-space: normal;
}

.bp-help-endpoint-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bp-help-endpoint-cell code {
  min-width: 0;
  overflow: hidden;
  color: #173554;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-help-endpoint-cell small {
  color: #617386;
  font-size: 0.76rem;
}

.bp-help-access-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid #d0dce9;
  border-radius: 999px;
  background: #f8fafc;
  color: #23415f;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0 10px;
}

.bp-help-detail-toggle.is-active {
  border-color: #2f6f88;
  background: #e9f2fb;
  color: #073b76;
}

.bp-api-help-selected-panel {
  background: #fbfdff;
  padding: 16px;
}

.bp-api-help-detail-row > td {
  background: #fbfdff;
  padding: 0 !important;
  white-space: normal !important;
}

.bp-api-help-selected-panel:focus {
  box-shadow: inset 0 0 0 3px rgba(42, 110, 207, 0.14);
  outline: 0;
}

.bp-help-detail-panel {
  display: grid;
  gap: 14px;
}

.bp-help-detail-panel[hidden] {
  display: none !important;
}

.bp-help-detail-panel h3 {
  margin: 3px 0 6px;
  color: #10263d;
  font-size: 1.04rem;
}

.bp-help-detail-panel p {
  max-width: 980px;
  margin: 0;
  color: #53657a;
  line-height: 1.5;
}

.bp-help-detail-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #53657a;
}

.bp-help-detail-panel li + li {
  margin-top: 5px;
}

.bp-help-code-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 12px;
  align-items: start;
}

.bp-help-doc-list {
  display: grid;
  gap: 10px;
}

.bp-api-help-section-card .bp-help-doc-list,
.bp-api-help-section-card > .bp-form-grid {
  padding: 14px 16px 16px;
}

.bp-help-sticky-id-field {
  color: #435568;
}

.bp-help-sticky-id-control {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bp-help-sticky-id-control input {
  min-width: 0;
  border-color: #b8c7d8;
  background: linear-gradient(90deg, #4f8ac9 0 4px, #fbfdff 4px);
  color: #243447;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.8rem;
}

.bp-help-sticky-id-control .bp-copy-id-button {
  inline-size: 36px;
  block-size: 36px;
  min-inline-size: 36px;
  border-radius: 8px;
  background: #fff;
}

.bp-api-help-section-card > .d-flex,
.bp-api-help-section-card > .mt-3 {
  margin-left: 16px;
  margin-right: 16px;
}

.bp-api-help-section-card > .mt-3:last-child {
  margin-bottom: 16px;
}

.bp-help-doc-item {
  border: 1px solid var(--bp-border);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.bp-help-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  margin-right: 6px;
}

.bp-help-pre {
  margin: 0;
  border-radius: 8px;
  border: 1px solid #dbe2ec;
  background: #f8fafc;
  color: #24374b;
  font-size: 0.84rem;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.bp-help-request-editor {
  min-height: 260px;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.45;
}

.bp-data-requirements-shell {
  display: grid;
  gap: 18px;
  border-color: #c8d8e8;
  background:
    radial-gradient(circle at 96% 0%, rgba(198, 146, 20, 0.16), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #eef5fb 100%);
}

.bp-data-requirements-hero {
  display: grid;
  gap: 16px;
  align-items: end;
}

.bp-data-requirements-hero h2 {
  margin: 4px 0 8px;
  color: #071a35;
}

.bp-data-requirements-hero p {
  max-width: 860px;
  color: #526174;
}

.bp-requirement-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bp-requirement-stats div {
  min-width: 110px;
  padding: 12px;
  border: 1px solid #d7e4f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.bp-requirement-stats span,
.bp-data-policy-meta span,
.bp-requirement-section-header span,
.bp-data-requirements-savebar span {
  color: #64748b;
  font-size: 0.85rem;
}

.bp-requirement-stats strong {
  display: block;
  color: #073b76;
  font-size: 1.55rem;
  line-height: 1;
}

.bp-data-policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-data-policy-meta span {
  padding: 7px 10px;
  border: 1px solid #dce7f2;
  border-radius: 999px;
  background: #fff;
}

.bp-data-requirements-form,
.bp-data-requirements-grid {
  display: grid;
  gap: 14px;
}

.bp-requirement-section-card {
  overflow: hidden;
  border: 1px solid #d7e4f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(7, 59, 118, 0.07);
}

.bp-requirement-section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #e5edf5;
  background:
    linear-gradient(135deg, rgba(238, 245, 251, 0.96), rgba(255, 255, 255, 0.92));
}

.bp-requirement-section-header h3 {
  margin: 2px 0 0;
  color: #071a35;
  font-size: 1.06rem;
}

.bp-requirement-section-count {
  min-width: 82px;
  text-align: right;
}

.bp-requirement-section-count strong {
  display: block;
  color: #073b76;
  font-size: 1.25rem;
}

.bp-requirement-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.bp-requirement-switch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 11px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: #fbfdff;
  cursor: pointer;
}

.bp-requirement-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bp-requirement-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.bp-requirement-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.22);
  transition: transform 0.18s ease;
}

.bp-requirement-switch input:checked + .bp-requirement-toggle {
  background: #073b76;
  box-shadow: inset 0 0 0 1px rgba(7, 59, 118, 0.2);
}

.bp-requirement-switch input:checked + .bp-requirement-toggle::after {
  transform: translateX(20px);
}

.bp-requirement-switch input:focus-visible + .bp-requirement-toggle {
  outline: 3px solid rgba(198, 146, 20, 0.36);
  outline-offset: 2px;
}

.bp-requirement-copy {
  display: grid;
  gap: 4px;
}

.bp-requirement-copy strong {
  color: #0c2745;
}

.bp-requirement-copy small {
  color: #64748b;
}

.bp-requirement-copy code {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: #073b76;
  background: #eef5fb;
  border: 1px solid #d9e6f2;
  border-radius: 7px;
  padding: 2px 6px;
  white-space: normal;
  word-break: break-word;
}

.bp-data-requirements-savebar {
  position: sticky;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #c5d7ea;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(7, 59, 118, 0.14);
}

.bp-data-requirements-savebar strong {
  display: block;
  color: #071a35;
}

.bp-admin-help-page {
  --bp-help-ink: #071a35;
  --bp-help-blue: #073b76;
  --bp-help-gold: #c69214;
  --bp-help-soft: #eef5fb;
  --bp-help-line: #d7e1ed;
  gap: 16px;
}

.bp-admin-help-page section[id] {
  scroll-margin-top: 96px;
}

.bp-admin-help-reference-console,
.bp-admin-help-status-console {
  overflow: hidden;
  padding: 0;
}

.bp-admin-help-reference-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
  border-bottom: 1px solid var(--bp-border);
  background: #fff;
  padding: 16px;
}

.bp-admin-help-reference-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bp-admin-help-reference-copy h2,
.bp-admin-help-section-heading h2,
.bp-admin-help-detail-copy h3 {
  margin: 0;
  color: var(--bp-help-ink);
}

.bp-admin-help-reference-copy h2 {
  font-size: 1.18rem;
}

.bp-admin-help-reference-copy p,
.bp-admin-help-detail-copy p,
.bp-admin-help-detail-card p {
  margin: 0;
  color: #53657a;
  line-height: 1.48;
}

.bp-admin-help-primary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.bp-admin-help-primary-actions .bp-primary-button,
.bp-admin-help-primary-actions .bp-secondary-button {
  min-height: 36px;
  white-space: nowrap;
}

.bp-admin-help-reference-toolbar .bp-admin-help-anchor-tabs {
  grid-column: 1 / -1;
  padding-top: 10px;
}

.bp-admin-help-workflow-table {
  min-width: 1160px;
  table-layout: fixed;
}

.bp-admin-help-workflow-table th:nth-child(1) {
  width: 240px;
}

.bp-admin-help-workflow-table th:nth-child(2) {
  width: 260px;
}

.bp-admin-help-workflow-table th:nth-child(3) {
  width: 210px;
}

.bp-admin-help-workflow-table th:nth-child(5) {
  width: 92px;
}

.bp-admin-help-workflow-table td:nth-child(2),
.bp-admin-help-workflow-table td:nth-child(4) {
  white-space: normal;
}

.bp-admin-help-workflow-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bp-admin-help-workflow-name strong {
  color: #10263d;
  font-size: 0.92rem;
}

.bp-admin-help-workflow-name small {
  color: #617386;
  font-size: 0.76rem;
  line-height: 1.25;
}

.bp-admin-help-detail-toggle.is-active {
  border-color: #2f6f88;
  background: #e9f2fb;
  color: #073b76;
}

.bp-admin-help-detail-toggle.is-active .bp-action-icon {
  transform: rotate(180deg);
}

.bp-admin-help-selected-panel {
  border-top: 1px solid var(--bp-border);
  background: #fbfdff;
  padding: 16px;
}

.bp-admin-help-detail-row > td {
  background: #fbfdff;
  padding: 0 !important;
  white-space: normal !important;
}

.bp-admin-help-selected-panel:focus {
  box-shadow: inset 0 0 0 3px rgba(42, 110, 207, 0.14);
  outline: 0;
}

.bp-admin-help-detail-panel {
  display: grid;
  gap: 14px;
}

.bp-admin-help-detail-panel[hidden] {
  display: none !important;
}

.bp-admin-help-detail-copy {
  display: grid;
  gap: 6px;
  max-width: 980px;
}

.bp-admin-help-detail-copy h3 {
  font-size: 1.04rem;
}

.bp-admin-help-detail-list {
  margin: 0;
  padding-left: 20px;
  color: #53657a;
}

.bp-admin-help-detail-list li + li {
  margin-top: 6px;
}

.bp-admin-help-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bp-admin-help-detail-card {
  display: grid;
  gap: 7px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
}

.bp-admin-help-detail-card h4 {
  margin: 0;
  color: #10263d;
  font-size: 0.95rem;
}

.bp-admin-help-status-console > .bp-admin-help-section-heading,
.bp-admin-help-ready-console > .bp-admin-help-section-heading {
  max-width: none;
  margin: 0;
  border-bottom: 1px solid var(--bp-border);
  padding: 16px;
}

.bp-admin-help-status-console > .bp-admin-help-section-heading p {
  max-width: 940px;
}

.bp-admin-help-policy-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  border-bottom: 1px solid var(--bp-border);
  background: #f8fafc;
  color: #53657a;
  padding: 12px 16px;
}

.bp-admin-help-policy-note > strong {
  color: #10263d;
}

.bp-admin-help-status-table {
  min-width: 980px;
  table-layout: fixed;
}

.bp-admin-help-status-table th:nth-child(1) {
  width: 180px;
}

.bp-admin-help-status-table th:nth-child(3) {
  width: 230px;
}

.bp-admin-help-status-table td:nth-child(2) {
  white-space: normal;
}

.bp-admin-help-ready-console {
  display: grid;
  gap: 0;
  padding: 0;
}

.bp-admin-help-ready-console .bp-admin-help-detail-grid {
  padding: 16px 16px 0;
}

.bp-admin-help-ready-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 16px 34px 18px;
  color: #53657a;
}

.bp-alert {
  border-radius: 8px;
  font-weight: 800;
  padding: 0.85rem 1rem;
}

.bp-alert-success {
  border: 1px solid #b7e2c7;
  background: #effaf2;
  color: #176235;
}

.bp-alert-danger {
  border: 1px solid #f1b5a8;
  background: #fff3ed;
  color: #9c2f14;
}

.bp-admin-help-demo-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.bp-admin-help-demo-reset p {
  color: #5f7087;
  margin: 0.35rem 0 0;
}

.bp-admin-help-start-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
}

.bp-admin-help-start-copy {
  display: grid;
  gap: 8px;
  max-width: 940px;
}

.bp-admin-help-start-copy h2 {
  margin: 0;
  color: var(--bp-help-ink);
  font-size: 1.34rem;
}

.bp-admin-help-start-copy p {
  max-width: 800px;
  margin: 0;
  color: #506176;
  line-height: 1.56;
}

.bp-admin-help-start-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-admin-help-start-actions .bp-primary-button,
.bp-admin-help-start-actions .bp-secondary-button {
  min-height: 38px;
  white-space: nowrap;
}

.bp-admin-help-workflow-strip {
  display: grid;
  grid-template-columns: minmax(360px, 1.3fr) repeat(4, minmax(150px, 0.65fr));
  gap: 12px;
  align-items: stretch;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.bp-admin-help-workflow-copy {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.bp-admin-help-workflow-copy h2 {
  margin: 0;
  color: var(--bp-help-ink);
  font-size: 1.35rem;
}

.bp-admin-help-workflow-copy p {
  max-width: 720px;
  margin: 0;
  color: #5a6b7e;
  line-height: 1.5;
}

.bp-admin-help-workflow-strip .bp-admin-help-actions {
  margin-top: 6px;
}

.bp-admin-help-workflow-card {
  display: grid;
  gap: 5px;
  align-content: start;
  min-height: 104px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.bp-admin-help-workflow-card strong {
  color: #10263d;
}

.bp-admin-help-workflow-card small {
  color: #617386;
  line-height: 1.4;
}

.bp-admin-help-workflow-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.bp-admin-help-workflow-console .bp-admin-help-workflow-copy {
  gap: 5px;
}

.bp-admin-help-workflow-console .bp-admin-help-workflow-copy h2 {
  font-size: 1.16rem;
}

.bp-admin-help-workflow-console .bp-admin-help-workflow-copy p {
  max-width: 900px;
  font-size: 0.92rem;
  line-height: 1.42;
}

.bp-admin-help-workflow-actions {
  margin-top: 6px;
}

.bp-admin-help-workflow-actions .bp-primary-button,
.bp-admin-help-workflow-actions .bp-secondary-button {
  min-height: 36px;
  padding-inline: 12px;
}

.bp-admin-help-workflow-chip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.bp-admin-help-workflow-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
}

.bp-admin-help-workflow-chip span {
  grid-row: 1 / span 2;
  display: inline-flex;
  inline-size: 28px;
  block-size: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #e8f1fb;
  color: #073b76;
  font-size: 0.72rem;
  font-weight: 900;
}

.bp-admin-help-workflow-chip strong {
  min-width: 0;
  color: #10263d;
  font-size: 0.88rem;
  line-height: 1.1;
}

.bp-admin-help-workflow-chip small {
  min-width: 0;
  overflow: hidden;
  color: #617386;
  font-size: 0.76rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bp-admin-help-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  color: #fff;
  border-color: #0b315f;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px),
    radial-gradient(circle at 88% 8%, rgba(198, 146, 20, 0.34), transparent 28%),
    linear-gradient(135deg, #041e42 0%, #0b3769 58%, #16202f 100%);
  box-shadow: 0 18px 36px rgba(4, 30, 66, 0.16);
}

.bp-admin-help-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -74px;
  bottom: -96px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.bp-admin-help-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.bp-admin-help-hero .bp-summary-title,
.bp-admin-help-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.bp-admin-help-hero h1 {
  max-width: 880px;
  margin: 6px 0 10px;
  color: #fff;
}

.bp-admin-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.bp-admin-help-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.bp-admin-help-hero-panel h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.1rem;
}

.bp-admin-help-trust-chip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.bp-admin-help-trust-chip strong {
  color: #fff;
}

.bp-admin-help-trust-chip small {
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.bp-admin-help-task-strip {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #cddbea;
  border-radius: 8px;
  background: #fff;
}

.bp-admin-help-task-intro h2 {
  margin: 4px 0 0;
  color: var(--bp-help-ink);
  font-size: 1.12rem;
}

.bp-admin-help-task-card {
  display: grid;
  gap: 4px;
  min-height: 104px;
  align-content: start;
  padding: 12px;
  border: 1px solid #d8e5f1;
  border-radius: 8px;
  color: #0b2b4d;
  background: #f8fafc;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.bp-admin-help-task-card:hover,
.bp-admin-help-task-card:focus-visible {
  color: #06264a;
  border-color: #abc4dd;
  background: #fff;
}

.bp-admin-help-task-card span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #08325f;
  background: #e9f2fb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-admin-help-task-card strong {
  font-size: 1rem;
}

.bp-admin-help-task-card small {
  color: #5b6b7d;
  line-height: 1.4;
}

.bp-admin-help-action-console {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.bp-admin-help-action-heading {
  flex: 0 0 260px;
  min-width: 220px;
}

.bp-admin-help-action-heading h2 {
  margin: 3px 0 0;
  color: var(--bp-help-ink);
  font-size: 1.04rem;
}

.bp-admin-help-action-pills {
  flex: 1 1 auto;
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 1px 0 3px;
  scrollbar-width: thin;
}

.bp-admin-help-action-pill {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-inline-size: 170px;
  min-block-size: 48px;
  border: 1px solid #d8e5f1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0b2b4d;
  padding: 7px 10px;
  text-decoration: none;
}

.bp-admin-help-action-pill:hover,
.bp-admin-help-action-pill:focus-visible {
  border-color: #9ab4cf;
  background: #fff;
  color: #052d59;
  text-decoration: none;
}

.bp-admin-help-action-pill span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 60px;
  border-radius: 6px;
  background: #e9f2fb;
  color: #08325f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 5px 7px;
  text-transform: uppercase;
}

.bp-admin-help-action-pill strong {
  color: #10263d;
  font-size: 0.88rem;
  line-height: 1.1;
  white-space: nowrap;
}

.bp-admin-help-action-pill small {
  color: #617386;
  font-size: 0.75rem;
  line-height: 1.15;
  white-space: nowrap;
}

.bp-admin-help-overview {
  display: grid;
  gap: 18px;
  align-items: start;
}

.bp-admin-help-navigation-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.bp-admin-help-navigation-copy {
  display: grid;
  gap: 6px;
  max-width: 900px;
}

.bp-admin-help-navigation-copy h2,
.bp-admin-help-lifecycle-copy h2 {
  margin: 0;
  color: var(--bp-help-ink);
  font-size: 1.16rem;
}

.bp-admin-help-navigation-copy p,
.bp-admin-help-lifecycle-copy p {
  margin: 0;
  color: #5a6b7e;
  line-height: 1.5;
}

.bp-admin-help-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.bp-admin-help-link-list a {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #d8e5f1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0b2b4d;
  padding: 13px 14px;
  text-decoration: none;
}

.bp-admin-help-link-list a:hover,
.bp-admin-help-link-list a:focus-visible {
  border-color: #9ab4cf;
  background: #fff;
  color: #052d59;
}

.bp-admin-help-link-list strong {
  color: #10263d;
  font-size: 0.95rem;
}

.bp-admin-help-link-list small {
  color: #617386;
  line-height: 1.35;
}

.bp-admin-help-anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}

.bp-admin-help-anchor-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #d9e6f2;
  border-radius: 8px;
  background: #fff;
  color: #163b63;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0 12px;
  text-decoration: none;
}

.bp-admin-help-anchor-tabs a:hover,
.bp-admin-help-anchor-tabs a:focus-visible {
  border-color: #9ab4cf;
  background: #f8fafc;
  color: #052d59;
}

.bp-admin-help-lifecycle-guide {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 20px;
}

.bp-admin-help-lifecycle-copy {
  display: grid;
  gap: 7px;
}

.bp-admin-help-lifecycle-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-admin-help-lifecycle-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid #d7e1ed;
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px 14px;
}

.bp-admin-help-lifecycle-list span {
  display: inline-flex;
  inline-size: 38px;
  block-size: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #073b76;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

.bp-admin-help-lifecycle-list div {
  min-width: 0;
}

.bp-admin-help-lifecycle-list strong {
  display: block;
  color: var(--bp-help-ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.bp-admin-help-lifecycle-list small {
  display: block;
  margin-top: 4px;
  color: #57687b;
  line-height: 1.42;
}

.bp-admin-help-maintenance-reset {
  display: block;
  padding: 0;
}

.bp-admin-help-maintenance-reset summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
}

.bp-admin-help-maintenance-reset summary::-webkit-details-marker {
  display: none;
}

.bp-admin-help-maintenance-reset summary::after {
  grid-row: 1 / span 3;
  grid-column: 2;
  content: "Show";
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  color: #405367;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 10px;
}

.bp-admin-help-maintenance-reset[open] summary::after {
  content: "Hide";
}

.bp-admin-help-maintenance-reset summary strong {
  color: var(--bp-help-ink);
}

.bp-admin-help-maintenance-reset summary small {
  color: #617386;
}

.bp-admin-help-maintenance-body {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #edf2f7;
  padding: 14px 16px 16px;
}

.bp-admin-help-maintenance-body p {
  max-width: 900px;
  margin: 0;
  color: #5f7087;
  line-height: 1.48;
}

.bp-admin-help-maintenance-body form {
  margin: 0;
}

.bp-admin-help-quicknav {
  position: sticky;
  top: 84px;
  z-index: 1;
  display: grid;
  gap: 10px;
  border-color: #bfd0e2;
  background: #fff;
}

.bp-admin-help-quicknav strong {
  color: var(--bp-help-ink);
  font-size: 1rem;
}

.bp-admin-help-quicknav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d9e6f2;
  border-radius: 8px;
  color: #163b63;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.bp-admin-help-quicknav a::after {
  content: "Go";
  color: #697b8f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-admin-help-quicknav a:hover,
.bp-admin-help-quicknav a:focus-visible {
  border-color: #9ab4cf;
  color: #052d59;
  background: #f8fafc;
}

.bp-admin-help-lifecycle {
  display: grid;
  gap: 12px;
}

.bp-admin-help-lifecycle article {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--bp-help-line);
  border-radius: 8px;
  background: #fff;
}

.bp-admin-help-lifecycle article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--bp-help-blue), var(--bp-help-gold));
}

.bp-admin-help-lifecycle span {
  display: inline-flex;
  width: 36px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #fff;
  background: #082d59;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.bp-admin-help-lifecycle strong {
  display: block;
  color: var(--bp-help-ink);
  font-size: 1.03rem;
}

.bp-admin-help-lifecycle small {
  display: block;
  margin-top: 5px;
  color: #57687b;
  line-height: 1.45;
}

.bp-admin-help-map-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.bp-admin-help-map-heading {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  min-width: 190px;
}

.bp-admin-help-map-heading strong {
  color: var(--bp-help-ink);
  font-size: 0.98rem;
}

.bp-admin-help-map-tab-row {
  flex: 1 1 auto;
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bp-admin-help-map-tab-row a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #d9e6f2;
  border-radius: 8px;
  background: #f8fafc;
  color: #163b63;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

.bp-admin-help-map-tab-row a:hover,
.bp-admin-help-map-tab-row a:focus-visible {
  border-color: #9ab4cf;
  background: #fff;
  color: #052d59;
}

.bp-admin-help-lifecycle-console {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.bp-admin-help-lifecycle-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.bp-admin-help-lifecycle-heading h2 {
  margin: 0;
  color: var(--bp-help-ink);
  font-size: 1.04rem;
}

.bp-admin-help-lifecycle-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-admin-help-lifecycle-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  align-items: start;
  border: 1px solid #d7e1ed;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.bp-admin-help-lifecycle-step span {
  display: inline-flex;
  inline-size: 32px;
  block-size: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #073b76;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.bp-admin-help-lifecycle-step div {
  min-width: 0;
}

.bp-admin-help-lifecycle-step strong {
  display: block;
  color: var(--bp-help-ink);
  font-size: 0.93rem;
  line-height: 1.15;
}

.bp-admin-help-lifecycle-step small {
  display: block;
  margin-top: 3px;
  color: #57687b;
  font-size: 0.8rem;
  line-height: 1.32;
}

.bp-admin-help-grid {
  display: grid;
  gap: 16px;
}

.bp-admin-help-callout {
  border-top: 4px solid var(--bp-help-blue);
  background: #fff;
}

.bp-admin-help-callout.is-warning {
  border-top-color: var(--bp-help-gold);
}

.bp-admin-help-policy-link {
  border-top-color: #0f766e;
  background: #fff;
}

.bp-admin-help-policy-link code {
  color: #0f4f4a;
  background: #e8f6f3;
  border: 1px solid #cbe8e2;
  border-radius: 6px;
  padding: 1px 5px;
}

.bp-admin-help-callout h2,
.bp-admin-help-section-heading h2,
.bp-admin-help-checklist h2 {
  margin: 4px 0 8px;
}

.bp-admin-help-callout ul,
.bp-admin-help-checklist ul,
.bp-admin-help-required-grid ul {
  margin: 0;
  padding-left: 18px;
}

.bp-admin-help-callout li,
.bp-admin-help-checklist li,
.bp-admin-help-required-grid li {
  margin: 8px 0;
}

.bp-admin-help-section-heading {
  max-width: 860px;
  margin-bottom: 16px;
}

.bp-admin-help-section-heading p {
  color: var(--bp-muted);
  margin-bottom: 0;
}

.bp-admin-help-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-admin-help-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #d7e1ed;
  border-radius: 8px;
  background: #fff;
}

.bp-admin-help-step-card::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 62px;
  bottom: -22px;
  width: 2px;
  background: #dbe7f3;
}

.bp-admin-help-steps > .bp-admin-help-step-card:last-child::after {
  display: none;
}

.bp-admin-help-step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--bp-help-blue);
  font-weight: 800;
}

.bp-admin-help-step-copy {
  min-width: 0;
}

.bp-admin-help-steps h3 {
  margin: 0 0 8px;
  color: var(--bp-help-ink);
}

.bp-admin-help-steps p {
  color: #516176;
}

.bp-admin-help-required-grid {
  display: grid;
  gap: 14px;
  margin: 14px 0;
}

.bp-admin-help-required-grid > div {
  border: 1px solid #dce5ef;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.bp-admin-help-required-grid h4 {
  margin: 0 0 10px;
  color: var(--bp-help-ink);
}

.bp-admin-help-split-checklists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.bp-admin-help-check-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid rgba(15, 42, 73, 0.09);
}

.bp-admin-help-check-card h4 {
  margin: 0;
  color: #071d33;
}

.bp-admin-help-check-card ol {
  margin: 0;
  padding-left: 1.2rem;
}

.bp-admin-help-check-card li + li {
  margin-top: 0.35rem;
}

.bp-admin-help-parameter-guide {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #c8d8e8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(198, 146, 20, 0.16), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.bp-admin-help-mini-heading {
  max-width: 920px;
  margin-bottom: 14px;
}

.bp-admin-help-mini-heading h4 {
  margin: 4px 0 6px;
  color: var(--bp-help-ink);
}

.bp-admin-help-mini-heading p {
  margin: 0;
  color: #5c6b7d;
}

.bp-admin-help-parameter-grid {
  display: grid;
  gap: 12px;
}

.bp-admin-help-parameter-grid article {
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(7, 59, 118, 0.06);
}

.bp-admin-help-parameter-grid h5 {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #06315f;
  background: #e6f0fa;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.bp-admin-help-parameter-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bp-admin-help-parameter-list li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fbfdff;
}

.bp-admin-help-parameter-list strong {
  color: #0c2745;
}

.bp-admin-help-parameter-list span {
  color: #5a6878;
  font-size: 0.92rem;
}

.bp-admin-help-parameter-list code {
  color: #073b76;
  background: #eef5fb;
  border: 1px solid #d9e6f2;
  border-radius: 6px;
  padding: 1px 5px;
  white-space: normal;
  word-break: break-word;
}

.bp-admin-help-state-grid {
  display: grid;
  gap: 12px;
}

.bp-admin-help-state-grid article {
  border: 1px solid #d7e1ed;
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.bp-admin-help-state-grid h3 {
  margin: 0 0 8px;
  color: var(--bp-help-blue);
}

.bp-admin-help-state-grid p {
  margin: 0;
  color: #54657a;
}

.bp-admin-help-checklist {
  display: grid;
  gap: 14px;
  border-color: #c9d8e8;
  background: #fff;
}

.bp-span-all {
  grid-column: 1 / -1;
}

.bp-product-template-hero,
.bp-product-editor-hero,
.bp-product-editor-savebar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.bp-product-template-hero,
.bp-product-editor-hero {
  border-color: #d8e1ea;
  background: #fff;
}

.bp-product-template-hero h2 {
  margin: 4px 0 10px;
}

.bp-product-template-hero p {
  max-width: 980px;
  color: #506176;
  line-height: 1.55;
}

.bp-product-template-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 290px;
}

.bp-product-template-actions form {
  margin: 0;
}

.bp-product-template-grid,
.bp-product-editor-grid {
  display: grid;
  gap: 20px;
}

.bp-product-editor-form {
  display: block;
}

.bp-product-editor-workspace {
  display: grid;
  gap: 20px;
  align-items: start;
}

.bp-product-editor-content {
  min-width: 0;
}

.bp-product-editor-grid {
  align-items: start;
}

.bp-product-template-card {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
}

.bp-product-template-card-media,
.bp-product-editor-preview {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(218, 235, 229, 0.74));
  border: 1px solid rgba(18, 58, 74, 0.1);
}

.bp-product-template-card-media img,
.bp-product-editor-preview img {
  width: min(100%, 180px);
  max-height: 130px;
  object-fit: contain;
}

.bp-product-template-card-body {
  display: grid;
  gap: 12px;
}

.bp-product-template-card-body h3,
.bp-product-editor-section h2 {
  margin: 0;
  color: #071d33;
}

.bp-product-template-card-body p {
  margin: 0;
  color: #5b6b7f;
}

.bp-product-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 4px;
}

.bp-product-section-heading h2 {
  margin-bottom: 6px;
}

.bp-product-template-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.bp-product-template-meta div {
  border: 1px solid #dbe7ec;
  border-radius: 14px;
  padding: 10px;
  background: #fbfefd;
}

.bp-product-template-meta dt {
  color: #66778a;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bp-product-template-meta dd {
  margin: 0;
  color: #06223b;
  font-weight: 800;
}

.bp-template-sync-note {
  max-width: 780px;
  margin: 2px 0 18px;
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.55;
}

.bp-product-editor-preview {
  width: 180px;
  min-height: 126px;
  padding: 14px;
}

.bp-product-editor-grid {
  grid-template-columns: minmax(0, 1fr);
}

.bp-product-editor-section {
  display: grid;
  gap: 18px;
  align-content: start;
}

.bp-product-editor-section .bp-field-shell {
  align-content: start;
}

.bp-product-editor-section .bp-field-shell > span {
  min-height: 1.35rem;
}

.bp-product-editor-section .bp-field-shell input,
.bp-product-editor-section .bp-field-shell select,
.bp-product-editor-section .bp-field-shell textarea {
  box-sizing: border-box;
  border-color: #d7e2ec;
  border-radius: 13px;
  background: #fbfdff;
  box-shadow: 0 1px 0 rgba(8, 35, 63, 0.02);
}

.bp-product-editor-section .bp-field-shell input:focus,
.bp-product-editor-section .bp-field-shell select:focus,
.bp-product-editor-section .bp-field-shell textarea:focus {
  border-color: #8eb5d9;
  outline: 3px solid rgba(54, 117, 181, 0.12);
}

.bp-product-editor-section .bp-field-shell input[readonly] {
  background: #f8fafc;
  color: #0c253d;
}

.bp-template-version-list {
  display: grid;
  gap: 10px;
}

.bp-product-version-console {
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.bp-product-version-console-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.bp-product-version-console-header h2 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.bp-product-version-console .bp-button-compact {
  min-height: 38px;
  padding: 7px 12px;
  white-space: nowrap;
}

.bp-product-version-tab-rail {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: thin;
}

.bp-product-version-chip-rail {
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 14px;
}

.bp-product-version-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100%, 280px);
  min-width: 220px;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #e0e9f1;
  border-left-width: 4px;
  border-radius: 12px;
  background: #fbfdff;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.bp-product-version-tab.is-active {
  border-color: #8eb5d9;
  border-left-color: var(--bp-primary);
  background: #fff;
  box-shadow: 0 8px 18px rgba(8, 35, 63, 0.08);
}

.bp-product-version-tab:hover {
  border-color: #b6ccde;
  background: #fff;
}

.bp-product-version-tab-main {
  display: grid;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0c253d;
  text-align: left;
}

.bp-product-version-tab-main span,
.bp-product-version-tab-input span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bp-product-version-tab-main strong {
  color: #06223b;
  font-size: 1.08rem;
}

.bp-product-version-tab small {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.bp-product-version-chip-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid #d5dee8;
  border-radius: 999px;
  background: #f8fafc;
  color: #405367;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  white-space: nowrap;
}

.bp-product-version-tab.is-active .bp-product-version-chip-pill {
  border-color: #b9dfcc;
  background: #ecfdf3;
  color: #166534;
}

.bp-product-version-tab-main:focus-visible {
  border-radius: 10px;
  outline: 3px solid rgba(54, 117, 181, 0.16);
  outline-offset: 4px;
}

.bp-product-version-tab-input {
  display: none;
  gap: 6px;
  margin: 0;
}

.bp-product-version-tab.is-saved-version .bp-product-version-tab-input {
  display: none;
}

.bp-product-version-tab-input input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  box-sizing: border-box;
  border: 1px solid #d7e2ec;
  border-radius: 11px;
  background: #fbfdff;
  color: #0c253d;
  font: inherit;
  padding: 7px 9px;
}

.bp-product-version-tab-input input[readonly] {
  background: #f8fafc;
}

.bp-product-version-selected-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(340px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.bp-product-version-selected-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bp-product-version-selected-field span {
  color: #405367;
  font-size: 0.78rem;
  font-weight: 800;
}

.bp-product-version-selected-meta {
  display: grid;
  gap: 5px;
  color: #64748b;
  line-height: 1.4;
}

.bp-product-version-selected-meta strong {
  color: #10263d;
}

.bp-product-version-selected-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bp-product-version-editor-shell {
  grid-column: 1 / -1;
}

.bp-template-document-list {
  display: grid;
  gap: 10px;
}

.bp-template-document-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e3ebf2;
  border-radius: 14px;
  background: #fff;
}

.bp-template-document-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bp-template-document-row strong {
  color: #0c253d;
}

.bp-template-document-row span {
  color: #64748b;
}

.bp-template-document-row code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #334155;
}

.bp-template-document-visibility {
  justify-self: end;
  padding: 5px 9px;
  border: 1px solid #dbe7ec;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: capitalize;
}

.bp-template-version-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) repeat(2, minmax(128px, 1fr)) auto;
  gap: 10px 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #e3ebf2;
  border-radius: 16px;
  background: #fff;
}

.bp-template-version-row .bp-field-shell {
  min-width: 0;
}

.bp-template-version-row input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid #d7e2ec;
  border-radius: 12px;
  background: #fbfdff;
  color: #0c253d;
  font: inherit;
  padding: 8px 10px;
  box-shadow: 0 1px 0 rgba(8, 35, 63, 0.02);
}

.bp-template-version-row input[readonly] {
  background: #f8fafc;
}

.bp-template-version-row .bp-icon-only-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
}

.bp-template-version-row .bp-icon-only-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-template-version-row input:focus {
  border-color: #8eb5d9;
  outline: 3px solid rgba(54, 117, 181, 0.12);
}

.bp-product-version-current {
  min-width: 0;
}

.bp-version-field-compact {
  max-width: 220px;
  margin: 0;
}

.bp-version-field-compact input,
.bp-version-field-compact select {
  min-height: 42px;
}

.bp-template-version-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #eef3f7;
}

.bp-template-version-action .bp-secondary-button,
.bp-template-version-action .bp-danger-button {
  white-space: nowrap;
}

.bp-product-editor-savebar {
  position: sticky;
  bottom: 16px;
  z-index: 2;
  padding: 14px 18px;
  border: 1px solid #b9d5c9;
  border-radius: 20px;
  background: rgba(249, 253, 251, 0.96);
  box-shadow: 0 16px 42px rgba(9, 47, 61, 0.13);
}

.bp-product-editor-savebar span {
  display: block;
  color: #5e6e7f;
}

.bp-report-action {
  position: relative;
  inline-size: 2.35rem;
  block-size: 2.35rem;
  min-inline-size: 2.35rem;
  min-block-size: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9fb1c5;
  border-radius: 8px;
  background: #fff;
  color: #163b5c;
  vertical-align: middle;
  box-shadow: 0 4px 13px rgba(15, 35, 55, 0.08);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.bp-report-action:hover {
  border-color: #2f6f88;
  color: #0b5f78;
  background: #f4fafc;
  box-shadow: 0 8px 20px rgba(15, 35, 55, 0.13);
  transform: translateY(-1px);
  text-decoration: none;
}

.bp-report-action-prominent {
  border-color: #7fa4ba;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(47, 111, 136, 0.08), 0 8px 18px rgba(15, 35, 55, 0.12);
}

.bp-report-action-prominent::before {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(47, 111, 136, 0.18);
  border-radius: 12px;
  content: "";
  pointer-events: none;
}

.bp-report-action-icon {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-report-action::after {
  position: absolute;
  top: calc(-100% - 10px);
  left: 50%;
  z-index: 6;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  content: attr(data-tooltip);
  border: 1px solid #c8d2df;
  border-radius: 6px;
  background: #fff;
  color: #1f2f3f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.bp-report-action:hover::after,
.bp-report-action:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bp-confirm-modal[hidden] {
  display: none;
}

.bp-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
}

.bp-confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
}

.bp-confirm-modal-panel {
  position: relative;
  inline-size: min(440px, 100%);
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  padding: 22px;
}

.bp-confirm-modal-panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.bp-confirm-message {
  color: #46586a;
  margin-bottom: 18px;
}

.bp-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.bp-generated-token-modal[hidden] {
  display: none;
}

.bp-generated-token-modal {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: grid;
  place-items: center;
  padding: 20px;
}

.bp-generated-token-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}

.bp-generated-token-panel {
  position: relative;
  inline-size: min(560px, 100%);
  border: 1px solid #cbd7e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
  padding: 24px;
}

.bp-generated-token-panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.bp-generated-token-copy {
  margin: 0 0 14px;
  color: #46586a;
}

.bp-generated-token-value {
  display: block;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #f6f8fb;
  color: #102033;
  padding: 12px;
}

.bp-generated-token-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.bp-management-shell {
  display: grid;
  gap: 18px;
}

.bp-field-shell.is-policy-locked {
  opacity: 0.72;
}

.bp-field-shell.is-policy-locked input:not([type="hidden"]),
.bp-field-shell.is-policy-locked select,
.bp-field-shell.is-policy-locked textarea {
  background: #eef2f6;
  border-color: #cbd7e4;
  color: #5c6c7d;
  cursor: not-allowed;
}

.bp-field-shell.is-policy-locked .bp-field-help::after {
  content: " Locked by editable fields policy.";
  color: #6c7a89;
  font-weight: 700;
}

.bp-local-trust-workflow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.bp-local-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bp-local-trust-actions form {
  margin: 0;
}

@media (max-width: 780px) {
  .bp-local-trust-workflow {
    align-items: stretch;
    flex-direction: column;
  }

  .bp-local-trust-actions {
    justify-content: flex-start;
  }
}

.bp-management-create-card {
  display: grid;
  gap: 18px;
}

.bp-cluster-create-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.bp-cluster-create-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.85fr) auto;
  gap: 12px;
  align-items: end;
}

.bp-cluster-management-table {
  min-width: 1120px;
}

.bp-cluster-management-table .bp-cluster-name {
  margin: 0 0 3px;
  color: var(--bp-text);
  font-weight: 800;
}

.bp-cluster-user-toggle {
  inline-size: auto;
  min-inline-size: 0;
  padding: 0 8px;
  gap: 6px;
}

.bp-cluster-user-toggle[aria-expanded="true"] .bp-action-icon {
  transform: rotate(180deg);
}

.bp-cluster-user-drawer-row td {
  background: #fbfdff;
  white-space: normal;
}

.bp-cluster-user-drawer {
  display: grid;
  gap: 12px;
  padding: 10px 4px;
}

.bp-cluster-user-drawer h3 {
  margin: 0;
  color: var(--bp-text);
  font-size: 0.96rem;
  font-weight: 650;
}

.bp-cluster-user-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}

.bp-cluster-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #d6e1ec;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
}

.bp-cluster-user-row span:first-child {
  display: grid;
  min-width: 0;
}

.bp-cluster-user-row strong,
.bp-cluster-user-row code {
  overflow-wrap: anywhere;
}

.bp-cluster-rename-form,
.bp-cluster-danger-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.bp-cluster-rename-form .form-control {
  min-width: 250px;
}

.bp-cluster-danger-form .form-control {
  min-width: 330px;
}

.bp-cluster-delete-form {
  margin: 0;
}

@media (max-width: 900px) {
  .bp-cluster-create-strip,
  .bp-cluster-create-form {
    grid-template-columns: 1fr;
  }
}

.bp-user-create-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(220px, 0.95fr) minmax(230px, 1fr) minmax(230px, 1fr) minmax(190px, 0.85fr) auto;
  gap: 12px;
  align-items: end;
}

.bp-session-timeout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 18px;
  align-items: end;
}

.bp-session-timeout-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.bp-session-timeout-form label {
  display: grid;
  gap: 6px;
  color: var(--bp-text);
  font-weight: 650;
}

.bp-user-management-table {
  min-width: 1160px;
}

.bp-user-name-cell strong {
  color: var(--bp-text);
  font-weight: 750;
}

.bp-user-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d6e1ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0 10px;
}

.bp-user-drawer-toggle[aria-expanded="true"] .bp-action-icon {
  transform: rotate(180deg);
}

.bp-user-drawer-row td {
  background: #fbfdff;
  white-space: normal;
}

.bp-user-drawer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1fr) minmax(300px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.bp-user-drawer-panel {
  display: grid;
  gap: 10px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.bp-user-drawer-panel h3 {
  margin: 0;
  color: var(--bp-text);
  font-size: 0.96rem;
  font-weight: 650;
}

.bp-user-profile-form,
.bp-user-password-form {
  display: grid;
  gap: 10px;
}

.bp-user-drawer-panel label {
  display: grid;
  gap: 5px;
  color: #526477;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bp-user-drawer-panel input,
.bp-user-drawer-panel select {
  font-weight: 400;
  text-transform: none;
}

.bp-user-access-note {
  border-left: 3px solid #d7e5f2;
  margin: 0;
  background: #f7fafc;
  color: #526477;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
  padding: 8px 10px;
}

.bp-user-drawer-actions {
  display: flex;
  justify-content: flex-end;
}

.bp-user-membership-list {
  display: grid;
  gap: 8px;
}

.bp-user-membership-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #d6e1ec;
  border-radius: 999px;
  background: #f8fafc;
  margin: 0;
  min-height: 30px;
  padding: 2px 4px 2px 10px;
}

.bp-user-membership-name {
  overflow-wrap: anywhere;
  color: #0f253d;
  font-size: 0.86rem;
  font-weight: 600;
}

.bp-user-membership-role {
  color: #526477;
  font-size: 0.82rem;
  font-weight: 400;
}

.bp-user-membership-row .bp-icon-button {
  inline-size: 1.65rem;
  block-size: 1.65rem;
  min-inline-size: 1.65rem;
  min-block-size: 1.65rem;
  border-radius: 999px;
  box-shadow: none;
}

.bp-user-membership-row .bp-action-icon {
  inline-size: 0.95rem;
  block-size: 0.95rem;
}

.bp-user-membership-add-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.85fr) max-content;
  gap: 10px;
  align-items: end;
  border-top: 1px solid #e8eef5;
  margin-top: 14px;
  padding-top: 13px;
}

.bp-user-membership-add-row .bp-primary-button {
  min-width: 84px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .bp-user-create-strip,
  .bp-user-drawer-grid,
  .bp-user-membership-add-row {
    grid-template-columns: 1fr;
  }
}

.bp-inline-form-grid,
.bp-user-form-grid,
.bp-token-create-grid,
.bp-membership-edit-form,
.bp-force-delete-form {
  display: grid;
  gap: 12px;
  align-items: end;
}

.bp-inline-form-grid label,
.bp-user-form-grid label,
.bp-token-create-grid label,
.bp-membership-edit-form label,
.bp-force-delete-form label {
  display: grid;
  gap: 6px;
  color: #405367;
  font-size: 0.9rem;
  font-weight: 700;
}

.bp-cluster-create-form label {
  display: grid;
  gap: 6px;
  color: #405367;
  font-size: 0.9rem;
  font-weight: 700;
}

.bp-cluster-management-list,
.bp-user-management-list {
  display: grid;
  gap: 12px;
}

.bp-management-card {
  display: grid;
  gap: 16px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.bp-management-card-main,
.bp-user-card {
  display: grid;
  gap: 16px;
}

.bp-management-card-title h3,
.bp-user-card-identity h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.bp-management-card-title code,
.bp-user-card-identity p,
.bp-membership-row span,
.bp-cluster-picker small {
  color: #617386;
}

.bp-management-edit-form {
  grid-template-columns: minmax(220px, 1fr) auto;
}

.bp-management-danger-zone {
  display: grid;
  gap: 10px;
  border-left: 3px solid #e57d73;
  background: #fff8f7;
  padding: 12px;
}

.bp-user-role-summary {
  margin: 10px 0 0;
}

.bp-user-role-summary div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
}

.bp-user-role-summary dt {
  color: #617386;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.bp-user-role-summary dd {
  margin: 0;
  color: #1f2f3f;
  font-weight: 700;
}

.bp-membership-panel h4 {
  margin: 0 0 8px;
  color: #405367;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.bp-membership-list {
  display: grid;
  gap: 8px;
}

.bp-membership-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px;
}

.bp-membership-row div {
  display: grid;
  min-width: 0;
}

.bp-membership-row strong,
.bp-membership-row span {
  overflow-wrap: anywhere;
}

.bp-token-console-header,
.bp-credential-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.bp-token-create-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-token-create-grid .bp-cluster-picker,
.bp-token-scope-options,
.bp-credential-actions {
  grid-column: 1 / -1;
}

.bp-cluster-picker {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  margin: 0;
  padding: 14px;
}

.bp-cluster-picker legend {
  float: none;
  inline-size: auto;
  margin: 0 0 4px;
  color: #1f2f3f;
  font-size: 0.95rem;
  font-weight: 700;
}

.bp-cluster-picker p {
  margin: 0 0 12px;
  color: #617386;
}

.bp-cluster-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.bp-cluster-picker-grid label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px;
}

.bp-cluster-picker-grid span {
  display: grid;
  min-width: 0;
}

.bp-cluster-picker-grid strong,
.bp-cluster-picker-grid small {
  overflow-wrap: anywhere;
}

.bp-token-scope-options {
  display: grid;
  gap: 8px;
}

.bp-token-console {
  display: grid;
  gap: 14px;
}

.bp-token-console-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.bp-token-console-summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 34px;
  border: 1px solid #d5e0ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #4c6075;
  font-size: 0.82rem;
  padding: 6px 10px;
}

.bp-token-console-summary strong {
  color: #102a43;
  font-size: 0.95rem;
}

.bp-token-create-strip {
  display: grid;
  gap: 12px;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 14px;
}

.bp-token-create-topline {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 0.45fr) minmax(320px, 0.8fr) max-content;
  gap: 12px;
  align-items: end;
}

.bp-token-create-topline > label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bp-token-create-strip .bp-primary-button {
  min-height: 38px;
  white-space: nowrap;
}

.bp-token-cluster-chip-picker,
.bp-token-scope-select {
  border: 0;
  margin: 0;
  padding: 0;
}

.bp-token-cluster-chip-picker {
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.bp-token-cluster-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bp-token-cluster-chip-picker legend,
.bp-token-scope-select legend {
  float: none;
  inline-size: auto;
  margin: 0;
  color: #405367;
  font-size: 0.86rem;
  font-weight: 750;
}

.bp-token-scope-select legend {
  margin-bottom: 6px;
}

.bp-token-cluster-count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d6e1ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0 10px;
  white-space: nowrap;
}

.bp-token-cluster-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 8px;
}

.bp-token-cluster-chip-grid label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  color: #31465a;
  font-size: 0.86rem;
  font-weight: 500;
}

.bp-token-cluster-chip-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bp-token-scope-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bp-token-scope-select legend {
  grid-column: 1 / -1;
}

.bp-token-scope-select .bp-checkbox-option {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.bp-token-filter-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--bp-border);
  background: #f8fafc;
  padding: 14px 16px;
}

.bp-token-search-field {
  display: grid;
  gap: 6px;
  inline-size: min(100%, 320px);
  color: #405367;
  font-size: 0.86rem;
  font-weight: 750;
}

.bp-token-search-field input {
  min-height: 38px;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  background: #fff;
  color: var(--bp-text);
  padding: 8px 10px;
}

.bp-token-search-field input:focus {
  border-color: var(--bp-primary);
  box-shadow: 0 0 0 3px rgba(42, 110, 207, 0.14);
  outline: 0;
}

.bp-token-management-table {
  min-width: 1120px;
  table-layout: fixed;
}

.bp-token-management-table .bp-token-name-column {
  width: 17%;
}

.bp-token-management-table .bp-token-id-column {
  width: 25%;
}

.bp-token-management-table .bp-token-access-column {
  width: 10%;
}

.bp-token-management-table .bp-token-scope-column {
  width: 12%;
}

.bp-token-management-table .bp-token-status-column {
  width: 9%;
}

.bp-token-management-table .bp-token-last-used-column {
  width: 10%;
}

.bp-token-management-table .bp-token-actions-column {
  width: 17%;
}

.bp-token-management-table th,
.bp-token-management-table td {
  padding: 11px 14px !important;
}

.bp-token-management-table th:last-child,
.bp-token-management-table td:last-child {
  text-align: right;
}

.bp-token-management-table .bp-icon-action-row {
  justify-content: flex-end;
}

.bp-token-id-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  max-width: 100%;
}

.bp-token-id-cell .bp-id-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bp-token-scope-cell {
  white-space: normal;
  line-height: 1.35;
}

.bp-token-scope-details {
  position: relative;
  display: inline-block;
}

.bp-token-scope-summary {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #cbdcec;
  border-radius: 999px;
  background: #f8fafc;
  color: #183a5a;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 10px;
  white-space: nowrap;
}

.bp-token-scope-summary::-webkit-details-marker {
  display: none;
}

.bp-token-scope-summary::after {
  content: "";
  inline-size: 0.45rem;
  block-size: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  margin-left: 8px;
  transform: rotate(45deg) translateY(-1px);
}

.bp-token-scope-details[open] .bp-token-scope-summary {
  border-color: #9fc1df;
  background: #eef6ff;
  color: #124f9f;
}

.bp-token-scope-list {
  min-width: 220px;
  max-width: 300px;
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  color: #1f2f3f;
  margin-top: 8px;
  padding: 10px 12px;
}

.bp-token-scope-list ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.bp-token-scope-list p {
  margin: 0;
}

.bp-token-scope-note {
  border-top: 1px solid #e4ebf3;
  color: #607286;
  font-size: 0.82rem;
  margin-top: 8px !important;
  padding-top: 8px;
}

[data-theme="dark"] .bp-console-toolbar,
[data-theme="dark"] .bp-api-help-meta-strip,
[data-theme="dark"] .bp-api-help-meta-strip .bp-help-kv-grid > div,
[data-theme="dark"] .bp-api-help-doc-heading,
[data-theme="dark"] .bp-api-help-selected-panel,
[data-theme="dark"] .bp-api-help-detail-row > td,
[data-theme="dark"] .bp-help-doc-item,
[data-theme="dark"] .bp-help-detail-panel,
[data-theme="dark"] .bp-help-pre,
[data-theme="dark"] .bp-help-request-editor,
[data-theme="dark"] .bp-admin-help-reference-toolbar,
[data-theme="dark"] .bp-admin-help-selected-panel,
[data-theme="dark"] .bp-admin-help-detail-row > td,
[data-theme="dark"] .bp-admin-help-detail-card,
[data-theme="dark"] .bp-admin-help-policy-note,
[data-theme="dark"] .bp-admin-help-status-console > .bp-admin-help-section-heading,
[data-theme="dark"] .bp-admin-help-ready-console > .bp-admin-help-section-heading,
[data-theme="dark"] .bp-summary-id-panel,
[data-theme="dark"] .bp-summary-qr-panel,
[data-theme="dark"] .bp-summary-fields-panel,
[data-theme="dark"] .bp-report-wide-section,
[data-theme="dark"] .bp-ledger-panel,
[data-theme="dark"] .bp-ledger-event,
[data-theme="dark"] .bp-audit-event-row,
[data-theme="dark"] .bp-audit-event-time,
[data-theme="dark"] .bp-audit-event-facts,
[data-theme="dark"] .bp-token-clusters,
[data-theme="dark"] .bp-checkbox-option,
[data-theme="dark"] .bp-token-scope-summary,
[data-theme="dark"] .bp-token-scope-list,
[data-theme="dark"] .bp-credential-form-grid input:not([type="checkbox"]),
[data-theme="dark"] .bp-credential-form-grid select,
[data-theme="dark"] .bp-credential-form-grid textarea,
[data-theme="dark"] .bp-donut-card,
[data-theme="dark"] .bp-metric,
[data-theme="dark"] .bp-donut-hole {
  border-color: var(--bp-border);
  background: #101f35;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-api-help-doc-heading h2,
[data-theme="dark"] .bp-help-detail-panel h3,
[data-theme="dark"] .bp-admin-help-reference-copy h2,
[data-theme="dark"] .bp-admin-help-section-heading h2,
[data-theme="dark"] .bp-admin-help-detail-copy h3,
[data-theme="dark"] .bp-admin-help-detail-card h4,
[data-theme="dark"] .bp-admin-help-workflow-name strong,
[data-theme="dark"] .bp-ledger-panel-heading h2,
[data-theme="dark"] .bp-ledger-state-grid strong,
[data-theme="dark"] .bp-audit-event-main h3,
[data-theme="dark"] .bp-ledger-event-title h3,
[data-theme="dark"] .bp-product-version-selected-meta strong {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-api-help-meta-strip .bp-help-kv-grid > div,
[data-theme="dark"] .bp-api-help-selected-panel,
[data-theme="dark"] .bp-admin-help-selected-panel,
[data-theme="dark"] .bp-admin-help-detail-row > td,
[data-theme="dark"] .bp-api-help-detail-row > td,
[data-theme="dark"] .bp-admin-help-policy-note,
[data-theme="dark"] .bp-audit-event-time,
[data-theme="dark"] .bp-audit-event-facts,
[data-theme="dark"] .bp-token-scope-list {
  background: #0b1628;
}

[data-theme="dark"] .bp-api-help-meta-strip code,
[data-theme="dark"] .bp-help-endpoint-cell code,
[data-theme="dark"] .bp-help-pre,
[data-theme="dark"] .bp-help-request-editor,
[data-theme="dark"] .bp-audit-filter-grid input,
[data-theme="dark"] .bp-audit-filter-grid select,
[data-theme="dark"] .bp-token-id-cell .bp-id-value {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-form-grid input[readonly],
[data-theme="dark"] .bp-form-grid textarea[readonly],
[data-theme="dark"] .bp-form-grid input:disabled,
[data-theme="dark"] .bp-form-grid select:disabled,
[data-theme="dark"] .bp-form-grid textarea:disabled,
[data-theme="dark"] .bp-form-grid input[type="date"][readonly],
[data-theme="dark"] .bp-form-grid input[type="date"]:disabled {
  border-color: var(--bp-border);
  background: #0b1628;
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-help-sticky-id-field {
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-help-sticky-id-control input {
  border-color: var(--bp-border);
  background: linear-gradient(90deg, #78a8da 0 4px, #101f35 4px);
  color: var(--bp-text);
}

[data-theme="dark"] .bp-help-sticky-id-control .bp-copy-id-button {
  background: #101f35;
}

[data-theme="dark"] .bp-api-help-meta-strip .text-secondary,
[data-theme="dark"] .bp-help-endpoint-cell small,
[data-theme="dark"] .bp-help-detail-panel p,
[data-theme="dark"] .bp-help-detail-panel ul,
[data-theme="dark"] .bp-admin-help-reference-copy p,
[data-theme="dark"] .bp-admin-help-detail-copy p,
[data-theme="dark"] .bp-admin-help-detail-card p,
[data-theme="dark"] .bp-admin-help-detail-list,
[data-theme="dark"] .bp-admin-help-workflow-name small,
[data-theme="dark"] .bp-admin-help-policy-note,
[data-theme="dark"] .bp-admin-help-ready-list,
[data-theme="dark"] .bp-ledger-panel-heading p,
[data-theme="dark"] .bp-ledger-state-grid span,
[data-theme="dark"] .bp-ledger-label,
[data-theme="dark"] .bp-ledger-state-grid small,
[data-theme="dark"] .bp-audit-filter-grid label span,
[data-theme="dark"] .bp-audit-event-main p,
[data-theme="dark"] .bp-audit-event-facts dt,
[data-theme="dark"] .bp-audit-event-facts dd span:not(.bp-audit-event-chip),
[data-theme="dark"] .bp-token-scope-note {
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-help-access-pill,
[data-theme="dark"] .bp-help-method,
[data-theme="dark"] .bp-audit-event-chip,
[data-theme="dark"] .bp-audit-event-time span,
[data-theme="dark"] .bp-token-scope-details[open] .bp-token-scope-summary,
[data-theme="dark"] .bp-product-version-chip-pill {
  border-color: #3f5f86;
  background: #132d4f;
  color: #cce3ff;
}

[data-theme="dark"] .bp-help-detail-toggle.is-active,
[data-theme="dark"] .bp-admin-help-detail-toggle.is-active {
  border-color: var(--bp-primary);
  background: #132d4f;
  color: #cce3ff;
}

[data-theme="dark"] .bp-audit-event-time time,
[data-theme="dark"] .bp-audit-event-titleline code,
[data-theme="dark"] .bp-audit-event-facts dd,
[data-theme="dark"] .bp-ledger-kv dd,
[data-theme="dark"] .bp-ledger-kv code,
[data-theme="dark"] .bp-ledger-metadata code {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-chart-value-legend td,
[data-theme="dark"] .bp-token-scope-note,
[data-theme="dark"] .bp-product-version-console-header,
[data-theme="dark"] .bp-product-version-chip-rail {
  border-color: var(--bp-border);
}

[data-theme="dark"] .bp-search-form button,
[data-theme="dark"] .bp-primary-button {
  background: #2a6ecf;
  color: #fff;
}

[data-theme="dark"] .bp-search-form button:hover,
[data-theme="dark"] .bp-primary-button:hover,
[data-theme="dark"] .bp-search-form button:focus-visible,
[data-theme="dark"] .bp-primary-button:focus-visible {
  background: #1f5fbf;
  color: #fff;
}

[data-theme="dark"] .bp-warning {
  border-color: #ad7c2d;
  background: #2f2618;
  color: #ffd8a8;
}

[data-theme="dark"] .bp-warning .fw-semibold {
  color: #ffe7bd;
}

[data-theme="dark"] .bp-secondary-button,
[data-theme="dark"] .bp-admin-help-anchor-tabs a,
[data-theme="dark"] .bp-icon-button,
[data-theme="dark"] .bp-action-button {
  border-color: #3f5f86;
  background: #0b1628;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-secondary-button:hover,
[data-theme="dark"] .bp-secondary-button:focus-visible,
[data-theme="dark"] .bp-admin-help-anchor-tabs a:hover,
[data-theme="dark"] .bp-admin-help-anchor-tabs a:focus-visible,
[data-theme="dark"] .bp-icon-button:hover,
[data-theme="dark"] .bp-icon-button:focus-visible,
[data-theme="dark"] .bp-action-button:hover,
[data-theme="dark"] .bp-action-button:focus-visible {
  border-color: var(--bp-primary);
  background: #132d4f;
  color: #cce3ff;
}

[data-theme="dark"] .bp-report-hero-cta {
  background: #087253;
  color: #fff;
}

[data-theme="dark"] .bp-report-hero-cta.bp-report-hero-cta-warning {
  border-color: #ad7c2d;
  background: #3b2f1a;
  color: #ffd8a8;
}

[data-theme="dark"] .bp-report-hero-cta.bp-report-hero-cta-warning:hover,
[data-theme="dark"] .bp-report-hero-cta.bp-report-hero-cta-warning:focus-visible {
  background: #4a3a1c;
  color: #ffe7bd;
}

[data-theme="dark"] .bp-token-create-strip,
[data-theme="dark"] .bp-token-cluster-chip-picker,
[data-theme="dark"] .bp-token-cluster-chip-grid label,
[data-theme="dark"] .bp-token-filter-toolbar,
[data-theme="dark"] .bp-token-console-summary span,
[data-theme="dark"] .bp-token-cluster-count,
[data-theme="dark"] .bp-token-create-strip input,
[data-theme="dark"] .bp-token-create-strip select,
[data-theme="dark"] .bp-token-filter-toolbar input,
[data-theme="dark"] .bp-audit-filter-grid input,
[data-theme="dark"] .bp-audit-filter-grid select,
[data-theme="dark"] .bp-ledger-metadata {
  border-color: var(--bp-border);
  background: #101f35;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-token-cluster-chip-picker legend,
[data-theme="dark"] .bp-token-scope-select legend,
[data-theme="dark"] .bp-token-create-topline > label,
[data-theme="dark"] .bp-token-search-field,
[data-theme="dark"] .bp-token-search-field span,
[data-theme="dark"] .bp-token-console-summary,
[data-theme="dark"] .bp-token-console-summary strong,
[data-theme="dark"] .bp-select-shell,
[data-theme="dark"] .bp-ledger-metadata summary {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-token-scope-select {
  border-top-color: var(--bp-border);
}

[data-theme="dark"] .bp-status-pill.is-published,
[data-theme="dark"] .bp-status-pill.is-active {
  border-color: #236a44;
  background: #0d2d1d;
  color: #b9f6cf;
}

[data-theme="dark"] .bp-status-pill.is-signed {
  border-color: #8a6a22;
  background: #2d2108;
  color: #ffe8a3;
}

[data-theme="dark"] .bp-status-pill.is-draft,
[data-theme="dark"] .bp-status-pill.is-inactive {
  border-color: var(--bp-border);
  background: #0b1628;
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-report-action,
[data-theme="dark"] .bp-report-action-prominent {
  border-color: #3f5f86;
  background: #0b1628;
  color: var(--bp-text);
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .bp-report-action:hover,
[data-theme="dark"] .bp-report-action:focus-visible,
[data-theme="dark"] .bp-report-action-prominent:hover,
[data-theme="dark"] .bp-report-action-prominent:focus-visible {
  border-color: var(--bp-primary);
  background: #132d4f;
  color: #cce3ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .bp-report-action-prominent::before {
  border-color: rgba(122, 182, 255, 0.28);
}

[data-theme="dark"] .bp-report-action::after {
  border-color: #3f5f86;
  background: #132d4f;
  color: var(--bp-text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

[data-theme="dark"] .bp-cluster-create-form input,
[data-theme="dark"] .bp-cluster-create-form select,
[data-theme="dark"] .bp-cluster-rename-form .form-control,
[data-theme="dark"] .bp-cluster-danger-form .form-control,
[data-theme="dark"] .bp-user-create-strip input,
[data-theme="dark"] .bp-user-create-strip select,
[data-theme="dark"] .bp-user-drawer-panel input,
[data-theme="dark"] .bp-user-drawer-panel select,
[data-theme="dark"] .bp-user-membership-add-row select,
[data-theme="dark"] .bp-session-timeout-form input,
[data-theme="dark"] .bp-product-editor-section .bp-field-shell input,
[data-theme="dark"] .bp-product-editor-section .bp-field-shell select,
[data-theme="dark"] .bp-product-editor-section .bp-field-shell textarea,
[data-theme="dark"] .bp-product-version-selected-field input,
[data-theme="dark"] .bp-product-version-selected-field select,
[data-theme="dark"] .bp-product-version-tab-input input,
[data-theme="dark"] .bp-template-version-row input,
[data-theme="dark"] .bp-version-field-compact input,
[data-theme="dark"] .bp-version-field-compact select {
  border-color: var(--bp-border);
  background: #101f35;
  color: var(--bp-text);
  box-shadow: none;
}

[data-theme="dark"] .bp-product-editor-section .bp-field-shell input[readonly],
[data-theme="dark"] .bp-product-version-selected-field input[readonly],
[data-theme="dark"] .bp-product-version-tab-input input[readonly],
[data-theme="dark"] .bp-template-version-row input[readonly] {
  background: #0b1628;
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-cluster-create-form input::placeholder,
[data-theme="dark"] .bp-cluster-rename-form .form-control::placeholder,
[data-theme="dark"] .bp-cluster-danger-form .form-control::placeholder,
[data-theme="dark"] .bp-user-create-strip input::placeholder,
[data-theme="dark"] .bp-product-editor-section .bp-field-shell input::placeholder,
[data-theme="dark"] .bp-product-version-selected-field input::placeholder,
[data-theme="dark"] .bp-product-editor-section .bp-field-shell textarea::placeholder,
[data-theme="dark"] .bp-template-version-row input::placeholder {
  color: #7f94ad;
}

[data-theme="dark"] .bp-cluster-create-form label,
[data-theme="dark"] .bp-inline-form-grid label,
[data-theme="dark"] .bp-user-create-strip label,
[data-theme="dark"] .bp-user-form-grid label,
[data-theme="dark"] .bp-token-create-grid label,
[data-theme="dark"] .bp-membership-edit-form label,
[data-theme="dark"] .bp-force-delete-form label,
[data-theme="dark"] .bp-user-drawer-panel label,
[data-theme="dark"] .bp-session-timeout-form label,
[data-theme="dark"] .bp-product-editor-section .bp-field-shell > span,
[data-theme="dark"] .bp-product-version-selected-field span,
[data-theme="dark"] .bp-product-version-tab-main span,
[data-theme="dark"] .bp-product-version-tab-input span,
[data-theme="dark"] .bp-local-editable-toggle-label {
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-user-count-pill,
[data-theme="dark"] .bp-local-editable-state-pill,
[data-theme="dark"] .bp-data-policy-meta span,
[data-theme="dark"] .bp-requirement-section-count,
[data-theme="dark"] .bp-template-document-visibility {
  border-color: #3f5f86;
  background: #0b1628;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-local-editable-state-pill.is-on,
[data-theme="dark"] .bp-product-version-tab.is-active .bp-product-version-chip-pill {
  border-color: #236a44;
  background: #0d2d1d;
  color: #b9f6cf;
}

[data-theme="dark"] .bp-management-card,
[data-theme="dark"] .bp-cluster-user-drawer-row td,
[data-theme="dark"] .bp-user-drawer-row td,
[data-theme="dark"] .bp-cluster-user-row,
[data-theme="dark"] .bp-user-drawer-panel,
[data-theme="dark"] .bp-user-membership-row,
[data-theme="dark"] .bp-local-editable-drawer-row td,
[data-theme="dark"] .bp-local-editable-field-card,
[data-theme="dark"] .bp-data-requirements-shell,
[data-theme="dark"] .bp-requirement-stats div,
[data-theme="dark"] .bp-requirement-section-card,
[data-theme="dark"] .bp-requirement-section-header,
[data-theme="dark"] .bp-requirement-switch,
[data-theme="dark"] .bp-data-requirements-savebar,
[data-theme="dark"] .bp-product-template-hero,
[data-theme="dark"] .bp-product-editor-hero,
[data-theme="dark"] .bp-product-editor-section,
[data-theme="dark"] .bp-product-version-console,
[data-theme="dark"] .bp-product-version-tab,
[data-theme="dark"] .bp-product-version-selected-panel,
[data-theme="dark"] .bp-template-document-row,
[data-theme="dark"] .bp-template-version-row,
[data-theme="dark"] .bp-product-editor-savebar,
[data-theme="dark"] .bp-product-template-meta div,
[data-theme="dark"] .bp-user-access-note {
  border-color: var(--bp-border);
  background: #101f35;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-product-version-tab.is-active,
[data-theme="dark"] .bp-product-version-tab:hover {
  border-color: #3f5f86;
  border-left-color: var(--bp-primary);
  background: #132d4f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .bp-product-template-card-media,
[data-theme="dark"] .bp-product-editor-preview {
  border-color: var(--bp-border);
  background:
    linear-gradient(145deg, rgba(16, 31, 53, 0.96), rgba(11, 22, 40, 0.96));
}

[data-theme="dark"] .bp-requirement-toggle,
[data-theme="dark"] .bp-local-editable-toggle-shell {
  border-color: #3f5f86;
  background: #0b1628;
  box-shadow: inset 0 0 0 1px rgba(159, 177, 200, 0.08);
}

[data-theme="dark"] .bp-requirement-switch input:checked + .bp-requirement-toggle,
[data-theme="dark"] .bp-local-editable-field-toggle:checked + .bp-local-editable-toggle-shell {
  border-color: #12906f;
  background: #16826c;
}

[data-theme="dark"] .bp-product-template-card-body h3,
[data-theme="dark"] .bp-product-editor-section h2,
[data-theme="dark"] .bp-product-section-heading h2,
[data-theme="dark"] .bp-product-version-console-header h2,
[data-theme="dark"] .bp-product-version-tab-main,
[data-theme="dark"] .bp-product-version-tab-main strong,
[data-theme="dark"] .bp-template-document-row strong,
[data-theme="dark"] .bp-data-requirements-hero h2,
[data-theme="dark"] .bp-requirement-section-header h3,
[data-theme="dark"] .bp-requirement-section-count strong,
[data-theme="dark"] .bp-requirement-stats strong,
[data-theme="dark"] .bp-requirement-copy strong,
[data-theme="dark"] .bp-data-requirements-savebar strong,
[data-theme="dark"] .bp-local-editable-field-copy strong,
[data-theme="dark"] .bp-user-membership-name,
[data-theme="dark"] .bp-product-template-meta dd {
  color: var(--bp-text);
}

[data-theme="dark"] .bp-product-template-hero p,
[data-theme="dark"] .bp-product-template-card-body p,
[data-theme="dark"] .bp-product-template-meta dt,
[data-theme="dark"] .bp-product-version-tab small,
[data-theme="dark"] .bp-product-version-selected-meta,
[data-theme="dark"] .bp-product-editor-savebar span,
[data-theme="dark"] .bp-template-sync-note,
[data-theme="dark"] .bp-template-document-row span,
[data-theme="dark"] .bp-requirement-stats span,
[data-theme="dark"] .bp-requirement-section-header span,
[data-theme="dark"] .bp-requirement-copy small,
[data-theme="dark"] .bp-data-requirements-savebar span,
[data-theme="dark"] .bp-local-editable-section-cell span,
[data-theme="dark"] .bp-local-editable-examples,
[data-theme="dark"] .bp-local-editable-field-copy span,
[data-theme="dark"] .bp-user-membership-role,
[data-theme="dark"] .bp-user-access-note,
[data-theme="dark"] .bp-management-card-title code,
[data-theme="dark"] .bp-user-card-identity p,
[data-theme="dark"] .bp-membership-row span,
[data-theme="dark"] .bp-cluster-picker small {
  color: var(--bp-muted);
}

[data-theme="dark"] .bp-template-document-row code,
[data-theme="dark"] .bp-requirement-copy code,
[data-theme="dark"] .bp-local-editable-field-copy code {
  border-color: var(--bp-border);
  background: #0b1628;
  color: var(--bp-text);
}

[data-theme="dark"] .bp-danger-button {
  border-color: #8c303b;
  background: #35131a;
  color: #ffc3ca;
}

[data-theme="dark"] .bp-danger-button:hover,
[data-theme="dark"] .bp-danger-button:focus-visible {
  border-color: #b94b59;
  background: #4a1b24;
  color: #ffe0e4;
}

@media (max-width: 1280px) {
  .bp-token-create-topline,
  .bp-token-cluster-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-token-scope-select,
  .bp-token-create-strip .bp-primary-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .bp-token-console-header,
  .bp-token-filter-toolbar {
    align-items: stretch;
  }

  .bp-token-console-summary {
    flex-wrap: wrap;
    margin-inline-start: 0;
  }

  .bp-token-create-strip,
  .bp-token-create-topline,
  .bp-token-cluster-chip-grid,
  .bp-token-scope-select {
    grid-template-columns: 1fr;
  }

  .bp-token-search-field {
    inline-size: 100%;
  }
}

@media (min-width: 768px) {
  .bp-help-page .bp-help-kv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-admin-help-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
  }

  .bp-data-requirements-hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bp-data-requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-admin-help-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-admin-help-grid,
  .bp-admin-help-required-grid,
  .bp-admin-help-split-checklists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-admin-help-state-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-admin-help-parameter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-product-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .bp-admin-help-demo-reset {
    align-items: flex-start;
    flex-direction: column;
  }

  .bp-admin-help-workflow-strip,
  .bp-admin-help-workflow-console {
    grid-template-columns: 1fr;
  }

  .bp-admin-help-workflow-chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-admin-help-start-panel,
  .bp-admin-help-lifecycle-guide {
    grid-template-columns: 1fr;
  }

  .bp-admin-help-start-actions {
    justify-content: flex-start;
  }

  .bp-admin-help-action-console,
  .bp-admin-help-map-tabs,
  .bp-admin-help-lifecycle-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bp-admin-help-action-heading,
  .bp-admin-help-map-heading {
    flex-basis: auto;
    min-width: 0;
  }

  .bp-admin-help-action-pills,
  .bp-admin-help-map-tab-row {
    width: 100%;
  }

  .bp-admin-help-lifecycle-rail {
    grid-template-columns: 1fr;
  }

  .bp-admin-help-maintenance-reset summary {
    grid-template-columns: 1fr;
  }

  .bp-admin-help-maintenance-reset summary::after {
    grid-row: auto;
    grid-column: auto;
    justify-self: start;
  }

  .bp-admin-help-maintenance-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .bp-help-code-grid,
  .bp-admin-help-reference-toolbar,
  .bp-admin-help-detail-grid,
  .bp-admin-help-policy-note,
  .bp-admin-help-ready-list {
    grid-template-columns: 1fr;
  }

  .bp-admin-help-primary-actions {
    justify-content: flex-start;
  }

  .bp-product-version-console-header,
  .bp-product-version-selected-panel {
    grid-template-columns: 1fr;
  }

  .bp-product-template-hero,
  .bp-product-editor-hero,
  .bp-product-section-heading,
  .bp-product-editor-savebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .bp-product-template-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .bp-product-template-card,
  .bp-template-version-row,
  .bp-template-document-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1180px) {
  .bp-report-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
    gap: 28px;
  }

  .bp-report-hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100%;
  }

  .bp-report-hero-media .bp-image-wrap {
    height: 100%;
    min-height: 0;
  }

  .bp-admin-help-parameter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-data-requirements-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bp-product-identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bp-passport-history-row {
  background: color-mix(in srgb, var(--bp-surface) 92%, var(--bp-border));
}

.bp-history-marker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.bp-embedded-history-list {
  display: grid;
  gap: 0.5rem;
}

.bp-embedded-history-item {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto repeat(4, auto);
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 767px) {
  .bp-header-nav-row {
    position: relative;
    min-height: 48px;
    overflow-x: visible;
    scrollbar-width: thin;
    scroll-padding-inline: 12px;
  }

  .bp-header-nav-row::after {
    display: none;
    content: none;
  }

  .bp-header-actions {
    width: 100%;
    min-width: 0;
    scroll-snap-type: none;
  }

  .bp-header-right-group {
    position: relative;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .bp-header-primary-links {
    display: none;
  }

  .bp-header-mobile-menu {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .bp-header-mobile-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-right: 1px solid var(--bp-scania-blue-border);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    padding: 0 16px;
  }

  .bp-header-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .bp-header-mobile-menu[open] summary {
    background: #0f3263;
  }

  .bp-header-mobile-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    width: min(320px, calc(100vw - 16px));
    display: grid;
    border: 1px solid var(--bp-scania-blue-border);
    background: var(--bp-scania-blue);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  }

  .bp-header-mobile-menu:not([open]) .bp-header-mobile-menu-panel {
    display: none;
  }

  .bp-header-mobile-menu[open] .bp-header-mobile-menu-panel {
    display: grid;
  }

  .bp-header-mobile-menu-panel a {
    min-height: 44px;
    justify-content: flex-start;
    border-right: 0;
    border-top: 1px solid var(--bp-scania-blue-border);
    padding: 0 16px;
  }

  .bp-mobile-identity {
    display: grid;
    gap: 3px;
    padding: 12px 16px;
    color: #fff;
  }

  .bp-mobile-identity p {
    margin: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .bp-mobile-identity p:first-child {
    font-weight: 800;
  }

  .bp-mobile-identity p:not(:first-child) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
  }

  .bp-header-account-links {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .bp-header-actions a,
  .bp-header-actions .bp-link-button,
  .bp-theme-toggle {
    min-height: 44px;
    scroll-snap-align: start;
  }

  .bp-theme-toggle {
    min-width: 44px;
  }

  .bp-footer-column a,
  .bp-footer-link-row a {
    display: inline-flex;
    align-items: center;
  }

  .bp-landing-links a,
  .bp-admin-help-anchor-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .bp-tab-row,
  .bp-credential-tab-row,
  .bp-local-admin-nav .bp-tab-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -4px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 4px 8px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .bp-tab {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .bp-admin-page .bp-tab-row {
    display: none;
  }

  .bp-admin-page .bp-local-admin-nav {
    display: none;
  }

  .bp-admin-mobile-tab-form {
    display: grid;
    gap: 6px;
    margin-top: 16px !important;
  }

  .bp-admin-mobile-tab-form label {
    color: var(--bp-muted);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .bp-admin-mobile-tab-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--bp-border);
    border-radius: 8px;
    background: var(--bp-surface);
    color: var(--bp-text);
    font: inherit;
    font-weight: 750;
    padding: 0 12px;
  }

  .bp-primary-button,
  .bp-secondary-button,
  .bp-danger-button,
  .btn,
  .bp-link-grid a,
  .bp-search-form input,
  .bp-search-form button,
  .bp-qr-trigger,
  .bp-footer-column a,
  .bp-footer-link-row a,
  .bp-action-button,
  .bp-icon-button,
  .bp-report-action,
  .bp-password-reveal,
  .bp-copy-id-button,
  .bp-admin-page input,
  .bp-admin-page select,
  .bp-admin-page textarea,
  .bp-stack-form input,
  .bp-stack-form select,
  .bp-stack-form textarea,
  .form-control,
  .form-select {
    min-height: 44px;
  }

  .bp-search-input-shell input {
    min-height: 54px !important;
  }

  .bp-action-button,
  .bp-icon-button,
  .bp-report-action,
  .bp-password-reveal,
  .bp-qr-trigger,
  .bp-copy-id-button {
    inline-size: 44px;
    block-size: 44px;
    min-inline-size: 44px;
  }

  .bp-id-label {
    display: block;
    margin-bottom: 4px;
  }

  .bp-id-copy-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
  }

  .bp-id-copy-row .bp-id-value {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .bp-table-scroll {
    position: relative;
    margin-inline: -2px;
    padding-bottom: 22px;
    scrollbar-width: thin;
  }

  .bp-table-scroll::after {
    content: "Swipe";
    position: sticky;
    left: 100%;
    bottom: 0;
    display: inline-flex;
    transform: translateX(-100%);
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    background: var(--bp-surface);
    color: var(--bp-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 5px 8px;
    pointer-events: none;
  }

  .bp-table-scroll:has(.bp-mobile-card-table) {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .bp-table-scroll:has(.bp-mobile-card-table)::after {
    display: none;
  }

  .bp-mobile-card-table {
    min-width: 0;
    width: 100%;
  }

  .bp-mobile-card-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .bp-mobile-card-table,
  .bp-mobile-card-table tbody,
  .bp-mobile-card-table tr,
  .bp-mobile-card-table td {
    display: block;
    width: 100%;
  }

  .bp-mobile-card-table tbody {
    display: grid;
    gap: 12px;
  }

  .bp-mobile-card-table tbody tr {
    border: 1px solid var(--bp-border);
    border-radius: 8px;
    background: var(--bp-surface);
    padding: 10px 12px;
  }

  .bp-mobile-card-table tbody tr[hidden] {
    display: none;
  }

  .bp-mobile-card-table td {
    display: grid;
    grid-template-columns: minmax(8.5rem, 38%) minmax(0, 1fr);
    gap: 8px;
    border: 0 !important;
    max-width: none !important;
    padding: 8px 0 !important;
    white-space: normal;
    width: 100% !important;
  }

  .bp-mobile-card-table td::before {
    content: attr(data-label);
    color: var(--bp-muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .bp-mobile-card-table td[colspan] {
    grid-template-columns: 1fr;
  }

  .bp-mobile-card-table td[colspan]::before {
    display: none;
  }

  .bp-mobile-card-table .bp-action-cell {
    grid-template-columns: 1fr;
    max-width: none !important;
    width: 100% !important;
    text-align: left;
  }

  .bp-mobile-card-table .bp-action-cell::before {
    content: attr(data-label);
  }

  .bp-mobile-card-table .bp-icon-action-row {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .bp-mobile-card-table td[data-label="Battery ID"],
  .bp-mobile-card-table td[data-label="Passport ID"],
  .bp-mobile-card-table td[data-label="Token ID"],
  .bp-mobile-card-table td[data-label="Cluster ID"],
  .bp-mobile-card-table td[data-label="Email"],
  .bp-mobile-card-table td[data-label="Endpoint"] {
    grid-template-columns: 1fr;
    max-width: none !important;
    width: 100% !important;
  }

  .bp-mobile-card-table .bp-battery-id-cell,
  .bp-mobile-card-table .bp-id-copy-row,
  .bp-mobile-card-table .bp-code-wrap,
  .bp-api-help-page .bp-help-endpoint-cell code {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal !important;
  }

  .bp-mobile-card-table .bp-battery-id-cell.bp-id-copy-row,
  .bp-mobile-card-table .bp-id-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .bp-mobile-card-table .bp-id-value,
  .bp-mobile-card-table code,
  .bp-api-help-page code {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
  }

  .bp-mobile-card-table.bp-api-help-endpoint-table,
  .bp-mobile-card-table.bp-admin-help-workflow-table,
  .bp-mobile-card-table.bp-admin-help-status-table,
  .bp-mobile-card-table.bp-admin-cluster-assignment-table,
  .bp-mobile-card-table.bp-cluster-management-table,
  .bp-mobile-card-table.bp-local-editable-policy-table {
    min-width: 0;
    table-layout: auto;
  }

  .bp-mobile-card-table.bp-api-help-endpoint-table .bp-help-doc-item {
    border: 1px solid var(--bp-border);
    border-radius: 8px;
    background: var(--bp-surface);
    padding: 10px 12px;
  }

  .bp-api-help-endpoint-table td:nth-child(1)::before {
    content: "Method";
  }

  .bp-api-help-endpoint-table td:nth-child(2)::before {
    content: "Endpoint";
  }

  .bp-api-help-endpoint-table td:nth-child(3)::before {
    content: "Access";
  }

  .bp-api-help-endpoint-table td:nth-child(4)::before {
    content: "Use when";
  }

  .bp-api-help-endpoint-table td:nth-child(5)::before {
    content: "Details";
  }

  .bp-admin-help-workflow-table td:nth-child(1)::before {
    content: "Workflow";
  }

  .bp-admin-help-workflow-table td:nth-child(2)::before {
    content: "When to use";
  }

  .bp-admin-help-workflow-table td:nth-child(3)::before {
    content: "Admin surface";
  }

  .bp-admin-help-workflow-table td:nth-child(4)::before {
    content: "Success signal";
  }

  .bp-admin-help-workflow-table td:nth-child(5)::before {
    content: "Details";
  }

  .bp-battery-table-toolbar,
  .bp-battery-table-toolbar .bp-search-form,
  .bp-console-toolbar .bp-search-form {
    width: 100%;
    flex-basis: auto;
  }

  .bp-battery-table-toolbar > .d-flex {
    width: 100%;
    gap: 14px !important;
  }

  .bp-battery-toolbar-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px !important;
  }

  .bp-battery-toolbar-help {
    display: none;
  }

  .bp-search-form button:not(.bp-qr-trigger),
  .bp-battery-table-toolbar .bp-secondary-button,
  .bp-battery-table-toolbar .bp-primary-button {
    width: 100%;
  }

  .bp-user-create-strip,
  .bp-user-drawer-grid,
  .bp-user-membership-add-row,
  .bp-session-timeout-card,
  .bp-session-timeout-form,
  .bp-token-create-strip,
  .bp-token-form-grid {
    grid-template-columns: 1fr;
  }

  .bp-cluster-rename-form,
  .bp-cluster-danger-form,
  .bp-cluster-assignment-form,
  .bp-cluster-user-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    white-space: normal;
  }

  .bp-cluster-assignment-form .bp-select-shell,
  .bp-cluster-assignment-form select {
    min-width: 0;
    width: 100%;
  }

  .bp-cluster-rename-form .form-control,
  .bp-cluster-danger-form .form-control {
    min-width: 0;
    width: 100%;
  }

  .bp-user-membership-row {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    white-space: normal;
  }

  .bp-cluster-user-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .bp-session-timeout-form .bp-primary-button,
  .bp-user-create-strip .bp-primary-button,
  .bp-token-create-strip .bp-primary-button {
    width: 100%;
  }

  .bp-admin-page .bp-form-grid input,
  .bp-admin-page .bp-form-grid select,
  .bp-admin-page .bp-form-grid textarea,
  .bp-admin-page .bp-stack-form input,
  .bp-admin-page .bp-stack-form select,
  .bp-admin-page .bp-stack-form textarea,
  .bp-user-create-strip input,
  .bp-user-create-strip select,
  .bp-cluster-create-form input,
  .bp-cluster-create-form select,
  .bp-cluster-rename-form .form-control,
  .bp-cluster-danger-form .form-control,
  .bp-token-create-strip input,
  .bp-token-create-strip select,
  .bp-token-filter-toolbar input,
  .bp-api-help-page input,
  .bp-api-help-page select,
  .bp-session-timeout-form select {
    min-height: 44px !important;
  }

  .bp-user-create-strip .bp-primary-button,
  .bp-token-create-strip .bp-primary-button,
  .bp-session-timeout-form .bp-primary-button,
  .bp-admin-help-primary-actions .bp-primary-button,
  .bp-admin-help-primary-actions .bp-secondary-button,
  .bp-admin-help-policy-note .bp-secondary-button,
  .bp-token-scope-select .bp-checkbox-option {
    min-height: 44px !important;
  }
}
