

:root{--ink:#142b3a;--muted:#687d88;--paper:#f3f6f7;--line:#e2e9ec;--teal:#087f78;--lime:#c7ef8a;--navy:#102e3a;--amber:#c98439;--white:#fff}

*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 'Segoe UI',Arial,sans-serif}button,select{font:inherit}button,select{cursor:pointer}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #178f86;outline-offset:4px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}

.topbar{background:var(--navy);color:#fff;padding:22px max(28px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--lime);color:var(--navy);font-size:24px;font-weight:700;display:grid;place-items:center;letter-spacing:-3px;padding-right:3px}.brand-name{font-weight:700;letter-spacing:2px;font-size:14px}.brand-caption{font-size:10px;letter-spacing:2px;color:#b3c6cc}.top-meta{font-size:12px;color:#bdcdd3;display:flex;align-items:center;gap:18px}.edition{border:1px solid #43606c;border-radius:30px;padding:5px 12px;color:#e2edf0}

main{max-width:1336px;margin:auto;padding:38px 28px 24px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;font-weight:700;color:var(--teal);margin-bottom:8px}h1{font-size:clamp(27px,3.4vw,39px);line-height:1.15;letter-spacing:-1.5px;font-weight:650;margin:0 0 12px}h2{font-size:17px;letter-spacing:-.3px;margin:0;font-weight:650}.heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:28px}.subtitle{margin:0;color:var(--muted);font-size:13px}.tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.selector{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;padding:0 12px;gap:8px}.selector label{color:var(--muted);font-size:12px}.selector select{border:0;background:transparent;padding:11px 4px;color:var(--ink);max-width:220px;outline-offset:0}.print{border:1px solid var(--line);background:white;border-radius:10px;padding:11px 16px;color:var(--ink)}.print:hover{background:#e9f0f2}

.metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;margin-bottom:24px}.metric{border-radius:16px;padding:23px 24px 21px;background:white;border:1px solid var(--line);position:relative;overflow:hidden}.metric.primary{background:var(--navy);color:white;border-color:var(--navy)}.metric-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.metric-label{font-size:12px;color:var(--muted)}.primary .metric-label{color:#c6d7dd}.metric-number{font-size:clamp(25px,2.7vw,35px);font-weight:650;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;margin:17px 0 13px;line-height:1.2;white-space:nowrap}.metric-note{font-size:11px;color:var(--muted)}.primary .metric-note{color:#b5cbd2}.metric-symbol{height:30px;min-width:30px;border-radius:9px;display:grid;place-items:center;background:#eef5f3;color:var(--teal);font-weight:600;font-size:13px}.primary .metric-symbol{background:#294954;color:var(--lime)}.period-tag{font-size:10px;color:#254c35;background:var(--lime);padding:4px 9px;border-radius:20px;letter-spacing:.2px}

.charts{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:20px;margin-bottom:24px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.panel-caption{font-size:12px;color:var(--muted);margin-top:5px}.segmented{display:flex;background:#f0f4f5;padding:3px;border-radius:8px;gap:3px}.segmented button{border:0;border-radius:6px;background:transparent;color:var(--muted);padding:6px 10px;font-size:11px;white-space:nowrap}.segmented button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 4px #173b4814;font-weight:600}.bar-wrap{height:290px;position:relative;margin-top:24px}.donut-wrap{height:206px;position:relative;margin:12px auto 10px;max-width:250px}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none}.donut-center strong{font-size:29px;font-weight:650;letter-spacing:-1px}.donut-center span{font-size:11px;color:var(--muted)}canvas{max-width:100%}.legend{display:grid;gap:10px}.legend-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:12px}.legend-label{display:flex;align-items:center;gap:8px}.dot{height:8px;width:8px;border-radius:3px;display:inline-block;background:var(--teal)}.dot.sep{background:var(--amber)}.legend-value{font-weight:600;font-variant-numeric:tabular-nums}.legend-empty{padding:8px;color:var(--muted)}

.detail-panel{padding:0;overflow:hidden}.detail-top{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:23px 24px 19px}.count-tag{color:var(--muted);font-size:11px;border:1px solid var(--line);padding:4px 10px;border-radius:20px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);font-weight:600;text-align:right;padding:13px 24px;background:#f7f9fa;border-block:1px solid var(--line)}td{padding:18px 24px;border-bottom:1px solid #edf1f3;font-size:13px;text-align:right;font-variant-numeric:tabular-nums}th:first-child,td:first-child{text-align:left}td:first-child{font-weight:600}tfoot td{background:#f6f9fa;font-weight:650;border-bottom:none}.status{display:inline-flex;font-size:10px;border-radius:20px;padding:4px 10px;background:#edf3f5;color:#526c78;font-weight:500}.status.partial{background:#fff4e5;color:#8b5c1c}.delta{color:var(--teal);font-weight:600}.month-line{display:flex;align-items:center;gap:10px}.table-note{color:var(--muted);font-size:11px;padding:13px 24px;background:#fff}

.insight{display:flex;gap:15px;align-items:flex-start;border:1px solid #d9e9e5;background:#eaf4ef;border-radius:12px;padding:17px 20px;margin:22px 0;color:#365d51}.insight-mark{font-size:13px;color:var(--teal);font-weight:700;border:1px solid #bdcec6;border-radius:50%;width:22px;height:22px;flex-shrink:0;text-align:center}.insight p{margin:0;font-size:12px;line-height:1.6}.insight strong{font-weight:650}

details{font-size:12px;color:var(--muted);padding:0 2px}summary{width:fit-content;cursor:pointer;color:#45616e;font-weight:600;padding:6px 0}details p{max-width:1000px;margin:9px 0 5px;line-height:1.7}footer{display:flex;justify-content:space-between;gap:16px;margin-top:28px;border-top:1px solid #dce5e9;padding-top:18px;font-size:10px;color:var(--muted);letter-spacing:.3px}.source-link{color:inherit;text-decoration-color:#a2b7c0;text-underline-offset:3px}.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:1050px){.heading{align-items:start;flex-direction:column}.charts{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.metrics{gap:12px}.metric{padding:20px}.panel-head{flex-wrap:wrap}th,td{padding-left:17px;padding-right:17px}}

@media(max-width:760px){.topbar{padding:18px 20px}.top-meta .date{display:none}main{padding:26px 16px 20px}.metrics{grid-template-columns:1fr}.metric-number{font-size:32px;margin:12px 0 8px}.metric{padding:19px 22px}.charts{grid-template-columns:1fr}.panel{padding:20px}.detail-panel{padding:0}.bar-wrap{height:260px}.donut-wrap{height:210px}.heading{gap:20px}.tools{width:100%}.selector{flex:1}.selector select{width:100%;max-width:none}.detail-top{padding:20px}.insight{padding:15px}.brand-caption{font-size:9px}.edition{font-size:10px}footer{flex-direction:column;gap:5px}}

@media(prefers-reduced-motion:reduce){*{transition:none!important}}

@media print{body{background:white;font-size:11px}.topbar{padding:16px 24px;-webkit-print-color-adjust:exact;print-color-adjust:exact}.tools,.segmented,details{display:none!important}main{padding:20px 0}.heading{margin-bottom:18px}.metrics{grid-template-columns:1.2fr 1fr 1fr}.metric,.panel,.insight{-webkit-print-color-adjust:exact;print-color-adjust:exact;break-inside:avoid}.metric-number{font-size:23px}.charts{grid-template-columns:1.7fr 1fr}.bar-wrap{height:230px}.panel{padding:18px}.donut-wrap{height:170px}.table-scroll{overflow:visible}th,td{padding:11px 13px}.insight{margin:16px 0}.detail-panel{padding:0}footer{margin-top:14px}@page{size:A4 landscape;margin:10mm}}



.sync-status{margin:-12px 0 24px;padding:12px 16px;border-radius:10px;background:#e9eff2;color:#496573;font-size:12px}.sync-status.success{background:#eaf4ef;color:#28634e}.sync-status.error{background:#fff0e9;color:#98401c}.print:disabled{opacity:.5;cursor:default}.connect-button{background:#087f78;color:#fff;border:0;border-radius:10px;padding:12px 16px;font:inherit;cursor:pointer}.connect-button:disabled{opacity:.5}dialog{border:1px solid #d5e1e5;border-radius:16px;padding:28px;color:#142b3a;width:min(480px,calc(100% - 40px));box-shadow:0 20px 100px #102e3a44}dialog::backdrop{background:#102e3a77}dialog h2{margin:0 0 12px}dialog p{font-size:12px;color:#617487}dialog label.field{display:block;font-size:12px;margin-top:17px}dialog input[type=password]{width:100%;padding:11px;border:1px solid #cbd8df;border-radius:8px;margin-top:5px;font:inherit}dialog .remember{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin:17px 0}dialog .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}#connection-error{font-size:12px;color:#98401c;min-height:20px}.disconnect{background:transparent;color:#98401c;border:0;font:inherit;font-size:12px;padding:8px;cursor:pointer}@media print{.sync-status,#connection,#refresh,dialog{display:none!important}}



[hidden]{display:none!important}.login-screen{min-height:calc(100vh - 85px);display:grid;place-items:center;padding:30px}.login-card{background:white;border:1px solid #d8e3e8;border-radius:20px;padding:36px;width:min(420px,100%);box-shadow:0 18px 70px #102e3a0c}.login-card h1{font-size:28px}.login-card p{color:#687d88}.login-card label{display:block;font-size:12px;margin:17px 0}.login-card input,dialog input,dialog select{width:100%;border:1px solid #cbd8df;border-radius:8px;padding:11px;font:inherit;margin-top:5px}.login-card button{width:100%;margin-top:12px}#login-error,#users-error,#password-error{color:#98401c;min-height:20px;font-size:12px}#users-list{max-height:180px;overflow:auto;background:#f3f6f7;border-radius:8px;padding:10px;font-size:12px}.sync-status.error{border:1px solid #edcab8}#retry-connection{margin-left:12px}.print:disabled{opacity:.45;cursor:default}@media print{.login-screen,#users-button,#password-button,#logout-button{display:none!important}}

.module-nav{display:flex;gap:8px;margin:0 0 28px;padding:6px;background:#e7edef;border-radius:12px;width:fit-content;flex-wrap:wrap}.module-nav button{border:0;background:transparent;padding:12px 20px;border-radius:9px;font:600 13px 'Segoe UI',sans-serif;color:#536b77;cursor:pointer}.module-nav button.active{background:#fff;color:#087f78;box-shadow:0 2px 6px #142b3a15}.ops-heading{display:flex;justify-content:space-between;gap:16px;align-items:start;margin:25px 0 18px}.ops-heading h2{font-size:24px;margin:8px 0}.ops-heading p,.ops-footnote{color:#657b87;font-size:12px;line-height:1.7}.ops-metrics{display:flex;gap:16px;margin:22px 0}.ops-kpi{background:#fff;border:1px solid #d8e3e8;border-radius:12px;padding:18px 24px;flex:1}.ops-kpi span{display:block;color:#657b87;font-size:12px}.ops-kpi strong{display:block;font-size:28px;margin-top:8px}.ops-filters{display:flex;gap:14px;align-items:end}.ops-filters label{font-size:12px;color:#536b77;display:block}.ops-filters label:first-child{flex:1}.ops-filters input,.ops-filters select{display:block;width:100%;min-width:200px;padding:12px;margin-top:7px;border:1px solid #cbd8df;border-radius:9px;font:inherit;background:#fff;color:#142b3a}.ops-status{font-size:12px;color:#657b87;margin:16px 0}.ops-table small,#order-items small{display:block;color:#687d88;font-size:11px;margin-top:5px}.ops-table td{white-space:normal!important;text-align:left!important}.ops-table td:nth-child(4){white-space:nowrap!important}.ops-table .print{white-space:nowrap}.state-badge{display:inline-block;border-radius:20px;background:#e9eef2;color:#496573;padding:7px 10px;font-size:11px;font-weight:600}.state-badge.picking{background:#fff2dc;color:#875b16}.state-badge.ready{background:#ddf1ec;color:#186d5c}.state-badge.shipped{background:#e0eafb;color:#395e9b}.state-badge.review{background:#fde5df;color:#a84428}.order-dialog{width:min(1050px,calc(100vw - 60px));max-height:90vh;overflow:auto}.order-dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.order-dialog-head h2{margin-top:8px}#order-state{margin-bottom:18px}.order-dialog table{min-width:600px}#order-items td{text-align:left;white-space:normal}#order-items td:first-child{min-width:240px}#order-items td span{display:block;margin-top:4px}#order-items input{max-width:125px;min-width:80px;margin:0;padding:8px}#order-error{font-size:12px;color:#875b16;min-height:22px;margin-top:18px}.ops-warning{padding:12px;background:#fff2dc;border-radius:9px;color:#875b16!important}.shipping-grid{display:grid;grid-template-columns:2fr 1fr;gap:15px;margin-bottom:18px}.shipping-grid label{font-size:12px}.shipping-grid input,.shipping-grid textarea{display:block;width:100%;padding:11px;border:1px solid #cbd8df;border-radius:8px;font:inherit;margin-top:7px}.shipping-summary{padding:16px;background:#edf4f6;margin-top:18px;border-radius:10px}.order-audit li{font-size:12px;color:#657b87;line-height:1.9}.order-audit{margin-top:22px}.ops-footnote{margin-top:18px}@media(max-width:900px){.ops-metrics{gap:10px}.ops-kpi{padding:16px}.ops-filters{flex-wrap:wrap}.shipping-grid{grid-template-columns:1fr}.module-nav{width:100%}.module-nav button{flex:1}.ops-heading{flex-wrap:wrap}}@media print{.module-nav,.ops-filters,.ops-footnote,.ops-access{display:none!important}.order-print>header,.order-print>main,.order-print>.login-screen{display:none!important}body.order-print #order-dialog{display:block!important;position:static;max-height:none;width:100%;border:0;box-shadow:none;margin:0;padding:0;overflow:visible}body.order-print #order-dialog::backdrop{display:none}body.order-print #close-order,body.order-print #order-actions,body.order-print #shipping-form,body.order-print #order-error{display:none!important}body.order-print #order-items input{border:1px solid #ccc}body.order-print #order-items{overflow:visible}body.order-print .order-audit{display:none}}

.order-documents{border:1px solid #d8e3e8;background:#f7fafb;border-radius:12px;padding:18px;margin:18px 0}.documents-heading{display:flex;justify-content:space-between;align-items:start;gap:15px}.documents-heading h3{font-size:15px;margin:0}.documents-heading p{margin-bottom:4px}.document-row{display:flex;gap:18px;align-items:center;justify-content:space-between;background:white;border:1px solid #e2eaed;padding:13px;border-radius:9px;margin-top:10px}.document-row strong{font-size:12px;display:block}.document-row small{display:block;font-size:11px;line-height:1.6;color:#657b87;margin-top:4px}.document-row button{white-space:nowrap}#documents-status{font-size:12px;color:#536b77;line-height:1.6}.documents-note{font-size:11px!important;color:#687d88!important;margin-bottom:0}@media print{.order-documents{display:none!important}}

.document-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.document-row>div:first-child{flex:1}.document-actions button{padding:10px 14px}
.products-top{display:flex;align-items:start;justify-content:space-between;gap:18px;margin:24px 0 22px}.products-top h2{font-size:27px;margin:8px 0 10px}.products-top p{color:#687d88;font-size:12px}.products-unit-label{font-size:12px;color:#536b77;min-width:150px}.products-unit-label select{display:block;width:100%;margin-top:7px;padding:11px 14px;border:1px solid #cbd8df;border-radius:9px;background:#fff;color:#142b3a;font:inherit}.products-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{padding:24px;background:white;border:1px solid #d8e3e8;border-top:4px solid #087f78;border-radius:14px}.product-20x25{border-top-color:#c98439}.product-30x42{border-top-color:#4268ac}.product-format{font-size:13px;font-weight:700;letter-spacing:.04em;color:#536b77}.product-card-quantities{margin:16px 0}.product-card-quantities>strong{font-size:38px}.product-card-quantities>span{display:block;margin-top:6px;font-size:12px;color:#687d88}.product-quantity-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.product-quantity-row strong{font-size:40px;line-height:1.2;letter-spacing:-1px}.product-quantity-row span{font-size:14px;color:#657b87}.product-card p{font-size:11px;color:#687d88;margin:10px 0 0}.products-total-strip{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:20px 0;padding:20px 25px;border-radius:12px;background:#102f3a;color:white}.products-total-strip span{display:block;font-size:10px;letter-spacing:.12em;color:#c0d3dc;margin-bottom:8px}.products-total-strip strong{font-size:26px;display:inline-block;margin-right:20px}.products-total-strip p{max-width:390px;color:#c0d3dc;font-size:12px;line-height:1.7;margin:0}.products-charts{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;margin:22px 0}.products-chart-wrap{position:relative;height:280px}.products-warning{background:#fff2dc;color:#875b16;border:1px solid #eed7aa;border-radius:10px;padding:14px;line-height:1.6;font-size:12px}#products-details td{white-space:normal}#products-details td:nth-child(2){text-align:left;min-width:260px;max-width:440px}#products-details td small{display:block;font-size:11px;line-height:1.5;color:#687d88;margin-top:5px}#products-other,#products-asof{font-size:12px;line-height:1.7}@media(max-width:900px){.products-cards{gap:10px}.product-card{padding:18px}.product-quantity-row strong{font-size:32px}.products-charts{grid-template-columns:1fr}.products-total-strip{flex-wrap:wrap}.products-top{flex-wrap:wrap}.products-total-strip p{max-width:none}}@media print{.products-unit-label{display:none}.product-card,.products-total-strip{-webkit-print-color-adjust:exact;print-color-adjust:exact}.product-quantity-row strong{font-size:28px}.products-charts{grid-template-columns:1fr 1.2fr}.products-chart-wrap{height:220px}.products-top h2{font-size:21px}.products-total-strip{padding:14px 20px}}

.products-month-control{margin:22px 0}.month-future td,.month-no-records td,.month-partial-no-records td{color:#8798a1;background:#f7fafb}.month-partial td{background:#edf6f2}.month-partial td:last-child{color:#186d5c;font-weight:700}.products-month-control th{white-space:nowrap}.products-month-control td:last-child{font-size:11px}
.geo-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin:24px 0}.geo-heading h2{font-size:27px;margin:8px 0 10px}.geo-heading p{color:#687d88;font-size:12px}.geo-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.geo-kpi{background:#fff;padding:18px 20px;border:1px solid #d8e3e8;border-radius:12px}.geo-kpi span{display:block;font-size:11px;color:#687d88}.geo-kpi strong{display:block;font-size:29px;margin-top:10px}.geo-filters{display:grid;grid-template-columns:1fr .7fr 1.6fr 1fr 1.2fr 1.5fr;gap:12px;margin:22px 0}.geo-filters label{font-size:11px;color:#536b77}.geo-filters select,.geo-filters input{display:block;width:100%;margin-top:7px;border:1px solid #cbd8df;border-radius:9px;background:#fff;color:#142b3a;padding:11px;font:inherit;min-width:0}.geo-location-note{background:#edf4f6;border-left:3px solid #5e8fa3;padding:12px 15px;font-size:12px;line-height:1.6;color:#496573;margin-bottom:20px}.geo-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:18px;margin:20px 0}.geo-map-panel{padding:18px;min-width:0}.geo-map-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.geo-map-top h3,.geo-legend-panel h3{margin:0;font-size:15px}.geo-map-count{font-size:11px;color:#687d88;margin:8px 0 14px}#geo-map{height:560px;background:#f0f6f8;border:1px solid #d9e6ec;border-radius:10px;z-index:0;font-family:'Segoe UI',Arial,sans-serif}.geo-map-key{font-size:11px;color:#687d88;line-height:1.6;margin:12px 0 0}.geo-legend-panel{padding:22px 18px}.geo-legend-panel>p{font-size:11px;color:#687d88;line-height:1.6}.geo-legend-button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid #e1e9ed;background:white;border-radius:9px;padding:13px 10px;margin:9px 0;text-align:left;color:#203e4d;cursor:pointer}.geo-legend-button[aria-pressed=true]{border-color:#087f78;background:#eef7f3}.geo-legend-button>span:nth-child(2){font-size:11px;line-height:1.5;flex:1}.geo-legend-button strong{font-size:16px}.geo-dot{display:inline-block;flex:0 0 11px;width:11px;height:11px;border-radius:50%;border:1px solid #ffffffaa;box-shadow:0 0 0 1px #19354115}.geo-city-pin{border:3px solid white;border-radius:50%;box-shadow:0 2px 9px #203e4d66;display:flex;align-items:center;justify-content:center}.geo-city-pin>span{display:flex;align-items:center;justify-content:center;border-radius:50%;background:white;width:23px;height:23px;font:700 12px 'Segoe UI',sans-serif;color:#203e4d}.geo-popup h3{font-size:14px;margin:0 0 7px}.geo-popup>p{font-size:11px;color:#687d88;line-height:1.6}.geo-popup-list{max-height:270px;overflow:auto}.geo-popup-list section{border-top:1px solid #e1eaee;padding:12px 0}.geo-popup-list strong{font-size:12px;line-height:1.4;display:block}.geo-popup-list p{font-size:11px!important;line-height:1.6;margin:7px 0!important}.geo-popup-list small{font-size:10px;color:#687d88}.geo-popup-distributor,.geo-distributor-cell{display:flex;gap:7px;align-items:center;margin-top:7px}.geo-popup-distributor{font-size:11px}.geo-distributor-cell{margin:0;line-height:1.5}.geo-pagination{display:flex;align-items:center;justify-content:center;gap:18px;font-size:12px;color:#687d88;padding:15px}.geo-region-panel{margin:22px 0}#geo-clients td{white-space:normal;text-align:left!important;font-size:11px}#geo-clients td:first-child{min-width:190px;max-width:300px}#geo-clients td:nth-child(4){min-width:165px;max-width:230px}#geo-clients td small{display:block;font-size:10px;line-height:1.5;color:#687d88;margin-top:5px}#geo-clients .print{white-space:nowrap;padding:9px 11px;font-size:11px}.geo-total-row td{font-weight:700;background:#edf4f6}#geo-source{font-size:12px;line-height:1.7}.leaflet-container a{color:#32647c}.leaflet-popup-content{font-family:'Segoe UI',Arial,sans-serif}.leaflet-control-attribution{font-size:9px!important}.leaflet-control-zoom a{color:#203e4d}@media(max-width:1100px){.geo-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.geo-layout{grid-template-columns:minmax(0,2.4fr) minmax(220px,1fr)}.geo-kpi{padding:16px 14px}}@media(max-width:800px){.geo-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.geo-layout{grid-template-columns:1fr}.geo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#geo-map{height:440px}.geo-legend-panel{display:block}#geo-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.geo-legend-button{margin:0}.geo-heading{flex-wrap:wrap}}@media print{.geo-filters,#geo-refresh,.geo-map-top button,.geo-pagination{display:none!important}.geo-layout{grid-template-columns:3fr 1fr}.geo-location-note,.geo-kpi,.geo-legend-button,.geo-dot,.geo-city-pin,.geo-total-row{-webkit-print-color-adjust:exact;print-color-adjust:exact}#geo-map{height:380px}.geo-legend-panel{padding:10px}.geo-legend-button{padding:8px 6px;break-inside:avoid}.geo-metrics{gap:8px}.geo-kpi{padding:10px}.geo-kpi strong{font-size:20px}.geo-layout{break-inside:avoid}}

.geo-metrics{background:white;border:1px solid #d8e3e8;border-radius:12px;gap:0}.geo-kpi{display:flex;align-items:center;gap:12px;padding:14px 16px;border:0;border-right:1px solid #e1e9ed;border-radius:0;background:transparent}.geo-kpi:last-child{border-right:0}.geo-kpi strong{order:-1;font-size:25px;margin:0}.geo-kpi span{line-height:1.5}.geo-map-panel{padding:15px}.geo-map-top{min-height:34px}.geo-map-count{margin-bottom:10px}@media(max-width:800px){.geo-kpi{border-right:0}.geo-metrics{gap:0}}
.geo-edit-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:14px 0 22px}.geo-edit-toolbar p{font-size:12px;color:#687d88;line-height:1.6;margin:0}.geo-edit-dialog{width:min(1000px,calc(100vw - 50px));max-height:90vh;overflow:auto}.geo-edit-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.geo-edit-head h2{margin:8px 0}.geo-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin-top:16px}.geo-form-grid>label{font-size:12px}.geo-form-grid fieldset{border:1px solid #d5e1e5;border-radius:9px;padding:10px 14px}.geo-form-grid legend{font-size:12px}.geo-form-grid fieldset label{display:inline-flex;align-items:center;gap:7px;font-size:12px;margin-right:18px}.geo-form-grid input[type=checkbox]{width:auto;margin:0}.geo-map-pick-actions{display:flex;gap:10px;flex-wrap:wrap}.geo-form-note{font-size:11px;line-height:1.7}#geo-edit-error{color:#98401c;font-size:12px;min-height:22px}.geo-origin{border-radius:4px;width:fit-content;padding:3px 6px}.geo-origin.local{background:#e1eafa;color:#345d99!important}.geo-origin.adjusted{background:#fff2dc;color:#875b16!important}#geo-clients td:last-child{min-width:150px}#geo-clients td:last-child button{margin:3px}.geo-sales-panel{border:1px solid #d8e3e8;border-radius:12px;background:white;padding:18px;margin:18px 0}.geo-sales-tools{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.geo-sales-tools label{font-size:11px;color:#536b77;min-width:180px}.geo-sales-tools select{display:block;font:inherit;border:1px solid #cbd8df;border-radius:8px;padding:10px;margin-top:6px;background:white;color:#142b3a;min-width:180px}#geo-sales-note{font-size:11px;line-height:1.7;color:#657b87}#geo-heat-legend{display:flex;align-items:center;gap:2px;font-size:11px;color:#657b87}.geo-heat-swatch{width:35px;height:12px}#geo-heat-legend>span:last-child{margin-left:10px}#geo-sales-ranking{display:flex;gap:15px;flex-wrap:wrap;margin-top:14px}#geo-sales-ranking>div{padding:10px 14px;background:#f3f7f8;border-radius:8px;font-size:12px}#geo-sales-ranking strong{display:block;margin-bottom:4px}.geo-person-pin{width:26px;height:26px;border:2px solid white;border-radius:50%;box-shadow:0 2px 5px #142b3a80;display:flex;align-items:center;justify-content:center;font:700 10px 'Segoe UI',sans-serif;color:white}.geo-filters{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:800px){.geo-form-grid{grid-template-columns:1fr}.geo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-edit-toolbar{flex-wrap:wrap}}@media print{.geo-edit-toolbar,.geo-sales-tools,#geo-edit-dialog,#geo-pick-note{display:none!important}.geo-person-pin,.geo-heat-swatch{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.commission-top{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:22px 0}.commission-top h2{margin:0 0 8px}.commission-top p{max-width:880px;font-size:13px;color:#527180;line-height:1.6}.commission-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.commission-filters label{font-size:12px;color:#527180}.commission-filters select,.commission-filters input{width:100%;display:block;margin-top:7px;padding:11px;border:1px solid #ccdee4;border-radius:8px;background:white;color:#163b48}.commission-chart{height:300px;padding:12px 24px}.commission-details{min-width:1250px}.commission-details td{vertical-align:top}.commission-details small{display:block;line-height:1.5;margin-top:6px;color:#527180}.commission-badge{display:inline-block;border-radius:7px;padding:5px 9px;background:#fff1dc;color:#855119;font-size:11px;font-weight:650}.commission-badge.eligible{background:#d9f2e6;color:#176648}.commission-badge.review{background:#eef1f5;color:#5a6473}@media(max-width:1000px){.commission-filters{grid-template-columns:repeat(2,1fr)}}@media print{.commission-filters,#commission-refresh{display:none!important}#commissions-view .table-scroll{overflow:visible}#commissions-view table{min-width:0;font-size:9px}#commissions-view td,#commissions-view th{padding:6px}#commissions-view small{font-size:8px}#commissions-view .commission-top p{font-size:10px}.commission-chart{height:200px}}

#commission-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}#commission-metrics .geo-kpi{display:block}#commission-metrics strong{margin-top:8px;font-size:26px}@media(max-width:850px){#commission-metrics{grid-template-columns:repeat(2,1fr)}}

.commission-details{width:100%;table-layout:fixed}.commission-details td,.commission-details th{white-space:normal!important;text-align:left!important;overflow-wrap:break-word}.commission-details th:nth-child(1){width:18%}.commission-details th:nth-child(2){width:16%}.commission-details th:nth-child(3){width:12%}.commission-details th:nth-child(4){width:9%}.commission-details th:nth-child(5){width:14%}.commission-details th:nth-child(6){width:10%}.commission-details th:nth-child(7){width:21%}@media print{.commission-details tr{break-inside:avoid}}

.commission-alert{padding:12px 16px;background:#fff3dc;border:1px solid #edcf9d;border-radius:10px;color:#855119;line-height:1.6;font-size:12px}

#commission-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}#commission-metrics strong{font-size:23px}.commission-details .print{font-size:11px;padding:7px 9px;margin-top:10px}.payout-dialog{width:min(800px,95vw);max-height:90vh;border:1px solid #cbdde4;border-radius:16px;padding:28px;color:#173845}.payout-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.payout-dialog label{display:block;font-size:12px;color:#527180}.payout-dialog input,.payout-dialog textarea{display:block;width:100%;padding:11px;margin:6px 0;border:1px solid #c7dae1;border-radius:8px;font:inherit}.payout-dialog p{line-height:1.6;font-size:12px}.payout-entry{padding:16px;border:1px solid #d7e4e9;border-radius:10px;margin:12px 0}.payout-entry small{color:#955832}#payout-error{color:#a12d37}#payout-dialog section{margin-top:25px}#payout-void-form{margin-top:20px;padding:18px;background:#fff3e3;border-radius:10px}@media(max-width:950px){#commission-metrics{grid-template-columns:repeat(2,1fr)}.payout-fields{grid-template-columns:1fr}}@media print{#commission-detail-rows button,#payout-dialog{display:none!important}}

.geo-create-buttons{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.geo-edit-shortcuts{display:flex;align-items:end;gap:12px;margin:14px 0}.geo-edit-shortcuts label{display:block;flex:1;max-width:700px;color:#527180;font-size:12px}.geo-edit-shortcuts select{display:block;width:100%;padding:11px;margin-top:7px;border:1px solid #c7dbe2;background:white;color:#173845;border-radius:9px;font:inherit}.geo-edit-shortcuts button{white-space:nowrap}#geo-edit-access{margin:10px 0 16px}@media(max-width:850px){.geo-edit-toolbar,.geo-edit-shortcuts{align-items:stretch;flex-direction:column}.geo-create-buttons{width:100%}}@media print{.geo-edit-toolbar,.geo-edit-shortcuts,#geo-edit-access{display:none!important}}

.geo-lookup-input{display:flex;align-items:center;gap:8px}.geo-lookup-input input{min-width:0;flex:1}.geo-lookup-input .print{white-space:nowrap;font-size:11px;padding:10px 12px;flex-shrink:0}#geo-lookup-status{padding:10px 12px;border-radius:8px;background:#eef6f4;color:#275e55;line-height:1.6}#geo-lookup-status.lookup-error{background:#fff0e5;color:#9b4a20}
.agenda-tools{display:flex;flex-wrap:wrap;gap:14px;margin:20px 0}.agenda-tools label{display:grid;gap:6px;font-size:13px;color:#506878}.agenda-tools input,.agenda-tools select{padding:10px;border:1px solid #d6e2e6;border-radius:8px;background:white}.agenda-layout{display:grid;grid-template-columns:minmax(420px,1fr) minmax(350px,1fr);gap:20px}.agenda-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;padding:18px}.agenda-calendar>strong{text-align:center;font-size:12px;padding:7px}.agenda-calendar button{min-height:72px;border:1px solid #e0e8eb;background:#f8fafb;border-radius:9px;color:#183e4b;cursor:pointer;text-align:left;padding:9px;font-weight:700}.agenda-calendar small{display:block;font-size:10px;margin-top:8px;font-weight:400}.agenda-calendar .today{border:2px solid #739a60}.agenda-calendar .selected{background:#153e4b;color:white}.agenda-list{padding:0 20px 20px;max-height:650px;overflow:auto}.agenda-item{border-left:4px solid #628e9b;border-bottom:1px solid #e0e8eb;padding:15px;margin-bottom:12px}.agenda-item.validacao{border-left-color:#9871b5}.agenda-item.outro{border-left-color:#d6a353}.agenda-item h3{margin:12px 0 7px}.agenda-item p{font-size:13px;color:#526c7b;margin:7px 0}#agenda-dialog input,#agenda-dialog select,#agenda-dialog textarea{width:100%;padding:10px;border:1px solid #d6e2e6;border-radius:8px}#agenda-dialog .payout-fields label{min-width:0}#agenda-message{font-size:13px;color:#506878}@media(max-width:1100px){.agenda-layout{grid-template-columns:1fr}}@media print{.agenda-tools,#agenda-new,.agenda-item button{display:none}.agenda-list{max-height:none;overflow:visible}.agenda-layout{display:block}.agenda-item{break-inside:avoid}}

.agenda-service-legend{display:flex;gap:8px;flex-wrap:wrap;padding:0 20px 5px}.agenda-service-chip{display:block;background:#dbeafe;color:#154c92;border-left:3px solid #2563eb;border-radius:5px;padding:4px 5px;font-size:10px;font-weight:600;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.agenda-service-chip.validacao{background:#f0e5fc;color:#65348b;border-left-color:#9333c0}.agenda-service-chip.outro{background:#fff0d2;color:#82500b;border-left-color:#ca8412}.agenda-service-legend .agenda-service-chip{font-size:12px;padding:5px 9px}.agenda-calendar button{min-width:0;vertical-align:top}.agenda-calendar button.has-services{background:#edf3f8}.agenda-calendar button .agenda-service-chip{margin-top:5px;text-align:left}.agenda-calendar button.selected{background:#153e4b}.agenda-item.instalacao{border-left-color:#2563eb}.agenda-item.validacao{border-left-color:#9333c0}.agenda-item.outro{border-left-color:#ca8412}@media print{.agenda-service-chip{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.company-logo-wrap{background:white;border-radius:9px;padding:6px 10px;flex-shrink:0}.company-logo{display:block;width:120px;height:auto;object-fit:contain}.order-brand{display:flex;align-items:center;gap:24px;min-width:0;flex:1}.order-brand>div{min-width:0;overflow-wrap:anywhere}.order-logo{display:block;width:160px;max-width:30%;height:auto;object-fit:contain;flex-shrink:0}.order-dialog-head{margin-bottom:18px}@media(max-width:760px){.company-logo{width:100px}.brand-name{font-size:12px;letter-spacing:1px}.brand-caption{letter-spacing:1px}.order-brand{gap:14px}.order-logo{width:125px}}@media print{.company-logo{width:34mm;height:auto}.company-logo-wrap{padding:2mm;background:white}.order-print .order-logo{width:45mm;height:auto;max-width:30%;object-fit:contain}.order-print .order-brand{gap:7mm}.order-print .order-dialog-head{break-inside:avoid;margin-bottom:6mm}.order-print .order-logo{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.order-release{border:1px solid #cbdde5;background:#f3f8f8;padding:18px;border-radius:12px;margin:20px 0}.order-release h3{margin:0 0 10px}.order-release li{font-size:12px;padding:5px 0}.order-release .release-ok{color:#246b50}.order-release .release-missing{color:#9b5025}.order-release label{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6}.order-release input[type=checkbox]{width:18px;height:18px;margin:1px 0;flex-shrink:0}.state-badge.separated{background:#fff1dd;color:#875b16}#order-release-audit{font-size:11px;color:#527180}.ops-metrics{flex-wrap:wrap}.ops-kpi{min-width:180px}@media print{.order-release{display:none!important}}

.benchmark-panel{margin:0 0 20px;padding:16px 20px}.benchmark-panel summary{font-weight:600;cursor:pointer}.benchmark-panel h3{font-size:14px;margin:20px 0 6px}.benchmark-panel p{font-size:12px;color:#526c7b}.benchmark-panel td,.benchmark-panel th{padding:10px;font-size:11px;text-align:left!important;white-space:nowrap}.benchmark-panel table{min-width:850px}.benchmark-panel section{margin:10px 0 20px}#ops-month{min-width:160px}@media print{.benchmark-panel{display:none!important}}

.ops-filters #ops-month-label{flex:0 0 180px}.ops-filters label:nth-child(2){flex:1;min-width:220px}

.settings-panel{padding:26px;margin-bottom:20px;max-width:900px}.settings-panel h2{font-size:21px;margin:0 0 20px}.settings-panel p{font-size:13px;line-height:1.7;color:#527180}.settings-switch{display:flex;align-items:flex-start;gap:14px;cursor:pointer}.settings-switch input{width:20px;height:20px;margin:2px 0;accent-color:#087f78}.settings-switch strong{display:block;font-size:15px}.settings-switch small{display:block;color:#657b87;font-size:12px;margin-top:8px;line-height:1.6}.settings-help{margin-top:22px}.manual-release{font-size:12px;line-height:1.7;color:#526c7b;margin:20px 0}.manual-release p{margin:5px 0}.state-badge.released{background:#e7effb;color:#365d94}.module-nav button{padding:11px 14px}@media print{#settings-view{display:none!important}}

.monthly-on-demand{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:22px 0;color:#687d88}.monthly-on-demand p{margin:0}.monthly-on-demand #monthly-error{color:#a13e2e}

.access-panel{margin-bottom:20px;padding:26px}.access-panel p{color:#687d88;font-size:13px;line-height:1.7}.access-table{width:100%;min-width:620px;border-collapse:collapse}.access-allowed{color:#087f78;font-weight:600}.access-denied{color:#8b9ca5}.access-dialog{width:min(900px,95vw);max-width:95vw}.access-users{max-height:340px!important;overflow:auto;background:#f3f6f7}.access-user-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(150px,1fr) 80px 130px;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #d8e3e8}.access-user-row label{display:flex;align-items:center}.access-user-row input[type=checkbox]{width:auto;margin:0 5px 0 0}.access-user-row select{margin:0}.access-user-row .print{padding:10px}.access-dialog #users-update-message{font-size:13px;color:#087f78}.access-dialog #user-form{border-top:1px solid #d8e3e8;margin-top:15px;padding-top:10px}@media(max-width:650px){.access-user-row{grid-template-columns:1fr 1fr}}

.ops-module-access{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px;margin:0 0 20px;background:white;border:1px solid #d8e3e8;border-radius:12px;color:#274857}.ship-check-label{display:flex;gap:10px;align-items:center;margin:20px 0}.ship-check-label input[type=checkbox]{width:auto;margin:0}#ops-login-form>label{display:block;margin:18px 0}#ops-login-error{color:#98401c}#ops-login-dialog{width:min(460px,95vw)}

#geo-map{background:#eef5f7}.geo-state-label-shell{pointer-events:none!important}.geo-state-label{display:block;text-align:center;font-size:11px;font-weight:700;letter-spacing:.06em;color:#325165;text-shadow:0 1px 2px #fff,1px 0 2px #fff,-1px 0 2px #fff;opacity:.8}

.ct-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px}.ct-intro p,.ct-editor p,.ct-meta p{color:#647b88;line-height:1.65}.ct-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.ct-metrics article{background:white;border:1px solid #d8e3e8;border-radius:14px;padding:22px}.ct-metrics strong{display:block;font-size:30px;margin-top:8px}.ct-list-panel,.ct-editor,.ct-meta{padding:26px;margin:20px 0}.ct-filters{display:grid;grid-template-columns:2fr 1fr;gap:20px}.ct-table{width:100%;border-collapse:collapse}.ct-table td,.ct-table th{text-align:left;padding:16px 10px;border-bottom:1px solid #e4ebef}.ct-table td small{display:block;margin-top:5px;color:#718896}.ct-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.ct-fields label{display:flex;flex-direction:column;gap:8px}.ct-fields input,.ct-fields select{width:100%}.ct-fields input:disabled,.ct-fields select:disabled{background:#f4f7f8;color:#315162}.ct-steps{display:flex;gap:12px;margin:20px 0}.ct-step{flex:1;border-radius:9px;background:#eef3f5;color:#6d818d;padding:15px}.ct-step.current{background:#daf1ec;color:#007d73;font-weight:700}.ct-step.done{background:#e8f2f7;color:#315f7c}.ct-document-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:28px}.ct-document-grid section,.ct-notifications{border:1px solid #d8e3e8;background:#f8fafb;border-radius:12px;padding:20px}.ct-file{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dce6ea;padding:14px 0;margin-top:12px;overflow-wrap:anywhere}.ct-file small{display:block;color:#69818e;margin-top:5px}.ct-notifications{margin:22px 0}.ct-stage{display:inline-block;border-radius:20px;padding:7px 12px;background:#eef3f5;font-size:12px}.ct-stage.drafting{background:#fff0d6;color:#875d1d}.ct-stage.available{background:#dff1e9;color:#18745a}.ct-notice{padding:9px 0;border-bottom:1px solid #dde7eb;color:#47606d}.ct-enable{display:flex;gap:9px;align-items:center}.ct-enable input{width:auto}#ct-error{color:#a13e2e;white-space:pre-line}#ct-cep-message,#ct-meta-message{font-size:12px;color:#5f7885}@media(max-width:800px){.ct-intro{align-items:flex-start;flex-direction:column}.ct-fields,.ct-document-grid,.ct-filters{grid-template-columns:1fr}.ct-metrics{grid-template-columns:1fr}.ct-steps{flex-direction:column}}@media print{.ct-meta,.ct-filters,#ct-new,#ct-refresh,#ct-form .actions,.ct-document-grid button{display:none!important}}

.ct-fields input,.ct-fields select,.ct-filters input,.ct-filters select{padding:13px 14px;border:1px solid #cbdce5;border-radius:9px;background:#fff;color:#153849;font:inherit;min-height:44px}.ct-fields input:focus,.ct-fields select:focus{outline:2px solid #8ed6d2;outline-offset:1px}.ct-field-title{grid-column:1/-1;margin:10px 0 0;padding-top:14px;border-top:1px solid #e1e9ed;font-size:16px}.ct-intro .actions,#ct-form .actions{display:flex;gap:12px;flex-wrap:wrap}#ct-error.ct-success{color:#087f78}

.ct-address-tools{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px;background:#eef7f6;border:1px solid #d4e9e5;border-radius:10px}.ct-address-tools p{margin:0}.ct-address-tools button{flex-shrink:0}@media(max-width:800px){.ct-address-tools{align-items:flex-start;flex-direction:column}}

#delivery-form select{display:block;width:100%;padding:11px;border:1px solid #cbd8df;border-radius:8px;font:inherit;margin-top:7px;background:#fff;color:#142b3a}#delivery-summary{font-size:13px;overflow-wrap:anywhere}#delivery-summary .delivery-notes{white-space:pre-wrap}#delivery-summary small{color:#657b87}@media print{body.order-print #delivery-form{display:none!important}body.order-print #order-delivery{break-inside:avoid}}

.delivery-instructions{margin-top:9px;padding:9px 11px;border-left:3px solid #087f78;background:#edf6f4;border-radius:5px;font-size:12px;color:#245451;max-width:350px;overflow-wrap:anywhere}.delivery-instructions strong{font-size:12px}.delivery-instructions p{margin:6px 0 0;white-space:pre-wrap;line-height:1.5}.ops-table .delivery-instructions{white-space:normal}

.eq-intro .eq-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.eq-controls label{font-size:13px}.eq-controls input{display:block;width:110px;padding:10px;border:1px solid #cbd8df;border-radius:8px}.eq-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.eq-chart{height:300px;position:relative}.eq-method{border-left:4px solid #087f78}.eq-method p,#eq-message,#eq-dates{font-size:13px;line-height:1.6;color:#536b77}#equipment-view .panel{margin-bottom:20px}.ct-closing{margin:24px 0;padding:20px;border:1px solid #b9dcd4;border-radius:10px;background:#f1f9f6}.ct-closing textarea{width:100%;font:inherit}.ct-stage.closed{background:#ddf1ec;color:#186d5c}#equipment-view th,#equipment-view td{white-space:normal}#eq-kpis article strong{font-size:25px}@media(max-width:900px){.eq-charts{grid-template-columns:1fr}}@media print{body.equipment-print>header,body.equipment-print>main,body.equipment-print>.login-screen{display:none!important}body.equipment-print>main#dashboard{display:block!important}body.equipment-print #dashboard>.heading,body.equipment-print .module-nav,body.equipment-print #dashboard>section:not(#equipment-view),body.equipment-print #dashboard>div,body.equipment-print #dashboard>footer,body.equipment-print #equipment-view button,body.equipment-print .eq-controls{display:none!important}body.equipment-print #equipment-view{display:block!important}body.equipment-print .eq-charts{display:grid;grid-template-columns:1fr 1fr}body.equipment-print .eq-chart{height:65mm}body.equipment-print .panel{break-inside:avoid;box-shadow:none}body.equipment-print #equipment-view canvas{max-width:100%!important}}

.eq-controls select{display:block;padding:10px;border:1px solid #cbd8df;border-radius:8px;font:inherit;background:#fff;color:#142b3a}#eq-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){#eq-kpis{grid-template-columns:1fr}}

#eq-add-form textarea{width:100%;font:inherit;padding:12px;border:1px solid #cbd8df;border-radius:8px}#eq-add-error{color:#a13e2e}@media print{#eq-add-panel{display:none!important}}

.commission-export-tools{display:flex;gap:10px;flex-wrap:wrap}.access-user-row select{max-width:280px}.access-user-row{flex-wrap:wrap}#new-seller{width:100%;padding:10px;border:1px solid #cbd8df;border-radius:8px}@media print{.commission-export-tools,#users-load-sellers{display:none!important}}

.access-user-row:has(select:not([hidden])+label){grid-template-columns:minmax(90px,1fr) minmax(140px,1fr) minmax(160px,1.2fr) 70px 120px}@media(max-width:800px){.access-user-row:has(select:not([hidden])+label){grid-template-columns:1fr 1fr}.access-dialog{width:95vw}}

.ct-owner{padding:18px;margin:20px 0;border:1px solid #cbdedb;background:#f0f7f5;border-radius:10px}.ct-owner select{width:100%;padding:10px;border:1px solid #cbd8df;border-radius:8px;font:inherit}@media print{#ct-owner-controls{display:none!important}}

.user-row-actions{grid-column:1/-1;display:flex;gap:10px;justify-content:flex-end}.user-remove{color:#a13e2e}.user-deleted-toggle{display:flex;gap:8px;margin:16px 0;align-items:center}.user-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.user-module-grid label{display:flex;gap:8px;align-items:center;padding:10px;background:#eef5f4;border-radius:7px}.user-module-grid input,.user-deleted-toggle input{width:auto!important;margin:0!important}.module-unavailable{opacity:.5}#edit-user-error,#delete-user-error{color:#a13e2e}@media(max-width:700px){.user-module-grid{grid-template-columns:1fr}}

#new-seller-status{display:block;margin-top:8px;line-height:1.5;color:#536b77}#new-load-sellers{margin-top:9px;width:fit-content}#new-user-existing{color:#875b16;line-height:1.5}#new-user-edit-existing{margin-bottom:12px}

/* Painel principal */
.home-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 36px;background:linear-gradient(115deg,#123a46,#087f78);color:#fff;border-radius:20px;margin-bottom:16px}.home-banner h2{font-size:30px;letter-spacing:-.7px;margin:10px 0}.home-banner p{margin:0;color:#d0e8e6}.home-kicker{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#087f78}.home-banner .home-kicker{color:#a3ded7}.home-banner-action{display:flex;align-items:flex-end;flex-direction:column;gap:14px;white-space:nowrap}.home-banner-action>span{text-transform:capitalize;color:#d0e8e6}.home-banner-action button{background:#fff;color:#075c5a}.home-status{font-size:12px;color:#627e88;min-height:18px}.home-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0}.home-kpi{display:flex;flex-direction:column;align-items:flex-start;padding:24px;background:#fff;border:1px solid #dce7eb;border-radius:16px;gap:10px}.home-kpi.accent{background:#e1f1ed;border-color:#b3dbd1}.home-kpi-label{font-size:12px;font-weight:600;color:#526e79}.home-kpi-value{font-size:30px;letter-spacing:-1px;line-height:1.2;color:#123846}.home-kpi small{font-size:11px;color:#6d8590;line-height:1.5;flex:1}.home-kpi .print{padding:7px 0;border:0;background:transparent;color:#087f78;font-size:11px}.home-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.home-grid>.panel{padding:28px;min-width:0}.home-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.home-panel-head h2{font-size:19px;margin:8px 0 0}.home-panel-head .print{font-size:11px;padding:10px 13px}.home-chart-wrap{position:relative;height:250px}.home-chart>p{font-size:12px;color:#66828d}.home-footnote{font-size:11px;color:#6a8490;line-height:1.7;margin-top:20px}.home-flow-row{margin:17px 0}.home-flow-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:#42626e;gap:12px}.home-flow-row strong{font-size:16px;color:#143d48}.home-flow-track{height:6px;background:#ecf2f4;border-radius:5px;margin-top:9px;overflow:hidden}.home-flow-track i{display:block;height:100%;background:#138c84;border-radius:5px}.home-links{display:flex;gap:10px;flex-wrap:wrap}.home-links .print{font-size:11px;padding:10px 14px}.home-contract-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-contract-stage{padding:18px;border-radius:12px;background:#f2f6f7;display:flex;flex-direction:column;gap:8px;border-top:3px solid #93b7c3}.home-contract-stage strong{font-size:27px;color:#173d49}.home-contract-stage span{font-size:12px;color:#55727e}.home-contract-stage.drafting{border-color:#c58d46}.home-contract-stage.available{border-color:#168a80}.home-contract-stage.closed{border-color:#5571a5}.home-event{display:grid;gap:5px;padding:12px 16px;margin-bottom:12px;background:#f6f9fa;border-left:3px solid #7492a3;border-radius:0 10px 10px 0}.home-event.instalacao{border-color:#14897f}.home-event.validacao{border-color:#9572b6}.home-event time{font-size:10px;font-weight:700;color:#64808c}.home-event strong{font-size:13px;color:#1c3f4b}.home-event span,.home-event small{font-size:11px;color:#64808c}.home-empty{color:#758c96;font-size:13px;padding:20px 0}@media(max-width:850px){.home-grid{grid-template-columns:1fr}.home-banner{padding:25px;align-items:flex-start;flex-direction:column}.home-banner-action{align-items:flex-start}.home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.home-kpi{padding:18px}.home-kpi-value{font-size:24px}}@media(max-width:480px){.home-kpis{grid-template-columns:1fr}.home-banner h2{font-size:25px}}@media print{.home-banner{background:#ecf5f3;color:#173d49}.home-banner p,.home-banner .home-kicker,.home-banner-action>span{color:#476d76}.home-kpi,.home-grid>.panel{break-inside:avoid}.home-banner-action button,.home-kpi button,.home-panel-head button,.home-links,#home-refresh,#home-status{display:none}.home-kpis{grid-template-columns:repeat(3,1fr)}.home-grid{grid-template-columns:1fr 1fr}.home-chart-wrap{height:190px}}

@media(min-width:1100px){.home-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}#home-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}}

.ct-general-notes{grid-column:1/-1}.ct-general-notes textarea{display:block;width:100%;resize:vertical;min-height:110px;padding:12px;border:1px solid #cbd8df;border-radius:8px;font:inherit;line-height:1.6;margin-top:6px}.ct-general-notes small{display:block;color:#6c8490;font-size:11px;margin-top:6px}

#ct-form [aria-invalid="true"]{border-color:#b54c38;outline:2px solid #b54c3826}

#sellers-view>.panel{margin-bottom:22px}.sv-intro,.sv-editor-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.sv-intro p,#sv-owner-note,#sv-message{font-size:13px;line-height:1.6;color:#617d88}.sv-orange-button{background:#b75b08;color:#fff;border:0;padding:13px 20px;border-radius:10px;font:600 13px 'Segoe UI',sans-serif;cursor:pointer}.sv-orange-button:disabled{opacity:.5;cursor:default}.sv-validation-badge{display:inline-block;border:1px solid #efbb7e;background:#fff0d9;color:#8e470a;padding:7px 12px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap}.sv-summary{background:#fff6e9;border-left:4px solid #ea8a23;border-radius:10px;padding:20px;display:flex;align-items:center;gap:18px;margin:18px 0}.sv-summary>strong{font-size:28px;color:#994d0b}.sv-summary>span:last-child{font-size:12px;color:#775d42}.sv-wide{grid-column:1/-1}#sv-form textarea{display:block;width:100%;font:inherit;line-height:1.6;padding:12px;border:1px solid #cbd8df;border-radius:8px;resize:vertical}#sv-owner-label,#sellers-view article>label{display:block;font-size:12px;margin-bottom:12px}#sv-owner,#sv-search{display:block;width:100%;padding:11px;border:1px solid #cbd8df;border-radius:8px;font:inherit;margin-top:6px}#sv-load-vendors{margin-bottom:18px}#sv-rows td{white-space:normal}#sv-rows td:first-child{border-left:3px solid #ea8a23}#sv-rows strong,#sv-rows small,#sv-rows span{display:block}#sv-rows small{font-size:11px;color:#6c8690;margin-top:5px}@media(max-width:850px){.sv-intro,.sv-editor-head{flex-direction:column;align-items:flex-start}.sv-summary{flex-wrap:wrap}}@media print{#sv-new,#sv-refresh,#sv-message,#sv-search,#sv-load-vendors,#sv-cancel,#sv-save,#sv-rows button{display:none!important}}

.sv-intro .actions{display:flex;gap:12px;flex-wrap:wrap}

.sv-map-dialog{width:min(1050px,calc(100% - 40px));max-height:90vh;padding:0;overflow:auto}.sv-map-dialog>#sv-editor{border:0;margin:0;padding:28px;box-shadow:none}#sv-editor-message{color:#8a4b15;font-size:13px;line-height:1.6}.geo-popup .sv-validation-badge{margin:8px 0}

.sv-delete-button{font:inherit;font-size:12px;color:#a13528;background:#fff7f4;border:1px solid #e5b9ae;border-radius:9px;padding:10px 14px;cursor:pointer}.sv-delete-button:disabled{opacity:.5;cursor:default}.sv-delete-panel{margin:20px 0;padding:18px;border:1px solid #e8bfb2;border-radius:12px;background:#fff5ef;font-size:13px}.sv-delete-panel .actions{display:flex;gap:12px;flex-wrap:wrap}.sv-trash-dialog{width:min(850px,calc(100% - 40px));max-height:85vh;overflow:auto}.sv-trash-entry{padding:16px;border:1px solid #e4e9eb;border-radius:10px;margin:12px 0}.sv-trash-entry p{font-size:12px}
.rq-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.rq-intro>p{width:100%;margin:0}.rq-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.rq-count{background:white;border:1px solid #dce7ec;border-top:4px solid #5689bc;border-radius:14px;padding:20px}.rq-count strong{display:block;font-size:30px;margin-top:10px;color:#122f41}.rq-count.received{border-top-color:#e7a340}.rq-count.billed{border-top-color:#087f78}.rq-count.shipped{border-top-color:#7a63a9}.rq-filters{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:20px}.rq-filters input,.rq-filters select,.rq-dialog input,.rq-dialog select,.rq-dialog textarea{box-sizing:border-box;max-width:100%;width:100%;padding:11px 12px;border:1px solid #cbdde6;border-radius:8px;background:white;color:#123344;font:inherit;margin-top:6px}.rq-filters label,.rq-dialog label{font-size:13px;color:#214557;display:block}.rq-dialog{width:min(1040px,94vw);max-height:88vh;overflow:auto;padding:28px;border:1px solid #cfdee6;border-radius:18px;color:#123344}.rq-dialog::backdrop{background:#0b293866}.rq-dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.rq-dialog-head h2{margin:8px 0}.rq-dialog #rq-error{color:#a44415;white-space:pre-wrap;min-height:20px}.rq-dialog .actions{margin-top:20px}.rq-dialog .ct-fields{margin:20px 0}.rq-dialog h3{margin-top:24px}.rq-items-table input{min-width:70px}.rq-items-table td:nth-child(2){min-width:210px;width:50%}.rq-items-table td:nth-child(1){width:16%}.rq-items-table td:nth-child(3){width:12%}.rq-items-table td:nth-child(4){width:14%}.rq-items-table td{padding:10px 7px}.rq-items-table .rq-remove{padding:9px;color:#a74135;background:white;border:1px solid #e2cdca;border-radius:8px;cursor:pointer}.rq-notes{margin-top:20px}.rq-pre{white-space:pre-wrap}.rq-receive{padding:20px;background:#f1f7f8;border:1px solid #d5e4e8;border-radius:12px;margin:24px 0}.rq-receive label{max-width:420px;margin-bottom:15px}.rq-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.rq-steps li{border-top:4px solid #dfe7eb;padding:12px 4px;font-size:12px;color:#718590}.rq-steps li.done{border-color:#087f78;color:#08756f;font-weight:600}.rq-badge{display:inline-block;border-radius:20px;padding:7px 12px;background:#e8eff7;color:#34618c;font-size:12px}.rq-badge.received{background:#fff1d9;color:#9c6317}.rq-badge.billed{background:#ddf1eb;color:#087f78}.rq-badge.shipped{background:#eee7f8;color:#74549d}.rq-doc-card{padding:18px;border:1px solid #d7e4e9;border-radius:12px;margin:12px 0}.rq-doc-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #ecf1f3}.rq-doc-row .actions{margin:0}.rq-warning{color:#a44415}.rq-counts[hidden],.rq-dialog [hidden]{display:none!important}@media(max-width:700px){.rq-counts{grid-template-columns:repeat(2,1fr)}.rq-filters{grid-template-columns:1fr}.rq-dialog{padding:16px}.rq-steps{grid-template-columns:repeat(2,1fr)}}
.rq-items-table{min-width:970px}.rq-items-table td:nth-child(1){width:11%}.rq-items-table td:nth-child(2){width:27%;min-width:210px}.rq-items-table td:nth-child(3){width:9%}.rq-items-table td:nth-child(4){width:12%}.rq-items-table td:nth-child(5){width:15%}.rq-items-table td:nth-child(6){width:15%;white-space:nowrap;font-weight:600}.rq-items-table input[data-field="unitPrice"]{min-width:110px;text-align:right}.rq-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;border:1px solid #c9e3df;border-radius:12px;background:#eff8f6;padding:18px 20px;margin:18px 0;color:#16645e}.rq-total strong{font-size:24px}.rq-total small{width:100%;color:#607d82}.rq-edit-help{padding:12px 16px;background:#f0f5f8;border-radius:8px;color:#526e7c}.rq-dialog{width:min(1200px,95vw)}
.home-requests{grid-column:1/-1}.home-request-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.home-request-stage{display:flex;flex-direction:column;gap:10px;background:#f3f7fb;border-top:3px solid #5689bc;border-radius:10px;padding:18px}.home-request-stage strong{font-size:30px;color:#123344}.home-request-stage small{line-height:1.6;color:#607988}.home-request-stage.received{background:#fff8ee;border-top-color:#e7a340}.home-request-stage.billed{background:#edf8f5;border-top-color:#087f78}.home-request-stage.shipped{background:#f4f0fa;border-top-color:#7a63a9}@media(max-width:800px){.home-request-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.home-request-counts{grid-template-columns:1fr}}
.rq-items-table td:nth-child(1){width:42%;min-width:300px}.rq-items-table td:nth-child(2){width:9%;min-width:60px}.rq-items-table td:nth-child(3){width:13%}.rq-items-table td:nth-child(4){width:15%}.rq-items-table td:nth-child(5){width:15%;white-space:nowrap}.rq-items-table select{min-width:280px}.rq-film-code{display:block;color:#617c8a;font-size:11px;margin-top:7px}
/* Mensagem da equipe na página de acesso */
.login-screen{min-height:calc(100vh - 116px);padding:48px 32px}.login-layout{width:min(1100px,100%);display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:76px;align-items:center}.login-message{max-width:570px;padding:16px 0}.login-team-label{display:inline-block;font-family:'Segoe UI',Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:2.4px;color:#087f78;margin-bottom:24px}.login-team-label::before{content:'';display:block;width:44px;height:4px;border-radius:3px;background:#087f78;margin-bottom:20px}.login-message h2{font-family:'Segoe UI',Arial,sans-serif;font-size:clamp(28px,3vw,40px);line-height:1.22;letter-spacing:-1px;font-weight:700;color:#173747;margin:0 0 26px;text-wrap:balance}.login-message .login-motivation-body{font-family:'Segoe UI',Arial,sans-serif;font-size:17px;line-height:1.85;font-weight:400;color:#536d7b;margin:0;max-width:500px}.login-message .login-motivation-question{font-family:Georgia,'Times New Roman',serif;font-size:22px;font-weight:400;line-height:1.55;color:#087f78;border-top:1px solid #d7e4e7;padding-top:24px;margin:30px 0 0;max-width:500px}.login-layout .login-card{width:100%;padding:34px}.login-layout .login-card h1{font-size:27px;line-height:1.25;letter-spacing:-.5px}.login-layout .login-card>p{font-size:14px;line-height:1.6}.login-layout .login-card label{font-size:13px}.login-layout .login-card input{font-size:15px}.login-layout .login-card button{font-size:15px;font-weight:600}@media(max-width:900px){.login-screen{padding:32px 24px}.login-layout{grid-template-columns:minmax(0,1fr) 350px;gap:36px}.login-message .login-motivation-body{font-size:16px}.login-message .login-motivation-question{font-size:20px}.login-layout .login-card{padding:28px}}@media(max-width:700px){.login-layout{grid-template-columns:1fr;gap:28px;max-width:460px}.login-message{padding:0}.login-team-label{margin-bottom:16px}.login-team-label::before{margin-bottom:14px}.login-message h2{font-size:29px;margin-bottom:18px}.login-message .login-motivation-question{padding-top:18px;margin-top:20px}.login-layout .login-card{padding:26px}.login-screen{min-height:auto;padding:28px 20px 40px}}
.login-card .login-save-options{margin-top:20px;padding-top:14px;border-top:1px solid #e5edf0}.login-card .login-remember-label{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;font-weight:500;color:#264858;cursor:pointer}.login-card .login-remember-label input{width:17px;height:17px;flex:none;margin:0;padding:0;accent-color:#087f78}.login-card .login-save-help{font-size:12px;line-height:1.55;margin:10px 0;color:#647d89}.login-card .login-use-saved{width:auto;margin:4px 0 0;padding:0;border:0;background:none;color:#087f78;text-decoration:underline;text-underline-offset:3px;font-size:13px;cursor:pointer}.login-card .login-use-saved:disabled{opacity:.6;cursor:wait}.saved-password-notice{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;margin-bottom:20px;background:#e7f4f0;border:1px solid #c8e3db;border-radius:12px;color:#205b52;font-size:13px;line-height:1.5}.saved-password-notice .print{padding:8px 14px;flex:none}@media(max-width:700px){.saved-password-notice{align-items:flex-start}}
.ct-file-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.ct-file-remove{border:1px solid #e2bcb5;background:#fff6f4;color:#9e3b30;border-radius:9px;padding:11px 15px;font:600 13px 'Segoe UI',sans-serif;cursor:pointer}.ct-file-remove:hover{background:#fce8e3}.ct-file-remove:disabled{opacity:.5;cursor:default}.ct-file-trash{margin:22px 0;padding:18px 20px;background:#f7f9fa;border:1px solid #d9e5e9;border-radius:12px}.ct-file-trash>summary{font-size:14px;font-weight:600;color:#335564;cursor:pointer}.ct-file-trash>p{font-size:12px;color:#617b89;line-height:1.6}.ct-file-delete-dialog{width:min(540px,92vw);padding:28px;border:1px solid #d5e2e8;border-radius:16px;color:#173747;max-height:85vh;overflow:auto}.ct-file-delete-dialog::backdrop{background:#102e3a66}.ct-file-delete-dialog p{line-height:1.7;font-size:14px;overflow-wrap:anywhere}.ct-file-delete-dialog h2{font-size:23px;margin-top:0}#ct-file-delete-name{font-weight:600}.ct-file-delete-warning,#ct-file-delete-error{color:#9e4f22}.ct-file-delete-dialog .actions{justify-content:flex-end;display:flex;gap:12px;margin-top:24px}@media(max-width:650px){.ct-file{flex-wrap:wrap}.ct-file-actions{width:100%}.ct-file-delete-dialog{padding:22px}}

.rq-dialog .rq-delivery-confirm{display:flex;align-items:center;gap:10px;margin:18px 0;max-width:none}.rq-delivery-confirm input{width:18px;height:18px;flex:none}#rq-delivery-summary p{white-space:pre-wrap;overflow-wrap:anywhere}#rq-delivery-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}#rq-delivery-form label{max-width:none}@media(max-width:650px){#rq-delivery-form .form-grid{grid-template-columns:1fr}}
.pc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pc-grid .panel{margin:0}.pc-grid label,#clients-view label,.cp-toolbar label{display:block;font-size:13px;color:#244b5a;margin:14px 0}.pc-grid input,.pc-grid select,#clients-view select,#clients-view input,#portal-shell select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #ccdde5;border-radius:9px;background:white;color:#123344;font:inherit;margin-top:7px}.pc-check{display:flex!important;align-items:center;gap:9px}.pc-check input{width:18px!important;height:18px;margin:0!important}.pc-grid button{margin:8px 0}.cp-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:24px 0}.cp-toolbar nav{flex:1;margin:0}.cp-toolbar label{min-width:150px}.cp-alert{padding:20px;border:1px solid #e7ad70;border-left:5px solid #d57d27;background:#fff3df;color:#7d4312;border-radius:12px;margin-bottom:24px;font-size:14px;line-height:1.6}.cp-chart{height:260px}.cp-alert[hidden],#portal-shell[hidden],#clients-view[hidden]{display:none!important}#portal-shell .home-kpi strong{display:block;font-size:28px;margin:14px 0}#portal-shell .home-kpi small{color:#6c8390}#cp-consumption p,#cp-asof{line-height:1.6}#cp-company{font-size:clamp(24px,3vw,38px);margin:12px 0}#cp-message,#pc-message{white-space:pre-wrap;color:#92521b}#portal-shell .rq-doc-card button{margin:5px}#clients-view>.panel{margin-bottom:20px}#portal-shell .module-nav button.active{background:white;color:#087f78}@media(max-width:760px){.pc-grid{grid-template-columns:1fr}.cp-toolbar{align-items:stretch}.cp-toolbar nav{flex-basis:100%}#portal-shell .home-banner{display:block}.cp-toolbar label{flex:1}}
/* Identidade da área do cliente BIOPRINT. */
#portal-shell{max-width:1280px;margin:34px auto 52px;color:#123b4b;font-family:'Segoe UI',Arial,sans-serif}
#portal-shell .cp-hero{position:relative;isolation:isolate;overflow:hidden;min-height:190px;padding:38px 40px;border-radius:24px;background:linear-gradient(115deg,#103848 0%,#095d69 56%,#009baf 100%);box-shadow:0 15px 35px #104f6217}
#portal-shell .cp-hero:after{content:'';position:absolute;z-index:-1;right:-100px;top:-190px;width:540px;height:540px;border:65px solid #ffffff0a;border-radius:50%;box-shadow:0 0 0 60px #ffffff05;pointer-events:none}
#portal-shell .home-kicker{font-size:10px;letter-spacing:2.5px;font-weight:700;color:#9bedf0}
#portal-shell #cp-company{font-weight:650;letter-spacing:-1px;line-height:1.18;margin:16px 0 10px;max-width:850px}
#portal-shell #cp-identity{font-size:12px;color:#c6e5e9;margin:8px 0}
#portal-shell .cp-hero-caption{color:#e4f2f4;font-size:14px;line-height:1.7;margin:18px 0 0;max-width:570px}
#portal-shell .cp-hero .actions{gap:9px;display:flex;align-items:center;flex-wrap:wrap}
#portal-shell .cp-hero .print{background:#ffffffed;color:#0b5966;border:1px solid #ffffff80;box-shadow:none}
#portal-shell .cp-toolbar{gap:20px;padding:10px 0;margin:24px 0 15px}
#portal-shell .cp-toolbar nav{padding:7px;background:#e5eff2;border:1px solid #dce8ec;border-radius:16px;gap:5px}
#portal-shell .cp-toolbar nav button{padding:14px 20px;border-radius:11px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,color .15s}
#portal-shell .cp-toolbar nav button.active{background:#fff;color:#008c99;box-shadow:0 3px 9px #0a475214}
#portal-shell .cp-toolbar label{font-size:11px;color:#67828c;margin:0;max-width:165px;min-width:140px}
#portal-shell select{font-size:13px;padding:12px;background:#fff;border-color:#d5e4e9;border-radius:10px}
#portal-shell #cp-refresh{border-radius:11px;padding:13px 18px;font-weight:600;color:#0b727f}
#portal-shell #cp-message{min-height:18px;font-size:12px;color:#5f7b87;margin:14px 0}
#portal-shell .cp-alert{border:1px solid #f0d3a7;border-left:4px solid #da933c;background:#fff8ec;color:#805421;padding:18px 22px;font-size:13px;border-radius:14px;box-shadow:0 3px 10px #744b1403;margin-bottom:24px}
#portal-shell .home-kpis{gap:18px;margin:0 0 24px;grid-template-columns:repeat(4,minmax(0,1fr))}
#portal-shell .cp-stat{position:relative;min-height:160px;padding:25px 23px 22px;border:1px solid #dce8ed;border-radius:18px;box-shadow:0 4px 14px #20485805;background:#fff;overflow:hidden}
#portal-shell .cp-stat-label{display:block;max-width:85%;font-size:12px;color:#5a7986;font-weight:600}
#portal-shell .cp-stat strong{font-size:30px;letter-spacing:-.8px;margin:29px 0 13px;font-weight:650;line-height:1.1;color:#153d4c}
#portal-shell .cp-stat small{display:block;font-size:11px;line-height:1.6;color:#78909a}
#portal-shell .cp-stat-mark{position:absolute;right:18px;top:19px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#edf7fa;color:#1596af;font-size:10px;font-weight:700}
#portal-shell .cp-stat-1 .cp-stat-mark{color:#188f80;background:#eaf6f1}
#portal-shell .cp-stat-2 .cp-stat-mark{color:#c48939;background:#fff4e2;font-size:16px}
#portal-shell .cp-stat-3 .cp-stat-mark{color:#626aad;background:#f0f0f9}
#portal-shell .panel{padding:27px;border-radius:19px;border-color:#dce8ed;box-shadow:0 4px 14px #20485804}
#portal-shell h2{font-size:18px;font-weight:650;color:#173e4c;letter-spacing:-.2px;margin:3px 0 16px}
#portal-shell h3{font-size:15px;font-weight:650;color:#244e5c}
#portal-shell .panel>p{font-size:13px;line-height:1.8;color:#6a8590}
#portal-shell .cp-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}
#portal-shell .cp-shortcuts button{font-size:12px;padding:11px 13px;border-radius:10px;background:#f5fafb;border-color:#e0edef;color:#087d88}
#portal-shell .rq-doc-card{border:1px solid #deeaee;border-radius:14px;padding:21px;background:#fcfefe;margin:16px 0}
#portal-shell .rq-doc-row{border-bottom-color:#e8f0f3;font-size:13px;gap:14px}
#portal-shell .print{font:inherit;font-size:12px;border-radius:10px;transition:background .15s,box-shadow .15s}
#portal-shell .print:hover{background:#ecf8fa;box-shadow:0 3px 10px #0d64780b}
#portal-shell .print:focus-visible,#portal-shell button:focus-visible,#portal-shell select:focus-visible{outline:3px solid #40bdce;outline-offset:3px}
#portal-shell table th{font-size:10px;letter-spacing:.7px;color:#6b8791;background:#f1f7f9;padding:15px 13px;white-space:nowrap}
#portal-shell table td{font-size:12px;color:#335864;padding:16px 13px;border-bottom-color:#edf2f4}
#portal-shell table tbody tr:hover{background:#f9fcfd}
#portal-shell #cp-asof{font-size:11px;color:#8ba1aa;margin-top:24px;padding-top:18px;border-top:1px solid #dfe9ed}
#portal-shell .table-scroll{overflow:auto}
@media(max-width:1050px){#portal-shell .cp-toolbar nav{flex-basis:100%;flex-grow:1}#portal-shell .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-shell .cp-hero{padding:30px}#portal-shell .cp-hero .actions{margin-top:20px}}
@media(max-width:620px){#portal-shell{margin:20px 14px 35px}#portal-shell .cp-hero{padding:27px 23px;border-radius:19px}#portal-shell #cp-company{font-size:27px}#portal-shell .cp-toolbar{gap:12px}#portal-shell .cp-toolbar nav{display:grid;grid-template-columns:1fr 1fr}#portal-shell .cp-toolbar nav button{padding:13px 10px}#portal-shell .cp-stat{padding:21px 17px;min-height:150px}#portal-shell .cp-stat strong{font-size:26px}#portal-shell .cp-stat-mark{right:12px;top:12px;width:27px;height:27px}#portal-shell .panel{padding:21px}#portal-shell .cp-stat-label{max-width:72%;line-height:1.6}#portal-shell .home-kpis{gap:12px}#portal-shell .cp-hero-caption{font-size:13px}}
.pc-reading-delete-dialog{width:min(520px,calc(100vw - 48px));max-height:85vh;overflow:auto;padding:28px;border:1px solid #cbdde4;border-radius:18px;color:#153545;box-shadow:0 24px 80px #15354540}.pc-reading-delete-dialog::backdrop{background:#102c3b88}.pc-reading-delete-dialog p{line-height:1.6}.pc-reading-delete-dialog [role=alert]{color:#a13220}.pc-reading-delete-dialog .actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}#pc-reading-trash{margin-top:20px}#pc-reading-trash summary{cursor:pointer;color:#365d70;padding:12px 0}

.preventive-support-label { width: fit-content; padding: .14em .45em; border-radius: .4em; background: #f0e5fc; color: #65348b; }
.agenda-service-chip.preventiva { background: #f0e5fc; color: #65348b; border-left-color: #8640ab; }
.agenda-item.preventiva { border-left-color: #8640ab; }
.agenda-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.agenda-tabs [aria-pressed="true"] { background:#153e4b; color:white; }
#preventive-plan:not([hidden]) { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin-bottom:12px; }
#preventive-plan p { flex-basis:100%; margin:0; }

#pc-active-equipment th, #pc-active-equipment td { white-space: normal; }
.pc-equipment-error { margin: -5px 0 12px; color: #9b312b; font-size: 13px; font-weight: 600; }
[data-theme="dark"] .pc-equipment-error { color: #ffb0a9; }
.pc-equipment-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
#pc-equipment-link-dialog select { display: block; width: 100%; margin-top: 6px; }
#pc-equipment-link-dialog p:empty { display: none; }
[data-theme="dark"] #pc-equipment-link-dialog { background: #172936; color: #e9f5fb; border-color: #345260; }
[data-theme="dark"] #pc-equipment-link-dialog [role=alert] { color: #ffb0a9; }
#pc-equipment-report { margin: 12px 0; }
@media print {
  body.pc-equipment-printing > :not(#pc-equipment-print) { display: none !important; }
  body.pc-equipment-printing > #pc-equipment-print {
    display: block !important;
    padding: 18px;
    color: #142e3e;
    background: #fff;
  }
  #pc-equipment-print table { width: 100%; border-collapse: collapse; }
  #pc-equipment-print th, #pc-equipment-print td {
    padding: 10px; border-bottom: 1px solid #d5e1e6; text-align: left; white-space: normal;
  }
  #pc-equipment-print tr { break-inside: avoid; }
}

@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #f0f6fc;
    --muted: #b6cad9;
    --paper: #101a26;
    --line: #385264;
    --teal: #83e6d7;
    --navy: #122c3b;
    --white: #192b39;
    --dark-surface: #192b39;
    --dark-raised: #23394a;
    --dark-chart: #142533;
  }
  [data-theme="dark"] :is(.panel,.metric:not(.primary),.print,.selector,dialog,.login-card,
    .module-nav,.agenda-item,.rq-doc-card,.home-kpi,.support-panel,.support-modal,
    .support-card,.support-chat,.support-list,.support-workflow,.support-tools,.support-ticket,
    .support-tech-card,.support-message,.support-identify,.support-form,.support-compose,
    .ops-kpi,.ops-filters,.ops-module-access,.order-documents,.order-release,.document-row,
    .geo-kpi,.geo-legend-button,.geo-filters,.geo-sales-tools,.product-card,.rq-count,
    .home-event,.home-contract-stage,.home-request-stage,.cp-stat,.cp-toolbar,.cp-shortcuts,
    .ct-closing,.ct-document-grid,.ct-fields,.ct-stage,.commission-filters,.agenda-tools,
    .agenda-calendar,.segmented,.access-users,.eq-controls,.rq-filters,.rq-receive,.rq-dialog) {
    background-color: var(--dark-surface);
    color: var(--ink);
    border-color: var(--line);
  }
  [data-theme="dark"] :is(input:not([type="checkbox"],[type="radio"]),select,textarea) {
    background-color: #132330;
    color: var(--ink);
    border-color: var(--line);
  }
  [data-theme="dark"] :is(.module-nav button:not(.active),.segmented button:not(.active),
    .agenda-calendar button:not(.selected),.agenda-tabs button:not([aria-pressed="true"])) {
    color: var(--ink);
    background-color: var(--dark-surface);
    border-color: var(--line);
  }
  [data-theme="dark"] :is(.print:hover,.module-nav button:hover,.agenda-calendar button:hover,
    .module-nav button.active,.print[aria-pressed="true"],tbody tr:hover,thead) {
    color: var(--ink);
    background-color: var(--dark-raised);
  }
  [data-theme="dark"] :is(th,td) { border-color: var(--line); }
  [data-theme="dark"] th { color: var(--muted); }
  [data-theme="dark"] :is(.sync-status,.home-status,.table-note,.settings-help,.support-intake-warning,
    .ops-warning,.products-warning,.commission-alert,.cp-alert,.rq-warning,.rq-edit-help) {
    background-color: var(--dark-raised);
    color: var(--ink);
    border-color: var(--line);
  }
  [data-theme="dark"] :is(.connect-button,.segmented button.active) {
    color: #f2fffd;
    background-color: #0b6e68;
  }
  [data-theme="dark"] :is(.home-chart-wrap,.products-chart-wrap,.cp-chart,.chart-wrap) {
    background-color: var(--dark-chart);
    border-radius: 8px;
  }
  [data-theme="dark"] :is(.home-kpi-label,.home-kpi small,.home-chart>p,.home-footnote,
    .home-flow-row>div:first-child,.home-contract-stage span,.home-request-stage span,
    .home-event time,.home-event span,.home-event small,.home-empty,
    .pc-grid label,#clients-view label,.cp-toolbar label,#portal-shell .cp-stat-label,
    #portal-shell .home-kpi small,.benchmark-panel summary) {
    color: var(--muted);
  }
  [data-theme="dark"] :is(.home-kpi-value,.home-flow-row strong,.home-contract-stage strong,
    .home-request-stage strong,.home-event strong,#portal-shell .cp-stat strong) {
    color: var(--ink);
  }
  [data-theme="dark"] :is(.home-kicker,.eyebrow,.home-kpi .print) { color: var(--teal); }
  [data-theme="dark"] .home-kpi.accent {
    background: #183836;
    border-color: #3f796f;
  }
  [data-theme="dark"] .home-kpi.accent .home-kpi-value { color: var(--teal); }
  [data-theme="dark"] .home-kpi .print { background: transparent; }
  [data-theme="dark"] .home-kpi .print:hover { text-decoration: underline; }
  [data-theme="dark"] .home-status { padding: 8px 12px; border-radius: 8px; }
  [data-theme="dark"] .home-flow-track { background: #324b5d; }
  [data-theme="dark"] .home-flow-track i { background: #68d7c6; }
  [data-theme="dark"] #portal-shell .cp-stat { background: var(--dark-surface); border-color: var(--line); }
  [data-theme="dark"] #portal-shell .module-nav button.active {
    background: var(--dark-raised);
    color: var(--teal);
  }
  [data-theme="dark"] :is(button,input,select,textarea,a):focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
  }
}

.ops-unread:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;padding:.08rem .35rem;margin-inline-start:.3rem;border-radius:999px;background:#a52232;color:#fff;font-size:.78rem;font-weight:700}
