:root {
  color-scheme: light;
  --bg: #f5f7f9;
  --paper: #fff;
  --ink: #202b35;
  --muted: #7a858e;
  --line: #e9edf0;
  --green: #176c57;
  --green-light: #eaf4ed;
  --lime: #dbf1bf;
  --purple: #9382c6;
  --amber: #b77929;
  --amber-light: #fbf2e4;
  --radius: 16px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { border: 0; background: none; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--green); }
button, a { touch-action: manipulation; }
::selection { background: #d8ecdd; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: white; border: 1px solid var(--green); border-radius: 8px; padding: 12px; }
.skip-link:focus { top: 16px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { background: var(--paper); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; padding: 30px 18px 20px; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 15px; margin-bottom: 34px; width: fit-content; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; color: #d8f1bf; background: var(--green); border-radius: 11px; }
.brand-name { font-size: 30px; font-weight: 650; letter-spacing: -1.3px; line-height: 1; }
.brand-name span { color: var(--green); }
.workspace { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; margin: 0 4px 27px; }
.workspace-mark { width: 33px; height: 33px; border-radius: 9px; color: var(--green); background: #f0f5f2; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.workspace-name { font-size: 14px; font-weight: 650; letter-spacing: 1px; }
.workspace small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.workspace .chevron { margin-left: auto; color: var(--muted); }
.nav-group-label { color: #99a1a8; font-size: 11px; letter-spacing: 1.4px; font-weight: 650; padding: 0 17px; margin-bottom: 11px; }
.nav { display: flex; flex-direction: column; gap: 5px; }
.nav-link { display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 9px; color: #69757e; font-size: 14px; text-align: left; font-weight: 500; }
.nav-link:hover { background: #f7f9f8; color: var(--green); }
.nav-link.active { background: #eaf3ed; color: var(--green); font-weight: 650; }
.nav-link svg { width: 19px; height: 19px; }
.nav-link .nav-count { margin-left: auto; background: white; min-width: 22px; padding: 2px 5px; border-radius: 5px; font-size: 11px; text-align: center; color: var(--green); }
.nav-separator { border-top: 1px solid var(--line); margin: 25px 14px 23px; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.demo-card { margin: 0 4px 18px; padding: 15px; border: 1px solid #e2eadf; border-radius: 12px; background: #f7faf4; }
.demo-card .demo-title { font-size: 13px; font-weight: 650; display: flex; gap: 7px; align-items: center; color: #5f7350; }
.demo-card p { color: #88917e; font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.profile { border-top: 1px solid var(--line); padding: 18px 9px 0; display: flex; gap: 10px; align-items: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 650; flex-shrink: 0; background: #edf0f5; color: #66718a; }
.avatar.peach { background: #f8e9dc; color: #ae7950; }
.avatar.lavender { background: #ece8f5; color: #8774ad; }
.avatar.mint { background: #e4f0e8; color: #5e8a71; }
.avatar.blue { background: #e5edf7; color: #6887ad; }
.avatar.rose { background: #f5e6ed; color: #ad778e; }
.avatar.me { background: #e5ece6; color: #4f705b; width: 37px; height: 37px; }
.profile-name { font-size: 13px; font-weight: 600; }
.profile-role { font-size: 11px; color: var(--muted); margin-top: 4px; }
.profile .icon-button { margin-left: auto; }
.main-shell { min-width: 0; }
.topbar { height: 80px; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); display: flex; align-items: center; gap: 12px; }
.breadcrumb { font-size: 13px; color: #969fa6; display: flex; align-items: center; gap: 11px; }
.breadcrumb strong { font-weight: 500; color: #505e68; }
.topbar-right { margin-left: auto; display: flex; gap: 17px; align-items: center; }
.demo-badge { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #6a7a67; border: 1px solid #e2e9df; border-radius: 6px; padding: 6px 9px; background: #fafcf8; white-space: nowrap; }
.demo-badge svg { width: 13px; height: 13px; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; color: #7f8a92; }
.icon-button:hover { background: #f0f4f2; color: var(--green); }
.icon-button svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }
.content { padding: 33px 38px 30px; max-width: 1800px; margin: auto; animation: appear .24s ease-out; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 27px; }
h1 { font-size: 28px; font-weight: 620; letter-spacing: -.8px; margin: 0 0 9px; line-height: 1.2; }
.page-subtitle { font-size: 13px; line-height: 1.7; color: #8b959d; margin: 0; }
.heading-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.button { min-height: 38px; border: 1px solid #e2e7e9; padding: 9px 13px; border-radius: 8px; background: white; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 550; white-space: nowrap; }
.button svg { width: 16px; height: 16px; }
.button:hover { border-color: #b5c8bf; background: #fafcfb; }
.button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.button.primary:hover { background: #125340; }
.button.quiet { border: 0; background: transparent; color: var(--green); padding-left: 0; padding-right: 0; }
.button.small { min-height: 30px; padding: 6px 9px; font-size: 12px; border-radius: 6px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 13px; top: calc(50% - 4px); width: 6px; height: 6px; border-right: 1.5px solid #89958f; border-bottom: 1.5px solid #89958f; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; background: white; border: 1px solid #e3e8e9; border-radius: 8px; min-height: 36px; padding: 8px 33px 8px 12px; font-size: 12px; cursor: pointer; width: 100%; }
.daily-brief { background: #edf3e9; border: 1px solid #e2ebdc; border-radius: var(--radius); position: relative; overflow: hidden; padding: 25px 28px; margin-bottom: 23px; min-height: 159px; display: flex; align-items: center; gap: 22px; }
.brief-body { position: relative; z-index: 1; flex: 1; }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .4px; font-weight: 600; color: #79906d; margin-bottom: 11px; }
.eyebrow svg { width: 14px; height: 14px; }
.brief-title { font-size: 21px; letter-spacing: -.45px; color: #34472e; font-weight: 550; margin: 0 0 9px; line-height: 1.4; }
.brief-description { color: #7d8976; font-size: 12px; line-height: 1.75; margin: 0; max-width: 575px; }
.brief-action { align-self: flex-end; position: relative; z-index: 1; }
.brief-action .button { background: #fff; color: #49633d; border-color: #d9e5d1; }
.brief-art { width: 180px; height: 118px; margin-right: -5px; flex-shrink: 0; color: #9dba86; position: relative; display: grid; place-items: center; }
.brief-art::before, .brief-art::after { content: ''; width: 130px; height: 130px; border: 1px solid #d7e5cb; border-radius: 50%; position: absolute; }
.brief-art::after { width: 95px; height: 95px; background: #e3edda; }
.brief-art svg { position: relative; z-index: 1; width: 155px; height: 80px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; margin-bottom: 25px; }
.metric { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 19px 20px 17px; min-width: 0; text-align: left; }
.metric:hover { border-color: #cfded5; box-shadow: 0 3px 12px #21382a04; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #7b878f; font-size: 12px; margin-bottom: 16px; }
.metric-icon { width: 28px; height: 28px; background: #f4f7f5; display: grid; place-items: center; border-radius: 8px; color: #7e9c8a; }
.metric-icon svg { width: 15px; height: 15px; }
.metric-value { font-size: 29px; font-weight: 550; letter-spacing: -1px; line-height: 1.1; }
.metric-value small { font-size: 14px; color: #9aa3aa; font-weight: 400; letter-spacing: 0; margin-left: 3px; }
.metric-bottom { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: #a0a8ae; font-size: 10px; }
.delta { font-size: 11px; color: #498363; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.delta svg { width: 12px; height: 12px; }
.delta.bad { color: #b18a50; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 302px; gap: 23px; align-items: start; }
.dashboard-left { min-width: 0; display: grid; gap: 23px; }
.panel { border: 1px solid var(--line); border-radius: 13px; background: white; overflow: hidden; }
.panel-header { padding: 21px 23px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-title { font-size: 15px; font-weight: 600; letter-spacing: -.2px; margin: 0 0 5px; }
.panel-description { font-size: 11px; line-height: 1.6; color: #9aa2a8; margin: 0; }
.segmented { display: inline-flex; background: #f5f7f8; border: 1px solid #edf0f1; border-radius: 7px; padding: 3px; gap: 2px; flex-shrink: 0; }
.segmented button { padding: 5px 10px; border-radius: 5px; font-size: 11px; color: #8d969d; }
.segmented button.active { background: white; box-shadow: 0 1px 4px #2637290a; color: #4a6053; font-weight: 600; }
.chart-legend { display: flex; gap: 18px; align-items: center; padding: 0 23px 17px; flex-wrap: wrap; }
.legend-item { display: inline-flex; gap: 7px; align-items: center; color: #849088; font-size: 11px; padding: 0; }
.legend-item.muted { opacity: .35; }
.legend-line { display: inline-block; width: 15px; border-top: 2px solid var(--green); }
.legend-line.purple { border-color: #a391ce; border-top-style: dashed; }
.legend-line.goal { border-color: #aebd9c; border-top-style: dotted; }
.chart-wrap { padding: 0 14px; position: relative; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-svg text { font-family: inherit; fill: #a1a9af; font-size: 11px; }
.chart-tooltip { position: absolute; background: #fff; border: 1px solid #e3e9e5; box-shadow: 0 5px 20px #263c2914; border-radius: 9px; padding: 11px 13px; pointer-events: none; z-index: 4; font-size: 11px; min-width: 147px; line-height: 1.9; display: none; }
.chart-tooltip strong { display: block; font-weight: 600; color: #415548; margin-bottom: 2px; }
.chart-footnote { margin: 9px 23px 18px; display: flex; align-items: flex-start; gap: 7px; font-size: 10px; line-height: 1.65; color: #a1a9af; }
.chart-footnote svg { width: 13px; height: 13px; margin-top: 1px; color: #a0aba3; }
.attention-title { display: flex; align-items: center; gap: 8px; }
.count-badge { border-radius: 5px; background: #f7f0e5; color: #b2935d; font-size: 10px; min-width: 19px; text-align: center; padding: 3px; font-weight: 500; }
.insight-list { padding: 0 18px; }
.insight { border-top: 1px solid #f0f2f2; padding: 17px 3px; }
.insight:first-child { border-top: 0; padding-top: 3px; }
.insight-type { color: #ae8a52; font-size: 10px; display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.insight-type svg { width: 12px; height: 12px; }
.insight-type.good { color: #6c9275; }
.insight h3 { font-size: 13px; line-height: 1.6; font-weight: 550; margin: 0 0 6px; }
.insight p { font-size: 11px; line-height: 1.8; color: #969fa6; margin: 0 0 8px; }
.text-link { color: #678470; font-size: 11px; padding: 0; text-align: left; line-height: 1.6; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 12px; height: 12px; }
.text-link:hover { color: #245d42; text-decoration: underline; }
.assistant-mini { padding: 20px; margin-top: 19px; background: #f0f3f0; border: 1px solid #e3eae2; border-radius: 12px; }
.assistant-mini-header { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.assistant-mini-header svg { width: 17px; height: 17px; color: #65836b; }
.assistant-mini p { color: #8a968a; font-size: 11px; line-height: 1.8; margin: 10px 0 15px; }
.assistant-mini .button { width: 100%; color: #536f58; font-size: 11px; background: #fff; border-color: #dce6d9; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead { background: #fbfcfc; border-top: 1px solid #f0f3f3; border-bottom: 1px solid #f0f3f3; }
th { font-size: 10px; font-weight: 450; color: #9aa3a9; padding: 12px 16px; }
th:first-child, td:first-child { padding-left: 23px; }
th:last-child, td:last-child { padding-right: 23px; }
th button { padding: 0; font-size: inherit; color: inherit; display: inline-flex; gap: 4px; align-items: center; }
th button.active { color: #4c775b; }
th svg { width: 11px; height: 11px; }
td { padding: 14px 16px; border-bottom: 1px solid #f1f3f4; font-size: 12px; color: #6f7c85; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr[data-manager] { cursor: pointer; }
tbody tr[data-manager]:hover { background: #f9fbf9; }
.person { display: flex; align-items: center; gap: 9px; }
.person .avatar { width: 29px; height: 29px; font-size: 9px; }
.person-name { font-size: 12px; color: #53616a; font-weight: 500; }
.score { color: #5f856b; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.score-bar { width: 28px; height: 4px; background: #edf2ee; border-radius: 3px; overflow: hidden; }
.score-bar span { height: 100%; background: #aac4af; display: block; border-radius: 3px; }
.response-bad { color: #b38c50; }
.status-tag { padding: 4px 7px; font-size: 10px; border-radius: 4px; display: inline-flex; align-items: center; gap: 5px; background: #eef5ef; color: #7b9980; white-space: nowrap; }
.status-tag.amber { background: #faf3e8; color: #b69a68; }
.status-tag.gray { background: #f1f3f5; color: #89949d; }
.status-tag.purple { background: #f0edf8; color: #9684b6; }
.table-footer { padding: 12px 23px; border-top: 1px solid var(--line); color: #a6aeb3; font-size: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.page-footer { margin-top: 26px; display: flex; gap: 12px; justify-content: space-between; align-items: center; color: #a4adb2; font-size: 10px; }
.footer-status { display: flex; align-items: center; gap: 7px; }
.state-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: #9eb39d; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 23px; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 9px; padding: 0 13px; background: white; border: 1px solid var(--line); border-radius: 8px; min-height: 40px; min-width: 240px; }
.search-box svg { width: 16px; height: 16px; color: #9aa6ad; }
.search-box input { border: 0; background: transparent; min-width: 0; width: 100%; font-size: 13px; outline: 0; padding: 11px 0; }
.search-box:focus-within { border-color: #89ac94; box-shadow: 0 0 0 2px #eaf2e8; }
.filter-tabs { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.filter-tabs button { padding: 8px 12px; font-size: 12px; border-radius: 7px; color: #8b969d; }
.filter-tabs button.active { color: #3d7150; background: #e7f0e7; }
.reports-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.report-card { padding: 23px; border: 1px solid var(--line); background: white; border-radius: 13px; text-align: left; display: flex; flex-direction: column; min-height: 219px; transition: transform .18s, border-color .18s; }
.report-card:hover { border-color: #b8d0bd; transform: translateY(-2px); }
.report-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.document-icon { background: #edf3ed; color: #7c9b83; width: 36px; height: 40px; border-radius: 8px; display: grid; place-items: center; }
.document-icon svg { width: 19px; height: 19px; }
.report-card h2 { font-size: 15px; font-weight: 550; line-height: 1.6; margin: 0 0 10px; }
.report-card p { font-size: 12px; line-height: 1.8; color: #96a0a6; margin: 0 0 21px; }
.report-card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: #a0a9b0; font-size: 11px; }
.empty-state { padding: 60px 20px; text-align: center; color: #8a9790; background: white; border: 1px solid var(--line); border-radius: 12px; grid-column: 1 / -1; }
.empty-state h2 { font-size: 18px; font-weight: 500; }
.empty-state p { font-size: 13px; line-height: 1.8; }
.goals-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.goal-card { padding: 27px; }
.goal-card .metric-icon { width: 37px; height: 37px; margin-bottom: 22px; }
.goal-card .metric-icon svg { width: 21px; height: 21px; }
.goal-card h2 { font-size: 16px; margin: 0 0 9px; font-weight: 550; }
.goal-card > p { font-size: 12px; color: #98a2aa; line-height: 1.8; min-height: 43px; }
.goal-numbers { display: flex; align-items: baseline; gap: 8px; margin-top: 27px; }
.goal-numbers strong { font-size: 34px; font-weight: 550; letter-spacing: -1px; }
.goal-numbers span { font-size: 13px; color: #9aa3a9; }
.progress-track { margin: 19px 0 11px; height: 6px; border-radius: 6px; background: #eef2ee; overflow: hidden; }
.progress-track span { background: #95b69b; height: 100%; display: block; border-radius: 6px; max-width: 100%; }
.progress-track.amber span { background: #d4b078; }
.goal-caption { font-size: 11px; color: #96a29a; display: flex; justify-content: space-between; gap: 8px; }
.explanation-card { padding: 23px 26px; margin-top: 24px; display: flex; align-items: flex-start; gap: 13px; }
.explanation-card > svg { color: #99ae9b; width: 20px; height: 20px; margin-top: 1px; }
.explanation-card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 550; }
.explanation-card p { font-size: 12px; color: #96a0a7; line-height: 1.9; margin: 0; max-width: 800px; }
.sources-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.source-card { padding: 25px; }
.source-brand { width: 45px; height: 45px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 19px; }
.source-brand.blue { background: #eaf3fc; color: #739bb8; }
.source-brand.lavender { background: #f1edf9; color: #9882bf; }
.source-brand.mint { background: #eaf3e9; color: #819d78; }
.source-card h2 { font-size: 17px; font-weight: 550; margin: 0 0 10px; }
.source-card p { font-size: 12px; color: #98a2a9; line-height: 1.9; min-height: 45px; }
.source-detail { margin: 20px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; color: #9ba5ac; gap: 8px; }
.project-list { padding: 0 25px; }
.project-row { padding: 22px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.project-row:first-child { border-top: 0; }
.project-row .source-brand { width: 37px; height: 37px; margin: 0; }
.project-row h3 { font-size: 13px; font-weight: 550; margin: 0 0 5px; }
.project-row p { margin: 0; font-size: 11px; line-height: 1.7; color: #9ca5ac; }
.project-row .status-tag { margin-left: auto; }
.chat-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 23px; min-height: calc(100vh - 240px); }
.chat-mobile-filters { display: none; }
.chat-main { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: white; min-height: 620px; min-width: 0; overflow: hidden; }
.chat-scroll { padding: 29px; flex: 1; max-height: calc(100vh - 350px); min-height: 360px; overflow-y: auto; scroll-behavior: smooth; }
.chat-welcome { text-align: center; max-width: 490px; margin: 35px auto 20px; }
.chat-orb { margin: 0 auto 23px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #e8f1e5; color: #537b4d; box-shadow: 0 0 0 10px #f5f8f2; }
.chat-orb svg { width: 31px; height: 31px; }
.chat-welcome h2 { font-size: 25px; font-weight: 500; letter-spacing: -.5px; margin: 0 0 13px; }
.chat-welcome > p { color: #99a1a6; font-size: 13px; line-height: 1.9; margin-bottom: 27px; }
.suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; text-align: left; }
.suggestion { border: 1px solid #e8ece7; border-radius: 10px; padding: 16px; color: #657966; font-size: 12px; line-height: 1.8; text-align: left; background: #fdfefb; display: flex; gap: 9px; align-items: flex-start; }
.suggestion:hover { background: #f1f7ec; border-color: #cbdcc0; }
.suggestion svg { width: 15px; height: 15px; margin-top: 3px; color: #8ca181; }
.chat-compose { border-top: 1px solid var(--line); padding: 17px 23px 13px; background: white; }
.compose-box { display: flex; align-items: flex-end; gap: 12px; padding: 11px 13px; border: 1px solid #dce5dc; border-radius: 11px; background: #fdfefc; }
.compose-box:focus-within { border-color: #8eaf8f; box-shadow: 0 0 0 3px #f0f5eb; }
.compose-box textarea { width: 100%; min-height: 43px; max-height: 150px; resize: vertical; border: 0; background: transparent; outline: 0; font-size: 13px; line-height: 1.7; padding: 5px 0; }
.send-button { background: var(--green); color: white; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; flex-shrink: 0; margin-bottom: 4px; }
.send-button svg { width: 17px; height: 17px; }
.compose-note { text-align: center; color: #acb3b8; font-size: 10px; line-height: 1.6; margin: 9px 0 0; }
.chat-context .panel { padding: 21px; margin-bottom: 15px; }
.chat-context h3 { margin: 0 0 17px; font-size: 13px; font-weight: 600; }
.chat-context p { font-size: 11px; color: #9aa4aa; line-height: 1.9; }
.context-source { display: flex; gap: 9px; align-items: center; padding: 11px 0; border-top: 1px solid #f0f2f2; font-size: 11px; color: #81908a; width: 100%; text-align: left; }
.context-source svg { width: 16px; height: 16px; color: #96a796; }
.message { margin: 0 0 25px; animation: appear .2s ease-out; }
.message.user { margin-left: 18%; text-align: right; }
.user-bubble { display: inline-block; text-align: left; font-size: 13px; line-height: 1.9; padding: 12px 17px; border-radius: 12px 12px 3px 12px; background: #edf4e9; color: #4f684b; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-heading { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #789171; margin: 0 0 12px; }
.answer-heading svg { width: 15px; height: 15px; }
.answer-content { padding-left: 23px; }
.answer-content h3 { font-size: 16px; line-height: 1.6; margin: 0 0 12px; font-weight: 550; }
.answer-content p { font-size: 13px; color: #87938e; line-height: 1.95; margin: 0 0 11px; }
.answer-content p:first-of-type { font-size: 10px; color: #a2aaa8; }
.fact-box, .hypothesis-box { border-left: 2px solid #b8cfad; padding: 9px 12px; background: #f7faf4; color: #859379; font-size: 11px; line-height: 1.85; margin: 14px 0; }
.hypothesis-box { border-color: #d7c6a5; background: #fcf9f3; color: #a39170; }
.source-citations { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.citation { font-size: 10px; border: 1px solid #e5ebe3; border-radius: 6px; padding: 6px 8px; color: #7e9277; background: #fcfdfb; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; text-align: left; }
.citation svg { width: 11px; height: 11px; }
.followups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.followups button { border-bottom: 1px dashed #c8d6c0; padding: 4px 0; margin-right: 7px; color: #8c9e81; font-size: 10px; text-align: left; }
.thinking { color: #9daa96; font-size: 12px; padding-left: 22px; line-height: 2; }
.thinking::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #abc19d; margin-left: 8px; animation: breathe .7s infinite alternate; }
.overlay-backdrop { position: fixed; inset: 0; background: #122b2133; backdrop-filter: blur(2px); z-index: 70; animation: appear .15s; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(565px, 100%); background: white; z-index: 71; padding: 29px; overflow-y: auto; box-shadow: -20px 0 60px #1c352a10; animation: slide-in .2s ease-out; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 14px; }
.drawer .demo-badge { width: fit-content; }
.drawer h2 { font-size: 24px; line-height: 1.5; font-weight: 550; letter-spacing: -.5px; margin: 0 0 13px; }
.drawer-meta { display: flex; gap: 13px; flex-wrap: wrap; color: #9da7ac; font-size: 11px; margin-bottom: 25px; }
.drawer-section { margin-top: 24px; }
.drawer-section h3 { font-size: 14px; font-weight: 550; margin: 0 0 10px; }
.drawer-section p { font-size: 13px; line-height: 1.95; color: #89958e; margin: 0; }
.drawer-note { margin-top: 29px; padding: 14px 16px; background: #f6f8f4; border-radius: 8px; font-size: 11px; line-height: 1.8; color: #98a28f; }
.drawer-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.drawer-avatar { width: 58px; height: 58px; font-size: 17px; margin-bottom: 20px; }
.drawer-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 25px 0; }
.drawer-metric { background: #f7f9f7; border: 1px solid #edf1eb; border-radius: 10px; padding: 15px; }
.drawer-metric small { display: block; color: #9ea8a0; font-size: 10px; margin-bottom: 9px; }
.drawer-metric strong { font-size: 21px; font-weight: 500; color: #5e7860; }
.modal { position: fixed; z-index: 71; top: 50%; left: 50%; transform: translate(-50%,-50%); background: white; padding: 29px; border-radius: 15px; width: min(450px, calc(100% - 30px)); box-shadow: 0 20px 70px #1c352a20; }
.modal h2 { font-size: 20px; font-weight: 550; margin: 0; }
.form-field { display: block; font-size: 12px; color: #829184; margin-top: 20px; }
.form-field input { display: block; width: 100%; border: 1px solid #dae4d8; border-radius: 7px; padding: 11px; margin-top: 8px; font-size: 14px; background: #fdfefb; }
.form-error { color: #b37f65; font-size: 12px; min-height: 17px; margin: 14px 0 0; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,15px); opacity: 0; pointer-events: none; z-index: 100; padding: 13px 20px; color: #e8f2e5; border-radius: 9px; background: #345c42; box-shadow: 0 7px 25px #1b3b2020; font-size: 12px; max-width: calc(100vw - 30px); transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Keep interactive labels readable; small type is reserved for secondary metadata. */
.page-subtitle { font-size: 14px; color: #7c8891; }
.metric-top { font-size: 13px; color: #6c7983; }
.metric-bottom, .delta { font-size: 12px; }
.metric-bottom > span:last-child { font-size: 11px; }
.panel-title { font-size: 16px; }
.panel-description { font-size: 12px; color: #87939b; }
.legend-item, .segmented button, .chart-footnote, .text-link { font-size: 12px; }
.legend-item { color: #708277; }
.insight h3 { font-size: 14px; color: #4f5b64; }
.insight p, .assistant-mini p { font-size: 12px; color: #7d8991; }
.insight-type, .eyebrow, .nav-group-label { font-size: 12px; }
.insight-type { letter-spacing: .1px; }
.status-tag { font-size: 11px; }
th { font-size: 12px; color: #849099; }
td, .person-name { font-size: 13px; }
.table-footer { font-size: 12px; color: #89959d; }
.page-footer { font-size: 12px; color: #89959d; }
.report-card p, .source-card p, .goal-card > p { font-size: 14px; color: #7c8b92; }
.report-card-bottom, .source-detail, .goal-caption { font-size: 12px; color: #87968d; }
.report-card h2 { font-size: 16px; }
.form-field { font-size: 13px; }
.chat-context p { font-size: 13px; color: #7c8b84; }
.context-source { font-size: 13px; }
.answer-content p, .user-bubble { font-size: 14px; color: #66796e; }
.answer-content p:first-of-type { font-size: 12px; color: #8a9890; }
.fact-box, .hypothesis-box, .citation, .followups button, .compose-note, .drawer-note, .drawer-meta { font-size: 12px; }
.drawer-section p { font-size: 14px; color: #728579; }
.project-row p { font-size: 13px; color: #87958b; }
.demo-card p, .profile-role { font-size: 12px; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(30px); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
@keyframes breathe { from { opacity: .3; } to { opacity: 1; } }
@media (min-width: 1600px) { .content { padding: 40px 48px; } .topbar { padding: 0 48px; } .dashboard-grid { grid-template-columns: minmax(0,1fr) 340px; } .metrics-grid { gap: 23px; } .metric { padding: 23px 25px; } .panel-header { padding-top: 24px; } .brief-title { font-size: 24px; } .metric-value { font-size: 33px; } .brief-description { font-size: 13px; } }
@media (max-width: 1250px) { .app-shell { grid-template-columns: 211px minmax(0,1fr); } .sidebar { padding-left: 13px; padding-right: 13px; } .topbar { padding: 0 25px; } .content { padding: 27px 25px; } .dashboard-grid { grid-template-columns: minmax(0,1fr) 265px; gap: 18px; } .metric { padding: 16px; } .metric-top { font-size: 11px; } .metric-bottom { font-size: 9px; } .metric-value { font-size: 27px; } .brief-art { display: none; } .panel-header { padding: 19px; } .chart-legend { padding-left: 19px; gap: 14px; } .reports-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .chat-layout { grid-template-columns: minmax(0,1fr) 225px; } .chat-scroll { padding: 23px; } }
@media (max-width: 1050px) { .dashboard-grid { grid-template-columns: minmax(0,1fr); } .dashboard-right { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 18px; align-items: start; } .assistant-mini { margin-top: 0; } .metrics-grid { gap: 12px; } .metric-top { min-height: 28px; } .goals-grid, .sources-grid { grid-template-columns: 1fr; } .goal-card { display: grid; grid-template-columns: 40px 1fr 1fr; column-gap: 20px; } .goal-card .metric-icon { grid-row: 1 / 5; } .goal-card h2, .goal-card > p { grid-column: 2; } .goal-numbers { grid-column: 3; grid-row: 1 / 3; margin-top: 0; align-self: center; } .goal-card .progress-track { grid-column: 2 / 4; margin-top: 9px; } .goal-card .goal-caption { grid-column: 2 / 4; } .source-card p { min-height: 0; } .chat-layout { grid-template-columns: 1fr; } .chat-context { display: none; } .chat-scroll { max-height: 550px; } }
@media (max-width: 800px) { .app-shell { grid-template-columns: minmax(0,1fr); } .sidebar { position: fixed; width: 238px; left: -260px; transition: left .2s; box-shadow: 10px 0 50px #26372920; } .sidebar.open { left: 0; } .mobile-shade { position: fixed; inset: 0; background: #142b2444; z-index: 29; } .menu-toggle { display: inline-grid; } .topbar { height: 65px; padding: 0 21px; } .breadcrumb { font-size: 12px; } .topbar-right { gap: 9px; } .topbar-right > .icon-button { display: none; } .content { padding: 25px 21px; } .page-heading { align-items: flex-start; } h1 { font-size: 25px; } .heading-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 230px; } .metric-value { font-size: 29px; } .metric-bottom { font-size: 10px; } .metric-top { font-size: 12px; } .chat-main { min-height: 610px; } }
@media (max-width: 570px) { .content { padding: 23px 16px; } .topbar { padding: 0 13px; gap: 5px; } .breadcrumb > span:first-child, .breadcrumb > svg { display: none; } .topbar-right .demo-badge { font-size: 10px; padding: 5px 7px; } .topbar-right .avatar { width: 31px; height: 31px; font-size: 10px; } .page-heading { flex-direction: column; gap: 17px; margin-bottom: 22px; } .heading-actions { max-width: 100%; justify-content: flex-start; width: 100%; } .heading-actions .select-wrap { flex: 1; } h1 { font-size: 25px; } .page-subtitle { font-size: 12px; } .daily-brief { padding: 22px; flex-direction: column; gap: 17px; align-items: flex-start; min-height: 0; } .brief-title { font-size: 21px; } .brief-description { font-size: 12px; } .brief-action { align-self: flex-start; } .metrics-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; } .metric { padding: 16px; } .metric-value { font-size: 29px; } .metric-top { font-size: 11px; margin-bottom: 10px; min-height: 28px; } .metric-bottom { margin-top: 12px; gap: 5px; } .metric-bottom > span:last-child { display: none; } .panel-header { padding: 18px 16px 15px; gap: 9px; } .panel-title { font-size: 14px; } .panel-description { font-size: 10px; } .segmented button { padding: 5px 7px; font-size: 10px; } .chart-legend { padding-left: 16px; font-size: 10px; gap: 12px; } .legend-item { font-size: 10px; } .chart-wrap { padding: 0 6px; } .chart-footnote { margin-left: 16px; margin-right: 16px; font-size: 9px; } .dashboard-right { grid-template-columns: 1fr; } .dashboard-grid, .dashboard-left { gap: 20px; } .table-footer { font-size: 9px; padding: 12px 16px; } .table-footer > span { max-width: 170px; line-height: 1.8; } .reports-grid { grid-template-columns: 1fr; } .report-card { min-height: 200px; } .search-box { min-width: 0; width: 100%; } .filter-tabs { gap: 2px; } .filter-tabs button { font-size: 11px; padding: 8px 9px; } .page-footer { align-items: flex-start; line-height: 1.8; font-size: 9px; gap: 20px; } .goal-card { padding: 22px; grid-template-columns: 32px 1fr; gap: 0 17px; } .goal-card .metric-icon { width: 32px; height: 32px; } .goal-numbers { grid-column: 2; grid-row: auto; margin-top: 12px; } .goal-card .progress-track, .goal-card .goal-caption { grid-column: 2; } .goal-card > p { min-height: 0; } .explanation-card { padding: 20px; } .explanation-card p { font-size: 11px; } .chat-main { min-height: 610px; } .chat-scroll { padding: 22px 17px; max-height: 570px; } .chat-welcome { margin-top: 24px; } .chat-welcome h2 { font-size: 22px; } .chat-welcome > p { font-size: 12px; } .suggestions { gap: 9px; } .suggestion { padding: 12px; font-size: 11px; } .chat-compose { padding: 13px 13px 11px; } .compose-box textarea { font-size: 12px; } .compose-note { font-size: 9px; } .answer-content { padding-left: 0; } .answer-content p { font-size: 12px; } .answer-content h3 { font-size: 15px; } .drawer { padding: 24px 21px; } .drawer-metrics { gap: 8px; } .drawer-metric { padding: 12px; } .drawer-metric strong { font-size: 19px; } .project-row { gap: 10px; flex-wrap: wrap; } .project-row .status-tag { margin-left: 47px; } }
@media (max-width: 1050px) { .chat-mobile-filters { display: block; margin-bottom: 18px; } .chat-mobile-filters .heading-actions { justify-content: flex-start; max-width: none; } }
@media (max-width: 800px) { .sidebar { visibility: hidden; } .sidebar.open { visibility: visible; } }
@media (max-width: 570px) {
  .page-subtitle, .brief-description { font-size: 13px; }
  .metric-top, .metric-bottom, .delta, .panel-description, .legend-item, .chart-footnote, .text-link, .table-footer, .page-footer, .suggestion, .compose-note, .answer-content p:first-of-type { font-size: 12px; }
  .insight p, .assistant-mini p, .answer-content p, .explanation-card p { font-size: 13px; }
  .page-footer { flex-direction: column; gap: 5px; }
  .person-name { font-size: 13px; }
  .compose-box textarea { font-size: 14px; }
  .chart-legend { column-gap: 13px; row-gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
