/* RIAN — clareza de produto, tipografia e superfícies do Performance HUB. */
:root{--ink:#f1f5f7;--muted:#99a9b3;--line:#223039;--canvas:#05080c;--surface:#0c131a;--radius:18px}
body{background:var(--canvas);color:var(--ink)}
h1,h2,h3,.metric-value{font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif}
.sidebar{background:#070c11;border-right:1px solid #1b272f}
.hub-brand{padding-bottom:24px}
.hub-brand .brand-logo{width:190px;max-width:100%;height:60px;object-fit:contain;object-position:left;background:transparent;border-radius:0;margin-bottom:18px}
.hub-brand>strong{font-size:21px;line-height:1.3;letter-spacing:-.04em;color:#fff}
.hub-brand>span{font-size:10px;letter-spacing:.1em;color:#7c909f;line-height:1.8}
.workspace-switch{background:#0d151c;border-color:#22313a;padding:13px}
.workspace-switch .profile-name{color:#e3eaf0;font-size:14px}
.workspace-switch .profile-sub{color:#8499a6;font-size:12px}
.workspace-symbol{color:#4ce8b2;background:#00d68f0b;border-color:#00d68f25}
.nav-label{font-size:10px;font-weight:600;letter-spacing:.11em;color:#748996;margin-top:23px;margin-bottom:9px}
.nav-item{font-size:14px;line-height:1.45;min-height:43px;color:#a5b3bd;padding-block:11px;position:relative;border:1px solid transparent}
.nav-item .icon{width:18px;height:18px;opacity:.9}
.nav-item.active{color:#c5ffe8;background:linear-gradient(90deg,#00d68f12,#00d68f04);border-color:#00d68f28}
.nav-item.active:before{content:'';position:absolute;left:-1px;top:25%;height:50%;width:3px;border-radius:4px;background:var(--brand)}
.nav-item.integration-nav:not(.active){background:transparent;border-color:#23353c;color:#dce9ee}
.plan-card{background:#0c151b;border-color:#23353d;padding:15px}
.plan-card p{font-size:13px;line-height:1.6}
.profile-name{color:#e4ecf1}.profile-sub{color:#8ca0ad}
.topbar{background:#070c11;border-bottom-color:#1b272f;min-height:76px}
.breadcrumb{font-size:13px}.breadcrumb strong{color:#dce7ed}
.search-input{background:#0d151b;border-color:#23323b;color:#e4edf2;font-size:14px}
.main{max-width:1700px;margin-inline:auto;padding:36px 38px 28px}
.page-heading{gap:24px;align-items:flex-start;margin-bottom:30px}
.page-heading h1{font-size:clamp(28px,2.5vw,38px);line-height:1.2;letter-spacing:-.045em;color:#f6f8fa;max-width:900px}
.page-heading p{font-size:16px;line-height:1.75;color:#9fb0bc;max-width:780px;margin-top:12px}
.page-heading .eyebrow{font-size:10px;letter-spacing:.14em;color:#6dbb9e;margin-bottom:13px}
.btn{font-size:14px;font-weight:500;min-height:44px;border-radius:10px;padding:11px 16px;line-height:1.5}
.btn.primary{font-weight:600;box-shadow:none}
.btn.text{padding-inline:9px;min-height:42px}
.filters{gap:16px;align-items:center;margin-bottom:22px}
.filters .select-wrap{background:#0c151c;border-color:#253840;border-radius:10px;min-height:45px}
.filters select{font-size:14px;line-height:1.6}
.badge{font-size:12px;font-weight:500;line-height:1.55;letter-spacing:0;border-radius:7px;padding:6px 9px}
.notice{font-size:14px;line-height:1.8;border-radius:12px;padding:17px 18px;color:#b6c6d0;background:#0d1720;border-color:#243740}
.notice strong{color:#e7f2f6}
.panel{border-color:#24323b;background:#0c131a;border-radius:18px;box-shadow:none;overflow:hidden}
.panel-head{padding:23px 25px 20px;border-bottom-color:#1c2b33;gap:18px}
.panel-head h2{font-size:18px;line-height:1.4;letter-spacing:-.025em;color:#e9f1f5}
.panel-head p{font-size:13px;line-height:1.7;color:#8fa5b3;margin-top:7px}
.panel-body{padding:24px 25px}
.metrics{gap:16px;margin-bottom:24px}
.metric{padding:23px 24px;min-height:164px;background:#0c141b;border-color:#24343c;border-radius:16px}
.metric-top>span{font-size:14px;color:#a3b6c2;line-height:1.6}
.metric-value{font-size:clamp(28px,2.5vw,38px);line-height:1.25;letter-spacing:-.045em;font-weight:600;font-variant-numeric:tabular-nums;color:#f5fafc;margin-top:18px;overflow-wrap:normal;word-break:normal}
.metric-bottom{font-size:12px;color:#859eac;line-height:1.7;margin-top:13px}
.metric-icon{width:32px;height:32px;color:#55dab0;background:#00d68f08;border:1px solid #00d68f19;border-radius:10px}
.metric-icon .icon{width:16px;height:16px}
.executive-metrics{gap:0;background:#0c141b;border:1px solid #27373f;border-radius:18px;overflow:hidden}
.executive-metrics .metric{border:0;border-right:1px solid #24343c;border-radius:0;background:transparent;min-height:175px}
.executive-metrics .metric:last-child{border-right:0}
.executive-status{padding:16px 18px;background:linear-gradient(110deg,#00d68f06,#20aaff04);border:1px solid #263c42;border-radius:12px;margin:0 0 22px;font-size:13px;line-height:1.7;color:#a6bec8}
.executive-chart-grid{gap:22px}.executive-bottom-grid{gap:22px;margin-top:24px}
.executive-history .empty{min-height:240px;padding:28px 20px}
.empty h3{font-size:19px;line-height:1.5;color:#dce8ee;letter-spacing:-.025em}
.empty p{font-size:14px;line-height:1.85;max-width:520px;color:#90a8b7}
.empty-icon{color:#60dbb3;background:#00d68f08;border-color:#00d68f20;border-radius:14px}
.realtime-summary strong{color:#edf8fb;font-variant-numeric:tabular-nums}
.realtime-status .badge{max-width:100%;white-space:normal}
.client-table th{font-size:10px;letter-spacing:.08em;color:#839aa8;background:#0a1117;padding:16px 20px}
.client-table td{font-size:14px;line-height:1.7;color:#bdcdd7;padding:19px 20px;border-bottom-color:#1b2932}
.client-table td strong{color:#e0ebf2}
.client-table tbody tr:hover{background:#12212b55}
.integration-card{background:#0c141b;border-color:#253841;border-radius:18px;padding:24px}
.integration-card p{font-size:14px;line-height:1.8}
.integration-card h3{font-size:19px;letter-spacing:-.025em;color:#ecf4f8}
.integration-steps{gap:14px}.integration-steps li{border-color:#273942;background:#0b161d;border-radius:11px}
.integration-steps strong{font-size:14px;color:#deecf3}.integration-steps span{font-size:12px;color:#8fa6b5;line-height:1.7}
.integration-auto-section{background:#0b1820;border-color:#29414a}
.integration-client-label{font-size:14px;color:#9cb4c1;line-height:1.8}.integration-client-label strong{color:#d8f8eb}
dialog{background:#0b131b;border-color:#2a404c;border-radius:19px;box-shadow:0 32px 120px #0009}
dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}
.dialog-head{border-bottom:1px solid #21343e;padding:25px 28px}.dialog-head h2{font-size:23px;line-height:1.4;letter-spacing:-.035em}
.dialog-body{padding:25px 28px;font-size:15px;line-height:1.8}.dialog-footer{padding:20px 28px;border-top:1px solid #21343e;gap:10px;flex-wrap:wrap}
.form-field label{font-size:13px;line-height:1.7;color:#bdced9}.form-field small{font-size:12px;line-height:1.8;color:#8fa7b5}
.form-field input,.form-field select,.form-field textarea{font-size:16px;line-height:1.6;min-height:46px;background:#101e28;border-color:#2c4451;color:#e8f1f6;border-radius:9px;padding:11px 13px}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#43dcb0;box-shadow:0 0 0 3px #00d68f0c}
.form-field input[readonly]{background:#0b151c;border-style:dashed;color:#b7cbd7;cursor:text}
.form-error{font-size:14px;line-height:1.8;color:#ffbda9}.form-error:empty{display:none}
.detail-grid{gap:20px}.detail-grid strong{color:#e5f0f6;overflow-wrap:anywhere;font-size:14px;line-height:1.7}
.detail-grid label{font-size:11px;letter-spacing:.025em;color:#8ba5b5}
.request-card{padding:23px;background:#0c161e;border-color:#263b46;border-radius:15px}
.request-card h3{font-size:18px;line-height:1.45;color:#edf5f9;letter-spacing:-.025em}
.request-card>p{font-size:14px;line-height:1.8;color:#a2bac8}.request-card .between{gap:12px;flex-wrap:wrap;font-size:12px;line-height:1.7}
.auth-page{background:radial-gradient(ellipse at 20% 5%,#00d68f08,transparent 55%),radial-gradient(ellipse at 95% 90%,#20aaff09,transparent 60%),#05080c}
.auth-page .auth{border-color:#263a43;border-radius:24px;background:#0c141c;max-width:1060px;box-shadow:0 35px 130px #0006}
.auth-page .auth-form{padding:50px}.auth-page .auth-logo{background:transparent;width:218px;height:70px;margin-bottom:40px}
.auth-page .auth h1{font-size:38px;line-height:1.17;letter-spacing:-.045em;color:#f4f8fa}
.auth-page .auth p{font-size:16px;line-height:1.8;color:#9eb3c1}
.auth-page .auth .auth-role-note,.auth-page .auth .auth-access-note,.auth-page .auth .auth-note{font-size:13px;line-height:1.85;color:#8da7b8}
.auth-page .auth-art{background:#08131a}.auth-page .auth-art:after{background:linear-gradient(0deg,#071018 0%,#071018e8 27%,#07101810 75%)}
.auth-page .auth-art h2{font-size:31px;line-height:1.25;letter-spacing:-.04em;max-width:360px}
.footnote{font-size:12px;line-height:1.8;color:#7c93a2;gap:20px;flex-wrap:wrap}
@media(min-width:1550px){.executive-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:651px) and (max-width:1549px){.executive-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-metrics .metric:nth-child(2){border-right:0}.executive-metrics .metric:nth-child(-n+2){border-bottom:1px solid #24343c}}
@media(max-width:1100px){.main{padding:30px 25px}.page-heading h1{font-size:31px}.page-heading p{font-size:15px}.page-heading>.flex{flex-wrap:wrap}.panel-head,.panel-body{padding:21px}.metric{padding:22px}.metric-value{font-size:32px}}
@media(max-width:760px){.main{padding:26px 20px}.page-heading{gap:20px;margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading p{font-size:15px;line-height:1.75}.panel-head{padding:20px}.panel-body{padding:21px 20px}.topbar{min-height:66px}.dialog-head,.dialog-body{padding:21px}.dialog-footer{padding:18px 21px}.dialog-head h2{font-size:22px}.auth-page .auth-form{padding:35px 26px}.auth-page .auth h1{font-size:33px}.auth-page .auth-logo{width:195px;height:60px}.executive-status{padding:14px 15px;align-items:flex-start}}
@media(max-width:650px){.executive-metrics{grid-template-columns:1fr}.executive-metrics .metric{border-right:0;border-bottom:1px solid #24343c;min-height:151px}.executive-metrics .metric:last-child{border-bottom:0}.metric-value{font-size:34px}.metric-bottom{font-size:13px}.btn{font-size:14px;min-height:46px}.page-heading>.flex{width:100%}.page-heading>.flex .btn{flex:1 1 145px}.request-card .between{align-items:flex-start}.dialog-footer .btn{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}dialog::backdrop{backdrop-filter:none}.btn{transition:none!important}}
@media print{body,.main{background:#fff;color:#172b20}.metric,.panel,.executive-metrics{background:#fff;border-color:#ccd5ce}.metric-value,.panel-head h2,.metric-top>span,.metric-bottom{color:#172b20}.sidebar,.topbar{display:none}.main-shell{margin:0}.main{padding:0}.executive-status{background:#fff;border-color:#cdd8d1;color:#172b20}}

.executive-metrics .metric-value{white-space:nowrap}

/* Resumos das fontes comerciais: moedas e critérios de seleção separados. */
.commerce-reports{display:grid;gap:28px;margin-top:28px;min-width:0}
.commerce-report{min-width:0;overflow:hidden;background:#0a1218;border-color:#263b45}
.commerce-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:26px 28px;border-bottom:1px solid #233640}
.commerce-eyebrow{display:block;color:#64d5c3;font-size:11px;font-weight:700;letter-spacing:.14em;margin-bottom:12px}
.commerce-report-head h2{font-family:Montserrat,Helvetica,Arial,sans-serif;font-size:25px;line-height:1.3;letter-spacing:-.035em;margin:0;color:#eff8fb}
.commerce-report-head p{font-size:15px;line-height:1.7;color:#a9c0cc;margin:9px 0 0}
.commerce-source{display:flex;justify-content:space-between;gap:24px;padding:23px 28px;background:linear-gradient(115deg,#00d68f08,#20aaff06)}
.commerce-source>div{display:grid;gap:8px;font-size:13px;line-height:1.7;min-width:0;color:#9eb9c8}
.commerce-source strong{font-size:16px;color:#e8f4f8;overflow-wrap:anywhere}
.commerce-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#20333d;border-block:1px solid #20333d;margin:0}
.commerce-metric{background:#0b151d;padding:25px 28px;min-width:0}
.commerce-metric dt{font-size:14px;line-height:1.5;color:#bed0d9;font-weight:500}
.commerce-metric dd{font-family:Montserrat,Helvetica,Arial,sans-serif;font-size:33px;line-height:1.2;font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#eef9fa;margin:15px 0 10px;overflow-wrap:anywhere}
.commerce-metric p{font-size:12px;line-height:1.75;color:#8faab8;margin:0}
.commerce-scope{margin:24px 28px;padding:17px 20px;border-left:2px solid #24bdac;background:#0b2228;border-radius:0 9px 9px 0}
.commerce-scope strong{font-size:14px;color:#b7e7de}.commerce-scope p{font-size:14px;line-height:1.85;color:#b5cad5;margin:7px 0 0}
.commerce-table-block{padding:7px 28px 23px;min-width:0}
.commerce-table-block h3{font-family:Montserrat,Helvetica,Arial,sans-serif;font-size:18px;letter-spacing:-.025em;margin:13px 0 8px;color:#e4f1f5}
.commerce-table-block>p{font-size:14px;line-height:1.8;color:#9db7c5;margin:0 0 17px}
.commerce-report .table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain;border:1px solid #263944;border-radius:10px}
.commerce-table{width:100%;min-width:680px;border-collapse:collapse;font-variant-numeric:tabular-nums}
.commerce-table th,.commerce-table td{text-align:left;padding:16px 18px;border-bottom:1px solid #21353e;vertical-align:top;font-size:14px;line-height:1.7;color:#c5d9e3}
.commerce-table thead th{font-size:10px;letter-spacing:.06em;color:#8cb0c2;background:#0d1c25;font-weight:600}
.commerce-table tbody th{color:#e0eff4;font-weight:600;min-width:170px}.commerce-table td{white-space:nowrap}
.commerce-table tr:last-child th,.commerce-table tr:last-child td{border-bottom:0}
.commerce-table small{display:block;white-space:normal;color:#8aa7b7;font-size:12px;font-weight:400;line-height:1.7;margin-top:5px;max-width:270px}
.commerce-paid-details{border-block:1px solid #20353e;margin:0 28px 22px;padding:16px 0;min-width:0}
.commerce-paid-details>summary,.commerce-notes>summary{font-size:14px;line-height:1.8;color:#b8ddd7;cursor:pointer;min-height:30px}
.commerce-paid-details .commerce-table-block{padding:10px 0 0}
.commerce-quality{display:flex;flex-direction:column;gap:9px;padding:0 28px 23px;font-size:13px;line-height:1.8;color:#91b0bf}
.commerce-quality strong{color:#c2d7e0;font-weight:600}
.commerce-value-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0 0}
.commerce-value-list>div{padding:18px;background:#0d1c24;border:1px solid #253c47;border-radius:10px;min-width:0}
.commerce-value-list dt{font-size:13px;line-height:1.65;color:#9dbbc8}.commerce-value-list dd{font-size:19px;font-variant-numeric:tabular-nums;color:#deeff5;margin:10px 0 0;overflow-wrap:anywhere}
.commerce-notes{border-top:1px solid #223640;padding:20px 28px;background:#081219}
.commerce-notes ul{font-size:14px;line-height:1.9;color:#9eb7c4;padding-left:20px;margin:14px 0 0}.commerce-notes li+li{margin-top:9px}
.commerce-empty{padding:28px;color:#a8c0ce;font-size:15px;line-height:1.8}.commerce-empty strong{display:block;color:#e2f1f6;font-size:18px;margin-bottom:10px}.commerce-empty p{max-width:720px;margin:0 0 20px}
.commerce-report .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.commerce-value-list{grid-template-columns:1fr}.commerce-source{flex-direction:column;gap:16px}}
@media(max-width:760px){.commerce-report-head{flex-direction:column;gap:15px;padding:22px 20px}.commerce-report-head h2{font-size:23px}.commerce-source{padding:20px}.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-metric{padding:21px 19px}.commerce-metric dd{font-size:29px}.commerce-scope{margin:21px 20px;padding:16px}.commerce-table-block{padding-inline:20px}.commerce-paid-details{margin-inline:20px}.commerce-quality,.commerce-notes,.commerce-empty{padding-inline:20px}.commerce-value-list dd{font-size:21px}}
@media(max-width:380px){.commerce-metrics{grid-template-columns:1fr}.commerce-report-head h2{font-size:22px}}
@media print{.commerce-report,.commerce-source,.commerce-metric,.commerce-notes{background:#fff;color:#172b20}.commerce-report :is(h2,h3,strong,dt,dd,p,span,li),.commerce-table th,.commerce-table td{color:#172b20}.commerce-report .table-scroll{overflow:visible}.commerce-table{min-width:0}.commerce-report button{display:none}}
