:root {
  --bg: #f5f3ef;
  --panel: #fffdf8;
  --panel-2: #f0eee7;
  --ink: #24211c;
  --muted: #746f66;
  --line: #ded8cd;
  --strong: #1d3d37;
  --strong-2: #2f6b5f;
  --accent: #b65f42;
  --accent-2: #d9a75f;
  --ok: #287c56;
  --warn: #a25a2a;
  --shadow: 0 18px 60px rgba(38, 33, 26, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial,
    sans-serif;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  background: #28251f;
  color: #f8f3e8;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 56px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d9a75f, #8e5a3f);
  color: #1e1712;
  font-weight: 800;
  font-size: 20px;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand span {
  display: block;
  color: #bfb5a6;
  font-size: 12px;
  margin-top: 2px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.nav-item {
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  color: #e8dfd0;
  background: transparent;
  text-align: left;
  padding: 0 14px;
}

.nav-item:hover,
.nav-item.active {
  background: #3b362e;
  color: #fffaf0;
}

.side-panel {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.side-panel strong {
  display: block;
  margin: 6px 0;
  line-height: 1.35;
}

.side-panel p {
  margin: 0;
  color: #cfc5b5;
  font-size: 13px;
  line-height: 1.5;
}

.main {
  min-width: 0;
  padding: 24px;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.eyebrow,
.label {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  margin-top: 6px;
  font-size: 30px;
}

.build-version {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

h2 {
  margin-top: 5px;
  font-size: 20px;
}

.top-actions,
.panel-head,
.upload-row,
.export-grid {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-actions,
.panel-head {
  justify-content: space-between;
}

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

.ai-status {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ai-status.ready {
  border-color: rgba(58, 118, 88, 0.35);
  background: #edf5ee;
  color: #2f6d4a;
}

.ai-status.fallback {
  border-color: rgba(182, 95, 66, 0.35);
  background: #fff3e9;
  color: #9a4f32;
}

.primary-btn,
.ghost-btn,
.small-btn,
.export-btn {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 14px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-btn {
  background: var(--strong);
  color: #fffaf0;
}

.primary-btn:hover {
  background: var(--strong-2);
}

.ghost-btn,
.small-btn,
.export-btn {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.ghost-btn:hover,
.small-btn:hover,
.export-btn:hover {
  border-color: #bcb1a0;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.panel,
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 18px;
}

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

.metric {
  padding: 16px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 14px;
}

.project-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.project-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f0;
}

.project-thumb {
  width: 74px;
  height: 74px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ece6db;
  color: #514b43;
  font-size: 12px;
  font-weight: 700;
}

.flow-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.flow-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #f4efe5;
}

.flow-list b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--strong);
  color: #fff;
  flex: none;
}

.form-panel {
  max-width: 1120px;
}

.form-grid,
.setting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #4f483f;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefa;
  color: var(--ink);
  padding: 0 11px;
  outline: none;
}

textarea {
  min-height: 112px;
  padding: 11px;
  resize: vertical;
  line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--strong-2);
  box-shadow: 0 0 0 3px rgba(47, 107, 95, 0.14);
}

.wide-field {
  margin-top: 14px;
}

.upload-row {
  align-items: stretch;
  margin-top: 14px;
}

.upload-box,
.reference-preview {
  min-height: 168px;
  border: 1px dashed #b7ab9a;
  border-radius: var(--radius);
  background: #f8f4eb;
}

.upload-box {
  width: 280px;
  place-items: center;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  display: none;
}

.upload-box span {
  font-size: 16px;
  color: var(--strong);
}

.upload-box small {
  color: var(--muted);
}

.reference-preview {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.reference-colors {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(55, 48, 39, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.9);
  backdrop-filter: blur(6px);
}

.reference-colors i {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 5px;
}

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

.repeat-grid {
  grid-template-columns: 320px minmax(280px, 0.8fr) minmax(360px, 1.2fr);
}

.palette-grid {
  grid-template-columns: minmax(340px, 0.9fr) minmax(320px, 0.8fr) minmax(280px, 0.65fr);
}

.prompt-card,
.status-line {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius);
  background: #f5efe4;
  border: 1px solid var(--line);
  color: #554d43;
  line-height: 1.55;
}

.status-line {
  font-size: 13px;
  color: var(--muted);
}

.ai-param-preview {
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed rgba(47, 107, 95, 0.35);
  border-radius: var(--radius);
  background: #f7f4ea;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ai-param-preview strong,
.ai-param-preview span,
.ai-param-preview code {
  display: block;
}

.reference-control {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(47, 107, 95, 0.26);
  border-radius: var(--radius);
  background: #f4f7ee;
}

.reference-control-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reference-control h3 {
  margin: 4px 0 0;
  color: var(--strong);
  font-size: 16px;
}

.reference-mode {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #c9d8ca;
  border-radius: 999px;
  color: #315447;
  background: #fffdf8;
  font-size: 12px;
  font-weight: 700;
}

.reference-locks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.reference-locks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #315447;
  font-size: 13px;
  font-weight: 700;
}

.reference-locks input {
  width: 16px;
  height: 16px;
  accent-color: var(--strong-2);
}

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

.reference-note {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.reference-control-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.restore-grid {
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
}

.restore-source-panel {
  min-width: 0;
}

.restore-upload {
  min-height: 92px;
  margin-top: 12px;
  place-items: center;
  padding: 16px;
  border: 1px dashed #b7ab9a;
  border-radius: var(--radius);
  background: #f8f4eb;
  text-align: center;
  cursor: pointer;
}

.restore-upload input {
  display: none;
}

.restore-upload span {
  color: var(--strong);
  font-size: 16px;
}

.restore-upload small {
  color: var(--muted);
}

.restore-crop-stage {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #2b2823;
}

#restoreCropCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 38 / 23;
  touch-action: none;
  cursor: crosshair;
}

.restore-crop-actions,
.restore-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.restore-crop-actions span {
  color: var(--muted);
  font-size: 12px;
}

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

.restore-locks {
  margin-top: 14px;
}

.restore-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.restore-result {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.restore-result img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #ebe5da;
}

.restore-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
}

.restore-result-footer span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.ai-param-preview strong {
  color: var(--strong);
}

.ai-param-preview code {
  margin-top: 8px;
  max-height: 140px;
  overflow: auto;
  padding: 10px;
  border-radius: var(--radius);
  background: #fffdf8;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
  color: #3c362e;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
}

.temporary-key-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(47, 107, 95, 0.24);
  border-radius: var(--radius);
  background: #f4f7ee;
}

.temporary-key-box label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.temporary-key-box input {
  min-width: 0;
}

.temporary-key-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.temporary-key-box span {
  color: #315447;
  font-size: 12px;
  font-weight: 700;
}

.temporary-key-box.warn span {
  color: #75551f;
}

.external-import-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #cfc4b4;
  border-radius: var(--radius);
  background: #fbf8f0;
}

.external-import-box strong,
.external-import-box span {
  display: block;
}

.external-import-box span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.ai-acceptance-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f0;
}

.compact-head {
  margin-bottom: 0;
}

.compact-head h3 {
  margin: 0;
  color: var(--strong);
  font-size: 16px;
}

.ai-acceptance-box textarea {
  min-height: 78px;
}

.seam-report {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f0;
}

.seam-report strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

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

.score-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ded2;
}

.score-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--warn), var(--accent-2), var(--ok));
  transition: width 160ms ease;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.candidate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
  overflow: hidden;
}

.candidate.selected {
  border-color: var(--strong);
  box-shadow: 0 0 0 3px rgba(47, 107, 95, 0.16);
}

.candidate canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #f2eee6;
}

.candidate-footer {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  gap: 8px;
}

.candidate-footer span {
  color: var(--muted);
  font-size: 13px;
}

.candidate-review {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(86px, 0.6fr);
  gap: 10px;
  padding: 0 10px 12px;
  border-top: 1px solid rgba(201, 190, 174, 0.55);
}

.candidate-review label {
  font-size: 12px;
}

.candidate-review select,
.candidate-review textarea {
  margin-top: 5px;
}

.candidate-review .review-check {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--strong);
  font-weight: 700;
}

.candidate-review .review-check input {
  width: 16px;
  height: 16px;
}

.candidate-review .review-note {
  grid-column: 1 / -1;
}

.candidate-review textarea {
  min-height: 64px;
  resize: vertical;
}

.canvas-panel canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f3eee5;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin: 16px 0;
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

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

.palette-option {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 80px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f0;
}

.palette-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(182, 95, 66, 0.14);
}

.palette-preview {
  width: 72px;
  height: 62px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background-size: cover;
}

.palette-option h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.mini-swatches {
  display: flex;
  gap: 5px;
}

.mini-swatches i {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.export-grid {
  align-items: stretch;
  flex-direction: column;
  margin-top: 16px;
}

.production-spec-card {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.production-spec-card strong {
  color: var(--strong);
  font-size: 15px;
}

.production-spec-card dl {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 7px 10px;
  margin: 0;
}

.production-spec-card dt {
  color: #8a8176;
  font-weight: 700;
}

.production-spec-card dd {
  min-width: 0;
  margin: 0;
  color: #403a32;
  word-break: break-word;
}

.spec-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-swatches i {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 5px;
}

.spec-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.export-btn {
  width: 100%;
  justify-content: center;
}

.export-log {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.export-log a {
  color: var(--strong);
  font-weight: 700;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.self-check-summary {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.snapshot-status {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 107, 95, 0.2);
  border-radius: var(--radius);
  background: #f1f7ee;
  color: #315447;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.snapshot-status.warn {
  border-color: rgba(184, 132, 46, 0.35);
  background: #fff7e5;
  color: #6c5524;
}

.snapshot-status.fail {
  border-color: rgba(165, 72, 52, 0.35);
  background: #fff0ec;
  color: #7c3b2f;
}

.self-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.self-check-item {
  min-height: 86px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
}

.self-check-item strong,
.self-check-item span {
  display: block;
}

.self-check-item span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.self-check-item.pass {
  border-color: rgba(40, 124, 86, 0.35);
  background: #edf5ee;
}

.self-check-item.warn {
  border-color: rgba(217, 167, 95, 0.55);
  background: #fff6df;
}

.self-check-item.fail {
  border-color: rgba(182, 95, 66, 0.5);
  background: #fff0e9;
}

.service-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(40, 124, 86, 0.28);
  border-radius: var(--radius);
  background: #edf5ee;
  color: #2f6d4a;
  font-size: 12px;
  font-weight: 700;
}

.service-pill.warn {
  border-color: rgba(182, 95, 66, 0.35);
  background: #fff3e9;
  color: #9a4f32;
}

.mockup-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 24px;
  margin-top: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mockup-source-pane,
.mockup-settings-pane {
  min-width: 0;
}

.mockup-step-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.mockup-step-title span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--strong);
  color: #fffaf0;
  font-size: 11px;
  font-weight: 800;
}

.mockup-step-title strong {
  font-size: 15px;
}

.mockup-source-preview {
  min-height: 292px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #eee9df;
  background-position: center;
  background-repeat: repeat;
  background-size: 148px 148px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.mockup-source-meta {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mockup-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mockup-form-grid label,
.mockup-direction-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mockup-form-grid .kidswear-control[hidden] {
  display: none;
}

.mockup-form-grid select,
.mockup-direction-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
}

.mockup-form-grid select {
  min-height: 42px;
  padding: 0 11px;
}

.mockup-direction-field {
  margin-top: 12px;
}

.mockup-direction-field textarea {
  min-height: 82px;
  padding: 10px 11px;
  resize: vertical;
}

.mockup-generate-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.mockup-generate-row .primary-btn {
  min-width: 190px;
}

.mockup-generate-row .primary-btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.mockup-generate-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.mockup-result-head {
  margin-top: 22px;
}

.mockup-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mockup-result-grid > .empty {
  grid-column: 1 / -1;
}

.mockup-result-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5f1e8;
}

.mockup-result-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ded9d0;
}

.mockup-result-media.portrait {
  aspect-ratio: 3 / 4;
}

.mockup-result-media.square {
  aspect-ratio: 1;
}

.mockup-result-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mockup-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}

.mockup-result-footer strong,
.mockup-result-footer span {
  display: block;
}

.mockup-result-footer span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.mockup-flat-panel {
  margin-top: 18px;
}

.mockup-flat-panel .mockup-card {
  min-height: 226px;
}

.mockup-flat-panel .mockup-stage {
  height: 168px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mockup-card {
  min-height: 300px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.mockup-card strong {
  display: block;
  margin-top: 12px;
}

.mockup-stage {
  position: relative;
  height: 236px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: #efe9de;
  background-repeat: repeat;
  background-size: 112px 112px;
  overflow: hidden;
}

.mockup-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.35), transparent 34%, rgba(0, 0, 0, 0.12) 78%),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.38), transparent 24%);
  pointer-events: none;
}

.dress-mockup {
  width: 74%;
  margin: 0 auto;
  clip-path: polygon(36% 0, 64% 0, 78% 15%, 67% 39%, 89% 100%, 11% 100%, 33% 39%, 22% 15%);
}

.scarf-mockup {
  width: 84%;
  height: 148px;
  margin: 12px auto 0;
  transform: rotate(-5deg);
  clip-path: polygon(8% 6%, 94% 0, 100% 87%, 4% 100%);
}

.bedding-mockup {
  margin-top: 24px;
  height: 122px;
  border-radius: 8px 8px 22px 22px;
  box-shadow: inset 0 -28px 0 rgba(0, 0, 0, 0.08);
}

.curtain-mockup {
  background-size: 92px 92px;
}

.curtain-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 18px, rgba(255, 255, 255, 0.2) 34px);
  mix-blend-mode: multiply;
}

.qa-item {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.qa-item.done {
  border-color: rgba(40, 124, 86, 0.35);
  background: #edf5ee;
}

.qa-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.qa-check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ok);
  flex: 0 0 auto;
}

.qa-item strong {
  display: block;
  margin-bottom: 6px;
}

.qa-item span span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.diagnostic-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.diagnostic-card {
  min-height: 112px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.diagnostic-card.pass {
  border-color: rgba(40, 124, 86, 0.35);
  background: #edf5ee;
}

.diagnostic-card.warn {
  border-color: rgba(162, 90, 42, 0.32);
  background: #fff3e9;
}

.diagnostic-card.fail {
  border-color: rgba(158, 50, 45, 0.35);
  background: #fff0ee;
}

.diagnostic-card strong {
  display: block;
  margin-bottom: 8px;
}

.diagnostic-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.readiness-summary {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.readiness-summary strong {
  display: block;
  color: var(--strong);
  font-size: 34px;
  line-height: 1;
}

.readiness-summary span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.readiness-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ded2;
}

.readiness-track span {
  display: block;
  height: 100%;
  width: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--accent), var(--ok));
  transition: width 0.25s ease;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.readiness-item {
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.readiness-item.done {
  border-color: rgba(40, 124, 86, 0.35);
  background: #edf5ee;
}

.readiness-item.todo {
  border-color: rgba(162, 90, 42, 0.32);
  background: #fff3e9;
}

.readiness-item.optional {
  border-color: rgba(47, 107, 95, 0.24);
  background: #f3f6f2;
}

.readiness-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.readiness-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.test-brief-preview {
  width: 100%;
  margin-top: 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  padding: 12px;
  line-height: 1.55;
  font-size: 13px;
}

.feedback-panel {
  margin-top: 14px;
}

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

.feedback-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.feedback-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.feedback-record {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8ef;
}

.feedback-record strong {
  display: block;
  margin-bottom: 6px;
}

.feedback-record span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f5efe4;
  border: 1px dashed #c8bdad;
  border-radius: var(--radius);
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .workspace-grid,
  .restore-grid,
  .repeat-grid,
  .palette-grid,
  .split,
  .mockup-workbench {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .brand {
    min-height: 44px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .side-panel {
    display: none;
  }

  .main {
    padding: 16px;
  }

  .topbar,
  .top-actions,
  .panel-head,
  .upload-row {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .form-grid,
  .setting-grid,
  .feedback-grid,
  .candidate-grid,
  .restore-result-grid,
  .diagnostic-grid,
  .readiness-grid,
    .qa-grid,
    .self-check-grid,
    .mockup-grid,
    .mockup-form-grid,
    .mockup-result-grid {
    grid-template-columns: 1fr;
  }

  .mockup-generate-row,
  .mockup-result-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mockup-generate-row .primary-btn {
    width: 100%;
  }

  .readiness-summary {
    grid-template-columns: 1fr;
  }

  .upload-box {
    width: 100%;
  }

  h1 {
    font-size: 25px;
  }
}

/* v37 brand shell and editorial workspace */
:root {
  --bg: #f4f4f1;
  --panel: #ffffff;
  --panel-2: #ededE8;
  --ink: #161616;
  --muted: #6f706d;
  --line: #d8d8d2;
  --strong: #161616;
  --strong-2: #343434;
  --accent: #ef7200;
  --accent-2: #bf438f;
  --shadow: none;
  --radius: 4px;
}

body {
  background: var(--bg);
}

.app-shell {
  display: block;
  min-height: 100vh;
}

.sidebar.brand-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  height: 76px;
  padding: 10px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid #deded9;
}

.brand-home {
  width: 156px;
  height: 54px;
  padding: 3px 8px;
  border: 0;
  background: #ffffff;
  overflow: hidden;
}

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

.brand-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-header-actions .build-version {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
}

.side-nav {
  position: sticky;
  z-index: 45;
  top: 76px;
  height: 58px;
  padding: 0 28px;
  display: flex;
  gap: 2px;
  align-items: end;
  overflow-x: auto;
  overflow-y: hidden;
  background: #f4f4f1;
  border-bottom: 1px solid #cfcfca;
  scrollbar-width: none;
}

.side-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  flex: 1 0 128px;
  max-width: 190px;
  height: 52px;
  padding: 15px 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: #deded9;
  color: #4e4f4c;
  text-align: left;
  white-space: nowrap;
  clip-path: polygon(0 100%, 0 31%, 10% 31%, 14% 0, 57% 0, 62% 31%, 100% 31%, 100% 100%);
  transition: background-color 240ms ease, color 240ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-item span {
  color: currentColor;
  font-size: 10px;
  opacity: 0.62;
}

.nav-item:nth-child(2n) {
  background: #e8e8e4;
}

.nav-item:hover {
  transform: translateY(-3px);
  background: #cacac5;
  color: #161616;
}

.nav-item.active,
.nav-item.active:hover {
  transform: none;
  background: #181818;
  color: #ffffff;
}

.main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 32px 64px;
}

.topbar {
  min-height: 64px;
  margin-bottom: 18px;
  align-items: center;
}

.topbar h1 {
  margin-top: 3px;
  font-size: 26px;
  font-weight: 620;
}

.eyebrow,
.label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.project-menu {
  position: relative;
}

.project-menu summary {
  min-height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.project-menu summary::-webkit-details-marker {
  display: none;
}

.project-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  width: 180px;
  padding: 8px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.project-menu-panel .ghost-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.primary-btn {
  background: #181818;
  color: #ffffff;
}

.primary-btn:hover {
  background: #ef7200;
}

.panel,
.metric {
  border-color: #d8d8d2;
  box-shadow: none;
}

.home-intro {
  min-height: 76px;
  margin: 0 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.home-intro h2 {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 560;
}

.home-intro p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.home-carousel {
  position: relative;
  height: 540px;
  min-height: 480px;
  overflow: hidden;
  background: #d8d8d2;
  border-radius: var(--radius);
}

.home-carousel-viewport,
.home-carousel-track,
.home-slide {
  width: 100%;
  height: 100%;
}

.home-carousel-viewport {
  overflow: hidden;
}

.home-carousel-track {
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-slide {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
}

.home-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-slide.active img {
  transform: scale(1);
}

.home-slide-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
}

.home-slide-copy {
  position: absolute;
  z-index: 2;
  left: 54px;
  bottom: 112px;
  max-width: 620px;
  color: #ffffff;
}

.home-slide-copy > span {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-slide-copy h3 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 520;
  letter-spacing: 0;
}

.home-slide-action {
  min-height: 44px;
  margin-top: 24px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: #171717;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 200ms ease, color 200ms ease;
}

.home-slide-action:hover {
  background: #ef7200;
  color: #ffffff;
}

.home-slide-action b {
  font-size: 18px;
  font-weight: 400;
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #171717;
  font-size: 22px;
  transition: transform 260ms ease, background-color 200ms ease;
}

.carousel-arrow:hover {
  transform: scale(1.06);
  background: #ffffff;
}

.carousel-prev {
  left: 18px;
}

.carousel-next {
  right: 18px;
}

.home-carousel-index {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 76px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(15, 15, 15, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.home-carousel-index button {
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  transition: background-color 260ms ease, color 260ms ease;
}

.home-carousel-index button:last-child {
  border-right: 0;
}

.home-carousel-index button span {
  font-size: 10px;
  opacity: 0.7;
}

.home-carousel-index button:hover,
.home-carousel-index button.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.home-carousel-index button.active {
  box-shadow: inset 0 -3px 0 #ef7200;
}

.current-project-strip {
  min-height: 92px;
  margin-top: 22px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #cbcbc5;
  border-bottom: 1px solid #cbcbc5;
}

.current-project-strip strong {
  display: block;
  margin-top: 7px;
  font-size: 18px;
  font-weight: 620;
}

.current-project-strip p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

#workspaceView .metric-grid {
  margin: 0;
  border-bottom: 1px solid #cbcbc5;
}

#workspaceView .metric {
  min-height: 92px;
  padding: 18px 0;
  border: 0;
  border-right: 1px solid #d8d8d2;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

#workspaceView .metric:last-child {
  border-right: 0;
}

#workspaceView .metric strong {
  margin-top: 5px;
  font-size: 26px;
  font-weight: 540;
}

.recent-projects {
  padding-top: 32px;
}

.recent-projects .panel-head {
  margin-bottom: 16px;
}

.recent-projects .project-list {
  display: flex;
  gap: 12px;
  margin-top: 0;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.recent-projects .project-card {
  flex: 0 0 360px;
  min-height: 102px;
  border-radius: var(--radius);
  background: #ffffff;
  scroll-snap-align: start;
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel-track,
  .home-slide img,
  .nav-item,
  .carousel-arrow {
    transition: none;
  }
}

@media (max-width: 980px) {
  .sidebar.brand-header {
    height: 68px;
    padding: 8px 18px;
  }

  .brand-home {
    width: 136px;
    height: 46px;
  }

  .brand-header-actions .build-version {
    display: none;
  }

  .side-nav {
    top: 68px;
    height: 54px;
    padding: 0 18px;
  }

  .nav-item {
    flex-basis: 126px;
    height: 49px;
  }

  .main {
    padding: 20px 20px 52px;
  }

  .home-carousel {
    height: 500px;
  }

  .home-slide-copy {
    left: 42px;
  }

  .home-slide-copy h3 {
    font-size: 44px;
  }
}

@media (max-width: 760px) {
  .sidebar.brand-header {
    position: sticky;
    height: 64px;
    padding: 8px 14px;
    flex-direction: row;
    gap: 10px;
  }

  .brand-home {
    width: 108px;
    height: 42px;
  }

  .brand-header-actions {
    margin-left: auto;
  }

  .brand-header-actions .primary-btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .side-nav {
    position: sticky;
    top: 64px;
    height: 52px;
    padding: 0 12px;
    display: flex;
    gap: 2px;
  }

  .nav-item {
    flex: 0 0 112px;
    height: 47px;
    padding: 15px 12px 0;
    font-size: 12px;
  }

  .main {
    padding: 14px 14px 44px;
  }

  .topbar {
    min-height: 54px;
    margin-bottom: 12px;
    flex-direction: row;
    align-items: center;
  }

  .topbar h1 {
    font-size: 22px;
  }

  .top-actions {
    width: auto;
    flex-direction: row;
  }

  .project-menu-panel {
    position: fixed;
    top: 122px;
    right: 14px;
  }

  .home-intro {
    min-height: 70px;
    margin-bottom: 12px;
    display: block;
  }

  .home-intro h2 {
    font-size: 26px;
  }

  .home-intro p {
    margin-top: 8px;
  }

  .home-carousel {
    height: 430px;
    min-height: 430px;
  }

  .home-slide img {
    object-position: center;
  }

  .home-slide:nth-child(2) img {
    object-position: 58% center;
  }

  .home-slide:nth-child(3) img {
    object-position: 68% center;
  }

  .home-slide-copy {
    left: 24px;
    right: 24px;
    bottom: 92px;
  }

  .home-slide-copy > span {
    margin-bottom: 11px;
    font-size: 9px;
  }

  .home-slide-copy h3 {
    font-size: 34px;
  }

  .home-slide-action {
    min-height: 40px;
    margin-top: 18px;
    padding: 0 12px;
    font-size: 12px;
  }

  .carousel-arrow {
    top: 18px;
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .carousel-prev {
    left: 12px;
  }

  .carousel-next {
    right: 12px;
  }

  .home-carousel-index {
    height: 68px;
  }

  .home-carousel-index button {
    padding: 0 6px;
    display: grid;
    place-items: center;
    gap: 2px;
    font-size: 10px;
    text-align: center;
  }

  .home-carousel-index button span {
    display: block;
    font-size: 9px;
  }

  .current-project-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  #workspaceView .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #workspaceView .metric:nth-child(2) {
    border-right: 0;
  }

  #workspaceView .metric:nth-child(-n + 2) {
    border-bottom: 1px solid #d8d8d2;
  }

  .recent-projects .project-card {
    flex-basis: 310px;
  }
}
