:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#091424;color:#edf4fc;--border:#2c435c;--muted:#adc1d7;--accent:#65dfcf}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:radial-gradient(ellipse at top left,#143244,transparent 65%)}a{color:var(--accent);text-decoration:none}button,input,textarea,select{font:inherit}button,.button{display:inline-block;cursor:pointer;border:1px solid #3b5670;border-radius:11px;padding:11px 17px;background:#1c3147;color:#eff8ff;text-decoration:none}button:disabled{cursor:wait;opacity:.55}.primary{background:var(--accent);color:#092f35;border-color:var(--accent);font-weight:750}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #74dfef;outline-offset:2px}.cv-header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 32px;gap:15px;border-bottom:1px solid var(--border)}.cv-header>a:first-child{display:flex;gap:12px;align-items:center;font-size:12px;letter-spacing:.1em;color:#eef6ff}.cv-header img{width:44px;height:44px}.cv-header strong{display:block;font-size:12px;color:var(--accent);margin-top:4px}.cv-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:40px;max-width:1440px;margin:auto;padding:35px 32px}aside h1{font-size:34px;line-height:1.2;margin:18px 0}aside p{color:var(--muted);line-height:1.7;font-size:14px}.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--accent)}aside nav{display:grid;gap:9px;margin:30px 0}aside nav button{text-align:left;background:transparent}aside nav button.active{background:#16394a;border-color:#43aaab}.cv-privacy{font-size:11px!important;margin:30px 0}main{min-width:0}.cv-panel{border:1px solid var(--border);background:#122134;border-radius:22px;padding:28px}.cv-panel h2{margin:14px 0 20px;font-size:27px}.cv-panel p{line-height:1.6}.cv-tag{font-size:10px;font-weight:750;letter-spacing:.1em;color:var(--accent)}.cv-price{font-size:50px;font-weight:800;margin:28px 0;color:#8cf1df}.cv-status{margin:0 0 20px;padding:15px 18px;border:1px solid var(--border);border-radius:12px;color:#cde8f4;font-size:13px}.cv-status.error{color:#ffc2bb;border-color:#a55e61}.cv-muted{color:var(--muted);font-size:12px}.cv-panel label{display:grid;gap:8px;font-size:13px;color:#d6e5f6}.cv-panel input,.cv-panel textarea,.cv-panel select{width:100%;min-width:0;padding:12px;border:1px solid #3d5571;border-radius:9px;background:#0b1929;color:#f0f6fd}.cv-panel textarea{resize:vertical;line-height:1.55}.cv-panel input[type=checkbox]{width:19px;height:19px}.cv-panel label.check{display:flex;align-items:center;gap:10px}.cv-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}#cv-steps{list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:8px 0 25px}#cv-steps button{padding:7px 10px;font-size:10px}#cv-steps .active{background:#245365;border-color:var(--accent)}#cv-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}#cv-fields .wide{grid-column:1/-1}.cv-record{grid-column:1/-1;border:1px solid var(--border);padding:19px;border-radius:12px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.cv-record .wide{grid-column:1/-1}.cv-record-header{display:flex;justify-content:space-between;align-items:center;gap:10px;grid-column:1/-1}.cv-record-header button{font-size:11px;padding:7px 10px}.cv-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:26px}.cv-photo-preview{width:90px;height:110px;object-fit:contain;border:1px solid var(--border);border-radius:8px;background:#0b1828}.cv-photo-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.cv-contact-choice{display:flex;flex-wrap:wrap;gap:16px}#cv-preview-frame{width:100%;height:700px;border:1px solid var(--border);background:white;margin:20px 0;border-radius:8px}#cv-review button{margin:8px 8px 8px 0}#cv-qr{display:block;width:220px;max-width:100%;border-radius:10px;background:white;margin:20px auto}#cv-checkout,#cv-settings{display:grid;gap:18px;max-width:520px;margin:25px 0}#cv-pix button{margin:12px 8px 8px 0}#cv-operation-code{overflow-wrap:anywhere}.cv-history-row{padding:20px 0;border-bottom:1px solid var(--border)}.cv-history-row h3{font-size:17px}.cv-history-row button{margin:6px 8px 0 0;font-size:12px}.cv-totals{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.cv-totals p{border:1px solid var(--border);padding:14px;border-radius:9px}.cv-table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--border)}footer{max-width:1440px;padding:24px 32px;margin:auto;color:var(--muted);font-size:11px;border-top:1px solid var(--border)}@media(max-width:900px){.cv-layout{grid-template-columns:210px minmax(0,1fr);gap:20px;padding:25px 20px}aside h1{font-size:27px}.cv-panel{padding:22px}#cv-fields,.cv-record{grid-template-columns:1fr}}@media(max-width:640px){.cv-header{padding:16px}.cv-header>a:last-child{font-size:12px}.cv-layout{display:block;padding:20px 12px}aside h1{font-size:28px}aside>p:not(.eyebrow),aside>a{display:none}aside nav{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}aside nav button{font-size:12px;padding:10px}.cv-panel{padding:21px 17px;border-radius:17px}.cv-panel h2{font-size:23px}.cv-price{font-size:45px}.cv-editor-heading{display:block}.cv-record{padding:15px}.cv-actions button{font-size:12px;padding:10px 12px}#cv-preview-frame{height:480px}footer{padding:18px;font-size:10px}}
.cv-alphabet{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.cv-alphabet button{padding:9px 12px;font-size:12px}.cv-alphabet button.active{background:var(--accent);color:#082b35;border-color:var(--accent)}.cv-archive-search{display:flex;align-items:end;gap:10px;margin:20px 0}.cv-archive-search label{flex:1}#cv-office-form{display:grid;gap:18px}#cv-office-settlement{margin-top:25px}#cv-office-settlement h3{margin:0}
.cv-row-actions-title{display:block;font-size:12px;color:var(--muted);margin:16px 0 8px}.cv-row-actions{display:flex;gap:8px;flex-wrap:wrap}.cv-history-row .cv-row-actions button{margin:0}.cv-row-actions [data-cv-action=send]{background:#16676a;border-color:#39a6a6}.cv-row-actions[aria-busy=true]{opacity:.65;cursor:wait}.cv-row-actions[aria-busy=true] button{cursor:wait}
/* Client archive: nine cards per page. */
body:has(#cv-history:not([hidden])) .cv-layout{grid-template-columns:210px minmax(0,1fr);max-width:1800px;gap:24px}
#cv-history{padding:24px}
.cv-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cv-archive-card{padding:0;border:1px solid #e9b438;border-radius:26px;overflow:hidden;background:#fffefa;color:#15376a;display:flex;flex-direction:column;min-width:0;box-shadow:0 12px 30px #00000015}
.cv-card-banner{background:linear-gradient(110deg,#d79d22,#efb533);padding:17px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:white;font-size:13px}
.cv-card-banner>span{border-radius:30px;background:white;color:#007b86;font-weight:800;padding:10px 14px}
.cv-card-body{padding:22px 18px;display:flex;flex-direction:column;flex:1}
.cv-card-person{display:flex;align-items:flex-start;gap:16px;flex:1;min-height:150px}
.cv-card-avatar{width:72px;height:84px;flex-shrink:0;display:grid;place-items:center;background:#edf2fb;color:#173d75;border-radius:22px;font-size:25px;font-weight:800;box-shadow:0 10px 22px #173d7515}
.cv-history-row h3{font-size:20px;line-height:1.25;text-transform:uppercase;margin:2px 0 12px;overflow-wrap:anywhere;font-weight:850}
.cv-card-person p{font-size:13px;color:#567099;margin:8px 0;line-height:1.5}
.cv-card-link{align-self:flex-start;padding:9px 12px;border-radius:24px;background:#eef2ff;font-size:11px;font-weight:750;margin:14px 0 5px}
.cv-archive-card .cv-row-actions-title{color:#567099;margin:14px 0 8px}
.cv-archive-card .cv-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cv-archive-card .cv-row-actions button{font-size:12px;padding:11px 8px;min-height:42px;border-radius:12px}
.cv-card-extra{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cv-history-row .cv-card-extra button{margin:0;padding:7px 9px;font-size:10px;background:transparent;color:#567099;border-color:#d4dfec}
@media(max-width:1100px){body:has(#cv-history:not([hidden])) .cv-layout{grid-template-columns:1fr}body:has(#cv-history:not([hidden])) .cv-layout>aside nav{display:flex;flex-wrap:wrap;margin:16px 0}body:has(#cv-history:not([hidden])) .cv-layout>aside h1,body:has(#cv-history:not([hidden])) .cv-layout>aside>p{display:none}.cv-card-person{gap:10px}.cv-card-avatar{width:54px;height:66px}.cv-history-row h3{font-size:17px}}
@media(max-width:800px){.cv-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.cv-archive-grid{grid-template-columns:1fr}#cv-history{padding:17px 12px}.cv-card-person{min-height:110px}}
.cv-card-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.cv-card-person .cv-card-target{font-weight:750;color:#15376a}.cv-card-person .cv-card-city,.cv-card-person .cv-card-target{overflow-wrap:anywhere;line-height:1.45}
.cv-card-versions{margin-top:16px;border-top:1px solid #d4dfec;padding-top:12px;color:#15376a;font-size:12px}.cv-card-versions summary{cursor:pointer;font-weight:700}.cv-card-versions>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.cv-card-versions p{width:100%;margin:0 0 4px}.cv-history-row .cv-card-versions button{margin:0;font-size:11px;padding:8px;min-height:36px}
.cv-model-selector{border:0;padding:0;margin:0 0 22px;min-width:0}.cv-model-selector legend{font-size:19px;font-weight:750;padding:0}.cv-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.cv-panel .cv-model-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;padding:15px 12px;border:1px solid var(--border);border-radius:14px;background:#0c1a2b;cursor:pointer;text-align:center;min-width:0}.cv-model-option:has(input:checked){border:2px solid var(--accent);padding:14px 11px;background:#173746}.cv-model-option:focus-within{outline:2px solid var(--accent);outline-offset:3px}.cv-model-option input[type=radio]{position:absolute;width:18px;height:18px;top:10px;right:10px;accent-color:var(--accent)}.cv-model-option strong{font-size:13px}.cv-model-option small{color:var(--muted);font-size:11px;line-height:1.5}.cv-model-mini{display:flex;flex-direction:column;gap:7px;background:#fff;width:100%;max-width:140px;aspect-ratio:210/250;padding:12px;box-shadow:0 7px 15px #0003;border-radius:2px;box-sizing:border-box}.cv-model-mini i{display:block}.mini-head{position:relative;height:43px;background:#176477;margin-bottom:2px}.mini-photo{position:absolute;left:6px;top:6px;width:24px;height:31px;background:#d5e0e5}.mini-name{position:absolute;right:7px;top:11px;width:48%;height:5px;background:#f6fafb}.mini-line{height:3px;background:#dce3e9;width:95%}.mini-line:nth-of-type(3n){width:70%}.mini-section{height:9px;background:#e8eff7;margin:4px 0}.executivo .mini-head{background:#fff;border-bottom:2px solid #b58a46}.executivo .mini-photo{left:auto;right:0}.executivo .mini-name{left:0;right:auto;width:60%;background:#243449}.executivo .mini-section{background:#fff;border-bottom:1px solid #b58a46}.essencial .mini-head{height:61px;background:#fff;border-bottom:1px solid #498b7c}.essencial .mini-photo{left:calc(50% - 10px);width:20px;height:25px;top:0}.essencial .mini-name{left:15%;right:auto;top:35px;width:70%;background:#326b5f}.essencial .mini-section{background:#fff;border-bottom:1px solid #78a998}.contemporaneo .mini-head{background:#eee8f5;border-left:3px solid #6b4792}.contemporaneo .mini-photo{left:auto;right:5px}.contemporaneo .mini-name{left:6px;right:auto;background:#69428b;width:52%}.contemporaneo .mini-section{background:#eee8f5;border-left:3px solid #6b4792}
@media(max-width:1100px){.cv-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.cv-header{justify-content:center;flex-wrap:wrap;gap:16px;text-align:center}.cv-header>a{justify-content:center}.cv-layout,.cv-layout main,.cv-layout>aside,.cv-panel,.cv-status,footer{text-align:center}.cv-layout>aside nav,#cv-steps,.cv-actions,.cv-contact-choice,.cv-photo-row,.cv-alphabet,.cv-totals,.cv-record-header{justify-content:center}.cv-layout>aside nav{display:flex;flex-wrap:wrap;gap:8px}.cv-panel h2,.cv-panel h3{overflow-wrap:anywhere}.cv-editor-heading{display:block;text-align:center}.cv-record-header{flex-wrap:wrap}.cv-panel label{text-align:center}.cv-panel input:not([type=checkbox]):not([type=radio]):not([type=file]),.cv-panel select{text-align:center}.cv-panel textarea{text-align:left}.cv-panel label.check{justify-content:center}.cv-actions>button{flex:1 1 140px}.cv-archive-search{flex-direction:column;align-items:center}.cv-archive-search label{width:100%}.cv-card-person{flex-direction:column;align-items:center;text-align:center}.cv-card-link{align-self:center}.cv-card-extra{justify-content:center}.cv-history-row .cv-row-actions{width:100%}.cv-photo-row>label{width:100%}#cv-checkout,#cv-settings{margin:25px auto}.cv-panel #cv-preview-link{display:block;margin:14px auto;overflow-wrap:anywhere}.cv-model-grid{gap:10px}.cv-model-option strong{font-size:12px}.cv-model-selector legend{font-size:18px;text-align:center;width:100%}}

@media(max-width:767px){.cv-layout{display:block;max-width:100%}.cv-panel #cv-preview-link[hidden]{display:none!important}}

.cv-link-panel,.cv-required-review{padding:20px;border:1px solid #44b8bf;border-radius:14px;background:#102c3b;margin:8px 0 18px;min-width:0}.cv-link-panel[hidden]{display:none!important}.cv-link-panel h3,.cv-required-review h3{margin:0 0 10px}.cv-link-panel input{width:100%;box-sizing:border-box}.cv-link-panel p,.cv-required-review p{line-height:1.6}.cv-required-review{border-color:#dbac58;background:#302b25}.cv-required-review .cv-actions{flex-wrap:wrap}.cv-required-review button{white-space:normal}[data-cv-postal-status] p{line-height:1.6;margin:8px 0}[data-cv-postal-status] button{white-space:normal;max-width:100%;margin-top:8px}
/* CPF verification remains beside its field, including narrow phone screens. */
.cv-cpf-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;margin-top:8px}
.cv-cpf-row input{width:100%;min-width:0;margin:0}
.cv-cpf-row button{margin:0;white-space:nowrap}
#cv-registration-whatsapp h3{grid-column:1/-1}
@media(max-width:480px){.cv-cpf-row{gap:6px}.cv-cpf-row button{padding:10px;font-size:13px}.cv-cpf-row input{padding:10px;font-size:15px}}
