:root{font-family:Segoe UI,Arial,sans-serif;color:#183341;background:#edf3f6;font-size:16px;font-synthesis:none;--navy:#123d54;--teal:#087e88;--line:#dbe5ea;--muted:#566e7a}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #cbd8df;border-radius:8px;background:#fff;color:var(--navy);padding:10px 15px;font-weight:600;transition:background .15s}button:hover{background:#edf5f8}button:disabled{opacity:.45;cursor:wait}button.primary{background:var(--teal);color:#fff;border-color:var(--teal)}button.primary:hover{background:#05636b}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #63c9d1;outline-offset:3px}.top{background:var(--navy);color:white;padding:21px max(28px,calc((100vw - 1460px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:4px solid #19a6ad}.brand{display:flex;align-items:center;gap:13px}.brand-icon{border:1px solid #93b2c2;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:15px;letter-spacing:-1px}.brand strong{letter-spacing:2.5px;font-size:17px}.brand span:not(.brand-icon){display:block;font-size:13px;color:#c3d9e3;margin-top:4px}.connection{font-size:14px;color:#c6e5e8}.connection.offline{color:#ffd495}main{max-width:1516px;margin:auto;padding:32px 28px}.titlebar{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:25px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;color:var(--teal);margin:0 0 6px}h1{font-size:32px;letter-spacing:-.8px;margin:0 0 9px;color:var(--navy);line-height:1.2}h2{font-size:25px;margin:0;color:var(--navy)}.muted{color:var(--muted);margin:0;line-height:1.6}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:26px}.stats>div{background:white;padding:19px 23px;display:flex;flex-direction:column;gap:8px}.stats span{font-size:14px;color:var(--muted)}.stats strong{font-size:29px;font-weight:650;color:var(--navy)}.stats .attention{background:#fffaf0}.stats .attention strong{color:#8e5a00}.workspace{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 4px 24px #1b48520a}.toolbar{display:flex;gap:16px;padding:22px 24px 18px;align-items:flex-end}.searchfield{flex:1}.filterfield{width:175px}label{display:block;color:#304e5e;font-weight:600;font-size:14px}input,select,textarea{display:block;width:100%;padding:11px 12px;margin-top:7px;border:1px solid #bacdd6;border-radius:7px;background:white;color:#183341;min-height:44px}textarea{line-height:1.5;resize:vertical}input::placeholder,textarea::placeholder{color:#71838c}input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--teal)}.listbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}.exports{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.exports>span{margin-right:8px;font-size:13px}.exports button{padding:7px 13px;font-size:14px}#refresh{font-size:20px;padding:2px 12px;margin-left:7px}.tablewrap{overflow-x:auto;min-height:280px}table{width:100%;border-collapse:collapse;table-layout:fixed}th{position:sticky;top:0;background:#f3f7f9;z-index:1;text-align:left;font-weight:600;color:#496373;font-size:13px;padding:14px 18px;border-bottom:1px solid var(--line)}th:nth-child(1){width:105px}th:nth-child(2){width:27%}th:nth-child(3){width:35%}th:nth-child(4){width:155px}th:nth-child(5){width:90px}td{padding:16px 18px;border-bottom:1px solid #e8eef1;vertical-align:top;font-size:14px;line-height:1.5;overflow-wrap:anywhere}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f6fafb}.unit{font-weight:700;font-size:16px;color:var(--navy)}.owner{font-size:15px;font-weight:500}.email{display:block;color:#244e61;margin-bottom:2px}.email.suspect{color:#925a00}.no-email{font-style:italic;color:#768891}.badge{display:inline-block;border-radius:5px;padding:4px 8px;font-size:12px;background:#eaf4f5;color:#25676d;font-weight:600;white-space:nowrap}.badge.review{background:#fff1cf;color:#815500}.badge.missing{background:#eef1f3;color:#657681}.badge.archived{background:#f0edf4;color:#776288}.edit{font-size:14px;padding:6px 9px}.tablefoot,.footnote{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#5c737f;padding:14px 24px;border-top:1px solid var(--line)}.footnote{border:0;padding:15px 3px}.empty{text-align:center;padding:60px 20px;color:var(--muted)}dialog{width:min(740px,calc(100vw - 28px));max-height:94vh;padding:0;border:0;border-radius:13px;box-shadow:0 20px 80px #071d3966;color:#183341}dialog::backdrop{background:#102f466b;backdrop-filter:blur(2px)}.dialoghead{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--line)}.close{border:0;font-size:28px;padding:0 6px;font-weight:400}.dialogbody{padding:20px 28px;display:grid;gap:17px;max-height:calc(94vh - 185px);overflow-y:auto}.source-note{font-size:13px;color:var(--muted);line-height:1.5}.twocol{display:grid;grid-template-columns:1fr 2fr;gap:16px}.hint{display:block;font-size:12px;font-weight:400;color:#5e7580;margin-top:5px;line-height:1.5}.reviewbox{padding:15px;background:#fffaf0;border:1px solid #ecdab1;border-radius:8px;display:grid;gap:13px}.check{display:flex;align-items:center;gap:10px}.dialogfoot{display:flex;justify-content:space-between;gap:12px;padding:18px 28px;border-top:1px solid var(--line);background:#f7fafb}.dialogfoot>div{display:flex;gap:10px}.error{color:#9d2c24;background:#fff0ed;border:1px solid #efbeb7;border-radius:7px;padding:13px;font-size:14px;line-height:1.5}.toast{position:fixed;right:26px;bottom:26px;background:var(--navy);color:white;padding:16px 23px;border-radius:9px;box-shadow:0 4px 24px #17344033;z-index:20;max-width:90vw}.toast.error-toast{background:#93352d}summary{font-size:14px;color:var(--teal);cursor:pointer;padding:8px 0}#history{font-size:13px;color:var(--muted)}.history-entry{padding:10px 0;border-top:1px solid var(--line)}.history-entry strong{display:block;color:var(--navy)}.history-entry p{margin:5px 0;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:900px){main{padding:25px 18px}.top{padding:18px}.connection{max-width:170px;text-align:right}.toolbar{padding:18px;flex-wrap:wrap}.searchfield{flex-basis:100%}.filterfield{flex:1}.listbar{align-items:flex-start;padding:14px 18px;flex-direction:column}table{min-width:800px}.stats>div{padding:17px}.stats span{min-height:34px}.titlebar{align-items:flex-start}.titlebar .primary{white-space:nowrap}h1{font-size:28px}.footnote{flex-direction:column;gap:5px}}@media(max-width:560px){.top{gap:12px}.brand strong{font-size:14px}.brand span:not(.brand-icon){font-size:12px}.brand-icon{display:none}.connection{font-size:12px}.titlebar{flex-direction:column;gap:14px}.titlebar button{width:100%}.stats{grid-template-columns:1fr 1fr}.stats span{min-height:0}.stats strong{font-size:25px}.exports{gap:6px}.exports>span{flex-basis:100%}.tablefoot{flex-direction:column;gap:5px}.dialoghead,.dialogbody,.dialogfoot{padding:17px}.dialogbody{max-height:calc(94vh - 182px)}.twocol{grid-template-columns:1fr}.dialogfoot{align-items:flex-start;flex-direction:column}.dialogfoot>div{width:100%}.dialogfoot button{flex:1}}

.login-main{min-height:calc(100vh - 90px);display:grid;place-items:center}.login-card{width:min(100%,480px);background:white;border:1px solid var(--line);border-radius:14px;padding:36px;box-shadow:0 12px 35px #123d5410}.login-card form{display:grid;gap:20px;margin-top:28px}.login-card h1{font-size:29px}.login-card button{margin-top:4px}.session-controls{display:flex;gap:18px;align-items:center}.logout{background:transparent;border-color:#6b8998;color:white;font-size:13px;padding:7px 12px}.logout:hover{background:#1a4e68}@media(max-width:600px){.session-controls{gap:8px}.login-card{padding:25px}}

.stats>button{background:white;padding:19px 23px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:0;border-radius:0;text-align:left;font-weight:400}.stats>button:hover{background:#eaf5f7}.stats>button.active{box-shadow:inset 0 -3px 0 var(--teal)}.stats>button:focus-visible{outline-offset:-4px}.stats>button.attention:hover{background:#fff0cf}@media(max-width:900px){.stats>button{padding:17px}}

.copybar{display:flex;align-items:center;gap:20px;padding:18px 24px;background:#f1f9f9;border-top:1px solid var(--line)}.copybar>button{flex-shrink:0}.copybar>div{display:grid;gap:4px;font-size:13px;color:#416471;line-height:1.5}.copybar>div>strong{font-size:14px;color:var(--navy)}.clipboard-buffer{position:fixed;left:-10000px;top:0;width:1px;height:1px;opacity:0}@media(max-width:900px){.copybar{padding:18px;flex-direction:column;align-items:flex-start;gap:10px}}@media(max-width:560px){.copybar>button{width:100%}}



/* A lista acompanha a rolagem da pagina; apenas a rolagem horizontal fica na tabela. */

.cadastro-main{padding-bottom:100px}

.back-to-top{position:fixed;right:24px;bottom:24px;z-index:10;display:flex;align-items:center;gap:9px;min-height:48px;padding:12px 17px;border:1px solid #087e88;border-radius:999px;background:var(--teal);color:white;box-shadow:0 5px 20px #123d5430}

.back-to-top:hover{background:#05636b}

.back-to-top .arrow{font-size:23px;line-height:1}

.toast{bottom:92px}

@media(max-width:560px){.back-to-top{right:16px;bottom:16px;font-size:14px}.toast{right:16px;bottom:82px}}



/* Telefones e conferência por unidade. */

.stats{grid-template-columns:repeat(6,1fr)}

table{min-width:980px}

th:nth-child(2){width:23%}th:nth-child(3){width:28%}

th:nth-child(4){width:175px}th:nth-child(5){width:120px}th:nth-child(6){width:90px}

.phone{display:block;white-space:nowrap;color:#244e61;margin-bottom:3px}

.phone-candidate{padding:12px 0;border-top:1px solid #ecdab1;display:grid;gap:6px}

.phone-candidate>div{display:flex;gap:8px;flex-wrap:wrap}

.phone-candidate button{font-size:13px;padding:7px 10px}

@media(max-width:1100px){.stats{grid-template-columns:repeat(3,1fr)}}

@media(max-width:560px){.stats{grid-template-columns:repeat(2,1fr)}}



.portal-home{color:#fff;text-decoration:none;border:1px solid #6b8998;border-radius:8px;padding:8px 12px;font-size:13px}.portal-home:hover{background:#1a4e68}.top .brand{margin-right:auto}



.portal-home{color:#fff;text-decoration:none;border:1px solid #6b8998;border-radius:8px;padding:8px 12px;font-size:13px}.portal-home:hover{background:#1a4e68}.top .brand{margin-right:auto}



/* CEQM: retorno persistente ao painel */

#ceqm-retornar-painel{position:fixed!important;left:16px!important;bottom:max(16px,env(safe-area-inset-bottom))!important;z-index:2147483000!important;display:inline-flex!important;align-items:center!important;gap:8px!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;padding:13px 18px!important;border:1px solid #80d9c4!important;border-radius:12px!important;background:#0c2535!important;color:#fff!important;box-shadow:0 3px 16px #0004!important;font:600 14px/1.4 Arial,sans-serif!important;text-decoration:none!important;white-space:normal!important}#ceqm-retornar-painel:hover{background:#145145!important}#ceqm-retornar-painel:focus-visible{outline:3px solid #ffcf70!important;outline-offset:4px!important}body{padding-bottom:84px!important}@media print{#ceqm-retornar-painel{display:none!important}}


#ceqm-retornar-painel{left:auto!important;bottom:auto!important;right:16px!important;top:max(12px,env(safe-area-inset-top))!important}#ceqm-buscar-documento{position:fixed;left:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:2147483000;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #80d9c4;border-radius:50%;background:#0c2535;color:#59e1be;box-shadow:0 3px 16px #0004}#ceqm-buscar-documento svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}#ceqm-buscar-documento:focus-visible{outline:3px solid #ffcf70;outline-offset:4px}.qm-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:12px}.qm-actions .logout-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #a86060;border-radius:10px;background:#41242a;color:#fff;padding:12px;font:600 14px Arial;cursor:pointer}.qm-actions .logout-button[hidden]{display:none}.logout-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.logout-feedback{color:#ffc8c8}@media(max-width:700px){.mast{flex-wrap:wrap;padding-top:28px}.qm-actions{margin-left:auto}.qm-actions .logout-button{min-width:auto}}@media print{#ceqm-buscar-documento{display:none}}

.garage-boxes{display:inline-block;color:#185d72;font-weight:650;font-size:13px;white-space:normal;min-width:60px}#garageBoxes{background:#eef5f7;color:#244d62;cursor:default}.tablewrap table{min-width:1050px}

/* Box ocupa três caracteres; o espaço restante favorece os e-mails. */
.tablewrap th:nth-child(1){width:105px}.tablewrap th:nth-child(2){width:23%}.tablewrap th:nth-child(3){font-family:ui-monospace,Consolas,monospace;font-size:13px;width:calc(3ch + 16px);padding-left:8px;padding-right:8px;text-align:center;white-space:nowrap}.tablewrap td:nth-child(3){padding-left:8px;padding-right:8px;text-align:center}.tablewrap .garage-boxes{min-width:0;max-width:3ch;font-family:ui-monospace,Consolas,monospace;font-size:13px;overflow-wrap:anywhere}.tablewrap th:nth-child(4){width:auto}.tablewrap th:nth-child(5){width:175px}.tablewrap th:nth-child(6){width:120px}.tablewrap th:nth-child(7){width:90px}.tablewrap td:nth-child(4) .email{overflow-wrap:anywhere}

/* Tabela administrativa: alinhamento, leitura de e-mails e ação sem quebras. */
.tablewrap table{min-width:1120px}.tablewrap th{padding:14px 12px;font-size:12px;line-height:1.4;background:#edf5f8;border-bottom:2px solid #d4e4eb;vertical-align:middle}.tablewrap td{padding:14px 12px;vertical-align:middle;border-bottom:1px solid #e1ebf0;line-height:1.55}.tablewrap tbody tr:nth-child(even){background:#f7fafc}.tablewrap tbody tr:hover,.tablewrap tbody tr:focus-within{background:#eaf5f8}.tablewrap th:nth-child(1){width:90px}.tablewrap th:nth-child(2){width:24%}.tablewrap th:nth-child(3){font-family:ui-monospace,Consolas,monospace;font-size:13px;width:calc(3ch + 16px);padding-left:8px;padding-right:8px;text-align:center}.tablewrap td:nth-child(3){padding-left:8px;padding-right:8px;text-align:center}.tablewrap th:nth-child(4){width:auto}.tablewrap th:nth-child(5){width:180px}.tablewrap th:nth-child(6){width:132px}.tablewrap th:nth-child(7){width:110px;text-align:center}.tablewrap td:nth-child(7){padding-left:12px;padding-right:12px;text-align:center}.tablewrap .edit{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:42px;padding:10px 12px;white-space:nowrap;word-break:normal;font-size:13px;line-height:1.2}.tablewrap .owner{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.tablewrap .email{font-size:13px;line-height:1.6;margin-bottom:4px;overflow-wrap:anywhere}.tablewrap .phone{font-size:13px;line-height:1.55;white-space:nowrap}.tablewrap .badge{display:inline-flex;align-items:center;max-width:100%;line-height:1.4;white-space:nowrap}.tablewrap{border-top:1px solid #dce7ed}
/* Um único retorno, no fluxo do cabeçalho. */
.top{display:flex;flex-wrap:wrap;align-items:center;gap:22px;justify-content:space-between;position:relative}.top #ceqm-retornar-painel{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;z-index:auto!important;flex:none;max-width:none!important;box-shadow:none!important;white-space:nowrap!important;align-self:center;padding:11px 14px!important;border-color:#8dbec8!important;font-size:13px!important;line-height:1.4!important;margin:0}.top .brand{flex:1;min-width:0}.top .connection{flex:0 1 auto;max-width:320px;margin-left:auto;text-align:right;line-height:1.5;overflow-wrap:anywhere;font-size:12px}.return-short{display:none}.top .brand>div{min-width:0}@media(max-width:720px){.top{gap:12px;padding:15px 16px}.top .brand{order:0;flex:1;min-width:0;gap:9px}.top .brand strong{font-size:16px;letter-spacing:1px}.top .brand>div>span{font-size:10px}.top .brand-icon{width:39px;height:39px;font-size:12px;flex:none}.top #ceqm-retornar-painel{order:1;padding:10px 11px!important;font-size:12px!important}.top .connection{order:2;flex-basis:100%;max-width:none;text-align:left;margin:0;font-size:11px}.return-full{display:none}.return-short{display:inline}.tablewrap{min-height:260px}.tablewrap td{padding-top:13px;padding-bottom:13px}}

.top .session-controls{display:flex;align-items:center;gap:12px;flex:0 1 auto;min-width:0;max-width:380px}.top .session-controls .connection{flex:1;min-width:0;margin:0}.top .session-controls .logout{flex:none;min-width:60px;white-space:nowrap;position:static}@media(max-width:720px){.top{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand back" "session session";gap:14px 12px}.top .brand{grid-area:brand;min-width:0;width:auto}.top #ceqm-retornar-painel{grid-area:back;justify-self:end}.top .session-controls{grid-area:session;display:flex;width:100%;max-width:none;justify-content:space-between;gap:16px}.top .session-controls .connection{flex:1;order:0;text-align:left;font-size:12px}.top .session-controls .logout{order:1;min-height:38px;min-width:64px}.top .brand-icon{display:inline-flex;align-items:center;justify-content:center}.top .brand strong{white-space:nowrap}.top .brand>div>span{line-height:1.5}}

/* A mesma foto local e o vidro da home e da garagem. */
.cadastro-page{background:#174976;isolation:isolate}
.cadastro-background{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#174976}
.cadastro-background img{width:100%;height:100%;object-fit:cover;object-position:53% 54%}
.cadastro-background:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,31,70,.40),rgba(10,47,77,.12) 70%),linear-gradient(180deg,rgba(12,41,75,.08),rgba(9,31,65,.43))}
.cadastro-page .top{background:rgba(15,48,72,.80);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.cadastro-page :is(.titlebar,.workspace,.stats>button){background:rgba(242,249,255,.48);border:1px solid #ffffffa6;border-radius:19px;backdrop-filter:blur(12px) saturate(130%);-webkit-backdrop-filter:blur(12px) saturate(130%);box-shadow:0 6px 22px #102e4a16;transition:background-color .2s,border-color .2s,box-shadow .2s}
.cadastro-page .titlebar{padding:24px}
.cadastro-page :is(.titlebar,.workspace):is(:hover,:focus-within){background:rgba(242,249,255,.78);border-color:#fff}
.cadastro-page .stats{background:none;border:0;border-radius:0;gap:12px;overflow:visible}
.cadastro-page .stats>button:is(:hover,:focus-visible,:active){background:rgba(242,249,255,.84);border-color:#fff;box-shadow:0 10px 28px #0c294c27}
.cadastro-page .stats>button.attention{background:rgba(255,236,178,.60)}
.cadastro-page .stats>button.attention:is(:hover,:focus-visible){background:rgba(255,236,178,.88)}
.cadastro-page .stats>button.active{box-shadow:inset 0 -3px 0 #087e88,0 6px 22px #102e4a16}
.cadastro-page :is(.muted,.stats span,.listbar,.tablefoot){color:#24435b}
.cadastro-page .eyebrow{color:#005e6b}
.cadastro-page :is(.copybar,.tablefoot){background:rgba(231,246,250,.22)}
.cadastro-page .tablewrap th{background:rgba(223,240,248,.78);color:#24435b}
.cadastro-page .tablewrap tbody tr{background:rgba(242,249,255,.08)}
.cadastro-page .tablewrap tbody tr:nth-child(even){background:rgba(242,249,255,.24)}
.cadastro-page .tablewrap tbody tr:is(:hover,:focus-within){background:rgba(242,249,255,.86)}
.cadastro-page .tablewrap :is(td,th){border-color:#24435b26}
.cadastro-page :is(.owner,.email,.phone,.no-email){color:#173249}
.cadastro-page .email.suspect{color:#785000}
.cadastro-page :is(input:not([type=checkbox]),select,textarea,button:not(.primary):not(.logout):not(.back-to-top):not([data-card])){background-color:rgba(247,252,255,.72)}
.cadastro-page :is(input,select,textarea):focus{background-color:rgba(247,252,255,.94)}
.cadastro-page .footnote{color:#fff;text-shadow:0 1px 3px #082443}
.cadastro-page dialog{background:rgba(244,250,255,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
@media(max-width:650px){.cadastro-background img{object-position:56% 50%}.cadastro-page .titlebar{padding:20px}.cadastro-page .stats{gap:9px}}
@media(prefers-reduced-motion:reduce){.cadastro-page :is(.titlebar,.workspace,.stats>button){transition:none}}
@supports not (backdrop-filter:blur(1px)){.cadastro-page :is(.titlebar,.workspace,.stats>button){background-color:rgba(244,250,255,.95)}}
@media print{.cadastro-background{display:none}.cadastro-page{background:#fff}.cadastro-page :is(.titlebar,.workspace,.stats>button,.top){background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.cadastro-page .footnote{color:#24435b;text-shadow:none}}
