/* One editable document; no internal preview scroll or duplicate author field. */
.author-area>.panel-heading{justify-content:space-between;flex-wrap:wrap;gap:12px;max-width:900px;margin:0 auto 18px}
.author-area .ready-chip{max-width:none;font-size:11px;line-height:1.65;padding:6px 10px;background:#e2eafb;color:#425776}
.author-area .creation-card{display:block;max-width:900px;margin:auto;background:transparent}
.author-area .compose-actions{padding:0;margin-bottom:16px}
.author-area .compose-actions:has(#generate-post-actions[hidden]) #compose-note{margin-top:0}
.author-area #generate-post-actions{padding:20px 24px;background:#fff;border:1px solid #dce5f1;border-radius:16px}
.author-area #generate-post-actions[hidden]{display:none}
.author-area #compose-button{width:auto;min-width:230px}
.author-area .compose-note{text-align:left;font-size:12px;line-height:1.8;color:#485a76;margin:8px 0}
.author-area .operation-terms{font-size:11px;line-height:1.8;color:#66748b;margin:8px 0}
.author-area .publication-card{padding:28px;background:#fff;border:1px solid #dce5f1;border-radius:18px}
.author-area .edit-note{font-size:12px;line-height:1.8;margin:0 0 24px;color:#51627c}
/* Journal typography is supplied by post-format.js, including inline HTML styles. */
.author-area .publication-sheet{max-height:none;overflow:visible;scrollbar-gutter:auto;border:0;border-radius:0;min-width:0}
.author-area .publication-card .publication-sheet{margin:0 auto}
.author-area [contenteditable]{white-space:pre-wrap;overflow-wrap:anywhere;outline-offset:5px;cursor:text}
.author-area [contenteditable=true]:hover{outline:1px dashed #b9bfd1}
.author-area [contenteditable=true]:focus{outline:1px solid #8895ca}
.author-area [contenteditable=false]{cursor:default}
.author-area #pub-title{min-height:1.07em;border-radius:0}
.author-area #pub-summary,.author-area #author-input{display:block;min-height:1.68em;padding:0;border:0;border-radius:0;background:transparent;color:#252a34;font:400 19px/1.68 Georgia,'Times New Roman',serif;white-space:normal}
.author-area .post-paragraph{color:#252a34;white-space:pre-wrap}
.author-area .post-paragraph:last-child{margin-bottom:0}
.author-area .publication-image{float:none;width:auto;margin:0 0 27px;border:0;border-radius:0;overflow:hidden;background:transparent}
.author-area .publication-image img{max-height:none;aspect-ratio:auto;border-radius:0}
.author-area .pub-source{padding:0;border:0}
.author-area .pub-opinion{border-left:0;border-right:0;border-radius:0;color:#252a34}
.author-area #author-view-label{font-family:Arial,Helvetica,sans-serif;text-transform:none;color:#252a34}
.author-area #author-input:empty:focus:before{content:attr(data-placeholder);color:#7c8088;font-style:normal;pointer-events:none}
.author-area .document-tools{max-width:650px;margin:24px auto 0;padding:18px 0 0;border-top:1px solid #e2e6ee}
.author-area .image-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.author-area .image-controls>span{font-size:11px;color:#66748b}
.author-area .document-tool{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-height:38px;padding:7px 10px;border:1px solid #d4dcec;border-radius:8px;background:#fff;color:#354fba;font:700 11px/1.7 Manrope,sans-serif;white-space:normal;text-decoration:none;cursor:pointer}
.author-area .document-tool:hover{background:#eef2ff;border-color:#aab9e2}
.author-area .document-tool:disabled{opacity:.55;cursor:wait}
.author-area .author-foot{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:18px 0 0;font-size:11px;color:#66748b}
.author-area .document-tool span{font-size:inherit;text-transform:none;letter-spacing:normal;color:inherit}
.author-area .author-foot>span{font-size:11px;text-transform:none;letter-spacing:normal;color:#66748b}
.author-area .assist-help{font-size:11px;line-height:1.8;margin:10px 0 0}
.author-area .assist-note{font-size:12px;line-height:1.8}
.author-area [hidden],.iskra-journal [hidden]{display:none!important}
.author-area .publication-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:24px}
.author-area .publication-actions button{min-height:48px;padding:12px;font-size:12px;line-height:1.7}
.author-area .download-post-control{display:flex;min-width:0;gap:6px}
.author-area .download-post-control button{flex:1;min-width:0}
.author-area #download-format{max-width:78px;border:1px solid #ccd6e9;border-radius:10px;background:#fff;color:#354fba;padding:7px;font:700 11px Manrope,sans-serif}
.author-area .copy-foot{font-size:11px;line-height:1.8;margin:14px 0 0}
@media(max-width:760px){
  .author-area>.panel-heading{align-items:flex-start}
  .author-area .publication-card{padding:18px 0}
  .author-area .edit-note,.author-area .document-tools,.author-area .publication-actions,.author-area .copy-foot{margin-left:12px;margin-right:12px}
  .author-area #generate-post-actions{padding:18px}
  .author-area #compose-button{width:100%;min-width:0}
  .author-area .document-tool{min-height:44px}
  .author-area .publication-actions{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:480px){
  .iskra-journal{padding:28px 23px!important}
  .iskra-journal .post-title{font-size:34px!important;letter-spacing:-1px!important}
  .iskra-journal .post-paragraph{font-size:18px!important}
  .iskra-journal .post-lead{font-size:21px!important}
  .author-area #pub-summary,.author-area #author-input{font-size:18px}
}

.example-grid{grid-template-columns:minmax(0,1fr)}
.example-grid #example-post{min-width:0}
.iskra-journal .post-image{border-radius:0}
