/*
 * Premier Trade Exchange Resource Dashboard adaptation
 * for the Trade Exchange Dominance Blueprint.
 * Mirrors the supplied Legal Library — Resource Dashboard Edition.
 */

body.tedb-rad-exact {
  --pte-rad-navy:#071a36;
  --pte-rad-navy-2:#0b2a55;
  --pte-rad-blue:#4096f6;
  --pte-rad-sky:#32c7ff;
  --pte-rad-green:#24b99d;
  --pte-rad-gold:#ffb650;
  --pte-rad-red:#f43f6c;
  --pte-rad-page:#eaf2fb;
  --pte-rad-text:#102238;
  --pte-rad-muted:#52637a;
  --pte-rad-line:#d7e0eb;
  --pte-rad-shadow:0 16px 38px rgba(26,43,66,.08);
  margin:0;
  color:var(--pte-rad-text);
  background:linear-gradient(180deg,#f8fbff 0%,var(--pte-rad-page) 100%);
  font-family:Raleway,Inter,Arial,Helvetica,sans-serif;
}
body.tedb-rad-exact *,body.tedb-rad-exact *:before,body.tedb-rad-exact *:after{box-sizing:border-box}
body.tedb-rad-exact #root{min-height:100vh;background:linear-gradient(180deg,#f8fbff 0%,var(--pte-rad-page) 100%)}
body.tedb-rad-exact button,body.tedb-rad-exact input,body.tedb-rad-exact select,body.tedb-rad-exact textarea{font:inherit}
body.tedb-rad-exact button{cursor:pointer}
body.tedb-rad-exact .font-serif{font-family:Raleway,Inter,Arial,Helvetica,sans-serif!important}
body.tedb-rad-exact .tedb-rad-screen-reader{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}

/* =============================================================
   AUTHENTICATED APPLICATION SHELL
   ============================================================= */
body.tedb-rad-auth #root>.min-h-screen{
  min-height:100vh!important;
  display:grid!important;
  grid-template-columns:324px minmax(0,1fr)!important;
  grid-template-rows:72px minmax(calc(100vh - 72px),auto)!important;
  background:linear-gradient(180deg,#f8fbff 0%,var(--pte-rad-page) 100%)!important;
  color:var(--pte-rad-text)!important;
}
body.tedb-rad-auth #root>.min-h-screen>.tedb-rad-content{display:contents!important;padding-left:0!important}

/* Exact 72px navy header */
body.tedb-rad-auth header.pte-rad-top{
  grid-column:1/-1!important;
  grid-row:1!important;
  position:sticky!important;
  inset:auto!important;
  top:0!important;
  z-index:90!important;
  min-height:72px!important;
  height:72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  padding:0!important;
  border:0!important;
  color:#fff!important;
  background:linear-gradient(135deg,#071a36 0%,#0b2a55 58%,#0e3d78 100%)!important;
  box-shadow:0 2px 10px rgba(20,36,58,.18)!important;
  backdrop-filter:none!important;
}
body.tedb-rad-auth .pte-rad-brand{
  width:324px;
  min-width:324px;
  min-height:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 18px;
  border:0;
  border-right:1px solid rgba(255,255,255,.12);
  background:transparent;
  cursor:pointer;
}
body.tedb-rad-auth .pte-rad-logo{display:block;width:238px;max-width:100%;height:auto;filter:drop-shadow(0 10px 18px rgba(0,0,0,.36))}
body.tedb-rad-auth .pte-rad-nav{display:flex;align-items:center;gap:18px;flex:1;min-width:0;padding:0 18px}
body.tedb-rad-auth .pte-rad-nav button{
  min-height:72px;
  padding:0;
  border:0;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:850!important;
  white-space:nowrap;
  box-shadow:none!important;
}
body.tedb-rad-auth .pte-rad-nav button:hover,body.tedb-rad-auth .pte-rad-nav button:focus-visible{color:#7ce7ff!important;outline:none}
body.tedb-rad-auth header.pte-rad-top>div.hidden.lg\:block{display:none!important}
body.tedb-rad-auth header.pte-rad-top>.lg\:hidden{display:none!important}
body.tedb-rad-auth .pte-rad-top-actions{
  min-height:72px!important;
  height:72px!important;
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  margin-left:auto!important;
}
body.tedb-rad-auth .pte-rad-top-actions>.tedb-rad-status{
  min-height:72px;
  height:72px;
  display:flex;
  align-items:center;
  padding:0 18px;
  border-left:1px solid rgba(255,255,255,.15);
  color:#fff;
  background:linear-gradient(180deg,#0e7490,#075985);
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
body.tedb-rad-auth .pte-rad-top-actions>.tedb-rad-status:nth-child(2){background:linear-gradient(180deg,#1456b8,#0e3d78)}
body.tedb-rad-auth .pte-rad-top-actions>div.hidden.text-right{display:block!important;min-width:170px;padding:0 14px;border-left:1px solid rgba(255,255,255,.15);color:#fff!important;text-align:right}
body.tedb-rad-auth .pte-rad-top-actions>div.hidden.text-right p,body.tedb-rad-auth .pte-rad-top-actions>div.hidden.text-right div{color:#fff!important}
body.tedb-rad-auth .pte-rad-top-actions>div:last-child{
  width:42px!important;height:42px!important;margin:0 14px!important;border:2px solid rgba(255,255,255,.28)!important;
  background:linear-gradient(180deg,#7dd3fc,#38bdf8)!important;color:#071a36!important;box-shadow:0 8px 22px rgba(0,0,0,.22)!important
}
body.tedb-rad-auth .tedb-rad-mobile-menu{display:none!important}

/* Exact light 324px sidebar */
body.tedb-rad-auth aside.pte-rad-sidebar{
  grid-column:1!important;
  grid-row:2!important;
  position:sticky!important;
  inset:auto!important;
  top:72px!important;
  z-index:40!important;
  width:324px!important;
  height:calc(100vh - 72px)!important;
  transform:none!important;
  overflow:hidden!important;
  color:var(--pte-rad-text)!important;
  background:linear-gradient(180deg,#f8fafc 0%,#eef3f8 52%,#e4ebf3 100%)!important;
  border:0!important;
  border-right:1px solid #c9d3df!important;
  box-shadow:10px 0 28px rgba(37,48,68,.14)!important;
}
body.tedb-rad-auth aside.pte-rad-sidebar>div:first-child{display:none!important}
body.tedb-rad-auth .tedb-rad-side-head{padding:10px 6px 0}
body.tedb-rad-auth .pte-rad-side-title{
  margin:8px 0 7px;
  padding:8px 12px;
  color:#fff;
  font-size:12px;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
  background:linear-gradient(180deg,#4096f6,#2776d4);
  border-top:1px solid rgba(255,255,255,.35);
  border-bottom:1px solid #1857a5;
  box-shadow:0 2px 8px rgba(24,87,165,.18);
}
body.tedb-rad-auth .pte-rad-category-note{
  margin:0 4px 9px;
  padding:9px 10px;
  border-radius:7px;
  background:#eaf6ff;
  border:1px solid #bfdbfe;
  color:#18446f;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
body.tedb-rad-auth aside.pte-rad-sidebar>nav.pte-rad-category-scroll{
  height:calc(100vh - 256px)!important;
  overflow-y:auto!important;
  padding:0 10px 14px 6px!important;
  margin:0!important;
  scrollbar-width:thin;
  scrollbar-color:#8fb4dc #e4ebf3;
}
body.tedb-rad-auth aside.pte-rad-sidebar>nav.pte-rad-category-scroll::-webkit-scrollbar{width:8px}
body.tedb-rad-auth aside.pte-rad-sidebar>nav.pte-rad-category-scroll::-webkit-scrollbar-track{background:#e4ebf3;border-radius:999px}
body.tedb-rad-auth aside.pte-rad-sidebar>nav.pte-rad-category-scroll::-webkit-scrollbar-thumb{background:#8fb4dc;border-radius:999px}
body.tedb-rad-auth .pte-rad-side-link{
  min-height:40px!important;
  width:100%!important;
  margin:4px 0!important;
  padding:7px 9px!important;
  position:relative!important;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  color:#102238!important;
  border:1px solid #bfc8d4!important;
  border-radius:5px!important;
  text-align:left!important;
  font-weight:850!important;
  font-size:11px!important;
  background:linear-gradient(180deg,#fff 0%,#f6f8fb 45%,#e4e9f0 100%)!important;
  box-shadow:inset 0 1px 0 #fff,0 2px 5px rgba(33,43,58,.16)!important;
  transform:none!important;
}
body.tedb-rad-auth .pte-rad-side-link:hover,body.tedb-rad-auth .pte-rad-side-link.is-active{
  color:#fff!important;
  border-color:#7dd3fc!important;
  background:linear-gradient(180deg,#1456b8,#0e3d78)!important;
  box-shadow:0 8px 22px rgba(14,61,120,.30)!important;
}
body.tedb-rad-auth .pte-rad-side-link>svg{display:none!important}
body.tedb-rad-auth .pte-rad-idx{
  width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:rgba(64,150,246,.12);color:#1b5ca7;font-size:9px;font-weight:950
}
body.tedb-rad-auth .pte-rad-side-link.is-active .pte-rad-idx{background:rgba(255,255,255,.22);color:#fff}
body.tedb-rad-auth .tedb-rad-side-footer{
  position:absolute!important;bottom:0!important;left:0!important;width:100%!important;padding:10px!important;
  border-top:1px solid #c9d3df!important;background:linear-gradient(180deg,#edf3f8,#e3eaf2)!important
}
body.tedb-rad-auth .tedb-rad-side-footer>div{margin:0 0 7px!important;background:#fff!important;border:1px solid #c7d7e8!important;color:#52637a!important}
body.tedb-rad-auth .tedb-rad-side-footer>div span{color:#1456b8!important}
body.tedb-rad-auth .tedb-rad-side-footer>button{min-height:38px!important;color:#102238!important;border:1px solid #bfc8d4!important;background:linear-gradient(180deg,#fff,#e4e9f0)!important;box-shadow:0 2px 5px rgba(33,43,58,.12)!important}

/* Workspace */
body.tedb-rad-auth main.pte-rad-main{
  grid-column:2!important;
  grid-row:2!important;
  min-width:0!important;
  padding:24px 28px 0!important;
  color:var(--pte-rad-text)!important;
  background:linear-gradient(180deg,#f8fbff 0%,var(--pte-rad-page) 100%)!important;
}
body.tedb-rad-auth main.pte-rad-main>div{max-width:none!important;margin:0!important;padding:0!important}

/* Exact compact hero */
body.tedb-rad-exact .pte-rad-hero{
  position:relative;
  overflow:hidden;
  margin-bottom:16px;
  padding:15px 20px 16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  border:1px solid rgba(125,211,252,.34);
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,rgba(5,19,43,.98) 0%,rgba(8,46,91,.98) 54%,rgba(10,121,182,.98) 100%);
  box-shadow:0 18px 44px rgba(10,45,95,.20),inset 0 1px 0 rgba(255,255,255,.18);
}
body.tedb-rad-exact .pte-rad-hero:before{
  content:"";position:absolute;inset:0;background:radial-gradient(circle at 9% 12%,rgba(50,199,255,.36),transparent 24%),linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 100%),linear-gradient(0deg,rgba(255,255,255,.045) 0 1px,transparent 1px 100%);background-size:auto,44px 44px,44px 44px;pointer-events:none
}
body.tedb-rad-exact .pte-rad-hero:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,#38bdf8,#24b99d,#ffb650,#38bdf8);box-shadow:0 -10px 28px rgba(56,189,248,.28)}
body.tedb-rad-exact .pte-rad-hero-content,body.tedb-rad-exact .pte-rad-hero-actions{position:relative;z-index:1}
body.tedb-rad-exact .pte-rad-hero-content{padding-left:13px;border-left:4px solid #38bdf8}
body.tedb-rad-exact .pte-rad-hero-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:7px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:#7ce7ff;font-size:9px;font-weight:950;letter-spacing:.16em;text-transform:uppercase}
body.tedb-rad-exact .pte-rad-hero-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:#24b99d;box-shadow:0 0 12px #24b99d}
body.tedb-rad-exact .pte-rad-hero h1{max-width:850px;margin:0;color:#fff!important;font-size:25px!important;line-height:1.08!important;letter-spacing:.01em;text-shadow:0 8px 24px rgba(0,0,0,.26)}
body.tedb-rad-exact .pte-rad-hero p{max-width:850px;margin:6px 0 0;color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:1.45;font-weight:750}
body.tedb-rad-exact .pte-rad-hero-actions{min-width:360px;display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
body.tedb-rad-exact .pte-rad-btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:999px;text-decoration:none;text-transform:uppercase;font-size:11px;font-weight:950;border:1px solid transparent}
body.tedb-rad-exact .pte-rad-hero .pte-rad-btn{min-height:36px;padding:0 15px;border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
body.tedb-rad-exact .pte-rad-btn-primary{background:linear-gradient(180deg,#7dd3fc,#38bdf8);color:#03172d;border-color:rgba(255,255,255,.2);box-shadow:0 14px 30px rgba(50,199,255,.26)}
body.tedb-rad-exact .pte-rad-btn-secondary{background:#eff7ff;color:#163966;border-color:rgba(28,120,220,.12)}
body.tedb-rad-exact .pte-rad-hero .pte-rad-btn-secondary,body.tedb-rad-exact .pte-rad-cta .pte-rad-btn-secondary{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.24)}
body.tedb-rad-exact .pte-rad-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}

/* Exact KPI strip */
body.tedb-rad-exact .pte-rad-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:0 0 22px!important}
body.tedb-rad-exact .pte-rad-kpi{min-height:126px!important;padding:22px 24px!important;border:0!important;border-radius:8px!important;color:#fff!important;box-shadow:0 18px 38px rgba(23,38,64,.16)!important;background-image:none!important}
body.tedb-rad-exact .pte-rad-kpi span,body.tedb-rad-exact .pte-rad-kpi em{display:block!important;font-style:normal!important;font-weight:850!important;color:#fff!important}
body.tedb-rad-exact .pte-rad-kpi span{font-size:14px!important}
body.tedb-rad-exact .pte-rad-kpi strong{display:block!important;margin:20px 0 12px!important;text-align:right!important;font-size:30px!important;line-height:1!important;color:#fff!important}
body.tedb-rad-exact .pte-rad-kpi em{font-size:12px!important;opacity:.94}
body.tedb-rad-exact .pte-rad-blue{background:linear-gradient(135deg,#1456b8,#0e3d78)!important}
body.tedb-rad-exact .pte-rad-green{background:linear-gradient(135deg,#047857,#065f46)!important}
body.tedb-rad-exact .pte-rad-gold{background:linear-gradient(135deg,#a15c00,#7a4300)!important}
body.tedb-rad-exact .pte-rad-red{background:linear-gradient(135deg,#be123c,#881337)!important}

/* Panels, section strips and tables */
body.tedb-rad-exact .pte-rad-panel{border:1px solid var(--pte-rad-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:var(--pte-rad-shadow)!important;overflow:hidden!important;margin-bottom:22px!important;color:var(--pte-rad-text)!important}
body.tedb-rad-exact .pte-rad-section-strip{margin:22px 0 0!important;padding:15px 18px!important;border:1px solid var(--pte-rad-line)!important;border-bottom:1px solid #e6edf5!important;border-radius:8px 8px 0 0!important;background:linear-gradient(180deg,#fff,#f4f8fd)!important;color:#18314d!important;font-size:13px!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.tedb-rad-auth .tedb-rad-level-panel{margin:0 0 22px!important;padding:18px!important;background:#fff!important;color:#102238!important}
body.tedb-rad-auth .tedb-rad-level-panel *{color:#102238!important}
body.tedb-rad-auth .tedb-rad-level-panel .bg-slate-700{background:#dbe8f5!important}
body.tedb-rad-auth .tedb-rad-operational-grid{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(260px,1fr)!important;gap:18px!important;margin:0 0 22px!important}
body.tedb-rad-auth .tedb-rad-operational-grid>div{grid-column:auto!important;margin:0!important;padding:18px!important;border:1px solid var(--pte-rad-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:var(--pte-rad-shadow)!important;color:#102238!important}
body.tedb-rad-auth .tedb-rad-operational-grid h3,body.tedb-rad-auth .tedb-rad-operational-grid h2{color:#1c2b40!important}
body.tedb-rad-auth .tedb-rad-operational-grid .text-white{color:#102238!important}
body.tedb-rad-auth .tedb-rad-operational-grid .text-slate-400,body.tedb-rad-auth .tedb-rad-operational-grid .text-slate-300{color:#52637a!important}
body.tedb-rad-auth .tedb-rad-operational-grid button{border-color:#d7e0eb!important;background:#f8fbff!important;color:#102238!important}
body.tedb-rad-exact .pte-rad-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}
body.tedb-rad-exact .pte-rad-pad{padding:18px!important}
body.tedb-rad-exact .pte-rad-panel-title{margin:0 0 14px;color:#1c2b40!important;font-size:14px;font-weight:900;text-transform:uppercase}
body.tedb-rad-exact .pte-rad-table{width:100%;border-collapse:collapse;font-size:13px}
body.tedb-rad-exact .pte-rad-table td{padding:11px;border-top:1px solid #e6edf5;color:#314057;line-height:1.35}
body.tedb-rad-exact .pte-rad-table td:last-child{text-align:right}
body.tedb-rad-exact .pte-rad-value{font-weight:900;color:#101927}

/* Exact dark illustrated resource cards */
body.tedb-rad-exact .pte-rad-resource-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  margin:0 0 22px!important;
  padding:18px!important;
  border:1px solid var(--pte-rad-line)!important;
  border-top:0!important;
  border-radius:0 0 8px 8px!important;
  background:#fff!important;
  box-shadow:var(--pte-rad-shadow)!important;
}
body.tedb-rad-exact .pte-rad-card{
  --pte-rad-accent:#40dfff;--pte-rad-deep:#061634;--pte-rad-mid:#083b7c;--pte-rad-low:#0e7490;
  min-height:390px!important;display:flex!important;flex-direction:column!important;padding:16px 18px 19px!important;position:relative!important;overflow:hidden!important;
  border-radius:16px!important;color:#fff!important;background-color:#07101d!important;background-image:radial-gradient(circle at 78% 12%,rgba(34,211,238,.3),transparent 36%),linear-gradient(145deg,var(--pte-rad-deep),var(--pte-rad-mid) 54%,var(--pte-rad-low))!important;
  border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 24px 54px rgba(20,36,58,.24)!important;text-align:left!important;transform:none!important
}
body.tedb-rad-exact .pte-rad-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 22%),linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 100%),linear-gradient(0deg,rgba(255,255,255,.055) 0 1px,transparent 1px 100%);background-size:auto,34px 34px,34px 34px;pointer-events:none}
body.tedb-rad-exact .pte-rad-card:after{content:"";position:absolute;right:18px;bottom:18px;width:96px;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--pte-rad-accent));box-shadow:0 0 26px var(--pte-rad-accent)}
body.tedb-rad-exact .pte-rad-card:nth-child(2){--pte-rad-accent:#fb7185;--pte-rad-deep:#260617;--pte-rad-mid:#7f1d4d;--pte-rad-low:#f97316}
body.tedb-rad-exact .pte-rad-card:nth-child(3){--pte-rad-accent:#86efac;--pte-rad-deep:#052e1a;--pte-rad-mid:#047857;--pte-rad-low:#22c55e}
body.tedb-rad-exact .pte-rad-card:nth-child(4){--pte-rad-accent:#fda4af;--pte-rad-deep:#330511;--pte-rad-mid:#9f1239;--pte-rad-low:#f43f5e}
body.tedb-rad-exact .pte-rad-card:nth-child(5){--pte-rad-accent:#67e8f9;--pte-rad-deep:#082f49;--pte-rad-mid:#1d4ed8;--pte-rad-low:#0891b2}
body.tedb-rad-exact .pte-rad-card:nth-child(6){--pte-rad-accent:#fde68a;--pte-rad-deep:#422006;--pte-rad-mid:#78350f;--pte-rad-low:#92400e}
body.tedb-rad-exact .pte-rad-card:nth-child(7){--pte-rad-accent:#4ade80;--pte-rad-deep:#052e16;--pte-rad-mid:#166534;--pte-rad-low:#65a30d}
body.tedb-rad-exact .pte-rad-card:nth-child(8){--pte-rad-accent:#38bdf8;--pte-rad-deep:#11114a;--pte-rad-mid:#3730a3;--pte-rad-low:#0284c7}
body.tedb-rad-exact .pte-rad-card:nth-child(9){--pte-rad-accent:#facc15;--pte-rad-deep:#3b0718;--pte-rad-mid:#be123c;--pte-rad-low:#ca8a04}
body.tedb-rad-exact .pte-rad-card:nth-child(10){--pte-rad-accent:#c084fc;--pte-rad-deep:#240046;--pte-rad-mid:#7e22ce;--pte-rad-low:#d946ef}
body.tedb-rad-exact .pte-rad-card:nth-child(11){--pte-rad-accent:#2dd4bf;--pte-rad-deep:#042f2e;--pte-rad-mid:#115e59;--pte-rad-low:#0e7490}
body.tedb-rad-exact .pte-rad-card:nth-child(12){--pte-rad-accent:#fb7185;--pte-rad-deep:#4a044e;--pte-rad-mid:#db2777;--pte-rad-low:#fb923c}
body.tedb-rad-exact .pte-rad-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important;z-index:1!important;margin-bottom:12px!important}
body.tedb-rad-exact .pte-rad-badge{display:inline-flex!important;padding:5px 8px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;background:rgba(255,255,255,.11)!important;color:#fff!important;font-size:9px!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.tedb-rad-exact .pte-rad-card-head>.relative{width:34px!important;height:34px!important}
body.tedb-rad-exact .pte-rad-card-head>.relative svg{width:34px!important;height:34px!important}
body.tedb-rad-exact .pte-rad-card-head>.relative span{color:#fff!important;font-size:9px!important}
body.tedb-rad-exact .pte-rad-art{height:102px;margin:-2px 0 14px;position:relative;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);z-index:1}
body.tedb-rad-exact .pte-rad-art svg{width:92%;height:80px;filter:drop-shadow(0 14px 18px rgba(0,0,0,.28))}
body.tedb-rad-exact .pte-rad-card .tedb-rad-module-label{position:relative;z-index:1;margin:0 0 6px!important;color:rgba(255,255,255,.66)!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.tedb-rad-exact .pte-rad-card .tedb-rad-module-title{position:relative;z-index:1;margin:0 0 9px!important;color:#fff!important;font-size:16px!important;line-height:1.12!important;text-transform:uppercase!important;text-shadow:0 3px 16px rgba(0,0,0,.36)!important}
body.tedb-rad-exact .pte-rad-card .tedb-rad-card-meta{position:relative;z-index:1;margin:0 0 12px!important;color:rgba(255,255,255,.86)!important;font-size:12px!important;line-height:1.45!important}
body.tedb-rad-exact .pte-rad-url{position:relative;z-index:1;margin-top:auto;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;text-decoration:none;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:999px;padding:8px 10px;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;text-align:center}
body.tedb-rad-exact .pte-rad-card:hover .pte-rad-url{background:rgba(255,255,255,.2)}

/* Generic screen and reader treatments */
body.tedb-rad-auth .tedb-rad-generic-root>h1,body.tedb-rad-auth .tedb-rad-generic-root>p:first-of-type{display:none!important}
body.tedb-rad-auth .tedb-rad-generic-root .rounded-2xl,body.tedb-rad-auth .tedb-rad-generic-root .rounded-3xl{
  border-color:var(--pte-rad-line)!important;background:#fff!important;color:#102238!important;box-shadow:var(--pte-rad-shadow)!important
}
body.tedb-rad-auth .tedb-rad-generic-root .text-white{color:#102238!important}
body.tedb-rad-auth .tedb-rad-generic-root .text-slate-300,body.tedb-rad-auth .tedb-rad-generic-root .text-slate-400,body.tedb-rad-auth .tedb-rad-generic-root .text-slate-500{color:#52637a!important}
body.tedb-rad-auth .tedb-rad-generic-root .bg-white\/\[0\.03\],body.tedb-rad-auth .tedb-rad-generic-root .bg-white\/\[0\.04\],body.tedb-rad-auth .tedb-rad-generic-root .bg-white\/\[0\.06\]{background:#fff!important}
body.tedb-rad-auth .tedb-rad-generic-root button:not(.pte-rad-card):not(.pte-rad-btn){border-color:#c9d3df!important}
body.tedb-rad-auth .tedb-rad-reader-original{display:none!important}
body.tedb-rad-auth .tedb-rad-reader-root .mt-8.rounded-2xl,body.tedb-rad-auth .tedb-rad-module-root .rounded-2xl,body.tedb-rad-auth .tedb-rad-module-root .rounded-3xl{
  border:1px solid var(--pte-rad-line)!important;border-radius:8px!important;background:#fff!important;color:#102238!important;box-shadow:var(--pte-rad-shadow)!important
}
body.tedb-rad-auth .tedb-rad-reader-root .text-white,body.tedb-rad-auth .tedb-rad-module-root .text-white{color:#102238!important}
body.tedb-rad-auth .tedb-rad-reader-root .text-slate-300,body.tedb-rad-auth .tedb-rad-reader-root .text-slate-400,body.tedb-rad-auth .tedb-rad-reader-root .text-slate-500,body.tedb-rad-auth .tedb-rad-module-root .text-slate-300,body.tedb-rad-auth .tedb-rad-module-root .text-slate-400,body.tedb-rad-auth .tedb-rad-module-root .text-slate-500{color:#52637a!important}
body.tedb-rad-auth .tedb-rad-reader-root h2,body.tedb-rad-auth .tedb-rad-reader-root h3,body.tedb-rad-auth .tedb-rad-module-root h2,body.tedb-rad-auth .tedb-rad-module-root h3{color:#18314d!important}
body.tedb-rad-auth .tedb-rad-reader-root p,body.tedb-rad-auth .tedb-rad-reader-root li{font-size:15px;line-height:1.75;color:#314057}
body.tedb-rad-auth .tedb-rad-reader-root .prose{max-width:none!important}
body.tedb-rad-auth .tedb-rad-back-button{display:inline-flex!important;min-height:38px!important;align-items:center!important;padding:0 13px!important;border:1px solid #c9d3df!important;border-radius:6px!important;background:linear-gradient(180deg,#fff,#e8eef5)!important;color:#102238!important;font-weight:850!important}
body.tedb-rad-auth .fixed.bottom-6.right-6{background:linear-gradient(180deg,#38bdf8,#0ea5e9)!important;color:#071a36!important;border:1px solid rgba(255,255,255,.45)!important;box-shadow:0 16px 40px rgba(14,165,233,.30)!important}

/* Exact footer CTA */
body.tedb-rad-exact .pte-rad-footer{margin:0 -28px;padding:54px 34px 26px;background:linear-gradient(180deg,#f7fbff 0%,#fff 42%,#f2f7ff 100%);border-top:1px solid rgba(31,85,150,.14)}
body.tedb-rad-exact .pte-rad-footer-shell{max-width:1220px;margin:0 auto}
body.tedb-rad-exact .pte-rad-cta{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:30px 34px;border-radius:18px;background:radial-gradient(circle at 9% 20%,rgba(42,169,255,.24),transparent 28%),linear-gradient(135deg,#061d3a 0%,#0b376d 55%,#0d83c8 100%);box-shadow:0 24px 60px rgba(10,45,95,.20);color:#fff}
body.tedb-rad-exact .pte-rad-eyebrow{color:#7ce7ff;display:block;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:10px}
body.tedb-rad-exact .pte-rad-cta h2{margin:0 0 9px;font-size:30px;color:#fff!important}
body.tedb-rad-exact .pte-rad-cta p{margin:0;max-width:760px;color:rgba(255,255,255,.82)!important;line-height:1.7}
body.tedb-rad-exact .pte-rad-actions{display:flex;gap:10px;flex-wrap:wrap}
body.tedb-rad-exact .pte-rad-bottom{border-top:1px solid rgba(26,83,150,.14);padding-top:22px;color:#5a6b82;font-size:13px;display:flex;justify-content:space-between;margin-top:28px}

/* =============================================================
   PUBLIC / SIGN-IN EXPERIENCE
   ============================================================= */
body.tedb-rad-public{background:linear-gradient(180deg,#f8fbff,#eaf2fb)!important;color:#102238!important}
body.tedb-rad-public #root>div:not([role]):not(.fixed){background:linear-gradient(180deg,#f8fbff,#eaf2fb)!important;color:#102238!important}
body.tedb-rad-public .tedb-rad-public-header{
  min-height:72px!important;height:72px!important;display:flex!important;align-items:center!important;padding:0 24px!important;
  background:linear-gradient(135deg,#071a36 0%,#0b2a55 58%,#0e3d78 100%)!important;border-bottom:0!important;box-shadow:0 2px 10px rgba(20,36,58,.18)!important
}
body.tedb-rad-public .tedb-rad-public-header .tedb-rad-public-logo{width:238px;max-height:54px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.36))}
body.tedb-rad-public .tedb-rad-public-header .tedb-rad-old-brand{display:none!important}
body.tedb-rad-public .tedb-rad-public-header button{color:#fff!important}
body.tedb-rad-public .tedb-rad-public-hero{margin:24px 28px 16px!important;max-width:none!important;padding:32px 36px!important;text-align:left!important}
body.tedb-rad-public .tedb-rad-public-hero .tedb-rad-public-hero-inner{max-width:900px}
body.tedb-rad-public .tedb-rad-public-hero h1{font-family:Raleway,Inter,sans-serif!important;font-size:44px!important;max-width:900px!important;color:#fff!important}
body.tedb-rad-public .tedb-rad-public-hero p{margin-left:0!important;margin-right:0!important;color:rgba(255,255,255,.82)!important}
body.tedb-rad-public .tedb-rad-public-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:18px 28px 22px!important;max-width:none!important}
body.tedb-rad-public .tedb-rad-public-stats>div{min-height:126px!important;padding:22px 24px!important;border:0!important;border-radius:8px!important;color:#fff!important;box-shadow:0 18px 38px rgba(23,38,64,.16)!important;background:linear-gradient(135deg,#4096f6,#3385e8)!important}
body.tedb-rad-public .tedb-rad-public-stats>div:nth-child(2){background:linear-gradient(135deg,#31cdb5,#23b29d)!important}
body.tedb-rad-public .tedb-rad-public-stats>div:nth-child(3){background:linear-gradient(135deg,#ffbd5b,#f5a83a)!important}
body.tedb-rad-public .tedb-rad-public-stats>div:nth-child(4){background:linear-gradient(135deg,#ff5277,#f23d68)!important}
body.tedb-rad-public .tedb-rad-public-stats>div div:first-child{color:#fff!important;font-family:Raleway,Inter,sans-serif!important}
body.tedb-rad-public .tedb-rad-public-stats>div div:last-child{color:#fff!important}
body.tedb-rad-public .tedb-rad-public-section{background:#fff!important;color:#102238!important;border-top:1px solid #d7e0eb!important}
body.tedb-rad-public .tedb-rad-public-section h2,body.tedb-rad-public .tedb-rad-public-section h3{color:#102238!important}
body.tedb-rad-public .tedb-rad-public-section p{color:#52637a!important}
body.tedb-rad-public .tedb-rad-public-section .border-white\/10{border-color:#d7e0eb!important}
body.tedb-rad-public .tedb-rad-public-section .bg-white\/\[0\.03\],body.tedb-rad-public .tedb-rad-public-section .bg-white\/\[0\.04\],body.tedb-rad-public .tedb-rad-public-section .bg-white\/5{background:#f8fbff!important}
body.tedb-rad-public .tedb-rad-public-section .text-white{color:#102238!important}
body.tedb-rad-public .tedb-rad-public-section .text-slate-300,body.tedb-rad-public .tedb-rad-public-section .text-slate-400,body.tedb-rad-public .tedb-rad-public-section .text-slate-500{color:#52637a!important}
body.tedb-rad-public .tedb-rad-public-curriculum{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
body.tedb-rad-public .tedb-rad-public-curriculum>div{min-height:250px!important;border-radius:16px!important;color:#fff!important;background:radial-gradient(circle at 78% 12%,rgba(34,211,238,.3),transparent 36%),linear-gradient(145deg,#061634,#083b7c 54%,#0e7490)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 24px 54px rgba(20,36,58,.24)!important}
body.tedb-rad-public .tedb-rad-public-curriculum>div:nth-child(2n){background:radial-gradient(circle at 78% 12%,rgba(251,113,133,.28),transparent 36%),linear-gradient(145deg,#260617,#7f1d4d 54%,#f97316)!important}
body.tedb-rad-public .tedb-rad-public-curriculum>div:nth-child(3n){background:radial-gradient(circle at 78% 12%,rgba(134,239,172,.28),transparent 36%),linear-gradient(145deg,#052e1a,#047857 54%,#22c55e)!important}
body.tedb-rad-public .tedb-rad-public-curriculum>div *{color:#fff!important}

/* Focus and reduced motion */
body.tedb-rad-exact :focus-visible{outline:3px solid rgba(50,199,255,.48)!important;outline-offset:2px!important}
@media (prefers-reduced-motion:reduce){body.tedb-rad-exact *,body.tedb-rad-exact *:before,body.tedb-rad-exact *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Responsive */
@media(max-width:1500px){
  body.tedb-rad-exact .pte-rad-resource-grid,body.tedb-rad-public .tedb-rad-public-curriculum{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  body.tedb-rad-auth #root>.min-h-screen{grid-template-columns:280px minmax(0,1fr)!important}
  body.tedb-rad-auth .pte-rad-brand{width:280px;min-width:280px}
  body.tedb-rad-auth aside.pte-rad-sidebar{width:280px!important}
  body.tedb-rad-auth .pte-rad-nav{gap:12px;padding:0 14px}
  body.tedb-rad-auth .pte-rad-nav button{font-size:12px!important}
  body.tedb-rad-auth .pte-rad-top-actions>.tedb-rad-status{padding:0 12px}
  body.tedb-rad-exact .pte-rad-kpis,body.tedb-rad-exact .pte-rad-resource-grid,body.tedb-rad-exact .pte-rad-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.tedb-rad-exact .pte-rad-hero{grid-template-columns:1fr}
  body.tedb-rad-exact .pte-rad-hero-actions{min-width:0;justify-content:flex-start}
  body.tedb-rad-auth .tedb-rad-operational-grid{grid-template-columns:1fr!important}
  body.tedb-rad-public .tedb-rad-public-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.tedb-rad-auth #root>.min-h-screen{display:block!important}
  body.tedb-rad-auth .tedb-rad-content{display:block!important}
  body.tedb-rad-auth header.pte-rad-top{position:sticky!important;display:flex!important}
  body.tedb-rad-auth .pte-rad-brand{width:auto;min-width:0;flex:1}
  body.tedb-rad-auth .pte-rad-logo{width:210px}
  body.tedb-rad-auth .pte-rad-nav,body.tedb-rad-auth .pte-rad-top-actions{display:none!important}
  body.tedb-rad-auth header.pte-rad-top .tedb-rad-mobile-menu{display:grid!important;width:42px!important;height:42px!important;place-items:center!important;margin-right:14px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:8px!important;background:rgba(255,255,255,.10)!important;color:#fff!important}
  body.tedb-rad-auth aside.pte-rad-sidebar{display:block!important;position:fixed!important;z-index:9001!important;left:0!important;top:0!important;width:min(324px,88vw)!important;height:100vh!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:24px 0 70px rgba(7,26,54,.34)!important}
  body.tedb-rad-auth aside.pte-rad-sidebar.translate-x-0,body.tedb-rad-auth aside.pte-rad-sidebar.tedb-rad-mobile-open{transform:translateX(0)!important}
  body.tedb-rad-auth main.pte-rad-main{padding:18px!important}
  body.tedb-rad-exact .pte-rad-kpis,body.tedb-rad-exact .pte-rad-resource-grid,body.tedb-rad-exact .pte-rad-info-grid,body.tedb-rad-public .tedb-rad-public-stats,body.tedb-rad-public .tedb-rad-public-curriculum{grid-template-columns:1fr!important}
  body.tedb-rad-exact .pte-rad-cta{grid-template-columns:1fr}
  body.tedb-rad-exact .pte-rad-footer{margin:0 -18px}
  body.tedb-rad-public .tedb-rad-public-hero{margin:18px!important;padding:24px!important}
  body.tedb-rad-public .tedb-rad-public-hero h1{font-size:34px!important}
  body.tedb-rad-public .tedb-rad-public-stats{margin:18px!important}
}
@media(max-width:600px){
  body.tedb-rad-auth main.pte-rad-main{padding:14px!important}
  body.tedb-rad-exact .pte-rad-footer{margin:0 -14px;padding:38px 18px 22px}
  body.tedb-rad-exact .pte-rad-hero{padding:15px 16px 17px}
  body.tedb-rad-exact .pte-rad-hero h1{font-size:23px!important}
  body.tedb-rad-exact .pte-rad-hero-actions{display:grid;width:100%}
  body.tedb-rad-exact .pte-rad-hero-actions .pte-rad-btn{width:100%}
  body.tedb-rad-exact .pte-rad-card{min-height:0!important}
  body.tedb-rad-exact .pte-rad-bottom{display:grid;gap:8px}
  body.tedb-rad-public .tedb-rad-public-header{padding:0 14px!important}
  body.tedb-rad-public .tedb-rad-public-header .tedb-rad-public-logo{width:200px}
}

/* =============================================================
   v2.1 INTERACTION + CONTRAST HARDENING
   ============================================================= */
body.tedb-rad-exact button,
body.tedb-rad-exact a,
body.tedb-rad-exact [role="button"]{
  pointer-events:auto!important;
  touch-action:manipulation;
}
body.tedb-rad-exact button:disabled,
body.tedb-rad-exact [aria-disabled="true"]{
  cursor:not-allowed!important;
  opacity:.58!important;
  filter:saturate(.55)!important;
}
body.tedb-rad-exact .pte-rad-brand,
body.tedb-rad-exact .pte-rad-nav,
body.tedb-rad-exact .pte-rad-nav button,
body.tedb-rad-exact .pte-rad-side-link,
body.tedb-rad-exact .pte-rad-btn,
body.tedb-rad-exact .pte-rad-card,
body.tedb-rad-exact .tedb-rad-back-button{
  position:relative;
  z-index:2;
}
body.tedb-rad-auth .pte-rad-nav button.is-active{
  color:#7ce7ff!important;
  box-shadow:inset 0 -3px 0 #32c7ff!important;
}
body.tedb-rad-auth .pte-rad-nav button.is-active:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:#32c7ff;
}
body.tedb-rad-auth .pte-rad-side-link:focus-visible,
body.tedb-rad-auth .pte-rad-nav button:focus-visible,
body.tedb-rad-exact .pte-rad-btn:focus-visible,
body.tedb-rad-exact .pte-rad-card:focus-visible{
  outline:3px solid #7ce7ff!important;
  outline-offset:3px!important;
}

/* Dark dashboard surfaces must always carry legible light text. */
body.tedb-rad-exact .pte-rad-hero,
body.tedb-rad-exact .pte-rad-hero *,
body.tedb-rad-exact .pte-rad-kpi,
body.tedb-rad-exact .pte-rad-kpi *,
body.tedb-rad-exact .pte-rad-card,
body.tedb-rad-exact .pte-rad-card *,
body.tedb-rad-exact .pte-rad-cta,
body.tedb-rad-exact .pte-rad-cta *,
body.tedb-rad-auth header.pte-rad-top,
body.tedb-rad-auth header.pte-rad-top *,
body.tedb-rad-auth .pte-rad-side-link.is-active,
body.tedb-rad-auth .pte-rad-side-link.is-active *{
  color:#fff!important;
}
body.tedb-rad-exact .pte-rad-hero-kicker,
body.tedb-rad-exact .pte-rad-eyebrow,
body.tedb-rad-auth .pte-rad-nav button:hover,
body.tedb-rad-auth .pte-rad-nav button:focus-visible,
body.tedb-rad-auth .pte-rad-nav button.is-active{
  color:#7ce7ff!important;
}
body.tedb-rad-exact .pte-rad-btn-primary,
body.tedb-rad-exact .pte-rad-btn-primary *{
  color:#03172d!important;
}
body.tedb-rad-exact .pte-rad-hero .pte-rad-btn-secondary,
body.tedb-rad-exact .pte-rad-cta .pte-rad-btn-secondary,
body.tedb-rad-exact .pte-rad-hero .pte-rad-btn-secondary *,
body.tedb-rad-exact .pte-rad-cta .pte-rad-btn-secondary *{
  color:#fff!important;
}

/* Light panels and document/lesson surfaces use governed dark text. */
body.tedb-rad-auth .pte-rad-panel,
body.tedb-rad-auth .pte-rad-panel td,
body.tedb-rad-auth .pte-rad-panel th,
body.tedb-rad-auth .pte-rad-panel p,
body.tedb-rad-auth .pte-rad-panel li,
body.tedb-rad-auth .pte-rad-panel h1,
body.tedb-rad-auth .pte-rad-panel h2,
body.tedb-rad-auth .pte-rad-panel h3,
body.tedb-rad-auth .pte-rad-panel h4,
body.tedb-rad-auth .tedb-rad-reader-root .prose,
body.tedb-rad-auth .tedb-rad-reader-root .prose p,
body.tedb-rad-auth .tedb-rad-reader-root .prose li,
body.tedb-rad-auth .tedb-rad-reader-root .prose h1,
body.tedb-rad-auth .tedb-rad-reader-root .prose h2,
body.tedb-rad-auth .tedb-rad-reader-root .prose h3,
body.tedb-rad-auth .tedb-rad-reader-root .prose h4{
  color:#102238!important;
}
body.tedb-rad-auth .tedb-rad-reader-root .prose a,
body.tedb-rad-auth .tedb-rad-generic-root a:not(.pte-rad-btn){
  color:#1456b8!important;
  text-decoration:underline;
  text-underline-offset:2px;
}
body.tedb-rad-auth .tedb-rad-reader-root .prose a:hover,
body.tedb-rad-auth .tedb-rad-generic-root a:not(.pte-rad-btn):hover{
  color:#083b7c!important;
}

/* Restore light text inside original dark Tailwind surfaces that remain in the app. */
body.tedb-rad-exact [class*="bg-[#040b1c]"],
body.tedb-rad-exact [class*="bg-[#050d22]"],
body.tedb-rad-exact [class*="bg-[#0a1628]"],
body.tedb-rad-exact [class*="bg-[#0c1a30]"],
body.tedb-rad-exact [class*="bg-[#0e1d36]"],
body.tedb-rad-exact [class*="from-[#06122c]"],
body.tedb-rad-exact [class*="from-[#081634]"],
body.tedb-rad-exact [class*="from-[#0a1c44]"],
body.tedb-rad-exact [class*="from-[#0e1d36]"]{
  color:#fff!important;
}
body.tedb-rad-exact [class*="bg-[#040b1c]"] .text-white,
body.tedb-rad-exact [class*="bg-[#050d22]"] .text-white,
body.tedb-rad-exact [class*="bg-[#0a1628]"] .text-white,
body.tedb-rad-exact [class*="bg-[#0c1a30]"] .text-white,
body.tedb-rad-exact [class*="bg-[#0e1d36]"] .text-white,
body.tedb-rad-exact [class*="from-[#06122c]"] .text-white,
body.tedb-rad-exact [class*="from-[#081634]"] .text-white,
body.tedb-rad-exact [class*="from-[#0a1c44]"] .text-white,
body.tedb-rad-exact [class*="from-[#0e1d36]"] .text-white{
  color:#fff!important;
}
body.tedb-rad-exact [class*="bg-[#040b1c]"] .text-slate-300,
body.tedb-rad-exact [class*="bg-[#040b1c]"] .text-slate-400,
body.tedb-rad-exact [class*="bg-[#050d22]"] .text-slate-300,
body.tedb-rad-exact [class*="bg-[#050d22]"] .text-slate-400,
body.tedb-rad-exact [class*="bg-[#0a1628]"] .text-slate-300,
body.tedb-rad-exact [class*="bg-[#0a1628]"] .text-slate-400,
body.tedb-rad-exact [class*="bg-[#0c1a30]"] .text-slate-300,
body.tedb-rad-exact [class*="bg-[#0c1a30]"] .text-slate-400,
body.tedb-rad-exact [class*="bg-[#0e1d36]"] .text-slate-300,
body.tedb-rad-exact [class*="bg-[#0e1d36]"] .text-slate-400{
  color:#dbeafe!important;
}

/* Forms and controls remain readable on every screen. */
body.tedb-rad-exact input:not([type="checkbox"]):not([type="radio"]),
body.tedb-rad-exact textarea,
body.tedb-rad-exact select{
  color:#102238!important;
  background:#fff!important;
  border-color:#b8c8d9!important;
  caret-color:#1456b8!important;
}
body.tedb-rad-exact input::placeholder,
body.tedb-rad-exact textarea::placeholder{
  color:#66778d!important;
  opacity:1!important;
}
body.tedb-rad-exact option{
  color:#102238!important;
  background:#fff!important;
}
body.tedb-rad-exact label{
  opacity:1!important;
}

/* Status colors retain their semantic contrast. */
body.tedb-rad-exact .text-amber-200,
body.tedb-rad-exact .text-amber-300,
body.tedb-rad-exact .text-amber-400{color:#9a5b00!important}
body.tedb-rad-exact .text-emerald-200,
body.tedb-rad-exact .text-emerald-300,
body.tedb-rad-exact .text-emerald-400{color:#08735f!important}
body.tedb-rad-exact .text-red-400{color:#c31845!important}
body.tedb-rad-exact .text-sky-200,
body.tedb-rad-exact .text-sky-300,
body.tedb-rad-exact .text-sky-400{color:#075d91!important}
body.tedb-rad-exact .pte-rad-card .text-amber-200,
body.tedb-rad-exact .pte-rad-card .text-amber-300,
body.tedb-rad-exact .pte-rad-card .text-amber-400,
body.tedb-rad-exact .pte-rad-hero .text-amber-200,
body.tedb-rad-exact .pte-rad-hero .text-amber-300,
body.tedb-rad-exact .pte-rad-hero .text-amber-400{color:#ffe0a3!important}
body.tedb-rad-exact .pte-rad-card .text-emerald-200,
body.tedb-rad-exact .pte-rad-card .text-emerald-300,
body.tedb-rad-exact .pte-rad-card .text-emerald-400{color:#b4ffe7!important}
body.tedb-rad-exact .pte-rad-card .text-sky-200,
body.tedb-rad-exact .pte-rad-card .text-sky-300,
body.tedb-rad-exact .pte-rad-card .text-sky-400{color:#bcecff!important}

/* Public sign-in dialog and overlays remain deliberately dark and readable. */
body.tedb-rad-public [role="dialog"],
body.tedb-rad-public .fixed.inset-0 [class*="bg-[#0a1628]"],
body.tedb-rad-public .fixed.inset-0 [class*="bg-[#0e1d36]"]{
  color:#fff!important;
}
body.tedb-rad-public [role="dialog"] h1,
body.tedb-rad-public [role="dialog"] h2,
body.tedb-rad-public [role="dialog"] h3,
body.tedb-rad-public [role="dialog"] p,
body.tedb-rad-public [role="dialog"] span:not([data-tedb-contrast-repaired]),
body.tedb-rad-public [role="dialog"] label{
  color:#fff!important;
}
body.tedb-rad-public [role="dialog"] input,
body.tedb-rad-public [role="dialog"] textarea,
body.tedb-rad-public [role="dialog"] select{
  color:#102238!important;
  background:#fff!important;
}

/* Mobile: keep the close/menu controls above overlays and visually obvious. */
@media(max-width:900px){
  body.tedb-rad-auth header.pte-rad-top .tedb-rad-mobile-menu{
    position:relative!important;
    z-index:95!important;
    color:#fff!important;
  }
  body.tedb-rad-auth aside.pte-rad-sidebar{
    color:#102238!important;
  }
  body.tedb-rad-auth .pte-rad-side-link:not(.is-active),
  body.tedb-rad-auth .pte-rad-side-link:not(.is-active) *{
    color:#102238!important;
  }
}

/* Colored curriculum phase grids use the same dark resource-card language. */
body.tedb-rad-auth .tedb-rad-phase-grid{
  grid-template-columns:repeat(auto-fit,minmax(245px,1fr))!important;
  margin:8px 0 18px!important;
}
body.tedb-rad-auth .tedb-rad-phase-grid .pte-rad-card-head{
  min-height:34px;
}
body.tedb-rad-auth .tedb-rad-phase-grid .pte-rad-card-head,
body.tedb-rad-auth .tedb-rad-phase-grid .pte-rad-card-head *{
  color:#fff!important;
}
body.tedb-rad-exact .pte-rad-card-head>.relative,
body.tedb-rad-exact .pte-rad-card-head>div:last-child{
  border-radius:999px!important;
  background:#102a4a!important;
  color:#fff!important;
}
body.tedb-rad-exact .pte-rad-card-head>div:first-child:not(.relative){
  color:#fff!important;
}
body.tedb-rad-exact .pte-rad-badge{
  background:#102a4a!important;
  border-color:rgba(255,255,255,.38)!important;
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.42)!important;
}
body.tedb-rad-exact .pte-rad-url{
  background:#0b355f!important;
  border-color:rgba(255,255,255,.38)!important;
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.36)!important;
}
body.tedb-rad-exact .pte-rad-card:hover .pte-rad-url,
body.tedb-rad-exact .pte-rad-card:focus-visible .pte-rad-url{
  background:#1456b8!important;
}
/* Darken bright phase chips enough for small white labels. */
body.tedb-rad-auth .tedb-rad-modules-root .from-purple-500.to-fuchsia-600{
  background-image:linear-gradient(90deg,#6d28d9,#86198f)!important;
  color:#fff!important;
}
body.tedb-rad-auth .tedb-rad-modules-root .from-amber-500.to-orange-600,
body.tedb-rad-auth .tedb-rad-modules-root .from-yellow-500.to-amber-600{
  color:#102238!important;
}
body.tedb-rad-auth .tedb-rad-generic-root .pte-rad-card,
body.tedb-rad-auth .tedb-rad-generic-root .pte-rad-card *{
  color:#fff!important;
}
body.tedb-rad-auth .tedb-rad-generic-root .pte-rad-card .pte-rad-art{
  color:inherit!important;
}
body.tedb-rad-auth .tedb-rad-generic-root .pte-rad-card{
  background-color:#07101d!important;
  background-image:radial-gradient(circle at 78% 12%,rgba(34,211,238,.3),transparent 36%),linear-gradient(145deg,var(--pte-rad-deep),var(--pte-rad-mid) 54%,var(--pte-rad-low))!important;
  border-color:rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:0 24px 54px rgba(20,36,58,.24)!important;
}
body.tedb-rad-exact .pte-rad-card:nth-child(3){
  --pte-rad-low:#15803d;
}

/* v2.1.0 final clarity overrides */
body.tedb-rad-auth .pte-rad-side-link.is-active,
body.tedb-rad-auth .pte-rad-side-link.is-active *,
body.tedb-rad-auth .pte-rad-side-link:hover,
body.tedb-rad-auth .pte-rad-side-link:hover *{color:#fff!important;}
body.tedb-rad-auth .pte-rad-side-link:not(.is-active),
body.tedb-rad-auth .pte-rad-side-link:not(.is-active) *{color:#102238!important;}
body.tedb-rad-auth .pte-rad-side-link.is-active .pte-rad-idx,
body.tedb-rad-auth .pte-rad-side-link:hover .pte-rad-idx{color:#fff!important;background:rgba(255,255,255,.18)!important;}
@media(max-width:900px){
 body.tedb-rad-auth header.pte-rad-top .tedb-rad-mobile-menu{display:grid!important;position:relative!important;z-index:100!important;flex:0 0 42px!important;}
}

@media(max-width:900px){
 body.tedb-rad-auth aside.pte-rad-sidebar[aria-hidden="true"]{transform:translateX(-105%)!important;}
 body.tedb-rad-auth aside.pte-rad-sidebar.translate-x-0[aria-hidden="false"],
 body.tedb-rad-auth aside.pte-rad-sidebar.tedb-rad-mobile-open[aria-hidden="false"]{transform:translateX(0)!important;}
}
