/* UX3 2026-11-03: workspace type floor + touch targets. Narrow override; remove link to roll back. */
html[data-qaqcok-surface=workspace]{
  --muted:#55635b;
  --kk-quiet:#5c6b63;
  --ui-muted:var(--muted);
}
html[data-theme=dark][data-qaqcok-surface=workspace],
html[data-qaqcok-surface=workspace][data-theme=dark]{
  --muted:#b0c0b5;
  --kk-quiet:#a8b5ad;
  --ui-muted:var(--muted);
}

/* Broaden 12px floor beyond UX2 selectors */
html[data-qaqcok-surface=workspace] #count,
html[data-qaqcok-surface=workspace] #knowledge-count,
html[data-qaqcok-surface=workspace] #active-note,
html[data-qaqcok-surface=workspace] .footnote,
html[data-qaqcok-surface=workspace] .site-library-footer,
html[data-qaqcok-surface=workspace] #cards .app p,
html[data-qaqcok-surface=workspace] .app p,
html[data-qaqcok-surface=workspace] .space-item small,
html[data-qaqcok-surface=workspace] .workspace-recent-list small,
html[data-qaqcok-surface=workspace] .workspace-bar a,
html[data-qaqcok-surface=workspace] .workspace-bar #outside,
html[data-qaqcok-surface=workspace] .dock-label,
html[data-qaqcok-surface=workspace] .brand-word small,
html[data-qaqcok-surface=workspace] .island-copy small,
html[data-qaqcok-surface=workspace] .start-choices small,
html[data-qaqcok-surface=workspace] .launcher-eyebrow,
html[data-qaqcok-surface=workspace] .launcher-app small,
html[data-qaqcok-surface=workspace] .ui-command-category,
html[data-qaqcok-surface=workspace] .aside-bottom p,
html[data-qaqcok-surface=workspace] #command-open kbd,
html[data-qaqcok-surface=workspace] body>header #account-connect,
html[data-qaqcok-surface=workspace] #shell-back,
html[data-qaqcok-surface=workspace] #shell-more>summary,
html[data-qaqcok-surface=workspace] #theme-toggle{
  font-size:max(12px,.75rem) !important;
  line-height:1.45;
}

html[data-qaqcok-surface=workspace] #count,
html[data-qaqcok-surface=workspace] #active-note,
html[data-qaqcok-surface=workspace] .footnote,
html[data-qaqcok-surface=workspace] .dock-label,
html[data-qaqcok-surface=workspace] .brand-word small,
html[data-qaqcok-surface=workspace] .ui-command-category{
  color:var(--muted);
}

/* Header / filter controls: comfortable touch */
html[data-qaqcok-surface=workspace] body>header #account-connect,
html[data-qaqcok-surface=workspace] body>header #theme-toggle,
html[data-qaqcok-surface=workspace] body>header #command-open,
html[data-qaqcok-surface=workspace] #shell-more>summary,
html[data-qaqcok-surface=workspace] #shell-back{
  min-height:40px;
  min-width:40px;
}

html[data-qaqcok-surface=workspace] body>header #command-open{
  padding-inline:12px;
}

/* Skip link: visible on keyboard focus */
html[data-qaqcok-surface=workspace] .site-skip:focus,
html[data-qaqcok-surface=workspace] .site-skip:focus-visible{
  position:fixed;
  left:12px;
  top:12px;
  z-index:10000;
  padding:10px 14px;
  background:#1266be;
  color:#fff;
  border-radius:8px;
  outline:2px solid #fff;
  outline-offset:2px;
  clip:auto;
  width:auto;
  height:auto;
  overflow:visible;
}

html[data-qaqcok-surface=workspace] :focus-visible{
  outline:2px solid #1266be;
  outline-offset:2px;
}
html[data-theme=dark][data-qaqcok-surface=workspace] :focus-visible,
html[data-qaqcok-surface=workspace][data-theme=dark] :focus-visible{
  outline-color:#7eb6ff;
}
