:root{
  --bg: #fafbf4; --panel: #ffffff; --panel-2: #f2f4e6; --line: #e3e7ca;
  --accent: #8d9d25; --accent-soft: #e5e9c9; --accent-dim: #f6f8f0;
  --text: #262914; --muted: #79804d; --muted-2: #b3b894;
}

.content{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px){ .content{ grid-template-columns: 1fr; } }

.field{ margin-bottom: 14px; }
.field label{ display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea{ width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font-family: 'Inter', sans-serif; font-size: 13.5px; background: var(--panel-2); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--accent); }
.field textarea{ min-height: 70px; max-height: 200px; resize: vertical; font-family: 'Inter', sans-serif; overflow: auto; }
.char-count{ font-size: 10.5px; color: var(--muted-2); margin-top: 3px; text-align: right; }

.right-col .section-title{ font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.preview-card{ border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.preview-card .img{ width: 100%; height: 180px; background: var(--panel-2); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 12px; }
.preview-card .body{ padding: 12px 14px; }
.preview-card .site{ font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.preview-card .title{ font-size: 14.5px; font-weight: 700; margin-top: 4px; line-height: 1.3; }
.preview-card .desc{ font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.output{ margin-top: 16px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.app{ padding: 11px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); transition: filter .15s ease; }
.app:hover{ filter: brightness(1.08); }
.gray{ background: var(--line); color: var(--text); }

.note{ grid-column: 1 / -1; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
