body {
  font-family: Arial, sans-serif;
  background: #f6f6f8;
  margin: 0;
  padding: 30px;
  color: #222;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  color: #111;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 22px;
  margin-top: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.job {
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin-bottom: 14px;
}

.muted {
  color: #666;
}

.thumb {
  max-width: 180px;
  max-height: 180px;
  border: 1px solid #ddd;
  padding: 4px;
  background: #fff;
  border-radius: 8px;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #ccc;
  text-transform: capitalize;
  margin-right: 6px;
}

.status-new {
  background: #f3f4f6;
  color: #222;
}

.status-proofing {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

.status-approved {
  background: #ecfdf5;
  color: #166534;
  border-color: #86efac;
}

.status-in-production {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.status-completed {
  background: #f0fdf4;
  color: #15803d;
  border-color: #86efac;
}

.status-linked {
  background: #eef2ff;
  color: #4338ca;
  border-color: #a5b4fc;
}

label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
}

input[type="text"],
input[type="file"],
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: #111827;
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

button:hover {
  background: #1f2937;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #fafafa;
  border: 1px solid #e3e3e3;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 18px 0;
}

.log {
  margin-bottom: 18px;
}

.co-card {
  border: 1px solid #d9d9df;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.co-card h3 {
  margin-top: 0;
}

.co-field {
  margin-bottom: 14px;
}

.co-preview-wrap {
  margin: 16px 0;
}

.co-preview-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.co-preview {
  min-height: 220px;
  border: 1px dashed #bbb;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #fafafa;
}

.co-preview img {
  max-width: 180px;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
}

.co-preview-text {
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
}

.co-font-script {
  font-family: cursive;
}

.co-font-modern {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
}

.co-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.co-font-sans {
  font-family: Arial, Helvetica, sans-serif;
}

.co-font-elegant-serif {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.5px;
  font-style: italic;
}

.co-font-classic-roman {
  font-family: "Times New Roman", Times, serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.co-font-minimal-sans {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
}

.co-font-bold-block {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.co-font-handwritten {
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
}

.co-font-signature {
  font-family: "Brush Script MT", cursive;
  font-size: 34px;
}

.co-font-monogram {
  font-family: Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
}

.co-font-stencil {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.co-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.co-status {
  font-size: 14px;
}

.co-status.ok {
  color: #0a7a24;
}

.co-status.error {
  color: #b00020;
}

.co-approval label {
  font-weight: 400;
}

@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  .meta {
    grid-template-columns: 1fr;
  }

  .card,
  .job {
    padding: 16px;
  }

  .co-preview-text {
    font-size: 22px;
  }
}