.dbc-dashboard,
.dbc-dashboard * {
    box-sizing: border-box;
}

.dbc-dashboard {
    --dbc-dashboard-paper: var(--dbc-color-surface, #fff);
    --dbc-dashboard-soft: var(--dbc-color-surface-soft, #f7fafc);
    --dbc-dashboard-ink: var(--dbc-color-text, #173247);
    --dbc-dashboard-muted: var(--dbc-color-muted, #6c7e8c);
    --dbc-dashboard-line: var(--dbc-color-border, #dde5eb);
    --dbc-dashboard-primary: var(--dbc-color-primary, #0a426f);
    --dbc-dashboard-primary-hover: var(--dbc-color-primary-hover, #073657);
    --dbc-dashboard-primary-soft: var(--dbc-color-primary-soft, #eef5f9);
    --dbc-dashboard-radius: var(--dbc-radius-card, 10px);
    --dbc-dashboard-control-radius: var(--dbc-radius-control, 8px);
    --dbc-dashboard-shadow: var(--dbc-shadow-card, 0 5px 16px rgba(22, 52, 77, .05));
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 18px 48px;
    color: var(--dbc-dashboard-ink);
    font-family: var(--dbc-font-family, Montserrat, Inter, Arial, sans-serif);
    font-size: var(--dbc-body-text-size, 13px);
    line-height: 1.45;
}

.dbc-dashboard a {
    color: var(--dbc-dashboard-primary);
}

.dbc-dashboard h1,
.dbc-dashboard h2,
.dbc-dashboard h3,
.dbc-dashboard p {
    margin-top: 0;
}

.dbc-dashboard h1,
.dbc-dashboard h2,
.dbc-dashboard h3 {
    color: var(--dbc-dashboard-primary);
    font-family: inherit;
    font-weight: 800;
}

.dbc-dashboard button.dbc-button,
.dbc-dashboard a.dbc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid var(--dbc-dashboard-primary);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-primary);
    color: #fff !important;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
}

.dbc-dashboard button.dbc-button:hover,
.dbc-dashboard button.dbc-button:focus,
.dbc-dashboard a.dbc-button:hover,
.dbc-dashboard a.dbc-button:focus {
    border-color: var(--dbc-dashboard-primary-hover);
    background: var(--dbc-dashboard-primary-hover);
    color: #fff !important;
}

.dbc-dashboard button.dbc-button-secondary,
.dbc-dashboard a.dbc-button-secondary {
    border-color: var(--dbc-dashboard-line);
    background: var(--dbc-dashboard-paper);
    color: var(--dbc-dashboard-primary) !important;
}

.dbc-dashboard button.dbc-button-secondary:hover,
.dbc-dashboard button.dbc-button-secondary:focus,
.dbc-dashboard a.dbc-button-secondary:hover,
.dbc-dashboard a.dbc-button-secondary:focus {
    border-color: var(--dbc-dashboard-primary);
    background: var(--dbc-dashboard-primary-soft);
    color: var(--dbc-dashboard-primary) !important;
}

.dbc-dashboard h1 {
    margin-bottom: 5px;
    color: var(--dbc-dashboard-primary);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.12;
}

.dbc-dashboard h2 {
    margin-bottom: 3px;
    font-size: 16px;
    line-height: 1.2;
}

.dbc-dashboard h3 {
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.25;
}

.dbc-dashboard__welcome {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    min-height: 108px;
    margin-bottom: 18px;
    padding: 17px 15px;
    border: 1px solid #cfe1ef;
    border-radius: var(--dbc-dashboard-radius);
    background: linear-gradient(100deg, var(--dbc-dashboard-primary-soft) 0%, var(--dbc-dashboard-paper) 72%);
}

.dbc-dashboard__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 50%;
    background: #dcecfb;
    color: var(--dbc-dashboard-primary);
    font-size: 22px;
    font-weight: 800;
}

.dbc-dashboard__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dbc-dashboard__welcome-copy p {
    margin-bottom: 2px;
    color: var(--dbc-dashboard-primary);
    font-size: 13px;
}

.dbc-dashboard__welcome-copy > span {
    display: block;
    color: var(--dbc-dashboard-muted);
    font-size: 12px;
}

.dbc-dashboard__logout-button {
    white-space: nowrap;
}

.dbc-dashboard a.dbc-dashboard__logout-button:hover,
.dbc-dashboard a.dbc-dashboard__logout-button:focus {
    border-color: #c83d3d;
    background: #c83d3d;
    color: #fff !important;
}

.dbc-dashboard__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
    gap: 18px;
}

.dbc-dashboard__column {
    display: grid;
    align-content: start;
    gap: 18px;
    min-width: 0;
}

.dbc-dashboard__panel {
    position: relative;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-radius);
    background: var(--dbc-dashboard-paper);
    box-shadow: var(--dbc-dashboard-shadow);
}

.dbc-dashboard__panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.dbc-dashboard__panel-title {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.dbc-dashboard__panel-title h2 {
    margin: 1px 0 2px;
}

.dbc-dashboard__panel-title p {
    margin: 0;
    color: var(--dbc-dashboard-muted);
    font-size: 11px;
    line-height: 1.35;
}

.dbc-dashboard__panel-link {
    flex: 0 0 auto;
    padding-top: 2px;
    color: var(--dbc-dashboard-primary);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.dbc-dashboard__panel-link:hover,
.dbc-dashboard__panel-link:focus {
    color: var(--dbc-dashboard-primary-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dbc-dashboard__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-primary-soft);
    color: var(--dbc-dashboard-primary);
    line-height: 1;
}

.dbc-dashboard__icon svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dbc-dashboard__stats-grid {
    display: grid;
    gap: 8px;
}

.dbc-dashboard__stats-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dbc-dashboard__stat-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 112px;
    padding: 10px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-paper);
}

.dbc-dashboard__stat-tile .dbc-dashboard__icon {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
}

.dbc-dashboard__stat-tile .dbc-dashboard__icon svg {
    width: 21px;
    height: 21px;
}

.dbc-dashboard__stat-tile > strong {
    color: var(--dbc-dashboard-primary);
    font-size: 21px;
    line-height: 1;
}

.dbc-dashboard__stat-tile > b {
    margin-top: 4px;
    color: var(--dbc-dashboard-ink);
    font-size: 11px;
    line-height: 1.15;
}

.dbc-dashboard__stat-tile > span {
    margin-top: 4px;
    color: var(--dbc-dashboard-muted);
    font-size: 11px;
    line-height: 1.25;
}

.dbc-dashboard__saved-companies-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    color: var(--dbc-dashboard-primary);
    background: var(--dbc-dashboard-paper);
    font-size: 11px;
    text-decoration: none;
}

.dbc-dashboard__saved-companies-link strong { font-size: 11px; }
.dbc-dashboard__saved-companies-link span { flex: 1; color: var(--dbc-dashboard-muted); }
.dbc-dashboard__saved-companies-link i { color: var(--dbc-dashboard-primary); font-size: 16px; font-style: normal; line-height: 1; }

.dbc-dashboard__saved-companies-empty {
    display: grid;
    gap: 3px;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px dashed var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-soft);
}

.dbc-dashboard__saved-companies-empty strong { color: var(--dbc-dashboard-primary); font-size: 11px; }
.dbc-dashboard__saved-companies-empty span { color: var(--dbc-dashboard-muted); font-size: 11px; }
.dbc-dashboard__saved-companies-empty .dbc-button { justify-self: start; margin-top: 4px; }

.dbc-dashboard__quick-search {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

form.dbc-dashboard__quick-search .dbc-dashboard__quick-search-input {
    display: block !important;
    position: relative !important;
    min-width: 0;
    width: 100%;
}

.dbc-dashboard__quick-search input {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    padding: 8px 88px 8px 40px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    color: var(--dbc-dashboard-ink);
    font: inherit;
}

.dbc-dashboard__quick-search-input .dbc-dashboard__search-field-icon {
    display: block !important;
    position: absolute !important;
    left: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    flex: none !important;
    background: transparent;
    color: var(--dbc-dashboard-primary);
    pointer-events: none;
    z-index: 1;
}

.dbc-dashboard__search-field-icon svg {
    width: 18px;
    height: 18px;
}

.dbc-dashboard__quick-search input:focus {
    border-color: var(--dbc-dashboard-primary);
    box-shadow: 0 0 0 3px rgba(10, 66, 111, .12);
    outline: none;
}

.dbc-dashboard__quick-search-input .dbc-dashboard__quick-search-button {
    display: inline-flex !important;
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    min-height: 34px;
    margin: 0;
    padding: 7px 15px;
    border-radius: 6px;
    z-index: 2 !important;
}

/* Definitive integrated search control: flex layout avoids theme position overrides. */
form.dbc-dashboard__quick-search .dbc-dashboard__quick-search-input {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 42px !important;
    overflow: hidden !important;
    border: 1px solid var(--dbc-dashboard-line) !important;
    border-radius: var(--dbc-dashboard-control-radius) !important;
    background: #fff !important;
}

form.dbc-dashboard__quick-search .dbc-dashboard__search-field-icon {
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 0 0 12px !important;
    align-self: center !important;
    transform: none !important;
    flex: 0 0 18px !important;
}

form.dbc-dashboard__quick-search input#dbc-dashboard-search {
    width: auto !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    flex: 1 1 auto !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

form.dbc-dashboard__quick-search .dbc-dashboard__quick-search-button {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 3px !important;
    padding: 7px 15px !important;
    flex: 0 0 auto !important;
    border-radius: 6px !important;
}

.dbc-dashboard .dbc-button-small {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
}

.dbc-dashboard__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dbc-dashboard__chips a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: 999px;
    background: var(--dbc-dashboard-primary-soft);
    color: var(--dbc-dashboard-primary);
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.dbc-dashboard__chips a:hover,
.dbc-dashboard__chips a:focus {
    border-color: var(--dbc-dashboard-primary);
    background: var(--dbc-dashboard-paper);
}

.dbc-dashboard__chip-icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    flex-basis: 18px;
    background: transparent;
    color: currentColor;
}

.dbc-dashboard__chip-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.2;
}

.dbc-dashboard__chip-icon--factory { color: #d9463e; }
.dbc-dashboard__chip-icon--box { color: #e69a18; }
.dbc-dashboard__chip-icon--contacts { color: #1769bd; }
.dbc-dashboard__chip-icon--star { color: #e8ac19; }
.dbc-dashboard__chip-icon--pin { color: #1769bd; }

.dbc-dashboard__membership-main {
    padding: 12px;
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-primary-soft);
}

.dbc-dashboard__membership-main > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dbc-dashboard__membership-main strong {
    color: var(--dbc-dashboard-primary);
    font-size: 15px;
}

.dbc-dashboard__membership-main small {
    display: block;
    margin-top: 4px;
    color: var(--dbc-dashboard-muted);
    font-size: 11px;
}

.dbc-dashboard__membership-badge {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: #c9f3dc;
    color: #197044;
    font-size: 10px;
    font-weight: 800;
}

.dbc-dashboard__membership-badge--expiring { background: #fff0c7; color: #946b00; }
.dbc-dashboard__membership-badge--expired { background: #ffe0df; color: #a33b3b; }
.dbc-dashboard__membership-badge--pending { background: #e3edf8; color: #245c8d; }

.dbc-dashboard__membership-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid rgba(10, 66, 111, .12);
}

.dbc-dashboard__membership-details span {
    display: grid;
    gap: 2px;
    color: var(--dbc-dashboard-ink);
    font-size: 11px;
}

.dbc-dashboard__membership-details b {
    color: var(--dbc-dashboard-muted);
    font-size: 10px;
    font-weight: 500;
}

.dbc-dashboard__membership-benefit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 9px 10px;
    border: 1px solid #b8dfc2;
    border-radius: var(--dbc-dashboard-control-radius);
    background: #f3faf5;
    color: #2f6b52;
    font-size: 11px;
    line-height: 1.4;
}

.dbc-dashboard__membership-benefit b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: #20a968;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.dbc-dashboard__membership-benefit--expiring { border-color: #efd48a; background: #fffaf0; color: #7e620d; }
.dbc-dashboard__membership-benefit--expiring b { background: #d99d16; }
.dbc-dashboard__membership-benefit--expired { border-color: #efb7b5; background: #fff6f5; color: #914343; }
.dbc-dashboard__membership-benefit--expired b { background: #cf5550; }
.dbc-dashboard__membership-benefit--pending { border-color: #bfd5e8; background: #f4f8fc; color: #365f7f; }
.dbc-dashboard__membership-benefit--pending b { background: #397bad; }
.dbc-dashboard__membership-proof { margin-top: 12px; }
.dbc-dashboard__membership-proof .dbc-manual-payment-proof-form { display: block; }
.dbc-dashboard__membership-proof .dbc-manual-payment-proof-form .dbc-subscription-button { margin-top: 10px; }
.dbc-dashboard__membership-proof .dbc-button { margin-top: 4px; }
.dbc-dashboard__modal-content .dbc-manual-payment-proof-form { display: grid; }
.dbc-dashboard__modal-content .dbc-manual-payment-proof-form .dbc-subscription-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border: 1px solid #0a426f; border-radius: 8px; color: #fff !important; background: #0a426f !important; font: inherit; font-weight: 800; line-height: 1.2; cursor: pointer; }
.dbc-dashboard__modal-content .dbc-manual-payment-proof-form .dbc-subscription-button:hover, .dbc-dashboard__modal-content .dbc-manual-payment-proof-form .dbc-subscription-button:focus { border-color: #073657; color: #fff !important; background: #073657 !important; }

.dbc-dashboard__membership-empty {
    padding: 4px 0;
}

.dbc-dashboard__membership-empty p {
    margin-bottom: 11px;
    font-size: 12px;
}

.dbc-dashboard__saved-search-list,
.dbc-dashboard__history-list,
.dbc-dashboard__small-company-list {
    display: grid;
    gap: 7px;
}

.dbc-dashboard__saved-section-title {
    margin: 12px 0 6px;
    color: var(--dbc-dashboard-ink);
    font-size: 11px;
    font-weight: 700;
}

.dbc-dashboard__saved-section-title:first-child {
    margin-top: 0;
}

.dbc-dashboard__saved-search,
.dbc-dashboard__history-list a {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    color: var(--dbc-dashboard-ink);
    text-decoration: none;
}

.dbc-dashboard__history-list a {
    grid-template-columns: minmax(0, 1fr) auto;
}

.dbc-dashboard__saved-search:hover,
.dbc-dashboard__saved-search:focus,
.dbc-dashboard__history-list a:hover,
.dbc-dashboard__history-list a:focus {
    border-color: var(--dbc-dashboard-primary);
    background: var(--dbc-dashboard-primary-soft);
}

.dbc-dashboard__saved-search > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dbc-dashboard__saved-search strong,
.dbc-dashboard__history-list strong {
    overflow: hidden;
    color: var(--dbc-dashboard-primary);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__saved-search small,
.dbc-dashboard__history-list small {
    color: var(--dbc-dashboard-muted);
    font-size: 10px;
}

.dbc-dashboard__saved-search > b {
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--dbc-dashboard-primary);
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
}

.dbc-dashboard__saved-search > i {
    color: var(--dbc-dashboard-primary);
    font-size: 18px;
    font-style: normal;
}

.dbc-dashboard__tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 9px;
}

.dbc-dashboard__tabs button {
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-paper);
    color: var(--dbc-dashboard-muted);
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
}

.dbc-dashboard__tabs button.is-active {
    border-color: var(--dbc-dashboard-primary);
    background: var(--dbc-dashboard-primary-soft);
    color: var(--dbc-dashboard-primary);
}

.dbc-dashboard__tab-panel[hidden] {
    display: none;
}

.dbc-dashboard__small-company {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid var(--dbc-dashboard-line);
}

.dbc-dashboard__small-company:last-child {
    border-bottom: 0;
}

.dbc-dashboard__company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-paper);
    color: var(--dbc-dashboard-primary);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.dbc-dashboard__company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dbc-dashboard__small-company-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.dbc-dashboard__small-company-copy strong {
    overflow: hidden;
    color: var(--dbc-dashboard-primary);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__small-company-copy span,
.dbc-dashboard__small-company-copy small {
    overflow: hidden;
    color: var(--dbc-dashboard-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__company-row {
    display: grid;
    grid-template-columns: 48px minmax(160px, 1.35fr) minmax(85px, .65fr) minmax(130px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--dbc-dashboard-line);
}

.dbc-dashboard__company-row:first-child {
    border-top: 0;
}

.dbc-dashboard__company-identity {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.dbc-dashboard__company-identity strong {
    overflow: hidden;
    color: var(--dbc-dashboard-primary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__company-identity span,
.dbc-dashboard__company-identity small {
    overflow: hidden;
    color: var(--dbc-dashboard-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__company-status {
    display: inline-flex;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f0f2f4;
    color: #68737b;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.dbc-dashboard__company-status--publish {
    background: #e7f5ed;
    color: #197044;
}

.dbc-dashboard__company-status--pending {
    background: #fff3d8;
    color: #8b5d0a;
}

.dbc-dashboard__company-quality {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 8px;
    min-width: 0;
    color: var(--dbc-dashboard-muted);
    font-size: 10px;
}

.dbc-dashboard__company-quality > span {
    grid-column: 1 / -1;
}

.dbc-dashboard__company-quality > strong {
    color: var(--dbc-dashboard-primary);
    font-size: 11px;
}

.dbc-dashboard__progress {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #e7edf1;
}

.dbc-dashboard__progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--dbc-dashboard-primary);
}

.dbc-dashboard__company-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.dbc-dashboard__more-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    color: var(--dbc-dashboard-primary);
    font-size: 18px;
    text-decoration: none;
}

.dbc-dashboard__company-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #e7c77e;
    border-radius: var(--dbc-dashboard-control-radius);
    background: #fffaf0;
    color: #684b12;
    font-size: 11px;
}

.dbc-dashboard__company-warning span {
    flex: 1;
}

.dbc-dashboard__recommendation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.dbc-dashboard__recommendation {
    display: grid;
    align-content: start;
    gap: 3px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
}

.dbc-dashboard__recommendation .dbc-dashboard__company-logo {
    width: 100%;
    height: 42px;
    margin-bottom: 3px;
}

.dbc-dashboard__recommendation strong {
    overflow: hidden;
    color: var(--dbc-dashboard-primary);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__recommendation small {
    overflow: hidden;
    color: var(--dbc-dashboard-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbc-dashboard__recommendation .dbc-button {
    margin-top: 6px;
    width: 100%;
}

.dbc-dashboard__recommendation-save {
    margin-top: 6px;
}

.dbc-dashboard__recommendation-save .dbm-native-favorite,
.dbc-dashboard__recommendation-save .dbm-bookmark-fallback {
    width: 100%;
}

.dbc-dashboard__recommendation-save .dbm-bookmark-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-paper);
    color: var(--dbc-dashboard-primary);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.dbc-dashboard__recommendation-save .dbm-favorite-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    color: #d62839 !important;
}

.dbc-dashboard__recommendation-save .dbm-favorite-icon {
    display: block;
    width: 15px;
    height: 15px;
    overflow: visible;
}

.dbc-dashboard__recommendation-save .dbm-bookmark-fallback.is-active {
    border-color: #e7bbc0 !important;
    background: #fff7f8 !important;
    color: #7c3740 !important;
}

.dbc-dashboard__recommendation-save .dbm-bookmark-fallback:hover .dbm-favorite-icon-wrap,
.dbc-dashboard__recommendation-save .dbm-bookmark-fallback.is-active .dbm-favorite-icon-wrap {
    color: #c9182b !important;
}

.dbc-dashboard__recommendation-save .dbm-bookmark-fallback.is-loading {
    cursor: wait;
    opacity: .82;
}

.dbc-dashboard__recommendation-save .dbm-bookmark-fallback.is-loading .dbm-favorite-icon-wrap {
    animation: dbc-dashboard-bookmark-pulse .85s ease-in-out infinite;
}

.dbc-dashboard__recommendation-save .dbm-bookmark-fallback.is-loading b {
    opacity: .72;
}

.dbc-dashboard__modal-loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--dbc-dashboard-muted);
    font-size: 13px;
    text-align: center;
}

.dbc-dashboard__loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--dbc-dashboard-line);
    border-top-color: var(--dbc-dashboard-primary);
    border-radius: 50%;
    animation: dbc-dashboard-spinner .7s linear infinite;
}

@keyframes dbc-dashboard-spinner {
    to { transform: rotate(360deg); }
}

.dbc-dashboard__modal-item span:not(.dbc-dashboard__modal-kind) {
    font-size: 11px;
}

.dbc-dashboard__modal-item small,
.dbc-dashboard__history-modal-section .dbc-dashboard__history-list small {
    font-size: 11px;
}

@keyframes dbc-dashboard-bookmark-pulse {
    0%, 100% { transform: scale(1); opacity: .72; }
    50% { transform: scale(1.16); opacity: 1; }
}

.dbc-dashboard__panel--companies {
    margin-top: 14px;
}

.dbc-dashboard__panel--companies > .dbc-dashboard__panel-heading {
    padding-right: 130px;
}

.dbc-dashboard__add-company {
    position: absolute;
    top: 13px;
    right: 14px;
}

.dbc-dashboard__empty {
    display: grid;
    gap: 4px;
    padding: 13px 4px 3px;
    color: var(--dbc-dashboard-muted);
}

.dbc-dashboard__empty strong {
    color: var(--dbc-dashboard-primary);
    font-size: 12px;
}

.dbc-dashboard__empty span {
    font-size: 11px;
}

.dbc-dashboard__empty .dbc-button {
    justify-self: start;
    margin-top: 7px;
}

.dbc-dashboard--login {
    max-width: 600px;
    margin: 30px auto;
    padding: 28px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-radius);
    background: var(--dbc-dashboard-paper);
    box-shadow: var(--dbc-dashboard-shadow);
    text-align: center;
}

.dbc-dashboard__modal[hidden] { display: none; }
.dbc-dashboard__modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
}
.dbc-dashboard__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 37, 57, .56);
}
.dbc-dashboard__modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(720px, calc(100vh - 36px));
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-radius);
    background: var(--dbc-dashboard-paper);
    box-shadow: 0 20px 60px rgba(10, 45, 76, .22);
}
.dbc-dashboard__modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.dbc-dashboard__modal-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dbc-dashboard__modal-header h2 { margin: 0 0 3px; }
.dbc-dashboard__modal-header p { margin: 0; color: var(--dbc-dashboard-muted); font-size: 11px; }
.dbc-dashboard__modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: 50%;
    background: var(--dbc-dashboard-paper);
    color: var(--dbc-dashboard-primary);
    appearance: none;
    padding: 0;
    font-family: inherit;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    text-shadow: none;
    cursor: pointer;
}
.dbc-dashboard .dbc-dashboard__modal-close:hover,
.dbc-dashboard .dbc-dashboard__modal-close:focus,
.dbc-dashboard .dbc-dashboard__modal-close:focus-visible,
.dbc-dashboard .dbc-dashboard__modal-close:active {
    border-color: var(--dbc-dashboard-primary-hover) !important;
    background: var(--dbc-dashboard-primary-hover) !important;
    color: #fff !important;
    box-shadow: none;
    outline: 0;
}
.dbc-dashboard__modal-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.dbc-dashboard__modal-summary > div {
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--dbc-dashboard-line);
    border-radius: var(--dbc-dashboard-control-radius);
    background: var(--dbc-dashboard-primary-soft);
}
.dbc-dashboard__modal-summary strong { color: var(--dbc-dashboard-primary); font-size: 20px; line-height: 1; }
.dbc-dashboard__modal-summary span { color: var(--dbc-dashboard-muted); font-size: 10px; font-weight: 700; }
.dbc-dashboard__modal-list { display: grid; gap: 0; }
.dbc-dashboard__modal-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--dbc-dashboard-line);
}
.dbc-dashboard__modal-item:last-child { border-bottom: 0; }
.dbc-dashboard__modal-item > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.dbc-dashboard__modal-item strong { overflow: hidden; color: var(--dbc-dashboard-primary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dbc-dashboard__modal-item span:not(.dbc-dashboard__modal-kind) { color: var(--dbc-dashboard-muted); font-size: 11px; }
.dbc-dashboard__modal-item small { color: var(--dbc-dashboard-muted); font-size: 11px; }
.dbc-dashboard__modal-kind { padding: 5px 8px; border-radius: 999px; background: #e7f2fb; color: var(--dbc-dashboard-primary); font-size: 9px; font-weight: 800; white-space: nowrap; }
.dbc-dashboard__saved-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr);
    gap: 8px;
    margin-bottom: 10px;
}
.dbc-dashboard__saved-filters label { display: grid; gap: 4px; color: var(--dbc-dashboard-muted); font-size: 10px; font-weight: 700; }
.dbc-dashboard__saved-filters input,
.dbc-dashboard__saved-filters select { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid var(--dbc-dashboard-line); border-radius: var(--dbc-dashboard-control-radius); background: #fff; color: var(--dbc-dashboard-ink); font: inherit; }
.dbc-dashboard__saved-results { margin-bottom: 3px; color: var(--dbc-dashboard-muted); font-size: 10px; }
.dbc-dashboard__saved-results strong { color: var(--dbc-dashboard-primary); }
.dbc-dashboard__saved-company-item > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.dbc-dashboard__saved-no-results { padding: 24px 8px; color: var(--dbc-dashboard-muted); text-align: center; font-size: 11px; }
.dbc-dashboard__saved-company-item[hidden] { display: none; }
.dbc-dashboard__history-modal-section + .dbc-dashboard__history-modal-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--dbc-dashboard-line); }
.dbc-dashboard__history-modal-section h3 { margin: 0 0 3px; }
.dbc-dashboard__history-modal-section > p { margin: 0 0 9px; color: var(--dbc-dashboard-muted); font-size: 10px; }
.dbc-dashboard__history-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dbc-dashboard__history-modal-section .dbc-dashboard__history-list a {
    grid-template-columns: minmax(0, 1fr) auto;
}
.dbc-dashboard__history-modal-section .dbc-dashboard__history-list strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dbc-dashboard__history-modal-section .dbc-dashboard__history-list small {
    white-space: nowrap;
}
body.dbc-dashboard-modal-open { overflow: hidden; }

@media (max-width: 980px) {
    .dbc-dashboard__stats-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dbc-dashboard__company-row {
        grid-template-columns: 42px minmax(150px, 1fr) minmax(80px, .7fr) auto;
    }

    .dbc-dashboard__company-quality {
        grid-column: 2 / 4;
    }

    .dbc-dashboard__company-actions {
        grid-column: 4;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 760px) {
    .dbc-dashboard__modal { padding: 10px; }
    .dbc-dashboard__modal-dialog {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 20px);
        overflow-x: hidden;
        padding: 0 14px 14px;
        box-sizing: border-box;
    }
    .dbc-dashboard__modal-header {
        position: sticky;
        top: 0;
        z-index: 5;
        margin: 0 -14px 16px;
        padding: 14px;
        border-bottom: 1px solid var(--dbc-dashboard-line);
        background: var(--dbc-dashboard-paper);
        box-shadow: 0 3px 10px rgba(22, 52, 77, .08);
    }
    .dbc-dashboard__modal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dbc-dashboard__saved-filters { grid-template-columns: 1fr; }
    .dbc-dashboard__modal-item {
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: start;
    }
    .dbc-dashboard__modal-item .dbc-dashboard__modal-kind { grid-column: 2; justify-self: start; }
    .dbc-dashboard__modal-item .dbc-button {
        grid-column: 2;
        grid-row: auto;
        justify-self: start;
        margin-top: 6px;
    }
    .dbc-dashboard {
        padding: 16px 12px 34px;
    }

    .dbc-dashboard__welcome {
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: start;
        gap: 7px 9px;
        min-height: 0;
        margin-bottom: 12px;
        padding: 9px;
    }

    .dbc-dashboard__avatar {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .dbc-dashboard__welcome-copy h1 {
        margin-bottom: 3px;
        font-size: 22px;
        line-height: 1.04;
        letter-spacing: -.02em;
    }

    .dbc-dashboard__welcome-copy p {
        font-size: 11px;
        line-height: 1.35;
    }

    .dbc-dashboard__welcome-copy > span {
        font-size: 10px;
        line-height: 1.35;
    }

    .dbc-dashboard__logout-button {
        grid-column: 2;
        justify-self: start;
    }

    .dbc-dashboard__layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .dbc-dashboard__column { display: contents; }

    .dbc-dashboard__layout > .dbc-dashboard__column:first-child > section:nth-child(1) { order: 1; }
    .dbc-dashboard__layout > .dbc-dashboard__column:last-child > section:nth-child(1) { order: 2; }
    .dbc-dashboard__layout > .dbc-dashboard__column:first-child > section:nth-child(2) { order: 3; }
    .dbc-dashboard__layout > .dbc-dashboard__column:last-child > section:nth-child(2) { order: 4; }
    .dbc-dashboard__layout > .dbc-dashboard__column:first-child > section:nth-child(3) { order: 5; }
    .dbc-dashboard__layout > .dbc-dashboard__column:last-child > section:nth-child(3) { order: 7; }
    .dbc-dashboard__layout > .dbc-dashboard__column:first-child > section:nth-child(4) { order: 8; }
    .dbc-dashboard__layout > .dbc-dashboard__column:last-child > section:nth-child(4) { order: 9; }

    .dbc-dashboard__column > section { margin-bottom: 12px; }

    .dbc-dashboard__panel {
        margin-bottom: 15px;
        padding: 14px;
        width: 100%;
    }

    .dbc-dashboard__panel-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: flex-start;
        gap: 8px;
    }

    .dbc-dashboard__panel-link {
        justify-self: end;
        padding-top: 0;
        font-size: 13px;
        line-height: 1.25;
        white-space: normal;
    }

    .dbc-dashboard__stats-grid--four {
        width: 100%;
        min-width: 0;
    }

    .dbc-dashboard__stats-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dbc-dashboard__membership-details {
        grid-template-columns: 1fr;
    }

    .dbc-dashboard__company-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px 10px;
        align-items: start;
    }

    .dbc-dashboard__company-row .dbc-dashboard__company-status,
    .dbc-dashboard__company-row .dbc-dashboard__company-quality,
    .dbc-dashboard__company-row .dbc-dashboard__company-actions {
        grid-column: 2;
    }

    .dbc-dashboard__company-row .dbc-dashboard__company-actions {
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
    }

    .dbc-dashboard__company-row .dbc-dashboard__company-actions .dbc-button {
        min-width: 0;
    }

    .dbc-dashboard__panel--companies > .dbc-dashboard__panel-heading {
        padding-right: 0;
    }

    .dbc-dashboard__add-company {
        position: static;
        width: 100%;
        margin: 0 0 10px;
        box-sizing: border-box;
    }

    .dbc-dashboard__company-warning {
        align-items: flex-start;
        flex-wrap: wrap;
    }

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

    .dbc-dashboard__small-company {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .dbc-dashboard__small-company .dbc-button {
        grid-column: 2;
        justify-self: start;
    }

    .dbc-dashboard__company-logo {
        width: 36px;
        height: 36px;
    }

    .dbc-dashboard__saved-search,
    .dbc-dashboard__history-list a {
        grid-template-columns: 28px minmax(0, 1fr) auto;
    }

    .dbc-dashboard__history-list a {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 430px) {
    .dbc-dashboard__stats-grid--four {
        grid-template-columns: 1fr 1fr;
    }

    .dbc-dashboard__panel-link {
        font-size: 13px;
    }

    .dbc-dashboard__recommendation-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dbc-dashboard__quick-search {
        display: block;
    }

    .dbc-dashboard__quick-search input,
    .dbc-dashboard__quick-search .dbc-button {
        border-radius: var(--dbc-dashboard-control-radius);
    }

    .dbc-dashboard__quick-search .dbc-button {
        margin-left: 0;
        margin-top: 3px;
        position: static !important;
    }
}

@media (max-width: 430px) {
    form.dbc-dashboard__quick-search .dbc-dashboard__quick-search-input {
        display: flex !important;
        height: 42px !important;
    }

    form.dbc-dashboard__quick-search .dbc-dashboard__quick-search-button {
        width: auto !important;
        margin: 3px !important;
        margin-top: 3px !important;
    }
}

