/* MDL 199 — dark operational workspace with the MDL orange accent. */
:root{--mdl-orange:#ff7a0a;--mdl-orange2:#ff991f;--mdl-yellow:#ffd326;--mdl-brown:#f0f2f8;--mdl-ink:#f0f2f8;--mdl-muted:#b4bfd2;--mdl-bg:#0d0f14;--mdl-line:#354055;--mdl-green:#78dfa6;--bg-base:#0d0f14;--bg-surface:#151922;--bg-elevated:#1c2230;--bg-hover:#252c3b;--glass:#151922;--glass-border:#354055;--glass-hover:#1c2230;--amber-200:#ffbd70;--amber-300:#ffbd70;--amber-400:#ff7a0a;--amber-500:#e86100;--text-primary:#f0f2f8;--text-secondary:#b4bfd2;--text-muted:#b4bfd2;--text-accent:#ffbd70;--red-400:#ff929a;--red-600:#ff929a;--green-400:#78dfa6;--blue-400:#8abaff;--orange-400:#ffbd70;--yellow-400:#ffbd70;--bg:#0d0f14;--bg2:#1c2230;--card:#151922;--stroke:#354055;--text:#f0f2f8;--muted:#b4bfd2;--blue:#8abaff;--blue2:#8abaff;--green:#78dfa6;--green2:#78dfa6;--red:#ff929a;--red2:#ff929a;--orange:#ffbd70;--orange2:#ffbd70;--yellow:#ffbd70;--yellow2:#ffbd70;--radius-sm:8px;--radius-md:10px;--radius-lg:12px;--radius-xl:14px;--radius:12px;--shadow:0 3px 14px #3b211008;--shadow-md:0 3px 14px #3b211008;--shadow-lg:0 12px 40px #3b211018;--shadow-amber:none}
body.mdl197{margin:0;background:var(--mdl-bg)!important;color:var(--mdl-ink);font-family:Inter,Poppins,Arial,sans-serif;font-size:14px;line-height:1.45;color-scheme:dark}
:root body.mdl197 *{box-sizing:border-box}:root body.mdl197 :where(button,input,select,textarea){font-family:inherit}:root body.mdl197 :where(button,a,input,select,textarea):focus-visible{outline:3px solid #d85a00!important;outline-offset:3px}:root body.mdl197 :where(input,select,textarea){accent-color:var(--mdl-orange)}:root body.mdl197 .hidden{display:none!important}
:root body.mdl197 .app-shell{max-width:1600px!important;padding:0 24px 40px!important;margin:0 auto!important;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
:root body.mdl197 .app-shell>*{min-width:0;margin-bottom:0}:root body.mdl197 .app-shell.mdl197-with-nav{grid-template-columns:206px minmax(0,1fr);column-gap:24px}:root body.mdl197 .app-shell.mdl197-with-nav>*{grid-column:2}:root body.mdl197 .app-shell.mdl197-with-nav>.header{grid-column:1/-1}
:root body.mdl197 .glass,:root body.mdl197 .panel,:root body.mdl197 .card,:root body.mdl197 .kpi,:root body.mdl197 .accordion,:root body.mdl197 .modal-card{background:#151922!important;border:1px solid var(--mdl-line)!important;box-shadow:var(--shadow-md)!important;border-radius:12px!important;color:var(--mdl-ink)}
:root body.mdl197 .app-shell>.header{padding:15px 0!important;gap:18px!important;margin:0!important;min-height:88px;border:0!important;border-bottom:1px solid var(--mdl-line)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible;content-visibility:visible!important;contain-intrinsic-size:none!important}
:root body.mdl197 .header::before{display:none}:root body.mdl197 .brand{gap:13px;min-width:0}:root body.mdl197 .brand>div{min-width:0}:root body.mdl197 .brand img{width:56px;height:56px;background:#151922;border:1px solid var(--mdl-line);border-radius:10px;box-shadow:none}:root body.mdl197 .brand h1{font-size:21px!important;line-height:1.2;font-weight:800;letter-spacing:-.04em;color:var(--mdl-brown)!important;background:none!important;-webkit-text-fill-color:var(--mdl-brown)!important;margin:0 0 5px}:root body.mdl197 .brand .sub{font-size:11px;line-height:1.5;color:var(--mdl-muted)!important}:root body.mdl197 .header-actions{gap:7px}:root body.mdl197 .header-actions .btn{min-height:36px}:root body.mdl197 .header-actions .badge{background:#151922;border-color:var(--mdl-line);color:var(--mdl-brown)}
:root body.mdl197 .btn,:root body.mdl197 .pill{min-height:36px;padding:8px 12px!important;border-radius:8px!important;font-size:12px!important;font-weight:700;line-height:1.35!important;box-shadow:none!important;justify-content:center}:root body.mdl197 .btn:hover{transform:none!important;filter:brightness(.97)}:root body.mdl197 .btn.primary{background:var(--mdl-orange)!important;color:#301905!important;border:1px solid #ee6d00!important}:root body.mdl197 .btn.soft{background:#1c2230!important;border:1px solid var(--mdl-line)!important;color:var(--mdl-brown)!important}:root body.mdl197 .btn.ghost{background:transparent!important;color:var(--mdl-muted)!important}:root body.mdl197 .btn.danger{background:#3a2027!important;color:#ff929a!important;border:1px solid #80414d!important}:root body.mdl197 .btn.wa{background:#173126!important;color:#78dfa6!important;border:1px solid #326448!important}:root body.mdl197 .btn:disabled{opacity:.5;cursor:not-allowed}:root body.mdl197 .pill{background:#151922;border-color:var(--mdl-line);color:var(--mdl-muted)}:root body.mdl197 .pill.active{background:#352818;color:#ffbd70;border-color:#80603a}:root body.mdl197 .badge{padding:6px 10px;font-size:11px;border-radius:7px;background:#352818;color:#ffbd70;border-color:#80603a}
:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs{grid-column:1;grid-row:2/span 20;position:sticky;top:18px;margin:0;padding:14px 10px!important;display:flex;flex-direction:column;gap:4px;background:#151922!important;border:1px solid var(--mdl-line)!important;border-radius:12px;max-height:calc(100dvh - 36px);overflow-y:auto;align-self:start;box-shadow:none}
:root body.mdl197 #masterTabs .tab{display:flex;align-items:center;gap:10px;width:100%;padding:10px!important;min-height:39px;border-radius:8px!important;text-align:left;white-space:normal;font-size:12px!important;font-weight:600;color:#b4bfd2;background:transparent!important;box-shadow:none!important;line-height:1.4}:root body.mdl197 #masterTabs .tab:hover{background:#252c3b!important;color:#ffbd70}:root body.mdl197 #masterTabs .tab.active{background:#352818!important;color:#ffbd70!important;font-weight:800;box-shadow:inset 3px 0 #ff7a0a!important}:root body.mdl197 #masterTabs .tab svg{flex:0 0 18px;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}:root body.mdl197 .mdl197-nav-label{font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#b4bfd2;padding:12px 10px 6px}:root body.mdl197 .mdl197-nav-label:first-child{padding-top:2px}
:root body.mdl197 .mdl197-menu{display:none}:root body.mdl197 .mdl197-location{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px}:root body.mdl197 .mdl197-location h2{margin:0;font-size:24px;letter-spacing:-.04em;line-height:1.25;color:var(--mdl-brown)}:root body.mdl197 .mdl197-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#ffbd70;margin:0 0 5px}:root body.mdl197 .mdl197-location p{color:var(--mdl-muted);font-size:12px;margin:5px 0 0}:root body.mdl197 .mdl197-location-mark{font-size:11px;color:#b4bfd2;white-space:nowrap}:root body.mdl197 .mdl197-location-mark::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--mdl-orange);margin-right:7px}
:root body.mdl197 .kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important}:root body.mdl197 .kpi{padding:16px!important;min-width:0}:root body.mdl197 .kpi::before{height:3px;background:var(--accent,#ff7a0a)}:root body.mdl197 .kpi .label{font-size:11px!important;letter-spacing:.02em!important;color:var(--mdl-muted)!important;font-weight:700}:root body.mdl197 .kpi .value{font-size:clamp(21px,2vw,30px)!important;font-weight:800!important;letter-spacing:-.04em;line-height:1.25;color:var(--mdl-brown)!important;margin-top:8px;overflow-wrap:anywhere}:root body.mdl197 .kpi .subline{font-size:11px;margin-top:5px;color:var(--mdl-muted)}:root body.mdl197 .kpi-emoji{font-size:18px;opacity:.65}:root body.mdl197 .kpi:hover,:root body.mdl197 .card:hover{transform:none!important}
:root body.mdl197 #mainFilters:empty,:root body.mdl197 #kpis:empty,:root body.mdl197 #topMural:empty{display:none!important}:root body.mdl197 .filters{gap:7px;margin:0}:root body.mdl197 .tabs:not(#masterTabs){padding:4px;background:#1c2230;border-color:var(--mdl-line);border-radius:10px;gap:3px}:root body.mdl197 .tabs:not(#masterTabs) .tab{padding:8px 12px;border-radius:7px;font-size:12px}:root body.mdl197 .tabs:not(#masterTabs) .tab.active{background:#151922;color:#ffbd70;box-shadow:0 1px 5px #3b211010}
:root body.mdl197 .section-head{margin:0 0 14px;gap:12px;flex-wrap:wrap}:root body.mdl197 .section-head h2{font-size:18px;line-height:1.3;color:var(--mdl-brown)}:root body.mdl197 .section-head .hint{font-size:12px;color:var(--mdl-muted)}:root body.mdl197 .panel,:root body.mdl197 .big-chart-card{padding:18px!important;border-radius:12px!important}:root body.mdl197 .panel h3{font-size:16px;margin-bottom:12px}:root body.mdl197 .detail-screen{margin-top:0}:root body.mdl197 .back-row{margin-bottom:14px;gap:10px;flex-wrap:wrap}:root body.mdl197 .detail-top{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px}:root body.mdl197 .detail-top>*{min-width:0}:root body.mdl197 .metrics-grid{gap:9px}:root body.mdl197 .metric,:root body.mdl197 .stat-box,:root body.mdl197 .sales-mini,:root body.mdl197 .input-card,:root body.mdl197 .comm-box,:root body.mdl197 .msg-card{background:#1c2230!important;border:1px solid var(--mdl-line)!important;border-radius:9px!important;box-shadow:none!important}:root body.mdl197 .metric{padding:12px!important}:root body.mdl197 .metric .k,:root body.mdl197 .entity-cell .k,:root body.mdl197 .stat-box .mini,:root body.mdl197 .sales-mini .k{font-size:10px!important;letter-spacing:.03em;color:var(--mdl-muted)}:root body.mdl197 .metric .v{font-size:20px;line-height:1.25}:root body.mdl197 .mini-chip{background:#1c2230;color:#b4bfd2;border-color:var(--mdl-line);font-size:11px}:root body.mdl197 .note,:root body.mdl197 .sub,:root body.mdl197 .muted{color:var(--mdl-muted)}:root body.mdl197 .meta-grid{gap:10px}:root body.mdl197 .meta-card{padding:14px!important;background:#151922!important;border:1px solid var(--mdl-line)!important;border-radius:10px!important;box-shadow:none!important}:root body.mdl197 .meta-title{font-size:12px}:root body.mdl197 .meta-main{font-size:26px}:root body.mdl197 .meta-sub{font-size:11px;color:var(--mdl-muted)}:root body.mdl197 .mega-progress{background:#1c2230!important;border-color:var(--mdl-line)!important;box-shadow:none!important}:root body.mdl197 .sales-progress{background:#354055}:root body.mdl197 .meta-layout,:root body.mdl197 .form-grid,:root body.mdl197 .commission-grid,:root body.mdl197 .campaign-grid{gap:12px}:root body.mdl197 .grid-cards{gap:12px}:root body.mdl197 .card{padding:16px!important}:root body.mdl197 .card .title{font-size:14px;margin-bottom:10px}:root body.mdl197 .card-sales{background:#1c2230;border-color:var(--mdl-line)}:root body.mdl197 .sales-mini .v{font-size:12px}:root body.mdl197 .mascot-status{border-color:var(--mdl-line);background:#1c2230}:root body.mdl197 .mascot-status img{width:26px;height:26px}
:root body.mdl197 .entity-list{gap:6px}:root body.mdl197 .entity-row{grid-template-columns:minmax(175px,1.7fr) repeat(6,minmax(65px,.7fr)) minmax(100px,1fr);padding:11px 13px!important;gap:8px;border-radius:9px;background:#151922!important;border:1px solid var(--mdl-line)!important;color:var(--mdl-ink);box-shadow:none!important}:root body.mdl197 .entity-row:hover{background:#1c2230!important;border-color:#80603a!important;transform:none}:root body.mdl197 .entity-row-head{background:#1c2230!important;color:#b4bfd2!important;font-size:10px;letter-spacing:.03em;border-color:transparent!important;box-shadow:none}:root body.mdl197 .entity-cell{min-width:0;overflow-wrap:anywhere}:root body.mdl197 .entity-cell .v{font-size:12px;line-height:1.4;font-weight:700}:root body.mdl197 .entity-cell .k{font-size:9px!important}:root body.mdl197 .entity-row .btn{font-size:11px!important;padding:7px 9px!important}:root body.mdl197 .entity-row .mini-chip{font-size:10px;padding:4px 6px}
:root body.mdl197 .accordion{margin-bottom:10px!important;overflow:hidden}:root body.mdl197 .acc-head{padding:14px!important;background:#151922!important;color:var(--mdl-brown);gap:10px;flex-wrap:wrap}:root body.mdl197 .acc-head:hover{background:#1c2230!important}:root body.mdl197 .acc-hint{color:var(--mdl-muted)}:root body.mdl197 .acc-body{padding:14px!important;border-top:1px solid var(--mdl-line)}:root body.mdl197 .search-row{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(110px,.6fr));gap:10px}:root body.mdl197 .input-card{padding:11px!important;min-width:0}:root body.mdl197 .input-card label{font-size:11px;letter-spacing:0;text-transform:none;color:#b4bfd2;margin-bottom:6px}:root body.mdl197 .input-card :is(input,select,textarea),:root body.mdl197 .login-form input{min-height:38px;padding:9px 11px;background:#151922!important;border:1px solid #354055!important;color:var(--mdl-ink)!important;border-radius:7px;font-size:13px;max-width:100%}:root body.mdl197 input::placeholder,:root body.mdl197 textarea::placeholder{color:#b4bfd2}:root body.mdl197 select option{background:#151922;color:var(--mdl-ink)}:root body.mdl197 textarea{line-height:1.5}:root body.mdl197 .senhas-table-wrap{max-width:100%;overflow-x:auto;border-color:var(--mdl-line);border-radius:10px}:root body.mdl197 table{border-color:var(--mdl-line);color:var(--mdl-ink)}:root body.mdl197 :is(.senhas-table,.comm-table) th{background:#1c2230!important;color:#b4bfd2!important;font-size:10px;letter-spacing:.02em}:root body.mdl197 :is(.senhas-table,.comm-table) td{background:#151922!important;border-color:var(--mdl-line)!important;font-size:12px;padding:10px 8px}:root body.mdl197 :is(.senhas-table,.comm-table) input{color:var(--mdl-ink)!important;background:#1c2230!important;border-color:var(--mdl-line)!important}:root body.mdl197 .log-row{padding:12px!important;gap:10px;background:#151922!important;border-color:var(--mdl-line)!important;border-radius:9px;color:var(--mdl-ink)}:root body.mdl197 .empty{background:#1c2230;border-color:#354055;color:var(--mdl-muted);padding:24px;font-weight:500}:root body.mdl197 .msg-media.compact{height:auto;max-height:420px;background:#1c2230}:root body.mdl197 .msg-media.compact img,:root body.mdl197 .msg-media.compact video{max-height:420px}:root body.mdl197 .modal{background:#26180fb3!important;padding:20px}:root body.mdl197 .modal-card{max-height:90dvh;overflow-y:auto;padding:22px}:root body.mdl197 .toast-item{background:#151922;border-color:var(--mdl-line);color:var(--mdl-ink);box-shadow:var(--shadow-lg)}:root body.mdl197 .login-card{background:#151922!important}:root body.mdl197 .login-card h2{color:var(--mdl-brown)!important;-webkit-text-fill-color:var(--mdl-brown);background:none;font-size:24px}:root body.mdl197 .login-card .logo-big{box-shadow:none;border:1px solid var(--mdl-line)}
/* Explicit legacy pale text colors, leaving status colors and chart data intact. */
:root body.mdl197 :is(.entity-row-head,.mini-chip,.log-row,.panel h3,.card .title,.acc-title){color:var(--mdl-brown)}
.mdl197-gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:110px 20px 50px;background:linear-gradient(125deg,#252c3b,#0d0f14 60%)!important;border-top:5px solid var(--mdl-orange)}.mdl197-gate-brand{position:absolute;top:28px;left:max(24px,calc((100vw - 1260px)/2));display:flex;align-items:center;gap:15px}.mdl197-gate-brand a{font-size:23px;font-weight:800;color:var(--mdl-brown);text-decoration:none;letter-spacing:-.04em}.mdl197-gate-brand b{color:#e86000}.mdl197-gate-brand>span{font-size:11px;color:var(--mdl-muted);border-left:1px solid var(--mdl-line);padding-left:15px}.mdl197-gate-card{width:min(420px,100%);padding:36px;background:#151922;border:1px solid var(--mdl-line);border-radius:16px;box-shadow:0 15px 50px #3b21100a}.mdl197-gate-card h1{font-size:28px;letter-spacing:-.04em;color:var(--mdl-brown);line-height:1.2;margin:9px 0}.mdl197-gate-card>p{font-size:13px;color:var(--mdl-muted);margin:0 0 25px}.mdl197-gate-card label{display:block;font-size:12px;font-weight:700;margin:17px 0 7px;color:var(--mdl-brown)}.mdl197-gate-card input{width:100%;font-size:14px;padding:13px 12px;background:#1c2230;border:1px solid #354055;border-radius:8px;color:var(--mdl-ink)}.mdl197-gate-card button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:8px;padding:13px 16px;margin-top:22px;background:var(--mdl-orange);color:#301905;font-size:13px;font-weight:800;cursor:pointer}.mdl197-gate-card button:hover{background:#ff991f}.mdl197-gate-card .error{font-size:12px;color:#ff929a}.mdl197-gate-card .error:empty{display:none}.mdl197-gate-foot{font-size:10px;color:#b4bfd2;border-top:1px solid var(--mdl-line);padding-top:22px;margin-top:26px;letter-spacing:.08em;text-align:center}
@media(min-width:1600px){:root body.mdl197 .app-shell{padding-inline:32px!important}:root body.mdl197 .app-shell.mdl197-with-nav{grid-template-columns:218px minmax(0,1fr);column-gap:28px}}
@media(max-width:1250px){:root body.mdl197 .entity-row{grid-template-columns:repeat(4,minmax(0,1fr))}:root body.mdl197 .entity-row-head{display:none!important}:root body.mdl197 .entity-row>:first-child{grid-column:span 2}:root body.mdl197 .kpi .value{font-size:24px!important}:root body.mdl197 .search-row{grid-template-columns:repeat(2,minmax(0,1fr))}:root body.mdl197 .header-actions{gap:5px}:root body.mdl197 .brand h1{font-size:19px!important}}
@media(max-width:1000px){:root body.mdl197 .app-shell{padding:0 16px 32px!important;gap:14px}:root body.mdl197 .app-shell.mdl197-with-nav{grid-template-columns:180px minmax(0,1fr);column-gap:16px}:root body.mdl197 #masterTabs .tab{font-size:11px!important;padding:9px 8px!important;gap:8px}:root body.mdl197 .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}:root body.mdl197 .detail-top,:root body.mdl197 .meta-layout{grid-template-columns:minmax(0,1fr)}:root body.mdl197 .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:root body.mdl197 .entity-row{grid-template-columns:repeat(3,minmax(0,1fr))}:root body.mdl197 .entity-row>:first-child{grid-column:1/-1}:root body.mdl197 .log-row{grid-template-columns:repeat(2,minmax(0,1fr))}:root body.mdl197 .header{flex-wrap:wrap}:root body.mdl197 .header-actions{margin-left:auto}:root body.mdl197 .brand .sub{font-size:10px}}
@media(max-width:760px){:root body.mdl197 .app-shell,:root body.mdl197 .app-shell.mdl197-with-nav{display:flex;flex-direction:column;padding:0 12px 28px!important;gap:14px}:root body.mdl197 .app-shell>*{width:100%}:root body.mdl197 .app-shell>.header{padding:14px 0!important;min-height:0;gap:11px!important}:root body.mdl197 .brand img{width:43px;height:43px}:root body.mdl197 .brand h1{font-size:18px!important}:root body.mdl197 .brand .sub{font-size:10px}:root body.mdl197 .header-actions{width:100%;justify-content:flex-start;margin-left:0}:root body.mdl197 .header-actions #userBadge{margin-left:auto}:root body.mdl197 .mdl197-menu{display:inline-flex!important;gap:7px}:root body.mdl197 .mdl197-menu[hidden]{display:none!important}:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs{position:static;max-height:none;display:none;order:0;padding:10px!important}:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs.mdl197-nav-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}:root body.mdl197 #masterTabs .mdl197-nav-label{grid-column:1/-1}:root body.mdl197 #masterTabs .tab{min-height:44px;font-size:12px!important}:root body.mdl197 .mdl197-location{align-items:flex-start}:root body.mdl197 .mdl197-location h2{font-size:22px}:root body.mdl197 .mdl197-location p{font-size:11px}:root body.mdl197 .mdl197-location-mark{display:none}:root body.mdl197 .kpi{padding:13px!important}:root body.mdl197 .kpi .value{font-size:24px!important}:root body.mdl197 .kpis{gap:9px!important}:root body.mdl197 .kpi .label{font-size:10px!important}:root body.mdl197 .kpi .subline{font-size:10px}:root body.mdl197 .panel,:root body.mdl197 .big-chart-card{padding:14px!important}:root body.mdl197 .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:root body.mdl197 .metric .v{font-size:18px}:root body.mdl197 .meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}:root body.mdl197 .meta-card{padding:10px!important}:root body.mdl197 .meta-main{font-size:23px}:root body.mdl197 .meta-sub{font-size:10px}:root body.mdl197 .btn,:root body.mdl197 .pill{min-height:40px;white-space:normal}:root body.mdl197 .entity-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:root body.mdl197 .entity-cell .v{font-size:13px}:root body.mdl197 .entity-cell .k{font-size:10px!important}:root body.mdl197 .form-grid,:root body.mdl197 .form-grid.bonus,:root body.mdl197 .search-row,:root body.mdl197 .commission-grid,:root body.mdl197 .campaign-grid{grid-template-columns:minmax(0,1fr)}:root body.mdl197 .input-card :is(input,select,textarea){font-size:16px;min-height:42px}:root body.mdl197 .grid-cards{grid-template-columns:minmax(0,1fr)!important}:root body.mdl197 .modal{padding:10px}:root body.mdl197 .modal-card{padding:18px;max-height:92dvh}:root body.mdl197 .toast{left:12px;right:12px;bottom:12px}:root body.mdl197 .toast-item{min-width:0;width:100%}:root body.mdl197 .senhas-table-wrap{overscroll-behavior-inline:contain}:root body.mdl197 .brand{width:100%}:root body.mdl197 .section-head{gap:9px}:root body.mdl197 .section-head h2{font-size:17px}:root body.mdl197 .mdl197-gate-card{padding:28px}:root body.mdl197 .log-row{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){:root body.mdl197 *{animation:none!important;scroll-behavior:auto!important}}
@media print{body.mdl197{background:#151922!important}:root body.mdl197 .app-shell,:root body.mdl197 .app-shell.mdl197-with-nav{display:block!important;padding:0!important}:root body.mdl197 #masterTabs,:root body.mdl197 .mdl197-menu,:root body.mdl197 .header-actions,:root body.mdl197 .mdl197-location{display:none!important}:root body.mdl197 .glass,:root body.mdl197 .panel,:root body.mdl197 .kpi{box-shadow:none!important;break-inside:avoid}:root body.mdl197 .hidden{display:none!important}}

:root body.mdl197 .brand{display:flex!important;flex-direction:row!important;align-items:center!important}
:root body.mdl197 .small{color:var(--mdl-muted)}
:root body.mdl197 #masterTabs{display:flex!important;white-space:normal!important}
:root body.mdl197 #masterTabs .tab{white-space:normal!important}
:root body.mdl197 #masterTabs.hidden{display:none!important}
:root body.mdl197 .senhas-table-wrap{overflow-x:auto!important}
:root body.mdl197 .senhas-table{min-width:900px!important;table-layout:auto!important}
@media(max-width:760px){:root body.mdl197 #masterTabs{display:none!important}:root body.mdl197 #masterTabs.mdl197-nav-open{display:grid!important}:root body.mdl197 #masterTabs.hidden{display:none!important}:root body.mdl197 .meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* One content column keeps short screens compact without empty grid tracks. */
:root body.mdl197 .mdl197-workspace{display:flex;flex-direction:column;gap:18px;min-width:0}
:root body.mdl197 .mdl197-workspace>*{min-width:0;max-width:100%;margin-bottom:0}
:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs{grid-row:2}
:root body.mdl197.user-light-view #masterTabs{display:none!important}
@media(max-width:760px){:root body.mdl197 .mdl197-workspace{gap:14px}}

/* V2.11 — Master navigation: all entries stacked, never scroll sideways. */
:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs{
  width:100%!important;min-width:0!important;max-width:100%!important;
  box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;
  scroll-padding-inline:0!important;overscroll-behavior-x:none;
}
:root body.mdl197 #masterTabs :is(.tab,.mdl197-nav-label){
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;white-space:normal!important;
  overflow-wrap:anywhere!important;word-break:normal;
}
:root body.mdl197 #masterTabs .tab{
  flex:0 0 auto!important;justify-content:flex-start!important;
  text-align:left!important;padding-inline:9px!important;
}
:root body.mdl197 #masterTabs .tab svg{flex:0 0 18px!important}
@media(max-width:760px){
  :root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs.mdl197-nav-open{
    grid-template-columns:minmax(0,1fr)!important;
    overflow-x:hidden!important;overflow-y:visible!important;
  }
  :root body.mdl197 #masterTabs.mdl197-nav-open :is(.tab,.mdl197-nav-label){
    grid-column:1/-1!important;
  }
}

/* V2.11 — Hidden legacy three-band weights do not override a four-band internal form. */
:root body.mdl197 #metaSection .form-grid[hidden],
:root body.mdl197 #metaSection .section-head[hidden],
:root body.mdl197 #metaSection #mdl4-weight-panel[hidden]{display:none!important}
/* V2.12 — Master access menu: page scroll replaces clipped internal scrolling. */
:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs{
  position:static!important;top:auto!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  overflow-x:visible!important;overflow-y:visible!important;
  overflow:visible!important;overscroll-behavior:auto!important;
  align-self:start!important;
}
:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs .mdl197-nav-label,
:root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs button[data-tab]{
  flex-shrink:0!important;max-width:100%!important;white-space:normal!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:760px){
 :root body.mdl197 .app-shell.mdl197-with-nav>#masterTabs.mdl197-nav-open{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   max-height:none!important;overflow:visible!important;
 }
}

/* V2.13 — native animated Meta Geral ball inside the exclusive four-band panel. */
:root body.mdl197 #mdl-internal-4faixas .mdl4-general-progress{
  display:grid!important;grid-template-columns:minmax(210px,280px) minmax(0,1fr)!important;
  align-items:center!important;gap:18px!important;margin:8px 0 16px!important;
  min-width:0;width:100%;
}
:root body.mdl197 #mdl-internal-4faixas .mdl4-general-ring{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:0;min-height:250px;overflow:visible!important;
}
:root body.mdl197 #mdl-internal-4faixas [data-mdl4-total]{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;width:100%!important;min-width:0!important;
  margin:0!important;
}
:root body.mdl197 #mdl-internal-4faixas .mdl4-ball-fallback{
  width:188px;height:188px;display:grid;place-items:center;border-radius:50%;
  background:conic-gradient(#ffbd70 var(--mdl4-pct),#353b4d 0);
  box-shadow:0 12px 28px #0004;flex:0 0 auto;
}
:root body.mdl197 #mdl-internal-4faixas .mdl4-ball-fallback-core{
  width:158px;height:158px;border-radius:50%;background:#151922;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
}
:root body.mdl197 #mdl-internal-4faixas .mdl4-ball-fallback-number{
  font-size:30px;font-weight:800;color:#f3f5fa;
}
:root body.mdl197 #mdl-internal-4faixas .mdl4-ball-fallback-label{
  font-size:12px;color:#aebcd1;letter-spacing:.05em;text-transform:uppercase;
}
@media(max-width:760px){
  :root body.mdl197 #mdl-internal-4faixas .mdl4-general-progress{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  }
  :root body.mdl197 #mdl-internal-4faixas .mdl4-general-ring{
    min-height:220px;
  }
}
@media(max-width:420px){
  :root body.mdl197 #mdl-internal-4faixas [data-mdl4-total]{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* V2.15 — Private Master temporary-password and recovery administration. */
:root body.mdl197 #mdl-v215-master{
  margin:14px 0 20px;padding:18px;background:#17202b;
  border:1px solid #40516a;border-radius:12px;color:#f1f4f9
}
:root body.mdl197 #mdl-v215-master h2{color:#ffbd70;font-size:19px;margin:4px 0 10px}
:root body.mdl197 #mdl-v215-master h3{font-size:15px;margin:18px 0 9px;color:#e2e8f0}
:root body.mdl197 #mdl-v215-master .mdl-secure-table-wrap{
  max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;
  border:1px solid #354055;border-radius:9px
}
:root body.mdl197 #mdl-v215-master table{width:100%;border-collapse:collapse;font-size:12px}
:root body.mdl197 #mdl-v215-master th,:root body.mdl197 #mdl-v215-master td{
  padding:9px;text-align:left;border-bottom:1px solid #354055;vertical-align:middle;
  overflow-wrap:anywhere
}
:root body.mdl197 #mdl-v215-master .mdl-secure-actions{
  display:flex;gap:7px;flex-wrap:wrap
}
:root body.mdl197 #mdl-v215-master button{
  font-size:12px;min-height:36px;color:#ffcf86;background:#31291e;
  border:1px solid #856638;border-radius:7px;padding:7px 10px;cursor:pointer
}
:root body.mdl197 #mdl-v215-master button:focus-visible{outline:2px solid #f1a24b}
:root body.mdl197 #mdl-v215-master .mdl-secure-temporary{
  max-width:280px;user-select:text;word-break:break-all;margin-top:8px;font-family:monospace
}
@media(max-width:760px){
 :root body.mdl197 #mdl-v215-master{padding:12px}
 :root body.mdl197 #mdl-v215-master table{min-width:570px}
}

/* V2.24 — Official Lojas MDL logo restored on the new gateway login. */
:root body.mdl197.mdl197-gate .mdl197-gate-card .mdl197-login-logo-wrap{
  display:flex;align-items:center;justify-content:center;
  margin:0 0 20px;min-width:0;
}
:root body.mdl197.mdl197-gate .mdl197-gate-card .mdl197-login-logo{
  display:block;width:min(220px,100%);height:110px;
  max-width:100%;object-fit:contain;
  background:#fff;padding:8px 12px;
  border:1px solid #ffffff26;border-radius:12px;
  box-shadow:0 8px 26px #0003;
}
@media(max-width:480px){
  :root body.mdl197.mdl197-gate .mdl197-gate-card .mdl197-login-logo-wrap{
    margin-bottom:16px;
  }
  :root body.mdl197.mdl197-gate .mdl197-gate-card .mdl197-login-logo{
    width:min(190px,100%);height:94px;padding:7px 10px;
  }
}
