/* TRDecoder PRO V13 - Eye Comfort Theme
   Frontend-only theme layer. No API, apply, DTC, checksum or permission logic is changed. */
:root{
  --trd-light-bg:#e9eef5;
  --trd-light-bg2:#f4f7fb;
  --trd-light-card:#ffffff;
  --trd-light-card2:#f8fafc;
  --trd-light-line:#cbd5e1;
  --trd-light-line-strong:#aebdce;
  --trd-light-text:#142033;
  --trd-light-muted:#607089;
  --trd-light-blue:#1677e8;
  --trd-light-cyan:#0ea5c9;
  --trd-light-green:#159447;
  --trd-light-amber:#c47a08;
  --trd-light-red:#d93636;
}

/* Theme control */
.trdThemeControl{position:relative;display:inline-flex;align-items:center}
.trdThemeButton{height:42px;min-width:42px;padding:0 11px;border:1px solid rgba(139,169,207,.24);border-radius:12px;background:#0b182a;color:#dcecff;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:800 11px/1 Inter,"Segoe UI",sans-serif;cursor:pointer}
.trdThemeButton svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trdThemeMenu{position:fixed;z-index:420;top:70px;right:18px;width:245px;padding:9px;border:1px solid #c8d4e2;border-radius:16px;background:#fff;box-shadow:0 22px 60px rgba(22,35,55,.22);display:none;color:#172033}
.trdThemeMenu.show{display:block}
.trdThemeMenuTitle{padding:8px 9px 10px;color:#66758b;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.trdThemeOption{width:100%;min-height:52px;padding:8px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#1c293b;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}
.trdThemeOption:hover{background:#f1f5f9;border-color:#d7e0ea}
.trdThemeOption.active{background:#e8f3ff;border-color:#79b7f5;color:#075fb8}
.trdThemeSwatch{width:34px;height:34px;border-radius:10px;border:1px solid #cbd5e1;display:grid;grid-template-columns:11px 1fr;overflow:hidden;flex:0 0 auto}
.trdThemeSwatch i:first-child{background:#101827}.trdThemeSwatch i:last-child{background:#eef3f8}
.trdThemeOption[data-theme="soft-dark"] .trdThemeSwatch i:last-child{background:#1b2b40}
.trdThemeOption[data-theme="dark"] .trdThemeSwatch i:last-child{background:#030914}
.trdThemeOption span:last-child{display:flex;flex-direction:column;gap:3px}.trdThemeOption b{font-size:12px}.trdThemeOption small{font-size:9px;color:#6c7b90}

/* =========================================================
   SOFT LIGHT - default: dark navigation + comfortable light work area
   ========================================================= */
html[data-trd-theme="soft-light"] body.trd-dashboard-active{
  --d-bg:#e8edf4;--d-bg2:#f3f6fa;--d-panel:#fff;--d-panel2:#f8fafc;--d-line:#cbd5e1;
  --d-text:#172235;--d-muted:#617087;--d-blue:#1677e8;--d-cyan:#0ea5c9;--d-green:#159447;--d-amber:#c47a08;--d-red:#d93636;
  background:#e9eef5!important;color:var(--d-text)!important;
}
html[data-trd-theme="soft-light"] body.trd-dashboard-active #appRoot{background:#e9eef5!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDashHeader{
  background:#07111f!important;border-color:#1b2b41!important;box-shadow:0 5px 18px rgba(15,28,45,.18)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#f5f8fc!important
}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDashSidebar{
  background:linear-gradient(180deg,#111b2b,#151d2b)!important;border-color:#25344a!important;color:#eef4fb!important
}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSideProfile{background:#1a2434!important;border-color:#34445b!important;box-shadow:0 10px 25px rgba(0,0,0,.12)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStat{background:#101927!important;border-color:#334156!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStat span,html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSideMail,html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSideTitle{color:#9eafc4!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStat b,html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSideName{color:#f7faff!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSideBtn{color:#e3ebf5!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSideBtn:hover{background:#23354e!important;border-color:#415572!important;color:#fff!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDashMain{background:linear-gradient(180deg,#edf2f7,#e6ecf3)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdMainStack{color:#172235!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdPanel,
html[data-trd-theme="soft-light"] body.trd-dashboard-active #binSelectCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active #opsCard{
  background:#fff!important;border-color:#cbd5e1!important;box-shadow:0 8px 24px rgba(32,49,72,.09)!important;color:#172235!important
}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdPanelTitle small,
html[data-trd-theme="soft-light"] body.trd-dashboard-active #binSelectCard .subtitle{color:#65758b!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdInfoBox{background:#f5f7fa!important;border-color:#d5dee8!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdInfoBox span{color:#63738a!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdInfoBox b{color:#152238!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdInfoBox.good b{color:#138843!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStep{background:#f4f7fa!important;border-color:#d4dde8!important;color:#1d2b3f!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStepNum{background:#dce5ef!important;color:#52647b!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStep small{color:#68778b!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdStep.active{background:#e8f3ff!important;border-color:#4d9ceb!important;box-shadow:0 4px 14px rgba(22,119,232,.10)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modeToggle{background:#e9eef5!important;border-color:#ccd6e1!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modeBtn{color:#5f6d80!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modeBtn.active{color:#fff!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active #familySelect,
html[data-trd-theme="soft-light"] body.trd-dashboard-active select,
html[data-trd-theme="soft-light"] body.trd-dashboard-active input[type="text"],
html[data-trd-theme="soft-light"] body.trd-dashboard-active input[type="search"],
html[data-trd-theme="soft-light"] body.trd-dashboard-active input[type="email"],
html[data-trd-theme="soft-light"] body.trd-dashboard-active input[type="password"],
html[data-trd-theme="soft-light"] body.trd-dashboard-active textarea{
  background:#fff!important;color:#172235!important;border-color:#bdcad8!important;box-shadow:none!important
}
html[data-trd-theme="soft-light"] body.trd-dashboard-active #fileInput{background:#f7fafc!important;color:#29384d!important;border-color:#5aa6e8!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .dropHint{color:#1476bf!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandPicker{background:#f7f9fc!important;border-color:#ccd7e3!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandHead b{color:#172235!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandSearch{background:#fff!important;border-color:#c7d2df!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandSearch input{color:#172235!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandCard{background:#fff!important;color:#14253a!important;border-color:#c2d0de!important;box-shadow:0 6px 18px rgba(31,48,69,.08)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandCard:hover{border-color:#6ba8e7!important;box-shadow:0 7px 18px rgba(31,80,130,.11)!important;transform:translateY(-1px)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandCard.selected{background:#e8f3ff!important;border-color:#1677e8!important;box-shadow:0 0 0 2px rgba(22,119,232,.10)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandFallback{background:linear-gradient(180deg,#eef6ff,#dbe9f7)!important;border-color:#afc4da!important;color:#165aa2!important;box-shadow:0 2px 7px rgba(22,90,162,.12)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandLogo{background:#f3f8fd!important;border:1px solid #d6e2ee!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandLogo img{filter:none!important;opacity:1!important;transform:scale(1.08)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandName{color:#162638!important;font-weight:900!important;letter-spacing:.01em!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBrandMore{background:#fff!important;color:#2b3a4e!important;border-color:#c6d1dd!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard{background:#fff!important;color:#172235!important;border-color:#ccd7e2!important;box-shadow:0 4px 13px rgba(28,43,64,.07)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard:hover{border-color:#78aee4!important;box-shadow:0 8px 20px rgba(30,73,116,.11)!important;transform:translateY(-1px)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.isReady{border-color:#58ad76!important;background:#f8fffa!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.isApplied{border-color:#4f9ae5!important;background:#eef7ff!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.isRestricted{border-color:#d7a14b!important;background:#fffbf3!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.trdOffAction.trdActionSelected{background:#fff8e7!important;box-shadow:0 0 0 1px rgba(196,122,8,.16),0 6px 18px rgba(50,42,20,.08)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solTitle{color:#172235!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solSub{color:#42556d!important;font-weight:700!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solPill{background:#edf2f7!important;color:#34455b!important;border-color:#cbd5e1!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSwitchDetail{color:#607089!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard .solCheckVisual{background:#dbe3ec!important;border-color:#aebdcd!important;box-shadow:inset 0 1px 3px rgba(30,45,65,.16)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard .solCheckVisual:before{background:#fff!important;box-shadow:0 2px 5px rgba(28,44,66,.24)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.isApplied .solCheckVisual{background:#dbe3ec!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBottomDock{background:#f7f9fc!important;border-color:#c8d3df!important;box-shadow:0 -5px 18px rgba(29,45,64,.12)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdSafety,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDockBtn{background:#fff!important;color:#172235!important;border-color:#c9d5e1!important;box-shadow:0 3px 10px rgba(31,47,66,.06)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDockBtn:hover:not(:disabled){border-color:#6aa5df!important;box-shadow:0 6px 15px rgba(31,70,108,.10)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDockBtn.primary{background:linear-gradient(135deg,#1268d5,#1e9ee5)!important;color:#fff!important;border-color:#2c92dc!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDockBtn:disabled{background:#e4e9ef!important;color:#8794a4!important;border-color:#d2dae3!important;opacity:.72!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDockCopy small{color:#68788e!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDashToast{background:#fff!important;color:#172235!important;border-color:#9eb9d5!important;box-shadow:0 12px 35px rgba(27,43,63,.17)!important}

/* Modals, account, history, support and admin layers */
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdAccountMenu,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .supportPanel,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modalCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .overlayCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .adminModalCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .adminCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .adminSectionCard{
  background:#fff!important;color:#172235!important;border-color:#c7d3df!important;box-shadow:0 24px 70px rgba(28,42,61,.18)!important
}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdAccountMenuHead,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryHead,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistorySummary{border-color:#d8e0e9!important;background:#f6f8fb!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdAccountMenuHead b,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryHead h2,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryTitle b{color:#172235!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdAccountMenuHead small,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryHead p,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryMeta,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryBody>small{color:#65758a!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdAccountMenu>button{color:#223148!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdAccountMenu>button:hover{background:#eef5fc!important;border-color:#c3d6e9!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryItem{background:#f8fafc!important;border-color:#d2dce7!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryActions button{background:#eef3f8!important;color:#213148!important;border-color:#c9d5e1!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdHistoryModal,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .overlay,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modal{background:rgba(21,35,51,.28)!important;backdrop-filter:blur(1px)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .overlayCard,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modalCard{background:linear-gradient(180deg,#ffffff,#f7fbff)!important;color:#16263a!important;border:1px solid #cfdae5!important;box-shadow:0 24px 70px rgba(21,35,51,.16)!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .overlayTitle,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modalTitle{color:#16263a!important;text-shadow:none!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .overlayCard *,
html[data-trd-theme="soft-light"] body.trd-dashboard-active .modalCard *{text-shadow:none!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .supportMsg.them span{background:#eef2f6!important;color:#26364b!important;border-color:#d4dde6!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .supportComposer{background:#f5f7fa!important;border-color:#d4dde6!important}

/* Keep top/side navigation readable in every mode */
html[data-trd-theme="soft-light"] .trdDashHeader .trdThemeButton{background:#102038;color:#e8f3ff;border-color:#2c405b}

/* =========================================================
   SOFT DARK - less black, more contrast than legacy dark
   ========================================================= */
html[data-trd-theme="soft-dark"] body.trd-dashboard-active{
  --d-bg:#152132;--d-bg2:#1b293b;--d-panel:#202f43;--d-panel2:#26364b;--d-line:rgba(176,198,222,.22);
  --d-text:#f4f7fb;--d-muted:#b0bfd0;background:#152132!important
}
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdDashMain{background:#172435!important}
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdPanel,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active #binSelectCard,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active #opsCard,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdBrandPicker{background:#202f43!important;border-color:#42536a!important}
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdInfoBox,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdStep,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdBrandCard,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .solutionCard{background:#26364b!important;border-color:#45576e!important}
html[data-trd-theme="soft-dark"] body.trd-dashboard-active #familySelect,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active input,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active select,
html[data-trd-theme="soft-dark"] body.trd-dashboard-active textarea{background:#182638!important;color:#f3f7fb!important;border-color:#53647a!important}
html[data-trd-theme="soft-dark"] body.trd-dashboard-active .trdBottomDock{background:#182435!important;backdrop-filter:none!important}

/* Legacy dark remains the original CSS. */

/* =========================================================
   Standalone DTC page themes
   ========================================================= */
html[data-trd-theme="soft-light"] body .dtcShell{background:#e9eef5;color:#172235}
html[data-trd-theme="soft-light"] body:has(.dtcShell){background:#e9eef5!important;color:#172235!important}
html[data-trd-theme="soft-light"] .dtcShell .topbar{background:#07111f!important;border-color:#26364b!important;box-shadow:0 4px 16px rgba(20,35,52,.16)!important}
html[data-trd-theme="soft-light"] .dtcShell main{color:#172235}
html[data-trd-theme="soft-light"] .dtcShell .hero,
html[data-trd-theme="soft-light"] .dtcShell .selectorCard,
html[data-trd-theme="soft-light"] .dtcShell .resultsCard{background:#fff!important;border-color:#c8d4df!important;box-shadow:0 7px 22px rgba(28,45,65,.09)!important;color:#172235!important}
html[data-trd-theme="soft-light"] .dtcShell .hero p,
html[data-trd-theme="soft-light"] .dtcShell .cardTitle small,
html[data-trd-theme="soft-light"] .dtcShell .resultsHead p,
html[data-trd-theme="soft-light"] .dtcShell .chosen span,
html[data-trd-theme="soft-light"] .dtcShell .chosen small{color:#63748a!important}
html[data-trd-theme="soft-light"] .dtcShell .searchBox,
html[data-trd-theme="soft-light"] .dtcShell .selectList,
html[data-trd-theme="soft-light"] .dtcShell .dropZone,
html[data-trd-theme="soft-light"] .dtcShell .selectionSummary,
html[data-trd-theme="soft-light"] .dtcShell .tableWrap,
html[data-trd-theme="soft-light"] .dtcShell .actionBar,
html[data-trd-theme="soft-light"] .dtcShell .selectionStats>div{background:#f7f9fc!important;border-color:#ccd7e2!important;color:#172235!important}
html[data-trd-theme="soft-light"] .dtcShell .searchBox input{color:#172235!important}
html[data-trd-theme="soft-light"] .dtcShell .listItem{color:#213147!important;border-color:#d9e1e9!important}
html[data-trd-theme="soft-light"] .dtcShell .listItem:hover{background:#edf5fd!important}
html[data-trd-theme="soft-light"] .dtcShell .listItem.active{background:#e0f0ff!important;color:#075da9!important}
html[data-trd-theme="soft-light"] .dtcShell table{color:#172235!important}
html[data-trd-theme="soft-light"] .dtcShell thead{background:#e8eef5!important}
html[data-trd-theme="soft-light"] .dtcShell th{color:#596b82!important}
html[data-trd-theme="soft-light"] .dtcShell td{border-color:#dce4ec!important}
html[data-trd-theme="soft-light"] .dtcShell tbody tr:hover{background:#eef6fd!important}
html[data-trd-theme="soft-light"] .dtcShell tbody tr.selected{background:#dceeff!important}
html[data-trd-theme="soft-light"] .dtcShell .dtcCode{color:#142033!important}
html[data-trd-theme="soft-light"] .dtcShell .toolBtn{background:#fff!important;color:#26374e!important;border-color:#c8d4df!important}
html[data-trd-theme="soft-light"] .dtcShell .statusBox.info{background:#edf5fd!important;color:#1b5e96!important;border-color:#b9d4eb!important}
html[data-trd-theme="soft-light"] .dtcShell .toast{background:#fff!important;color:#172235!important;border-color:#a8bfd5!important;box-shadow:0 13px 35px rgba(24,42,61,.16)!important}
html[data-trd-theme="soft-light"] .dtcShell .engineState{background:#eefaf3!important}

html[data-trd-theme="soft-dark"] body:has(.dtcShell){background:#172435!important}
html[data-trd-theme="soft-dark"] .dtcShell .hero,
html[data-trd-theme="soft-dark"] .dtcShell .selectorCard,
html[data-trd-theme="soft-dark"] .dtcShell .resultsCard{background:#213147!important;border-color:#46596f!important}
html[data-trd-theme="soft-dark"] .dtcShell .searchBox,
html[data-trd-theme="soft-dark"] .dtcShell .selectList,
html[data-trd-theme="soft-dark"] .dtcShell .dropZone,
html[data-trd-theme="soft-dark"] .dtcShell .tableWrap,
html[data-trd-theme="soft-dark"] .dtcShell .actionBar{background:#172638!important;border-color:#46596f!important}

/* =========================================================
   Checksum and Flex standalone pages
   ========================================================= */
html[data-trd-theme="soft-light"] body.trdStandalonePage,
html[data-trd-theme="soft-light"] body.trdChecksumPage,
html[data-trd-theme="soft-light"] body.trdFlexPage{background:#e9eef5!important;color:#172235!important}
html[data-trd-theme="soft-light"] body.trdChecksumPage .card,
html[data-trd-theme="soft-light"] body.trdFlexPage .card{background:#fff!important;color:#172235!important;border-color:#c7d3df!important;box-shadow:0 9px 28px rgba(29,46,67,.10)!important}
html[data-trd-theme="soft-light"] body.trdChecksumPage input[type=file],
html[data-trd-theme="soft-light"] body.trdFlexPage input[type=file]{background:#f7f9fc!important;color:#172235!important;border-color:#8fb5d9!important}
html[data-trd-theme="soft-light"] body.trdChecksumPage .note,
html[data-trd-theme="soft-light"] body.trdFlexPage .mode,
html[data-trd-theme="soft-light"] body.trdFlexPage .progress{background:#f3f6f9!important;color:#24344b!important;border-color:#ced8e3!important}
html[data-trd-theme="soft-light"] body.trdFlexPage .top{background:#111b2b!important;color:#f5f8fc!important;border-color:#293a51!important}
html[data-trd-theme="soft-light"] body.trdFlexPage .mode.active{background:#e7f2ff!important;color:#0d5ea9!important;border-color:#3988d3!important}
html[data-trd-theme="soft-light"] body.trdFlexPage .status,
html[data-trd-theme="soft-light"] body.trdFlexPage .sub,
html[data-trd-theme="soft-light"] body.trdChecksumPage .sub,
html[data-trd-theme="soft-light"] body.trdChecksumPage .muted{color:#63748a!important}

/* Slightly larger, more readable text in work areas */
html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDashMain,
html[data-trd-theme="soft-light"] .dtcShell main{font-size:14px}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solTitle{font-size:13.5px!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solSub{font-size:10.5px!important}

@media(max-width:900px){
  .trdThemeButton span{display:none}.trdThemeButton{width:40px;min-width:40px;padding:0}
  .trdThemeMenu{top:62px;right:8px;width:min(245px,calc(100vw - 16px))}
  html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdDashMain{background:#edf2f7!important}
  html[data-trd-theme="soft-light"] body.trd-dashboard-active .trdBottomDock{background:#f7f9fc!important}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard .solWarn{color:#b56c00!important;font-weight:800!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.isApplied .solSub{color:#1f5f9f!important}
html[data-trd-theme="soft-light"] body.trd-dashboard-active .solutionCard.isApplied .solCheckVisual{background:#c6d7ea!important;border-color:#94aed0!important}
