.jaanoq-question-layout{display:flex;gap:18px;align-items:flex-start;margin:24px 0}.jaanoq-vote-box{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:64px;padding:10px;background:#f1f6f8;border:1px solid #d8e4e9;border-radius:8px}.jaanoq-vote{border:0;background:transparent;color:#2783ad;cursor:pointer;font-size:22px;padding:2px 8px}.jaanoq-vote:disabled{opacity:.5}.jaanoq-vote-count{font-size:22px;color:#244d68}.jaanoq-vote-box small,.jaanoq-vote-message{font-size:11px;color:#587080;text-align:center}.jaanoq-question-main{flex:1;min-width:0}.jaanoq-question-body{line-height:1.8;font-size:17px}.jaanoq-question-image{max-width:100%;height:auto;margin:12px 0;border-radius:8px}.jaanoq-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.jaanoq-tags span{background:#e8f1f6;color:#35627b;padding:5px 10px;border-radius:4px;font-size:13px}.jaanoq-answers{margin-top:36px}.jaanoq-answer{padding:18px 0;border-bottom:1px solid #e1e7eb}.jaanoq-answer-meta{display:flex;gap:12px;color:#61717c;font-size:13px}.jaanoq-answer-content{line-height:1.75;margin-top:10px}.jaanoq-ask-form,.jaanoq-account,.jaanoq-box{padding:22px;border:1px solid #dce5e9;border-radius:10px;background:#fff}.jaanoq-ask-form form>label,.jaanoq-ask-form>label{display:block;margin:15px 0 6px;font-weight:600}.jaanoq-ask-form input,.jaanoq-ask-form select{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #cbd7dd;border-radius:5px}.jaanoq-ask-form button[type=submit]{margin-top:18px;background:#169b60;color:white;border:0;padding:12px 22px;border-radius:5px;cursor:pointer}.jaanoq-success{background:#e9f8ef;padding:12px;color:#146b3e}.jaanoq-error{background:#fff0f0;padding:12px;color:#a22}.jaanoq-question-card{display:flex;gap:15px;padding:18px;border-bottom:1px solid #e0e7eb}.jaanoq-list-votes{min-width:55px;display:flex;flex-direction:column;align-items:center;color:#287ba0}.jaanoq-list-votes strong{font-size:22px}.jaanoq-question-card h3{margin:0 0 8px}.jaanoq-question-card p{margin:0 0 8px}.jaanoq-note{font-size:13px;color:#657780}.jaanoq-answer-form{margin-top:20px}@media(max-width:600px){.jaanoq-question-layout{gap:10px}.jaanoq-vote-box{min-width:48px;padding:6px}.jaanoq-question-body{font-size:16px}.jaanoq-ask-form,.jaanoq-account{padding:14px}}

.jaanoq-list-votes .jaanoq-vote{font-size:18px;line-height:1;padding:1px 6px}.jaanoq-list-votes .jaanoq-vote-message{max-width:90px}

.jaanoq-register-cta{margin-top:24px;padding-top:18px;border-top:1px solid #dbe3e8}.jaanoq-register-button{display:inline-block;background:#169b62;color:#fff!important;padding:11px 18px;border-radius:5px;text-decoration:none;font-weight:600}.jaanoq-register-button:hover{filter:brightness(.94)}.jaanoq-register-note{color:#64748b}

.jaanoQ-editor-help, .jaanoq-editor-help{display:block;margin:8px 0 0;color:#64748b;font-size:12px;line-height:1.5}
.jaanoq-editor-help code{background:#f1f5f9;padding:2px 4px;border-radius:3px}

/* Answer formatting: preserve paragraphs and give each block comfortable spacing. */
.jaanoq-answer-content p { margin: 0 0 18px; }
.jaanoq-answer-content p:last-child { margin-bottom: 0; }
.jaanoq-answer-content ul,
.jaanoq-answer-content ol { margin: 0 0 18px 24px; padding-left: 20px; }
.jaanoq-answer-content blockquote { margin: 16px 0; padding-left: 16px; border-left: 3px solid #dbe5ea; }
.jaanoq-answer-content img { max-width: 100%; height: auto; }
.jaanoq-answer-content a { word-break: break-word; }
.jaanoq-answer-content mjx-container[display="true"] { margin: 18px 0 !important; }

/* JaanoQ 2.0.6: images inserted into answers are preserved and displayed safely. */
.jaanoq-answer-content img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 16px 0;
  border-radius: 6px;
}

/* JaanoQ 2.0.7: reliably render images saved in answer content. */
.jaanoq-answer-content .jaanoq-answer-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 18px 0;
}

/* JaanoQ 2.0.9 answer image controls */
.jaanoq-answer-media-tools { display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 8px; }
.jaanoq-answer-media-tools .button { cursor:pointer; padding:7px 12px; border:1px solid #2271b1; background:#fff; color:#2271b1; border-radius:3px; }
.jaanoq-answer-media-tools .button:hover { background:#f0f6fc; }
.jaanoq-answer-content img.jaanoq-answer-image { display:block; max-width:100%; width:auto; height:auto; margin:18px 0; }
