/* Seamline Hub · Annotate app. Uses the hub page's tokens (--panel, --accent, ...). */
.ax-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ax-head h3 { margin: 0; font-size: 18px; }
.ax-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: rgba(245,158,11,.2); color: #fde68a; font-size: 11px; line-height: 18px; }
.ax-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.ax-proj { display: flex; flex-direction: column; }
.ax-proj b { font-size: 15px; }
.ax-link { cursor: pointer; }
.ax-link:hover { color: var(--accent-2); }
.ax-stat-warn { border-color: rgba(245,158,11,.5); }
.ax-stat-warn .n { color: #fde68a; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* status colors: one per pipeline state (bar, dots, badges) */
.st-todo { background: #3a3f45; }
.st-in_progress { background: #3b82f6; }
.st-submitted { background: #f59e0b; }
.st-sent_back { background: #ef4444; }
.st-accepted { background: #1d9e75; }
.ax-bar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: #0e0f11; }
.ax-bar-seg { min-width: 3px; }
.ax-bar-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.ax-bar-legend b { color: var(--text); font-weight: 600; }
.ax-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.badge.ax-st { color: #fff; background: rgba(0,0,0,.75); }
.badge.ax-st.st-in_progress { box-shadow: inset 0 0 0 1px #3b82f6; }
.badge.ax-st.st-submitted { box-shadow: inset 0 0 0 1px #f59e0b; }
.badge.ax-st.st-sent_back { box-shadow: inset 0 0 0 1px #ef4444; }
.badge.ax-st.st-accepted { box-shadow: inset 0 0 0 1px #1d9e75; }

/* tables */
.ax-tablewrap { overflow-x: auto; }
.ax-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ax-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ax-table td { padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; }
.ax-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ax-rows tbody tr:hover td { background: rgba(255,255,255,.03); }
.ax-costs tr.ax-sub td { background: rgba(255,255,255,.02); font-size: 12px; }
.ax-thumb { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; background: #0e0f11; display: block; }

/* annotators */
.ax-person { margin-top: 12px; }
.ax-person.ax-inactive { opacity: .6; }
.ax-rates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.ax-rate { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.ax-rate b { font-size: 15px; font-variant-numeric: tabular-nums; }

/* costs */
.ax-hero .n { font-size: 30px; }
.ax-chart { position: relative; width: 100%; overflow: hidden; }
.ax-chart svg { display: block; }
.ax-grid-l { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.ax-base { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.ax-axis { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.ax-col { fill: var(--accent); }
.ax-tip { position: absolute; pointer-events: none; background: #0e0f11; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 6px 9px; font-size: 12px; min-width: 120px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }

/* modal (above the editor) */
.ax-modal { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: none; align-items: flex-start; justify-content: center; z-index: 490; overflow-y: auto; padding: 60px 16px; }
.ax-modal.open { display: flex; }
.ax-modal .card { width: 100%; max-width: 620px; }

/* ======================= editor ======================= */
/* Stacking: hub modals 460, Sorting's image view up to 460 < editor 480 <
   ax-modal 490 < sleep overlay 1000 < toasts. The editor opens ON TOP of
   Sorting's image view (its Annotate strip), so it must clear it. */
.ax-ed { position: fixed; inset: 0; z-index: 480; background: var(--bg); display: none; flex-direction: column; }
.ax-ed.open { display: flex; }
.ax-ed-top { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #15171a; }
/* The project's instructions, centered whatever sits either side. */
.ax-ed-top .ax-instr { position: absolute; left: 50%; transform: translateX(-50%); max-width: 38%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ax-iteminfo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; margin-left: 8px; }
.ax-ed-top b { font-size: 14px; }
.ax-note { padding: 8px 16px; font-size: 13px; background: rgba(59,130,246,.10); border-bottom: 1px solid rgba(59,130,246,.3); color: #c7d7fe; }
.ax-note.warn { background: rgba(245,158,11,.12); border-bottom-color: rgba(245,158,11,.45); color: #fde68a; }
.ax-ed-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) 330px; }
.ax-tools { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-right: 1px solid var(--border); background: #15171a; }
.ax-tool { width: 38px; height: 38px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; background: transparent; border: 1px solid transparent; color: #9aa0a6; border-radius: 8px; }
.ax-tool:hover:not(:disabled) { color: var(--text); background: rgba(255,255,255,.05); filter: none; }
.ax-tool.on { color: #fff; background: rgba(29,158,117,.22); border-color: rgba(29,158,117,.6); }
.ax-tsep { width: 26px; height: 1px; background: var(--border); margin: 4px 0; }
.ax-stage { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #0a0b0c; touch-action: none; cursor: default; user-select: none; }
.ax-stage.panning, .ax-stage.space { cursor: grabbing; }
.ax-rot { position: relative; flex: 0 0 auto; transform-origin: center center; }
.ax-rot img { display: block; }
.ax-rot svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ax-stage.peek .ax-rot svg { visibility: hidden; }
.ax-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(14,15,17,.86); border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px; font-size: 12px; color: #c8ccd0; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.ax-hint:empty { display: none; }
.ax-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); background: #0a0b0c; }
.ax-side { border-left: 1px solid var(--border); background: var(--panel); padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.ax-classes { display: flex; flex-direction: column; gap: 3px; }
.ax-cls { display: flex; align-items: center; gap: 7px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; color: var(--text); padding: 5px 7px; border-radius: 8px; font-weight: 400; }
.ax-cls:hover:not(:disabled) { background: rgba(255,255,255,.04); filter: none; }
.ax-cls.on { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.ax-num { width: 12px; font-size: 11px; color: var(--muted); }
.ax-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
/* a long class name wraps instead of being cut off (Perry 2026-10-23) */
.ax-cls-name { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.ax-shape-name { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.ax-grp { font-size: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 0 6px; }
.ax-n { font-size: 11px; color: var(--muted); min-width: 22px; text-align: right; }
.ax-n.over { color: var(--err); font-weight: 600; }
.ax-shapes { display: flex; flex-direction: column; gap: 2px; }
.ax-shape { display: flex; align-items: center; gap: 7px; padding: 3px 6px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.ax-shape:hover { background: rgba(255,255,255,.04); }
.ax-shape.on { background: rgba(29,158,117,.14); }
.ax-shape.other { opacity: .55; }
.ax-shape button { padding: 2px 6px; }
.ax-issues { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.4); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: #fecaca; display: flex; flex-direction: column; gap: 4px; }
.ax-issue { cursor: pointer; text-decoration: underline dotted; }
.ax-keys summary { cursor: pointer; margin-top: 8px; }
/* Comments on an image (Perry 2026-10-21) */
.ax-cmts { display: flex; flex-direction: column; gap: 6px; }
.ax-cmt { font-size: 12.5px; line-height: 1.45; }
.ax-cmt-h { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.ax-cmt-h button { margin-left: auto; padding: 1px 5px; opacity: .6; border: 0; background: transparent; }
.ax-cmt-h button:hover { opacity: 1; }
.ax-cmt-t { color: #d1d5db; white-space: pre-wrap; overflow-wrap: anywhere; }
.ax-cmt-in { width: 100%; resize: none; font: inherit; font-size: 12.5px; line-height: 1.45; min-height: 32px; }
.badge.ax-cmt-badge { background: rgba(0,0,0,.75); color: #fff; }
/* How to (Perry 2026-10-21): one action per row, what on the left, how on the right */
.ax-howto-g { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin: 10px 0 2px; }
.ax-howto-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px; font-size: 12px; line-height: 1.45; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.ax-howto-r > span:first-child { color: #e5e7eb; }
.ax-howto-r > span:last-child { color: #aab0b6; }
.ax-ed-bottom { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); background: #15171a; }
.ax-guide { position: absolute; top: 52px; right: 0; bottom: 56px; width: min(420px, 100vw); background: var(--panel); border-left: 1px solid var(--border); padding: 16px; overflow-y: auto; z-index: 2; box-shadow: -10px 0 28px rgba(0,0,0,.5); }
.ax-guide-text { white-space: pre-wrap; font-size: 13px; line-height: 1.55; margin-top: 10px; }
.ax-guide-cls { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.ax-guide-cls .ax-sw { margin-right: 6px; vertical-align: -1px; }

@media (max-width: 900px) {
  .ax-ed-main { grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 34vh; }
  .ax-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); }
  .ax-grid { grid-template-columns: 1fr; }
}
.ax-table input[type="color"] { width: 34px; height: 28px; padding: 2px; cursor: pointer; }
/* While the editor is open, toasts sit above its action bar, never on it,
   and over the image, not on the side panel (same colour: lost there). */
body.ax-editing #slToastHost { bottom: 72px; }
@media (min-width: 901px) { body.ax-editing #slToastHost { right: 348px; } }

/* Find an image by ID, beside the sections */
.ax-find { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); color: var(--muted); }
.ax-find input { border: 0; background: transparent; color: var(--text); width: 210px; padding: 7px 0; outline: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.ax-find:focus-within { border-color: var(--accent); }
.ax-style { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; }
.ax-style select { font-size: 12px; padding: 5px 8px; max-width: 260px; }

/* project cards open on click; sample images show what the project labels */
.ax-click { cursor: pointer; transition: border-color .12s; }
.ax-click:hover { border-color: var(--accent-2); }
.ax-desc { margin: 6px 0 0; }
.ax-samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.ax-sample { aspect-ratio: 3/4; background: #0e0f11; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ax-sample img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ax-sample-empty { background: repeating-linear-gradient(45deg, #121417, #121417 6px, #15171a 6px, #15171a 12px); }
.ax-sample .noimg { font-size: 10px; }
.st-discarded { background: #52525b; }
.badge.ax-st.st-discarded { box-shadow: inset 0 0 0 1px #71717a; color: #a1a1aa; }

/* editor: what a press would grab */
.ax-stage.over-point { cursor: move; }
.ax-stage.over-edge { cursor: copy; }
.ax-stage.marking { cursor: crosshair; }
.ax-markdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff0022; opacity: .8; margin: 0 3px 0 1px; }
.ax-zoom { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ax-zoom input[type="range"] { flex: 1; padding: 0; border: 0; background: transparent; accent-color: var(--accent); }
.ax-kp-slots { margin: 2px 0 6px 18px; display: flex; flex-direction: column; gap: 1px; }
.ax-kp-slot { font-size: 12px; padding: 2px 6px; border-radius: 5px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.ax-kp-slot:hover { background: rgba(255,255,255,.05); }
.ax-kp-slot.on { background: rgba(29,158,117,.18); }
.ax-kp-slot.missing { color: var(--muted); }
/* status filter: grid dims under a spinner while the next page loads */
#axGridWrap { position: relative; min-height: 120px; }
#axGridWrap.ax-loading-grid > * { opacity: .35; transition: opacity .1s; pointer-events: none; }
#axGridWrap.ax-loading-grid::after { content: ''; position: absolute; left: 50%; top: 60px; width: 28px; height: 28px; margin-left: -14px;
  border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--accent); animation: ax-spin .7s linear infinite; }
@keyframes ax-spin { to { transform: rotate(360deg); } }
.ax-kp-row td { padding-top: 0; }
.ax-spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--accent); animation: ax-spin .7s linear infinite; vertical-align: -2px; margin-right: 4px; }

/* batches */
.ax-sec { margin: 4px 0 10px; font-size: 15px; }
.ax-sec:not(:first-child) { margin-top: 22px; }
.ax-batch { margin-bottom: 10px; }
.ax-batch b { font-size: 15px; }
.ax-closed { opacity: .6; }
.ax-done { margin-top: 8px; }
.ax-done summary { cursor: pointer; margin-bottom: 8px; }
.ax-minibar { height: 6px; }
.ax-rowbtns { white-space: nowrap; text-align: right; }
.ax-overdue { color: var(--err); font-weight: 600; }
.ax-pickbar { margin-bottom: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.ax-batchchip { margin-bottom: 10px; }
.ax-more { text-align: center; margin: 14px 0 0; }
.ax-chipsep { display: inline-block; width: 1px; align-self: stretch; background: var(--border); margin: 0 4px; }
.ax-warnchip { color: #fde68a; }
.badge.ax-rules { color: #fde68a; box-shadow: inset 0 0 0 1px rgba(245,158,11,.7); }
.ax-rules-text { color: #fde68a; font-size: 11px; line-height: 1.35; }
/* jobs */
.ax-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 14px 0; align-items: start; }
@media (min-width: 1100px) { .ax-jobs .ax-clipcard { grid-column: span 2; } .ax-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ax-jobs .card { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ax-jobs h3 { margin: 0 0 4px; font-size: 15px; }
.ax-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; width: 100%; }
.ax-checks .ax-sw { vertical-align: -1px; }

/* Which images: the two Sorting trees, nested like the Style Manager's
   Garment construction, with what a Sync does beside them. */
.ax-which { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 18px 28px; align-items: start; }
.ax-which h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.ax-cq { margin: 0 0 14px; }
.ax-cq:last-child { margin-bottom: 0; }
.ax-cq-h { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 7px; display: flex; gap: 6px; align-items: center; }
.ax-cq-answers { display: flex; flex-wrap: wrap; gap: 6px; }
button.ax-cq-a { padding: 5px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: transparent; color: var(--text); font-size: 12.5px; font-weight: 400; }
button.ax-cq-a:hover:not(:disabled) { border-color: var(--accent); filter: none; }
button.ax-cq-a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ax-cq-kids { margin: 12px 0 0 8px; padding: 2px 0 2px 16px; border-left: 2px solid var(--border); }
.ax-cq-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.ax-diff { position: sticky; top: 16px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; transition: opacity .1s; }
.ax-diff h4 { margin-bottom: 4px; }
.ax-diff.ax-pending { opacity: .45; }
.ax-diff-row { font-size: 13px; margin: 12px 0 6px; }
.ax-diff-row b { font-variant-numeric: tabular-nums; margin-right: 3px; }
.ax-diff-row b.add { color: var(--accent-2); }
.ax-diff-row b.rm { color: #fca5a5; }
.ax-diff-row a { color: var(--accent-2); margin-left: 4px; }
.ax-diff-thumbs { display: flex; flex-wrap: wrap; gap: 4px; }
.ax-diff-thumbs .ax-thumb { width: 36px; height: 48px; cursor: pointer; }
@media (max-width: 1100px) { .ax-which { grid-template-columns: minmax(0, 1fr); } .ax-diff { position: static; } }
/* example images in the guidelines (Perry 2026-10-23) */
.ax-exs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ax-ex { padding: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #0a0b0c; aspect-ratio: 1; cursor: pointer; }
.ax-ex img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ax-ex:hover { border-color: rgba(255,255,255,.35); filter: none; }
/* an annotator's own images in the project grid (Perry 2026-10-23) */
.tile.ax-mine { box-shadow: 0 0 0 2px var(--accent-2, #1d9e75); }
.badge.ax-yours { background: var(--accent-2, #1d9e75); color: #fff; }
.badge.ax-busy { background: var(--warn, #f59e0b); color: #1a1a1a; }
.ax-onlymine { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: var(--muted); cursor: pointer; }
/* How to annotate: the guide over whatever is open (Perry 2026-10-23) */
.ax-gd-back { position: fixed; inset: 0; z-index: 600; background: rgba(0,0,0,.6); display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 32px 16px; }
.ax-gd { position: relative; background: var(--panel, #15171a); border: 1px solid var(--border); border-radius: 14px; width: min(760px, 100%); padding: 24px 28px 28px; line-height: 1.55; font-size: 14px; }
.ax-gd h2 { margin: 0 0 6px; font-size: 22px; }
.ax-gd h3 { margin: 22px 0 6px; font-size: 16px; }
.ax-gd p { margin: 6px 0; color: var(--text); }
.ax-gd ul, .ax-gd ol { margin: 6px 0; padding-left: 22px; }
.ax-gd li { margin: 3px 0; }
.ax-gd kbd { font: 12px ui-monospace, monospace; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: rgba(255,255,255,.04); }
.ax-gd-ico { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; vertical-align: -6px;
  border-radius: 6px; background: #15171a; border: 1px solid var(--border); color: var(--text, #e6e6e6); font-size: 15px; }
.ax-gd-fig { margin: 10px 0 8px; }
.ax-gd-fig img { width: 100%; max-width: 520px; display: block; border-radius: 12px; }
.ax-gd-fig figcaption { color: var(--muted); font-size: 12px; margin-top: 4px; }
.ax-gd-x { position: absolute; top: 14px; right: 14px; }
.ax-tally { margin-top: 10px; }
.ax-tally-t { border-collapse: collapse; font-size: 13px; }
.ax-tally-t th, .ax-tally-t td { padding: 3px 14px 3px 0; text-align: right; }
.ax-tally-t th:first-child, .ax-tally-t td:first-child { text-align: left; }
.ax-tally-t th { font-weight: 500; color: var(--muted, #888); font-size: 12px; }
.ax-tally-t td { font-variant-numeric: tabular-nums; }
.ax-howto-r .ax-gd-ico { width: 20px; height: 20px; font-size: 13px; vertical-align: -5px; }
.ax-removed { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; }
.ax-removed-row { display: flex; align-items: center; gap: 12px; padding: 6px; border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ax-removed-row:hover { background: rgba(255,255,255,.04); }
.ax-removed-row .ax-thumb { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; flex: none; }
.ax-removed-row > span { display: flex; flex-direction: column; gap: 2px; }
.ax-danger { margin-top: 14px; border-color: rgba(239, 68, 68, .35); }
.ax-gone { margin-bottom: 8px; padding: 12px 16px; }
.ax-orphans { border-color: rgba(245, 158, 11, .45); margin-bottom: 14px; }
/* New project: one field under another, the label over its control */
.ax-np-field { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0 0 16px; }
.ax-np-field > .fieldlabel { margin: 0; }
.ax-np-field > input, .ax-np-field > select { width: 100%; }
.ax-np-field > .seg { align-self: flex-start; }
.ax-np-field .ax-feat-list { max-height: 46vh; overflow-y: auto; margin: 0 -8px; }
/* Features projects (Perry 2026-11-03): pick what's placed, a chain's features together */
.ax-feat-list, #axFeatPick { display: flex; flex-direction: column; gap: 2px; }
.ax-feat { display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.ax-feat:hover { background: rgba(255,255,255,.04); }
.ax-feat input { width: auto; flex: none; margin: 3px 0 0; }
.ax-feat > span { display: flex; flex-direction: column; gap: 1px; }
.ax-feat-from { margin-left: 24px; }
/* Checks (Perry 2026-11-03): sizes and places */
.ax-chk { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ax-chk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ax-chk-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px 6px; border: 1px dashed var(--border); border-radius: 8px; }
.ax-chk-group select { width: auto; }
.ax-chk-gt { color: var(--muted); font-size: 16px; }
.ax-chk-row .pill a { color: inherit; text-decoration: none; margin-left: 2px; }
/* Projects in sections (Perry 2026-11-03) */
.ax-psec { margin-bottom: 22px; }
.ax-psec-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; }
.ax-psec-h .muted { font-weight: 600; margin-left: 4px; }

/* Which images: images picked by ID (Perry 2026-11-04) */
.ax-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.ax-pick { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; }
.ax-pick .ax-thumb { width: 56px; height: 74px; cursor: pointer; }
.ax-pick.out .ax-thumb { opacity: .45; }
.ax-pick-id { font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.ax-pick-note { font-size: 10px; line-height: 1.2; text-align: center; color: var(--warn, #f59e0b); }
.ax-pick-x { position: absolute; top: -6px; right: -2px; width: 20px; height: 20px; padding: 0; border-radius: 50%;
  display: none; align-items: center; justify-content: center; font-size: 12px; }
.ax-pick:hover .ax-pick-x { display: flex; }
