/* Noon listing workbench (listing-workbench.mjs) */
.wb { display: flex; flex-direction: column; gap: 14px; }
.wb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.wb-ok { background: #e3f4ee; color: #065c47; }
.wb-warn { background: #fbf0de; color: #6e4512; }
.wb-bad { background: #fbe6e8; color: #8f2a37; }
.wb-info { background: var(--blue-soft); color: var(--blue); }
.wb-mute { background: #eef1f6; color: var(--secondary); }

.wb-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.wb-steps .wb-nav { min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; padding: 0 14px; }
.wb-steps .wb-nav[data-state="ok"] { background: #e3f4ee; border-color: #b9e0d2; color: #065c47; }
.wb-steps .wb-nav[data-state="bad"] { background: #fbe6e8; border-color: #efc3c9; color: #8f2a37; }

.wb-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.wb-main { flex: 999 1 600px; min-width: 0; }
.wb-rail { flex: 1 1 300px; min-width: 260px; display: flex; flex-direction: column; }
.wb-step { scroll-margin-top: 16px; }
.wb-step-title { margin: 6px 0 6px; font-size: 13px; font-weight: 700; color: var(--secondary); }
.wb-more > summary { cursor: pointer; font-weight: 700; }
.wb-more[open] > summary { margin-bottom: 12px; }

.wb-card { display: flex; flex-direction: column; gap: 10px; }
.wb-card h2 { margin: 0; }
.wb-card .button { align-self: flex-start; }
.wb-bar-row { display: flex; justify-content: space-between; font-size: 13px; }
.wb-bar { height: 8px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.wb-bar > div { height: 8px; background: var(--blue); }
.wb-issues { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.wb-issues li { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.wb-issues .button.link { min-height: 0; padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; flex: none; }
.wb-field { display: grid; gap: 5px; font-size: 13px; }
.wb-field .field { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font: inherit; }

.wb-tracking { display: flex; flex-direction: column; gap: 10px; }
.wb-lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wb-lang { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.wb-lang header { display: flex; justify-content: space-between; align-items: center; }
.wb-lang p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.wb-reject { color: #8f2a37; }

/* Image translation panel (image-translate.mjs) */
.it-panel > summary { font-weight: 700; }
.it-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.it-group { margin: 12px 0 6px; font-size: 13px; color: var(--secondary); }
.it-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.it-tile { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.it-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.it-pair > div { aspect-ratio: 1; border-radius: 6px; background: #f4f6fa; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.it-pair img { width: 100%; height: 100%; object-fit: cover; }
.it-empty { font-size: 12px; color: var(--secondary); }
.it-tile figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.it-tile figcaption .button { min-height: 28px; padding: 0 10px; margin-left: auto; }
.it-note { margin: 4px 0 0; font-size: 12px; color: #6e4512; }
