/* eBay Listing Template Generator - two-pane form + live preview. eBay
 * red accent shared by the ebay-* tools. */
:root { --elt-accent: #e53238; --elt-accent-dark: #c02026; --elt-tint: #fde8e8; }
.elt-hero-mark { width: 26px; height: 26px; margin-right: 8px; vertical-align: -5px; }
.elt-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.elt-intro { margin: 0 0 14px; color: #475569; font-size: 0.95rem; }
.elt-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.elt-label { font-weight: 600; font-size: 0.9rem; color: #1f2937; }
.elt-opt { font-weight: 400; font-size: 0.8rem; color: #64748b; margin-left: 6px; }
.elt-hint { font-size: 0.82rem; color: #64748b; }
.elt-input, .elt-textarea { flex: 0 0 auto; }
.elt-textarea { resize: vertical; font-family: inherit; }
.elt-select { padding: 10px 12px; border: 1px solid #d7dbe0; border-radius: 8px; background: #fff; font: inherit; font-size: 0.95rem; }
.elt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.elt-color-row { display: flex; align-items: center; gap: 10px; }
.elt-color { width: 44px; height: 36px; padding: 2px; border: 1px solid #d7dbe0; border-radius: 8px; background: #fff; cursor: pointer; }
.elt-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.elt-preview-card { background: #fff; border: 1px solid #e6e8eb; border-radius: 14px; padding: 16px 18px; position: sticky; top: 16px; }
.elt-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.elt-preview-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; font-weight: 700; }
.elt-preview-toggle { font-size: 0.86rem; color: #334155; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.elt-preview-frame { border: 1px solid #e6e8eb; border-radius: 10px; padding: 14px; background: #fafafa; overflow: auto; max-height: 70vh; transition: max-width 0.2s ease; }
.elt-preview-frame.is-mobile { max-width: 390px; margin: 0 auto; }
.elt-preview { background: #fff; padding: 10px; border-radius: 6px; }
.elt-code-wrap { margin-top: 12px; font-size: 0.86rem; color: #334155; }
.elt-code-wrap summary { cursor: pointer; font-weight: 600; }
.elt-code { width: 100%; margin-top: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; border: 1px solid #d7dbe0; border-radius: 8px; padding: 10px; background: #fff; box-sizing: border-box; }
@media (max-width: 1024px) { .elt-layout { grid-template-columns: minmax(0, 1fr); } .elt-preview-card { position: static; } }
@media (max-width: 640px) { .elt-grid { grid-template-columns: minmax(0, 1fr); } }
