/* TRACE 迹研 — warm editorial surfaces, precise research tools. */
:root {
  --ink: #1d2320;
  --ink-soft: #404843;
  --muted: #7f8780;
  --muted-light: #a5aaa4;
  --paper: #f6f7f3;
  --surface: #fff;
  --surface-soft: #fafbf8;
  --border: #e7eae3;
  --border-strong: #d8dfd5;
  --green: #217552;
  --green-dark: #185c40;
  --green-light: #edf5ee;
  --lime: #d1f394;
  --sidebar: #1d2420;
  --sidebar-muted: #939d96;
  --shadow: 0 4px 20px -10px rgba(27, 46, 34, .16);
  --shadow-lg: 0 20px 65px rgba(20, 35, 26, .14);
  --radius: 15px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  font-size: 14px;
  line-height: 1.6;
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex-shrink: 0; }
.icon { width: 18px; height: 18px; vertical-align: middle; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
button svg, a svg { width: 18px; height: 18px; }
::selection { background: #d8eeda; color: #19452e; }
:focus-visible { outline: 3px solid #7eae84; outline-offset: 3px; }
[hidden] { display: none !important; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 232px; padding: 29px 18px 20px; background: var(--sidebar); color: #f5f7f2; display: flex; flex-direction: column; position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 29px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #a8cd83; border-radius: 9px; color: var(--lime); background: #263d2b; }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-size: 22px; line-height: 1.15; letter-spacing: 2.4px; font-weight: 650; }
.brand-name small { font-size: 10px; letter-spacing: 4px; color: #a5b1a6; display: block; margin-top: 6px; font-weight: 400; }
.brand span:last-child { letter-spacing: 1.1px; }
.workspace-switch { background: #29322c; border: 1px solid #3b453d; border-radius: 10px; display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: #e9efe7; text-align: left; width: 100%; font-size: 12px; margin-bottom: 27px; }
.workspace-switch > svg:last-child { margin-left: auto; color: #98a397; width: 14px; }
.workspace-icon { width: 26px; height: 26px; border-radius: 7px; background: #394b36; color: #b7d794; display: grid; place-items: center; }
.workspace-text strong { display: block; font-size: 12px; font-weight: 550; }
.workspace-text small { font-size: 10px; color: #9caa9d; }
.nav-group { margin-bottom: 23px; }
.nav-label { color: #6f7d72; font-size: 10px; letter-spacing: 1.5px; padding: 0 13px; margin-bottom: 8px; text-transform: uppercase; font-weight: 600; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; border: 0; background: transparent; color: #a9b3ac; font-size: 12px; border-radius: 8px; min-height: 42px; padding: 10px 13px; margin: 3px 0; text-align: left; transition: background .16s, color .16s; }
.nav-item svg { width: 17px; height: 17px; color: #92a096; }
.nav-item:hover { color: #fff; background: #2a352d; }
.nav-item.active { background: #d1f394; color: #243420; font-weight: 600; }
.nav-item.active svg { color: #2e4424; }
.nav-count { font-size: 10px; margin-left: auto; border: 1px solid #465448; color: #9fafa0; padding: 0 6px; line-height: 18px; border-radius: 5px; }
.nav-item.active .nav-count { color: #416232; border-color: #acd471; background: #c5e989; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; }
.sidebar-note { color: #b6c1b8; border: 1px solid #39473b; border-radius: 10px; padding: 14px; font-size: 11px; background: linear-gradient(140deg, #2c392c, #222b25); }
.sidebar-note strong { display: flex; align-items: center; gap: 7px; color: #d1edaf; font-size: 12px; font-weight: 550; margin-bottom: 6px; }
.sidebar-note p { color: #93a394; line-height: 1.7; font-size: 11px; }
.sidebar-note button { color: #d7e9c3; background: #384b31; border: 1px solid #4b6242; border-radius: 6px; width: 100%; margin-top: 13px; padding: 6px; font-size: 11px; }
.profile { display: flex; align-items: center; gap: 9px; padding: 18px 4px 0; margin-top: 16px; border-top: 1px solid #354038; }
.profile-info { font-size: 11px; flex: 1; }
.profile-info strong { display: block; font-weight: 550; color: #e1e8df; }
.profile-info small { font-size: 10px; color: #819184; }
.profile > svg { color: #8b9a8d; width: 17px; height: 17px; }
.avatar { width: 31px; height: 31px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eadcc5; color: #7b694f; font-size: 11px; font-weight: 650; border: 2px solid var(--surface); flex-shrink: 0; }
.profile .avatar { border-color: #354038; background: #dac5a5; }
.main-shell { margin-left: 232px; flex: 1; min-width: 0; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; background: rgba(250, 251, 248, .96); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #92998f; font-size: 11px; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb strong { color: #515b51; font-weight: 500; }
.breadcrumb > span { color: #c5cdc1; }
.topbar-actions { display: flex; align-items: center; gap: 12px; position: relative; }
.search-box { display: flex; align-items: center; gap: 9px; width: 238px; padding: 7px 10px; background: #f0f2eb; border: 1px solid #e7ebdf; border-radius: 8px; }
.search-box svg { color: #87917f; width: 15px; height: 15px; }
.search-box input { width: 100%; background: transparent; border: 0; outline: none; color: #414b3e; font-size: 11px; padding: 1px; min-width: 0; }
.search-box input::placeholder { color: #929a8d; }
.search-box kbd { font-size: 9px; white-space: nowrap; border: 1px solid #d8dfd0; background: #f8f9f4; padding: 0 4px; color: #969e8c; border-radius: 3px; font-family: inherit; }
.topbar-divider { height: 22px; width: 1px; background: var(--border); margin: 0 2px; }
.topbar .avatar { width: 30px; height: 30px; }
#content { max-width: 1640px; margin: 0 auto; padding: 30px 34px 35px; animation: page-in .28s ease-out; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 2.2px; color: #899981; text-transform: uppercase; margin-bottom: 5px; }
.page-title { font-size: 26px; font-weight: 650; letter-spacing: -.9px; line-height: 1.4; }
.page-description { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.8; }
.heading-actions { display: flex; align-items: center; gap: 9px; padding-bottom: 3px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 13px; min-height: 35px; border-radius: 7px; border: 1px solid transparent; font-size: 11px; font-weight: 550; line-height: 1.5; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn svg { width: 14px; height: 14px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 2px 3px #1f653215; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 3px 7px #1f653225; }
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: #596251; }
.btn-secondary:hover { background: #f2f5ed; border-color: #becbb5; }
.btn-ghost { background: transparent; color: #788471; }
.btn-ghost:hover { background: #edf1e7; color: #436038; }
.btn-icon { width: 32px; height: 32px; min-height: 32px; padding: 0; background: transparent; color: #7d8877; border-color: transparent; position: relative; }
.btn-icon:hover { background: #ecf0e6; color: #345a36; }
.btn-icon svg { width: 17px; height: 17px; }
.notification-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); position: absolute; top: 4px; right: 7px; border: 1px solid var(--surface-soft); }
.hero { min-height: 235px; border: 1px solid #e0e6d5; border-radius: var(--radius); background: #edf1e5; display: grid; grid-template-columns: 1.25fr 1fr; position: relative; overflow: hidden; margin-bottom: 24px; }
.hero::before { content: ""; position: absolute; right: -160px; top: -230px; width: 590px; height: 590px; background: radial-gradient(circle, #cfdec08f 0, #e4ecd440 38%, transparent 63%); pointer-events: none; }
.hero-content { padding: 29px 32px; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 7px; color: #567448; font-size: 10px; letter-spacing: 1px; margin-bottom: 14px; }
.hero-kicker svg { width: 13px; height: 13px; }
.hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6e9552; box-shadow: 0 0 0 3px #dce7ce; }
.hero-title { font-size: 30px; letter-spacing: -1px; font-weight: 600; line-height: 1.5; color: #2d3c26; }
.hero-title em { font-style: normal; color: #577746; }
.hero-copy { font-size: 11px; color: #7c8972; line-height: 1.9; margin-top: 10px; max-width: 450px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 19px; }
.hero-actions .btn { min-height: 32px; font-size: 10px; padding: 7px 12px; }
.hero-art { min-width: 0; position: relative; overflow: hidden; align-self: stretch; }
.orbit-ring { width: 222px; height: 222px; border: 1px solid #b4c29e; border-radius: 50%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit-ring:nth-child(2) { width: 144px; height: 144px; border-style: dashed; border-color: #becdae; }
.orbit-ring:nth-child(3) { width: 295px; height: 295px; border-color: #dce3d0; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; border-radius: 21px; background: #284f32; box-shadow: 0 10px 22px #48614124, inset 0 1px #ffffff17; display: grid; place-items: center; color: #d1f394; transform: translate(-50%, -50%) rotate(-9deg); z-index: 2; }
.orbit-core svg { width: 40px; height: 40px; transform: rotate(9deg); }
.orbit-node { display: grid; place-items: center; width: 31px; height: 31px; border: 3px solid #edf1e5; border-radius: 50%; color: #658151; background: #dce7ce; position: absolute; z-index: 3; box-shadow: 0 2px 7px #354d2c0e; }
.orbit-node svg { width: 14px; height: 14px; }
.orbit-node:nth-of-type(4) { top: 19%; left: 31%; }
.orbit-node:nth-of-type(5) { top: 23%; right: 20%; }
.orbit-node:nth-of-type(6) { bottom: 16%; right: 32%; }
.hero-status { background: #fafcf5ed; border: 1px solid #fff; border-radius: 9px; box-shadow: 0 5px 22px #34472c0d; position: absolute; right: 27px; bottom: 27px; padding: 10px 13px; display: flex; gap: 9px; align-items: center; z-index: 4; font-size: 10px; color: #69785f; min-width: 151px; backdrop-filter: blur(5px); }
.hero-status strong { display: block; color: #3c5830; font-size: 10px; font-weight: 550; }
.hero-status svg { width: 17px; height: 17px; color: #749d55; }
.hero-status small { color: #8c9685; font-size: 9px; }
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1px 0 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: 28px; box-shadow: var(--shadow); }
.metric { padding: 19px 23px 18px; position: relative; }
.metric + .metric::before { content: ""; width: 1px; position: absolute; left: 0; top: 20px; bottom: 20px; background: var(--border); }
.metric-label { color: #8b9385; font-size: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metric-label svg { color: #a5afa0; width: 15px; height: 15px; }
.metric-value { font-size: 29px; line-height: 1.5; font-weight: 550; letter-spacing: -1.3px; font-variant-numeric: tabular-nums; margin-top: 5px; }
.metric-value small { font-size: 10px; font-weight: 400; letter-spacing: 0; color: #98a090; margin-left: 5px; }
.metric-trend { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #84947a; margin-top: 3px; }
.metric-trend svg { width: 11px; height: 11px; }
.metric-trend strong { color: #3e8050; font-weight: 500; }
.metric-trend span { color: #a0a795; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 23px; }
.primary-column, .secondary-column { min-width: 0; display: flex; flex-direction: column; gap: 23px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 21px 15px; }
.section-title { font-size: 14px; font-weight: 600; letter-spacing: -.2px; display: flex; align-items: center; gap: 8px; }
.section-title svg { width: 16px; height: 16px; color: #789168; }
.section-note { font-size: 10px; color: #919b89; line-height: 1.7; margin-top: 4px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font-size: 10px; color: #7d8d71; font-weight: 500; white-space: nowrap; cursor: pointer; }
.text-link:hover { color: var(--green); }
.text-link svg { width: 12px; height: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel .project-grid { padding: 0 20px 20px; }
.project-card { border: 1px solid var(--border); border-radius: 11px; background: var(--surface); padding: 18px 16px 0; position: relative; transition: border-color .18s, box-shadow .18s, transform .18s; overflow: hidden; min-width: 0; }
.project-card:hover { border-color: #b9cbae; transform: translateY(-2px); box-shadow: 0 7px 20px #2b412614; }
.project-card-head { display: flex; align-items: center; gap: 9px; position: relative; }
.project-logo { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; font-size: 17px; font-weight: 700; color: #fff; overflow: hidden; }
.project-logo svg { width: 23px; height: 23px; }
.logo-aurora { background: #314f85; color: #e6eafe; }
.logo-nova { background: #e3ea4b; color: #536623; }
.logo-moss { background: #465e41; color: #d9e5ca; }
.logo-vertex { background: #eae5da; color: #b59156; }
.project-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-handle { font-size: 9px; color: #9a9f94; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-card-head .btn-icon { margin-left: auto; width: 22px; height: 22px; min-height: 22px; }
.project-card-head .btn-icon svg { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; background: #f3f5ee; color: #8a927b; border-radius: 4px; padding: 2px 6px; border: 1px solid #edf0e4; line-height: 1.6; }
.tags { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 12px 0 8px; }
.stage-pill { display: inline-flex; align-items: center; gap: 4px; background: #eff6e8; color: #6c8c54; font-size: 9px; padding: 2px 6px; border-radius: 4px; line-height: 1.6; }
.stage-pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #82a969; }
.project-description { color: #89907f; font-size: 10px; line-height: 1.85; margin: 10px 0 16px; min-height: 36px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #9aa18f; font-size: 9px; margin-bottom: 14px; }
.card-meta svg { width: 11px; height: 11px; }
.card-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.avatar-stack { display: inline-flex; align-items: center; padding-left: 5px; }
.avatar-stack .avatar { width: 20px; height: 20px; font-size: 6px; margin-left: -5px; border-width: 1.5px; background: #e1e4d8; color: #7e8870; }
.avatar-stack .avatar:nth-child(2) { background: #d5ddd0; }
.avatar-stack .avatar:nth-child(3) { background: #e7dcc6; }
.project-stage { margin: 0 0 13px; }
.project-stage-label { font-size: 9px; display: flex; justify-content: space-between; gap: 6px; margin-bottom: 5px; color: #8f9785; }
.progress-track { height: 3px; background: #edf0e6; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: #779c64; }
.project-card-footer { border-top: 1px solid #eff1e9; display: flex; align-items: center; gap: 4px; padding: 10px 0; color: #91a081; font-size: 9px; }
.project-card-footer svg { width: 11px; height: 11px; }
.project-card-footer > span:last-child { margin-left: auto; color: #a4ac97; }
.filter-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0 0 19px; }
.filter-tab { color: #929a86; font-size: 11px; border: 1px solid transparent; background: transparent; padding: 6px 12px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; }
.filter-tab span { font-size: 9px; color: #a3ac97; }
.filter-tab:hover { background: #eaf0e1; color: #65824c; }
.filter-tab.active { background: #e9efdf; border-color: #dce5ce; color: #5f7d48; font-weight: 550; }
.filter-tab.active span { color: #83a268; }
.feed-list { padding: 0 21px 3px; }
.feed-item { display: flex; align-items: flex-start; gap: 12px; padding: 18px 0; border-top: 1px solid #eff1e8; }
.feed-item:first-child { border-top: 0; padding-top: 6px; }
.feed-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #f0f3e9; color: #869b70; flex-shrink: 0; }
.feed-icon svg { width: 15px; height: 15px; }
.feed-icon.ai { color: #5f8764; background: #eaf3e9; }
.feed-content { flex: 1; min-width: 0; }
.feed-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a0a793; font-size: 9px; margin-bottom: 4px; }
.feed-top strong { font-size: 10px; color: #6f7d60; font-weight: 550; }
.feed-title { font-size: 11px; line-height: 1.7; font-weight: 550; margin-bottom: 5px; }
.feed-copy { color: #949a89; font-size: 10px; line-height: 1.85; }
.feed-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.pill { font-size: 8px; color: #8aa073; background: #f0f5e9; border: 1px solid #e6eddc; padding: 1px 5px; border-radius: 4px; line-height: 1.7; display: inline-flex; align-items: center; gap: 3px; }
.pill svg { width: 9px; height: 9px; }
.source-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; color: #a2aa97; padding: 1px 4px; }
.source-chip svg { width: 9px; height: 9px; }
.agenda-list { padding: 0 21px 8px; }
.agenda-item { display: flex; align-items: center; gap: 11px; padding: 14px 0; border-top: 1px solid #eff1e8; }
.agenda-item:first-child { border-top: 0; padding-top: 3px; }
.agenda-date { width: 36px; height: 41px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid #e5eadb; border-radius: 7px; background: #f5f7f0; color: #85946f; font-size: 8px; flex-shrink: 0; line-height: 1.4; }
.agenda-date strong { font-size: 16px; font-weight: 550; color: #5e7450; }
.agenda-info { min-width: 0; flex: 1; }
.agenda-info strong { font-size: 10px; font-weight: 550; display: block; line-height: 1.6; }
.agenda-info small { color: #9ea68f; font-size: 9px; display: block; }
.agenda-time { font-size: 9px; color: #a5ad98; white-space: nowrap; }
.insight-card { background: #edf1e6; border: 1px solid #e0e7d5; border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.insight-card::after { content: "✳"; font-size: 88px; line-height: 1; position: absolute; right: -9px; top: 48px; color: #cbd9ba; transform: rotate(15deg); opacity: .6; pointer-events: none; }
.insight-mark { font-size: 9px; color: #718c57; font-weight: 550; letter-spacing: 1px; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.insight-mark svg { width: 13px; height: 13px; }
.insight-title { font-size: 15px; font-weight: 550; line-height: 1.6; color: #51683d; max-width: 190px; position: relative; z-index: 1; }
.insight-copy { font-size: 10px; color: #8b9b79; line-height: 1.85; margin: 9px 0 15px; max-width: 210px; position: relative; z-index: 1; }
.insight-card .text-link { color: #637f48; font-size: 10px; }
.connection-row { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid #eff1e9; }
.connection-row:last-child { padding-bottom: 18px; }
.connection-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #f3f5ee; color: #8d9a7c; flex-shrink: 0; }
.connection-icon svg { width: 15px; height: 15px; }
.connection-detail { flex: 1; font-size: 10px; }
.connection-detail strong { font-size: 10px; font-weight: 500; display: block; }
.connection-detail small { font-size: 8px; color: #a4ad95; display: block; }
.connection-state { font-size: 8px; color: #81a16b; display: flex; align-items: center; gap: 4px; }
.connection-state::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #83a46d; }
.connection-state.pending { color: #b0a88b; }
.connection-state.pending::before { background: #c1b587; }
.empty-state { text-align: center; padding: 52px 20px; color: var(--muted); background: #fbfcf8; border: 1px dashed var(--border-strong); border-radius: 12px; grid-column: 1 / -1; }
.empty-state svg { color: #a2b98c; width: 30px; height: 30px; margin-bottom: 10px; }
.empty-state h3 { font-size: 14px; font-weight: 500; color: #66765a; }
.empty-state p { font-size: 11px; margin-top: 6px; }
.empty-state .btn { margin-top: 15px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 23px; border-bottom: 1px solid var(--border); }
.calendar-toolbar h2 { font-size: 17px; font-weight: 550; letter-spacing: -.3px; }
.calendar-toolbar h2 small { font-size: 11px; color: #a0aa93; font-weight: 400; margin-left: 9px; }
.calendar-controls { display: flex; align-items: center; gap: 6px; }
.calendar-week, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-week { border-bottom: 1px solid var(--border); color: #a0a98f; font-size: 10px; text-align: center; padding: 11px 0; background: #fcfdf9; }
.calendar-cell { padding: 12px 9px; min-height: 112px; border-right: 1px solid #edf0e5; border-bottom: 1px solid #edf0e5; background: #fff; }
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell.is-other { background: #fafbf7; }
.calendar-cell.is-other .day-number { color: #c5cdb8; }
.calendar-cell.is-today { background: #f4f8ec; }
.day-number { display: grid; place-items: center; width: 23px; height: 23px; color: #8a967c; font-size: 10px; margin-bottom: 7px; }
.is-today .day-number { background: #7b9b64; color: #fff; border-radius: 50%; }
.calendar-event { display: flex; align-items: center; gap: 4px; background: #eff5e5; border: 1px solid #e2ebd4; color: #81966a; font-size: 8px; padding: 3px 5px; margin-bottom: 4px; border-radius: 4px; line-height: 1.6; text-align: left; width: 100%; overflow: hidden; }
.calendar-event span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.calendar-event::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #91aa76; flex-shrink: 0; }
.calendar-event:hover { border-color: #b4cb96; background: #e8f0da; }
.calendar-event.blue { background: #edf1f7; border-color: #e0e7f0; color: #8698b4; }
.calendar-event.blue::before { background: #94a5c2; }
.calendar-event.gold { background: #faf5e7; border-color: #f1e8d1; color: #b0a178; }
.calendar-event.gold::before { background: #c1b17f; }
.calendar-legend { display: flex; gap: 14px; justify-content: flex-end; padding: 14px 22px; font-size: 9px; color: #a4ad95; }
.calendar-legend span { display: flex; align-items: center; gap: 5px; }
.calendar-legend i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #8ca96f; }
.calendar-legend span:nth-child(2) i { background: #8da3bf; }
.calendar-legend span:nth-child(3) i { background: #c1af7d; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 23px; align-items: start; }
.editor-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.editor-toolbar { display: flex; align-items: center; gap: 4px; padding: 12px 19px; border-bottom: 1px solid var(--border); background: #fdfefb; }
.editor-toolbar button { min-height: 28px; width: 28px; border: 0; background: transparent; border-radius: 5px; color: #99a68b; font-size: 12px; }
.editor-toolbar button:hover { background: #edf2e5; color: #688950; }
.editor-toolbar svg { width: 14px; height: 14px; }
.editor-title { border: 0; border-bottom: 1px solid #edf0e6; width: calc(100% - 44px); margin: 9px 22px 0; padding: 20px 0 17px; font-size: 20px; color: #39492f; font-weight: 500; outline: none; background: transparent; }
.editor-title::placeholder { color: #c0c9b4; }
.editor-body { resize: vertical; border: 0; width: 100%; min-height: 340px; padding: 20px 23px; color: #6d7c5e; font-size: 12px; line-height: 2.2; outline: none; background: transparent; }
.editor-body::placeholder { color: #b5bfa8; }
.editor-footer { padding: 13px 21px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #a4ae94; font-size: 9px; }
.field-label { font-size: 11px; font-weight: 500; color: #6a7c58; margin-bottom: 10px; display: block; }
.channel-picker { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 20px; }
.channel-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 9px; padding: 11px; color: #7e8d6e; font-size: 10px; cursor: pointer; background: #fdfefb; transition: border-color .16s, background .16s; }
.channel-option:has(input:checked) { border-color: #bbcfaa; background: #f1f6e9; }
.channel-option input { accent-color: #72975b; width: 13px; height: 13px; margin-left: auto; }
.channel-option strong { display: block; font-size: 10px; font-weight: 500; }
.channel-option small { color: #a1ad93; display: block; font-size: 8px; margin-top: 2px; }
.channel-option > svg { width: 17px; height: 17px; }
.channel-option .tag { margin-left: auto; }
.channel-preview { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.preview-header { display: flex; align-items: center; gap: 9px; padding: 17px 18px 12px; }
.preview-header strong { font-size: 10px; font-weight: 500; display: block; }
.preview-header small { color: #a7b09a; font-size: 9px; display: block; }
.preview-body { padding: 0 19px 19px; color: #849274; font-size: 10px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-body h3 { color: #526a41; font-size: 14px; font-weight: 550; margin-bottom: 10px; }
.publish-results { padding: 0 20px 20px; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #edf0e6; padding: 10px 0; font-size: 10px; color: #8e9a7d; }
.result-row:last-child { border-bottom: 0; }
.result-row span:last-child { font-size: 9px; color: #67914d; }
.result-row.pending span:last-child { color: #b0a07e; }
.studio-actions { padding: 0 20px 20px; display: flex; gap: 8px; }
.studio-actions .btn { flex: 1; }
.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rule-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 21px; box-shadow: var(--shadow); }
.rule-head { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.rule-head .connection-icon { width: 35px; height: 35px; border-radius: 9px; }
.rule-head h3 { font-size: 12px; font-weight: 550; }
.rule-head p { font-size: 9px; color: #a0ac92; margin-top: 3px; }
.switch-toggle { width: 30px; height: 17px; padding: 2px; background: #dfe6d7; border: 0; border-radius: 20px; margin-left: auto; position: relative; flex-shrink: 0; }
.switch-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #43572d22; transition: transform .2s; }
.switch-toggle[aria-checked="true"], .switch-toggle.active { background: #82a268; }
.switch-toggle[aria-checked="true"]::after, .switch-toggle.active::after { transform: translateX(13px); }
.rule-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 9px; color: #a5af96; border-top: 1px solid #edf0e6; padding-top: 15px; }
.rule-details strong { display: block; color: #7d8f6a; font-size: 10px; font-weight: 500; margin-top: 3px; }
.rule-card .btn { margin-top: 16px; font-size: 10px; }
.member-table { width: 100%; overflow-x: auto; }
.table-head, .table-row { display: grid; grid-template-columns: minmax(160px, 1.6fr) 1fr 1fr 1fr 70px; align-items: center; gap: 15px; min-width: 600px; }
.table-head { padding: 10px 22px; background: #fafcf5; border-bottom: 1px solid var(--border); font-size: 9px; color: #a1ad91; }
.table-row { padding: 15px 22px; border-bottom: 1px solid #edf1e5; color: #8d9b7a; font-size: 10px; }
.table-row:last-child { border-bottom: 0; }
.member-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #edf0e2; color: #9baa82; font-size: 10px; }
.member-name { display: flex; align-items: center; gap: 9px; }
.member-name strong { font-size: 10px; font-weight: 550; color: #6e8059; display: block; }
.member-name small { font-size: 8px; color: #aab49b; display: block; }
.demo-notice { display: flex; align-items: flex-start; gap: 8px; border: 1px solid #e3e9d7; background: #eef3e5; color: #92a279; padding: 10px 13px; border-radius: 8px; font-size: 9px; line-height: 1.8; margin-top: 20px; }
.demo-notice svg { width: 13px; height: 13px; margin-top: 2px; color: #93aa76; }
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.discussion-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 21px; transition: border-color .15s; }
.discussion-card:hover { border-color: #bed0ae; }
.discussion-card h3 { font-size: 14px; color: #5a7047; font-weight: 550; line-height: 1.7; margin: 13px 0 7px; }
.discussion-card p { font-size: 10px; color: #99a58b; line-height: 1.9; }
.discussion-card .feed-footer { justify-content: space-between; margin-top: 18px; }
.discussion-author { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #92a07f; }
.discussion-author .avatar { width: 24px; height: 24px; font-size: 8px; }
.search-results { position: absolute; top: 46px; right: 102px; width: 350px; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 7px; box-shadow: var(--shadow-lg); z-index: 70; }
.search-result { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; color: #718662; border: 0; background: transparent; padding: 10px; border-radius: 7px; font-size: 10px; }
.search-result:hover { background: #f1f6e8; }
.search-result .project-logo { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; }
.search-result strong { display: block; font-weight: 550; }
.search-result small { color: #a2b08f; display: block; font-size: 9px; }
.notification-menu { position: absolute; right: 42px; top: 49px; width: 315px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 70; }
.notification-menu .panel-header { padding: 15px 17px 10px; }
.notification-menu .section-title { font-size: 12px; }
.notification-menu .feed-list { padding: 0 17px; }
.notification-menu .feed-item { gap: 9px; padding: 13px 0; }
.notification-menu .feed-title { font-size: 10px; }
.notification-menu .feed-copy { font-size: 9px; }
.drawer-backdrop { position: fixed; inset: 0; background: #14201732; backdrop-filter: blur(3px); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: 430px; max-width: 100%; background: #fff; z-index: 90; box-shadow: -10px 0 50px #21341813; transform: translateX(100%); transition: transform .26s ease; overflow-y: auto; }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 23px 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); font-size: 10px; letter-spacing: 1px; color: #a2b18f; }
.drawer-body { padding: 25px 26px 30px; }
.drawer-body .project-logo { width: 48px; height: 48px; font-size: 22px; margin-bottom: 16px; border-radius: 12px; }
.drawer-title { font-size: 24px; font-weight: 550; line-height: 1.5; letter-spacing: -.5px; }
.drawer-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 7px; color: #a2b08f; font-size: 10px; }
.drawer-body .project-description { font-size: 11px; line-height: 2; margin: 19px 0 23px; }
.drawer-body .section-title { margin: 25px 0 17px; font-size: 12px; }
.detail-timeline { position: relative; }
.detail-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 14px; width: 1px; background: #e5edd8; }
.timeline-item { position: relative; padding: 0 0 22px 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; top: 6px; left: 1px; width: 9px; height: 9px; border: 2px solid #ecf2e1; background: #88a46c; border-radius: 50%; }
.timeline-time { color: #aebaa0; font-size: 9px; margin-bottom: 3px; }
.timeline-title { color: #6b8256; font-size: 11px; font-weight: 500; }
.timeline-copy { color: #9aa88b; font-size: 10px; line-height: 1.9; margin-top: 4px; }
.detail-actions { display: flex; gap: 8px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--border); }
.detail-actions .btn { flex: 1; }
#project-modal { border: 1px solid var(--border); background: #fff; border-radius: 16px; padding: 26px; width: 510px; max-width: calc(100vw - 32px); color: var(--ink); box-shadow: var(--shadow-lg); }
#project-modal::backdrop { background: #1526194d; backdrop-filter: blur(4px); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.modal-header h2 { font-size: 19px; font-weight: 550; letter-spacing: -.3px; }
.modal-header p { color: #9baa8b; font-size: 10px; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 15px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 10px; color: #82986b; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select { border: 1px solid #e0e7d5; border-radius: 7px; color: #6f865a; background: #fbfdf7; font-size: 11px; width: 100%; padding: 9px 10px; outline: none; }
.form-field textarea { resize: vertical; min-height: 76px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #90ad77; box-shadow: 0 0 0 3px #eaf2de; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #b6c3a7; }
.form-field small { color: #a8b998; font-size: 9px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--border); }
.toast { position: fixed; left: calc(50% + 116px); bottom: 25px; transform: translate(-50%, 18px); background: #243b28; color: #dcebcf; display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 9px; box-shadow: 0 8px 28px #1a301c25; font-size: 11px; z-index: 150; opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; max-width: calc(100% - 35px); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 15px; height: 15px; color: #b2d88d; }
.bottom-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 34px; padding: 18px 0 24px; border-top: 1px solid var(--border); color: #a4ae98; font-size: 8px; letter-spacing: .4px; }
.bottom-bar > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.footer-separator { margin: 0 6px; color: #c0c8b5; }
.footer-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 27px; color: #afb8a0; font-size: 8px; }
.footer-note span { display: inline-flex; align-items: center; gap: 5px; }
.footer-note svg { width: 10px; height: 10px; }
/* Bind the visual system to the rendered workspace components. */
.brand { letter-spacing: 2.5px; font-weight: 650; font-size: 22px; }
.brand-symbol { width: 31px; height: 31px; border: 1px solid #79915b; border-radius: 8px; color: #c9ec92; display: grid; place-items: center; }
.brand-symbol svg { width: 23px; height: 23px; }
.brand-cn { display: block; margin-top: 2px; letter-spacing: 5.5px; color: #a9b7a7; font-size: 9px; font-weight: 400; }
.workspace-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 6px; background: #415438; color: #c8dfb3; font-size: 11px; font-weight: 550; }
.workspace-switch > span:nth-child(2) { font-size: 11px; line-height: 1.65; }
.workspace-switch small { display: block; color: #8fa28e; font-size: 9px; }
.workspace-switch > [data-icon] { margin-left: auto; color: #829880; }
.workspace-switch > [data-icon] svg { width: 13px; height: 13px; }
.nav-label { display: block; }
.nav-item .accent { border-color: #51613e; background: #3b4d31; color: #bdce9d; }
.plan-card { border: 1px solid #3b4937; border-radius: 10px; padding: 16px 14px; background: linear-gradient(135deg, #2b382b, #253127); }
.plan-label { color: #97b378; display: flex; align-items: center; gap: 5px; font-size: 8px; letter-spacing: 1.2px; }
.plan-label .icon { width: 11px; height: 11px; }
.plan-card p { font-size: 12px; color: #d1ddc5; margin-top: 9px; letter-spacing: .2px; }
.plan-progress { height: 3px; background: #455440; margin: 16px 0 7px; border-radius: 5px; }
.plan-progress span { display: block; width: 68%; height: 100%; background: #a4c771; border-radius: 5px; }
.plan-card small { font-size: 8px; color: #7f9577; }
.profile { width: 100%; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; color: #d6e1ce; font-size: 11px; cursor: pointer; }
.profile > span:nth-child(2) { flex: 1; line-height: 1.7; }
.profile small { display: block; font-size: 9px; color: #889d80; }
.profile > [data-icon] { color: #7f9476; }
.profile > [data-icon] svg { width: 13px; height: 13px; }
.topbar .demo-notice { display: inline-flex; align-items: center; border: 0; background: transparent; font-size: 9px; color: #a2ad95; margin: 0 5px 0 0; padding: 0; white-space: nowrap; }
.notification-button i { width: 5px; height: 5px; position: absolute; top: 5px; right: 6px; background: #85a263; border: 1px solid #f6f8f1; border-radius: 50%; }
.hero-status-line { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; color: #879c73; }
.avatar-stack i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; background: #a6b78f; color: #f5f8ee; border: 2px solid #edf1e5; border-radius: 50%; font-size: 7px; margin-left: -5px; }
.avatar-stack i:nth-child(2) { background: #c4cd93; color: #73804c; }
.avatar-stack i:nth-child(3) { background: #809b71; }
.orbit-core { transform: translate(-50%, -50%) rotate(-10deg); width: 97px; height: 97px; border-radius: 23px; display: flex; flex-direction: column; justify-content: center; }
.orbit-core span { font-size: 21px; font-weight: 500; letter-spacing: 3px; margin-left: 3px; transform: rotate(10deg); }
.orbit-core small { font-size: 4.5px; letter-spacing: 1.1px; color: #95b780; margin-top: 2px; transform: rotate(10deg); }
.orbit-ring.ring-one { transform: translate(-50%, -50%) rotate(-25deg) scaleX(1.16); }
.orbit-ring.ring-two { transform: translate(-50%, -50%) rotate(20deg) scaleX(1.08); border-style: solid; }
.orbit-ring.ring-three { transform: translate(-50%, -50%) rotate(-20deg) scaleX(1.1); }
.orbit-node { width: 12px; height: 12px; border-width: 3px; background: #8faa6d; }
.orbit-node.node-one { top: 23%; left: 27%; }
.orbit-node.node-two { top: 22%; right: 27%; }
.orbit-node.node-three { bottom: 24%; right: 26%; background: #cad7b4; }
.hero-status { padding: 9px 11px; gap: 8px; min-width: 184px; }
.hero-status.status-one { top: 30px; left: 2px; right: auto; bottom: auto; }
.hero-status.status-two { bottom: 31px; right: 20px; }
.hero-status > div { color: #61774e; font-size: 10px; font-weight: 500; }
.hero-status small { display: block; font-weight: 400; margin-top: 2px; font-size: 8px; color: #9dac8b; }
.status-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: #87a466; background: #edf3e3; }
.status-icon .icon { width: 13px; height: 13px; }
.hero-status .status-check .icon { width: 11px; height: 11px; color: #9aad86; }
.art-coordinate { position: absolute; right: 31px; top: 24px; font-size: 6px; letter-spacing: 2px; color: #a6b698; }
.metric > div { display: flex; align-items: baseline; gap: 10px; margin-top: 5px; }
.metric-value { display: inline-block; }
.metric-trend { display: inline-flex; margin-top: 0; font-size: 8px; }
.section-count { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid #e4eadb; background: #f6f8f0; color: #95a683; font-size: 9px; border-radius: 5px; font-weight: 400; }
.live-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 6px; font-weight: 500; color: #a4b18d; letter-spacing: .8px; border: 1px solid #e7eddf; background: #f5f8ef; padding: 2px 5px; border-radius: 3px; margin-left: 4px; }
.live-pill i, .status-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #93ab75; }
.project-card-head { justify-content: space-between; margin-bottom: 15px; }
.project-card-head .stage-pill { font-size: 8px; padding: 2px 5px; }
.project-title-button { border: 0; background: transparent; padding: 0; text-align: left; width: 100%; }
.project-title-button:hover .project-name { color: #4f793b; }
.project-title-button .project-name { font-size: 13px; line-height: 1.4; transition: color .15s; }
.project-description { min-height: 37px; margin: 9px 0 14px; }
.project-stage { display: flex; justify-content: space-between; font-size: 8px; color: #a8b494; margin: 0 0 6px; }
.project-stage strong { font-weight: 500; color: #8fa079; }
.project-card .progress-track { margin-bottom: 16px; }
.visibility-label { display: inline-flex; align-items: center; gap: 3px; font-size: 8px; color: #a2ad91; }
.visibility-label .icon { width: 9px; height: 9px; }
.project-card-footer { padding: 8px 0; justify-content: space-between; }
.project-card-footer > span { display: inline-flex; gap: 4px; align-items: center; font-size: 8px; }
.project-card-footer .btn-icon { width: 20px; height: 20px; min-height: 20px; }
.project-card-footer .btn-icon .icon { width: 12px; height: 12px; }
.project-filter { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.filter-note { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: #a4b18f; padding-top: 7px; }
.filter-note .icon { width: 10px; height: 10px; }
.full-project-grid { gap: 19px; }
.full-project-grid .project-card { padding: 23px 23px 0; }
.full-project-grid .project-description { font-size: 11px; }
.full-project-grid .project-title-button .project-name { font-size: 16px; }
.full-project-grid .project-logo { width: 42px; height: 42px; font-size: 20px; }
.feed-title { display: block; width: 100%; padding: 0; color: #526844; font-weight: 500; border: 0; background: transparent; text-align: left; }
.feed-title:hover { color: #348055; }
.feed-top > span { color: #8da17a; font-size: 9px; }
.feed-top time { color: #acb59d; font-size: 8px; }
.feed-important { background: #f7f1e4; color: #b2a273; }
.pill-green { color: #809966; background: #f0f6e7; border-color: #e3ecd6; }
.pill-gold { color: #b2a178; background: #faf6eb; border-color: #f0e8d3; }
.feed-footer .text-link { margin-left: auto; font-size: 9px; }
.feed-item.is-read { opacity: .65; }
.agenda-item { width: 100%; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; }
.agenda-item:hover .agenda-info strong { color: #3f7547; }
.agenda-info > span { display: block; font-size: 8px; color: #a3b08e; margin-top: 1px; }
.agenda-info .agenda-time { display: flex; gap: 4px; align-items: center; font-size: 7px; margin-top: 3px; color: #b5bda8; }
.agenda-time .icon { width: 9px; height: 9px; }
.agenda-date { width: 38px; height: 45px; }
.agenda-date strong { line-height: 1.25; }
.agenda-date small { font-size: 6px; letter-spacing: .8px; }
.insight-card > .insight-mark { position: absolute; right: 22px; top: 28px; font-size: 48px; line-height: 1; color: #a8bd88; transform: rotate(12deg); }
.insight-card::after { display: none; }
.insight-card .eyebrow { font-size: 6px; color: #a4b18c; letter-spacing: 1px; margin-bottom: 12px; display: block; }
.insight-title { font-size: 23px; line-height: 1.5; letter-spacing: -.5px; font-weight: 500; }
.insight-copy { font-size: 9px; color: #a0ad8e; }
.insight-platforms { display: flex; align-items: center; gap: 11px; color: #a1b08b; margin-top: 20px; }
.insight-platforms .icon { width: 12px; height: 12px; }
.connection-telegram { color: #89a4b7; background: #f0f5f7; }
.connection-feishu { color: #93bca7; background: #f0f7f2; }
.connection-x { color: #818d77; background: #f4f6f0; }
.connection-binance { color: #bba767; background: #faf7eb; }
.connection-okx { color: #99a48e; background: #f5f7f0; }
.connection-state { color: #bac3ab; font-size: 7px; }
.connection-state::before { background: #c5cebb; }
.connection-state.enabled { color: #92ab75; }
.connection-state.enabled::before { background: #95b477; }
.channel-footnote { display: block; padding: 11px 20px 16px; font-size: 7px; color: #b6c0a6; border-top: 1px solid #f0f3e8; }
.inbox-banner { padding: 20px 22px; display: flex; align-items: center; gap: 14px; background: #edf3e4; border: 1px solid #e0e9d3; border-radius: 12px; margin-bottom: 23px; }
.inbox-banner .insight-mark { margin: 0; width: 37px; height: 37px; border: 1px solid #dce7ce; border-radius: 10px; background: #f9fcf3; display: grid; place-items: center; }
.inbox-banner .insight-mark .icon { width: 18px; height: 18px; }
.inbox-banner > div { flex: 1; }
.inbox-banner strong { font-size: 13px; font-weight: 500; color: #637e4d; }
.inbox-banner p { color: #a1b38e; font-size: 9px; margin-top: 4px; }
.wide-feed .feed-list { padding: 12px 27px; }
.wide-feed .feed-item { gap: 16px; padding: 23px 0; }
.wide-feed .feed-title { font-size: 14px; }
.wide-feed .feed-copy { font-size: 11px; }
.wide-feed .feed-icon { width: 36px; height: 36px; }
.calendar-toolbar > div:first-child { display: flex; gap: 15px; align-items: center; }
.calendar-toolbar .heading-actions { padding: 0; }
.calendar-toolbar [data-action="calendar-prev"] .icon { transform: rotate(180deg); }
.calendar-event { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; padding: 6px 7px; min-height: 45px; }
.calendar-event::before { display: none; }
.calendar-event > span { font-size: 7px; opacity: .8; }
.calendar-event strong { font-size: 8px; font-weight: 500; white-space: normal; line-height: 1.5; }
.calendar-event small { font-size: 6px; opacity: .75; }
.calendar-event.logo-aurora { background: #eef3f8; border-color: #e2eaf3; color: #8ca3b9; }
.calendar-event.logo-nova { background: #f3f6e6; border-color: #e7eecf; color: #94a579; }
.calendar-event.logo-moss { background: #eff5e8; border-color: #e1ead5; color: #8aa478; }
.calendar-event.logo-vertex { background: #f7f3e8; border-color: #ede5d2; color: #b2a67f; }
.calendar-note { margin-top: 14px; font-size: 9px; color: #aab89a; }
.editor-toolbar > span:nth-child(2) { display: flex; gap: 4px; align-items: center; font-size: 8px; color: #a1b08d; margin-left: 8px; }
.editor-toolbar > span:nth-child(2) .icon { width: 10px; height: 10px; }
.editor-word-count { margin-left: auto; font-size: 8px; color: #b2c0a0; }
.editor-label { margin: 19px 23px 0; color: #a4b293; font-size: 9px; }
.editor-body { padding-top: 9px; min-height: 370px; }
.editor-footer > span { display: flex; align-items: center; gap: 4px; font-size: 8px; }
.editor-footer > span .icon { width: 11px; height: 11px; }
.publish-panel .field-label { margin: 0 20px 8px; font-size: 10px; }
.form-control { width: 100%; border: 1px solid #dce6d0; border-radius: 8px; background: #fcfef8; padding: 10px 12px; font-size: 11px; color: #718b5c; outline: none; resize: vertical; }
.form-control:focus { border-color: #93b17a; box-shadow: 0 0 0 3px #ebf3df; }
.form-control::placeholder { color: #b3c3a2; }
.publish-panel > .form-control { width: calc(100% - 40px); margin: 0 20px 17px; }
.publish-panel > .btn { width: calc(100% - 40px); margin: 0 20px; }
.channel-badge { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; }
.channel-badge .icon { width: 13px; height: 13px; }
.publish-note { margin: 11px 20px 17px; color: #b1bd9f; font-size: 8px; line-height: 1.8; }
.preview-header { justify-content: space-between; border-bottom: 1px solid #edf2e3; padding-bottom: 13px; color: #a4b592; font-size: 8px; }
.preview-header > span:first-child { display: flex; align-items: center; gap: 6px; }
.preview-header .icon { width: 13px; height: 13px; }
.preview-body { padding-top: 17px; white-space: normal; }
.preview-author { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.preview-author strong { font-size: 10px; color: #7d9767; font-weight: 500; display: block; line-height: 1.6; }
.preview-author small { font-size: 7px; color: #b4c0a4; display: block; line-height: 1.6; }
.preview-body h3 { font-size: 12px; }
.preview-body p { font-size: 10px; line-height: 1.9; }
.preview-meta { display: block; font-size: 7px; color: #bac6ab; border-top: 1px solid #eff3e6; margin-top: 14px; padding-top: 10px; }
.result-row { justify-content: flex-start; gap: 6px; font-size: 9px; }
.result-row .icon { width: 12px; height: 12px; color: #98b578; }
.result-row strong { font-size: 9px; font-weight: 500; }
.result-row span { margin-left: auto; font-size: 7px; }
.rule-head h2 { font-size: 15px; font-weight: 550; }
.rule-copy { color: #9bad8b; font-size: 10px; line-height: 1.8; margin-bottom: 15px; }
.rule-details { grid-template-columns: 1fr; gap: 13px; }
.rule-details > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.rule-details strong { font-size: 9px; color: #91a47e; }
.rule-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 21px; gap: 12px; padding-top: 15px; border-top: 1px solid #edf2e2; }
.rule-actions .text-link { font-size: 9px; }
.manual-push { margin-top: 24px; }
.manual-push > .form-control { width: calc(100% - 42px); margin: 0 21px; padding: 15px; min-height: 135px; }
.manual-push-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 21px 21px; }
.manual-push-footer > span { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #a7b898; }
.manual-push-footer .icon { width: 11px; height: 11px; }
.member-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 25px; }
.member-stats .panel { padding: 19px 23px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.member-stats .metric-label { grid-column: 1 / -1; margin-bottom: 6px; }
.member-stats .metric-value { font-size: 28px; margin: 0; }
.member-stats .metric-trend { font-size: 9px; }
.table-wrap { overflow-x: auto; }
.member-table { width: 100%; border-collapse: collapse; min-width: 570px; }
.member-table th { padding: 12px 23px; text-align: left; background: #fafcf5; color: #a5b491; font-size: 9px; font-weight: 400; border-top: 1px solid #edf2e2; border-bottom: 1px solid #edf2e2; }
.member-table td { padding: 17px 23px; color: #94a782; font-size: 10px; border-bottom: 1px solid #eef2e5; }
.member-table tbody tr:last-child td { border-bottom: 0; }
.member-table tbody tr:hover { background: #fcfef8; }
.member-table td:last-child { text-align: right; }
.member-footnote { display: flex; align-items: center; gap: 5px; margin-top: 19px; color: #a8ba97; font-size: 9px; }
.member-footnote .icon { width: 11px; height: 11px; }
.discussion-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.discussion-top > span:last-child { font-size: 8px; color: #b5c2a4; }
.discussion-title { color: #728c5b; font-weight: 500; font-size: 15px; line-height: 1.7; background: transparent; border: 0; padding: 17px 0 7px; text-align: left; }
.discussion-title:hover { color: #438557; }
.discussion-footer { display: flex; align-items: center; gap: 6px; padding-top: 19px; color: #a9ba98; font-size: 9px; }
.discussion-footer .small-avatar { width: 22px; height: 22px; font-size: 8px; }
.discussion-replies { display: flex; align-items: center; gap: 5px; margin-left: auto; font-size: 8px; }
.discussion-replies .icon { width: 11px; height: 11px; }
.drawer:not([hidden]) { transform: translateX(0); }
.drawer-backdrop:not([hidden]) { visibility: visible; opacity: 1; }
.drawer-open { overflow: hidden; }
.drawer-title { font-size: 21px; letter-spacing: -.4px; color: #526d3f; margin-top: 2px; }
.drawer-head .eyebrow { display: block; font-size: 7px; }
.drawer-project-identity { display: flex; gap: 12px; align-items: center; }
.drawer-project-identity .project-logo { margin: 0; }
.drawer-project-identity > div { flex: 1; }
.drawer-project-identity strong { display: block; font-size: 12px; color: #8ca477; font-weight: 500; }
.drawer-project-identity > div span { display: block; margin-top: 3px; font-size: 9px; color: #b0c19d; }
.drawer-description { color: #94a985; font-size: 11px; line-height: 2; margin: 20px 0; }
.detail-meta { padding: 14px 0; border-top: 1px solid #edf2e2; border-bottom: 1px solid #edf2e2; display: grid; gap: 6px; font-size: 8px; color: #adc09a; }
.detail-meta > span { display: flex; align-items: center; gap: 5px; }
.detail-meta .icon { width: 10px; height: 10px; }
.detail-section-title { font-size: 12px; font-weight: 500; color: #839d6f; margin: 23px 0 16px; display: flex; align-items: center; gap: 5px; }
.detail-section-title .icon { width: 11px; height: 11px; color: #afc49c; }
.drawer-footnote { color: #b4c5a4; font-size: 8px; margin-top: 17px; line-height: 1.8; }
.drawer-body > .form-field { margin-top: 17px; }
.large-member-avatar { width: 61px; height: 61px; font-size: 21px; margin-bottom: 18px; }
.drawer-body > .profile-avatar { width: 49px; height: 49px; font-size: 17px; margin-bottom: 15px; }
.drawer-body hr { border: 0; border-top: 1px solid #e7eddb; margin: 22px 0; }
.message-preview { border: 1px solid #dfebd2; border-radius: 10px; background: #f6fbef; padding: 17px; margin: 18px 0; }
.message-preview > div { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #85a16f; font-weight: 500; }
.message-preview > div .icon { width: 12px; height: 12px; }
.message-preview p { color: #94ad7f; font-size: 11px; line-height: 2; margin: 12px 0; }
.message-preview > span { font-size: 9px; color: #85a76a; }
.sample-reply { background: #f4f9ed; border: 1px solid #e1edd6; color: #9ab58a; font-size: 10px; padding: 13px; border-radius: 9px; margin-top: 13px; line-height: 1.9; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; gap: 15px; }
.modal-heading .eyebrow { display: block; }
.modal-heading h2 { font-size: 19px; font-weight: 550; color: #5e8046; margin-top: 3px; }
.form-field { color: #91a77c; font-size: 10px; font-weight: 500; }
.form-field.full-width { grid-column: 1 / -1; }
.modal-note { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #b0c39b; margin-top: 14px; }
.modal-note .icon { width: 10px; height: 10px; }
.toast:not([hidden]) { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Reading content stays legible at ordinary laptop scale. */
.page-description { font-size: 12px; }
.btn { font-size: 12px; }
.hero-copy { font-size: 13px; line-height: 1.85; }
.hero-actions .btn { font-size: 11px; }
.hero-status-line { font-size: 10px; }
.metric-label { font-size: 11px; }
.metric-trend { font-size: 10px; }
.section-title { font-size: 15px; }
.section-note { font-size: 11px; }
.text-link { font-size: 11px; }
.project-title-button .project-name { font-size: 15px; }
.project-handle { font-size: 10px; }
.project-description { font-size: 13px; min-height: 64px; line-height: 1.7; margin-top: 10px; }
.tag { font-size: 10px; }
.visibility-label { font-size: 9px; }
.project-stage { font-size: 10px; }
.project-card-footer > span { font-size: 10px; }
.feed-title { font-size: 13px; }
.feed-copy { font-size: 13px; line-height: 1.8; }
.feed-top > span { font-size: 10px; }
.feed-top time { font-size: 9px; }
.pill { font-size: 9px; }
.source-chip { font-size: 9px; }
.agenda-info strong { font-size: 12px; }
.agenda-info > span { font-size: 10px; }
.agenda-info .agenda-time { font-size: 9px; }
.insight-copy { font-size: 12px; line-height: 1.75; }
.connection-detail strong { font-size: 11px; }
.connection-detail small { font-size: 9px; }
.connection-state { font-size: 9px; }
.channel-footnote { font-size: 9px; }
.full-project-grid .project-description { font-size: 13px; }
.wide-feed .feed-copy { font-size: 13px; }
.editor-body { font-size: 13px; line-height: 2; }
.preview-body p { font-size: 12px; }
.rule-copy { font-size: 13px; }
.rule-details strong { font-size: 11px; }
.rule-details { font-size: 10px; }
.discussion-card p { font-size: 13px; }
.member-table td { font-size: 12px; }
.member-name strong { font-size: 12px; }
.drawer-description { font-size: 13px; }
.timeline-copy { font-size: 12px; }
.timeline-title { font-size: 13px; }
.timeline-time { font-size: 10px; }
.form-field { font-size: 12px; }
.form-field input, .form-field textarea, .form-field select, .form-control { font-size: 12px; }
.page-description { color: #77816f; }
.hero-copy { color: #718265; }
.project-description, .feed-copy, .discussion-card p { color: #747f69; }
.project-handle { color: #929b86; }
.tag { color: #7b896a; }
.project-stage { color: #8f9e7d; }
.project-card-footer > span { color: #8a9c77; }
.insight-copy { color: #7b9066; }
.rule-copy, .drawer-description { color: #7f956f; }
.timeline-copy { color: #889d78; }
.member-table td { color: #7f956e; }
.source-chip { color: #92a27e; }
.feed-top time { color: #97a589; }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1600px) {
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; }
  .hero { min-height: 255px; }
  .hero-content { padding: 35px 38px; }
  .hero-title { font-size: 34px; }
  .project-card { padding-top: 21px; }
}
@media (max-width: 1280px) {
  .sidebar { width: 208px; padding-left: 14px; padding-right: 14px; }
  .main-shell { margin-left: 208px; }
  .topbar { padding: 0 26px; }
  #content { padding: 26px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 275px; gap: 18px; }
  .primary-column, .secondary-column { gap: 18px; }
  .panel-header { padding: 18px 17px 14px; }
  .panel .project-grid { padding: 0 15px 16px; gap: 9px; }
  .project-card { padding: 15px 12px 0; }
  .project-logo { width: 31px; height: 31px; font-size: 15px; }
  .project-card-head { gap: 7px; }
  .project-name { font-size: 11px; }
  .hero-content { padding: 27px; }
  .hero-title { font-size: 28px; }
  .metric { padding-left: 19px; padding-right: 19px; }
  .toast { left: calc(50% + 104px); }
}
@media (max-width: 1100px) {
  .sidebar { width: 190px; padding-left: 10px; padding-right: 10px; }
  .main-shell { margin-left: 190px; }
  .brand { gap: 9px; padding-left: 8px; }
  .brand-name { font-size: 20px; }
  .workspace-switch { gap: 7px; padding: 10px; }
  .topbar { height: 66px; padding: 0 23px; }
  #content { padding: 24px 23px; }
  .page-title { font-size: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .secondary-column { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }
  .secondary-column > .panel:last-child { grid-column: 1 / -1; }
  .secondary-column > .panel:last-child .connection-row { display: inline-flex; width: 32.8%; border-top: 0; padding-top: 4px; }
  .secondary-column > .panel:last-child .connection-detail small { display: none; }
  .project-grid { gap: 14px; }
  .project-card { padding: 18px 16px 0; }
  .project-logo { width: 36px; height: 36px; font-size: 17px; }
  .project-name { font-size: 12px; }
  .hero { grid-template-columns: 1.2fr 1fr; }
  .hero-art .hero-status { right: 15px; bottom: 25px; min-width: 130px; }
  .studio-grid { gap: 18px; grid-template-columns: minmax(0, 1.35fr) minmax(250px, 1fr); }
  .toast { left: calc(50% + 95px); }
}
@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar { display: flex; flex-direction: row; align-items: center; position: sticky; top: 0; bottom: auto; width: 100%; height: 56px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar .brand, .workspace-switch, .sidebar-bottom, .nav-label { display: none; }
  .sidebar .nav-group { margin: 0; display: flex; align-items: center; flex-shrink: 0; gap: 3px; }
  .sidebar .nav-item { width: auto; flex-shrink: 0; font-size: 10px; padding: 9px 11px; gap: 7px; min-height: 38px; white-space: nowrap; }
  .sidebar .nav-item svg { width: 14px; height: 14px; }
  .nav-count { font-size: 8px; line-height: 16px; padding: 0 4px; }
  .main-shell { margin-left: 0; padding-bottom: 0; }
  .topbar { height: 64px; padding: 0 25px; top: 56px; }
  .topbar .breadcrumb::before { content: "TRACE"; font-weight: 650; color: #58754b; font-size: 15px; letter-spacing: 1.8px; margin-right: 6px; }
  #content { padding: 25px; }
  .bottom-bar { margin: 0 25px; font-size: 7px; padding: 15px 0 20px; }
  .toast { left: 50%; bottom: 25px; }
}
@media (max-width: 680px) {
  .topbar { padding: 0 18px; height: 59px; gap: 10px; }
  .breadcrumb { gap: 5px; font-size: 10px; }
  .topbar .breadcrumb::before { font-size: 13px; margin-right: 3px; }
  .breadcrumb svg { display: none; }
  .breadcrumb > span { display: none; }
  .search-box { width: 30px; height: 31px; padding: 7px; background: transparent; border-color: transparent; cursor: pointer; }
  .search-box input, .search-box kbd { display: none; }
  .search-box:focus-within { position: absolute; right: 90px; top: 0; width: min(280px, calc(100vw - 140px)); background: #f0f4e9; border-color: #dbe5ce; z-index: 5; }
  .search-box:focus-within input { display: block; }
  .topbar-actions { gap: 7px; }
  .topbar-divider { display: none; }
  .topbar .avatar { width: 26px; height: 26px; font-size: 9px; }
  #content { padding: 23px 18px 28px; }
  .page-heading { align-items: flex-start; gap: 16px; margin-bottom: 19px; }
  .page-title { font-size: 22px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.8px; }
  .page-description { font-size: 10px; max-width: 260px; }
  .heading-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding-top: 8px; }
  .heading-actions .btn { min-height: 31px; font-size: 10px; padding: 6px 9px; }
  .heading-actions .btn-secondary { display: inline-flex; }
  .hero { grid-template-columns: 1fr; min-height: 215px; }
  .hero-content { padding: 24px; }
  .hero-title { font-size: 27px; max-width: 315px; }
  .hero-kicker { font-size: 9px; margin-bottom: 10px; }
  .hero-copy { font-size: 10px; max-width: 280px; }
  .hero-actions { margin-top: 16px; }
  .hero-art { display: none; }
  .metric-strip { grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
  .metric { padding: 16px 18px; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--border); }
  .metric:nth-child(3)::before { display: none; }
  .metric-value { font-size: 26px; margin-top: 3px; }
  .metric-label { font-size: 9px; }
  .metric-trend { font-size: 8px; }
  .dashboard-grid, .primary-column, .secondary-column { gap: 19px; }
  .secondary-column { grid-template-columns: 1fr; }
  .secondary-column > .panel:last-child .connection-row { width: 100%; display: flex; border-top: 1px solid #eff1e9; padding-top: 12px; }
  .secondary-column > .panel:last-child .connection-detail small { display: block; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .panel .project-grid { padding: 0 15px 16px; gap: 11px; }
  .project-card { padding: 16px 12px 0; }
  .project-logo { width: 31px; height: 31px; font-size: 15px; }
  .project-name { font-size: 11px; }
  .project-description { font-size: 9px; }
  .project-card-head .btn-icon { width: 17px; }
  .project-card .avatar-stack { display: none; }
  .project-card:nth-child(3):last-child { grid-column: 1 / -1; }
  .panel-header { padding: 19px 17px 15px; }
  .section-title { font-size: 13px; }
  .section-note { font-size: 9px; }
  .feed-list, .agenda-list { padding-left: 17px; padding-right: 17px; }
  .feed-item { gap: 10px; padding: 16px 0; }
  .feed-title { font-size: 11px; }
  .feed-copy { font-size: 10px; }
  .insight-title, .insight-copy { max-width: 85%; }
  .calendar-toolbar { padding: 17px 15px; gap: 7px; }
  .calendar-toolbar h2 { font-size: 15px; }
  .calendar-toolbar h2 small { font-size: 9px; margin-left: 5px; }
  .calendar-controls { gap: 3px; }
  .calendar-controls .btn { font-size: 9px; padding: 5px 8px; min-height: 29px; }
  .calendar-week { font-size: 9px; padding: 9px 0; }
  .calendar-cell { min-height: 80px; padding: 7px 3px; }
  .day-number { width: 21px; height: 21px; font-size: 9px; margin-bottom: 5px; }
  .calendar-event { font-size: 7px; padding: 2px; gap: 2px; border-radius: 3px; line-height: 1.5; }
  .calendar-event::before { display: none; }
  .calendar-legend { font-size: 8px; padding: 12px; justify-content: center; }
  .studio-grid { grid-template-columns: 1fr; gap: 19px; }
  .editor-body { min-height: 290px; font-size: 11px; }
  .editor-title { font-size: 18px; }
  .rules-grid { grid-template-columns: 1fr; gap: 15px; }
  .community-grid { grid-template-columns: 1fr; gap: 15px; }
  .search-results { position: fixed; top: 119px; left: 18px; right: 18px; width: auto; }
  .notification-menu { position: fixed; top: 119px; right: 15px; width: min(340px, calc(100vw - 30px)); }
  .drawer { width: 100%; max-width: 410px; }
  .drawer-head { padding: 20px 22px; }
  .drawer-body { padding: 23px 22px; }
  .footer-note { align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 24px; font-size: 8px; }
  #project-modal { padding: 22px; }
  .form-grid { gap: 15px 12px; }
  .topbar .demo-notice { display: none; }
  .project-filter { display: block; margin-bottom: 16px; }
  .project-filter .filter-tabs { margin-bottom: 5px; gap: 3px; }
  .filter-tab { font-size: 10px; padding: 5px 8px; }
  .filter-note { font-size: 8px; padding-top: 3px; }
  .full-project-grid .project-card { padding: 17px 13px 0; }
  .full-project-grid .project-title-button .project-name { font-size: 13px; }
  .full-project-grid .project-logo { width: 34px; height: 34px; font-size: 16px; }
  .full-project-grid .project-description { font-size: 10px; }
  .full-project-grid { gap: 11px; }
  .inbox-banner { padding: 16px; gap: 10px; align-items: flex-start; }
  .inbox-banner strong { font-size: 11px; }
  .inbox-banner p { font-size: 8px; }
  .inbox-banner .pill { display: none; }
  .wide-feed .feed-list { padding: 9px 17px; }
  .wide-feed .feed-title { font-size: 12px; }
  .wide-feed .feed-copy { font-size: 10px; }
  .wide-feed .feed-item { padding: 19px 0; gap: 10px; }
  .calendar-toolbar > div:first-child { gap: 8px; }
  .calendar-toolbar .heading-actions { gap: 2px; }
  .calendar-toolbar .heading-actions .btn { font-size: 8px; }
  .calendar-toolbar .heading-actions .btn-icon { width: 22px; height: 26px; min-height: 26px; padding: 0; }
  .calendar-toolbar .pill { font-size: 7px; padding: 1px 4px; }
  .calendar-event { min-height: 42px; padding: 3px; }
  .calendar-event > span { font-size: 6px; }
  .calendar-event strong { font-size: 6px; }
  .calendar-event small { display: none; }
  .member-stats { gap: 9px; }
  .member-stats .panel { padding: 14px 13px; grid-template-columns: 1fr; }
  .member-stats .metric-value { font-size: 24px; }
  .member-stats .metric-trend { font-size: 7px; }
  .member-stats .metric-label { font-size: 8px; }
  .manual-push-footer { align-items: flex-start; flex-direction: column; }
  .manual-push-footer .btn { width: 100%; }
  .manual-push-footer > span { font-size: 8px; }
  .bottom-bar { margin: 0 18px; align-items: flex-start; flex-direction: column; gap: 4px; font-size: 7px; }
}
@media (max-width: 380px) {
  #content { padding-left: 13px; padding-right: 13px; }
  .hero-content { padding: 22px; }
  .hero-title { font-size: 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:nth-child(3):last-child { grid-column: auto; }
  .project-logo { width: 36px; height: 36px; }
  .project-card .avatar-stack { display: inline-flex; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .page-heading { gap: 10px; }
  .page-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
