body.client-mode .brand-mark { color: #f8dd97; }
body.client-mode .role-icon { background: #f5d38b; }
body.client-mode .status-dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(100,141,229,.11); }
body.client-mode .dashboard { max-width: 1260px; }
body.client-mode .welcome-row { margin-bottom: 24px; }
body.client-mode .stat-grid { display: none; }
body.client-mode .workspace-side-column { display: none !important; }
body.client-mode .client-library-column { width: 100%; }
body.client-mode .content-grid { margin-top: 22px; }
body.client-mode .sidebar-nav .nav-link[href="#dashboard"] { display: none; }
body.client-mode .sidebar-nav .nav-link[href="#reports"] { color: var(--brand-dark); background: #e6f0eb; }
body.client-mode .report-panel { border-color: var(--line); box-shadow: none; }
body.client-mode .report-list { min-height: 0; }
body.client-mode .report-header { align-items: center; }
body.client-mode .report-header h2 { font-size: 20px; }
body.client-mode .report-tools { padding-top: 4px; }
body.client-mode .panel-footer #loadMoreButton { display: none; }
body.client-mode .panel-footer { justify-content: flex-start; }

.client-library-order { display: flex; align-items: center; gap: 16px; color: #7d8b88; font-size: 10px; }
.client-library-order > span { display: inline-flex; align-items: center; gap: 6px; }
.client-library-order > span:first-child { color: #9b6739; }
.client-library-order > span:first-child i { color: var(--coral); font-size: 6px; }
.client-library-order > span:last-child i { color: var(--brand); font-size: 13px; }

body.client-mode .client-access-banner { gap: 20px; padding: 26px 28px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: linear-gradient(118deg, #123b37, #185b53 72%, #1b6b60); }
body.client-mode .client-access-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 23px; }
body.client-mode .client-access-copy > span:first-child { color: #c8e4de; font-size: 9px; }
body.client-mode .client-access-copy > strong { margin-top: 6px; font-size: 19px; }
body.client-mode .client-access-copy > small { max-width: 660px; margin-top: 6px; font-size: 11px; line-height: 1.5; }
.client-featured-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 13px; }
.client-access-copy .client-featured-meta span { display: inline-flex; align-items: center; gap: 5px; color: #c4d9d5; font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.client-featured-meta i { color: var(--lime); }
body.client-mode .client-report-progress { width: 126px; }
body.client-mode .client-access-banner .btn-light { min-height: 42px; padding-right: 16px; padding-left: 16px; }

body.client-mode .client-library-row { display: block; min-height: 0; padding: 0; border-bottom: 1px solid var(--line); background: transparent; }
body.client-mode .client-library-row.unreviewed { border-left: 3px solid var(--coral); background: #fffdfb; }
body.client-mode .client-library-row.latest { background: #f7fbf9; }
body.client-mode .client-library-row:hover { background: #f5f9f7; }
.client-report-open { display: grid; width: 100%; grid-template-columns: 90px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 22px 24px; color: inherit; border: 0; background: transparent; text-align: left; }
.client-report-open .report-thumbnail { width: 88px; height: 66px; flex-basis: 88px; border-radius: 11px; }
.client-report-copy { display: flex; min-width: 0; flex-direction: column; }
.client-report-eyeline { display: flex; min-height: 20px; align-items: center; gap: 8px; margin-bottom: 5px; color: #879491; font-size: 9px; }
.latest-report-badge, .client-review-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 5px; font-size: 8px; font-weight: 700; }
.latest-report-badge { color: var(--brand-dark); background: var(--brand-light); }
.client-review-badge { color: #8d613b; background: #faede4; }
.client-library-row.reviewed .client-review-badge { color: #4e785e; background: #e8f1eb; }
.client-review-badge i { font-size: 6px; }
.client-report-copy > strong { overflow: hidden; color: var(--ink); font: 700 15px "Manrope", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.client-report-copy > small { margin-top: 4px; color: #81908d; font-size: 10px; }
.client-report-summary { max-width: 760px; margin-top: 8px; overflow: hidden; color: #61716e; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.client-report-cta { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-size: 10px; font-weight: 700; white-space: nowrap; }
.client-report-cta > i { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #cadbd5; border-radius: 9px; background: #fff; transition: .16s ease; }
.client-report-open:hover .client-report-cta > i { color: #fff; border-color: var(--brand); background: var(--brand); transform: translateX(2px); }

html[data-theme="dark"] body.client-mode .client-library-row.unreviewed { background: #171e1c; }
html[data-theme="dark"] body.client-mode .client-library-row.latest,
html[data-theme="dark"] body.client-mode .client-library-row:hover { background: #14221f; }
html[data-theme="dark"] .client-library-order { color: #98a7a3; }
html[data-theme="dark"] body.client-mode .sidebar-nav .nav-link[href="#reports"] { color: #a8ddd2; background: #18312b; }
html[data-theme="dark"] .latest-report-badge { color: #a7ddd1; background: #193b34; }
html[data-theme="dark"] .client-review-badge { color: #e0aa7c; background: #39291f; }
html[data-theme="dark"] .client-library-row.reviewed .client-review-badge { color: #94c7a7; background: #1b3628; }
html[data-theme="dark"] .client-report-copy > strong { color: var(--ink); }
html[data-theme="dark"] .client-report-copy > small,
html[data-theme="dark"] .client-report-summary { color: var(--ink-muted); }
html[data-theme="dark"] .client-report-cta > i { border-color: var(--line); background: #172421; }

