.cnwstimeboard_account {
    max-width: 1120px;
    margin: 0 auto;
    color: #0f172a;
}

.cnwstimeboard_account_hero {
    margin: 0 0 20px;
    padding: 28px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f2f63 0%, #102442 54%, #061426 100%);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.cnwstimeboard_account_hero span {
    display: block;
    margin-bottom: 6px;
    color: #d6b56d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cnwstimeboard_account_hero h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.cnwstimeboard_account_hero p {
    max-width: 680px;
    margin: 0;
    color: #dbeafe;
    font-size: 15px;
    line-height: 1.7;
}

.cnwstimeboard_account_cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 22px;
}

.cnwstimeboard_account_cards > div,
.cnwstimeboard_account_panel,
.cnwstimeboard_account_entry,
.cnwstimeboard_account_row,
.cnwstimeboard_account_empty {
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.cnwstimeboard_account_cards > div {
    padding: 18px 18px 16px;
}

.cnwstimeboard_account_cards > div.success {
    background: #ecfdf3;
    border-color: #b7e4c7;
}

.cnwstimeboard_account_cards > div.danger {
    background: #fff1f1;
    border-color: #f5b5b5;
}

.cnwstimeboard_account_cards span,
.cnwstimeboard_account_entry span,
.cnwstimeboard_account_row span,
.cnwstimeboard_account_panel_head span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.cnwstimeboard_account_cards strong {
    display: block;
    color: #0f172a;
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.cnwstimeboard_account_cards > div.success strong {
    color: #067647;
}

.cnwstimeboard_account_cards > div.danger strong {
    color: #b42318;
}

.cnwstimeboard_account_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin: 0 0 18px;
}

.cnwstimeboard_account_panel {
    padding: 18px;
}

.cnwstimeboard_account_full {
    margin-top: 18px;
}

.cnwstimeboard_account_panel_head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.cnwstimeboard_account_panel_head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.cnwstimeboard_account_entry {
    margin-bottom: 12px;
    padding: 15px 16px;
}

.cnwstimeboard_account_entry strong,
.cnwstimeboard_account_row strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}

.cnwstimeboard_account_entry p {
    margin: 9px 0 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.cnwstimeboard_account_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.cnwstimeboard_account_row.invoice {
    background: #fbfdff;
}

.cnwstimeboard_account_row_actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cnwstimeboard_account_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #0f2f63;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.cnwstimeboard_account_button.secondary {
    background: #f8fafc;
    border: 1px solid #dbe5f0;
    color: #0f2f63 !important;
}

.cnwstimeboard_account_empty {
    padding: 16px;
    color: #64748b;
    background: #f8fafc;
    box-shadow: none;
}

.cnwstimeboard_account_report_preview {
    overflow: auto;
    border-radius: 18px;
    background: #eef3f8;
    padding: 12px;
}

@media (max-width: 900px) {
    .cnwstimeboard_account_cards,
    .cnwstimeboard_account_grid {
        grid-template-columns: 1fr;
    }

    .cnwstimeboard_account_row,
    .cnwstimeboard_account_panel_head {
        display: block;
    }

    .cnwstimeboard_account_row_actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
}
