﻿/* Empresa: regras restritas ao painel preservam os outros módulos. */
#painelEmpresaSistema { --empresa-azul:#0876ef; --empresa-borda:#e4eaf1; color:#142334; min-width:0; }
#mensagemEmpresa { margin:0 0 14px; padding:11px 15px; border:1px solid #dce5ee; border-radius:10px; background:#edf3f8; color:#526579; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
#mensagemEmpresa:empty { display:none; }
.empresa-identificacao { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; }
#painelEmpresaSistema button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; margin:0; border-radius:7px; font-size:13px; line-height:1.3; transition:background .15s,border-color .15s; }
#painelEmpresaSistema button svg { width:18px; height:18px; flex:0 0 18px; }
#painelEmpresaSistema button:focus-visible,#painelEmpresaSistema input:focus-visible,#painelEmpresaSistema textarea:focus-visible { outline:3px solid #74b7ff; outline-offset:3px; }
#painelEmpresaSistema button:disabled { opacity:.55; cursor:not-allowed; }
.empresa-grade { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:stretch; }
#painelEmpresaSistema .empresa-cartao { min-width:0; margin:0; padding:18px 20px; border:1px solid var(--empresa-borda); border-radius:13px; background:linear-gradient(145deg,#fff,#fafbfd); box-shadow:0 3px 12px #172d4410; overflow-wrap:anywhere; }
#painelEmpresaSistema .empresa-cartao-titulo { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:12px; margin:0 0 4px; padding-bottom:11px; border-bottom:1px solid var(--empresa-borda); }
.empresa-cartao-titulo h3 { display:flex; align-items:center; gap:11px; min-width:0; margin:0; color:#132234; font-size:17px; line-height:1.3; letter-spacing:-.025em; }
.empresa-icone { display:inline-grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:50%; background:var(--empresa-azul); color:#fff; box-shadow:0 3px 8px #0876ef20; }
.empresa-icone svg { width:20px; height:20px; }
#painelEmpresaSistema .empresa-botao-editar { flex:0 0 auto; width:auto; padding:8px 11px; border:1px solid #b3d2f8; background:#f6faff; color:#0769d6; }
#painelEmpresaSistema .empresa-botao-editar:hover { background:#e7f2ff; border-color:#69a8f2; }
.empresa-dados { margin:0; }
.empresa-dado { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:10px 18px; padding:9px 0; border-bottom:1px solid #e8edf3; font-size:13px; line-height:1.45; }
.empresa-dado:last-child { border-bottom:0; }
.empresa-dado dt { min-width:0; margin:0; color:#52677d; }
.empresa-dado dd { min-width:0; margin:0; white-space:pre-wrap; color:#172638; }
.empresa-dado .empresa-nao-informado { color:#718091; }
#empresa-atividades .empresa-dado { padding:15px 0; }
.empresa-identidade { display:flex; align-items:flex-start; gap:18px; padding-top:15px; }
.empresa-previa-moldura { display:grid; place-items:center; flex:0 0 104px; height:104px; padding:10px; border-radius:10px; background:#101a23; }
.empresa-previa { width:84px; height:84px; object-fit:contain; }
.empresa-identidade-conteudo { flex:1; min-width:0; font-size:13px; }
.empresa-identidade-conteudo > strong { display:block; margin-bottom:5px; }
#painelEmpresaSistema .empresa-descricao { margin:0; color:#647489; font-size:12px; line-height:1.5; }
.empresa-identidade .empresa-dado { grid-template-columns:1fr; gap:4px; margin-top:8px; }
.empresa-nome-previa { margin:8px 0 0; color:#354d66; font-size:12px; font-weight:600; }
.empresa-upload { margin-top:18px; padding-top:14px; border-top:1px solid var(--empresa-borda); }
.empresa-upload label { display:flex; flex-wrap:wrap; gap:5px 12px; margin:0 0 9px; color:#354d66; font-size:12px; font-weight:600; }
.empresa-upload label span { color:#67778b; font-weight:400; }
.empresa-upload-controles { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:8px; }
.empresa-upload input[type=file] { flex:1 1 180px; min-width:0; width:100%; max-width:100%; padding:5px; border:1px solid #d6e0ea; border-radius:7px; background:#fff; color:#52677d; font:inherit; font-size:12px; }
.empresa-upload input::file-selector-button { min-height:34px; margin-right:9px; padding:7px 10px; border:0; border-radius:5px; background:#edf3f9; color:#354d66; cursor:pointer; }
.empresa-reserva { margin-top:18px; padding:20px; border:1px dashed #d2dce7; border-radius:9px; background:#f4f7fb; }
.empresa-reserva-tag { display:inline-block; margin-bottom:16px; padding:5px 8px; border-radius:5px; background:#e7eef7; color:#58718c; font-size:11px; }
.empresa-reserva h4 { margin:0 0 9px; font-size:15px; font-weight:600; }
.empresa-reserva p { margin:0; max-width:42ch; color:#647489; font-size:13px; line-height:1.65; }
.empresa-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin-top:18px; }
.empresa-form label { display:grid; align-content:start; gap:7px; min-width:0; color:#52677d; font-size:12px; line-height:1.45; }
.empresa-form input,.empresa-form textarea { width:100%; min-width:0; max-width:100%; min-height:44px; padding:10px; border:1px solid #cdd8e3; border-radius:7px; background:#fff; color:#172638; font:inherit; font-size:14px; }
.empresa-form textarea { resize:vertical; }
#painelEmpresaSistema .empresa-form .texto-apoio { grid-column:1 / -1; margin:0; color:#647489; font-size:12px; line-height:1.6; }
.empresa-acoes { display:flex; grid-column:1 / -1; gap:10px; flex-wrap:wrap; }
.empresa-erro { grid-column:1 / -1; margin:0; color:#a11919; font-size:13px; line-height:1.5; }
.empresa-erro:empty { display:none; }
.empresa-consulta { margin:0 0 18px; border:1px solid #b3d2f8; scroll-margin-top:20px; }
.empresa-consulta h3 { margin:0 0 12px; font-size:18px; }
.empresa-consulta > p { margin:10px 0; color:#52677d; font-size:13px; line-height:1.6; }
.empresa-consulta-origem { font-weight:600; }
.empresa-consulta-diferencas { display:grid; gap:10px; margin:18px 0; }
.empresa-consulta-campo { display:grid; gap:10px; padding:14px; border:1px solid #e4eaf1; border-radius:8px; }
.empresa-consulta-selecao { display:flex; align-items:center; gap:10px; min-height:44px; font-size:13px; }
.empresa-consulta-selecao input { flex:0 0 20px; width:20px; height:20px; accent-color:#0876ef; margin:0; }
.empresa-consulta-valores { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; font-size:13px; line-height:1.6; }
.empresa-consulta-valores > span { min-width:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.empresa-consulta-valores small { display:block; margin-bottom:5px; color:#647489; }
.empresa-consulta .empresa-erro { margin-top:12px; }
@media(max-width:600px) { .empresa-consulta-valores { grid-template-columns:1fr; } }
#painelEmpresaSistema .empresa-cartao > h3 { margin:0; font-size:17px; }
@media (max-width:1100px) {
 .empresa-grade { grid-template-columns:1fr; }
}
@media (max-width:600px) {
 #painelEmpresaSistema .empresa-cartao { padding:15px; }
 .empresa-cartao-titulo h3 { gap:8px; font-size:15px; }
 .empresa-icone { flex-basis:30px; width:30px; height:30px; }
 .empresa-dado { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:10px; font-size:12px; }
 .empresa-form { grid-template-columns:1fr; }
 .empresa-identidade { gap:14px; }
 .empresa-previa-moldura { flex-basis:88px; height:88px; }
 .empresa-previa { width:68px; height:68px; }
}
@media (max-width:360px) {
 .empresa-dado { grid-template-columns:1fr; gap:4px; }
 #painelEmpresaSistema .empresa-cartao-titulo { flex-wrap:wrap; }
 .empresa-identidade { flex-direction:column; }
}
