@font-face{font-family:VERAGeist;src:url('/static/vera-assets/geist-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:VERAGeist;src:url('/static/vera-assets/geist-500.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:VERAGeist;src:url('/static/vera-assets/geist-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:VERAGeist;src:url('/static/vera-assets/geist-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
/* Mundo visual aprovado: a fonte local, as superfícies e as tabelas vêm da prévia. */
body.vera-authenticated{--paper:#f7f8fa;--vera-surface:#fff;--vera-soft:#edf2fb;--line:#e0e5ed;--ink:#252c37;--muted:#667283;--green:#4268dd;font-family:VERAGeist,'Segoe UI',sans-serif;background:var(--paper);font-size:13px}body.vera-authenticated.theme-dark{--paper:#11161e;--vera-surface:#1c2633;--vera-soft:#253449;--line:#2b3748;--ink:#e3e8f1;--muted:#a0adbf;--green:#a3bbff;background:var(--paper);color:var(--ink)}body.vera-authenticated>.sidebar{width:214px;padding:25px 15px 18px;background:var(--vera-surface);border-color:var(--line)}.vera-authenticated .workspace{margin-left:214px}.vera-authenticated .workspace>header{height:70px;padding:0 36px;background:var(--vera-surface);font-size:11px}.vera-authenticated .workspace>main{max-width:1640px;padding:30px 36px 80px}.vera-authenticated .vera-wordmark{font-size:42px;letter-spacing:-.04em}.vera-authenticated .vera-office{font-size:12px;margin:25px 10px 25px}.vera-authenticated .sidebar nav{gap:5px}.vera-authenticated .sidebar nav button{font-size:12px;font-weight:500;min-height:40px;padding:11px 12px}.vera-authenticated .sidebar nav button.active{background:#e7edfb;color:#365ed0}.vera-authenticated.theme-dark .sidebar nav button.active{background:#2a3e61;color:#e0eaff}.vera-authenticated .sidebar nav button svg{width:18px;height:18px;stroke-width:1.7}.vera-authenticated .page-heading{background:transparent;min-height:0!important;padding:24px 0 30px!important;margin-bottom:0!important;overflow:visible;border-radius:0}.vera-authenticated .page-heading h1{font-size:30px;font-weight:500;letter-spacing:-.035em}.vera-authenticated .page-heading p{font-size:12px;line-height:1.75;margin-top:9px;color:var(--muted)}.vera-authenticated .heading-actions button{font-size:11px}.vera-authenticated .validation-note{margin:0 0 18px;font-size:10px}.vera-authenticated .validation-note>summary{color:var(--muted)}body.vera-authenticated[data-vera-view="overview"] .page-heading{min-height:190px!important;margin-bottom:18px!important;border-radius:13px;overflow:hidden;padding:0!important;background:var(--vera-surface)!important}body.vera-authenticated[data-vera-view="overview"] .page-heading:after{display:none}body.vera-authenticated[data-vera-view="overview"] .page-heading>div:first-child{padding:30px 32px 80px}body.vera-authenticated[data-vera-view="overview"] .page-heading h1{font-size:32px}.vera-authenticated .vera-glass-note{color:#324157;background:#fffffff0}.vera-authenticated.theme-dark .vera-glass-note{color:#d6e4fb;background:#263750ef}.vera-authenticated.theme-dark .vera-glass-note svg{stroke:#9abaff}
/* Filtros na linha, com opções complementares abertas quando já estiverem ativas. */
.vera-authenticated #view .toolbar{display:flex!important;align-items:center;flex-wrap:wrap;gap:14px 20px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 0 17px!important;margin:0 0 22px;box-shadow:none;min-width:0}.vera-authenticated #view .toolbar>label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:11px;flex:0 1 auto;width:auto!important;max-width:100%;min-width:0;margin:0}.vera-authenticated #view .toolbar>input,.vera-authenticated #view .toolbar>select{width:auto!important;flex:0 1 auto;min-width:0;margin:0}.vera-authenticated #view .toolbar input,.vera-authenticated #view .toolbar select{background:var(--vera-surface);color:var(--ink);font-size:11px;min-height:34px;border:1px solid var(--line);border-radius:5px;padding:8px 10px;max-width:240px;min-width:0;width:auto}.vera-authenticated #view .toolbar #search{margin-left:auto;order:5;width:230px!important;max-width:100%;background:transparent}.vera-authenticated #view .toolbar #ramo-filter{max-width:225px}.vera-authenticated #view .toolbar>button{font-size:11px;min-height:34px;width:auto!important;flex:none;padding:8px 10px;background:transparent;color:var(--muted);border:0;border-radius:5px;display:inline-flex;align-items:center;gap:6px;margin:0}.vera-authenticated #view .toolbar>button:hover{background:var(--vera-soft);color:var(--ink)}.vera-authenticated #view .toolbar>#export-filtered{margin-left:auto;order:9;color:var(--ink)}.vera-authenticated #view .toolbar>#clear-filters{color:var(--green);order:8}.vera-authenticated #view .toolbar>.vera-more-filters{color:var(--green);order:6}.vera-authenticated #view .toolbar>.vera-columns{order:8}.vera-authenticated #view .toolbar>.count{order:10;width:100%;padding:7px 0 0;margin:0;font-size:11px;color:var(--muted)}.vera-authenticated #view .toolbar>.vera-filter-explanation{order:11;width:100%;border:0;padding:0}.vera-authenticated #view .toolbar .vera-more-filters svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}.vera-authenticated #view .toolbar:not(.vera-filters-open)>.vera-filter-advanced{display:none!important}.vera-authenticated #view .toolbar>.vera-filter-advanced{order:7!important}.vera-authenticated #view .toolbar:not(.vera-filters-open)>.vera-filter-explanation{display:none}.vera-authenticated.theme-dark #view .toolbar input,.vera-authenticated.theme-dark #view .toolbar select{background:#202c3d;border-color:#344258;color:var(--ink)}
/* Tabela aberta, nome/identificador juntos e situação com cor contida. */
.vera-authenticated #results>.table-wrap{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:auto}.vera-authenticated #results>.table-wrap>table{background:transparent;table-layout:auto;width:100%;min-width:860px!important;border-collapse:collapse}.vera-authenticated #results th{background:transparent!important;border:0;border-bottom:1px solid var(--line);font-size:10px!important;line-height:1.6;color:var(--muted);font-weight:500;padding:13px 12px!important;white-space:nowrap}.vera-authenticated #results td{background:transparent;border:0;border-bottom:1px solid var(--line);padding:16px 12px!important;font-size:12px!important;line-height:1.65;vertical-align:middle}.vera-authenticated #results tr:last-child td{border-bottom:0}.vera-authenticated #results tbody tr:hover{background:var(--vera-soft)}.vera-authenticated #results th:first-child,.vera-authenticated #results td:first-child{padding-left:0!important;min-width:235px;max-width:350px}.vera-authenticated #results th:last-child,.vera-authenticated #results td:last-child{padding-right:0!important}.vera-authenticated .vera-client{display:flex;align-items:center;gap:11px;padding:0!important;margin:0;background:transparent!important;border:0;text-align:left;color:var(--ink)!important;font-size:12px!important;font-weight:500;line-height:1.6;max-width:330px;min-width:0}.vera-authenticated .vera-client:before{content:attr(data-initials);display:grid;place-items:center;width:33px;height:33px;flex:0 0 33px;border-radius:7px;background:#e6edf9;color:#5271a9;font-size:10px;font-weight:500}.vera-authenticated .vera-client[data-color="1"]:before{background:#efe8df;color:#8b7057}.vera-authenticated .vera-client[data-color="2"]:before{background:#e5ece1;color:#637b59}.vera-authenticated .vera-client[data-color="3"]:before{background:#eee4f0;color:#8a6791}.vera-authenticated .vera-client[data-color="4"]:before{background:#e1ecee;color:#577780}.vera-authenticated .vera-client-name{display:block;min-width:0}.vera-authenticated #results td:first-child:has(.vera-client)>small{padding-left:44px;font-size:10px;color:var(--muted);margin-top:3px}.vera-authenticated #results td>small{font-size:10px;line-height:1.55;max-width:270px;color:var(--muted)}.vera-authenticated #results td>button:not(.row-button){background:transparent!important;color:var(--green)!important;border:0;padding:5px 0;font-size:10px;min-height:0;margin-right:12px;display:inline-flex}.vera-authenticated #results td>button:not(.row-button):hover{text-decoration:underline;text-underline-offset:3px}.vera-authenticated #results .badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:400;border-radius:4px;max-width:240px;white-space:normal;padding:5px 7px;color:#657086;background:#ecf0f5;line-height:1.5}.vera-authenticated #results .badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}.vera-authenticated #results .badge.warning{color:#8c7042;background:#f4eee0}.vera-authenticated #results .badge.critical{color:#a35e65;background:#f8e8eb}.vera-authenticated #results .vera-secondary-col{display:none}.vera-authenticated #results .vera-all-columns .vera-secondary-col{display:table-cell}.vera-authenticated.theme-dark .vera-client:before{background:#2a3c59;color:#bdd0ef}.vera-authenticated.theme-dark .vera-client[data-color="1"]:before{background:#493f35;color:#dfc4a4}.vera-authenticated.theme-dark .vera-client[data-color="2"]:before{background:#344735;color:#c2d7b9}.vera-authenticated.theme-dark .vera-client[data-color="3"]:before{background:#48364b;color:#ddc0e0}.vera-authenticated.theme-dark .vera-client[data-color="4"]:before{background:#2b4249;color:#b9d2d9}.vera-authenticated.theme-dark #results .badge{color:#b6c7e0;background:#29394c}.vera-authenticated.theme-dark #results .badge.warning{color:#e3c080;background:#493c26}.vera-authenticated.theme-dark #results .badge.critical{color:#edb9c3;background:#49313c}.vera-authenticated .pagination{font-size:11px;padding:18px 0}.vera-authenticated .pagination button{font-size:11px;padding:7px 10px;background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:5px}
/* Mesma composição da visão geral da prévia, com os valores realmente conhecidos. */
body[data-vera-view="overview"] #overview-content>.vera-metrics{order:2;margin:4px 0 26px}body[data-vera-view="overview"] #overview-content>.vera-preview-panels{order:3}body[data-vera-view="overview"] #overview-content>.work-panel{order:4}body[data-vera-view="overview"] #overview-content>.vera-overview-ledger{order:5}body[data-vera-view="overview"] #overview-content>.other-reviews{order:6}.vera-authenticated .vera-metrics strong{font-size:33px;font-weight:450;letter-spacing:-.035em}.vera-authenticated .vera-metrics span{font-size:11px}.vera-authenticated .vera-metrics small{font-size:10px;line-height:1.7}.vera-authenticated .vera-metrics>div{border-right:1px solid var(--line);border-left:0;padding:0 28px}.vera-authenticated .vera-metrics>div:first-child{padding-left:0}.vera-authenticated .vera-metrics>div:last-child{border:0}.vera-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.vera-section-title h2{font-size:16px;font-weight:500;letter-spacing:-.025em;margin:0}.vera-section-title>span,.vera-section-title p{font-size:10px;color:var(--muted);margin:7px 0 0;line-height:1.6}.vera-payment-overview{margin:0 0 22px}.vera-payment-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.vera-payment-cards>button{position:relative;display:flex;flex-direction:column;text-align:left;gap:13px;padding:17px 18px;background:var(--vera-surface)!important;color:var(--ink)!important;border:0;border-bottom:2px solid var(--line);border-radius:10px;min-width:0;transition:transform .25s cubic-bezier(.16,1,.3,1),background .2s}.vera-payment-cards>button:hover{transform:translateY(-3px);background:var(--vera-soft)!important}.vera-payment-cards span{font-size:11px}.vera-payment-cards strong{font-size:21px;font-weight:500;letter-spacing:-.03em}.vera-payment-cards small{font-size:9px;color:var(--muted);line-height:1.6}.vera-insights{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-bottom:26px}.vera-flow,.vera-next{padding:23px 24px;background:var(--vera-surface);border-radius:12px;min-width:0}.vera-legend{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:9px!important}.vera-legend i,.vera-legend b{width:6px;height:6px;border-radius:2px;background:#dce4f3;margin-left:7px}.vera-legend b{background:#5276e7}.vera-bars{height:185px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding-top:20px}.vera-bars>p{font-size:12px;color:var(--muted);align-self:center}.vera-bar-group{width:72px;min-width:0;max-width:100px;display:flex;flex-direction:column;align-items:center;padding:0!important;border:0;background:transparent!important;color:var(--muted)!important}.vera-bar-group svg{width:100%;height:132px;overflow:visible;border-bottom:1px solid var(--line)}.vera-bar-group rect{fill:#dce4f3;transform-box:fill-box;transform-origin:bottom;animation:vera-bar-grow .65s cubic-bezier(.16,1,.3,1)}.vera-bar-group rect.received{fill:#5276e7;animation-duration:.85s}.vera-bar-group>span{display:block;max-width:90px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:9px;margin-top:10px}.vera-bar-group:hover rect{filter:brightness(1.12)}.vera-next>button{display:flex;align-items:center;width:100%;gap:11px;text-align:left;padding:14px 0!important;background:transparent!important;color:var(--ink)!important;border:0;border-bottom:1px solid var(--line);border-radius:0}.vera-next>button>span:nth-child(2){flex:1}.vera-next b{font-size:11px;font-weight:500}.vera-next small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}.vera-next>button>svg,.vera-task-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.vera-task-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:7px;background:var(--vera-soft);color:var(--muted);flex-shrink:0}.vera-live-dot{width:6px;height:6px;border-radius:50%;background:#5276e7;animation:vera-dot-float 5s ease-in-out infinite}.vera-next-note{font-size:9px;line-height:1.6;color:var(--muted);margin:14px 0 0}.vera-overview-ledger{margin:20px 0}.vera-overview-ledger>summary{font-size:12px;color:var(--muted);padding:15px 0;cursor:pointer}.vera-authenticated .summary-ledger{background:transparent;border:0;border-radius:0;padding:0 0 20px}.vera-authenticated .summary-ledger h2{font-size:16px;font-weight:500}.vera-authenticated .summary-ledger td{font-size:12px!important}.vera-authenticated .summary-ledger td:nth-child(3){font-size:14px!important}.vera-authenticated .work-panel{background:var(--vera-surface);border:0;border-radius:12px;padding:23px 24px}.vera-authenticated .work-panel>h2{font-size:17px;font-weight:500}.vera-authenticated .work-panel table th{background:transparent}.vera-authenticated .work-panel .row-button{font-size:12px}.vera-authenticated .queue-tabs{gap:16px;border-bottom:1px solid var(--line);padding-bottom:10px}.vera-authenticated .queue-tabs button{border:0!important;border-radius:0;background:transparent!important;color:var(--muted)!important;font-size:11px;padding:7px 0!important}.vera-authenticated .queue-tabs button.active{color:var(--green)!important;border-bottom:2px solid var(--green)!important}.vera-authenticated .other-reviews{margin:16px 0 0}.vera-authenticated .other-reviews>summary{padding:14px 0;font-size:12px;color:var(--muted)}.vera-authenticated .contract-review{background:var(--vera-surface);border-color:var(--line)}.vera-authenticated .contract-review h2{font-size:17px}.vera-authenticated .manual-upload,.vera-authenticated .work-form{background:var(--vera-surface)}.vera-authenticated .vera-setting-section{padding:30px 0}.vera-authenticated .vera-settings{max-width:1000px}.vera-authenticated .vera-setting-section h2{font-size:20px;font-weight:500}.vera-authenticated .vera-setting-section p{font-size:12px;color:var(--muted)}
@keyframes vera-bar-grow{from{transform:scaleY(.05);opacity:.5}to{transform:scaleY(1);opacity:1}}
@media(max-width:1150px){.vera-authenticated>.sidebar{width:200px}.vera-authenticated .workspace{margin-left:200px}.vera-authenticated .workspace>main{padding-inline:26px}.vera-payment-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.vera-insights{grid-template-columns:1.2fr 1fr}.vera-authenticated #view .toolbar{gap:12px 14px}}@media(max-width:800px){.vera-insights{grid-template-columns:1fr}.vera-authenticated .vera-metrics strong{font-size:27px}.vera-authenticated #view .toolbar #search{margin:0;width:100%!important;max-width:none}.vera-authenticated #view .toolbar>label{flex:1 1 auto}.vera-authenticated #view .toolbar select{max-width:200px}}@media(max-width:750px){.vera-authenticated>.sidebar{position:static;width:100%;height:auto;padding:18px 14px}.vera-authenticated .workspace{margin:0}.vera-authenticated .sidebar nav{flex-direction:row;overflow:auto;gap:5px}.vera-authenticated .sidebar nav button{width:auto;white-space:nowrap;flex-shrink:0}.vera-authenticated .workspace>main{padding:20px 16px 80px}.vera-authenticated .workspace>header{padding:0 16px;height:58px}.vera-authenticated .page-heading{padding:15px 0 20px!important}.vera-authenticated .page-heading h1{font-size:27px}.vera-authenticated .vera-side-footer{padding:4px 8px 0}.vera-authenticated .sidebar .more-nav{width:auto}.vera-authenticated .more-nav>div{position:absolute;right:8px;min-width:210px;background:var(--vera-surface);border:1px solid var(--line);z-index:40}.vera-authenticated #view .toolbar>.vera-filter-explanation{width:100%}}@media(max-width:550px){.vera-payment-cards{grid-template-columns:1fr 1fr;gap:10px}.vera-payment-cards>button{padding:15px 12px;gap:10px}.vera-payment-cards strong{font-size:18px}.vera-authenticated .vera-metrics{display:grid;grid-template-columns:1fr;gap:20px}.vera-authenticated .vera-metrics>div{padding:0;border:0}.vera-authenticated #view .toolbar{gap:12px}.vera-authenticated #view .toolbar>label{width:100%!important;justify-content:space-between}.vera-authenticated #view .toolbar select{max-width:220px}.vera-flow,.vera-next{padding:20px 17px}.vera-section-title{align-items:flex-start}.vera-legend{display:none!important}}
@media print{.vera-authenticated .toolbar,.vera-authenticated .vera-preview-panels{display:none!important}.vera-authenticated .workspace{margin:0}.vera-authenticated{background:white;color:black}.vera-authenticated #results .vera-secondary-col{display:table-cell}}
.vera-authenticated .vera-commission-summary{padding:0 0 18px;margin-bottom:15px}.vera-authenticated .vera-commission-summary>h2{font-size:11px;color:var(--muted);font-weight:400;margin:0 0 18px}.vera-commission-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.vera-commission-metrics>div{padding:0 28px;border-right:1px solid var(--line)}.vera-commission-metrics>div:first-child{padding-left:0}.vera-commission-metrics>div:last-child{border:0}.vera-commission-metrics span{font-size:11px;color:var(--muted)}.vera-commission-metrics strong{display:block;font-size:31px;font-weight:450;letter-spacing:-.035em;margin:10px 0;font-variant-numeric:tabular-nums}.vera-commission-metrics>div:first-child strong{color:var(--green)}.vera-commission-metrics small{font-size:10px;color:var(--muted);line-height:1.6}.vera-commission-summary .vera-receipt-note{font-size:11px;line-height:1.7;color:var(--muted);max-width:none;margin:17px 0 0}.vera-commission-summary .vera-receipt-note strong{font-size:inherit;font-weight:600}.vera-summary-notes{font-size:10px;color:var(--muted);margin-top:14px}.vera-summary-notes summary{padding:4px 0;cursor:pointer}.vera-summary-notes p{font-size:11px;line-height:1.8}.vera-authenticated #results>.table-wrap>table{margin-top:10px}.vera-authenticated #results .vera-client-name{font-weight:500}.vera-authenticated .vera-preview-panels{display:block}.vera-authenticated .page-heading h1{font-weight:500}@media(max-width:800px){.vera-commission-metrics strong{font-size:26px}.vera-commission-metrics>div{padding-inline:18px}}@media(max-width:550px){.vera-commission-metrics{grid-template-columns:1fr;gap:20px}.vera-commission-metrics>div{padding:0;border:0}.vera-commission-metrics strong{font-size:29px}}
.vera-authenticated #view .table-wrap{border:0;border-radius:0;background:transparent;box-shadow:none}.vera-authenticated #view .table-wrap table{background:transparent;border-collapse:collapse}.vera-authenticated #view .table-wrap th{background:transparent;font-size:10px;font-weight:500;color:var(--muted);border-bottom:1px solid var(--line);padding:13px 12px}.vera-authenticated #view .table-wrap td{background:transparent;border-bottom:1px solid var(--line);font-size:12px;padding:15px 12px;line-height:1.65}.vera-authenticated #view .table-tools{gap:12px;margin:15px 0;font-size:11px}.vera-authenticated #view .table-tools label{font-size:11px}.vera-authenticated #view .table-tools input,.vera-authenticated #view .table-tools select{font-size:11px;background:var(--vera-surface);color:var(--ink);border:1px solid var(--line);padding:8px 10px;border-radius:5px}.vera-authenticated #view .table-tools button{font-size:11px;background:transparent;color:var(--muted);padding:8px;border:0}.vera-authenticated .import-types{gap:22px;border-bottom:1px solid var(--line);margin:0 0 25px;padding-bottom:0;display:flex;flex-wrap:wrap}.vera-authenticated .import-types button{background:transparent!important;border:0;border-radius:0;padding:11px 0;color:var(--muted)!important;font-size:12px}.vera-authenticated .import-types button[aria-pressed=true]{border-bottom:2px solid var(--green);color:var(--green)!important}.vera-authenticated .manual-upload{border:1px dashed var(--line);border-radius:12px;padding:28px}.vera-authenticated .manual-upload h2{font-size:21px;font-weight:500}.vera-authenticated .manual-upload p{font-size:12px;line-height:1.8;color:var(--muted)}

.vera-authenticated .vera-payment-cards>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left}.vera-authenticated .vera-payment-cards>button:after{content:'↗';position:absolute;right:18px;top:16px;color:var(--muted);font-size:15px}

.vera-authenticated #view .toolbar>input,.vera-authenticated #view .toolbar>select,.vera-authenticated #view .toolbar>label{order:6}.vera-authenticated #view .toolbar>label:has(#group-filter){order:1}.vera-authenticated #view .toolbar>label:has(#ramo-filter){order:2}.vera-authenticated #view .toolbar>label:has(#competence-filter){order:3}.vera-authenticated #view .toolbar>label:has(#commission-receipt-filter),.vera-authenticated #view .toolbar>label:has(#status-filter),.vera-authenticated #view .toolbar>label:has(#missing-field-filter){order:4}.vera-authenticated #view .toolbar>#search{order:5}.vera-authenticated #view .toolbar>button{order:9}.vera-authenticated #view .toolbar>.vera-more-filters{order:7}.vera-authenticated #view .toolbar>#clear-filters{order:8}.vera-authenticated #view .toolbar>#export-filtered{order:10}.vera-authenticated #view .toolbar>.vera-filter-explanation{order:12}

/* Superfícies secundárias e detalhes usam os mesmos tokens da mesa principal. */
.vera-authenticated{--text:var(--ink);--vera-action:#4268ce}
.vera-authenticated .table-tools{gap:12px;align-items:end;padding:12px 0 16px;margin:6px 0 12px;border-bottom:1px solid var(--line)}
.vera-authenticated .table-tools label{color:var(--muted);font-size:11px;line-height:1.5;font-weight:400}
.vera-authenticated .table-tools input,.vera-authenticated .table-tools select{color:var(--ink);background:var(--vera-surface);border:1px solid var(--line);border-radius:6px;min-height:38px;font-size:12px;box-shadow:none}
.vera-authenticated input::placeholder,.vera-authenticated textarea::placeholder{color:var(--muted);opacity:1}
.vera-authenticated .table-tools button{background:transparent;color:var(--green);font-size:11px;font-weight:400;border:0;padding:9px 11px;min-height:38px}
.vera-authenticated .table-tools>span{font-size:11px;color:var(--muted);padding-bottom:10px}
.vera-authenticated #view>button:not(.secondary),.vera-authenticated #view form button:not([type=button]):not(.secondary){background:var(--vera-action);color:#fff;border:1px solid var(--vera-action)}
.vera-authenticated #view input[type=file]::file-selector-button,.vera-authenticated #detail input[type=file]::file-selector-button{background:var(--vera-soft);color:var(--ink);font:inherit;border:1px solid var(--line);border-radius:5px;padding:7px 10px;margin-right:9px;cursor:pointer}
.vera-authenticated #view details.contract-review{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:0}
.vera-authenticated #view details.contract-review>summary{padding:21px 18px;font-size:12px;line-height:1.65;color:var(--ink)}
.vera-authenticated #view details.contract-review[open]>summary{background:var(--vera-soft);font-weight:500}
.vera-authenticated #view section.contract-review{padding:22px;background:var(--vera-surface);border:0;border-radius:10px;margin:12px 0 20px}
.vera-authenticated #view .contract-review p{max-width:90ch;line-height:1.8;font-size:12px;color:var(--muted)}
.vera-authenticated #detail{background:var(--vera-surface)!important;color:var(--ink);width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 16px);height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:1px solid var(--line);border-radius:16px 0 0 16px;box-shadow:-24px 0 70px #0003;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.vera-authenticated #detail[open]{animation:vera-detail-enter .28s cubic-bezier(.16,1,.3,1)}
.vera-authenticated #detail::backdrop{background:#0b142d66;backdrop-filter:blur(3px)}
.vera-authenticated #detail .dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 28px;background:var(--vera-surface)!important;border-bottom:1px solid var(--line);backdrop-filter:none}
.vera-authenticated #detail-title{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:500;line-height:1.4;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.vera-authenticated #detail-title[data-initials]:not([data-initials=""]):before{content:attr(data-initials);display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:9px;background:var(--vera-soft);color:var(--green);font-size:12px;font-weight:500;letter-spacing:0}
.vera-authenticated #close-detail{flex-shrink:0;padding:9px 13px;min-height:36px;background:var(--vera-soft);color:var(--ink);border:1px solid var(--line);font-size:12px}
.vera-authenticated #detail-body{padding:22px 28px 40px;font-size:13px;line-height:1.75;background:var(--vera-surface);color:var(--ink)}
.vera-authenticated #detail-body h3,.vera-authenticated #detail-body h2{font-size:16px;font-weight:500;line-height:1.5;letter-spacing:-.02em;margin:30px 0 12px}
.vera-authenticated #detail-body p{line-height:1.8;max-width:90ch;overflow-wrap:anywhere}
.vera-authenticated #detail-body .hint,.vera-authenticated #detail-body small{color:var(--muted);font-size:11px;line-height:1.7}
.vera-authenticated #detail-body>button{background:var(--vera-soft);color:var(--ink);border:1px solid var(--line);padding:9px 12px;min-height:36px;margin:0 8px 12px 0;font-size:12px;font-weight:400}
.vera-authenticated #detail .table-wrap{background:transparent;border:0;border-radius:0;margin:10px 0 24px;overflow:auto}
.vera-authenticated #detail table{background:transparent;border-collapse:collapse;min-width:620px}
.vera-authenticated #detail th{background:transparent;color:var(--muted);font-size:10px;font-weight:500;padding:12px 10px;border:0;border-bottom:1px solid var(--line);line-height:1.6}
.vera-authenticated #detail td{font-size:12px;line-height:1.75;vertical-align:top;padding:14px 10px;background:transparent;border:0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.vera-authenticated #detail tbody tr:hover{background:var(--vera-soft)}
.vera-authenticated #detail .row-button{background:transparent;color:var(--green);padding:3px 0;border:0;text-align:left;font:inherit}
.vera-authenticated #detail .empty{background:var(--vera-soft);border:1px dashed var(--line);border-radius:10px;padding:25px 18px;color:var(--muted)}
.vera-authenticated #detail .empty strong{color:var(--ink);font-weight:500}
.vera-authenticated #detail input,.vera-authenticated #detail select,.vera-authenticated #detail textarea{background:var(--vera-surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;font:inherit;box-shadow:none}
.vera-authenticated #detail label{color:var(--ink)}
.vera-authenticated #detail .notice,.vera-authenticated #detail .warning{color:var(--ink);background:var(--vera-soft);border-color:var(--line)}
@keyframes vera-detail-enter{from{transform:translateX(30px);opacity:.6}to{transform:translateX(0);opacity:1}}
@media(max-width:650px){.vera-authenticated #detail{width:100vw;max-width:100vw;border-radius:0;border:0}.vera-authenticated #detail .dialog-header{padding:18px 16px}.vera-authenticated #detail-title{font-size:17px}.vera-authenticated #detail-body{padding:18px 16px 30px}.vera-authenticated .table-tools{align-items:stretch}.vera-authenticated .table-tools label{flex:1 1 180px;min-width:0}.vera-authenticated .table-tools input{min-width:0;width:100%}}
.vera-authenticated #results td button+button{margin-left:10px}
.vera-authenticated #detail .badge{display:inline-flex;gap:5px;align-items:center;color:#4d6284;background:#e8edf7;border:0;border-radius:4px;font-size:10px;font-weight:400;padding:5px 7px;line-height:1.5}
.vera-authenticated #detail .warning{color:#74551d;background:#f6edd9;border-color:#d6bf8e}
.vera-authenticated #detail .badge.critical{color:#8e3f50;background:#f8e8eb}
.vera-authenticated.theme-dark #detail .badge{color:#b6c7e0;background:#29394c}
.vera-authenticated.theme-dark #detail .warning{color:#e3c080;background:#493c26;border-color:#7d6640}
.vera-authenticated.theme-dark #detail .badge.critical{color:#edb9c3;background:#49313c}
