.guide-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 20px 0;
}
.guide-comparison .guide-drawing { margin: 0; }
.guide-workflow {
  width: 100%;
  max-width: 920px;
  margin: 20px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.guide-workflow figcaption { font-weight: 750; margin-bottom: 10px; }
.guide-workflow .example-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-workflow .example-steps > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.example-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 50%;
  right: -12px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1.5px solid var(--link);
  border-right: 1.5px solid var(--link);
}
.example-step {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--selected);
  font-size: .87rem;
  overflow-wrap: anywhere;
}
.example-step small { font-size: .82rem; line-height: 1.45; }
.example-steps .example-outcomes { display: grid; gap: 6px; }
@media (max-width: 620px) {
  .guide-comparison, .guide-workflow .example-steps { grid-template-columns: minmax(0, 1fr); }
  .guide-workflow .example-steps { gap: 15px; }
  .example-steps > li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 16px;
    transform: rotate(135deg);
  }
}

.guide-drawing {
  --wire-paper: #f2f3ed;
  --wire-surface: #fbfcf6;
  --wire-line: #879386;
  --wire-ink: #23342c;
  --wire-muted: #495c50;
  --wire-green: #dff2bd;
  --wire-violet: #e9e5f6;
  --wire-dots: #52685340;
  width: 100%;
  max-width: 920px;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  overflow: hidden;
}
[data-theme="dark"] .guide-drawing {
  --wire-paper: #212920;
  --wire-surface: #293428;
  --wire-line: #788975;
  --wire-ink: #f2f7ec;
  --wire-muted: #c7d8c3;
  --wire-green: #394d2b;
  --wire-violet: #3d354f;
  --wire-dots: #bfd2b642;
}
.guide-drawing--compact { max-width: 535px; }
.wire-sheet {
  padding: clamp(11px, 2.4vw, 23px);
  color: var(--wire-ink);
  background: radial-gradient(var(--wire-dots) .7px, transparent .9px) 0 0 / 12px 12px, var(--wire-paper);
  border-bottom: 1px solid var(--line);
}
.wire-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--wire-ink);
  font-size: .98rem;
}
.guide-drawing .wire-heading strong, .guide-drawing .wire-pane strong { color: var(--wire-ink); }
.wire-mark {
  flex: none;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 1px;
  background:
    linear-gradient(90deg, transparent 45%, currentColor 45% 55%, transparent 55%),
    linear-gradient(transparent 45%, currentColor 45% 55%, transparent 55%);
}
.wire-toolbar, .wire-actions, .wire-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.wire-toolbar { margin-bottom: 10px; }
.wire-tab, .wire-callout, .wire-launch, .wire-options span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--wire-line);
  border-radius: 4px;
  background: var(--wire-surface);
  color: var(--wire-ink);
  font-size: .77rem;
  line-height: 1.35;
}
.wire-tab { font-weight: 730; }
.wire-options { margin-top: 4px; }
.wire-options span { border-radius: 20px; padding-inline: 9px; }
.wire-focus { background: var(--wire-green); border-color: var(--wire-ink); }
.wire-callout b, .wire-key b {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font: 700 .7rem/1 "IBM Plex Mono", ui-monospace, monospace;
}
.wire-callout b { border: 1px solid var(--wire-ink); background: var(--wire-green); }
.wire-split, .wire-fields, .wire-apps {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.wire-asset { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.wire-apps { grid-template-columns: repeat(4,minmax(0,1fr)); }
.wire-pane, .wire-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--wire-line);
  border-radius: 6px;
  background: var(--wire-surface);
}
.wire-pane-title { font-size: .86rem; line-height: 1.4; }
.wire-pane small, .wire-drop small { color: var(--wire-muted); line-height: 1.35; }
.wire-launch { align-self: flex-start; margin-top: auto; font-weight: 730; }
.wire-field {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid var(--wire-line);
  border-radius: 4px;
  font-size: .82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.wire-field > span { color: var(--wire-muted); font-size: .72rem; }
.wire-fields { gap: 6px; }
.wire-swatches i { width: 16px; height: 16px; border: 1px solid var(--wire-line); border-radius: 50%; background: #bb674a; }
.wire-swatches { display: flex; gap: 6px; margin-block: 3px; }
.wire-swatches i:nth-child(2) { background: #e7bd77; }
.wire-swatches i:nth-child(3) { background: #7b9a78; }
.wire-swatches i:nth-child(4) { background: #597a9b; }
.wire-swatches i:nth-child(5) { background: #927faf; }
.wire-drop {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  flex: 1;
  min-height: 130px;
  padding: 12px 8px;
  border: 1px dashed var(--wire-line);
  border-radius: 5px;
  text-align: center;
}
.wire-drop > span:first-child { font-size: 1.35rem; }
.wire-world {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--wire-line);
  border-radius: 5px;
  overflow: hidden;
}
.wire-world--floating { gap: 8px 12px; padding: 19px 10px 11px; }
.wire-world--floating .wire-tile:nth-child(3n + 1) { transform: translateY(6px) rotate(-7deg); }
.wire-world--floating .wire-tile:nth-child(3n + 2) { transform: translateY(-7px) rotate(4deg); }
.wire-world--floating .wire-tile:nth-child(3n) { transform: translateY(7px) rotate(8deg); }
.wire-tile { min-width: 0; }
.wire-graphic {
  position: relative;
  display: grid;
  place-content: center;
  min-height: 67px;
  overflow: hidden;
  border: 1px solid var(--wire-line);
  border-radius: 4px;
  background: var(--wire-violet);
  color: var(--wire-ink);
}
.wire-pane > .wire-graphic { flex: 1; min-height: 140px; }
.wire-graphic i { position: absolute; display: block; }
.wire-tone-1, .wire-preview { background: var(--wire-green); }
.wire-tone-2, .wire-portrait { background: var(--wire-paper); }
.wire-graphic--mountain i:first-child {
  width: 45%; aspect-ratio: 1; left: 17%; top: 47%;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}
.wire-graphic--mountain i:nth-child(2) { left: 66%; top: 20%; width: 12%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.wire-graphic--product i:first-child { bottom: 18%; left: 37%; width: 26%; height: 49%; border: 1.5px solid currentColor; border-radius: 28% 28% 10% 10%; }
.wire-graphic--product i:nth-child(2) { bottom: 66%; left: 43%; width: 14%; height: 12%; border: 1.5px solid currentColor; border-radius: 3px 3px 0 0; }
.wire-graphic--product i:nth-child(3) { bottom: 17%; left: 12%; width: 76%; border-bottom: 1px solid currentColor; }
.wire-graphic--orbit i:first-child, .wire-graphic--orbit i:nth-child(2) { width: 65%; height: 44%; top: 27%; left: 17%; border: 1px solid currentColor; border-radius: 50%; transform: rotate(38deg); }
.wire-graphic--orbit i:nth-child(2) { transform: rotate(-38deg); }
.wire-graphic--orbit i:nth-child(3) { top: 43%; left: 44%; width: 12%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.wire-graphic--vector i {
  top: 28%; left: 31%; width: 38%; height: 44%; border: 1.5px solid currentColor; border-radius: 48% 48% 52% 52%;
}
.wire-graphic--vector i:nth-child(2) { transform: rotate(60deg); }
.wire-graphic--vector i:nth-child(3) { transform: rotate(-60deg); }
.wire-phone {
  width: min(100%,104px);
  margin: auto;
  padding: 5px;
  border: 1px solid var(--wire-line);
  border-radius: 10px;
}
.wire-phone .wire-graphic { aspect-ratio: 9/16; }
.wire-progress { height: 2px; margin: 6px 4px 3px; background: linear-gradient(to right,var(--wire-ink) 44%,var(--wire-line) 44%); }
.wire-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
  flex: 1;
  min-height: 94px;
  padding-inline: 6px;
  border: 1px solid var(--wire-line);
  border-radius: 4px;
  background: var(--wire-violet);
}
.wire-wave i { height: calc(var(--bar) * .72px); min-height: 5px; width: 3px; border-radius: 2px; background: var(--wire-ink); }
.wire-audio-label { align-self: center; }
.guide-drawing figcaption { padding: 10px 14px 13px; font-size: .88rem; }
.guide-drawing figcaption p { margin: 0; }
.guide-drawing .wire-key { display: flex; gap: 8px 15px; flex-wrap: wrap; padding: 0; margin: 9px 0 0; list-style: none; font-size: .8rem; }
.wire-key li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.wire-key b { background: var(--selected); border: 1px solid var(--line); color: var(--link); }
@media (max-width: 760px) {
  .wire-apps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 430px) {
  .wire-split { grid-template-columns: minmax(0,1fr); }
  .wire-pane > .wire-graphic { min-height: 107px; }
  .wire-phone .wire-graphic { aspect-ratio: 9/14; }
}
