.login-page{background:radial-gradient(circle at 0 0,#226a9f47,#0000 32%),linear-gradient(135deg,#0f3554 0%,#174f78 45%,#f4f7fb 45% 100%);justify-content:center;align-items:center;min-height:100vh;padding:32px;font-family:Inter,Arial,sans-serif;display:flex}.login-card{background:#fff;border:1px solid #124d761a;border-radius:28px;width:100%;max-width:440px;padding:34px;box-shadow:0 24px 70px #0f35543d}.login-brand{align-items:center;gap:16px;margin-bottom:32px;display:flex}.login-brand img{object-fit:contain;background:#f4f7fb;border-radius:18px;width:64px;height:64px;padding:8px}.login-brand h1{color:#123d5c;margin:0;font-size:26px}.login-brand p{color:#6b7c8f;margin:4px 0 0;font-size:14px}.login-form{flex-direction:column;gap:18px;display:flex}.form-group label{color:#24445d;font-size:14px;font-weight:700}.form-group input{border:1px solid #d8e2ec;border-radius:14px;outline:none;height:48px;padding:0 14px;font-size:15px;transition:all .2s}.form-group input:focus{border-color:#226a9f;box-shadow:0 0 0 4px #226a9f1f}.login-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1b5f8f,#2a75ad);border:none;border-radius:16px;height:50px;margin-top:6px;font-size:15px;font-weight:800;box-shadow:0 12px 24px #1b5f8f38}.login-divider{color:#8192a3;align-items:center;gap:12px;margin:26px 0 18px;font-size:13px;display:flex}.login-divider:before,.login-divider:after{content:"";background:#e3ebf3;flex:1;height:1px}.social-login{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;display:grid}.social-login button,.sso-button{color:#24445d;cursor:pointer;background:#fff;border:1px solid #d8e2ec;border-radius:14px;height:46px;font-weight:700}.sso-button{width:100%}.login-footer{text-align:center;color:#8192a3;margin-top:24px;font-size:12px}.login-error{color:#b42318;background:#fff1f1;border:1px solid #ffd1d1;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:700}.login-button:disabled{opacity:.7;cursor:not-allowed}.forgot-password{justify-content:flex-end;margin-top:-4px;margin-bottom:14px;display:flex}.forgot-password a{color:#1b5f8f;border-radius:6px;padding:4px 2px;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s}.forgot-password a:hover{color:#14496d;background:#1b5f8f14}.forgot-password a:active{transform:scale(.98)}.forgot-password a:focus{outline:none;box-shadow:0 0 0 3px #1b5f8f26}.reset-page{background:#f4f7fb;justify-content:center;align-items:center;min-height:100vh;padding:24px;font-family:Arial,Helvetica,sans-serif;display:flex}.reset-card{background:#fff;border:1px solid #e5eaf0;border-radius:18px;width:100%;max-width:460px;overflow:hidden;box-shadow:0 10px 30px #124d7624}.reset-header{color:#fff;background:linear-gradient(135deg,#1b5f8f,#226a9f);padding:28px 32px}.reset-logo{margin:0;font-size:26px;font-weight:700}.reset-subtitle{opacity:.9;margin-top:8px;font-size:14px}.reset-content{padding:32px}.reset-title{color:#0f172a;margin:0 0 12px;font-size:24px}.reset-text{color:#475569;margin:0 0 24px;font-size:15px;line-height:1.5}.reset-form{flex-direction:column;gap:16px;display:flex}.reset-label{color:#334155;flex-direction:column;gap:8px;font-size:14px;font-weight:600;display:flex}.reset-input{border:1px solid #d7e0ea;border-radius:12px;outline:none;height:44px;padding:0 14px;font-size:14px;transition:all .2s}.reset-input:focus{border-color:#1b5f8f;box-shadow:0 0 0 3px #1b5f8f1f}.reset-message{color:#1b5f8f;margin:0;font-size:14px;line-height:1.4}.reset-button{color:#fff;cursor:pointer;background:#1b5f8f;border:none;border-radius:999px;height:46px;font-size:15px;font-weight:700;transition:all .2s}.reset-button:hover{background:#14496d}.reset-button:disabled{opacity:.7;cursor:not-allowed}@media (width<=520px){.reset-content,.reset-header{padding:24px}.reset-title{font-size:22px}}.reset-back-link{text-align:center;color:#1b5f8f;margin-top:20px;font-size:14px;font-weight:600;text-decoration:none;display:block}.reset-back-link:hover{text-decoration:underline}.sidebar-user{border-top:1px solid #ffffff29;flex-direction:column;gap:10px;margin-top:auto;padding:16px;display:flex}.sidebar-user strong{color:#fff;font-size:14px;display:block}.sidebar-user span{color:#ffffffb8;margin-top:2px;font-size:12px;display:block}.sidebar-user button{color:#fff;cursor:pointer;background:#ffffff24;border:none;border-radius:10px;height:36px;font-weight:700}.sidebar-user button:hover{background:#ffffff38}.card-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px;display:flex}.card-subtitle{color:#64748b;margin-top:4px;font-size:14px;line-height:1.35}.header-actions{flex:1;justify-content:flex-end;align-items:center;gap:14px;display:flex}.btn-primary,.btn-secondary,.btn-small{cursor:pointer;border:none;font-weight:700;transition:all .2s}.btn-primary,.btn-secondary{border-radius:10px;height:42px;padding:0 18px}.btn-primary{color:#fff;background:#1b5f8f}.btn-secondary{color:#1b5f8f;background:#e8eef5}.btn-secondary:hover{background:#dce7f1}.btn-small{color:#92400e;background:#fef3c7;border-radius:9px;gap:6px;height:34px;margin-right:8px;padding:0 14px;font-size:13px}.search-input{color:#0f172a;background:#fff;border:1px solid #d5e0ec;border-radius:10px;outline:none;width:420px;min-width:420px;height:42px;padding:0 12px;font-size:14px;transition:all .2s}.search-input:focus{border-color:#1b5f8f;box-shadow:0 0 0 3px #1b5f8f1f}.empresas-table{border-collapse:collapse;width:100%}.empresas-table thead th{text-align:left;color:#475569;border-bottom:1px solid #e2e8f0;padding:12px;font-size:14px;font-weight:700}.empresas-table tbody tr{transition:background .2s}.empresas-table tbody tr:hover{background:#f8fafc}.empresas-table tbody td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf2f7;padding:16px 12px;font-size:14px}.company-name{color:#0f4c81;font-size:14px;font-weight:700;line-height:1.2}.status-simple{align-items:center;gap:8px;font-size:14px;font-weight:700;display:inline-flex}.status-dot{border-radius:50%;width:10px;height:10px}.status-simple.prospecting{color:#2563eb}.status-simple.prospecting .status-dot{background:#3b82f6}.status-simple.negotiation{color:#92400e}.status-simple.negotiation .status-dot{background:#f59e0b}.status-simple.active_client{color:#15803d}.status-simple.active_client .status-dot{background:#22c55e}.status-simple.cancelled{color:#64748b}.status-simple.cancelled .status-dot{background:#94a3b8}.status-simple.blocked{color:#b91c1c}.status-simple.blocked .status-dot{background:#ef4444}@media (width<=1100px){.form-grid{grid-template-columns:repeat(2,1fr)}.card-header{flex-direction:column;align-items:stretch}.header-actions{flex-direction:column;align-items:stretch;width:100%}.search-input{width:100%;min-width:auto}}@media (width<=720px){.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}.btn-small{margin-bottom:8px}}.company-link{color:#1b5f8f;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:600}.company-link:hover{text-decoration:underline}.company-detail-header{border:1px solid var(--vc-border);background:#fff;border-radius:20px;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;display:flex;box-shadow:0 4px 18px #0f172a0a}.company-detail-header h1{color:#1b5f8f;margin:0;font-size:28px;font-weight:700}.company-detail-header p{color:#1b5f8f;margin:6px 0 0;font-size:15px}.company-status-row{align-items:center;gap:10px;display:flex}.status-chip{border-radius:999px;padding:8px 14px;font-size:13px;font-weight:700}.status-chip.success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.company-tabs{gap:8px;margin:14px 0 10px;padding-left:8px;display:flex}.company-tabs button{border:1px solid var(--vc-border);color:#1b5f8f;cursor:pointer;background:#fff;border-radius:14px 14px 0 0;padding:12px 22px;font-size:15px;font-weight:700}.company-tabs button.active{color:#fff;background:#1b5f8f;border-color:#1b5f8f}.documents-list{flex-direction:column;gap:12px;display:flex}.document-item{border:1px solid var(--vc-border);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:16px;display:flex}.document-item strong{color:#1b5f8f;font-size:16px;font-weight:600;line-height:1.3;display:block}.document-item p{color:var(--vc-muted);margin:2px 0 0;font-size:13px}.document-actions{gap:8px;display:flex}.empresa-detalhe-page .documents-list .document-item strong{color:#1b5f8f;line-height:1.3;font-size:16px!important;font-weight:600!important}.empresa-detalhe-page .documents-list .document-item p{color:var(--vc-muted);margin:2px 0 0;font-size:14px!important}.document-info-row{grid-template-columns:2fr 2fr 1fr 1fr 1fr 1fr;align-items:center;gap:18px;width:100%;display:grid}.document-column{align-items:center;display:flex}.document-column span{color:var(--vc-text);font-size:14px}.document-name strong{color:#1b5f8f;font-size:16px!important;font-weight:600!important}.document-status-pill{border-radius:999px;padding:6px 12px;font-weight:700;font-size:12px!important}.status-success{background:#dcfce7;color:#166534!important}.status-warning{background:#fef3c7;color:#92400e!important}.status-danger{background:#fee2e2;color:#991b1b!important}.status-neutral{background:#e2e8f0;color:#475569!important}.status-chip.danger{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.company-name-cell{align-items:center;gap:8px;display:flex}.company-alert-bell{cursor:default;font-size:15px;line-height:1}.empresas-filters{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:minmax(280px,1.4fr) repeat(3,minmax(160px,1fr)) auto;align-items:end;gap:14px;margin-bottom:22px;padding:18px;display:grid}@media (width<=1100px){.empresas-filters{grid-template-columns:1fr 1fr}.btn-clear{width:100%}}@media (width<=720px){.empresas-filters{grid-template-columns:1fr}}.document-name-with-alert{align-items:center;gap:8px;display:inline-flex}.document-alert-bell{font-size:14px;line-height:1}.company-contacts-list{flex-direction:column;gap:12px;display:flex}.company-contact-item{background:#fff;border:1px solid #e2e8f0;border-radius:14px;grid-template-columns:1.4fr 1fr 1fr 1fr;align-items:center;gap:18px;padding:18px;display:grid}.company-contact-item strong{color:#0f4c81;font-weight:400;font-size:18px!important}.company-contact-item p{color:#334155;margin:4px 0 0;font-size:14px}.company-contact-label{color:#64748b;font-size:12px;font-weight:700;display:block}@media (width<=900px){.company-contact-item{grid-template-columns:1fr 1fr}}@media (width<=640px){.company-contact-item{grid-template-columns:1fr}}.page{flex-direction:column;gap:8px;display:flex}.card{background:#fff;border-radius:16px;padding:24px 28px;box-shadow:0 8px 24px #0f172a0f}.card-header h2{color:#0f4c81;font-size:22px;font-weight:700}.btn-primary,.btn-small{cursor:pointer;border:none;font-weight:700;transition:all .2s}.btn-primary{color:#fff;background:#1b5f8f;border-radius:10px;height:42px;padding:0 18px}.btn-primary:hover{background:#154d74}.btn-icon,.btn-small{justify-content:center;align-items:center;display:inline-flex}.btn-icon{gap:8px}.btn-small{color:#92400e;background:#fef3c7;border-radius:9px;gap:6px;height:34px;padding:0 14px;font-size:13px}.btn-small:hover{background:#fde68a}.btn-small.danger{color:#991b1b;background:#fee2e2}.btn-small.danger:hover{background:#fecaca}.contacts-filters{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:minmax(280px,1.4fr) repeat(3,minmax(160px,1fr)) auto;align-items:end;gap:14px;margin-bottom:22px;padding:18px;display:grid}.filter-field{flex-direction:column;gap:7px;display:flex}.filter-field label{color:#475569;font-size:12px;font-weight:700}.filter-field input,.filter-field select{color:#0f172a;background:#fff;border:1px solid #d5e0ec;border-radius:10px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.filter-field input:focus,.filter-field select:focus{border-color:#1b5f8f;box-shadow:0 0 0 3px #1b5f8f1f}.btn-clear{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:10px;height:42px;padding:0 16px;font-size:14px;font-weight:700}.btn-clear:hover{background:#f1f5f9}.table-wrapper{width:100%;overflow-x:auto}.contacts-table{border-collapse:collapse;width:100%}.contacts-table thead th{text-align:left;color:#475569;border-bottom:1px solid #e2e8f0;padding:12px;font-size:14px;font-weight:700}.contacts-table tbody tr{transition:background .2s}.contacts-table tbody tr:hover{background:#f8fafc}.contacts-table tbody td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf2f7;padding:16px 12px;font-size:14px}.contact-modal{background:#fff;border-radius:18px;flex-direction:column;width:min(920px,100vw - 48px);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a40}.modal-header{border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;display:flex}.modal-header p{color:#64748b;margin:4px 0 0;font-size:14px}.modal-body{padding:24px;overflow-y:auto}.contacts-modal-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;display:grid}.form-field{flex-direction:column;min-width:0;display:flex}.form-field-full{grid-column:1/-1}.form-field label{color:#334155;margin-bottom:8px;font-size:14px;font-weight:700}.form-field input,.form-field select,.form-field textarea{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #d1d5db;border-radius:12px;outline:none;width:100%;padding:12px 14px;font-size:14px}.form-field textarea{resize:vertical;min-height:90px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#123047;box-shadow:0 0 0 3px #1230471f}.form-field select:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.field-hint{color:#64748b;margin-top:6px;font-size:12px}.modal-footer{border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:flex-end;gap:10px;padding:18px 24px;display:flex}.btn-cancel:hover,.btn-save:hover{opacity:.9}@media (width<=1100px){.card-header{flex-direction:column;align-items:stretch}.contacts-filters{grid-template-columns:1fr 1fr}.btn-clear{width:100%}}@media (width<=720px){.contacts-filters,.contacts-modal-form-grid{grid-template-columns:1fr}.contact-modal{width:calc(100vw - 32px);max-height:calc(100vh - 32px)}}.empresa-form-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.empresa-form-group{flex-direction:column;gap:6px;display:flex}.empresa-form-group label{color:#334155;font-size:13px;font-weight:600}.empresa-form-group input,.empresa-form-group select,.empresa-form-group textarea{color:#0f172a;background:#fff;border:1px solid #d5e0ec;border-radius:10px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px;transition:all .2s}.empresa-form-group textarea{resize:vertical;height:42px;padding-top:10px}.empresa-form-group input:focus,.empresa-form-group select:focus,.empresa-form-group textarea:focus{border-color:#1b5f8f;box-shadow:0 0 0 3px #1b5f8f1f}.empresa-form-actions{grid-column:1/-1;gap:12px;margin-top:8px;display:flex}.empresa-form-group.full{grid-column:1/-1}.cnpj-group{gap:10px;display:flex}.cnpj-group input{flex:1}.btn-cnpj{min-width:130px}.documents-section{background:#f8fbfe;border:1px solid #dbe7f3;border-radius:16px;grid-column:1/-1;margin-top:10px;padding:20px}.documents-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.documents-header h3{color:#0f172a;margin-bottom:4px;font-size:18px}.documents-header p{color:#64748b;font-size:13px}.document-form-row{grid-template-columns:2fr 1fr 140px 140px 1.5fr 130px;align-items:end;gap:12px;margin-top:16px;display:grid}.document-form-row .form-group{flex-direction:column;gap:6px;display:flex}.document-form-row label{color:#334155;font-size:13px;font-weight:600}.document-form-row input,.document-form-row select{color:#0f172a;background:#fff;border:1px solid #d5e0ec;border-radius:10px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px;transition:all .2s}.document-form-row input:focus,.document-form-row select:focus{border-color:#1b5f8f;box-shadow:0 0 0 3px #1b5f8f1f}.document-form-row input[type=file]{padding:9px 10px}.document-upload-wrapper{align-items:center;gap:10px;display:flex}.document-upload-box{color:#1e293b;cursor:pointer;white-space:nowrap;background:#e2e8f0;border-radius:10px;align-items:center;height:42px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.document-upload-box:hover{background:#cbd5e1}.document-file-selected{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.document-action{align-items:flex-end;display:flex}.document-add-button{color:#fff;cursor:pointer;background:#1b5f8f;border:none;border-radius:10px;width:100%;height:42px;font-size:14px;font-weight:700;transition:all .2s}.document-add-button:hover{background:#164f78}.documents-list{flex-direction:column;gap:10px;margin-top:18px;display:flex}.document-row{text-align:left;background:#fff;border:1px solid #dbe7f3;border-radius:16px;grid-template-columns:1.8fr 1.8fr .4fr 1.1fr 1fr auto;align-items:center;gap:14px;width:100%;padding:16px;transition:all .2s;display:grid}.document-row:hover{background:#fbfdff;border-color:#b9d7ef;transform:translateY(-1px);box-shadow:0 10px 24px #0f172a14}.document-cell{align-items:center;gap:8px;min-width:0;display:flex}.document-name{gap:10px}.document-name>div:last-child{flex-direction:column;gap:4px;display:flex}.document-row .document-name strong{color:#0f172a;font-size:17px;font-weight:700;line-height:1.2}.document-row .document-name span{color:#64748b;font-size:13px;font-weight:500}.document-icon{color:#1b5f8f;background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;display:flex}.document-file,.document-validity,.document-alert{color:#64748b}.document-file span,.document-validity span{color:#334155;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.document-version span{color:#64748b;background:#f1f5f9;border-radius:999px;padding:5px 9px;font-size:13px;font-weight:700}.document-actions{justify-content:flex-end;gap:8px;display:flex}.btn-open-document,.btn-remove-document{cursor:pointer;white-space:nowrap;border-radius:10px;align-items:center;gap:6px;height:34px;padding:0 12px;font-size:12px;font-weight:700;display:flex}.btn-open-document{color:#1b5f8f;background:#eff6ff;border:1px solid #bfdbfe}.btn-remove-document{color:#b91c1c;background:#fff1f2;border:1px solid #fecaca}.btn-remove-document:hover{background:#ffe4e6}.doc-status{white-space:nowrap;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;line-height:1}.doc-status.active{color:#166534;background:#dcfce7}.doc-status.warning{color:#854d0e;background:#fef9c3}.doc-status.expired{color:#991b1b;background:#fee2e2}.doc-status.neutral{color:#334155;background:#e2e8f0}.documents-empty{color:#64748b;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;margin-top:18px;padding:16px;font-size:14px}@media (width<=1200px){.document-form-row{grid-template-columns:1.5fr 1fr 140px 140px}.document-file-input{grid-column:span 3}.document-action{grid-column:span 1}}@media (width<=1100px){.empresa-form-grid{grid-template-columns:repeat(2,1fr)}.document-row{grid-template-columns:1fr;gap:8px}.document-actions{justify-content:flex-start}}@media (width<=720px){.empresa-form-grid,.document-form-row{grid-template-columns:1fr}.empresa-form-actions{flex-direction:column}.document-file-input,.document-action{grid-column:auto}}.document-icon{letter-spacing:.5px;color:#fff;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;font-size:11px;font-weight:800;display:flex}.document-icon-pdf{background:#ef4444}.document-icon-word{background:#2563eb}.document-icon-excel{background:#16a34a}.document-icon-image{background:#9333ea}.document-icon-file{background:#64748b}.document-preview-panel{background:#fff;border:1px solid #dbe7f3;border-radius:18px;grid-template-columns:280px 1fr 280px;gap:16px;margin-top:22px;padding:16px;display:grid}.document-ai-panel,.document-info-panel,.document-viewer-panel{background:#f8fbfe;border:1px solid #e2e8f0;border-radius:16px}.document-ai-panel,.document-info-panel{padding:16px}.document-ai-panel h4,.document-info-panel h4{color:#0f172a;margin-bottom:10px;font-size:15px}.document-ai-panel p{color:#475569;margin-bottom:8px;font-size:13px;line-height:1.5}.document-info-panel p{margin-bottom:12px;line-height:1.4}.document-info-panel p strong{color:#64748b;margin-bottom:2px;font-size:12px;font-weight:600;display:block}.document-info-panel p span{color:#0f172a;font-size:14px;font-weight:600;display:block}.document-viewer-panel{background:#fff;overflow:hidden}.document-viewer-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:48px;padding:0 14px;display:flex}.document-viewer-header strong{color:#0f172a;font-size:14px}.document-preview-body{flex:1;height:100%;display:flex}.document-preview-frame{border:none;width:100%;height:100%}.document-preview-loading{color:#64748b;justify-content:center;align-items:center;width:100%;display:flex}.btn-close-preview{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;height:30px;padding:0 10px;font-size:12px;font-weight:700}.btn-close-preview:hover{background:#f1f5f9}.document-pdf-preview{background:#f8fafc;border:none;width:100%;height:640px}.document-no-preview{color:#64748b;text-align:center;justify-content:center;align-items:center;height:640px;padding:24px;font-size:14px;display:flex}.document-preview-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172aa6;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.document-preview-container{background:#fff;border-radius:18px;flex-direction:column;width:95%;height:92%;display:flex;overflow:hidden}.document-preview-topbar{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:56px;padding:0 20px;display:flex}.document-preview-content{flex:1;grid-template-columns:280px 1fr 280px;gap:16px;padding:16px;display:grid}.document-pdf-preview{border:none;width:100%;height:100%}.document-info-panel,.document-ai-panel{background:#f8fbfe;border-radius:14px;padding:16px;overflow-y:auto}.document-viewer-panel{background:#f1f5f9;border-radius:14px;overflow:hidden}.document-dropzone{background:#fff;border:1px dashed #b7c9dc;border-radius:10px;height:42px;transition:all .2s}.document-dropzone:hover{background:#f8fbfe;border-color:#1b5f8f}.document-dropzone.dragging{background:#eff6ff;border-color:#1b5f8f;box-shadow:0 0 0 3px #1b5f8f1f}.document-file-hidden{display:none}.document-dropzone-content{cursor:pointer;align-items:center;gap:8px;width:100%;height:100%;padding:0 12px;display:flex}.document-dropzone-icon{font-size:15px}.document-dropzone-text{color:#475569;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.document-info-panel strong{color:#0f172a!important;font-size:13px!important;font-weight:600!important}.document-info-panel span{color:#64748b!important;font-size:11px!important;font-weight:600!important}.document-info-panel h3{font-size:14px!important;font-weight:700!important}.document-ai-panel h3{font-size:14px!important}.document-ai-panel p{color:#475569!important;font-size:12px!important}.btn-open-document,.document-action-button,.btn-download-document{cursor:pointer;white-space:nowrap;border:none;border-radius:12px;justify-content:center;align-items:center;gap:6px;height:40px;padding:0 16px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.btn-open-document{color:#1b5f8f;background:#eff6ff}.btn-open-document:hover{background:#dbeafe}.document-action-button{color:#b7791f;background:#fff7e6}.document-action-button:hover{background:#fef3c7}.btn-download-document{color:#fff;background:#1b5f8f}.btn-download-document:hover{background:#164f78}.document-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.document-actions .btn-secondary,.document-actions,.document-actions .btn-primary{white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;height:42px;padding:0 18px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.document-action-button{color:#b7791f;cursor:pointer;background:#fff7e6;border:1px solid #fde68a}.document-action-button:hover{background:#fef3c7;border-color:#facc15}.alert-drawer-overlay{z-index:9999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}.alert-drawer{background:#fff;border-radius:24px;flex-direction:column;width:860px;max-width:95%;max-height:90vh;animation:.18s alertDrawerFade;display:flex;overflow:hidden;box-shadow:0 20px 60px #0f172a2e,0 8px 24px #0f172a14}@keyframes alertDrawerFade{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.alert-drawer-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:24px 28px;display:flex}.alert-drawer-header h2{color:#0f172a;margin:0;font-size:22px;font-weight:700}.alert-drawer-header p{color:#64748b;margin-top:6px;font-size:14px}.alert-drawer-close{cursor:pointer;background:#f1f5f9;border:none;border-radius:12px;width:40px;height:40px;font-size:18px;transition:all .2s}.alert-drawer-close:hover{background:#e2e8f0}.alert-drawer-content{flex-direction:column;gap:22px;padding:28px;display:flex;overflow-y:auto}.alert-drawer-content .form-group{flex-direction:column;gap:8px;display:flex}.alert-drawer-content label{color:#334155;font-size:14px;font-weight:600}.alert-drawer-content input,.alert-drawer-content select{appearance:auto;font-size:14px;transition:border-color .2s;height:46px!important;box-shadow:none!important;background:#fff!important;border:1px solid #b7c9dc!important;border-radius:12px!important;padding:0 14px!important}.alert-drawer-content input:focus,.alert-drawer-content select:focus{outline:none;box-shadow:0 0 0 4px #1b5f8f1f;border-color:#1b5f8f!important}.alert-triggers-section{background:#f1f5f9;border:1px solid #d7e3ef;border-radius:18px;margin-top:8px;padding:20px}.alert-triggers-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.alert-triggers-header h3{color:#0f172a;margin:0;font-size:17px;font-weight:700}.btn-add-trigger{color:#fff;cursor:pointer;background:#1b5f8f;border:none;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:700;transition:all .2s}.btn-add-trigger:hover{background:#164f78}.alert-trigger-row{grid-template-columns:140px 1fr 140px 110px;gap:10px;margin-bottom:10px;display:grid}.alert-trigger-row select,.alert-trigger-row input{background:#fff;border:1px solid #cbd5e1;border-radius:12px;height:42px;padding:0 12px;font-size:14px}.alert-trigger-row:last-child{margin-bottom:0}.alert-two-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.btn-remove-trigger{color:#b91c1c;cursor:pointer;background:#fee2e2;border:none;border-radius:12px;height:42px;font-size:13px;font-weight:700;transition:all .2s}.btn-remove-trigger:hover{background:#fecaca}.alert-recipients-section{background:#f1f5f9;border:1px solid #d7e3ef;border-radius:18px;padding:20px}.alert-recipient-select{color:#0f172a;background:#fff;border:1px solid #b7c9dc;border-radius:12px;width:100%;height:42px;margin-top:12px;padding:0 12px;font-size:14px}.alert-user-chips{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.alert-user-chip{color:#1b5f8f;background:#dbeafe;border:1px solid #93c5fd;border-radius:999px;align-items:center;gap:8px;padding:8px 10px 8px 12px;font-size:13px;font-weight:700;display:inline-flex}.alert-user-chip span{color:#1b5f8f}.alert-user-chip button{color:#1b5f8f;cursor:pointer;background:#bfdbfe;border:none;border-radius:999px;width:18px;height:18px;font-size:14px;font-weight:800}.alert-user-chip button:hover{background:#bfdbfe}.alert-drawer-footer{background:#fff;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:12px;padding:22px 28px;display:flex}.btn-cancel-alert{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;height:44px;padding:0 18px;font-size:14px;font-weight:700;transition:all .2s}.btn-cancel-alert:hover{background:#f8fafc}.btn-save-alert{color:#fff;cursor:pointer;background:#1b5f8f;border:none;border-radius:12px;height:44px;padding:0 20px;font-size:14px;font-weight:700;transition:all .2s}.btn-save-alert:hover{background:#164f78}.alert-three-columns{grid-template-columns:1fr 1fr 220px;gap:16px;display:grid}.selected-reference-date{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;align-items:center;height:46px;padding:0 14px;font-size:14px;font-weight:700;display:flex}.alert-drawer-wide{width:1180px}.alert-drawer-body{grid-template-columns:minmax(0,1fr) 320px;min-height:0;display:grid;overflow-y:auto}.alert-form-panel{min-width:0;max-height:calc(90vh - 150px);overflow-y:auto}.alert-existing-panel{background:#f8fafc;border-left:1px solid #e2e8f0;padding:24px;overflow-y:auto}.alert-existing-header h3{color:#0f172a;margin:0;font-size:17px;font-weight:600}.alert-existing-header p{color:#64748b;margin:6px 0 18px;font-size:13px}.alert-existing-list{flex-direction:column;gap:12px;display:flex}.alert-existing-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.alert-existing-card-header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.alert-existing-card-header strong{color:#0f172a;font-size:14px}.alert-existing-card-header span{color:#166534;background:#dcfce7;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:600}.alert-existing-card small{color:#64748b;text-transform:uppercase;margin-top:10px;font-size:11px;font-weight:600;display:block}.alert-existing-card p{color:#334155;margin:4px 0 0;font-size:13px;line-height:1.4}.alert-existing-empty{color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:18px;font-size:13px}.alert-recurring-label{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;justify-content:center;align-items:center;height:42px;font-size:14px;font-weight:700;display:flex}.alert-existing-title{color:#0f172a;text-align:left;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;font-weight:800}.alert-existing-title:hover{color:#1b5f8f;text-decoration:underline}.alert-existing-actions{justify-content:flex-end;margin-top:12px;display:flex}.btn-delete-existing-alert{color:#b91c1c;cursor:pointer;background:#fee2e2;border:none;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:600}.alert-existing-actions{align-items:center;gap:8px;margin-top:12px;display:flex}.btn-edit-existing-alert,.btn-delete-existing-alert{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.btn-edit-existing-alert{color:#b7791f;background:#fff7e6}.btn-edit-existing-alert:hover{background:#fef3c7}.btn-delete-existing-alert{color:#b91c1c;background:#fee2e2}.btn-delete-existing-alert:hover{background:#fecaca}.alerts-table{border-collapse:collapse;width:100%}.alerts-table th,.alerts-table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:14px 16px;font-size:14px}.alerts-table th{color:#64748b;background:#f8fafc;font-weight:600}.alert-status-active{color:#166534;background:#dcfce7;border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.settings-page{padding:0}.settings-grid{flex-wrap:wrap;gap:20px;margin-top:28px;display:flex}.settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;gap:14px;width:320px;padding:24px;transition:all .2s;display:flex;box-shadow:0 8px 24px #0f172a0f}.settings-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a14}.settings-card-icon{color:#1b5f8f;background:#eaf4fb;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.settings-card h2{color:#123047;margin:0;font-size:18px}.settings-card p{color:#6b7280;margin:0;font-size:13px;line-height:1.4}.settings-card button{color:#fff;cursor:pointer;background:#1b5f8f;border:none;border-radius:8px;align-self:flex-start;margin-top:6px;padding:8px 14px;font-size:13px;font-weight:600}.settings-card button:hover{background:#164d75}.settings-content-card{background:#fff;border-radius:18px;padding:28px 32px;box-shadow:0 8px 24px #0f172a0a}.settings-content-header{margin-bottom:24px}.settings-content-header h2{color:#123047;margin-bottom:6px;font-size:24px}.settings-content-header p{color:#6b7280;font-size:15px}.areas-page{padding:32px}.areas-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.areas-header h1{color:#123047;margin-bottom:6px;font-size:28px}.areas-header p{color:#6b7280;font-size:15px}.btn-primary{color:#fff;cursor:pointer;background:#123047;border:none;border-radius:12px;padding:12px 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-primary:hover{opacity:.9}.areas-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px #0f172a0f}.areas-table{border-collapse:collapse;width:100%}.areas-table thead{background:#f8fafc}.areas-table th{text-align:left;color:#475569;border-bottom:1px solid #e5e7eb;padding:16px 20px;font-size:13px;font-weight:700}.areas-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:16px 20px;font-size:14px}.areas-table tbody tr:hover{background:#f8fafc}.actions{gap:10px;display:flex}.btn-edit{color:#0369a1;cursor:pointer;background:#e0f2fe;border:none;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600}.btn-delete{color:#dc2626;cursor:pointer;background:#fee2e2;border:none;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600}.btn-edit:hover,.btn-delete:hover{opacity:.9}.btn-back{color:#123047;cursor:pointer;background:0 0;border:none;margin-bottom:18px;padding:0;font-size:14px;font-weight:600}.btn-back:hover{text-decoration:underline}.modal-overlay{z-index:999;background:#0f172a73;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.area-modal{background:#fff;border-radius:18px;width:100%;max-width:460px;overflow:hidden;box-shadow:0 24px 60px #0f172a40}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{color:#123047;margin:0;font-size:20px}.modal-header button{color:#64748b;cursor:pointer;background:0 0;border:none;font-size:24px}.modal-body{padding:24px}.modal-body label{color:#334155;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.modal-body input{border:1px solid #d1d5db;border-radius:12px;outline:none;width:100%;padding:12px 14px;font-size:14px}.modal-body input:focus{border-color:#123047;box-shadow:0 0 0 3px #1230471f}.modal-body p{color:#334155;font-size:15px;line-height:1.5}.modal-footer{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding:18px 24px;display:flex}.btn-cancel{color:#334155;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:600}.btn-save{color:#fff;cursor:pointer;background:#123047;border:none;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600}.btn-danger{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600}.btn-cancel:hover,.btn-save:hover,.btn-danger:hover{opacity:.9}.btn-function{color:#0e7490;cursor:pointer;background:#ecfeff;border:none;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600}.btn-function:hover{opacity:.9}.functions-row td{background:#f8fafc;padding-top:0}.functions-list{flex-wrap:wrap;gap:8px;padding:8px 0 12px;display:flex}.function-pill{color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.function-pill-remove{color:#3730a3;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;font-weight:700}.function-pill-remove:hover{opacity:.7}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;min-height:100%}body{color:#1f2937;background:#f4f7fb;font-family:Arial,Helvetica,sans-serif}.sidebar{background:#1b5f8f;width:250px;min-height:100vh;padding:0}.brand{border-bottom:1px solid #ffffff14;align-items:center;gap:12px;padding:22px 18px;display:flex}.logo{object-fit:contain;width:42px;height:42px}.brand h1{color:#fff;margin:0;font-size:18px;font-weight:700;line-height:1.1}.menu{flex-direction:column;padding:14px;display:flex}.menu a{color:#ffffffeb;border-radius:10px;margin-bottom:6px;padding:12px 14px;text-decoration:none;transition:all .2s}.menu a:hover{background:#ffffff1a}.menu a.active{background:#ffffff29;font-weight:600}.app{width:100%;min-height:100vh;display:flex}.sidebar{color:#fff;background:linear-gradient(#1b5f8f,#124d76);flex-shrink:0;width:220px;min-height:100vh;padding:24px 18px}.logo{margin-bottom:36px;font-size:24px;font-weight:700}.menu{flex-direction:column;gap:10px;display:flex}.menu a{color:#dbeafe;border-radius:12px;padding:12px 14px;font-size:15px;text-decoration:none}.menu a:hover,.menu a.active{color:#fff;background:#ffffff29}.main{flex:1;width:calc(100vw - 220px);min-height:100vh;padding:24px}.header{background:#fff;border-radius:18px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:24px;display:flex;box-shadow:0 10px 30px #0f172a14}.header h1{color:#124d76;margin-bottom:6px;font-size:28px}.header p{color:#64748b}.cards{grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px;display:grid}.card,.panel{background:#fff;border-radius:18px;box-shadow:0 10px 30px #0f172a14}.card{padding:22px}.card span{color:#64748b;margin-bottom:10px;display:block}.card strong{color:#124d76;font-size:32px}.panel{padding:24px}.panel-header{justify-content:space-between;margin-bottom:20px;display:flex}.panel-header h2{color:#124d76}.panel-header span{color:#64748b}.button{color:#fff;cursor:pointer;background:#1b5f8f;border:0;border-radius:12px;padding:12px 18px;font-weight:700;transition:all .2s}.button:hover{background:#124d76}.button.secondary{color:#334155;background:#e2e8f0}.button.secondary:hover{background:#cbd5e1}.button.danger{background:#dc2626}.button.danger:hover{background:#991b1b}.button.success{background:#16a34a}.button.success:hover{background:#15803d}.close-button{color:#475569;cursor:pointer;background:#f1f5f9;border:0;border-radius:10px;width:36px;height:36px;font-size:24px}.close-button:hover{background:#e2e8f0}.table-action{color:#92400e;cursor:pointer;background:#fef3c7;border:0;border-radius:10px;padding:8px 14px;font-size:14px;font-weight:700;transition:all .2s}.table-action:hover{background:#fde68a;transform:translateY(-1px)}.table-reset{color:#5b21b6;cursor:pointer;background:#ede9fe;border:0;border-radius:10px;padding:8px 14px;font-size:14px;font-weight:700;transition:all .2s}.table-reset:hover{background:#ddd6fe;transform:translateY(-1px)}.button.export{background:#047857}.button.export:hover{background:#065f46}.form-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:24px 32px;margin-top:24px;display:grid}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:var(--vc-muted);text-transform:uppercase;letter-spacing:.6px;font-size:14px;font-weight:700}.form-group p{color:var(--vc-primary);margin:0;font-size:16px;font-weight:500;line-height:1.5}.form-group input,.form-group select,.search-actions input,.search-actions select{border:1px solid var(--vc-border);border-radius:12px;outline:none;height:44px;padding:0 14px;font-size:15px}.form-group input:focus,.form-group select:focus,.search-actions input:focus,.search-actions select:focus{border-color:var(--vc-primary)}.card{background:var(--vc-surface);border:1px solid var(--vc-border);border-radius:20px;padding:32px;box-shadow:0 4px 18px #0f172a0a}.card h2{color:var(--vc-primary);margin:0;font-size:24px;font-weight:700}.card-header{justify-content:space-between;align-items:center;gap:16px;display:flex}@media (width<=1200px){.form-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}}@media (width<=900px){.form-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media (width<=600px){.form-grid{grid-template-columns:1fr}}.detail-value{color:var(--vc-primary)!important}.empresa-detalhe-page .card .form-grid .form-group p.detail-value{font-weight:500;color:#1b5f8f!important}.empresa-detalhe-page .card h2{font-weight:750;color:#174f78!important}.empresa-detalhe-page .form-group label{letter-spacing:.6px;font-weight:700;color:#174f78!important}table{border-collapse:collapse;width:100%}th{text-align:left;color:#64748b;border-bottom:1px solid #e5e7eb;padding:12px;font-size:14px}td{border-bottom:1px solid #f1f5f9;padding:14px 12px}.status{border-radius:999px;padding:6px 10px;font-size:13px;font-weight:700}.status.active{color:#166534;background:#dcfce7}.status.archived{color:#475569;background:#f1f5f9}.status.blocked{color:#991b1b;background:#fee2e2}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background:#0f172a73;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.user-modal{background:#fff;border-radius:22px;width:100%;max-width:620px;padding:26px;box-shadow:0 30px 80px #0f172a4d}.modal-header{justify-content:space-between;gap:16px;margin-bottom:24px;display:flex}.modal-header h2{color:#124d76;margin-bottom:6px}.modal-header p{color:#64748b}.modal-form{flex-direction:column;gap:18px;display:flex}.modal-actions,.confirm-actions{justify-content:flex-end;gap:12px;display:flex}.modal-actions{margin-top:8px}.confirm-modal{background:#fff;border-radius:22px;width:100%;max-width:420px;padding:26px;box-shadow:0 30px 80px #0f172a4d}.confirm-modal h2{color:#124d76;margin-bottom:12px}.confirm-modal p{color:#475569;line-height:1.5}.confirm-actions{margin-top:24px}.search-panel{background:#fff;border-radius:18px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;padding:22px 24px;display:flex;box-shadow:0 10px 30px #0f172a14}.search-panel h2{color:#124d76;margin-bottom:6px}.search-panel p{color:#64748b}.search-actions{gap:12px;display:flex}.search-actions input{width:280px}.search-actions select{width:170px}.actions-group{gap:8px;display:flex}.status-box{border-radius:12px;align-items:center;height:44px;padding:0 14px;font-weight:700;display:flex}.status-box.active{color:#166534;background:#dcfce7}.status-box.blocked{color:#991b1b;background:#fee2e2}
