.lbq-hub {
  padding: 32px 16px;
}

.lbq-hub__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lbq-hub__empty {
  background: #fff;
  border: 1px solid #d0d7e2;
  border-radius: 12px;
  padding: 16px;
}

.lbq-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.lbq-card {
  display: block;
  background: linear-gradient(160deg, #ffffff, #f6f9fc);
  border: 1px solid #d7deea;
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: #1d2735;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.lbq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 35, 66, 0.12);
}

.lbq-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eaf1fb;
  color: #1e5b9d;
  font-size: 22px;
  margin-bottom: 12px;
}

.lbq-card__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.lbq-card__desc {
  display: block;
  color: #556170;
  font-size: 14px;
}

.lbq-page {
  padding: 24px 0;
  /*background-color: red;*/
}

.lbq-page__content {
  width: min(100%, var(--global-content-width, 1290px));
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.lambique-partners {
  padding: 24px 0;
}

.lambique-projects {
  padding: 24px 0;
}

.lambique-partners__inner {
  width: min(100%, var(--global-content-width, 1290px));
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.lambique-projects__inner {
  width: min(100%, var(--global-content-width, 1290px));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.lpr-shell .lambique-partners__inner {
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.lpr-shell .lambique-projects__inner {
  width: 100%;
  margin: 0;
}

.lbq-filters {
  display: grid;
  gap: 10px;
  width: 100%;
}

.lbq-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.lbq-toolbar__left,
.lbq-toolbar__right {
  min-width: 0;
}

.lbq-toolbar__right {
  margin-left: auto;
}

.lbq-toolbar--align-center {
  align-items: center;
}

.lbq-toolbar--align-end {
  align-items: flex-end;
}

.lbq-toolbar__title {
  margin: 0;
  line-height: 1.2;
}

.lbq-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lbq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  transform: none;
}

.lbq-toolbar__actions .lbq-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.lbq-title {
  margin: 0;
  font-size: 30px;
}

.lbq-filters__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.lbq-filters__row--align-center {
  align-items: center;
}

.lbq-filters__row--align-end {
  align-items: flex-end;
}

.lbq-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}

.lbq-field label {
  font-size: 12px;
  color: #556170;
}

.lbq-field input,
.lbq-field select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ccd6e2;
  border-radius: 6px;
}

.lbq-toggle-group {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lbq-toggle-group__label {
  font-size: 12px;
  color: #556170;
  margin: 0;
}

.lbq-toggle-group__options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lbq-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: #4b5563;
  white-space: nowrap;
}

.lbq-check input {
  margin: 0;
}

.lbq-check__text {
  text-transform: uppercase;
}

.lbq-form {
  margin: 0 0 12px;
  border: 1px solid #dcdcde;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  display: grid;
  gap: 12px;
}

.lbq-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lbq-form__hint {
  color: #646970;
  font-size: 12px;
}

.lbq-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lbq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.lbq-entity-card {
  display: block;
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: linear-gradient(165deg, #fff, #f7fafc);
  padding: 14px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.05);
  text-decoration: none;
  color: #1d2735;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.lbq-entity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 35, 66, 0.12);
}

.lbq-entity-card--static:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.05);
}

.lbq-entity-card__link {
  display: block;
}

.lbq-entity-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.lbq-entity-card__head {
  min-width: 0;
}

.lbq-entity-card__name {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.lbq-entity-card__name .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: #44566c;
}

.lbq-entity-card__name-muted {
  color: #6b7788;
  font-weight: 500;
}

.lbq-entity-card__subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: #6b7788;
  line-height: 1.3;
}

.lbq-entity-card__meta {
  margin: 0;
  font-size: 13px;
  color: #526071;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.lbq-entity-card__label {
  color: #6b7788;
}

.lbq-entity-card__value {
  margin-left: auto;
  text-align: right;
  color: #1f2b3a;
}

.lbq-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.42rem;
  border: 1px solid #ccd5e0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.lbq-pill--status {
  text-transform: uppercase;
  font-weight: 700;
}

.lbq-pill--active {
  border-color: #b8ddc7;
  background: rgba(231, 246, 237, 0.8);
  color: #1f7a43;
}

.lbq-pill--inactive {
  border-color: #e2c1c1;
  background: rgba(251, 236, 236, 0.85);
  color: #9b2c2c;
}

.lbq-empty {
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.lbq-message {
  margin: 0;
  border: 1px solid #d7deea;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: #1f2b3a;
}

.lbq-message--success {
  border-color: #b8ddc7;
  background: #f0faf4;
  color: #1f7a43;
}

.lbq-message--warning {
  border-color: #ead8ac;
  background: #fff9eb;
  color: #9a6700;
}

.lbq-message--error {
  border-color: #e2c1c1;
  background: #fdf2f2;
  color: #9b2c2c;
}

.lbq-message--empty {
  color: #556170;
}

.lbq-card-2x2 {
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: linear-gradient(165deg, #fff, #f7fafc);
  padding: 14px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.05);
}

.lbq-card-2x2__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title metric"
    "subtitle actions";
  gap: 6px 12px;
  align-items: center;
}

.lbq-card-2x2__title {
  grid-area: title;
  margin: 0;
}

.lbq-card-2x2__subtitle {
  grid-area: subtitle;
  margin: 0;
  color: #6b7788;
  font-size: 13px;
}

.lbq-card-2x2__metric {
  grid-area: metric;
  justify-self: end;
  white-space: nowrap;
}

.lbq-card-2x2__actions {
  grid-area: actions;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lbq-card-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.lbq-card-list > li + li {
  margin-top: 10px;
}

.lbq-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lbq-inline-actions form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.lbq-inline-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #005bc5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.lbq-inline-actions__btn:hover {
  background: transparent;
  color: #004799;
  text-decoration: underline;
}

.lbq-inline-actions__btn:focus-visible {
  outline: 2px solid #005bc5;
  outline-offset: 2px;
}

.lbq-action-link {
  display: inline-flex;
  align-items: center;
  color: #005bc5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.lbq-action-link:hover {
  color: #004799;
  text-decoration: underline;
}

.lbq-action-link:focus-visible {
  outline: 2px solid #005bc5;
  outline-offset: 2px;
}

.lbq-button {
  border: 1px solid #0b57d0;
  background: #0b57d0;
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.lbq-button:hover {
  background: #003a99;
  border-color: #003a99;
}

.lbq-tabs {
  margin-top: 14px;
}

.lbq-tabs__nav {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  border-bottom: 1px solid #c3c4c7;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.lbq-tabs__btn {
  appearance: none;
  border: 1px solid #c3c4c7;
  border-bottom: 0;
  background: #dcdcde;
  color: #50575e;
  border-radius: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  margin: 0 0 -1px;
}

.lbq-tabs__btn:hover {
  background: #fff;
  color: #3c434a;
}

.lbq-tabs__btn[aria-selected="true"] {
  background: #f0f0f1;
  color: #000;
  border-bottom: 1px solid #f0f0f1;
}

.lbq-tabs__btn:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: -2px;
}

.lbq-tabs__panel {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 12px 0 0;
}

.lbq-print {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--lbq-print-text, #111);
}

.lbq-print__page {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  max-width: 190mm;
  margin: 8mm auto;
  padding: 0 4mm;
}

.lbq-print h1,
.lbq-print h2,
.lbq-print h3 {
  margin: 0;
  line-height: 1.25;
}

.lbq-print__title {
  font-size: 18px;
  text-align: center;
  background: var(--lbq-print-title-bg, #e1e5eb);
  border: 0;
  padding: 6px 8px;
  margin-bottom: 8px;
}

.lbq-print__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}

.lbq-print__header-brand img {
  display: block;
  max-height: 26px;
  width: auto;
}

.lbq-print__header-brand-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.lbq-print__header-title {
  font-size: 11px;
  color: var(--lbq-print-muted, #50575e);
  white-space: nowrap;
}

.lbq-print__meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 10px;
}

.lbq-print__meta-table td {
  padding: 2px 0;
  vertical-align: top;
  border: 0;
}

.lbq-print__meta-table td:first-child {
  width: 110px;
  color: var(--lbq-print-muted, #50575e);
  padding-right: 8px;
}

.lbq-print__section {
  border-top: 0;
  padding-top: 0;
  margin-top: 10px;
  break-inside: auto;
}

.lbq-print__section > h2 {
  display: block;
  width: 100%;
  background: var(--lbq-print-title-bg, #e1e5eb);
  border: 0;
  padding: 5px 8px;
  margin: 0 0 6px;
  font-size: 14px;
}

.lbq-print__module {
  margin-top: 4px;
}

.lbq-print__module p {
  margin: 0 0 6px;
}

.lbq-print__module ul,
.lbq-print__module ol {
  margin: 0;
  padding-left: 18px;
}

.lbq-print__module li {
  margin: 0 0 4px;
}

.lbq-print__module table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 0;
}

.lbq-print-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 0;
}

.lbq-print__module thead {
  display: table-header-group;
}

.lbq-print__module tfoot {
  display: table-footer-group;
}

.lbq-print__module tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.lbq-print__module th {
  font-weight: 600;
  border-bottom: 1px solid var(--lbq-print-border, #d0d3d8);
  padding: 3px 6px;
}

.lbq-print-table th {
  font-weight: 600;
  border-bottom: 1px solid var(--lbq-print-border, #d0d3d8);
  padding: 3px 6px;
}

.lbq-print__module td {
  border-bottom: 1px solid var(--lbq-print-border-soft, #d3d7de);
  padding: 3px 6px;
  vertical-align: top;
}

.lbq-print-table td {
  border-bottom: 1px solid var(--lbq-print-border-soft, #d3d7de);
  padding: 3px 6px;
  vertical-align: top;
}

.lbq-print__module small {
  display: inline-block;
  font-size: 11px;
  color: var(--lbq-print-muted, #50575e);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .lbq-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lbq-toolbar__right {
    margin-left: 0;
    width: 100%;
  }

  .lbq-actions {
    width: 100%;
  }

  .lbq-actions .button {
    flex: 1 1 auto;
    text-align: center;
  }

  .lbq-filters__row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lbq-field {
    min-width: 100%;
  }

  .lbq-tabs__btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .lbq-card-2x2__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "subtitle"
      "metric"
      "actions";
    gap: 8px;
  }

  .lbq-card-2x2__metric,
  .lbq-card-2x2__actions {
    justify-self: start;
  }

  .lbq-inline-actions {
    gap: 8px;
  }
}
/* Overlay principal */
.lbq-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

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

/* Fond noir transparent */
.lbq-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

/* Fenêtre */
.lbq-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(1000px, 95vw);
    max-height: 90vh;

    overflow: auto;

    background: #ffffff;
    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.2),
        0 2px 10px rgba(0,0,0,.08);
}

/* Contenu interne */
.lbq-modal__content {
    padding: 24px;
}

/* Empêche le scroll body quand modal ouverte */
body.lbq-modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {

    .lbq-modal {
        padding: 12px;
        align-items: flex-start;
    }

    .lbq-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        margin-top: 12px;
        border-radius: 10px;
    }

    .lbq-modal__content {
        padding: 16px;
    }
}
