/* 2021 exact reference corrections — image in textbox, compact
   addenda, native reply/flag icons. Scoped: no changes to dock or header. */
.archive-question-detail.ejabat-clean-question .ejabat-question-addenda,
.archive-question-detail.ejabat-clean-question .ejabat-question-addenda>div{
 border:0!important;margin:0!important;padding:0!important;
 background:#fff!important;min-height:0!important;
}
.archive-question-detail.ejabat-clean-question .ejabat-question-addenda>header{
 display:none!important;
}
.archive-question-detail.ejabat-clean-question .ejabat-old-question-addendum{
 display:block!important;position:relative!important;
 background:#fff!important;border:0!important;
 border-bottom:1px solid #dce4ed!important;border-radius:0!important;
 padding:5px 6px 7px!important;margin:0!important;
 min-height:0!important;height:auto!important;
 box-shadow:none!important;
}
.archive-question-detail.ejabat-clean-question .ejabat-old-question-addendum+ .ejabat-old-question-addendum{
 border-top:0!important;
}
.archive-question-detail.ejabat-clean-question .ejabat-old-question-addendum .ejabat-appendix-line{
 display:flex!important;justify-content:flex-start!important;
 align-items:center!important;min-height:24px!important;
 padding:1px 0!important;margin:0 0 4px!important;
 background:#fff!important;border:0!important;
 text-align:right!important;
}
.archive-question-detail .ejabat-old-addendum-label{
 display:inline-flex!important;flex-wrap:wrap!important;align-items:center!important;
 gap:6px!important;padding:0!important;margin:0!important;
 color:#3975a6!important;
}
.archive-question-detail .ejabat-old-addendum-label strong{
 color:#3374b5!important;font:normal 12px/1.5 Tahoma,Arial,sans-serif!important;
}
.archive-question-detail .ejabat-old-addendum-label time{
 color:#959eaa!important;font:normal 10px/1.5 Tahoma,Arial,sans-serif!important;
}
.archive-question-detail .ejabat-old-addendum-body{
 display:block!important;height:auto!important;min-height:0!important;
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;
 font:normal 14px/1.65 Tahoma,Arial,sans-serif!important;
 margin:0!important;padding:1px 1px 5px!important;line-height:1.7!important;
 text-align:right!important;overflow:hidden!important;
 color:#222b31!important;
}
.archive-question-detail .ejabat-old-addendum-body a.ejabat-highlighted-member{
 display:inline!important;font-size:13px!important;font-weight:600!important;
 color:#3071af!important;vertical-align:baseline!important;
 background:none!important;text-decoration:none!important;
}
.archive-question-detail .ejabat-old-addendum-body .ejabat-rich-photo-link{
 display:block!important;text-align:right!important;padding:0!important;
 margin:5px 0!important;max-width:100%!important;
}
.archive-question-detail .ejabat-old-addendum-body .ejabat-rich-photo{
 display:block!important;width:auto!important;max-width:100%!important;
 height:auto!important;max-height:300px!important;object-fit:contain!important;
 margin:2px 0!important;border:0!important;
}
.archive-question-detail .ejabat-old-addendum-body>p{
 margin:0!important;padding:0!important
}
.archive-question-detail .ejabat-old-addendum-body>br:first-child{display:none!important}
.archive-question-detail .ejabat-question-directed{border-top:0!important}
.archive-question-detail .ejabat-classic-reply-arrow svg{
 width:19px!important;height:19px!important;stroke:currentColor!important;
}
.answers-list .archive-answer .ejabat-classic-reply-arrow{
 font-size:0!important;border:0!important;background:transparent!important;
 width:26px!important;min-width:26px!important;height:24px!important;
 color:#868f9c!important;padding:2px!important;
}
.answers-list .archive-answer .ejabat-classic-reply-arrow svg{
 width:20px!important;height:20px!important;stroke:currentColor!important;
}
.archive-question-detail .report-box>summary{
 display:inline-flex!important;align-items:center!important;
 gap:3px!important;padding:2px 3px!important;
 color:#4b83b0!important;font:normal 11px/1.4 Tahoma,Arial,sans-serif!important;
 background:transparent!important;border:0!important;
 cursor:pointer!important;
}
.archive-question-detail .report-box>summary svg{
 width:15px!important;height:15px!important;stroke:currentColor!important;
}
.answers-list .archive-answer .report-box>summary svg{
 width:14px!important;height:14px!important;stroke:currentColor!important;
}
.answers-list .archive-answer .ejabat-earned-answer-badge{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:19px!important;height:19px!important;margin:0 2px!important;
 color:#367bb4!important;vertical-align:middle!important;
}
.answers-list .archive-answer .ejabat-earned-answer-badge svg{
 width:17px!important;height:17px!important;
}
.ejabat-ask-page .ejabat-old-field:has(#question-body){
 position:relative!important;
}
.ejabat-ask-page #question-body{
 padding-top:36px!important;
}
.ejabat-ask-page .ejabat-old-field:has(#question-body) .ejabat-format-tools{
 position:static!important;
}
.ejabat-ask-page .ejabat-old-field:has(#question-body) .ejabat-classic-photo-button{
 position:absolute!important;top:6px!important;right:7px!important;
 display:grid!important;place-items:center!important;
 background:#fff!important;border:1px solid #d7e1ec!important;
 width:28px!important;height:27px!important;z-index:2!important;
 border-radius:0!important;padding:2px!important;
 color:#3e739d!important;
}
.ejabat-classic-photo-button>svg{width:20px!important;height:20px!important;stroke:currentColor!important}
.ejabat-classic-photo-button[disabled]{
 opacity:.55!important;cursor:progress!important
}
.ejabat-direct-photo-status{
 display:inline-flex!important;align-items:center!important;gap:5px!important;
 flex-wrap:wrap!important;max-width:100%!important;
 font:normal 11px/1.6 Tahoma,Arial,sans-serif!important;
 margin:4px 2px!important;color:#327647!important;background:#fff!important;
}
.ejabat-direct-photo-status[hidden],
.ejabat-direct-photo-status progress[hidden],
.ejabat-direct-photo-copy[hidden]{display:none!important}
.ejabat-direct-photo-status progress{
 width:92px!important;height:8px!important;
 accent-color:#3684c9!important
}
.ejabat-direct-photo-copy{
 border:1px solid #cbdbeb!important;background:#f9fcff!important;
 color:#2c6cae!important;border-radius:0!important;
 font-size:10px!important;padding:2px 6px!important;
}
.ejabat-old-ask-step .ejabat-direct-photo-status{
 max-width:100%!important
}
.ejabat-ask-staff-menu svg{
 width:22px!important;height:22px!important;color:inherit!important
}
@media(max-width:600px){
 .archive-question-detail .ejabat-old-addendum-body{
  font-size:13px!important;line-height:1.65!important
 }
 .archive-question-detail .ejabat-old-addendum-body .ejabat-rich-photo{
  max-height:270px!important
 }
}

/* Never expose a native file input below the textarea: image icon opens it
   directly. The original form shows ONLY the icon, progress, then image URL. */
.ejabat-format-tools input[data-direct-photo-input],
.ejabat-ask-page input[data-direct-photo-input],
.ejabat-format-tools input[type="file"][hidden]{
 display:none!important;visibility:hidden!important;
 width:0!important;height:0!important;position:absolute!important;
 inset:auto!important;overflow:hidden!important;
}
.ejabat-format-tools .ejabat-direct-photo-status:not([hidden]){
 flex-basis:100%!important;width:100%!important;
 padding:0 2px!important;justify-content:flex-start!important;
 font-size:10px!important;line-height:1.35!important;
}
.ejabat-ask-page .ejabat-directed-ask-banner{
 display:flex!important;flex-wrap:wrap!important;
 align-items:center!important;justify-content:flex-start!important;
 gap:4px 8px!important;min-height:33px!important;
 padding:5px 8px!important;margin:0 0 7px!important;
 background:#f7f9fd!important;border:0!important;
 border-right:2px solid #648db5!important;
 font-size:12px!important;line-height:1.4!important;
}
.ejabat-ask-page .ejabat-directed-ask-banner .ejabat-directed-arrow{
 display:inline!important;color:#4474a0!important;
 font-size:12px!important;font-weight:normal!important;
}
.ejabat-ask-page .ejabat-directed-ask-banner .ejabat-directed-member{
 display:inline-flex!important;align-items:center!important;gap:4px!important;
 background:transparent!important;border:0!important;
 min-height:25px!important;margin:0!important;padding:0!important;
 font-size:12px!important;
}
.ejabat-ask-page .ejabat-directed-ask-banner .ejabat-directed-member img{
 width:24px!important;height:24px!important;
 min-width:24px!important;object-fit:cover!important;
}
.ejabat-ask-page .ejabat-directed-ask-banner .ejabat-ask-back{
 font-size:11px!important;padding:2px 4px!important;
 margin-inline-start:auto!important;
}
.ejabat-ask-page .ejabat-directed-ask-banner>small{
 display:none!important;
}
.ejabat-ask-page #question-body{
 overflow-wrap:anywhere!important;
}
