/* C/C institucional: formulário discreto e documento conforme o Ofício 1135/2026. */
body.criar-page .v90-commands .of-cc-panel{
  border:1px solid #dce6f0!important;border-radius:10px!important;margin:0!important;
  background:#fff!important;flex:0 0 auto;min-width:0;overflow:hidden;
}
body.criar-page .of-cc-panel>summary{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  cursor:pointer;padding:11px 12px!important;color:#214b72;
  font:750 12px/1.35 system-ui,Arial,sans-serif;list-style:none;
}
body.criar-page .of-cc-panel>summary::-webkit-details-marker{display:none}
body.criar-page .of-cc-panel>summary::before{content:'CC';display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;height:24px;border-radius:7px;background:#eaf2fa;color:#25537e;font:800 9px/1 system-ui,sans-serif;letter-spacing:.03em}
body.criar-page .of-cc-panel>summary .of-cc-panel-title{flex:1;min-width:0}
body.criar-page .of-cc-count{display:inline-flex;padding:3px 7px;background:#f0f5f9;border-radius:12px;color:#657f95;font:600 10px/1.3 system-ui,Arial,sans-serif;white-space:nowrap}
body.criar-page .of-cc-panel[open]>summary{border-bottom:1px solid #eaf0f6}
body.criar-page .of-cc-panel-body{padding:11px 12px 12px!important;display:flex;flex-direction:column;gap:10px;min-width:0}
body.criar-page .of-cc-helper{color:#60758a;font:500 11px/1.48 system-ui,Arial,sans-serif;margin:0}
body.criar-page .of-cc-entry{background:#fcfdff;border:1px solid #dce6ee;border-radius:9px;padding:10px;display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}
body.criar-page .of-cc-entry-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.criar-page .of-cc-entry-id{color:#28517a;font:800 10.5px/1.3 system-ui,Arial,sans-serif;text-transform:uppercase;letter-spacing:.035em}
body.criar-page .of-cc-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:0!important;margin:0!important}
body.criar-page .of-cc-field>span{color:#48647d;font:700 10.5px/1.25 system-ui,Arial,sans-serif}
body.criar-page .of-cc-entry input[type=text],body.criar-page .of-cc-entry select{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  border:1px solid #d5e2ec!important;border-radius:7px!important;background:#fff!important;
  color:#263e54!important;padding:8px 9px!important;min-height:35px!important;
  font:500 11px/1.3 system-ui,Arial,sans-serif!important;box-shadow:none!important;
}
body.criar-page .of-cc-entry input:focus,body.criar-page .of-cc-entry select:focus{outline:2px solid #9cc9e7!important;outline-offset:0}
body.criar-page .of-cc-entry input::placeholder{color:#9aabb9}
body.criar-page .of-cc-remove{border:0!important;background:transparent!important;color:#a13a48!important;font:700 10.5px/1.2 system-ui,Arial,sans-serif!important;cursor:pointer;padding:3px 2px!important}
body.criar-page .of-cc-entry-more{font:500 10.5px/1.3 system-ui,Arial,sans-serif;color:#51718e}
body.criar-page .of-cc-entry-more>summary{cursor:pointer;list-style:revert;padding:3px 0}
body.criar-page .of-cc-more-fields{padding-top:8px;display:grid;gap:8px}
body.criar-page .of-cc-entry-selects{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:7px}
body.criar-page .of-cc-add{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:9px;border:1px dashed #91b5d4;border-radius:8px;background:#eef5fc;color:#255582;font:750 11px/1.3 system-ui,Arial,sans-serif;cursor:pointer;transition:background .15s}
body.criar-page .of-cc-add:hover{background:#e2eef9}
body.criar-page .of-cc-extra>summary{color:#53718a;font:650 10.5px/1.3 system-ui,Arial,sans-serif;cursor:pointer;padding:2px 0}
body.criar-page .of-cc-extra-content{display:grid;gap:5px;padding-top:8px}
body.criar-page .of-cc-extra-content label{font:700 10.5px/1.3 system-ui,Arial,sans-serif;color:#48647d}
body.criar-page #ofCopiesPosition{width:100%;box-sizing:border-box;min-height:34px;padding:7px;border:1px solid #d6e3ee;border-radius:7px;background:#fff;color:#284b66;font:500 11px/1.3 system-ui,Arial,sans-serif}
body.criar-page .of-cc-form-example{padding:10px 11px;border-radius:8px;background:#f4f7fa;border:1px solid #e5edf4;color:#5d748a}
body.criar-page .of-cc-form-example>span{display:block;font:700 9px/1.2 system-ui,Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;color:#647e95}
body.criar-page .of-cc-form-example .of-cc-doc-line{font:11px/1.3 'Times New Roman',serif;color:#24384a;margin:0;overflow-wrap:anywhere}
body.criar-page .of-cc-form-example .of-cc-person{text-transform:uppercase}
body.criar-page #ofCopiesControls[hidden],body.criar-page #ofCopiesEmpty[hidden],body.criar-page #ofCopiesDocument[hidden],body.criar-page #pvOfCopies[hidden],body.criar-page #ofCopiesFormPreview[hidden]{display:none!important}
body.criar-page #ofCopiesControls{display:flex;flex-direction:column;gap:9px}
/* A folha A4: C/C imediato após cargo principal; sem etiquetas de finalidade ou cartões. */
body.criar-page #wordPageV51 .word-recipient-v51.of-cc-has-header{margin-bottom:0!important}
body.criar-page #wordPageV51 .word-document-v51 .of-cc-document{font:400 12pt/1 'Times New Roman',serif!important;color:#111!important;margin:0 0 32px!important;padding:0!important;text-align:left!important;white-space:normal!important;}
body.criar-page #wordPageV51 .word-document-v51 .of-cc-document.at-footer{margin:10px 0 0!important}
body.criar-page .word-document-v51 .of-cc-doc-line{display:block!important;font:inherit!important;line-height:1!important;margin:0!important;padding:0!important;white-space:pre-wrap!important;overflow-wrap:break-word!important;word-break:normal!important}
body.criar-page .word-document-v51 .of-cc-doc-line.of-cc-person{text-transform:uppercase}
body.criar-page .word-document-v51 .of-cc-doc-line.of-cc-next-person{margin-top:5px!important}
body.criar-page .of-cc-legacy-preview{margin:0 0 14px!important;padding:0!important;font:400 12pt/1 'Times New Roman',serif!important}
body.criar-page .of-cc-legacy-preview .of-cc-doc-line{display:block;margin:0;line-height:1.1}
body.criar-page .of-cc-legacy-preview .of-cc-person{text-transform:uppercase}
body.criar-page .of-cc-legacy-preview .of-cc-next-person{margin-top:5px}
body.criar-page .v56-preview-recipient + .of-cc-document{margin-top:0!important}
@media(max-width:700px){body.criar-page .of-cc-entry-selects{grid-template-columns:1fr}body.criar-page .of-cc-panel-body{padding:10px!important}}

/* Escolha explícita, sempre visível, sem alongar a área de trabalho. */
body.criar-page .of-cc-panel{display:block!important}
body.criar-page .of-cc-panel-heading{display:flex;align-items:center;gap:9px;padding:11px 12px 8px;color:#214b72;font:750 12px/1.3 system-ui,Arial,sans-serif}
body.criar-page .of-cc-panel-heading strong{flex:1;min-width:0;font:inherit}
body.criar-page .of-cc-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:24px;border-radius:7px;background:#eaf2fa;color:#25537e;font:800 9px/1 system-ui,sans-serif}
body.criar-page .of-cc-choice{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px;margin:0!important;padding:0 12px 11px!important;border:0!important}
body.criar-page .of-cc-choice legend{padding:0!important;margin:0 0 6px!important;float:none!important;width:auto!important;color:#58718b;font:650 10.5px/1.3 system-ui,Arial,sans-serif}
body.criar-page .of-cc-mode-option{cursor:pointer;min-width:0;display:flex!important;gap:6px;align-items:center;justify-content:center;padding:9px 4px;border:1px solid #d7e3ee;border-radius:7px;background:#f7f9fc;color:#506b83;font:700 11px/1.2 system-ui,Arial,sans-serif;white-space:nowrap;transition:background .15s,border-color .15s}
body.criar-page .of-cc-mode-option:has(input:checked){background:#e9f2ff;color:#174b87;border-color:#91bae1;box-shadow:inset 0 0 0 1px #91bae1}
body.criar-page .of-cc-mode-option input{appearance:auto!important;width:13px!important;height:13px!important;flex:0 0 13px;position:static!important;opacity:1!important;margin:0!important;accent-color:#2365a4;cursor:pointer}
body.criar-page .of-cc-mode-option:focus-within{outline:2px solid #93c0ea;outline-offset:2px}
body.criar-page #ofCopiesForm[hidden]{display:none!important}
body.criar-page #ofCopiesForm{border-top:1px solid #eaf0f6}
@media(max-width:460px){body.criar-page .of-cc-mode-option{font-size:10px;padding:8px 3px}body.criar-page .of-cc-choice{gap:4px}}
/* Restringe apenas os rádios de escolha, neutralizando a regra de inputs da toolbar. */
body.criar-page .v90-commands .word-editor-topbar-v51 .of-cc-choice .of-cc-mode-option input[type="radio"]{
  appearance:auto!important;box-sizing:content-box!important;position:static!important;
  display:inline-block!important;width:13px!important;min-width:13px!important;max-width:13px!important;
  height:13px!important;min-height:13px!important;max-height:13px!important;
  flex:0 0 13px!important;margin:0!important;padding:0!important;border:0!important;
  opacity:1!important;accent-color:#2365a4;vertical-align:middle;cursor:pointer;
}

/* Negrito configurável por linha, inclusive no documento e na prévia. */
body.criar-page .of-cc-doc-line.of-cc-bold{font-weight:700!important}
body.criar-page .of-cc-doc-line:not(.of-cc-bold){font-weight:400!important}
body.criar-page .of-cc-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:25px}
body.criar-page .of-cc-field-heading label{color:#48647d;font:700 10.5px/1.25 system-ui,Arial,sans-serif;cursor:pointer}
body.criar-page .v90-commands .of-cc-bold-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:28px!important;width:28px!important;height:25px!important;min-height:25px!important;padding:0!important;border:1px solid #ccdae7!important;border-radius:6px!important;background:#f7fafc!important;color:#4d6a83!important;font:800 13px/1 Georgia,serif!important;cursor:pointer}
body.criar-page .v90-commands .of-cc-bold-toggle[aria-pressed="true"]{background:#e0edfe!important;border-color:#8eb6db!important;color:#174b87!important;box-shadow:inset 0 0 0 1px #8eb6db!important}
body.criar-page .v90-commands .of-cc-bold-toggle:focus-visible{outline:2px solid #388ad6;outline-offset:2px}
body.criar-page .of-cc-label-bold-option{display:flex;align-items:center;gap:8px;color:#476983;font:600 10.5px/1.3 system-ui,Arial,sans-serif;cursor:pointer;min-height:27px}
body.criar-page .of-cc-label-bold-option b{font:800 12px/1 Georgia,serif}
body.criar-page .v90-commands .word-editor-topbar-v51 .of-cc-label-bold-option input[type="checkbox"]{appearance:auto!important;display:inline-block!important;box-sizing:content-box!important;width:14px!important;min-width:14px!important;max-width:14px!important;height:14px!important;min-height:14px!important;max-height:14px!important;padding:0!important;margin:0!important;position:static!important;opacity:1!important;accent-color:#2365a4;cursor:pointer}
