.krd-code-badge {
    align-items: stretch;
    background: #1db954;
    border: 0 !important;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(20, 129, 67, 0.18);
    display: flex;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin: 8px 0 12px;
    max-width: 560px;
    overflow: hidden;
    width: 100%;
}

.krd-code-badge-label,
.krd-code-badge-value,
.krd-code-badge-action {
    align-items: center;
    display: inline-flex;
    min-height: 56px;
    padding: 10px 16px;
}

.krd-code-badge-label,
.krd-code-badge-action {
    color: #fff;
}

.krd-code-badge-value {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    flex: 1;
    font-size: 28px;
    letter-spacing: 0;
    word-break: break-word;
}

.krd-code-badge-action {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 0;
    cursor: pointer;
    justify-content: center;
    min-width: 56px;
    text-decoration: none;
}

.krd-code-badge-action:hover,
.krd-code-badge-action:focus {
    background: rgba(255, 255, 255, 0.26) !important;
}

.krd-code-badge-action.krd-copied {
    background: rgba(255, 255, 255, 0.34) !important;
}

.krd-paybill-index-intro {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 0 0 22px;
    padding: 18px 20px;
}

.krd-paybill-index-lead {
    color: #0f172a;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 12px;
}

.krd-paybill-index-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.krd-paybill-index-highlights span {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    padding: 6px 10px;
}

.krd-paybill-index-highlights i {
    color: #16a34a;
}

.krd-paybill-index-note {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.drts-view-entities-list-grid>.drts-row {
    display: grid !important;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.drts-view-entities-list-grid>.drts-row>.drts-view-entity-container {
    flex: none !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
}

.drts-view-entities-list-row>.drts-display--summary,
.drts-display--summary-infobox {
    min-width: 0;
}

.drts-display--summary {
    background: #fff;
    border-color: #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 8px;
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 180px;
    padding: 16px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.drts-view-entities-list-grid .drts-display--summary {
    height: 100%;
}

.drts-display--summary:hover {
    border-color: #bbf7d0 !important;
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.1);
    transform: translateY(-1px);
}

.drts-display--summary .drts-display-element {
    height: auto !important;
    line-height: 1.35;
    margin: 0 !important;
    min-width: 0;
    width: auto !important;
}

.drts-display--summary .drts-display-element-entity_field_field_logo-2001 {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    grid-column: 1;
    grid-row: 1 / span 4;
    height: 82px !important;
    justify-content: center;
    margin-bottom: 4px !important;
    order: 1;
    overflow: hidden;
    padding: 0;
    width: 82px !important;
}

.drts-display--summary .drts-display-element-entity_field_field_logo-2001 img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.drts-display--summary .drts-display-element-entity_field_post_title-2002 {
    font-size: 18px;
    font-weight: 800;
    grid-column: 2;
    line-height: 1.25;
    order: 2;
}

.drts-display--summary .drts-display-element-entity_field_post_title-2002 a {
    color: #0f172a;
    text-decoration: none !important;
}

.drts-display--summary .drts-display-element-entity_field_post_title-2002 a:hover {
    color: #15803d;
}

.drts-display--summary .drts-display-element-entity_field_post_title-2002,
.drts-display--summary .drts-display-element-entity_field_post_title-2002 * {
    text-decoration: none !important;
}

.drts-display--summary .drts-display-element-entity_field_field_paybill_number-2003,
.drts-display--summary .drts-display-element-entity_field_field_till_number-2004 {
    grid-column: 2;
    order: 3;
}

.drts-display--summary .drts-display-element-entity_field_field_organization_name-2005 {
    color: #334155;
    font-size: 15px;
    font-weight: 700;
    grid-column: 2;
    order: 4;
}

.drts-display--summary .drts-display-element-entity_field_field_short_description-2004,
.drts-display--summary .drts-display-element-entity_field_field_short_description-2006 {
    color: #64748b;
    display: -webkit-box;
    font-size: 14px;
    grid-column: 2;
    line-height: 1.5;
    order: 5;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}



.drts-view-entities-list-row .drts-display--summary {
    min-height: 0;
}

.drts-display--summary [class*="entity_field_field_logo"] {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    grid-column: 1;
    grid-row: 1 / span 6;
    height: 72px !important;
    justify-content: center;
    order: 1;
    overflow: hidden;
    padding: 0;
    width: 72px !important;
}

.drts-display--summary [class*="entity_field_field_logo"] img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

/* Column-2 items with explicit visual order (prevents DOM-order surprises) */
.drts-display--summary [class*="entity_field_post_title"] {
    grid-column: 2;
    order: 2;
}

.drts-display--summary [class*="entity_field_field_paybill_number"],
.drts-display--summary [class*="entity_field_field_bank_code"],
.drts-display--summary [class*="entity_field_field_swift_code"] {
    grid-column: 2;
    order: 3;
}

.drts-display--summary [class*="entity_field_field_payment_status"] {
    grid-column: 2;
    order: 4;
}

.drts-display--summary [class*="entity_field_field_bank_name"] {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    grid-column: 2;
    order: 5;
}

.drts-display--summary [class*="entity_field_field_short_description"] {
    color: #64748b;
    display: -webkit-box;
    font-size: 14px;
    grid-column: 2;
    line-height: 1.45;
    order: 6;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ── Summary / row card: compact split-badge pill ──────────────────────── */
.drts-display--summary .krd-code-badge {
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px;
    box-shadow: none;
    display: inline-flex;
    margin: 2px 0 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    width: fit-content;
}

.drts-display--summary .krd-code-badge-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    min-height: 26px;
    padding: 4px 6px 4px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.drts-display--summary .krd-code-badge-value {
    background: rgba(0, 0, 0, 0.07) !important;
    color: #0f172a !important;
    flex: 0 1 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    min-height: 26px;
    min-width: 0;
    padding: 4px 8px;
}

.drts-display--summary .krd-code-badge-action {
    background: rgba(0, 0, 0, 0.10) !important;
    color: #334155 !important;
    font-size: 11px;
    min-height: 26px;
    min-width: 26px;
    padding: 4px 7px;
}

.drts-display--summary .krd-code-badge-action:hover,
.drts-display--summary .krd-code-badge-action:focus {
    background: rgba(0, 0, 0, 0.18) !important;
}

.krd-paybill-status-pill {
    align-items: center;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 999px;
    color: #92400e;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 8px 10px;
    text-transform: uppercase;
    width: fit-content;
}

.krd-paybill-status-pill--no_official_paybill,
.krd-paybill-status-pill--unknown_verify_first {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

/* Status pill: smaller inside summary cards so it aligns with the code badge pill */
.drts-display--summary .krd-paybill-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
}

.drts-view-entities-list-grid .drts-display--summary {
    align-content: start;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 152px;
}

.drts-view-entities-list-row .drts-display--summary {
    align-items: start;
    gap: 4px 16px;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 0;
}

.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_logo"] {
    grid-column: 1;
    grid-row: 1 / span 4;
}

.drts-view-entities-list-row .drts-display--summary [class*="entity_field_post_title"],
.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_short_description"],
.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_bank_name"],
.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_paybill_number"],
.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_bank_code"],
.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_swift_code"],
.drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_payment_status"] {
    grid-column: 2;
    justify-self: start;
}

.krd-paybill-hero {
    --krd-hero-accent: #16a34a;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    margin: 16px 0 30px;
    overflow: hidden;
    padding: 18px;
}

.krd-paybill-hero-main {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    min-width: 0;
}

.krd-paybill-hero-logo {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    display: flex;
    flex: 0 0 112px;
    height: 112px;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    width: 112px;
}

.krd-paybill-hero-logo img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.krd-paybill-hero-logo-fallback {
    align-items: center;
    color: var(--krd-hero-accent);
    display: inline-flex;
    font-size: 42px;
    justify-content: center;
}

.krd-paybill-hero-content {
    min-width: 0;
}

.krd-paybill-hero-kicker {
    color: var(--krd-hero-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.krd-paybill-hero-title {
    color: #0f172a;
    font-size: 28px;
    font-weight: 850;
    line-height: 1.12;
    margin: 0 0 8px;
}

.krd-paybill-hero-org {
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.krd-paybill-hero-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

.krd-paybill-hero-panel {
    align-self: stretch;
    background: linear-gradient(135deg, var(--krd-hero-accent), #20c463);
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 18px;
}

.krd-paybill-hero-code-label {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
    opacity: 0.88;
    text-transform: uppercase;
}

.krd-paybill-hero-code-row {
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0;
}

.krd-paybill-hero-code {
    color: #fff;
    flex: 1;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    padding: 18px 0;
    word-break: break-word;
}

.krd-paybill-hero-copy {
    align-items: center;
    background: rgba(255, 255, 255, 0.22);
    border: 0;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 64px;
    justify-content: center;
    margin: 4px;
}

.krd-paybill-hero-copy:hover,
.krd-paybill-hero-copy:focus,
.krd-paybill-hero-copy.krd-copied {
    background: rgba(255, 255, 255, 0.32);
}

.krd-paybill-hero-no-code {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    padding: 14px;
}

.krd-paybill-hero-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    margin: 18px 0 0;
    padding-top: 16px;
}

.krd-paybill-hero-meta div {
    display: grid;
    gap: 2px;
}

.krd-paybill-hero-meta dt {
    font-size: 11px;
    font-weight: 800;
    opacity: 0.76;
    text-transform: uppercase;
}

.krd-paybill-hero-meta dd {
    font-size: 14px;
    line-height: 1.42;
    margin: 0;
}

.krd-paybill-hero-app-links {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
}

.krd-paybill-hero-app-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
    padding: 7px 11px;
    text-decoration: none !important;
}

.krd-paybill-hero-app-links a:hover,
.krd-paybill-hero-app-links a:focus {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.krd-detail-header {
    margin: 10px 0 28px;
}

.krd-detail-header-columns {
    align-items: center;
    gap: 24px;
}

.krd-detail-header img {
    border-radius: 8px;
    display: block;
    max-height: 220px;
    max-width: 320px;
    object-fit: contain;
    width: 100%;
}

.krd-detail-overview-columns {
    gap: 30px;
}

.krd-bank-code-intro {
    color: #334155;
    font-size: 16px;
    line-height: 1.65;
    margin: 18px 0 26px;
    max-width: 840px;
}

.krd-paybill-intro {
    color: #334155;
    font-size: 17px;
    line-height: 1.65;
    margin: 18px 0 28px;
    max-width: 880px;
}

.krd-bank-code-intro p,
.krd-paybill-intro p {
    margin: 0 0 14px;
}

.krd-bank-code-intro p:last-child,
.krd-paybill-intro p:last-child {
    margin-bottom: 0;
}

.krd-bank-code-inline,
.krd-paybill-intro-code {
    color: #0f766e;
    white-space: nowrap;
}

.krd-detail-section,
.krd-detail-overview,
.krd-detail-identity,
.krd-detail-contact,
.krd-detail-alternative-payments {
    margin: 34px 0;
}

.krd-detail-contact {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.krd-detail-contact img {
    border-radius: 8px;
    max-height: 260px;
    object-fit: contain;
}

.krd-detail-fieldlist,
.krd-detail-contact-list,
.krd-detail-payment-alternatives {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 14px 16px;
}

.krd-paybill-identity-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 14px 16px;
}

.krd-paybill-identity-row {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
}

.krd-paybill-identity-row:first-child {
    padding-top: 0;
}

.krd-paybill-identity-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.krd-paybill-identity-row strong,
.krd-paybill-identity-row span {
    display: block;
}

.krd-paybill-identity-row strong {
    color: #111827;
    font-size: 14px;
    margin-bottom: 4px;
}

.krd-detail-alternative-payments {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    padding: 22px;
}

.krd-detail-alternative-payments>.drts-display-element-header,
.krd-detail-alternative-payments>.drts-display-element-heading {
    margin-bottom: 18px;
}

.krd-alternative-payment-cards {
    display: grid;
    gap: 14px;
}

.krd-alternative-payment-cards--grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.krd-alternative-payment-cards--list {
    grid-template-columns: minmax(0, 1fr);
}

.krd-alternative-payment-card {
    align-items: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e7edf4;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.krd-alternative-payment-card:hover {
    border-color: #bbf7d0;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.08);
    transform: translateY(-1px);
}

.krd-alternative-payment-cards--grid .krd-alternative-payment-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 148px;
}

.krd-alternative-payment-cards--list .krd-alternative-payment-card {
    align-items: center;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 76px;
    padding: 13px 15px;
}

.krd-alternative-payment-icon {
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #dcfce7;
    border-radius: 10px;
    color: #16a34a;
    display: inline-flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.krd-alternative-payment-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.krd-alternative-payment-cards--list .krd-alternative-payment-body {
    align-items: center;
    column-gap: 14px;
    grid-template-columns: minmax(150px, 0.7fr) minmax(120px, auto) minmax(220px, 1.3fr);
}

.krd-alternative-payment-title {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.krd-alternative-payment-action {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 24px;
}

.krd-alternative-payment-number {
    background: #dcfce7;
    border-radius: 999px;
    color: #166534;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    padding: 6px 9px;
    width: fit-content;
}

.krd-alternative-payment-description,
.krd-alternative-payment-link {
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.krd-alternative-payment-link {
    background: #eff6ff;
    border-radius: 999px;
    color: #2563eb;
    display: inline-flex;
    font-weight: 700;
    line-height: 1;
    overflow-wrap: anywhere;
    padding: 6px 9px;
    text-decoration: none !important;
    width: fit-content;
}

.krd-alternative-payment-link:hover,
.krd-alternative-payment-link:focus {
    background: #dbeafe;
    color: #1d4ed8;
}

.krd-alternative-payment-cards--list .krd-alternative-payment-description {
    font-size: 13px;
    line-height: 1.4;
}

.krd-structured {
    margin: 28px 0;
}

.krd-branch-codes {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.krd-branch-codes-note {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    padding: 16px 16px 0;
}

.krd-branch-codes-toolbar {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.krd-branch-codes-search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    display: flex;
    flex: 1 1 320px;
    gap: 10px;
    max-width: 460px;
    padding: 0 12px;
}

.krd-branch-codes-search i {
    color: #64748b;
    font-size: 14px;
}

.krd-branch-codes-search input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #0f172a;
    font-size: 14px;
    min-height: 40px;
    outline: 0;
    padding: 0 !important;
    width: 100%;
}

.krd-branch-codes-count {
    color: #64748b;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
}

.krd-branch-codes-table-wrap {
    overflow-x: auto;
}

.krd-branch-codes-table {
    border-collapse: collapse;
    margin: 0;
    min-width: 760px;
    width: 100%;
}

.krd-branch-codes-table th,
.krd-branch-codes-table td {
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: 14px;
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
}

.krd-branch-codes-table th {
    background: #f8fafc;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.krd-branch-codes-table tr:last-child td {
    border-bottom: 0;
}

.krd-branch-codes-table strong {
    color: #0f172a;
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.krd-branch-codes-address {
    color: #64748b;
    display: block;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 4px;
}

.krd-branch-code-pill {
    background: #ecfdf5;
    border-radius: 999px;
    color: #047857;
    display: inline-flex;
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
}

.krd-branch-copy {
    align-items: center;
    background: #16a34a;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    margin: 8px;
    width: 28px;
}

.krd-branch-codes-empty {
    color: #64748b;
    margin: 0;
    padding: 18px;
}

.krd-bank-related-listings,
.krd-paybill-related-codes {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.krd-bank-related-card a,
.krd-paybill-related-code-card a {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: 14px;
    min-height: 128px;
    padding: 14px;
    text-decoration: none !important;
}

.krd-bank-related-logo,
.krd-paybill-related-code-logo {
    align-items: center;
    background: #f8fafc;
    border-radius: 7px;
    color: #64748b;
    display: inline-flex;
    flex: 0 0 58px;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.krd-bank-related-logo img,
.krd-paybill-related-code-logo img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.krd-bank-related-body,
.krd-paybill-related-code-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.krd-bank-related-type,
.krd-paybill-related-code-type {
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.krd-bank-related-body strong,
.krd-paybill-related-code-body strong {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
}

.krd-bank-related-code,
.krd-paybill-related-code-primary,
.krd-paybill-related-code-meta {
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
}

.krd-bank-related-description,
.krd-paybill-related-code-description {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.krd-structured-heading {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 800;
    gap: 14px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.krd-structured-heading::after {
    background: #e5e7eb;
    content: "";
    flex: 1;
    height: 1px;
    min-width: 48px;
}

.krd-structured-items {
    display: grid;
    gap: 12px;
}

.krd-structured-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    padding: 14px 16px;
}

.krd-structured-item-title {
    font-size: 15px;
    line-height: 1.35;
    margin: 0 0 6px;
}

.krd-structured-line+.krd-structured-line {
    margin-top: 8px;
}

.krd-structured-label {
    color: #6b7280;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.krd-structured-value {
    display: block;
    line-height: 1.55;
}

.krd-howto-steps {
    counter-reset: krd-howto-counter;
    list-style: none;
    margin: 0;
    padding: 0;
}

.krd-howto-step {
    align-items: flex-start;
    counter-increment: krd-howto-counter;
    display: flex;
    gap: 14px;
    padding: 16px 18px;
}

.krd-howto-step::before {
    align-items: center;
    background: #1db954;
    border-radius: 999px;
    color: #fff;
    content: counter(krd-howto-counter);
    display: inline-flex;
    flex: 0 0 30px;
    font-size: 14px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    margin-top: 2px;
    width: 30px;
}

.krd-howto-step-body {
    min-width: 0;
}

.krd-howto-step-text {
    color: #4b5563;
}

.krd-payment-methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.krd-payment-method-card {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.krd-payment-method-card:hover {
    border-color: #1db954;
    box-shadow: 0 8px 18px rgba(20, 129, 67, 0.1);
    transform: translateY(-1px);
}

.krd-payment-method-icon {
    align-items: center;
    background: #ecfdf3;
    border-radius: 8px;
    color: #159447;
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.krd-payment-method-body {
    min-width: 0;
}

.krd-payment-method-number {
    color: #159447;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
    word-break: break-word;
}

.krd-payment-method-instructions {
    color: #4b5563;
    font-size: 14px;
}

.krd-accordion-item {
    padding: 0;
}

.krd-accordion-summary {
    align-items: center;
    cursor: pointer;
    display: flex !important;
    gap: 12px;
    list-style: none;
    list-style-type: none;
    padding: 16px 18px;
}

.krd-accordion-summary::-webkit-details-marker {
    display: none;
}

.krd-accordion-summary::marker {
    content: "";
    display: none;
}

.krd-accordion-title {
    color: #111827;
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.krd-accordion-toggle {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #6b7280;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 18px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    position: static;
    width: 28px;
}

.krd-accordion-toggle::before {
    content: "+";
}

.krd-accordion-toggle::after {
    content: none;
}

.krd-accordion-item[open] .krd-accordion-toggle::before {
    content: "-";
}

.krd-accordion-body {
    border-top: 1px solid #eef2f7;
    color: #4b5563;
    line-height: 1.6;
    padding: 14px 18px 18px;
}

.krd-error-item {
    border-color: #fee2e2;
}

.krd-error-summary {
    align-items: flex-start;
}

.krd-error-summary .krd-accordion-toggle {
    margin-top: 1px;
}

.krd-error-mark {
    align-items: center;
    background: #ef4444;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 22px;
    font-size: 14px;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    margin-top: 1px;
    width: 22px;
}

.krd-error-summary-text {
    display: grid;
    flex: 1;
    gap: 4px;
}

.krd-error-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.krd-error-solution {
    background: #f0fdf4;
    border-color: #dcfce7;
    color: #166534;
}

.krd-structured-krd_faq .krd-accordion-item {
    box-shadow: none;
}

.krd-related-listings {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.krd-related-card {
    min-width: 0;
}

.krd-related-card-link {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 10px;
    height: 100%;
    padding: 14px;
    text-decoration: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.krd-related-card-link:hover,
.krd-related-card-link:focus {
    border-color: #bbf7d0;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.1);
    color: inherit;
    transform: translateY(-1px);
}

.krd-related-card-logo {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: inline-flex;
    height: 74px;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    width: 74px;
}

.krd-related-card-logo img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.krd-related-card-logo i {
    color: #16a34a;
    font-size: 30px;
}

.krd-related-card-body {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.krd-related-card-title {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.krd-related-card-badge {
    align-items: center;
    background: #16a34a;
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    max-width: 100%;
    overflow: hidden;
    width: fit-content;
}

.krd-related-card-badge span,
.krd-related-card-badge b {
    padding: 6px 9px;
}

.krd-related-card-badge b {
    background: rgba(255, 255, 255, 0.16);
    font-size: 16px;
}

.krd-related-card-badge-muted {
    background: #475569;
}

.krd-related-card-org {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.krd-related-card-description {
    color: #64748b;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 720px) {
    .krd-code-badge {
        max-width: 100%;
    }

    .krd-code-badge-label,
    .krd-code-badge-value,
    .krd-code-badge-action {
        min-height: 50px;
        padding: 9px 12px;
    }

    .krd-code-badge-value {
        font-size: 22px;
    }

    .drts-display--summary,
    .drts-view-entities-list-row .drts-display--summary,
    .drts-view-entities-list-grid .drts-display--summary {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .drts-display--summary [class*="entity_field_field_logo"] {
        height: 62px !important;
        width: 62px !important;
    }

    .drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_paybill_number"],
    .drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_bank_code"],
    .drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_swift_code"],
    .drts-view-entities-list-row .drts-display--summary [class*="entity_field_field_payment_status"] {
        grid-column: 2;
        justify-self: start;
    }

    .krd-paybill-hero {
        padding: 16px;
    }

    .krd-paybill-hero-main {
        display: grid;
        gap: 14px;
    }

    .krd-paybill-hero-logo {
        height: 112px;
        width: 112px;
    }

    .krd-paybill-hero-title {
        font-size: 26px;
    }

    .krd-paybill-hero-code {
        font-size: 34px;
    }

    .krd-alternative-payment-cards--list .krd-alternative-payment-body {
        align-items: flex-start;
        grid-template-columns: minmax(0, 1fr);
    }

    .krd-alternative-payment-cards--list .krd-alternative-payment-card {
        align-items: flex-start;
    }

    .krd-detail-header-columns,
    .krd-detail-overview-columns {
        gap: 18px;
    }

    .krd-howto-step,
    .krd-accordion-summary {
        padding: 14px;
    }
}