.header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.back-link{margin-bottom:8px;font-size:13px;font-weight:700;display:inline-block}.client-stats,.crm-stats,.detail-summary{gap:16px;margin-bottom:22px;display:grid}.client-stats,.crm-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.detail-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.client-stats article,.crm-stats article,.detail-summary article{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:8px;padding:20px;display:flex;box-shadow:0 5px 20px #0f172a08}.client-stats span,.crm-stats span,.detail-summary span{color:#64748b;font-size:13px}.client-stats strong,.crm-stats strong,.detail-summary strong{color:#111827;font-size:24px}.client-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:12px;display:flex}.folder-tabs{flex-wrap:wrap;gap:6px;display:flex}.folder-tabs button{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;padding:9px 12px;font-size:13px;font-weight:700}.folder-tabs button.active{color:#c2410c;background:#fff7ed;border-color:#fdba74}.search-box{color:#64748b;background:#fff;border:1px solid #d8dee8;border-radius:10px;flex:1;align-items:center;gap:8px;min-width:280px;padding:0 11px;display:flex}.search-box input{border:0;padding:10px 0;box-shadow:none!important}.status-filter,.crm-toolbar select{width:auto;min-width:170px}.expanded-clients-table{min-width:1320px}.inline-link{align-items:center;gap:5px;margin-top:4px;display:inline-flex}.table-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.compact{min-height:34px;padding:8px 10px!important}.danger-button,.convert-button{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font-weight:700;display:inline-flex}.danger-button{color:#b91c1c;background:#fee2e2}.danger-button:hover{background:#fecaca}.convert-button{color:#166534;background:#dcfce7}.convert-button:hover{background:#bbf7d0}.danger-button:disabled,.convert-button:disabled{opacity:.55;cursor:not-allowed}.badge.internal{color:#0369a1;background:#e0f2fe}.badge.archived{color:#475569;background:#e2e8f0;margin-top:5px}.progress-cell{min-width:150px}.progress-bar{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.progress-bar span{background:#f97316;border-radius:999px;height:100%;transition:width .2s;display:block}.progress-cell small{margin-top:6px;display:block}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.detail-card{margin:0}.detail-full{grid-column:1/-1}.section-heading{margin-bottom:18px}.section-heading h2{margin:0 0 5px;font-size:20px}.section-heading p{color:#64748b;margin:0;font-size:13px}.progress-large{flex-direction:column;gap:8px;margin-bottom:18px;display:flex}.progress-large strong{font-size:14px}.steps-list{flex-direction:column;gap:10px;display:flex}.steps-list label{cursor:pointer;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;flex-direction:row;align-items:flex-start;gap:11px;padding:12px;display:flex}.steps-list input{width:auto;margin-top:3px}.steps-list span{flex-direction:column;gap:3px;display:flex}.steps-list small{color:#64748b;font-weight:400}.access-panel{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.access-panel>div{flex-direction:column;gap:5px;display:flex}.access-panel span{color:#64748b;font-size:13px}.password-row{grid-template-columns:1fr auto;align-items:end;display:grid!important}.password-row>input{grid-column:1/2}.password-row>button{grid-area:1/2/3/3;align-self:end}.crm-toolbar{margin-top:16px}.crm-table{min-width:1050px}.crm-table td{vertical-align:middle}.prospecting-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:18px;padding:20px;box-shadow:0 5px 20px #0f172a08}.prospecting-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px;display:flex}.prospecting-heading>div{flex-direction:column;gap:5px;display:flex}.prospecting-heading span{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:12px;font-weight:700}.prospecting-heading strong{font-size:20px}.prospecting-steps{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;display:grid}.prospecting-steps button{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:9px 4px;font-weight:700}.prospecting-steps button.done{color:#c2410c;background:#fff7ed;border-color:#fdba74}.prospecting-progress{background:#e2e8f0;border-radius:999px;height:8px;margin-top:14px;overflow:hidden}.prospecting-progress span{background:#f97316;height:100%;display:block}.modal-backdrop{z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:min(680px,100%);max-height:90vh;padding:24px;overflow:auto;box-shadow:0 30px 80px #0f172a40}.modal-card.wide{width:min(880px,100%)}.modal-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.modal-heading h2{margin:0 0 5px}.modal-heading p{color:#64748b;margin:0;font-size:13px}.modal-form{flex-direction:column;gap:18px;display:flex}.checkbox-field{border:1px solid #e5e7eb;border-radius:10px;padding:12px;flex-direction:row!important;align-items:center!important;gap:8px!important;display:flex!important}.checkbox-field input{width:auto}.crm-stats article:last-child strong{font-size:20px}.full-edit-panel textarea,.detail-card textarea,.modal-card textarea{resize:vertical}.asaas-status{justify-content:center;align-items:center;display:inline-flex}.client-toolbar input{background:0 0}.table-card{margin-bottom:24px}.expanded-clients-table tbody tr>td:first-child .client-heading strong:after{content:"";vertical-align:1px;background:#dc2626;border-radius:999px;width:9px;height:9px;margin-left:8px;transition:background .2s,box-shadow .2s;display:inline-block;box-shadow:0 0 0 3px #fee2e2,0 0 8px #dc262666}.expanded-clients-table tbody tr:has(>td:nth-child(3) .badge.active)>td:first-child .client-heading strong:after{background:#16a34a;box-shadow:0 0 0 3px #dcfce7,0 0 8px #16a34a66}@media (width<=1100px){.crm-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.client-stats,.detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.detail-full{grid-column:auto}.prospecting-steps{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=700px){.client-stats,.crm-stats,.detail-summary{grid-template-columns:1fr}.client-toolbar{flex-direction:column;align-items:stretch}.folder-tabs{width:100%}.folder-tabs button{flex:1}.search-box{width:100%;min-width:0}.status-filter,.crm-toolbar select,.header-actions{width:100%}.header-actions>*{flex:1}.prospecting-heading{flex-direction:column;align-items:flex-start}.prospecting-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-backdrop{padding:10px}.modal-card{padding:18px}.password-row{grid-template-columns:1fr}.password-row>input,.password-row>button{grid-area:auto}.access-panel{flex-direction:column;align-items:stretch}}.table-card:has(.expanded-clients-table){overflow:visible}.expanded-clients-table{table-layout:fixed;width:100%;min-width:0!important}.expanded-clients-table th,.expanded-clients-table td{white-space:normal;overflow-wrap:anywhere;padding:10px 7px}.expanded-clients-table th:first-child{width:20%}.expanded-clients-table th:nth-child(2){width:14%}.expanded-clients-table th:nth-child(3){width:11%}.expanded-clients-table th:nth-child(4),.expanded-clients-table th:nth-child(5){width:13%}.expanded-clients-table th:nth-child(6),.expanded-clients-table th:nth-child(7){width:6%}.expanded-clients-table th:nth-child(8){width:7%}.expanded-clients-table .client-heading{gap:6px}.expanded-clients-table .client-heading>div{min-width:0}.expanded-clients-table .client-heading small{white-space:normal;line-height:1.35;display:block}.expanded-clients-table .progress-cell{min-width:0}.expanded-clients-table .badge{white-space:nowrap;font-size:11px}.expanded-clients-table .asaas-status{padding:7px 8px;font-size:11px}.expanded-clients-table th:nth-child(7),.expanded-clients-table th:nth-child(8),.expanded-clients-table th:nth-child(9),.expanded-clients-table td:nth-child(7),.expanded-clients-table td:nth-child(8),.expanded-clients-table td:nth-child(9){text-align:center}.expanded-clients-table td:nth-child(2) .inline-link,.expanded-clients-table td:nth-child(7)>button,.expanded-clients-table td:nth-child(8)>a,.expanded-clients-table td:nth-child(9) .table-actions>*{border-radius:8px;justify-content:center;align-items:center;width:30px;min-width:30px;height:30px;min-height:30px;line-height:1;display:inline-flex;position:relative;padding:0!important}.expanded-clients-table td:nth-child(2) .inline-link{color:#ea580c;background:#fff;border:1px solid #d8dee8;margin-top:6px;font-size:0}.expanded-clients-table td:nth-child(2) .inline-link svg{width:15px;height:15px}.expanded-clients-table td:nth-child(7)>button{font-size:0}.expanded-clients-table td:nth-child(7)>button:before{content:"↔";color:#475569;font-size:17px;font-weight:800}.expanded-clients-table td:nth-child(8)>a{color:#ea580c;background:#fff;border:1px solid #d8dee8;font-size:0}.expanded-clients-table td:nth-child(8)>a:before{content:"☁";font-size:16px}.expanded-clients-table td:nth-child(9) .table-actions>a{font-size:0}.expanded-clients-table td:nth-child(9) .table-actions>a:before{content:"›";color:#475569;font-size:24px;font-weight:800;line-height:1}.expanded-clients-table td:nth-child(9) .table-actions>button{padding:0!important}.expanded-clients-table td:nth-child(2) .inline-link:after,.expanded-clients-table td:nth-child(7)>button:after,.expanded-clients-table td:nth-child(8)>a:after,.expanded-clients-table td:nth-child(9) .table-actions>:after{z-index:50;color:#fff;text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;background:#0f172a;border-radius:8px;width:max-content;max-width:260px;padding:8px 10px;font-size:12px;font-weight:600;line-height:1.35;transition:opacity .12s,visibility .12s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0f172a33}.expanded-clients-table td:nth-child(2) .inline-link:after{content:"Abrir site — abre o site publicado em uma nova aba."}.expanded-clients-table td:nth-child(7)>button:after{content:"Acesso — bloqueia ou libera a entrada do cliente no portal."}.expanded-clients-table td:nth-child(8)>a:after{content:"Google Drive — abre a pasta vinculada deste cliente."}.expanded-clients-table td:nth-child(9) .table-actions>a:after{content:"Abrir cliente — mostra dados completos, etapas e controles."}.expanded-clients-table td:nth-child(9) .table-actions>button:nth-child(2):after{content:"Arquivar / reativar — organiza o cliente sem excluir os dados."}.expanded-clients-table td:nth-child(9) .table-actions>button:nth-child(3):after{content:"Excluir — remove definitivamente o cliente após confirmação."}.expanded-clients-table td:nth-child(2) .inline-link:hover:after,.expanded-clients-table td:nth-child(7)>button:hover:after,.expanded-clients-table td:nth-child(8)>a:hover:after,.expanded-clients-table td:nth-child(9) .table-actions>:hover:after{opacity:1;visibility:visible}.expanded-clients-table td:nth-child(9) .table-actions>:last-child:after{left:auto;right:0;transform:none}@media (width<=1180px){.expanded-clients-table th,.expanded-clients-table td{padding:9px 5px;font-size:12px}.expanded-clients-table .badge{padding:4px 6px;font-size:10px}.expanded-clients-table td:nth-child(2) .inline-link,.expanded-clients-table td:nth-child(7)>button,.expanded-clients-table td:nth-child(8)>a,.expanded-clients-table td:nth-child(9) .table-actions>*{width:28px;min-width:28px;height:28px;min-height:28px}.expanded-clients-table .edit-pencil{flex-basis:32px;width:32px;height:32px}}.expanded-clients-table th:nth-child(9){width:12%}.expanded-clients-table .table-actions{flex-wrap:nowrap;justify-content:center;gap:0!important}.expanded-clients-table td:nth-child(9) .table-actions>*{border:1px solid #d8dee8!important;border-radius:0!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;margin:0!important}.expanded-clients-table td:nth-child(9) .table-actions>*+*{margin-left:-1px!important}.expanded-clients-table td:nth-child(9) .table-actions>:first-child{border-radius:10px 0 0 10px!important}.expanded-clients-table td:nth-child(9) .table-actions>:last-child{border-radius:0 10px 10px 0!important}.expanded-clients-table td:nth-child(9) .table-actions>a:before{font-size:27px}.expanded-clients-table td:nth-child(9) .table-actions svg{width:17px;height:17px}@media (width<=1180px){.expanded-clients-table td:nth-child(9) .table-actions>*{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}}.badge.billing{margin-top:6px;font-weight:800}.badge.billing.nubank{color:#fff;background:#820ad1}.badge.billing.infinitepay{color:#c6ff00;background:#000}.badge.billing.unset{color:#64748b;background:#f1f5f9}
