.jjs-form,.jjs-view{max-width:780px;margin:0 auto;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;box-sizing:border-box;font-size:14px;color:#1f2937;text-align:right}
.jjs-form *,.jjs-view *{box-sizing:border-box}
.jjs-title{margin:0 0 14px;font-size:17px;color:#14213d}
.jjs-steps{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
.jjs-step{flex:1;min-width:110px;display:flex;align-items:center;gap:6px;padding:8px;border:0;border-radius:9px;background:#f3f4f6;color:#6b7280;font:inherit;font-size:12.5px;cursor:pointer;text-align:right}
.jjs-step.is-on{background:#14213d;color:#fff}
.jjs-step.is-done{background:#e0f2f1;color:#065f46}
.jjs-step-n{display:inline-flex;flex:none;width:22px;height:22px;border-radius:50%;align-items:center;justify-content:center;background:rgba(255,255,255,.25);font-weight:700}
.jjs-fld{display:block;margin-bottom:12px}
.jjs-lbl{display:block;font-size:13px;font-weight:600;margin-bottom:5px;color:#374151}
.jjs-req{color:#dc2626}
.jjs-input{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:9px 10px;font:inherit;background:#fff;color:#111827}
.jjs-input:disabled{background:#f3f4f6;color:#6b7280}
.jjs-input:focus{outline:2px solid #c9a227;outline-offset:1px;border-color:#c9a227}
textarea.jjs-input{resize:vertical}
.jjs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 12px}
.jjs-radios{display:flex;flex-wrap:wrap;gap:6px 14px}
.jjs-radio{display:inline-flex;align-items:center;gap:4px;font-size:13px;cursor:pointer}
.jjs-hint{display:block;font-size:12px;color:#6b7280;margin-top:4px}
.jjs-warn{font-size:12px;color:#b45309;margin:6px 0}
.jjs-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:8px;padding:9px 12px;margin-bottom:12px;font-size:13px}
.jjs-msg{font-size:12.5px;color:#b91c1c}
.jjs-msg-main{margin-bottom:10px}
.jjs-msg-main.is-err{padding:8px 12px;border-radius:8px;background:#fef2f2;color:#991b1b}
.jjs-msg-main.is-ok{padding:8px 12px;border-radius:8px;background:#ecfdf5;color:#065f46}
.jjs-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.jjs-btn{border:0;border-radius:9px;background:#14213d;color:#fff;padding:10px 20px;font:inherit;font-weight:600;cursor:pointer}
.jjs-btn:disabled{opacity:.6;cursor:default}
.jjs-btn-light{background:#f1f3f7;color:#14213d;border:1px solid #e5e7eb}
.jjs-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.jjs-chips:empty{display:none}
.jjs-chip{display:inline-flex;align-items:center;gap:4px;background:#14213d;color:#fff;border-radius:20px;padding:4px 10px;font-size:12.5px}
.jjs-chip-x{background:none;border:0;color:#fff;cursor:pointer;font-size:15px;line-height:1;padding:0 2px}
.jjs-avatar{display:block;width:80px;height:80px;border-radius:50%;object-fit:cover;border:2px solid #c9a227;margin:4px 0}
.jjs-avatar[hidden]{display:none}
.jjs-review{width:100%;border-collapse:collapse;font-size:13px}
.jjs-review th,.jjs-review td{border-bottom:1px solid #f0f0f0;padding:7px 6px;vertical-align:top;text-align:right}
.jjs-review th{width:140px;color:#6b7280;font-weight:600}
@media (max-width:560px){.jjs-step-t{display:none}.jjs-step{min-width:0;justify-content:center}.jjs-review th{width:105px}}
.jjs-set{border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px 2px;margin:0 0 14px}
.jjs-set legend{padding:0 6px;font-size:13px;font-weight:700;color:#14213d}
.jjs-date{grid-template-columns:repeat(3,1fr);gap:6px}
.jjs-terms{margin:10px 0 4px}

/* ───── ظاهر یکدست فرم‌ها با طراحی سایت (سرمه‌ای/طلایی، وزیرمتن) ───── */
.jjs-form{max-width:780px;border:1px solid #e5e8ef;border-radius:20px;padding:28px;font-family:var(--jj-font,inherit);font-size:15px;line-height:1.8;color:#1a2233;box-shadow:0 10px 30px -16px rgba(16,28,54,.18)}
.jjs-form :where(input,select,textarea,button){font-family:inherit}
.jjs-title{font-size:20px;font-weight:800;color:#14213d;margin:0 0 18px;line-height:1.5}
.jjs-steps{gap:8px;margin-bottom:24px}
.jjs-step{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:4px;padding:10px 8px;line-height:1.5;border-radius:12px;background:#f6f7fa;color:#5d6678;font-size:13px;font-weight:600;border:1px solid transparent;transition:background .15s,color .15s,border-color .15s}
.jjs-step.is-on{background:#14213d;color:#fff}
.jjs-step.is-done{background:#f7f0da;color:#7a5f0f;border-color:#ecdfb4}
.jjs-step-n{width:24px;height:24px;background:rgba(20,33,61,.08);font-size:12.5px}
.jjs-step.is-on .jjs-step-n{background:#c9a227;color:#0b1428}
.jjs-step.is-done .jjs-step-n{background:#c9a227;color:#fff}
.jjs-fld{margin-bottom:16px}
.jjs-lbl{font-size:13.5px;font-weight:700;color:#25365c;margin-bottom:7px}
.jjs-req{color:#c0392b;margin-inline-start:2px}
.jjs-input{min-height:48px;border:1.5px solid #e5e8ef;border-radius:12px;padding:11px 14px;font-size:15px;line-height:1.6;color:#1a2233;background-color:#fff;transition:border-color .15s,box-shadow .15s}
.jjs-input::placeholder{color:#8a92a3;opacity:1}
.jjs-input:hover{border-color:#cfd5e1}
.jjs-input:focus{outline:0;border-color:#14213d;box-shadow:0 0 0 4px rgba(201,162,39,.22)}
.jjs-input:disabled{background:#f6f7fa;color:#8a92a3;border-color:#e5e8ef}
select.jjs-input{-webkit-appearance:none;appearance:none;padding-left:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 14px center;background-size:16px}
textarea.jjs-input{min-height:120px}
.jjs-input[type=file]{padding:9px 12px;cursor:pointer}
.jjs-input[type=file]::file-selector-button{font:600 13.5px/1 var(--jj-font,inherit);border:0;border-radius:8px;background:#e8ecf4;color:#14213d;padding:9px 14px;margin-inline-end:10px;cursor:pointer}
.jjs-grid{gap:0 14px}
.jjs-radios{gap:8px}
.jjs-radio{gap:8px;padding:9px 14px;border:1.5px solid #e5e8ef;border-radius:999px;background:#fff;font-size:14px;line-height:1.4;transition:border-color .15s,background .15s}
.jjs-radio:hover{border-color:#cfd5e1}
.jjs-radio:has(input:checked){border-color:#14213d;background:#e8ecf4;color:#14213d;font-weight:600}
.jjs-radio:has(input:focus-visible){box-shadow:0 0 0 4px rgba(201,162,39,.22)}
.jjs-radio input{accent-color:#14213d;width:16px;height:16px;margin:0}
.jjs-form input[type=checkbox],.jjs-form input[type=radio]{accent-color:#14213d}
.jjs-hint{font-size:12.5px;color:#5d6678;line-height:1.8}
.jjs-note{background:#f7f0da;border:1px solid #ecdfb4;color:#6b5410;border-radius:12px;padding:12px 16px;font-size:13.5px;line-height:1.9}
.jjs-msg{font-size:13px;color:#b42318}
.jjs-msg-main.is-err{padding:12px 16px;border-radius:12px;background:#fdecec;color:#9b1c1c}
.jjs-msg-main.is-ok{padding:12px 16px;border-radius:12px;background:#e8f6ee;color:#17603a}
.jjs-nav{gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #e5e8ef}
.jjs-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:0 28px;font-size:15px;font-weight:700;transition:background .15s,transform .15s,box-shadow .15s}
.jjs-btn:hover:not(:disabled){background:#25365c;transform:translateY(-1px)}
.jjs-btn:focus-visible{outline:3px solid #c9a227;outline-offset:2px}
.jjs-btn-light{background:#fff;color:#14213d;border:1.5px solid #e5e8ef}
.jjs-btn-light:hover:not(:disabled){background:#f6f7fa;border-color:#cfd5e1}
.jjs-chip{background:#14213d;border-radius:999px;padding:5px 12px;font-size:13px}
.jjs-review{font-size:14px}
.jjs-review th,.jjs-review td{border-bottom:1px solid #eef0f4;padding:10px 8px}
.jjs-review th{color:#5d6678}
.jjs-set{border:1px solid #e5e8ef;border-radius:16px;padding:14px 16px 4px;margin:0 0 18px}
.jjs-set legend{font-size:14px;font-weight:800;color:#14213d;padding:0 8px}
.jjs-view{max-width:780px;border:1px solid #e5e8ef;border-radius:20px;padding:28px;font-family:var(--jj-font,inherit);font-size:15px;line-height:1.8;color:#1a2233}
.jjs-avatar{width:88px;height:88px;box-shadow:0 0 0 4px #fff,0 0 0 6px #ecdfb4;border:0}
.jjs-warn{color:#8a5a00}
.jjs-date{gap:10px}
@media (max-width:560px){
	.jjs-form{padding:18px;border-radius:16px}
	.jjs-steps{gap:6px}
	.jjs-step{padding:8px}
	.jjs-input{font-size:16px}
	.jjs-nav .jjs-btn{flex:1}
}
