/* MasterPlating V955 — estilos do módulo Ocorrências; correção de arquivo CSS que continha JavaScript. */
.oc-wrap{width:100%;max-width:100%;margin:0 auto;padding:0 4px 24px;box-sizing:border-box;color:#183153;font-family:inherit;font-size:13px}
.oc-wrap *{box-sizing:border-box}
.oc-wrap .topbar,.oc-wrap .oc-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 16px;margin:0 0 16px;background:#fff;border:1px solid #d6e2f2;border-radius:12px;box-shadow:0 3px 12px rgba(22,55,96,.05)}
.oc-standard-header{border-left:3px solid #ff7900!important;min-height:78px}
.mp-header-copy{min-width:0}.mp-header-kicker{display:block;color:#647da0;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}.oc-wrap h1{font-size:23px;line-height:1.25;font-weight:650;margin:0 0 4px;color:#183153}.oc-wrap .mp-header-copy p,.oc-wrap .oc-page-head p{font-size:12px;color:#64748b;margin:0;line-height:1.5}.mp-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.oc-wrap button{font:inherit;cursor:pointer;border-radius:7px;padding:8px 12px;border:1px solid #cbd9eb;background:#fff;color:#24476f;transition:background .15s,border-color .15s,color .15s}.oc-wrap button:hover{border-color:#ff7900;color:#bd5900;background:#fff8f1}.oc-wrap button.primary,.oc-wrap .mp-header-btn.primary{background:#ff7900;color:#fff;border-color:#ff7900;font-weight:650}.oc-wrap button.primary:hover,.oc-wrap .mp-header-btn.primary:hover{background:#e96d00;border-color:#e96d00;color:#fff}
.oc-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 18px;width:100%;align-items:stretch}.oc-metric-card{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:112px;padding:16px;background:#fff;border:1px solid #d6e2f2;border-radius:12px;box-shadow:0 3px 12px rgba(22,55,96,.045);position:relative;overflow:hidden}.oc-metric-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#4778bd}.oc-metric-card.danger:before{background:#e65d5d}.oc-metric-card.warning:before{background:#e7a329}.oc-metric-card.success:before{background:#2c9b67}.oc-metric-icon{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#edf4ff;color:#3569a7;font-size:18px;font-weight:700}.oc-metric-card.danger .oc-metric-icon{background:#fff0ef;color:#c84949}.oc-metric-card.warning .oc-metric-icon{background:#fff6e5;color:#a66a00}.oc-metric-card.success .oc-metric-icon{background:#e9f8f0;color:#258254}.oc-metric-content{min-width:0;flex:1}.oc-metric-label{font-size:12px;font-weight:650;color:#526985;line-height:1.4;margin:1px 0 7px}.oc-metric-value{font-size:27px;line-height:1.1;font-weight:750;color:#183153;font-variant-numeric:tabular-nums;margin-bottom:6px}.oc-metric-description{font-size:11px;color:#8292a8;line-height:1.4;overflow-wrap:anywhere}.oc-metric-arrow{display:none}
.oc-wrap .card{background:#fff;border:1px solid #d6e2f2;border-radius:12px;padding:16px;margin:0 0 16px;box-shadow:0 3px 12px rgba(22,55,96,.04);min-width:0}.oc-wrap .card-head{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #e5edf7}.oc-wrap .card-head h3,.oc-wrap .oc-card h3{font-size:14px;font-weight:700;color:#183153;margin:0}.oc-wrap .card-head:before{content:"";width:3px;height:18px;background:#ff7900;border-radius:2px}.oc-wrap .grid{display:grid;gap:14px}.oc-wrap .grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.oc-field{display:flex;flex-direction:column;gap:6px;min-width:0}.oc-field label{font-size:12px;font-weight:650;color:#526985}.oc-field input,.oc-field select,.oc-field textarea,.oc-wrap input,.oc-wrap select,.oc-wrap textarea{width:100%;min-width:0;max-width:100%;font:inherit;color:#183153;background:#fff;border:1px solid #cbd9eb;border-radius:7px;padding:9px 10px;outline:none}.oc-wrap input:focus,.oc-wrap select:focus,.oc-wrap textarea:focus{border-color:#5688c9;box-shadow:0 0 0 3px rgba(86,136,201,.12)}.oc-wrap textarea{resize:vertical}.oc-wrap .table-wrap{width:100%;overflow-x:auto}.oc-wrap table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.oc-wrap th{background:#f3f7fc;color:#526985;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.025em;text-align:left;padding:12px;border-bottom:1px solid #d6e2f2;white-space:nowrap}.oc-wrap td{padding:12px;border-bottom:1px solid #e7eef7;color:#243f61;vertical-align:middle}.oc-wrap tbody tr:last-child td{border-bottom:0}.oc-wrap tbody tr:hover{background:#f8fbff}.oc-wrap .oc-status{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#e8f2ff;color:#2465a6;border:1px solid #cfe2fb}.oc-wrap .oc-status.ok{background:#e7f7ee;color:#22794d;border-color:#c9ebd7}.oc-wrap .oc-status.err{background:#fff0ef;color:#b43e3e;border-color:#f5d0cd}.oc-wrap .oc-status.warn{background:#fff6e5;color:#986300;border-color:#f3e0b2}.oc-wrap .oc-muted{font-size:11px;color:#8091a8;margin-top:4px}.oc-wrap .mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.oc-wrap .empty-state{padding:28px;text-align:center;color:#8091a8}.oc-wrap .oc-card{background:#fff;border:1px solid #d6e2f2;border-radius:12px;padding:18px;margin-bottom:16px;box-shadow:0 3px 12px rgba(22,55,96,.04)}.oc-wrap .oc-card>h3{padding-left:10px;border-left:3px solid #ff7900;margin-bottom:16px}.oc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.oc-form-grid .wide,.oc-form-grid .span2{grid-column:1/-1}.oc-footer-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid #e7eef7}.oc-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px}.oc-history{display:grid;gap:10px}.oc-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.oc-m-cause-field{min-width:0;padding:14px;border:1px solid #d6e2f2;border-top:3px solid #7652c8;border-radius:11px;background:#fff}.oc-m-cause-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.oc-m-cause-head label{font-size:13px;font-weight:750;color:#183153}.oc-m-cause-count{font-size:11px;font-weight:700;color:#7652c8;background:#f0eaff;border-radius:999px;padding:4px 8px;white-space:nowrap}.oc-m-cause-list{display:grid;gap:7px;margin-bottom:10px}.oc-m-cause-row{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;border:1px solid #ded4fa;border-left:3px solid #7652c8;border-radius:8px;background:#faf8ff}.oc-m-cause-index{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#7652c8;color:#fff;font-size:11px;font-weight:700}.oc-m-cause-text{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600}.oc-wrap .oc-m-cause-remove{width:28px;height:28px;padding:0;color:#c33;border-color:#f1c9c9}.oc-m-cause-empty{font-size:12px;color:#8191a6;padding:8px 2px}.oc-m-cause-add{display:block}.oc-m-cause-add input{width:100%}.oc-wrap .oc-next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oc-wrap .oc-demo-aviso{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fffaf0;border-left:4px solid #e7a329}.oc-wrap .oc-demo-aviso p{margin:5px 0 0;color:#65758b}.oc-wrap .oc-resumo{display:grid;grid-template-columns:1fr 1fr;gap:8px}.oc-wrap .oc-resumo dt{color:#71839a}.oc-wrap .oc-resumo dd{margin:0;font-weight:650;overflow-wrap:anywhere}
@media(max-width:1100px){.oc-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.oc-wrap .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.oc-wrap{padding:0 2px 18px}.oc-wrap .topbar,.oc-wrap .oc-page-head{align-items:flex-start;padding:14px;flex-direction:column}.oc-wrap h1{font-size:20px}.mp-header-actions{width:100%}.oc-wrap .mp-header-actions button{width:100%}.oc-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.oc-metric-card{min-height:100px;padding:12px 10px;gap:8px}.oc-metric-icon{width:28px;height:28px;flex-basis:28px;font-size:15px}.oc-metric-value{font-size:23px}.oc-metric-label{font-size:11px}.oc-metric-description{font-size:10px}.oc-wrap .grid-4,.oc-form-grid,.oc-wrap .oc-next-grid,.oc-matrix,.oc-grid{grid-template-columns:minmax(0,1fr)}.oc-form-grid .wide,.oc-form-grid .span2{grid-column:auto}.oc-wrap .card,.oc-wrap .oc-card{padding:12px}.oc-wrap .oc-demo-aviso{align-items:flex-start;flex-direction:column}.oc-wrap .oc-demo-aviso button{width:100%}.oc-wrap th,.oc-wrap td{padding:10px}.oc-wrap table{min-width:760px}}
@media(max-width:390px){.oc-metrics{grid-template-columns:minmax(0,1fr)}.oc-metric-card{min-height:84px}}


/* V956 — restauração do layout da visualização por etapas. Escopo restrito ao módulo. */
.oc-wrap.oc-detalhe .oc-stepper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;margin:0 0 14px;align-items:stretch}
.oc-wrap.oc-detalhe .oc-stepper .oc-step{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;min-width:0;min-height:76px;padding:10px 12px;text-align:left;white-space:normal;line-height:1.35;background:#fff;border:1px solid #cbd9eb;border-radius:9px;color:#24476f;overflow-wrap:anywhere}
.oc-wrap.oc-detalhe .oc-stepper .oc-step .num{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#edf3fb;color:#315d94;font-size:12px;font-weight:750}
.oc-wrap.oc-detalhe .oc-stepper .oc-step strong{display:block;font-size:12px;line-height:1.35;font-weight:750;color:#183153}
.oc-wrap.oc-detalhe .oc-stepper .oc-step small{display:block;font-size:11px;color:#667b96;line-height:1.35}
.oc-wrap.oc-detalhe .oc-stepper .oc-step .oc-step-hint{display:block;font-size:10px;color:#8191a6;line-height:1.35}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.done{border-color:#b8e2ca;background:#f5fbf7}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.done .num{background:#dff4e7;color:#21784b}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.active{border-color:#ff7900;box-shadow:inset 0 0 0 1px #ff7900}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.active .num{background:#ff7900;color:#fff}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.selected{background:#fff8f1;border-color:#ff7900}
.oc-wrap.oc-detalhe .oc-stepper .oc-step:hover{background:#f8fbff;border-color:#9eb8da;color:#24476f}
.oc-wrap.oc-detalhe .oc-selected-stage{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:0 0 12px;padding:10px 12px;background:#f5f8fc;border:1px solid #dce6f3;border-radius:8px;color:#526985;font-size:12px}
.oc-wrap.oc-detalhe .oc-selected-stage strong{color:#183153;font-size:13px}
.oc-wrap.oc-detalhe .oc-selected-stage em{font-style:normal;font-size:11px;color:#667b96;background:#e9eff7;border-radius:999px;padding:4px 8px}
.oc-wrap.oc-detalhe .oc-selected-stage em.current{background:#fff0df;color:#a94e00}
.oc-wrap.oc-detalhe .oc-selected-stage .oc-stage-edit-toggle{margin-left:auto}
.oc-wrap.oc-detalhe .oc-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}
.oc-wrap.oc-detalhe #oc-stage-content{min-width:0}
.oc-wrap.oc-detalhe .oc-card{min-width:0;padding:18px;margin:0 0 14px;background:#fff;border:1px solid #d6e2f2;border-radius:12px;box-shadow:0 3px 12px rgba(22,55,96,.04)}
.oc-wrap.oc-detalhe .oc-card>h3{margin:0 0 14px;padding:12px 14px;background:#e8f0fa;border-left:3px solid #ff7900;color:#183153;font-size:14px;line-height:1.4;font-weight:750}
.oc-wrap.oc-detalhe .oc-ctx{margin:0 0 16px;padding:14px;background:#f8fbff;border:1px solid #dce6f3;border-radius:9px}
.oc-wrap.oc-detalhe .oc-ctx-topo{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.oc-wrap.oc-detalhe .oc-ctx-titulo{font-weight:750;color:#183153}
.oc-wrap.oc-detalhe .oc-ctx-lock{font-size:11px;color:#667b96}
.oc-wrap.oc-detalhe .oc-ctx-itens{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px 16px}
.oc-wrap.oc-detalhe .oc-ctx-item{display:inline-flex;align-items:baseline;gap:4px;min-width:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.oc-wrap.oc-detalhe .oc-ctx-item small{color:#667b96;font-size:11px}
.oc-wrap.oc-detalhe .oc-ctx-item b{color:#183153;font-weight:700}
.oc-wrap.oc-detalhe .oc-ctx-desc{margin:12px 0 0;padding-top:10px;border-top:1px solid #e1eaf5;color:#24476f;line-height:1.5}
.oc-wrap.oc-detalhe .oc-resumo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:12px 0 0;font-size:12px}
.oc-wrap.oc-detalhe .oc-resumo dt{color:#667b96}.oc-wrap.oc-detalhe .oc-resumo dd{margin:0;text-align:right;color:#183153;font-weight:650;overflow-wrap:anywhere}
.oc-wrap.oc-detalhe .oc-history{display:grid;gap:10px}.oc-wrap.oc-detalhe .oc-event{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid #e7eef7}.oc-wrap.oc-detalhe .oc-event:last-child{border-bottom:0}.oc-wrap.oc-detalhe .oc-event strong{font-size:12px;color:#24476f}.oc-wrap.oc-detalhe .oc-event small{font-size:11px;color:#8191a6}.oc-wrap.oc-detalhe .oc-event span{font-size:12px;color:#526985}
@media(max-width:1100px){.oc-wrap.oc-detalhe .oc-stepper{grid-template-columns:repeat(3,minmax(0,1fr))}.oc-wrap.oc-detalhe .oc-grid{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:760px){.oc-wrap.oc-detalhe .oc-stepper{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.oc-wrap.oc-detalhe .oc-stepper .oc-step{min-height:70px;padding:9px}.oc-wrap.oc-detalhe .oc-grid{grid-template-columns:minmax(0,1fr)}.oc-wrap.oc-detalhe .oc-selected-stage .oc-stage-edit-toggle{margin-left:0}.oc-wrap.oc-detalhe .oc-card{padding:12px}}
@media(max-width:420px){.oc-wrap.oc-detalhe .oc-stepper{grid-template-columns:minmax(0,1fr)}.oc-wrap.oc-detalhe .oc-stepper .oc-step{min-height:0}}


/* V957 — cores distintas e semânticas para cada categoria dos 6M. */
.oc-wrap .oc-m-cause-field[data-oc-m-field="materiais"]{--m-accent:#2878c8;--m-soft:#eef6ff;--m-border:#c9def6}
.oc-wrap .oc-m-cause-field[data-oc-m-field="metodos"]{--m-accent:#7652c8;--m-soft:#f6f1ff;--m-border:#ded1fa}
.oc-wrap .oc-m-cause-field[data-oc-m-field="mao_de_obra"]{--m-accent:#16866b;--m-soft:#edf9f5;--m-border:#c5e8dc}
.oc-wrap .oc-m-cause-field[data-oc-m-field="maquinas"]{--m-accent:#c77b12;--m-soft:#fff7e9;--m-border:#f0dfbd}
.oc-wrap .oc-m-cause-field[data-oc-m-field="meio_ambiente"]{--m-accent:#38804a;--m-soft:#f0f8f0;--m-border:#d0e6d2}
.oc-wrap .oc-m-cause-field[data-oc-m-field="medidas"]{--m-accent:#c34d61;--m-soft:#fff1f3;--m-border:#f1cdd3}
.oc-wrap .oc-m-cause-field[data-oc-m-field]{border-top-color:var(--m-accent)}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-count{color:var(--m-accent);background:var(--m-soft)}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-row{border-color:var(--m-border);border-left-color:var(--m-accent);background:var(--m-soft)}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-index{background:var(--m-accent);color:#fff}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-remove{background:#fff}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-remove:hover{background:var(--m-soft);border-color:var(--m-accent);color:var(--m-accent)}

/* V958 — maior hierarquia visual nos títulos das categorias 6M. */
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-head{padding:0 0 9px;margin-bottom:12px;border-bottom:1px solid var(--m-border);align-items:center}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-head label{display:block;font-size:15px;font-weight:850;line-height:1.35;letter-spacing:.01em;color:var(--m-accent)}
.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-count{font-size:11px;font-weight:800;border:1px solid var(--m-border);padding:5px 9px}
@media(max-width:520px){.oc-wrap .oc-m-cause-field[data-oc-m-field] .oc-m-cause-head label{font-size:14px}}


/* V959 — destaque do cabeçalho e da descrição da ocorrência. */
.oc-wrap.oc-detalhe .oc-ctx{padding:17px 18px 15px;border-color:#bfd2eb;border-left:4px solid #ff7900;background:linear-gradient(110deg,#f3f7fd 0%,#ffffff 72%);box-shadow:0 3px 12px rgba(22,55,96,.07)}
.oc-wrap.oc-detalhe .oc-ctx-topo{margin-bottom:13px;padding-bottom:11px;border-bottom:1px solid #d7e3f2}
.oc-wrap.oc-detalhe .oc-ctx-titulo{font-size:17px;font-weight:850;line-height:1.35;letter-spacing:.01em;color:#12345a}
.oc-wrap.oc-detalhe .oc-ctx-lock{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #f0d5a7;border-radius:999px;background:#fff8e9;color:#8a5a08;font-weight:700}
.oc-wrap.oc-detalhe .oc-ctx-itens{gap:10px 20px}
.oc-wrap.oc-detalhe .oc-ctx-item{font-size:13px;line-height:1.55}
.oc-wrap.oc-detalhe .oc-ctx-item small{font-size:11px;font-weight:600;color:#5c7391}
.oc-wrap.oc-detalhe .oc-ctx-item b{font-weight:800;color:#16385f}
.oc-wrap.oc-detalhe .oc-ctx-desc{margin-top:13px;padding:12px 13px 2px;border-top:1px solid #d7e3f2;border-left:3px solid #8eadd5;background:#f7faff;color:#16385f;font-size:14px;font-weight:650;line-height:1.55}
@media(max-width:600px){.oc-wrap.oc-detalhe .oc-ctx{padding:13px}.oc-wrap.oc-detalhe .oc-ctx-titulo{font-size:15px}.oc-wrap.oc-detalhe .oc-ctx-item{font-size:12px}}


/* V960 — Histórico/auditoria compacto: prioriza leitura rápida e reduz altura lateral. */
.oc-wrap.oc-detalhe .oc-history{display:grid;gap:0;max-height:420px;overflow-y:auto;padding-right:4px;scrollbar-width:thin}
.oc-wrap.oc-detalhe .oc-event{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:7px 0;border-bottom:1px solid #e7eef7}
.oc-wrap.oc-detalhe .oc-event strong{font-size:11px;line-height:1.3;font-weight:750;color:#24476f}
.oc-wrap.oc-detalhe .oc-event small{font-size:10px;line-height:1.35;color:#8191a6}
.oc-wrap.oc-detalhe .oc-event span{font-size:10px;line-height:1.35;color:#526985}
.oc-wrap.oc-detalhe .oc-history::-webkit-scrollbar{width:5px}
.oc-wrap.oc-detalhe .oc-history::-webkit-scrollbar-thumb{background:#c8d6e8;border-radius:8px}
@media(max-width:760px){.oc-wrap.oc-detalhe .oc-history{max-height:300px}}

/* V961 — maior destaque visual nos títulos das etapas, mantendo o padrão MasterPlating. */
.oc-wrap.oc-detalhe .oc-stepper .oc-step{gap:6px;padding:11px 12px;min-height:82px;border-width:1px}
.oc-wrap.oc-detalhe .oc-stepper .oc-step strong{font-size:14px;line-height:1.3;font-weight:800;color:#102b4e;letter-spacing:-.1px;margin-top:1px}
.oc-wrap.oc-detalhe .oc-stepper .oc-step .num{width:26px;height:26px;flex-basis:26px;font-size:13px;font-weight:800;box-shadow:0 0 0 3px rgba(49,93,148,.08)}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.done strong{color:#17633f}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.done{border-top:3px solid #159567;background:#f1faf5}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.done .num{background:#159567;color:#fff;box-shadow:0 0 0 3px #d8f2e4}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.active,.oc-wrap.oc-detalhe .oc-stepper .oc-step.selected{border:2px solid #ff7900;border-top-width:4px;background:#fff5e9;box-shadow:0 3px 10px rgba(255,121,0,.14)}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.active strong,.oc-wrap.oc-detalhe .oc-stepper .oc-step.selected strong{color:#9a4300;font-size:14px;font-weight:850}
.oc-wrap.oc-detalhe .oc-stepper .oc-step.active .num,.oc-wrap.oc-detalhe .oc-stepper .oc-step.selected .num{background:#ff7900;color:#fff;box-shadow:0 0 0 4px #ffe2c3}
.oc-wrap.oc-detalhe .oc-stepper .oc-step small{font-size:11px;font-weight:600;color:#435d7c}
.oc-wrap.oc-detalhe .oc-stepper .oc-step .oc-step-hint{font-size:10px;color:#687f99}
@media(max-width:760px){.oc-wrap.oc-detalhe .oc-stepper .oc-step{min-height:78px}.oc-wrap.oc-detalhe .oc-stepper .oc-step strong{font-size:13px}}

/* V962 — Modal de verificação montado em document.body: estilos globais isolados pelo ID. */
#oc-verification-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(13,31,55,.55);box-sizing:border-box;overflow-y:auto}
#oc-verification-modal *,#oc-verification-modal *::before,#oc-verification-modal *::after{box-sizing:border-box}
#oc-verification-modal .oc-modal{width:min(100%,610px);max-height:calc(100vh - 40px);overflow-y:auto;margin:auto;background:#fff;border:1px solid #d5e1f1;border-radius:14px;box-shadow:0 18px 60px rgba(12,35,66,.25);padding:0;color:#16355d;font-family:inherit}
#oc-verification-modal .oc-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #e1eaf5;border-left:4px solid #ff7900;background:#f8fbff}
#oc-verification-modal .oc-modal-kicker{display:block;font-size:10px;letter-spacing:.7px;font-weight:750;color:#6b83a3;margin-bottom:5px}
#oc-verification-modal h2{margin:0;font-size:20px;line-height:1.3;color:#12345d;font-weight:800}
#oc-verification-modal .oc-modal-close{width:32px;height:32px;flex:none;border:1px solid #d4e0ee;border-radius:8px;background:#fff;color:#55708f;font-size:21px;cursor:pointer}
#oc-verification-modal .oc-modal-description{margin:0;padding:16px 24px 8px;color:#607793;font-size:13px;line-height:1.5}
#oc-verification-modal .oc-modal-action{display:flex;flex-direction:column;gap:4px;margin:4px 24px 16px;padding:12px 14px;background:#f2f6fc;border:1px solid #dce7f4;border-left:3px solid #ff7900;border-radius:8px}
#oc-verification-modal .oc-modal-action small{font-size:11px;color:#637b9a}
#oc-verification-modal .oc-modal-action strong{font-size:14px;color:#173a64}
#oc-verification-modal .oc-modal-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:0 24px 18px}
#oc-verification-modal .oc-field{display:flex;flex-direction:column;gap:6px;min-width:0}
#oc-verification-modal .oc-modal-wide{grid-column:1/-1}
#oc-verification-modal label{font-size:12px;font-weight:750;color:#284b73}
#oc-verification-modal select,#oc-verification-modal input,#oc-verification-modal textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid #c8d8eb;border-radius:8px;background:#fff;color:#16355d;font:inherit;font-size:13px;outline:none}
#oc-verification-modal textarea{min-height:94px;resize:vertical}
#oc-verification-modal select:focus,#oc-verification-modal input:focus,#oc-verification-modal textarea:focus{border-color:#2875cb;box-shadow:0 0 0 3px rgba(40,117,203,.12)}
#oc-verification-modal .oc-modal-help{font-size:11px;line-height:1.45;color:#7185a0}
#oc-verification-modal .oc-modal-error:not([hidden]){margin:0 24px 12px;padding:10px;border-radius:7px;background:#fff0f0;color:#a32424;font-size:12px}
#oc-verification-modal .oc-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:15px 24px;background:#f8fbff;border-top:1px solid #e1eaf5}
#oc-verification-modal .oc-modal-actions button{min-height:38px;padding:9px 15px;border-radius:8px;font-size:12px;font-weight:750;cursor:pointer}
#oc-verification-modal .oc-modal-actions .secondary{border:1px solid #bcd0e9;background:#fff;color:#255b99}
#oc-verification-modal .oc-modal-actions .primary{border:1px solid #ee7600;background:#ff850f;color:#fff}
#oc-verification-modal .oc-modal-actions button:disabled{opacity:.6;cursor:wait}
@media(max-width:580px){#oc-verification-modal{padding:10px}#oc-verification-modal .oc-modal{max-height:calc(100vh - 20px)}#oc-verification-modal .oc-modal-fields{grid-template-columns:1fr}#oc-verification-modal .oc-modal-head{padding:16px}#oc-verification-modal .oc-modal-description{padding:14px 16px 8px}#oc-verification-modal .oc-modal-action{margin:4px 16px 14px}#oc-verification-modal .oc-modal-fields{padding:0 16px 16px}#oc-verification-modal .oc-modal-actions{padding:12px 16px}}


/* V963 — anexos fotográficos na abertura da ocorrência */
.oc-wrap .oc-photo-field{margin-top:4px}
.oc-wrap .oc-photo-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:124px;padding:18px;border:1.5px dashed #9bb8dc;border-radius:10px;background:#f7faff;color:#16355d;text-align:center;transition:border-color .15s,background .15s}
.oc-wrap .oc-photo-drop:hover{border-color:#f58212;background:#fffaf4}
.oc-wrap .oc-photo-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.oc-wrap .oc-photo-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e7f0fc;color:#2875cb;font-size:23px}
.oc-wrap .oc-photo-drop strong{font-size:13px;font-weight:750}
.oc-wrap .oc-photo-drop small{font-size:11px;color:#627b9b}
.oc-wrap .oc-photo-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin-top:10px}
.oc-wrap .oc-photo-thumb{position:relative;min-width:0;padding:6px;border:1px solid #d6e2f2;border-radius:9px;background:#fff}
.oc-wrap .oc-photo-thumb img{display:block;width:100%;height:88px;object-fit:cover;border-radius:5px}
.oc-wrap .oc-photo-thumb span{display:block;overflow:hidden;margin-top:5px;color:#536d8d;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.oc-wrap .oc-photo-thumb button{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #f2b8b8;border-radius:7px;background:#fff;color:#b42318;font-size:17px;cursor:pointer}
@media(max-width:640px){.oc-wrap .oc-photo-drop{min-height:108px;padding:12px}.oc-wrap .oc-photo-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V965 — fotos no detalhe/edição da ocorrência */
.oc-wrap .oc-photo-field{grid-column:1/-1;margin-top:12px;padding:14px;border:1px dashed #b8cbe4;border-radius:10px;background:#f8fbff}.oc-wrap .oc-photo-field>label{display:block;font-weight:750;color:#24476f;margin-bottom:10px}.oc-wrap .oc-photo-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:112px;padding:18px;border:1px dashed #9bb5d6;border-radius:9px;background:#fff;text-align:center}.oc-wrap .oc-photo-drop input{max-width:100%;font:inherit}.oc-wrap .oc-photo-drop strong{color:#24476f}.oc-wrap .oc-photo-drop small,.oc-wrap .oc-no-photos{color:#6b7f99;font-size:12px}.oc-wrap .oc-photo-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.oc-wrap .oc-photo-thumb{display:flex;flex-direction:column;gap:5px;width:118px;min-width:0;padding:6px;border:1px solid #d6e2f2;border-radius:8px;background:#fff;color:#24476f;text-decoration:none;font-size:11px;overflow:hidden}.oc-wrap .oc-photo-thumb img{display:block;width:100%;height:82px;object-fit:cover;border-radius:5px}.oc-wrap .oc-photo-thumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-wrap .oc-no-photos{margin:0 0 8px}.oc-wrap .oc-photo-existing:empty{display:none}
@media(max-width:640px){.oc-wrap .oc-photo-thumb{width:calc(50% - 6px)}.oc-wrap .oc-photo-thumb img{height:100px}}
