:root{--red:#d92f3d;--red-dark:#b9202d;--ink:#182432;--muted:#637080;--line:#e2e6eb;--bg:#f5f6f8;--card:#fff;--soft:#fff0f1;--green:#19705a;--shadow:0 12px 36px #19243209}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e8788199;outline-offset:3px}button{color:inherit}a{color:var(--red)}.topbar{background:white;border-bottom:1px solid var(--line)}.top-inner{max-width:1440px;margin:auto;display:flex;align-items:center;gap:48px;padding:21px 36px}.brand{display:flex;align-items:center;gap:12px;background:none;border:0;text-align:left;font-weight:800;letter-spacing:.06em;font-size:18px;padding:0}.brand small{display:block;font-weight:500;font-size:10px;letter-spacing:.18em;color:var(--muted);margin-top:1px}.brand-plus{color:var(--red)}.brand-icon{background:var(--red);color:white;width:38px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:25px}.top-inner nav{display:flex;gap:24px}.nav{border:0;background:none;color:var(--muted);font-size:14px;padding:8px 0;position:relative}.nav.active{font-weight:650;color:var(--ink)}.nav.active:after{content:'';position:absolute;bottom:-22px;height:3px;background:var(--red);left:0;right:0}.version{margin-left:auto;font-size:11px;letter-spacing:.13em;color:#7d8794}.statusbar{max-width:1368px;margin:16px auto 0;padding:0 0;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.demo-tag{color:#99631b;background:#fff3d8;padding:3px 9px;border-radius:4px;font-weight:600}main{max-width:1368px;margin:0 auto;padding:28px 0 52px;min-height:calc(100vh - 182px)}footer{border-top:1px solid var(--line);padding:18px 36px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px;background:white}footer b{padding:0 8px;color:var(--red)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-.035em;line-height:1.2;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.02em;margin-bottom:8px}h3{font-size:16px;margin-bottom:6px}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:700;color:var(--red);margin-bottom:15px}.search-page{max-width:760px;margin:65px auto 0}.search-heading{max-width:540px;margin:auto;text-align:center}.search-heading h1{font-size:40px;margin-bottom:15px}.search-heading p{color:var(--muted);margin-bottom:30px}.search-panel{border:1px solid var(--line);border-radius:18px;padding:25px;background:white;box-shadow:var(--shadow)}.segmented{display:inline-flex;gap:3px;background:#eff1f4;border-radius:8px;padding:4px}.segmented button{border:0;background:none;padding:8px 20px;border-radius:5px;font-size:14px;color:var(--muted)}.segmented .selected{background:white;box-shadow:0 2px 5px #0000000d;color:var(--ink);font-weight:650}.searchbox{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:0 16px;background:white}.searchbox:focus-within{border-color:var(--red)}.searchbox input{width:100%;border:0;background:none;padding:17px 0;outline:none}.searchbox span{font-size:24px;color:#8993a0}.search-panel .searchbox{margin-top:18px}.search-help{font-size:12px;color:var(--muted);margin:12px 0 0}.results{margin-top:18px;display:grid;gap:8px}.result{display:flex;align-items:center;gap:14px;text-align:left;background:white;border:1px solid var(--line);border-radius:10px;padding:15px 17px;width:100%}.result:hover{border-color:#e8979e;background:#fffafb}.result strong{display:block;font-size:15px}.result small{font-size:12px;color:var(--muted)}.result .go{margin-left:auto;color:var(--red);font-size:23px}.initial{width:39px;height:39px;display:grid;place-items:center;background:#f1f3f6;border-radius:10px;font-weight:700;color:#637080}.section-label{margin:28px 0 12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);letter-spacing:.07em}.hint-row{margin:24px 0;color:var(--muted);font-size:13px;text-align:center}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head p{margin-bottom:0;color:var(--muted);font-size:14px}.breadcrumb{border:0;background:none;padding:0;color:var(--muted);font-size:13px;margin:0 0 16px}.breadcrumb:hover{color:var(--red)}.btn{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 16px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.btn:hover{background:#f4f5f7}.btn.primary{background:var(--red);border-color:var(--red);color:white}.btn.primary:hover{background:var(--red-dark)}.btn.quiet{background:transparent}.btn.small{padding:6px 10px;font-size:12px}.btn.danger{color:#b9202d}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.periodbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px;padding:14px 18px;background:white;border:1px solid var(--line);border-radius:10px}.periodbar label{font-size:13px;font-weight:600}.periodbar input{border:1px solid var(--line);border-radius:6px;padding:7px;font-size:13px;color:var(--ink)}.periodbar .shortcuts{display:flex;gap:4px;margin-left:auto}.shortcuts button{border:0;border-radius:5px;background:#f3f4f6;color:var(--muted);padding:7px 10px;font-size:12px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.kpi{border:1px solid var(--line);border-radius:12px;padding:20px 22px;background:white}.kpi.accent{background:var(--ink);border-color:var(--ink);color:white}.kpi-label{font-size:13px;color:var(--muted);margin-bottom:8px}.kpi.accent .kpi-label{color:#c0c9d3}.kpi-value{font-size:27px;font-weight:650;letter-spacing:-.04em}.kpi-foot{font-size:12px;margin-top:7px;color:var(--muted)}.kpi.accent .kpi-foot{color:#adb9c6}.workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:21px 22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head h2{font-size:17px;margin:0}.panel-head p{font-size:12px;color:var(--muted);margin:3px 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;white-space:nowrap}th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600;background:#fafbfc;padding:12px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #edf0f3}tbody tr:last-child td{border-bottom:0}.clickrow{cursor:pointer}.clickrow:hover td{background:#fff8f8}.num{text-align:right;font-variant-numeric:tabular-nums}.industry-cell{display:flex;align-items:center;gap:12px}.industry-icon{display:grid;place-items:center;background:var(--soft);color:var(--red);font-size:12px;font-weight:750;width:35px;height:35px;border-radius:9px}.industry-cell small,.product-name small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.share{display:flex;align-items:center;gap:8px}.track{height:4px;background:#eef0f3;width:65px;border-radius:4px;overflow:hidden}.track i{display:block;background:var(--red);height:100%}.table-tools{padding:0 20px 16px;display:flex;gap:10px}.table-tools input,.table-tools select,.field input,.field select{border:1px solid var(--line);border-radius:7px;padding:9px 11px;width:100%;background:white;min-width:0;font-size:14px}.table-tools input{flex:1}.table-tools select{width:auto;max-width:210px}.chart{display:flex;align-items:flex-end;gap:9px;height:205px;padding:10px 22px 0}.chart-col{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.bar{width:100%;max-width:35px;border-radius:5px 5px 0 0;background:#f0c4c8;min-height:3px}.chart-col:last-child .bar{background:var(--red)}.chart-col span{font-size:10px;color:var(--muted);white-space:nowrap}.chart-col .value{font-size:10px}.chart-note{font-size:12px;color:var(--muted);padding:20px 22px;margin:0}.side-summary{border-top:1px solid var(--line);margin-top:20px;padding:20px 22px}.side-summary p{font-size:13px;color:var(--muted)}.side-summary strong{font-size:22px;display:block}.empty{padding:35px 22px;color:var(--muted);text-align:center;font-size:14px}.back-link{color:var(--red);background:none;border:0;padding:0;font-size:13px;font-weight:600}.detail-top{display:flex;gap:16px;align-items:center}.detail-top .industry-icon{height:50px;width:50px;font-size:19px}.pill{border-radius:4px;padding:3px 7px;background:#eff3f6;color:#536171;font-size:11px}.notice{padding:13px 16px;border-radius:8px;background:#fff7e8;color:#795818;border:1px solid #f1dfb9;font-size:13px;margin-bottom:20px}.notice.info{background:#eef3f8;color:#445970;border-color:#dce5ee}.admin-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.pad{padding:22px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted);margin-bottom:16px}.field>span{color:var(--ink);font-weight:600}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.upload{display:block;border:1px dashed #b8c1cc;border-radius:10px;padding:24px;background:#fafbfc;margin:14px 0;text-align:center}.upload strong{display:block;margin:7px}.upload input{max-width:100%;font-size:13px}.mapping{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mapping label{font-size:12px}.mapping select{width:100%;padding:7px;border:1px solid var(--line);border-radius:5px}.statline{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:14px}.statline:last-child{border:0}.statline span{color:var(--muted)}.admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.steps{display:flex;gap:8px;margin-bottom:20px}.steps span{font-size:12px;color:var(--muted);padding:5px 9px;background:#f1f3f6;border-radius:5px}.steps .current{color:var(--red);background:var(--soft)}.preview-summary{display:flex;gap:20px;margin:14px 0;font-size:14px}.preview-summary strong{font-size:22px;display:block}.error-text{color:#b9202d}.success-text{color:var(--green)}.loading{padding:80px;text-align:center}dialog{border:1px solid var(--line);border-radius:16px;padding:0;color:var(--ink);box-shadow:0 30px 100px #0d1f3533;max-height:92vh}dialog::backdrop{background:#15203180;backdrop-filter:blur(4px)}#orderDialog{width:min(1180px,95vw)}.dialog-head{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.dialog-head h2{margin:0}.dialog-head p{font-size:13px;margin:4px 0 0;color:var(--muted)}.icon-btn{border:0;border-radius:6px;background:#f1f3f6;width:32px;height:32px;font-size:20px}.suggestion{padding:14px 24px;background:#fff7f7;border-bottom:1px solid #f0dfe1;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.suggestion strong{font-size:14px}.suggestion input{padding:6px;border:1px solid #e6ced0;border-radius:6px;max-width:135px}.order-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line)}.order-filters select,.order-filters input{width:100%;min-width:0;padding:9px;border:1px solid var(--line);border-radius:6px;font-size:13px}.order-columns{display:grid;grid-template-columns:1fr 1fr;min-height:220px}.order-columns>section+section{border-left:1px solid var(--line);background:#fafbfc}.column-title{padding:14px 24px;border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0}.catalog-list,.cart-list{max-height:310px;overflow:auto}.catalog-item{display:flex;gap:12px;align-items:center;padding:14px 24px;border-bottom:1px solid var(--line);font-size:14px}.catalog-item>div{flex:1}.catalog-item small{font-size:11px;color:var(--muted);display:block}.catalog-item strong{font-size:14px}.add{border:1px solid var(--line);background:white;border-radius:6px;width:30px;height:30px;color:var(--red);font-size:20px}.cart-item{padding:14px 24px;border-bottom:1px solid var(--line)}.cart-title{display:flex;justify-content:space-between;gap:10px;font-size:14px}.cart-meta{font-size:11px;color:var(--muted);margin:3px 0 9px}.cart-controls{display:flex;align-items:center;gap:10px}.cart-controls label{font-size:11px;color:var(--muted)}.cart-controls input{width:65px;padding:5px;border:1px solid var(--line);border-radius:5px;display:block;background:white}.cart-controls strong{margin-left:auto;font-size:14px}.remove{border:0;background:none;color:#a65c64;font-size:12px}.order-footer{padding:18px 24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.order-footer small{font-size:12px;color:var(--muted)}.order-total{font-size:27px;font-weight:700}.order-subtotals{font-size:11px;color:var(--muted);max-width:600px}.confirm-content{padding:28px;max-width:430px}.confirm-content p{color:var(--muted);font-size:14px}.confirm-content .actions{justify-content:flex-end}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:9px;padding:12px 20px;font-size:14px;box-shadow:var(--shadow);z-index:100;display:none;max-width:90vw}.hidden{display:none!important}
@media(min-width:1500px){.search-page{margin-top:100px}}@media(max-width:1435px){main{margin:0 32px}.statusbar{margin:16px 32px 0}}@media(max-width:950px){.workspace,.admin-grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.version{display:none}.top-inner{gap:30px}.search-page{margin-top:35px}.chart{height:180px}.periodbar .shortcuts{margin-left:0}}@media(max-width:620px){.top-inner{padding:17px 18px;justify-content:space-between;gap:15px}.brand{font-size:13px;gap:8px}.brand-icon{width:30px;height:33px}.brand small{font-size:8px}.top-inner nav{gap:12px}.nav{font-size:12px}.nav.active:after{bottom:-20px}main{margin:0 16px;padding-top:24px}.statusbar{margin:12px 16px 0;align-items:flex-start;font-size:10px}.search-page{margin-top:27px}.search-heading h1{font-size:31px}.search-panel{padding:18px}.page-head{align-items:flex-start;flex-wrap:wrap}h1{font-size:26px}.kpis{gap:9px}.kpi{padding:15px}.kpi-value{font-size:23px}.kpi-label{font-size:12px}.kpi-foot{font-size:11px}.periodbar{padding:12px;gap:8px}.periodbar input{max-width:130px}.panel-head{padding:17px}.table-tools{padding:0 16px 14px;flex-wrap:wrap}.table-tools input{min-width:130px}td,th{padding:13px 16px}.order-columns{grid-template-columns:1fr}.order-columns>section+section{border-left:0;border-top:1px solid var(--line)}.catalog-list{max-height:160px}.cart-list{max-height:220px}.order-filters{grid-template-columns:1fr 1fr;padding:12px}.order-filters input{grid-column:1/-1}.dialog-head,.suggestion,.order-footer{padding:16px}.dialog-head .btn{font-size:12px;padding:8px}.order-footer{flex-wrap:wrap}.fields{grid-template-columns:1fr}.mapping{grid-template-columns:1fr}footer{padding:16px;gap:12px}footer span:last-child{display:none}.order-total{font-size:24px}.chart-col .value{font-size:9px}}

.status-switch{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.status-switch>span{font-size:13px}
.files-panel{margin-top:22px}.file-groups{padding:0 22px 22px}.file-month{border:1px solid var(--line);border-radius:9px;margin-top:10px;overflow:hidden;background:#fff}.file-month summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;list-style:none;background:#fafbfc}.file-month summary::-webkit-details-marker{display:none}.file-month summary>span:first-child{display:flex;flex-direction:column}.file-month summary strong{font-size:14px}.file-month summary small{font-size:11px;color:var(--muted);margin-top:2px}.file-month-count{font-size:12px;color:var(--muted)}.file-list{border-top:1px solid var(--line)}.file-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--line)}.file-row:last-child{border-bottom:0}.file-row>div:first-child{min-width:0}.file-row strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-row small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.file-aggregate{background:#fffaf0}.file-aggregate strong{color:#795818}.file-row .actions{flex-shrink:0}
@media(max-width:620px){.file-groups{padding:0 16px 16px}.file-row{align-items:flex-start;flex-direction:column}.file-row .actions{width:100%}.file-row .actions .btn{flex:1}.file-month summary{padding:12px}.file-row{padding:13px 12px}}

/* Identidade do painel */
.brand{flex:0 0 auto;gap:0}
.brand-logo{display:block;width:190px;height:auto;max-height:44px;object-fit:contain}
.search-heading h1{margin-bottom:30px}
main{min-height:calc(100vh - 96px)}
@media(max-width:620px){.brand-logo{width:145px;max-height:34px}.search-heading h1{margin-bottom:24px}}
.file-base-group{border:1px solid var(--line);border-radius:11px;margin-top:12px;overflow:hidden;background:#fff}.file-base-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;cursor:pointer;list-style:none;background:#f1f3f6}.file-base-group>summary::-webkit-details-marker{display:none}.file-base-group>summary>span:first-child{display:flex;flex-direction:column}.file-base-group>summary strong{font-size:15px}.file-base-group>summary small{font-size:11px;color:var(--muted);margin-top:2px}.file-base-count{font-size:12px;color:var(--muted)}.file-base-content{padding:0 12px 12px;background:#fff}.file-base-empty{padding:25px 16px}.file-base-content .file-month{margin-top:12px}
@media(max-width:620px){.file-base-group>summary{padding:12px}.file-base-content{padding:0 8px 8px}}

.client-tabs{display:flex;margin:-4px 0 22px}.client-tabs button{padding:8px 18px}.history-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px}.history-toolbar h2{margin-bottom:3px;font-size:19px}.history-toolbar p{margin:0;font-size:13px}.history-toolbar .table-tools{padding:0;flex:1;justify-content:flex-end}.history-toolbar .table-tools select{max-width:180px}.history-toolbar .table-tools input{max-width:300px}.history-kpis{grid-template-columns:repeat(3,1fr)}.history-panel{overflow:visible}.history-months{padding:0 22px 22px}.history-month{border:1px solid var(--line);border-radius:10px;margin-top:11px;overflow:hidden;background:#fff}.history-month>summary,.history-industry>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;cursor:pointer;list-style:none}.history-month>summary::-webkit-details-marker,.history-industry>summary::-webkit-details-marker{display:none}.history-month>summary{background:#fafbfc}.history-month>summary>span,.history-industry>summary>span{display:flex;flex-direction:column;min-width:0}.history-month summary strong,.history-industry summary strong{font-size:14px}.history-month summary small,.history-industry summary small{font-size:11px;color:var(--muted);margin-top:2px}.history-month-body{padding:0 12px 12px;border-top:1px solid var(--line)}.history-industry{border:1px solid var(--line);border-radius:8px;margin-top:10px;overflow:hidden}.history-industry>summary{background:white}.history-industry>summary>strong{font-size:13px}.history-products{overflow:auto;border-top:1px solid var(--line)}.history-products table{font-size:13px}.history-products th{padding:10px 13px}.history-products td{padding:11px 13px}.history-source{display:inline-block;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:650;background:#eef3f8;color:#536171}.source-oniz{background:#f1eafb;color:#6d3fa1}.source-pulmer{background:#fff1dd;color:#91601c}
@media(max-width:950px){.history-toolbar{align-items:stretch;flex-direction:column}.history-toolbar .table-tools{justify-content:flex-start}.history-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.client-tabs{width:100%;overflow:auto}.client-tabs button{padding:8px 12px;white-space:nowrap}.history-toolbar .table-tools{flex-direction:column}.history-toolbar .table-tools select,.history-toolbar .table-tools input{max-width:none;width:100%}.history-kpis{grid-template-columns:1fr}.history-months{padding:0 12px 12px}.history-month-body{padding:0 8px 8px}.history-month>summary,.history-industry>summary{padding:12px}.history-products td,.history-products th{padding:10px 11px}}
.history-chart-panel{margin-bottom:22px}.history-chart-head{align-items:flex-end}.history-chart-filter{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;white-space:nowrap}.history-chart-filter select{border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:white;color:var(--ink);font-size:13px;max-width:300px}.history-chart{padding-top:0}.history-star{display:inline-block;margin-left:6px;color:#d6a127;font-size:13px;line-height:1;vertical-align:middle}
@media(max-width:620px){.history-chart-head{align-items:stretch;flex-direction:column}.history-chart-filter{justify-content:space-between;white-space:normal}.history-chart-filter select{flex:1;max-width:none}}
.chart{position:relative}.chart .bar,.chart .chart-col:last-child .bar{background:var(--red)}.growth-line{position:absolute;inset:10px 22px 30px;width:calc(100% - 44px);height:calc(100% - 40px);z-index:2;overflow:visible;pointer-events:none}.growth-line polyline{fill:none;stroke:#1d7d67;stroke-width:2;vector-effect:non-scaling-stroke}.growth-line circle{fill:white;stroke:#1d7d67;stroke-width:2;vector-effect:non-scaling-stroke}.growth-legend{font-size:11px;color:var(--muted);padding:0 22px 14px;margin:0}.growth-legend i{display:inline-block;width:18px;height:2px;background:#1d7d67;vertical-align:middle;margin:0 5px 0 0}
.growth-line polyline{stroke:#2468c5;stroke-dasharray:5 4;stroke-linecap:round}.growth-points{position:absolute;inset:10px 22px 30px;width:calc(100% - 44px);height:calc(100% - 40px);z-index:5;pointer-events:none}.growth-point{position:absolute;width:7px;height:7px;border:2px solid #2468c5;border-radius:50%;background:#fff;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #ffffffaa}.growth-label{position:absolute;left:50%;bottom:9px;transform:translate(-50%,var(--growth-label-shift,0px));color:#2468c5;font-size:10px;font-weight:700;line-height:1;white-space:nowrap;text-shadow:none;background:#fff;border:1px solid #e2e6eb;border-radius:4px;padding:2px 4px;box-shadow:0 1px 2px #00000012;z-index:6}.growth-legend i{background:#2468c5}.chart-col .value{position:relative;z-index:4;background:#fff;border:1px solid #e2e6eb;border-radius:4px;padding:2px 4px;line-height:1.1;box-shadow:0 1px 2px #00000012}
.workspace.single{grid-template-columns:minmax(0,1fr)}.sort-header{border:0;background:none;color:inherit;padding:0;display:inline-flex;align-items:center;gap:5px;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;white-space:nowrap}.sort-header:hover{color:var(--red)}.sort-header.numeric{justify-content:flex-end;width:100%;text-align:right}.sort-indicator{font-size:11px;color:var(--red);line-height:1}.industry-table{width:100%;min-width:0;table-layout:fixed}.industry-table th:first-child,.industry-table td:first-child{width:42%}.industry-table th:nth-child(2),.industry-table td:nth-child(2){width:12%}.industry-table th:nth-child(3),.industry-table td:nth-child(3){width:20%}.industry-table th:nth-child(4),.industry-table td:nth-child(4){width:26%}.industry-table .industry-cell{min-width:0}.industry-table .industry-cell>div{min-width:0;overflow:hidden}.industry-table .industry-cell .back-link{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.industry-table .industry-cell small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-products .sort-header{font-size:11px}
@media(max-width:620px){.industry-table th:first-child,.industry-table td:first-child{width:42%}.industry-table th:nth-child(2),.industry-table td:nth-child(2){width:13%}.industry-table th:nth-child(3),.industry-table td:nth-child(3){width:21%}.industry-table th:nth-child(4),.industry-table td:nth-child(4){width:24%}.industry-table th,.industry-table td{padding-left:10px;padding-right:10px}.industry-table .industry-cell{gap:7px}.industry-table .industry-icon{width:28px;height:28px;flex:0 0 28px}}
.chart .chart-col[data-chart-month]{cursor:pointer}.chart .chart-col[data-chart-month]:focus{outline:2px solid var(--red);outline-offset:2px;border-radius:4px}.shortcuts button.selected{border:1px solid var(--red);color:var(--red);background:var(--soft);font-weight:650;padding:6px 9px}.industry-back{display:block;margin-top:8px;padding:0}
@media print{@page{size:A4 landscape;margin:10mm}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}body{background:#fff;font-size:11px}body>.topbar,body>.statusbar,footer,#toast,.breadcrumb,.page-head .actions,.client-tabs,.status-switch,.periodbar,.table-tools,.history-chart-filter,.notice,.chart-note,dialog{display:none!important}main{max-width:none;margin:0;padding:0;min-height:0}.page-head{display:block;margin:0 0 12px}.page-head h1{font-size:24px;margin-bottom:4px}.page-head p{font-size:11px}.kpis{gap:8px;margin-bottom:12px}.kpi{padding:10px 12px;border-radius:6px;break-inside:avoid}.kpi-value{font-size:20px}.workspace{gap:12px;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr)}.workspace.single{display:block}.panel{border-radius:6px;box-shadow:none;break-inside:avoid;overflow:visible}.panel-head{padding:11px 12px}.panel-head h2{font-size:14px}.panel-head p{font-size:10px}.table-wrap{overflow:visible}table{font-size:10px;white-space:normal}th,td{padding:6px 8px}.back-link{color:var(--ink)}.chart{height:150px;padding:5px 12px 0}.chart-col .value{font-size:9px}.growth-label{font-size:9px}.side-summary{padding:10px 12px;margin-top:10px}.side-summary p{font-size:10px}.side-summary strong{font-size:16px}.history-chart-panel{margin-bottom:12px}.history-toolbar{margin:0 0 10px}.history-toolbar h2{font-size:14px}.history-months{padding:0}.history-month,.history-industry{break-inside:avoid}.history-products{overflow:visible}.history-products table{font-size:9px}.history-products th,.history-products td{padding:5px 7px}.history-source{padding:0 4px;font-size:9px}.industry-table .industry-cell{gap:7px}.industry-table .industry-icon{width:25px;height:25px;flex-basis:25px}}
@media print{.history-panel,.history-month,.history-industry{break-inside:auto;page-break-inside:auto;overflow:visible}.history-month>summary,.history-industry>summary{break-after:avoid;page-break-after:avoid;orphans:3;widows:3}.history-month-body,.history-products{break-before:avoid;page-break-before:avoid}.history-products{overflow:visible}.history-products tr{break-inside:avoid;page-break-inside:avoid}}

@media screen{
:root{--brand:#4d176f;--brand-deep:#321047;--red:#d63145;--red-dark:#b72034;--ink:#1d2230;--muted:#687384;--line:#e3e7ee;--bg:#f6f7fb;--card:#fff;--soft:#f3edf8;--green:#14745c;--shadow:0 18px 45px rgba(37,22,54,.08)}
*{scrollbar-color:#cfc3d8 transparent}
body{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.005em}
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(227,231,238,.92)}
.top-inner{position:relative;max-width:1440px;padding:15px 40px;gap:34px}
.brand{min-height:44px;border-radius:12px;padding:3px 10px 3px 0;transition:background .2s ease}.brand:hover{background:var(--soft)}.brand-logo{width:168px;max-height:36px;object-fit:contain}
.top-inner nav{position:absolute;left:50%;transform:translateX(-50%);gap:10px}.nav{min-height:42px;padding:10px 15px;border-radius:10px;font-size:14px}.nav:hover{background:#f3f4f7;color:var(--ink)}.nav.active{color:var(--brand);background:var(--soft)}.nav.active:after{display:none}
main{max-width:1440px;padding:36px 40px 72px;min-height:calc(100vh - 135px)}
h1{font-size:clamp(30px,3vw,42px);font-weight:720;letter-spacing:-.055em}h2{font-size:21px;font-weight:700}h3{font-weight:700}.eyebrow{color:var(--brand);font-size:11px;letter-spacing:.16em;margin-bottom:12px}
.search-page{max-width:1140px;margin:46px auto 0;display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:start}.search-heading{max-width:none;margin:0 auto;text-align:left;padding:18px 0;align-self:start}.search-heading h1{font-size:clamp(38px,5vw,62px);line-height:1.03;margin-bottom:18px;color:var(--brand-deep)}.search-heading:after{content:'Consulte clientes, redes e histórico comercial em um único lugar.';display:block;max-width:360px;color:var(--muted);font-size:17px;line-height:1.55}.search-panel{padding:30px;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow)}.search-panel .segmented{width:100%;display:grid;grid-template-columns:1fr 1fr;background:#f1eff4;border-radius:12px;padding:5px}.search-panel .segmented button{min-height:46px;border-radius:9px}.segmented .selected{color:var(--brand);box-shadow:0 5px 14px rgba(50,16,71,.12)}.search-panel .searchbox{margin-top:22px;border-radius:13px;border-color:#d8dce5;padding:0 18px}.search-panel .searchbox:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px rgba(77,23,111,.12)}.searchbox input{padding:19px 0;font-size:16px}.searchbox span{color:var(--brand);font-size:26px}.search-panel .search-help{font-size:13px}.results{gap:10px}.result{min-height:66px;border-radius:13px;padding:14px 16px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.result:hover{border-color:#c9b4d7;background:#fff;box-shadow:0 8px 20px rgba(50,16,71,.08);transform:translateY(-1px)}.initial{background:var(--soft);color:var(--brand);border-radius:12px}.result .go{color:var(--brand);font-size:20px}
.hint-row{margin:24px auto;font-size:13px;color:var(--muted)}
.page-head{margin-bottom:20px;align-items:flex-end}.page-head p{font-size:14px}.page-head .actions{padding-bottom:2px}.btn{min-height:42px;border-radius:11px;padding:10px 15px;border-color:#d9dee7;background:#fff;transition:all .2s ease}.btn:hover{border-color:#c5b2d1;background:#faf7fc;transform:translateY(-1px)}.btn.primary{background:var(--brand);border-color:var(--brand);box-shadow:0 8px 18px rgba(77,23,111,.2)}.btn.primary:hover{background:var(--brand-deep);border-color:var(--brand-deep)}.btn.small{min-height:36px;border-radius:9px}.btn.quiet{background:#f8f9fb}
.client-tabs{margin:0 0 20px;padding:5px;background:#edeaf1;border-radius:14px;display:flex;gap:5px}.client-tabs button{flex:1;min-height:44px;border-radius:10px;padding:9px 16px}.client-tabs .selected{background:#fff;color:var(--brand);box-shadow:0 4px 12px rgba(50,16,71,.1)}
.status-switch{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:7px 9px;border:1px solid var(--line);border-radius:16px;background:#fff}.status-switch .segmented{flex:1;background:transparent;padding:0;gap:5px}.status-switch .segmented button{flex:1;min-height:44px;border-radius:10px}.status-switch .segmented .selected{background:var(--brand);color:#fff;box-shadow:0 6px 14px rgba(77,23,111,.18)}.status-switch>.muted{font-size:12px;padding:0 8px}
.periodbar{padding:0;margin-bottom:22px;border:0;background:transparent}.periodbar-top{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px 16px;box-shadow:0 5px 18px rgba(37,22,54,.04)}.period-label{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:700}.period-current{display:block;font-size:15px;margin-top:2px}.periodbar .shortcuts{margin-left:auto;gap:6px}.shortcuts button{min-height:38px;border:1px solid transparent;border-radius:9px;background:#f1f2f6;padding:8px 12px;color:#596375;transition:all .2s ease}.shortcuts button:hover{background:var(--soft);color:var(--brand)}.shortcuts button.selected{border:2px solid var(--red);padding:7px 11px;background:#fff5f5;color:var(--red);font-weight:750}.period-custom{margin-top:9px;border:1px solid var(--line);background:#fff;border-radius:14px}.period-custom summary{cursor:pointer;padding:12px 15px;color:var(--brand);font-size:13px;font-weight:700;list-style:none}.period-custom summary::-webkit-details-marker{display:none}.period-custom summary:after{content:'+';float:right;font-size:17px;font-weight:400}.period-custom[open] summary:after{content:'−'}.period-custom-fields{display:flex;align-items:flex-end;gap:10px;padding:0 15px 15px}.period-custom-fields label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:var(--muted)}.period-custom-fields input{border:1px solid var(--line);border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink)}
.kpis{gap:14px;margin-bottom:22px}.kpi{border-radius:18px;padding:21px 22px;box-shadow:0 5px 18px rgba(37,22,54,.04)}.kpi.accent{background:linear-gradient(135deg,var(--brand-deep),var(--brand));border-color:var(--brand)}.kpi-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em}.kpi-value{font-size:29px}.kpi-foot{font-size:12px}
.workspace{gap:18px}.workspace:not(.single){grid-template-columns:minmax(0,1fr)}.workspace:not(.single)>aside{order:-1}.panel{border-radius:18px;box-shadow:0 5px 18px rgba(37,22,54,.035)}.panel-head{padding:22px 24px}.panel-head h2{font-size:18px}.panel-head p{font-size:13px}.table-tools{padding:0 24px 17px;gap:9px}.table-tools input,.table-tools select{min-height:42px;border-radius:10px;background:#fbfcfd}.table-wrap{overflow:auto}table{font-size:14px}th{padding:13px 22px;background:#fafbfc;letter-spacing:.09em}td{padding:17px 22px}.industry-icon{background:var(--soft);color:var(--brand);border-radius:11px}.industry-cell{gap:13px}.industry-cell small,.product-name small{font-size:12px}.back-link{color:var(--brand);font-weight:700}.clickrow:hover td{background:#fbf8fd}.industry-table .industry-cell .back-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace aside{border-radius:18px}.workspace aside .panel-head{align-items:flex-start}.workspace aside .panel-head>div:first-child{min-width:0}.chart-reset{margin-left:auto;white-space:nowrap}.chart{height:270px;padding:20px 28px 0;gap:12px}.chart-col .value{font-size:11px}.chart-col>span:last-child{font-size:11px}.bar,.chart .chart-col:last-child .bar{max-width:48px;border-radius:8px 8px 0 0;background:var(--brand)}.chart-note{padding:17px 24px}.side-summary{padding:20px 24px;margin-top:18px}.history-chart-panel{margin-bottom:20px}.history-chart-head{align-items:center}.history-chart-filter select{min-height:40px;border-radius:10px;border-color:#d9dee7}.history-toolbar{margin-bottom:20px}.history-panel{border-radius:18px}.history-months{padding:0 22px 22px}.history-month,.history-industry{border-radius:13px}.history-month>summary,.history-industry>summary{padding:16px 18px}.history-products{border-top-color:var(--line)}.history-source{font-size:11px}
dialog{border:0;border-radius:24px;box-shadow:0 28px 80px rgba(25,12,38,.28);padding:0;max-width:min(1080px,calc(100vw - 32px));width:1080px}.dialog-head{padding:24px 28px;border-bottom:1px solid var(--line);background:#fff}.order-filters{padding:18px 28px;gap:10px;background:#faf9fc;border-bottom:1px solid var(--line)}.order-filters select,.order-filters input{min-height:44px;border-radius:10px}.order-columns{padding:24px 28px;gap:22px}.catalog-item,.cart-item{border:1px solid var(--line);border-radius:14px;padding:14px 15px;margin-bottom:9px}.catalog-item:hover{border-color:#cdb9d9;box-shadow:0 6px 16px rgba(77,23,111,.08)}.catalog-item .add{width:38px;height:38px;border-radius:10px;background:var(--soft);color:var(--brand);border:1px solid #dccce6}.suggestion{margin:20px 28px 0;padding:16px;border-radius:14px;background:var(--soft);border:1px solid #e1d3e9}.order-footer{padding:20px 28px;background:#faf9fc;border-top:1px solid var(--line)}
.admin-grid{gap:18px}.admin-grid .panel{border-radius:18px}.admin-grid .pad{padding:25px}.upload{border-radius:15px;background:#fbfafd;border-color:#cdb9d9}.file-base-group{border-radius:14px}.file-base-group>summary{background:#faf8fc;padding:16px}.file-base-group>summary strong{color:var(--brand)}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(77,23,111,.26);outline-offset:3px}
}
.periodbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px rgba(37,22,54,.04)}
.periodbar>label{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.periodbar>input{border:1px solid var(--line);border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink);min-height:40px}
.periodbar>.muted{color:var(--muted);font-size:13px}
.periodbar>.shortcuts{display:flex;align-items:center;gap:6px;margin-left:auto}
.periodbar>.shortcuts button{min-height:38px;border:1px solid transparent;border-radius:9px;background:#f1f2f6;padding:8px 12px;color:#596375;transition:all .2s ease}
.periodbar>.shortcuts button:hover{background:var(--soft);color:var(--brand)}
.periodbar>.shortcuts button.selected{border:2px solid var(--red);padding:7px 11px;background:#fff5f5;color:var(--red);font-weight:750}
.period-current{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px rgba(37,22,54,.04)}
.period-current .period-label{margin-right:2px}.period-current strong{font-size:15px;color:var(--ink)}.period-current small{color:var(--muted);font-size:12px}
@media screen and (max-width:720px){
 .periodbar{align-items:stretch;padding:12px;gap:8px}
 .periodbar>label{width:100%}
 .periodbar>input{flex:1;min-width:120px}
 .periodbar>.shortcuts{width:100%;margin-left:0;display:grid;grid-template-columns:repeat(2,1fr)}
 .periodbar>.shortcuts button{width:100%}
}
@media screen and (max-width:1040px){main{padding-left:24px;padding-right:24px}.search-page{max-width:900px}.kpis{grid-template-columns:repeat(2,1fr)}.page-head{align-items:flex-start}.workspace:not(.single){grid-template-columns:1fr}}
@media screen and (max-width:720px){.top-inner{padding:12px 16px}.brand-logo{width:142px}.top-inner nav{margin-left:auto}.nav{font-size:13px;padding:9px 10px}.top-inner nav{flex-wrap:wrap}.nav:not([hidden]){display:inline-flex}main{padding:24px 16px 48px}.search-page{display:block;margin-top:22px}.search-heading{padding:8px 0 20px}.search-heading h1{font-size:40px}.search-heading:after{font-size:15px}.search-panel{padding:20px;border-radius:18px}.page-head{display:block}.page-head .actions{margin-top:16px}.page-head .actions .btn{flex:1}.client-tabs{overflow:auto}.client-tabs button{white-space:nowrap;min-width:145px}.status-switch{display:block}.status-switch .segmented{display:grid;grid-template-columns:repeat(3,1fr)}.status-switch>.muted{display:block;padding:8px 3px 2px}.periodbar-top{display:block}.periodbar .shortcuts{display:grid;grid-template-columns:repeat(2,1fr);margin-top:13px}.shortcuts button{width:100%}.period-custom-fields{display:grid;grid-template-columns:1fr 1fr}.period-custom-fields>.muted{display:none}.period-custom-fields .btn{grid-column:1/-1}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:16px}.kpi-value{font-size:22px}.workspace aside .panel-head{display:block}.chart-reset{margin-top:12px;margin-left:0}.chart{height:220px;padding-left:18px;padding-right:18px;gap:6px}.chart-col .value{font-size:9px}.table-tools{padding-left:16px;padding-right:16px;flex-direction:column}.table-tools select{width:100%;max-width:none}.panel-head{padding:18px}.history-toolbar{display:block}.history-toolbar .table-tools{margin-top:14px}.history-months{padding:0 12px 12px}.history-products{overflow-x:auto}dialog{max-width:calc(100vw - 16px);width:calc(100vw - 16px);border-radius:18px}.dialog-head,.order-columns,.order-footer{padding-left:18px;padding-right:18px}.order-filters{padding:14px 18px;display:grid}.order-columns{display:block}.order-columns>section+section{margin-top:18px}.fields{grid-template-columns:1fr}.admin-grid{display:block}.admin-grid>aside{margin-top:18px}.kpi-foot{font-size:11px}}
@media screen{.search-panel>.segmented,.search-panel>.searchbox{width:100%;max-width:none;box-sizing:border-box;align-self:stretch}.search-panel>.searchbox{margin-left:0;margin-right:0}.search-panel>.searchbox input:focus-visible{outline:none}}
.panel-mode-switch{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}.panel-mode-label{font-size:12px;font-weight:700;color:var(--muted)}.mode-toggle{width:52px;height:28px;border:1px solid #c8ccd5;border-radius:999px;background:#eef0f4;padding:3px;cursor:pointer;display:flex;align-items:center;transition:.2s}.mode-toggle i{display:block;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 2px 5px #1b23331f;transition:.2s}.mode-toggle.on{background:var(--brand);border-color:var(--brand)}.mode-toggle.on i{transform:translateX(23px)}.mode-toggle:focus-visible{outline:3px solid #da343e66;outline-offset:3px}.team-role-filter{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:16px}.team-role-filter button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:8px;padding:9px 12px;font-size:12px;cursor:pointer}.team-role-filter button.selected{background:var(--soft);border-color:#c9b4d7;color:var(--brand);font-weight:700}.team-search-page .search-heading{padding-top:22px}.search-subtitle{max-width:380px;color:var(--muted);font-size:16px;line-height:1.5}.team-scope-note{margin:0 0 18px;padding:11px 14px;border:1px solid #ded4e6;background:#faf7fc;border-radius:8px;color:#5e4770;font-size:13px}.team-tabs{display:inline-flex;margin-bottom:18px}.team-tabs button{min-width:118px}.team-kpis{grid-template-columns:repeat(6,1fr)}.team-chart-panel{margin-bottom:22px}.team-chart{height:245px;padding-bottom:18px}.team-chart-col{border:0;background:transparent;padding:0 4px;cursor:pointer;justify-content:flex-end}.team-chart-col .bar{background:var(--red);display:block;width:min(42px,100%);border-radius:5px 5px 0 0;min-height:3px}.team-chart-col:hover .bar,.team-chart-col.active .bar{background:var(--brand)}.team-chart-col:focus-visible{outline:3px solid #da343e66;outline-offset:4px;border-radius:6px}.team-chart-col span{display:block}.team-chart-col .value{font-size:10px;color:var(--muted);white-space:nowrap}.team-chart-col>span:last-child{font-size:11px}.team-chart-panel .growth-line{pointer-events:none}.team-chart-panel .growth-points{pointer-events:none}.team-chart-panel .growth-label{background:white}.auth-page{min-height:calc(100vh - 150px);display:grid;place-items:center;padding:45px 0}.auth-card{width:min(470px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:34px}.auth-card h1{margin:7px 0 10px;font-size:34px;color:var(--brand-deep)}.auth-lead{color:var(--muted);line-height:1.55;margin:0 0 22px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f2f0f4;border-radius:10px;padding:4px;margin-bottom:22px}.auth-tabs button{border:0;background:transparent;border-radius:7px;padding:10px;font-weight:650;color:var(--muted);cursor:pointer}.auth-tabs button.selected{background:#fff;color:var(--brand);box-shadow:0 3px 10px #32104714}.auth-submit{width:100%;min-height:46px;margin-top:5px}.auth-message{min-height:22px;color:#a13a45;font-size:13px;margin:12px 0 0}.admin-access-panel{margin-top:22px}.admin-access-panel small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.access-add{display:flex;gap:6px;align-items:center;margin-top:8px}.access-add select,.access-add input{min-width:0;padding:6px;border:1px solid var(--line);border-radius:6px;font-size:12px}.access-add input{width:88px}.access-add .btn{padding:6px 8px;font-size:11px}.admin-access-panel table{white-space:normal}.admin-access-panel td{vertical-align:top}.admin-access-panel .actions{margin-bottom:5px}
@media screen and (max-width:1040px){.team-kpis{grid-template-columns:repeat(3,1fr)}}
@media screen and (max-width:720px){.panel-mode-switch{order:2;margin-left:auto}.panel-mode-label{display:none}.team-kpis{grid-template-columns:1fr 1fr}.team-tabs{display:grid;width:100%;grid-template-columns:repeat(3,1fr)}.team-tabs button{min-width:0;padding:9px 6px}.auth-page{padding:24px 0;min-height:calc(100vh - 100px)}.auth-card{padding:24px 19px;border-radius:16px}.team-chart{height:220px}.access-add{flex-wrap:wrap}.access-add input{flex:1}.admin-access-panel td,.admin-access-panel th{padding:10px 8px}}
.legacy-client-tabs{display:none!important}
.status-switch>.muted{display:none!important}
.hint-row{display:none!important}.industry-table{table-layout:fixed}.industry-table th:nth-child(1),.industry-table td:nth-child(1){width:48%}.industry-table th:nth-child(2),.industry-table td:nth-child(2){width:13%}.industry-table th:nth-child(3),.industry-table td:nth-child(3){width:19%}.industry-table th:nth-child(4),.industry-table td:nth-child(4){width:20%}.industry-table td:last-child .share{width:100%;justify-content:flex-end}.industry-table td:first-child{overflow:hidden}.industry-table .industry-cell{min-width:0}.industry-table .industry-cell>div{min-width:0}
.header-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.header-actions .btn{min-height:42px;white-space:nowrap}.header-actions .btn.primary{box-shadow:none}
@media screen and (max-width:1040px){.header-actions{gap:6px}.header-actions .btn{padding:8px 10px;font-size:12px}}
@media screen and (max-width:720px){.top-inner{flex-wrap:wrap;gap:8px}.header-actions{order:3;width:100%;margin-left:0;justify-content:flex-end;gap:6px}.header-actions .btn{min-height:40px;padding:8px 10px;font-size:11px}}
.print-industry-header{display:none}
@media print{
 .history-panel{break-before:page;page-break-before:always}
 .history-month{break-inside:auto;page-break-inside:auto;break-before:page;page-break-before:always}
 .history-months>.history-month:first-child{break-before:auto;page-break-before:auto}
 .history-month>summary,.history-industry>summary{display:none!important}
 .history-month-body{break-before:avoid;page-break-before:avoid}
 .history-month-body>.history-industry{break-inside:auto;page-break-inside:auto;break-before:page;page-break-before:always}
 .history-month-body>.history-industry:first-child{break-before:auto;page-break-before:auto}
 .history-products{overflow:visible;break-before:avoid;page-break-before:avoid}
 .history-products table{width:100%;break-inside:auto;page-break-inside:auto}
 .history-products thead{display:table-header-group}
 .history-products tbody{display:table-row-group}
 .history-products tr{break-inside:avoid;page-break-inside:avoid}
 .print-industry-header{display:table-row!important}
 .print-industry-header th{padding:0 7px 8px!important;text-align:left!important;border:0!important;background:#fff!important;font-size:14px!important;line-height:1.25!important;text-transform:none!important;letter-spacing:0!important}
 .print-industry-header .print-month,.print-industry-header .print-industry{display:block}
 .print-industry-header .print-month{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#687384}
 .print-industry-header .print-industry{font-size:16px;color:#1d2230}
}
.link-button{border:0;background:none;color:var(--purple);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;padding:8px 0;align-self:flex-start}

/* Cabeçalho compartilhado, indicadores consolidados e histórico da carteira. */
.top-inner #panelModeSwitch{order:0;margin-left:8px;flex:none}
.top-inner #logoutAccount{order:5;margin-left:auto;white-space:nowrap;min-height:44px}
.top-inner #panelModeSwitch .mode-toggle{height:32px;min-height:32px;box-sizing:border-box}
.team-kpis{grid-template-columns:1fr 1fr 3fr 1fr}
.team-sales-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sales-metric{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:8px}
.sales-metric+.sales-metric{border-left:1px solid var(--line);padding-left:18px}
.sales-metric>strong{font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sales-metric>small{color:var(--muted);font-size:11px}
.sales-total>strong{color:var(--brand)}
#teamTable th,.industry-table th{text-align:center}
#teamTable td:first-child small{display:block;margin-top:7px;color:var(--muted);font-size:12px}
.history-month summary>span,.history-industry summary>span{display:flex;flex-direction:column;gap:6px;min-width:0}
.history-month summary,.history-industry summary{gap:24px}
.history-client-row{width:100%;display:flex;align-items:center;gap:20px;padding:17px 20px;text-align:left;border:0;border-bottom:1px solid var(--line);background:white;color:var(--ink);min-height:64px}
.history-client-row>span:first-child{flex:1;min-width:0}
.history-client-row>span:first-child>strong{display:block;overflow-wrap:anywhere}
.history-client-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px}
.history-client-row>strong{white-space:nowrap}
.history-client-row:hover{background:var(--soft)}
@media screen and (max-width:1100px){.team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.team-sales-card{grid-column:1/-1;grid-row:2}.top-inner{gap:16px}}
@media screen and (max-width:720px){.top-inner{flex-wrap:wrap;gap:12px}.top-inner #panelModeSwitch{margin-left:0}.top-inner nav{order:6;flex-basis:100%;margin-left:0}.top-inner #logoutAccount{font-size:12px;padding:8px}.team-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.team-kpis>.kpi:not(.team-sales-card){padding:12px}.team-kpis .kpi-value{font-size:18px}.team-sales-card{gap:10px;padding:16px 12px}.sales-metric+.sales-metric{padding-left:10px}.sales-metric>strong{font-size:15px}.sales-metric .kpi-label{font-size:10px}.history-client-row{gap:10px;padding:14px 12px}.history-client-row>strong{font-size:13px}.history-month summary,.history-industry summary{gap:12px}}
@media print{.team-history-month>summary{display:flex!important}.team-history-month{break-inside:auto}.history-client-row{break-inside:avoid}.team-kpis{grid-template-columns:1fr 1fr 3fr 1fr}}

.industry-table .sort-header{width:100%;justify-content:center;text-align:center}
.team-sales-card .sales-metric>strong{white-space:nowrap;overflow-wrap:normal;font-size:clamp(15px,1.3vw,21px)}
.team-sales-card .sales-metric:first-child{border-left:0;padding-left:0}
.team-sales-card .sales-metric:not(:first-child){border-left:1px solid var(--line);padding-left:18px}
.team-sales-card .sales-metric{align-items:center;text-align:center}
.team-sales-card .sales-metric>strong,.team-sales-card .sales-metric>small{display:block;width:100%;text-align:center}
.admin-access-panel label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;font-size:12px}
.admin-access-panel label[hidden],#authCodeField[hidden],#panelModeSwitch[hidden]{display:none!important}
.admin-access-panel select,.admin-access-panel input{max-width:100%;min-height:40px;border:1px solid var(--line);border-radius:7px;padding:6px}
@media(max-width:720px){.team-sales-card{grid-template-columns:1fr}.team-sales-card .sales-metric{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.team-sales-card .sales-metric>strong{font-size:18px}.team-sales-card .sales-metric:not(:first-child){border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.team-sales-card .sales-metric>small{width:100%;text-align:center}}
.chart-col .value{transform:translateY(var(--value-label-shift,0px))}
.team-kpis>.kpi:not(.team-sales-card){display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
@media screen and (max-width:720px){.top-inner nav{position:static;transform:none;order:6;flex-basis:100%;margin-left:0;justify-content:center}}
.trade-update-notice{max-width:1140px;margin:0 auto 20px}
