/* TRDecoder PRO full responsive dashboard redesign v2
   Frontend-only. Existing IDs, APIs and backend flows remain untouched. */
body.trd-dashboard-active{
  --d-bg:#020711;--d-bg2:#050c18;--d-panel:#081322;--d-panel2:#0b182a;--d-line:rgba(139,169,207,.16);
  --d-text:#f8fbff;--d-muted:#8fa4bf;--d-blue:#2288ff;--d-cyan:#26c7ff;--d-green:#22c55e;--d-amber:#f59e0b;--d-red:#ef4444;
  margin:0!important;background:radial-gradient(950px 600px at 58% -10%,rgba(34,136,255,.17),transparent 65%),linear-gradient(180deg,#020711,#040b15)!important;color:var(--d-text)!important;
  overflow-x:hidden;
}
body.trd-dashboard-active *{box-sizing:border-box}
body.trd-dashboard-active #appRoot{min-height:100vh!important;background:transparent!important}
body.trd-dashboard-active #appRoot>.wrap{display:none!important}
#trdDash{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr);grid-template-rows:76px minmax(0,1fr);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--d-text)}
.trdSvg{width:20px;height:20px;display:inline-grid;place-items:center;flex:0 0 auto}.trdSvg svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trdDashHeader{grid-column:1/-1;position:sticky;top:0;z-index:90;display:flex;align-items:center;gap:18px;padding:11px 18px;border-bottom:1px solid var(--d-line);background:rgba(2,7,17,.92);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 18px 55px rgba(0,0,0,.22)}
.trdDashBrand{display:flex;align-items:center;gap:12px;min-width:245px}.trdDashLogo{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#1267e8,#20c7ff);box-shadow:0 0 36px rgba(34,136,255,.28);position:relative;overflow:hidden}.trdDashLogo:after{content:"";position:absolute;inset:-35%;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.32),transparent 65%);transform:translateX(-60%);animation:trdShine 5s ease-in-out infinite}.trdDashLogo span{font-size:20px;font-weight:1000;letter-spacing:-.08em;z-index:1}.trdDashBrandText{font-size:21px;font-weight:1000;letter-spacing:-.035em;white-space:nowrap}.trdDashBrandText span{color:#37baff}
@keyframes trdShine{0%,55%{transform:translateX(-60%)}75%,100%{transform:translateX(65%)}}
.trdDashNav{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:auto;padding:3px;scrollbar-width:none}.trdDashNav::-webkit-scrollbar{display:none}
.trdDashNavBtn,.trdIconBtn,.trdMenuBtn,.trdSidebarClose{appearance:none;border:1px solid var(--d-line);background:linear-gradient(180deg,rgba(14,29,52,.92),rgba(6,15,29,.92));color:#dcecff;border-radius:13px;min-height:46px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.trdDashNavBtn:hover,.trdIconBtn:hover,.trdMenuBtn:hover{transform:translateY(-1px);border-color:rgba(38,199,255,.5);background:linear-gradient(180deg,rgba(29,76,124,.72),rgba(10,25,45,.94));box-shadow:0 12px 30px rgba(0,0,0,.22)}.trdDashNavBtn.active{border-color:rgba(34,136,255,.82);background:linear-gradient(135deg,rgba(34,136,255,.34),rgba(38,199,255,.12));box-shadow:0 0 28px rgba(34,136,255,.14)}.trdDashNavBtn:disabled,.trdIconBtn:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}
.trdDashAccount{display:flex;align-items:center;gap:10px;padding-left:14px;border-left:1px solid var(--d-line);white-space:nowrap}.trdDashAvatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:1000;background:linear-gradient(145deg,#182a45,#091526);border:1px solid rgba(125,211,252,.32);box-shadow:0 0 0 5px rgba(34,136,255,.06)}.trdDashWho b{display:block;font-size:12px}.trdDashWho small{display:block;color:var(--d-muted);font-size:10px;margin-top:2px}.trdRoleBadge{display:inline-flex;padding:5px 9px;border-radius:999px;border:1px solid rgba(34,136,255,.42);background:rgba(34,136,255,.13);color:#60c8ff;font-size:10px;font-weight:1000}.trdIconBtn{width:42px;min-width:42px;padding:0}.trdLangBtn{font-size:11px}.trdMenuBtn{display:none;width:44px;min-width:44px;padding:0}
.trdDashSidebar{grid-column:1;grid-row:2;position:sticky;top:76px;height:calc(100vh - 76px);overflow:auto;padding:18px 14px 28px;border-right:1px solid var(--d-line);background:linear-gradient(180deg,rgba(5,13,26,.98),rgba(3,9,18,.95));z-index:72}.trdSidebarClose{display:none}.trdSideProfile{padding:18px 14px;border:1px solid var(--d-line);border-radius:20px;background:linear-gradient(180deg,rgba(12,27,49,.76),rgba(5,13,25,.68));box-shadow:0 22px 55px rgba(0,0,0,.18)}.trdProfileLine{display:flex;align-items:center;gap:12px;text-align:left}.trdSideProfile .trdDashAvatar{width:62px;height:62px;font-size:21px}.trdSideName{font-size:17px;font-weight:1000}.trdSideMail{font-size:10px;color:var(--d-muted);margin-top:4px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.trdSideStats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.trdStat{padding:11px;border:1px solid var(--d-line);border-radius:14px;background:rgba(2,7,17,.48);text-align:left}.trdStat span{display:block;color:var(--d-muted);font-size:9px;font-weight:850}.trdStat b{display:block;margin-top:5px;font-size:16px;line-height:1;color:#f8fafc;overflow:hidden;text-overflow:ellipsis}.trdStat b.blue{color:#3abaff}.trdSideTitle{margin:21px 8px 9px;color:#758ca8;font-size:10px;font-weight:1000;letter-spacing:.14em;text-transform:uppercase}.trdSideMenu{display:grid;gap:7px}.trdSideBtn{width:100%;min-height:47px;border:1px solid transparent;border-radius:13px;background:transparent;color:#cad8e8;padding:0 11px;display:flex;align-items:center;gap:10px;text-align:left;font-size:12px;font-weight:850;cursor:pointer;transition:.16s ease}.trdSideBtn:hover{border-color:var(--d-line);background:rgba(34,136,255,.11);color:#fff;transform:translateX(2px)}.trdSideBtn>span:nth-child(2){flex:1}.trdSideBtn>.trdSvg:last-child{width:15px;height:15px;color:#667e9b}.trdSystemCard{margin-top:18px;padding:14px;border-radius:16px;border:1px solid rgba(34,197,94,.24);background:rgba(34,197,94,.065);position:relative;overflow:hidden}.trdSystemCard b{font-size:12px}.trdSystemCard span{display:block;color:#4ade80;font-size:11px;margin-top:4px}.trdSystemDot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 6px rgba(34,197,94,.11);margin-right:8px}.trdSignal{display:flex;align-items:flex-end;gap:3px;height:20px;margin-top:12px}.trdSignal i{display:block;width:5px;border-radius:4px;background:linear-gradient(#26c7ff,#2288ff)}.trdSignal i:nth-child(1){height:5px}.trdSignal i:nth-child(2){height:8px}.trdSignal i:nth-child(3){height:12px}.trdSignal i:nth-child(4){height:16px}.trdSignal i:nth-child(5){height:20px}
.trdDashMain{grid-column:2;grid-row:2;min-width:0;padding:18px 18px 112px;overflow:hidden}.trdMainStack{width:min(1540px,100%);margin:0 auto;display:grid;gap:14px}.trdPanel{border:1px solid var(--d-line);border-radius:19px;background:linear-gradient(180deg,rgba(9,20,37,.91),rgba(5,12,24,.86));box-shadow:0 24px 70px rgba(0,0,0,.20)}.trdEcuPanel{padding:15px 16px}.trdPanelTitle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.trdPanelTitle b{display:flex;align-items:center;gap:8px;font-size:13px}.trdPanelTitle b .trdSvg{color:#32b9ff}.trdPanelTitle small{color:var(--d-muted)}.trdInfoGrid{display:grid;grid-template-columns:1fr 1.25fr 1.6fr .9fr .9fr .85fr .9fr;gap:9px}.trdInfoBox{min-width:0;padding:12px;border:1px solid rgba(139,169,207,.13);border-radius:13px;background:rgba(2,7,17,.43)}.trdInfoBox span{display:block;color:#748da9;font-size:9px;font-weight:1000;letter-spacing:.08em}.trdInfoBox b{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.trdInfoBox.good b{color:#4ade80}.trdWorkflow{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:12px}.trdStep{position:relative;min-height:66px;padding:10px 12px 10px 51px;border-radius:14px;border:1px solid rgba(139,169,207,.13);background:rgba(11,24,44,.66);display:flex;flex-direction:column;justify-content:center;transition:.2s}.trdStepNum{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#24334b;color:#bccbdb;font-weight:1000}.trdStep b{font-size:11px}.trdStep small{color:var(--d-muted);font-size:9px;margin-top:3px}.trdStep.active{border-color:rgba(34,136,255,.78);background:linear-gradient(135deg,rgba(34,136,255,.23),rgba(10,24,45,.78));box-shadow:0 0 30px rgba(34,136,255,.11)}.trdStep.active .trdStepNum,.trdStep.done .trdStepNum{background:linear-gradient(145deg,#1267e8,#26c7ff);color:white}.trdStep.done{border-color:rgba(34,197,94,.3)}
/* Existing functional cards restyled, never replaced */
body.trd-dashboard-active #binSelectCard,body.trd-dashboard-active #opsCard{width:100%!important;max-width:none!important;margin:0!important;border-radius:19px!important;border:1px solid var(--d-line)!important;background:linear-gradient(180deg,rgba(9,20,37,.93),rgba(5,12,24,.89))!important;box-shadow:0 24px 70px rgba(0,0,0,.20)!important;overflow:hidden!important}
body.trd-dashboard-active #binSelectCard .cardHeader{padding:18px 19px 0!important;text-align:left!important}body.trd-dashboard-active #binSelectCard .title{font-size:26px!important;letter-spacing:-.035em!important}body.trd-dashboard-active #binSelectCard .subtitle{max-width:none!important;margin:6px 0 14px!important;font-size:12px!important;color:#94a8c1!important}.modeToggle{border-radius:14px!important;padding:4px!important;background:rgba(2,7,17,.54)!important;border:1px solid var(--d-line)!important}.modeBtn{min-height:42px!important;border-radius:10px!important;font-weight:950!important;transition:.16s!important}.modeBtn.active{background:linear-gradient(135deg,#176be9,#26c7ff)!important;box-shadow:0 10px 28px rgba(34,136,255,.22)!important;color:white!important}
body.trd-dashboard-active #binSelectCard .cardBody{padding:16px 19px 19px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 14px!important;align-items:start!important}body.trd-dashboard-active #binSelectCard .cardBody>label{font-size:10px!important;color:#7f96b1!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:1000!important}body.trd-dashboard-active #familySelect{height:50px!important;border-radius:13px!important;border:1px solid rgba(139,169,207,.18)!important;background:#061122!important;color:#f8fbff!important;padding:0 14px!important;font-weight:850!important}body.trd-dashboard-active #fileInput{min-height:88px!important;padding:25px 17px!important;border-radius:15px!important;border:1px dashed rgba(38,199,255,.48)!important;background:rgba(4,15,29,.68)!important;color:#dcecff!important}body.trd-dashboard-active #fileInput:hover{border-color:#26c7ff!important;background:rgba(17,67,105,.18)!important}.dropHint{color:#5ebeea!important;font-size:10px!important}.btnRow{grid-column:1/-1!important}.btn,#analyzeBtn,#applyBtn,#requestBtn{min-height:52px!important;border-radius:14px!important;border:1px solid rgba(38,199,255,.28)!important;background:linear-gradient(135deg,#2469e8,#15b7e9,#21c96d)!important;color:white!important;font-weight:1000!important;letter-spacing:.01em!important;box-shadow:0 14px 36px rgba(24,131,255,.18)!important;transition:.18s ease!important}.btn:hover:not(:disabled),#analyzeBtn:hover:not(:disabled),#applyBtn:hover:not(:disabled){transform:translateY(-2px)!important;filter:brightness(1.08)!important;box-shadow:0 18px 42px rgba(24,131,255,.27)!important}.btn:disabled,#analyzeBtn:disabled,#applyBtn:disabled,#requestBtn:disabled{opacity:.4!important;filter:grayscale(.35)!important;box-shadow:none!important;cursor:not-allowed!important}.status{border-radius:13px!important;font-weight:850!important}.resultBox{border-radius:14px!important}
/* Logo brand picker */
.trdNativeBrandSelect,.trdNativeBrandLabel{display:none!important}.trdBrandPicker{grid-column:1/-1;border:1px solid rgba(139,169,207,.14);border-radius:17px;background:linear-gradient(180deg,rgba(4,13,27,.8),rgba(3,10,20,.62));padding:14px}.trdBrandHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.trdBrandHead b{display:block;margin-top:3px;font-size:16px}.trdEyebrow{font-size:9px;font-weight:1000;letter-spacing:.14em;color:#37baff}.trdBrandSearch{height:42px;min-width:250px;display:flex!important;align-items:center;gap:8px;padding:0 12px!important;border:1px solid var(--d-line);border-radius:12px;background:rgba(2,7,17,.58);margin:0!important}.trdBrandSearch .trdSvg{width:17px;height:17px;color:#6a819e}.trdBrandSearch input{width:100%;border:0!important;outline:0!important;background:transparent!important;color:white!important;font-size:12px!important;padding:0!important;box-shadow:none!important}.trdBrandGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.trdBrandCard{appearance:none;position:relative;min-width:0;min-height:92px;padding:12px 8px 10px;border:1px solid rgba(139,169,207,.13);border-radius:15px;background:linear-gradient(180deg,rgba(14,28,50,.76),rgba(5,13,25,.76));color:#dcecff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.17s ease;overflow:hidden}.trdBrandCard:before{content:"";position:absolute;inset:0;background:radial-gradient(100px 55px at 50% 0%,rgba(38,199,255,.13),transparent 70%);opacity:0;transition:.17s}.trdBrandCard:hover{transform:translateY(-2px);border-color:rgba(38,199,255,.43);box-shadow:0 15px 38px rgba(0,0,0,.24)}.trdBrandCard:hover:before{opacity:1}.trdBrandCard.selected{border-color:rgba(34,136,255,.88);background:linear-gradient(160deg,rgba(34,136,255,.27),rgba(7,19,35,.92));box-shadow:0 0 0 1px rgba(38,199,255,.13),0 0 30px rgba(34,136,255,.12)}.trdBrandLogo{position:relative;width:42px;height:42px;display:grid;place-items:center;z-index:1}.trdBrandLogo img{max-width:40px;max-height:40px;display:block;filter:drop-shadow(0 8px 12px rgba(0,0,0,.32))}.trdBrandFallback{display:none;width:40px;height:40px;border-radius:13px;place-items:center;background:linear-gradient(145deg,#1a3558,#0b1b31);border:1px solid rgba(125,211,252,.22);font-weight:1000;color:#7dd3fc}.trdBrandLogo.fallback .trdBrandFallback,.trdBrandLogo:not(:has(img)) .trdBrandFallback{display:grid}.trdBrandName{z-index:1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:950}.trdBrandTick{display:none;position:absolute;right:7px;top:7px;width:19px;height:19px;border-radius:50%;background:#2188ff;color:white;place-items:center}.trdBrandTick .trdSvg{width:12px;height:12px}.trdBrandCard.selected .trdBrandTick{display:grid}.trdBrandMore{display:block;margin:11px auto 0;min-height:38px;padding:0 15px;border:1px solid var(--d-line);border-radius:11px;background:rgba(12,27,49,.72);color:#bcd0e5;font-size:11px;font-weight:900;cursor:pointer}.trdBrandMore:hover{border-color:rgba(38,199,255,.4);color:white}.trdBrandEmpty{grid-column:1/-1;padding:22px;text-align:center;color:var(--d-muted)}
body.trd-dashboard-active #opsCard .opsTop{display:none!important}.opsTable.solutionCardWrap{margin:0!important;padding:18px!important;border:0!important;border-radius:0!important;background:transparent!important}.premiumSolutionGrid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:11px!important}.solutionCard{min-height:112px!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(14,29,52,.86),rgba(6,15,29,.88))!important;border:1px solid rgba(139,169,207,.14)!important;transition:.18s ease!important}.solutionCard:hover{transform:translateY(-3px)!important;border-color:rgba(38,199,255,.39)!important;box-shadow:0 18px 48px rgba(0,0,0,.28)!important}.solutionCard.isReady{border-color:rgba(34,197,94,.38)!important}.solutionCard.isApplied{border-color:rgba(34,136,255,.58)!important;background:linear-gradient(180deg,rgba(10,45,82,.75),rgba(6,15,29,.88))!important}.solutionCard.isRestricted{border-color:rgba(245,158,11,.48)!important}.solTitle{font-size:13px!important}.solSub{font-size:10px!important}.solPill{font-size:9px!important}.trdAccessBadge{display:inline-flex;margin-top:6px;padding:3px 7px;border-radius:999px;border:1px solid rgba(245,158,11,.42);background:rgba(245,158,11,.12);color:#fbbf24;font-size:8px;font-weight:1000;letter-spacing:.08em}.solutionCard .serverPath,.solutionCard [data-path],.opsTable .path,.opsTable .debugPath{display:none!important}body.trd-dashboard-active #opsCard>div:last-child{padding:10px 18px 17px!important}body.trd-dashboard-active #opsCard>div:last-child #applyBtn{display:none!important}
.trdBottomDock{position:fixed;left:272px;right:0;bottom:0;z-index:78;min-height:92px;padding:11px 18px;display:grid;grid-template-columns:minmax(245px,1.4fr) repeat(4,minmax(135px,.8fr));gap:9px;border-top:1px solid var(--d-line);background:rgba(2,7,17,.93);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 -20px 55px rgba(0,0,0,.35)}.trdSafety,.trdDockBtn{border:1px solid var(--d-line);border-radius:14px;background:linear-gradient(180deg,rgba(13,27,49,.91),rgba(6,15,29,.91));color:#dcecff;display:flex;align-items:center;gap:10px;padding:10px 13px}.trdSafetyIcon{color:#4ade80}.trdSafety b{display:block;font-size:10px}.trdSafety span{display:block;color:#4ade80;font-size:9px;margin-top:3px}.trdDockBtn{appearance:none;justify-content:center;cursor:pointer;transition:.16s ease}.trdDockBtn:hover:not(:disabled){transform:translateY(-2px);border-color:rgba(38,199,255,.42);box-shadow:0 15px 36px rgba(0,0,0,.25)}.trdDockIcon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(34,136,255,.11);color:#55c7ff}.trdDockIcon .trdSvg{width:18px;height:18px}.trdDockCopy b{display:block;font-size:10px}.trdDockCopy small{display:block;color:var(--d-muted);font-size:8px;margin-top:3px}.trdDockBtn.primary{border-color:rgba(34,136,255,.55);background:linear-gradient(135deg,#176fe9,#2288ff);color:white}.trdDockBtn.primary .trdDockIcon,.trdDockBtn.green .trdDockIcon{background:rgba(255,255,255,.13);color:white}.trdDockBtn.green{border-color:rgba(34,197,94,.5);background:linear-gradient(135deg,#149447,#21c861);color:white}.trdDockBtn.safe{border-color:rgba(38,199,255,.3)}.trdDockBtn:disabled{opacity:.38;filter:grayscale(.45);cursor:not-allowed;transform:none!important;box-shadow:none!important}
.trdDashToast{position:fixed;right:22px;bottom:108px;z-index:200;max-width:min(420px,calc(100vw - 32px));padding:13px 16px;border-radius:13px;border:1px solid rgba(38,199,255,.32);background:rgba(5,15,28,.96);box-shadow:0 20px 55px rgba(0,0,0,.4);color:white;font-size:12px;font-weight:850;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}.trdDashToast.show{opacity:1;transform:none}.trdDashToast[data-type="warn"]{border-color:rgba(245,158,11,.5)}.trdDashToast[data-type="success"]{border-color:rgba(34,197,94,.5)}.trdMobileShade{display:none}
/* Mobile: same real functions, no dummy mobile page */
@media(max-width:1100px){.trdDashWho{display:none}.trdDashBrand{min-width:auto}.trdDashBrandText{font-size:18px}.trdInfoGrid{grid-template-columns:repeat(4,1fr)}.trdWideInfo{grid-column:span 2}.premiumSolutionGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.trdBottomDock{grid-template-columns:repeat(4,1fr)}.trdSafety{display:none}}
@media(max-width:900px){
  body.trd-dashboard-active{padding-bottom:72px!important}.trdForcedMobile,.trd-mobile-mode #trdDash{font-size:14px}
  #trdDash{display:block;min-height:100vh}.trdDashHeader{height:64px;padding:8px 10px;gap:9px}.trdMenuBtn{display:inline-flex}.trdDashBrand{flex:1}.trdDashLogo{width:40px;height:40px;border-radius:13px}.trdDashLogo span{font-size:17px}.trdDashBrandText{font-size:17px}.trdDashNav{display:none}.trdDashAccount{padding-left:0;border-left:0;gap:7px}.trdDashAccount .trdRoleBadge,.trdDashAccount .trdIconBtn:not(:last-child),.trdDashAccount .trdDashAvatar{display:none}.trdDashAccount .trdIconBtn:last-child{display:inline-flex;width:40px;min-width:40px;height:40px;min-height:40px}.trdDashSidebar{position:fixed;left:0;top:0;bottom:0;width:min(320px,88vw);height:100vh;z-index:120;transform:translateX(-105%);transition:transform .22s ease;box-shadow:30px 0 70px rgba(0,0,0,.46);padding-top:62px}.trdSidebarClose{display:inline-flex;position:absolute;right:13px;top:12px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0}.trd-nav-open .trdDashSidebar{transform:none}.trdMobileShade{display:block;position:fixed;inset:0;z-index:110;background:rgba(0,4,12,.72);backdrop-filter:blur(5px);opacity:0;pointer-events:none;transition:.2s}.trd-nav-open .trdMobileShade{opacity:1;pointer-events:auto}.trdSideProfile{padding:15px}.trdSideProfile .trdDashAvatar{width:54px;height:54px}.trdDashMain{padding:12px 10px 82px}.trdMainStack{gap:10px}.trdEcuPanel{padding:12px}.trdPanelTitle{align-items:flex-start}.trdPanelTitle small{max-width:55%;text-align:right;font-size:9px}.trdInfoGrid{grid-template-columns:1fr 1fr;gap:7px}.trdInfoBox{padding:10px}.trdInfoBox:nth-child(3){grid-column:1/-1}.trdWideInfo{grid-column:1/-1}.trdWorkflow{display:flex;overflow-x:auto;gap:7px;padding:9px;scroll-snap-type:x mandatory;scrollbar-width:none}.trdWorkflow::-webkit-scrollbar{display:none}.trdStep{flex:0 0 150px;min-height:58px;padding-left:43px;scroll-snap-align:start}.trdStepNum{left:9px;width:27px;height:27px}.trdBrandHead{align-items:stretch;flex-direction:column}.trdBrandSearch{min-width:0;width:100%}.trdBrandGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.trdBrandCard{min-height:82px;padding:9px 5px}.trdBrandLogo{width:35px;height:35px}.trdBrandLogo img{max-width:34px;max-height:34px}.trdBrandFallback{width:35px;height:35px}.trdBrandName{font-size:9px}.trdBrandPicker{padding:10px}.trdBrandHead b{font-size:14px}body.trd-dashboard-active #binSelectCard .cardHeader{padding:14px 13px 0!important}body.trd-dashboard-active #binSelectCard .title{font-size:21px!important}body.trd-dashboard-active #binSelectCard .cardBody{grid-template-columns:1fr!important;padding:12px 13px 14px!important;gap:10px!important}body.trd-dashboard-active #binSelectCard .cardBody>label{grid-column:1!important}.btnRow{grid-column:1!important}body.trd-dashboard-active #fileInput{min-height:96px!important;width:100%!important}.premiumSolutionGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.opsTable.solutionCardWrap{padding:11px!important}.solutionCard{min-height:100px!important;padding:11px 31px 10px 10px!important;border-radius:14px!important;gap:8px!important}.solIcon{width:34px!important;height:34px!important;min-width:34px!important;border-radius:11px!important;font-size:18px!important}.solTitle{font-size:11px!important}.solSub{font-size:9px!important}.solMiniRow{gap:4px!important}.solPill{font-size:8px!important;padding:3px 5px!important}.trdBottomDock{left:0;right:0;bottom:0;min-height:68px;height:68px;padding:6px;grid-template-columns:repeat(4,1fr);gap:5px}.trdDockBtn{min-width:0;padding:5px 2px;flex-direction:column;gap:3px;border-radius:11px}.trdDockIcon{width:25px;height:25px;border-radius:8px}.trdDockIcon .trdSvg{width:15px;height:15px}.trdDockCopy b{font-size:8px;white-space:nowrap}.trdDockCopy small{display:none}.trdDashToast{right:10px;bottom:78px}.supportFab{bottom:78px!important;right:10px!important}.overlayCard{max-width:calc(100vw - 20px)!important;border-radius:18px!important}
}
@media(max-width:430px){.trdDashBrandText{font-size:15px}.trdBrandGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.premiumSolutionGrid{grid-template-columns:1fr 1fr!important}.solutionCard{min-height:94px!important}.trdInfoBox b{font-size:10px}.trdPanelTitle b{font-size:11px}.trdDockCopy b{font-size:7px}.trdDashAccount .trdIconBtn:last-child{width:36px;min-width:36px;height:36px;min-height:36px}}


/* TRDecoder PRO dashboard V3 complete visual controls fix */
body.trd-dashboard-active .trdBrandMore{display:none!important}
body.trd-dashboard-active .trdBrandCount{display:block;margin-top:6px;color:#6f8aa7;font-size:10px;font-weight:850;letter-spacing:.03em}
body.trd-dashboard-active .trdBrandGrid{grid-template-columns:repeat(6,minmax(132px,1fr));align-items:stretch}
body.trd-dashboard-active .trdBrandCard{min-height:106px;border-radius:18px;padding:13px 9px;background:linear-gradient(155deg,rgba(15,34,60,.96),rgba(5,14,28,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
body.trd-dashboard-active .trdBrandLogo{width:48px;height:48px}
body.trd-dashboard-active .trdBrandLogo img{max-width:46px;max-height:46px}
body.trd-dashboard-active .trdBrandFallback{width:46px;height:46px;border-radius:15px;font-size:14px}
body.trd-dashboard-active .trdBrandName{white-space:normal;overflow:visible;text-overflow:clip;text-align:center;line-height:1.2;min-height:24px;display:grid;place-items:center;font-size:10.5px}

/* Real redesigned top navigation buttons */
body.trd-dashboard-active .trdDashHeader{min-height:82px;padding:12px 20px;background:linear-gradient(180deg,rgba(3,10,22,.98),rgba(2,7,17,.94))}
body.trd-dashboard-active .trdDashNav{gap:10px}
body.trd-dashboard-active .trdDashNavBtn{position:relative;min-height:54px;padding:0 18px;border-radius:17px;border-color:rgba(133,173,220,.20);background:linear-gradient(155deg,rgba(17,39,69,.96),rgba(6,16,31,.96));font-size:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 24px rgba(0,0,0,.15);overflow:hidden}
body.trd-dashboard-active .trdDashNavBtn:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#38bdf8,transparent);opacity:0;transition:.18s}
body.trd-dashboard-active .trdDashNavBtn:hover:after,body.trd-dashboard-active .trdDashNavBtn.active:after{opacity:1}
body.trd-dashboard-active .trdDashNavBtn .trdSvg{width:21px;height:21px;color:#8ddcff}
body.trd-dashboard-active .trdDashNavBtn.active{background:linear-gradient(135deg,#125fcf,#168de8 58%,#20bde1);border-color:#37baff;color:white;box-shadow:0 12px 35px rgba(20,126,232,.30),inset 0 1px 0 rgba(255,255,255,.18)}
body.trd-dashboard-active .trdDashNavBtn.active .trdSvg{color:white}

/* Real redesigned search-mode buttons instead of the old pills */
body.trd-dashboard-active #binSelectCard .modeToggle{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:min(620px,100%)!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
body.trd-dashboard-active #binSelectCard .modeBtn{position:relative;min-height:68px!important;padding:10px 18px!important;border-radius:19px!important;border:1px solid rgba(133,173,220,.18)!important;background:linear-gradient(155deg,rgba(15,34,60,.96),rgba(5,14,28,.96))!important;color:#a8bdd4!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;text-align:left!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 34px rgba(0,0,0,.14)!important}
body.trd-dashboard-active #binSelectCard .modeBtn>.trdSvg{width:27px;height:27px;min-width:27px;color:#65cfff}
body.trd-dashboard-active #binSelectCard .modeBtn>span{display:flex;flex-direction:column;gap:3px}
body.trd-dashboard-active #binSelectCard .modeBtn b{font-size:13px;color:#ecf7ff}
body.trd-dashboard-active #binSelectCard .modeBtn small{font-size:9px;color:#728aa6;font-weight:750}
body.trd-dashboard-active #binSelectCard .modeBtn.active{border-color:#38bdf8!important;background:linear-gradient(135deg,#135fcc,#168fe8 58%,#1fbfdc)!important;color:white!important;box-shadow:0 16px 42px rgba(20,126,232,.28),inset 0 1px 0 rgba(255,255,255,.17)!important}
body.trd-dashboard-active #binSelectCard .modeBtn.active>.trdSvg,body.trd-dashboard-active #binSelectCard .modeBtn.active b,body.trd-dashboard-active #binSelectCard .modeBtn.active small{color:white!important}

/* Main native action buttons: no old visual remains */
body.trd-dashboard-active #binSelectCard #analyzeBtn,
body.trd-dashboard-active #opsCard #applyBtn,
body.trd-dashboard-active #opsCard #requestBtn{position:relative;min-height:66px!important;height:66px!important;border:1px solid rgba(87,190,255,.65)!important;border-radius:20px!important;background:linear-gradient(125deg,#1459d2 0%,#138fe5 46%,#19bfd1 72%,#20bd68 100%)!important;color:#fff!important;font-size:14px!important;font-weight:1000!important;letter-spacing:.02em!important;box-shadow:0 18px 48px rgba(20,115,220,.27),inset 0 1px 0 rgba(255,255,255,.19)!important;transition:.18s ease!important}
body.trd-dashboard-active #binSelectCard #analyzeBtn:hover:not(:disabled),
body.trd-dashboard-active #opsCard #applyBtn:hover:not(:disabled),
body.trd-dashboard-active #opsCard #requestBtn:hover:not(:disabled){transform:translateY(-2px)!important;filter:saturate(1.12) brightness(1.06)!important;box-shadow:0 24px 58px rgba(20,115,220,.36),inset 0 1px 0 rgba(255,255,255,.22)!important}
body.trd-dashboard-active #binSelectCard #analyzeBtn:disabled,
body.trd-dashboard-active #opsCard #applyBtn:disabled,
body.trd-dashboard-active #opsCard #requestBtn:disabled{opacity:.42!important;background:linear-gradient(135deg,#173052,#21425c)!important;border-color:rgba(133,173,220,.14)!important;box-shadow:none!important;color:#7f93a9!important}

/* Sidebar entries are now genuine premium action cards */
body.trd-dashboard-active .trdSideMenu{gap:9px}
body.trd-dashboard-active .trdSideBtn{min-height:54px;padding:0 12px;border:1px solid rgba(133,173,220,.10);border-radius:16px;background:linear-gradient(155deg,rgba(12,29,52,.74),rgba(5,14,27,.74));box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
body.trd-dashboard-active .trdSideBtn>.trdSvg:first-child{width:34px;height:34px;padding:8px;border-radius:11px;background:rgba(34,136,255,.12);color:#70d2ff}
body.trd-dashboard-active .trdSideBtn:hover{transform:translateX(3px);border-color:rgba(56,189,248,.35);background:linear-gradient(155deg,rgba(17,50,86,.92),rgba(6,18,35,.92));box-shadow:0 12px 30px rgba(0,0,0,.18)}

/* Solution selection is now a modern switch, not the old tiny square */
body.trd-dashboard-active .solutionCard{padding-right:70px!important;min-height:122px!important}
body.trd-dashboard-active .solutionCard input.solChk{right:14px!important;top:14px!important;width:50px!important;height:27px!important;opacity:0!important;z-index:5!important}
body.trd-dashboard-active .solutionCard .solCheckVisual{right:14px!important;top:14px!important;width:50px!important;height:27px!important;border-radius:999px!important;border:1px solid rgba(133,173,220,.35)!important;background:#18283c!important;box-shadow:inset 0 2px 6px rgba(0,0,0,.38)!important;transition:.18s ease!important}
body.trd-dashboard-active .solutionCard .solCheckVisual:before{content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:#d7e4ef;box-shadow:0 3px 8px rgba(0,0,0,.38);transition:.18s ease}
body.trd-dashboard-active .solutionCard input.solChk:checked + .solCheckVisual{border-color:#38bdf8!important;background:linear-gradient(90deg,#1467dc,#22c7f0)!important;box-shadow:0 0 0 4px rgba(34,136,255,.11),0 0 22px rgba(34,136,255,.18)!important}
body.trd-dashboard-active .solutionCard input.solChk:checked + .solCheckVisual:before{left:27px;background:#fff}
body.trd-dashboard-active .solutionCard input.solChk:checked + .solCheckVisual:after{display:none!important;content:none!important}
body.trd-dashboard-active .solutionCard input.solChk:disabled + .solCheckVisual{opacity:.33!important}

/* Bottom action bar buttons are visibly redesigned and larger */
body.trd-dashboard-active .trdDashMain{padding-bottom:138px}
body.trd-dashboard-active .trdBottomDock{min-height:112px;padding:13px 20px;grid-template-columns:minmax(250px,1.25fr) repeat(4,minmax(145px,.86fr));gap:11px;background:linear-gradient(180deg,rgba(3,10,21,.96),rgba(2,7,16,.99))}
body.trd-dashboard-active .trdSafety,body.trd-dashboard-active .trdDockBtn{min-height:82px;border-radius:19px}
body.trd-dashboard-active .trdDockBtn{position:relative;padding:11px 14px;justify-content:flex-start;background:linear-gradient(155deg,rgba(16,36,63,.96),rgba(6,16,31,.96));border-color:rgba(133,173,220,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 10px 30px rgba(0,0,0,.16);overflow:hidden}
body.trd-dashboard-active .trdDockBtn:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,#38bdf8,transparent);opacity:.55}
body.trd-dashboard-active .trdDockIcon{width:43px;height:43px;border-radius:14px;background:rgba(34,136,255,.14);color:#7bd8ff}
body.trd-dashboard-active .trdDockIcon .trdSvg{width:22px;height:22px}
body.trd-dashboard-active .trdDockCopy b{font-size:12px;letter-spacing:.02em}
body.trd-dashboard-active .trdDockCopy small{font-size:9px;margin-top:5px}
body.trd-dashboard-active .trdDockBtn.primary{background:linear-gradient(135deg,#145bd0,#138fe7 62%,#23b9df);border-color:#43c4ff;box-shadow:0 18px 42px rgba(20,115,220,.28),inset 0 1px 0 rgba(255,255,255,.17)}
body.trd-dashboard-active .trdDockBtn.green{background:linear-gradient(135deg,#128443,#20bd66);border-color:#3cda83;box-shadow:0 18px 42px rgba(25,170,88,.22),inset 0 1px 0 rgba(255,255,255,.14)}
body.trd-dashboard-active .trdDockBtn:disabled{opacity:.38!important;background:linear-gradient(155deg,#142237,#0a1627)!important;border-color:rgba(133,173,220,.10)!important;box-shadow:none!important}

@media(max-width:1350px){
  body.trd-dashboard-active .trdBrandGrid{grid-template-columns:repeat(4,minmax(130px,1fr))}
  body.trd-dashboard-active .trdDashNavBtn{padding:0 13px}
  body.trd-dashboard-active .trdDashBrand{min-width:210px}
  body.trd-dashboard-active .trdBottomDock{grid-template-columns:repeat(4,minmax(130px,1fr))}
  body.trd-dashboard-active .trdSafety{display:none}
}
@media(max-width:1050px){
  body.trd-dashboard-active .trdBrandGrid{grid-template-columns:repeat(4,minmax(110px,1fr))}
  body.trd-dashboard-active .trdBottomDock{left:0}
}
@media(max-width:900px){
  body.trd-dashboard-active .trdDashMain{padding-bottom:96px!important}
  body.trd-dashboard-active .trdBrandGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.trd-dashboard-active .trdBrandCard{min-height:94px!important}
  body.trd-dashboard-active #binSelectCard .modeToggle{grid-template-columns:1fr!important}
  body.trd-dashboard-active #binSelectCard .modeBtn{min-height:62px!important}
  body.trd-dashboard-active .trdBottomDock{display:flex!important;left:0!important;right:0!important;bottom:0!important;height:78px!important;min-height:78px!important;padding:7px 8px!important;gap:7px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:none}
  body.trd-dashboard-active .trdBottomDock::-webkit-scrollbar{display:none}
  body.trd-dashboard-active .trdDockBtn{flex:0 0 112px!important;min-height:64px!important;height:64px!important;padding:6px 7px!important;border-radius:15px!important;scroll-snap-align:start;flex-direction:row!important;justify-content:flex-start!important}
  body.trd-dashboard-active .trdDockIcon{width:32px!important;height:32px!important;min-width:32px!important;border-radius:10px!important}
  body.trd-dashboard-active .trdDockCopy b{font-size:9px!important}
  body.trd-dashboard-active .trdDockCopy small{display:none!important}
  body.trd-dashboard-active .solutionCard{padding-right:61px!important}
  body.trd-dashboard-active .solutionCard input.solChk{width:44px!important;height:25px!important}
  body.trd-dashboard-active .solutionCard .solCheckVisual{width:44px!important;height:25px!important}
  body.trd-dashboard-active .solutionCard .solCheckVisual:before{width:17px;height:17px}
  body.trd-dashboard-active .solutionCard input.solChk:checked + .solCheckVisual:before{left:23px}
}
@media(max-width:560px){
  body.trd-dashboard-active .trdBrandGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.trd-dashboard-active .trdBrandCard{min-height:90px!important}
  body.trd-dashboard-active .trdDashBrandText{font-size:15px!important}
}

/* =========================================================
   V4: semantic solution switches, account/logout, history,
   and professional live support. Frontend only.
   ========================================================= */

/* OFF operations show the current ECU state: blue = currently open.
   Selecting the operation moves the switch left/gray = will be closed. */
body.trd-dashboard-active .solutionCard.trdOffAction.isReady input.solChk:not(:checked) + .solCheckVisual{
  border-color:#38bdf8!important;
  background:linear-gradient(90deg,#1467dc,#22c7f0)!important;
  box-shadow:0 0 0 4px rgba(34,136,255,.11),0 0 22px rgba(34,136,255,.18)!important
}
body.trd-dashboard-active .solutionCard.trdOffAction.isReady input.solChk:not(:checked) + .solCheckVisual:before{left:27px!important;background:#fff!important}
body.trd-dashboard-active .solutionCard.trdOffAction.isReady input.solChk:checked + .solCheckVisual{
  border-color:rgba(245,158,11,.55)!important;background:#18283c!important;box-shadow:0 0 0 4px rgba(245,158,11,.08)!important
}
body.trd-dashboard-active .solutionCard.trdOffAction.isReady input.solChk:checked + .solCheckVisual:before{left:3px!important;background:#f6d58a!important}
body.trd-dashboard-active .solutionCard.trdOffAction.trdActionSelected{border-color:rgba(245,158,11,.8)!important;box-shadow:0 0 0 1px rgba(245,158,11,.26),0 16px 48px rgba(0,0,0,.27)!important}
body.trd-dashboard-active .solutionCard.trdOffAction.trdActionSelected .solSub{color:#fbbf24!important}
body.trd-dashboard-active .solutionCard.trdAddAction.trdActionSelected .solSub{color:#38bdf8!important}
body.trd-dashboard-active .trdSwitchDetail{margin-top:4px;color:#7890aa;font-size:9px;font-weight:750;line-height:1.35}
body.trd-dashboard-active .solutionCard.trdOffAction:not(.trdActionSelected) .solSub{color:#38bdf8!important}
body.trd-dashboard-active .solutionCard.trdOffAction:not(.trdActionSelected) .trdSwitchDetail{color:#7ccfff}
body.trd-dashboard-active .solutionCard.isApplied .solCheckVisual{background:#172236!important;border-color:rgba(239,68,68,.35)!important;opacity:.58!important}

/* Account menu */
body.trd-dashboard-active .trdAccountMenu{position:fixed;z-index:260;right:18px;top:72px;width:330px;padding:12px;border:1px solid rgba(99,176,255,.24);border-radius:20px;background:linear-gradient(165deg,rgba(10,25,46,.985),rgba(3,10,22,.99));box-shadow:0 30px 90px rgba(0,0,0,.55);backdrop-filter:blur(18px);opacity:0;transform:translateY(-8px) scale(.98);pointer-events:none;transition:.18s ease}
body.trd-dashboard-active .trdAccountMenu.show{opacity:1;transform:none;pointer-events:auto}
body.trd-dashboard-active .trdAccountMenuHead{display:flex;gap:11px;align-items:center;padding:8px 8px 14px;border-bottom:1px solid rgba(133,173,220,.14);margin-bottom:8px}
body.trd-dashboard-active .trdAccountMenuHead>div:last-child{min-width:0;display:flex;flex-direction:column}
body.trd-dashboard-active .trdAccountMenuHead b{font-size:13px;color:#eef7ff;overflow:hidden;text-overflow:ellipsis}
body.trd-dashboard-active .trdAccountMenuHead small{font-size:10px;color:#7188a2;overflow:hidden;text-overflow:ellipsis}
body.trd-dashboard-active .trdAccountMenu>button{width:100%;display:flex;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border:1px solid transparent;border-radius:15px;background:transparent;color:#dcecff;text-align:left;cursor:pointer;transition:.16s ease}
body.trd-dashboard-active .trdAccountMenu>button:hover{background:rgba(34,136,255,.1);border-color:rgba(56,189,248,.26)}
body.trd-dashboard-active .trdAccountMenu>button.danger:hover{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.28)}
body.trd-dashboard-active .trdAccountMenu>button>.trdSvg{width:35px;height:35px;padding:8px;border-radius:11px;background:rgba(34,136,255,.13);color:#70d2ff;flex:0 0 auto}
body.trd-dashboard-active .trdAccountMenu>button.danger>.trdSvg{background:rgba(239,68,68,.12);color:#ff8e8e}
body.trd-dashboard-active .trdAccountMenu>button span{display:flex;flex-direction:column;gap:3px}
body.trd-dashboard-active .trdAccountMenu>button b{font-size:12px}
body.trd-dashboard-active .trdAccountMenu>button small{font-size:9px;color:#7188a2}

/* User operation history */
body.trd-dashboard-active .trdHistoryModal{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,5,14,.78);backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition:.2s ease}
body.trd-dashboard-active .trdHistoryModal.show{opacity:1;pointer-events:auto}
body.trd-dashboard-active .trdHistoryCard{width:min(1100px,96vw);max-height:min(820px,92vh);display:flex;flex-direction:column;border:1px solid rgba(75,170,255,.25);border-radius:25px;background:linear-gradient(160deg,#0a1b31,#030b18 78%);box-shadow:0 40px 120px rgba(0,0,0,.62);overflow:hidden}
body.trd-dashboard-active .trdHistoryHead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:23px 25px 18px;border-bottom:1px solid rgba(133,173,220,.13)}
body.trd-dashboard-active .trdHistoryHead h2{margin:4px 0 4px;font-size:23px;color:#f3f8ff}
body.trd-dashboard-active .trdHistoryHead p{margin:0;color:#7f95ae;font-size:11px}
body.trd-dashboard-active .trdHistoryActions{display:flex;gap:8px}
body.trd-dashboard-active .trdHistoryActions button{min-height:42px;padding:0 13px;display:flex;align-items:center;gap:7px;border:1px solid rgba(133,173,220,.2);border-radius:12px;background:#0d2039;color:#e8f4ff;font-weight:900;cursor:pointer}
body.trd-dashboard-active .trdHistoryActions button:last-child{width:42px;padding:0;justify-content:center}
body.trd-dashboard-active .trdHistoryActions .trdSvg{width:17px;height:17px}
body.trd-dashboard-active .trdHistorySummary{display:flex;gap:9px;padding:13px 25px;background:rgba(4,13,26,.55);border-bottom:1px solid rgba(133,173,220,.09)}
body.trd-dashboard-active .trdHistorySummary span{padding:7px 11px;border:1px solid rgba(133,173,220,.13);border-radius:999px;color:#7890aa;font-size:10px}
body.trd-dashboard-active .trdHistorySummary b{color:#4cc9ff;font-size:12px}
body.trd-dashboard-active .trdHistoryList{overflow:auto;padding:16px 20px 22px;display:flex;flex-direction:column;gap:10px}
body.trd-dashboard-active .trdHistoryItem{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid rgba(133,173,220,.13);border-radius:17px;background:linear-gradient(150deg,rgba(14,34,60,.76),rgba(5,15,29,.76))}
body.trd-dashboard-active .trdHistoryIcon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(34,136,255,.13);color:#69d1ff}
body.trd-dashboard-active .trdHistoryIcon .trdSvg{width:23px;height:23px}
body.trd-dashboard-active .trdHistoryBody{min-width:0}
body.trd-dashboard-active .trdHistoryTitle{display:flex;align-items:center;justify-content:space-between;gap:15px}
body.trd-dashboard-active .trdHistoryTitle b{font-size:12px;color:#edf7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.trd-dashboard-active .trdHistoryTitle time{font-size:9px;color:#6e839c;white-space:nowrap}
body.trd-dashboard-active .trdHistoryMeta{margin-top:4px;font-size:10px;color:#8199b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.trd-dashboard-active .trdHistoryKeys{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
body.trd-dashboard-active .trdHistoryKeys span{padding:4px 7px;border-radius:999px;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.22);color:#6ee7a2;font-size:8px;font-weight:950}
body.trd-dashboard-active .trdHistoryBody>small{display:block;margin-top:7px;color:#60768f;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.trd-dashboard-active .trdHistoryDownload{min-width:96px;min-height:44px;padding:0 13px;border:1px solid #38bdf8;border-radius:13px;background:linear-gradient(135deg,#1267da,#22bce8);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:1000;box-shadow:0 10px 25px rgba(34,136,255,.2)}
body.trd-dashboard-active .trdHistoryDownload .trdSvg{width:17px;height:17px}
body.trd-dashboard-active .trdHistoryDownload.disabled{opacity:.38;box-shadow:none}
body.trd-dashboard-active .trdHistoryLoading,body.trd-dashboard-active .trdHistoryEmpty{padding:55px 20px;text-align:center;color:#7f95ae;font-size:12px}
body.trd-dashboard-active .trdHistoryEmpty.error{color:#ff9b9b}

/* Professional live support */
body.trd-dashboard-active #supportFab{height:48px!important;min-width:154px!important;padding:0 18px!important;border-radius:999px!important;border:1px solid rgba(52,211,153,.55)!important;background:linear-gradient(135deg,#087a52,#17b978)!important;color:white!important;font-weight:1000!important;box-shadow:0 16px 38px rgba(16,185,129,.27)!important}
body.trd-dashboard-active #supportModal.trdSupportModal{background:rgba(0,5,14,.78)!important;backdrop-filter:blur(10px)}
body.trd-dashboard-active #supportModal.trdSupportModal .modalCard{max-width:760px!important;width:min(760px,calc(100vw - 24px))!important;border-radius:25px!important;border:1px solid rgba(52,211,153,.25)!important;background:linear-gradient(155deg,#0a1d31,#04101f 80%)!important;box-shadow:0 40px 120px rgba(0,0,0,.65)!important;overflow:hidden}
body.trd-dashboard-active #supportModal.trdSupportModal .modalHead{padding:18px 20px!important;border-bottom:1px solid rgba(133,173,220,.12)!important;background:rgba(4,14,27,.5)}
body.trd-dashboard-active #supportModal.trdSupportModal .modalTitle{display:grid!important;grid-template-columns:12px 1fr!important;column-gap:10px!important;align-items:center!important;margin:0!important;font-size:16px!important;color:#f2f8ff!important}
body.trd-dashboard-active #supportModal.trdSupportModal .modalTitle small{grid-column:2;font-size:9px;color:#4ade80;font-weight:800;margin-top:2px}
body.trd-dashboard-active .trdSupportOnline{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.1),0 0 18px #22c55e}
body.trd-dashboard-active #supportModal.trdSupportModal #supportClose{min-width:44px!important;width:44px!important;height:44px!important;padding:0!important;border-radius:13px!important;font-size:0!important;background:#10233d!important}
body.trd-dashboard-active #supportModal.trdSupportModal #supportClose:after{content:'×';font-size:24px;color:#dcecff}
body.trd-dashboard-active #supportModal.trdSupportModal .modalBody{padding:17px 19px 19px!important}
body.trd-dashboard-active #supportModal.trdSupportModal .chatBox{height:min(420px,48vh)!important;padding:16px!important;border-radius:18px!important;border:1px solid rgba(133,173,220,.13)!important;background:rgba(2,8,18,.75)!important}
body.trd-dashboard-active #supportModal.trdSupportModal .bubble{max-width:78%!important;padding:10px 12px!important;border-radius:15px!important;line-height:1.48!important;box-shadow:0 7px 22px rgba(0,0,0,.18)}
body.trd-dashboard-active #supportModal.trdSupportModal .bubble.user{background:linear-gradient(135deg,#1467da,#1a9ddf)!important;color:#fff!important;border-bottom-right-radius:5px!important}
body.trd-dashboard-active #supportModal.trdSupportModal .bubble.admin{background:#132a45!important;color:#e7f4ff!important;border:1px solid rgba(133,173,220,.16)!important;border-bottom-left-radius:5px!important}
body.trd-dashboard-active #supportModal.trdSupportModal #supportInput{height:52px!important;border-radius:15px!important;border:1px solid rgba(133,173,220,.18)!important;background:#071426!important;color:#edf7ff!important;padding:0 15px!important}
body.trd-dashboard-active #supportModal.trdSupportModal #supportSend{height:52px!important;min-width:126px!important;border-radius:15px!important;background:linear-gradient(135deg,#0c8b5a,#22c77d)!important;border-color:#39dd91!important;color:white!important;font-weight:1000!important}
body.trd-dashboard-active .trdSupportQuick{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0 12px}
body.trd-dashboard-active .trdSupportQuick>span{font-size:9px;color:#7188a2;font-weight:900}
body.trd-dashboard-active .trdSupportQuick button{padding:6px 9px;border-radius:999px;border:1px solid rgba(133,173,220,.17);background:#0c1c31;color:#9fb4cb;font-size:8px;font-weight:850;cursor:pointer}
body.trd-dashboard-active .trdSupportQuick button:hover{border-color:#38bdf8;color:#dff5ff}

@media(max-width:720px){
  body.trd-dashboard-active .trdAccountMenu{right:10px;top:62px;width:calc(100vw - 20px)}
  body.trd-dashboard-active .trdHistoryModal{padding:8px}
  body.trd-dashboard-active .trdHistoryCard{width:100%;max-height:96vh;border-radius:19px}
  body.trd-dashboard-active .trdHistoryHead{padding:16px;align-items:center}
  body.trd-dashboard-active .trdHistoryHead h2{font-size:18px}
  body.trd-dashboard-active .trdHistoryHead p{display:none}
  body.trd-dashboard-active .trdHistoryActions button:first-child{font-size:0;width:42px;padding:0;justify-content:center}
  body.trd-dashboard-active .trdHistoryList{padding:10px}
  body.trd-dashboard-active .trdHistoryItem{grid-template-columns:39px minmax(0,1fr);padding:11px;gap:9px}
  body.trd-dashboard-active .trdHistoryIcon{width:39px;height:39px;border-radius:11px}
  body.trd-dashboard-active .trdHistoryDownload{grid-column:1/-1;width:100%;min-height:42px}
  body.trd-dashboard-active .trdHistoryTitle{display:block}
  body.trd-dashboard-active .trdHistoryTitle time{display:block;margin-top:3px}
  body.trd-dashboard-active #supportModal.trdSupportModal .modalCard{width:calc(100vw - 12px)!important;border-radius:19px!important}
  body.trd-dashboard-active #supportModal.trdSupportModal .chatBox{height:52vh!important}
  body.trd-dashboard-active #supportModal.trdSupportModal .modalBody>div[style*="display:flex"]{display:grid!important;grid-template-columns:1fr!important}
  body.trd-dashboard-active #supportModal.trdSupportModal #supportSend{width:100%!important}
  body.trd-dashboard-active .solutionCard.trdOffAction.isReady input.solChk:not(:checked)+.solCheckVisual:before{left:23px!important}
}


/* =========================================================
   V5: logout visibility and reliable account exit
   ========================================================= */
body.trd-dashboard-active .trdDashAccount{position:relative}
body.trd-dashboard-active .trdAccountIdentity{
  min-height:52px;display:flex;align-items:center;gap:10px;padding:4px 8px 4px 5px;
  border:1px solid transparent;border-radius:15px;background:transparent;color:#eaf4ff;
  cursor:pointer;text-align:left;transition:.16s ease
}
body.trd-dashboard-active .trdAccountIdentity:hover{
  border-color:rgba(56,189,248,.26);background:rgba(34,136,255,.09)
}
body.trd-dashboard-active .trdAccountIdentity .trdDashWho{display:block}
body.trd-dashboard-active .trdHeaderLogout{
  min-width:98px;height:44px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid rgba(248,113,113,.48);border-radius:14px;background:linear-gradient(145deg,rgba(127,29,29,.82),rgba(69,10,10,.88));
  color:#ffe8e8;font-size:11px;font-weight:1000;cursor:pointer;box-shadow:0 10px 26px rgba(127,29,29,.19);transition:.16s ease
}
body.trd-dashboard-active .trdHeaderLogout:hover{transform:translateY(-1px);border-color:#ff8b8b;background:linear-gradient(145deg,#a12525,#6e1010);box-shadow:0 15px 34px rgba(185,28,28,.28)}
body.trd-dashboard-active .trdHeaderLogout .trdSvg{width:18px;height:18px}
body.trd-dashboard-active .trdHeaderLogout:disabled,body.trd-dashboard-active [data-dash-action="logout"].trdLoggingOut{opacity:.55;cursor:wait;pointer-events:none}

body.trd-dashboard-active .trdDashSidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-bottom:12px!important}
body.trd-dashboard-active .trdSideProfile{flex:0 0 auto;cursor:pointer;transition:.16s ease}
body.trd-dashboard-active .trdSideProfile:hover{border-color:rgba(56,189,248,.32);box-shadow:0 14px 35px rgba(0,0,0,.19)}
body.trd-dashboard-active .trdProfileLine{position:relative}
body.trd-dashboard-active .trdProfileChevron{margin-left:auto;color:#68839f;display:grid;place-items:center}
body.trd-dashboard-active .trdProfileChevron .trdSvg{width:16px;height:16px}
body.trd-dashboard-active .trdSideTitle{flex:0 0 auto}
body.trd-dashboard-active .trdSideMenu{flex:1 1 auto;min-height:0;overflow:auto;padding:1px 2px 10px;scrollbar-width:thin}
body.trd-dashboard-active .trdSystemCard{flex:0 0 auto;margin-top:8px}
body.trd-dashboard-active .trdSidebarLogoutDock{
  flex:0 0 auto;position:relative;z-index:4;padding-top:10px;margin-top:2px;
  background:linear-gradient(180deg,rgba(3,9,18,0),rgba(3,9,18,.98) 25%)
}
body.trd-dashboard-active .trdSidebarLogoutDock>button{
  width:100%;min-height:58px;padding:8px 12px;display:flex;align-items:center;gap:12px;
  border:1px solid rgba(248,113,113,.42);border-radius:16px;background:linear-gradient(145deg,rgba(107,25,25,.76),rgba(48,10,15,.84));
  color:#ffe6e6;text-align:left;cursor:pointer;transition:.16s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)
}
body.trd-dashboard-active .trdSidebarLogoutDock>button:hover{border-color:#ff8585;background:linear-gradient(145deg,#8f2424,#5b1017);transform:translateY(-1px)}
body.trd-dashboard-active .trdSidebarLogoutDock .trdSvg{width:38px;height:38px;padding:9px;border-radius:12px;background:rgba(239,68,68,.14);color:#ff9696;flex:0 0 auto}
body.trd-dashboard-active .trdSidebarLogoutDock span{display:flex;flex-direction:column;gap:3px}
body.trd-dashboard-active .trdSidebarLogoutDock b{font-size:12px}
body.trd-dashboard-active .trdSidebarLogoutDock small{font-size:9px;color:#c89393}

@media(max-width:980px){
  body.trd-dashboard-active .trdAccountIdentity{display:none!important}
  body.trd-dashboard-active .trdDashAccount .trdHeaderLogout{
    display:inline-flex!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border-radius:13px!important
  }
  body.trd-dashboard-active .trdHeaderLogout span{display:none}
  body.trd-dashboard-active .trdDashSidebar{padding-bottom:9px!important}
  body.trd-dashboard-active .trdSideMenu{padding-bottom:8px}
  body.trd-dashboard-active .trdSidebarLogoutDock{padding-top:8px}
}
@media(max-height:760px){
  body.trd-dashboard-active .trdSystemCard{display:none!important}
  body.trd-dashboard-active .trdSideProfile{padding:12px!important}
  body.trd-dashboard-active .trdSideStats{margin-top:10px!important;gap:6px!important}
  body.trd-dashboard-active .trdStat{padding:8px!important}
  body.trd-dashboard-active .trdSideTitle{margin-top:12px!important}
}


/* =========================================================
   V6: lightweight rendering and automatic-download workflow
   ========================================================= */
body.trd-dashboard-active .trdDashHeader,
body.trd-dashboard-active .trdBottomDock,
body.trd-dashboard-active .trdAccountMenu,
body.trd-dashboard-active .trdHistoryModal,
body.trd-dashboard-active #supportModal.trdSupportModal,
body.trd-dashboard-active .trdMobileShade{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.trd-dashboard-active .trdDashHeader{background:rgba(2,7,17,.985)!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important}
body.trd-dashboard-active .trdBottomDock{grid-template-columns:minmax(250px,1.25fr) repeat(4,minmax(145px,.86fr))!important;background:rgba(2,7,17,.988)!important;box-shadow:0 -8px 26px rgba(0,0,0,.24)!important}
body.trd-dashboard-active .trdDashLogo:after{display:none!important;animation:none!important}
body.trd-dashboard-active .trdPanel,
body.trd-dashboard-active #binSelectCard,
body.trd-dashboard-active #opsCard{box-shadow:0 10px 30px rgba(0,0,0,.16)!important}
body.trd-dashboard-active .trdBrandCard,
body.trd-dashboard-active .solutionCard{
  content-visibility:auto;
  contain-intrinsic-size:120px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
body.trd-dashboard-active .solutionCard{contain:layout paint style}
body.trd-dashboard-active .trdBrandCard{contain:layout paint style}
body.trd-dashboard-active .trdDashNavBtn,
body.trd-dashboard-active .trdSideBtn,
body.trd-dashboard-active .trdDockBtn,
body.trd-dashboard-active .solutionCard .solCheckVisual,
body.trd-dashboard-active .solutionCard .solCheckVisual:before,
body.trd-dashboard-active .trdBrandCard,
body.trd-dashboard-active .trdAccountIdentity,
body.trd-dashboard-active .trdHeaderLogout{
  transition-property:transform,border-color,color,opacity!important;
  transition-duration:.12s!important;
  transition-timing-function:ease-out!important;
}
body.trd-dashboard-active .trdDashNavBtn:hover,
body.trd-dashboard-active .trdSideBtn:hover,
body.trd-dashboard-active .trdDockBtn:hover:not(:disabled),
body.trd-dashboard-active .trdHeaderLogout:hover{box-shadow:none!important}
body.trd-dashboard-active .trdDockBtn.primary{box-shadow:0 8px 22px rgba(20,115,220,.20),inset 0 1px 0 rgba(255,255,255,.12)!important}
body.trd-dashboard-active .trdAccountMenu{background:#071426!important;box-shadow:0 18px 48px rgba(0,0,0,.38)!important}
body.trd-dashboard-active .trdHistoryModal,
body.trd-dashboard-active #supportModal.trdSupportModal{background:rgba(0,5,14,.90)!important}
body.trd-dashboard-active .trdHistoryCard,
body.trd-dashboard-active #supportModal.trdSupportModal .modalCard{box-shadow:0 22px 65px rgba(0,0,0,.45)!important}
body.trd-dashboard-active .trdSupportOnline{box-shadow:0 0 0 4px rgba(34,197,94,.10)!important}
body.trd-dashboard-active #supportFab{box-shadow:0 8px 22px rgba(16,185,129,.18)!important}
body.trd-dashboard-active .supportFab.pulse{animation:none!important}
body.trd-dashboard-active .trdDashSidebar,
body.trd-dashboard-active .trdDashMain,
body.trd-dashboard-active .trdBrandGrid,
body.trd-dashboard-active .premiumSolutionGrid{scroll-behavior:auto!important}
@media(max-width:1100px){
  body.trd-dashboard-active .trdBottomDock{grid-template-columns:repeat(4,minmax(130px,1fr))!important}
}
@media(max-width:980px){
  body.trd-dashboard-active .trdBottomDock{display:flex!important}
  body.trd-dashboard-active .trdMobileShade{background:rgba(0,4,12,.86)!important}
}
@media(prefers-reduced-motion:reduce){
  body.trd-dashboard-active *,body.trd-dashboard-active *:before,body.trd-dashboard-active *:after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important
  }
}


/* =========================================================
   V7: one-time completed-operation locks + faster interaction
   ========================================================= */
body.trd-dashboard-active .solutionCard.trdCompletedLock{
  border-color:rgba(34,197,94,.38)!important;
  background:linear-gradient(155deg,rgba(7,42,33,.78),rgba(4,18,25,.94))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body.trd-dashboard-active .solutionCard.trdCompletedLock .solCheckVisual{
  opacity:.56!important;cursor:not-allowed!important;background:#112334!important;border-color:rgba(34,197,94,.26)!important;
}
body.trd-dashboard-active .solutionCard.trdCompletedLock .trdSwitchDetail{color:#78d9a1!important}
body.trd-dashboard-active .solutionCard.trdCompletedLock:after{
  content:"TAMAMLANDI";position:absolute;right:14px;bottom:12px;padding:4px 7px;border-radius:999px;
  border:1px solid rgba(34,197,94,.30);background:rgba(34,197,94,.10);color:#76e6a3;font-size:8px;font-weight:1000;letter-spacing:.08em;
}
body.trd-dashboard-active .solutionCard,
body.trd-dashboard-active .trdBrandCard,
body.trd-dashboard-active .trdDashNavBtn,
body.trd-dashboard-active .trdSideBtn,
body.trd-dashboard-active .trdDockBtn{transform:translateZ(0)}
body.trd-dashboard-active .solutionCard:hover,
body.trd-dashboard-active .trdBrandCard:hover{filter:none!important}
body.trd-dashboard-active .trdMainStack,
body.trd-dashboard-active #opsCard .cardBody{contain:layout style}
@media(max-width:980px){
  body.trd-dashboard-active .solutionCard.trdCompletedLock:after{right:10px;bottom:9px}
}

body.trd-dashboard-active .solutionCard.trdAnalysisLocked:not(.trdCompletedLock){opacity:.58!important}
body.trd-dashboard-active .solutionCard.trdAnalysisLocked .solCheckVisual{cursor:not-allowed!important;opacity:.52!important}
body.trd-dashboard-active .solutionCard.trdAnalysisLocked{pointer-events:none}
body.trd-dashboard-active .solutionCard.trdCompletedLock{opacity:1!important}
