.cash-overview {
    --cash-border: #dfe5eb;
    --cash-muted: #657384;
    --cash-blue: #006fb9;
    padding: 22px;
    background: #f6f8fa;
    border: 1px solid var(--cash-border);
    border-top: 0;
    color: #243342;
    font-weight: 400;
    text-shadow: none;
}
.cash-overview *, .cash-overview *::before, .cash-overview *::after { box-sizing: border-box; }
.cash-overview .cash-overview-heading, .cash-overview .cash-cc-heading,
.cash-overview .cash-cc-toolbar, .cash-overview .cash-history-heading {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cash-overview h2, .cash-overview h3, .cash-overview h4 { margin: 0; color: #203344; line-height: 1.35; }
.cash-overview h2 { font-size: 20px; }
.cash-overview h3 { font-size: 18px; }
.cash-overview h4 { font-size: 16px; }
.cash-overview-heading p, .cash-cc-heading p { margin: 4px 0 0; color: var(--cash-muted); font-size: 13px; }
.cash-overview .cash-date { font-size: 13px; font-weight: 600; padding: 7px 12px; background: #fff; border: 1px solid var(--cash-border); border-radius: 6px; white-space: nowrap; }
.cash-overview .cash-notice { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin: 18px 0; background: #fff8e9; border: 1px solid #efdba8; border-radius: 8px; color: #70511a; }
.cash-notice .cash-notice-icon { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border: 1px solid #c69635; border-radius: 50%; font-weight: 700; }
.cash-notice div { flex: 1; }
.cash-notice strong { display: block; font-size: 14px; }
.cash-notice div span { display: block; margin-top: 3px; font-size: 13px; }
.cash-overview .cash-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.cash-overview .cash-metric { min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--cash-border); border-radius: 8px; }
.cash-overview .cash-metric-primary { padding: 17px; border: 2px solid var(--cash-blue); background: #fafdff; }
.cash-overview .cash-metric-label { display: block; color: #536374; font-size: 13px; }
.cash-overview .cash-metric strong { display: block; margin: 9px 0 6px; color: #203344; font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cash-overview .cash-metric-note { font-size: 12px; color: var(--cash-muted); }
.cash-overview .cash-balance-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; margin-top: 12px; padding: 15px 18px; border: 1px solid var(--cash-border); border-radius: 8px; background: #fff; }
.cash-overview .cash-balance-opening { margin-top: 18px; }
.cash-overview .cash-balance-closing { margin-bottom: 12px; background: #edf4f8; border-color: #cadce8; }
.cash-overview .cash-balance-row .cash-metric-note { display: block; margin-top: 4px; }
.cash-overview .cash-balance-row strong { color: #203344; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cash-overview .cash-cc-section { border: 1px solid var(--cash-border); border-radius: 8px; background: #fff; overflow: hidden; }
.cash-overview .cash-cc-heading { padding: 17px 20px; }
.cash-overview #cc_cash_panel { border-top: 1px solid var(--cash-border); padding: 0 20px 20px; }
.cash-overview .cash-button {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    width: auto; min-height: 38px; margin: 0; padding: 8px 13px;
    border: 1px solid #cad4dd; border-radius: 6px; background: #fff;
    box-shadow: none; color: #34495a; font: inherit; font-size: 13px; font-weight: 600;
    line-height: 1.35; text-shadow: none; cursor: pointer; white-space: normal;
}
.cash-overview .cash-button:hover { background: #edf3f8; border-color: #9bafc0; }
.cash-overview .cash-button-primary { background: var(--cash-blue); border-color: var(--cash-blue); color: #fff; }
.cash-overview .cash-button-primary:hover { background: #005b98; color: #fff; }
.cash-overview .cash-button-warning { border-color: #d8be87; color: #70511a; background: transparent; }
.cash-overview .cash-button-quiet { border-color: transparent; background: transparent; color: var(--cash-muted); }
.cash-overview .cash-button:disabled { cursor: wait; opacity: .55; }
.cash-overview :is(button, input, select, summary):focus-visible { outline: 3px solid #81bce3; outline-offset: 2px; }
.cash-overview .cash-cc-toolbar { justify-content: flex-start; padding: 16px 0; align-items: end; }
.cash-overview .cash-mapping-label { margin: 0 0 10px auto; color: var(--cash-muted); font-size: 13px; }
.cash-overview .cash-field { min-width: 0; }
.cash-overview .cash-field label { display: block; width: auto; float: none; margin: 0 0 6px; color: #475969; font-size: 13px; font-weight: 500; }
.cash-overview .cash-field input, .cash-overview .cash-field select {
    display: block; width: 100%; min-width: 0; min-height: 40px; margin: 0; padding: 8px 10px;
    background: #fff; border: 1px solid #cbd5de; border-radius: 5px; color: #253848;
    box-shadow: none; font: inherit; font-size: 14px; line-height: 1.4;
}
.cash-overview .cash-day-field { width: 180px; }
.cash-overview .cash-settings { min-width: 0; margin-bottom: 18px; border: 1px solid var(--cash-border); border-radius: 6px; background: #f8fafc; }
.cash-overview .cash-settings summary { padding: 10px 13px; color: #52687a; cursor: pointer; font-size: 13px; font-weight: 600; }
.cash-overview .cash-settings-body { min-width: 0; padding: 0 14px 14px; }
.cash-settings-body p { margin: 0 0 12px; color: var(--cash-muted); font-size: 13px; }
.cash-overview .cash-settings-fields { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 420px; gap: 10px; }
.cash-overview .cash-settings-fields .cash-field { width: 100%; min-width: 0; max-width: none; }
.cash-overview .cash-settings-fields select { width: 100%; min-width: 0; max-width: 100%; }
.cash-overview .cash-settings-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cash-overview .cash-opening-fields { display: grid; grid-template-columns: minmax(160px, 240px) max-content; align-items: end; gap: 10px; }
.cash-overview .cash-workspace { display: flex; flex-wrap: wrap; gap: 28px; }
.cash-overview .cash-compose,
.cash-overview .cash-history-section { flex: 1 1 360px; min-width: 0; }
.cash-overview .cash-source-field { width: 100%; max-width: 360px; }
.cash-overview .cash-available { min-height: 20px; margin: 8px 0 18px; color: var(--cash-muted); font-size: 12px; line-height: 1.6; }
.cash-overview .cash-available:empty { display: none; }
.cash-overview .cash-compose-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 15px; }
.cash-overview .cash-compose-fields .cash-field { width: 100%; max-width: 180px; flex: 0 1 180px; }
.cash-overview .cash-compose-fields .cash-amount-field { max-width: 150px; flex-basis: 150px; }
.cash-overview .cash-compose-fields .cash-action-date-field { max-width: 190px; flex-basis: 190px; }
.cash-overview .cash-compose-fields .cash-action-time-field { max-width: 160px; flex-basis: 160px; }
.cash-overview .cash-help { margin: 8px 0 14px; color: var(--cash-muted); font-size: 12px; line-height: 1.5; }
.cash-overview .cash-history-heading { justify-content: flex-start; gap: 8px; margin-bottom: 12px; }
.cash-overview .cash-count { padding: 2px 7px; border-radius: 10px; color: #617387; background: #edf2f6; font-size: 12px; }
.cash-overview #cc_cash_exports { width: 100%; min-width: 0; }
.cash-overview .cash-empty { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 11px; width: 100%; max-width: none; padding: 13px 15px; margin: 0; border: 1px solid #dfe7ed; border-radius: 7px; background: #f8fafc; color: var(--cash-muted); text-align: left; line-height: 1.45; }
.cash-overview .cash-empty::before { content: "i"; display: grid; grid-row: 1 / span 2; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e7eff5; color: #4f6b80; font-size: 13px; font-weight: 700; }
.cash-overview .cash-empty strong { align-self: end; color: #34495a; font-size: 13px; }
.cash-overview .cash-empty span { align-self: start; margin-top: 2px; font-size: 12px; }
.cash-overview .cash-export { padding: 14px 0; border-bottom: 1px solid var(--cash-border); }
.cash-overview .cash-export:first-child { padding-top: 0; }
.cash-overview .cash-export-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cash-export-head strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.cash-overview .cash-export-meta { margin: 6px 0 10px; color: var(--cash-muted); font-size: 12px; line-height: 1.5; }
.cash-overview .cash-export-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cash-export-actions .cash-button { min-height: 34px; padding: 6px 9px; font-size: 12px; }
.cash-overview .cash-status { padding: 4px 8px; border-radius: 12px; background: #eef2f5; color: #5f7181; font-size: 11px; font-weight: 600; }
.cash-overview .cash-status-prepared { background: #eaf3fb; color: #19659a; }
.cash-overview .cash-status-sent { background: #e8f5ed; color: #267347; }
.cash-overview .cash-status-uncertain, .cash-overview .cash-status-sending, .cash-overview .cash-status-legacy { background: #fff4dc; color: #88611d; }
.cash-overview .cash-feedback { margin: 12px 0 0; padding: 9px 12px; border-radius: 5px; background: #f0f5f9; color: #47657d; font-size: 13px; line-height: 1.5; }
.cash-overview .cash-feedback:empty, .cash-overview .cash-audit:empty { display: none; }
.cash-overview .cash-feedback-error, .cash-overview .cash-export-error { color: #a63732; background: #fff0ef; }
.cash-overview .cash-export-error { padding: 8px; font-size: 12px; line-height: 1.5; }
.cash-overview .cash-audit { white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f8fa; padding: 12px; border-radius: 5px; font: 12px/1.6 monospace; }
@media (max-width: 1050px) {
    .cash-overview .cash-notice { flex-wrap: wrap; }
    .cash-overview .cash-workspace { gap: 22px; }
    .cash-overview .cash-compose { padding: 0 0 22px; border-bottom: 1px solid var(--cash-border); }
}
@media (max-width: 760px) {
    #daily_transactions_form .cash-overview { padding: 14px; }
    .cash-overview .cash-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cash-overview .cash-metric { padding: 14px; }
    .cash-overview .cash-metric-primary { padding: 13px; }
    .cash-overview .cash-compose { padding-bottom: 18px; }
    .cash-overview .cash-cc-heading { flex-wrap: wrap; padding: 14px; }
    .cash-overview #cc_cash_panel { padding: 0 14px 14px; }
    .cash-overview .cash-cc-toolbar { flex-wrap: wrap; gap: 10px; }
    .cash-overview .cash-mapping-label { width: 100%; margin: 0; }
    .cash-overview .cash-button { min-height: 42px; }
    .cash-overview .cash-overview-heading { align-items: flex-start; }
    .cash-overview-heading p { max-width: 180px; }
}
@media (max-width: 560px) {
    .cash-overview .cash-metrics { grid-template-columns: 1fr; }
    .cash-overview .cash-balance-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .cash-overview .cash-opening-fields { grid-template-columns: 1fr; }
    .cash-overview .cash-settings-actions { display: grid; grid-template-columns: 1fr; }
    .cash-overview .cash-settings-actions .cash-button { width: 100%; }
    .cash-overview .cash-opening-fields .cash-button { width: 100%; }
}

#jaatmejaamad_arved_4 .cash-overview { font-family: Arial, sans-serif; }

#jaatmejaamad_arved_2 .cc-unsent-panel {
    margin: 12px 0 20px; padding: 10px; border: 1px solid #ccc;
    background: #fff; color: #000; text-shadow: none;
}
#jaatmejaamad_arved_2 .cc-unsent-panel h3 { margin: 0 0 8px; color: #000; font-size: 16px; }
#jaatmejaamad_arved_2 .cc-unsent-panel > p { margin: 6px 0 10px; color: #333; font-size: 13px; }
#jaatmejaamad_arved_2 .cc-unsent-search { margin: 8px 0; }
#jaatmejaamad_arved_2 .cc-unsent-search label { display: block; margin-bottom: 3px; font-weight: normal; }
#jaatmejaamad_arved_2 .cc-unsent-search input { width: 280px; max-width: 70%; padding: 3px; border: 1px solid gray; border-right-color: silver; border-bottom-color: silver; border-radius: 2px; background: #fff; color: #000; box-shadow: none; }
#jaatmejaamad_arved_2 .cc-unsent-search button,
#jaatmejaamad_arved_2 .cc-unsent-actions button { width: auto; margin: 2px 0; padding: 4px 7px; border: 1px solid gray; border-radius: 2px; background: #eee; color: #000; font: inherit; font-size: 13px; font-weight: normal; text-shadow: none; box-shadow: none; cursor: pointer; }
#jaatmejaamad_arved_2 .cc-unsent-search button:hover,
#jaatmejaamad_arved_2 .cc-unsent-actions button:hover { background: silver; color: gray; }
#jaatmejaamad_arved_2 .cc-unsent-message { margin: 8px 0; color: #333; font-size: 13px; overflow-wrap: anywhere; }
#jaatmejaamad_arved_2 .cc-unsent-message:empty { display: none; }
#jaatmejaamad_arved_2 .cc-unsent-card { margin-top: 10px; padding: 10px; border: 1px solid #ccc; background: #fff; }
#jaatmejaamad_arved_2 .cc-unsent-card-heading { padding-bottom: 6px; border-bottom: 1px solid #ddd; color: #000; }
#jaatmejaamad_arved_2 .cc-unsent-status { margin-left: 10px; color: #555; font-size: 12px; }
#jaatmejaamad_arved_2 .cc-unsent-details { display: table; width: 100%; margin-top: 8px; }
#jaatmejaamad_arved_2 .cc-unsent-detail { display: table-cell; width: 25%; padding: 3px 8px 3px 0; vertical-align: top; }
#jaatmejaamad_arved_2 .cc-unsent-detail span { display: block; margin-bottom: 2px; color: #555; font-size: 12px; }
#jaatmejaamad_arved_2 .cc-unsent-detail strong { display: block; color: #000; font-size: 13px; font-weight: normal; overflow-wrap: anywhere; }
#jaatmejaamad_arved_2 .cc-unsent-error { margin: 8px 0; padding: 5px; border: 1px solid #c99; background: #fff8f8; color: #900; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
#jaatmejaamad_arved_2 .cc-unsent-actions { margin-top: 8px; text-align: right; }
#jaatmejaamad_arved_2 .cc-unsent-actions button[disabled] { cursor: wait; opacity: .55; }
@media (max-width: 600px) {
    #jaatmejaamad_arved_2 .cc-unsent-detail { display: inline-block; width: 48%; }
}
