
.cc-shell{display:grid;gap:18px;color:#ecfff8}
.cc-headerline{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:8px 4px}
.cc-titlewrap{display:flex;align-items:center;gap:16px}
.cc-titlewrap h2{margin:0;color:#fff;font-size:2.35rem;line-height:1}
.cc-titlewrap p{margin:6px 0 0;color:#d6f6ea;font-size:1.15rem}
.cc-title-icon,.cc-inline-icon,.cc-tab-icon,.cc-preview-note span,.cc-mini-chip span{display:inline-flex;align-items:center;justify-content:center}
.cc-title-icon{width:72px;height:72px;border-radius:22px;background:linear-gradient(135deg,#0a4b3d,#0b2f28);border:1px solid #4ea388;color:#baf6cf;box-shadow:0 14px 35px rgba(0,0,0,.18)}
.cc-title-icon svg{width:38px;height:38px}
.cc-head-status{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cc-mini-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#dff7ec;font-weight:700}
.cc-mini-chip svg{width:18px;height:18px}
.cc-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cc-tab-card{position:relative;display:flex;align-items:center;gap:14px;justify-content:flex-start;text-align:left;border-radius:22px;padding:20px 18px;min-height:122px;background:linear-gradient(145deg,#0d4a3e,#0c3a31)!important;border:1px solid #3d8a75;color:#fff;box-shadow:0 16px 34px rgba(0,0,0,.13)}
.cc-tab-card.active,.cc-tab-card.btn-primary{background:linear-gradient(135deg,#1fb457,#e0d31c)!important;color:#11281f;border-color:#e4d528}
.cc-tab-card[disabled]{opacity:.55;filter:saturate(.6)}
.cc-tab-icon{width:52px;height:52px;flex:none;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:inherit}
.cc-tab-card.active .cc-tab-icon,.cc-tab-card.btn-primary .cc-tab-icon{background:rgba(255,255,255,.18);border-color:rgba(17,40,31,.14)}
.cc-tab-icon svg{width:28px;height:28px}
.cc-tab-copy{display:grid;gap:4px;min-width:0}
.cc-tab-copy strong{font-size:1.15rem;line-height:1.15}
.cc-tab-copy small{font-size:.95rem;color:inherit;opacity:.92}
.cc-tab-count{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#d8ffd6;color:#163f2e;font-weight:800}
.cc-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:18px}
.cc-card{background:linear-gradient(180deg,#0d473c,#0d3b32);border:1px solid #387f6b;border-radius:26px;padding:20px;box-shadow:0 16px 40px rgba(0,0,0,.14)}
.cc-card h3,.cc-card h4{margin:0;color:#fff}
.cc-card p,.cc-card li,.cc-card small{color:#d6f6ea}
.cc-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.cc-process-head h3{display:flex;align-items:center;gap:10px;font-size:1.35rem}
.cc-inline-icon{width:24px;height:24px;color:#b9ffbf}
.cc-inline-icon svg{width:100%;height:100%}
.cc-badge{background:#d7fff0;color:#0f5645;border-radius:999px;padding:7px 12px;font-weight:700;font-size:.85rem}
.cc-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 24px}
.cc-step{position:relative;text-align:center;padding:0 6px}
.cc-step:not(:last-child)::after{content:"";position:absolute;top:20px;left:58%;right:-42%;height:3px;background:linear-gradient(90deg,#7fe889,#6c8f85)}
.cc-step-ball{width:40px;height:40px;border-radius:999px;margin:0 auto 10px;background:#0d5546;border:2px solid #7be08f;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800}
.cc-step.active .cc-step-ball{background:linear-gradient(135deg,#98ec94,#1aac57);color:#0d3b2f}
.cc-step strong{display:block;color:#eefef6;font-size:1.02rem}
.cc-panel-stage{background:linear-gradient(180deg,rgba(14,76,63,.88),rgba(12,61,51,.9));border:1px solid #2f7d69;border-radius:22px;padding:18px;margin-top:16px}
.cc-panel-stage:first-of-type{margin-top:0}
.cc-stage-head{display:grid;gap:4px;margin-bottom:14px}
.cc-stage-head h4{display:flex;align-items:center;gap:10px;font-size:1.18rem}
.cc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cc-fields-main .cc-field:first-child,.cc-fields-main .cc-field:nth-child(3){grid-column:auto}
.cc-fields-dates{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
.cc-fields-bottom{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(180px,.4fr));align-items:end}
.cc-field,.cc-check{display:flex;flex-direction:column;gap:6px}
.cc-check{justify-content:center;background:#0f5645;border:1px solid #2f866f;padding:12px 14px;border-radius:16px;color:#fff;flex-direction:row;align-items:center}
.cc-field span{display:flex;align-items:center;gap:8px;font-weight:700;color:#f0fff9}
.cc-field span svg{width:18px;height:18px;flex:none}
.cc-field input,.cc-field select,.cc-entry input,.cc-model-editor input,.cc-model-editor select{width:100%;box-sizing:border-box;background:#0d2f28;color:#f4fff9;border:1px solid #4f9d88;border-radius:14px;min-height:48px;padding:10px 12px;font:inherit}
.cc-entry input{min-height:42px}
.cc-student-resume{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.cc-resume-card{background:#0f5645;border:1px solid #2e7f6a;border-radius:18px;padding:14px;display:grid;gap:4px;position:relative;overflow:hidden}
.cc-resume-card::before{content:"";position:absolute;inset:auto 0 0 0;height:3px;background:linear-gradient(90deg,#8df394,#dcd82e)}
.cc-resume-card strong{color:#fff;font-size:1.05rem}
.cc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.cc-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:1 1 180px;border-radius:18px;min-height:52px;font-weight:800}
.cc-actions .btn svg{width:20px;height:20px}
.cc-actions-first .btn:first-child,.cc-actions-finish .btn:last-child{background:linear-gradient(135deg,#1fb457,#e0d31c)!important;color:#122720;border:none}
.cc-actions-first .btn:last-child,.cc-actions-finish .btn:first-child,#ccDownload.btn{background:transparent!important;border:1px solid #76bb93;color:#effff7}
.cc-mini-actions{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 0}
.cc-mini-actions .btn{display:inline-flex;align-items:center;gap:8px}
.cc-mini-actions .btn svg{width:18px;height:18px}
.cc-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.cc-summary>div{background:#0f5645;border:1px solid #2f866f;border-radius:16px;padding:14px;display:grid;gap:3px}
.cc-summary strong{color:#fff}.cc-summary span{font-size:1.15rem;font-weight:700;color:#dff7ec}
.cc-summary-review{margin-top:0}
.cc-status{min-height:22px;margin-top:10px;font-weight:700}.cc-status.ok{color:#b8ffd4}.cc-status.warn{color:#ffe08a}.cc-status.bad{color:#ffb1b1}
.cc-helper-note,.cc-preview-note{display:flex;gap:10px;align-items:flex-start;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);padding:12px 14px;border-radius:16px;margin-top:14px}
.cc-helper-note .cc-inline-icon,.cc-preview-note .cc-inline-icon{flex:none;margin-top:1px}
.cc-side{display:grid;gap:18px;align-content:start}
.cc-help-box ol{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.cc-help-box li{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start}
.cc-help-box li::before{content:counter(item);counter-increment:item;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#98ec94;color:#103d30;font-weight:800}
.cc-help-box ol{counter-reset:item}
.cc-preview-card h3{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.cc-empty{padding:16px;border:1px dashed #5eac95;border-radius:16px;color:#d9fff1;text-align:center;display:grid;gap:12px;justify-items:center}
.cc-preview-placeholder{width:100%;display:grid;place-items:center}
.cc-preview-sheet{width:min(100%,270px);aspect-ratio:1.4;background:linear-gradient(180deg,#f9f6eb,#ece8d8);border-radius:18px;border:8px solid #fff;box-shadow:0 16px 24px rgba(0,0,0,.18);position:relative;padding:24px}
.cc-preview-sheet::before,.cc-preview-sheet::after{content:"";position:absolute;background:#97cf8a;opacity:.7}.cc-preview-sheet::before{width:54px;height:54px;left:0;top:0;clip-path:polygon(0 0,100% 0,0 100%)}.cc-preview-sheet::after{width:54px;height:54px;right:0;bottom:0;clip-path:polygon(100% 0,100% 100%,0 100%)}
.cc-preview-brand{font-size:1.45rem;color:#12365b;font-weight:900;text-align:center;margin-top:10px}
.cc-preview-lines{height:74px;margin:26px 18px;background:linear-gradient(#c9cbcb 0 0) center 12px/75% 6px no-repeat,linear-gradient(#d2d4d5 0 0) center 40px/68% 6px no-repeat,linear-gradient(#d2d4d5 0 0) 36% 68px/24% 6px no-repeat,linear-gradient(#d2d4d5 0 0) 72% 68px/18% 6px no-repeat}
.cc-preview-seal{width:34px;height:34px;border-radius:999px;background:radial-gradient(circle at 30% 30%,#f8e168,#dfad1d);margin:0 auto;border:4px solid #c28d16;box-shadow:0 0 0 5px rgba(194,141,22,.2)}
.cc-list{display:grid;gap:12px}.cc-list-item{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px;border-radius:18px;background:#0f5645;border:1px solid #2f866f}.cc-list-item strong{display:block;color:#fff}.cc-list-item small{display:block;margin-top:2px}.cc-list-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cc-list-actions .btn{display:inline-flex;align-items:center;gap:8px}
.cc-model-editor{margin-bottom:16px;padding:16px;border-radius:18px;background:#0f5645;border:1px solid #2f866f}.cc-model-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 52px;gap:8px;margin:10px 0}
.cc-entry{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(120px,.7fr));gap:10px;align-items:end;background:#0e4036;border:1px solid #2d7a67;padding:14px;border-radius:18px;margin-bottom:10px}.cc-entry-title{display:grid;gap:4px}
.cc-preview-wrap{display:grid;gap:14px;justify-items:center}.cc-preview-wrap canvas,#ccPages canvas{display:block;width:min(100%,960px);height:auto;margin:0 auto;background:#fff;border-radius:18px;padding:10px;box-shadow:0 8px 20px rgba(0,0,0,.12);border:1px solid rgba(255,255,255,.45)}.pill.ok{background:#ddffec;color:#176144;padding:4px 10px;border-radius:999px}.pill.warn{background:#fff1c7;color:#8a6200;padding:4px 10px;border-radius:999px}
.cc-edit-personal{grid-column:1/-1;justify-self:start}.cc-personal{margin:12px 0;border-color:#79c7a9}.cc-personal-note{font-size:.9rem}.cc-personal [role=status]{color:#ffe2a4}
.cc-consulta{margin:14px 0;background:#0a3029}.cc-consulta textarea{width:100%;padding:12px;background:#103d34;color:#fff;border:1px solid #589583;border-radius:12px;resize:vertical}.cc-consulta .cc-actions{margin-bottom:12px}.cc-consulta [data-identificar]{margin:10px 0}.cc-consulta [data-comparacao]{overflow-wrap:anywhere}.cc-consulta a{text-decoration:none;text-align:center}
#ccCustomize[hidden]{display:none!important}#ccCustomize{margin:16px 0}.cc-custom-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}.cc-custom-row input[type=number]{width:85px}.cc-custom-row input[type=checkbox]{width:auto}
.cc-title-icon svg,.cc-inline-icon svg,.cc-tab-icon svg,.cc-field span svg,.cc-mini-actions .btn svg,.cc-actions .btn svg,.cc-preview-note svg,.cc-mini-chip svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media (max-width: 1100px){.cc-grid{grid-template-columns:1fr}.cc-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-head-status{justify-content:flex-start}}
@media (max-width: 840px){.cc-headerline{flex-direction:column}.cc-titlewrap h2{font-size:2rem}.cc-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-student-resume,.cc-fields,.cc-summary,.cc-fields-bottom{grid-template-columns:1fr}.cc-entry{grid-template-columns:1fr}}
@media (max-width: 640px){.cc-tabs{grid-template-columns:1fr}.cc-tab-card{min-height:unset;padding:16px}.cc-card{padding:16px;border-radius:22px}.cc-title-icon{width:58px;height:58px}.cc-titlewrap h2{font-size:1.7rem}.cc-titlewrap p{font-size:1rem}.cc-stepper{grid-template-columns:1fr}.cc-step:not(:last-child)::after{display:none}.cc-actions .btn{flex:1 1 100%}.cc-list-item{flex-direction:column;align-items:flex-start}.cc-list-actions{justify-content:flex-start}}

/* Limita todos os ícones da central, inclusive os botões fora dos grupos. */
.cc-shell svg,.cc-pin-dialog svg{width:24px;height:24px;max-width:100%;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.cc-shell .cc-title-icon svg{width:38px;height:38px}.cc-shell .cc-tab-icon svg{width:28px;height:28px}.cc-shell .cc-field span svg{width:18px;height:18px}.cc-shell .btn svg,.cc-pin-dialog .btn svg{width:20px;height:20px}.cc-shell #ccPinSettings{display:inline-flex;align-items:center;justify-content:center;gap:9px;justify-self:start;max-width:100%;min-height:44px}.cc-pin-dialog{box-sizing:border-box;max-height:90vh;overflow:auto}.cc-pin-dialog::backdrop{background:rgba(0,0,0,.55)}

@media print { #ccPages:has(canvas[data-draft-preview="true"]) { display:none!important; } #ccPreviewBox:has(canvas[data-draft-preview="true"])::after { content:"RASCUNHO SEM VALIDADE OFICIAL — IMPRESSÃO BLOQUEADA"; display:block; color:#111; } }

#ccPreviewEmpty{display:none!important} #ccDownload[hidden],#ccPages[hidden]{display:none!important} #ccDownload:not([hidden]){display:inline-flex!important;text-decoration:none;cursor:pointer;align-items:center;justify-content:center;width:100%} #ccDownloadStatus:empty{display:none}

/* Oculta apenas a ilustração de espera, preservando as páginas reais. */
#ccPreviewBox #ccPreviewEmpty,#ccPreviewBox .cc-preview-placeholder,#ccPreviewBox .cc-preview-sheet,#ccPreviewBox .cc-empty:has(.cc-preview-placeholder),#ccPreviewBox .cc-empty:has(.cc-preview-sheet){display:none!important;}
