.creative-workspace { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 28px; padding: 24px; min-width: 0; color: #243640; }
.creative-workspace h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.creative-workspace h3 { margin: 0; font-size: 14px; font-weight: 600; }
.creative-input, .creative-result { min-width: 0; }
.creative-result { border-left: 1px solid #dce4e9; padding-left: 28px; }
.creative-input > label, .creative-settings label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.creative-input textarea { width: 100%; min-height: 150px; margin: 0 0 16px; padding: 12px; font-size: 14px; line-height: 1.7; resize: vertical; }
.creative-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.creative-settings select { display: block; width: 100%; margin-top: 6px; height: 40px; font-size: 13px; }
.cheatsheet-settings input[type="number"] { display: block; width: 100%; height: 40px; margin-top: 6px; font-size: 13px; }
.cheatsheet-settings .cheatsheet-monochrome { display: flex; align-items: center; gap: 8px; font-size: 13px; padding-top: 16px; }
.cheatsheet-monochrome input { width: 16px; height: 16px; }
.creative-course-label { margin: -6px 0 16px; font-size: 13px; color: #63737e; }
.creative-workspace svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.creative-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 7px; border: 1px solid #d5dfe6; border-radius: 6px; background: white; }
.creative-input > .creative-upload { display: inline-flex; gap: 8px; align-items: center; position: relative; height: 38px; border: 1px solid #d5dfe6; border-radius: 6px; padding: 8px 12px; margin: 6px 0 12px; cursor: pointer; overflow: hidden; }
.creative-upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.creative-upload:focus-within { outline: 2px solid #327968; outline-offset: 2px; }
.creative-sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.creative-sources span { font-size: 12px; overflow-wrap: anywhere; max-width: 100%; }
.creative-submit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.creative-submit .primary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.creative-submit > span { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.creative-history-heading, .creative-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creative-history-heading { border-top: 1px solid #dce4e9; padding-top: 16px; margin-top: 24px; }
.creative-history { display: grid; gap: 0; margin-top: 8px; max-height: 420px; overflow-y: auto; }
.creative-history-item { display: block; width: 100%; padding: 12px 8px; text-align: left; border: 0; border-bottom: 1px solid #e1e7ec; border-radius: 0; background: transparent; min-width: 0; }
.creative-history-item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; font-weight: 500; }
.creative-history-item small { display: block; margin-top: 4px; color: #63737e; font-size: 11px; }
.creative-history-item.selected { background: #eef7f3; border-left: 3px solid #438475; }
.creative-result-heading h2 { margin-bottom: 0; }
.creative-result-actions { display: flex; gap: 8px; }
.creative-result-status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #53656e; margin: 12px 0; }
.creative-downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.creative-download { display: flex; align-items: center; gap: 8px; max-width: 100%; border: 1px solid #d5dfe6; border-radius: 6px; padding: 8px 10px; font-size: 12px; color: #226959; text-decoration: none; }
.creative-download span { overflow-wrap: anywhere; min-width: 0; }
.creative-download small { white-space: nowrap; color: #63737e; font-size: 11px; }
.creative-summary { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; margin-bottom: 16px; }
.creative-summary p { margin: 0 0 10px; }
.creative-summary h1, .creative-summary h2, .creative-summary h3 { font-size: 15px; margin: 12px 0 8px; }
.creative-preview { margin: 0 0 16px; background: #f2f5f7; border: 1px solid #dce4e9; padding: 12px; }
.creative-preview img { display: block; max-width: 100%; max-height: 700px; width: auto; height: auto; margin: 0 auto; }
.creative-result video { display: block; max-width: 100%; }
.creative-empty { min-height: 220px; display: grid; place-items: center; font-size: 14px; color: #687981; background: #f5f7f9; border: 1px dashed #d5dfe6; }
.creative-error { color: #a33535; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.creative-revision { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin-bottom: 12px; color: #226959; }
.tools-tabs { flex-wrap: wrap; }
@media (max-width: 1100px) { .creative-workspace { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 20px; padding: 20px; } .creative-result { padding-left: 20px; } }
@media (max-width: 850px) { .creative-workspace { grid-template-columns: minmax(0, 1fr); padding: 16px; } .creative-result { border-left: 0; border-top: 1px solid #dce4e9; padding: 20px 0 0; } .creative-history { max-height: 160px; } }
