/* SOC NEXUS V3 · composição inspirada nas referências aprovadas. */
:root{--bg:#111317;--side:#17191e;--panel:#202228;--raised:#25282f;--input:#181b20;--line:#393c43;--line-soft:#2b2e35;--orange:#ff6633;--green:#22c55e;--text:#f8fafc;--muted:#a3a9b5;--primary-text:#111317;--orange-soft:#ff663312;--mint-soft:#22c55e10;--radius:14px;--shadow:0 5px 22px #00000015}
html[data-theme=light]{--bg:#f2f3f6;--side:#fff;--panel:#fff;--raised:#f5f6f8;--input:#f8f9fb;--line:#d3d8e0;--line-soft:#e5e8ee;--orange:#bc3f16;--orange-soft:#ff66330d;--green:#157b3b;--text:#18202e;--muted:#596476;--primary-text:#fff;--shadow:0 5px 22px #1b294008}
body{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;background:var(--bg)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.primary{background:linear-gradient(110deg,var(--orange),#ff7b38);color:var(--primary-text);border-color:var(--orange)}html[data-theme=light] .primary{background:var(--orange)}.negative{color:#fb827e}.positive{color:var(--green)}html[data-theme=light] .negative{color:#bc2a31}.below{color:#fb827e}button{min-height:40px}button:hover{box-shadow:0 0 0 1px var(--line)}.brand>b{transform:none;background:var(--orange);color:#111317;border:0;border-radius:11px;width:42px;height:44px;font-size:30px;font-weight:800;box-shadow:inset 0 1px 0 #ffffff30}.brand{font-size:23px;font-weight:750;letter-spacing:-.6px;gap:13px}.brand small{font-size:7px;font-weight:400;letter-spacing:1.8px;margin-top:5px}.shell{grid-template-columns:236px minmax(0,1fr)}.sidebar{padding:34px 15px 22px;background:radial-gradient(ellipse at 0 100%,#ff66330b,transparent 40%),var(--side)}.sidebar>.brand{padding:0 10px}.nav-caption{margin-top:35px;margin-bottom:16px;font-size:9px}.nav-caption>span{font-size:8px}nav{gap:9px}nav button{font-size:13px;padding:14px 13px;min-height:48px;border-radius:10px;color:var(--muted);gap:13px}nav button .icon{width:21px;height:21px}nav button.active{color:var(--text);border:1px solid #ff663376;background:linear-gradient(110deg,#ff663326,#ff66330b);box-shadow:inset 0 0 20px #ff663308}nav button.active .icon{color:var(--orange)}nav button.active::before{display:none}.sidebar-footer{font-size:11px}.sidebar-footer small{font-size:10px}.sidebar-footer p{font-size:9px}.top{padding:20px 30px;gap:20px;min-height:104px;background:var(--bg);border-bottom:1px solid var(--line)}.top-greeting{min-width:160px;max-width:280px}.top-greeting>b{display:block;font-size:22px;line-height:1.3}.top-greeting>span{display:block;font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.top .breadcrumb,.top .identity{display:none}.top-actions{margin-left:auto;gap:12px;flex-wrap:wrap}.top-actions select{width:auto;min-width:105px}.top-actions #soc{order:-1}.top .context{gap:9px;align-items:flex-end}.top .context label{font-size:10px}.top .context input,.top .context select{font-size:12px;padding:9px}.top #refresh{font-size:0;padding:10px;min-width:38px}.top #refresh .icon{width:17px;height:17px}.top #theme,.top #tv{font-size:11px;padding:10px 12px;white-space:nowrap}.top #tv{border-color:#ff663387;color:var(--orange);background:transparent}.top #logout{font-size:10px;padding:9px}.content{padding:24px 30px 20px;max-width:1900px;margin:auto}.mode{font-family:inherit;font-size:10px;padding:7px 30px;letter-spacing:0}.mode.connected{background:transparent;border-bottom:1px solid var(--line-soft);color:var(--muted)}.page-heading{margin-bottom:14px;gap:12px}.page-heading h1{font-size:31px;font-weight:750;letter-spacing:-.9px}.page-heading h1::after{content:'';display:block;width:44px;height:3px;background:var(--orange);margin-top:12px;border-radius:3px}.page-heading .eyebrow,.workspace-greeting{display:none}.page-heading p{font-size:11px;margin-top:8px}.executive-status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}.record-status{font-family:inherit;font-size:11px;letter-spacing:0}#lastSync{font-size:10px;color:var(--muted)}.performance-card{position:relative;display:grid;grid-template-columns:225px minmax(0,1fr);gap:14px 25px;padding:23px 24px 15px;border:1px solid #ff663366;border-radius:var(--radius);background:linear-gradient(115deg,#ff663314,transparent 33%),linear-gradient(145deg,var(--panel),var(--bg));margin-bottom:17px;box-shadow:var(--shadow)}.performance-label{display:flex;align-items:center;gap:15px;border-right:1px solid var(--line);padding-right:20px}.performance-label>.icon,.performance-label>span>.icon{width:44px;height:44px;color:var(--orange);stroke-width:1.5}.performance-label h2{font-size:23px;font-weight:750;white-space:nowrap}.performance-label p{font-size:12px;color:var(--muted);line-height:1.5;margin:4px 0}.pcp-metrics{display:grid;grid-template-columns:1fr 1fr 1.05fr;gap:12px 25px}.big-metric{min-width:0;border-right:1px solid var(--line);padding-right:17px}.big-metric:nth-child(3),.hc-metrics>.big-metric:last-child{border:0;padding-right:0}.big-metric>span{display:block;font-size:12px;color:var(--muted);line-height:1.4;min-height:18px}.big-metric>strong{display:block;font-size:clamp(30px,2.8vw,48px);line-height:1.2;letter-spacing:-1px;font-weight:750;font-variant-numeric:tabular-nums;margin:5px 0}.big-metric>small{display:block;font-size:10px;color:var(--muted);line-height:1.4}.pcp-progress{grid-column:1/-1}.track{height:9px;background:var(--line);border-radius:8px;overflow:hidden}.track>i{display:block;height:100%;background:linear-gradient(90deg,#ff6633,#ff8854);border-radius:8px}.performance-caption{grid-column:1/-1;font-size:10px;color:var(--muted);padding-top:7px;border-top:1px solid var(--line-soft);margin:0;overflow-wrap:anywhere}.hc-metrics{display:grid;grid-template-columns:.7fr .95fr 1.15fr 1.2fr 1.05fr;gap:17px;align-items:center}.hc-metrics .big-metric>strong{font-size:clamp(23px,2vw,35px);letter-spacing:-.8px}.hc-metrics .big-metric:nth-child(3){border-right:1px solid var(--line);padding-right:15px}.hc-metrics .big-metric>span{font-size:11px;min-height:31px}.hc-metrics .big-metric>small{font-size:9px}.panel{padding:19px 18px;border-radius:14px;background:linear-gradient(135deg,var(--panel),var(--bg));margin-bottom:17px}.panel-title{margin-bottom:15px;gap:8px}.panel-title h2{font-size:18px;font-weight:700;margin:0}.panel-note{font-size:10px;line-height:1.5;margin:12px 0 0;color:var(--muted)}.executive-middle{display:grid;grid-template-columns:1.22fr 1fr;gap:17px}.operations-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.operation-block{border:1px solid var(--line);border-radius:11px;background:linear-gradient(140deg,var(--raised),var(--bg));padding:14px 11px;min-width:0}.operation-block+.operation-block{border-left:1px solid var(--line);padding-left:11px}.operation-block h3{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.operation-block h3 .icon{color:var(--orange);width:22px;height:22px}.operation-number{font-size:23px;line-height:1.3;font-weight:750;letter-spacing:-.5px;display:block;overflow-wrap:anywhere;margin:18px 0}.operation-number small{display:block;color:var(--muted);font-size:9px;font-weight:400;letter-spacing:0;margin-top:5px}.operation-facts{display:grid;gap:10px}.operation-facts>div{display:block;font-size:9px;line-height:1.5}.operation-facts>div>span{display:block;color:var(--muted)}.operation-facts b{display:block;font-size:11px;overflow-wrap:anywhere;margin-top:1px}#comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare-row{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px}.compare-row.selected{border-color:#ff663365}.compare-head{display:grid;gap:7px}.compare-head>button{justify-content:space-between;border:0;padding:0;background:transparent;color:var(--orange);font-size:18px;min-height:26px}.compare-head>span{font-size:9px}.compare-volume{margin:14px 0 8px}.compare-volume strong{display:block;font-size:29px;font-variant-numeric:tabular-nums;font-weight:750}.compare-volume>span{font-size:9px;color:var(--muted)}.volume-track{height:6px;border-radius:5px;background:var(--line)}.volume-track>i{display:block;height:100%;border-radius:5px;background:var(--orange)}.compare-facts{display:grid;gap:9px;margin-top:16px}.compare-facts>span{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.compare-facts b{color:var(--text);font-size:11px}.compare-facts b.negative{color:#fb827e}.compare-facts b.positive{color:var(--green)}.compare-facts small{font-size:8px;flex-basis:100%}.comparison-panel select{max-width:150px;font-size:10px;padding:8px}.executive-bottom{display:grid;grid-template-columns:1.5fr 1fr;gap:17px;align-items:start}.shift-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.turn-summary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 12px;background:var(--input);border:1px solid var(--line);border-radius:10px;text-align:left;min-width:0}.turn-summary.current{border-color:var(--orange);background:var(--orange-soft)}.turn-summary>span:first-child{display:flex;align-items:center;gap:7px}.turn-summary b{font-size:18px}.turn-summary small{font-size:9px;color:var(--muted);font-weight:400;overflow-wrap:anywhere}.turn-summary>small{flex-basis:100%}.turn-state{display:flex;align-items:center;gap:5px;font-size:9px}.turn-state .icon{width:15px;height:15px}.executive-actions{display:flex;justify-content:center;gap:12px;align-items:center;align-self:stretch;flex-wrap:wrap}.executive-actions button{font-size:12px;padding:13px 16px}.executive-actions>button:last-child{border-color:#ff66336b;background:transparent}.executive-actions .icon{width:18px;height:18px}.main>.content>footer{font-size:9px;margin-top:18px}.fields{gap:17px}.form-groups>.panel{background:var(--panel)}.fields input:focus,.fields textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px var(--orange-soft)}.fields label{font-size:12px}.filters label{font-size:11px}.table-wrap{border-radius:10px}th{background:var(--raised);font-size:11px}td{font-size:12px}tbody tr:hover{background:var(--orange-soft)}.notice{font-size:12px;line-height:1.7}.auth{position:relative;isolation:isolate;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(370px,.85fr);align-items:center;gap:60px;padding:65px max(5vw,25px);background:radial-gradient(ellipse at 0 0,#ff66332c,transparent 28%),radial-gradient(ellipse at 100% 100%,#ff663325,transparent 30%),var(--bg);overflow:hidden}.auth::before,.auth::after{content:'';position:absolute;width:500px;height:200px;border:1px solid #ff66335c;transform:rotate(-37deg);pointer-events:none;z-index:-1;border-radius:50%;box-shadow:0 0 50px #ff663311}.auth::before{left:-330px;top:-80px}.auth::after{right:-220px;bottom:-80px}.auth-intro{display:block;min-width:0;align-self:center}.auth-intro>.brand{font-size:34px;padding:0;margin-bottom:28px}.auth-intro>.brand>b{width:62px;height:64px;font-size:44px;border-radius:14px}.intro-line{height:3px;width:75px;background:var(--orange);margin-bottom:22px}.auth-intro>h2{font-size:clamp(34px,3.5vw,57px);letter-spacing:-1.5px;font-weight:750;line-height:1.17;max-width:760px}.auth-intro>p{color:var(--muted);font-size:clamp(14px,1.3vw,20px);margin-top:19px;line-height:1.6;max-width:620px}.logistics-art{position:relative;max-width:720px;aspect-ratio:2/1;margin-top:48px}.logistics-art>svg{width:100%;height:100%}.log-node{position:absolute;display:grid;place-items:center;width:75px;height:75px;background:linear-gradient(145deg,#34302d,var(--panel));border:1px solid #ff663349;border-bottom:3px solid #ff663394;border-radius:22px;transform:rotate(-5deg);box-shadow:0 15px 30px #0003;color:var(--orange)}.log-node>.icon{width:37px;height:37px}.truck-node{left:12%;top:35%}.center-node{left:41%;top:49%;width:90px;height:90px;background:linear-gradient(140deg,#ff66332d,var(--panel))}.warehouse-node{left:66%;top:4%}.package-node{left:79%;top:69%}.auth-card{width:100%;max-width:550px;justify-self:end;margin:0;padding:43px;border:1px solid #ffffff30;border-radius:25px;background:linear-gradient(135deg,#ffffff06,transparent 50%),var(--side);box-shadow:0 15px 70px #0004}.auth-card>.brand{font-size:29px;padding:0;margin-bottom:22px}.auth-card>.brand>b{width:52px;height:54px;font-size:36px}.auth-welcome{font-size:13px!important;color:var(--muted);margin-bottom:27px!important}.google-button{width:100%;min-height:57px;background:#f7f8fa;color:#17191e;border:1px solid #fff;border-radius:13px;gap:20px;font-size:17px}.google-button:hover{background:#e8ebef;border-color:#fff}.google-g{font-size:27px;font-weight:800;background:conic-gradient(#4285f4 0 90deg,#34a853 90deg 170deg,#fbbc05 170deg 230deg,#ea4335 230deg 300deg,#4285f4 300deg);color:transparent;background-clip:text;padding-right:18px;border-right:1px solid #c6cad2;line-height:1.2}#googleHint{font-size:12px;text-align:center;margin:15px 0 0;color:var(--muted)}.auth-divider{position:relative;display:flex;align-items:center;gap:18px;font-size:12px;color:var(--muted);margin:28px 0}.auth-divider::before,.auth-divider::after{content:'';height:1px;background:var(--line);flex:1}#emailLoginToggle{width:100%;min-height:49px;background:transparent;border:1px solid #ff66338c;color:var(--orange);border-radius:11px;font-size:13px}.auth-card #loginForm{padding-top:22px}.auth-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:28px}.auth-signature{font-size:10px;text-align:right;color:var(--muted);padding-top:21px;border-top:1px solid var(--line);margin-top:28px}#accessHint{font-size:10px;line-height:1.6}#toggleSignup{font-size:11px;margin-top:14px}#pendingForm{display:grid;gap:14px}#pendingActions{display:flex;gap:9px;margin:17px 0;flex-wrap:wrap}#pendingActions button{font-size:11px}#authMessage:empty{display:none}.auth-card #authMessage{font-size:12px}html[data-theme=light] .auth-card{border-color:var(--line);box-shadow:0 15px 70px #202a4015}
body.tv .shell{grid-template-columns:1fr}body.tv .sidebar,body.tv .mode,body.tv .top-greeting,body.tv .top #logout,body.tv .executive-actions,body.tv .page-heading p{display:none}body.tv .top{min-height:70px;padding:12px 28px}body.tv .content{max-width:2200px;padding:22px 28px}body.tv .performance-card{grid-template-columns:250px 1fr}body.tv .big-metric>strong{font-size:48px}body.tv .hc-metrics .big-metric>strong{font-size:37px}body.tv .operation-number{font-size:32px}body.tv .top-actions{width:100%;justify-content:flex-end}body.tv .top #tv{display:inline-flex}
@media(min-width:1850px){.shell{grid-template-columns:265px 1fr}.content{padding:26px 35px}.performance-card{grid-template-columns:250px 1fr}.performance-label h2{font-size:25px}.operation-facts>div{font-size:11px}.operation-facts b{font-size:13px}.operation-number{font-size:29px}.turn-state{font-size:11px}}
@media(max-width:1450px){.shell{grid-template-columns:210px 1fr}.sidebar>.brand{font-size:20px}.sidebar>.brand>b{width:36px;height:39px}.sidebar nav button{font-size:11px}.top{padding:16px 22px;gap:12px}.top-greeting{min-width:145px;max-width:210px}.top-greeting>b{font-size:18px}.top-greeting>span{font-size:10px}.top-actions{gap:8px}.content{padding:23px 22px}.performance-card{grid-template-columns:175px 1fr;gap:12px 18px;padding:20px}.performance-label h2{font-size:21px}.performance-label{gap:10px;padding-right:12px}.performance-label>span>.icon{width:34px;height:34px}.performance-label p{font-size:10px}.hc-metrics{gap:10px}.big-metric{padding-right:10px}.executive-middle{grid-template-columns:1fr}.operations-grid{gap:13px}.operation-block{padding:15px}.operation-block+.operation-block{padding-left:15px}.operation-number{font-size:30px}.operation-facts>div{font-size:11px}.operation-facts b{font-size:12px}.operation-facts>div{display:flex;justify-content:space-between;gap:12px}.operation-facts b{text-align:right}.compare-row{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.compare-facts{grid-column:1/-1;grid-template-columns:1fr 1fr}.volume-track{grid-column:1/-1}.compare-volume{margin:0 0 10px;text-align:right}.executive-bottom{grid-template-columns:1fr}.executive-actions{min-height:80px;justify-content:flex-end}.auth{gap:40px}.auth-card{padding:35px}.auth-intro>h2{font-size:43px}}
@media(max-width:1050px){.top{align-items:flex-start;flex-direction:column}.top-actions{margin:0;width:100%;justify-content:flex-start}.top-greeting{max-width:none}.top-greeting>span{font-size:11px}.top #soc{order:0}.top .context{order:1;flex:1}.top #theme{order:2}.top #tv{order:3}.top #logout{order:4}.performance-card{grid-template-columns:1fr}.performance-label{border-right:0;border-bottom:1px solid var(--line);padding:0 0 12px}.performance-label p br{display:none}.hc-metrics{gap:14px}.hc-metrics .big-metric>strong{font-size:25px}.hc-metrics .big-metric>span{font-size:10px}.operations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operation-facts>div{display:block}.operation-facts b{text-align:left}.auth{grid-template-columns:1fr 1fr;gap:25px;padding:40px 25px}.auth-intro>h2{font-size:35px}.auth-intro>.brand{font-size:27px}.auth-card{padding:26px}.auth-card>.brand{font-size:24px}.google-button{font-size:14px;gap:12px}.auth-intro>p{font-size:15px}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;padding:20px 18px 0;position:static}.sidebar>.brand{font-size:22px}.sidebar nav{margin-top:18px;gap:7px;display:flex}.sidebar nav button{font-size:11px;min-height:40px;padding:10px 12px;flex:none}.top{padding:15px 18px}.top .context{width:auto;order:0;flex-basis:100%;margin-bottom:3px}.top .context label{min-width:100px;flex:1}.top #soc{min-width:95px}.top #tv,.top #theme{font-size:10px;padding:9px}.top #logout{margin-left:auto}.content{padding:22px 18px}.mode{padding-left:18px;padding-right:18px}.page-heading h1{font-size:28px}.hc-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hc-metrics .big-metric{border-right:0!important;padding-right:0!important}.hc-metrics .big-metric>span{font-size:11px;min-height:31px}.pcp-metrics{gap:10px}.big-metric>span{font-size:10px}.big-metric>strong{font-size:30px}.big-metric>small{font-size:9px}.performance-card{padding:18px}.performance-caption{font-size:9px}.shift-cards{grid-template-columns:1fr}.turn-summary{padding:13px}.turn-summary>small{flex-basis:auto;max-width:100%}.turn-state{font-size:11px}.turn-summary small{font-size:10px}.auth{grid-template-columns:1fr;gap:28px;padding:35px 20px}.auth-intro{display:block}.auth-intro>.brand{font-size:25px;margin-bottom:20px}.auth-intro>.brand>b{width:43px;height:45px;font-size:30px}.auth-intro>h2{font-size:31px;letter-spacing:-.7px}.auth-intro>p{font-size:13px;margin-top:12px}.intro-line{margin-bottom:15px;width:50px}.logistics-art{display:none}.auth-card{max-width:550px;justify-self:center;padding:28px;border-radius:18px}.auth-card>.brand{display:none}.auth-welcome{margin-bottom:20px!important}.auth-note{margin-top:20px}.auth-signature{margin-top:20px}.auth-divider{margin:22px 0}.google-button{font-size:16px}.top-greeting>b{font-size:21px}.top-greeting>span{max-width:100%}body.tv .performance-card{grid-template-columns:1fr}body.tv .big-metric>strong{font-size:32px}body.tv .hc-metrics .big-metric>strong{font-size:26px}}
@media(max-width:440px){.pcp-metrics{grid-template-columns:1fr 1fr}.pcp-metrics>.big-metric:nth-child(2){border:0}.pcp-metrics>.big-metric:nth-child(3){grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px}.pcp-metrics>.big-metric:nth-child(3)>span{flex-basis:100%}.pcp-metrics>.big-metric:nth-child(3)>strong{font-size:36px}.hc-metrics{grid-template-columns:1fr 1fr}.hc-metrics>.big-metric:last-child{grid-column:1/-1}.operations-grid{grid-template-columns:1fr 1fr;gap:9px}.operation-block,.operation-block+.operation-block{padding:12px 10px;border-left:1px solid var(--line)}.operation-number{font-size:22px}.operation-block h3{font-size:11px;gap:5px}.operation-block h3 .icon{width:18px;height:18px}.operation-facts>div{font-size:9px}.operation-facts b{font-size:10px}#comparison{grid-template-columns:1fr}.compare-volume strong{font-size:26px}.panel{padding:16px 13px}.panel-title h2{font-size:16px}.executive-actions{justify-content:stretch}.executive-actions button{flex:1;min-width:170px}.top-actions{gap:7px}.top #theme,.top #tv{padding:9px;font-size:10px}}
@media print{.performance-card,.top-greeting{display:none!important}.auth{display:none!important}.panel{background:white}#reportText{color:black}}

.brand>b{flex:none}.auth-intro>p{font-family:inherit;letter-spacing:0}.brand>span{min-width:0}.top .context label:first-child{min-width:140px}.top .context label:nth-child(2){min-width:125px}

body.tv .mode:not(.connected){display:block}.auth-card form{min-width:0}
