:root {
  color-scheme: light;
  --canvas: #f5f7f4;
  --paper: #ffffff;
  --ink: #202821;
  --muted: #778179;
  --muted-light: #98a19a;
  --line: #e6ebe5;
  --line-strong: #d8e0d8;
  --green: #347658;
  --green-dark: #234e39;
  --green-soft: #e8f2eb;
  --coral: #d5765d;
  --coral-soft: #fbede8;
  --yellow: #d3a348;
  --yellow-soft: #fbf5e7;
  --blue: #5384a0;
  --blue-soft: #eaf1f5;
  --sidebar-width: 248px;
  --shadow: 0 14px 44px rgba(31, 49, 36, 0.11);
  font-family: 'Manrope', 'Noto Sans SC', sans-serif;
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(83, 132, 160, .5); outline-offset: 2px; }
button:disabled { opacity: .52; cursor: not-allowed; }

.app-shell { min-height: 100vh; }
.sidebar { width: var(--sidebar-width); position: fixed; inset: 0 auto 0 0; z-index: 5; background: #fbfcfa; border-right: 1px solid var(--line); padding: 23px 16px 14px; display: flex; flex-direction: column; }
.brand { height: 30px; display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin: 0 8px 23px; }
.brand-mark { width: 25px; height: 25px; display: inline-flex; align-items: end; justify-content: center; gap: 2px; padding: 4px; border: 1px solid #bdd3c4; border-radius: 7px 7px 7px 2px; background: #edf5ef; }
.brand-mark span { display: block; width: 4px; border-radius: 4px 4px 1px 1px; background: var(--green); transform: skew(-12deg); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .58; }
.brand-mark span:nth-child(2) { height: 14px; }
.brand-mark span:nth-child(3) { height: 10px; opacity: .75; }
.brand-name { font-size: 19px; line-height: 1; font-weight: 800; letter-spacing: 0; }
.brand-name span { color: var(--green); font-size: 13px; font-weight: 600; margin-left: 2px; }
.workspace-switcher { min-height: 60px; border: 1px solid var(--line); border-radius: 7px; padding: 9px; display: flex; align-items: center; gap: 10px; background: #fff; margin-bottom: 28px; }
.workspace-avatar { width: 34px; height: 34px; flex: 0 0 34px; background: #e7f0e7; color: var(--green-dark); border-radius: 6px; display: grid; place-items: center; font-weight: 700; }
.workspace-copy, .profile-copy { display: grid; min-width: 0; gap: 3px; }
.workspace-copy strong, .profile-copy strong { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-copy small, .profile-copy small { color: var(--muted); font-size: 10px; }
.chevron { color: var(--muted); font-size: 15px; margin-left: auto; padding: 0 3px; }
.nav-label { color: #a0a8a1; text-transform: uppercase; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0; padding: 0 11px 9px; }
.nav-label-spaced { margin-top: 27px; }
.primary-nav { display: grid; gap: 3px; }
.nav-item { height: 40px; width: 100%; padding: 0 11px; border: 0; background: transparent; border-radius: 5px; display: flex; align-items: center; gap: 11px; text-align: left; color: #626d64; font-size: 12px; cursor: pointer; transition: background .16s ease, color .16s ease; }
.nav-item:hover { background: #f1f5f0; color: var(--ink); }
.nav-item.active { background: #eaf2ec; color: var(--green-dark); font-weight: 700; }
.nav-count { margin-left: auto; min-width: 20px; height: 19px; padding: 0 5px; display: grid; place-items: center; color: #8d5b44; background: #f8e9e2; border-radius: 4px; font: 10px 'DM Mono', monospace; }
.nav-icon { width: 17px; height: 17px; position: relative; display: inline-block; flex: 0 0 17px; color: currentColor; opacity: .85; }
.icon-overview::before { content: ''; position: absolute; inset: 2px; border: 1.5px solid currentColor; border-radius: 3px; box-shadow: inset 5px 0 0 -3.5px currentColor, inset 0 -5px 0 -3.5px currentColor; }
.icon-content::before { content: ''; position: absolute; inset: 1px 3px 2px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: inset 0 4px 0 -3px currentColor, inset 0 8px 0 -3px currentColor; }
.icon-calendar::before { content: ''; position: absolute; inset: 3px 1px 1px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(to bottom, transparent 0 3px, currentColor 3px 4px, transparent 4px); }
.icon-calendar::after { content: ''; position: absolute; left: 4px; top: 1px; width: 7px; height: 4px; border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.icon-leads::before { content: ''; position: absolute; width: 6px; height: 6px; top: 1px; left: 5px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-leads::after { content: ''; position: absolute; width: 13px; height: 6px; bottom: 1px; left: 1px; border: 1.5px solid currentColor; border-radius: 8px 8px 3px 3px; }
.icon-knowledge::before { content: ''; position: absolute; inset: 2px 1px; border: 1.5px solid currentColor; border-radius: 3px; box-shadow: inset 7px 0 0 -6px currentColor; }
.icon-knowledge::after { content: ''; position: absolute; left: 8px; top: 3px; bottom: 3px; border-left: 1px solid currentColor; }
.icon-channels::before { content: ''; position: absolute; left: 1px; top: 1px; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: 6px 6px 0 -1px var(--canvas), 6px 6px 0 0 currentColor; }
.sidebar-bottom { margin-top: auto; }
.plan-card { border-radius: 6px; background: #eef3ed; padding: 12px; margin-bottom: 13px; }
.plan-card-head { display: flex; align-items: center; gap: 7px; color: #516758; font-size: 10px; font-weight: 700; }
.plan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px #f7ecd3; }
.plan-card p { margin: 8px 0 9px; color: #78847a; font-size: 10px; line-height: 1.65; }
.plan-link { background: none; border: 0; padding: 0; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; }
.plan-link span { padding-left: 4px; }
.profile-button { border: 0; background: transparent; display: flex; align-items: center; width: 100%; text-align: left; gap: 9px; padding: 8px 3px 1px; cursor: pointer; }
.profile-avatar, .top-avatar { display: grid; place-items: center; border-radius: 50%; background: #e8d8c5; color: #594d3f; font-size: 11px; font-weight: 700; }
.profile-avatar { width: 31px; height: 31px; }
.profile-more { margin-left: auto; font-size: 18px; letter-spacing: 0; color: var(--muted); }

.main-area { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar { height: 62px; padding: 0 37px; position: sticky; z-index: 4; top: 0; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #929b93; font-size: 11px; }
.breadcrumb strong { color: #3c463e; font-weight: 600; }
.crumb-separator { color: #cad0ca; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.environment-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; color: #647166; background: #f3f6f2; border: 1px solid #e8ede7; border-radius: 4px; font-size: 9px; }
.environment-pill i { width: 5px; height: 5px; background: var(--yellow); border-radius: 50%; }
.icon-button { width: 24px; height: 28px; padding: 3px; position: relative; background: transparent; border: 0; color: #647066; cursor: pointer; }
.search-glyph { display: block; position: absolute; width: 12px; height: 12px; top: 6px; left: 4px; border: 1.5px solid currentColor; border-radius: 50%; }
.search-glyph::after { content: ''; position: absolute; width: 6px; top: 9px; left: 9px; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.bell-glyph { position: absolute; left: 6px; top: 5px; width: 11px; height: 13px; border: 1.4px solid currentColor; border-radius: 8px 8px 3px 3px; }
.bell-glyph::before { content: ''; position: absolute; bottom: -4px; left: -2px; width: 13px; border-top: 1.4px solid currentColor; }
.bell-glyph::after { content: ''; position: absolute; left: 3px; bottom: -7px; width: 4px; border-top: 1.4px solid currentColor; }
.notification-button > i { position: absolute; top: 4px; right: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); border: 1px solid white; }
.top-avatar { width: 27px; height: 27px; border: 0; cursor: pointer; }
.mobile-brand { display: none; }
.view-root { max-width: 1520px; margin: 0 auto; padding: 31px 38px 58px; outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 23px; }
.eyebrow { color: var(--green); text-transform: uppercase; font: 10px 'DM Mono', monospace; letter-spacing: .08em; margin-bottom: 8px; }
.page-heading h1 { font-size: 24px; line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: 0; }
.page-heading p { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 6px 0 0; }
.heading-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.button { border: 1px solid var(--line-strong); background: white; color: #47534a; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; padding: 0 12px; font-size: 10px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.button:hover { border-color: #aab9ac; background: #fbfcfb; }
.button:active { transform: translateY(1px); }
.button-primary { border-color: var(--green); background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: white; }
.button-quiet { background: transparent; }
.button-danger { border-color: #edd7d1; color: #a34f3e; }
.button-icon { font-size: 15px; line-height: 1; }
.text-button { color: var(--green); background: none; border: 0; padding: 3px 0; font-size: 10px; font-weight: 700; cursor: pointer; }
.text-button:hover { color: var(--green-dark); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; margin-bottom: 18px; }
.stat-item { min-height: 105px; position: relative; padding: 16px 19px 13px; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-topline { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; }
.stat-symbol { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 5px; color: var(--green); background: var(--green-soft); font-size: 12px; font-weight: 700; }
.stat-item:nth-child(2) .stat-symbol { color: #a56748; background: var(--coral-soft); }
.stat-item:nth-child(3) .stat-symbol { color: #a78031; background: var(--yellow-soft); }
.stat-item:nth-child(4) .stat-symbol { color: var(--blue); background: var(--blue-soft); }
.stat-value-line { display: flex; align-items: baseline; gap: 7px; margin-top: 6px; }
.stat-value { font: 700 27px/1 'Manrope', sans-serif; letter-spacing: 0; }
.stat-delta { color: var(--green); font: 10px 'DM Mono', monospace; }
.stat-foot { margin-top: 8px; color: #9aa29b; font-size: 9px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .9fr); gap: 16px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.panel-head { min-height: 57px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); gap: 12px; }
.panel-title-wrap { display: flex; align-items: center; gap: 9px; min-width: 0; }
.panel-head h2 { font-size: 12px; margin: 0; font-weight: 700; }
.panel-head p { font-size: 9px; color: var(--muted); margin: 4px 0 0; }
.panel-meta { color: #98a197; font: 9px 'DM Mono', monospace; white-space: nowrap; }
.chart-panel { min-height: 267px; }
.status-metric-list { display: grid; gap: 15px; padding: 21px 18px; }
.status-metric-row { display: grid; grid-template-columns: 78px minmax(40px, 1fr) 24px; align-items: center; gap: 10px; color: #657168; font-size: 10px; }
.status-metric-row strong { color: var(--ink); font: 600 10px 'DM Mono', monospace; text-align: right; }
.status-metric-track { height: 6px; overflow: hidden; border-radius: 4px; background: #edf1ed; }
.status-metric-track i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.chart-head-right { display: flex; align-items: center; gap: 14px; }
.chart-legend { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.chart-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chart-legend.secondary i { background: #e2a180; }
.chart-wrap { padding: 18px 15px 9px; }
.chart-wrap svg { width: 100%; height: 165px; overflow: visible; display: block; }
.chart-gridline { stroke: #edf0ec; stroke-width: 1; }
.chart-label { fill: #a0a9a1; font: 9px 'DM Mono', monospace; }
.chart-area { fill: url(#areaFill); }
.chart-line { fill: none; stroke: #428360; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-line-secondary { fill: none; stroke: #e2a180; stroke-width: 1.7; stroke-dasharray: 4 4; stroke-linecap: round; stroke-linejoin: round; }
.chart-point { fill: #fff; stroke: #428360; stroke-width: 2; }
.chart-xlabels { display: grid; grid-template-columns: repeat(7, 1fr); color: #a0a9a1; font: 9px 'DM Mono', monospace; padding: 0 25px 0 38px; }
.chart-note { font-size: 9px; color: #a0a9a1; padding: 8px 16px 12px; }
.right-stack { display: grid; gap: 14px; }
.channel-panel .panel-head, .tasks-panel .panel-head { min-height: 53px; }
.channel-list { padding: 2px 14px 4px; }
.channel-row { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid #eff2ef; }
.channel-row:last-child { border-bottom: 0; }
.channel-logo { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 6px; display: grid; place-items: center; color: var(--green-dark); background: #e7f1e8; font-size: 10px; font-weight: 800; }
.channel-row:nth-child(2) .channel-logo { color: #976838; background: #f8efe1; }
.channel-row:nth-child(3) .channel-logo { color: #3b8061; background: #e5f1e9; }
.channel-row:nth-child(4) .channel-logo { color: #b14d4d; background: #f9e9e7; }
.channel-name { flex: 1; min-width: 0; display: grid; gap: 3px; }
.channel-name strong { font-size: 10px; font-weight: 600; }
.channel-name small { color: #98a19a; font-size: 9px; }
.state-label { font-size: 9px; color: #9a7950; background: #faf4e8; padding: 4px 6px; border-radius: 3px; white-space: nowrap; }
.state-label.ready { color: #447252; background: #eaf3eb; }
.task-list { padding: 5px 15px 11px; }
.task-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eff2ef; }
.task-row:last-child { border-bottom: 0; }
.task-marker { width: 7px; height: 7px; margin: 4px 1px 0 2px; flex: 0 0 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.task-marker.gold { background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.task-marker.green { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.task-copy { display: grid; gap: 4px; min-width: 0; }
.task-copy strong { font-size: 10px; font-weight: 600; line-height: 1.45; }
.task-copy small { color: var(--muted-light); font-size: 9px; }
.content-strip { margin-top: 17px; }
.content-table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.data-table th { color: #8a948c; font-size: 9px; font-weight: 600; padding: 10px 14px; background: #fbfcfb; border-bottom: 1px solid var(--line); }
.data-table td { color: #566158; font-size: 10px; padding: 12px 14px; border-bottom: 1px solid #eff2ef; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { cursor: pointer; transition: background .15s ease; }
.data-table tbody tr:hover { background: #fafcf9; }
.content-title-cell { display: flex; align-items: center; gap: 9px; max-width: 400px; }
.content-type-chip { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; background: #edf3eb; color: var(--green); border-radius: 4px; font-size: 9px; }
.content-title-copy { display: grid; gap: 4px; min-width: 0; }
.content-title-copy strong { max-width: 365px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #303a32; font-weight: 600; }
.content-title-copy small { color: #9ba39c; font-size: 9px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 3px; padding: 4px 7px; font-size: 9px; color: #886d3f; background: var(--yellow-soft); }
.status-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .8; }
.status-pill.draft { color: #72817a; background: #eff2ef; }
.status-pill.published { color: #397451; background: var(--green-soft); }
.status-pill.scheduled { color: #55798e; background: var(--blue-soft); }
.status-pill.overdue { color: #a55a46; background: var(--coral-soft); }
.workflow-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 19px 0; border: 1px solid var(--line); background: white; border-radius: 6px; overflow: hidden; }
.workflow-step { min-height: 75px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; position: relative; border-right: 1px solid var(--line); }
.workflow-step:last-child { border-right: 0; }
.workflow-index { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 24px; border: 1px solid #d9e5da; border-radius: 50%; color: var(--green); font: 10px 'DM Mono', monospace; }
.workflow-step.active .workflow-index { color: #fff; background: var(--green); border-color: var(--green); }
.workflow-step strong { display: block; font-size: 10px; font-weight: 700; }
.workflow-step small { display: block; margin-top: 4px; color: #929c94; font-size: 9px; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.filter-tabs { display: flex; align-items: center; gap: 4px; }
.filter-tab { border: 0; background: transparent; border-radius: 4px; padding: 7px 10px; color: #778178; font-size: 10px; cursor: pointer; }
.filter-tab.active { color: var(--green-dark); background: #e7f0e8; font-weight: 700; }
.filter-actions { display: flex; align-items: center; gap: 7px; }
.search-input-wrap { position: relative; }
.search-input-wrap::before { content: ''; width: 8px; height: 8px; border: 1.3px solid #929b93; border-radius: 50%; position: absolute; top: 9px; left: 10px; }
.search-input-wrap::after { content: ''; border-top: 1.2px solid #929b93; width: 4px; position: absolute; top: 18px; left: 17px; transform: rotate(45deg); }
.search-input { width: 205px; height: 31px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 10px 0 27px; background: white; color: var(--ink); font-size: 10px; }
.select-control, .field-input, .field-select, .field-textarea { border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; color: var(--ink); padding: 0 10px; font-size: 11px; }
.select-control { min-height: 31px; }
.table-panel { overflow: hidden; }
.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; border-top: 1px solid var(--line); color: #929b93; font-size: 9px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 17px; align-items: start; }
.editor-panel { overflow: hidden; }
.editor-toolbar { min-height: 46px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); padding: 0 13px; }
.toolbar-button { width: 27px; height: 26px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 3px; color: #677269; cursor: pointer; font-size: 12px; }
.toolbar-button:hover { background: #f0f4ef; }
.toolbar-media-button { min-height: 30px; border: 1px solid var(--line-strong); border-radius: 4px; background: #f5f8f4; color: var(--green); padding: 0 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.toolbar-media-button:hover { background: #eaf3e9; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.media-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.media-preview a:not(.media-video-link) { display: block; width: 74px; height: 74px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.media-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-video-link { color: var(--green); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 720px) { .editor-toolbar { flex-wrap: wrap; padding-block: 8px; } .editor-mode { width: 100%; margin-left: 0; } }
.toolbar-divider { height: 19px; border-left: 1px solid var(--line); margin: 0 5px; }
.editor-mode { margin-left: auto; color: #89948b; font-size: 9px; }
.editor-body { padding: 23px 30px 26px; }
.editor-title { width: 100%; resize: vertical; min-height: 64px; border: 0; outline: 0; padding: 3px 0 13px; border-bottom: 1px solid var(--line); color: #253129; font-size: 21px; font-weight: 700; line-height: 1.45; background: transparent; }
.editor-title:focus-visible, .editor-content:focus-visible { outline: none; }
.editor-content { width: 100%; min-height: 480px; resize: vertical; border: 0; outline: 0; padding: 18px 0 0; color: #536057; font-size: 12px; line-height: 1.9; background: transparent; }
.editor-content::placeholder { color: #aab1ab; }
.editor-bottom { min-height: 41px; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; border-top: 1px solid var(--line); color: #949e95; font: 9px 'DM Mono', monospace; }
.editor-aside { display: grid; gap: 13px; }
.side-panel { padding: 14px; }
.side-panel h3 { margin: 0 0 13px; font-size: 11px; }
.field-stack { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { color: #6e7a70; font-size: 9px; font-weight: 600; }
.field-input, .field-select { width: 100%; height: 33px; }
.field-textarea { width: 100%; min-height: 76px; padding: 8px 10px; line-height: 1.6; resize: vertical; }
.field-hint { color: #98a199; font-size: 9px; line-height: 1.5; }
.quality-list { display: grid; gap: 10px; }
.quality-item { display: flex; align-items: center; gap: 8px; color: #748077; font-size: 9px; }
.quality-check { width: 15px; height: 15px; display: grid; place-items: center; flex: 0 0 15px; color: var(--green); border: 1px solid #cfe0d2; border-radius: 50%; font-size: 9px; }
.quality-check.pending { color: #ac8651; border-color: #eddfc3; }
.source-list { display: grid; gap: 9px; }
.source-item { display: flex; align-items: flex-start; gap: 8px; color: #68746b; font-size: 9px; line-height: 1.5; }
.source-mark { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; border-radius: 3px; background: #eef3eb; color: var(--green); font: 9px 'DM Mono', monospace; }
.channel-note { padding: 10px; border-radius: 4px; color: #80704e; background: var(--yellow-soft); font-size: 9px; line-height: 1.6; }
.calendar-header { display: flex; align-items: center; gap: 14px; }
.month-label { min-width: 130px; text-align: center; font-size: 13px; font-weight: 700; }
.month-nav { display: flex; align-items: center; gap: 4px; }
.month-button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 4px; background: white; cursor: pointer; color: #69756b; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 16px; align-items: start; }
.calendar-panel { overflow: hidden; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-day-name { height: 33px; display: grid; place-items: center; border-bottom: 1px solid var(--line); color: #929b93; font: 9px 'DM Mono', monospace; }
.calendar-cell { min-height: 112px; padding: 8px 7px; border-right: 1px solid #eef1ed; border-bottom: 1px solid #eef1ed; position: relative; }
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell.muted { background: #fbfcfb; }
.calendar-day-number { width: 22px; height: 22px; display: grid; place-items: center; color: #647066; font: 10px 'DM Mono', monospace; border-radius: 50%; }
.calendar-cell.muted .calendar-day-number { color: #c1c8c1; }
.calendar-cell.today .calendar-day-number { color: white; background: var(--green); }
.calendar-event { margin-top: 5px; padding: 5px 6px; overflow: hidden; border-radius: 3px; color: #356348; background: #e8f2e9; font-size: 8px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.calendar-event.review { color: #9c654f; background: #fbede7; }
.calendar-event.draft { color: #718078; background: #eff2ef; }
.calendar-side-list { padding: 0 13px 8px; }
.calendar-list-item { display: flex; gap: 9px; padding: 12px 0; border-bottom: 1px solid #eff2ef; }
.calendar-date-chip { width: 33px; height: 36px; flex: 0 0 33px; display: grid; align-content: center; justify-items: center; background: #f0f4ef; border-radius: 4px; }
.calendar-date-chip strong { font: 12px 'DM Mono', monospace; color: #526b58; }
.calendar-date-chip small { margin-top: 1px; color: #909b91; font-size: 7px; }
.calendar-list-copy { min-width: 0; display: grid; align-content: center; gap: 4px; }
.calendar-list-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 600; }
.calendar-list-copy small { color: #949e95; font-size: 8px; }
.leads-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 15px; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 12px 14px; }
.mini-stat small { color: #8d988f; font-size: 9px; }
.mini-stat strong { display: block; margin-top: 7px; font: 700 21px 'Manrope', sans-serif; }
.lead-company { display: grid; gap: 4px; }
.lead-company strong { font-size: 10px; font-weight: 600; }
.lead-company small { color: #949e95; font-size: 9px; }
.lead-contact { display: grid; gap: 4px; }
.lead-contact strong { font-size: 10px; font-weight: 500; }
.lead-contact small { color: #949e95; font-size: 9px; }
.owner-chip { display: inline-flex; align-items: center; gap: 6px; }
.owner-avatar { width: 20px; height: 20px; display: grid; place-items: center; color: #775e4b; background: #efe4d9; border-radius: 50%; font-size: 8px; }
.consent-mark { color: var(--green); font-size: 9px; }
.knowledge-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 16px; align-items: start; }
.knowledge-list { padding: 0 15px; }
.knowledge-item { display: flex; gap: 11px; padding: 14px 0; border-bottom: 1px solid #eff2ef; }
.knowledge-item:last-child { border-bottom: 0; }
.doc-icon { width: 31px; height: 35px; flex: 0 0 31px; display: grid; place-items: center; color: #5b7a60; background: #edf3eb; border-radius: 4px; font: 10px 'DM Mono', monospace; }
.knowledge-copy { display: grid; gap: 5px; min-width: 0; }
.knowledge-copy strong { font-size: 10px; font-weight: 600; }
.knowledge-copy p { color: #879188; font-size: 9px; line-height: 1.55; margin: 0; }
.knowledge-copy small { color: #a0a9a1; font-size: 8px; }
.knowledge-side { display: grid; gap: 13px; }
.knowledge-usage { display: grid; gap: 9px; }
.usage-row { display: flex; justify-content: space-between; gap: 12px; color: #808b82; font-size: 9px; }
.usage-row strong { color: #47544a; font: 10px 'DM Mono', monospace; }
.usage-bar { height: 5px; background: #edf1ec; border-radius: 4px; overflow: hidden; margin-top: 1px; }
.usage-bar span { display: block; width: 37%; height: 100%; background: var(--green); border-radius: inherit; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.settings-section { padding: 17px; border-bottom: 1px solid var(--line); }
.settings-section:last-child { border-bottom: 0; }
.settings-section h3 { margin: 0; font-size: 11px; }
.settings-section > p { color: #8a958c; margin: 5px 0 14px; font-size: 9px; line-height: 1.6; }
.settings-form { max-width: 590px; display: grid; gap: 14px; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.model-state { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-radius: 4px; color: #6f6b5b; background: #faf5e9; font-size: 9px; line-height: 1.6; }
.model-state-dot { width: 7px; height: 7px; margin: 4px 0 0 2px; flex: 0 0 7px; border-radius: 50%; background: var(--yellow); }
.model-state.connected { color: #54745b; background: #edf5ee; }
.model-state.connected .model-state-dot { background: var(--green); }
.integration-list { display: grid; }
.integration-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1ed; }
.integration-row:last-child { border-bottom: 0; }
.integration-copy { display: grid; gap: 3px; flex: 1; min-width: 0; }
.integration-copy strong { font-size: 9px; font-weight: 600; }
.integration-copy small { color: #929c94; font-size: 8px; }
.toggle { width: 29px; height: 17px; position: relative; padding: 0; border: 0; border-radius: 10px; background: #dce3dc; cursor: pointer; }
.toggle::after { content: ''; width: 11px; height: 11px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .16s; }
.toggle[aria-checked="true"] { background: var(--green); }
.toggle[aria-checked="true"]::after { transform: translateX(12px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 8px; color: #6d786f; font-size: 9px; line-height: 1.5; }
.checkbox-field input { accent-color: var(--green); margin: 1px 0 0; }
.modal-shell { width: min(610px, calc(100vw - 28px)); max-height: min(90vh, 760px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); background: white; color: var(--ink); }
.modal-shell::backdrop { background: rgba(25, 36, 28, .34); backdrop-filter: blur(2px); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 13px; }
.modal-close { width: 25px; height: 25px; border: 0; border-radius: 4px; background: transparent; color: #7c867e; font-size: 18px; cursor: pointer; }
.modal-close:hover { background: #f0f3ef; }
.modal-body { padding: 17px 18px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: #fcfdfb; }
.modal-form { display: grid; gap: 13px; }
.modal-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.generated-preview { border: 1px solid var(--line); border-radius: 4px; background: #fbfcfb; max-height: 320px; overflow: auto; padding: 12px; margin-top: 14px; white-space: pre-wrap; color: #58635a; font: 10px/1.7 'Noto Sans SC', sans-serif; }
.form-message { min-height: 14px; color: #a34f3e; font-size: 9px; }
.toast-region { position: fixed; z-index: 20; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 7px; pointer-events: none; }
.toast { padding: 10px 14px; border: 1px solid #dce6dc; border-radius: 5px; background: #263d2f; box-shadow: var(--shadow); color: #f4f8f3; font-size: 10px; animation: toast-in .18s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.empty-state { padding: 45px 15px; text-align: center; color: #8d988f; font-size: 10px; }
.busy-label { display: inline-flex; align-items: center; gap: 7px; }
.spinner { width: 11px; height: 11px; border: 1.5px solid rgba(255,255,255,.42); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.content-count-label { padding: 3px 6px; border-radius: 3px; background: #f1f4f0; color: #849087; font: 9px 'DM Mono', monospace; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chart-caption { display: flex; gap: 14px; color: #929b93; font-size: 9px; }

@media (max-width: 1100px) {
  :root { --sidebar-width: 218px; }
  .view-root { padding: 28px 24px 48px; }
  .topbar { padding: 0 24px; }
  .overview-grid { grid-template-columns: minmax(0, 1.35fr) minmax(255px, .9fr); }
  .page-layout, .calendar-layout { grid-template-columns: minmax(0, 1fr) 265px; }
}
@media (max-width: 850px) {
  :root { --sidebar-width: 68px; }
  .sidebar { padding: 18px 10px 12px; align-items: center; }
  .brand { margin: 0 0 25px; }
  .brand-name, .workspace-copy, .chevron, .nav-label, .nav-item > span:not(.nav-icon), .sidebar-bottom .plan-card, .profile-copy, .profile-more { display: none; }
  .workspace-switcher { width: 42px; height: 43px; min-height: 43px; padding: 4px; justify-content: center; margin-bottom: 24px; border: 0; background: transparent; }
  .workspace-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .primary-nav { width: 100%; justify-items: center; }
  .nav-item { width: 44px; justify-content: center; padding: 0; }
  .nav-item.active { background: #eaf2ec; }
  .sidebar-bottom { width: 100%; display: flex; justify-content: center; }
  .profile-button { justify-content: center; padding: 8px 0; }
  .main-area { margin-left: var(--sidebar-width); }
  .overview-grid { grid-template-columns: 1fr; }
  .right-stack { grid-template-columns: 1fr 1fr; align-items: start; }
  .page-layout, .calendar-layout, .knowledge-grid, .settings-layout { grid-template-columns: 1fr; }
  .editor-aside { grid-template-columns: 1fr 1fr; }
  .knowledge-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .topbar { height: 55px; padding: 0 14px; }
  .breadcrumb { display: none; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .mobile-brand .brand-mark { width: 23px; height: 23px; }
  .mobile-brand .brand-name { display: inline; font-size: 16px; }
  .mobile-brand .brand-name span { font-size: 11px; }
  .topbar-actions { gap: 11px; }
  .environment-pill { font-size: 8px; }
  .search-button { display: none; }
  .view-root { padding: 23px 14px 40px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 21px; }
  .heading-actions { width: 100%; }
  .heading-actions .button { flex: 0 0 auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { min-height: 95px; padding: 12px 13px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-value { font-size: 23px; }
  .overview-grid { gap: 12px; }
  .right-stack { grid-template-columns: 1fr; gap: 12px; }
  .chart-wrap { padding-inline: 8px; }
  .chart-wrap svg { height: 140px; }
  .chart-xlabels { padding: 0 8px 0 26px; }
  .chart-legend { font-size: 8px; }
  .chart-head-right { gap: 7px; }
  .workflow-bar { grid-template-columns: 1fr 1fr; }
  .workflow-step:nth-child(2) { border-right: 0; }
  .workflow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .filter-row { align-items: stretch; flex-direction: column; }
  .filter-tabs { overflow-x: auto; }
  .filter-tab { white-space: nowrap; }
  .filter-actions { width: 100%; }
  .search-input-wrap { flex: 1; }
  .search-input { width: 100%; }
  .data-table { min-width: 630px; }
  .page-heading .heading-actions { align-items: flex-start; }
  .page-layout { gap: 12px; }
  .editor-body { padding: 17px 16px; }
  .editor-title { font-size: 18px; }
  .editor-content { min-height: 360px; font-size: 11px; }
  .editor-aside, .knowledge-side { grid-template-columns: 1fr; }
  .calendar-header { width: 100%; justify-content: space-between; }
  .month-label { min-width: 100px; font-size: 11px; }
  .calendar-cell { min-height: 82px; padding: 5px 3px; }
  .calendar-day-number { width: 19px; height: 19px; font-size: 9px; }
  .calendar-event { padding: 4px 3px; font-size: 7px; }
  .calendar-grid { min-width: 470px; }
  .calendar-panel { overflow-x: auto; }
  .leads-summary { gap: 6px; }
  .mini-stat { padding: 10px 9px; }
  .mini-stat small { font-size: 8px; }
  .mini-stat strong { font-size: 18px; }
  .form-grid, .modal-form-grid { grid-template-columns: 1fr; }
  .table-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .panel-head { padding-inline: 12px; }
  .modal-body { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--canvas); }
.auth-screen[hidden] { display: none; }
.auth-panel { width: min(100%, 380px); padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.auth-brand .brand-mark { flex: 0 0 25px; }
.auth-panel h1 { margin: 28px 0 6px; font-size: 22px; }
.auth-panel > p:not(.auth-error) { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.auth-field { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 600; }
.auth-panel input, .auth-panel select { width: 100%; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 10px; background: white; color: var(--ink); }
.auth-panel input:focus, .auth-panel select:focus { outline: 3px solid rgba(83, 132, 160, .35); outline-offset: 1px; }
.auth-panel .button { width: 100%; min-height: 38px; margin-top: 4px; }
.auth-error { min-height: 20px; margin: 7px 0 4px; color: #a34f3e; font-size: 11px; }

/* Keep operational text readable across dense dashboard views. */
.brand-name span { font-size: 14px; }
.workspace-copy strong, .profile-copy strong { font-size: 14px; }
.workspace-copy small, .profile-copy small { font-size: 12px; }
.nav-label { font-size: 12px; }
.nav-item { font-size: 14px; }
.nav-count { font-size: 12px; }
.plan-card-head, .plan-card p, .plan-link { font-size: 13px; }
.breadcrumb { font-size: 13px; }
.environment-pill { font-size: 12px; }
.eyebrow { font-size: 12px; }
.page-heading h1 { font-size: 30px; }
.page-heading p { font-size: 14px; }
.button { min-height: 40px; font-size: 14px; }
.text-button { font-size: 14px; }
.stat-topline { font-size: 13px; }
.stat-foot, .stat-delta { font-size: 12px; }
.panel-head h2 { font-size: 16px; }
.panel-head p { font-size: 13px; }
.panel-meta { font-size: 12px; }
.status-metric-row, .status-metric-row strong { font-size: 13px; }
.chart-legend, .chart-note, .chart-caption { font-size: 12px; }
.chart-label, .chart-xlabels { font-size: 12px; }
.channel-name strong { font-size: 14px; }
.channel-name small, .state-label { font-size: 12px; }
.channel-logo { font-size: 12px; }
.task-copy strong { font-size: 14px; }
.task-copy small { font-size: 12px; }
.data-table th { font-size: 12px; }
.data-table td { font-size: 14px; }
.content-title-copy small { font-size: 12px; }
.content-type-chip { font-size: 11px; }
.status-pill { font-size: 12px; }
.workflow-step strong { font-size: 14px; }
.workflow-step small { font-size: 12px; }
.workflow-index { font-size: 12px; }
.filter-tab { font-size: 14px; }
.search-input, .select-control, .field-input, .field-select, .field-textarea { font-size: 14px; }
.select-control { min-height: 38px; }
.search-input { height: 38px; }
.table-footer, .editor-mode { font-size: 12px; }
.toolbar-button { font-size: 14px; }
.editor-title { font-size: 25px; }
.editor-content { font-size: 16px; }
.editor-bottom { font-size: 12px; }
.side-panel h3, .settings-section h3 { font-size: 16px; }
.field label { font-size: 13px; }
.field-hint { font-size: 12px; }
.quality-item { font-size: 13px; }
.quality-check { font-size: 11px; }
.source-item { font-size: 13px; }
.source-mark { font-size: 12px; }
.channel-note { font-size: 13px; }
.month-label { font-size: 15px; }
.calendar-day-name { font-size: 12px; }
.calendar-day-number { font-size: 12px; }
.calendar-event { font-size: 11px; }
.calendar-date-chip small, .calendar-list-copy small { font-size: 12px; }
.calendar-list-copy strong { font-size: 13px; }
.mini-stat small { font-size: 12px; }
.mini-stat strong { font-size: 24px; }
.lead-company strong, .lead-contact strong { font-size: 14px; }
.lead-company small, .lead-contact small, .consent-mark { font-size: 12px; }
.owner-avatar { font-size: 11px; }
.doc-icon { font-size: 12px; }
.knowledge-copy strong { font-size: 14px; }
.knowledge-copy p { font-size: 13px; }
.knowledge-copy small { font-size: 12px; }
.usage-row, .usage-row strong { font-size: 12px; }
.settings-section > p { font-size: 13px; }
.model-state { font-size: 13px; }
.integration-copy strong { font-size: 13px; }
.integration-copy small { font-size: 12px; }
.checkbox-field { font-size: 13px; }
.modal-header h2 { font-size: 16px; }
.generated-preview { font-size: 14px; }
.form-message, .auth-error { font-size: 13px; }
.toast, .empty-state { font-size: 14px; }
.content-count-label { font-size: 12px; }
.auth-brand { font-size: 17px; }
.auth-panel h1 { font-size: 25px; }
.auth-panel > p:not(.auth-error) { font-size: 14px; }
.auth-field { font-size: 13px; }

@media (max-width: 620px) {
  .page-heading h1 { font-size: 25px; }
  .heading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heading-actions .button { width: 100%; min-width: 0; padding-inline: 8px; white-space: normal; }
  .editor-title { font-size: 21px; }
  .editor-content { font-size: 15px; }
  .month-label { font-size: 14px; }
  .mini-stat small { font-size: 11px; }
}

/* GEO 工作区：使用独立的信息层级，保持密集数据可读。 */
.geo-start, .geo-empty { padding: 42px; text-align: center; }
.geo-start-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 16px; color: var(--green); background: var(--green-soft); font-size: 32px; }
.geo-start h2, .geo-empty h2 { margin: 0 0 9px; font-size: 22px; }
.geo-start p, .geo-empty p { max-width: 560px; margin: 0 auto 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.geo-targetbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.geo-targetbar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.geo-overline { color: var(--muted); font-size: 13px; font-weight: 600; }
.geo-target-select { min-height: 40px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fbfcfa; color: var(--ink); font-size: 16px; font-weight: 700; }
.geo-target-meta, .geo-target-meta a { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.geo-target-meta a { color: var(--green); }
.geo-run-status { display: flex; align-items: center; gap: 16px; margin: -6px 0 16px; padding: 14px 16px; border-left: 3px solid #247a63; background: #eef6f1; }
.geo-run-status > div { flex: 1; min-width: 0; }
.geo-run-status strong, .geo-run-status span { display: block; }
.geo-run-status strong { font-size: 14px; }
.geo-run-status span, .geo-run-status small { color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.geo-run-status.failed { border-color: #a64239; background: #fbf0ee; }
.geo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.geo-kpis > div { min-height: 120px; padding: 17px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.geo-kpis small { color: var(--muted); font-size: 13px; }
.geo-kpis strong { color: var(--ink); font-size: 30px; line-height: 1.1; }
.geo-kpis span { color: var(--muted); font-size: 12px; }
.geo-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.geo-tabs button { min-height: 46px; padding: 0 17px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.geo-tabs button.active { color: var(--green-dark); border-color: var(--green); }
.geo-tabs button:hover { color: var(--ink); }
.geo-overview-grid, .geo-source-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(255px, .8fr); gap: 14px; align-items: stretch; }
.geo-overview-grid .panel, .geo-source-grid .panel { min-width: 0; }
.geo-table { white-space: normal; }
.geo-table th, .geo-table td { font-size: 13px; line-height: 1.5; vertical-align: top; }
.geo-table td { min-width: 75px; }
.geo-table td:first-child { min-width: 115px; }
.geo-table td a { color: var(--green-dark); overflow-wrap: anywhere; }
.geo-comparison th[scope="row"] { color: var(--ink); font-weight: 650; }
.geo-comparison td, .geo-comparison th { white-space: nowrap; font-size: 14px; }
.geo-comparison tbody + tbody { border-top: 2px solid var(--line); }
.geo-comparison tr[data-geo-group="control"] { background: #f4f8f3; }
.geo-question-title { display: block; min-width: 270px; max-width: 640px; color: var(--ink); font-weight: 650; }
.geo-subline { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.geo-answer-snippet { display: -webkit-box; max-width: 370px; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--ink); }
.geo-footnote { margin: 0; padding: 13px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.geo-process { padding: 20px; background: #f3f8f2; }
.geo-process h2 { margin: 0 0 12px; font-size: 17px; }
.geo-process p, .geo-process li { color: #5a685d; font-size: 13px; line-height: 1.7; }
.geo-process ol { margin: 0 0 14px; padding-left: 22px; }
.geo-next { margin-top: 14px; overflow: hidden; }
.geo-next-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.geo-next-item:last-child { border-bottom: 0; }
.geo-task-dot { width: 9px; height: 9px; flex: 0 0 9px; margin-top: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px var(--green-soft); }
.geo-next-item > div { flex: 1; min-width: 0; }
.geo-next-item strong { display: block; font-size: 14px; line-height: 1.5; }
.geo-next-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.geo-next-item .text-button { flex: 0 0 auto; }
.geo-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.geo-modal-actions .button { font-size: 13px; }
.geo-answer-input { min-height: 180px; }
.geo-evidence { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fafcf9; }
.geo-evidence h3 { margin: 0; font-size: 14px; }
.geo-evidence p { max-height: 200px; overflow: auto; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
.geo-evidence a { color: var(--green-dark); font-size: 13px; overflow-wrap: anywhere; }
.geo-source-checks { display: grid; gap: 9px; max-height: 210px; overflow: auto; }
.geo-source-checks label { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; }
.geo-source-checks input { width: 17px; height: 17px; accent-color: var(--green); }
.geo-platform-links { display: flex; flex-wrap: wrap; gap: 9px; padding: 14px 17px; }
.geo-empty .geo-platform-links { justify-content: center; padding-top: 0; }
.geo-platform-links a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--green-dark); background: #f9fbf8; font-size: 13px; text-decoration: none; }
.geo-platform-links a:hover { background: var(--green-soft); }
@media (max-width: 1120px) {
  .geo-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-overview-grid, .geo-source-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .geo-run-status { align-items: flex-start; flex-direction: column; gap: 7px; }
  .geo-targetbar { align-items: stretch; flex-direction: column; }
  .geo-target-select { max-width: 100%; }
  .geo-kpis { gap: 8px; }
  .geo-kpis > div { padding: 14px; }
  .geo-kpis strong { font-size: 24px; }
  .geo-start, .geo-empty { padding: 28px 18px; }
  .geo-next-item { flex-wrap: wrap; }
}
