:root {
  color-scheme: light;
  --ink: #1d2738;
  --muted: #788397;
  --line: #e9edf3;
  --paper: #fff;
  --canvas: #f5f7fb;
  --blue: #4776e6;
  --blue-dark: #365fd0;
  --green: #28a879;
  --purple: #8066d8;
  --shadow: 0 8px 26px rgba(37, 51, 77, .045);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(71, 118, 230, .32); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 252px; flex-direction: column; padding: 26px 16px 16px; overflow-y: auto; background: var(--paper); border-right: 1px solid var(--line); transition: transform .2s ease; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 27px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #6b8ff0, var(--blue)); font-size: 20px; font-weight: 800; box-shadow: 0 5px 12px rgba(71, 118, 230, .22); }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 17px; letter-spacing: -.3px; }
.brand small { color: #99a2b1; font-size: 9px; font-weight: 750; letter-spacing: 1px; }
.nav-caption { margin: 0 10px 9px; color: #a0a9b7; font-size: 9px; font-weight: 750; letter-spacing: 1.1px; }
.nav-caption-spaced { margin-top: 23px; }
.nav-list { display: grid; gap: 3px; }
.nav-link { display: flex; width: 100%; min-height: 40px; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: #69758a; text-align: left; font-size: 12px; font-weight: 550; transition: background .15s, color .15s; }
.nav-link svg { width: 16px; height: 16px; flex: 0 0 auto; color: #929caf; }
.nav-link:hover { color: var(--blue); background: #f6f8fe; }
.nav-link.active, .nav-link[aria-current="page"] { color: #416bd5; background: #edf2ff; font-weight: 700; }
.nav-link.active svg, .nav-link[aria-current="page"] svg { color: #5279df; }
.nav-count, .nav-badge { margin-left: auto; padding: 3px 6px; border-radius: 6px; background: #f0f2f6; color: #7d8899; font-size: 9px; font-weight: 700; white-space: nowrap; }
.nav-badge { background: #f5f1ff; color: #836bc9; font-size: 8px; }
.admin-nav { margin-top: 8px; }
.admin-nav .nav-caption { padding-left: 0; }
.sidebar-bottom { margin-top: auto; padding: 15px 9px 0; }
.storage-label, .storage-foot { display: flex; justify-content: space-between; gap: 8px; }
.storage-label { color: #7d8899; font-size: 10px; }
.storage-label strong { color: #475368; font-size: 10px; }
.storage-track, .goal-track, .progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #edf0f5; }
.storage-track { margin-top: 8px; }
.storage-track span { display: block; width: 28%; height: 100%; border-radius: inherit; background: #6688e8; }
.storage-foot { margin-top: 5px; color: #a1a9b6; font-size: 9px; }
.sidebar-profile { display: flex; align-items: center; gap: 9px; margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.avatar { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #f5d6c7; color: #895b48; font-size: 12px; font-weight: 800; }
.profile-copy { display: grid; min-width: 0; gap: 3px; }
.profile-copy strong { font-size: 11px; }
.profile-copy small { color: #9aa3b0; font-size: 9px; }
.sidebar-profile .icon-button { margin-left: auto; }

.main-area { min-height: 100vh; margin-left: 252px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; height: 66px; align-items: center; gap: 20px; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.topbar-label { display: flex; align-items: center; gap: 8px; color: #6d798d; font-size: 11px; font-weight: 600; white-space: nowrap; }
.topbar-dot, .demo-pulse { width: 7px; height: 7px; border-radius: 50%; background: #45b58b; }
.search-box { display: flex; width: min(320px, 35vw); height: 35px; align-items: center; gap: 8px; margin-left: auto; padding: 0 9px; border: 1px solid #edf0f5; border-radius: 8px; background: #fafbfd; color: #8d98a9; }
.search-box svg { width: 15px; height: 15px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #a1a9b6; }
kbd { padding: 2px 5px; border: 1px solid #e6e9ef; border-radius: 4px; background: #fff; color: #9aa3b1; font-size: 9px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { position: relative; display: inline-grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #788498; cursor: pointer; }
.icon-button:hover { background: #f1f4fa; color: var(--blue); }
.icon-button svg { width: 17px; height: 17px; }
.notification-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: #f18a72; }
.topbar-divider { width: 1px; height: 24px; background: var(--line); }
.topbar-user { display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; }
.topbar-user-name { color: #536075; font-size: 11px; font-weight: 650; }
.menu-button { display: none; }
.sidebar-scrim { display: none; }

.page-content { width: min(1340px, 100%); margin: 0 auto; padding: 24px 38px 23px; }
.demo-notice { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 19px; padding: 7px 10px; border: 1px solid #e8ecf5; border-radius: 7px; background: #fff; color: #8993a3; font-size: 9px; }
.demo-notice strong { color: #657187; font-size: 8px; letter-spacing: .8px; }
.demo-pulse { width: 6px; height: 6px; background: #deaa47; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.eyebrow { margin: 0 0 7px; color: #99a2b1; font-size: 9px; font-weight: 750; letter-spacing: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 5px; font-size: clamp(23px, 2.2vw, 29px); letter-spacing: -.9px; line-height: 1.2; }
h2 { margin: 0 0 5px; font-size: 15px; letter-spacing: -.2px; }
h3 { margin: 0; font-size: 13px; }
.wave { color: #efb95b; font-size: 21px; }
.heading-subtitle { margin: 0; color: var(--muted); font-size: 11px; }
.button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button svg { width: 15px; height: 15px; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 4px 10px rgba(71,118,230,.16); }
.button-primary:hover { background: var(--blue-dark); }
.button-quiet { border-color: var(--line); background: #fff; color: #647086; }

.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.stat-card, .panel, .project-card, .content-card { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); }
.stat-card { position: relative; min-height: 133px; overflow: hidden; padding: 15px 16px; }
.stat-icon { display: grid; width: 29px; height: 29px; place-items: center; margin-bottom: 8px; border-radius: 8px; }
.stat-icon svg { width: 15px; height: 15px; }
.stat-blue .stat-icon { background: #edf2ff; color: #5b7de0; }.stat-green .stat-icon { background: #e8f7f1; color: #2eaa7a; }.stat-purple .stat-icon { background: #f1edfc; color: #8168d6; }
.stat-title { margin-bottom: 3px; color: #778398; font-size: 10px; }
.stat-value { color: #273248; font-size: 22px; font-weight: 750; letter-spacing: -.6px; }
.stat-value span { color: #778398; font-size: 10px; font-weight: 550; letter-spacing: 0; }
.stat-foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: #9aa3b0; font-size: 9px; }
.stat-foot strong { color: #6861ba; font-size: 9px; }
.trend-up { color: #2ba57b; font-weight: 750; }
.stat-foot-muted { color: #9aa3b0; }
.stat-sparkline { position: absolute; right: 15px; bottom: 14px; display: flex; height: 29px; align-items: end; gap: 4px; opacity: .8; }
.stat-sparkline i { display: block; width: 4px; height: 30%; border-radius: 4px; background: #b8c8f7; }
.stat-sparkline i:nth-child(2) { height: 46%; }.stat-sparkline i:nth-child(3) { height: 38%; }.stat-sparkline i:nth-child(4) { height: 64%; }.stat-sparkline i:nth-child(5) { height: 49%; }.stat-sparkline i:nth-child(6) { height: 76%; }.stat-sparkline i:nth-child(7) { height: 94%; }
.sparkline-green i { background: #a9e3cd; }.sparkline-green i:nth-child(1) { height: 58%; }.sparkline-green i:nth-child(3) { height: 30%; }
.goal-track { width: 48%; height: 4px; margin-top: 9px; background: #f0edf8; }.goal-track span { display: block; width: 72%; height: 100%; background: #8b75dc; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .92fr); gap: 13px; margin-top: 15px; }
.panel { min-width: 0; padding: 17px 18px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.panel-heading p { margin: 0; color: #9aa3b1; font-size: 9px; }
.select-button, .sort-button { display: inline-flex; min-height: 27px; align-items: center; gap: 10px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #69758a; font-size: 9px; cursor: pointer; }
.select-button span, .sort-button span { color: #9ca5b2; }
.chart-summary { display: flex; align-items: baseline; gap: 7px; margin: 15px 0 2px; }
.chart-summary strong { font-size: 20px; letter-spacing: -.5px; }.chart-change { display: inline-flex; align-items: center; color: #2da47b; font-size: 9px; font-weight: 700; }.chart-change svg { width: 10px; height: 10px; }.chart-summary-label { color: #a1a9b5; font-size: 9px; }
.chart { display: flex; height: 108px; gap: 9px; padding-top: 6px; }
.chart-y-labels { display: flex; flex: 0 0 21px; flex-direction: column; justify-content: space-between; padding-bottom: 16px; color: #a5adba; font-size: 8px; }
.chart-bars { position: relative; display: flex; flex: 1; align-items: stretch; justify-content: space-around; border-bottom: 1px solid #edf0f5; background: repeating-linear-gradient(to bottom, transparent 0, transparent 32px, #f0f2f6 33px, transparent 34px); }
.chart-column { display: flex; width: 11%; height: 100%; flex-direction: column; align-items: center; justify-content: end; gap: 4px; }
.chart-column .bar { display: block; width: 16px; max-width: 72%; height: var(--bar); border-radius: 5px 5px 2px 2px; background: #9bb2f4; }
.chart-column .bar-muted { background: #dce4f8; }.chart-column .bar-today { background: #577de5; }
.chart-column small { height: 14px; color: #9ba4b2; font-size: 8px; white-space: nowrap; }.chart-column:last-child small { color: #5978ce; font-weight: 700; }
.reminders-panel { display: flex; flex-direction: column; }
.text-link { display: inline-flex; align-items: center; gap: 2px; color: #5978d0; font-size: 9px; font-weight: 700; white-space: nowrap; }
.text-link svg { width: 12px; height: 12px; }
.reminder-list { display: grid; gap: 2px; margin-top: 15px; }
.reminder-row, .notice-row { display: grid; grid-template-columns: 39px 8px minmax(0, 1fr) 25px; align-items: center; gap: 8px; min-height: 46px; border-bottom: 1px solid #f0f2f6; }
.reminder-time { color: #7f8a9c; font-size: 9px; font-weight: 700; }
.reminder-marker { width: 7px; height: 7px; border-radius: 50%; background: #6484e6; }.reminder-marker.amber { background: #e5ae58; }
.reminder-copy { display: grid; min-width: 0; gap: 3px; }.reminder-copy strong { overflow: hidden; color: #445066; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }.reminder-copy small { overflow: hidden; color: #a0a8b4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.reminder-check { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #e9edf3; border-radius: 6px; background: #fff; color: #9da7b5; cursor: pointer; }.reminder-check svg { width: 12px; height: 12px; }.reminder-check:hover { border-color: #b6e2d0; background: #effaf5; color: #2ca47a; }
.add-reminder { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: auto; padding: 12px 0 0; border: 0; background: none; color: #5978d0; font-size: 9px; font-weight: 700; }.add-reminder svg { width: 13px; height: 13px; }

.projects-section { margin-top: 26px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.section-heading .eyebrow { margin-bottom: 5px; }.section-heading h2 { margin: 0; font-size: 16px; }
.project-toolbar, .filter-tabs { display: flex; align-items: center; }.project-toolbar { justify-content: space-between; gap: 10px; margin: 14px 0 11px; }.filter-tabs { gap: 4px; }
.project-create-form { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(180px, 1fr) auto; align-items: end; gap: 10px; margin-bottom: 14px; padding: 13px; }.project-create-form h2 { grid-column: 1 / -1; margin: 0; font-size: 12px; }.project-create-form .form-actions { display: grid; justify-items: start; gap: 5px; }.project-create-form .api-note { max-width: 190px; }
.filter-tab { display: inline-flex; min-height: 27px; align-items: center; gap: 5px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: #858fa0; font-size: 9px; cursor: pointer; }.filter-tab span { color: #a3acb9; font-size: 8px; }.filter-tab:hover { background: #eef2fa; }.filter-tab.active { background: #eaf0ff; color: #4d70d0; font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-card { min-width: 0; padding: 14px; transition: transform .18s ease, box-shadow .18s ease; }.project-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,51,77,.08); }.project-card[hidden] { display: none; }
.project-card-top, .project-meta, .project-progress-label, .project-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.project-art { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; }.project-art svg { width: 17px; height: 17px; }
.art-mint { background: #e9f7f1; color: #41a985; }.art-lavender { background: #f0ecfb; color: #846fd0; }.art-peach { background: #fff2e9; color: #dd925e; }.art-sky { background: #eaf4fb; color: #5f9ac2; }
.more-button { width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: #9ba4b1; font-size: 18px; cursor: pointer; }.more-button:hover { background: #f3f5f9; }
.project-meta { margin-top: 11px; }.project-category { color: #389d7b; font-size: 8px; font-weight: 800; letter-spacing: .6px; }.category-purple { color: #836bc9; }.category-orange { color: #d8915a; }.category-sky { color: #5593bc; }.project-updated { color: #a1a9b5; font-size: 8px; }
.project-card h3 { overflow: hidden; margin: 5px 0 3px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.project-description { overflow: hidden; margin: 0; color: #919bab; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.project-progress-label { margin-top: 12px; color: #8b95a5; font-size: 8px; }.project-progress-label strong { color: #566176; font-size: 8px; }.progress-track { height: 4px; margin-top: 5px; }.progress-track span { display: block; height: 100%; border-radius: inherit; background: #68b99b; }.progress-purple span { background: #9480dc; }.progress-orange span { background: #e3aa70; }.progress-sky span { background: #7bb2d3; }
.project-card-bottom { margin-top: 11px; padding-top: 9px; border-top: 1px solid #f0f2f6; }.project-count { display: flex; align-items: center; gap: 4px; color: #929cac; font-size: 8px; white-space: nowrap; }.project-count svg { width: 11px; height: 11px; color: #a2adbd; }.project-count i { width: 3px; height: 3px; margin: 0 1px; border-radius: 50%; background: #c3cad4; }
.continue-button { display: inline-flex; align-items: center; gap: 3px; padding: 4px 0 4px 4px; border: 0; background: transparent; color: #5776d0; font-size: 8px; font-weight: 700; white-space: nowrap; }.continue-button svg { width: 11px; height: 11px; }
.empty-state, .empty-copy { padding: 22px; border: 1px dashed #dce2eb; border-radius: 9px; color: #8792a3; text-align: center; font-size: 11px; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 12px; border-top: 1px solid #e9edf3; color: #a3aab6; font-size: 8px; }

.api-status { margin-bottom: 16px; padding: 10px 12px; border: 1px solid #f0d7a5; border-radius: 8px; background: #fff8e9; color: #856321; font-size: 11px; }
.view-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }.view-heading h1 { margin: 0 0 5px; }.view-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.content-card { min-width: 0; padding: 17px; }.content-card p { color: var(--muted); font-size: 10px; line-height: 1.6; }.content-card h2 { margin-bottom: 9px; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 9px 0; border-bottom: 1px solid var(--line); }.list-row:last-child { border-bottom: 0; }.list-row strong { display: block; font-size: 10px; }.list-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.badge { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 99px; background: #edf2ff; color: #5273d1; font-size: 8px; font-weight: 700; white-space: nowrap; }.badge-green { background: #e9f7f1; color: #29956f; }.badge-amber { background: #fff4e5; color: #b97720; }.badge-muted { background: #f1f3f6; color: #7c8798; }
.data-table { width: 100%; border-collapse: collapse; font-size: 10px; }.data-table th, .data-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }.data-table th { color: #8993a3; font-size: 8px; font-weight: 700; letter-spacing: .4px; }.data-table td { color: #566176; }
.form-grid { display: grid; gap: 12px; }.form-field { display: grid; gap: 6px; }.form-field label { color: #657187; font-size: 10px; font-weight: 700; }.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid #e3e8f0; border-radius: 7px; background: #fff; color: var(--ink); font-size: 10px; }.form-field textarea { min-height: 92px; resize: vertical; }.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.progress-track.large { height: 8px; margin: 10px 0; }.file-drop { display: grid; min-height: 130px; place-items: center; padding: 20px; border: 1px dashed #cbd5e4; border-radius: 10px; background: #fbfcfe; color: #738096; text-align: center; }.file-drop svg { width: 26px; height: 26px; margin-bottom: 7px; color: #6b86dc; }.file-drop strong { display: block; margin-bottom: 4px; font-size: 11px; }.file-drop small { font-size: 9px; }
.coming-soon { display: grid; min-height: 210px; place-items: center; padding: 28px; border: 1px dashed #d9deea; border-radius: 12px; background: linear-gradient(135deg, #fff, #f7f8ff); text-align: center; }.coming-soon .coming-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 11px; border-radius: 15px; background: #efedff; color: #8066d8; }.coming-soon .coming-icon svg { width: 23px; height: 23px; }.coming-soon h2 { margin-bottom: 6px; }.coming-soon p { max-width: 430px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.loading-state, .error-state { display: grid; min-height: 230px; place-content: center; justify-items: center; gap: 12px; color: var(--muted); text-align: center; font-size: 11px; }.error-state h1 { font-size: 19px; }.error-state p { max-width: 480px; }
.spinner { width: 23px; height: 23px; border: 2px solid #dfe6f3; border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.auth-card { width: min(420px, 100%); margin: 30px auto; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.auth-card h1 { font-size: 22px; }.auth-card .auth-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; color: #5776d0; font-size: 10px; }
.text-link { padding: 0; border: 0; background: transparent; color: #5776d0; font-size: 10px; font-weight: 650; cursor: pointer; }
.api-note { margin: 4px 0 0; color: #8993a3; font-size: 9px; line-height: 1.6; }
.tree-preview { display: grid; justify-items: center; gap: 15px; padding: 28px 8px; overflow-x: auto; }
.tree-node { min-width: 115px; padding: 9px 13px; border: 1px solid #dfe6f3; border-radius: 8px; background: #fff; color: #59677e; text-align: center; font-size: 10px; box-shadow: 0 3px 10px rgba(37,51,77,.04); }
.tree-root { border-color: #9db4f4; background: #eef3ff; color: #4568c6; font-weight: 750; }
.tree-branches { position: relative; display: flex; justify-content: center; gap: 18px; padding-top: 13px; }
.tree-branches::before { position: absolute; top: 0; left: 16%; right: 16%; border-top: 1px solid #d8dfeb; content: ""; }
.tree-branches .tree-node::before { position: absolute; height: 13px; margin-top: -22px; border-left: 1px solid #d8dfeb; content: ""; }
.tree-branches .tree-node { position: relative; }
.tree-children { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; color: #939eae; font-size: 9px; }
.study-card { display: grid; justify-items: start; gap: 10px; }
.study-card ol { margin: 0; padding-left: 18px; color: #778398; font-size: 10px; line-height: 1.8; }
.pair-list { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 7px; color: #657187; font-size: 9px; }
.pair-list span { padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfe; }
.table-wrap { overflow-x: auto; }
.inline-search { width: min(220px, 45vw); min-height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; }
.admin-shortcuts { margin-top: 14px; }
.admin-shortcut { display: grid; gap: 5px; border: 1px solid var(--line); text-align: left; cursor: pointer; }
.admin-shortcut:hover { border-color: #c8d5fa; background: #fbfcff; }
.admin-shortcut strong { font-size: 11px; }
.admin-shortcut small { color: var(--muted); font-size: 9px; }
.file-drop { display: grid; min-height: 120px; place-items: center; padding: 18px; border: 1px dashed #cbd5e4; border-radius: 10px; background: #fbfcfe; color: #738096; text-align: center; cursor: pointer; }
.file-drop svg { width: 24px; height: 24px; margin-bottom: 6px; color: #6b86dc; }
.file-drop strong, .file-drop small { display: block; }
.file-drop strong { margin-bottom: 4px; font-size: 10px; }.file-drop small { font-size: 8px; }
.coming-soon { display: grid; min-height: 195px; place-items: center; padding: 24px; border: 1px dashed #d9deea; border-radius: 12px; background: linear-gradient(135deg, #fff, #f7f8ff); text-align: center; }
.coming-soon > div { max-width: 520px; }.coming-icon { display: inline-grid; width: 45px; height: 45px; place-items: center; margin-bottom: 9px; border-radius: 14px; background: #efedff; color: #8066d8; }.coming-icon svg { width: 22px; height: 22px; }
.coming-soon h2 { margin-bottom: 6px; }.coming-soon p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
code { padding: 2px 4px; border-radius: 4px; background: #f1f3f8; color: #5969a2; font-size: .9em; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 7px; }.toast { max-width: min(360px, calc(100vw - 32px)); padding: 11px 14px; border: 1px solid #dfe7ef; border-radius: 9px; background: #fff; box-shadow: 0 12px 32px rgba(35,47,70,.15); color: #516076; font-size: 10px; animation: toast-in .18s ease-out; }.toast-error { border-color: #f0cbcb; color: #994848; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) { .page-content { padding-right: 52px; padding-left: 52px; } }
@media (max-width: 1050px) { .topbar { padding-right: 25px; padding-left: 25px; }.page-content { padding-right: 25px; padding-left: 25px; }.overview-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .9fr); } }
@media (max-width: 850px) { .sidebar { width: 226px; }.main-area { margin-left: 226px; }.topbar-label { display: none; }.overview-grid { grid-template-columns: 1fr; }.reminders-panel { min-height: 200px; } }
@media (max-width: 700px) {
  .sidebar { width: 252px; transform: translateX(-100%); box-shadow: 15px 0 40px rgba(25,38,61,.12); }
  .main-area { margin-left: 0; }.topbar { height: 58px; gap: 9px; padding: 0 13px; }.menu-button { display: inline-grid; flex: 0 0 auto; }.search-box { width: auto; flex: 1; margin-left: 0; }.topbar-actions { gap: 6px; }.topbar-user-name, .topbar-divider { display: none; }.topbar-user .avatar { width: 30px; height: 30px; }
  .page-content { padding: 17px 13px 18px; }.sidebar-open .sidebar { transform: translateX(0); }.sidebar-open .sidebar-scrim { position: fixed; inset: 0; z-index: 19; display: block; background: rgba(23,35,55,.34); }
  .page-heading { align-items: start; }.page-heading .button { min-height: 34px; padding: 0 9px; font-size: 10px; }.stats-grid { grid-template-columns: 1fr; gap: 8px; }.stat-card { min-height: 112px; padding: 13px; }.stat-icon { float: left; margin: 0 10px 0 0; }.stat-title { padding-top: 2px; }.stat-value { font-size: 19px; }.stat-foot { margin-top: 4px; }.goal-track { display: none; }
  .overview-grid { margin-top: 9px; }.panel { padding: 14px 12px; }.project-grid, .content-grid, .project-create-form { grid-template-columns: 1fr; }.project-create-form h2 { grid-column: auto; }.projects-section { margin-top: 22px; }.page-footer { flex-direction: column; }
}
@media (max-width: 390px) { .demo-notice { max-width: 100%; font-size: 8px; }.demo-notice strong { font-size: 7px; }h1 { font-size: 22px; }.heading-subtitle { max-width: 190px; line-height: 1.5; }.filter-tab { padding: 0 7px; font-size: 8px; }.project-card-bottom { gap: 4px; }.project-count { gap: 3px; font-size: 7px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }