.crm-dashboard { color:#18181b; padding-bottom:32px; }
.dashboard-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.dashboard-heading h1 { font-size:clamp(30px,3vw,42px); line-height:1.15; font-weight:600; letter-spacing:-.025em; margin:0 0 12px; }
.dashboard-heading p { color:#71717a; margin:0; font-size:15px; }
.crm-dashboard .btn { border-radius:12px; box-shadow:none; min-height:42px; gap:12px; }
.crm-dashboard a.dashboard-primary { color:white !important; background:#18181b; border-color:#18181b; flex-shrink:0; }
.dashboard-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.dashboard-metric { background:white; border:1px solid #e4e4e7; border-radius:22px; padding:24px; display:flex; flex-direction:column; }
.dashboard-metric > span { font-size:14px; color:#52525b; }
.dashboard-metric strong { font-size:40px; line-height:1.2; font-weight:600; margin:12px 0 8px; }
.dashboard-metric small { color:#71717a; font-size:12px; }
.dashboard-review { display:flex; align-items:center; gap:12px; padding:16px 18px; border:1px solid #e4e4e7; border-left:3px solid #a67c30; border-radius:6px; background:#fff; margin-bottom:24px; }
.dashboard-review-icon { flex-shrink:0; color:#896421; }
.dashboard-review h2 { flex:1; color:#27272a; font-size:15px; line-height:1.5; font-weight:500; margin:0; }
.dashboard-review > a { color:#5147a3; font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:3px; padding:5px 0; }
.dashboard-review.is-clear { border-color:transparent; background:transparent; padding:4px 0; gap:8px; }
.dashboard-review.is-clear h2 { color:#52525b; font-size:14px; font-weight:400; }
.dashboard-review.is-clear .dashboard-review-icon { color:#326545; width:18px; height:18px; }
.dashboard-columns { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:24px; align-items:start; }
.dashboard-panel { background:white; border:1px solid #e4e4e7; border-radius:24px; padding:24px; }
.dashboard-panel h2 { font-size:20px; margin:0 0 8px; font-weight:600; }
.dashboard-panel p { color:#71717a; font-size:14px; }
.dashboard-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.dashboard-section-heading p { margin:0; font-size:13px; }
.dashboard-section-heading > a { font-size:13px; flex-shrink:0; }
.dashboard-members { list-style:none; padding:0; margin:0; }
.dashboard-members li { display:flex; align-items:center; gap:14px; padding:18px 0; border-top:1px solid #ececee; }
.dashboard-members img { flex-shrink:0; border-radius:50%; object-fit:cover; background:#f4f4f5; }
.dashboard-member-name { flex:1; min-width:0; }
.dashboard-member-name a,.dashboard-member-name strong { color:#18181b !important; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.dashboard-member-name small { display:block; color:#71717a; font-size:12px; margin-top:5px; }
.dashboard-state { padding:5px 8px; border-radius:8px; font-size:11px; white-space:nowrap; }
.dashboard-state.pending { background:#fff4dc; color:#805500; }
.dashboard-state.accepted { background:#edf5ef; color:#326545; }
.dashboard-review-link { font-size:12px; padding:8px 0 8px 8px; white-space:nowrap; }
.dashboard-guide > p { line-height:1.6; }
.dashboard-guide ul { list-style:none; padding:0; margin:24px 0; }
.dashboard-guide li { border-top:1px solid #ececee; padding:18px 0; }
.dashboard-guide li strong { display:block; font-size:14px; margin-bottom:8px; }
.dashboard-guide li span { display:block; color:#71717a; font-size:13px; line-height:1.6; }
.dashboard-guide .btn { width:100%; white-space:normal; }
.dashboard-empty { padding:24px 0; }
.dashboard-empty h3 { font-size:17px; }
.crm-dashboard a:focus-visible { outline:2px solid #5e57d1; outline-offset:4px; border-radius:6px; }
@media(max-width:991px) { .dashboard-columns { grid-template-columns:1fr; } }
@media(max-width:575px) {
 .dashboard-heading { flex-direction:column; align-items:flex-start; }
 .dashboard-metrics { gap:8px; }
 .dashboard-metric { padding:16px 12px; border-radius:16px; }
 .dashboard-metric > span { font-size:12px; min-height:34px; }
 .dashboard-metric strong { font-size:30px; }
 .dashboard-metric small { font-size:11px; }
 .dashboard-review { flex-wrap:wrap; padding:14px; gap:8px 10px; }
 .dashboard-review h2 { flex-basis:calc(100% - 30px); }
 .dashboard-review > a { margin-left:30px; }
 .dashboard-review.is-clear { padding:4px 0; }
 .dashboard-panel { padding:20px 16px; }
 .dashboard-members li { display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:10px; }
 .dashboard-members img { width:40px; height:40px; }
 .dashboard-state { grid-column:2; justify-self:start; }
 .dashboard-review-link { grid-column:3; grid-row:1 / span 2; }
}
