:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #68645d;
  --line: #ded8ce;
  --paper: #f8f4ed;
  --panel: #fffdf8;
  --soft: #eee7dc;
  --charcoal: #252525;
  --blue: #315d83;
  --green: #9fca63;
  --danger: #9a3f33;
  --shadow: 0 16px 42px rgba(39, 34, 26, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1120px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 14px;
  font-weight: 700;
  text-decoration: none;
}

.plain-list {
  display: grid;
  gap: 10px;
}

.plain-list a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  word-break: break-all;
}

.app-shell {
  min-height: 100vh;
  padding: 28px;
}

.topbar,
.workspace,
.toolbar,
.summary-grid {
  width: 100%;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.collab-panel {
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px 14px;
}

.collab-panel strong {
  display: block;
  font-size: 15px;
}

.collab-panel .status-warning {
  color: #8a5a10;
}

.collab-panel .status-error {
  color: var(--danger);
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 36px;
  line-height: 1;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 16px;
}

.topbar-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.project-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
  margin: 0 0 12px;
}

.login-logo {
  width: 210px;
  margin: 0 0 10px;
  object-fit: contain;
  object-position: left center;
}

button {
  border: 0;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.primary-button {
  background: var(--ink);
  color: #fff;
}

.ghost-button {
  background: var(--soft);
  color: var(--ink);
}

.interactive-button {
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.interactive-button:hover:not(:disabled),
.interactive-button:focus-visible:not(:disabled) {
  background: #0879e7;
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 121, 231, 0.14);
  transform: translateY(-1px);
}

.save-feedback-busy,
.save-feedback-busy:disabled {
  background: #6e6e73;
  color: #fff;
  opacity: 1;
}

.save-feedback-success,
.save-feedback-success:disabled {
  background: #1f9d55;
  color: #fff;
  opacity: 1;
}

.save-feedback-error,
.save-feedback-error:disabled {
  background: #d83a34;
  color: #fff;
  opacity: 1;
}

.compact {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 160px 160px 160px 1fr;
  gap: 12px;
  margin: 24px 0 14px;
}

.summary-panel {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px 16px;
}

.summary-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1;
}

.summary-panel:last-child strong {
  font-size: 18px;
  line-height: 1.2;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 160px 220px;
  gap: 12px;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  min-height: 38px;
  padding: 9px 10px;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 93, 131, 0.14);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(640px, 1fr) 420px;
  align-items: start;
  gap: 18px;
}

.board-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.58);
}

.board {
  display: grid;
  grid-auto-columns: 286px;
  grid-auto-flow: column;
  gap: 12px;
  min-height: 620px;
  padding: 12px;
}

.stage-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 590px;
  border-radius: 8px;
  background: rgba(238, 231, 220, 0.7);
  padding: 10px;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
}

.stage-header strong {
  font-size: 14px;
}

.stage-header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.style-card {
  display: grid;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
  box-shadow: 0 7px 18px rgba(39, 34, 26, 0.08);
  text-align: left;
}

.style-card.selected {
  border-color: var(--charcoal);
  box-shadow: var(--shadow);
}

.style-card h3 {
  font-size: 17px;
  line-height: 1.18;
}

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--soft);
  object-fit: cover;
}

.card-image.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-meta,
.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
}

.pill.high {
  background: #1d1d1d;
  color: #fff;
}

.pill.mid {
  background: #d9e7bb;
  color: #3b4e1c;
}

.pill.low {
  background: #d8e4ec;
  color: #26465c;
}

.card-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.card-next {
  color: var(--ink);
}

.detail-panel {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-title-row.small {
  align-items: center;
  margin: 0 0 12px;
}

.save-state {
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.save-state.dirty {
  background: #f5e0bd;
  color: #7b5319;
}

.save-state.error {
  background: #f0d0cc;
  color: var(--danger);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#detailForm {
  display: grid;
  gap: 12px;
}

.image-editor {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.image-preview {
  display: grid;
  place-items: center;
  min-height: 118px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px dashed #b8b0a3;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.image-preview.drag-over {
  border-color: var(--blue);
  background: #e7edf1;
  box-shadow: 0 0 0 3px rgba(49, 93, 131, 0.16);
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-controls {
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.image-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.color-image-editor {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.color-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.color-image-dropzone {
  margin-top: 0;
}

.color-image-empty {
  min-height: 84px;
}

input[type="file"] {
  min-height: auto;
  padding: 8px;
  background: var(--panel);
}

.history-section {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.history-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.history-card time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.history-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

dialog {
  width: min(520px, calc(100vw - 36px));
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(21, 20, 18, 0.42);
}

.dialog-card {
  display: grid;
  gap: 14px;
  background: var(--panel);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.empty-state {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  padding: 16px 8px;
}

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --paper: #f5f5f7;
  --panel: rgba(255, 255, 255, 0.8);
  --soft: #f2f2f7;
  --charcoal: #0071e3;
  --blue: #0071e3;
  --green: #248a3d;
  --danger: #d70015;
  --warning: #b26a00;
  --blue-soft: #eaf3ff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

body {
  min-width: 1320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 113, 227, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfbfd 0%, var(--paper) 42%, #ececf0 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.app-shell {
  max-width: 1540px;
  margin: 0 auto;
}

.topbar {
  align-items: flex-start;
}

.topbar-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

h1 {
  font-size: 42px;
  font-weight: 750;
}

h2,
h3 {
  font-weight: 720;
}

.eyebrow {
  font-size: 11px;
}

button,
.share-links a {
  gap: 6px;
}

.primary-button {
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
}

.ghost-button {
  background: var(--soft);
}

.collab-panel,
.metrics-row article,
.focus-card,
.queue-panel,
.board-wrap,
.detail-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

.metrics-row {
  display: grid;
  grid-template-columns: 150px 150px 150px 1fr;
  gap: 12px;
  margin: 14px 0;
}

.metrics-row article {
  min-height: 74px;
  border-radius: 8px;
  padding: 14px 16px;
}

.metrics-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.metrics-row strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.metrics-row article:last-child strong {
  font-size: 17px;
  line-height: 1.25;
}

.focus-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.focus-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 8px 16px;
  align-items: center;
  min-height: 126px;
  border-radius: 8px;
  padding: 16px;
}

.focus-card.critical {
  border-color: rgba(215, 0, 21, 0.18);
}

.focus-card span,
.review-section label,
.score-grid label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.focus-card strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 730;
}

.focus-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.focus-card button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
}

.workspace {
  grid-template-columns: 300px minmax(600px, 1fr) 430px;
  gap: 14px;
}

.queue-panel,
.board-wrap,
.detail-panel {
  border-radius: 8px;
}

.queue-panel {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 16px;
}

.priority-queue {
  display: grid;
  gap: 8px;
}

.queue-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  box-shadow: none;
}

.queue-item.active {
  border-color: rgba(0, 113, 227, 0.26);
  background: var(--blue-soft);
}

.queue-item strong {
  display: block;
  font-size: 15px;
}

.queue-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.board-wrap {
  padding: 14px;
}

.board-title {
  margin-bottom: 12px;
}

.board {
  min-height: 570px;
  padding: 0;
}

.stage-column {
  min-height: 550px;
  background: rgba(242, 242, 247, 0.78);
}

.style-card {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.style-card.selected {
  border-color: rgba(0, 113, 227, 0.42);
  box-shadow: 0 10px 26px rgba(0, 113, 227, 0.12);
}

.pill.high {
  background: #fff0f1;
  color: var(--danger);
}

.pill.mid {
  background: var(--blue-soft);
  color: var(--blue);
}

.pill.low {
  background: var(--soft);
  color: var(--muted);
}

input,
select,
textarea,
.image-editor,
.history-card {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.review-section {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.sample-round-section {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.round-workspace {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
}

.round-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.round-tab {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 9px;
  text-align: left;
  box-shadow: none;
}

.round-tab.active {
  border-color: rgba(0, 113, 227, 0.28);
  background: var(--blue-soft);
}

.round-tab strong {
  font-size: 14px;
}

.round-tab span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.round-detail {
  display: grid;
  gap: 12px;
}

.round-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.round-action-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.readonly-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.danger-button {
  background: #fff0f1;
  color: var(--danger);
}

.danger-button:disabled {
  background: var(--soft);
  color: var(--muted);
}

.round-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.round-empty {
  display: grid;
  place-items: center;
  grid-column: 1 / -1;
  min-height: 92px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.round-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.color-image.drag-over {
  border-color: var(--blue);
  background: rgba(232, 242, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.round-image-preview-button {
  display: block;
  width: 100%;
  min-height: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.round-image-preview-button:hover img {
  transform: scale(1.025);
}

.round-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.16s ease;
}

.round-image figcaption {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 4px;
  padding: 6px;
}

.round-image figcaption span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-image figcaption button {
  min-height: 24px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  padding: 0;
  box-shadow: none;
}

.image-color-field {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 7px 8px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.image-color-field input {
  min-height: 34px;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 14px;
}

.round-upload-row {
  display: grid;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.round-upload-row.drag-over {
  border-color: var(--blue);
  background: rgba(232, 242, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.round-upload-button {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.round-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Classic board restore: keep V3 functions, return the main UI to the earlier clean tracker shape. */
:root {
  --ink: #171717;
  --muted: #68645d;
  --line: #ded8ce;
  --paper: #f8f4ed;
  --panel: #fffdf8;
  --soft: #eee7dc;
  --charcoal: #252525;
  --blue: #315d83;
  --green: #9fca63;
  --danger: #9a3f33;
  --shadow: 0 16px 42px rgba(39, 34, 26, 0.12);
}

body {
  min-width: 1120px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

.app-shell {
  max-width: none;
  margin: 0;
}

.topbar {
  align-items: center;
}

.topbar-subtitle,
.focus-strip,
.queue-panel {
  display: none;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 16px;
}

.eyebrow {
  font-size: 12px;
}

.primary-button {
  background: var(--ink);
  box-shadow: none;
  color: #fff;
}

.ghost-button {
  background: var(--soft);
  color: var(--ink);
}

.collab-panel,
.metrics-row article,
.board-wrap,
.detail-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.metrics-row {
  display: grid;
  grid-template-columns: 160px 160px 160px 1fr;
  gap: 12px;
  margin: 24px 0 14px;
}

.metrics-row article {
  min-height: 76px;
  border-radius: 8px;
  padding: 14px 16px;
}

.metrics-row strong {
  font-size: 26px;
}

.metrics-row article:last-child strong {
  font-size: 18px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(640px, 1fr) 430px;
  align-items: start;
  gap: 18px;
}

.board-wrap {
  overflow-x: auto;
  padding: 0;
  background: rgba(255, 253, 248, 0.58);
}

.board-title {
  padding: 14px 14px 0;
  margin-bottom: 12px;
}

.board {
  display: grid;
  grid-auto-columns: 286px;
  grid-auto-flow: column;
  gap: 12px;
  min-height: 620px;
  padding: 0 12px 12px;
}

.stage-column {
  min-height: 590px;
  background: rgba(238, 231, 220, 0.7);
}

.style-card {
  background: var(--panel);
  box-shadow: 0 7px 18px rgba(39, 34, 26, 0.08);
}

.style-card.selected {
  border-color: var(--charcoal);
  box-shadow: var(--shadow);
}

.pill.high {
  background: #1d1d1d;
  color: #fff;
}

.pill.mid {
  background: #d9e7bb;
  color: #3b4e1c;
}

.pill.low {
  background: #d8e4ec;
  color: #26465c;
}

input,
select,
textarea,
.image-editor,
.color-image-editor,
.history-card,
.round-upload-row,
.round-tab,
.round-image {
  border-color: var(--line);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 93, 131, 0.14);
}

.stage-pill {
  background: var(--soft);
  color: var(--muted);
}

/* V2 workbench effect + V3 sample-round functions. */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --paper: #f5f5f7;
  --panel: rgba(255, 255, 255, 0.8);
  --soft: #f2f2f7;
  --charcoal: #0071e3;
  --blue: #0071e3;
  --green: #248a3d;
  --danger: #d70015;
  --warning: #b26a00;
  --blue-soft: #eaf3ff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

body {
  min-width: 1320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 113, 227, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfbfd 0%, var(--paper) 42%, #ececf0 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.app-shell {
  max-width: 1540px;
  margin: 0 auto;
}

.topbar {
  align-items: flex-start;
}

.topbar-subtitle {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

h1 {
  font-size: 42px;
  font-weight: 750;
}

h2,
h3 {
  font-weight: 720;
}

.primary-button {
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
}

.ghost-button {
  background: var(--soft);
  color: var(--ink);
}

.collab-panel,
.metrics-row article,
.focus-card,
.queue-panel,
.board-wrap,
.detail-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

.focus-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.focus-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 8px 16px;
  align-items: center;
  min-height: 126px;
  border-radius: 8px;
  padding: 16px;
}

.focus-card.critical {
  border-color: rgba(215, 0, 21, 0.18);
}

.focus-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.focus-card strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 730;
}

.focus-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.focus-card button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
}

.workspace {
  display: grid;
  grid-template-columns: 300px minmax(600px, 1fr) 430px;
  align-items: start;
  gap: 14px;
}

.queue-panel {
  display: block;
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 8px;
  padding: 16px;
}

.priority-queue {
  display: grid;
  gap: 8px;
}

.queue-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  box-shadow: none;
}

.queue-item.active {
  border-color: rgba(0, 113, 227, 0.26);
  background: var(--blue-soft);
}

.queue-item strong {
  display: block;
  font-size: 15px;
}

.queue-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.board-wrap {
  overflow-x: auto;
  border-radius: 8px;
  padding: 14px;
}

.board-title {
  padding: 0;
  margin-bottom: 12px;
}

.board-title .primary-button {
  white-space: nowrap;
}

.board {
  display: grid;
  grid-auto-columns: 286px;
  grid-auto-flow: column;
  gap: 12px;
  min-height: 570px;
  padding: 0;
}

.stage-column {
  min-height: 550px;
  background: rgba(242, 242, 247, 0.78);
}

.style-card {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.style-card.selected {
  border-color: rgba(0, 113, 227, 0.42);
  box-shadow: 0 10px 26px rgba(0, 113, 227, 0.12);
}

.pill.high {
  background: #fff0f1;
  color: var(--danger);
}

.pill.mid {
  background: var(--blue-soft);
  color: var(--blue);
}

.pill.low {
  background: var(--soft);
  color: var(--muted);
}

input,
select,
textarea,
.image-editor,
.history-card,
.round-upload-row,
.round-tab,
.round-image {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.stage-pill {
  background: var(--blue-soft);
  color: var(--blue);
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.score-grid label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.score-grid input {
  grid-column: 1 / -1;
  min-height: 22px;
  padding: 0;
  accent-color: var(--blue);
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 750;
}

.symbol,
.mini-symbol,
.icon-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Arial, sans-serif;
}

.symbol {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 13px;
}

.icon-badge,
.mini-symbol {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.icon-badge.danger,
.mini-symbol.danger {
  background: #fff0f1;
  color: var(--danger);
}

.icon-badge.warning,
.mini-symbol.warning {
  background: #fff7e8;
  color: var(--warning);
}

.icon-badge.blue,
.mini-symbol {
  background: var(--blue-soft);
  color: var(--blue);
}

/* Dense stage board: keep the V2 workbench feel while showing more styles at once. */
.board-wrap {
  padding: 10px;
}

.board {
  grid-auto-columns: 212px;
  gap: 10px;
}

.stage-column {
  gap: 8px;
  min-height: 540px;
  padding: 8px;
}

.stage-header {
  min-height: 30px;
  padding: 0 2px 6px;
}

.stage-header h3 {
  font-size: 13px;
}

.stage-header span {
  min-width: 22px;
  height: 22px;
  font-size: 11px;
}

.style-card {
  gap: 7px;
  min-height: 0;
  padding: 8px;
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);
}

.style-card.selected {
  box-shadow: 0 7px 18px rgba(0, 113, 227, 0.12);
}

.card-compact-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.card-title-block {
  min-width: 0;
}

.card-title-block h3 {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-title-block .card-text {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-image-button {
  display: grid;
  place-items: center;
  width: 82px;
  height: 50px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0;
  box-shadow: none;
}

.card-image-button:hover {
  border-color: rgba(0, 113, 227, 0.34);
  background: var(--blue-soft);
}

.style-card .card-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 7px;
  object-fit: contain;
}

.style-card .card-image.placeholder {
  display: grid;
  place-items: center;
  width: 82px;
  height: 50px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 750;
}

.style-card .card-meta {
  gap: 4px;
}

.style-card .pill {
  min-height: 18px;
  padding: 2px 5px;
  font-size: 10px;
  line-height: 1;
}

.card-line {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.card-line span {
  margin-right: 6px;
  color: var(--blue);
  font-weight: 800;
}

.workspace {
  grid-template-columns: 240px minmax(680px, 1fr) 360px;
}

.queue-panel,
.detail-panel {
  padding: 14px;
}

.index-shell {
  max-width: 1540px;
  margin: 0 auto;
}

.index-topbar {
  align-items: flex-start;
}

.index-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.index-summary article,
.index-board {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

.index-summary article {
  min-height: 74px;
  border-radius: 8px;
  padding: 14px 16px;
}

.index-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.index-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1;
}

.index-toolbar {
  grid-template-columns: minmax(260px, 1fr) 140px 140px 220px 140px 160px;
}

.sku-audit {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

.audit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.audit-card {
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 10px 12px;
}

.audit-card.warning {
  border-color: rgba(178, 106, 0, 0.24);
  background: #fff7e8;
}

.audit-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.audit-card strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  line-height: 1;
}

.audit-card p {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-board {
  overflow: hidden;
  border-radius: 8px;
}

.index-title {
  padding: 16px;
}

.index-table-wrap {
  max-height: calc(100vh - 300px);
  overflow: auto;
  border-top: 1px solid var(--line);
}

.style-index-table {
  width: 100%;
  min-width: 1360px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.42);
}

.style-index-table th,
.style-index-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: middle;
}

.style-index-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  background: rgba(245, 245, 247, 0.96);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.style-index-table td {
  color: var(--ink);
  font-size: 12px;
}

.style-index-table tr:hover td {
  background: rgba(0, 113, 227, 0.045);
}

.style-index-table td strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.style-index-table td span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.sku-cell {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.length-chip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 22px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted) !important;
  font-weight: 800;
}

.series-chip {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 22px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue) !important;
  padding: 0 8px;
  font-weight: 800;
}

.index-thumb-button {
  display: grid;
  place-items: center;
  width: 96px;
  height: 58px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0;
  box-shadow: none;
}

.index-thumb-button:hover {
  border-color: rgba(0, 113, 227, 0.34);
  background: var(--blue-soft);
}

.index-thumb-frame {
  display: grid;
  width: 86px;
  height: 48px;
  place-items: center;
  overflow: hidden;
}

.index-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.index-thumb.placeholder {
  display: grid;
  place-items: center;
  width: 96px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.next-step-cell {
  max-width: 300px;
  overflow: hidden;
  color: var(--muted) !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-index-table .stage-pill {
  display: inline-flex !important;
  justify-content: center;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-empty {
  height: 120px;
  color: var(--muted) !important;
  text-align: center !important;
}

.image-preview-dialog {
  width: min(980px, calc(100vw - 48px));
}

.progress-detail-dialog {
  width: min(1500px, calc(100vw - 48px));
}

.image-preview-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  padding: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.progress-preview-card {
  box-shadow: none;
}

.image-preview-large {
  display: grid;
  place-items: center;
  min-height: 420px;
  max-height: calc(100vh - 220px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.image-preview-large img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 240px);
  object-fit: contain;
}

.progress-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: stretch;
}

.progress-preview-gallery {
  display: grid;
  gap: 12px;
  align-content: start;
}

.progress-preview-large {
  height: calc(100vh - 260px);
  min-height: 520px;
  max-height: calc(100vh - 220px);
  background: #fff;
}

.progress-preview-color-strip {
  display: grid;
  grid-auto-columns: 142px;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  scrollbar-width: thin;
}

.progress-preview-color-strip[hidden] {
  display: none;
}

.progress-preview-color-strip .progress-preview-color-thumb {
  grid-template-rows: 96px 24px;
  min-height: 134px;
  padding: 4px;
}

.progress-preview-color-strip .progress-preview-color-thumb .progress-image-frame {
  position: relative;
  width: 100%;
  height: 96px;
  aspect-ratio: auto;
}

.progress-preview-color-strip .progress-preview-color-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.progress-preview-color-strip .progress-preview-color-thumb .progress-color-label {
  align-self: center;
  min-height: 20px;
  font-size: 11px;
}

.progress-detail-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  max-height: calc(100vh - 210px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}

.progress-detail-section {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid rgba(108, 105, 101, 0.14);
  padding-bottom: 14px;
}

.progress-detail-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.progress-detail-section h3 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.progress-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.progress-detail-grid div {
  min-height: 58px;
  border: 1px solid rgba(108, 105, 101, 0.14);
  border-radius: 8px;
  padding: 9px 10px;
}

.progress-detail-grid span,
.progress-detail-note span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.progress-detail-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.progress-detail-note {
  display: grid;
  gap: 5px;
}

.progress-detail-note p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.progress-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-score-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: #f3f3f3;
  color: var(--muted);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
}

.progress-score-row strong {
  margin-left: 5px;
  color: var(--ink);
}

.progress-wall-page {
  background: #fff;
}

.progress-wall-shell {
  max-width: 1760px;
  margin: 0 auto;
  background: #fff;
}

.progress-wall-topbar {
  align-items: flex-start;
}

.progress-wall-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.progress-wall-hero article {
  min-height: 74px;
  border: 1px solid rgba(222, 222, 222, 0.84);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}

.progress-wall-hero span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.progress-wall-hero strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1;
}

.progress-wall-toolbar {
  grid-template-columns: minmax(360px, 1fr) 220px 160px;
  margin-bottom: 18px;
}

.product-overview-hero {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.product-overview-toolbar {
  grid-template-columns: minmax(320px, 1fr) 170px 220px 220px 150px;
}

.progress-wall-board {
  padding-bottom: 28px;
}

.progress-wall-grid {
  display: grid;
  gap: 34px;
}

.progress-series-section {
  display: grid;
  gap: 16px;
}

.progress-series-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(222, 222, 222, 0.9);
  padding-bottom: 12px;
}

.progress-series-head h2 {
  color: #6c6965;
  font-size: 34px;
  font-weight: 930;
  line-height: 1;
}

.progress-series-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #6c6965;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.progress-series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.progress-product-card {
  display: grid;
  grid-template-rows: 120px 296px 96px 76px 34px;
  height: 660px;
  overflow: hidden;
  border: 1px solid rgba(222, 222, 222, 0.9);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.progress-product-card:hover,
.progress-product-card:focus-visible {
  border-color: rgba(8, 121, 231, 0.24);
  background: #fff;
  outline: none;
  transform: translateY(-2px);
}

.progress-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  height: 120px;
  overflow: hidden;
}

.progress-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  max-width: 74%;
}

.progress-card-title strong {
  display: -webkit-box;
  overflow: hidden;
  color: #6c6965;
  font-size: clamp(30px, 1.85vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.progress-card-title-cn {
  color: #8a8680;
  font-size: 14px;
  font-weight: 860;
  line-height: 1;
  white-space: nowrap;
}

.progress-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: #6d6a66;
  color: #fff;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.progress-card-media {
  display: grid;
  place-items: center;
  height: 296px;
  background: #fff;
  padding: 16px 6px 10px;
}

.progress-image-button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: transparent;
  padding: 0;
}

.progress-image-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.28;
  overflow: hidden;
}

.progress-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.progress-image-button .progress-image-frame {
  box-sizing: border-box;
  position: relative;
  height: 100%;
  max-height: 330px;
  overflow: hidden;
  padding: 0;
}

.progress-image-button .progress-image-frame.normalized {
  padding: 0;
}

.progress-image-button .progress-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.progress-color-strip {
  display: grid;
  grid-auto-columns: calc((100% - 18px) / 4);
  grid-auto-flow: column;
  gap: 6px;
  height: 96px;
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.progress-color-thumb {
  display: grid;
  grid-template-rows: 62px 26px;
  place-items: center;
  min-width: 0;
  min-height: 90px;
  overflow: hidden;
  border: 1px solid rgba(108, 105, 101, 0.16);
  border-radius: 5px;
  background: #fff;
  padding: 2px;
  box-shadow: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.progress-color-thumb:hover,
.progress-color-thumb.active {
  border-color: rgba(8, 121, 231, 0.58);
  background: #f5f9ff;
}

.progress-color-thumb img {
  display: block;
}

.progress-color-label {
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  max-width: 100%;
  overflow: hidden;
  color: #6c6965;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  padding-top: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-color-thumb .progress-image-frame {
  width: 100%;
  height: 62px;
  aspect-ratio: 1.45;
}

.progress-image-placeholder {
  display: grid;
  place-items: center;
  width: min(72%, 360px);
  aspect-ratio: 1.35;
  border: 1px dashed rgba(108, 105, 101, 0.28);
  border-radius: 8px;
  color: rgba(108, 105, 101, 0.68);
  font-size: 18px;
  font-weight: 850;
  text-transform: uppercase;
}

.progress-card-info-button {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: end;
  width: 100%;
  min-height: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  text-align: left;
  box-shadow: none;
}

.progress-card-info-button:focus-visible {
  outline: none;
}

.progress-card-info-button h2 {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #6c6965;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.progress-card-info-button p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #6c6965;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.progress-card-kicker {
  margin: 0 !important;
  color: #5e5b57 !important;
  font-size: 12px !important;
  font-weight: 880;
  letter-spacing: 0;
  text-transform: uppercase;
}

.progress-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.progress-card-meta strong {
  color: #6c6965;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.progress-card-subline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  border-top: 1px solid rgba(108, 105, 101, 0.12);
  padding-top: 10px;
  color: #77736e;
  font-size: 12px;
  font-weight: 800;
}

.progress-card-subline span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-overview-card {
  grid-template-rows: 120px 296px 34px 76px 34px;
}

.product-overview-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: 296px;
  background: #fff;
  padding: 16px 6px 10px;
  box-shadow: none;
}

.product-overview-media .progress-image-frame {
  height: 100%;
}

.product-overview-source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: #77736e;
  font-size: 12px;
  font-weight: 840;
}

.product-overview-source-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-overview-page .progress-preview-main {
  background: #fff;
}

.product-overview-page .progress-preview-main img {
  object-fit: contain;
}

@media (max-width: 1680px) {
  .progress-series-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .product-overview-hero {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .product-overview-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .progress-series-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .progress-series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-wall-toolbar {
    grid-template-columns: 1fr;
  }

  .product-overview-hero,
  .product-overview-toolbar {
    grid-template-columns: 1fr;
  }
}

.progress-wall-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px solid rgba(222, 222, 222, 0.84);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.pill.cost-risk,
.status-risk {
  background: #fff0f1;
  color: var(--danger);
}

.pill.cost-ok,
.status-ok {
  background: #e8f6ed;
  color: var(--green);
}

.pill.cost-working,
.status-working {
  background: #fff7e8;
  color: var(--warning);
}

.pill.cost-missing,
.status-missing {
  background: var(--soft);
  color: var(--muted);
}

.costing-shell {
  max-width: 1540px;
  margin: 0 auto;
}

.costing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.costing-metrics article,
.costing-sidebar,
.costing-editor,
.costing-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--shadow);
}

.costing-metrics article {
  min-height: 74px;
  padding: 14px 16px;
}

.costing-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.costing-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1;
}

.costing-workspace {
  display: grid;
  grid-template-columns: 300px minmax(640px, 1fr) 310px;
  align-items: start;
  gap: 14px;
}

.costing-sidebar,
.costing-editor,
.costing-result {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.costing-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.costing-style-list {
  display: grid;
  gap: 8px;
}

.costing-style-item {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 11px;
  text-align: left;
  box-shadow: none;
}

.costing-style-item.active {
  border-color: rgba(0, 113, 227, 0.32);
  background: var(--blue-soft);
}

.costing-style-item strong {
  font-size: 14px;
}

.costing-style-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.costing-style-item em {
  justify-self: start;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.costing-current-style {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 12px;
}

.costing-current-style span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.costing-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.cost-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cost-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.5);
}

.cost-table th,
.cost-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: middle;
}

.cost-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.cost-table td {
  font-size: 12px;
}

.cost-table input {
  min-height: 34px;
  padding: 0 9px;
  font-size: 12px;
}

.cost-table td:first-child {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.cost-table td:last-child strong {
  white-space: nowrap;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 12px;
}

.result-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.result-list strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

#costingVerdictValue {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 14px;
}

.costing-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
}

.login-card {
  display: grid;
  gap: 16px;
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.login-card h1 {
  font-size: 28px;
  line-height: 1.05;
}

.login-card form {
  display: grid;
  gap: 14px;
}

.login-hint,
.login-error {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.login-network {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 750;
}

.login-network:empty {
  display: none;
}

.login-network strong {
  color: var(--ink);
  font-size: 13px;
  word-break: break-all;
}

.login-error {
  min-height: 20px;
  color: var(--danger);
  font-weight: 750;
}

.accounts-shell {
  display: grid;
  gap: 18px;
}

.role-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.role-guide article,
.accounts-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.role-guide article {
  display: grid;
  gap: 7px;
  min-height: 88px;
  padding: 15px;
}

.role-guide strong {
  font-size: 16px;
}

.role-guide span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.accounts-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.accounts-state {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.accounts-state.dirty {
  color: #8a5a10;
}

.accounts-state.error {
  color: var(--danger);
}

.accounts-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.56);
}

.accounts-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.accounts-table th,
.accounts-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

.accounts-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.accounts-table td:last-child {
  width: 110px;
}

.module-access-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 8px;
  min-width: 230px;
}

.module-access-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 28px;
  border-radius: 12px;
  background: var(--soft);
  padding: 4px 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.module-access-option select {
  width: 72px;
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 850;
  color: var(--ink);
}

.module-access-option:has(select:disabled) {
  opacity: 0.48;
}

.side-module {
  min-width: 1280px;
  background: #fbfbfd;
}

.side-module .side-shell {
  width: min(1720px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.side-module .side-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.side-module .side-hero h1 {
  font-size: 54px;
  line-height: 0.95;
}

.side-module .side-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.side-module .side-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.side-module .side-module-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.side-module .side-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.side-module .side-summary div,
.side-module .side-section,
.side-module .side-editor {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
}

.side-module .side-summary div {
  padding: 16px 18px;
}

.side-module .side-summary span,
.side-module .side-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.side-module .side-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}

.side-module .side-filters {
  display: grid;
  grid-template-columns: 1fr 220px 220px;
  gap: 12px;
  margin-bottom: 18px;
}

.side-module .side-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.side-module .side-main {
  display: grid;
  gap: 18px;
}

.side-module .side-section,
.side-module .side-editor {
  padding: 18px;
}

.side-module .side-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.side-module .side-section-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.side-module .side-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.side-module .side-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  font-weight: 800;
}

.side-module .side-card {
  display: grid;
  grid-template-rows: 210px auto auto auto auto;
  gap: 8px;
  min-height: 360px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.side-module .side-card:hover,
.side-module .side-card.selected {
  border-color: var(--blue);
  background: #f7fbff;
}

.side-module .side-card-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 210px;
  border-radius: 8px;
  background: #f5f5f7;
  overflow: hidden;
}

.side-module .side-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-module .side-card-image.placeholder {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.side-module .side-card-kicker,
.side-module .side-card-footer,
.side-module .side-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.side-module .side-card strong {
  font-size: 22px;
  line-height: 1.08;
}

.side-module .side-table-wrap {
  overflow-x: auto;
}

.side-module .side-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.side-module .side-table th,
.side-module .side-table td {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.side-module .side-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.side-module .side-table tr {
  cursor: pointer;
}

.side-module .side-table tr:hover,
.side-module .side-table tr.selected {
  background: #f7fbff;
}

.side-module .side-table-thumb {
  display: inline-grid;
  place-items: center;
  width: 82px;
  height: 56px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.side-module .side-editor {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.side-module .side-form {
  display: grid;
  gap: 12px;
}

.side-module .side-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.side-module .side-image-editor {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
}

.side-module .side-image-drop {
  display: grid;
  place-items: center;
  min-height: 170px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  background: #f5f5f7;
  color: var(--muted);
}

.side-module .side-image-drop.drag-over {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.side-module .side-image-drop img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.side-module.footwear-dev .side-card {
  grid-template-rows: 240px auto auto auto auto;
}

.side-module.footwear-dev .side-card-image {
  height: 240px;
}

.side-module.accessory-dev .side-card-kicker {
  color: var(--blue);
}

.side-module .side-actions .action-link,
.side-module .side-actions button {
  min-height: 54px;
}

.side-module .side-index-filters {
  grid-template-columns: minmax(360px, 1fr) repeat(3, 220px);
}

.side-module[data-product-kind="footwear"] .side-index-filters {
  grid-template-columns: minmax(360px, 1fr) 220px 220px;
}

.side-index-table {
  min-width: 1360px;
}

.side-index-thumb {
  width: 112px;
  height: 74px;
}

.side-stage-pill {
  display: inline-flex;
  white-space: nowrap;
}

.side-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.side-wall-card {
  display: grid;
  grid-template-rows: 76px 280px auto;
  min-height: 520px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.side-wall-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}

.side-wall-card-head p {
  margin: 0;
  color: #6c6965;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.side-wall-card-head small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.side-wall-card-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #6c6965;
  color: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.side-wall-card-image {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
}

.side-wall-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-wall-card-image span {
  color: var(--muted);
  font-weight: 900;
}

.side-wall-card-info {
  display: grid;
  gap: 8px;
  padding: 0 18px 18px;
}

.side-wall-card-info p {
  margin: 0;
  color: #6c6965;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-wall-card-info h2 {
  margin: 0;
  color: #6c6965;
  font-size: 28px;
  line-height: 1.04;
}

.side-wall-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}

.side-wall-note {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 10px;
}

.side-wall-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.side-wall-note strong {
  display: block;
  margin-top: 4px;
  line-height: 1.35;
}

@media (max-width: 1500px) {
  .side-wall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.module-select-page {
  min-width: 980px;
  background: #fbfbfd;
}

.module-select-shell {
  width: min(1180px, calc(100vw - 72px));
  margin: 0 auto;
  padding: 54px 0;
}

.module-select-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.module-select-logo {
  width: 178px;
  margin-bottom: 22px;
}

.module-select-hero h1 {
  font-size: 56px;
  line-height: 0.96;
}

.module-select-hint {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  min-height: 260px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.module-card:hover,
.module-card:focus-visible {
  border-color: var(--blue);
  background: #f7fbff;
  transform: translateY(-2px);
}

.module-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.module-card strong {
  font-size: 34px;
  line-height: 1.05;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.module-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 34px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  padding: 0 14px;
  font-style: normal;
  font-weight: 850;
}

.module-card.blue em {
  background: var(--blue-soft);
  color: var(--blue);
}

.module-card.green em {
  background: #eaf7ef;
  color: var(--green);
}

.module-card.charcoal em {
  background: #f0f0f2;
  color: #1d1d1f;
}

.module-card.gold em {
  background: #fff4d8;
  color: #916000;
}

.module-empty {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}
