.dkcb-board {
    --dkcb-bg: #07110b;
    --dkcb-panel: #0d1811;
    --dkcb-panel-2: #122017;
    --dkcb-border: rgba(63, 124, 78, 0.28);
    --dkcb-text: #f1f7f1;
    --dkcb-muted: #adc2b0;
    --dkcb-green: #22a352;
    --dkcb-blue: #2f8b57;
    --dkcb-orange: #c77718;
    --dkcb-red: #be3f45;
    --dkcb-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    color: var(--dkcb-text);
    background: radial-gradient(circle at top left, #153524 0%, #0b1710 42%, var(--dkcb-bg) 82%);
    border: 1px solid var(--dkcb-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--dkcb-shadow);
    max-width: 100%;
    overflow: hidden;
}

.dkcb-board *,
.dkcb-board *::before,
.dkcb-board *::after {
    box-sizing: border-box;
}

.dkcb-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dkcb-topbar-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.dkcb-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dkcb-brand .dashicons {
    width: 48px;
    height: 48px;
    font-size: 48px;
}

.dkcb-brand h1,
.dkcb-brand p,
.dkcb-panel h2,
.dkcb-panel h3,
.dkcb-panel h4,
.dkcb-panel p,
.dkcb-card__label,
.dkcb-card__value,
.dkcb-card__meta,
.dkcb-help-box,
.dkcb-help-box li,
.dkcb-notice,
.dkcb-locked-message,
.dkcb-collapsible summary,
.dkcb-field-group label,
.dkcb-stack-form label span {
    color: var(--dkcb-text);
}

.dkcb-brand h1,
.dkcb-panel h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
}

.dkcb-panel h3,
.dkcb-panel h4 {
    margin: 0 0 8px;
}

.dkcb-brand p,
.dkcb-panel-head p,
.dkcb-setup-head p,
.dkcb-empty-note,
.dkcb-inline-muted,
.dkcb-schema-line,
.dkcb-stack-form label span,
.dkcb-field-group label {
    margin: 4px 0 0;
    color: var(--dkcb-muted);
}

.dkcb-inline-submeta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--dkcb-muted);
}

.dkcb-stage-pill,
.dkcb-round-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.dkcb-stage-pill {
    background: rgba(34, 163, 82, 0.16);
    border: 1px solid rgba(34, 163, 82, 0.34);
    color: #dbffe7;
}

.dkcb-round-pill-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.dkcb-round-pill {
    background: rgba(34,163,82,0.08);
    border: 1px solid rgba(63,124,78,0.24);
    color: #e4f7e8;
}

.dkcb-notice {
    background: rgba(34, 163, 82, 0.10);
    border: 1px solid rgba(63, 124, 78, 0.32);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.dkcb-notice--info {
    margin-bottom: 22px;
}

.dkcb-notice--success {
    background: rgba(31, 143, 79, 0.16);
    border-color: rgba(31, 143, 79, 0.36);
}

.dkcb-notice--error {
    background: rgba(190, 63, 69, 0.16);
    border-color: rgba(190, 63, 69, 0.36);
}

.dkcb-notice--warning {
    background: rgba(199, 119, 24, 0.12);
    border-color: rgba(199, 119, 24, 0.34);
}

.dkcb-generation-report {
    display: grid;
    gap: 14px;
}

.dkcb-generation-report__header {
    display: grid;
    gap: 4px;
}

.dkcb-generation-report__header span {
    color: rgba(228, 247, 232, 0.82);
    font-size: 14px;
}

.dkcb-generation-report__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dkcb-generation-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(5, 12, 8, 0.54);
    border: 1px solid rgba(63, 124, 78, 0.24);
    font-size: 12px;
}

.dkcb-generation-report__group {
    display: grid;
    gap: 8px;
}

.dkcb-generation-report__title {
    font-weight: 700;
    color: #f5fff8;
}

.dkcb-generation-report__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.dkcb-generation-report__list li {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(5, 12, 8, 0.42);
    border: 1px solid rgba(63, 124, 78, 0.18);
}

.dkcb-generation-report__list li span {
    color: rgba(228, 247, 232, 0.82);
    font-size: 13px;
}


.dkcb-quick-actions {
    background: linear-gradient(180deg, rgba(25, 48, 33, 0.92), rgba(9, 17, 11, 0.96));
    border: 1px solid var(--dkcb-border);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 18px;
    display: grid;
    gap: 12px;
}

.dkcb-quick-actions__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dkcb-quick-actions__text {
    display: grid;
    gap: 4px;
}

.dkcb-quick-actions__text strong {
    font-size: 18px;
}

.dkcb-quick-actions__text span {
    color: var(--dkcb-muted);
}

.dkcb-quick-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dkcb-quick-actions__buttons .dkcb-inline-form,
.dkcb-quick-actions__buttons .button {
    margin: 0;
}

.dkcb-quick-actions__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--dkcb-muted);
    font-size: 13px;
}

.dkcb-quick-actions__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(63, 124, 78, 0.24);
}

.dkcb-cards {
    display: grid;
    grid-template-columns: 2fr repeat(4, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.dkcb-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 20, 13, 0.35));
    border: 1px solid var(--dkcb-border);
    border-radius: 18px;
    padding: 18px;
    min-height: 126px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.dkcb-card--wide {
    background: linear-gradient(180deg, rgba(34, 163, 82, 0.18), rgba(8, 20, 12, 0.72));
}

.dkcb-card--green { border-left: 5px solid var(--dkcb-green); }
.dkcb-card--blue { border-left: 5px solid var(--dkcb-blue); }
.dkcb-card--orange { border-left: 5px solid var(--dkcb-orange); }
.dkcb-card--red { border-left: 5px solid var(--dkcb-red); }

.dkcb-card__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dkcb-muted);
    margin-bottom: 10px;
}

.dkcb-card__value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.dkcb-card__meta {
    color: var(--dkcb-muted);
    font-size: 13px;
}

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

.dkcb-grid > * {
    min-width: 0;
}

.dkcb-panel {
    background: linear-gradient(180deg, rgba(31, 54, 38, 0.62), rgba(10, 19, 13, 0.92));
    border: 1px solid var(--dkcb-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--dkcb-shadow);
}

.dkcb-sidebar {
    position: sticky;
    top: 24px;
}

.dkcb-actions {
    grid-column: 2;
    border-style: dashed;
    background: linear-gradient(180deg, rgba(20, 36, 25, 0.82), rgba(9, 17, 11, 0.96));
}

.dkcb-actions .dkcb-admin-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dkcb-actions .dkcb-help-box {
    margin-top: 14px;
}

.dkcb-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.dkcb-main .dkcb-summary-block,
.dkcb-main .dkcb-setup-panel {
    margin-top: 0;
}

.dkcb-panel-head {
    margin-bottom: 16px;
}

.dkcb-panel-head--compact {
    margin-bottom: 12px;
}

.dkcb-round-list {
    list-style: none;
    margin: 12px 0 16px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.dkcb-round-list li {
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--dkcb-text);
    background: rgba(255,255,255,0.025);
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.dkcb-round-list li:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.12);
}

.dkcb-round-list li.is-active {
    background: rgba(31, 143, 79, 0.16);
    border-color: rgba(31, 143, 79, 0.4);
}

.dkcb-round-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.dkcb-round-row .dkcb-round-link {
    flex: 1 1 auto;
}

.dkcb-round-delete-form {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 8px 8px 0;
}

.dkcb-round-delete-button {
    min-width: 74px !important;
    min-height: 30px !important;
    white-space: nowrap;
    font-size: 11px !important;
    line-height: 1.1 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    opacity: 0.9;
}

.dkcb-round-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: inherit;
    text-decoration: none;
    padding: 13px 12px;
}

.dkcb-round-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    flex: 0 0 auto;
}

.dkcb-round-list li.is-active .dkcb-round-marker {
    background: #47d886;
    box-shadow: 0 0 0 6px rgba(71, 216, 134, 0.16);
}

.dkcb-round-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dkcb-round-text small {
    color: var(--dkcb-muted);
}

.dkcb-round-total {
    margin-left: auto;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 700;
}

.dkcb-collapsible {
    border: 1px solid var(--dkcb-border);
    border-radius: 16px;
    background: rgba(17, 29, 20, 0.72);
    overflow: hidden;
}

.dkcb-collapsible + .dkcb-collapsible {
    margin-top: 14px;
}

.dkcb-collapsible summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 17px 60px 17px 18px;
    min-height: 60px;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-radius: 16px;
    color: #eef6ef;
    background: rgba(255,255,255,0.015);
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dkcb-collapsible summary:hover {
    background: rgba(56, 102, 66, 0.18);
}

.dkcb-collapsible summary:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(108, 181, 123, 0.42), 0 0 0 2px rgba(108, 181, 123, 0.12);
}

.dkcb-collapsible summary::-webkit-details-marker {
    display: none;
}

.dkcb-collapsible summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(63, 124, 78, 0.32);
    background: rgba(255,255,255,0.04);
    color: var(--dkcb-muted);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dkcb-collapsible[open] {
    border-color: rgba(78, 146, 96, 0.42);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.dkcb-collapsible[open] summary {
    background: linear-gradient(180deg, rgba(44, 84, 53, 0.28), rgba(25, 43, 30, 0.14));
    color: #ffffff;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.05);
}

.dkcb-collapsible[open] summary::after {
    content: '–';
    background: rgba(78, 146, 96, 0.18);
    border-color: rgba(108, 181, 123, 0.42);
    color: #ecfff0;
}

.dkcb-collapsible__body {
    padding: 0 18px 18px;
}

.dkcb-create-round-box {
    margin-top: 10px;
}

.dkcb-stack-form {
    display: grid;
    gap: 12px;
}

.dkcb-stack-form label,
.dkcb-field-group {
    display: grid;
    gap: 6px;
}

.dkcb-stack-form input[type="text"],
.dkcb-stack-form input[type="date"],
.dkcb-stack-form textarea,
.dkcb-filters input[type="search"],
.dkcb-filters select,
.dkcb-setup-form input[type="text"],
.dkcb-setup-form select {
    width: 100%;
    min-height: 44px;
    background: #0d1811;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #eef4fb;
    padding: 0 12px;
}

.dkcb-stack-form textarea {
    min-height: 180px;
    padding: 12px;
    resize: vertical;
}

.dkcb-check-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: #eef4fb;
}

.dkcb-main-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.dkcb-overview-collapsible {
    margin-bottom: 16px;
}

.dkcb-overview-collapsible summary {
    padding-top: 14px;
    padding-bottom: 14px;
}

.dkcb-overview-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    width: 100%;
    padding-right: 20px;
}

.dkcb-overview-summary__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1.3;
    color: #f4fbf5;
}

.dkcb-overview-summary__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--dkcb-muted);
    font-size: 12px;
    line-height: 1.4;
}

.dkcb-overview-summary__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(63, 124, 78, 0.22);
    background: rgba(255,255,255,0.03);
}

.dkcb-overview-summary__meta strong {
    color: #f5fff8;
    font-size: 13px;
}

.dkcb-overview-collapsible__body {
    padding-top: 2px;
}

.dkcb-overview-collapsible__body .dkcb-payment-summary-strip,
.dkcb-overview-collapsible__body .dkcb-payment-summary-note {
    margin-bottom: 12px;
}

.dkcb-main-header > * {
    min-width: 0;
}

.dkcb-panel-head {
    flex: 1 1 420px;
}

.dkcb-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 10px;
    min-width: min(100%, 240px);
    max-width: 100%;
    flex: 0 1 240px;
}

.dkcb-mini-stat {
    border: 1px solid var(--dkcb-border);
    border-radius: 14px;
    padding: 12px;
    background: rgba(17, 29, 20, 0.72);
}

.dkcb-mini-stat span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dkcb-muted);
    margin-bottom: 6px;
}

.dkcb-mini-stat strong {
    font-size: 22px;
}

.dkcb-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
    margin-bottom: 16px;
    min-width: 0;
    align-items: end;
}

.dkcb-field-group--search {
    grid-column: 1 / -1;
}

.dkcb-filter-actions {
    display: flex;
    align-items: end;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
}

.dkcb-filter-actions .button {
    min-width: 0;
}

.dkcb-side-actions,
.dkcb-admin-actions {
    display: grid;
    gap: 12px;
}

.dkcb-panel .button,
.dkcb-panel .button.button-primary,
.dkcb-filters .button,
.dkcb-filters .button.button-primary,
.dkcb-setup-actions .button,
.dkcb-setup-actions .button.button-primary {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}

.dkcb-admin-actions .button,
.dkcb-admin-actions .button.button-primary {
    width: 100%;
}

.dkcb-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.dkcb-row-action {
    width: auto !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.dkcb-mail-tags {
    font-size: 12px;
    color: var(--dkcb-muted);
    line-height: 1.6;
}

.dkcb-mail-tags code {
    display: inline-block;
    margin: 2px 6px 2px 0;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #dff7e6;
}

.dkcb-mail-note {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    color: #dfece4;
    font-size: 13px;
    line-height: 1.55;
}

.dkcb-mail-note strong {
    color: #ffffff;
}

.dkcb-panel .button.button-primary,
.dkcb-filters .button.button-primary,
.dkcb-setup-actions .button.button-primary {
    background: linear-gradient(180deg, #27a35a 0%, #19753f 100%);
    border-color: #1d8d4d;
    color: #fff;
}

.dkcb-panel .button:not(.button-primary),
.dkcb-filters .button:not(.button-primary),
.dkcb-row-action--ghost {
    background: rgba(22, 42, 27, 0.88) !important;
    color: #e8f6eb !important;
    border-color: rgba(63, 124, 78, 0.28) !important;
}

.dkcb-row-actions .button.button-primary {
    background: linear-gradient(180deg, #27a35a 0%, #19753f 100%) !important;
    color: #fff !important;
    border-color: #1d8d4d !important;
}

.dkcb-row-action--success {
    background: rgba(17, 27, 19, 0.92) !important;
    color: #e8f6eb !important;
    border-color: rgba(63, 124, 78, 0.32) !important;
}

.dkcb-row-action--danger,
.dkcb-panel .button.dkcb-row-action--danger {
    background: rgba(255,255,255,0.04) !important;
    color: #d9e8dc !important;
    border-color: rgba(255,255,255,0.10) !important;
    box-shadow: none !important;
}

.dkcb-row-action--danger:hover,
.dkcb-panel .button.dkcb-row-action--danger:hover {
    background: rgba(94, 33, 33, 0.18) !important;
    color: #fff2f2 !important;
    border-color: rgba(185, 82, 82, 0.34) !important;
}

.dkcb-row-action[disabled],
.dkcb-panel .button[disabled],
.dkcb-filters .button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.dkcb-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
}

.dkcb-table,
.dkcb-mini-table {
    width: 100%;
    border-collapse: collapse;
}

.dkcb-table {
    min-width: 900px;
}

.dkcb-table th,
.dkcb-table td,
.dkcb-mini-table th,
.dkcb-mini-table td {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 14px 12px;
    text-align: left;
    color: #eef4fb;
    vertical-align: middle;
}

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

.dkcb-table th,
.dkcb-mini-table th {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--dkcb-muted);
}

.dkcb-table a {
    color: #8ce7a6;
    text-decoration: none;
}

.dkcb-badge,
.dkcb-source {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dkcb-badge--approved,
.dkcb-source--role_map,
.dkcb-badge--round-ready {
    background: rgba(31, 143, 79, 0.18);
    color: #73efaa;
    border: 1px solid rgba(31, 143, 79, 0.4);
}

.dkcb-badge--pending,
.dkcb-source--guess,
.dkcb-badge--round-processing {
    background: rgba(199, 119, 24, 0.16);
    color: #ffd08d;
    border: 1px solid rgba(199, 119, 24, 0.34);
}

.dkcb-badge--unknown,
.dkcb-badge--custom,
.dkcb-source--user_meta,
.dkcb-badge--round-draft,
.dkcb-badge--round-sent {
    background: rgba(39, 92, 60, 0.22);
    color: #d7f0df;
    border: 1px solid rgba(63, 124, 78, 0.34);
}

.dkcb-source--unmapped {
    background: rgba(255,255,255,0.08);
    color: #d7e0ea;
    border: 1px solid rgba(255,255,255,0.16);
}

.dkcb-empty,
.dkcb-locked-message {
    color: var(--dkcb-text);
    text-align: center;
    padding: 18px;
}

.dkcb-locked-message {
    background: #162131;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.dkcb-inline-form {
    margin: 0;
}

.dkcb-inline-create-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dkcb-inline-amount {
    width: 98px;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--dkcb-border-strong);
    background: rgba(5, 12, 8, 0.86);
    color: var(--dkcb-text);
}

.dkcb-row-action {
    min-width: 165px;
}

.dkcb-summary-block,
.dkcb-setup-panel {
    margin-top: 18px;
}

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

.dkcb-summary-card {
    border: 1px solid var(--dkcb-border);
    border-radius: 14px;
    padding: 14px;
    background: rgba(17, 29, 20, 0.72);
}

.dkcb-summary-card__title {
    font-weight: 700;
    margin-bottom: 8px;
}

.dkcb-summary-card__value {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.dkcb-summary-card__meta {
    color: var(--dkcb-muted);
    font-size: 13px;
}

.dkcb-setup-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.dkcb-setup-box {
    border: 1px solid var(--dkcb-border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(17, 29, 20, 0.72);
}

.dkcb-setup-box__head {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.dkcb-setup-box__head p {
    margin: 0;
    color: var(--dkcb-muted);
    max-width: 78ch;
}

.dkcb-setup-box--profiles .dkcb-mini-table {
    min-width: 860px;
}

.dkcb-setup-box--mapping .dkcb-mini-table {
    min-width: 520px;
}

.dkcb-table-wrap--mini {
    overflow-x: auto;
}

.dkcb-mini-table code {
    color: #d7f0df;
}

.dkcb-mini-table input[type="text"],
.dkcb-mini-table select {
    min-height: 38px;
}

.dkcb-setup-box--mapping select {
    max-width: 220px;
}

.dkcb-setup-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.dkcb-help-box ul {
    margin: 4px 0 0 18px;
}

@media (max-width: 1380px) {
    .dkcb-cards {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .dkcb-card--wide {
        grid-column: span 3;
    }

    .dkcb-grid {
        grid-template-columns: 290px minmax(0, 1fr);
    }
}


@media (max-width: 1280px) {
    .dkcb-main-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dkcb-mini-stats {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex: 1 1 auto;
    }
}

@media (max-width: 1120px) {
    .dkcb-grid {
        grid-template-columns: 1fr;
    }

    .dkcb-sidebar,
    .dkcb-main,
    .dkcb-actions {
        width: 100%;
    }

    .dkcb-sidebar {
        position: static;
    }

    .dkcb-actions {
        grid-column: auto;
    }

    .dkcb-main-header,
    .dkcb-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dkcb-topbar-meta {
        align-items: flex-start;
        width: 100%;
    }

    .dkcb-round-pill-group {
        justify-content: flex-start;
    }

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

    .dkcb-admin-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dkcb-summary-grid,
    .dkcb-setup-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dkcb-board {
        padding: 16px;
        border-radius: 18px;
    }

    .dkcb-overview-summary {
        padding-right: 8px;
    }

    .dkcb-overview-summary__meta {
        gap: 6px;
    }

    .dkcb-overview-summary__meta span {
        width: auto;
        max-width: 100%;
    }

    .dkcb-brand h1,
    .dkcb-panel h2 {
        font-size: 20px;
    }

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

    .dkcb-card--wide {
        grid-column: 1 / -1;
    }

    .dkcb-filters,
    .dkcb-summary-grid,
    .dkcb-setup-columns,
    .dkcb-admin-actions {
        grid-template-columns: 1fr;
    }

    .dkcb-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .dkcb-panel,
    .dkcb-collapsible__body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dkcb-collapsible summary {
        min-height: 54px;
        padding: 14px 52px 14px 14px;
    }

    .dkcb-collapsible summary::after {
        right: 14px;
    }
}

@media (max-width: 720px) {
    .dkcb-board {
        padding: 14px;
    }

    .dkcb-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .dkcb-card {
        min-height: 0;
        padding: 14px;
    }

    .dkcb-card__value {
        font-size: 24px;
    }

    .dkcb-table-wrap {
        overflow: visible;
        border: none;
        background: transparent;
    }

    .dkcb-table {
        min-width: 0;
    }

    .dkcb-table thead,
    .dkcb-mini-table thead {
        display: none;
    }

    .dkcb-table,
    .dkcb-table tbody,
    .dkcb-table tr,
    .dkcb-table td,
    .dkcb-mini-table,
    .dkcb-mini-table tbody,
    .dkcb-mini-table tr,
    .dkcb-mini-table td {
        display: block;
        width: 100%;
    }

    .dkcb-table tr,
    .dkcb-mini-table tr {
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        background: rgba(17, 29, 20, 0.72);
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .dkcb-table td,
    .dkcb-mini-table td {
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 10px 0;
        text-align: left;
        min-height: 0;
    }

    .dkcb-table td:last-child,
    .dkcb-mini-table td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .dkcb-table td::before,
    .dkcb-mini-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--dkcb-muted);
        margin-bottom: 6px;
    }

    .dkcb-row-action,
    .dkcb-filter-actions .button,
    .dkcb-admin-actions .button,
    .dkcb-setup-actions .button {
        width: 100%;
    }

    .dkcb-row-actions {
        grid-template-columns: 1fr;
    }

    .dkcb-round-link {
        align-items: flex-start;
    }

    .dkcb-mini-stats {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .dkcb-cards,
    .dkcb-filter-actions {
        grid-template-columns: 1fr;
    }

    .dkcb-brand {
        align-items: flex-start;
    }

    .dkcb-brand .dashicons {
        width: 40px;
        height: 40px;
        font-size: 40px;
    }

    .dkcb-round-pill-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .dkcb-stage-pill,
    .dkcb-round-pill {
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .dkcb-quick-actions__main {
        align-items: stretch;
    }

    .dkcb-quick-actions__buttons {
        width: 100%;
    }

    .dkcb-quick-actions__buttons .dkcb-inline-form,
    .dkcb-quick-actions__buttons .button {
        width: 100%;
    }

    .dkcb-quick-actions__buttons .button {
        justify-content: center;
    }
}


@media (max-width: 900px) {
    .dkcb-setup-box {
        padding: 14px;
    }

    .dkcb-setup-box__head p {
        max-width: none;
    }
}

.dkcb-version-pill{margin:12px 0;padding:10px 12px;border:1px solid rgba(53,208,120,.28);border-radius:14px;background:rgba(7,34,18,.72);color:#dff6e7;font-size:13px;line-height:1.4}.dkcb-reset-mail-form{margin-top:10px}.dkcb-reset-mail-form .button{width:100%}


.dkcb-payment-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}

.dkcb-payment-summary-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(63, 124, 78, 0.24);
    background: rgba(255,255,255,0.03);
}

.dkcb-payment-summary-chip span {
    color: var(--dkcb-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dkcb-payment-summary-chip strong {
    font-size: 22px;
    line-height: 1;
}

.dkcb-payment-summary-chip small {
    display: block;
    margin-top: 6px;
    color: var(--dkcb-muted);
    font-size: 11px;
    line-height: 1.35;
}

.dkcb-payment-summary-strip--overview {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dkcb-payment-summary-strip--sources {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dkcb-payment-summary-chip--total {
    border-color: rgba(76, 95, 88, 0.38);
    background: rgba(255,255,255,0.04);
}

.dkcb-payment-summary-chip--paidtotal {
    border-color: rgba(31, 143, 79, 0.34);
    background: rgba(31, 143, 79, 0.10);
}

.dkcb-payment-summary-chip--unpaid {
    border-color: rgba(168, 109, 26, 0.34);
    background: rgba(168, 109, 26, 0.12);
}

.dkcb-payment-summary-chip--direct {
    border-color: rgba(31, 143, 79, 0.36);
    background: rgba(31, 143, 79, 0.14);
}

.dkcb-payment-summary-chip--sync {
    border-color: rgba(39, 139, 87, 0.34);
    background: rgba(39, 139, 87, 0.12);
}

.dkcb-payment-summary-chip--manual {
    border-color: rgba(199, 119, 24, 0.34);
    background: rgba(199, 119, 24, 0.12);
}

.dkcb-payment-summary-chip--webhook {
    border-color: rgba(62, 125, 198, 0.34);
    background: rgba(62, 125, 198, 0.12);
}

.dkcb-payment-summary-note {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(63, 124, 78, 0.22);
    background: rgba(255,255,255,0.03);
    color: #dff6e7;
    font-size: 13px;
    line-height: 1.5;
}

.dkcb-payment-summary-note span {
    display: block;
    margin-top: 4px;
    color: var(--dkcb-muted);
}

.dkcb-badge--payment-woo_direct {
    background: rgba(31, 143, 79, 0.18);
    color: #73efaa;
    border: 1px solid rgba(31, 143, 79, 0.4);
    margin-top: 6px;
}

.dkcb-badge--payment-woo_sync {
    background: rgba(47, 139, 87, 0.16);
    color: #b8f0ca;
    border: 1px solid rgba(47, 139, 87, 0.36);
    margin-top: 6px;
}

.dkcb-badge--payment-manual {
    background: rgba(199, 119, 24, 0.16);
    color: #ffd08d;
    border: 1px solid rgba(199, 119, 24, 0.34);
    margin-top: 6px;
}

.dkcb-badge--payment-bridge_webhook {
    background: rgba(62, 125, 198, 0.16);
    color: #cfe3ff;
    border: 1px solid rgba(62, 125, 198, 0.34);
    margin-top: 6px;
}

.dkcb-inline-submeta--trace {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(63, 124, 78, 0.22);
    background: rgba(255,255,255,0.03);
    color: #dff6e7;
}

.dkcb-inline-submeta--trace-success {
    border-color: rgba(31, 143, 79, 0.34);
    background: rgba(31, 143, 79, 0.10);
}

.dkcb-inline-submeta--trace-warning {
    border-color: rgba(199, 119, 24, 0.34);
    background: rgba(199, 119, 24, 0.12);
}

.dkcb-inline-submeta--trace-pending {
    border-color: rgba(168, 109, 26, 0.30);
    background: rgba(168, 109, 26, 0.10);
}

@media (max-width: 900px) {
    .dkcb-payment-summary-strip--overview,
    .dkcb-payment-summary-strip--sources,
    .dkcb-payment-summary-strip {
        grid-template-columns: 1fr;
    }
    .dkcb-payment-summary-strip {
        grid-template-columns: 1fr;
    }
}

.dkcb-summary-grid--bridge {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dkcb-bridge-meta {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.dkcb-bridge-meta p {
    margin: 0;
}

.dkcb-bridge-meta code {
    word-break: break-all;
}

@media (max-width: 980px) {
    .dkcb-summary-grid--bridge {
        grid-template-columns: 1fr;
    }
}


.dkcb-summary-grid--bridge-audit {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
}

.dkcb-bridge-audit {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(63, 124, 78, 0.22);
}

.dkcb-bridge-audit h4 {
    margin: 0 0 6px;
}

.dkcb-bridge-sample {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(63, 124, 78, 0.24);
    background: rgba(17, 29, 20, 0.72);
}

.dkcb-bridge-sample__title {
    font-weight: 700;
    margin-bottom: 4px;
}

.dkcb-bridge-sample__meta {
    margin: 0 0 12px;
    color: var(--dkcb-muted);
}

.dkcb-bridge-sample__grid {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 12px;
}

.dkcb-bridge-sample__box {
    display: grid;
    gap: 8px;
}

.dkcb-bridge-sample__box code,
.dkcb-bridge-sample__box pre {
    margin: 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(63, 124, 78, 0.24);
    background: rgba(5, 12, 8, 0.72);
    color: #dff6e7;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}

@media (max-width: 980px) {
    .dkcb-summary-grid--bridge-audit,
    .dkcb-bridge-sample__grid {
        grid-template-columns: 1fr;
    }
}


.dkcb-inline-submeta--highlight {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(47, 139, 87, 0.32);
    background: rgba(47, 139, 87, 0.10);
    color: #d7f7e1;
}

.dkcb-summary-grid--bridge-log-counts {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 12px;
}

.dkcb-summary-grid--bridge-log-status {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 14px;
}

.dkcb-summary-card--success { border-left: 4px solid rgba(31, 143, 79, 0.72); }
.dkcb-summary-card--warning { border-left: 4px solid rgba(199, 119, 24, 0.72); }
.dkcb-summary-card--error { border-left: 4px solid rgba(190, 63, 69, 0.72); }
.dkcb-summary-card--info { border-left: 4px solid rgba(47, 139, 87, 0.72); }

.dkcb-bridge-provider-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.dkcb-bridge-provider-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(63, 124, 78, 0.24);
    background: rgba(5, 12, 8, 0.58);
    color: #dff6e7;
    font-size: 12px;
}

.dkcb-bridge-provider-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    padding: 0 8px;
    background: rgba(34, 163, 82, 0.14);
    border: 1px solid rgba(34, 163, 82, 0.28);
}

.dkcb-bridge-log-list {
    display: grid;
    gap: 10px;
}

.dkcb-bridge-log-item {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(63, 124, 78, 0.24);
    background: rgba(5, 12, 8, 0.62);
}

.dkcb-bridge-log-item--success {
    border-color: rgba(31, 143, 79, 0.36);
    background: rgba(31, 143, 79, 0.10);
}

.dkcb-bridge-log-item--warning {
    border-color: rgba(199, 119, 24, 0.34);
    background: rgba(199, 119, 24, 0.10);
}

.dkcb-bridge-log-item--error {
    border-color: rgba(190, 63, 69, 0.34);
    background: rgba(190, 63, 69, 0.10);
}

.dkcb-bridge-log-item__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.dkcb-bridge-log-item__top strong {
    display: block;
    margin-bottom: 4px;
}

.dkcb-bridge-log-item__top span {
    color: var(--dkcb-muted);
    font-size: 13px;
}

.dkcb-bridge-log-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.dkcb-bridge-log-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(63, 124, 78, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: #e4f7e8;
}

.dkcb-bridge-log-badge--success {
    background: rgba(31, 143, 79, 0.14);
    border-color: rgba(31, 143, 79, 0.32);
}

.dkcb-bridge-log-badge--warning {
    background: rgba(199, 119, 24, 0.14);
    border-color: rgba(199, 119, 24, 0.32);
}

.dkcb-bridge-log-badge--error {
    background: rgba(190, 63, 69, 0.14);
    border-color: rgba(190, 63, 69, 0.32);
}

.dkcb-bridge-log-badge--info,
.dkcb-bridge-log-badge--neutral {
    background: rgba(47, 139, 87, 0.12);
    border-color: rgba(47, 139, 87, 0.28);
}

.dkcb-bridge-log-item__meta {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    font-size: 13px;
}

.dkcb-bridge-log-item__message {
    margin-top: 10px;
    color: var(--dkcb-text);
    font-size: 13px;
}

@media (max-width: 980px) {
    .dkcb-summary-grid--bridge-log-status,
    .dkcb-bridge-log-item__meta {
        grid-template-columns: 1fr;
    }
}


.dkcb-bridge-settings-form {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(43, 128, 75, 0.34);
    border-radius: 16px;
    background: rgba(5, 20, 11, 0.48);
}

.dkcb-bridge-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.dkcb-bridge-settings-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #f4f8f4;
    font-weight: 600;
}

.dkcb-bridge-settings-grid select {
    width: 100%;
}

.dkcb-source-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid rgba(43, 128, 75, 0.34);
    background: rgba(10, 24, 14, 0.75);
    color: #f4f8f4;
    margin-bottom: 6px;
}

.dkcb-source-badge--direct {
    border-color: rgba(43, 191, 99, 0.45);
    color: #aef4c8;
}

.dkcb-source-badge--sync {
    border-color: rgba(52, 160, 221, 0.45);
    color: #b9e9ff;
}

.dkcb-source-badge--webhook {
    border-color: rgba(199, 164, 48, 0.45);
    color: #f7e39d;
}

.dkcb-source-badge--manual {
    border-color: rgba(203, 118, 43, 0.45);
    color: #ffd3ac;
}

.dkcb-bridge-route-table code {
    white-space: nowrap;
}


.dkcb-badge--reminded {
    background: rgba(199, 119, 24, 0.16);
    color: #ffd08d;
    border: 1px solid rgba(199, 119, 24, 0.34);
    margin-top: 6px;
}

.dkcb-badge--overdue,
.dkcb-payment-summary-strip--reminders .dkcb-payment-summary-chip--direct {
    background: rgba(164, 51, 51, 0.18);
    color: #ffd0d0;
    border: 1px solid rgba(164, 51, 51, 0.34);
}

.dkcb-payment-summary-strip--reminders {
    margin-top: 14px;
}

.dkcb-payment-summary-strip--reminder-sources {
    margin-top: 12px;
}

.dkcb-payment-summary-note--reminders {
    margin-top: 12px;
}


.dkcb-payment-summary-strip--delivery-status {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dkcb-payment-summary-strip--delivery-channels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
}

.dkcb-payment-summary-note--delivery {
    margin-bottom: 14px;
}

.dkcb-export-panel {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.dkcb-export-panel__title {
    font-size: 13px;
    font-weight: 700;
    color: #d9f6df;
    margin-bottom: 10px;
}

.dkcb-export-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.dkcb-export-grid .dkcb-inline-form,
.dkcb-export-grid .button {
    width: 100%;
}


.dkcb-frontend-shell {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.dkcb-board--frontend {
    margin: 0 auto;
}

.dkcb-view-note {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(47, 139, 87, 0.12);
    border: 1px solid rgba(63, 124, 78, 0.28);
    color: var(--dkcb-text);
}

.dkcb-view-note strong {
    color: #e9fff0;
}

.dkcb-locked-message {
    display: grid;
    gap: 8px;
}

.dkcb-locked-message strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.dkcb-locked-message span {
    display: block;
    color: var(--dkcb-muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .dkcb-board--frontend {
        padding: 14px;
    }

    .dkcb-board--frontend .dkcb-topbar-meta,
    .dkcb-board--frontend .dkcb-round-pill-group {
        width: 100%;
    }

    .dkcb-board--frontend .dkcb-stage-pill,
    .dkcb-board--frontend .dkcb-round-pill {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .dkcb-view-note {
        padding: 12px 14px;
    }

    .dkcb-board--frontend .dkcb-filters .button,
    .dkcb-board--frontend .dkcb-filter-actions .button,
    .dkcb-board--frontend .dkcb-admin-actions .button {
        width: 100%;
    }
}


.dkcb-bridge-meta p strong {
    color: #fff;
}

.dkcb-bridge-sample__title {
    letter-spacing: 0.01em;
}


.dkcb-release-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(22, 30, 24, 0.96), rgba(16, 23, 18, 0.96));
    border: 1px solid rgba(88, 146, 102, 0.34);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.dkcb-release-note__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.dkcb-release-note__head strong {
    color: #f0fff3;
    font-size: 15px;
}

.dkcb-release-note__head span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(49, 136, 82, 0.18);
    border: 1px solid rgba(71, 155, 102, 0.28);
    color: #dff8e5;
    font-size: 12px;
    font-weight: 600;
}

.dkcb-release-note__list {
    display: grid;
    gap: 8px;
    color: var(--dkcb-text);
}

.dkcb-release-note__list span {
    display: block;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.dkcb-release-note__list span::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(104, 196, 132, 0.92);
    position: absolute;
    left: 0;
    top: 8px;
}

@media (max-width: 720px) {
    .dkcb-release-note {
        padding: 12px 14px;
    }

    .dkcb-release-note__head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.dkcb-fold-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(63,124,78,0.18);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
}

.dkcb-fold-controls__label {
    font-weight: 700;
    color: var(--dkcb-text);
}

.dkcb-fold-controls__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dkcb-fold-toggle {
    min-width: 120px;
}

@media (max-width: 782px) {
    .dkcb-round-row {
        flex-direction: column;
        gap: 0;
    }

    .dkcb-round-delete-form {
        padding: 0 12px 12px;
    }

    .dkcb-round-delete-button {
        width: 100%;
    }
}


/* v1.0.11 design-step4: mindre og roligere drifts-/filter-/eksportknapper */
.dkcb-filters {
    gap: 10px;
    padding: 14px;
}

.dkcb-filter-actions {
    gap: 8px;
    padding-top: 2px;
}

.dkcb-filter-actions .button,
.dkcb-admin-actions .button,
.dkcb-admin-actions .button.button-primary,
.dkcb-export-grid .button,
.dkcb-setup-actions .button,
.dkcb-reset-mail-form .button {
    min-height: 38px !important;
    padding: 7px 12px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

.dkcb-filter-actions .button {
    min-width: 120px;
}

.dkcb-admin-actions {
    gap: 10px;
}

.dkcb-admin-actions .button,
.dkcb-admin-actions .button.button-primary {
    text-align: left;
}

.dkcb-export-panel {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
}

.dkcb-export-panel__title {
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.dkcb-export-grid {
    gap: 7px;
}

.dkcb-export-grid .button {
    justify-content: flex-start;
    text-align: left;
}

.dkcb-setup-actions {
    margin-top: 14px;
}

.dkcb-reset-mail-form {
    margin-top: 10px;
}

.dkcb-setup-actions .button,
.dkcb-reset-mail-form .button {
    width: auto;
}

@media (max-width: 782px) {
    .dkcb-filter-actions .button,
    .dkcb-admin-actions .button,
    .dkcb-admin-actions .button.button-primary,
    .dkcb-export-grid .button,
    .dkcb-setup-actions .button,
    .dkcb-reset-mail-form .button {
        width: 100%;
    }

    .dkcb-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dkcb-export-panel {
        padding: 12px;
    }
}


/* v1.0.12 design-step5: små hjælpetekster på hovedblokke */
.dkcb-panel-head--has-help {
    position: relative;
    padding-right: 42px;
}

.dkcb-help-tip {
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dkcb-help-tip__badge {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(108, 181, 123, 0.34);
    background: rgba(255,255,255,0.06);
    color: #edf9f0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dkcb-help-tip__bubble {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(260px, calc(100vw - 48px));
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(108, 181, 123, 0.28);
    background: rgba(7, 17, 11, 0.96);
    color: #eaf6ec;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.dkcb-help-tip:hover .dkcb-help-tip__badge {
    background: rgba(71, 216, 134, 0.18);
    border-color: rgba(108, 181, 123, 0.46);
    transform: translateY(-1px);
}

.dkcb-help-tip:hover .dkcb-help-tip__bubble,
.dkcb-help-tip:focus-within .dkcb-help-tip__bubble,
.dkcb-help-tip:hover .dkcb-help-tip__badge + .dkcb-help-tip__bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dkcb-help-tip--inline {
    position: relative;
    top: auto;
    right: auto;
    vertical-align: middle;
    margin-left: 2px;
}

.dkcb-help-tip--inline .dkcb-help-tip__bubble {
    left: 50%;
    right: auto;
    transform: translate(-50%, 4px);
}

.dkcb-help-tip--inline:hover .dkcb-help-tip__bubble,
.dkcb-help-tip--inline:focus-within .dkcb-help-tip__bubble {
    transform: translate(-50%, 0);
}

.dkcb-overview-summary__title .dkcb-help-tip__badge {
    margin-top: -1px;
}

@media (max-width: 782px) {
    .dkcb-panel-head--has-help {
        padding-right: 36px;
    }

    .dkcb-help-tip__bubble {
        width: min(240px, calc(100vw - 40px));
    }

    .dkcb-help-tip--inline .dkcb-help-tip__bubble {
        left: auto;
        right: 0;
        transform: translateY(4px);
    }

    .dkcb-help-tip--inline:hover .dkcb-help-tip__bubble,
    .dkcb-help-tip--inline:focus-within .dkcb-help-tip__bubble {
        transform: translateY(0);
    }
}


.dkcb-row-action--reminder {
    background: linear-gradient(180deg, rgba(169, 72, 72, 0.96) 0%, rgba(120, 42, 42, 0.96) 100%) !important;
    color: #fff7f7 !important;
    border-color: rgba(192, 108, 108, 0.50) !important;
    box-shadow: none !important;
}

.dkcb-row-action--reminder:hover {
    background: linear-gradient(180deg, rgba(184, 82, 82, 0.98) 0%, rgba(132, 46, 46, 0.98) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(214, 126, 126, 0.62) !important;
}


.dkcb-selection-note {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:10px 0 12px;
  padding:12px 14px;
  border:1px solid rgba(120,180,140,.22);
  border-radius:12px;
  background:rgba(16,28,22,.72);
}

.dkcb-selection-note strong {
  font-size:13px;
}

.dkcb-selection-note span {
  color:#cfe2d5;
  font-size:12px;
}

.dkcb-selection-note__meta {
  color:#9fc7aa;
}

.dkcb-selection-note__actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:4px;
}

.dkcb-selection-helper-button {
  min-height:32px;
  padding:0 12px !important;
  border-radius:8px !important;
  border:1px solid rgba(199,119,24,0.36) !important;
  background:rgba(199,119,24,0.16) !important;
  color:#ffd08d !important;
  box-shadow:none !important;
}

.dkcb-selection-helper-button:hover,
.dkcb-selection-helper-button:focus {
  background:rgba(199,119,24,0.24) !important;
  border-color:rgba(199,119,24,0.5) !important;
  color:#fff0cf !important;
}

.dkcb-select-cell {
  min-width:120px;
}

.dkcb-select-toggle {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  color:#eaf6ee;
}

.dkcb-select-toggle input[type="checkbox"] {
  width:16px;
  height:16px;
}


.dkcb-badge--duplicate {
  min-width:auto;
  padding:6px 10px;
  background:rgba(199,119,24,0.16);
  color:#ffd08d;
  border:1px solid rgba(199,119,24,0.34);
}

.dkcb-name-cell {
  display:flex;
  flex-direction:column;
  gap:6px;
}

.dkcb-inline-submeta--warning,
.dkcb-selection-note__meta--warning {
  color:#ffd08d;
}
