.pp-crbr-card .pp-crbr-names{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:10px;padding:0;list-style:none}
.pp-crbr-card .pp-crbr-names>li{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;margin:0;padding:14px;border:1px solid #dce5ef;border-radius:12px;background:#fff;overflow-wrap:anywhere}
.pp-stakeholder-krz{box-sizing:border-box;display:inline-flex!important;align-items:flex-start;justify-self:start;gap:.45rem;min-width:0;max-width:100%;padding:.4rem .55rem;border-radius:7px;background:#edf3f8;color:#354b65;font:500 .8125rem/1.35 system-ui,sans-serif;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
.pp-stakeholder-krz svg{width:16px;height:16px;flex:none;margin-top:1px}
.pp-stakeholder-krz b{display:inline!important;color:inherit!important;font:700 inherit;white-space:normal!important;margin-inline-end:.25em}
.pp-stakeholder-krz--alert{background:#fff1d9;color:#754407}
.krs-content .entity-management .people>li>.pp-stakeholder-krz{margin:4px 0 4px 10px}
.krs-content .shareholder-list>li>.pp-stakeholder-krz{grid-column:1/-1}
.pp-stakeholder-note{color:#455a73;font-size:.875rem;line-height:1.55}

/* The CRBR panel is also rendered outside the module canvas on cached profiles. */
#beneficjenci.pp-crbr-card {
  box-sizing: border-box;
  min-width: 0;
  margin-block: 20px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fff;
  color: #172f49;
}
#beneficjenci.pp-crbr-card > h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.25;
}
#beneficjenci.pp-crbr-card > p {
  margin: 12px 0;
  overflow-wrap: anywhere;
}
#beneficjenci.pp-crbr-card > .pp-stakeholder-note {
  padding: 12px 14px;
  border-inline-start: 3px solid #8da9c5;
  border-radius: 0 8px 8px 0;
  background: #eef4fa;
  color: #324c65;
}
#beneficjenci.pp-crbr-card > .pp-stakeholder-note a {
  color: #164b78;
  font-weight: 650;
}
#beneficjenci.pp-crbr-card > .pp-stakeholder-note + p {
  color: #455a73;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
#beneficjenci.pp-crbr-card > a.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid #b7c8da;
  border-radius: 8px;
  background: #fff;
  color: #173c60;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
#beneficjenci.pp-crbr-card > a.btn:hover { background: #edf4fa; }
#beneficjenci.pp-crbr-card a:focus-visible { outline: 2px solid #24659c; outline-offset: 3px; }
@media (max-width: 560px) {
  #beneficjenci.pp-crbr-card .pp-crbr-names { grid-template-columns: minmax(0, 1fr); }
  #beneficjenci.pp-crbr-card > a.btn { width: 100%; }
}

/* Shared verification cards for VAT and the other company registers. */
[data-registry-checks] .registry-check {
  box-sizing: border-box;
  min-width: 0;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: start;
  gap: 8px 12px;
  padding: clamp(14px, 2vw, 22px) !important;
  border: 1px solid #dce5ef !important;
  border-radius: 12px !important;
  background: #fff !important;
}
[data-registry-checks] .registry-check > i {
  display: grid !important;
  place-items: center;
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px;
  background: #eaf0f6 !important;
  color: #284868 !important;
  font: 650 12px/1 system-ui, sans-serif !important;
}
[data-registry-checks] .registry-check.found > i {
  background: #e8f4ec !important;
  color: #21563b !important;
}
[data-registry-checks] .registry-check > div:first-of-type {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
[data-registry-checks] .registry-check h3 {
  order: -1;
  margin: 0 0 3px !important;
  font: 650 1.05rem/1.35 system-ui, sans-serif !important;
}
[data-registry-checks] .registry-check > div small {
  color: #435b72 !important;
  font: 500 .8125rem/1.45 system-ui, sans-serif !important;
}
[data-registry-checks] .registry-check p {
  margin: 5px 0 0 !important;
  color: #334e68 !important;
  overflow-wrap: anywhere;
}
[data-registry-checks] .registry-check > :is(dl, .registry-evidence) {
  grid-column: 1 / -1;
  margin: 4px 0 0 !important;
}
[data-registry-checks] .registry-check dl {
  display: block !important;
  min-width: 0;
  padding: 0 !important;
}
[data-registry-checks] .registry-check dl:empty { display: none !important; }
[data-registry-checks] .registry-check dl > div {
  display: grid !important;
  grid-template-columns: minmax(100px, 24%) minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 12px;
  width: auto !important;
  margin: 0 !important;
  padding: 9px 0 !important;
  border: 0 !important;
  border-top: 1px solid #e6edf4 !important;
  background: transparent !important;
  text-align: left !important;
}
[data-registry-checks] .registry-check dl dt {
  order: -1;
  color: #435b72 !important;
  font: 500 .8125rem/1.4 system-ui, sans-serif !important;
}
[data-registry-checks] .registry-check dl dd {
  min-width: 0;
  margin: 0 !important;
  color: #172f49 !important;
  font: 600 .9375rem/1.45 system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
[data-registry-checks] .registry-evidence > summary {
  padding: 8px 0;
  color: #20517a;
  cursor: pointer;
}
@media (max-width: 560px) {
  [data-registry-checks] .registry-check-grid { grid-template-columns: minmax(0, 1fr) !important; }
  [data-registry-checks] .registry-check dl > div { grid-template-columns: minmax(0, 1fr); }
}
