/* v6.96: predictable filter grids and one shared page-heading scale. */
.page .customer-data-table thead th{text-align:center!important}.page .customer-data-table .table-sort{justify-content:center;width:100%}
.page .page-heading h1,.page .deal-list-panel>.panel-head h1{font-size:26px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.6px!important;margin:0!important}
.page .page-heading p.muted,.page .deal-list-panel>.panel-head p.muted{display:block!important;font-size:13px!important;line-height:1.5!important;font-weight:400!important;margin:5px 0 0!important;color:var(--sd-muted)!important}
.page .page-heading,.page .deal-list-panel>.panel-head{margin-bottom:22px!important}
.page .overview-filters{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,2fr);align-items:end;gap:20px;margin:0 0 18px;min-width:0}
.page .overview-period-form,.page .overview-range-form{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;min-width:0;background:transparent!important}
.page .overview-period-form>label,.page .overview-range-form>label{display:grid!important;gap:6px!important;font-size:12px!important;color:var(--sd-muted);min-width:0;margin:0!important}
.page .overview-period-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:6px;min-width:0}
.page .overview-range-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}
.page .overview-range-actions{display:flex;gap:8px;align-items:end;min-width:0}
.page .overview-filters select,.page .overview-filters input[type="date"]{width:100%!important;min-width:0!important;max-width:100%!important;min-inline-size:0;box-sizing:border-box;height:40px!important;padding:7px 9px!important;border:1px solid var(--sd-rule);border-radius:7px;background:var(--sd-canvas);color:var(--sd-ink);font-size:13px}
.page .overview-filters .btn{height:40px;min-height:40px!important;margin:0!important;font-size:12px!important;white-space:nowrap;padding:8px 12px!important}
.page .overview-title{display:inline-block;width:fit-content;max-width:100%;font-size:15px!important;font-weight:750!important;line-height:1.4;letter-spacing:-.2px;color:var(--sd-ink);margin:0 0 12px!important;vertical-align:top}
.page .overview-title::after{content:"";display:block;height:4px;width:100%;border-radius:999px;background:var(--sd-purple);opacity:.55;margin-top:7px}
.page .overview-kpis .overview-title{margin-bottom:6px!important}.page .overview-kpis strong{margin-top:2px}.page .overview-main{display:block!important;width:100%}.page .overview-main .trend-section{width:100%}.page .overview-main .panel-head{align-items:start}
.page .overview-operations{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:start}.page .overview-operations>section{min-width:0;width:100%}.page .document-followups .attention-item{padding:14px 0}.page .document-followups .followup-action{max-width:440px}.page .document-followup-open{display:inline-block;margin-top:9px;font-size:12px}
.sd-data-table{width:100%;border-collapse:collapse;background:transparent;font-size:12px!important}
.page table.sd-data-table thead th,.page .deal-list-table thead th{background:var(--sd-soft)!important;color:var(--sd-ink)!important;font-size:12px!important;font-weight:700!important;line-height:1.4;text-transform:none!important;letter-spacing:normal!important;padding:12px 10px!important;border:0!important;border-bottom:1px solid var(--sd-rule)!important;vertical-align:top}
.page .customer-data-table .table-sort{display:inline-flex;align-items:center;gap:4px;background:transparent;border:0;color:inherit;font:inherit;font-weight:inherit;padding:0;white-space:nowrap;cursor:pointer}.page .customer-data-table .table-sort.active .dl-sort-icon{opacity:1;color:var(--sd-purple)}.page .customer-data-table .table-sort.desc .dl-sort-icon{transform:rotate(180deg)}
.page .attention-table{table-layout:fixed}.attention-table th:first-child{width:23%}.attention-table th:nth-child(2){width:23%}.attention-table th:nth-child(3){width:20%}.attention-table th:nth-child(4),.attention-table th:nth-child(5){width:17%}.page .attention-table th small{font-size:11px;font-weight:400;display:block;color:var(--sd-muted);margin-top:3px}.page .attention-table td{padding:13px 8px!important;border-bottom:1px solid var(--sd-rule);vertical-align:top;font-size:12px;overflow-wrap:anywhere}.attention-table td small{display:block;font-size:11px;line-height:1.4;color:var(--sd-muted);margin-top:4px}.attention-table a{display:block}.attention-reasons{margin-top:7px!important}.attention-status-link{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px}.doc-status-pill{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:650;line-height:1.3;border-radius:10px;padding:3px 6px;white-space:nowrap}.doc-finished{background:#d9f8eb;color:#167352}.doc-unfinished{background:#ffe5e6;color:#b74750}.doc-not-started{color:var(--sd-muted)}.attention-table small.doc-priority{font-size:11px;font-weight:600;margin-top:1px}.attention-table .priority-caption-low{color:#238455}.attention-table .priority-caption-normal{color:var(--sd-purple)}.attention-table .priority-caption-high,.attention-table .priority-caption-urgent{color:#ca3945}.page .attention-expand,.page .followup-expand{background:transparent;border:0;padding:13px 0;font:inherit;font-size:12px;cursor:pointer;color:var(--sd-purple)}.attention-extra[hidden],.followup-extra[hidden]{display:none!important}
.chat-notification-target{outline:2px solid var(--sd-purple)!important;outline-offset:3px!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--sd-purple) 12%,transparent)!important}.dl-chat-bubble-row.salesdesk-focus-once{outline:0!important}
html[data-theme="dark"] .doc-finished{background:#183c30;color:#92dfb6}html[data-theme="dark"] .doc-unfinished{background:#442630;color:#ffadb7}html[data-theme="dark"] .attention-table .priority-caption-low{color:#8bddad}html[data-theme="dark"] .attention-table .priority-caption-high,html[data-theme="dark"] .attention-table .priority-caption-urgent{color:#ffadb7}
@media(min-width:768px) and (max-width:1100px){.page .overview-filters{grid-template-columns:minmax(180px,.8fr) minmax(0,1.5fr)}.page .overview-range-form{grid-template-columns:repeat(2,minmax(0,1fr))}.page .overview-range-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page .overview-period-form{align-self:start}.page .overview-operations{gap:20px}}
/* A five-column document table changes to labeled rows on narrow tablet/mobile panels. */
@media(max-width:1100px){.page .attention-table thead{display:none}.page .attention-table,.page .attention-table tbody{display:block;width:100%}.page .attention-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;padding:13px 0;border-bottom:1px solid var(--sd-rule)}.page .attention-table td{display:block;padding:0!important;border:0!important;min-width:0}.page .attention-table td::before{content:attr(data-label);display:block;font-size:11px;color:var(--sd-muted);margin-bottom:4px}.page .attention-table td:first-child,.page .attention-table td:nth-child(2),.page .attention-table td:nth-child(3){grid-column:1 / -1}.page .attention-table td:first-child::before{display:none}.page .attention-table td[colspan]{grid-column:1 / -1}}
@media(max-width:767px){.page .page-heading h1,.page .deal-list-panel>.panel-head h1{font-size:23px!important}.page .page-heading p.muted,.page .deal-list-panel>.panel-head p.muted{font-size:12px!important}.page .overview-filters{grid-template-columns:minmax(0,1fr);gap:14px}.page .overview-range-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page .overview-range-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page .overview-filters select,.page .overview-filters input[type="date"]{font-size:16px!important;height:44px!important}.page .overview-filters .btn{height:44px!important;min-height:44px!important;padding:8px!important;width:100%}.page .overview-operations{grid-template-columns:minmax(0,1fr);gap:0}.page .overview-main .trend-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px}.page .overview-kpis .overview-title{font-size:15px!important}.page .overview-kpis>div{padding:16px 6px}.page .overview-title::after{height:4px}.page .customer-data-table thead th{padding:10px 8px!important}}
@media print{.overview-filters,.attention-expand,.followup-expand{display:none!important}.page .overview-operations{display:block}.attention-extra[hidden],.followup-extra[hidden]{display:table-row!important}.page .attention-table thead{display:table-header-group}.page .attention-table{display:table}.page .attention-table tbody{display:table-row-group}.page .attention-table tr{display:table-row}.page .attention-table td{display:table-cell}.page .attention-table td::before{display:none}.page .overview-title::after{background:#5855e9!important}}
