@font-face{font-family:Figtree;src:url(/static/assets/figtree-400.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Figtree;src:url(/static/assets/figtree-500.ttf) format("truetype");font-weight:500;font-display:swap}@font-face{font-family:Figtree;src:url(/static/assets/figtree-600.ttf) format("truetype");font-weight:600;font-display:swap}@font-face{font-family:Figtree;src:url(/static/assets/figtree-700.ttf) format("truetype");font-weight:700;font-display:swap}:root{font-family:Figtree,Arial,sans-serif;color:#17213a;background:#f3f7f5;font-synthesis:none;color-scheme:light;--navy: #0b1531;--green: #16834a;--green-dark: #0c6235;--green-soft: #ddf3e5;--ink: #17213a;--muted: #5b657b;--line: #d9e2de;--ground: #f3f7f5;--danger: #b42318;--focus: #2e6bff;--shadow: 0 24px 64px rgba(11, 21, 49, .16)}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#8ba598 var(--ground)}html{min-width:320px;background:var(--ground);scroll-padding-top:88px}body{margin:0;min-width:320px;min-height:100vh;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}input{caret-color:var(--green-dark)}::selection{background:#b7e6c8;color:var(--navy)}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:var(--ground)}::-webkit-scrollbar-thumb{background:#8ba598;border:3px solid var(--ground);border-radius:999px}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}a{text-underline-offset:3px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.icon{width:20px;height:20px;flex:none}.button{min-height:44px;border:0;border-radius:12px;padding:.72rem 1rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;transition:background-color .18s ease,color .18s ease,transform .18s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{background:var(--green);color:#fff}.button-primary:hover:not(:disabled){background:var(--green-dark)}.button-secondary{background:#fff;color:var(--navy);border:1px solid var(--line)}.button-secondary:hover:not(:disabled){background:var(--ground);border-color:#9db7aa}.button-quiet{background:transparent;color:var(--ink)}.button-quiet:hover{background:#eef2f0}.button-danger{background:var(--danger);color:#fff}.button-danger-outline{background:#fff;color:var(--danger);border:1px solid #efb3ae}.button-full{width:100%}input,select{width:100%;min-height:46px;border:1px solid #b8c7c0;border-radius:10px;background:#fff;color:var(--ink);padding:.7rem .8rem;transition:border-color .18s ease,box-shadow .18s ease}input:hover,select:hover{border-color:#819b8e}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #16834a1f}label{font-size:.88rem;font-weight:700;color:var(--ink)}.brand-lockup{display:flex;flex-direction:column;gap:.75rem;align-items:flex-start}.brand-image-wrap{background:#fff;border-radius:10px;padding:.42rem .55rem;width:186px;line-height:0}.brand-image-wrap img{width:100%;height:auto}.brand-lockup>span{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#cbd4e7}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,42%) 1fr;background:#fff}.auth-brand{background:var(--navy);color:#fff;padding:clamp(2rem,5vw,4.5rem);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:#2b417859;right:-220px;bottom:-160px}.auth-brand-copy{max-width:520px;position:relative;z-index:1}.auth-brand-copy h1{font-size:clamp(2.4rem,4vw,4.6rem);line-height:1.03;letter-spacing:-.035em;margin:0 0 1.5rem;text-wrap:balance}.auth-brand-copy p{font-size:1.12rem;line-height:1.65;color:#cbd4e7;max-width:42ch;margin:0}.auth-footnote{font-size:.82rem;color:#9eacc8;margin:0;position:relative;z-index:1}.auth-panel{display:flex;align-items:center;justify-content:center;padding:2rem;background:#fff}.auth-form-wrap{width:min(100%,440px)}.auth-mobile-brand{display:none}.auth-form-wrap h2{font-size:2rem;letter-spacing:-.025em;line-height:1.15;margin:0 0 .65rem}.auth-description{color:var(--muted);margin:0 0 2rem;max-width:42ch}.auth-form{display:grid;gap:.65rem}.auth-form input{margin-bottom:.55rem}.auth-form .button{margin-top:.65rem}.label-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.label-row span{font-size:.78rem;color:var(--muted)}.form-error{border:1px solid #f0bbb7;background:#fff1f0;color:#8f1d15;border-radius:10px;padding:.8rem .9rem;margin-bottom:.55rem;font-weight:600}.field-hint{font-size:.82rem;color:var(--muted);margin:-.45rem 0 .4rem}.auth-help{font-size:.86rem;color:var(--muted);margin:1.25rem 0 0;text-align:center}.boot-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;color:var(--muted)}.boot-screen .brand-lockup{align-items:center}.boot-screen .brand-lockup>span{color:var(--navy)}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);background:var(--ground)}.skip-link{position:fixed;top:12px;left:12px;z-index:50;background:#fff;color:var(--navy);padding:.75rem 1rem;border-radius:8px;box-shadow:var(--shadow);transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--navy);color:#fff;padding:1.4rem 1rem;display:flex;flex-direction:column;z-index:20}.sidebar .brand-lockup{padding:.15rem .4rem 1.8rem}.sidebar nav{display:grid;gap:.35rem}.nav-item{min-height:48px;border:0;border-radius:10px;padding:.72rem .8rem;background:transparent;color:#cbd4e7;display:flex;align-items:center;gap:.78rem;text-align:left;font-weight:600}.nav-item:hover{background:#ffffff14;color:#fff}.nav-item.active{background:#fff;color:var(--navy)}.sidebar-coming{margin-top:auto;border-top:1px solid rgba(255,255,255,.16);padding:1.25rem .45rem .25rem}.sidebar-coming strong{display:block;font-size:.92rem;margin:0 0 .35rem}.sidebar-coming p{color:#aebbd3;font-size:.78rem;line-height:1.5;margin:0}.workspace{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 2rem;position:sticky;top:0;z-index:10}.organization-switcher{display:flex;align-items:center;gap:.75rem}.organization-switcher>span{font-size:.76rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:700}.organization-switcher strong{font-size:.95rem}.organization-switcher select{min-height:44px;width:auto;padding:.45rem 2.2rem .45rem .7rem}.session-info{display:flex;align-items:center;gap:.8rem}.session-info>div{display:flex;flex-direction:column;text-align:right}.session-info strong{font-size:.88rem}.session-info span{font-size:.76rem;color:var(--muted)}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:var(--ink)}.icon-button:hover{background:#eef2f0}.menu-button{display:none;width:44px;height:44px;border:0;background:transparent;border-radius:9px;padding:10px}.menu-button span:not(.sr-only){display:block;height:2px;background:var(--navy);margin:4px 0;border-radius:2px}.sidebar-scrim{display:none}.main-content{min-height:calc(100vh - 76px)}.page{padding:2rem clamp(1.25rem,3vw,3rem) 4rem}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;margin-bottom:1.75rem}.page-heading h1{font-size:2rem;line-height:1.15;letter-spacing:-.025em;margin:0 0 .45rem}.page-heading p{color:var(--muted);margin:0;max-width:62ch}.status-band{background:var(--navy);color:#fff;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1.2rem;align-items:center;padding:1.6rem;border-radius:16px}.status-marker{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff}.status-band h2{font-size:1.15rem;margin:0 0 .25rem}.status-band p{color:#cbd4e7;margin:0;max-width:72ch}.plain-section{margin-top:2.5rem}.plain-section h2{font-size:1rem;margin:0 0 .75rem}.next-step-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:1rem;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:1.2rem 0}.step-index{font-variant-numeric:tabular-nums;color:var(--green-dark);font-weight:700}.next-step-row strong{display:block}.next-step-row p{margin:.2rem 0 0;color:var(--muted)}.status-text{font-size:.82rem;color:var(--muted);font-weight:700}.users-page{padding:0;display:grid;grid-template-columns:minmax(0,1fr);position:relative}.users-main{padding:2rem clamp(1.25rem,3vw,3rem) 4rem;min-width:0}.users-page.drawer-visible{grid-template-columns:minmax(520px,1fr) minmax(360px,440px)}.list-toolbar{display:grid;grid-template-columns:minmax(240px,360px) 1fr auto;align-items:end;gap:.75rem;margin-bottom:1rem}.list-toolbar>label{grid-column:1}.list-toolbar>span{color:var(--muted);font-size:.82rem;padding-bottom:.75rem}.search-control{grid-column:1;position:relative}.search-control .icon{position:absolute;left:.8rem;top:50%;transform:translateY(-50%);color:var(--muted)}.search-control input{padding-left:2.6rem}.user-table-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.user-table{width:100%;border-collapse:collapse}.user-table th,.user-table td{text-align:left;padding:.9rem 1rem;border-bottom:1px solid #e5ebe8;vertical-align:middle}.user-table thead th{background:#f9fbfa;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.065em;font-weight:700}.user-table tbody tr:last-child td{border-bottom:0}.user-table tbody tr:hover,.user-table tbody tr.selected-row{background:#f4faf6}.user-name-button{min-height:44px;border:0;background:transparent;padding:0;display:flex;align-items:center;gap:.72rem;text-align:left;color:var(--ink)}.user-name-button strong,.user-name-button small{display:block}.user-name-button small{font-size:.78rem;color:var(--muted);margin-top:.08rem}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green-dark);font-size:.75rem;font-weight:700}.status-label{display:inline-flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:700}.status-label>span{width:8px;height:8px;border-radius:50%}.status-label.active{color:var(--green-dark)}.status-label.active>span{background:var(--green)}.status-label.inactive{color:#7c3029}.status-label.inactive>span{background:#c7554b}.row-action{width:44px;height:44px;border:0;border-radius:9px;background:transparent;display:grid;place-items:center;color:var(--muted)}.row-action:hover{background:#eaf2ee;color:var(--navy)}.row-action .icon{width:18px}.empty-state{border:1px dashed #aebfb7;border-radius:14px;padding:3.5rem 1.5rem;text-align:center;background:#ffffff8c}.empty-state h2{font-size:1.05rem;margin:0 0 .35rem}.empty-state p{color:var(--muted);margin:0}.loading-list{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1rem;display:grid;gap:.8rem}.loading-list span{height:52px;border-radius:8px;background:linear-gradient(100deg,#edf2ef 20%,#f7faf8,#edf2ef 70%);background-size:200% 100%;animation:loading 1.4s ease infinite}@keyframes loading{to{background-position:-200% 0}}.detail-drawer{min-height:calc(100vh - 76px);background:#fff;border-left:1px solid var(--line);padding:1.5rem;box-shadow:-16px 0 38px #0b15310f;animation:drawer-in .2s cubic-bezier(.2,.8,.2,1);overflow:auto;max-height:calc(100vh - 76px);position:sticky;top:76px}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1.1rem;border-bottom:1px solid var(--line)}.drawer-header h2{font-size:1.45rem;letter-spacing:-.02em;margin:.2rem 0 0}.drawer-form{padding:1.2rem 0}.field-grid{display:grid;gap:.9rem}.field-grid>div{display:grid;gap:.35rem}.permission-wrap{margin-top:1.3rem;overflow-x:auto}.permission-table{width:100%;border-collapse:collapse;font-size:.82rem}.permission-table caption{text-align:left;font-weight:700;font-size:.92rem;margin-bottom:.5rem}.permission-table th,.permission-table td{padding:.6rem .35rem;border-bottom:1px solid #e5ebe8;text-align:center}.permission-table th:first-child{text-align:left}.permission-table thead th{font-size:.7rem;color:var(--muted)}.checkbox-label{display:grid;place-items:center;min-width:44px;min-height:44px}.checkbox-label input{appearance:none;width:20px;height:20px;min-height:20px;padding:0;border:1px solid #95aa9f;border-radius:5px;display:grid;place-content:center}.checkbox-label input:before{content:"";width:10px;height:10px;transform:scale(0);background:#fff;clip-path:polygon(14% 44%,0 65%,40% 100%,100% 20%,80% 0,38% 67%)}.checkbox-label input:checked{background:var(--green);border-color:var(--green)}.checkbox-label input:checked:before{transform:scale(1)}.drawer-actions{display:flex;justify-content:flex-end;margin-top:1.2rem}.access-link-section,.danger-zone{border-top:1px solid var(--line);padding:1.25rem 0}.access-link-section h3,.danger-zone h3{font-size:.95rem;margin:0 0 .35rem}.access-link-section p,.danger-zone p{font-size:.82rem;color:var(--muted);margin:0 0 .9rem}.generated-link label{display:block;margin-bottom:.35rem}.generated-link>div{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:.35rem}.generated-link input{font-size:.76rem}.generated-link .icon-button{background:#eef2f0}.danger-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.danger-confirm>span{width:100%;font-size:.82rem;font-weight:700;color:#7c3029}.toast{position:fixed;right:1.5rem;bottom:1.5rem;z-index:40;background:var(--navy);color:#fff;border-radius:12px;padding:.9rem 1rem;box-shadow:var(--shadow);display:flex;align-items:flex-start;gap:.65rem;max-width:380px}.toast .icon{color:#6fe39e}@keyframes drawer-in{0%{transform:translate(18px);opacity:.75}to{transform:translate(0);opacity:1}}@media(max-width:1120px){.users-page.drawer-visible{grid-template-columns:minmax(440px,1fr) minmax(340px,400px)}.user-table th:nth-child(3),.user-table td:nth-child(3){display:none}}@media(max-width:900px){.app-shell{display:block}.sidebar{transform:translate(-105%);transition:transform .2s ease;box-shadow:var(--shadow)}.sidebar.sidebar-open{transform:translate(0)}.workspace{grid-column:auto}.menu-button{display:block}.topbar{padding:0 1rem}.sidebar-scrim{display:block;position:fixed;inset:0;z-index:15;border:0;background:#0b15316b}.users-page.drawer-visible{display:block}.users-page.drawer-visible .users-main{display:none}.detail-drawer{position:relative;top:auto;max-height:none;min-height:calc(100vh - 76px);border-left:0;box-shadow:none}.session-info>div{display:none}}@media(max-width:760px){.auth-shell{display:block;background:#fff}.auth-brand{display:none}.auth-panel{min-height:100vh;padding:1.25rem}.auth-mobile-brand{display:block;margin-bottom:3rem}.auth-mobile-brand .brand-lockup>span{color:var(--navy)}.auth-mobile-brand .brand-image-wrap{padding:0;width:174px}.page,.users-main{padding:1.5rem 1rem 3rem}.page-heading{align-items:stretch;flex-direction:column;gap:1rem}.page-heading .button{width:100%}.status-band{grid-template-columns:auto 1fr}.status-band .button{grid-column:1/-1}.list-toolbar{grid-template-columns:1fr}.list-toolbar>span{grid-column:1;padding-bottom:0}.user-table thead{display:none}.user-table,.user-table tbody,.user-table tr,.user-table td{display:block;width:100%}.user-table tr{position:relative;padding:.8rem 3.2rem .8rem .8rem;border-bottom:1px solid #e5ebe8}.user-table tbody tr:last-child{border-bottom:0}.user-table td{border:0;padding:.25rem 0}.user-table td:nth-child(2):before{content:"Papel: ";color:var(--muted)}.user-table td:nth-child(3){display:none}.user-table td:nth-child(4){padding-top:.45rem}.user-table td:last-child{position:absolute;right:.55rem;top:50%;transform:translateY(-50%);width:44px}.next-step-row{grid-template-columns:42px 1fr}.status-text{grid-column:2}.organization-switcher>span{display:none}.organization-switcher strong{font-size:.85rem}.detail-drawer{padding:1rem}.toast{left:1rem;right:1rem;bottom:1rem;max-width:none}}@media(max-width:420px){.topbar{height:68px}.main-content{min-height:calc(100vh - 68px)}.organization-switcher{max-width:180px}.organization-switcher strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-panel{padding:1rem}.auth-form-wrap h2{font-size:1.7rem}.permission-table{font-size:.75rem}.permission-table th,.permission-table td{padding:.5rem .2rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}textarea{width:100%;border:1px solid #b8c7c0;border-radius:10px;background:#fff;color:var(--ink);padding:.7rem .8rem;resize:vertical;font:inherit;line-height:1.5;caret-color:var(--green-dark);transition:border-color .18s ease,box-shadow .18s ease}textarea:hover{border-color:#819b8e}textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #16834a1f}textarea:disabled,input:disabled,select:disabled{background:#f3f6f4;color:#657168}.leads-workspace{display:grid;grid-template-columns:minmax(0,1fr);position:relative}.leads-workspace.drawer-visible{grid-template-columns:minmax(680px,1fr) minmax(400px,470px)}.leads-main{min-width:0;padding:2rem clamp(1.25rem,3vw,3rem) 4rem}.leads-heading{margin-bottom:1.25rem}.heading-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.attention-strip{background:var(--navy);color:#fff;border-radius:16px;padding:1.25rem 1.4rem;display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:1.5rem;align-items:center;margin-bottom:1.4rem}.attention-strip h2{font-size:1.06rem;margin:0 0 .25rem}.attention-strip p{color:#cbd4e7;margin:0}.attention-strip dl{display:flex;margin:0}.attention-strip dl div{min-width:94px;padding:.2rem 1rem;border-left:1px solid rgba(255,255,255,.18)}.attention-strip dt{color:#aebbd3;font-size:.74rem;font-weight:600}.attention-strip dd{font-size:1.5rem;font-weight:700;margin:.05rem 0 0;font-variant-numeric:tabular-nums}.kanban-toolbar{display:grid;grid-template-columns:minmax(260px,380px) 1fr auto;align-items:end;gap:.65rem;margin-bottom:1rem}.kanban-toolbar>label{grid-column:1}.kanban-toolbar>span{font-size:.82rem;color:var(--muted);padding-bottom:.75rem}.kanban-search{grid-column:1;position:relative}.kanban-search>.icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);width:20px;color:var(--muted);pointer-events:none}.kanban-search input{padding-left:2.65rem}.kanban-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,1fr);gap:.9rem;width:100%;max-width:100%;overflow-x:auto;contain:inline-size;padding:.1rem .1rem 1rem;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}.kanban-column{--stage-accent: #718078;min-height:480px;background:#eaf0ed;border:1px solid #d7e0dc;border-radius:14px;padding:.8rem;scroll-snap-align:start}.kanban-column>header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.15rem .25rem .75rem}.kanban-column>header h2{font-size:.9rem;margin:.2rem 0 0;display:flex;align-items:center;gap:.5rem}.kanban-column>header h2:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--stage-accent);flex:none}.kanban-column>header>span{min-width:28px;height:28px;border-radius:9px;background:#fff;display:grid;place-items:center;font-size:.78rem;font-weight:700;color:var(--muted)}.stage-new{--stage-accent: #2e6bff}.stage-diagnosis{--stage-accent: #8a5ccc}.stage-negotiation{--stage-accent: #d88b16}.stage-won{--stage-accent: var(--green)}.stage-lost{--stage-accent: #bb5147}.stage-frozen{--stage-accent: #6d8498}.kanban-card-list{display:grid;gap:.65rem;align-content:start}.kanban-empty{margin:.5rem .25rem;color:#647268;font-size:.8rem;line-height:1.45}.lead-card{background:#fff;border:1px solid #d4ded9;border-radius:12px;box-shadow:0 2px 8px #0b15310a;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.lead-card:hover{border-color:#9eb7aa;box-shadow:0 8px 22px #0b153114;transform:translateY(-1px)}.lead-card.selected{border-color:var(--green);box-shadow:0 0 0 2px #16834a1f}.lead-card[draggable=true]{cursor:grab}.lead-card[draggable=true]:active{cursor:grabbing}.lead-card-main{width:100%;border:0;background:transparent;text-align:left;padding:.9rem .9rem .65rem;color:var(--ink);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .65rem}.lead-card-title{font-weight:700;line-height:1.3}.lead-card-time{font-size:.72rem;color:var(--muted);white-space:nowrap}.lead-card-rule{grid-column:1/-1;color:#455167;font-size:.78rem;line-height:1.4;padding:.35rem 0 .5rem;border-bottom:1px solid #e8eeeb}.lead-card-meta{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:.5rem;color:var(--muted);font-size:.72rem}.lead-card-meta strong{color:#0d6939;background:var(--green-soft);border-radius:999px;padding:.2rem .45rem;white-space:nowrap}.lead-stage-control{display:block;border-top:1px solid #edf1ef}.lead-stage-control select{border:0;border-radius:0;min-height:44px;background:#fafcfb;font-size:.75rem;color:#4f5c54;padding:.45rem 2rem .45rem .8rem;box-shadow:none}.lead-stage-control select:focus{box-shadow:inset 0 0 0 2px var(--focus)}.kanban-loading{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:.9rem;overflow:hidden}.kanban-loading span{height:480px;border-radius:14px;background:linear-gradient(100deg,#e5ece8 20%,#f3f7f5,#e5ece8 70%);background-size:200% 100%;animation:loading 1.4s ease infinite}.lead-drawer{padding:0 1.5rem 2rem}.lead-drawer .drawer-header{padding:1.5rem 0 1.1rem;position:sticky;top:0;background:#fff;z-index:2}.lead-drawer .drawer-header p{margin:.2rem 0 0;color:var(--muted);font-size:.78rem}.drawer-error{margin-top:1rem}.drawer-loading{padding:2rem 0;color:var(--muted)}.drawer-section{padding:1.3rem 0;border-bottom:1px solid var(--line)}.drawer-section:last-child{border-bottom:0}.drawer-section>h3,.section-title-row h3{font-size:.95rem;margin:0 0 .75rem}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.section-title-row span{font-size:.7rem;font-weight:700;color:var(--muted);border:1px solid var(--line);padding:.18rem .45rem;border-radius:999px}.lead-form{display:grid;gap:.45rem}.lead-form input,.lead-form textarea{margin-bottom:.45rem}.lead-edit-form .button,.note-form .button{justify-self:start}.drawer-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.drawer-field-pair>div{display:grid;gap:.35rem}.inline-state{padding:.65rem .8rem;background:#f2f8f4;margin:0;font-weight:600;font-size:.84rem}.inline-state:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);margin-right:.55rem}.section-note{color:var(--muted);font-size:.8rem;margin:.7rem 0 0}.note-form{display:grid;gap:.45rem;margin-bottom:1rem}.history-list{display:grid;gap:.65rem}.history-list article{border-left:2px solid #abc5b8;padding:.15rem 0 .15rem .8rem}.history-list article>div{display:flex;justify-content:space-between;gap:.5rem}.history-list strong{font-size:.78rem}.history-list time{font-size:.7rem;color:var(--muted)}.history-list p{font-size:.82rem;white-space:pre-wrap;margin:.3rem 0 0}.timeline-list{list-style:none;margin:0;padding:0;display:grid}.timeline-list li{display:grid;grid-template-columns:14px 1fr;gap:.6rem;position:relative;padding-bottom:.85rem}.timeline-list li:not(:last-child):before{content:"";position:absolute;left:5px;top:10px;bottom:0;width:1px;background:#c8d6cf}.timeline-list li>span{width:11px;height:11px;border:2px solid var(--green);background:#fff;border-radius:50%;margin-top:4px;z-index:1}.timeline-list strong{font-size:.8rem}.timeline-list p{font-size:.72rem;color:var(--muted);margin:.15rem 0 0}.return-status{margin-top:.8rem;padding:.75rem .85rem;background:#f6f7f9;border-radius:10px}.return-status strong{display:block;font-size:.82rem}.return-status p{margin:.25rem 0 0;color:var(--muted);font-size:.78rem;overflow-wrap:anywhere}.return-status-action{background:#eef7f1}.return-status-action strong{color:#0b6b3a}.checklist-summary{margin:0 0 .6rem;color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}.post-sale-checklist{list-style:none;margin:0;padding:0;display:grid;border-top:1px solid var(--line)}.post-sale-checklist li{border-bottom:1px solid var(--line)}.post-sale-checklist label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:.7rem;min-height:52px;padding:.72rem .1rem;cursor:pointer}.post-sale-checklist input{width:20px;height:20px;margin:.08rem 0 0;accent-color:var(--green)}.post-sale-checklist input:disabled+span{opacity:.68}.post-sale-checklist span{min-width:0;display:grid;gap:.18rem}.post-sale-checklist strong{font-size:.82rem;overflow-wrap:anywhere}.post-sale-checklist small{color:var(--muted);font-size:.72rem;line-height:1.4;overflow-wrap:anywhere}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#0b15318c;display:grid;place-items:center;padding:1rem}.modal-card{width:min(100%,560px);max-height:calc(100vh - 2rem);overflow:auto;background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:1.4rem}.modal-card-compact{width:min(100%,480px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line);margin-bottom:1rem}.modal-header h2{font-size:1.35rem;margin:0}.modal-header p{color:var(--muted);font-size:.84rem;margin:.25rem 0 0}.modal-header .icon-button{font-size:1.6rem;line-height:1}.modal-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.6rem}.optional-label{font-size:.75rem;color:var(--muted);font-weight:500}.toast-mark{color:#6fe39e;font-weight:700}.danger-zone.drawer-section{border-top:0}.danger-zone.drawer-section p{font-size:.82rem;color:var(--muted);margin:0 0 .9rem}@media(max-width:1280px){.leads-workspace.drawer-visible{grid-template-columns:minmax(560px,1fr) minmax(380px,430px)}.leads-workspace.drawer-visible .attention-strip{grid-template-columns:1fr}.leads-workspace.drawer-visible .attention-strip dl{justify-content:flex-start}}@media(max-width:900px){.leads-workspace.drawer-visible{display:block}.leads-workspace.drawer-visible .leads-main{display:none}.lead-drawer{position:relative;top:auto;max-height:none;min-height:calc(100vh - 76px);overflow:visible;border-left:0;box-shadow:none}.lead-drawer .drawer-header{top:76px;scroll-margin-top:76px}.kanban-board{grid-auto-columns:minmax(270px,44vw)}.attention-strip{grid-template-columns:1fr}.attention-strip dl{justify-content:flex-start}}@media(max-width:760px){.leads-main{padding:1.5rem 1rem 3rem}.heading-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.heading-actions .button{width:100%}.attention-strip{padding:1.1rem}.attention-strip dl{display:grid;grid-template-columns:repeat(3,1fr)}.attention-strip dl div{min-width:0;padding:.15rem .7rem}.attention-strip dl div:first-child{border-left:0;padding-left:0}.attention-strip dd{font-size:1.25rem}.kanban-toolbar{grid-template-columns:1fr}.kanban-toolbar>span{grid-column:1;padding-bottom:0}.kanban-board{grid-auto-columns:minmax(270px,86vw);margin-right:-1rem;padding-right:1rem}.kanban-column{min-height:420px}.lead-drawer{padding:0 1rem 2rem}.drawer-field-pair{grid-template-columns:1fr}.modal-card{padding:1rem}.modal-actions{display:grid;grid-template-columns:1fr 1fr}.modal-actions .button{width:100%}}@media(max-width:420px){.lead-drawer{min-height:calc(100vh - 68px)}.lead-drawer .drawer-header{top:68px;scroll-margin-top:68px}.heading-actions{grid-template-columns:1fr}.attention-strip dl div{padding:.15rem .45rem}.attention-strip dt{font-size:.68rem}.kanban-board{grid-auto-columns:calc(100vw - 2rem)}}.followup-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;align-items:end}.cycle-select{display:grid;gap:.3rem;font-size:.72rem;color:var(--muted)}.cycle-select select{min-height:40px;padding:.45rem 2rem .45rem .65rem;font-size:.78rem}.followup-list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.8rem}.followup-step{border:1px solid #d9e2dd;border-radius:10px;padding:.85rem;background:#fff}.followup-step.sent{border-color:#a7d3b8;background:#fbfdfc}.followup-step.overdue{border-color:#e4b9b1}.followup-step.skipped{border-color:#cbd1d5}.followup-step>header{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:.65rem;align-items:start;margin-bottom:.75rem}.followup-number{width:28px;height:28px;border:1px solid #b8c7c0;border-radius:8px;display:grid;place-items:center;font-size:.75rem;font-weight:700;color:#455167}.followup-step>header strong{font-size:.84rem}.followup-step>header p{margin:.12rem 0 0;color:var(--muted);font-size:.69rem;line-height:1.35}.followup-status{font-size:.67rem;font-weight:700;border:1px solid #cbd6d0;border-radius:999px;padding:.2rem .45rem;color:#526058;white-space:nowrap}.followup-status.sent{color:#0d6939;border-color:#a7d3b8;background:#edf8f1}.followup-status.overdue{color:#8b352a;border-color:#e4b9b1;background:#fff5f3}.followup-status.skipped{color:#58606b;background:#f2f4f5}.followup-step>label{display:block;margin-bottom:.3rem}.followup-step textarea{font-size:.79rem;line-height:1.48;margin:0;background:#fff}.followup-step textarea[readonly]{background:#f6f8f7;color:#4f5c54}.followup-actions{display:flex;justify-content:flex-end;gap:.45rem;margin-top:.55rem;flex-wrap:wrap}.followup-actions .button,.restart-followups{min-height:44px;padding:.5rem .7rem;font-size:.75rem}.restart-followups{margin-top:.85rem}.followup-feedback{margin:.65rem 0 0;padding:.55rem .7rem;border-radius:8px;background:#edf8f1;color:#0d6939;font-size:.76rem;font-weight:600}.out-of-order,.provider-confirmation{margin-top:.7rem;padding:.75rem;border:1px solid #e1c077;border-radius:9px;background:#fff9eb}.out-of-order p,.provider-confirmation p{margin:0 0 .55rem;color:#6a4a09;font-size:.76rem;line-height:1.45}.provider-confirmation>strong{display:block;margin-bottom:.25rem;font-size:.78rem;color:#4d370b}.out-of-order>div,.provider-confirmation>div{display:flex;gap:.4rem;flex-wrap:wrap}.out-of-order .button,.provider-confirmation .button{min-height:44px;font-size:.72rem;padding:.45rem .65rem}.contact-history{display:grid;gap:.65rem}.contact-history article{padding:.8rem;border:1px solid #dce4e0;border-radius:10px;background:#fafcfb}.contact-history article header{display:flex;justify-content:space-between;gap:.75rem}.contact-history strong{font-size:.78rem}.contact-history time,.contact-history small{font-size:.68rem;color:var(--muted)}.contact-history p{font-size:.79rem;line-height:1.5;white-space:pre-wrap;margin:.55rem 0}.contact-history small{display:block;border-top:1px solid #e5ebe8;padding-top:.45rem;line-height:1.45}.provider-proof{overflow-wrap:anywhere;color:#3e4d45}@media(max-width:520px){.followup-summary{grid-template-columns:1fr}.followup-step>header{grid-template-columns:28px minmax(0,1fr)}.followup-status{grid-column:2;justify-self:start}.followup-actions{display:grid;grid-template-columns:1fr}.followup-actions .button{width:100%}.contact-history article header{display:grid;gap:.2rem}}.capture-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,42%) minmax(0,1fr);background:#fff}.capture-intro{min-height:100vh;background:var(--navy);color:#fff;padding:clamp(2rem,5vw,5rem);display:flex;flex-direction:column;justify-content:space-between;gap:3rem}.capture-intro>img,.capture-brand img{width:min(100%,240px);height:auto;background:#fff;border-radius:10px;padding:.55rem .7rem}.capture-intro h1{font-size:clamp(2.35rem,4.5vw,4.9rem);line-height:1.02;letter-spacing:-.035em;text-wrap:balance;margin:0 0 1.4rem;max-width:11ch}.capture-intro div>p{font-size:1.08rem;color:#cbd4e7;line-height:1.65;max-width:42ch;margin:0}.capture-privacy{font-size:.82rem;color:#aebbd3;max-width:48ch;margin:0}.capture-card{width:min(100% - 2rem,620px);align-self:center;justify-self:center;padding:clamp(1.25rem,4vw,3.5rem);margin-block:2rem}.capture-progress{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin-bottom:.75rem}.capture-progress span{height:5px;border-radius:999px;background:#dbe4df}.capture-progress span.active{background:var(--green)}.capture-step{font-size:.78rem;font-weight:700;color:var(--green-dark);margin:0 0 1.25rem}.capture-card h2,.capture-success h1{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.1;letter-spacing:-.025em;text-wrap:balance;margin:0 0 .75rem}.capture-description,.capture-success .capture-card>p{color:var(--muted);line-height:1.65;max-width:58ch;margin:0 0 1.75rem}.capture-form{display:grid;gap:.45rem}.capture-form input,.capture-form select,.capture-form textarea{margin-bottom:.55rem}.capture-form [aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 2px #b4231814}.field-error{color:#8f1d15;font-size:.82rem;font-weight:600;margin:-.45rem 0 .55rem}.capture-error{margin:0 0 1rem}.capture-error strong{display:block}.capture-error p{margin:.25rem 0 0;font-weight:500}.capture-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.capture-consent{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:.75rem;font-size:.9rem;line-height:1.5;margin:.35rem 0 .15rem}.capture-consent input{appearance:none;width:22px;height:22px;min-height:22px;padding:0;margin:0;border:1px solid #8fa49a;border-radius:6px;display:grid;place-content:center}.capture-consent input:before{content:"";width:11px;height:11px;transform:scale(0);background:#fff;clip-path:polygon(14% 44%,0 65%,40% 100%,100% 20%,80% 0,38% 67%)}.capture-consent input:checked{background:var(--green);border-color:var(--green)}.capture-consent input:checked:before{transform:scale(1)}.capture-action{width:100%;margin-top:.75rem;text-decoration:none}.capture-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:.65rem;margin-top:1rem}.capture-success{place-items:center;background:var(--ground);grid-template-columns:1fr;padding:1rem}.capture-success .capture-brand{position:absolute;top:2rem;left:2rem}.capture-success .capture-card{background:#fff;border-radius:16px;box-shadow:var(--shadow);text-align:center;max-width:600px}.capture-success .capture-card>p{margin-inline:auto}.capture-success .capture-card small{display:block;color:var(--muted);margin-top:1rem}.success-mark{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-size:1.6rem;font-weight:700;margin:0 auto 1.25rem}@media(max-width:820px){.capture-shell{display:block;background:#fff}.capture-intro{min-height:auto;padding:1.5rem 1rem 2.5rem;gap:2rem}.capture-intro>img{width:190px}.capture-intro h1{font-size:2.45rem;max-width:15ch;margin-bottom:1rem}.capture-intro div>p{font-size:1rem}.capture-privacy{display:none}.capture-card{width:min(100%,620px);margin:0 auto;padding:2rem 1rem 3rem}.capture-success{display:grid;min-height:100vh}.capture-success .capture-brand{position:static;justify-self:start;align-self:start}.capture-success .capture-card{margin:auto 0;padding:2rem 1.25rem}}@media(max-width:420px){.capture-intro h1{font-size:2.05rem}.capture-actions{grid-template-columns:1fr}.capture-actions .button{width:100%}}.nav-group-label{display:block;margin:1rem .8rem .25rem;color:#8290ab;font-size:.66rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.nav-group-label:first-child{margin-top:.15rem}.crm-page{min-width:0}.crm-page.crm-detail-visible{padding:0;display:grid;grid-template-columns:minmax(620px,1fr) minmax(390px,470px)}.crm-page.crm-detail-visible .crm-page-main{padding:2rem clamp(1.25rem,3vw,3rem) 4rem;min-width:0}.crm-detail{min-height:calc(100vh - 76px);max-height:calc(100vh - 76px);overflow:auto;position:sticky;top:76px;background:#fff;border-left:1px solid var(--line);box-shadow:-16px 0 38px #0b15310f;animation:drawer-in .2s cubic-bezier(.2,.8,.2,1)}.crm-detail-header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem;background:#fff;border-bottom:1px solid var(--line)}.crm-detail-header h2{font-size:1.45rem;line-height:1.2;letter-spacing:-.02em;margin:0}.crm-detail-header p{color:var(--muted);font-size:.8rem;margin:.25rem 0 0}.crm-detail-body{padding:0 1.5rem 2rem}.crm-detail-section{padding:1.35rem 0;border-bottom:1px solid var(--line)}.crm-detail-section:last-child{border-bottom:0}.crm-detail-section>h3{font-size:.98rem;margin:0 0 .75rem}.crm-detail-section>p{color:var(--muted);font-size:.84rem;line-height:1.55;margin:.3rem 0 .85rem}.crm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.crm-section-heading>div{display:flex;align-items:center;gap:.55rem}.crm-section-heading h3{font-size:.98rem;margin:0}.crm-section-heading>span{font-size:.72rem;color:var(--muted);font-weight:700}.client-identity{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-bottom:1px solid var(--line);background:#f8faf9}.client-identity>div{padding:1rem;border-right:1px solid var(--line)}.client-identity>div:last-child{border-right:0}.client-identity span:not(.crm-status){display:block;color:var(--muted);font-size:.7rem;font-weight:700;margin-bottom:.25rem}.client-identity strong{font-size:.82rem}.crm-status{display:inline-flex;align-items:center;min-height:26px;padding:.22rem .52rem;border-radius:999px;background:#edf1ef;color:#536158;font-size:.72rem;font-weight:700;white-space:nowrap}.crm-status-active,.crm-status-paid,.crm-status-signed,.crm-status-completed,.crm-status-done{background:#e5f5eb;color:#0c6335}.crm-status-paused,.crm-status-waiting,.crm-status-sent,.crm-status-in_progress,.crm-status-onboarding{background:#fff4d9;color:#795410}.crm-status-overdue,.crm-status-error,.crm-status-canceled,.crm-status-expired{background:#fff0ee;color:#912d24}.crm-status-pending,.crm-status-draft,.crm-status-received,.crm-status-todo{background:#eef2f8;color:#43506b}.people-list{display:grid}.people-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.75rem 0;border-bottom:1px solid #e8eeeb}.people-list article:last-child{border-bottom:0}.people-list strong,.people-list p,.people-list small{display:block}.people-list strong{font-size:.84rem}.people-list p{margin:.1rem 0;color:#445167;font-size:.75rem}.people-list small{color:var(--muted);font-size:.7rem;overflow-wrap:anywhere}.quick-task-form{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:.6rem;align-items:end;padding:.8rem;background:#f4f8f5;margin-bottom:.8rem}.quick-task-form>div{display:grid;gap:.3rem}.activity-list{display:grid}.activity-list article{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:.65rem;align-items:start;padding:.7rem 0;border-bottom:1px solid #e8eeeb}.activity-list article:last-child{border-bottom:0}.activity-marker{width:9px;height:9px;border-radius:50%;margin-top:.35rem;background:#89968f}.activity-open{background:#2e6bff}.activity-waiting{background:#bf8217}.activity-completed{background:var(--green)}.activity-canceled{background:#9b4f49}.activity-list strong{font-size:.82rem}.activity-list p{color:var(--muted);font-size:.72rem;margin:.1rem 0 0}.activity-list time{font-size:.7rem;color:var(--muted);white-space:nowrap}.split-records{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.compact-record{padding:.65rem 0;border-bottom:1px solid #e8eeeb}.compact-record strong{display:block;font-size:.8rem}.compact-record p{font-size:.72rem;color:var(--muted);margin:.15rem 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.client-notes{white-space:pre-wrap;color:var(--ink)!important}.client-conversion{padding:.85rem;margin:0 0 1rem;background:#eef7f1}.client-conversion strong{display:block;font-size:.84rem}.client-conversion p{font-size:.76rem;color:var(--muted);margin:.2rem 0 .65rem}.client-conversion .button{font-size:.76rem;min-height:42px}.operational-strip{display:flex;align-items:stretch;background:var(--navy);color:#fff;margin:0 0 1.4rem}.operational-strip>div{min-width:150px;padding:1rem 1.25rem;border-right:1px solid rgba(255,255,255,.16)}.operational-strip strong{display:block;font-size:1.35rem;font-variant-numeric:tabular-nums}.operational-strip span{display:block;color:#aebbd3;font-size:.72rem;margin-top:.1rem}.crm-toolbar{margin-bottom:1rem}.crm-toolbar>label{display:block;margin-bottom:.35rem}.crm-toolbar-controls{display:grid;grid-template-columns:minmax(260px,380px) 220px 1fr;gap:.65rem;align-items:center}.crm-toolbar-controls span{font-size:.78rem;color:var(--muted);text-align:right}.family-table-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:auto}.crm-table{width:100%;border-collapse:collapse}.crm-table th,.crm-table td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid #e5ebe8;vertical-align:middle}.crm-table thead th{position:sticky;top:0;background:#f9fbfa;color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.065em;font-weight:700}.crm-table tbody tr:last-child td{border-bottom:0}.crm-table tbody tr:hover,.crm-table tbody tr.selected-row{background:#f4faf6}.crm-table td>strong,.crm-table td>small{display:block}.crm-table td>small{color:var(--muted);font-size:.72rem;margin-top:.12rem}.entity-link{min-height:44px;border:0;background:transparent;padding:0;display:flex;align-items:center;gap:.7rem;text-align:left;color:var(--ink)}.entity-link strong,.entity-link small{display:block}.entity-link small{font-size:.72rem;color:var(--muted)}.numeric-cell{text-align:right!important;font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.muted-cell{color:var(--muted);font-size:.78rem}.text-link{color:var(--green-dark);font-weight:700;font-size:.78rem}.amount-expense{color:#8d332b}.crm-loading{min-height:240px;display:grid;place-content:center;justify-items:center;gap:.8rem;color:var(--muted)}.crm-loading span{width:34px;height:34px;border:3px solid #d9e2de;border-top-color:var(--green);border-radius:50%;animation:crm-spin .8s linear infinite}.crm-loading p{margin:0;font-size:.82rem}@keyframes crm-spin{to{transform:rotate(360deg)}}.crm-empty{min-height:280px;display:grid;place-content:center;justify-items:center;text-align:center;padding:2rem;border:1px dashed #aebfb7;background:#ffffff8c}.crm-empty>span{width:42px;height:2px;background:var(--green);margin-bottom:1rem}.crm-empty h2{font-size:1.05rem;margin:0 0 .35rem}.crm-empty p{color:var(--muted);max-width:46ch;margin:0}.crm-create-panel{margin:0 0 1.4rem;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px #0b15310f}.crm-create-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;border-bottom:1px solid var(--line)}.crm-create-panel>header h2{font-size:1.05rem;margin:0}.crm-create-panel>header p{font-size:.78rem;color:var(--muted);margin:.25rem 0 0}.crm-create-panel>.form-error{margin:1rem 1.25rem 0}.crm-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;padding:1.25rem}.crm-form-grid>div{display:grid;gap:.3rem;align-content:start}.crm-form-grid .field-wide,.field-section-title,.crm-form-actions{grid-column:1/-1}.field-section-title{display:flex!important;align-items:baseline;gap:.65rem;padding-top:.25rem;border-bottom:1px solid var(--line)}.field-section-title strong{font-size:.9rem}.field-section-title span{color:var(--muted);font-size:.72rem}.crm-form-actions{display:flex!important;flex-direction:row;justify-content:flex-end;gap:.55rem;padding-top:.3rem}.input-suffix{display:grid;grid-template-columns:1fr auto;align-items:center}.input-suffix input{border-radius:10px 0 0 10px}.input-suffix span{height:46px;display:grid;place-items:center;padding:0 .75rem;background:#eef2f0;border:1px solid #b8c7c0;border-left:0;border-radius:0 10px 10px 0;color:var(--muted);font-size:.76rem}.house-process{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2rem;margin-bottom:1.4rem;padding:1.2rem 1.35rem;background:#fff;border:1px solid var(--line);border-radius:14px}.house-process>div>span{color:var(--green-dark);font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.house-process h2{font-size:1.05rem;margin:.2rem 0}.house-process p{color:var(--muted);font-size:.8rem;margin:0;max-width:72ch}.house-process dl{display:flex;margin:0}.house-process dl div{min-width:100px;padding:.1rem 1rem;border-left:1px solid var(--line)}.house-process dt{color:var(--muted);font-size:.68rem}.house-process dd{font-size:1.25rem;font-weight:700;margin:.05rem 0 0;font-variant-numeric:tabular-nums}.service-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:.9rem}.service-card{display:flex;flex-direction:column;min-height:360px;background:#fff;border:1px solid var(--line);padding:1.15rem;box-shadow:0 6px 18px #0b15310a;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.service-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0b153114}.service-card-top{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.service-category{font-size:.68rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.service-card h2{font-size:1.1rem;line-height:1.25;margin:1rem 0 .55rem}.service-card>p{color:var(--muted);font-size:.79rem;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.service-card dl{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:auto 0 1rem;padding-top:1.2rem}.service-card dl div{border-top:1px solid var(--line);padding-top:.45rem}.service-card dt{color:var(--muted);font-size:.65rem;text-transform:uppercase}.service-card dd{font-size:.78rem;font-weight:700;margin:.1rem 0 0}.service-card .button{justify-content:space-between}.template-list{display:grid}.template-list article{display:grid;grid-template-columns:30px 1fr;gap:.65rem;padding:.65rem 0;border-bottom:1px solid #e8eeeb}.template-list article>span{width:28px;height:28px;border:1px solid #bdccc5;display:grid;place-items:center;font-size:.72rem;font-weight:700}.template-list strong{font-size:.8rem}.template-list p{color:var(--muted);font-size:.7rem;margin:.1rem 0 0}.compact-form{display:grid;gap:.45rem}.compact-form-row{display:grid;grid-template-columns:1.2fr .6fr 1fr;gap:.55rem}.compact-form-row>div{display:grid;gap:.3rem}.compact-form .button{justify-self:start;margin-top:.25rem}.start-service-section{background:#f4f8f5;margin-inline:-1.5rem;padding-inline:1.5rem}.success-note{color:#0c6335!important;font-weight:700;margin:.35rem 0 0!important}.ledger-summary{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid var(--line);margin-bottom:1.4rem}.ledger-summary>div{padding:1rem 1.15rem;border-right:1px solid var(--line)}.ledger-summary>div:last-child{border-right:0}.ledger-summary span{display:block;color:var(--muted);font-size:.7rem;font-weight:700}.ledger-summary strong{display:block;margin-top:.25rem;font-size:1rem;font-variant-numeric:tabular-nums}.ledger-summary .ledger-attention{background:#fff5f3}.ledger-summary .ledger-attention strong{color:#912d24}@media(max-width:1280px){.crm-page.crm-detail-visible{grid-template-columns:minmax(520px,1fr) minmax(370px,430px)}.crm-page.crm-detail-visible .operational-strip>div:nth-child(2){display:none}.ledger-summary{grid-template-columns:repeat(3,1fr)}.ledger-summary>div:nth-child(3){border-right:0}.ledger-summary>div:nth-child(n+4){border-top:1px solid var(--line)}}@media(max-width:900px){.crm-page.crm-detail-visible{display:block}.crm-page.crm-detail-visible .crm-page-main{display:none}.crm-detail{position:relative;top:auto;max-height:none;min-height:calc(100vh - 76px);border-left:0;box-shadow:none}.crm-detail-header{top:76px}.house-process{grid-template-columns:1fr}.house-process dl{justify-content:flex-start}}@media(max-width:760px){.nav-group-label{margin-top:.7rem}.operational-strip{display:grid;grid-template-columns:repeat(3,1fr)}.operational-strip>div{min-width:0;padding:.8rem;border-right:1px solid rgba(255,255,255,.16)}.operational-strip strong{font-size:1.1rem}.crm-toolbar-controls{grid-template-columns:1fr}.crm-toolbar-controls span{text-align:left}.family-table-wrap{border-radius:10px}.crm-table thead{display:none}.crm-table,.crm-table tbody,.crm-table tr,.crm-table td{display:block;width:100%}.crm-table tr{position:relative;padding:.85rem 3.2rem .85rem .9rem;border-bottom:1px solid var(--line)}.crm-table tbody tr:last-child{border-bottom:0}.crm-table td{border:0;padding:.25rem 0}.crm-table td:last-child:has(.row-action){position:absolute;right:.5rem;top:50%;transform:translateY(-50%);width:44px}.crm-table .numeric-cell{text-align:left!important}.crm-form-grid{grid-template-columns:1fr;padding:1rem}.crm-form-grid .field-wide,.field-section-title,.crm-form-actions{grid-column:auto}.crm-form-actions{grid-column:1;display:grid!important;grid-template-columns:1fr 1fr}.crm-create-panel>header{padding:1rem}.quick-task-form{grid-template-columns:1fr}.quick-task-form .button{width:100%}.split-records{grid-template-columns:1fr}.client-identity{grid-template-columns:1fr 1fr}.client-identity>div:nth-child(2){border-right:0}.client-identity>div:nth-child(3){grid-column:1/-1;border-top:1px solid var(--line)}.crm-detail-body{padding-inline:1rem}.start-service-section{margin-inline:-1rem;padding-inline:1rem}.service-grid{grid-template-columns:1fr}.service-card{min-height:320px}.house-process{padding:1rem}.house-process dl{display:grid;grid-template-columns:repeat(3,1fr)}.house-process dl div{min-width:0;padding:.15rem .7rem}.house-process dl div:first-child{border-left:0;padding-left:0}.ledger-summary{grid-template-columns:1fr 1fr}.ledger-summary>div,.ledger-summary>div:nth-child(3){border-right:1px solid var(--line);border-top:1px solid var(--line)}.ledger-summary>div:nth-child(odd){border-right:1px solid var(--line)}.ledger-summary>div:nth-child(2n){border-right:0}.ledger-summary>div:first-child,.ledger-summary>div:nth-child(2){border-top:0}.compact-form-row{grid-template-columns:1fr}.people-list article{grid-template-columns:38px minmax(0,1fr)}.people-list .crm-status{grid-column:2;justify-self:start}.finance-table td:nth-child(2):before{content:"Cliente: ";color:var(--muted)}.finance-table td:nth-child(3):before{content:"Vencimento: ";color:var(--muted)}}@media(max-width:420px){.crm-detail{min-height:calc(100vh - 68px)}.crm-detail-header{top:68px;padding:1rem}.client-identity{grid-template-columns:1fr}.client-identity>div{border-right:0;border-bottom:1px solid var(--line)}.client-identity>div:nth-child(3){grid-column:auto;border-top:0;border-bottom:0}.operational-strip{grid-template-columns:1fr}.operational-strip>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}.operational-strip>div:last-child{border-bottom:0}.crm-form-actions,.ledger-summary{grid-template-columns:1fr}.ledger-summary>div{border-right:0!important;border-top:1px solid var(--line)!important}.ledger-summary>div:first-child{border-top:0!important}.house-process dl{grid-template-columns:1fr}.house-process dl div{border-left:0;border-top:1px solid var(--line);padding:.55rem 0}.house-process dl div:first-child{border-top:0}}
