:root {
    color-scheme: dark;
    --bg: #080d16;
    --sidebar: #0a101b;
    --card: #101825;
    --border: #202c3c;
    --text: #edf3fc;
    --muted: #92a1b6;
    --blue: #26b4ff;
    --green: #60dfbe;
    --amber: #f4bf68;
    --purple: #ae9bfa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { color: inherit; }
button:disabled { opacity: .48; cursor: not-allowed; }
button:disabled:hover { transform: none; }
button, input, select, textarea { min-width: 0; }
input, textarea, select { color: var(--text); background: #0b121e; border: 1px solid #2a384c; border-radius: 10px; padding: 12px 14px; width: 100%; outline: none; }
input::placeholder, textarea::placeholder { color: #8594a9; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #26b4ff12; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
h1 { font-size: 30px; font-weight: 750; letter-spacing: -1px; }
h2 { font-size: 16px; font-weight: 700; letter-spacing: -.25px; }
h3 { font-size: 14px; font-weight: 600; }
small { font-size: 11px; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.text-blue { color: var(--blue) !important; }
.text-amber { color: var(--amber); }
.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; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; background: var(--blue); color: #001724; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; z-index: 20; background: var(--sidebar); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 31px 20px 14px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.6px; padding: 0 5px; }
.brand small { display: block; font-size: 8px; color: #7b8ca5; letter-spacing: 2px; margin-top: 2px; font-weight: 500; }
.brand-mark { width: 37px; height: 40px; display: grid; place-items: center; background: linear-gradient(145deg, #27bcff, #0877d9); color: #001a35; border-radius: 11px; box-shadow: 0 0 25px #00a8ff16; flex-shrink: 0; }
.brand-mark .icon { width: 27px; height: 27px; }
.nav-label { color: #75869f; font-size: 10px; letter-spacing: 1.7px; margin: 48px 15px 15px; font-weight: 700; }
.main-nav { display: flex; flex-direction: column; gap: 8px; }
.nav-link { padding: 13px 15px; display: flex; align-items: center; gap: 13px; color: #95a5bc; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 600; transition: .18s; }
.nav-link:hover { background: #142236; color: white; }
.nav-link.active { color: var(--blue); background: linear-gradient(90deg, #0b3351, #0c2339); border-color: #154467; }
.nav-link .icon { width: 19px; height: 19px; }
.nav-dot { width: 5px; height: 5px; margin-left: auto; background: var(--blue); border-radius: 50%; }
.sidebar-bottom { margin-top: auto; padding-top: 60px; }
.streak-card { border: 1px solid #283045; background: linear-gradient(140deg, #172033, #101827); border-radius: 12px; padding: 17px; }
.streak-card .icon-box { width: 32px; height: 32px; margin-bottom: 12px; }
.streak-card strong { display: block; font-size: 12px; }
.streak-card p { font-size: 12px; margin-top: 7px; color: var(--muted); }
.streak-card a { margin-top: 14px; display: flex; gap: 6px; align-items: center; font-size: 10px; color: var(--blue); }
.streak-card a .icon { width: 13px; height: 13px; }
.sidebar-profile { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--border); margin-top: 24px; padding-top: 20px; }
.avatar { width: 37px; height: 37px; display: inline-grid; place-items: center; border-radius: 50%; background: #15364a; color: #80d3ff; font-weight: 700; font-size: 12px; border: 1px solid #285d79; flex-shrink: 0; }
.avatar.small { width: 33px; height: 33px; font-size: 11px; }
.avatar.tone-1 { background: #302945; color: #c3b1fb; border-color: #494063; }
.avatar.tone-2 { background: #1b3a36; color: #7ae2c8; border-color: #2c5d53; }
.sidebar-profile strong { font-size: 11px; display: block; }
.sidebar-profile small { color: var(--muted); font-size: 10px; }
.sidebar-profile .status-dot { margin-left: auto; flex-shrink: 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px #60dfbe40; }
.demo-label { font-size: 9px; color: #8392a7; text-align: center; margin-top: 15px; }
.workspace { margin-left: 244px; }
.topbar { min-height: 83px; display: flex; justify-content: space-between; align-items: center; padding: 15px 38px; gap: 16px; border-bottom: 1px solid #1b2635; background: #0b111c; }
.breadcrumb { font-size: 12px; color: #9ba9bd; }
.breadcrumb span { padding: 0 12px; color: #526178; }
.breadcrumb strong { font-weight: 500; color: #dce5f2; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.today-label { font-size: 11px; color: var(--muted); }
.points-chip { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; padding: 7px 13px; border: 1px solid #194969; background: #0e293d; color: #6dcdff; border-radius: 9px; }
.points-chip .icon { width: 14px; height: 14px; }
.points-chip span { font-size: 10px; font-weight: 400; }
.page-content { padding: 30px 38px 0; max-width: 1550px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.eyebrow { font-size: 9px; letter-spacing: 1.7px; font-weight: 700; color: #8499b4; margin-bottom: 7px; }
.page-heading p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin-top: 7px; }
.live-label { color: #9cb2c6; font-size: 10px; display: flex; align-items: center; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; padding: 11px 17px; border-radius: 8px; font-size: 12px; font-weight: 700; transition: transform .15s, background .15s; min-height: 43px; }
.button:hover { transform: translateY(-1px); }
.button .icon { width: 16px; height: 16px; }
.button.primary { background: #23b2ff; color: #001b30; box-shadow: 0 5px 20px #00a8ff12; }
.button.primary:hover { background: #65cbff; }
.button.outline { border-color: #2c4056; background: #142030; color: #c5d8ed; }
.button.outline:hover { border-color: #3c7ea8; background: #19314a; }
.button.wide { width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #74d2ff; border: 1px solid #2674a04d; background: #133d5e66; border-radius: 5px; font-size: 8px; letter-spacing: 1px; font-weight: 600; }
.pill .icon { width: 11px; height: 11px; }
.hero { position: relative; display: flex; align-items: center; min-height: 259px; overflow: hidden; border: 1px solid #1e4262; background: radial-gradient(ellipse at 60% 90%, #12518b3d, transparent 50%), linear-gradient(110deg, #10233d, #0e1d31 60%, #11243b); border-radius: 15px; padding: 29px 33px; gap: 25px; }
.hero::after { content: ''; position: absolute; width: 400px; height: 400px; right: 20%; top: -200px; border: 1px solid #1f46604d; border-radius: 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h2 { font-size: 32px; letter-spacing: -1px; line-height: 1.23; margin: 13px 0 10px; }
.hero-copy p { color: #a3b8d0; font-size: 11px; line-height: 1.8; }
.hero-copy .button { margin-top: 19px; padding: 9px 14px; min-height: 37px; font-size: 10px; }
.hero-art { position: absolute; left: 48%; top: 50%; transform: translate(-50%, -50%); height: 230px; width: 230px; display: grid; place-items: center; }
.hero-shark { transform: rotate(-12deg); color: #28aaff; filter: drop-shadow(0 0 20px #008dff5e); }
.hero-shark .icon { width: 130px; height: 130px; stroke-width: .8; fill: #1687d83d; }
.orbit { position: absolute; border: 1px solid #2c6e984d; border-radius: 50%; transform: rotate(-30deg); }
.orbit-one { width: 210px; height: 140px; }
.orbit-two { width: 270px; height: 180px; transform: rotate(36deg); border-style: dashed; }
.floating-tag { position: absolute; display: flex; align-items: center; gap: 6px; font-size: 8px; color: #aac7df; padding: 5px 9px; background: #112b43; border: 1px solid #295070; border-radius: 7px; white-space: nowrap; }
.floating-tag .icon { width: 11px; height: 11px; color: var(--blue); }
.tag-one { right: -2px; top: 43px; transform: rotate(4deg); }
.tag-two { left: -5px; bottom: 42px; transform: rotate(-5deg); }
.hero-progress { margin-left: auto; width: 194px; flex-shrink: 0; position: relative; z-index: 1; text-align: center; border-left: 1px solid #37516b66; padding-left: 24px; }
.hero-progress > strong { display: block; font-size: 11px; margin-top: 7px; }
.hero-progress > span { color: #91abc5; font-size: 9px; }
.progress-ring { position: relative; width: 133px; height: 133px; margin: auto; }
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 6; }
.ring-track { stroke: #23374f; }
.ring-value { stroke: #2bbbff; stroke-linecap: round; filter: drop-shadow(0 0 4px #00a8ff45); }
.progress-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.progress-ring strong { font-size: 29px; letter-spacing: -1px; line-height: 1.3; }
.progress-ring strong small { font-size: 18px; }
.progress-ring span { font-size: 9px; color: #a6b9cc; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 20px 0 24px; }
.stat-card { display: flex; align-items: flex-start; gap: 14px; background: var(--card); padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
.icon-box { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; flex-shrink: 0; }
.icon-box.blue { color: var(--blue); background: #12324a; border: 1px solid #1c4762; }
.icon-box.green { color: #65ddba; background: #123930; border: 1px solid #205246; }
.icon-box.purple { color: #ad9af3; background: #29253e; border: 1px solid #3a3356; }
.icon-box.amber { color: #edbb6b; background: #362e22; border: 1px solid #51402b; }
.stat-card p { color: var(--muted); font-size: 10px; }
.stat-card strong { display: block; font-size: 24px; line-height: 1.5; font-weight: 700; letter-spacing: -.6px; }
.stat-card strong small { color: #8294ad; font-weight: 400; font-size: 11px; letter-spacing: 0; }
.stat-note { display: block; color: #8ea3bb; font-size: 9px; margin-top: 3px; }
.stat-note .icon { width: 11px; height: 11px; margin-left: 5px; }
.dashboard-grid, .ranking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 21px; align-items: start; }
.main-column, .side-column { display: flex; flex-direction: column; gap: 21px; min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 21px 23px; }
.panel-heading p { font-size: 10px; color: var(--muted); margin-top: 5px; }
.panel-heading h2 .icon { width: 17px; height: 17px; margin-right: 7px; }
.subtle-chip { font-size: 9px; padding: 4px 8px; border: 1px solid #2a394c; background: #172334; border-radius: 5px; color: #a3b4c9; white-space: nowrap; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 23px 16px; border-bottom: 1px solid #202c3c; }
.tabs { display: flex; gap: 4px; align-items: center; }
.tab { background: transparent; border: 0; color: #98a9bf; padding: 7px 11px; border-radius: 6px; font-size: 10px; line-height: 1.5; white-space: nowrap; }
.tab.active { background: #12304a; color: #67caff; }
.tab:hover { color: #bce6ff; }
.tab .icon { width: 13px; height: 13px; margin-right: 5px; }
.text-action { color: var(--blue); background: none; border: 0; padding: 0; font-size: 10px; display: inline-flex; align-items: center; gap: 4px; }
.text-action:hover { color: #b8e7ff; }
.text-action .icon { width: 13px; height: 13px; }
.project-row { padding: 20px 23px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #1d293a; }
.project-row:last-child { border-bottom: 0; }
.project-row .icon-box { width: 36px; height: 36px; border-radius: 9px; }
.project-row .icon-box .icon { width: 17px; height: 17px; }
.project-info { flex: 1; min-width: 0; }
.project-info h3 { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.project-info p { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: 9px; margin-top: 5px; }
.project-info .icon { width: 10px; height: 10px; margin-right: 2px; }
.project-row.is-complete h3 { color: #8c9db3; text-decoration: line-through; text-decoration-color: #5c6d85; }
.carryover { color: var(--amber); }
.reward { color: #7b9ab5; font-size: 10px; white-space: nowrap; }
.reward small { font-size: 8px; }
.reward.earned { color: var(--green); }
.complete-button, .complete-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid #39485b; background: transparent; color: #8ca2ba; }
.complete-button .icon { width: 15px; height: 15px; opacity: .45; }
.complete-button:hover { color: var(--green); border-color: var(--green); background: #12352b; }
.complete-button:hover .icon { opacity: 1; }
.complete-mark { background: #153d34; border-color: #205948; color: var(--green); }
.complete-mark .icon { width: 16px; height: 16px; }
.panel-footnote { padding: 13px 23px; border-top: 1px solid #202c3c; background: #0d1521; color: #9baac0; font-size: 9px; display: flex; align-items: center; gap: 8px; }
.panel-footnote .icon { width: 12px; height: 12px; }
.goal-form { padding: 0 23px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
label { font-size: 11px; color: #a7b7cc; }
label input, label select { margin-top: 7px; font-size: 12px; }
.full { grid-column: 1/-1; }
.goal-form .button { margin-top: 2px; }
.focus-panel { padding: 0 21px 19px; text-align: center; background: radial-gradient(ellipse at 50% 60%, #11345550, transparent 80%), #101a29; border-color: #25405c; }
.focus-panel .panel-heading { padding: 20px 0 12px; }
.focus-panel .panel-heading h2 { font-size: 14px; }
.focus-panel .panel-heading h2 .icon { color: var(--blue); width: 18px; height: 18px; margin-right: 5px; }
.focus-panel > p { font-size: 11px; color: #9caec7; line-height: 1.8; }
.focus-clock { font-size: 47px; font-variant-numeric: tabular-nums; font-weight: 600; line-height: 1.4; letter-spacing: 2px; margin: 10px 0 3px; }
.focus-clock span { color: #5381a2; }
.focus-reward { font-size: 9px; color: #7fc9f1; margin-bottom: 18px; }
.focus-reward .icon { width: 12px; height: 12px; }
.focus-panel > small { display: block; margin-top: 12px; color: #95a8c0; font-size: 8px; }
.focus-finished { padding: 12px 4px; color: var(--green); font-size: 11px; background: #113a2d; border-radius: 7px; }
.focus-finished .icon { width: 16px; height: 16px; margin-right: 5px; }
.cancel-focus { margin-top: 12px; color: #9fb1c7; }
.challenge-panel { padding: 20px; background: radial-gradient(ellipse at 100% 0%, #694c2020, transparent 70%), #111924; }
.challenge-panel .panel-heading { padding: 0; margin-bottom: 15px; }
.challenge-panel .panel-heading .eyebrow { color: #d3b37e; margin: 0; font-size: 8px; }
.challenge-panel .panel-heading .icon-box { width: 33px; height: 33px; }
.challenge-panel h2 { font-size: 15px; }
.challenge-panel > p { margin-top: 8px; font-size: 11px; color: #9cadc3; }
.progress-label { display: flex; justify-content: space-between; gap: 8px; color: #97aac0; font-size: 9px; margin: 20px 0 7px; }
.progress-label strong { color: var(--amber); font-weight: 600; }
progress { display: block; border: 0; width: 100%; height: 5px; border-radius: 5px; appearance: none; background: #263247; color: var(--blue); overflow: hidden; }
progress::-webkit-progress-bar { background: #263247; border-radius: 5px; }
progress::-webkit-progress-value { background: var(--blue); border-radius: 5px; }
progress::-moz-progress-bar { background: var(--blue); border-radius: 5px; }
.challenge-panel progress::-webkit-progress-value { background: var(--amber); }
.challenge-panel progress::-moz-progress-bar { background: var(--amber); }
.challenge-panel .button { margin-top: 20px; min-height: 37px; font-size: 10px; }
.assistant-card { display: block; position: relative; padding: 23px; border-radius: 12px; border: 1px solid #24496b; background: radial-gradient(ellipse at 100% 100%, #16518066, transparent), #102239; transition: border-color .2s; }
.assistant-card:hover { border-color: #4c9ec9; }
.assistant-card .icon-box { width: 33px; height: 33px; margin-bottom: 15px; }
.assistant-card h2 { font-size: 18px; line-height: 1.4; }
.assistant-card p { font-size: 11px; color: #a4bad1; margin-top: 9px; }
.assistant-card > span:last-of-type { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; color: #69cbff; font-size: 11px; font-weight: 600; }
.assistant-card > span:last-of-type .icon { width: 16px; height: 16px; }
.assistant-card small { color: #9ab3ce; display: block; font-size: 8px; margin-top: 10px; }
.activity-chart { width: 100%; display: block; padding: 0 20px 10px; }
.activity-chart text { font-size: 9px; fill: #9bb0c7; font-family: inherit; }
.chart-grid { fill: none; stroke: #263347; stroke-dasharray: 3 5; stroke-width: .7; }
.chart-bar { fill: #1b4160; }
.chart-bar.current { fill: #2cb4fc; }
.page-footer { display: flex; justify-content: space-between; gap: 15px; padding: 28px 0 23px; color: #8496ae; font-size: 9px; }
.page-footer .text-blue { padding: 0 6px; }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 17px; background: #16293b; border: 1px solid #2a4d6e; border-radius: 9px; margin-bottom: 20px; font-size: 12px; }
.notice.success { background: #103027; border-color: #245a46; color: #a0e8c9; }
.notice.error { background: #351b27; border-color: #73394a; color: #ffc0cc; }
.empty-state { padding: 35px 22px; text-align: center; color: var(--muted); font-size: 12px; }
.empty-state .icon { display: block; margin: 0 auto 10px; }
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 99; max-width: min(400px, calc(100vw - 32px)); background: #17372f; border: 1px solid #39765f; color: #bcf3db; border-radius: 10px; padding: 14px 20px; box-shadow: 0 8px 35px #0005; font-size: 12px; }
.toast.error { background: #351b27; border-color: #73394a; color: #ffc0cc; }
/* Conversation */
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 23px; align-items: start; }
.chat-panel { display: flex; flex-direction: column; min-height: 690px; }
.chat-header { padding: 20px 23px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--border); }
.ai-avatar, .message-avatar { display: grid; place-items: center; color: #61c6ff; border: 1px solid #245476; background: #11324c; flex-shrink: 0; }
.ai-avatar { width: 41px; height: 41px; border-radius: 12px; }
.ai-avatar .icon { width: 25px; height: 25px; }
.chat-header h2 { font-size: 13px; }
.chat-header p { font-size: 9px; color: #98adc3; margin-top: 5px; }
.chat-header p .status-dot { width: 5px; height: 5px; margin-right: 4px; }
.chat-header form { margin-left: auto; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #2a394e; border-radius: 8px; background: #141f2f; color: #96aac2; }
.icon-button:hover { color: #ffb6c6; border-color: #865063; }
.icon-button .icon { width: 15px; height: 15px; }
.chat-mode-notice { display: flex; align-items: flex-start; gap: 7px; padding: 11px 23px; background: #0d2133; font-size: 9px; color: #9bc0de; }
.chat-mode-notice .icon { width: 13px; height: 13px; margin-top: 1px; }
.chat-filter { padding: 13px 23px 0; }
.chat-messages { flex: none; min-height: 350px; height: 420px; overflow: auto; padding: 24px; scrollbar-color: #334860 #101825; scrollbar-width: thin; }
.welcome-message { text-align: center; padding: 20px 0 10px; }
.welcome-message.has-messages { padding: 0 0 23px; }
.welcome-message.has-messages h2 { font-size: 16px; }
.welcome-message.has-messages .welcome-suggestions, .welcome-message.has-messages > p, .welcome-message.has-messages .welcome-icon { display: none; }
.welcome-icon { display: inline-grid; place-items: center; width: 59px; height: 59px; border: 1px solid #28577d; border-radius: 18px; background: #123149; color: #4fbfff; box-shadow: 0 0 40px #078aff0f; margin-bottom: 18px; }
.welcome-icon .icon { width: 28px; height: 28px; }
.welcome-message h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.6px; }
.welcome-message p { font-size: 11px; color: #94aac4; margin-top: 12px; }
.welcome-suggestions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.welcome-suggestions button { display: flex; align-items: center; gap: 7px; text-align: left; padding: 12px; font-size: 9px; border: 1px solid #2b3d53; background: #152235; border-radius: 8px; color: #bfd0e4; }
.welcome-suggestions .icon { width: 14px; height: 14px; color: var(--blue); }
.welcome-suggestions button:hover { border-color: #458abb; }
.message { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.message-avatar { width: 29px; height: 29px; border-radius: 9px; font-size: 9px; margin-top: 1px; }
.message-avatar .icon { width: 19px; height: 19px; }
.message-body { flex: 1; min-width: 0; }
.message-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.message-meta strong { font-size: 10px; }
.message-meta time { font-size: 8px; color: #91a1b7; }
.message-body > p { font-size: 12px; color: #c2d0e2; background: #172334; border: 1px solid #25364b; padding: 14px 16px; border-radius: 0 11px 11px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.from-user { flex-direction: row-reverse; margin-left: 40px; }
.from-user .message-avatar { background: #24334a; color: #c3d5ee; border-color: #3b4c62; }
.from-user .message-meta { justify-content: flex-end; }
.from-user .message-body > p { background: #12314a; border-color: #204c6b; border-radius: 11px 0 11px 11px; }
.favorite-button { border: 0; background: none; padding: 7px 0 0; font-size: 9px; color: #92a7c1; }
.favorite-button .icon { width: 12px; height: 12px; margin-right: 4px; }
.favorite-button.is-favorite { color: var(--amber); }
.favorite-button.is-favorite .icon { fill: #f4bf682e; }
.chat-compose { padding: 15px 23px; border-top: 1px solid var(--border); background: #0e1724; }
.quick-prompts { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.quick-prompts button { border: 1px solid #2c4058; background: #142335; color: #adc7de; border-radius: 6px; font-size: 9px; padding: 6px 9px; }
.quick-prompts button:hover { border-color: #4382ad; }
#chat-form { position: relative; }
#chat-form textarea { resize: vertical; min-height: 65px; max-height: 160px; padding-right: 58px; font-size: 12px; }
.send-button { position: absolute; right: 11px; bottom: 15px; width: 35px; height: 35px; border-radius: 9px; border: 0; background: var(--blue); color: #002239; display: grid; place-items: center; }
.send-button .icon { width: 17px; height: 17px; }
.compose-footnote { display: flex; justify-content: space-between; gap: 8px; color: #889bb4; font-size: 8px; margin-top: 6px; }
.form-error { color: #ffafbf; font-size: 11px; margin-top: 8px; }
.chat-aside { display: flex; flex-direction: column; gap: 22px; }
.chat-aside .panel { padding: 23px; }
.chat-aside h2 { font-size: 21px; line-height: 1.4; margin-top: 20px; }
.chat-aside p { font-size: 11px; color: #9db0c9; margin-top: 12px; }
.assistant-topics { padding: 0; margin: 24px 0; list-style: none; }
.assistant-topics li { display: flex; gap: 10px; margin-top: 20px; }
.assistant-topics .icon { width: 16px; height: 16px; color: var(--blue); margin-top: 3px; }
.assistant-topics strong { display: block; font-size: 11px; font-weight: 600; }
.assistant-topics span { display: block; font-size: 9px; color: #9db0c9; margin-top: 4px; }
.chat-aside .button { font-size: 10px; }
.quote-card { padding: 20px 24px; background: linear-gradient(135deg, #132942, #112031); border: 1px solid #24435f; border-radius: 12px; }
.quote-card > span { font-family: Georgia, serif; font-size: 56px; color: var(--blue); line-height: 1; }
.quote-card p { font-size: 15px; color: #d4e2f2; margin: -5px 0 16px; line-height: 1.7; }
.quote-card small { color: #8da7c3; font-size: 8px; letter-spacing: 1px; }
.chat-aside .privacy-note { display: flex; gap: 8px; margin: 0; padding: 0 5px; font-size: 10px; color: #92a7c0; }
.privacy-note .icon { width: 15px; height: 15px; margin-top: 3px; }
/* Ranking */
.ranking-banner { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 28px 31px; border: 1px solid #25425f; border-radius: 13px; background: radial-gradient(ellipse at 80% 100%, #194a763b, transparent 65%), #112035; margin-bottom: 24px; }
.ranking-banner h2 { font-size: 27px; line-height: 1.4; letter-spacing: -.6px; margin-top: 15px; }
.ranking-banner p { font-size: 11px; color: #a1b4cd; margin-top: 10px; }
.rank-summary { display: flex; align-items: center; gap: 16px; border-left: 1px solid #314a63; padding-left: 30px; min-width: 225px; }
.rank-summary .icon-box { width: 51px; height: 51px; border-radius: 14px; }
.rank-summary .icon-box .icon { width: 26px; height: 26px; }
.rank-summary span { font-size: 11px; color: #a2bad4; }
.rank-summary strong { display: block; font-size: 38px; line-height: 1.4; }
.rank-summary strong small { font-size: 13px; color: #829eb9; font-weight: 400; }
.rank-summary p { font-size: 9px; max-width: 160px; margin-top: 5px; }
.leaderboard .panel-heading { flex-wrap: wrap; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 13px; margin: 14px 23px 20px; }
.podium-person { flex: 1; max-width: 170px; text-align: center; border: 1px solid #2e4054; background: linear-gradient(0deg, #172435, #131e2d); padding: 15px 5px 18px; border-radius: 12px; }
.podium-person.place-1 { order: 2; border-color: #695331; background: linear-gradient(0deg, #3d332231, #221f1a); padding-top: 24px; }
.podium-person.place-2 { order: 1; }
.podium-person.place-3 { order: 3; }
.podium-place { display: block; color: #a8bdd6; font-size: 10px; margin-bottom: 10px; }
.podium-place .icon { width: 14px; height: 14px; margin-right: 3px; }
.place-1 .podium-place { color: var(--amber); }
.place-3 .podium-place { color: #d5a17c; }
.podium-avatar { width: 45px; height: 45px; font-size: 15px; border: 2px solid #7794b3; margin-bottom: 13px; }
.place-1 .podium-avatar { width: 55px; height: 55px; border-color: #d7ad5c; background: #433625; color: #f3d29b; }
.place-3 .podium-avatar { border-color: #b78562; background: #382c28; color: #ddb49a; }
.podium-person h3 { font-size: 12px; }
.podium-person p { font-size: 15px; font-weight: 700; color: #b4c8df; margin-top: 7px; }
.place-1 p { color: var(--amber); }
.podium-person p span { font-size: 9px; font-weight: 400; }
.search-input { display: flex; align-items: center; gap: 10px; margin: 0 23px 22px; background: #0d1623; border: 1px solid #28384b; border-radius: 8px; padding: 0 12px; }
.search-input .icon { width: 15px; height: 15px; color: #90a4bc; }
.search-input input { border: 0; box-shadow: none; background: none; margin: 0; padding: 10px 0; font-size: 11px; }
.search-input:focus-within { border-color: var(--blue); }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; }
th { font-size: 9px; color: #94a8bf; font-weight: 500; background: #0d1521; border-top: 1px solid #223044; border-bottom: 1px solid #223044; padding: 12px; }
td { padding: 17px 12px; border-bottom: 1px solid #1e2b3c; font-size: 11px; }
th:first-child, td:first-child { padding-left: 23px; }
th:last-child, td:last-child { padding-right: 23px; }
td small { font-size: 9px; color: #92a6be; }
tr:last-child td { border-bottom: 0; }
.own-row { background: #10314c55; box-shadow: inset 3px 0 #28b6ff; }
.numeric { text-align: right; }
.rank-number { font-weight: 600; color: #9bb4d1; }
.own-row .rank-number { color: var(--blue); }
.participant { display: flex; align-items: center; gap: 10px; }
.participant strong { display: block; font-size: 10px; font-weight: 500; }
.participant small { display: block; font-size: 8px; margin-top: 2px; }
.you-label { color: #71caff; border: 1px solid #285979; font-size: 8px; padding: 2px 5px; border-radius: 4px; margin-left: 5px; }
.level-chip { display: inline-block; color: #a5b8ce; font-size: 9px; border: 1px solid #2b3d53; background: #172537; border-radius: 5px; padding: 3px 7px; }
.level-panel { text-align: center; padding: 22px; }
.level-panel > .eyebrow { font-size: 9px; }
.level-emblem { width: 80px; height: 80px; margin: 20px auto 17px; background: radial-gradient(circle, #0e5a8866, #112537); border: 1px solid #2d7399; border-radius: 23px; box-shadow: 0 0 0 6px #10334c44, 0 0 30px #009fff12; display: grid; place-items: center; transform: rotate(-6deg); }
.level-emblem .icon { width: 47px; height: 47px; color: #4abfff; }
.level-panel h2 { font-size: 23px; margin-top: 10px; }
.level-panel > p { color: #9bb0c9; font-size: 10px; margin: 5px 0 20px; }
.level-panel .level-next { font-size: 9px; margin: 10px 0 20px; }
.level-next strong { color: var(--blue); font-weight: 500; }
.level-scale { border-top: 1px solid #2a384b; padding-top: 12px; }
.level-scale span { display: flex; justify-content: space-between; font-size: 9px; padding: 5px 0; color: #92a8c0; }
.level-scale strong { font-weight: 500; }
.rewards-panel { padding: 21px; }
.rewards-panel h2 { margin-bottom: 20px; }
.rewards-panel > div { display: flex; align-items: center; gap: 9px; font-size: 10px; margin: 18px 0; color: #a7bdd4; }
.rewards-panel > div .icon { width: 15px; height: 15px; color: #63c8ff; }
.rewards-panel > div strong { margin-left: auto; color: var(--blue); font-size: 11px; }
.rewards-panel .button { margin-top: 10px; font-size: 10px; }
.achievements { margin-top: 24px; }
.achievement-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; padding: 0 23px 23px; }
.achievement { text-align: center; padding: 22px 10px 17px; border: 1px solid #29374a; border-radius: 9px; background: #0e1623; }
.achievement-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; background: #1a2433; border: 1px solid #334255; color: #899bb3; border-radius: 50%; margin-bottom: 14px; }
.achievement h3 { color: #acbcd1; font-size: 11px; }
.achievement p { font-size: 9px; color: #92a4bb; margin-top: 5px; }
.achievement small { display: inline-flex; align-items: center; gap: 5px; font-size: 8px; color: #859ab3; margin-top: 16px; }
.achievement small .icon { width: 10px; height: 10px; }
.achievement.unlocked { border-color: #246086; background: #0d2e4640; }
.achievement.unlocked .achievement-icon { color: var(--blue); background: #123854; border-color: #25638b; }
.achievement.unlocked h3 { color: #d9e8f8; }
.achievement.unlocked small { color: var(--green); }
/* Mobile prototype reuses the actual dashboard and data. */
.mobile-presentation { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 460px); align-items: start; gap: 45px; max-width: 1030px; margin: 36px auto 0; }
.mobile-description { position: sticky; top: 40px; padding: 35px 0; }
.mobile-description h2 { font-size: 42px; letter-spacing: -1.5px; line-height: 1.25; margin: 23px 0; }
.mobile-description > p { color: #9bb0c9; font-size: 13px; max-width: 315px; line-height: 1.9; }
.feature-list { padding: 0; margin: 28px 0; list-style: none; }
.feature-list li { font-size: 11px; color: #b1c4dc; margin: 15px 0; display: flex; gap: 10px; align-items: center; }
.feature-list .icon { width: 15px; height: 15px; color: var(--green); }
.mobile-description .mobile-note { font-size: 9px; color: #8da4c0; margin-top: 22px; max-width: 260px; }
.phone-preview { border: 6px solid #283549; border-radius: 37px; background: #090f19; padding: 16px 13px; box-shadow: 0 25px 80px #0006, 0 0 60px #009fff08; overflow: hidden; }
.phone-notch { width: 78px; height: 6px; border-radius: 8px; background: #263244; margin: 0 auto 18px; }
.phone-brand { display: flex; align-items: center; gap: 9px; padding: 0 3px 20px; }
.phone-brand .brand-mark { width: 29px; height: 31px; border-radius: 9px; }
.phone-brand .brand-mark .icon { width: 21px; height: 21px; }
.phone-brand strong { font-size: 15px; letter-spacing: -.4px; }
.phone-brand .subtle-chip { margin-left: auto; color: var(--blue); }
.phone-preview .hero { padding: 20px; min-height: 200px; gap: 10px; }
.phone-preview .hero-copy h2 { font-size: 23px; }
.phone-preview .hero-copy p { font-size: 9px; }
.phone-preview .hero-copy .pill { font-size: 6px; letter-spacing: .5px; padding: 4px 5px; }
.phone-preview .hero-copy .button { font-size: 9px; padding: 8px 10px; margin-top: 14px; }
.phone-preview .hero-art { display: none; }
.phone-preview .hero-progress { width: 107px; padding-left: 7px; }
.phone-preview .progress-ring { width: 89px; height: 89px; }
.phone-preview .progress-ring strong { font-size: 23px; }
.phone-preview .progress-ring span { font-size: 7px; }
.phone-preview .hero-progress > strong { font-size: 9px; }
.phone-preview .hero-progress > span { font-size: 7px; }
.phone-preview .stats-grid { gap: 6px; margin: 13px 0; }
.phone-preview .stat-card { padding: 10px 7px; display: block; text-align: center; }
.phone-preview .stat-card .icon-box { width: 27px; height: 27px; margin-bottom: 5px; border-radius: 7px; }
.phone-preview .stat-card .icon-box .icon { width: 15px; height: 15px; }
.phone-preview .stat-card strong { font-size: 16px; }
.phone-preview .stat-card p { font-size: 8px; }
.phone-preview .stat-card strong small { font-size: 8px; }
.phone-preview .stat-note { font-size: 7px; }
.phone-preview .dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
.phone-preview .main-column, .phone-preview .side-column { gap: 14px; }
.phone-preview .panel-heading { padding: 17px 14px; }
.phone-preview .panel-heading h2 { font-size: 14px; }
.phone-preview .list-toolbar { padding: 0 10px 12px; }
.phone-preview .tab { padding: 7px; font-size: 8px; }
.phone-preview .text-action { font-size: 8px; }
.phone-preview .project-row { padding: 16px 12px; gap: 9px; }
.phone-preview .project-row .icon-box { width: 29px; height: 29px; }
.phone-preview .project-info h3 { font-size: 10px; }
.phone-preview .project-info p { font-size: 8px; }
.phone-preview .reward { font-size: 9px; }
.phone-preview .complete-button, .phone-preview .complete-mark { width: 29px; height: 29px; }
.phone-preview .panel-footnote { font-size: 8px; padding: 12px; }
.phone-preview .goal-form { padding: 0 14px 16px; }
.phone-preview .goal-form label { font-size: 10px; }
.phone-preview .goal-form input, .phone-preview .goal-form select { font-size: 11px; padding: 10px; }
.phone-preview .goal-form .button { font-size: 10px; }
.phone-preview .focus-panel .panel-heading { padding: 20px 0 12px; }
.phone-preview .challenge-panel .panel-heading { padding: 0; }
.phone-shortcuts { display: flex; justify-content: space-around; gap: 10px; margin-top: 17px; padding: 15px 0 2px; border-top: 1px solid var(--border); }
.phone-shortcuts a { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #86cef4; }
.phone-shortcuts .icon { width: 16px; height: 16px; }
@media (min-width: 1500px) { .hero-art { left: 54%; } }
@media (max-width: 1250px) {
    .sidebar { width: 218px; padding-left: 14px; padding-right: 14px; }
    .brand { font-size: 18px; }
    .workspace { margin-left: 218px; }
    .page-content { padding: 27px 25px 0; }
    .topbar { padding-left: 25px; padding-right: 25px; }
    .hero-art { display: none; }
    .dashboard-grid, .ranking-layout { grid-template-columns: minmax(0, 1fr) 266px; gap: 17px; }
    .stat-card { padding: 17px 14px; gap: 10px; }
    .stat-card strong { font-size: 21px; }
    .stat-card .icon-box { width: 33px; height: 33px; }
    .list-toolbar { flex-wrap: wrap; gap: 10px; }
    .project-row { padding: 19px 17px; gap: 10px; }
    .reward { font-size: 9px; }
    .panel-heading { padding: 20px 18px; }
    .project-info h3 { font-size: 11px; }
    .chat-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; }
    .chat-aside .panel { padding: 19px; }
    .chat-header, .chat-compose { padding-left: 18px; padding-right: 18px; }
    .ranking-banner { padding: 25px; gap: 20px; }
    .ranking-banner h2 { font-size: 24px; }
    .rank-summary { min-width: 180px; padding-left: 22px; }
    .rank-summary .icon-box { display: none; }
    .level-chip > span { display: none; }
    .participant .avatar { display: none; }
    .mobile-presentation { gap: 25px; grid-template-columns: minmax(180px, 1fr) minmax(0, 430px); }
    .mobile-description h2 { font-size: 33px; }
}
@media (max-width: 1020px) {
    .sidebar { width: 185px; padding-left: 10px; padding-right: 10px; }
    .brand { font-size: 15px; gap: 7px; }
    .brand small { font-size: 6px; }
    .brand-mark { width: 31px; height: 35px; }
    .nav-link { font-size: 11px; padding: 12px; gap: 10px; }
    .sidebar-profile { gap: 7px; }
    .sidebar-profile strong { font-size: 9px; }
    .sidebar-profile small { font-size: 8px; }
    .workspace { margin-left: 185px; }
    .today-label { display: none; }
    .live-label { display: none; }
    .dashboard-grid, .ranking-layout { grid-template-columns: 1fr; }
    .side-column { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
    .assistant-card { grid-column: 1/-1; }
    .stats-grid { gap: 10px; }
    .stat-card { flex-direction: column; gap: 8px; padding: 15px; }
    .project-info h3 { font-size: 12px; }
    .list-toolbar { flex-wrap: nowrap; }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-aside { display: none; }
    .achievement-grid { grid-template-columns: 1fr 1fr; }
    .participant .avatar { display: grid; }
    .mobile-presentation { grid-template-columns: 1fr; max-width: 480px; margin-top: 0; }
    .mobile-description { position: static; padding: 0 0 5px; }
    .mobile-description h2 { font-size: 31px; margin: 16px 0; }
    .mobile-description h2 br { display: none; }
    .mobile-description > p { max-width: none; }
    .mobile-description .feature-list, .mobile-description .button, .mobile-description .mobile-note { display: none; }
    .phone-preview .side-column { display: flex; }
}
@media (max-width: 760px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    .sidebar { position: fixed; inset: auto 0 0; width: 100%; height: calc(67px + env(safe-area-inset-bottom, 0px)); padding: 4px 10px calc(4px + env(safe-area-inset-bottom, 0px)); background: #0b1422f5; border: 0; border-top: 1px solid #283c54; overflow: visible; backdrop-filter: blur(15px); }
    .sidebar > .brand, .sidebar .nav-label, .sidebar-bottom, .nav-dot { display: none; }
    .main-nav { flex-direction: row; justify-content: space-between; gap: 2px; height: 100%; }
    .nav-link { flex: 1; flex-direction: column; gap: 4px; font-size: 9px; padding: 7px 3px 3px; justify-content: center; border-radius: 7px; }
    .nav-link .icon { width: 20px; height: 20px; }
    .nav-link.active { background: #12304a70; border-color: transparent; }
    .workspace { margin-left: 0; }
    .topbar { min-height: 67px; padding: 12px 20px; }
    .breadcrumb { font-size: 11px; }
    .breadcrumb span { padding: 0 7px; }
    .topbar-right { gap: 10px; }
    .points-chip { font-size: 11px; padding: 5px 9px; border-radius: 7px; }
    .topbar-right .avatar { width: 29px; height: 29px; font-size: 9px; }
    .page-content { padding: 24px 20px 0; }
    .page-heading { margin-bottom: 23px; }
    h1 { font-size: 27px; }
    .page-heading p:not(.eyebrow) { font-size: 11px; }
    .hero { padding: 25px; gap: 18px; min-height: 240px; }
    .hero-copy h2 { font-size: 28px; }
    .hero-progress { width: 143px; padding-left: 17px; }
    .progress-ring { width: 110px; height: 110px; }
    .hero-progress > strong { font-size: 10px; }
    .hero-progress > span { font-size: 8px; }
    .stats-grid { margin-top: 16px; margin-bottom: 20px; }
    .stat-card { padding: 15px 13px; }
    .stat-card strong { font-size: 22px; }
    .stat-note { font-size: 8px; }
    .dashboard-grid, .main-column, .side-column { gap: 18px; }
    .panel-heading { padding: 21px; }
    .project-row { padding: 20px; }
    .panel-footnote { padding-left: 20px; padding-right: 20px; }
    .goal-form { padding-left: 20px; padding-right: 20px; }
    .page-footer { font-size: 8px; flex-wrap: wrap; padding-top: 24px; }
    .toast { right: 16px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
    .chat-panel { min-height: 610px; }
    .chat-messages { height: 380px; min-height: 300px; padding: 20px; }
    .ranking-banner { padding: 23px; }
    .ranking-banner h2 { font-size: 23px; }
    .rank-summary { min-width: 125px; padding-left: 18px; }
    .rank-summary strong { font-size: 30px; }
    .rank-summary p { font-size: 8px; }
    .phone-preview { padding: 15px 12px; border-width: 5px; }
}
@media (max-width: 480px) {
    .page-content { padding: 22px 15px 0; }
    .topbar { padding-left: 15px; padding-right: 15px; }
    .breadcrumb { font-size: 10px; }
    .hero { padding: 22px 18px; min-height: 221px; gap: 8px; }
    .hero-copy h2 { font-size: 25px; }
    .hero-copy p { font-size: 9px; }
    .hero-copy .pill { font-size: 6px; letter-spacing: .6px; padding: 4px 6px; }
    .hero-copy .pill .icon { width: 10px; height: 10px; }
    .hero-progress { width: 108px; padding-left: 8px; }
    .progress-ring { width: 87px; height: 87px; }
    .progress-ring strong { font-size: 25px; }
    .progress-ring strong small { font-size: 14px; }
    .progress-ring span { font-size: 7px; }
    .hero-progress > strong { font-size: 9px; }
    .hero-progress > span { font-size: 7px; }
    .hero-copy .button { font-size: 9px; padding: 8px 11px; min-height: 36px; }
    .stats-grid { gap: 8px; }
    .stat-card { gap: 7px; padding: 13px 10px; }
    .stat-card .icon-box { width: 28px; height: 28px; border-radius: 8px; }
    .stat-card .icon-box .icon { width: 15px; height: 15px; }
    .stat-card p { font-size: 8px; }
    .stat-card strong { font-size: 19px; }
    .stat-card strong small { font-size: 8px; }
    .stat-note { font-size: 7px; }
    .stat-note .icon { width: 9px; height: 9px; margin-left: 2px; }
    .side-column { display: flex; flex-direction: column; }
    .panel-heading { padding: 18px 16px; }
    .panel-heading h2 { font-size: 15px; }
    .panel-heading p { font-size: 9px; }
    .list-toolbar { padding: 0 13px 14px; gap: 5px; }
    .tab { padding: 6px 7px; font-size: 9px; }
    .text-action { font-size: 9px; gap: 1px; }
    .text-action .icon { width: 11px; height: 11px; }
    .project-row { padding: 18px 15px; gap: 9px; }
    .project-row .icon-box { width: 31px; height: 31px; }
    .project-info h3 { font-size: 11px; }
    .project-info p { font-size: 8px; gap: 5px; }
    .reward { font-size: 9px; }
    .reward small { display: none; }
    .complete-button, .complete-mark { width: 30px; height: 30px; }
    .panel-footnote { padding: 13px 15px; font-size: 8px; }
    .goal-form { padding-left: 16px; padding-right: 16px; gap: 12px; }
    .goal-form label { font-size: 10px; }
    .goal-form input, .goal-form select { padding: 11px; font-size: 11px; }
    .goal-form .button { font-size: 11px; }
    .focus-panel { padding-left: 23px; padding-right: 23px; }
    .focus-panel .panel-heading h2 { font-size: 16px; }
    .focus-panel > p { font-size: 12px; }
    .focus-clock { font-size: 53px; }
    .focus-panel > small { font-size: 9px; }
    .chat-header { padding: 17px 14px; gap: 9px; }
    .chat-header h2 { font-size: 12px; }
    .chat-header p { font-size: 8px; }
    .chat-mode-notice { padding: 11px 15px; font-size: 8px; }
    .chat-filter { padding-left: 15px; padding-right: 15px; }
    .chat-messages { padding: 18px 14px; }
    .chat-compose { padding: 13px 14px; }
    .welcome-message h2 { font-size: 21px; }
    .welcome-suggestions { flex-direction: column; gap: 8px; }
    .welcome-suggestions button { justify-content: space-between; font-size: 10px; }
    .welcome-message { padding-top: 10px; }
    .quick-prompts { gap: 5px; }
    .quick-prompts button { font-size: 8px; padding: 6px; }
    .from-user { margin-left: 20px; }
    .message-body > p { font-size: 11px; padding: 11px 12px; }
    .message-avatar { width: 25px; height: 25px; border-radius: 7px; }
    .ranking-banner { flex-direction: column; align-items: stretch; gap: 20px; padding: 23px; }
    .ranking-banner h2 { font-size: 25px; }
    .rank-summary { border-left: 0; padding: 17px 0 0; border-top: 1px solid #304961; }
    .rank-summary .icon-box { display: grid; }
    .rank-summary p { font-size: 9px; max-width: none; }
    .rank-summary strong { font-size: 32px; }
    .leaderboard .panel-heading { gap: 15px; }
    .podium { gap: 7px; margin-left: 14px; margin-right: 14px; }
    .podium-person { padding-left: 3px; padding-right: 3px; }
    .podium-person h3 { font-size: 10px; }
    .podium-person p { font-size: 13px; }
    .search-input { margin-left: 15px; margin-right: 15px; }
    .participant { gap: 7px; }
    .participant .avatar { display: none; }
    .participant strong { font-size: 9px; }
    .participant small { font-size: 7px; }
    th:first-child, td:first-child { padding-left: 14px; }
    th:last-child, td:last-child { padding-right: 14px; }
    th, td { padding-left: 6px; padding-right: 6px; }
    th { font-size: 8px; }
    .level-chip { padding: 3px 5px; font-size: 8px; }
    .numeric strong { font-size: 10px; }
    .you-label { font-size: 7px; margin-left: 2px; padding: 1px 3px; }
    .achievement-grid { padding: 0 15px 15px; gap: 10px; }
    .achievement h3 { font-size: 10px; }
    .achievement p { font-size: 8px; }
    .mobile-description { display: none; }
    .phone-preview { border: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .phone-notch { display: none; }
    .phone-brand { padding-top: 0; }
    .phone-preview .hero { padding: 22px 17px; }
    .phone-preview .hero-progress { width: 100px; }
    .phone-preview .stats-grid { gap: 8px; }
    .phone-preview .stat-card { padding: 13px 8px; }
    .phone-preview .stat-card strong { font-size: 19px; }
    .phone-preview .project-info h3 { font-size: 11px; }
    .phone-preview .project-row { padding: 18px 14px; }
    .phone-preview .tab { font-size: 9px; }
    .phone-preview .text-action { font-size: 9px; }
    .phone-preview .focus-panel .panel-heading h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
