.dashboard { max-width: 1480px; margin: 0 auto; padding: 38px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: #7c8a88; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, .stat-number { font-family: "Manrope", sans-serif; }
h1 { margin: 0; color: var(--ink); font-size: clamp(27px, 3vw, 38px); font-weight: 700; letter-spacing: -.045em; }
.welcome-subtitle { margin: 7px 0 0; color: var(--ink-muted); font-size: 14px; }
.welcome-actions { display: flex; gap: 9px; }
.btn { font-weight: 600; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; border-color: var(--brand); border-radius: 9px; background: var(--brand); font-size: 12px; }
.btn-primary:hover, .btn-primary:focus { border-color: var(--brand-dark); background: var(--brand-dark); }
.btn-soft { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 12px; }
.btn-soft:hover { color: var(--brand); border-color: #cbd8d4; background: #fff; }
.btn-link { padding: 0; color: var(--brand); font-size: 11px; font-weight: 700; text-decoration: none; }

.stat-grid { margin-bottom: 4px; }
.stat-card { display: flex; height: 100%; min-height: 112px; padding: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 3px 15px rgba(25,56,52,.025); flex-direction: column; }
.stat-card-primary { display: grid; grid-template-columns: 31px minmax(0,1fr) auto; align-items: center; gap: 11px; }
.stat-value { display: flex; min-width: 0; flex-direction: column; }
.stat-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; font-size: 14px; }
.stat-icon.blue { color: #3c65bd; background: #e8effd; }
.stat-icon.green { color: #327a62; background: #e0f1e9; }
.stat-icon.amber { color: #9b6c2a; background: #f9eed5; }
.stat-icon.violet { color: #6450ad; background: #eeeafb; }
.trend { padding: 3px 6px; border-radius: 5px; font-size: 9px; font-weight: 700; }
.trend.up { color: #3c7c61; background: #e7f3ec; }
.trend.neutral { color: #7e8987; background: #f2f4f2; }
.stat-value > small { display: block; overflow: hidden; color: #74827f; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.stat-number { margin-top: 1px; color: var(--ink); font-size: 27px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.stat-foot { margin-top: auto; padding-top: 7px; color: #9aa5a3; font-size: 9px; }

.content-grid { margin-top: 16px; }
.panel { border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: 0 3px 18px rgba(25,56,52,.025); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px 14px; }
.panel-header h2 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.panel-header p { margin: 4px 0 0; color: #82908e; font-size: 10px; }
.panel-kicker { display: block; margin-bottom: 4px; color: #9aa5a3; font-size: 8px; font-weight: 700; letter-spacing: .12em; }

.report-tools { display: flex; align-items: center; gap: 9px; padding: 3px 20px 14px; }
.report-search { display: flex; height: 37px; flex: 1; align-items: center; gap: 9px; padding: 0 11px; color: #8b9896; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.report-search:focus-within { border-color: #9bbab5; box-shadow: 0 0 0 3px rgba(22,93,84,.08); }
.report-search input { width: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 11px; }
.report-search input::placeholder { color: #a2adaa; }
.filter-button { display: flex; height: 37px; align-items: center; gap: 7px; padding: 0 12px; color: #60706d; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 11px; }
.filter-count { display: grid; width: 17px; height: 17px; place-items: center; color: #fff; border-radius: 50%; background: var(--brand); font-size: 8px; }
.filter-menu { width: 230px; }
.form-label { margin-bottom: 7px; color: #51615f; font-size: 12px; font-weight: 700; }
.form-control, .form-select { min-height: 46px; color: var(--ink); border-color: #dce3df; border-radius: 8px; font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: #91b0aa; box-shadow: 0 0 0 .2rem rgba(22,93,84,.08); }
.form-select-sm { min-height: 34px; }

.report-tabs { display: flex; gap: 21px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.report-tabs button { padding: 0 0 11px; color: #869390; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 10px; font-weight: 600; white-space: nowrap; }
.report-tabs button span { margin-left: 3px; color: #a1aca9; }
.report-tabs button .tab-name { margin-left: 0; color: inherit; }
.report-tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }
.report-list { min-height: 338px; }
.report-row { display: grid; grid-template-columns: minmax(280px, 1.7fr) minmax(105px, .65fr) minmax(100px, .65fr) 78px 30px; align-items: center; gap: 16px; min-height: 78px; padding: 10px 20px; border-bottom: 1px solid #edf0ed; transition: .15s ease; }
.report-row:hover { background: #fafcfa; }
.report-main { display: flex; min-width: 0; align-items: center; gap: 14px; cursor: pointer; }
.report-thumbnail { position: relative; display: block; width: 64px; height: 48px; aspect-ratio: 4 / 3; flex: 0 0 64px; overflow: hidden; border: 1px solid #d8d8d8; border-radius: 9px; background: #e7e7e7; box-shadow: 0 4px 12px rgba(32,33,36,.08); }
.report-thumbnail::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--brand); }
.report-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.report-row:hover .report-thumbnail img { transform: scale(1.05); }
.report-copy { min-width: 0; }
.report-copy strong { display: block; overflow: hidden; color: #293d3a; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.report-copy small { display: block; margin-top: 4px; overflow: hidden; color: #95a09e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.report-client { min-width: 0; }
.report-client strong { display: block; overflow: hidden; color: #5d6b69; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.report-client small { display: block; margin-top: 3px; color: #a0aaa8; font-size: 8px; }
.access-badge { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 4px 7px; border-radius: 6px; font-size: 8px; font-weight: 700; }
.access-badge.shared { color: #387258; background: #e7f3eb; }
.access-badge.private { color: #756540; background: #f6efd9; }
.access-badge.draft { color: #6c6e73; background: #eff1f1; }
.updated-time { color: #8f9b98; font-size: 9px; white-space: nowrap; }
.row-menu { width: 29px; height: 29px; padding: 0; color: #8f9b98; border: 0; border-radius: 7px; background: transparent; }
.row-menu:hover { color: var(--ink); background: #edf1ee; }
.panel-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; color: #98a3a1; font-size: 9px; }
.empty-state { min-height: 338px; padding: 58px 20px; color: #85928f; text-align: center; }
.empty-state > i { display: inline-grid; width: 48px; height: 48px; place-items: center; color: var(--brand); border-radius: 14px; background: var(--brand-light); font-size: 20px; }
.empty-state h3 { margin: 13px 0 5px; color: var(--ink); font-size: 15px; }
.empty-state p { margin-bottom: 13px; font-size: 10px; }


.insight-card, .client-summary-card { margin-bottom: 16px; }
.chart-summary { display: flex; align-items: flex-end; justify-content: space-between; padding: 4px 20px 10px; }
.chart-summary > div { display: flex; flex-direction: column; }
.chart-summary strong { font: 700 26px "Manrope", sans-serif; letter-spacing: -.04em; }
.chart-summary span { color: #8e9997; font-size: 9px; }
.chart-badge { padding: 4px 7px; color: #36755b !important; border-radius: 5px; background: #e4f2e9; font-weight: 700; }
.mini-chart { display: grid; height: 86px; grid-template-columns: repeat(7,minmax(0,1fr)); align-items: flex-end; gap: 10px; padding: 5px 20px 0; }
.mini-chart span { position: relative; width: 100%; height: var(--h); border-radius: 4px 4px 2px 2px; outline: 0; background: #dfeae6; cursor: help; transition: filter .15s ease, transform .15s ease; transform-origin: bottom; }
.mini-chart span.active { background: var(--brand); }
.mini-chart span::after { position: absolute; z-index: 3; top: -31px; left: 50%; padding: 4px 7px; color: #fff; border-radius: 5px; opacity: 0; visibility: hidden; background: var(--ink); font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; content: attr(data-tooltip); pointer-events: none; transform: translate(-50%,5px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.mini-chart span:hover,
.mini-chart span:focus-visible { filter: saturate(1.2) brightness(.94); transform: scaleY(1.025); }
.mini-chart span:hover::after,
.mini-chart span:focus::after { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.mini-chart span:focus-visible { box-shadow: 0 0 0 3px rgba(191,6,47,.16); }
.chart-labels { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 10px; padding: 6px 20px 17px; color: #a0aaa8; font-size: 8px; text-align: center; }
.online-pill { color: #48805b; font-size: 9px; font-weight: 700; }
.online-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #57a56e; }
.analyst-profile { display: flex; align-items: center; gap: 11px; padding: 4px 20px 14px; }
.analyst-profile > div { display: flex; flex-direction: column; }
.analyst-profile strong { font-size: 11px; }
.analyst-profile small { margin-top: 2px; color: #929d9b; font-size: 9px; }
.analyst-note { margin: 0 20px 18px; padding: 11px; color: #64726f; border-radius: 9px; background: #f4f7f4; font-size: 10px; line-height: 1.5; }

.activity-panel { margin-bottom: 16px; }
.activity-list { padding: 0 20px 8px; }
.activity-item { display: grid; grid-template-columns: 32px 1fr 26px; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid #edf0ed; }
.activity-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; font-size: 8px; font-weight: 700; }
.activity-avatar.coral { color: #9b4f3f; background: #fae4de; }
.activity-avatar.blue { color: #45679f; background: #e5edfa; }
.activity-avatar.green { color: #3a765c; background: #dff0e7; }
.activity-item p { margin: 0; color: #667471; font-size: 9px; line-height: 1.45; }
.activity-item p strong { color: #3c4f4c; }
.activity-item p a { color: var(--brand); font-weight: 600; }
.activity-item small { color: #a2aca9; font-size: 8px; }
.activity-type { display: grid; width: 25px; height: 25px; place-items: center; color: #85928f; border-radius: 7px; background: #f3f5f3; font-size: 10px; }
.support-card { display: flex; align-items: center; gap: 11px; padding: 15px; color: #fff; border-radius: 14px; background: var(--ink); overflow: hidden; }
.support-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; color: var(--ink); border-radius: 10px; background: var(--lime); }
.support-card > div { flex: 1; }
.support-card strong { display: block; font-size: 10px; }
.support-card p { margin: 3px 0 0; color: #aebdba; font-size: 8px; }
.support-card .btn { color: #fff; border: 1px solid #49605c; background: #2d4844; font-size: 9px; }

.mobile-nav { width: min(310px, 88vw); background: #fbfcfa; }
.mobile-nav .offcanvas-header { padding: 22px 19px; }
.mobile-nav .brand { padding: 0; }

