#dccView { max-width: 1560px; margin: 0 auto; }
#dccView h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0; color: #171c2c; }
#dccView .panel { padding: clamp(18px, 3vw, 34px); background: #fff; border: 1px solid #e5e8ef; border-radius: 20px; box-shadow: 0 12px 32px #18213a0a; }
#dccView .dcc-heading { margin-bottom: 20px; }
#dccDashboard > p { color: #596579; }
.dcc-report-section { margin: 18px 0; }
.dcc-report-section h3 { margin: 0 0 8px; }
#dccView .dcc-report-section .customer-table { min-width: 650px; }
.dcc-followup-panel { padding: 12px 16px; background: #f5f7fb; border: 1px solid #e5e8ef; border-radius: 12px; }
.dcc-followup-panel h3 { margin: 0 0 8px; }
#dccTaskPeriods { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
#dccView #dccTaskPeriods button[aria-pressed="true"] { background: #344db0; border-color: #344db0; color: #fff; }
.dcc-history { grid-column: 1 / -1; }
.dcc-task, .dcc-log { border-top: 1px solid #e5e8ef; padding: 8px 0; }
.dcc-task { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.dcc-task time, .dcc-log time { display: block; color: #596579; font-size: 13px; }
.dcc-task p, .dcc-log p { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#dccView .dcc-heading p, #dccAutoRefresh, #dccMessage { color: #596579; }
.dcc-stats:not(.hidden) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.dcc-stat { display: grid; gap: 6px; padding: 14px; border: 1px solid #e4e8f1; border-radius: 12px; background: #f8f9fc; color: #48556d; }
.dcc-stat strong { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; color: #171c2c; font-variant-numeric: tabular-nums; }
#dccView button.dcc-stat { text-align: start; align-content: start; gap: 6px; padding: 14px; border-radius: 12px; }
#dccView button.dcc-stat[data-grade="A"] { background: #ecfdf5; border-color: #bcead8; color: #07654d; }
#dccView button.dcc-stat[data-grade="B"] { background: #eef2ff; border-color: #d8e0ff; color: #253f9d; }
#dccView button.dcc-stat[data-grade="C"] { background: #fff8e8; border-color: #ffe6b1; color: #7b5117; }
#dccView button.dcc-stat:hover { box-shadow: inset 0 0 0 1px #8191bb; }
#dccView button.dcc-stat[aria-pressed="true"] { border-color: #344db0; box-shadow: inset 0 0 0 1px #344db0; }
.dcc-dates:not(.hidden) { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border: 1px solid #e5e8ef; border-radius: 10px; background: #f8f9fc; color: #344058; }
.dcc-dates label { display: flex; align-items: center; gap: 6px; }
.dcc-dates input { border: 1px solid #dce1eb; padding: 6px; border-radius: 8px; background: #fff; color: inherit; font: inherit; }
.dcc-search:not(.hidden) { margin-bottom: 10px; align-items: end; }
.dcc-search label { flex: 1 1 130px; min-width: 0; flex-direction: column; align-items: stretch; }
.dcc-search input, .dcc-search select { box-sizing: border-box; min-height: 38px; width: 100%; }
.dcc-search select { border: 1px solid #dce1eb; padding: 6px; border-radius: 8px; background: #fff; color: inherit; font: inherit; }
#dccView .table-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
#dccView #dccModes { padding: 5px; background: #f3f5f9; border-radius: 12px; width: fit-content; }
#dccView button { cursor: pointer; border: 1px solid #dce1eb; border-radius: 8px; padding: 8px 13px; background: #fff; color: #344058; font: inherit; font-size: 14px; width: auto; }
#dccView button:hover { background: #f3f5fa; }
#dccView button:focus-visible { outline: 2px solid #3c58bf; outline-offset: 2px; }
#dccView #dccModes button { border-color: transparent; background: transparent; }
#dccView #dccModes button.active { background: #fff; color: #253f9d; box-shadow: 0 2px 6px #18213a13; font-weight: 700; }
#dccView .dcc-customer-tabs button[aria-pressed="true"] { background: #eef2ff; border-color: #9daef0; color: #253f9d; }
.dcc-note-stages { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; min-width: 0; border: 1px solid #dce1eb; border-radius: 10px; }
.dcc-note-stages legend { font-weight: 700; padding: 0 6px; }
#dccView button.primary-button { color: #fff; border-color: #344db0; background: #344db0; }
#dccView [data-dcc-action="save"], #dccView [data-dcc-action="claim"] { color: #253f9d; background: #eef2ff; border-color: #d8e0ff; }
#dccView button:disabled { opacity: .5; cursor: wait; }
#dccView .customer-table-wrap { border: 1px solid #e5e8ef; border-radius: 12px; overflow-x: auto; }
#dccView .customer-table { min-width: 890px; }
#dccView .dcc-customer-info { white-space: pre-wrap; min-width: 170px; }
#dccView .customer-table th { background: #f5f7fb; color: #46546c; }
#dccView .customer-table td { vertical-align: top; max-width: 380px; overflow-wrap: anywhere; background: #fff; }
#dccView .customer-table tbody tr:nth-child(even) td { background: #fafbfe; }
#dccView .customer-table td p { margin: 6px 0; }
#dccView .customer-table .table-actions { margin: 0; }
#dccView .member-item { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#dccFields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#dccFields label { display: flex; flex-direction: column; gap: 7px; }
#dccFields input, #dccFields textarea, #dccFields select { box-sizing: border-box; width: 100%; padding: 11px; border: 1px solid #e5e7eb; border-radius: 9px; font: inherit; }
#dccFields textarea { min-height: 100px; resize: vertical; }
#dccFields small, #dccOrigin { color: #64748b; }
#dccFormError { color: #b91c1c; }
@media(max-width: 650px) {
  .dcc-stats:not(.hidden) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #dccView .panel { padding: 16px; }
  #dccFields { grid-template-columns: 1fr; }
}
