/* Employee knowledge workspace */
body.source-page {
  background: #f3f0e7;
  color: var(--ink);
  overflow-x: hidden;
}
body.source-page::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(780px 480px at 95% 0%, rgba(200,243,110,.19), transparent 68%),
    radial-gradient(680px 420px at 16% 0%, rgba(255,255,255,.65), transparent 70%);
}
.source-page .toast { z-index: 400; }

.app-shell {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 258px minmax(0, 1fr);
  min-height: 100vh;
}

/* sidebar */
.sidebar {
  position: sticky; top: 0; align-self: start;
  height: 100vh; min-height: 620px;
  padding: 24px 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  background:
    radial-gradient(400px 300px at 10% 12%, rgba(200,243,110,.1), transparent 70%),
    linear-gradient(165deg, #0b3a2d 0%, #07271e 100%);
  color: rgba(255,255,255,.78);
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 99px; }
.side-top { display: flex; flex-direction: column; gap: 22px; }
.sidebar .vx-logo { padding: 2px 6px 0; }
.sidebar .vx-logo__word { color: var(--white); }

.workspace-switcher {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 13px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  cursor: default; user-select: none;
}
.workspace-avatar {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--lime); color: var(--green); font-family: var(--font-display); font-size: 18px; font-style: italic;
  flex: 0 0 auto;
}
.workspace-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.workspace-copy strong { color: var(--white); font-size: 11.5px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-copy small { color: rgba(255,255,255,.62); font-size: 9.5px; margin-top: 2px; }
.workspace-switcher > svg { width: 13px; height: 13px; margin-left: auto; color: rgba(255,255,255,.4); }

.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav-label {
  padding: 0 10px 8px; color: rgba(255,255,255,.56);
  font-size: 8.5px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase;
}
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  min-height: 39px; padding: 9px 10px; border-radius: 10px;
  color: rgba(255,255,255,.62); text-decoration: none;
  font-size: 11.5px; font-weight: 650; line-height: 1.2;
  transition: background .18s ease, color .18s ease;
}
.side-nav a:hover { background: rgba(255,255,255,.055); color: var(--white); }
.side-nav a.is-active { background: rgba(255,255,255,.09); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.side-nav a > svg { width: 16px; height: 16px; opacity: .62; flex: 0 0 auto; }
.side-nav a.is-active > svg { color: var(--lime); opacity: 1; }
.nav-count {
  margin-left: auto; min-width: 20px; height: 19px; padding: 2px 6px;
  display: inline-grid; place-items: center;
  border-radius: 999px; background: rgba(200,243,110,.14); color: var(--lime);
  font-size: 9px; font-weight: 800;
}
.nav-external { margin-left: auto; width: 12px !important; height: 12px !important; opacity: .38 !important; }

.side-bottom { display: flex; flex-direction: column; gap: 16px; }
.side-callout {
  padding: 15px; border-radius: 15px;
  background: linear-gradient(145deg, rgba(200,243,110,.14), rgba(255,255,255,.035));
  border: 1px solid rgba(200,243,110,.18);
}
.side-callout-label {
  display: flex; align-items: center; gap: 7px; color: var(--lime);
  font-size: 8.5px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase;
}
.side-callout-label .status-dot { width: 5px; height: 5px; background: var(--lime); box-shadow: 0 0 0 3px rgba(200,243,110,.13); }
.side-callout h3 { margin-top: 10px; color: var(--white); font-family: var(--font-display); font-size: 18px; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.side-callout p { margin-top: 7px; color: rgba(255,255,255,.64); font-size: 10px; line-height: 1.55; }
.side-callout a { margin-top: 11px; display: inline-flex; align-items: center; gap: 4px; color: var(--lime); font-size: 9.5px; font-weight: 800; text-decoration: none; }
.side-callout a:hover { text-decoration: underline; }
.side-callout a svg { width: 11px; height: 11px; }

.reset-link {
  display: flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,.58); padding: 3px 7px;
  font-size: 9.5px; font-weight: 650; text-align: left;
  transition: color .18s ease;
}
.reset-link:hover { color: rgba(255,255,255,.72); }
.reset-link svg { width: 12px; height: 12px; }
.side-user {
  display: flex; align-items: center; gap: 9px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.user-avatar {
  width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center;
  background: #d9e3de; color: var(--green); font-size: 9px; font-weight: 850;
  flex: 0 0 auto;
}
.side-user > span:last-child { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.side-user strong { color: var(--white); font-size: 10.5px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user small { color: rgba(255,255,255,.58); font-size: 8.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* main */
.workspace { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 64px; padding: 0 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(245,242,234,.8);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 30;
}
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10.5px; font-weight: 650; }
.breadcrumb strong { color: var(--ink); font-weight: 750; }
.breadcrumb span[aria-hidden] { opacity: .4; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.sync-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9.5px; font-weight: 650; }
.sync-status.is-bad { color: #a64f36; }
.sync-status.is-bad .status-dot { background: #d3684b; box-shadow: 0 0 0 3px rgba(211,104,75,.14); }

.workspace-inner {
  width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 34px 38px 30px;
}
.page-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 46px; }
.page-intro h1 {
  margin-top: 15px;
  font-family: var(--font-display); font-size: clamp(2.8rem, 4.2vw, 4.15rem);
  font-weight: 400; line-height: .98; letter-spacing: -.05em;
}
.page-intro h1 em { color: var(--green-2); font-style: italic; position: relative; white-space: nowrap; }
.page-intro h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .07em;
  background: var(--lime); border-radius: 99px; z-index: -1;
}
.intro-copy { margin-top: 18px; max-width: 630px; color: var(--muted); font-size: 13.5px; line-height: 1.68; }
.intro-stats { display: flex; align-items: stretch; padding: 0 2px 2px; }
.intro-stats > div {
  min-width: 128px; padding: 0 22px;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.intro-stats > div:first-child { border-left: 0; padding-left: 0; }
.intro-stats > div:last-child { padding-right: 0; }
.intro-stat-label { color: var(--muted); font-size: 8.5px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.intro-stats strong { margin-top: 7px; font-size: 31px; line-height: 1; font-weight: 750; letter-spacing: -.05em; }
.intro-stat-sub { margin-top: 4px; color: var(--muted); font-size: 8.5px; white-space: nowrap; }

/* workspace panels */
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(410px, .88fr); gap: 20px; align-items: start; margin-top: 32px; }
.list-panel, .editor-panel {
  background: rgba(255, 253, 248, .88);
  border: 1px solid rgba(18, 36, 29, .11);
  border-radius: 23px;
  box-shadow: 0 22px 50px -42px rgba(11,58,45,.3);
}
.list-panel { overflow: hidden; }
.list-head { padding: 20px 20px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.list-head h2 { font-size: 17px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.list-head p { margin-top: 4px; color: var(--muted); font-size: 9.5px; }
.list-tools { padding: 0 20px 13px; display: grid; grid-template-columns: minmax(0, 1fr) 156px; gap: 8px; }
.search-field {
  display: flex; align-items: center; gap: 8px;
  min-height: 39px; padding: 0 12px;
  background: #f3f0e7; border-radius: 10px;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.search-field:focus-within { background: var(--white); border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(20,88,68,.08); }
.search-field svg { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; color: var(--ink); }
.search-field input::placeholder { color: #5f6d66; }
.filter-field select {
  width: 100%; height: 39px; padding: 0 30px 0 11px; border-radius: 10px;
  background: #f3f0e7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%236c7b74' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center;
  border: 1px solid transparent; color: var(--ink-2); font-size: 10.5px; font-weight: 650;
  appearance: none; outline: 0; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.filter-field select:hover { background-color: #eeeadf; }
.filter-field select:focus { background-color: var(--white); border-color: var(--green-2); }
.list-legend {
  display: flex; justify-content: space-between; padding: 0 32px 7px;
  color: #5f6d66; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.knowledge-list {
  max-height: 638px; overflow-y: auto; padding: 0 8px 8px;
  scrollbar-width: thin; scrollbar-color: rgba(11,58,45,.14) transparent;
}
.knowledge-list::-webkit-scrollbar { width: 7px; }
.knowledge-list::-webkit-scrollbar-thumb { background: rgba(11,58,45,.13); border-radius: 99px; }
.kb-row {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 13px 12px; border-radius: 12px; background: transparent; text-align: left;
  color: var(--ink); border: 0;
  transition: background .16s ease, box-shadow .16s ease;
}
.kb-row + .kb-row { border-top: 1px solid rgba(18,36,29,.07); border-radius: 0; }
.kb-row:hover { background: rgba(243,240,231,.8); border-radius: 12px; border-top-color: transparent; }
.kb-row:hover + .kb-row { border-top-color: transparent; }
.kb-row.is-active {
  background: var(--lime-soft);
  border-color: transparent; border-radius: 12px;
  box-shadow: inset 3px 0 0 var(--green-2);
}
.kb-main { min-width: 0; }
.kb-question { font-size: 12px; font-weight: 750; line-height: 1.35; letter-spacing: -.01em; }
.kb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 8.5px; }
.kb-cat {
  display: inline-flex; align-items: center; min-height: 18px; padding: 2px 6px;
  border-radius: 5px; background: var(--paper-2); color: var(--ink-2);
  font-size: 8px; font-weight: 750; letter-spacing: .01em;
}
.kb-row.is-active .kb-cat { background: rgba(255,255,255,.62); }
.kb-tag { color: #5f6d66; font-size: 8.5px; }
.kb-time { color: #5f6d66; font-size: 8.5px; }
.kb-side { display: flex; align-items: center; gap: 9px; align-self: center; }
.kb-status {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--green-2); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(200,243,110,.28); padding: 4px 7px; border-radius: 999px;
}
.kb-status .status-dot { width: 4px; height: 4px; box-shadow: none; }
.kb-status--draft { color: #615a4a; background: #eee9db; }
.kb-status--draft .status-dot { background: #b4a98e; box-shadow: none; }
.kb-edit-icon { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,36,29,.06); color: var(--ink-2); opacity: 0; transition: opacity .16s ease; }
.kb-row:hover .kb-edit-icon, .kb-row.is-active .kb-edit-icon { opacity: 1; }
.kb-edit-icon svg { width: 12px; height: 12px; }
.list-foot {
  padding: 11px 20px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 8.5px;
}
.list-foot > span:first-child { display: flex; align-items: center; gap: 6px; }
.list-foot .status-dot { width: 5px; height: 5px; box-shadow: none; }
.empty-state { padding: 52px 26px; text-align: center; }
.empty-state .empty-icon { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 16px; background: var(--lime-soft); color: var(--green-2); }
.empty-state .empty-icon svg { width: 24px; height: 24px; }
.empty-state h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: -.025em; }
.empty-state p { margin-top: 6px; color: var(--muted); font-size: 11px; }
.skeleton-row { height: 54px; margin: 6px 8px; border-radius: 12px; background: linear-gradient(100deg, #f4f1e9 30%, #faf8f2 50%, #f4f1e9 70%); background-size: 200% 100%; animation: skeleton 1.4s infinite linear; }
@keyframes skeleton { to { background-position: -200% 0; } }

/* editor */
.editor-panel { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; padding: 21px 22px 20px; scrollbar-width: thin; scrollbar-color: rgba(11,58,45,.14) transparent; }
.editor-panel::-webkit-scrollbar { width: 7px; }
.editor-panel::-webkit-scrollbar-thumb { background: rgba(11,58,45,.13); border-radius: 99px; }
.editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.editor-kicker { display: block; color: var(--green-2); font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.editor-head h2 { margin-top: 4px; font-family: var(--font-display); font-size: 25px; line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
.editor-head .icon-btn { width: 30px; height: 30px; flex: 0 0 auto; }
.editor-head .icon-btn svg { width: 15px; height: 15px; }
#entry-form { padding-top: 17px; display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.field label, .field-label { color: var(--ink); font-size: 10.5px; font-weight: 750; margin-bottom: 6px; }
.field-label-row label { margin-bottom: 0; }
.field .optional { color: #5f6d66; font-size: 8.5px; font-weight: 600; margin-left: 4px; }
.required { color: #6e624b; font-size: 7.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid rgba(18,36,29,.13); border-radius: 10px;
  background: #fbf9f4; color: var(--ink); outline: 0;
  font-size: 11.5px; line-height: 1.5; padding: 10px 11px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input { min-height: 40px; }
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  height: 40px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%236c7b74' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px;
}
.field input:focus, .field textarea:focus, .field select:focus { background: var(--white); border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(20,88,68,.08); }
.field input::placeholder, .field textarea::placeholder { color: #5f6d66; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b45339; box-shadow: 0 0 0 3px rgba(180,83,57,.08); }
.hint { margin-top: 5px; color: #5f6d66; font-size: 8.5px; line-height: 1.4; }
.field-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.char-count { flex: 0 0 auto; color: #5f6d66; font-size: 8px; margin-top: 5px; }
.segmented { display: flex; padding: 3px; gap: 2px; border-radius: 9px; background: #f1eee5; border: 1px solid rgba(18,36,29,.08); min-height: 40px; }
.segmented label { flex: 1; margin: 0; position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; height: 32px; border-radius: 6px; color: #5f6d66; font-size: 9.5px; font-weight: 750; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.segmented input:checked + span { background: var(--white); color: var(--green); box-shadow: 0 2px 6px -3px rgba(11,58,45,.3); }
.segmented input:focus-visible + span { outline: 2px solid #1d6fff; outline-offset: 1px; }

.preview-card {
  border-radius: 13px; padding: 12px;
  background: linear-gradient(150deg, #f3f6e8, #eef3df);
  border: 1px solid rgba(29,115,88,.14);
}
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--green-2); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.preview-head > span:first-child { display: flex; align-items: center; gap: 5px; }
.preview-head svg { width: 12px; height: 12px; }
.preview-head .pill { font-size: 7.5px; min-height: 19px; padding: 3px 6px; letter-spacing: .05em; }
.preview-head .status-dot { width: 4px; height: 4px; box-shadow: none; }
.preview-question { margin-top: 11px; padding: 7px 9px; border-radius: 8px 8px 8px 3px; background: rgba(255,255,255,.62); color: var(--ink-2); font-size: 9.5px; font-weight: 700; line-height: 1.4; }
.preview-bubble {
  margin: 6px 0 0 20px; padding: 9px 10px; border-radius: 3px 9px 9px 9px;
  background: var(--white); color: var(--ink-2); font-size: 9.5px; line-height: 1.5;
  white-space: pre-wrap; max-height: 116px; overflow: hidden;
  box-shadow: 0 5px 13px -11px rgba(11,58,45,.4);
}
.form-actions { display: flex; align-items: center; gap: 9px; margin-top: 1px; }
.form-actions .btn { min-height: 39px; font-size: 11px; padding: 9px 15px; }
.form-actions .btn svg { width: 14px; height: 14px; }
.form-note { display: flex; align-items: flex-start; gap: 6px; color: #5f6d66; font-size: 8.5px; line-height: 1.4; margin-top: -3px; }
.form-note .status-dot { width: 4px; height: 4px; margin-top: 5px; box-shadow: none; }
.danger-zone {
  margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.danger-zone div { display: flex; flex-direction: column; gap: 2px; }
.danger-zone strong { color: #8e3b28; font-size: 9.5px; font-weight: 750; }
.danger-zone span { color: #5f6d66; font-size: 8px; }
.danger-zone button {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; color: #a24d38; font-size: 8.5px; font-weight: 750;
  padding: 6px 8px; border-radius: 7px; transition: background .18s ease, color .18s ease;
}
.danger-zone button:hover { background: #f8e7e2; }
.danger-zone button.is-armed { background: #a24d38; color: var(--white); }
.danger-zone button svg { width: 12px; height: 12px; }
.form-error {
  display: none; padding: 9px 10px; border-radius: 8px;
  background: #fae7e1; color: #8e3b28; font-size: 9.5px; line-height: 1.4;
}
.form-error.is-visible { display: block; }

.workspace-foot {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px;
  color: #5f6d66; font-size: 8.5px;
}
.workspace-foot a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.workspace-foot a:hover { text-decoration: underline; }

@media (max-width: 1320px) {
  .app-shell { grid-template-columns: 236px minmax(0, 1fr); }
  .workspace-inner { padding-left: 28px; padding-right: 28px; }
  .workspace-grid { grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); }
  .intro-stats > div { min-width: 112px; padding: 0 16px; }
}
@media (max-width: 1120px) {
  .page-intro { grid-template-columns: 1fr; gap: 24px; }
  .intro-stats { align-self: start; }
  .intro-stats > div:first-child { padding-left: 0; }
  .workspace-grid { grid-template-columns: 1fr; }
  .editor-panel { position: relative; top: auto; max-height: none; }
  .knowledge-list { max-height: 560px; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: relative; height: auto; min-height: 0; padding: 13px 18px;
    flex-direction: row; align-items: center; justify-content: space-between; gap: 16px;
    overflow: visible;
  }
  .side-top { flex-direction: row; align-items: center; gap: 16px; width: 100%; }
  .workspace-switcher, .side-callout, .reset-link, .side-user, .side-nav-label { display: none; }
  .side-bottom { display: none; }
  .side-nav { flex-direction: row; gap: 4px; margin-left: auto; }
  .side-nav a { min-height: 34px; padding: 7px 9px; font-size: 9.5px; }
  .side-nav a > svg { width: 14px; height: 14px; }
  .side-nav a .nav-external { display: none; }
  .nav-count { min-width: 18px; height: 17px; padding: 1px 5px; font-size: 8px; }
  .sidebar .vx-logo { padding: 0; }
  .sidebar .vx-logo__word { font-size: 11px; }
  .topbar { padding: 0 20px; height: 58px; position: relative; }
  .workspace-inner { padding: 25px 20px 24px; }
}
@media (max-width: 680px) {
  .topbar-actions .sync-status { display: none; }
  .page-intro h1 { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .intro-stats { width: 100%; }
  .intro-stats > div { flex: 1; min-width: 0; padding: 0 12px; }
  .intro-stats strong { font-size: 26px; }
  .intro-stat-sub { font-size: 7.5px; white-space: normal; }
  .list-tools { grid-template-columns: 1fr; }
  .filter-field select { width: 100%; }
  .list-panel, .editor-panel { border-radius: 19px; }
  .knowledge-list { max-height: 500px; }
  .field-row { grid-template-columns: 1fr; }
  .workspace-foot { flex-direction: column; gap: 8px; }
  .side-nav a span:not(.nav-count) { display: none; }
  .side-nav a { padding: 8px; }
  .side-nav a:first-of-type span:not(.nav-count) { display: inline; }
  .page-intro { gap: 20px; }
  .intro-copy { font-size: 12.5px; }
}
@media (max-width: 460px) {
  .sidebar { padding: 11px 13px; }
  .workspace-inner { padding: 21px 13px 24px; }
  .topbar { padding: 0 13px; }
  .breadcrumb { font-size: 9.5px; }
  .topbar .btn span, .topbar-actions .btn { font-size: 9px; }
  .page-intro h1 { font-size: 2.55rem; }
  .intro-stats { flex-wrap: wrap; gap: 13px 0; }
  .intro-stats > div { border-left: 0; padding: 0; }
  .intro-stats > div:nth-child(2) { padding-left: 12px; border-left: 1px solid var(--line); }
  .intro-stats > div:nth-child(3) { padding-left: 12px; border-left: 1px solid var(--line); }
  .list-head { padding: 17px 14px 12px; }
  .list-tools { padding: 0 14px 12px; }
  .list-legend { padding-left: 24px; padding-right: 24px; }
  .kb-row { padding: 12px 9px; gap: 8px; }
  .kb-question { font-size: 11px; }
  .kb-side { gap: 4px; }
  .kb-status { display: none; }
  .list-foot { padding-left: 14px; padding-right: 14px; }
  .editor-panel { padding: 18px 15px 17px; }
  .form-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
