/* Workbench layout and motion use the existing palette in design-tokens.css. */
:root { --motion-out: cubic-bezier(.22,.78,.24,1); }
::selection { color: var(--ink); background: var(--nav); }
input, textarea { caret-color: var(--accent); }
[hidden] { display: none !important; }

.desk .sidebar { scrollbar-width: thin; scrollbar-color: var(--nav-line) transparent; }
.sidebar nav a, .sidebar .quiet {
  transition: background .18s, color .18s, border-color .18s, translate .18s var(--motion-out);
}
.sidebar .sidebar-section { flex-shrink: 0; gap: 2px; padding-top: 0; }
.sidebar .sidebar-section + .sidebar-section { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--nav-line); }
.sidebar .sidebar-section a { min-height: 38px; padding-block: 7px; }
.sidebar .sidebar-section a:hover:not([aria-current]) { background: var(--soft); }
.sidebar .desk-bell { justify-content: flex-start; width: 100%; gap: 10px; padding-inline: 11px; min-height: 42px; }
.top-title { gap: 8px; }
.student-access { min-height: 30px; margin-left: auto; }
.research-main-head .student-access { font-size: .73rem; }

.page-intro h1 { letter-spacing: -.03em; }
.metrics strong, .research-sales, .student-access { font-variant-numeric: tabular-nums; }
.metrics > div { border-radius: 12px; }
.form { column-gap: 14px; row-gap: 12px; }
.account-plan-note { grid-column: 1/-1; }
.button {
  transition: color .17s, background .17s, border-color .17s, box-shadow .18s, translate .2s var(--motion-out), scale .16s var(--motion-out);
}
.button.primary:not(:disabled) { box-shadow: var(--shadow-card); }
.button:not(:disabled):active { scale: .98; }
:is(button,a).button .ui-icon { transition: translate .22s var(--motion-out); }

.dashboard-hero {
  min-height: clamp(308px,32vw,392px);
  padding: clamp(24px,4.2vw,58px);
  border-radius: 22px;
}
.dashboard-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
  mask-image: linear-gradient(90deg,transparent,#000 40%);
  transform-origin: right center;
  animation: hero-art-in 1s var(--motion-out) both;
}
.dashboard-hero-copy { animation: hero-settle .44s var(--motion-out) both; }
@keyframes hero-settle { from { opacity: .9; translate: 0 5px; } }
.dashboard-hero h1 { font-size: clamp(2.1rem,4.65vw,4.15rem); letter-spacing: -.036em; }
.dashboard-hero .dashboard-welcome { font-weight: 620; margin: 0 0 8px; }
.dashboard-actions { gap: 10px; margin-top: 24px; align-items: stretch; }
.dashboard-actions .button { margin: 0; min-height: 42px; padding-inline: 15px; }
.dashboard-overview {
  container-type: inline-size;
  margin-block-start: clamp(14px,2vw,25px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--card);
}
.dashboard-assistant-strip {
  padding: 10px 16px 14px;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: linear-gradient(110deg,var(--surface-subtle),var(--nav));
}
.dashboard-assistant-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.dashboard-assistant-head h2 { font-size: .94rem; color: var(--ink); }
.dashboard-assistant-head .button { min-height: 32px; padding: 4px 8px; font-size: .77rem; white-space: nowrap; }
.dashboard-assistant-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);
}
.dashboard-assistant-track { display: flex; width: max-content; animation: dashboard-assistant-scroll 42s linear infinite; }
.dashboard-assistant-viewport:is([data-paused],:hover) .dashboard-assistant-track { animation-play-state: paused; }
.dashboard-assistant-track ul {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 1px 8px 1px 0;
  list-style: none;
}
.dashboard-assistant-track li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 4px 11px 4px 5px;
  border: 1px solid var(--nav-line);
  border-radius: var(--radius-badge);
  background: var(--card);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 670;
  white-space: nowrap;
}
.dashboard-assistant-track .client-logo { width: 27px; height: 27px; border-radius: 50%; }
.dashboard-assistant-track .client-logo img { width: 21px; height: 21px; }
@keyframes dashboard-assistant-scroll { to { transform: translateX(-50%); } }

.dashboard-overview-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.dashboard-overview-stats li { min-width: 0; border-block-start: 1px solid var(--line); }
.dashboard-overview-stats li + li { border-inline-start: 1px solid var(--line); }
.dashboard-overview-stats a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 13px clamp(10px,2.1cqw,22px);
  color: var(--muted);
  font-size: .81rem;
  transition: background .18s;
}
.dashboard-overview-stats li:first-child a { border-end-start-radius: var(--radius-panel); }
.dashboard-overview-stats li:last-child a { border-end-end-radius: var(--radius-panel); }
.dashboard-overview-stats strong { color: var(--ink); font-size: clamp(1.55rem,3.9cqw,2.35rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dashboard-overview-stats a:hover, .dashboard-overview-stats a:focus-visible { background: var(--soft); color: var(--accent-hover); }
.dashboard-overview-stats a:focus-visible { outline-offset: -3px; }
.dashboard-overview-stats .ui-icon { position: absolute; right: 11px; top: 14px; width: 13px; height: 13px; color: var(--accent); }
.common-tools-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 0 18px;
  border-bottom: 1px solid var(--nav-line);
}
.common-tools-index a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 13px;
  border: 1px solid var(--nav-line);
  border-radius: var(--radius-badge);
  background: var(--card);
  color: var(--accent-hover);
  font-size: .82rem;
  font-weight: 650;
}
.common-tools-index a:hover { background: var(--soft); border-color: var(--focus); }
.common-tools-group { margin-block-start: clamp(20px,3vw,34px); scroll-margin-top: 96px; }
.common-tools-group h2 { margin-bottom: 10px; font-size: 1.13rem; }
@media (max-width: 420px) {
  .common-tools-directory .dashboard-tools { grid-template-columns: minmax(0,1fr); }
  .common-tools-index a { padding-inline: 10px; }
}
.home-skills { container-type: inline-size; }
.home-skills .section-title p { margin-top: 4px; color: var(--muted); font-size: .85rem; }
.home-skills-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-skill-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(14px,2.1cqw,24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--card);
  color: var(--ink);
  transition: translate .2s var(--motion-out), border-color .2s, box-shadow .2s;
}
.home-skill-card:hover, .home-skill-card:focus-visible { border-color: var(--nav-line); box-shadow: var(--shadow-card); }
.home-skill-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-skill-card:hover { translate: 0 -2px; }
}
.home-skill-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; }
.home-skill-heading h3 { font-size: 1rem; line-height: 1.35; }
.home-skill-heading .tool-icon { width: 34px; height: 34px; color: var(--accent); background: var(--soft); }
.home-skill-count { color: var(--accent-hover); font-size: .76rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-skill-count strong { font-size: 1.18rem; }
.home-skill-card p { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.home-skill-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 0; padding: 0; list-style: none; }
.home-skill-tags li { border-radius: var(--radius-badge); padding: 4px 8px; background: var(--surface-subtle); color: var(--accent-hover); font-size: .73rem; }
#skills-directory { scroll-margin-top: 92px; }
@container (max-width: 800px) {
  .home-skills-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@container (max-width: 510px) {
  .home-skills-grid { grid-template-columns: minmax(0,1fr); }
}
@container (max-width: 565px) {
  .dashboard-overview-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-overview-stats li:nth-child(odd) { border-inline-start: 0; }
  .dashboard-overview-stats li:first-child a { border-radius: 0; }
  .dashboard-overview-stats li:nth-last-child(2) a { border-end-start-radius: var(--radius-panel); }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-assistant-head button, .dashboard-assistant-track ul[aria-hidden] { display: none; }
  .dashboard-assistant-viewport { mask-image: none; }
  .dashboard-assistant-track { width: auto; }
  .dashboard-assistant-track ul { width: 100%; flex-wrap: wrap; }
}

.skills-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(172px, 31%); align-items: center; gap: clamp(12px,3vw,34px); }
.skills-intro-copy { min-width: 0; container-type: inline-size; }
.skills-intro-title { font-size: clamp(1.4rem,7.2cqi,3.05rem); }
.skills-intro-art { display: grid; place-items: center; width: 100%; height: clamp(145px,21vw,260px); }
.skills-intro-art img {
  display: block; width: 100%; height: 100%;
  min-height: 0; object-fit: contain;
  transform-origin: center;
  animation: hero-art-in 1s var(--motion-out) both;
  transition: scale .4s var(--motion-out);
}
.training-route-head { align-items: center; flex-direction: row; }
.training-quick-links { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); }
.training-quick-links summary { cursor: pointer; color: var(--accent-hover); font-weight: 650; font-size: var(--size-body); }

.dashboard-tool { border-radius: 14px; }
.dashboard-tool:active { scale: .99; }
.home-route a, .stage-steps a, .launch-home {
  transition: translate .22s var(--motion-out), border-color .18s, background .18s, box-shadow .18s;
}
.home-route a { background: var(--card); border-color: var(--line); }
.home-route a:hover, .stage-steps a:hover { border-color: var(--field-line); box-shadow: var(--shadow-card); }
.research-card { transition: border-color .18s, box-shadow .18s; }
.research-card:focus-within { border-color: var(--focus); }
.research-card .research-image img { transition: opacity .2s, scale .33s var(--motion-out); }
.research-drawer[open] { animation: drawer-reveal .24s var(--motion-out) both; }
@keyframes drawer-reveal {
  from { opacity: .55; translate: 25px 0; }
  to { opacity: 1; translate: 0 0; }
}
.research-band-bars svg { animation: metric-reveal .38s var(--motion-out) both; transform-origin: 50% 100%; }
@keyframes metric-reveal { from { scale: 1 .55; } }
#dialog[open] { animation: dialog-reveal .2s var(--motion-out) both; }
@keyframes dialog-reveal { from { opacity: .62; translate: 0 9px; } }

@media (hover: hover) {
  .sidebar nav a:hover, .sidebar .quiet:hover { translate: 2px 0; }
  .button:not(:disabled):hover, .launch-home:hover, .home-route a:hover, .dashboard-status a:hover { translate: 0 -2px; }
  a.button:hover .ui-icon { translate: 3px 0; }
  .skills-intro-art:hover img { scale: 1.04; }
  .research-card:hover .research-image img.is-loaded { scale: 1.035; }
}
@media (max-width: 620px) {
  .dashboard-hero { display: grid; align-content: end; gap: 20px; min-height: 360px; padding: 22px; }
  .dashboard-art {
    width: 100%;
    height: 76%;
    object-position: 63% 30%;
    mask-image: linear-gradient(180deg,#000 0%,#000 39%,transparent 95%);
  }
  .dashboard-hero-copy { max-width: 100%; }
  .skills-intro { grid-template-columns: minmax(0,1fr); }
  .skills-intro-art { width: min(100%,290px); height: clamp(115px,35vw,180px); justify-self: center; }
  .research-drawer[open] { animation-name: dialog-reveal; }
}
@media (max-width: 360px) {
  .research-main-head .student-access { padding-inline: 5px; font-size: .65rem; }
  .research-main-head .research-mobile-site { max-width: 89px; }
  .dashboard-actions { gap: 6px; }
  .dashboard-actions .button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sidebar :is(a,button):hover, .button:hover, .button:active, .launch-home:hover,
  .home-route a:hover, .dashboard-status a:hover, .research-card:hover .research-image img.is-loaded, .skills-intro-art:hover img {
    translate: none;
    scale: none;
  }
}

/* Interaction feedback follows the existing palette and page layout. */
#main[data-desk-enter] { animation: desk-view-in .23s var(--motion-out) both; }
@keyframes desk-view-in { from { opacity: .93; translate: 0 5px; } }
.sidebar-section a .ui-icon, .sidebar .desk-bell .ui-icon {
  transition: translate .2s var(--motion-out), scale .2s var(--motion-out), color .17s;
}
.sidebar-section a:active, .sidebar .desk-bell:active { scale: .98; }
.sidebar-section a[aria-current] .ui-icon { animation: desk-tab-settle .28s var(--motion-out); }
@keyframes desk-tab-settle { from { scale: .86; } 68% { scale: 1.08; } to { scale: 1; } }
:is(.research-segment,.mode-switch,.entry-demo-options) :is([aria-pressed],[aria-selected]) {
  transition: background .2s, color .2s, box-shadow .2s, scale .17s var(--motion-out);
}
:is(.research-segment,.mode-switch,.entry-demo-options) :is([aria-pressed],[aria-selected]):active { scale: .97; }
:is(.research-segment,.mode-switch) :is([aria-pressed=true],[aria-selected=true]) { box-shadow: var(--shadow-card); }
@media (hover: hover) {
  .sidebar-section a:not([aria-current]):hover .ui-icon { translate: 2px 0; }
  :is(.launch-home,.dashboard-tool,.home-route a,.dashboard-status a) .ui-icon { transition: translate .22s var(--motion-out); }
  :is(.launch-home,.dashboard-tool,.dashboard-status a):hover .ui-icon { translate: 2px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-section a:active, .sidebar .desk-bell:active,
  :is(.research-segment,.mode-switch,.entry-demo-options) :is([aria-pressed],[aria-selected]):active { scale: none; }
  .sidebar-section a .ui-icon, .launch-home .ui-icon, .dashboard-tool .ui-icon, .dashboard-status .ui-icon { translate: none !important; }
}

/* 首页布局、报表和交互动效。 */
@keyframes purple-enter {
  from { opacity: .58; translate: 0 8px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes purple-drawer {
  from { opacity: .52; translate: -20px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes purple-stage {
  from { opacity: .57; translate: 0 7px; }
  to { opacity: 1; translate: 0 0; }
}

.desk { --purple-return: cubic-bezier(.2,.85,.28,1); }

.desk .sidebar nav a { position: relative; }
.desk .sidebar nav a[aria-current] { box-shadow: inset 3px 0 var(--accent), var(--shadow-card); }
.desk .top { background: #fbfbfff0; }
.desk #main[data-desk-enter] { animation: purple-enter .34s var(--purple-return) both; }

.dashboard-feature {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(158px,19%);
  gap: 12px;
}
.dashboard-feature .dashboard-hero {
  min-height: clamp(252px,23vw,318px);
  padding: clamp(26px,3.4vw,50px);
  border-radius: 23px;
  background: var(--hero-background);
}
.dashboard-feature .dashboard-art {
  object-position: 57% 50%;
  width: 67%;
  mask-image: linear-gradient(90deg,transparent 1%,#000 59%);
  transition: transform .64s var(--purple-return);
}
.dashboard-feature .dashboard-hero-copy { max-width: min(100%,36rem); }
.dashboard-feature .dashboard-hero h1 { font-size: clamp(2rem,3.6vw,3.65rem); text-wrap: pretty; }
.dashboard-feature .dashboard-actions .button { min-height: 44px; }
.dashboard-feature .dashboard-actions .quiet {
  text-decoration: none;
  background: #ffffff60;
  border: 1px solid #d9d0f0;
}
.dashboard-feature .dashboard-actions .quiet:hover { background: #fff; }
.dashboard-feature .dashboard-status {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.dashboard-feature .dashboard-utility {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(7px,1vw,13px);
  min-height: 76px;
  padding: 14px clamp(10px,1.3vw,18px);
  overflow: hidden;
  border: 1px solid #d5d7f4;
  border-radius: 17px;
  background: linear-gradient(125deg,#f7f8ff,#e7e9ff);
  color: #27214e;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: border-color .18s, filter .18s, translate .2s var(--motion-out);
}
.dashboard-feature .dashboard-utility-ai {
  background: linear-gradient(123deg,#faf7ff,#efe8fc 70%,#e7def9);
  border-color: #ded3f1;
  color: var(--ink);
}
.dashboard-utility::before {
  position: absolute;
  content: "";
  pointer-events: none;
  inset: 0 0 0 36%;
  opacity: .32;
  background: radial-gradient(circle at 1px 1px,#8677c9 1px,transparent 1.4px) 0 0 / 12px 12px;
  mask-image: linear-gradient(110deg,transparent,#000 72%);
}
.dashboard-utility-ai::before { opacity: .27; }
.dashboard-utility > span { position: relative; }
.dashboard-utility-icon {
  display: grid;
  place-items: center;
  width: clamp(33px,3.1vw,45px);
  aspect-ratio: 1;
  border: 1px solid #d0c8ef;
  border-radius: 12px;
  background: #fff9;
  color: #5944bc;
}
.dashboard-utility-ai .dashboard-utility-icon { border-color: #dacef1; background: var(--soft); }
.dashboard-utility-icon .ui-icon { width: 20px; height: 20px; }
.dashboard-utility-copy { display: grid; gap: 5px; min-width: 0; font-size: .84rem; font-weight: 700; line-height: 1.35; }
.dashboard-utility-copy strong { font-size: clamp(.92rem,1.28vw,1.25rem); font-variant-numeric: tabular-nums; }
.dashboard-utility-copy .dashboard-utility-health { display: flex; align-items: center; gap: 5px; font-size: .77rem; color: var(--muted); }
.dashboard-utility-health::before { content:""; width: 6px; height: 6px; flex: none; border-radius:50%; background: #7963ad; }
.dashboard-utility-health[data-verified="true"]::before { background: var(--status-good); }
.dashboard-utility-arrow { display:grid; place-items:center; opacity:.8; }
.dashboard-utility-arrow .ui-icon { width: 15px; height: 15px; }
.dashboard-utility:hover { filter: brightness(1.055); border-color: #917cd1; }
.dashboard-utility:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.dashboard-route-panel {
  margin-top: 20px;
  padding: 17px 17px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}
.dashboard .dashboard-route-panel .dashboard-section-title { margin: 0 5px 12px; }
.dashboard .home-route { margin-bottom: 0; gap: 0; }
.dashboard .home-route li { min-width: 0; position: relative; }
.dashboard .home-route li:not(:last-child)::after {
  position: absolute;
  content: "";
  inset: 26px 0 auto 53px;
  border-top: 1px solid var(--line);
  pointer-events: none;
}
.dashboard .home-route a {
  position: relative;
  min-height: 121px;
  padding: 11px 13px 8px;
  background: transparent;
  border-color: transparent;
  border-radius: 11px;
}
.dashboard .home-route a span { width: 29px; height: 29px; font-variant-numeric: tabular-nums; }
.dashboard .home-route a:hover { border-color: #e3dafa; background: var(--surface-subtle); }
.dashboard .home-route .is-current a { border-color: var(--accent); background: var(--surface-subtle); box-shadow: none; }
.dashboard .home-route .is-done a span { color: #fff; background: var(--status-good); }
.dashboard .home-route .is-returned a span { color: #fff; background: var(--status-warn); }

.desk .dashboard-tool {
  min-height: 98px;
  grid-template-columns: 38px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-content: center;
  padding: 14px 36px 14px 14px;
  border-radius: 12px;
}
.desk .dashboard-tool strong { grid-column: 2; margin-top: 0; overflow-wrap: anywhere; }
.desk .dashboard-tool small { grid-column: 2; }
.desk .dashboard-tool .tool-icon { grid-row: span 2; }
.desk .dashboard-tool .tool-affordance { right: 12px; }
.desk .dashboard-tool[aria-expanded=true] { background: var(--surface-subtle); }

.desk .ads-source { border-top: 3px solid var(--accent); }
.desk .ads-report .data-source {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--accent-hover);
}
.desk .ads-report .metrics { margin-block: 15px; }
.desk .ads-report .metrics > div { padding: 13px 15px; }
.desk .ads-report .metrics > div:last-child { border-color: #d8cdf5; background: #f4effd; }
.desk .ads-report .metrics > div:last-child strong { color: var(--accent-hover); }
.desk .ads-report [data-action="toggle-waste"][aria-pressed=true] { background: var(--soft); border-color: var(--accent); }
.desk .ads-report .table-wrap { border: 1px solid var(--line); border-radius: 10px; margin-top: 13px; }
.desk .ads-report th { background: var(--surface-subtle); }
.desk .ads-report :is(th,td):not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.desk .ads-report tbody tr:hover { background: #f8f5fe; }
.desk .ads-report tbody tr:last-child td { border-bottom: 0; }

.desk :is(.button,.sidebar nav a,.dashboard-tool,.home-route a,.dashboard-status a,.launch-home) {
  transition: background .18s, color .18s, border-color .18s, box-shadow .2s, scale .24s var(--purple-return), transform .24s var(--purple-return), translate .24s var(--purple-return);
}
.desk :is(.button,.sidebar nav a,.dashboard-tool,.home-route a,.dashboard-status a,.launch-home):active:not(:disabled) { scale: .97; }
.desk :is(.button,.sidebar nav a,.dashboard-tool,.home-route a,.dashboard-status a,.launch-home):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.desk .setup-controls:not([hidden]), .desk .ads-report [data-filter-change] { animation: purple-stage .33s var(--purple-return) both; }
.desk #main[data-desk-enter] .home-route li { animation: purple-stage .36s var(--purple-return) both; }
.desk #main[data-desk-enter] .home-route li:nth-child(2) { animation-delay: 35ms; }
.desk #main[data-desk-enter] .home-route li:nth-child(3) { animation-delay: 70ms; }
.desk #main[data-desk-enter] .home-route li:nth-child(4) { animation-delay: 105ms; }
.desk #main[data-desk-enter] .home-route li:nth-child(5) { animation-delay: 140ms; }
.desk-tap-echo {
  position: fixed;
  z-index: 12;
  inset: 0 auto auto 0;
  width: 29px;
  height: 29px;
  pointer-events: none;
  border: 2px solid #8061de;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #b199ee55;
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .dashboard-feature .dashboard-hero:hover .dashboard-art { transform: scale(1.035); }
  .desk .home-route a:hover { translate: 0 -2px; }
  .desk .sidebar nav a:hover:not([aria-current]) { translate: 2px 0; }
}
@media (min-width:800px) {
  .desk .ads-source form { grid-template-columns: minmax(0,1fr) minmax(115px,150px) max-content; }
}
@media (max-width:1140px) {
  .dashboard .home-route li::after { display: none; }
}
@media (max-width:990px) {
  .dashboard-feature { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .dashboard-feature .dashboard-status { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:730px) {
  .desk > .sidebar.mobile-open { animation: purple-drawer .27s var(--purple-return) both; }
  .desk > .sidebar nav a, .desk .top-title .button, .desk .ads-report .button { min-height: 44px; }
  .desk .dashboard-tool { grid-template-columns: 1fr; padding: 11px 27px 11px 11px; }
  .desk .dashboard-tool strong, .desk .dashboard-tool small { grid-column: auto; }
  .desk .dashboard-tool .tool-icon { grid-row: auto; margin-bottom: 6px; }
  .desk .dashboard-tool .tool-affordance { top: 12px; right: 8px; }
}
@media (max-width:620px) {
  .dashboard-feature .dashboard-hero { min-height: 248px; align-content: end; padding: 21px; }
  .dashboard-feature .dashboard-art { width: 100%; height: 100%; mask-image: linear-gradient(112deg,transparent 30%,#000 100%); }
  .dashboard-feature .dashboard-utility { min-height: 67px; padding: 9px; gap: 7px; border-radius: 12px; }
  .dashboard-utility-icon { border-radius: 9px; }
  .dashboard-utility-icon .ui-icon { width: 17px; height: 17px; }
  .dashboard-utility-arrow .ui-icon { width: 12px; height: 12px; }
}
@media (max-width:560px) {
  .dashboard-route-panel { padding: 13px 11px; }
  .dashboard .home-route li + li { border-top: 1px solid var(--line); }
  .dashboard .home-route a { display: grid; grid-template-columns: 29px minmax(0,1fr); min-height: 58px; gap: 1px 10px; padding: 9px 6px; }
  .dashboard .home-route a span { grid-row: span 2; align-self: center; }
}
@media (max-width:525px) {
  .desk .top:has(.usage) {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: 45px 40px;
    height: 86px;
    gap: 0;
    padding-inline: 13px;
    white-space: nowrap;
  }
  .desk .top:has(.usage) .top-title { border-bottom: 1px solid var(--line); }
  .desk .top:has(.usage) .top-actions { gap: 3px; }
  .desk .top:has(.usage) .top-actions .usage { margin-left: auto; padding-inline: 7px; }
  .desk:has(.top .usage) > .sidebar.mobile-open { top: 86px; height: calc(100dvh - 86px); }
}
@media (prefers-reduced-motion:reduce) {
  .desk :is(.button,.sidebar a,.home-route a,.dashboard-tool,.dashboard-status a,.launch-home,.dashboard-art) { scale: none !important; translate: none !important; transform: none !important; }
}

.home-tools { container-type: inline-size; }
.home-tools-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 0 13px;
}
.home-tools-filters .button {
  min-height: 36px;
  border: 1px solid var(--nav-line);
  border-radius: var(--radius-badge);
  padding-inline: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 650;
}
.home-tools-filters .button:hover { border-color: var(--focus); color: var(--accent-hover); }
.home-tools-filters .button[aria-pressed="true"] {
  background: var(--button-primary);
  border-color: var(--button-primary);
  color: #fff;
}
.desk .home-tools .dashboard-tool {
  grid-template-columns: 34px minmax(0,1fr);
  gap: 2px 9px;
  min-height: 79px;
  padding: 10px 28px 10px 11px;
}
.desk .home-tools .tool-icon { width: 34px; height: 34px; margin: 0; align-self: center; }
.desk .home-tools .tool-icon .ui-icon { width: 17px; height: 17px; }
.desk .home-tools .tool-affordance { top: 11px; right: 8px; }
.desk .home-tools .tool-affordance .ui-icon { width: 14px; height: 14px; }
.desk .home-tools .dashboard-tool :is(strong,small) { grid-column: 2; margin: 0; }
.desk .home-tools .dashboard-tool strong { font-size: .86rem; line-height: 1.35; }
.desk .home-tools .dashboard-tool small { font-size: .76rem; }
@container (min-width: 1050px) {
  .home-tools .dashboard-tools { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@container (min-width: 630px) and (max-width: 1049px) {
  .home-tools .dashboard-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@container (max-width: 629px) {
  .home-tools .dashboard-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@container (max-width: 440px) {
  .home-tools .dashboard-tools { grid-template-columns: minmax(0,1fr); }
  .home-tools-filters .button { min-height: 38px; padding-inline: 10px; }
}

/* Selection keeps its form and actions, with a clearer search and filter hierarchy. */
.desk-selection { --research-gutter: clamp(12px,2.1vw,28px); }
.desk-selection .research-main-head {
  min-height: 58px;
  padding-inline: var(--research-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.research-main-head h1 { font-size: clamp(1.04rem,1.65vw,1.32rem); letter-spacing: -.025em; }
.research-back { border: 1px solid transparent; border-radius: 8px; }
.research-back:hover { border-color: var(--nav-line); }
.research-content { padding-inline: var(--research-gutter); }
.research-controls {
  top: 8px;
  margin: 12px var(--research-gutter) 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.research-filter-top {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  gap: 12px;
  min-height: 0;
  padding: 14px 16px 11px;
}
.research-search-box { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.research-search-box input[type="search"] {
  min-width: 0;
  min-height: 42px;
  border-color: var(--nav-line);
  background: var(--surface-subtle);
}
.research-search-box input[type="search"]:focus { border-color: var(--accent); background: var(--card); }
.research-query { min-height: 42px; padding-inline: 16px; }
.research-tabs { padding: 3px; gap: 3px; border-radius: 10px; }
.research-tabs .button { min-height: 33px; padding-inline: 10px; }
.research-tabs .button[aria-pressed="true"] { background: var(--button-primary); color: #fff; }
.research-query-filters {
  display: grid;
  grid-template-columns: minmax(105px,auto) minmax(0,1fr);
  align-items: center;
  gap: 10px;
  padding: 0 16px 10px;
}
.research-query-filters .research-site { width: 100%; }
.research-query-filters :is(.research-site,.research-categories select) { min-height: 36px; }
.research-query-filters .research-advanced-top { gap: 12px; }
.research-filter-sub {
  padding: 6px 16px;
  min-height: 44px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 0 0 16px 16px;
  background: var(--surface-subtle);
}
.research-advanced-sub { flex-wrap: wrap; }
.research-presets { margin-block: 14px 11px; }
.research-presets .button { min-height: 32px; }
.research-starter, .research-recent { padding: clamp(14px,2vw,22px); border-radius: 16px; }
.research-starter h2, .research-recent h2 { font-size: clamp(1rem,1.52vw,1.18rem); }
.research-direction-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.research-starter .research-direction-grid .button {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  min-height: 47px;
  padding: 7px 12px;
  border: 1px solid var(--nav-line);
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent-hover);
  text-align: left;
}
.research-direction-grid .button::after { content: "→" / ""; color: var(--accent); font-size: 1rem; }
.research-starter .research-direction-grid .button:hover { border-color: var(--accent); }
.research-starter h3 { margin-block: 15px 9px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); }
.research-category-grid .button { background: var(--card); }
.research-category-grid .button:hover { background: var(--soft); border-color: var(--focus); }
.research-recent li .button { min-height: 45px; border-radius: 9px; }
.research-source { padding-top: 10px; border-top: 1px solid var(--line); }
.research-result-header { margin-block: 13px 9px; scroll-margin-top: 220px; }
.research-overview { max-height: none; height: auto; border-radius: 13px; }
.research-card { border-radius: 13px; }
@media (min-width: 561px) and (max-width: 800px) {
  .research-filter-top { grid-template-columns: minmax(0,1fr); }
  .research-tabs { justify-self: start; }
  .research-query-filters .research-advanced-top { flex-wrap: wrap; }
  .research-query-filters .research-categories { flex-basis: 100%; }
}
@media (max-width: 560px) {
  .desk-selection .research-main-head { min-height: 55px; gap: 5px; padding-inline: 9px; }
  .research-main-head h1 { min-width: 0; }
  .research-back { white-space: normal; line-height: 1.25; }
  .research-controls { top: 59px; margin-top: 8px; border-radius: 13px; }
  .research-filter-top { grid-template-columns: minmax(0,1fr); padding: 9px; gap: 7px; }
  .research-search-box { gap: 5px; }
  .research-search-box :is(input[type="search"],.research-query) { min-height: 37px; }
  .research-query { padding-inline: 10px; }
  .research-filter-sub { padding: 5px 8px; border-radius: 0 0 13px 13px; }
  .research-direction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .research-starter .research-direction-grid .button { min-height: 41px; }
}

/* 1688 货源与客优云交接 */
.desk-source-handoff { margin-block:14px; }
#source-handoff { scroll-margin-top:78px; }
.desk-source-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:12px; }
.desk-source-head :is(h2,p) { margin:0; }
.desk-source-erp { padding:0; margin:0; list-style:none; counter-reset:source-erp; }
.desk-source-erp li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; padding:10px 0; border-top:1px solid var(--line); counter-increment:source-erp; }
.desk-source-erp li::before { content:counter(source-erp); display:grid; place-items:center; width:24px; height:24px; background:var(--soft); color:var(--accent); border-radius:50%; font-size:.8rem; }
.desk-source-erp p { margin:2px 0 0; color:var(--muted); }
.desk-source-erp-actions { display:flex; gap:8px; flex-wrap:wrap; }
.desk-source-erp-alt { margin:10px 0 0; color:var(--muted); font-size:.85rem; }
.desk-source-erp-alt a { margin-inline:3px; }
@media (max-width:560px) {
  .desk-source-erp li { grid-template-columns:auto minmax(0,1fr); }
  .desk-source-erp li > :is(.button,.desk-source-erp-actions) { grid-column:2; justify-self:start; }
}

/* 选品商品库与货源链接 */
.product-library-layout { container-type:inline-size; }
.product-library-layout > .panel { margin:0; min-width:0; }
.product-library-layout > [hidden] { display:none; }
.product-library-flow {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
  list-style:none; margin:0 0 16px; padding:5px; border:1px solid var(--line);
  border-radius:13px; background:var(--surface-subtle); counter-reset:product-flow;
}
.product-library-flow li { display:flex; min-width:0; counter-increment:product-flow; }
.product-library-flow a {
  flex:1; display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center;
  gap:2px 10px; padding:10px 12px; border:1px solid transparent; border-radius:9px;
  color:var(--ink); text-decoration:none;
}
.product-library-flow a::before {
  grid-row:span 2; display:grid; place-items:center; content:counter(product-flow) / "";
  width:30px; aspect-ratio:1; border-radius:8px; background:var(--card);
  color:var(--accent); font-size:.8rem; font-weight:700;
}
.product-library-flow a:hover, .product-library-flow a[aria-current="step"] { background:var(--card); }
.product-library-flow a:focus-visible { outline:2px solid var(--focus); outline-offset:-2px; }
.product-library-flow a[aria-current="step"] { border-color:var(--line); color:var(--accent); box-shadow:0 2px 5px rgb(34 35 65 / 7%); }
.product-library-flow a[aria-current="step"]::before { background:var(--surface-subtle); }
.product-library-flow strong { font-size:.91rem; line-height:1.35; }
.product-library-flow small { grid-column:2; color:var(--muted); font-size:.78rem; }
.product-source-results { margin-top:12px; }
.sourcing-ak-panel h3 { margin:0; }
.draft-batch-actions { margin:0; gap:6px 8px; }
.draft-batch-actions [data-action="products-draft-remove-all"] { color:var(--status-bad); }
.draft-batch-actions [data-action="products-draft-remove-all"]:hover:not(:disabled) { background:var(--surface-subtle); }
.source-batch-dialog-actions { justify-content:center; }
.draft-batch-count { display:inline-block; margin-inline-start:8px; color:var(--accent); font-size:.85em; }
.draft-batch-list { list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.draft-batch-list li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:clamp(6px,1.3vw,14px); padding:10px 4px; min-height:55px; }
.draft-batch-list li:has(input:checked) { background:var(--surface-subtle); }
.draft-batch-list input { margin:0; width:17px; height:17px; accent-color:var(--accent); }
.draft-batch-item { min-width:0; display:flex; align-items:center; gap:10px; }
.draft-batch-list [data-action="products-draft-remove"] { color:var(--status-bad); min-height:34px; padding:5px 9px; }
.draft-batch-list [data-action="products-draft-remove"]:hover { text-decoration:underline; }
.draft-batch-list li + li { border-top:1px solid var(--line); }
.draft-batch-list img { flex:none; width:42px; height:42px; object-fit:cover; border-radius:7px; }
.draft-batch-list a { overflow-wrap:anywhere; color:var(--ink); font-weight:600; }
.draft-batch-list a:hover { color:var(--accent); }

.sourcing-ak-heading { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:8px 16px; }
.sourcing-ak-heading h2 { margin:0; }
.sourcing-ak-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));
  gap:14px; margin:16px 0 12px;
}
.sourcing-ak-grid > div { min-width:0; padding:14px; border:1px solid var(--line); border-radius:12px; }
.sourcing-ak-grid h3 { font-size:1rem; }
.sourcing-ak-grid p { margin:6px 0; }
.sourcing-ak-how { background:var(--surface-subtle); }
.sourcing-ak-form { margin:12px 0 8px; }
.sourcing-ak-form .action-row { margin:0; }
.sourcing-ak-form .source-key-error { color:var(--status-bad); }
.sourcing-ak-skill { padding:14px 0 0; border-top:1px solid var(--line); }
.sourcing-ak-skill h3 { color:var(--ink); font-size:1rem; }
.sourcing-ak-how .sourcing-ak-assistant { margin:8px 0 12px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.sourcing-ak-how .sourcing-ak-assistant strong { display:block; margin-bottom:4px; }
.sourcing-ak-skill p { margin:6px 0 10px; color:var(--muted); }
@container (min-width:760px) {
  .desk-source-library .desk-source-library-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:560px) {
  .product-library-flow { gap:4px; }
  .product-library-flow a { display:flex; flex-direction:column; justify-content:center; gap:4px; text-align:center; padding:7px 3px; min-height:62px; }
  .product-library-flow a::before { width:20px; border-radius:5px; }
  .product-library-flow strong { font-size:.78rem; }
  .product-library-flow small { display:none; }
}
.desk-source-bulk { margin:0; gap:8px 14px; }
.desk-source-bulk .product-tick { min-height:36px; }
.desk-source-check { align-self:start; width:17px; height:17px; margin:2px 0 0; }
.desk-source-card:has(.desk-source-check:checked) { border-color:var(--accent); }
.desk-source-library-list { display:grid; gap:10px; list-style:none; padding:0; margin:0; }
.desk-source-card {
  display:grid; grid-template-columns:auto clamp(56px,17%,86px) minmax(0,1fr);
  align-items:center; gap:8px 12px; padding:12px; border:1px solid var(--line);
  border-radius:12px; background:var(--surface-subtle);
}
.desk-source-preview {
  display:grid; place-items:center; position:relative; width:100%; aspect-ratio:1;
  border-radius:8px; color:var(--accent); background:var(--card); overflow:hidden;
}
.desk-source-preview img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.desk-source-library-info { min-width:0; overflow-wrap:anywhere; }
.desk-source-library-info h3 { margin:0; font-size:.94rem; line-height:1.4; }
.desk-source-library-info a { color:inherit; text-decoration:none; }
.desk-source-library-info a:hover { color:var(--accent); text-decoration:underline; }
.desk-source-library-info p { margin:5px 0 0; font-size:.78rem; line-height:1.45; }
.desk-source-library-info p:empty { display:none; }
.desk-source-library-empty { color:var(--muted); margin:0; padding:12px; background:var(--surface-subtle); border-radius:8px; }
.desk-source-library-actions { grid-column:1/-1; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:6px; }
.desk-source-library-actions .button { min-height:34px; padding:5px 8px; font-size:.8rem; }

/* 选品中心的一键开品 */
.research-launch-results { margin:10px 0 14px; padding:clamp(14px,2vw,22px); }
.research-launch-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; }
.research-launch-head h2 { margin:0; font-size:clamp(1rem,1.52vw,1.18rem); }
.research-launch-head small, .research-launch-board small { color:var(--muted); }
.research-launch-controls {
  display:grid; grid-template-columns:minmax(110px,.8fr) repeat(3,minmax(110px,1fr)) auto;
  gap:10px; align-items:end; margin-top:12px;
}
.research-launch-controls label { display:grid; gap:4px; min-width:0; font-size:.82rem; }
.research-launch-controls select { width:100%; min-height:39px; }
.research-launch-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr)); gap:10px; margin-top:14px; }
.research-launch-board { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; }
.research-launch-board header { padding:11px 10px; background:var(--surface-subtle); }
.research-launch-board h3 { margin:0 0 3px; font-size:1rem; }
.research-launch-board h3 small { margin-inline-start:5px; font-weight:500; }
.research-launch-board p { margin:10px; }
.research-launch-table { overflow-x:auto; }
.research-launch-table table { width:100%; min-width:0; table-layout:fixed; border-collapse:collapse; font-size:.8rem; }
.research-launch-table th, .research-launch-table td { padding:7px; text-align:start; border-bottom:1px solid var(--line); vertical-align:middle; }
.research-launch-table th[scope="col"], .research-launch-table td:last-child { white-space:nowrap; }
.research-launch-table th[scope="col"]:first-child { width:3.2em; }
.research-launch-table th[scope="col"]:last-child { width:7em; }
.research-launch-table td:nth-child(3) { overflow-wrap:anywhere; }
.research-launch-table th[scope="row"] { overflow-wrap:anywhere; font-weight:500; }
.research-launch-table :is(th,td):last-child { text-align:end; font-variant-numeric:tabular-nums; }
@media (max-width:850px) {
  .research-launch-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .research-launch-controls .button { justify-self:start; }
}
.research-launch-sourcing { display:flex; justify-content:flex-end; margin-top:12px; }
.research-launch-keyword { display:flex; align-items:center; gap:6px; cursor:pointer; }
.research-launch-keyword input { width:16px; height:16px; margin:0; flex:none; accent-color:var(--accent); }
.research-keyword-sources { margin-top:16px; }
.keyword-source-group { border:1px solid var(--line); border-radius:10px; margin-top:8px; padding:8px 10px; }
.keyword-source-group-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:4px 12px; }
.keyword-source-toggle {
  min-height:34px; padding:4px 0; background:transparent; border:0;
  color:var(--ink); font:inherit; font-weight:650; cursor:pointer; text-align:start;
}
.keyword-source-toggle::before { content:"▸" / ""; margin-inline-end:6px; color:var(--accent); }
.keyword-source-toggle[aria-expanded="true"]::before { content:"▾" / ""; }
.keyword-source-toggle:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.keyword-source-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
.keyword-source-toolbar label { display:flex; align-items:center; gap:5px; font-size:.86rem; min-height:34px; }
.keyword-source-toolbar .button { min-height:34px; padding:5px 10px; font-size:.8rem; }
.research-keyword-sources [data-launch-source-check], .keyword-source-toolbar input {
  inline-size:16px; block-size:16px; flex:none; accent-color:var(--accent);
}
.research-keyword-sources ul { list-style:none; padding:0; margin:6px 0 0; }
.research-keyword-sources li { display:flex; gap:9px; align-items:center; padding:7px 0; border-top:1px solid var(--line); }
.research-keyword-sources img { width:42px; height:42px; object-fit:cover; border-radius:5px; }
.research-keyword-sources small { display:block; color:var(--muted); }

.quick-launch-page { max-width:1440px; margin-inline:auto; padding-bottom:32px; }
.quick-launch-intro {
  padding:clamp(18px,3vw,34px); margin:0 0 16px; border:1px solid var(--line);
  border-radius:18px; background:linear-gradient(110deg,var(--card),var(--surface-subtle));
}
.quick-launch-intro h1 { margin:0; }
.quick-launch-intro p { margin:6px 0 0; color:var(--muted); }
.quick-launch-page .research-launch-results, .quick-launch-rankings { margin:0 0 14px; }
.quick-launch-rankings h2 { margin:0; font-size:var(--size-section); }
.quick-launch-page .research-launch-sourcing {
  align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px;
}
.quick-launch-page .research-launch-sourcing p { margin:0; color:var(--muted); font-size:.85rem; }
.quick-launch-page .research-launch-keyword input { min-height:0; }
.quick-launch-page .research-launch-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.quick-launch-page .research-launch-board { background:var(--card); }
.quick-launch-page .research-launch-table { max-height:480px; overflow:auto; }
.quick-launch-page .research-launch-table thead { position:sticky; top:0; }
.quick-launch-page .research-launch-table tbody tr:has(input:checked) { background:var(--surface-subtle); }
.quick-launch-page .research-keyword-sources { padding-top:12px; border-top:1px solid var(--line); }
@media (max-width:1100px) {
  .quick-launch-page .research-launch-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quick-launch-page .research-launch-controls .button { justify-self:start; }
}
@media (max-width:960px) {
  .quick-launch-page .research-launch-grid { grid-template-columns:1fr; }
  .quick-launch-page .research-launch-table { max-height:420px; }
}

.quick-launch-page .quick-launch-intro {
  display:grid; grid-template-columns:minmax(0,1.1fr) minmax(250px,1fr); align-items:center;
  gap:clamp(16px,3vw,36px); padding:clamp(18px,3vw,30px);
  background:linear-gradient(120deg,var(--card) 18%,var(--surface-subtle) 72%,var(--nav));
}
.quick-launch-intro h1 { font-size:clamp(1.75rem,3.7vw,2.85rem); letter-spacing:-.035em; line-height:1.15; }
.quick-launch-intro > div:first-child p { max-width:30em; font-size:clamp(.9rem,1.35vw,1.04rem); }
.quick-launch-evidence { border-inline-start:2px solid var(--accent); padding-inline-start:16px; }
.quick-launch-evidence strong { color:var(--accent); font-size:.9rem; }
.quick-launch-intro .quick-launch-evidence p { font-size:.84rem; margin:6px 0 0; }
.quick-launch-page .research-launch-results { border-radius:16px; padding:clamp(15px,2.4vw,24px); }
.quick-launch-page .research-launch-controls { gap:12px; }
.quick-launch-page .research-launch-controls label { font-weight:650; }
.keyword-source-copy { flex:1; min-width:0; }
.keyword-source-action { margin-inline-start:auto; flex:none; }
.keyword-source-action .button { min-height:34px; padding:5px 9px; font-size:.78rem; }
.keyword-source-saved { display:inline-block; color:var(--accent); background:var(--surface-subtle); border-radius:6px; padding:5px 8px; font-size:.78rem; }
@media (max-width:760px) {
  .quick-launch-page .quick-launch-intro { grid-template-columns:1fr; gap:14px; }
  .research-keyword-sources li { flex-wrap:wrap; }
  .keyword-source-copy { flex-basis:calc(100% - 55px); }
}
