/* Client review enhancements — 09 Aug 2026 */
:root{--cc-green:#40a351;--cc-blue:#3853A4;--cc-border:#dbe3ea;--cc-muted:#64748b;--cc-bg:#f8fafc;--cc-danger:#b91c1c;--cc-warning:#9a3412;}
.cc-review-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;margin:0 0 16px;color:#1e3a8a;font-size:13px}.cc-review-banner strong{display:block;font-size:14px;margin-bottom:3px}
.cc-filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:14px;background:#fff;border:1px solid var(--cc-border);border-radius:12px;margin:14px 0}.cc-filterbar .cc-field{min-width:150px;flex:1}.cc-filterbar .cc-field.search{min-width:240px;flex:2}.cc-filterbar label,.cc-form-grid label{display:block;font-size:12px;font-weight:800;color:#475569;margin-bottom:5px}.cc-input,.cc-select,.cc-textarea2{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;background:#fff;color:#0f172a;font:inherit}.cc-textarea2{min-height:120px;resize:vertical}.cc-input:focus,.cc-select:focus,.cc-textarea2:focus{outline:2px solid rgba(56,83,164,.2);border-color:#3853A4}
.cc-btn2{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;border:0;border-radius:8px;background:var(--cc-blue);color:#fff;text-decoration:none;font-weight:800;cursor:pointer}.cc-btn2.secondary{background:#fff;color:#334155;border:1px solid #cbd5e1}.cc-btn2.green{background:#2f7d45}.cc-btn2.warn{background:#b45309}.cc-btn2.danger{background:#b91c1c}.cc-btn2:disabled{opacity:.45;cursor:not-allowed}
.cc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.cc-tab{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer;color:#334155}.cc-tab.active{background:#3853A4;color:#fff;border-color:#3853A4}.cc-tab .count{display:inline-flex;margin-left:5px;background:rgba(255,255,255,.2);padding:1px 7px;border-radius:999px}
.cc-table2-wrap{overflow:auto;background:#fff;border:1px solid var(--cc-border);border-radius:12px}.cc-table2{width:100%;border-collapse:collapse;min-width:860px}.cc-table2 th,.cc-table2 td{padding:11px 12px;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:middle}.cc-table2 th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;background:#f8fafc;color:#64748b}.cc-table2 tr:last-child td{border-bottom:0}.cc-table2 tbody tr:hover{background:#fafcff}
.cc-state{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.cc-state.draft{background:#f1f5f9;color:#475569}.cc-state.active{background:#dbeafe;color:#1d4ed8}.cc-state.inactive{background:#f3f4f6;color:#374151}.cc-state.resolved{background:#dcfce7;color:#166534}.cc-state.pending{background:#fff7ed;color:#9a3412}.cc-state.unread{background:#fef3c7;color:#92400e}.cc-state.high{background:#fee2e2;color:#991b1b}.cc-state.medium{background:#ffedd5;color:#9a3412}.cc-state.low{background:#e0f2fe;color:#075985}
.cc-kpi-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0}.cc-kpi2{background:#fff;border:1px solid var(--cc-border);border-radius:12px;padding:14px;text-align:left;cursor:pointer}.cc-kpi2:hover{border-color:#94a3b8}.cc-kpi2.active{outline:2px solid rgba(56,83,164,.28);border-color:#3853A4}.cc-kpi2 .value{font-size:28px;font-weight:900;color:#0f172a}.cc-kpi2 .label{font-size:12px;font-weight:800;color:#64748b;margin-top:3px}
.cc-form-card{background:#fff;border:1px solid var(--cc-border);border-radius:12px;padding:18px;margin:14px 0}.cc-form-card h2,.cc-form-card h3{margin-top:0}.cc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cc-form-grid .full{grid-column:1/-1}.cc-helptext{font-size:12px;color:#64748b;margin-top:5px}.cc-required{color:#b91c1c}.cc-optional{font-size:11px;font-weight:700;color:#64748b}.cc-checkline{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dbe3ea;border-radius:10px;background:#f8fafc}.cc-checkline input{margin-top:3px}.cc-hidden{display:none!important}
.cc-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:20px;z-index:99999}.cc-modal{width:min(560px,100%);background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.25);padding:22px}.cc-modal h2{margin:0 0 8px}.cc-modal .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.cc-notice{display:block;position:static;width:auto;height:auto;min-width:0;min-height:0;box-sizing:border-box;padding:12px 14px;border-radius:10px;border:1px solid #dbe3ea;background:#f8fafc;font-size:13px;line-height:1.45;margin:12px 0;overflow-wrap:anywhere;cursor:default}.cc-notice.cc-info{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.cc-notice.cc-success{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.cc-notice.cc-warn{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.cc-two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.cc-chart-card{background:#fff;border:1px solid var(--cc-border);border-radius:12px;padding:14px}.cc-chart-card h3{margin:0 0 6px}.cc-chart{min-height:280px;display:flex;align-items:center;justify-content:center}.cc-bars{display:flex;align-items:end;gap:16px;height:220px;width:100%;padding:10px 12px 26px;border-bottom:1px solid #cbd5e1}.cc-bar{flex:1;min-width:32px;background:#3853A4;border-radius:7px 7px 0 0;position:relative}.cc-bar span{position:absolute;bottom:-23px;left:50%;transform:translateX(-50%);font-size:10px;color:#64748b;white-space:nowrap}.cc-bar b{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-size:11px}.cc-line-svg{width:100%;height:260px}.cc-pie{width:220px;height:220px;border-radius:50%;background:conic-gradient(#3853A4 0 35%,#40a351 35% 60%,#f59e0b 60% 78%,#8b5cf6 78% 90%,#94a3b8 90% 100%);position:relative}.cc-pie:after{content:"";position:absolute;inset:52px;background:#fff;border-radius:50%}.cc-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:12px}.cc-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;background:#3853A4}
.cc-unread-row{background:#fffbea}.cc-read-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#f59e0b;margin-right:7px}.cc-read-dot.read{background:#cbd5e1}
.cc-tooltip-target{position:relative}.cc-tooltip-target:focus-visible:after,.cc-tooltip-target:hover:after{content:attr(data-cc-tooltip);position:absolute;z-index:999999;left:12px;top:calc(100% + 6px);max-width:260px;min-width:150px;padding:8px 10px;background:#0f172a;color:#fff;border-radius:7px;font-size:11px;font-weight:600;line-height:1.35;box-shadow:0 8px 24px rgba(0,0,0,.2);pointer-events:none}.nav-link.cc-tooltip-target:focus-visible:after,.nav-link.cc-tooltip-target:hover:after{left:18px;top:80%}.cc-tip-icon{display:inline-flex;width:18px;height:18px;border-radius:50%;align-items:center;justify-content:center;background:#e2e8f0;color:#334155;font-size:11px;font-weight:900;cursor:help;margin-left:5px;vertical-align:middle}
.cc-mode-toggle{display:flex;gap:8px;background:#f1f5f9;border-radius:10px;padding:5px;max-width:420px}.cc-mode-toggle button{flex:1;border:0;border-radius:8px;padding:10px;font-weight:800;background:transparent;cursor:pointer}.cc-mode-toggle button.active{background:#fff;color:#1e3a8a;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.cc-action-stack{display:flex;gap:7px;flex-wrap:wrap}.cc-small{font-size:12px}.cc-muted2{color:#64748b}.cc-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin:16px 0 10px}.cc-section-head h2{margin:0}.cc-empty{padding:25px;text-align:center;color:#64748b}
@media(max-width:850px){.cc-two-col{grid-template-columns:1fr}.cc-form-grid{grid-template-columns:1fr}.cc-form-grid .full{grid-column:auto}.cc-tooltip-target:hover:after{display:none}}
@media print{.left-block,.right-block,.top-section,.cc-filterbar,.cc-tabs,.cc-btn2,.cc-review-banner{display:none!important}.main-block{width:100%!important;margin:0!important}.cc-table2-wrap{overflow:visible;border:0}.cc-table2{min-width:0;font-size:10px}}

.cc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.cc-grid .cc-card{display:flex;flex-direction:column;justify-content:space-between;gap:12px}.cc-muted{color:#64748b;font-size:13px}.cc-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#334155;font-size:11px;font-weight:800}.cc-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cc-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:8px;background:#3853A4;color:#fff;text-decoration:none;font-weight:800}.cc-link{color:#3853A4;font-weight:800;text-decoration:none}

/* Redress Sought: preserve the original controlled option set for structured reporting. */
.cc-redress-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:6px}.cc-radio-option{display:flex!important;align-items:center;gap:8px;padding:10px 12px!important;margin:0!important;border:1px solid #dbe3ea;border-radius:9px;background:#f8fafc;font-size:14px!important;font-weight:600!important;color:#0f172a!important;cursor:pointer}.cc-radio-option:hover{border-color:#94a3b8;background:#fff}.cc-radio-option:has(input:checked){border-color:#3853A4;background:#eef2ff}.cc-radio-option input{margin:0}.cc-redress-other{margin-top:12px;max-width:640px}@media(max-width:850px){.cc-redress-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cc-notification-channel-note{margin-top:14px;max-width:100%;}.cc-notification-channel-note strong{display:block;margin-bottom:3px;font-size:13px;}


/* Resolution confirmation action — consumer workflow */
.cc-resolution-confirmation{margin-top:18px}.cc-resolution-options{border:0;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cc-resolution-options legend{font-size:13px;font-weight:900;color:#334155;margin-bottom:8px}.cc-resolution-choice{align-items:flex-start!important}.cc-resolution-choice span{display:flex;flex-direction:column;gap:2px}.cc-resolution-choice small{font-size:12px;font-weight:500;color:#64748b;line-height:1.35}.cc-resolution-error{margin-top:7px;color:#b91c1c;font-size:12px;font-weight:800}.cc-resolution-result{margin-top:14px;padding:13px 14px;border-radius:10px;border:1px solid;display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:1.45}.cc-success-result{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.cc-review-result{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}@media(max-width:850px){.cc-resolution-options{grid-template-columns:1fr}}


/* Admin navigation icon consistency + Routing Rules configuration — v6 */
.nav-wrapper .cc-admin-nav-icon{width:34px;height:34px;min-width:34px;box-sizing:border-box;padding:5px;color:currentColor;overflow:visible}.nav-link:hover .cc-admin-nav-icon,.nav-link.w--current .cc-admin-nav-icon{color:var(--blue-txt)}
.cc-routing-kpis .cc-kpi2{cursor:default}.cc-routing-kpis .cc-kpi2:hover{border-color:var(--cc-border)}.cc-routing-table{min-width:1180px}.cc-routing-table th:nth-child(1){width:72px}.cc-routing-table th:nth-child(2){width:180px}.cc-routing-table th:nth-child(3){width:260px}.cc-routing-table th:nth-child(4){width:110px}.cc-routing-table th:nth-child(6){width:120px}.cc-routing-table th:nth-child(7){width:170px}.cc-rule-condition{display:inline-block;border-radius:7px;background:#f1f5f9;color:#334155;padding:6px 8px;font-size:12px;line-height:1.4;font-weight:700}.cc-route-destination{display:inline-flex;min-width:54px;justify-content:center;border-radius:999px;background:#e0ecff;color:#1e3a8a;padding:5px 9px;font-size:12px;font-weight:900}.cc-rule-status{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;margin-bottom:4px}.cc-rule-status.active{background:#dcfce7;color:#166534}.cc-rule-status.inactive{background:#f1f5f9;color:#64748b}.cc-routing-governance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cc-routing-steps{margin:8px 0 0;padding-left:22px;color:#475569;font-size:13px;line-height:1.55}.cc-routing-steps li+li{margin-top:6px}.cc-condition-builder{display:grid;grid-template-columns:1.1fr .8fr 1.1fr;gap:8px}.cc-routing-modal{width:min(760px,100%)}
.cc-admin-routing-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.cc-admin-route-card{background:#fff;border:1px solid var(--cc-border);border-radius:12px;padding:15px}.cc-admin-route-card .v{font-size:24px;font-weight:900;color:#0f172a}.cc-admin-route-card .l{font-size:12px;font-weight:800;color:#64748b;margin-top:3px}.cc-admin-route-note{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:14px 16px;margin:0 0 22px;color:#1e3a8a}.cc-admin-route-note strong{display:block;margin-bottom:3px}
@media(max-width:1050px){.cc-routing-governance{grid-template-columns:1fr}.cc-admin-routing-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.cc-condition-builder{grid-template-columns:1fr}.cc-admin-routing-summary{grid-template-columns:1fr}}

.cc-admin-icon-img{width:34px!important;height:34px!important;object-fit:contain;flex:0 0 34px;}


/* Custom report datasets and sample reports — v7 */
.cc-sample-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.cc-sample-report-card{background:#fff;border:1px solid var(--cc-border);border-radius:12px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:178px}.cc-sample-report-card h3{font-size:15px;line-height:1.25;margin:0;color:#0f172a}.cc-sample-report-card p{font-size:12px;line-height:1.45;color:#64748b;margin:0;flex:1}.cc-sample-report-card .cc-btn2{margin-top:auto}.cc-dataset-help{margin-top:7px;padding:10px 11px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:12px;line-height:1.45}.cc-dataset-help b{color:#0f172a}.cc-report-builder-grid{align-items:start}.cc-report-builder-grid .cc-chart-card{position:sticky;top:18px}.cc-select:disabled{background:#f1f5f9;color:#475569;cursor:not-allowed}.cc-sample-report-card .cc-pill{font-size:10px;line-height:1.25}
@media(max-width:1200px){.cc-sample-report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.cc-sample-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-report-builder-grid .cc-chart-card{position:static}}@media(max-width:560px){.cc-sample-report-grid{grid-template-columns:1fr}}



/* Restored right slide-out user sidebar — v10 */
.cc-restored-right-panel .cc-right-context{margin:16px 0;padding:13px 12px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(255,255,255,.10);color:#fff;display:flex;flex-direction:column;gap:3px}
.cc-restored-right-panel .cc-right-context span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;opacity:.78}
.cc-restored-right-panel .cc-right-context strong{font-size:15px;line-height:1.3}
.cc-restored-right-panel .cc-right-context small{font-size:12px;line-height:1.35;opacity:.88}
.cc-restored-right-panel .cc-right-panel-svg{width:23px;height:23px;display:block}
.cc-restored-right-panel .cc-right-panel-icon-wrap{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px}
.cc-restored-right-panel .cc-restored-collapsed{width:100%;padding:0}
.cc-restored-right-panel .cc-right-panel-bottom{margin-top:auto}
.cc-restored-right-panel .cc-restored-logout,.cc-restored-right-panel .cc-panel-expand{position:relative}
.cc-restored-right-panel .cc-right-avatar-fallback{display:flex;width:44px;height:44px;border-radius:50%;background:#fff;color:#2f7d45;align-items:center;justify-content:center;font-weight:900}
.cc-restored-right-panel .cc-restored-agency-info{margin-top:16px}
.cc-restored-right-panel .cc-right-agency{display:flex;flex-direction:column;gap:1px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.18);color:#fff}
.cc-restored-right-panel .cc-right-agency b{font-size:13px}
.cc-restored-right-panel .cc-right-agency span{font-size:11px;line-height:1.3;opacity:.88}
.cc-restored-right-panel .cc-panel-collapse{margin-top:8px}
@media(max-width:700px){
  .cc-restored-right-panel[data-cc-expanded="1"]{width:min(320px,88vw)!important}
}
