:root{color-scheme:dark;--bg:#071021;--panel:#101d32;--panel2:#14243d;--line:#263956;--text:#e8f1ff;--muted:#90a4c3;--blue:#58b8fa;--gold:#f0c06b;--green:#57d6ad;--red:#f68da0;--orange:#f5a867}*{box-sizing:border-box}html{font-size:15px}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 85% -20%,#163f65 0,transparent 48%),radial-gradient(ellipse at 5% 5%,#0e2a44 0,transparent 40%),var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;color:var(--text);line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.sitewrap{max-width:1510px;margin:auto;padding:24px 32px 40px}.topbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:25px;border-bottom:1px solid #263950}.brand{display:flex;gap:16px;align-items:center}.brand img{height:64px;width:64px;object-fit:contain;filter:drop-shadow(0 0 10px #2c94ef35)}h1,h2,h3,p{margin:0}h1{font-size:1.45rem;line-height:1.22;font-weight:650;letter-spacing:.05em}h1 b{color:var(--gold);font-weight:650}.eyebrow{font-size:.67rem;letter-spacing:.17em;color:var(--muted);font-weight:750}.eyebrow.gold{color:var(--gold)}.ghost,.buttonlike{padding:10px 15px;border:1px solid var(--line);border-radius:9px;background:#18263c80;color:var(--muted);font-size:.82rem;display:inline-flex;gap:8px;align-items:center;justify-content:center}.ghost:hover,.buttonlike:hover{border-color:var(--blue);color:white}.hero{min-height:190px;margin:26px 0 20px;padding:32px 34px;border:1px solid #304765;border-radius:16px;background:linear-gradient(105deg,#132b48ea,#091426ed 55%,#193657be),radial-gradient(ellipse at right,#235a83,transparent);display:flex;align-items:center;justify-content:space-between;gap:32px;position:relative;overflow:hidden}.hero::after{content:'♛';position:absolute;right:17%;top:-74px;font-size:240px;line-height:1;color:#75bae90c;pointer-events:none}.hero h2{font-size:2rem;letter-spacing:-.025em;margin:6px 0 7px}.hero p{color:#a9bad4;font-size:.94rem;max-width:680px}.hero-side{border:1px solid #37614f;border-radius:8px;padding:14px 20px;color:#a2e3c9;background:#102b2a98;font-size:.71rem;letter-spacing:.08em;white-space:nowrap;position:relative;z-index:1}.hero-side small{display:block;color:#9dbaa9;font-size:.74rem;margin-top:5px;letter-spacing:0}.signal-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#64e2a1;box-shadow:0 0 12px #64e2a1;margin-right:7px}.filters{display:grid;grid-template-columns:repeat(7,minmax(105px,1fr)) auto;gap:11px;padding:17px;border:1px solid var(--line);border-radius:12px;background:#101d31}.filters>div{min-width:0}.filters label,.login-form label{display:block;color:#acb9cd;font-weight:600;font-size:.69rem;letter-spacing:.035em;margin:0 0 5px}.filters input,.filters select,.login-form input{background:#0b1627;color:#e8effb;border:1px solid #304260;border-radius:7px;padding:9px 10px;width:100%;min-width:0;outline:none;height:39px}.filters input:focus,.filters select:focus,.login-form input:focus{border-color:#58b8fa;box-shadow:0 0 0 2px #2d8ed725}.filter-actions{display:flex;gap:6px;align-items:end}.primary{background:#cf9d46;color:#101a29;border:1px solid #e7b760;border-radius:7px;padding:9px 14px;font-weight:800;font-size:.8rem;height:39px}.primary:hover{background:#edc77e}.section-label{display:flex;justify-content:space-between;color:#839bb8;font-size:.73rem;font-weight:750;letter-spacing:.12em;margin:30px 1px 13px}.section-label span:last-child{font-weight:500;letter-spacing:0}.kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.kpi{min-height:130px;border:1px solid #263c58;border-radius:11px;padding:16px 17px;background:linear-gradient(145deg,#14253c,#0e1b2f);transition:transform .15s,border-color .15s}.kpi:hover{transform:translateY(-2px);border-color:#6084a9}.kpi-label{color:var(--muted);display:flex;justify-content:space-between;font-size:.77rem;font-weight:650}.kpi-label span{opacity:.6}.kpi-value{font-size:2rem;line-height:1.3;margin:7px 0 2px;letter-spacing:-.035em;font-weight:760;font-variant-numeric:tabular-nums}.kpi small{font-size:.7rem;color:#7d92b0}.kpi.green .kpi-value{color:var(--green)}.kpi.red .kpi-value{color:var(--red)}.kpi.gold .kpi-value{color:var(--gold)}.kpi.orange .kpi-value{color:var(--orange)}.kpi.muted .kpi-value{color:#bbc7dd}.grid-content{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr);gap:16px;margin-top:20px}.panel{border:1px solid #273d59;border-radius:12px;background:linear-gradient(145deg,#12223a,#0d1b2f);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:24px 23px 20px}.panel-head h3,.explainer h3{font-size:1.13rem;font-weight:680;margin:5px 0 0}.panel-head small{font-size:.74rem;color:var(--muted)}.tablewrap{overflow-x:auto}.panel table{width:100%;border-collapse:collapse;text-align:left;font-size:.84rem;white-space:nowrap}.panel th{background:#0b192b;color:#91a6c4;text-transform:uppercase;letter-spacing:.05em;font-size:.68rem;font-weight:740;padding:13px 14px}.panel td{padding:12px 14px;color:#ccd8e7;border-bottom:1px solid #20334d}.panel tr:last-child td{border-bottom:0}.panel tr:hover td{background:#162c48}.panel th:first-child,.panel td:first-child{padding-left:23px}.asset{color:#e6effb;font-weight:760}.asset:hover{color:var(--blue)}.red-text{color:var(--red)!important}.green-text{color:var(--green)!important}.explainer{padding:24px 25px}.explainer h3{margin:8px 0 21px}.explainer p{font-size:.82rem;color:#abc0d8;margin:0 0 15px;line-height:1.65}.explainer b{color:#f4d9a6}.explainer .note{border-top:1px solid var(--line);padding-top:18px;color:#849dbd;font-size:.75rem}.recent{margin-top:19px}.secondary-link{font-weight:700;font-size:.78rem;color:#69b9ee}.secondary-link:hover{text-decoration:underline}.cell-note{display:block;color:#7691ad;font-size:.68rem;margin-top:3px}.status{padding:5px 8px;border-radius:5px;background:#1c2d49;font-size:.7rem;font-weight:720;letter-spacing:.01em}.status.stop,.status.ambiguo{background:#5a293d6e;color:#ff9aaf}.status.tp5{background:#1f58475c;color:#76e1b4}.status.pendente{color:#77bdee}.status.expirado{color:#c6af89}.status.sem_fonte,.status.sem_plano,.status.dados_incompletos{color:#bbb8c3}.tp{color:#5ee0b6;font-weight:800}.nowrap{white-space:nowrap}.empty{text-align:center;padding:48px 16px!important;color:var(--muted)!important}.pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 22px;color:#8496ad;font-size:.78rem}.pagination>div{display:flex;gap:10px;align-items:center}footer{padding:30px 4px 0;color:#7390ad;font-size:.77rem;display:flex;justify-content:space-between;gap:10px}footer span{color:#607c97}.login-layout{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:20px}.login-panel{width:min(445px,100%);border:1px solid #315276;border-radius:17px;padding:38px;background:linear-gradient(135deg,#142943f7,#08162aec);box-shadow:0 25px 65px #0005}.login-panel>.muted{margin:25px 0;color:var(--muted)}.login-form{display:grid;gap:19px}.login-form input{height:45px;margin-top:8px}.login-form .primary{height:44px}.small{font-size:.75rem}.muted{color:var(--muted)}.login-panel>p.small{margin-top:24px}.error{background:#541e2d;color:#f9b3bd;padding:13px;border-radius:7px;margin-bottom:20px}@media(max-width:1200px){.filters{grid-template-columns:repeat(4,minmax(120px,1fr))}.kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:950px){.grid-content{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-side{display:none}}@media(max-width:600px){.sitewrap{padding:15px}.topbar .brand img{height:47px;width:47px}.brand{gap:9px}h1{font-size:1.05rem}.eyebrow{font-size:.54rem}.hero{padding:25px 19px;min-height:150px}.hero h2{font-size:1.45rem}.filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.filter-actions{grid-column:span 2;justify-content:space-between}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{min-height:108px;padding:14px}.panel-head{padding:17px}.pagination,footer{flex-direction:column;align-items:flex-start}.panel th:first-child,.panel td:first-child{padding-left:12px}.login-panel{padding:28px 19px}}

/* V1.4: subtipos do STOP no painel, sem trocar estilos globais. */
.status.stop_original{color:#ffa2b1;background:#5a293d6e}.status.stop_breakeven{color:#85c4fb;background:#1d3a565c}.status.stop_protegido{color:#7be5b3;background:#20574275}
/* TRÍADE PERFORMANCE v1.5 — filtros rápidos, acerto, parcial realizado e rosca sem JS externo. */
.period-quick{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:18px 1px 0;font-size:.76rem;color:#a7b9d2}
.period-quick>span:first-child{font-weight:800;font-size:.67rem;letter-spacing:.11em;margin-right:3px}
.period-chip{border:1px solid #35516e;border-radius:999px;color:#afc7df;padding:8px 15px;background:#13253c;white-space:nowrap}
.period-chip:hover,.period-chip.is-active{border-color:#d9aa59;color:#fbe3b4;background:#382d1c}
.period-note{color:#839db7}
.perf15-summary{margin-bottom:20px}
.perf15-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.perf15-card{display:flex;flex-direction:column;gap:6px;border:1px solid #294560;background:linear-gradient(140deg,#172c45,#102035);border-radius:12px;padding:20px 22px;min-height:146px}
.perf15-card span{color:#adc1d9;font-size:.7rem;letter-spacing:.09em;font-weight:750}
.perf15-card strong{color:#e3edf9;font-size:2.25rem;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums}
.perf15-card small{color:#90a7c2;font-size:.76rem;line-height:1.4}
.perf15-card.good strong{color:#57d8ac}.perf15-card.bad strong{color:#ff8799}
.perf15-guidance{font-size:.79rem;line-height:1.6;color:#adc1dc;margin:13px 2px 17px}
.perf15-guidance b,.perf15-text b{color:#e9c17b}
.perf15-analysis{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px}
.perf15-donut-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(250px,1.5fr);gap:15px;align-items:center;padding:0 20px 24px}
.perf15-donut{max-height:260px;width:100%;height:auto}
.donut-base{stroke:#22354e}.perf15-slice{stroke-linecap:butt}
.perf15-slice.donut-loss{stroke:#fa7e96}.perf15-slice.donut-entry{stroke:#6dc0ef}.perf15-slice.donut-protected{stroke:#4cd3a6}
.perf15-slice.donut-tp5{stroke:#e6b665}.perf15-slice.donut-pending{stroke:#6686c4}.perf15-slice.donut-expired{stroke:#9d8a68}
.perf15-slice.donut-ambiguous{stroke:#bd8edd}.perf15-slice.donut-nodata{stroke:#667588}
.donut-total{font-size:52px;font-weight:800;fill:#f0f5ff}.donut-caption{font-size:17px;fill:#91a6c4}
.perf15-legend{display:grid;gap:7px;font-size:.75rem}.perf15-legend>div{display:grid;grid-template-columns:11px minmax(0,1fr) auto 51px;align-items:center;gap:9px;color:#b5c8df}
.perf15-legend i{display:block;width:9px;height:9px;border-radius:99px}.perf15-legend i.donut-loss{background:#fa7e96}.perf15-legend i.donut-entry{background:#6dc0ef}.perf15-legend i.donut-protected{background:#4cd3a6}
.perf15-legend i.donut-tp5{background:#e6b665}.perf15-legend i.donut-pending{background:#6686c4}.perf15-legend i.donut-expired{background:#9d8a68}
.perf15-legend i.donut-ambiguous{background:#bd8edd}.perf15-legend i.donut-nodata{background:#667588}
.perf15-legend b{color:#eef4ff}.perf15-legend small{text-align:right;color:#8a9db5;font-variant-numeric:tabular-nums}
.perf15-text{font-size:.8rem;color:#a8bdd7;line-height:1.6;padding:18px 22px 22px}
.perf15-motors{margin:20px 0}
@media(max-width:1050px){.perf15-analysis{grid-template-columns:1fr}.perf15-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.perf15-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.perf15-donut-layout{grid-template-columns:1fr}.perf15-donut{max-height:210px}.perf15-card{padding:15px 14px;min-height:125px}.perf15-card strong{font-size:1.65rem}.period-note{width:100%}}
.perf15-tranches{position:relative}.perf15-tranches>summary{color:#7fc1ed;cursor:pointer;font-size:.77rem;white-space:nowrap;list-style:none}
.perf15-tranches>summary::-webkit-details-marker{display:none}.perf15-tranches[open]>summary{color:#e7bf78}
.tranches-details{background:#122a44;border:1px solid #45617c;border-radius:9px;min-width:240px;max-width:340px;padding:14px;white-space:normal;margin-top:10px;font-size:.75rem;color:#cad8ea}
.tranches-details>b{color:#e9c17b}.tranches-details p{line-height:1.5;margin:10px 0;border-bottom:1px solid #2d425e;padding-bottom:7px}
.tranches-details small{color:#9db4cf}


/* TRÍADE PERFORMANCE 1.6 — simulador isolado, adaptativo, sem JS ou acesso externo */
.perf16-simulator{background:linear-gradient(135deg,#162f47,#111d32 75%);border:1px solid #355877;border-radius:15px;padding:25px;margin:25px 0 30px}
.perf16-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.perf16-title h2{font-size:1.42rem;letter-spacing:-.02em;margin:7px 0}
.perf16-title p{color:#afc2d9;line-height:1.55;font-size:.83rem;max-width:780px}
.perf16-title p b,.perf16-explanation b{color:#e9c17b}
.perf16-readonly{white-space:nowrap;border:1px solid #5a694d;border-radius:7px;padding:8px 10px;color:#bfd5b0;background:#253b2e;font-size:.64rem;font-weight:800}
.perf16-form{display:grid;grid-template-columns:repeat(3,minmax(145px,1fr)) minmax(140px,.75fr);gap:11px;align-items:end;margin:18px 0 16px}
.perf16-form label{font-size:.76rem;font-weight:750;color:#bfd0e4}
.perf16-form input{display:block;border:1px solid #41617f;border-radius:8px;background:#0c1a2e;color:#edf5ff;padding:11px 12px;margin:7px 0 0;width:100%;height:42px;font-size:1rem;font-weight:750;font-variant-numeric:tabular-nums}
.perf16-form label small{font-size:.65rem;display:block;margin-top:6px;color:#869eb8}
.perf16-form button{height:42px}
.perf16-explanation{color:#9fb5cc;font-size:.78rem;line-height:1.55;margin-bottom:15px}
.perf16-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.perf16-card{background:#0d2037;border:1px solid #2b4565;border-radius:10px;min-height:122px;padding:16px;display:flex;flex-direction:column;gap:5px}
.perf16-card span{font-size:.67rem;color:#a8bdd6;font-weight:780;letter-spacing:.05em}
.perf16-card strong{font-size:1.67rem;font-weight:780;color:#edf5ff;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.perf16-card small{font-size:.68rem;color:#92a9c3;line-height:1.4}
.perf16-card.good strong{color:#56d9a9}.perf16-card.bad strong{color:#fd8297}
.perf16-table{margin-top:20px}.perf16-table h3{font-size:.96rem;margin:0 0 9px}
.perf16-table table{width:100%;border-collapse:collapse;font-size:.78rem;white-space:nowrap}
.perf16-table th,.perf16-table td{text-align:left;padding:12px;border-bottom:1px solid #29445d}
.perf16-table th{font-size:.67rem;color:#a5bad5;background:#0b1b2e;text-transform:uppercase;letter-spacing:.05em}
.perf16-table td{color:#d6e0ed}
.perf16-warning{background:#49331d;border:1px solid #a97b49;border-radius:8px;color:#f4d09e;padding:12px 14px;font-size:.75rem;margin:13px 0}
.perf16-caveat{font-size:.74rem;color:#98aec9;line-height:1.65;margin:18px 0 0;border-top:1px solid #314861;padding-top:14px}
@media(max-width:1120px){.perf16-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.perf16-form{grid-template-columns:repeat(2,minmax(0,1fr))}.perf16-title{flex-wrap:wrap}}
@media(max-width:580px){.perf16-simulator{padding:16px}.perf16-form{grid-template-columns:1fr}.perf16-cards{grid-template-columns:1fr 1fr}.perf16-card{padding:12px;min-height:114px}.perf16-card strong{font-size:1.38rem}}

/* TRIADE PERFORMANCE v1.7 - links de exportacao sem scripts externos */
.perf17-export-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end;margin:14px 0 18px;padding:15px 18px;background:linear-gradient(100deg,#142b43,#1d405b);border:1px solid #3d5870;border-radius:13px;color:#f0f4fa}
.perf17-export-bar>div{margin-right:auto;display:flex;flex-direction:column;gap:4px}
.perf17-export-bar strong{font-size:.82rem;letter-spacing:.09em;color:#e3be71}
.perf17-export-bar small{font-size:.78rem;color:#d1dfeb;line-height:1.35}
.perf17-pdf-button,.perf17-csv-button{padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;text-decoration:none;font-weight:750;font-size:.85rem;white-space:nowrap}
.perf17-pdf-button{color:#172c42;background:#e7be70;border:1px solid #e7be70}
.perf17-csv-button{color:#e0ecfa;border:1px solid #87a4be;background:rgba(255,255,255,.06)}
.perf17-pdf-button:hover{background:#f4d898;color:#13283d}
.perf17-csv-button:hover{background:rgba(255,255,255,.18)}
.perf17-recent-export{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
@media(max-width:700px){.perf17-export-bar{align-items:stretch;justify-content:stretch}.perf17-export-bar>div{width:100%}.perf17-pdf-button,.perf17-csv-button{flex:1;text-align:center}}


/* Tríade Performance v1.8 — simulador compacto e recolhível, CSS nativo, sem JavaScript. */
.perf18-accordion{margin:14px 0 23px;border:1px solid #304b64;border-radius:13px;background:#102339;overflow:hidden;box-shadow:0 7px 20px rgba(0,0,0,.08)}
.perf18-accordion[open]{border-color:#41627f;background:linear-gradient(160deg,#162e47 0,#101f33 85%)}
.perf18-trigger{display:flex;align-items:center;gap:14px;cursor:pointer;padding:13px 19px;list-style:none;min-height:72px;user-select:none;transition:background .15s ease}
.perf18-trigger::-webkit-details-marker{display:none}
.perf18-trigger:hover{background:rgba(255,255,255,.04)}
.perf18-trigger:focus-visible{outline:2px solid #e9c070;outline-offset:-3px}
.perf18-mark{display:grid;place-items:center;background:#263d51;border:1px solid #46637b;color:#eac580;width:38px;height:38px;flex:0 0 38px;border-radius:9px;font-size:1.5rem;line-height:1}
.perf18-trigger-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.perf18-trigger-copy strong{font-size:1rem;color:#eaf3ff;font-weight:800}
.perf18-trigger-copy small{font-size:.75rem;color:#9eb4cb;line-height:1.25}
.perf18-current{font-size:.75rem;color:#b4c9df;white-space:nowrap;padding:7px 11px;border:1px solid #3b5269;border-radius:99px;background:#132b43;font-variant-numeric:tabular-nums}
.perf18-open-text{font-size:.77rem;color:#eac580;display:flex;align-items:center;gap:9px;white-space:nowrap;font-weight:750}
.perf18-chevron{display:inline-grid;place-items:center;font-size:1.45rem;width:24px;height:24px;line-height:1;transition:transform .18s ease}
.perf18-accordion[open] .perf18-chevron{transform:rotate(180deg)}
.perf18-label-open{display:none}.perf18-accordion[open] .perf18-label-open{display:inline}.perf18-accordion[open] .perf18-label-closed{display:none}
.perf18-content{border-top:1px solid #324d66;padding:18px 22px 20px}
.perf18-content-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.perf18-content-head p{margin:0;font-size:.82rem;line-height:1.55;color:#b7cade;max-width:800px}
.perf18-content-head strong{color:#e8c586}
.perf18-not-trading{white-space:nowrap;font-size:.65rem;text-transform:uppercase;color:#a0cbb1;letter-spacing:.06em;background:#193b30;border:1px solid #3b6751;border-radius:7px;padding:7px 10px}
.perf18-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(150px,1fr) minmax(170px,.65fr);align-items:end;gap:13px;max-width:940px}
.perf18-form label{font-size:.75rem;color:#b8cee3;font-weight:750}
.perf18-form input{display:block;margin-top:5px;width:100%;height:39px;padding:8px 11px;border:1px solid #47617a;border-radius:8px;background:#0b1a2c;color:#f0f6ff;font-weight:750;font-size:.96rem;font-variant-numeric:tabular-nums}
.perf18-form .primary{height:39px;font-size:.82rem;border-radius:8px}
.perf18-assumption{font-size:.75rem;color:#94aec7;margin:10px 0 18px}
.perf18-assumption strong{color:#e8c586}
.perf18-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.perf18-kpi{display:flex;flex-direction:column;gap:5px;padding:13px 14px;border:1px solid #29455d;background:#0e2035;border-radius:9px;min-height:96px}
.perf18-kpi span{font-size:.64rem;font-weight:780;letter-spacing:.055em;color:#a4bad0}
.perf18-kpi strong{font-size:1.48rem;line-height:1.1;font-weight:790;color:#f1f5fb;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.perf18-kpi small{font-size:.69rem;color:#8ea8c0;line-height:1.34}
.perf18-kpi.good strong{color:#56d8a9}.perf18-kpi.bad strong{color:#f58a9d}
.perf18-content .perf16-table{margin-top:19px}
.perf18-content .perf16-caveat{margin-top:16px}
@media(max-width:1100px){.perf18-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.perf18-current{display:none}.perf18-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.perf18-form{grid-template-columns:1fr 1fr}.perf18-form button{grid-column:1/-1}}
@media(max-width:600px){.perf18-trigger{padding:11px 13px;gap:10px}.perf18-mark{height:33px;width:33px;flex-basis:33px}.perf18-trigger-copy small{font-size:.68rem}.perf18-label-closed,.perf18-label-open{display:none!important}.perf18-content{padding:15px}.perf18-content-head{align-items:flex-start;flex-direction:column;gap:8px}.perf18-form{grid-template-columns:1fr}.perf18-form button{grid-column:auto}.perf18-kpi{padding:10px 11px;min-height:92px}.perf18-kpi strong{font-size:1.27rem}.perf18-kpi small{font-size:.64rem}}


/* TRIADE PERFORMANCE v1.9 - filtro direcional e escolha de nivel de detalhamento */
.perf19-export-bar{gap:14px}
.perf19-export-copy{flex:1 1 210px}
.perf19-report-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.perf19-report-form label{display:block;width:100%;font-size:.71rem;color:#c5d7eb;letter-spacing:.025em;font-weight:700}
.perf19-report-form select{min-width:210px;height:43px;border-radius:9px;padding:8px 12px;background:#0c1d31;color:#e9f3fe;border:1px solid #7490aa;font-size:.82rem;font-weight:700;cursor:pointer}
.perf19-report-form .perf17-pdf-button{height:43px;cursor:pointer;font-family:inherit}
.perf19-export-bar .perf17-csv-button{height:43px}
.perf19-report-form select:focus-visible,.perf19-report-form button:focus-visible{outline:2px solid #edc479;outline-offset:2px}
@media (max-width:740px){.perf19-report-form{width:100%}.perf19-report-form select{flex:1 1 180px;min-width:0}.perf19-report-form button{flex:1 1 142px}.perf19-export-bar .perf17-csv-button{width:100%}}

/* v1.9 — situação independente dos filtros de direção e de resultado */
.filters select:focus-visible{outline:2px solid #edc479;outline-offset:2px}


/* v2.0: contas limitadas, painel compacto, cenarios de parciais */
.perf20-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.perf20-users-page{max-width:1190px;margin:42px auto 70px;padding:0 25px;color:#e8f3ff}
.perf20-users-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.perf20-users-top h1{font-size:2rem;margin:8px 0;color:#f2f7fc}
.perf20-users-top p{color:#9db8d3;max-width:700px;line-height:1.5}
.perf20-access-card{border:1px solid #35536b;background:linear-gradient(130deg,#102b42,#0a192a);border-radius:16px;padding:22px 24px;margin-top:20px}
.perf20-access-card h2{font-size:1.15rem;margin:0 0 8px}.perf20-access-card p{font-size:.85rem;color:#aabfd5}
.perf20-create-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;margin-top:16px}
.perf20-create-form label,.perf20-user-actions label{font-size:.8rem;color:#c8daec;font-weight:650}
.perf20-create-form input:not([type=checkbox]),.perf20-user-actions input:not([type=checkbox]){display:block;width:100%;padding:10px;margin-top:6px;color:#e7f3ff;background:#0a1828;border:1px solid #58718b;border-radius:8px;min-height:42px}
.perf20-create-form .primary{min-height:42px;cursor:pointer}
.perf20-check{display:flex!important;align-items:center;gap:7px;line-height:1.4}.perf20-check input{width:18px;height:18px;accent-color:#d9ae5d}
.perf20-users-list{display:grid;gap:12px;margin-top:17px}.perf20-user-row{background:#0b1f31;border:1px solid #35536b;border-radius:10px;padding:17px}
.perf20-user-heading{display:flex;justify-content:space-between;align-items:start;gap:18px}
.perf20-user-heading strong{font-size:1rem}.perf20-user-heading small{display:block;margin-top:8px;color:#b7cde0;font-weight:400}
.perf20-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}
.perf20-user-actions form{display:flex;flex-wrap:wrap;align-items:end;gap:9px;border-top:1px solid #2d465f;padding-top:11px}
.perf20-user-actions button{cursor:pointer;min-height:36px}
.perf20-danger{border:1px solid #9d5155;background:#63252d;color:#fff;border-radius:9px;padding:8px 15px;font-weight:700}
.perf20-success{padding:13px;background:#173e33;border:1px solid #398064;color:#d5f9e8;border-radius:10px}
.perf20-weights{grid-column:1/-1;margin:0;border:1px solid #34556e;border-radius:11px;padding:12px;min-width:0}
.perf20-weights legend{padding:0 8px;font-weight:800;color:#e6c275;font-size:.85rem}
.perf20-weight-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.perf20-weights small{display:block;color:#9fb7d1;margin-top:9px;line-height:1.5}
.perf20-create-form input:focus-visible,.perf20-user-actions input:focus-visible,.perf20-weights input:focus-visible{outline:2px solid #e8bc6b;outline-offset:2px}
@media(max-width:850px){.perf20-create-form{grid-template-columns:1fr 1fr}.perf20-user-actions{grid-template-columns:1fr}}
@media(max-width:620px){.perf20-users-page{padding:0 13px;margin-top:20px}.perf20-users-top{align-items:start;flex-direction:column}.perf20-create-form{grid-template-columns:1fr}.perf20-weight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.perf20-top-actions{gap:4px}.perf20-access-card{padding:16px}}

/* v2.1 consolidated financial reading */
.perf21-financial{margin:18px 0 22px;padding:20px;border:1px solid rgba(107,160,190,.35);border-radius:15px;background:linear-gradient(135deg,rgba(17,44,70,.72),rgba(8,26,47,.92))}
.perf21-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.perf21-heading h3{font-size:1.16rem;margin:5px 0}.perf21-heading small{color:#9ab3ce}
.perf21-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.perf21-card{border:1px solid #31516e;background:#0b2037;padding:17px;border-radius:11px;min-width:0}
.perf21-card>span{display:block;color:#b0c3d7;font-size:.68rem;font-weight:800;letter-spacing:.075em;line-height:1.4;min-height:29px}
.perf21-card>strong{display:block;font-size:clamp(1.2rem,2.5vw,1.85rem);margin:7px 0;overflow-wrap:anywhere;color:#e6effb}
.perf21-card.good>strong{color:#55d1ac}.perf21-card.bad>strong{color:#ff8294}.perf21-card>small{color:#a3bad1;line-height:1.45;display:block}
.perf21-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0 0}.perf21-toolbar p{flex:1;margin:0;color:#b0c6df;font-size:.78rem;line-height:1.6}
.perf21-refresh{color:#0b253c;background:#dfb45e;text-decoration:none;display:inline-block;padding:10px 15px;border-radius:9px;font-weight:800;font-size:.78rem;white-space:nowrap}.perf21-refresh:hover{background:#f4ce7c}
.perf21-warning{border-left:3px solid #dbab56;padding:10px 12px;background:rgba(231,167,70,.08);color:#c4d1e1;font-size:.76rem;line-height:1.55;margin:14px 0 0}.perf21-motors{margin-top:24px}
@media(max-width:960px){.perf21-grid{grid-template-columns:1fr}.perf21-card>span{min-height:0}.perf21-heading{align-items:flex-start}}


/* TRÍADE PERFORMANCE v2.4 — filtros compactos desktop e adaptação mobile */
@media (min-width:1280px){
 .filters.perf24-filters{display:grid;grid-template-columns:minmax(132px,1.1fr) minmax(132px,1.1fr) minmax(100px,.9fr) minmax(100px,.95fr) minmax(66px,.58fr) minmax(97px,.85fr) minmax(105px,.94fr) minmax(116px,1fr) minmax(105px,.95fr) minmax(120px,1.02fr);align-items:end;gap:7px;padding:12px 14px}
 .filters.perf24-filters label{font-size:.64rem;line-height:1.2;min-height:15px;letter-spacing:0;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .filters.perf24-filters input,.filters.perf24-filters select{font-size:.78rem;padding:7px 8px;height:38px;min-width:0;max-width:100%;border-radius:8px}
 .filters.perf24-filters input[type=date]{padding-inline:5px;font-size:.76rem}
 .filters.perf24-filters .filter-actions{gap:5px;white-space:nowrap;align-self:end;min-width:0}
 .filters.perf24-filters .filter-actions>*{height:38px;min-width:0}
 .filters.perf24-filters .perf24-submit{padding:7px 10px;font-size:.77rem;box-shadow:0 3px 9px #0002}
 .filters.perf24-filters .perf24-clear{padding:7px 8px;font-size:.72rem}
}
.perf24-filters .perf24-submit{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:9px;background:linear-gradient(125deg,#e8b75a,#c88d35);border:1px solid #f3c978;box-shadow:0 4px 12px #0003;transition:filter .15s ease,transform .15s ease}
.perf24-filters .perf24-submit span{font-size:1.22rem;line-height:1;font-weight:700}
.perf24-filters .perf24-submit:hover{filter:brightness(1.11);transform:translateY(-1px)}
.perf24-filters .perf24-clear{border-radius:9px;background:#152a40;border-color:#38516c;color:#cedcf0}
.perf24-filters input,.perf24-filters select{box-sizing:border-box;max-width:100%;min-width:0}
@media (min-width:701px) and (max-width:1279px){
 .filters.perf24-filters{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:14px}
 .filters.perf24-filters .filter-actions{grid-column:span 1;display:flex;align-items:end;gap:5px}
 .filters.perf24-filters .filter-actions>*{flex:1 1 0;padding-inline:6px;font-size:.72rem}
}
@media (max-width:700px){
 .sitewrap{padding:12px 12px 28px}
 .topbar{align-items:flex-start;gap:8px;padding-bottom:16px}
 .brand{min-width:0;gap:8px}.brand h1{font-size:1rem}.brand .eyebrow{font-size:.52rem;letter-spacing:.1em}
 .topbar .brand img{height:43px;width:43px}
 .perf20-top-actions{justify-content:flex-end;gap:6px;flex:0 0 auto;max-width:52%}
 .perf20-top-actions .ghost{padding:7px 9px;font-size:.68rem;min-height:35px}
 .hero{margin:17px 0 15px;padding:19px;min-height:0}.hero h2{font-size:1.35rem}.hero p{font-size:.8rem}
 .filters.perf24-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;border-radius:13px}
 .filters.perf24-filters .filter-date{grid-column:span 2;min-width:0}
 .filters.perf24-filters label{font-size:.7rem;line-height:1.2;margin-bottom:5px}
 .filters.perf24-filters input,.filters.perf24-filters select{display:block;width:100%;min-width:0;max-width:100%;height:43px;padding:9px 10px;border-radius:9px;font-size:16px;line-height:1.15}
 .filters.perf24-filters input[type=date]{min-inline-size:0;width:100%;-webkit-appearance:none;appearance:auto;font-size:16px}
 .filters.perf24-filters .filter-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.45fr);gap:8px;align-items:stretch;margin-top:3px}
 .filters.perf24-filters .filter-actions>*{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center}
 .filters.perf24-filters .perf24-submit{font-size:.93rem}
 .filters.perf24-filters .perf24-clear{font-size:.86rem}
}
@media (max-width:380px){
 .filters.perf24-filters .filter-asset,.filters.perf24-filters .filter-direction,.filters.perf24-filters .filter-status,.filters.perf24-filters .filter-result{grid-column:span 2}
 .perf20-top-actions{max-width:55%}.perf20-top-actions .ghost{font-size:.63rem;padding:6px}
}

/* v2.5: transparência nas marcações incompletas, sem presumir cotação */
.perf25-quote-audit{margin:12px 0 15px;border:1px solid #47637d;background:#12273e;border-radius:10px;padding:12px 15px;color:#c7d8e9;font-size:.79rem}
.perf25-quote-audit summary{cursor:pointer;font-weight:750;color:#e9c17b}
.perf25-quote-audit p{line-height:1.5}
.perf25-quote-audit table{width:100%;border-collapse:collapse;font-size:.76rem;min-width:500px}
.perf25-quote-audit th,.perf25-quote-audit td{border-bottom:1px solid #2a445f;padding:9px 12px;text-align:left}
.perf25-quote-audit th{color:#9eb7d5}
.perf25-partial{display:block;margin-top:8px;color:#f0c77e;line-height:1.5}
