:root{
  --cine-green:#83be32;
  --cine-green-2:#4da43f;
  --cine-teal:#008b82;
  --cine-blue:#00769a;
  --cine-navy:#003943;
  --cine-navy-2:#005d70;
  --cine-ink:#132229;
  --cine-muted:#66757d;
  --cine-bg:#f4f8f7;
  --cine-card:#ffffff;
  --cine-border:#e3ece9;
  --cine-soft-green:#eef8e8;
  --cine-soft-blue:#eaf6fa;
  --cine-shadow:0 10px 30px rgba(9,53,62,.07);
  --cine-shadow-hover:0 16px 36px rgba(9,53,62,.12);
  --cine-radius:18px;
  --cine-sidebar:270px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;color:var(--cine-ink);background:var(--cine-bg);font-size:.95rem}
a{color:var(--cine-blue);text-underline-offset:3px}
a:hover{color:var(--cine-teal)}
.required:after{content:' *';color:#dc3545}
.field-builder-hidden{display:none!important}

/* Estrutura principal */
.cine-app{min-height:100vh;background:linear-gradient(180deg,#fbfdfc 0,#f4f8f7 100%)}
.cine-sidebar{position:fixed;inset:0 auto 0 0;width:var(--cine-sidebar);z-index:1045;background:linear-gradient(180deg,#00333c 0%,#005265 56%,#00768b 100%);color:#fff;display:flex;flex-direction:column;box-shadow:12px 0 30px rgba(0,39,47,.12);overflow:hidden}
.cine-sidebar-brand{position:relative;z-index:1;padding:22px 20px 12px}
.cine-logo-wrap{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:16px;padding:12px 14px;min-height:84px;box-shadow:0 8px 22px rgba(0,0,0,.1)}
.cine-logo{display:block;width:100%;max-width:198px;height:auto!important;max-height:62px;object-fit:contain;object-position:center}
.cine-intranet-label{display:block;margin-top:10px;text-align:center;color:rgba(255,255,255,.72);font-size:.68rem;letter-spacing:.25em;font-weight:700}
.cine-sidebar-scroll{position:relative;z-index:1;flex:1;overflow-y:auto;padding:6px 14px 18px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
.cine-nav-section{margin:10px 0 20px}
.cine-nav-section-title{padding:0 12px 8px;color:rgba(255,255,255,.56);text-transform:uppercase;font-size:.68rem;font-weight:700;letter-spacing:.09em}
.cine-side-link{display:flex;align-items:center;gap:11px;color:rgba(255,255,255,.88);text-decoration:none;padding:10px 12px;border-radius:11px;margin:2px 0;font-weight:500;transition:.18s ease;position:relative}
.cine-side-link:hover{color:#fff;background:rgba(255,255,255,.09);transform:translateX(2px)}
.cine-side-link.active{color:#fff;background:linear-gradient(100deg,rgba(112,183,44,.95),rgba(0,143,126,.74));box-shadow:0 7px 18px rgba(0,34,40,.16)}
.cine-nav-icon{width:19px;height:19px;flex:none}
.cine-sidebar-user{position:relative;z-index:2;margin:0 14px 16px;padding:12px;background:rgba(0,36,43,.42);border:1px solid rgba(255,255,255,.1);border-radius:14px;display:flex;gap:10px;align-items:center;backdrop-filter:blur(8px)}
.cine-avatar{width:39px;height:39px;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--cine-green),var(--cine-teal));color:#fff;font-weight:800;box-shadow:0 5px 14px rgba(0,0,0,.15)}
.cine-avatar.small{width:34px;height:34px;font-size:.82rem}
.cine-sidebar-user-text{min-width:0;flex:1;display:flex;flex-direction:column}
.cine-sidebar-user-text strong{font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cine-sidebar-user-text span{font-size:.73rem;color:rgba(255,255,255,.66);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cine-icon-button{width:34px;height:34px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:rgba(255,255,255,.72);transition:.18s}
.cine-icon-button:hover{color:#fff;background:rgba(255,255,255,.1)}
.cine-icon-button svg{width:18px;height:18px}
.cine-shell{margin-left:var(--cine-sidebar);min-height:100vh}
.cine-header{height:72px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--cine-border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;z-index:1030;backdrop-filter:blur(12px)}
.cine-header-left,.cine-header-actions,.cine-header-profile,.cine-header-action{display:flex;align-items:center}
.cine-header-left{gap:15px}
.cine-menu-toggle{border:0;background:transparent;width:38px;height:38px;border-radius:10px;padding:9px;display:none;flex-direction:column;justify-content:center;gap:4px}
.cine-menu-toggle:hover{background:#eef5f3}
.cine-menu-toggle span{display:block;width:19px;height:2px;background:#344e55;border-radius:4px}
.cine-header-context{line-height:1.05}
.cine-header-context span{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:#8b999d}
.cine-header-context strong{font-size:.92rem;color:var(--cine-navy)}
.cine-header-actions{gap:16px}
.cine-header-action{gap:7px;padding:8px 11px;border-radius:10px;text-decoration:none;color:#52636a;font-size:.82rem}
.cine-header-action:hover{background:#f0f6f4;color:var(--cine-teal)}
.cine-header-action svg{width:18px;height:18px}
.cine-header-profile{gap:9px;padding-left:14px;border-left:1px solid var(--cine-border)}
.cine-header-profile strong{font-size:.82rem;line-height:1.15}
.cine-header-profile span{font-size:.7rem;color:#7d8a90;line-height:1.15;margin-top:2px}
.cine-main{position:relative;max-width:1580px;margin:0 auto;padding:28px 30px 52px}
.cine-sidebar-overlay{display:none}

/* Cabeçalhos */
.cine-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px;padding:4px 2px}
.cine-page-header h1{font-size:clamp(1.55rem,2vw,2rem);font-weight:760;letter-spacing:-.025em;margin:0 0 5px;color:#102328}
.cine-page-header p{color:var(--cine-muted);margin:0;max-width:850px}
.cine-page-kicker{font-size:.7rem;text-transform:uppercase;letter-spacing:.13em;font-weight:750;color:var(--cine-teal);margin-bottom:7px}

/* Bootstrap refinado */
.card{border:1px solid var(--cine-border)!important;border-radius:var(--cine-radius)!important;background:var(--cine-card);box-shadow:var(--cine-shadow)!important;overflow:hidden}
.card-header{border-bottom:1px solid var(--cine-border)!important;background:#fff!important;padding:16px 20px!important}
.card-body{padding:20px}
.shadow-sm{box-shadow:var(--cine-shadow)!important}
.rounded-3,.rounded-4{border-radius:var(--cine-radius)!important}
.alert{border:0;border-radius:14px;box-shadow:0 6px 18px rgba(13,55,63,.04)}
.alert-success{background:#eef8e8;color:#2f6f28}
.alert-warning{background:#fff7df;color:#855d0d}
.alert-info{background:#eaf6fa;color:#1a6278}
.alert-danger{background:#fff0f0;color:#a33b3b}

.btn{border-radius:10px;font-weight:620;padding:.55rem .9rem;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary,.btn-success{border-color:transparent;background:linear-gradient(105deg,#5eae32,#15905e);box-shadow:0 6px 15px rgba(69,149,61,.17)}
.btn-primary:hover,.btn-success:hover{border-color:transparent;background:linear-gradient(105deg,#519c2b,#0d7f56);box-shadow:0 8px 18px rgba(69,149,61,.23)}
.btn-outline-primary,.btn-outline-success{border-color:#82bf70;color:#337b37}
.btn-outline-primary:hover,.btn-outline-success:hover{border-color:#5ca04f;background:#eef8e8;color:#25642c}
.btn-outline-secondary{border-color:#d5e0dd;color:#52636a}
.btn-outline-secondary:hover{background:#edf4f2;border-color:#c5d8d3;color:#344e55}
.btn-cine-light{background:#fff;border:1px solid var(--cine-border);color:#31525b;box-shadow:0 5px 14px rgba(8,54,62,.05)}
.btn-cine-light:hover{background:#f3f8f6;color:var(--cine-teal)}
.btn-cine-outline{border:1px solid rgba(0,118,154,.35);color:var(--cine-blue);background:#fff}
.btn-cine-outline:hover{background:var(--cine-soft-blue);color:#005e7c}

.form-label{font-weight:650;font-size:.84rem;color:#344c53;margin-bottom:.42rem}
.form-control,.form-select{border:1px solid #d7e3df;border-radius:10px;min-height:43px;background-color:#fff;color:#20353b;box-shadow:none;transition:.15s ease}
textarea.form-control{min-height:auto}
.form-control:focus,.form-select:focus{border-color:#62ad76;box-shadow:0 0 0 .22rem rgba(98,173,118,.12)}
.form-control::placeholder{color:#a1adb1}
.form-check-input:checked{background-color:var(--cine-green-2);border-color:var(--cine-green-2)}
.input-group>.form-control,.input-group>.form-select{border-radius:10px}
.input-group>.btn{border-radius:10px}
.form-text{color:#849196}
fieldset{border-color:var(--cine-border)!important;border-radius:14px!important}

.table{--bs-table-bg:transparent;--bs-table-hover-bg:#f6faf8;margin-bottom:0}
.table thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.055em;color:#78888d;font-weight:720;border-bottom:1px solid var(--cine-border);background:#fbfdfc;padding:.78rem 1rem;white-space:nowrap}
.table tbody td{padding:.82rem 1rem;border-color:#edf2f0;vertical-align:middle}
.table tbody tr:last-child td{border-bottom:0}
.table-responsive{border-radius:0 0 var(--cine-radius) var(--cine-radius)}

.badge{border-radius:999px;padding:.42em .7em;font-weight:650;letter-spacing:.01em}
.text-bg-success{background:#e9f6e3!important;color:#36742d!important}
.text-bg-warning{background:#fff2cd!important;color:#8b6508!important}
.text-bg-primary{background:#e4f3f7!important;color:#176980!important}
.text-bg-secondary{background:#edf2f2!important;color:#56666c!important}
.text-bg-info{background:#e9f6f8!important;color:#176979!important}
.text-bg-light{background:#f4f7f6!important;color:#53646a!important}

.nav-tabs{border-bottom:1px solid var(--cine-border);gap:4px}
.nav-tabs .nav-link{border:0;border-radius:9px 9px 0 0;color:#66777c;padding:.7rem .95rem}
.nav-tabs .nav-link.active{color:#34772f;background:#edf7e9;border-bottom:2px solid var(--cine-green)}
.accordion{--bs-accordion-border-color:var(--cine-border);--bs-accordion-border-radius:14px;--bs-accordion-inner-border-radius:13px}
.accordion-button:not(.collapsed){color:#2d6d32;background:#f0f8ed;box-shadow:none}

/* Dashboard */
.admin-hero{position:relative;overflow:hidden;border:0!important;background:linear-gradient(115deg,#fff 0,#f5fbf8 62%,#eaf7f2 100%)!important}
.admin-hero .card-body{position:relative;z-index:1}
.admin-hero h1{font-weight:780;letter-spacing:-.025em;color:#102328}
.cine-hero-brand-watermark{display:flex;align-items:center;justify-content:flex-end;width:100%;min-height:94px;pointer-events:none;user-select:none}
.cine-hero-brand-watermark img{display:block;width:min(230px,100%);height:auto;max-height:94px;object-fit:contain;object-position:right center;opacity:.13}
.admin-action-card{color:var(--cine-ink);border:1px solid var(--cine-border)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;background:#fff}
.admin-action-card:hover,.admin-action-card:focus{color:var(--cine-ink);transform:translateY(-4px);border-color:rgba(82,165,70,.35)!important;box-shadow:var(--cine-shadow-hover)!important}
.admin-action-card .card-body{display:flex;flex-direction:column;min-height:188px}
.admin-card-icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#edf8e8,#e7f5f7);font-size:1.2rem;font-weight:800;color:var(--cine-teal);margin-bottom:14px;letter-spacing:-.04em}
.admin-action-card h2{font-weight:720;color:#1d3035}
.admin-action-card p{font-size:.84rem;line-height:1.5;flex:1}

/* Itens-resumo */
.summary-item{height:100%;padding:1rem 1.05rem;border:1px solid var(--cine-border);border-radius:13px;background:#fbfdfc;transition:.15s ease}
.summary-item:hover{background:#fff;box-shadow:0 8px 18px rgba(9,53,62,.06)}
.summary-item span{display:block;font-size:.73rem;text-transform:uppercase;letter-spacing:.04em;color:#809095;margin-bottom:.3rem}
.summary-item strong{display:block;font-weight:650;overflow-wrap:anywhere;color:#263c42}
.preview-box{background:#f8fbfa;border:1px dashed #bdd1cb;border-radius:14px}
.card-step{border-left:4px solid var(--cine-green)!important}
.form-text-small{font-size:.875rem}
.invalid-feedback.d-block{display:block}
.permission-badge{font-size:.72rem}.user-admin-row{background:#fff9e6}

/* Editor de foto */
.photo-editor{border:1px solid #d9e6e1;border-radius:16px;padding:16px;background:#f8fbf9}
.photo-stage{position:relative;width:100%;max-width:520px;height:520px;background:#182024;overflow:hidden;border-radius:14px;touch-action:none;user-select:none}
.photo-stage canvas{width:100%;height:100%;display:block;cursor:move}
.crop-frame{position:absolute;left:50%;top:50%;width:300px;height:400px;transform:translate(-50%,-50%);border:3px solid #fff;box-shadow:0 0 0 9999px rgba(0,0,0,.45);border-radius:4px;pointer-events:none}
.photo-preview{width:180px;height:240px;object-fit:cover;border:1px solid #d9e2d9;border-radius:8px;background:#fff}
.photo-preview-inline{width:54px;height:72px;object-fit:cover;border:1px solid #d9e2d9;border-radius:6px;background:#fff}
.modal .photo-stage{max-width:520px}.photo-guidance-card{border:1px solid var(--cine-border);border-radius:14px;padding:12px;background:#f8fbf9}.photo-guidance-img{display:block;width:100%;max-width:360px;height:auto;border-radius:10px;margin:0 auto}

/* Modais */
.modal-content{border:0;border-radius:18px;box-shadow:0 25px 65px rgba(6,44,52,.2);overflow:hidden}
.modal-header{border-bottom:1px solid var(--cine-border);background:#fbfdfc}.modal-footer{border-top:1px solid var(--cine-border);background:#fbfdfc}

/* Página pública / autenticação */
.cine-public-page{min-height:100vh;background:radial-gradient(circle at 85% 10%,rgba(132,190,50,.12),transparent 28%),linear-gradient(160deg,#f7fbf9 0,#eef6f4 100%)}
.cine-public-header{background:#fff;border-bottom:1px solid var(--cine-border);padding:12px 0;box-shadow:0 4px 18px rgba(8,53,62,.04)}
.cine-public-logo-wrap{display:block;background:#fff}.cine-public-logo{display:block;width:auto;height:auto;max-width:190px;max-height:58px;object-fit:contain}
.cine-public-main{max-width:1150px}.cine-page-header-public{padding:10px 0 2px}
.cine-auth-page{min-height:100vh;background:radial-gradient(circle at 82% 18%,rgba(132,190,50,.16),transparent 25%),radial-gradient(circle at 12% 85%,rgba(0,118,154,.11),transparent 28%),#f4f8f7;display:flex;align-items:center;padding:28px}
.cine-auth-card{width:100%;max-width:470px;margin:auto;border:0!important}
.cine-auth-logo{display:block;width:auto;height:auto;max-width:230px;max-height:78px;object-fit:contain;margin:0 auto 22px}
.cine-auth-card .card-body{padding:30px}
.cine-auth-title{text-align:center;font-weight:760;letter-spacing:-.02em;margin-bottom:5px}
.cine-auth-subtitle{text-align:center;color:var(--cine-muted);font-size:.88rem;margin-bottom:24px}

/* Voltar ao topo */
.cine-back-to-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border-radius:50%;z-index:1080;border:0;background:linear-gradient(135deg,var(--cine-green-2),var(--cine-teal));color:#fff;box-shadow:0 10px 22px rgba(29,119,96,.25);opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s;display:flex;align-items:center;justify-content:center}
.cine-back-to-top svg{width:21px;height:21px}.cine-back-to-top.is-visible{opacity:1;visibility:visible;transform:none}.cine-back-to-top:hover{transform:translateY(-2px);box-shadow:0 13px 25px rgba(29,119,96,.3)}
/* Compatibilidade com nome antigo */
.back-to-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border-radius:50%;z-index:1080;opacity:0;visibility:hidden;transform:translateY(10px);transition:.2s}.back-to-top.is-visible{opacity:1;visibility:visible;transform:none}

/* Conteúdo científico */
.publication-title-rich sup,.publication-title-rich sub{line-height:0}.publication-title-rich math{max-width:100%;overflow-x:auto}.tox-tinymce .mce-content-body sup,.tox-tinymce .mce-content-body sub{line-height:0}.tox-tinymce{border-color:#d7e3df!important;border-radius:10px!important;overflow:hidden}

/* Responsividade */
@media (max-width:1199.98px){
  .cine-sidebar{transform:translateX(-102%);transition:transform .24s ease}
  .cine-shell{margin-left:0}
  .cine-menu-toggle{display:flex}
  .cine-sidebar-overlay{position:fixed;inset:0;background:rgba(0,29,35,.45);z-index:1040;opacity:0;visibility:hidden;display:block;transition:.2s}
  body.cine-sidebar-open{overflow:hidden}
  body.cine-sidebar-open .cine-sidebar{transform:none}
  body.cine-sidebar-open .cine-sidebar-overlay{opacity:1;visibility:visible}
}
@media (max-width:767.98px){
  .cine-header{height:64px;padding:0 14px}.cine-main{padding:20px 14px 44px}.cine-header-actions{gap:7px}.cine-header-action{padding:8px}.cine-header-profile{padding-left:7px;border-left:0}.cine-page-header{flex-direction:column;gap:13px}.cine-page-header .btn{width:100%}.card-body{padding:16px}.admin-hero .card-body{padding:22px!important}.table thead th,.table tbody td{padding:.7rem .8rem}.cine-public-main{padding-left:16px;padding-right:16px}
}
@media (max-width:576px){.photo-stage{height:420px}.crop-frame{width:240px;height:320px}.cine-auth-page{padding:14px}.cine-auth-card .card-body{padding:22px}.cine-sidebar{width:min(88vw,300px)}}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.admin-card-arrow{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#5b777f;background:#f4f8f7;font-size:1.05rem;transition:.18s}.admin-action-card:hover .admin-card-arrow{background:var(--cine-soft-green);color:#3d8736;transform:translateX(2px)}

/* Usuários e perfis */
.user-stat-card{height:100%;padding:1rem 1.1rem;border:1px solid var(--cine-border);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(8,53,62,.04)}
.user-stat-card span{display:block;color:#7a8b90;font-size:.74rem;text-transform:uppercase;letter-spacing:.045em;font-weight:680}
.user-stat-card strong{display:block;margin-top:.3rem;font-size:1.55rem;line-height:1.1;color:#1e363c;font-weight:760}
.user-stat-card-action{background:linear-gradient(135deg,#f4faf1,#edf8f6)}
.users-list-card{overflow:hidden}
.users-list-toolbar{background:#fbfdfc}
.users-table td:first-child{min-width:280px}
.user-avatar-initials{flex:0 0 42px;width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eaf6e5,#e5f4f5);color:#24765a;font-size:.78rem;font-weight:800;letter-spacing:.02em;border:1px solid #d8e9e2}
.user-profile-badge{display:inline-flex;align-items:center;min-height:28px;padding:.35rem .65rem;border-radius:999px;background:#f1f5f4;color:#53686e;font-size:.76rem;font-weight:680;white-space:nowrap}
.user-profile-badge.is-management{background:#e9f5ee;color:#33734a}
.user-status-pill{display:inline-flex;align-items:center;gap:.42rem;font-size:.79rem;font-weight:680;white-space:nowrap}
.user-status-pill span{width:8px;height:8px;border-radius:50%;display:inline-block}
.user-status-pill.is-active{color:#397640}.user-status-pill.is-active span{background:#69ae52;box-shadow:0 0 0 3px rgba(105,174,82,.12)}
.user-status-pill.is-inactive{color:#7b8588}.user-status-pill.is-inactive span{background:#a7b0b2;box-shadow:0 0 0 3px rgba(167,176,178,.13)}
.user-edit-status-box{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 15px;border:1px solid var(--cine-border);border-radius:12px;background:#f8fbfa}
.user-edit-status-box .form-switch .form-check-input{width:2.5em;height:1.35em;margin:0}
.min-w-0{min-width:0}
@media(max-width:767.98px){.users-table td:first-child{min-width:230px}.user-stat-card{padding:.85rem}.user-stat-card strong{font-size:1.3rem}}

/* Fluxo de aprovação — componente compartilhado em todos os perfis */
.cine-workflow{--wf-green:#68a942;--wf-teal:#237f72;--wf-blue:#14769a;--wf-muted:#8b9b9f;--wf-border:#dce8e4}
.cine-workflow-program{display:flex;flex-direction:column;gap:2px;margin-bottom:18px;padding:11px 13px;border:1px solid var(--wf-border);border-radius:12px;background:linear-gradient(135deg,#f7fbf8,#f2f8f7)}
.cine-workflow-program span{font-size:.67rem;text-transform:uppercase;letter-spacing:.075em;font-weight:750;color:#819296}.cine-workflow-program strong{font-size:.88rem;color:#29464c;line-height:1.3}
.cine-workflow-steps{display:flex;flex-direction:column}.cine-workflow-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;min-height:70px}
.cine-workflow-rail{position:relative;display:flex;justify-content:center}.cine-workflow-node{position:relative;z-index:2;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #d5e1de;background:#fff;color:#829397;font-size:.72rem;font-weight:800;box-shadow:0 2px 5px rgba(8,53,62,.04)}
.cine-workflow-line{position:absolute;top:27px;bottom:-1px;width:2px;background:#dfe9e6}.cine-workflow-card{margin-bottom:10px;padding:10px 12px;border:1px solid #e1eae7;border-radius:11px;background:#fff;transition:.18s}
.cine-workflow-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.cine-workflow-card strong{font-size:.82rem;line-height:1.25;color:#354d53}.cine-workflow-card small{display:block;margin-top:3px;color:#849397;font-size:.72rem;line-height:1.3}
.cine-workflow-state{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#f1f4f3;color:#7c898c;font-size:.61rem;line-height:1.2;font-weight:750;white-space:nowrap}
.cine-workflow-step.is-done .cine-workflow-node{border-color:var(--wf-green);background:var(--wf-green);color:#fff}.cine-workflow-step.is-done .cine-workflow-line{background:#a9cd94}.cine-workflow-step.is-done .cine-workflow-card{background:#f8fbf6;border-color:#dcebd3}.cine-workflow-step.is-done .cine-workflow-state{background:#e8f4e2;color:#4d8234}
.cine-workflow-step.is-current .cine-workflow-node{border-color:var(--wf-blue);background:#fff;color:var(--wf-blue);box-shadow:0 0 0 5px rgba(20,118,154,.1)}.cine-workflow-step.is-current .cine-workflow-card{border-color:#bcdce7;background:linear-gradient(135deg,#f7fbfd,#f1f8fa);box-shadow:0 5px 15px rgba(20,118,154,.07)}.cine-workflow-step.is-current .cine-workflow-state{background:#e3f2f7;color:#176d88}.cine-workflow-step.is-current .cine-workflow-card strong{color:#155e76}
.cine-workflow-step.is-view .cine-workflow-node{border-color:#87aaa2;color:#56887c;background:#f4faf8}.cine-workflow-step.is-view .cine-workflow-card{border-style:dashed;background:#fbfdfc}.cine-workflow-step.is-view .cine-workflow-state{background:#eef5f3;color:#5e8179}
.cine-workflow-return{display:flex;gap:10px;align-items:flex-start;margin-top:8px;padding:11px 12px;border:1px solid #f0d7a4;border-radius:11px;background:#fff9ed;color:#825e20}.cine-workflow-return-icon{width:26px;height:26px;flex:0 0 26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f8e7bf;font-weight:800}.cine-workflow-return strong,.cine-workflow-return small{display:block}.cine-workflow-return strong{font-size:.8rem}.cine-workflow-return small{margin-top:2px;font-size:.7rem;opacity:.82}.cine-workflow-return.is-neutral{border-color:#dce5e3;background:#f7f9f9;color:#657579}
@media(max-width:575.98px){.cine-workflow-step{grid-template-columns:30px minmax(0,1fr);gap:7px}.cine-workflow-node{width:25px;height:25px}.cine-workflow-line{top:24px}.cine-workflow-card-head{display:block}.cine-workflow-state{display:inline-flex;margin-top:5px}.cine-workflow-card{padding:9px 10px}}

/* Validação de formulários */
.dynamic-field .is-invalid { border-color: var(--bs-danger, #dc3545); }
.dynamic-field .cine-invalid-feedback { margin-top: .4rem; font-size: .875rem; }
