/* ChamaQuem V5 — painéis demonstrativos */
:root{--cq-navy:#092b45;--cq-teal:#10ac9d;--cq-soft:#edf8f6;--cq-border:#dce8eb;--cq-text:#213849}
*{box-sizing:border-box}body.dashboard{background:#f3f7f9;color:var(--cq-text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0}
.dashboard a{color:inherit;text-decoration:none}.dashboard button,.dashboard input,.dashboard textarea,.dashboard select{font:inherit}.dashboard button{cursor:pointer}.dashboard button:disabled{cursor:not-allowed;opacity:.55}
.d-banner{padding:9px 16px;background:#fff3da;color:#6b4a11;font-size:13px;text-align:center}
.d-nav{background:white;border-bottom:1px solid var(--cq-border)}.d-nav-inner{max-width:1250px;margin:auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.d-nav img{width:166px;height:auto}.d-nav nav{display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:14px}.d-nav a:hover{color:var(--cq-teal)}.d-shell{max-width:1250px;margin:32px auto;padding:0 22px 50px}
.d-hero{background:linear-gradient(125deg,#092b45,#15526a);border-radius:22px;color:#fff;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.d-hero h1{font-size:clamp(25px,3vw,36px);margin:8px 0}.d-hero p{max-width:680px;color:#d7eeed;line-height:1.6;margin:0}.d-pill{display:inline-block;padding:6px 11px;border-radius:30px;background:#ffffff21;font-size:12px;font-weight:700;letter-spacing:.04em}
.d-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:19px 0}.d-stat{background:white;border:1px solid var(--cq-border);border-radius:17px;padding:19px}.d-stat strong{display:block;font-size:29px;color:var(--cq-navy);margin-bottom:5px}.d-stat span{font-size:13px;color:#60727c}
.d-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(420px,1.55fr);gap:18px;align-items:start}.d-panel{background:white;border:1px solid var(--cq-border);border-radius:18px;padding:21px;margin-bottom:18px;min-width:0}.d-panel h2{font-size:20px;margin:0 0 8px;color:var(--cq-navy)}.d-panel p{line-height:1.55;color:#596f7b;margin:5px 0 16px}.d-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.d-fields label,.d-label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:13px}.d-fields input,.d-fields select,.d-fields textarea,.d-control{width:100%;padding:11px 12px;border:1px solid #cddde0;border-radius:9px;background:#fff;color:#152d3c;min-width:0}.d-fields textarea{min-height:92px;resize:vertical}.d-wide{grid-column:1/-1}.d-small{font-size:12px;color:#637782;font-weight:400;line-height:1.45}.d-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.d-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:11px 17px;background:var(--cq-navy);color:white!important;font-weight:700}.d-btn.teal{background:var(--cq-teal)}.d-btn.light{background:var(--cq-soft);color:var(--cq-navy)!important}.d-btn.warn{background:#fce9e7;color:#993833!important}.d-btn.outline{background:white;color:var(--cq-navy)!important;border:1px solid #cadde0}
.d-note{border-radius:10px;background:#ecf8f7;padding:11px 13px;color:#245760;font-size:13px;line-height:1.5}.d-note.warn{background:#fff5e2;color:#77551b}.d-list{display:flex;flex-direction:column;gap:10px}.d-item{padding:13px;border:1px solid #d9e6e8;border-radius:12px;display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}.d-item strong{display:block;color:#123448}.d-item small{color:#647c86}.d-item .d-actions{margin-top:0}.d-tag{font-size:11px;border-radius:24px;padding:5px 9px;background:#e5f3f2;color:#165e57;font-weight:700}.d-tag.off{background:#fff0e6;color:#8e4921}.d-tag.blocked{background:#fde7e7;color:#922f37}.d-categories{max-height:195px;overflow:auto;border:1px solid #d9e6e8;border-radius:9px;padding:10px}.d-catgroup{margin-bottom:10px}.d-catgroup summary{cursor:pointer;font-weight:700;font-size:13px;padding:6px}.d-catgroup label{display:inline-flex;align-items:center;gap:6px;margin:5px 8px 5px 0;font-size:13px}.d-catgroup input{width:auto}.d-empty{border:1px dashed #b9d2d4;border-radius:12px;padding:20px;color:#58747a;text-align:center}.d-table-wrap{overflow-x:auto}.d-table{width:100%;border-collapse:collapse;min-width:610px;font-size:13px}.d-table th{text-align:left;font-size:12px;color:#5f7381}.d-table th,.d-table td{padding:11px 8px;border-bottom:1px solid #e8eef0}.d-table td:last-child{text-align:right}.d-table td strong{display:block}.d-search{max-width:315px;padding:11px;border:1px solid #cbdfe0;border-radius:9px;width:100%}.d-photo{width:62px;height:58px;object-fit:cover;border-radius:10px;background:#eaf5f3}.d-foot{font-size:12px;text-align:center;padding:30px;color:#74858d}
@media(max-width:850px){.d-grid{grid-template-columns:1fr}.d-stats{grid-template-columns:1fr 1fr}}@media(max-width:530px){.d-fields{grid-template-columns:1fr}.d-wide{grid-column:1}.d-stats{grid-template-columns:1fr 1fr}.d-nav-inner{padding:13px}.d-shell{padding:0 13px}.d-panel{padding:16px}.d-hero{padding:23px}}
