.cref19-oficios-wrap{
    --cref19-petroleo:#1d626b;
    --cref19-verde:#43a536;
    --cref19-texto:#24292b;
    --cref19-suave:#68777a;
    --cref19-linha:#dce6e4;
    --cref19-fundo:#f4f7f6;
    width:calc(100% - 48px);
    max-width:1280px;
    margin:38px auto 76px !important;
    padding:0;
    color:var(--cref19-texto);
    font-family:inherit;
}

.cref19-oficios-wrap *,
.cref19-oficios-wrap *::before,
.cref19-oficios-wrap *::after{
    box-sizing:border-box;
}

.cref19-oficios-wrap .button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:6px 13px;
    border:1px solid #b9c8c6;
    border-radius:7px;
    background:#fff;
    color:#344247;
    font-size:13px;
    font-weight:650;
    line-height:1.2;
    text-decoration:none;
    cursor:pointer;
}

.cref19-oficios-wrap .button:hover,
.cref19-oficios-wrap .button:focus{
    border-color:var(--cref19-petroleo);
    color:var(--cref19-petroleo);
}

.cref19-oficios-wrap input,
.cref19-oficios-wrap select,
.cref19-oficios-wrap textarea{
    font:inherit;
}

.cref19-oficios-wrap select,
.cref19-oficios-wrap input[type=search]{
    min-height:36px;
    padding:5px 9px;
    border:1px solid #cbd9d7;
    border-radius:7px;
    background:#fff;
}

.cref19-oficios-wrap table.widefat{
    width:100%;
    border-collapse:collapse;
    border:1px solid var(--cref19-linha);
    background:#fff;
}

.cref19-oficios-wrap table.widefat th,
.cref19-oficios-wrap table.widefat td{
    padding:11px 12px;
    border-bottom:1px solid var(--cref19-linha);
    text-align:left;
}

.cref19-oficios-wrap table.striped tbody tr:nth-child(odd){
    background:#fafcfc;
}

.cref19-oficios-wrap .notice{
    margin:0 0 16px;
    padding:12px 14px;
    border:1px solid var(--cref19-linha);
    border-left-width:4px;
    border-radius:8px;
    background:#fff;
}

.cref19-oficios-wrap .notice p{margin:0;}
.cref19-oficios-wrap .notice-success{border-left-color:var(--cref19-verde);}
.cref19-oficios-wrap .notice-error{border-left-color:#b94242;}

.cref19-access-message{
    max-width:720px;
    margin:32px auto;
    padding:28px;
    border:1px solid #dce6e4;
    border-radius:14px;
    background:#fff;
    color:#24292b;
    text-align:center;
    box-shadow:0 8px 24px rgba(28,72,77,.06);
}

.cref19-access-message h2{
    margin:0 0 8px;
    color:#1d626b;
}

.cref19-access-message p{
    margin:0 0 18px;
    color:#68777a;
}

.cref19-titlebar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:0 0 18px;
    padding:30px 32px;
    border-radius:18px;
    background:
        radial-gradient(circle at 88% 18%,rgba(67,165,54,.30),transparent 28%),
        linear-gradient(135deg,#174f57 0%,#1d626b 68%,#236f77 100%);
    box-shadow:0 16px 38px rgba(23,79,87,.16);
}

.cref19-titlebar h1{
    margin:0 0 5px;
    color:#fff;
    font-size:30px;
    font-weight:800;
    letter-spacing:-.02em;
}

.cref19-titlebar p,
.cref19-section-title p,
.cref19-panel-head p,
.cref19-document-head p,
.cref19-next-step p{
    margin:0;
    color:var(--cref19-suave);
    line-height:1.55;
}

.cref19-titlebar p{
    color:rgba(255,255,255,.78);
}

.cref19-title-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
}

.cref19-titlebar .button{
    min-height:42px;
    padding:8px 16px;
    border-color:rgba(255,255,255,.42);
    background:transparent;
    color:#fff;
}

.cref19-titlebar .button:hover,
.cref19-titlebar .button:focus{
    border-color:#fff;
    background:rgba(255,255,255,.10);
    color:#fff;
}

.cref19-titlebar .cref19-primary.button-primary{
    border-color:#fff;
    background:#fff;
    color:var(--cref19-petroleo);
}

.cref19-titlebar .cref19-primary.button-primary:hover,
.cref19-titlebar .cref19-primary.button-primary:focus{
    border-color:#eef7f4;
    background:#eef7f4;
    color:#174f57;
}

.cref19-primary.button-primary{
    border-color:var(--cref19-petroleo);
    background:var(--cref19-petroleo);
    color:#fff;
    box-shadow:none;
}

.cref19-primary.button-primary:hover,
.cref19-primary.button-primary:focus{
    border-color:#164e55;
    background:#164e55;
    color:#fff;
}

.cref19-tabs{
    display:flex;
    gap:6px;
    margin:0 0 18px;
    padding:5px;
    border:1px solid var(--cref19-linha);
    border-radius:12px;
    background:#fff;
    width:max-content;
    max-width:100%;
}

.cref19-tabs a{
    padding:9px 14px;
    border-radius:8px;
    color:var(--cref19-suave);
    text-decoration:none;
    font-weight:600;
}

.cref19-tabs a.active{
    background:#eaf2f1;
    color:var(--cref19-petroleo);
    box-shadow:inset 0 0 0 1px rgba(29,98,107,.04);
}

.cref19-panel{
    margin:0 0 18px;
    padding:24px;
    border:1px solid var(--cref19-linha);
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 30px rgba(28,72,77,.065);
}

.cref19-panel h2,
.cref19-panel h3{
    color:var(--cref19-petroleo);
}

.cref19-panel h2{
    margin:4px 0 7px;
    font-size:21px;
}

.cref19-panel h3{
    margin:0 0 6px;
    font-size:15px;
}

.cref19-panel-head,
.cref19-document-head,
.cref19-next-step,
.cref19-sent-panel{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
}

.cref19-panel-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(430px,560px);
    align-items:end;
    margin-bottom:18px;
}

.cref19-panel-head h2,
.cref19-document-head h2{
    margin:0 0 6px;
}

.cref19-search{
    display:grid;
    grid-template-columns:160px minmax(210px,1fr) auto;
    align-items:center;
    gap:7px;
}

.cref19-search input[type=search]{
    min-width:0;
    width:100%;
}

.cref19-search select{
    width:100%;
}

.cref19-table-scroll{
    overflow-x:auto;
}

.cref19-table th{
    background:#f1f6f5;
    color:var(--cref19-petroleo);
    font-weight:700;
}

.cref19-table td{
    vertical-align:middle;
}

.cref19-table td small{
    display:block;
    margin-top:3px;
    color:var(--cref19-suave);
}

.cref19-table-action{
    width:70px;
    text-align:right;
}

.cref19-empty{
    padding:38px !important;
    color:var(--cref19-suave);
    text-align:center;
}

.cref19-workspace{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:18px;
    align-items:start;
}

.cref19-workspace aside{
    position:sticky;
    top:46px;
}

.cref19-eyebrow{
    display:block;
    color:var(--cref19-verde);
    font-size:11px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.cref19-status{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:5px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:750;
    white-space:nowrap;
}

.cref19-status.large{
    padding:7px 11px;
    font-size:12px;
}

.status-draft{background:#eef1f2;color:#526066;}
.status-awaiting_signature{background:#fff3cd;color:#775b00;}
.status-signed{background:#e9f5e6;color:#2f7427;}
.status-sent{background:#e6f1f2;color:#185962;}
.status-cancelled{background:#fbe9e9;color:#9a2d2d;}

.cref19-section-title{
    margin:27px 0 15px;
    padding-top:22px;
    border-top:1px solid var(--cref19-linha);
}

.cref19-section-title:first-child{
    margin-top:0;
    padding-top:0;
    border-top:0;
}

.cref19-section-title h2,
.cref19-section-title h3{
    margin:3px 0 5px;
}

.cref19-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
}

.cref19-field{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.cref19-field.cref19-wide{
    grid-column:1/-1;
}

.cref19-field label,
.cref19-upload-form label,
.cref19-danger-zone label{
    color:#334044;
    font-size:12px;
    font-weight:700;
}

.cref19-field input,
.cref19-field textarea,
.cref19-upload-form input[type=file],
.cref19-danger-zone textarea{
    width:100%;
    max-width:none;
    border-color:#cbd9d7;
    border-radius:8px;
    box-shadow:none;
}

.cref19-field input{
    min-height:40px;
}

.cref19-field textarea,
.cref19-danger-zone textarea{
    padding:10px 12px;
    line-height:1.55;
}

.cref19-field input:focus,
.cref19-field textarea:focus,
.cref19-danger-zone textarea:focus{
    border-color:var(--cref19-petroleo);
    box-shadow:0 0 0 1px var(--cref19-petroleo);
}

.cref19-field small,
.cref19-upload-form small{
    color:var(--cref19-suave);
    line-height:1.45;
}

.cref19-actions{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:22px;
}

.cref19-test-button{
    border-color:#8eb3ae !important;
    background:#f3f8f7 !important;
    color:var(--cref19-petroleo) !important;
}

.cref19-test-button:hover,
.cref19-test-button:focus{
    border-color:var(--cref19-petroleo) !important;
    background:#e8f2f0 !important;
}

.cref19-test-help{
    margin:9px 0 0;
    color:var(--cref19-suave);
    font-size:11px;
    line-height:1.5;
}

.cref19-locked-note{
    display:flex;
    gap:12px;
    margin:20px 0;
    padding:14px;
    border-radius:10px;
    background:#f3f7f6;
}

.cref19-locked-note .dashicons{
    color:var(--cref19-petroleo);
}

.cref19-locked-note p{
    margin:3px 0 0;
    color:var(--cref19-suave);
}

.cref19-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    margin:0;
    border:1px solid var(--cref19-linha);
    border-radius:11px;
    overflow:hidden;
}

.cref19-summary > div{
    padding:14px 16px;
    border-right:1px solid var(--cref19-linha);
    border-bottom:1px solid var(--cref19-linha);
}

.cref19-summary > div:nth-child(2n){border-right:0;}
.cref19-summary > div:last-child{border-bottom:0;}
.cref19-summary .cref19-summary-wide{grid-column:1/-1;border-right:0;}

.cref19-summary dt{
    margin-bottom:5px;
    color:var(--cref19-suave);
    font-size:10px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.cref19-summary dd{
    margin:0;
    line-height:1.55;
}

.cref19-summary dd small{
    display:block;
    margin-top:3px;
    color:var(--cref19-suave);
}

.cref19-next-step{
    align-items:center;
    border-left:4px solid var(--cref19-verde);
}

.cref19-inline-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
}

.cref19-inline-actions form{
    margin:0;
}

.cref19-upload-form{
    display:flex;
    flex-direction:column;
    gap:9px;
    width:310px;
    max-width:100%;
}

.cref19-file-ready{
    display:flex;
    align-items:center;
    gap:12px;
    margin:16px 0 22px;
    padding:14px;
    border:1px solid #cfe4cb;
    border-radius:10px;
    background:#f2f8f0;
}

.cref19-file-ready .dashicons{
    color:#3a8331;
    font-size:28px;
    width:28px;
    height:28px;
}

.cref19-file-ready a{
    display:block;
    margin-top:3px;
}

.cref19-sent-panel{
    justify-content:flex-start;
    border-left:4px solid var(--cref19-verde);
}

.cref19-sent-panel > .dashicons{
    width:34px;
    height:34px;
    color:var(--cref19-verde);
    font-size:34px;
}

.cref19-side-panel{
    padding:20px;
}

.cref19-flow{
    margin:16px 0 0;
    padding:0;
    list-style:none;
}

.cref19-flow li{
    position:relative;
    min-height:34px;
    margin:0;
    padding:2px 0 10px 28px;
    color:#879194;
    font-size:12px;
}

.cref19-flow li::before{
    content:"";
    position:absolute;
    top:13px;
    bottom:-3px;
    left:8px;
    width:2px;
    background:#dce6e4;
}

.cref19-flow li:last-child::before{display:none;}

.cref19-flow li > span{
    position:absolute;
    top:3px;
    left:2px;
    width:12px;
    height:12px;
    border:2px solid #c7d1d0;
    border-radius:50%;
    background:#fff;
}

.cref19-flow li.done{
    color:var(--cref19-petroleo);
    font-weight:650;
}

.cref19-flow li.done > span{
    border-color:var(--cref19-verde);
    background:var(--cref19-verde);
}

.cref19-flow li.done::before{background:#a9d4a2;}
.cref19-flow li.current{font-weight:800;}

.cref19-history{
    margin:14px 0 0;
    padding:0;
    list-style:none;
}

.cref19-history li{
    margin:0;
    padding:10px 0;
    border-top:1px solid var(--cref19-linha);
}

.cref19-history strong,
.cref19-history span,
.cref19-history small{
    display:block;
}

.cref19-history strong{font-size:11.5px;}
.cref19-history span,
.cref19-history small{margin-top:2px;color:var(--cref19-suave);font-size:10px;}

.cref19-cancelled{
    margin-top:12px;
    padding:12px;
    border-radius:9px;
    background:#fbe9e9;
    color:#8e2d2d;
}

.cref19-cancelled p{margin:4px 0 0;}

.cref19-danger-zone details summary{
    color:#a33b3b;
    cursor:pointer;
    font-weight:700;
}

.cref19-danger-zone form{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:13px;
}

.cref19-danger.button{
    border-color:#b94242;
    color:#a02f2f;
}

.cref19-test-delete{
    margin-top:17px;
    padding-top:17px;
    border-top:1px solid #efd1d1;
}

.cref19-test-delete > strong{
    color:#943535;
    font-size:12px;
}

.cref19-test-delete > p{
    margin:6px 0 12px;
    color:var(--cref19-suave);
    font-size:11px;
    line-height:1.5;
}

.cref19-test-delete form{
    margin:0;
}

.cref19-numbering-card{
    display:grid;
    grid-template-columns:170px 210px minmax(260px,1fr);
    gap:16px;
    align-items:end;
    margin:18px 0;
}

.cref19-access-details{
    display:grid;
    grid-template-columns:220px minmax(0,1fr);
    gap:12px;
    margin-top:17px;
}

.cref19-access-details > div{
    padding:13px 15px;
    border:1px solid var(--cref19-linha);
    border-radius:9px;
    background:#fafcfc;
}

.cref19-access-details span,
.cref19-access-details code,
.cref19-access-details a,
.cref19-access-details strong{
    display:block;
}

.cref19-access-details span{
    margin-bottom:5px;
    color:var(--cref19-suave);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.cref19-access-details code{
    color:var(--cref19-petroleo);
    font-size:14px;
    font-weight:700;
}

.cref19-access-details a{
    overflow-wrap:anywhere;
}

.cref19-number-preview{
    padding:12px 15px;
    border:1px solid #cfe0dd;
    border-radius:10px;
    background:#f3f8f7;
}

.cref19-number-preview span,
.cref19-number-preview strong,
.cref19-number-preview small{
    display:block;
}

.cref19-number-history{
    margin-top:18px;
    border-top:1px solid var(--cref19-linha);
    padding-top:16px;
}

.cref19-number-history summary{
    color:var(--cref19-petroleo);
    cursor:pointer;
    font-weight:700;
}

.cref19-number-history .cref19-table-scroll{
    margin-top:12px;
}

.cref19-number-preview span{
    margin-bottom:4px;
    color:var(--cref19-suave);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.cref19-number-preview strong{
    color:var(--cref19-petroleo);
    font-size:16px;
}

.cref19-number-preview small{
    margin-top:5px;
    color:var(--cref19-suave);
}

.cref19-users-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin-top:17px;
}

.cref19-user-option{
    display:flex;
    align-items:flex-start;
    gap:9px;
    padding:11px;
    border:1px solid var(--cref19-linha);
    border-radius:9px;
    background:#fbfcfc;
}

.cref19-user-option input{margin-top:3px;}
.cref19-user-option span,
.cref19-user-option strong,
.cref19-user-option small{display:block;}
.cref19-user-option small{margin-top:2px;color:var(--cref19-suave);word-break:break-all;}

.cref19-sticky-save{
    position:sticky;
    bottom:0;
    z-index:5;
    margin-top:0;
    padding:13px 18px;
    border:1px solid var(--cref19-linha);
    border-radius:11px;
    background:rgba(255,255,255,.94);
    box-shadow:0 -8px 24px rgba(28,72,77,.07);
    backdrop-filter:blur(8px);
}

@media (max-width:1100px){
    .cref19-panel-head{display:flex;align-items:flex-start;}
    .cref19-search{width:100%;grid-template-columns:170px minmax(200px,1fr) auto;}
    .cref19-workspace{grid-template-columns:1fr;}
    .cref19-workspace aside{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
    .cref19-workspace aside .cref19-panel{margin:0;}
    .cref19-numbering-card{grid-template-columns:repeat(2,minmax(0,1fr));}
    .cref19-number-preview{grid-column:1/-1;}
    .cref19-users-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:782px){
    .cref19-oficios-wrap{
        width:calc(100% - 24px);
        margin:22px auto 52px !important;
    }
    .cref19-titlebar,
    .cref19-panel-head,
    .cref19-document-head,
    .cref19-next-step{flex-direction:column;}
    .cref19-titlebar{padding:24px 20px;}
    .cref19-titlebar h1{font-size:26px;}
    .cref19-title-actions{width:100%;justify-content:stretch;}
    .cref19-title-actions .button{flex:1;}
    .cref19-tabs{width:auto;overflow-x:auto;}
    .cref19-tabs a{white-space:nowrap;}
    .cref19-panel{padding:19px 17px;}
    .cref19-grid,
    .cref19-summary,
    .cref19-numbering-card,
    .cref19-access-details,
    .cref19-users-grid,
    .cref19-workspace aside{grid-template-columns:1fr;}
    .cref19-summary > div{border-right:0;}
    .cref19-search{display:grid;width:100%;grid-template-columns:1fr;}
    .cref19-search input[type=search],
    .cref19-search select{width:100%;max-width:none;}
    .cref19-search .button{width:100%;}
    .cref19-upload-form{width:100%;}
}

/* =========================================================
 * EDITOR RICO DO TEXTO DO OFÍCIO
 * ========================================================= */
.cref19-editor-shell{
    overflow:hidden;
    border:1px solid #c7d2d4;
    border-radius:10px;
    background:#fff;
}

.cref19-editor-toolbar{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:4px;
    padding:8px;
    border-bottom:1px solid #dfe7e8;
    background:#f7f9f9;
}

.cref19-editor-button{
    width:34px;
    height:32px;
    min-width:34px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid transparent;
    border-radius:6px;
    background:transparent;
    color:#263b3f;
    cursor:pointer;
    font-size:15px;
    line-height:1;
}

.cref19-editor-button:hover,
.cref19-editor-button:focus{
    border-color:#b9cbce;
    background:#fff;
    color:#1d626b;
    outline:none;
}

.cref19-editor-button.dashicons{
    font-family:dashicons;
    font-size:18px;
}

.cref19-editor-separator{
    width:1px;
    height:24px;
    margin:0 3px;
    background:#d5dfe1;
}

.cref19-rich-editor{
    min-height:330px;
    max-height:620px;
    overflow:auto;
    padding:14px 16px;
    color:#202729;
    background:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-size:14px;
    line-height:1.55;
    outline:none;
}

.cref19-rich-editor:focus{
    box-shadow:inset 0 0 0 2px rgba(29,98,107,.12);
}

.cref19-rich-editor.is-invalid{
    box-shadow:inset 0 0 0 2px rgba(214,54,56,.25);
}

.cref19-rich-editor:empty::before{
    content:attr(data-placeholder);
    color:#7c898c;
    pointer-events:none;
}

.cref19-rich-editor p,
.cref19-rich-editor div{
    margin:0 0 .75em;
}

.cref19-rich-editor ol,
.cref19-rich-editor ul{
    margin:.4em 0 .85em 1.7em;
}

.cref19-rich-source{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}


/* 1.4.3: barra de ferramentas autocontida; nao depende do arquivo Dashicons. */
.cref19-oficios-wrap .cref19-editor-toolbar .cref19-editor-button {
    box-sizing:border-box;
    appearance:none;
    display:inline-flex;
    position:relative;
    width:36px;
    min-width:36px;
    height:36px;
    padding:0;
    margin:0;
    align-items:center;
    justify-content:center;
    border:1px solid #d4e0e0;
    border-radius:7px;
    background:#fff;
    color:#233b40;
    font-family:Arial,Helvetica,sans-serif;
    font-size:15px;
    line-height:1;
    box-shadow:none;
    cursor:pointer;
}
.cref19-oficios-wrap .cref19-editor-toolbar .cref19-editor-button:hover,
.cref19-oficios-wrap .cref19-editor-toolbar .cref19-editor-button:focus-visible {
    background:#eaf6f1;
    color:#155e63;
    border-color:#69a79b;
    outline:2px solid transparent;
}
.cref19-oficios-wrap .cref19-editor-toolbar .cref19-editor-button svg {
    display:block;
    width:19px;
    height:19px;
    flex:none;
    fill:none;
    stroke:currentColor;
}
.cref19-oficios-wrap .cref19-editor-toolbar .cref19-editor-separator {
    display:block;
    flex:none;
}
