/* Novo Cliente: quatro etapas, formulário principal e resumo lateral das referências do escritório. */
.nc { --nc-bg:#fff;--nc-border:#d6e3ed;--nc-muted:#587086;--nc-input:#f8fbfe;--nc-accent:#007dad;--nc-text:#15334c;color:var(--nc-text); }
[data-theme="dark"] .nc {--nc-bg:#061b2a;--nc-border:#16374b;--nc-muted:#a2b8c8;--nc-input:#031522;--nc-accent:#10c2ee;--nc-text:#eaf4fa;}
.nc * {box-sizing:border-box;}
.nc h2,.nc h3,.nc p {margin:0;}
.nc h2 {font-size:17px;line-height:1.35;letter-spacing:-.3px;}
.nc h3 {font-size:14px;line-height:1.5;}
.nc svg {width:20px;height:20px;flex:none;}
.nc-toolbar {display:flex;gap:16px;align-items:end;justify-content:space-between;margin-bottom:18px;}
.nc-toolbar label {display:grid;gap:6px;font-size:12px;color:var(--nc-muted);width:min(480px,75%);}
.nc input,.nc textarea,.nc select {width:100%;min-width:0;color:var(--nc-text);background:var(--nc-input);border:1px solid var(--nc-border);border-radius:6px;font:inherit;padding:10px 12px;outline-offset:3px;}
.nc input:focus,.nc textarea:focus,.nc select:focus {outline:2px solid var(--nc-accent);}
.nc input::placeholder,.nc textarea::placeholder {color:var(--nc-muted);opacity:.85;}
.nc select option {background:var(--nc-bg);color:var(--nc-text);}
.nc textarea {resize:vertical;line-height:1.65;}
.nc-layout {display:grid;grid-template-columns:minmax(0,2.1fr) minmax(270px,1fr);gap:18px;align-items:start;}
.nc-main,.nc-aside {display:flex;flex-direction:column;gap:16px;min-width:0;}
.nc-panel {background:var(--nc-bg);border:1px solid var(--nc-border);border-radius:11px;padding:22px;min-width:0;}
.nc-heading {display:flex;gap:13px;align-items:center;margin-bottom:21px;}
.nc-heading p {font-size:12px;color:var(--nc-muted);line-height:1.6;margin-top:4px;}
.nc-icon {display:grid;place-items:center;background:color-mix(in srgb,var(--nc-accent) 10%,transparent);border:1px solid color-mix(in srgb,var(--nc-accent) 15%,transparent);border-radius:9px;color:var(--nc-accent);width:46px;height:46px;flex:none;}
.nc-icon svg {width:25px;height:25px;}
.nc-progress {padding:22px 10px 18px;}
.nc-progress ol {list-style:none;display:flex;padding:0;margin:0;}
.nc-progress li {position:relative;flex:1;text-align:center;min-width:0;}
.nc-progress li:not(:last-child):before {content:'';position:absolute;top:18px;left:50%;width:100%;height:2px;background:var(--nc-border);}
.nc-progress li.complete:before {background:var(--nc-accent);}
.nc-progress button {position:relative;border:0;background:none;width:100%;padding:0 4px;color:var(--nc-text);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:7px;font:inherit;}
.nc-progress button span {display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--nc-border);border-radius:50%;background:var(--nc-bg);font-size:14px;}
.nc-progress button strong {font-size:12px;line-height:1.5;}
.nc-progress button small {color:var(--nc-muted);font-size:10px;line-height:1.5;}
.nc-progress .active span,.nc-progress .complete span {background:#03b7e8;border-color:#03b7e8;color:#002839;}
.nc-progress .active span {box-shadow:0 0 18px #00b9ed55;}
.nc button:disabled {opacity:.5;cursor:default;}
.nc-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.nc-field {display:grid;gap:7px;font-size:12px;font-weight:500;min-width:0;}
.nc-full {grid-column:1/-1;}
.nc-lookup {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr);gap:12px;align-items:end;}
.nc .btn-primary,.nc .btn-ghost {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;height:auto;padding:10px 15px;line-height:1.4;text-decoration:none;font-size:12px;font-weight:600;white-space:normal;}
.nc .btn-primary {background:linear-gradient(110deg,#00bde9,#008ee7);border:1px solid #00b8e5;color:#002539;box-shadow:none;}
.nc .btn-ghost {background:transparent;border:1px solid var(--nc-accent);color:var(--nc-accent);}
.nc-actions {display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px;}
.nc-summary {margin:0;}
.nc-summary>div {display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--nc-border);font-size:12px;line-height:1.6;}
.nc-summary>div:last-child {border:0;}
.nc-summary dt {color:var(--nc-muted);}
.nc-summary dd {margin:0;overflow-wrap:anywhere;}
.nc-notice {display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #13af8c77;border-radius:7px;background:#11bb8c0d;color:var(--nc-text);font-size:12px;line-height:1.6;}
.nc-notice svg {color:#08b990;}
.nc-help {font-size:12px;color:var(--nc-muted);line-height:1.7;}
.nc-check {display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;}
.nc-check input {width:17px;height:17px;margin:2px 0 0;accent-color:#00addc;flex:none;}
.nc-pdf {display:block;width:100%;height:540px;border:1px solid var(--nc-border);border-radius:6px;margin-top:18px;background:#fff;}
.nc-document {display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;line-height:1.6;}
.nc-document>svg {color:var(--nc-accent);width:30px;height:30px;}
.nc-document>div {flex:1;overflow-wrap:anywhere;}
.nc-document small {display:block;color:var(--nc-muted);}
.nc-share {display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;}
.nc .nc-whatsapp {background:#007e60;border-color:#0eb68c;color:#fff;}
#ncShareResult {display:grid;gap:12px;margin-top:16px;}
.nc-drop {display:flex;flex-direction:column;align-items:center;gap:12px;border:1px dashed var(--nc-accent);background:var(--nc-input);border-radius:8px;padding:25px;text-align:center;cursor:pointer;}
.nc-drop>svg {width:34px;height:34px;color:var(--nc-accent);}
.nc-drop>span {font-size:12px;color:var(--nc-muted);}
.nc-drop input {max-width:360px;font-size:12px;}
.nc-filelink {display:block;color:var(--nc-accent);margin:16px 0;overflow-wrap:anywhere;font-size:12px;}
.nc-success {display:flex;gap:14px;align-items:center;border:1px solid #00aa86;background:#00a37c12;border-radius:9px;padding:18px;font-size:14px;}
.nc-success>svg {color:#00c393;width:32px;height:32px;}
.nc-success p {margin-top:5px;font-size:12px;color:var(--nc-muted);line-height:1.6;}
.nc-task {display:grid;grid-template-columns:32px minmax(0,1.3fr) minmax(130px,.7fr) auto;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--nc-border);}
.nc-task:last-child {border:0;}
.nc-task small {font-size:10px;color:var(--nc-muted);display:block;margin:5px 0 10px;}
.nc-tasknumber {border:1px solid var(--nc-border);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:var(--nc-accent);}
.nc-tasknumber.done {color:#003a2d;background:#10d6a1;}
.nc-history {list-style:none;padding:0 0 0 12px;margin:0;border-left:1px solid var(--nc-border);}
.nc-history li {padding:0 0 20px 13px;position:relative;font-size:12px;line-height:1.6;overflow-wrap:anywhere;}
.nc-history li:before {content:'';position:absolute;width:8px;height:8px;top:5px;left:-17px;background:var(--nc-accent);border-radius:50%;}
.nc-history p,.nc-history small {color:var(--nc-muted);font-size:11px;}
.nc-history li:last-child {padding-bottom:0;}
.nc-error {padding:14px 18px;background:#f0443812;border:1px solid #e57777;border-radius:8px;color:var(--nc-text);margin-bottom:16px;font-size:13px;line-height:1.6;}
.nc-error[hidden] {display:none;}
.nc-objective .nc-heading {margin:0;align-items:start;}
@media(max-width:1200px){.nc-layout{grid-template-columns:minmax(0,1fr)}.nc-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.nc-aside .nc-panel:has(.nc-history){grid-column:1/-1}.nc-lookup{grid-template-columns:minmax(0,1fr) minmax(200px,.8fr)}}
@media(max-width:650px){.nc-form,.nc-aside,.nc-lookup{grid-template-columns:minmax(0,1fr)}.nc-panel{padding:16px}.nc-toolbar{gap:10px}.nc-progress{padding:18px 4px}.nc-progress button strong{font-size:10px}.nc-progress button small{display:none}.nc-progress button span{width:30px;height:30px}.nc-progress li:not(:last-child):before{top:15px}.nc-task{grid-template-columns:28px minmax(0,1fr)}.nc-task>.nc-field{grid-column:2}.nc-task>button{grid-column:2}.nc-pdf{height:380px}.nc .btn-primary,.nc .btn-ghost{min-height:42px}.nc-actions>*{flex:1}.nc-toolbar label{width:70%}}
.onboarding-shell-title {display:none;}
body[data-route="novo-cliente"] .onboarding-shell-title {display:grid;gap:6px;font-size:18px;padding-left:26px;line-height:1.35;}
body[data-route="novo-cliente"] .onboarding-shell-title span {font-size:12px;color:var(--text-2);}
body[data-route="novo-cliente"] .topbar .filters,body[data-route="novo-cliente"] #exportDropdown,body[data-route="novo-cliente"] .topbar>.vsep {display:none;}
body[data-route="novo-cliente"] .topbar .powered {margin-left:auto;}
body[data-route="novo-cliente"] .page-head .updated {display:none;}
@media(max-width:650px){body[data-route="novo-cliente"] .onboarding-shell-title{font-size:13px;padding-left:0;gap:2px}body[data-route="novo-cliente"] .onboarding-shell-title span{display:none}}
