/* ai-line: six cards stacked on the line. drag each to a side, lock in,
   and the cards slide to where I'd put them. decided from proto/ai-line
   (Sketch table + Piles stack), see COMPONENTS.md. */
.al { position: relative; isolation: isolate; }
.al-table {
  position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; transition-property: none;
  background:
    radial-gradient(circle, rgb(0 0 0 / 0.08) 0.8px, transparent 0.9px) 0 0 / 16px 16px,
    var(--gray-200);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06);
  user-select: none; -webkit-user-select: none;
}
.al-side {
  position: absolute; top: 10px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--elevation-raised);
  font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: 0.02em; color: var(--gray-1100); pointer-events: none;
  transition: color 150ms ease-out, background-color 150ms ease-out;
}
.al-side-you { left: 10px; } .al-side-ai { right: 10px; }
.al-side.is-over { background: var(--gray-1200); color: var(--on-ink); }
.al-half { position: absolute; top: 0; bottom: 0; width: 50%; pointer-events: none; transition: background-color 150ms ease-out; }
.al-half-you { left: 0; } .al-half-ai { right: 0; }
.al-half.is-over { background: rgb(0 0 0 / 0.03); }
.al-divider { position: absolute; top: 36px; bottom: 12px; left: 50%; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--gray-1200); opacity: 0.6; transition: opacity 200ms ease-out; }
.al-card {
  position: absolute; left: 0; top: 0; width: var(--tw); height: var(--th);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 6px; border-radius: 10px; background: var(--surface); box-shadow: var(--elevation-raised);
  cursor: grab; will-change: transform; touch-action: none;
  transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg));
  transition: box-shadow 150ms ease-out;
}
.al-card.is-dragging { cursor: grabbing; z-index: 5; box-shadow: var(--elevation-raised-hover), 0 12px 24px -10px rgb(0 0 0 / 0.18); }
.al-card.is-moving { transition: transform 420ms cubic-bezier(0.77, 0, 0.175, 1), box-shadow 150ms ease-out; }
.al-card.is-settling { transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 150ms ease-out; }
.al-card:focus-visible { outline: 2px solid var(--gray-1200); outline-offset: 3px; }
.al-card-icon { width: 40px; height: 40px; }
.al-card-title { font-size: 11px; font-weight: var(--weight-medium); color: var(--gray-1200); text-align: center; line-height: 1.2; text-wrap: balance; }
.al-verdict {
  position: absolute; top: -9px; right: -6px;
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: 0.01em; white-space: nowrap;
  visibility: hidden; opacity: 0; transform: scale(0.9); transition: opacity 180ms ease-out, transform 180ms cubic-bezier(0.32, 0.72, 0, 1);
}
.al-verdict-ai { background: #e4f3ea; color: #1f6b3a; }
.al-verdict-you { background: var(--gray-300); color: var(--gray-1100); }
.al-verdict svg { flex: none; }
.al.view-me .al-verdict { visibility: visible; opacity: 1; transform: none; }
.al.is-locked .al-card { cursor: default; }
.al.is-locked .al-card.is-crossed { box-shadow: 0 0 0 1.5px #e0a94a, var(--elevation-raised); }
.al-icon { display: block; width: 100%; height: 100%; color: var(--gray-1200); }
.al-icon path, .al-icon rect, .al-icon circle { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.al-icon [data-fill] { fill: var(--gray-300); }
.al-icon [data-paper] { fill: var(--surface); }
.al-icon [data-dot] { fill: currentColor; stroke: none; }
.al-icon [fill="none"] { fill: none; }
.al-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; min-height: 40px; }
.al-summary { font-size: var(--text-ui); color: var(--gray-1100); text-wrap: pretty; }
.al-summary strong { color: var(--gray-1200); font-weight: var(--weight-medium); }
.al-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; flex: none;
  border: 0; border-radius: 999px; background: var(--gray-1200); color: var(--on-ink);
  font: inherit; font-size: var(--text-ui); font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; touch-action: manipulation;
  transition: background-color 150ms ease-out, color 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}
.al-btn[hidden] { display: none; }
.al-btn:active { transform: scale(0.96); }
.al-btn:disabled { background: var(--gray-300); color: var(--gray-1000); cursor: default; transform: none; }
.al-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.al-actions[hidden] { display: none; }
/* you / me segmented control, plus a reset icon */
.al-seg {
  position: relative; display: flex; align-items: center; gap: 2px; height: 40px; padding: 4px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--elevation-raised);
}
.al-seg-pill { position: absolute; top: 4px; left: 0; height: 32px; border-radius: 999px; background: var(--gray-1200); will-change: transform; }
.al-seg[data-ready] .al-seg-pill { transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1), width 250ms cubic-bezier(0.23, 1, 0.32, 1); }
.al-seg-item {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 56px; padding: 0 14px;
  border: 0; border-radius: 999px; background: transparent; color: var(--gray-1100);
  font: inherit; font-size: var(--text-ui); font-weight: var(--weight-medium); cursor: pointer; touch-action: manipulation;
  transition: color 150ms ease-out;
}
.al-seg-item[aria-selected="true"] { color: var(--on-ink); }
.al-seg-item:focus-visible { outline: 2px solid var(--gray-1200); outline-offset: 2px; }
.al-reset {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 999px; background: var(--surface); color: var(--gray-1100); box-shadow: var(--elevation-raised);
  cursor: pointer; touch-action: manipulation;
  transition: color 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out;
}
.al-reset:active { transform: scale(0.96); }
.al-reset svg { display: block; }
@media (hover: hover) and (pointer: fine) {
  .al-btn:not(:disabled):hover { background: var(--ink-hover); }
  .al-seg-item:not([aria-selected="true"]):hover { color: var(--gray-1200); }
  .al-reset:hover { color: var(--gray-1200); box-shadow: var(--elevation-raised-hover); }
}
.al-result { margin-top: 16px; padding-top: 16px; border-top: var(--border-hairline) solid var(--gray-400); }
.al-notes { display: grid; gap: 8px; }
.al-note { display: flex; gap: 8px; align-items: baseline; }
.al-note b { flex: none; font-weight: var(--weight-medium); color: var(--gray-1200); font-size: var(--text-sm); }
.al-note span { font-family: 'Shantell Sans', cursive; font-size: 14px; line-height: 1.3; color: #b8751a; }
.al-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .al-table { height: 300px; }
  .al-card { gap: 8px; padding: 10px; }
  .al-card-icon { flex: none; }
  .al-card-title { font-size: 14px; line-height: 1.25; }
  .al-verdict { right: 0; }
  .al-side { height: 28px; font-size: 14px; }
  .al-foot { flex-wrap: wrap; }
  .al-btn, .al-reset { min-width: 44px; height: 44px; }
  .al-seg { height: 52px; }
  .al-seg-item, .al-seg-pill { height: 44px; }
  .al-note { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .al-card, .al-card.is-moving, .al-card.is-settling, .al-verdict, .al-divider, .al-half, .al-side, .al-btn, .al-seg[data-ready] .al-seg-pill, .al-reset { transition: none; }
  .al-btn:active, .al-reset:active { transform: none; }
}

.au-compare{border:0;background:transparent;overflow:visible}.au-compare figcaption{font-size:12px;color:var(--gray-1000);padding:12px 0;margin:0;border-top:1px solid var(--gray-400)}
.au-small{font-size:13px;color:var(--gray-1000)}.au-rules .file-body{padding:16px 24px}.au-rules ul{margin:0;padding-left:18px;font-size:14px}.au-rules li{margin:8px 0}.au-run-record{border-left:2px solid var(--gray-400);padding:4px 0 4px 22px;margin:24px 0}.au-run-record ol{padding-left:18px}.au-run-record li{padding-left:4px;margin-top:18px}.au-run-record strong{font-weight:500;font-size:14px}.au-run-record p{font-size:14px;margin:6px 0}.au-try,.au-sources{border-block:1px solid var(--gray-400);padding:16px 0;margin:24px 0}.au-try summary,.au-sources summary{cursor:pointer;font-size:14px;min-height:30px}.au-sources p{font-size:13px}

