/* Result family colors for the movement-result taxonomy.
 * Generated from result_families.py - Okabe-Ito color-blind-safe palette.
 */

:root {
  /* Point & click (gray) */
  --result-pointer: #5F5F5F;
  --result-pointer-text: white;
  
  /* Context menu (vermillion) */
  --result-menu: #D55E00;
  --result-menu-text: black;
  
  /* Select (orange) */
  --result-select: #E69F00;
  --result-select-text: black;
  
  /* Drag & move (bluish green) */
  --result-drag: #009E73;
  --result-drag-text: black;
  
  /* Scroll, zoom & rotate (sky blue) */
  --result-view: #56B4E9;
  --result-view-text: black;
  
  /* Navigate pages & Spaces (blue) */
  --result-nav: #0072B2;
  --result-nav-text: white;
  
  /* Windows, desktop & apps (reddish purple) */
  --result-windows: #CC79A7;
  --result-windows-text: black;
  
  /* Look up & preview (yellow) */
  --result-lookup: #F0E442;
  --result-lookup-text: black;
}

/* Result chip styling */
.result-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 500;
  text-decoration: none;
}

.result-chip--pointer { background: var(--result-pointer); color: var(--result-pointer-text); }
.result-chip--menu { background: var(--result-menu); color: var(--result-menu-text); }
.result-chip--select { background: var(--result-select); color: var(--result-select-text); }
.result-chip--drag { background: var(--result-drag); color: var(--result-drag-text); }
.result-chip--view { background: var(--result-view); color: var(--result-view-text); }
.result-chip--nav { background: var(--result-nav); color: var(--result-nav-text); }
.result-chip--windows { background: var(--result-windows); color: var(--result-windows-text); }
.result-chip--lookup { background: var(--result-lookup); color: var(--result-lookup-text); }

/* Condition badges */
.result-chip[data-condition="setting"] {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.1) 2px,
    rgba(0,0,0,0.1) 4px
  );
}

.result-chip[data-condition="unverified"] {
  border: 2px dashed currentColor;
}

/* Glyph styling */
.result-glyph {
  font-size: 1.1em;
  line-height: 1;
}

/* Result code (2-3 letter abbreviation) */
.result-code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  font-weight: 600;
}

/* Skill taxonomy section on learn pages */
.skill-taxonomy {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--ink-5, #f8f8f8);
  border-radius: 8px;
}

.skill-moves {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.skill-move {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.skill-move.is-primary {
  font-weight: 500;
}

.move-gesture {
  padding: 0.25rem 0.5rem;
  background: var(--ink-10, #eee);
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}

.move-arrow {
  color: var(--ink-40, #999);
}

.move-result {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border: 2px solid;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.1s;
}

.move-result:hover {
  transform: scale(1.02);
}

.move-context {
  font-size: 0.85em;
  color: var(--ink-60, #666);
  font-style: italic;
}

.move-badge {
  font-size: 0.75em;
  padding: 0.15rem 0.4rem;
  background: var(--ink-10, #eee);
  border-radius: 3px;
  color: var(--ink-70, #555);
}

.taxonomy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--ink-70, #555);
}

.note-icon {
  flex-shrink: 0;
}

.taxonomy-crossover {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-10, #eee);
}

.taxonomy-crossover h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.crossover-intro {
  font-size: 0.85rem;
  color: var(--ink-60, #666);
  margin: 0 0 0.75rem;
}

.crossover-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crossover-list li a {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  background: white;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.1s;
}

.crossover-list li a:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.crossover-result,
.crossover-gesture {
  font-weight: 500;
  font-size: 0.9rem;
}

.crossover-skill {
  font-size: 0.8rem;
  color: var(--ink-50, #777);
}
