
/* Viabilidade v1 — estilos limitados ao módulo. */
.vf-app{--vf-ink:#172f3b;--vf-muted:#5b6e76;--vf-line:#dce4e5;--vf-accent:#087f8c;color:var(--vf-ink);background:#f6f8f7;border:1px solid var(--vf-line);border-radius:18px;font:14px/1.55 "Segoe UI",Arial,sans-serif;overflow:hidden;max-width:1600px;margin:auto;color-scheme:light}
.vf-app *{box-sizing:border-box}.vf-app button,.vf-app input,.vf-app select,.vf-app textarea{font:inherit}.vf-app button{background:white;color:var(--vf-ink);border:1px solid #cdd9dc;border-radius:8px;padding:9px 13px;cursor:pointer;line-height:1.4;box-shadow:none;white-space:normal}.vf-app button:hover{border-color:var(--vf-accent);background:#eff8f7}.vf-app button:disabled{opacity:.5;cursor:wait}.vf-app button:focus-visible,.vf-app input:focus-visible,.vf-app select:focus-visible,.vf-app textarea:focus-visible,.vf-app a:focus-visible{outline:3px solid #6cc4cd;outline-offset:3px}.vf-app [hidden]{display:none!important}
.vf-header{padding:30px 32px 24px;display:flex;justify-content:space-between;gap:16px;background:#173843;color:#fff}.vf-eyebrow{font-size:10px;letter-spacing:2px;color:#a3dad8;font-weight:700}.vf-header h1{color:inherit;font-size:29px;letter-spacing:-.7px;line-height:1.25;margin:9px 0 6px}.vf-header p{margin:0;color:#c4d7da}.vf-version{font-size:11px;border:1px solid #5a7d86;padding:5px 10px;height:fit-content;border-radius:20px;white-space:nowrap}.vf-session{padding:9px 32px;background:#e7f0ee;color:#395b60;font-size:12px}.vf-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:18px 24px 8px}.vf-notice{padding:0 24px 12px;min-height:12px;font-size:12px;color:#80521d}.vf-notice:empty{padding-bottom:2px}.vf-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:680px}.vf-nav{padding:12px 16px 24px;border-right:1px solid var(--vf-line)}.vf-nav>span{display:block;font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--vf-muted);margin:14px 8px 12px}.vf-nav button{display:flex;text-align:left;gap:10px;width:100%;margin:4px 0;background:transparent;border:1px solid transparent;padding:11px 10px;font-size:12px}.vf-nav button b{color:#7c9399;font-weight:500;font-size:11px}.vf-nav button[aria-current=page]{background:#dceeed;color:#075b65;border-color:#c2dfdc;font-weight:700}.vf-main{min-width:0;padding:24px 28px 32px}.vf-main:focus{outline:none}.vf-section-title{margin-bottom:24px}.vf-section-title h2{font-size:24px;line-height:1.3;letter-spacing:-.5px;margin:0 0 8px;color:var(--vf-ink)}.vf-section-title p{color:var(--vf-muted);margin:0;max-width:850px}.vf-app h3{color:var(--vf-ink);font-size:15px;margin:0 0 12px}.vf-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}.vf-app label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#294651;min-width:0}.vf-app input:not([type=checkbox]),.vf-app select,.vf-app textarea{display:block;width:100%;border:1px solid #c5d4d7;border-radius:8px;background:#fff;color:#173843;padding:11px 12px;min-height:43px;box-shadow:none}.vf-app input[type=checkbox]{accent-color:#087f8c;width:18px;height:18px}.vf-app small{font-size:11px;font-weight:400;color:var(--vf-muted);line-height:1.5}.vf-wide{grid-column:1/-1}.vf-check{justify-content:center;flex-direction:row!important;align-items:center}.vf-note{padding:15px 18px;background:#edf3f2;border-left:3px solid #8abfbb;border-radius:4px;font-size:12px;color:#426068;margin:22px 0 0}.vf-warning{padding:20px;background:#fff3e2;border:1px solid #e8cc9e;border-radius:10px;margin:18px 0;color:#67471d}.vf-warning h3{color:#67471d}.vf-warning ul{padding-left:18px}.vf-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.vf-card{background:#fff;padding:18px 16px;border:1px solid var(--vf-line);border-radius:12px;display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere}.vf-card>span{font-size:11px;color:var(--vf-muted);min-height:32px}.vf-card strong{font-size:23px;letter-spacing:-.6px;font-weight:650;line-height:1.25}.vf-decision{padding:19px 22px;border:1px solid #ddc496;background:#fff5e5;border-radius:12px}.vf-decision>span{font-size:10px;text-transform:uppercase;letter-spacing:1.2px}.vf-decision h3{font-size:21px;margin:5px 0}.vf-decision p{margin:0;font-size:13px}.vf-positive{background:#e6f3ec;border-color:#a2d0b4}.vf-negative,.vf-blocked{background:#fbece7;border-color:#dfb2a3}.vf-chart{background:white;border:1px solid var(--vf-line);border-radius:12px;padding:16px 8px 12px;margin:18px 0}.vf-chart svg{width:100%;display:block;overflow:visible}.vf-chart text{font:10px "Segoe UI",Arial,sans-serif;fill:#5b6e76}.vf-gridline{stroke:#e3eaeb;stroke-width:1}.vf-zero{stroke:#a3b6bd;stroke-width:1;stroke-dasharray:4 4}.vf-legend{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;font-size:11px}.vf-legend span{display:flex;align-items:center;gap:6px}.vf-legend i{width:16px;height:3px;display:inline-block}.vf-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.vf-box{padding:20px;border:1px solid var(--vf-line);background:white;border-radius:12px;margin:16px 0}.vf-two .vf-box{margin:0}.vf-box p{font-size:12px}.vf-box li{font-size:12px;margin:8px 0}.vf-box ul,.vf-box ol{padding-left:18px;margin-bottom:0}.vf-app summary{cursor:pointer;font-weight:600;font-size:13px}.vf-app a{color:#087386;text-decoration:underline}.vf-scroll{width:100%;overflow:auto;border:1px solid var(--vf-line);border-radius:9px;margin:18px 0;background:white;max-height:550px}.vf-app table{border-collapse:collapse;width:100%;font-size:11px;text-align:right;white-space:nowrap;margin:0;background:white;color:var(--vf-ink)}.vf-app th,.vf-app td{border-bottom:1px solid #e4ebed;padding:12px 14px}.vf-app th{background:#edf3f3;color:#3a5862;font-weight:600;position:sticky;top:0}.vf-app td:first-child,.vf-app th:first-child{text-align:left}.vf-app tr:last-child td{border-bottom:0}.vf-app td.vf-gain{background:#e5f2eb;color:#265d42}.vf-app td.vf-loss{background:#f9e9e2;color:#9a4830}.vf-evidence{display:grid;grid-template-columns:1fr 1fr;gap:16px}.vf-evidence section{padding:18px;border:1px solid var(--vf-line);background:white;border-radius:10px}.vf-evidence label+label{margin-top:12px}.vf-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.vf-actions label{min-width:150px}.vf-actions input,.vf-actions select{max-width:220px}.vf-app .vf-primary{background:#087f8c;color:white;border-color:#087f8c;min-height:43px}.vf-empty{border:1px dashed #b8cdcf;border-radius:12px;text-align:center;padding:45px 24px;color:var(--vf-muted);background:white}.vf-hist{height:200px;display:flex;align-items:end;gap:4px;background:white;padding:18px 20px 0;border:1px solid var(--vf-line);border-radius:12px 12px 0 0;margin-top:18px}.vf-hist>div{flex:1;background:#087f8c;border-radius:3px 3px 0 0;position:relative;min-width:0}.vf-hist span{position:absolute;top:4px;width:100%;text-align:center;color:#fff;font-size:9px;overflow:hidden}.vf-range{display:flex;justify-content:space-between;gap:12px;font-size:10px;background:white;border:1px solid var(--vf-line);border-top:0;border-radius:0 0 12px 12px;padding:12px}.vf-footer{padding:15px 24px;border-top:1px solid var(--vf-line);font-size:10px;color:var(--vf-muted)}
@media(min-width:1450px){.vf-card strong{font-size:27px}}@media(max-width:1100px){.vf-cards{grid-template-columns:1fr 1fr}.vf-layout{grid-template-columns:200px minmax(0,1fr)}.vf-main{padding:22px 20px}.vf-two{grid-template-columns:1fr}.vf-evidence{grid-template-columns:1fr}}@media(max-width:720px){.vf-header{padding:24px 20px}.vf-header h1{font-size:23px}.vf-version{display:none}.vf-session{padding:10px 20px}.vf-layout{display:block}.vf-nav{display:flex;overflow-x:auto;gap:6px;border-right:0;border-bottom:1px solid var(--vf-line);padding:10px 14px}.vf-nav>span{display:none}.vf-nav button{flex-shrink:0;width:auto;white-space:nowrap;margin:0}.vf-nav button b{display:none}.vf-fields{grid-template-columns:1fr}.vf-cards{grid-template-columns:1fr 1fr}.vf-card{padding:14px}.vf-card strong{font-size:20px}.vf-main{padding:22px 16px}.vf-toolbar{padding:16px 14px 8px}.vf-toolbar button{font-size:11px}.vf-notice{padding-left:16px;padding-right:16px}.vf-section-title h2{font-size:22px}.vf-range{flex-wrap:wrap}.vf-section-title p{font-size:12px}.vf-app{border-radius:10px}.vf-chart{padding-left:0;padding-right:0}}
@media print{.vf-nav,.vf-toolbar,.vf-actions{display:none}.vf-layout{display:block}.vf-app{border:0}.vf-card,.vf-box,.vf-chart{break-inside:avoid}.vf-scroll{max-height:none;overflow:visible}.vf-main{padding:10px}.vf-header{background:white;color:#173843}.vf-header p{color:#395b60}}


/* Viabilidade v2: salvamento e revisões. */
.vf-cloud{margin:8px 24px 18px;padding:18px;border:1px solid #b9d6d2;border-radius:12px;background:#edf5f3}.vf-cloud>div:first-child{font-size:12px}.vf-cloud>div:first-child small{display:block;margin:4px 0 16px}.vf-cloud-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.vf-cloud-controls label{flex:1;min-width:220px;max-width:480px}.vf-cloud-controls button{min-height:43px;font-size:12px}.vf-cloud>p{font-size:11px;color:#526c72;margin:12px 0 0}.vf-cloud-browser{border-top:1px solid #cddfdd;margin-top:20px;padding-top:12px}.vf-cloud-browser .vf-actions{margin:8px 0}.vf-cloud-browser h3{margin:0;flex:1}.vf-cloud-browser form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.vf-cloud-browser form>label:first-child{flex:1;min-width:180px}.vf-cloud-browser .vf-scroll{max-height:370px}.vf-cloud .vf-warning{margin-bottom:0}.vf-cloud button:disabled{cursor:default}@media(max-width:720px){.vf-cloud{margin:8px 14px 16px;padding:14px}.vf-cloud-controls{display:grid;grid-template-columns:1fr 1fr}.vf-cloud-controls label{grid-column:1/-1;min-width:0}.vf-cloud-controls button{font-size:11px}}@media print{.vf-cloud{display:none}}

