.ypjm-app{max-width:1100px;margin:0 auto;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0f172a}
.ypjm-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;align-items:start}
@media(max-width:900px){.ypjm-layout{grid-template-columns:1fr}}
.ypjm-form-panel,.ypjm-preview-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.15rem 1.25rem;box-shadow:0 1px 2px rgb(0 0 0/.04)}
.ypjm-h{margin:1.15rem 0 .65rem;font-size:.95rem;font-weight:700}
.ypjm-h:first-child{margin-top:0}
.ypjm-help{font-size:.8rem;color:#64748b;margin:.5rem 0 0;line-height:1.4}
.ypjm-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
@media(max-width:560px){.ypjm-grid-2{grid-template-columns:1fr}}
.ypjm-field{margin-bottom:.65rem}
.ypjm-field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.3rem;color:#334155}
.ypjm-field .req{color:#dc2626}
.ypjm-field input,.ypjm-field textarea,.ypjm-field select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:.55rem .7rem;font-size:.95rem;box-sizing:border-box}
.ypjm-field input:focus,.ypjm-field textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgb(37 99 235/.15)}
.ypjm-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}
.ypjm-btn-primary,.ypjm-btn-secondary{border:none;border-radius:8px;padding:.65rem 1.1rem;font-weight:600;font-size:.9rem;cursor:pointer}
.ypjm-btn-primary{background:#0f766e;color:#fff}
.ypjm-btn-primary:hover{background:#0d9488}
.ypjm-btn-secondary{background:#f1f5f9;color:#0f172a;border:1px solid #e2e8f0}
.ypjm-status{min-height:1.2rem;font-size:.85rem;color:#475569;margin:.5rem 0 0}
.ypjm-status.is-error{color:#b91c1c}
.ypjm-status.is-ok{color:#047857}
.ypjm-preview-toolbar{margin-bottom:.75rem}
.ypjm-score-box{background:#f0fdfa;border:1px solid #99f6e4;border-radius:8px;padding:.75rem 1rem;margin-bottom:.85rem;font-size:.88rem}
.ypjm-score-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.ypjm-score-row strong{font-size:1.25rem;color:#0f766e}
.ypjm-kw{font-size:.8rem;color:#334155;line-height:1.5}
.ypjm-kw .lbl{font-weight:600;color:#64748b}
.ypjm-preview-frame{border:1px solid #e2e8f0;border-radius:8px;background:#fff;min-height:420px;padding:1.25rem;overflow:auto;max-height:80vh}
.ypjm-placeholder{color:#94a3b8;text-align:center;margin-top:4rem}

.ypjm-steps{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0 0 1rem;padding:0}
.ypjm-steps li{background:#f0fdfa;border:1px solid #99f6e4;border-radius:999px;padding:.35rem .85rem;font-size:.8rem;color:#0f766e}
.ypjm-steps strong{margin-right:.25rem}
.ypjm-import-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:1rem;margin-bottom:1rem}
.ypjm-import-box .ypjm-h{margin-top:0}
#ypjm-import-status{margin-top:.5rem}
