:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192640;background:#f5f7fb;font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}h1{font-size:1.8rem;letter-spacing:-.035em;line-height:1.2}h2{font-size:1.12rem}h1,h2,p{margin-top:0}p{line-height:1.6}a{color:#304dcc;overflow-wrap:anywhere}button{min-height:44px;border:1px solid transparent;border-radius:.65rem;padding:.7rem 1rem;background:#4264e9;color:#fff;font-weight:650;cursor:pointer}button.secondary{border-color:#dbe2ed;color:#192640;background:#fff}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #99adff;outline-offset:3px}input{width:100%;min-width:0;border:1px solid #ccd5e4;border-radius:.6rem;padding:.8rem;background:#fff;color:#192640}label{display:grid;gap:.5rem;font-size:.9rem;font-weight:600;min-width:0}fieldset{min-width:0;display:grid;gap:1.2rem;border:0;margin:0;padding:0}.shell{max-width:1080px;padding:2rem 1.25rem;margin:0 auto;min-width:0}.brand{display:flex;align-items:center;gap:.8rem;font-weight:750;font-size:1.3rem;margin-bottom:2.5rem}.brand small{display:block;font-size:.75rem;color:var(--gestao-muted,#56647c);font-weight:500;margin-top:.15rem}.symbol{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:.8rem;background:#4264e9;color:#fff;font-size:1.75rem}.card{border:1px solid #e0e6ef;border-radius:1rem;background:#fff;padding:1.5rem;min-width:0}.entry{max-width:30rem;margin:0 auto}.entry form{margin:1.6rem 0}.hint{font-size:.8rem;color:var(--gestao-muted,#56647c)}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.heading p{overflow-wrap:anywhere}.notice{padding:1rem;border:1px solid #eedaa7;background:#fff8e6;border-radius:.75rem;font-size:.9rem}.error{color:#9f293b;background:#fff0f1;border:1px solid #f0c7cf;padding:1rem;border-radius:.75rem;overflow-wrap:anywhere}.toolbar{margin:1rem 0}.stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.stores h2,.stores p{overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;padding:0}.actions li{font-size:.78rem;padding:.4rem .6rem;border-radius:.5rem;background:#eef2ff;color:#304dcc}.empty{grid-column:1/-1}footer{margin-top:3rem;padding-top:1rem;border-top:1px solid #e0e6ef;font-size:.75rem;color:var(--gestao-muted,#56647c);line-height:1.6}@media(max-width:620px){.stores{grid-template-columns:1fr}.shell{padding:1.5rem 1rem}.card{padding:1.2rem}h1{font-size:1.55rem}.brand{margin-bottom:1.8rem}}

/* O editor usa somente texto e referências locais preservadas pelo servidor. */
button,select,textarea{font:inherit}select,textarea{width:100%;max-width:100%;min-width:0;border:1px solid #ccd5e4;border-radius:.6rem;padding:.8rem;background:#fff;color:#192640}select{min-height:44px}textarea{resize:vertical;line-height:1.6}select:focus-visible,textarea:focus-visible{outline:3px solid #99adff;outline-offset:3px}button{max-width:100%;overflow-wrap:anywhere}.editorial{margin-top:2rem;scroll-margin-top:1rem}.editorial h2,.editorial h3,.editorial h4,.editorial p{overflow-wrap:anywhere}.editorial h3{font-size:1.15rem}.editor-nav{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.25rem 0}.editor-nav button[aria-pressed=true]{border-color:#4264e9;background:#eef2ff;color:#2444c9}.drafts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.draft-card{min-width:0;border:1px solid #e0e6ef;border-radius:.8rem;padding:1rem}.draft-card h4{font-size:1rem;margin:0 0 .7rem}.draft-text{white-space:pre-wrap;overflow-wrap:anywhere}.authorship p{margin:.35rem 0}.editor-form{display:grid;gap:1.25rem;margin-top:1.75rem;padding-top:1.5rem;border-top:1px solid #e0e6ef}.editor-form h3{margin:0}.editor-form fieldset{gap:1rem}.editor-form .checkbox{display:flex;align-items:center;gap:.65rem;min-height:44px}.editor-form input[type=checkbox]{width:1.15rem;height:1.15rem;flex:none}.editor-form input[type=datetime-local]{max-width:100%;min-height:44px}.editor-form fieldset:disabled{opacity:.8}#editor-defaults{margin:1rem 0;padding:1rem;background:#f5f7fb;border-radius:.7rem}#editor-defaults ul{padding-left:1.2rem}#editor-list>.heading{margin-bottom:1rem}#editor-title:focus{outline:0}#editor-title:focus-visible{outline:3px solid #99adff;outline-offset:3px}@media(max-width:620px){.drafts{grid-template-columns:1fr}.editorial .heading>button{width:100%}.editor-nav button{flex:1 1 auto}.editor-form input,.editor-form select,.editor-form textarea{font-size:1rem}.editorial{padding:1rem}.editorial .notice{padding:.8rem}}
.editor-field{display:grid;gap:.5rem;min-width:0}
