/* NEXA Estúdio Editorial: paleta de livro adulto, sem interferir na leitura. */
#nexaEditorialStudio{display:none;position:fixed;z-index:100012;inset:0;background:#0b090ce8;overflow:auto;overscroll-behavior:contain;padding:clamp(8px,2vw,26px);box-sizing:border-box;color:#eae0d3}
#nexaEditorialStudio.open{display:block}
.nexaStudioOpen{overflow:hidden!important}
#nexaEditorialStudio .nexaStudioDialog{max-width:1020px;margin:0 auto 60px;background:#171417;border:1px solid #7e69534d;border-radius:17px;box-shadow:0 18px 65px #000c;padding:clamp(14px,2.5vw,28px);font:15px/1.55 system-ui,-apple-system,sans-serif}
#nexaEditorialStudio header{display:flex;align-items:start;justify-content:space-between;gap:15px;border-bottom:1px solid #b5a08136;padding:0 0 20px}
#nexaEditorialStudio header small{font-size:10px;letter-spacing:.22em;font-weight:750;color:#c4aa83}
#nexaEditorialStudio h2{font:500 clamp(28px,4vw,44px)/1.25 "Cormorant Garamond",Georgia,serif;color:#f3e9d9;margin:4px 0}
#nexaEditorialStudio header p{color:#aeaaac;font-size:13px;margin:0}
#nexaEditorialStudio button{cursor:pointer;font:inherit}
#nexaEditorialStudio button:focus-visible,#nexaEditorialStudio textarea:focus-visible,#nexaEditorialStudio select:focus-visible{outline:3px solid #c3a57b;outline-offset:2px}
#nexaEditorialStudio .nexaStudioClose{border:1px solid #9686757a;border-radius:50%;width:41px;height:41px;flex-shrink:0;background:#211d21;color:#f5e8d8}
#nexaEditorialStudio .nexaStudioRoles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0 12px}
#nexaEditorialStudio .nexaStudioRoles button{border:1px solid #85755e73;border-radius:10px;background:#252026;color:#d8d1c5;padding:11px 8px;min-height:44px;font-size:13px;font-weight:650}
#nexaEditorialStudio .nexaStudioRoles button.active{background:#bda078;color:#221714;border-color:#d8be99}
#nexaEditorialStudio .nexaStudioRoleDesc{border-left:2px solid #c1a482;background:#29232a;padding:12px 16px;color:#ddd0bf;font-size:13px}
#nexaEditorialStudio .nexaStudioTools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:21px 0 10px}
#nexaEditorialStudio .nexaStudioTools label{font-weight:700;color:#ddd5c9}
#nexaEditorialStudio .nexaStudioTools select{max-width:100%;min-width:220px;flex:1;border:1px solid #76644d;border-radius:9px;background:#f5ede0;color:#2b241e;font:600 14px/1.5 system-ui;padding:10px 12px;min-height:44px}
#nexaEditorialStudio .nexaStudioRevision{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#baa789}
#nexaEditorialStudio textarea{display:block;width:100%;min-height:300px;max-height:55vh;box-sizing:border-box;padding:24px;border:1px solid #c6b9a3;border-radius:10px;background:#f0e9df;color:#25201d;font:19px/1.65 "EB Garamond",Georgia,serif;resize:vertical;white-space:pre-wrap;overflow:auto}
#nexaEditorialStudio .nexaStudioHint{color:#b6aba4;font-size:12px;line-height:1.5}
#nexaEditorialStudio .nexaStudioActions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}
#nexaEditorialStudio .nexaStudioActions button{min-height:44px;border-radius:10px;border:1px solid #b5a18055;padding:10px 17px;background:#2f2727;color:#eee2d1;font-weight:700;font-size:13px}
#nexaEditorialStudio .nexaStudioActions .save{background:#c9ab80;border-color:#ddc69f;color:#211714}
#nexaEditorialStudio .nexaStudioStatus{font-size:13px;line-height:1.5;min-height:1em;padding:6px 0}
#nexaEditorialStudio .nexaStudioStatus[data-kind="error"]{color:#ffb3a9}
#nexaEditorialStudio .nexaStudioStatus[data-kind="success"]{color:#bfe5bd}
#nexaEditorialStudio h3{font:500 27px/1.35 "Cormorant Garamond",Georgia,serif;color:#efdbbc;margin:24px 0 6px}
#nexaEditorialStudio #nexaStudioStats{font-size:12px;color:#baac9a;margin-bottom:13px}
#nexaEditorialStudio #nexaStudioReport{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#nexaEditorialStudio .nexaStudioIssue{border:1px solid #a090744c;border-radius:11px;padding:14px;background:#211d20}
#nexaEditorialStudio .nexaStudioIssue>span{font-size:10px;letter-spacing:.13em;color:#d7bb8f;text-transform:uppercase;font-weight:700}
#nexaEditorialStudio .nexaStudioIssue b{display:block;font-size:14px;color:#f0e4d5;margin:4px 0 5px}
#nexaEditorialStudio .nexaStudioIssue p{font-size:13px;line-height:1.55;color:#bbb1a7;margin:0}
#nexaEditorialStudio .nexaStudioIssue.is-warn{border-color:#a7675380}
#nexaEditorialStudio footer{margin-top:25px;border-top:1px solid #b5a08130;padding-top:15px;color:#978f8d;font-size:12px}
@media(max-width:650px){
 #nexaEditorialStudio{padding:0;background:#161316}
 #nexaEditorialStudio .nexaStudioDialog{border:0;border-radius:0;min-height:100svh;margin:0 0 30px;padding:calc(14px + env(safe-area-inset-top)) 15px calc(30px + env(safe-area-inset-bottom))}
 #nexaEditorialStudio .nexaStudioRoles{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #nexaEditorialStudio .nexaStudioRoles button{font-size:12px;padding:9px 6px}
 #nexaEditorialStudio .nexaStudioTools{align-items:stretch}
 #nexaEditorialStudio .nexaStudioTools label{width:100%}
 #nexaEditorialStudio textarea{font-size:17px;min-height:310px}
 #nexaEditorialStudio #nexaStudioReport{grid-template-columns:1fr}
 #nexaEditorialStudio .nexaStudioActions{display:grid;grid-template-columns:1fr}
 #nexaEditorialStudio .nexaStudioActions button{width:100%}
}
#nexaEditorialStudio .nexaStudioReviewStamp,#nexaEditorialStudio .nexaStudioStale,#nexaEditorialStudio .nexaStudioSources,#nexaEditorialStudio #nexaStudioReport>h4{grid-column:1/-1}
#nexaEditorialStudio .nexaStudioReviewStamp{color:#d9c19b;font-size:13px}
#nexaEditorialStudio .nexaStudioStale{background:#4b3027;padding:14px;border-radius:9px}
#nexaEditorialStudio .nexaStudioIssue small{display:block;color:#cbb99f;font-size:11px}
#nexaEditorialStudio .nexaStudioIssue blockquote{margin:12px 0;padding:10px 12px;border-left:2px solid #a68b63;color:#e4d9ca;font:italic 18px/1.6 'Nexa Book',Georgia,serif}
#nexaEditorialStudio .nexaStudioIssue p+p{margin-top:10px}
#nexaEditorialStudio .nexaStudioSources a{color:#e8c99f}
#nexaEditorialStudio summary{cursor:pointer;min-height:44px;padding:12px 0;box-sizing:border-box}
#nexaStudioComparison{border:1px solid #a68b6366;border-radius:10px;padding:0 15px}
#nexaStudioComparison>div{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#nexaStudioComparison pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.6 'Nexa Book',Georgia,serif;background:#221c20;color:#e4d9ca;padding:12px}
#nexaEditorialStudio button:disabled{opacity:.5;cursor:wait}
@media(max-width:650px){#nexaStudioComparison>div{grid-template-columns:1fr}#nexaEditorialStudio .nexaStudioIssue{min-width:0;overflow-wrap:anywhere}}
