/* Dashboard-specific refinements; original card/grid styles remain in dashboard-base.css. */
.dashboard-home{max-width:1500px;padding:26px;margin:auto}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.dashboard-heading h1{font-size:24px;font-weight:600;letter-spacing:-.6px}.dashboard-heading p{font-size:12px;color:#a2a5b8;margin-top:4px}.dashboard-actions{display:flex;gap:8px;flex-wrap:wrap}.dashboard-home button,.dashboard-dialog button{font:inherit;cursor:pointer}.dashboard-actions button,.dashboard-dialog button{padding:9px 12px;border:1px solid #454358;background:#252536;color:#e3dbee;border-radius:7px;font-size:12px}.dashboard-actions .primary{background:#45345c;border-color:#84629f}.dashboard-grid{gap:16px;grid-auto-flow:row}.dashboard-widget{min-width:0;padding:20px;border-radius:12px;align-self:start;overflow:hidden}.dashboard-widget[hidden]{display:none!important}.card-header{margin-bottom:14px;display:flex;align-items:center;gap:9px}.card-title{font-size:14px;font-weight:600}.card-header .widget-link{margin-left:auto;font-size:11px;color:#bda4dc;white-space:nowrap}.card-icon{font-size:17px}.dashboard-widget a{text-decoration:none}.dashboard-widget a:focus-visible,.dashboard-widget button:focus-visible{outline:2px solid #d3adff;outline-offset:3px}.dash-row{display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #ffffff0b;color:#e4e2ed;font-size:12px}.dash-row:last-child{border:0}.dash-row .copy{min-width:0;flex:1}.dash-row strong{font-size:12px;display:block;font-weight:500;overflow-wrap:anywhere}.dash-row small,.muted{display:block;color:#a5a6b8;font-size:11px;margin-top:3px}.dash-row .tag{font:10px 'DM Mono',monospace;color:#bba3de;white-space:nowrap}.dash-row:hover{color:white}.dash-counts{display:flex;gap:25px;margin-bottom:13px}.dash-counts strong{font-size:27px;font-weight:500;letter-spacing:-1px}.dash-counts span{display:block;font-size:10px;color:#aba7be}.dash-counts .warm{color:#edbe84}.row-avatar{width:28px;height:28px;background:#ffffff09;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.dash-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dash-shortcuts a{background:#ffffff04;border:1px solid #ffffff0c;border-radius:8px;padding:12px;color:#ddd4e8;font-size:12px}.dash-shortcuts small{display:block;color:#9b9caf;font-size:10px;margin-top:3px}.agenda-day{font:12px 'DM Mono',monospace;color:#c4ace2;width:45px;text-align:center}.agenda-day strong{font-size:22px}.usage-track{height:7px;background:#ffffff0b;border-radius:5px;margin-top:8px;overflow:hidden}.usage-track span{display:block;height:100%;background:#b292d0}.usage-row{margin:14px 0;color:#bfc0d0;font-size:12px}.usage-row b{float:right;font-weight:400}.topic-chips{display:flex;flex-wrap:wrap;gap:8px}.topic-chips a{padding:8px 10px;border:1px solid #4b3c61;border-radius:7px;color:#cbb2eb;font-size:12px}.activity-grid{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;margin-top:12px}.activity-grid span{aspect-ratio:1;border-radius:3px;background:#2a2734}.activity-grid [data-level="1"]{background:#514065}.activity-grid [data-level="2"]{background:#82629e}.activity-grid [data-level="3"]{background:#ba91dc}.widget-chrome{position:static;display:none;transform:none;margin:-4px -4px 16px;justify-content:flex-end;flex-wrap:wrap}.layout-editing .widget-chrome{display:flex}.widget-size-btn,.widget-move-controls button,.widget-hide{min-width:30px;min-height:32px;padding:5px;border-radius:5px;border:1px solid #554269;background:#2c2538;color:#ded0ed;font-size:12px}.widget-size-controls{border:0;gap:3px;background:none}.widget-move-controls{display:flex;gap:3px}.widget-drag-handle{margin-right:auto}.dashboard-widget .widget-chrome{order:-1}.dashboard-widget{display:flex;flex-direction:column}.dashboard-dialog{margin:auto;background:#1b1b28;color:#eee;border:1px solid #51445e;border-radius:14px;padding:22px;width:min(560px,calc(100vw - 28px));max-height:85dvh;overflow:auto}.dashboard-dialog::backdrop{background:#080810b8}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.dialog-top h2{font-size:19px}.library-item{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #ffffff0c}.library-item strong{font-size:13px;font-weight:500}.library-item small{display:block;color:#a9a5b9;font-size:11px;margin-top:4px}.library-item input{accent-color:#b08bd4;width:19px;height:19px;flex-shrink:0}.layout-foot{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#aaa2b8;font-size:11px}.layout-foot button{border:0;background:none;color:#bba3d4;font-size:11px;padding:8px}.dashboard-dialog p{font-size:13px;color:#bcb5c8;margin-bottom:18px}.empty-dashboard{padding:48px;text-align:center;color:#aaa2b8;border:1px dashed #51445e;border-radius:12px}.dashboard-search{width:100%;background:#161620;color:#ddd;border:1px solid #393344;border-radius:8px;padding:11px 14px;font-size:12px;margin-bottom:18px}.search-matches:not(:empty){padding:0 12px 16px}.search-matches .dash-row{padding:10px}.dashboard-widget[data-size="small"] .dash-counts{gap:15px}.dashboard-widget[data-size="small"] .dash-shortcuts{grid-template-columns:1fr}@media(max-width:1100px) and (min-width:769px){.dashboard-widget[data-size="medium"]{grid-column:span 2!important}}@media(max-width:768px){.dashboard-home{padding:16px}.dashboard-heading{align-items:flex-start;flex-direction:column}.dashboard-widget{padding:16px}.widget-drag-handle{display:none}.widget-chrome{justify-content:flex-start}.dashboard-heading h1{font-size:22px}.dashboard-grid{gap:12px}.dashboard-actions button{min-height:40px}.widget-size-btn,.widget-move-controls button,.widget-hide{min-height:40px;min-width:36px}.layout-foot{align-items:flex-start}.card-header{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.dashboard-widget{transition:none}}
.dashboard-widget.model-heatmap-card .widget-chrome{margin:12px 16px 0}.search-matches h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#ae91ce;margin:14px 0 4px}.search-resident{color:#d8c2ee;background:#292233;border:1px solid #584565;padding:9px 12px;border-radius:6px;margin:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.feed-details{margin-top:6px;font-size:12px;color:#bcb2ca;line-height:1.5}.feed-details summary{cursor:pointer;color:#c7acdf;font-size:11px}.feed-details p{margin-top:8px}.dash-row a{color:inherit}

.dashboard-actions button{padding:6px 9px;font-size:11px;border-radius:6px;min-height:32px}.dashboard-actions{gap:6px}
