.legacy-menubar{display:flex;gap:4px;align-items:center;background:#351014;border:1px solid #54242a;border-radius:7px;padding:4px 8px;margin-bottom:20px}.legacy-menubar button{font-size:12px;padding:7px 13px;color:#e5cdd0}.legacy-menubar button:hover{background:#571d26}.legacy-menubar>span{font-size:11px;color:#aa9296;margin-left:auto;padding-right:8px}.legacy-menubar i{font-style:normal;font-size:10px;margin-left:15px;color:#a9a3a7}.legacy-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.legacy-title h1{font-size:25px;letter-spacing:-.7px;margin-top:6px}.legacy-title .eyebrow{font-size:9px}.legacy-customer{border:1px solid #3f3338;background:linear-gradient(110deg,#220b10 0,#381015 55%,#111216 55%);border-radius:9px;padding:20px}.legacy-customer .form-field{margin-bottom:13px;min-width:0}.legacy-customer .form-field label{font-size:12px;color:#d5cdd1}.legacy-customer .form-field input,.legacy-customer .form-field select{padding:9px 10px;min-height:37px;font-size:12px}.legacy-search-row{display:grid;grid-template-columns:85px minmax(180px,2fr) minmax(120px,1fr) minmax(120px,1fr) auto;gap:14px;align-items:end;padding:12px 14px;border:1px solid #664047;border-radius:6px;margin-bottom:20px}.legacy-search-row .form-field{margin:0}.legacy-search-row .btn{min-height:37px;font-size:12px}.legacy-person-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 16px}.legacy-person-grid .legacy-email,.legacy-person-grid .form-field:has(#portal-preview){grid-column:span 2}.legacy-customer-bottom{display:grid;grid-template-columns:minmax(330px,1.8fr) minmax(150px,.8fr) 190px;gap:24px;margin-top:15px;align-items:center}.legacy-customer fieldset,.legacy-contact-tools fieldset{border:1px solid #655058;border-radius:7px;padding:14px;min-width:0}.legacy-customer legend,.legacy-contact-tools legend{font-size:13px;padding:0 7px;color:#ece2e5;font-weight:500}.legacy-address .fields-grid{gap:0 12px;grid-template-columns:repeat(4,minmax(0,1fr))}.legacy-address .fields-grid .span-3{grid-column:span 3}.legacy-address .fields-grid .span-4{grid-column:span 4}.legacy-cep-row{display:flex;align-items:center;gap:12px}.legacy-cep-row .form-field{max-width:145px;flex:1}.legacy-cep-row .btn{font-size:10px;padding:8px 10px;min-height:35px}.legacy-brand-center{text-align:center}.legacy-brand-center img{width:100%;max-width:180px;height:auto;border-radius:0;filter:drop-shadow(0 14px 20px #0005)}.legacy-brand-center strong{display:block;font-size:14px;margin-top:12px;color:#e5c5ca;letter-spacing:.3px}.legacy-doc-column fieldset{margin-bottom:14px}.legacy-doc-column .document-check{margin:8px 0;font-size:12px;color:#ddd4d7}.legacy-doc-column>.btn{width:100%;justify-content:center;min-height:40px}.legacy-form-note{font-size:10px;color:#b69ba2;margin-top:16px;line-height:1.6}.legacy-bottom-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:16px 0}.legacy-bottom-actions .btn{font-size:11px;padding:10px 12px;min-height:36px}.legacy-home{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:480px;padding:50px;border-radius:12px;overflow:hidden;background:linear-gradient(113deg,#23080e 0%,#640d1c 64%,#08090c 64%);border:1px solid #4d222b}.legacy-home-copy{position:relative;z-index:1}.legacy-home h1{font-size:40px;line-height:1.2;letter-spacing:-1.4px;color:#fff;margin:18px 0}.legacy-home-copy>p:not(.eyebrow){font-size:13px;line-height:1.8;color:#ceb2ba}.legacy-home-copy>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.legacy-home>img{width:27%;max-width:245px;border-radius:0;margin-left:30px}.legacy-home-note{position:absolute;bottom:24px;left:50px;font-size:10px;color:#aa808c}.legacy-home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:18px}.legacy-home-shortcuts button{display:flex;align-items:center;gap:12px;text-align:left;padding:22px;background:#191a21;border:1px solid #343139;border-radius:9px;font-size:13px;color:#d7cdd2}.legacy-home-shortcuts svg{width:20px;color:#d35468}.legacy-contact-tools{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(380px,2.8fr) minmax(150px,1fr);gap:16px}.legacy-contact-tools input,.legacy-contact-tools select{width:100%;background:#171a21;color:#eee;border:1px solid #4c4350;border-radius:6px;min-height:38px;padding:8px;font-size:12px}.legacy-label{display:block;font-size:12px;margin-bottom:8px;color:#d0c6cd}.legacy-contact-interact>div:first-of-type{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px}.legacy-contact-interact .form-field{margin-bottom:12px}.legacy-contact-buttons{display:flex;gap:8px;flex-wrap:wrap}.legacy-contact-buttons .btn{padding:8px 12px;font-size:11px;min-height:34px}.legacy-contact-tools fieldset:last-child .btn{margin-top:12px;width:100%;justify-content:center}.legacy-contact-hint{font-size:11px;color:#b8a7af;margin:20px 0}.legacy-contact-table table{min-width:1040px}.legacy-contact-table td{font-size:12px}.legacy-contact-table .legacy-selected-row td{background:#3d1f29;color:#fff}.legacy-contact-table .legacy-selected-row .row-action{background:#b7384d;color:white}
@media(min-width:761px){.app-shell main{padding-top:24px}.client-tabs{margin-bottom:20px}.topbar{height:65px}.sidebar{width:216px}.app-shell{margin-left:216px}.sidebar .nav-link{font-size:12px}.sidebar .brand{gap:10px}.sidebar .brand strong{font-size:16px}.sidebar-tip{display:none}.sidebar-bottom{margin-top:auto}}
@media(max-width:1100px){.legacy-customer-bottom{grid-template-columns:minmax(300px,1fr) 190px}.legacy-brand-center{display:none}.legacy-search-row{grid-template-columns:70px minmax(140px,1.5fr) 1fr 1fr;gap:10px}.legacy-search-row .btn{grid-column:4}.legacy-person-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.legacy-contact-tools{grid-template-columns:1fr 2fr}.legacy-contact-tools fieldset:last-child{grid-column:1/-1;display:flex;gap:12px;align-items:center}.legacy-contact-tools fieldset:last-child .btn{width:auto;margin:0}.legacy-contact-tools fieldset:last-child select{max-width:380px}.legacy-home{padding:36px}.legacy-home h1{font-size:34px}.legacy-home-note{left:36px}.legacy-home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.legacy-search-row{grid-template-columns:80px minmax(0,1fr)}.legacy-search-row .btn{grid-column:2}.legacy-person-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-person-grid .legacy-email{grid-column:span 2}.legacy-contact-tools{grid-template-columns:1fr}.legacy-contact-tools fieldset:last-child{grid-column:auto}.legacy-contact-interact>div:first-of-type{grid-template-columns:1fr}.legacy-customer-bottom{grid-template-columns:1fr}.legacy-doc-column{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.legacy-doc-column fieldset{grid-row:span 2}.legacy-doc-column>.btn{align-self:start}.legacy-home{min-height:450px}.legacy-home>img{width:30%;margin-left:15px}.legacy-home-copy>div .btn{font-size:11px}}
@media(max-width:760px){.legacy-menubar>span{display:none}.legacy-menubar{margin-bottom:22px}.legacy-menubar button{font-size:11px;padding:7px 10px}.legacy-title h1{font-size:23px}.legacy-title .demo-pill{display:none!important}.legacy-customer{padding:14px;background:linear-gradient(135deg,#250a10,#14151b 80%)}.legacy-search-row{padding:10px;gap:10px}.legacy-person-grid{gap:0 11px}.legacy-customer .form-field input,.legacy-customer .form-field select{font-size:12px;padding:9px 8px}.legacy-customer .form-field label{font-size:11px}.legacy-customer-bottom{gap:16px;margin-top:8px}.legacy-customer fieldset{padding:12px}.legacy-address .fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.legacy-address .fields-grid .span-3,.legacy-address .fields-grid .span-4{grid-column:span 2}.legacy-address .form-field:has([name="numero"]){grid-column:span 2}.legacy-cep-row{flex-wrap:wrap;gap:0}.legacy-cep-row .btn{margin:0 0 13px 12px}.legacy-bottom-actions{justify-content:stretch}.legacy-bottom-actions .btn{flex:1;justify-content:center;white-space:normal;font-size:10px}.legacy-home{min-height:500px;padding:28px;flex-direction:column;align-items:flex-start;justify-content:flex-start}.legacy-home h1{font-size:30px}.legacy-home>img{width:100px;position:absolute;bottom:58px;right:28px;opacity:.8}.legacy-home-note{left:28px;right:25px;line-height:1.6;font-size:9px}.legacy-home-copy>p:not(.eyebrow){font-size:12px}.legacy-home-shortcuts{gap:10px}.legacy-home-shortcuts button{padding:17px 13px;font-size:11px;gap:9px}.legacy-doc-column{grid-template-columns:1fr 1fr}.legacy-contact-tools fieldset:last-child{flex-direction:column;align-items:stretch}}
@media print{.legacy-menubar,.legacy-bottom-actions{display:none!important}}
/* Clean contour of the transparent brand asset, preserving the metallic rim. */
img[src$="logo-hs-transparente.png"]{background:transparent;border-radius:0;clip-path:inset(5% 4.7% 5.5% 4.7% round 16%)}
