:root {
  --bg: #f3f5f9;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #657086;
  --line: #e5e9f1;
  --accent: #5b53e6;
  --accent-strong: #4338ca;
  --accent-soft: #eeecff;
  --success: #11865b;
  --success-soft: #e8f7f0;
  --warning: #b66a18;
  --warning-soft: #fff4df;
  --danger: #c44343;
  --shadow: 0 12px 32px rgba(31, 43, 73, 0.07);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 12px; }

.app-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px 16px 18px;
  color: #e9ebf4;
  background: #171a2b;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 25px; }
.brand-mark, .widget-logo {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, #766df1, #4a42ca);
  box-shadow: 0 8px 18px rgba(91, 83, 230, 0.3);
}
.brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 19px; }
.brand strong { display: block; font-size: 17px; letter-spacing: 0.01em; }
.brand span { display: block; margin-top: 2px; color: #949bb2; font-size: 10px; }
.workspace-label { padding: 0 10px 9px; color: #747c94; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; }
.connector-nav { display: grid; gap: 5px; }
.nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 8px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 10px;
  color: #b5bbcc;
  text-align: left;
  border: 0;
  border-radius: 11px;
  background: transparent;
  transition: 0.18s ease;
}
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, 0.055); }
.nav-item.active { color: #fff; background: #272b42; box-shadow: inset 3px 0 0 #756cf2; }
.nav-item strong { display: block; font-size: 12px; }
.nav-item small { display: block; margin-top: 3px; color: #777f96; font-size: 9px; }
.nav-glyph {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #bec4d5;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid #3b405a;
  border-radius: 9px;
  background: #23273b;
}
.glyph-blue { color: #64a9ff; }.glyph-purple { color: #a99bff; }.glyph-green { color: #63d2a0; }.glyph-orange { color: #ffb064; }.glyph-dark { color: #e7e9f1; font-size: 9px; }
.nav-item i { width: 7px; height: 7px; border-radius: 50%; background: #444a61; }
.nav-item i.loaded { background: #46d397; box-shadow: 0 0 0 3px rgba(70, 211, 151, 0.12); }
.sidebar-footer { margin-top: auto; padding: 14px 6px 0; border-top: 1px solid #2b3047; }
.identity-card { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; margin-bottom: 10px; }
.identity-avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #d4d0ff; font-weight: 800; border-radius: 50%; background: #302d59; }
.identity-card strong, .identity-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity-card strong { color: #e7e9f2; font-size: 11px; }
.identity-card small { margin-top: 3px; color: #798198; font-size: 9px; }
.server-state { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 7px; margin-top: 12px; color: #777f96; font-size: 9px; }
.server-state > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: #b66a18; }
.server-state > span:first-child.ok { background: #43c58e; }
.server-state b { color: #697087; font-weight: 600; }

.main-workspace { min-width: 0; padding: 24px 28px 40px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; max-width: 1540px; margin: 0 auto 18px; }
.eyebrow, .section-kicker { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: 0.16em; }
.topbar h1 { margin: 5px 0 4px; font-size: 25px; line-height: 1.2; letter-spacing: -0.02em; }
.topbar p { margin: 0; color: var(--muted); font-size: 12px; }
.topbar-badges { display: flex; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #556077; font-size: 10px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.badge-demo { color: #5048c9; border-color: #dcd8ff; background: #f4f2ff; }
.badge-demo i { width: 6px; height: 6px; border-radius: 50%; background: #655de6; }

.flow-strip {
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: center;
  align-items: center;
  gap: 18px;
  max-width: 1540px;
  margin: 0 auto 18px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}
.flow-strip > div { display: grid; grid-template-columns: 23px auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; min-width: 132px; }
.flow-strip > div > span { grid-row: 1 / span 2; display: grid; place-items: center; width: 23px; height: 23px; color: #fff; font-size: 8px; font-weight: 900; border-radius: 7px; background: var(--accent); }
.flow-strip strong { font-size: 10px; }
.flow-strip small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.flow-strip > b { color: #c0c6d3; font-size: 14px; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.75fr); gap: 18px; max-width: 1540px; margin: 0 auto; align-items: start; }
.left-column, .right-column { min-width: 0; }
.right-column { display: grid; gap: 16px; position: sticky; top: 18px; }
.view-panel { display: none; }
.view-panel.active { display: block; }
.card { border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: var(--shadow); }

.hero-card { position: relative; display: grid; grid-template-columns: 1fr 235px; min-height: 206px; overflow: hidden; padding: 29px 30px; color: #fff; border-radius: 17px; background: linear-gradient(125deg, #252b49 0%, #393269 58%, #5544a0 100%); box-shadow: 0 18px 38px rgba(45, 42, 89, 0.18); }
.hero-card::after { content: ""; position: absolute; inset: auto -90px -130px auto; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.hero-card .section-kicker { color: #b8b1ff; }
.hero-card h2 { max-width: 620px; margin: 9px 0 9px; font-size: 25px; line-height: 1.25; letter-spacing: -0.025em; }
.hero-card p { max-width: 650px; margin: 0; color: #c9cce0; font-size: 12px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.hero-actions > span { max-width: 230px; color: #aaaec6; font-size: 9px; line-height: 1.5; }
.connector-orbit { position: relative; z-index: 1; align-self: center; width: 205px; height: 150px; margin-left: auto; }
.connector-orbit::before, .connector-orbit::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.connector-orbit::after { inset: 36px; }
.connector-orbit b { position: absolute; inset: 52px; display: grid; place-items: center; color: #fff; font-size: 10px; line-height: 1.4; text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.08); backdrop-filter: blur(5px); }
.orbit { position: absolute; display: grid; place-items: center; min-width: 42px; height: 24px; padding: 0 7px; color: #fff; font-size: 8px; font-weight: 800; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(18, 21, 41, .62); }
.orbit.docs { left: 5px; top: 26px; }.orbit.base { right: 0; top: 9px; }.orbit.sheets { right: 0; bottom: 14px; }.orbit.minutes { left: 0; bottom: 10px; }.orbit.db { left: 85px; top: 0; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; font-size: 11px; font-weight: 800; border: 0; border-radius: 10px; transition: .18s ease; }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button.primary { color: #fff; background: var(--accent); box-shadow: 0 8px 20px rgba(91,83,230,.22); }
.button.primary:hover:not(:disabled) { background: var(--accent-strong); transform: translateY(-1px); }
.button.secondary { color: #596178; border: 1px solid #353a52; background: #24283c; }
.button.full { width: 100%; }
.compact-button { min-height: 34px; padding: 0 13px; font-size: 10px; }
.text-button, .back-link { padding: 4px 0; color: var(--accent); font-size: 10px; font-weight: 800; border: 0; background: transparent; }
.back-link { margin: 2px 0 12px; }

.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 24px 2px 12px; }
.section-heading h2, .card-header h3 { margin: 4px 0 0; }
.section-heading h2 { font-size: 18px; }
.connector-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.connector-card { position: relative; min-height: 137px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 7px 22px rgba(39,50,79,.05); transition: .18s ease; }
.connector-card:hover { transform: translateY(-2px); border-color: #d5d1ff; box-shadow: 0 12px 27px rgba(39,50,79,.09); }
.connector-card.loaded { border-color: #bfe6d6; background: linear-gradient(180deg, #fff, #f7fdf9); }
.connector-card .card-icon { display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 12px; color: #fff; font-size: 11px; font-weight: 900; border-radius: 10px; background: var(--accent); }
.connector-card[data-id="docs"] .card-icon { background: #438be8; }.connector-card[data-id="base"] .card-icon { background: #7862df; }.connector-card[data-id="sheets"] .card-icon { background: #18a66a; }.connector-card[data-id="minutes"] .card-icon { background: #e58a32; }.connector-card[data-id="database"] .card-icon { background: #283449; font-size: 9px; }
.connector-card strong, .connector-card small { display: block; }
.connector-card strong { font-size: 11px; }
.connector-card small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.connector-card .card-mode { position: absolute; top: 13px; right: 11px; padding: 3px 6px; color: #6b7280; font-size: 7px; font-style: normal; border-radius: 999px; background: #f1f3f7; }
.connector-card.loaded .card-mode { color: var(--success); background: var(--success-soft); }

.context-card { margin-top: 16px; padding: 17px 18px; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 13px; }
.card-header h3 { font-size: 14px; }
.context-stack { display: grid; gap: 8px; }
.context-row { display: grid; grid-template-columns: 28px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #edf0f5; border-radius: 10px; background: #fafbfc; }
.context-row > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; font-size: 8px; font-weight: 900; border-radius: 8px; background: var(--accent); }
.context-row strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.context-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.mode-chip { padding: 4px 7px; color: var(--success); font-size: 7px; font-weight: 800; border-radius: 999px; background: var(--success-soft); }
.mode-chip.demo { color: var(--warning); background: var(--warning-soft); }
.remove-context { display: grid; place-items: center; width: 25px; height: 25px; color: #9aa1b1; border: 0; border-radius: 7px; background: transparent; }
.remove-context:hover { color: var(--danger); background: #fff0f0; }

.empty-state { padding: 34px 18px; color: #8b93a5; font-size: 10px; line-height: 1.7; text-align: center; border: 1px dashed #dce1e9; border-radius: 12px; background: #fafbfc; }
.empty-state.compact { padding: 15px; }

.connector-detail { padding: 23px; }
.detail-heading { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-icon { display: grid; place-items: center; width: 50px; height: 50px; color: #fff; font-size: 16px; font-weight: 900; border-radius: 14px; background: var(--accent); }
.detail-heading h2 { margin: 5px 0 4px; font-size: 20px; }
.detail-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: var(--success); font-size: 8px; font-weight: 800; border-radius: 999px; background: var(--success-soft); }
.status-pill.neutral { color: #70798d; background: #f0f2f6; }
.status-pill.running { color: var(--warning); background: var(--warning-soft); }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 19px 0; padding: 5px; border-radius: 11px; background: #f3f5f8; }
.mode-tabs button { padding: 9px 12px; color: #7b8497; font-size: 10px; font-weight: 800; border: 0; border-radius: 8px; background: transparent; }
.mode-tabs button small { margin-left: 5px; color: #9da4b2; font-size: 7px; }
.mode-tabs button.active { color: #3f3a9f; background: #fff; box-shadow: 0 4px 10px rgba(29,38,65,.07); }
.connector-form { display: grid; gap: 14px; }
.authorization-issue { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 12px 14px; color: #7f321f; border: 1px solid #efc9a8; border-radius: 10px; background: #fff7e8; }
.authorization-issue div { min-width: 0; }
.authorization-issue strong, .authorization-issue span { display: block; }
.authorization-issue strong { font-size: 10px; }
.authorization-issue span { margin-top: 3px; font-size: 9px; line-height: 1.45; }
.authorization-issue .button { flex: 0 0 auto; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: #3c465c; font-size: 10px; font-weight: 800; }
.form-field small { color: #8991a2; font-size: 8px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 200px; gap: 10px; }
input, textarea, select { width: 100%; color: var(--ink); border: 1px solid #dce1e9; border-radius: 9px; outline: none; background: #fff; }
input, select { min-height: 39px; padding: 0 11px; font-size: 10px; }
textarea { padding: 10px 11px; font-size: 10px; line-height: 1.6; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: #9d96f3; box-shadow: 0 0 0 3px rgba(91,83,230,.09); }
.readonly-note { padding: 12px 13px; color: #6a7183; font-size: 9px; line-height: 1.7; border: 1px solid #e9ddba; border-radius: 10px; background: #fffaf0; }
.readonly-note strong { color: #835414; }
.detail-actions { display: flex; align-items: center; gap: 13px; margin-top: 19px; }
.detail-actions > span { color: #8b93a4; font-size: 8px; }
.preview-card { margin-top: 16px; padding: 18px; }
.preview-list { display: grid; gap: 8px; max-height: 430px; overflow: auto; }
.preview-item { padding: 11px 12px; border: 1px solid #ebedf2; border-radius: 10px; background: #fafbfc; }
.preview-item strong { display: block; font-size: 10px; }
.preview-item p { margin: 5px 0 0; color: #667084; font-size: 9px; line-height: 1.55; }

.widget-card { min-height: 665px; overflow: hidden; }
.widget-header { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.widget-logo { width: 38px; height: 38px; border-radius: 11px; }
.widget-header span { color: #8b93a6; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.widget-header h2 { margin: 3px 0 0; font-size: 14px; }
.widget-header h2 em { margin-left: 4px; color: var(--accent); font-size: 8px; font-style: normal; }
.simulator-notice { display: flex; align-items: center; gap: 8px; margin: 13px 17px 0; padding: 8px 10px; color: #6a647e; font-size: 8px; border: 1px solid #e4e0ff; border-radius: 9px; background: #f7f5ff; }
.simulator-notice b { color: #5148c7; }
.question-label { display: block; margin: 13px 17px 6px; color: #475167; font-size: 9px; font-weight: 800; }
.widget-card > textarea { width: calc(100% - 34px); margin: 0 17px; }
.widget-controls { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 9px 17px 0; }
.widget-controls select { min-height: 34px; }
.widget-empty { display: grid; place-items: center; align-content: center; min-height: 350px; padding: 30px; color: #8d95a5; text-align: center; }
.widget-empty > div { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 14px; color: #7b72e8; font-size: 30px; border: 1px solid #e1def8; border-radius: 50%; background: #f7f5ff; }
.widget-empty strong { color: #4f596d; font-size: 12px; }
.widget-empty p { max-width: 270px; margin: 7px 0 0; font-size: 9px; line-height: 1.65; }
.widget-result { display: grid; gap: 11px; padding: 14px 17px 18px; }
.answer-headline { padding: 13px 14px; color: #fff; border-radius: 11px; background: linear-gradient(125deg, #393269, #5b53e6); }
.answer-headline span { display: block; color: #c8c4ff; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.answer-headline strong { display: block; margin-top: 5px; font-size: 12px; }
.answer-summary { margin: 0; color: #4f596d; font-size: 9px; line-height: 1.7; white-space: pre-line; }
.qa-markdown { max-height: 430px; overflow: auto; padding-right: 4px; }
.source-row a { color: #3f3a9f; text-decoration: none; }
.source-row a:hover { text-decoration: underline; }
.workflow-submit-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dcd8ff; border-radius: 11px; background: #f7f5ff; }
.workflow-submit-card strong, .workflow-submit-card small { display: block; }
.workflow-submit-card strong { font-size: 11px; }
.workflow-submit-card small { margin-top: 4px; color: #716b85; font-size: 9px; line-height: 1.5; }
.error-headline { background: linear-gradient(125deg, #7f3030, #ba4c4c); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.metric-grid div { padding: 8px 6px; text-align: center; border: 1px solid #eceef3; border-radius: 9px; background: #fafbfc; }
.metric-grid strong, .metric-grid small { display: block; }
.metric-grid strong { color: #3d36aa; font-size: 14px; }.metric-grid small { margin-top: 2px; color: #8991a2; font-size: 7px; }
.answer-section { padding-top: 2px; }
.answer-section h4 { margin: 0 0 6px; color: #384258; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.answer-section ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.answer-section li { position: relative; padding: 7px 8px 7px 22px; color: #5e687c; font-size: 8px; line-height: 1.5; border-radius: 8px; background: #f6f7fa; }
.answer-section li::before { content: "✓"; position: absolute; left: 8px; top: 7px; color: var(--success); font-weight: 900; }
.answer-section.risks li::before { content: "!"; color: var(--warning); }
.source-list { display: grid; gap: 6px; }
.source-row { display: grid; grid-template-columns: 19px 1fr auto; gap: 7px; align-items: start; padding: 7px 8px; border: 1px solid #edf0f4; border-radius: 8px; }
.source-row > b { display: grid; place-items: center; width: 19px; height: 19px; color: #fff; font-size: 7px; border-radius: 6px; background: var(--accent); }
.source-row strong, .source-row small { display: block; }
.source-row strong { font-size: 8px; }.source-row small { margin-top: 3px; color: #80889a; font-size: 7px; line-height: 1.45; }

.trace-card { padding: 16px 17px; }
.trace-list { display: grid; gap: 7px; }
.trace-step { display: grid; grid-template-columns: 25px 1fr; gap: 8px; align-items: center; }
.trace-step > span { display: grid; place-items: center; width: 25px; height: 25px; color: #5b53e6; font-size: 8px; font-weight: 900; border-radius: 8px; background: #efedff; }
.trace-step strong, .trace-step small { display: block; }
.trace-step strong { font-size: 9px; }.trace-step small { margin-top: 2px; color: var(--muted); font-size: 7px; }

/* 飞书内嵌页默认视觉缩放偏小，核心阅读区统一提升一档字号。 */
.nav-item strong { font-size: 13px; }
.nav-item small { font-size: 10px; }
.topbar h1 { font-size: 28px; }
.topbar p { font-size: 14px; }
.flow-strip strong { font-size: 12px; }
.flow-strip small { font-size: 10px; }
.hero-card h2 { font-size: 28px; }
.hero-card p { font-size: 14px; }
.button { font-size: 13px; }
.connector-card strong { font-size: 13px; }
.connector-card small, .connector-card .card-mode { font-size: 10px; }
.context-row strong { font-size: 12px; }
.context-row small, .mode-chip { font-size: 10px; }
.form-field label { font-size: 12px; }
.form-field small, .readonly-note, .detail-actions > span { font-size: 10px; }
input, textarea, select { font-size: 12px; }
.widget-header h2 { font-size: 16px; }
.simulator-notice, .question-label { font-size: 11px; }
.widget-empty strong { font-size: 14px; }
.widget-empty p { font-size: 11px; }
.answer-headline strong { font-size: 14px; }
.answer-summary { font-size: 12px; }
.answer-section h4 { font-size: 11px; }
.answer-section li { font-size: 11px; }
.source-row strong { font-size: 10px; }
.source-row small { font-size: 9px; }
.trace-step strong { font-size: 11px; }
.trace-step small { font-size: 9px; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 420px; padding: 12px 15px; color: #fff; font-size: 10px; line-height: 1.5; border-radius: 10px; background: #23273a; box-shadow: 0 14px 34px rgba(20,25,43,.25); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }.toast.error { background: #a93d3d; }

@media (max-width: 1180px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr); }
  .connector-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-card { grid-template-columns: 1fr 190px; }
  .connector-orbit { transform: scale(.88); transform-origin: center right; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .connector-nav { grid-template-columns: repeat(3, 1fr); }
  .sidebar-footer { margin-top: 16px; }
  .main-workspace { padding: 18px; }
  .content-layout { grid-template-columns: 1fr; }
  .right-column { position: static; }
  .flow-strip { overflow-x: auto; justify-content: start; }
}
@media (max-width: 620px) {
  .topbar { display: block; }.topbar-badges { margin-top: 12px; }
  .hero-card { grid-template-columns: 1fr; }.connector-orbit { display: none; }
  .connector-grid { grid-template-columns: repeat(2, 1fr); }
  .connector-nav { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .workflow-submit-card { grid-template-columns: 1fr; }
}
