.customer-open-link{display:block;margin-top:6px;padding:0;border:0;background:transparent;color:var(--blue);font-size:10px;font-weight:800;cursor:pointer}
.customer-open-link:hover{text-decoration:underline}
#condominiumRegistrationModal [hidden],#customerUnitsAccordion[hidden],#tab-customerUnitsAccordion[hidden]{display:none!important}
#newCondominiumCnpj[aria-invalid="true"]{border-color:#b42318;background:#fff5f4}
.customer-profile-modal{width:min(900px,calc(100vw - 28px));max-height:92vh;overflow:auto}
.customer-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px;border:1px solid #cfe0f4;border-radius:12px;background:linear-gradient(120deg,#f3f7ff,#f7fffd)}
.customer-profile-head>div{display:grid;gap:4px}.customer-profile-head small{color:#547093;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.customer-profile-head strong{color:#17314e;font-size:15px}.customer-profile-head span:not(.badge){color:var(--muted);font-size:11px}
.customer-profile-tabs{display:flex;gap:6px;overflow:auto;margin-bottom:14px;padding-bottom:4px}.customer-profile-tab{border:1px solid var(--line);border-radius:9px;background:#f6f8fb;color:#526174;padding:8px 10px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.customer-profile-tab.active{border-color:#2563eb;background:#eaf1ff;color:#1d56c3}
.customer-profile-panel{display:none}.customer-profile-panel.active{display:block}.customer-profile-actions{justify-content:flex-start;margin-top:14px}.customer-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.customer-profile-summary>div{padding:13px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.customer-profile-summary small,.customer-profile-summary strong{display:block}.customer-profile-summary small{color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.customer-profile-summary strong{margin-top:6px;font-size:16px;color:#17314e}.customer-profile-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.customer-profile-list span{padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#5c6c80;font-size:11px}.customer-profile-cases{display:grid;gap:8px;margin-top:12px}.customer-profile-cases button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left;cursor:pointer}.customer-profile-cases button:hover{border-color:#9cbcff;background:#f7faff}.customer-profile-cases span{display:grid;gap:3px}.customer-profile-cases small{color:var(--muted)}.customer-profile-history{display:grid;gap:10px}.customer-profile-history>div{display:flex;align-items:flex-start;gap:9px}.customer-profile-history i{width:9px;height:9px;margin-top:4px;border-radius:50%;background:#2563eb;box-shadow:0 0 0 4px #eaf1ff}.customer-profile-history span{display:grid;gap:3px}.customer-profile-history small{color:var(--muted)}
.customer-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.customer-profile-grid>div{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.customer-profile-grid .span-2{grid-column:span 2}
.customer-profile-grid small{color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.customer-profile-grid strong{color:#22364e;font-size:13px;line-height:1.4}
.customer-inline-edit-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.customer-inline-edit-bar>span{color:var(--muted);font-size:11px}.customer-inline-edit{display:grid;gap:16px}.customer-inline-edit-heading,.customer-inline-edit-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.customer-inline-edit-heading>div{display:grid;gap:4px}.customer-inline-edit-heading strong{color:#1c3551;font-size:14px}.customer-inline-edit-heading span,.customer-inline-edit-footer p{margin:0;color:var(--muted);font-size:11px}.customer-inline-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}.customer-inline-edit-grid .span-2{grid-column:span 2}.customer-inline-edit-grid .field{display:grid;align-content:start;gap:6px}.customer-inline-edit-grid .field label{color:#5f6c7d;font-size:10px;font-weight:800}.customer-inline-edit-grid .field input{width:100%}.customer-inline-readonly{display:grid;gap:5px;padding:11px 12px;border:1px solid #e4e7ed;border-radius:9px;background:#f7f8fa}.customer-inline-readonly small{color:#858c98;font-size:10px}.customer-inline-readonly strong{color:#4d5768;font-size:12px}.customer-inline-edit-footer{padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:600px){.customer-profile-grid,.customer-profile-summary,.customer-inline-edit-grid{grid-template-columns:1fr}.customer-profile-grid .span-2,.customer-inline-edit-grid .span-2{grid-column:auto}.customer-profile-head,.customer-inline-edit-bar,.customer-inline-edit-heading,.customer-inline-edit-footer{align-items:stretch;flex-direction:column}.customer-inline-edit-footer .actions{justify-content:flex-start}}

.customer-name-cell{min-width:180px}.customer-name-link{padding:0;border:0;background:transparent;color:#172033;font:inherit;font-weight:800;text-align:left;cursor:pointer}.customer-name-link:hover,.customer-name-link:focus-visible{color:var(--blue);text-decoration:underline}.customer-open-link{width:max-content;padding:5px 9px;border:1px solid #c8d8ed;border-radius:7px;background:#fff}.customer-open-link:hover{border-color:#2563eb;background:#eff5ff;text-decoration:none}
.customer-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.customer-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;border:1px solid #cfe0f4;border-radius:15px;background:linear-gradient(120deg,#f2f7ff,#f4fffb);box-shadow:0 8px 24px rgba(28,68,115,.06)}.customer-detail-hero h1{margin:5px 0;color:#12283f;font-size:24px}.customer-detail-hero p{margin:0;color:var(--muted)}.customer-detail-kicker{color:#2563eb;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.customer-detail-tabs{display:flex;gap:6px;overflow:auto;margin:14px 0;padding:5px;border:1px solid var(--line);border-radius:11px;background:#fff}.customer-detail-tabs button{border:0;border-radius:8px;background:transparent;color:#526174;padding:8px 11px;font-size:10px;font-weight:850;white-space:nowrap;cursor:pointer}.customer-detail-tabs button:hover,.customer-detail-tabs button.active{background:#eaf1ff;color:#1d56c3}.customer-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0}
.customer-accordion-stack{display:grid;gap:9px}.customer-detail-accordion{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(28,45,76,.035)}.customer-detail-accordion summary{display:flex;align-items:center;gap:12px;padding:15px 17px;cursor:pointer;list-style:none}.customer-detail-accordion summary::-webkit-details-marker{display:none}.customer-detail-accordion summary:after{content:'⌄';margin-left:auto;color:#547093;font-size:18px;font-weight:900;transition:transform .18s}.customer-detail-accordion[open] summary:after{transform:rotate(180deg)}.customer-detail-accordion summary span{color:#1c3551;font-size:13px;font-weight:900}.customer-detail-accordion summary small{color:var(--muted);font-size:10px}.customer-detail-accordion[open] summary{border-bottom:1px solid var(--line);background:#f8fafc}.customer-accordion-content{padding:16px}
.customer-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-profile-grid .span-3{grid-column:span 3}.customer-profile-grid>div{min-height:62px}.customer-profile-summary>div{background:#fff}.customer-detail-table{width:100%}.customer-detail-table td,.customer-detail-table th{font-size:10px}.customer-detail-table .num{text-align:right}.customer-profile-edit-modal,.customer-document-upload-modal{width:min(860px,calc(100vw - 28px));max-height:92vh;overflow:auto}.customer-profile-edit-modal textarea{min-height:80px;resize:vertical}
.customer-contract-list{display:grid;gap:14px}.customer-contract-card{overflow:hidden;border:1px solid #cbd9ea;border-radius:13px;background:#f8fafc}.customer-contract-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,#f2f7ff,#f7fffc)}.customer-contract-card>header small,.customer-contract-card>header span{display:block;color:var(--muted);font-size:10px}.customer-contract-card>header h4{margin:4px 0;color:#17314e;font-size:15px}.customer-contract-sections{display:grid;gap:7px;padding:11px}.customer-contract-section{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}.customer-contract-section>summary{display:flex;align-items:center;gap:10px;padding:11px 12px;list-style:none;cursor:pointer}.customer-contract-section>summary::-webkit-details-marker{display:none}.customer-contract-section>summary:after{content:'+';margin-left:auto;color:#547093;font-size:16px;font-weight:900}.customer-contract-section[open]>summary:after{content:'−'}.customer-contract-section>summary span{color:#27435f;font-size:11px;font-weight:900}.customer-contract-section>summary small{color:var(--muted);font-size:9px}.customer-contract-section[open]>summary{border-bottom:1px solid var(--line);background:#f8fafc}.customer-contract-section>div{padding:12px}.customer-contract-section .customer-profile-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.customer-proposal-list{display:grid;gap:10px}.customer-proposal-card{display:grid;gap:10px;padding:13px 14px;border:1px solid #cbd9ea;border-radius:12px;background:#fff}.customer-proposal-main{display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-proposal-main span{display:grid;gap:3px}.customer-proposal-main b{color:#17314e;font-size:13px}.customer-proposal-main small{color:var(--muted);font-size:10px}.customer-proposal-main>strong{color:#17314e;white-space:nowrap}.customer-proposal-actions{display:flex;flex-wrap:wrap;gap:7px}.customer-proposal-versions{display:flex;flex-wrap:wrap;gap:6px;padding-top:9px;border-top:1px solid var(--line)}.customer-proposal-versions button{padding:5px 8px;border:1px solid #c9d8ec;border-radius:999px;background:#f7faff;color:#315b91;font-size:9px;font-weight:800;cursor:pointer}.customer-proposal-versions button:hover{border-color:#2563eb;background:#eaf1ff;color:#1747b7}
@media(max-width:900px){.customer-profile-grid{grid-template-columns:1fr 1fr}.customer-profile-grid .span-3{grid-column:span 2}.customer-detail-summary,.customer-contract-section .customer-profile-summary{grid-template-columns:1fr 1fr}.customer-detail-accordion summary small{display:none}}
@media(max-width:600px){.customer-profile-grid,.customer-detail-summary,.customer-contract-section .customer-profile-summary{grid-template-columns:1fr}.customer-profile-grid .span-2,.customer-profile-grid .span-3{grid-column:auto}.customer-detail-hero,.customer-detail-toolbar,.customer-contract-card>header,.customer-proposal-main{align-items:stretch;flex-direction:column}.customer-detail-toolbar .actions{justify-content:flex-start}.customer-contract-section>summary small{display:none}}

/* Cadastro 360º alinhado à ficha de unidades do Pluze Operacional. */
.customer-detail-hero,.unit-finance-hero{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:17px;padding:25px 28px;overflow:hidden;border:0;border-radius:15px;background:linear-gradient(135deg,#17285d,#423aa9 58%,#725ce9);box-shadow:0 8px 24px rgba(28,45,96,.12);color:#fff}.customer-detail-hero:after,.unit-finance-hero:after{content:'⌂';position:absolute;right:150px;top:-70px;color:rgba(255,255,255,.055);font-size:190px}.finance-360-icon{display:grid;width:56px;height:56px;place-items:center;border-radius:16px;background:rgba(255,255,255,.14);font-size:28px}.finance-360-heading{position:relative;z-index:1;min-width:0}.customer-detail-hero h1,.unit-finance-hero h1{margin:4px 0;color:#fff;font-size:25px}.customer-detail-hero p,.unit-finance-hero p,.customer-detail-hero .customer-detail-kicker,.unit-finance-kicker{margin:0;color:rgba(255,255,255,.76)}.customer-detail-hero .actions,.unit-finance-hero .actions{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:flex-end}.customer-detail-hero .btn.light,.unit-finance-hero .btn.light{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff}.customer-detail-hero .btn.accent,.unit-finance-hero .btn.accent{border-color:#ffb28c;background:#ffb28c;color:#172451}.finance-360-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.finance-360-tags>span{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:8px;font-weight:900;text-transform:uppercase}.finance-360-tags>.badge.green{background:rgba(54,213,153,.2);color:#d9fff0}.finance-360-tags>.badge.gray{background:rgba(255,189,96,.2);color:#fff0ce}
.customer-detail-tabs{margin:14px 0;border-color:#e2e6ee;border-radius:12px}.customer-detail-tabs button:hover,.customer-detail-tabs button.active{background:#eceaff;color:#493bd1}.customer-accordion-stack{gap:10px}.customer-detail-accordion{scroll-margin-top:18px;border-radius:14px}.customer-detail-accordion>summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto 22px;align-items:center;gap:13px;padding:15px 18px}.customer-detail-accordion>summary:after{display:none;content:none}.customer-detail-accordion>summary>.finance-accordion-icon,.unit-finance-accordion>summary>.finance-accordion-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#eef0ff;color:#5143dc;font-size:17px;font-weight:900}.customer-detail-accordion>summary>.finance-accordion-title,.unit-finance-accordion>summary>.finance-accordion-title{display:block;min-width:0}.customer-detail-accordion>summary>.finance-accordion-title small,.customer-detail-accordion>summary>.finance-accordion-title strong,.customer-detail-accordion>summary>.finance-accordion-title span,.unit-finance-accordion>summary>.finance-accordion-title small,.unit-finance-accordion>summary>.finance-accordion-title strong,.unit-finance-accordion>summary>.finance-accordion-title span{display:block}.customer-detail-accordion>summary>.finance-accordion-title small,.unit-finance-accordion>summary>.finance-accordion-title small{color:#6558e6;font-size:8px;font-weight:900;letter-spacing:.09em}.customer-detail-accordion>summary>.finance-accordion-title strong,.unit-finance-accordion>summary>.finance-accordion-title strong{margin:2px 0;color:#1c3551;font-size:14px;font-weight:900}.customer-detail-accordion>summary>.finance-accordion-title span,.unit-finance-accordion>summary>.finance-accordion-title span{color:var(--muted);font-size:10px;font-weight:600}.customer-detail-accordion>summary>em,.unit-finance-accordion>summary>em{padding:6px 9px;border-radius:999px;background:#f2f4f8;color:#727d91;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.customer-detail-accordion>summary>b,.unit-finance-accordion>summary>b{color:#5143dc;font-size:17px;transition:transform .18s}.customer-detail-accordion[open]>summary>b,.unit-finance-accordion[open]>summary>b{transform:rotate(180deg)}.customer-detail-accordion.is-history>summary>.finance-accordion-icon,.unit-finance-accordion.is-history>summary>.finance-accordion-icon{background:#e8f7ef;color:#18704a}.customer-detail-accordion.is-history>summary>.finance-accordion-title small,.unit-finance-accordion.is-history>summary>.finance-accordion-title small{color:#18704a}.customer-detail-accordion.is-history>summary>em,.unit-finance-accordion.is-history>summary>em{background:#e8f7ef;color:#18704a}
.customer-bank-account-list{display:grid;gap:9px;margin-top:12px}.customer-bank-account{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.customer-bank-account span,.customer-bank-account b,.customer-bank-account small{display:block}.customer-bank-account small{margin-top:4px;color:var(--muted)}.customer-bank-account-form{margin-top:14px}
@media(max-width:900px){.customer-detail-hero,.unit-finance-hero{grid-template-columns:56px minmax(0,1fr)}.customer-detail-hero>.actions,.unit-finance-hero>.actions{grid-column:2;justify-content:flex-start}.customer-detail-accordion>summary>.finance-accordion-title span{display:none}}
@media(max-width:600px){.customer-detail-hero,.unit-finance-hero{grid-template-columns:1fr;align-items:flex-start}.customer-detail-hero>.actions,.unit-finance-hero>.actions{grid-column:1}.customer-detail-accordion>summary{grid-template-columns:38px minmax(0,1fr) 20px;gap:10px;padding:13px}.customer-detail-accordion>summary>.finance-accordion-icon{width:36px;height:36px}.customer-detail-accordion>summary>em{grid-column:2;padding:0;background:transparent!important}.customer-detail-accordion>summary>b{grid-column:3;grid-row:1}}
.customer-proposal-model,.company-product-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;border:1px solid #e3e8f0;border-radius:12px;background:#fff;margin-bottom:10px}
.customer-proposal-model>div,.company-product-row>div{min-width:0;display:grid;gap:5px}
.customer-proposal-model strong,.company-product-row b{color:#17294b;font-size:14px}
.customer-proposal-model small,.company-product-row small{color:#68758a;font-size:12px}
.customer-proposal-model p{margin:3px 0 0;color:#51617b;font-size:12px}
@media(max-width:680px){.customer-proposal-model,.company-product-row{align-items:flex-start;flex-direction:column}}
.customer-unit-search{max-width:360px;margin-top:16px}
.customer-profile-list [data-unit-label][hidden]{display:none}
.customer-profile-list .customer-unit-edit{margin-left:7px;padding:2px 4px;border:0;background:transparent;color:#493bd1;font:inherit;font-weight:700;cursor:pointer}
.customer-profile-list .customer-unit-edit:hover,.customer-profile-list .customer-unit-edit:focus{text-decoration:underline}
.customer-unit-editor{max-width:700px;margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.customer-unit-editor[hidden]{display:none}
.customer-unit-editor .form-grid{margin:12px 0}
.customer-unit-editor>small{display:block;color:var(--muted)}
.customer-unit-editor .actions{justify-content:flex-end;margin-top:12px}
