
/* DOMA Programming Academy — SINGLE MASTER THEME
   One palette, one page canvas, and one shared homepage glass-card language.
   This file intentionally replaces all accumulated academy theme overrides. */
:root{
  color-scheme:dark;
  --pa-main-bg:#170f22;
  --pa-main-bg-2:#241632;
  --pa-main-text:#fff4e8;
  --pa-main-muted:#e4d5e8;
  --pa-main-muted-2:#c9b6d3;
  --pa-main-gold:#ffe5bd;
  --pa-main-gold-2:#e8b974;
  --pa-main-purple:#b894e9;
  --pa-main-green:#70e39a;
  --pa-main-card-border:rgba(225,193,233,.30);
  --pa-main-card-shadow:0 16px 38px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.12);
  --pa-main-card-bg:radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72));
}
html:has(body.programming-page),html:has(body:has(.handbook)){background:#170f22!important}
html body.programming-page,html body:has(.handbook){
  min-height:100vh!important;
  color:var(--pa-main-text)!important;
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    linear-gradient(145deg,#170f22 0%,#21142e 52%,#130d1d 100%)!important;
  background-color:#170f22!important;
  background-attachment:fixed!important;
}
html body.programming-page :is(h1,h2,h3,h4,h5,h6),
html body:has(.handbook) :is(h1,h2,h3,h4,h5,h6){color:var(--pa-main-text)!important}
html body.programming-page :is(p,li,label,.muted,.small,.desc,.pa-track-description,.pa-track-meta,.pa-reader-summary,.pa-free-tutor-status,.pa-free-tutor-note,.pa-tool-page-head p),
html body:has(.handbook) :is(p,li,.muted){color:var(--pa-main-muted)!important}
html body.programming-page a,html body:has(.handbook) a{color:var(--pa-main-gold)!important}
html body.programming-page a:hover,html body:has(.handbook) a:hover{color:#fff!important}

/* The same glass treatment used by the main site's How It Works cards. */
html body.programming-page :is(
 .pa-track-card,.pa20-hub-card,.pa-project-card,.pa-daily-card,.pa-side-card,
 .pa-progress-cards>div,.pa-stats>div,.pa-lessons-panel,.pa-lesson-reader,
 .pa-code-lab,.pa-free-tutor,.pa-global-tutor,.pa-tool-page-head,
 .pa-modal-card,.pa-subscription-compact,.pa-achievement-panel,
 .pa-certificate-card,.pa-review-card,.pa-exercise-card,.pa-activity-card,
 .pa-project-rubric,.pa-daily-challenges,.pa-student-progress,
 .pa-projects-section,.pa-activities,.pa-admin-learning,
 .pa20-path-card,.pa20-topic-card,.pa20-course-card
),
html body:has(.handbook) :is(.hero,.panel,.guide-card,.key,.terminal){
 color:var(--pa-main-text)!important;
 border:1px solid var(--pa-main-card-border)!important;
 border-radius:22px!important;
 background:var(--pa-main-card-bg)!important;
 box-shadow:var(--pa-main-card-shadow)!important;
 -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
 backdrop-filter:blur(18px) saturate(135%)!important;
}
html body.programming-page :is(.pa-track-card,.pa20-hub-card,.pa-project-card,.pa-daily-card,.pa-side-card,.pa-progress-cards>div,.pa-stats>div,.pa-lessons-panel,.pa-lesson-reader,.pa-code-lab,.pa-free-tutor,.pa-global-tutor,.pa-tool-page-head,.pa-modal-card,.pa-subscription-compact,.pa-achievement-panel,.pa-certificate-card,.pa-review-card,.pa-exercise-card,.pa-activity-card,.pa-project-rubric,.pa-daily-challenges,.pa-student-progress,.pa-projects-section,.pa-activities,.pa-admin-learning,.pa20-path-card,.pa20-topic-card,.pa20-course-card):hover,
html body:has(.handbook) :is(.hero,.panel,.guide-card,.key):hover{
 border-color:rgba(255,218,174,.58)!important;
 box-shadow:0 20px 44px rgba(12,5,23,.31),0 0 22px rgba(232,185,116,.08),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
html body.programming-page .pa-track-card,
html body.programming-page .pa20-hub-card{border-radius:22px!important}
html body.programming-page :is(.pa-hero,.pa20-hero,.pa-home-hero,.pa-tool-page){
 color:var(--pa-main-text)!important;
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
}
html body.programming-page :is(.pa-topbar,.pa20-topbar,.pa-nav,.pa-tool-nav),
html body:has(.handbook) .handbook-topbar{
 color:var(--pa-main-text)!important;
 background:linear-gradient(135deg,rgba(112,77,133,.78),rgba(49,31,68,.90))!important;
 border:1px solid rgba(255,218,174,.24)!important;
 box-shadow:0 14px 38px rgba(12,5,23,.22),inset 0 1px 0 rgba(255,255,255,.14)!important;
 -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
 backdrop-filter:blur(22px) saturate(145%)!important;
}
html body.programming-page :is(.pa-section,.pa-section-wrap,.pa-content-section,.pa-track-section,.pa-footer),
html body:has(.handbook) .handbook{background:transparent!important}
html body.programming-page .pa-footer{color:var(--pa-main-muted)!important;border-top-color:rgba(255,218,174,.18)!important}

/* Controls: champagne-gold actions, glass fields, consistent contrast. */
html body.programming-page :is(button,.pa-button,.pa-lab-secondary,.pa-code-select),
html body:has(.handbook) :is(button,.nav a,.chip){
 color:var(--pa-main-gold)!important;
 border:1px solid rgba(255,218,174,.34)!important;
 border-radius:12px!important;
 background:rgba(255,255,255,.055)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
html body.programming-page :is(.pa-lab-run,.pa-primary-button,.pa-project-submit,.pa-free-tutor-send,.pa-activity-submit),
html body:has(.handbook) .primary{
 color:#2b1b35!important;
 border:1px solid rgba(255,218,174,.55)!important;
 background:linear-gradient(120deg,#ffe5bd,#e8b974)!important;
 box-shadow:0 10px 24px rgba(12,5,23,.2)!important;
}
html body.programming-page :is(input,select,textarea,.pa-form-input,.pa-code-input,.pa-free-tutor-question input),
html body:has(.handbook) input{
 color:var(--pa-main-text)!important;
 border:1px solid rgba(225,193,233,.28)!important;
 border-radius:12px!important;
 background:rgba(67,45,85,.48)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
html body.programming-page :is(input,textarea)::placeholder,
html body:has(.handbook) input::placeholder{color:#c9b6d3!important}
html body.programming-page select option{color:#fff4e8!important;background:#2b1d3b!important}

/* Interactive board: one continuous glass surface, no black gutter or divider.
   Green line numbers sit slightly apart from the code. */
html body.programming-page .pa-editor-wrap{
 display:flex!important;direction:ltr!important;align-items:stretch!important;
 gap:10px!important;overflow:hidden!important;
 padding:10px 12px!important;
 border:1px solid rgba(225,193,233,.30)!important;
 border-radius:18px!important;
 background:var(--pa-main-card-bg)!important;
 box-shadow:var(--pa-main-card-shadow)!important;
 -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
 backdrop-filter:blur(18px) saturate(135%)!important;
}
html body.programming-page .pa-editor-wrap:focus-within{
 border-color:rgba(255,218,174,.62)!important;
 box-shadow:0 0 0 3px rgba(255,218,174,.08),var(--pa-main-card-shadow)!important;
}
html body.programming-page .pa-code-lines{
 flex:0 0 34px!important;width:34px!important;min-width:34px!important;
 margin:0 8px 0 0!important;padding:17px 2px 17px 0!important;
 border:0!important;border-right:0!important;
 background:transparent!important;
 color:var(--pa-main-green)!important;
 text-align:right!important;white-space:pre!important;
 font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important;
 user-select:none!important;
}
html body.programming-page .pa-editor-wrap .pa-code-editor,
html body.programming-page .pa-code-editor,
html body.programming-page .pa-editor-wrap textarea{
 flex:1!important;min-width:0!important;min-height:250px!important;
 max-height:430px!important;resize:vertical!important;
 margin:0!important;padding:17px 4px!important;
 border:0!important;border-radius:0!important;
 color:#fff4e8!important;background:transparent!important;
 box-shadow:none!important;outline:0!important;
 direction:ltr!important;text-align:left!important;
 tab-size:4!important;white-space:pre!important;overflow:auto!important;
 caret-color:#ffe5bd!important;
 font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important;
}
html body.programming-page .pa-editor-wrap .pa-code-editor:focus{
 border:0!important;box-shadow:none!important;outline:0!important;
}
html body.programming-page :is(.pa-code-output,.pa-test-output,.pa-daily-editor,.pa-exercise-editor,.pa-reader-content pre,.terminal){
 color:#d9f7e2!important;
 border:1px solid rgba(225,193,233,.28)!important;
 border-radius:16px!important;
 background:var(--pa-main-card-bg)!important;
 box-shadow:var(--pa-main-card-shadow)!important;
 direction:ltr!important;text-align:left!important;
}
html body.programming-page .pa-code-output{padding:15px!important;white-space:pre-wrap!important}
html body.programming-page :is(.pa-reader-content,.pa-reader-content p,.pa-reader-content li,.pa-reader-content ul,.pa-reader-content ol){color:var(--pa-main-muted)!important}
html body.programming-page :is(.pa-reader-content h2,.pa-reader-content h3,.pa-reader-content h4,.pa-reader-content strong){color:var(--pa-main-gold)!important}
html body.programming-page .pa-reader-content a{color:var(--pa-main-gold)!important}
html body.programming-page .pa-reader-content :is(blockquote,table,th,td){
 color:var(--pa-main-text)!important;background:rgba(117,79,139,.20)!important;border-color:rgba(225,193,233,.22)!important;
}
html body.programming-page .pa-reader-content code{color:#b9f0cb!important;background:rgba(112,227,154,.10)!important}

/* Tutor answers, progress, labels and status colors. */
html body.programming-page :is(.pa-free-tutor-head h3,.pa-tool-page-head h2,.pa-section-heading h2,.pa-panel-heading h2,.pa-lesson-reader h2,.pa-side-card h3,.pa-project-card h3,.pa-daily-card h3){color:var(--pa-main-gold)!important}
html body.programming-page :is(.pa-track-number,.pa-progress-count,.pa-roadmap-label,.pa-side-icon){
 color:var(--pa-main-green)!important;border:1px solid rgba(112,227,154,.24)!important;background:rgba(112,227,154,.08)!important;
}
html body.programming-page :is(.pa-free-tutor-answer,.pa-project-status,.pa-daily-hints,.pa-daily-result,.pa-exercise-hints,.pa-exercise-test-results){
 color:var(--pa-main-text)!important;border:1px solid rgba(225,193,233,.25)!important;border-radius:16px!important;background:rgba(117,79,139,.25)!important;
}
html body.programming-page :is(.pa-modal-backdrop,.pa-overlay){background:rgba(12,7,19,.72)!important;backdrop-filter:blur(12px)!important}
html body.programming-page :is(.pa-modal-price,.pa-cash-number){color:var(--pa-main-text)!important;background:rgba(117,79,139,.25)!important;border-color:rgba(225,193,233,.25)!important}
html body.programming-page :is(.pa-modal-price strong,.pa-cash-number strong){color:var(--pa-main-gold)!important}

/* Standalone Programmer Guide — no green/blue/black legacy theme. */
html body:has(.handbook) :is(.handbook,.hero,.panel,.guide-card,.key,.terminal){color:var(--pa-main-text)!important}
html body:has(.handbook) .handbook{max-width:1100px!important;margin:auto!important;padding:18px!important}
html body:has(.handbook) .hero h1{color:var(--pa-main-gold)!important}
html body:has(.handbook) .guide-card :is(p,li){color:var(--pa-main-muted)!important}
html body:has(.handbook) .key code,html body:has(.handbook) .guide-card code{
 color:var(--pa-main-gold)!important;background:rgba(255,218,174,.10)!important;
}
html body:has(.handbook) .steps li{
 color:var(--pa-main-text)!important;background:rgba(117,79,139,.22)!important;
 border:1px solid rgba(225,193,233,.16)!important;border-radius:12px!important;
}
html body:has(.handbook) .steps li:before{color:var(--pa-main-green)!important}
html body:has(.handbook) .terminal{color:#d9f7e2!important}
html body:has(.handbook) .handbook-back{color:var(--pa-main-gold)!important}

@media(max-width:760px){
 html body.programming-page{background-attachment:scroll!important}
 html body.programming-page .pa-editor-wrap{gap:7px!important;padding:8px!important}
 html body.programming-page .pa-code-lines{flex-basis:30px!important;width:30px!important;min-width:30px!important;margin-right:5px!important}
 html body.programming-page .pa-code-editor{font-size:13px!important}
 html body.programming-page :is(.pa-track-card,.pa20-hub-card){border-radius:19px!important}
 html body:has(.handbook) .handbook{padding:12px!important}
}


/* Layout recovery: preserve the academy's original grid structure.
   Visual theme rules must never collapse or stack interactive cards. */
html body.programming-page .pa-shell{
  width:min(1180px,92%)!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  padding:28px 0 32px!important;
  box-sizing:border-box!important;
}
html body.programming-page .pa20-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)!important;
  align-items:center!important;
  gap:clamp(18px,3vw,38px)!important;
  width:100%!important;
  min-width:0!important;
  margin:14px 0 26px!important;
  position:relative!important;
}
html body.programming-page .pa20-hero-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
  min-width:0!important;
  position:relative!important;
}
html body.programming-page .pa20-hero-art{
  display:grid!important;
  place-items:center!important;
  min-width:0!important;
  min-height:240px!important;
  position:relative!important;
}
html body.programming-page .pa20-hero-art img{
  display:block!important;
  width:min(100%,390px)!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}
html body.programming-page .pa20-hub{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  margin:16px 0 0!important;
  position:relative!important;
}
html body.programming-page .pa20-hub-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:11px!important;
  width:100%!important;
  min-width:0!important;
  min-height:76px!important;
  margin:0!important;
  padding:13px 14px!important;
  position:relative!important;
  inset:auto!important;
  float:none!important;
  transform:none!important;
  text-align:start!important;
  white-space:normal!important;
  box-sizing:border-box!important;
  border:1px solid var(--pa-main-card-border)!important;
  border-radius:18px!important;
  background:var(--pa-main-card-bg)!important;
  box-shadow:var(--pa-main-card-shadow)!important;
}
html body.programming-page .pa20-hub-card>span:nth-child(2){
  display:grid!important;
  gap:4px!important;
  min-width:0!important;
}
html body.programming-page .pa20-hub-card strong,
html body.programming-page .pa20-hub-card small{
  display:block!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
html body.programming-page .pa20-hub-icon{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  border-radius:13px!important;
  background:rgba(255,218,174,.10)!important;
  color:var(--pa-main-gold)!important;
}
html body.programming-page :is(.pa-track-grid,.pa-projects-grid,.pa-daily-challenge-grid,.pa-progress-cards,.pa-stats){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
}
html body.programming-page :is(.pa-track-card,.pa-project-card,.pa-daily-card,.pa-progress-cards>div,.pa-stats>div,.pa-side-card,.pa-lessons-panel){
  position:relative!important;
  inset:auto!important;
  float:none!important;
  transform:none!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html body.programming-page .pa-track-card{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 20px!important;
  align-items:center!important;
  gap:12px!important;
}
html body.programming-page .pa-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.programming-page .pa-learning-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.55fr) minmax(240px,.75fr)!important;
  align-items:start!important;
  gap:18px!important;
  width:100%!important;
}
html body.programming-page .pa-lessons-panel,
html body.programming-page .pa-side-column{min-width:0!important;width:auto!important}
@media(max-width:820px){
  html body.programming-page .pa20-hero{grid-template-columns:minmax(0,1fr)!important}
  html body.programming-page .pa20-hero-art{display:none!important}
  html body.programming-page .pa-learning-layout{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:620px){
  html body.programming-page .pa-shell{
    width:calc(100% - 28px)!important;
    max-width:560px!important;
    padding:16px 0 28px!important;
  }
  html body.programming-page .pa20-hub{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  html body.programming-page .pa20-hub-card{min-height:68px!important}
  html body.programming-page :is(.pa-track-grid,.pa-projects-grid,.pa-daily-challenge-grid,.pa-progress-cards,.pa-stats){
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
}


/* Typography refresh: clear Arabic/Latin text with a consistent Tajawal family. */
html body.programming-page,
html body.programming-page :where(*),
html body:has(.handbook),
html body:has(.handbook) :where(*) {
  font-family:"Tajawal","Segoe UI",Tahoma,Arial,sans-serif!important;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
}
html body.programming-page :is(h1,h2,h3,h4,h5,h6),
html body:has(.handbook) :is(h1,h2,h3,h4,h5,h6) {
  font-weight:800!important;
  letter-spacing:normal!important;
  line-height:1.45!important;
}
html body.programming-page :is(p,li,label,button,a,small,strong,span),
html body:has(.handbook) :is(p,li,label,button,a,small,strong,span) {
  text-rendering:optimizeLegibility;
}
html body.programming-page :is(.pa-code-editor,.pa-code-output,.pa-daily-editor,.pa-exercise-editor,.pa-code-window,.terminal,pre,code),
html body:has(.handbook) :is(pre,code,.terminal) {
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;
  letter-spacing:0!important;
}
html body.programming-page .pa-reader-content,
html body.programming-page .pa-reader-content p,
html body.programming-page .pa-reader-content li,
html body:has(.handbook) .guide-card {
  font-size:15px!important;
  line-height:1.95!important;
}
@media(max-width:600px){
  html body.programming-page .pa-reader-content,
  html body.programming-page .pa-reader-content p,
  html body.programming-page .pa-reader-content li,
  html body:has(.handbook) .guide-card {
    font-size:14px!important;
    line-height:1.9!important;
  }
}


/* Keep the learning-path directory completely closed on the academy landing page. */
html body.programming-page [hidden] { display:none!important; }
html body.programming-page #learning-paths { display:none!important; }
html body.programming-page.pa-paths-open #learning-paths {
  display:block!important;
}


/* Compact academy identity: refined mint / turquoise / white branding. */
html body.programming-page .pa-topbar{
  min-height:48px!important;
  padding:8px max(4vw,18px)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.programming-page .pa-user-identity{
  display:flex!important;align-items:center!important;gap:11px!important;
  color:#f5fff9!important;font-family:"Tajawal","Segoe UI",sans-serif!important;
  font-size:14px!important;font-weight:800!important;letter-spacing:.15px!important;
}
html body.programming-page .pa-user-identity-name{
  color:#eafff4!important;
  text-shadow:0 1px 12px rgba(75,222,180,.18)!important;
}
html body.programming-page .pa-auth-status.is-connected{
  background:#68e6a4!important;
  box-shadow:0 0 0 4px rgba(104,230,164,.12),0 0 15px rgba(104,230,164,.72)!important;
}
html body.programming-page .pa-home-link,
html body.programming-page #paGlobalBack{
  width:36px!important;height:36px!important;
  border:0!important;border-radius:50%!important;
  background:transparent!important;box-shadow:none!important;
  color:#d9fff1!important;
}
html body.programming-page .pa-home-link:hover,
html body.programming-page #paGlobalBack:hover{
  border:0!important;background:rgba(112,227,190,.08)!important;
}
html body.programming-page .pa20-hero{
  min-height:0!important;
  padding:clamp(14px,2.3vw,25px)!important;
  margin:6px 0 22px!important;
  gap:18px!important;
  border-radius:24px!important;
}
html body.programming-page .pa20-hero-copy{gap:5px!important}
html body.programming-page .pa20-brandline{
  display:flex!important;align-items:center!important;gap:9px!important;
  margin:0 0 3px!important;
  color:#f5fff9!important;
  font-family:"Tajawal","Segoe UI",sans-serif!important;
  font-size:14px!important;font-weight:900!important;letter-spacing:.2px!important;
}
html body.programming-page .pa20-brandmark{
  display:grid!important;place-items:center!important;
  width:31px!important;height:31px!important;flex:0 0 31px!important;
  border:1px solid rgba(119,235,197,.34)!important;border-radius:10px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(76,215,174,.12))!important;
  color:#9af4ce!important;font-size:19px!important;
  box-shadow:0 5px 16px rgba(40,197,153,.12)!important;
}
html body.programming-page .pa20-eyebrow{
  margin:0!important;font-size:9px!important;font-weight:800!important;
  letter-spacing:2px!important;color:#9debd0!important;
}
html body.programming-page .pa20-title{
  margin:1px 0!important;
  font-family:"Tajawal","Segoe UI",sans-serif!important;
  font-size:clamp(17px,2.1vw,23px)!important;
  line-height:1.35!important;font-weight:900!important;letter-spacing:0!important;
  background:linear-gradient(100deg,#ffffff 0%,#baf8ed 46%,#78e5b1 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important;
  text-shadow:none!important;
}
html body.programming-page .pa20-title .pa20-title-ar{
  display:inline-block!important;margin-inline-start:9px!important;
  font-size:.82em!important;font-weight:800!important;
  background:linear-gradient(100deg,#f5fffb,#9cebd7,#73dfa8)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important;
}
html body.programming-page .pa20-tagline,
html body.programming-page .pa20-tagline-ar{
  margin:1px 0!important;font-size:11px!important;line-height:1.5!important;
  color:#d9f6ed!important;
}
html body.programming-page .pa20-hero-cta{
  align-self:flex-start!important;margin-top:8px!important;
}
@media(max-width:620px){
  html body.programming-page .pa-topbar{min-height:42px!important;padding:6px 14px!important}
  html body.programming-page .pa20-hero{padding:14px!important;margin-top:4px!important}
  html body.programming-page .pa20-title{font-size:18px!important}
  html body.programming-page .pa20-title .pa20-title-ar{display:block!important;margin:1px 0 0!important}
}


/* Each academy route is a focused screen, not the landing page with extra content below it. */
html body.programming-page.pa-paths-open .pa20-hero,
html body.programming-page.pa-track-view .pa20-hero,
html body.programming-page.pa-lesson-page-view .pa20-hero,
html body.programming-page.pa-tool-view .pa20-hero{
  display:none!important;
}
html body.programming-page.pa-paths-open .pa-shell,
html body.programming-page.pa-track-view .pa-shell,
html body.programming-page.pa-lesson-page-view .pa-shell,
html body.programming-page.pa-tool-view .pa-shell{
  padding-top:12px!important;
}


/* 2026-11-18: explicit focused-page routing and final Cairo typography.
   Keep each academy destination visually isolated; never leave the home dashboard underneath. */
html body.programming-page,
html body.programming-page :where(*){
  font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif!important;
}
html body.programming-page :is(.pa-code-editor,.pa-code-output,.pa-daily-editor,.pa-exercise-editor,.pa-code-window,.terminal,pre,code){
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;
}

/* Track directory */
html body.programming-page.pa-paths-open .pa-learning-layout,
html body.programming-page.pa-paths-open #paLessonPage,
html body.programming-page.pa-paths-open #paToolPage,
html body.programming-page.pa-paths-open .pa-footer{
  display:none!important;
}
html body.programming-page.pa-paths-open #learning-paths{
  display:block!important;visibility:visible!important;
}

/* A selected track is its own screen. */
html body.programming-page.pa-track-view .pa20-hero,
html body.programming-page.pa-track-view #learning-paths,
html body.programming-page.pa-track-view #paLessonPage,
html body.programming-page.pa-track-view #paToolPage,
html body.programming-page.pa-track-view .pa-footer{
  display:none!important;
}
html body.programming-page.pa-track-view .pa-learning-layout{
  display:grid!important;visibility:visible!important;
}

/* A lesson reader is the only main content on the lesson screen. */
html body.programming-page.pa-lesson-page-view .pa20-hero,
html body.programming-page.pa-lesson-page-view #learning-paths,
html body.programming-page.pa-lesson-page-view .pa-learning-layout,
html body.programming-page.pa-lesson-page-view #paToolPage,
html body.programming-page.pa-lesson-page-view .pa-footer{
  display:none!important;
}
html body.programming-page.pa-lesson-page-view #paLessonPage{
  display:block!important;visibility:visible!important;
}

/* The tutor and coding board each get a clean, separate focused view. */
html body.programming-page.pa-tool-view .pa20-hero,
html body.programming-page.pa-tool-view #learning-paths,
html body.programming-page.pa-tool-view .pa-learning-layout,
html body.programming-page.pa-tool-view #paLessonPage,
html body.programming-page.pa-tool-view .pa-footer{
  display:none!important;
}
html body.programming-page.pa-tool-view #paToolPage{
  display:block!important;visibility:visible!important;
}

/* Compact, unboxed identity row and a small premium academy title. */
html body.programming-page .pa-topbar{
  min-height:42px!important;padding:5px clamp(14px,4vw,42px)!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body.programming-page .pa-top-actions,
html body.programming-page .pa-user-identity{background:transparent!important;border:0!important;box-shadow:none!important}
html body.programming-page .pa-user-identity{
  gap:10px!important;font-family:"Cairo",sans-serif!important;
  font-size:13px!important;font-weight:800!important;color:#f4fff9!important;
}
html body.programming-page .pa-user-identity-name{
  color:#f4fff9!important;font-size:13px!important;font-weight:800!important;
  text-shadow:0 1px 12px rgba(75,222,180,.22)!important;
}
html body.programming-page #paGlobalBack,
html body.programming-page .pa-home-link{
  width:32px!important;height:32px!important;min-width:32px!important;
  padding:0!important;border:0!important;border-radius:50%!important;
  background:transparent!important;box-shadow:none!important;color:#d9fff1!important;
}
html body.programming-page #paGlobalBack:hover,
html body.programming-page .pa-home-link:hover{background:transparent!important}
html body.programming-page .pa20-hero{
  padding:12px clamp(14px,2vw,22px)!important;margin:3px 0 18px!important;
  border:0!important;box-shadow:none!important;background:transparent!important;
}
html body.programming-page .pa20-brandline{font-size:12px!important;gap:8px!important}
html body.programming-page .pa20-brandmark{
  width:27px!important;height:27px!important;flex-basis:27px!important;
  border-radius:9px!important;font-family:ui-monospace,monospace!important;
  font-size:13px!important;font-weight:900!important;
}
html body.programming-page .pa20-eyebrow{
  font-size:8px!important;letter-spacing:1.7px!important;margin:0!important;
}
html body.programming-page .pa20-title{
  font-family:"Cairo",sans-serif!important;
  font-size:clamp(14px,1.55vw,18px)!important;
  line-height:1.35!important;font-weight:900!important;margin:0!important;
}
html body.programming-page .pa20-title .pa20-title-ar{font-size:.88em!important}
html body.programming-page .pa20-tagline,
html body.programming-page .pa20-tagline-ar{font-size:10px!important;line-height:1.45!important}
@media(max-width:620px){
  html body.programming-page .pa20-title{font-size:15px!important}
  html body.programming-page .pa-topbar{min-height:38px!important;padding:4px 12px!important}
}


/* Final safeguard: path directory is never part of the academy home screen. */
html body.programming-page:not(.pa-paths-open) #learning-paths,
html body.programming-page:not(.pa-paths-open) #learning-paths *,
html body.programming-page:not(.pa-paths-open) .pa-path-section{
  display:none!important;
  visibility:hidden!important;
}
html body.programming-page.pa-paths-open #learning-paths{
  display:block!important;
  visibility:visible!important;
}
html body.programming-page.pa-paths-open #learning-paths *{
  visibility:visible;
}


/* 2026-11-18: learning paths as full-width horizontal rows, stacked vertically. */
html body.programming-page #learning-paths .pa-track-grid{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
}
html body.programming-page #learning-paths .pa-track-card{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 28px!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  gap:14px!important;
  width:100%!important;
  min-height:104px!important;
  padding:17px 20px!important;
  text-align:right!important;
  border-radius:18px!important;
  background:
    radial-gradient(ellipse at 8% 0%,rgba(255,218,174,.13),transparent 55%),
    linear-gradient(115deg,rgba(117,79,139,.55),rgba(44,29,62,.88))!important;
  border:1px solid rgba(225,193,233,.38)!important;
  box-shadow:0 12px 28px rgba(10,5,20,.22),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
html body.programming-page #learning-paths .pa-track-number{
  width:44px!important;height:44px!important;
  display:grid!important;place-items:center!important;
  border-radius:13px!important;
  color:#9af0c9!important;
  background:rgba(110,224,179,.12)!important;
  border:1px solid rgba(142,235,198,.48)!important;
  font-size:14px!important;font-weight:900!important;
}
html body.programming-page #learning-paths .pa-track-content{
  display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;gap:5px!important;min-width:0!important;
}
html body.programming-page #learning-paths .pa-track-content b{
  display:block!important;color:#fff!important;
  font-family:"Cairo","Segoe UI",sans-serif!important;
  font-size:17px!important;line-height:1.55!important;font-weight:900!important;
  -webkit-text-fill-color:#fff!important;
}
html body.programming-page #learning-paths .pa-track-content small{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
  font-size:13px!important;line-height:1.6!important;font-weight:800!important;
}
html body.programming-page #learning-paths .pa-track-description{
  color:#f0eaf5!important;-webkit-text-fill-color:#f0eaf5!important;
  font-size:13px!important;line-height:1.85!important;font-weight:600!important;
}
html body.programming-page #learning-paths .pa-track-meta{
  color:#aaf0d1!important;-webkit-text-fill-color:#aaf0d1!important;
  font-size:12px!important;line-height:1.6!important;font-weight:700!important;
}
html body.programming-page #learning-paths .pa-track-arrow{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
  font-size:23px!important;font-weight:900!important;
}
@media(max-width:620px){
  html body.programming-page #learning-paths .pa-track-grid{gap:10px!important}
  html body.programming-page #learning-paths .pa-track-card{
    grid-template-columns:40px minmax(0,1fr) 20px!important;
    gap:10px!important;min-height:96px!important;padding:14px!important;
  }
  html body.programming-page #learning-paths .pa-track-number{
    width:38px!important;height:38px!important;font-size:12px!important;
  }
  html body.programming-page #learning-paths .pa-track-content b{font-size:15px!important}
  html body.programming-page #learning-paths .pa-track-content small{font-size:12px!important}
  html body.programming-page #learning-paths .pa-track-description{font-size:12px!important}
  html body.programming-page #learning-paths .pa-track-meta{font-size:11px!important}
}


/* 2026-11-18: compact path chooser and high-contrast lesson headings. */
html body.programming-page:not(.pa-paths-open) #learning-paths{
  display:none!important;visibility:hidden!important;pointer-events:none!important;
}
html body.programming-page.pa-paths-open #learning-paths{
  display:block!important;visibility:visible!important;pointer-events:auto!important;
}
html body.programming-page #learning-paths .pa20-path-head{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  margin:0 0 14px!important;padding:0!important;
}
html body.programming-page #learning-paths .pa20-path-head h2{
  margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:"Cairo","Segoe UI",sans-serif!important;
  font-size:clamp(18px,2.4vw,22px)!important;font-weight:900!important;line-height:1.5!important;
}
html body.programming-page #learning-paths .pa20-path-head p,
html body.programming-page #learning-paths .pa20-path-close{
  display:none!important;
}
html body.programming-page #learning-paths .pa-track-grid{
  display:flex!important;flex-direction:column!important;gap:8px!important;
}
html body.programming-page #learning-paths .pa-track-card{
  min-height:58px!important;height:auto!important;padding:9px 14px!important;
  grid-template-columns:34px minmax(0,1fr) 20px!important;
  gap:10px!important;border-radius:13px!important;
}
html body.programming-page #learning-paths .pa-track-number{
  width:30px!important;height:30px!important;border-radius:9px!important;font-size:11px!important;
}
html body.programming-page #learning-paths .pa-track-content{gap:2px!important}
html body.programming-page #learning-paths .pa-track-content b{
  font-size:14px!important;line-height:1.4!important;
}
html body.programming-page #learning-paths .pa-track-content small{
  font-size:11px!important;line-height:1.35!important;
}
html body.programming-page #learning-paths .pa-track-description,
html body.programming-page #learning-paths .pa-track-meta{display:none!important}
html body.programming-page #learning-paths .pa-track-arrow{font-size:18px!important}
html body.programming-page :is(.pa-lesson-reader,.pa-reader-content) :is(h1,h2,h3,h4,h5,h6),
html body.programming-page .pa-lesson-page :is(h1,h2,h3,h4,h5,h6){
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:"Cairo","Segoe UI",sans-serif!important;
  font-weight:900!important;text-shadow:0 1px 10px rgba(0,0,0,.22)!important;
}
html body.programming-page :is(.pa-lesson-reader,.pa-reader-content) :is(h2,h3,h4,h5,h6){
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
}


/* 2026-11-18 final repair: homepage-only tiles, homepage-matched purple/orange glass, and lesson contrast. */
html:has(body.programming-page),html body.programming-page{
  background:#170f22!important;
}
html body.programming-page{
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    linear-gradient(145deg,#170f22 0%,#21142e 52%,#130d1d 100%)!important;
  background-attachment:fixed!important;
  min-height:100vh!important;
}
/* The lesson list is opt-in: it is never part of the landing page. */
html body.programming-page:not(.pa-track-view):not(.pa-lesson-page-view) .pa-learning-layout,
html body.programming-page:not(.pa-track-view):not(.pa-lesson-page-view) .pa-lessons-panel,
html body.programming-page:not(.pa-track-view):not(.pa-lesson-page-view) .pa-side-column{
  display:none!important;visibility:hidden!important;
}
html body.programming-page.pa-track-view .pa-learning-layout{
  display:grid!important;visibility:visible!important;
}
html body.programming-page.pa-lesson-page-view .pa-learning-layout{
  display:none!important;visibility:hidden!important;
}
/* Match the site's purple glass cards and add a soft orange/gold light point to every tile. */
html body.programming-page .pa20-hub-card,
html body.programming-page #learning-paths .pa-track-card{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  border:1px solid rgba(225,193,233,.30)!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  box-shadow:0 16px 38px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
html body.programming-page .pa20-hub-card::after,
html body.programming-page #learning-paths .pa-track-card::after{
  content:""!important;position:absolute!important;top:13px!important;right:14px!important;
  width:8px!important;height:8px!important;border-radius:50%!important;
  background:#ffc58e!important;
  box-shadow:0 0 6px 2px rgba(255,190,132,.78),0 0 17px 6px rgba(255,155,92,.32)!important;
  pointer-events:none!important;z-index:2!important;
}
html body.programming-page #learning-paths .pa-track-card{
  min-height:78px!important;padding:13px 18px!important;
  grid-template-columns:38px minmax(0,1fr) 22px!important;
}
html body.programming-page #learning-paths .pa-track-content b{font-size:15px!important}
html body.programming-page #learning-paths .pa-track-content small{font-size:12px!important}
html body.programming-page #learning-paths .pa-track-description{
  display:block!important;color:#eee5f3!important;-webkit-text-fill-color:#eee5f3!important;
  font-size:12px!important;line-height:1.55!important;
}
html body.programming-page #learning-paths .pa-track-meta{
  display:block!important;color:#aaf0d1!important;-webkit-text-fill-color:#aaf0d1!important;
  font-size:11px!important;
}
/* Override legacy light-theme and mint-green lesson styles with readable light text. */
html body.programming-page.pa-track-view .pa-lesson-row,
html body.programming-page.pa-track-view .pa-lesson-row:hover,
html body.programming-page.pa-track-view .pa-lesson-row.selected{
  color:#f8f2fb!important;
  background:linear-gradient(145deg,rgba(117,79,139,.34),rgba(36,24,51,.72))!important;
  border-color:rgba(225,193,233,.26)!important;
}
html body.programming-page .pa-lesson-copy b,
html body.programming-page .pa-lesson-row .pa-lesson-copy b{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:14px!important;font-weight:900!important;
}
html body.programming-page .pa-lesson-copy small,
html body.programming-page .pa-lesson-row .pa-lesson-copy small{
  color:#e6dced!important;-webkit-text-fill-color:#e6dced!important;
}
html body.programming-page .pa-lesson-duration{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
}
html body.programming-page .pa-lesson-index{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
}
html body.programming-page .pa-lesson-reader h2,
html body.programming-page .pa-reader-content :is(h1,h2,h3,h4,h5,h6),
html body.programming-page .pa-activities-heading h3,
html body.programming-page .pa-activities-heading h2{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
  font-weight:900!important;
}
html body.programming-page .pa-reader-content,
html body.programming-page .pa-reader-content p,
html body.programming-page .pa-reader-content li,
html body.programming-page .pa-reader-content strong,
html body.programming-page .pa-reader-content .pa-bullet{
  color:#f3edf7!important;-webkit-text-fill-color:#f3edf7!important;
}
@media(max-width:620px){
  html body.programming-page #learning-paths .pa-track-card{min-height:74px!important;padding:12px 14px!important}
}

 
/* 2026-11-18: title-adjacent glow markers and a premium code-editor hero. */
html body.programming-page .pa20-hub-card::after{
  content:none!important;
  display:none!important;
}
html body.programming-page .pa20-hub-card strong{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
}
html body.programming-page .pa20-hub-card strong::before{
  content:""!important;
  display:inline-block!important;
  width:8px!important;height:8px!important;min-width:8px!important;
  border-radius:50%!important;
  background:#ffc58e!important;
  box-shadow:0 0 6px 2px rgba(255,190,132,.78),0 0 17px 6px rgba(255,155,92,.32)!important;
  flex:0 0 8px!important;
}
html body.programming-page .pa20-hub-card small{
  display:block!important;
  margin-top:4px!important;
  color:#eaddec!important;
  -webkit-text-fill-color:#eaddec!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.55!important;
}
html body.programming-page .pa-code-hero-visual{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:250px!important;
  padding:18px 10px!important;
  overflow:visible!important;
  isolation:isolate!important;
}
html body.programming-page .pa-code-hero-window{
  position:relative!important;
  z-index:1!important;
  width:min(100%,440px)!important;
  overflow:hidden!important;
  border:1px solid rgba(230,205,242,.34)!important;
  border-radius:19px!important;
  background:linear-gradient(145deg,rgba(34,25,47,.96),rgba(19,15,29,.96))!important;
  box-shadow:0 24px 58px rgba(7,3,14,.42),0 0 34px rgba(166,112,205,.17),inset 0 1px 0 rgba(255,255,255,.12)!important;
  transform:perspective(900px) rotateY(-5deg) rotateX(2deg)!important;
  backdrop-filter:blur(18px)!important;
}
html body.programming-page .pa-code-hero-windowbar{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-height:43px!important;
  padding:0 14px!important;
  border-bottom:1px solid rgba(231,211,244,.12)!important;
  background:rgba(255,255,255,.035)!important;
  color:#d9c9e5!important;
  font:11px/1 ui-monospace,Consolas,monospace!important;
}
html body.programming-page .pa-code-hero-dots{
  display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;
}
html body.programming-page .pa-code-hero-dots i{
  display:block!important;width:9px!important;height:9px!important;border-radius:50%!important;
  background:#ff6b68!important;box-shadow:0 0 9px rgba(255,107,104,.35)!important;
}
html body.programming-page .pa-code-hero-dots i:nth-child(2){background:#ffc45f!important;box-shadow:0 0 9px rgba(255,196,95,.35)!important}
html body.programming-page .pa-code-hero-dots i:nth-child(3){background:#55d69a!important;box-shadow:0 0 9px rgba(85,214,154,.35)!important}
html body.programming-page .pa-code-hero-filename{flex:1!important;text-align:center!important;color:#c9b8d7!important}
html body.programming-page .pa-code-hero-live{
  padding:5px 7px!important;border:1px solid rgba(91,220,159,.28)!important;border-radius:6px!important;
  color:#83e6b5!important;font-size:9px!important;font-weight:900!important;letter-spacing:1px!important;
}
html body.programming-page .pa-code-hero-editor{
  display:grid!important;gap:10px!important;padding:20px 18px 16px!important;
  color:#e9e0f0!important;text-align:left!important;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace!important;
}
html body.programming-page .pa-code-hero-editor>div{
  display:flex!important;align-items:baseline!important;gap:17px!important;white-space:pre!important;
}
html body.programming-page .pa-code-hero-editor>div>i{
  width:17px!important;flex:0 0 17px!important;color:#887a99!important;
  font-style:normal!important;text-align:right!important;font-size:10px!important;
}
html body.programming-page .pa-code-hero-editor code{
  color:#e8e0ee!important;background:transparent!important;font:inherit!important;
}
html body.programming-page .pa-code-hero-editor code b{color:#d6a6ff!important;font-weight:800!important}
html body.programming-page .pa-code-hero-editor code em{color:#f4c982!important;font-style:normal!important}
html body.programming-page .pa-code-hero-editor code strong{color:#78dcb4!important;font-weight:800!important}
html body.programming-page .pa-code-hero-cursor::after{
  content:""!important;display:inline-block!important;width:6px!important;height:13px!important;
  margin-inline-start:5px!important;vertical-align:-2px!important;background:#e8c18a!important;
  animation:paHeroCursorBlink 1.05s steps(2,start) infinite!important;
}
@keyframes paHeroCursorBlink{to{visibility:hidden}}
html body.programming-page .pa-code-hero-footer{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  padding:10px 15px!important;border-top:1px solid rgba(231,211,244,.1)!important;
  color:#bdaecb!important;font:9px/1.4 ui-monospace,Consolas,monospace!important;letter-spacing:.5px!important;
}
html body.programming-page .pa-code-hero-footer span:first-child{color:#8ce4b8!important}
html body.programming-page .pa-code-hero-stack{
  position:absolute!important;z-index:3!important;left:0!important;top:50%!important;
  display:grid!important;gap:9px!important;transform:translateY(-50%)!important;
}
html body.programming-page .pa-code-chip{
  display:flex!important;align-items:center!important;gap:8px!important;min-width:78px!important;
  padding:9px 11px!important;border:1px solid rgba(229,207,241,.28)!important;border-radius:12px!important;
  background:rgba(39,28,53,.88)!important;box-shadow:0 10px 24px rgba(8,4,16,.25)!important;
  backdrop-filter:blur(14px)!important;color:#f4eafa!important;
}
html body.programming-page .pa-code-chip b{
  display:grid!important;place-items:center!important;width:24px!important;height:24px!important;
  border-radius:7px!important;background:rgba(255,255,255,.08)!important;font:900 11px/1 ui-monospace,monospace!important;
}
html body.programming-page .pa-code-chip small{font:800 9px/1 ui-monospace,monospace!important;color:#e9ddec!important}
html body.programming-page .pa-code-chip-html b{color:#ffad8b!important}
html body.programming-page .pa-code-chip-css b{color:#9bc8ff!important}
html body.programming-page .pa-code-chip-js b{color:#f7d17d!important}
html body.programming-page .pa-code-hero-spark{
  position:absolute!important;z-index:2!important;color:#f2c88e!important;
  text-shadow:0 0 14px rgba(255,195,128,.65)!important;
}
html body.programming-page .pa-code-hero-spark-one{right:7%!important;top:7%!important;font-size:24px!important}
html body.programming-page .pa-code-hero-spark-two{right:14%!important;bottom:7%!important;font-size:17px!important}
@media(max-width:700px){
  html body.programming-page .pa-code-hero-visual{min-height:205px!important;padding:12px 8px 18px!important}
  html body.programming-page .pa-code-hero-window{width:min(92%,390px)!important;transform:perspective(900px) rotateY(-2deg)!important}
  html body.programming-page .pa-code-hero-editor{gap:7px!important;padding:15px 12px!important;font-size:10px!important}
  html body.programming-page .pa-code-hero-editor>div{gap:10px!important}
  html body.programming-page .pa-code-hero-stack{left:-2px!important;gap:6px!important}
  html body.programming-page .pa-code-chip{min-width:62px!important;padding:6px 7px!important;gap:5px!important}
  html body.programming-page .pa-code-chip b{width:20px!important;height:20px!important}
  html body.programming-page .pa-code-chip small{font-size:8px!important}
}
@media(max-width:430px){
  html body.programming-page .pa-code-hero-stack{left:-5px!important}
  html body.programming-page .pa-code-chip{min-width:54px!important;padding:5px!important}
  html body.programming-page .pa-code-chip small{font-size:7px!important}
  html body.programming-page .pa-code-hero-windowbar{min-height:38px!important;padding:0 10px!important}
  html body.programming-page .pa-code-hero-filename{font-size:9px!important}
}


/* 2026-11-18: restore the academy purple-glass surface for student progress and lesson index badges. */
html body.programming-page.pa-track-view .pa-student-progress,
html body.programming-page .pa-student-progress{
  color:#f4eaf8!important;
  border:1px solid rgba(225,193,233,.30)!important;
  border-radius:22px!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  box-shadow:0 16px 38px rgba(12,5,23,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
html body.programming-page .pa-student-progress .pa-section-heading h2{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
}
html body.programming-page .pa-student-progress .pa-section-heading p{
  color:#eee5f3!important;-webkit-text-fill-color:#eee5f3!important;
}
html body.programming-page .pa-student-progress .pa-progress-card,
html body.programming-page .pa-student-progress .pa-progress-cards>div{
  color:#f4eaf8!important;
  border:1px solid rgba(225,193,233,.24)!important;
  border-radius:15px!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.07),transparent 58%),
    linear-gradient(145deg,rgba(117,79,139,.34),rgba(36,24,51,.76))!important;
  box-shadow:0 10px 26px rgba(12,5,23,.20),inset 0 1px 0 rgba(255,255,255,.09)!important;
  -webkit-backdrop-filter:blur(14px) saturate(130%)!important;
  backdrop-filter:blur(14px) saturate(130%)!important;
}
html body.programming-page .pa-student-progress .pa-progress-card>b{color:#ffe0ad!important}
html body.programming-page .pa-student-progress .pa-progress-card>span{color:#f1e8f5!important}
html body.programming-page .pa-student-progress .pa-progress-card>small{color:#d8c9e2!important}

/* Lesson number/check/lock tile: use the same purple glass palette as the Classes Department cards. */
html body.programming-page .pa-lesson-index,
html body.programming-page .pa-lesson-row .pa-lesson-index,
html body.programming-page .pa-lesson-row.pa-locked .pa-lesson-index,
html body.programming-page .pa-lesson-row.completed .pa-lesson-index{
  color:#ffe0ad!important;-webkit-text-fill-color:#ffe0ad!important;
  border:1px solid rgba(225,193,233,.30)!important;
  border-radius:10px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,208,157,.10),transparent 60%),
    linear-gradient(145deg,rgba(117,79,139,.48),rgba(44,29,62,.82))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 5px 14px rgba(10,5,20,.16)!important;
}


/* 2026-11-18: compact academy identity with the code editor beside the brand. */
html body.programming-page .pa20-hero-compact{
  display:block!important;
  width:100%!important;
  padding:12px 0 0!important;
  margin:0 auto!important;
}
html body.programming-page .pa20-hero-header{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(16px,4vw,42px)!important;
  width:100%!important;
  min-width:0!important;
  margin:0 auto 20px!important;
}
html body.programming-page .pa20-brand-copy{
  display:flex!important;
  flex:0 1 34%!important;
  min-width:180px!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
}
html body.programming-page .pa20-brandline{
  display:flex!important;align-items:center!important;gap:10px!important;
  margin:0!important;color:#fff4e8!important;
  font-family:"Cairo","Segoe UI",sans-serif!important;
  font-size:clamp(21px,3vw,31px)!important;font-weight:900!important;
  letter-spacing:0!important;white-space:nowrap!important;
}
html body.programming-page .pa20-mini-editor{
  position:relative!important;display:flex!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:3px!important;overflow:hidden!important;
  width:31px!important;height:31px!important;flex:0 0 31px!important;
  padding:5px 4px!important;border:1px solid rgba(225,193,233,.38)!important;
  border-radius:8px!important;background:linear-gradient(145deg,#342342,#1b1427)!important;
  box-shadow:0 4px 13px rgba(8,4,16,.25),inset 0 1px 0 rgba(255,255,255,.13)!important;
}
html body.programming-page .pa20-mini-editor i{
  display:block!important;width:4px!important;height:4px!important;flex:0 0 4px!important;
  border-radius:50%!important;background:#ff7770!important;
}
html body.programming-page .pa20-mini-editor i:nth-child(2){background:#ffc45f!important}
html body.programming-page .pa20-mini-editor i:nth-child(3){background:#55d69a!important}
html body.programming-page .pa20-mini-editor b{
  position:absolute!important;left:5px!important;right:5px!important;height:2px!important;
  border-radius:2px!important;background:rgba(224,205,241,.7)!important;
}
html body.programming-page .pa20-mini-editor b:nth-of-type(1){top:17px!important}
html body.programming-page .pa20-mini-editor b:nth-of-type(2){top:22px!important;width:55%!important;right:auto!important}
html body.programming-page .pa20-tagline{
  display:block!important;margin:0!important;padding-inline-start:41px!important;
  color:#e9d9ed!important;font:700 12px/1.5 "Cairo","Segoe UI",sans-serif!important;
  letter-spacing:.35px!important;
}
html body.programming-page .pa-code-hero-inline{
  display:flex!important;flex:1 1 66%!important;
  width:auto!important;min-width:0!important;min-height:0!important;
  padding:0!important;margin:0!important;justify-content:flex-end!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-window{
  width:min(100%,560px)!important;max-width:560px!important;
  transform:none!important;border-radius:15px!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-windowbar{
  min-height:31px!important;padding:0 11px!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-editor{
  gap:4px!important;padding:9px 13px!important;font-size:10px!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-editor>div{gap:12px!important}
html body.programming-page .pa-code-hero-inline .pa-code-hero-footer{
  min-height:25px!important;padding:4px 11px!important;font-size:8px!important;
}
html body.programming-page .pa20-hero-compact .pa20-hub{margin-top:12px!important}
@media(max-width:700px){
  html body.programming-page .pa20-hero-header{gap:12px!important;margin-bottom:14px!important}
  html body.programming-page .pa20-brand-copy{flex:0 0 auto!important;min-width:0!important}
  html body.programming-page .pa20-brandline{font-size:clamp(15px,4vw,20px)!important;gap:7px!important}
  html body.programming-page .pa20-mini-editor{width:27px!important;height:27px!important;flex-basis:27px!important}
  html body.programming-page .pa20-tagline{padding-inline-start:34px!important;font-size:9px!important;white-space:nowrap!important}
  html body.programming-page .pa-code-hero-inline{flex:1 1 auto!important;min-width:0!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-window{width:100%!important;border-radius:10px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-windowbar{min-height:25px!important;gap:5px!important;padding:0 6px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-dots{gap:3px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-dots i{width:6px!important;height:6px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-filename{font-size:7px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-live{font-size:6px!important;padding:3px 4px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-editor{gap:3px!important;padding:7px 6px!important;font-size:7px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-editor>div{gap:5px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-editor>div>i{font-size:7px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-footer{font-size:6px!important;min-height:20px!important;padding:3px 6px!important}
}
@media(max-width:390px){
  html body.programming-page .pa20-hero-header{gap:8px!important}
  html body.programming-page .pa20-brandline{font-size:14px!important}
  html body.programming-page .pa20-mini-editor{width:24px!important;height:24px!important;flex-basis:24px!important}
  html body.programming-page .pa20-tagline{padding-inline-start:31px!important;font-size:8px!important}
  html body.programming-page .pa-code-hero-inline .pa-code-hero-editor{font-size:6px!important}
}


/* 2026-11-18: compact path cards — English title and Arabic summary only. */
html body.programming-page #learning-paths .pa-track-grid{
  gap:9px!important;
}
html body.programming-page #learning-paths .pa-track-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  min-height:0!important;
  padding:12px 15px 13px!important;
  border-radius:15px!important;
  text-align:right!important;
  overflow:hidden!important;
}
html body.programming-page #learning-paths .pa-track-number{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:flex-start!important;
  order:0!important;
  width:27px!important;height:24px!important;
  margin:0 0 2px!important;
  border-radius:8px!important;
  font-size:11px!important;line-height:1!important;
}
html body.programming-page #learning-paths .pa-track-number::after{
  content:""!important;
  position:absolute!important;
  width:5px!important;height:5px!important;
  border-radius:50%!important;
  top:50%!important;
  right:-8px!important;
  transform:translateY(-50%)!important;
  background:#8ce8b9!important;
  box-shadow:0 0 7px rgba(140,232,185,.65)!important;
}
html body.programming-page #learning-paths .pa-track-content{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  width:100%!important;min-width:0!important;
}
html body.programming-page #learning-paths .pa-track-content b{
  display:block!important;
  margin:0!important;
  color:#fff4e8!important;-webkit-text-fill-color:#fff4e8!important;
  font-family:"Cairo","Segoe UI",sans-serif!important;
  font-size:15px!important;line-height:1.45!important;font-weight:900!important;
}
html body.programming-page #learning-paths .pa-track-description{
  display:block!important;
  margin:0!important;
  color:#eee3f2!important;-webkit-text-fill-color:#eee3f2!important;
  font-family:"Cairo","Segoe UI",sans-serif!important;
  font-size:11px!important;line-height:1.65!important;font-weight:600!important;
}
html body.programming-page #learning-paths .pa-track-content small,
html body.programming-page #learning-paths .pa-track-meta,
html body.programming-page #learning-paths .pa-track-arrow{
  display:none!important;
}
@media(max-width:620px){
  html body.programming-page #learning-paths .pa-track-grid{gap:8px!important}
  html body.programming-page #learning-paths .pa-track-card{
    min-height:0!important;padding:10px 12px 11px!important;gap:4px!important;
  }
  html body.programming-page #learning-paths .pa-track-number{
    width:25px!important;height:22px!important;font-size:10px!important;
  }
  html body.programming-page #learning-paths .pa-track-content b{font-size:14px!important}
  html body.programming-page #learning-paths .pa-track-description{font-size:10px!important;line-height:1.6!important}
}


/* 2026-11-18: lift the academy brand/editor row and separate it from the four hub cards. */
html body.programming-page .pa20-hero-compact{
  padding-top:0!important;
  margin-top:-10px!important;
}
html body.programming-page .pa20-hero-header{
  direction:ltr!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:clamp(22px,5vw,64px)!important;
  margin:0 auto 38px!important;
  transform:translateY(-8px)!important;
}
html body.programming-page .pa20-brand-copy{
  direction:ltr!important;
  text-align:left!important;
  align-items:flex-start!important;
  flex:0 1 38%!important;
}
html body.programming-page .pa20-brandline{
  direction:ltr!important;
  justify-content:flex-start!important;
}
html body.programming-page .pa20-tagline{
  direction:ltr!important;
  padding-inline-start:41px!important;
  text-align:left!important;
}
html body.programming-page .pa-code-hero-inline{
  direction:ltr!important;
  flex:1 1 62%!important;
  justify-content:flex-end!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-window{
  margin-left:auto!important;
}
html body.programming-page .pa20-hero-compact .pa20-hub{
  margin-top:30px!important;
}
@media(max-width:700px){
  html body.programming-page .pa20-hero-compact{margin-top:-5px!important}
  html body.programming-page .pa20-hero-header{
    direction:ltr!important;
    gap:10px!important;
    margin-bottom:24px!important;
    transform:translateY(-5px)!important;
  }
  html body.programming-page .pa20-brand-copy{
    direction:ltr!important;
    flex:0 0 auto!important;
    align-items:flex-start!important;
  }
  html body.programming-page .pa20-brandline{direction:ltr!important}
  html body.programming-page .pa20-tagline{
    direction:ltr!important;
    padding-inline-start:34px!important;
    text-align:left!important;
  }
  html body.programming-page .pa-code-hero-inline{
    direction:ltr!important;
    flex:1 1 auto!important;
    justify-content:flex-end!important;
  }
  html body.programming-page .pa20-hero-compact .pa20-hub{
    margin-top:22px!important;
  }
}


/* 2026-11-18: editor width matches one academy hub card; retain its current height. */
html body.programming-page .pa20-hero-header{
  gap:12px!important;
}
html body.programming-page .pa20-brand-copy{
  flex:1 1 0!important;
  min-width:0!important;
}
html body.programming-page .pa-code-hero-inline{
  flex:0 0 calc((100% - 12px)/2)!important;
  width:calc((100% - 12px)/2)!important;
  min-width:0!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-window{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-filename{
  display:none!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-dots{
  gap:10px!important;
  margin-right:3px!important;
}
html body.programming-page .pa-code-hero-inline .pa-code-hero-dots i{
  width:8px!important;height:8px!important;
}
@media(max-width:700px){
  html body.programming-page .pa20-hero-header{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:16px!important;
  }
  html body.programming-page .pa20-brand-copy{
    flex:0 0 auto!important;
  }
  html body.programming-page .pa-code-hero-inline{
    flex:0 0 auto!important;
    width:100%!important;
  }
  html body.programming-page .pa-code-hero-inline .pa-code-hero-dots{
    gap:10px!important;
  }
  html body.programming-page .pa-code-hero-inline .pa-code-hero-dots i{
    width:7px!important;height:7px!important;
  }
}


/* 2026-11-18: two tiny glowing circular markers beside each hub title. */
html body.programming-page .pa20-hub-card strong{
  gap:8px!important;
}
html body.programming-page .pa20-hub-card strong::before{
  content:""!important;
  display:inline-block!important;
  width:12px!important;
  min-width:12px!important;
  height:6px!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 3px 3px,#ff7777 0 2px,transparent 2.5px),
    radial-gradient(circle at 9px 3px,#65dfb0 0 2px,transparent 2.5px)!important;
  box-shadow:none!important;
  filter:drop-shadow(0 0 2px rgba(255,119,119,.95)) drop-shadow(0 0 3px rgba(101,223,176,.8))!important;
  flex:0 0 12px!important;
}


/* 2026-11-18: immersive, edge-to-edge interactive coding board. */
html body.programming-page.pa-board-tool-view{
  overflow:hidden!important;
  background:#170f22!important;
}
html body.programming-page.pa-board-tool-view .pa-topbar,
html body.programming-page.pa-board-tool-view .pa-tool-page-head{
  display:none!important;
}
html body.programming-page.pa-board-tool-view #paToolPage{
  position:fixed!important;
  z-index:9999!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:clamp(16px,3vw,34px) clamp(14px,4vw,48px)!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    rgba(23,15,34,.84)!important;
  -webkit-backdrop-filter:blur(24px) saturate(125%)!important;
  backdrop-filter:blur(24px) saturate(125%)!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html body.programming-page.pa-board-tool-view #paToolPage::-webkit-scrollbar,
html body.programming-page.pa-board-tool-view #paToolPageBody::-webkit-scrollbar,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost::-webkit-scrollbar,
html body.programming-page.pa-board-tool-view .pa-code-lab::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
html body.programming-page.pa-board-tool-view #paToolPageBody{
  width:100%!important;
  max-width:none!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
}
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost{
  width:100%!important;
  max-width:none!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  scrollbar-width:none!important;
}
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost>.pa-code-lab{
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-height:calc(100dvh - 68px)!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  scrollbar-width:none!important;
}
html body.programming-page.pa-board-tool-view .pa-lab-heading{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0 0 18px!important;
  padding:0 0 14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.programming-page.pa-board-tool-view .pa-lab-heading h3{
  margin:0 0 4px!important;
  font-size:clamp(22px,3vw,30px)!important;
  color:#f4d9ae!important;
}
html body.programming-page.pa-board-tool-view .pa-lab-heading p{
  margin:0!important;
  color:#e4d7eb!important;
}
html body.programming-page.pa-board-tool-view .pa-lab-toolbar,
html body.programming-page.pa-board-tool-view .pa-editor-tools,
html body.programming-page.pa-board-tool-view .pa-editor-wrap,
html body.programming-page.pa-board-tool-view .pa-lab-output-head,
html body.programming-page.pa-board-tool-view .pa-code-output,
html body.programming-page.pa-board-tool-view .pa-code-preview,
html body.programming-page.pa-board-tool-view .pa-code-input{
  border-radius:12px!important;
}
html body.programming-page.pa-board-tool-view .pa-editor-wrap{
  border:1px solid rgba(225,193,233,.24)!important;
  background:rgba(20,13,30,.72)!important;
  box-shadow:0 12px 32px rgba(5,2,12,.22),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
html body.programming-page.pa-board-tool-view .pa-code-lines,
html body.programming-page.pa-board-tool-view .pa-code-editor{
  background:transparent!important;
}
html body.programming-page.pa-board-tool-view .pa-code-output,
html body.programming-page.pa-board-tool-view .pa-code-preview,
html body.programming-page.pa-board-tool-view .pa-code-input{
  border:1px solid rgba(225,193,233,.22)!important;
}
@media(max-width:700px){
  html body.programming-page.pa-board-tool-view #paToolPage{
    padding:14px 12px 22px!important;
  }
  html body.programming-page.pa-board-tool-view #paStandaloneBoardHost>.pa-code-lab{
    min-height:calc(100dvh - 36px)!important;
  }
  html body.programming-page.pa-board-tool-view .pa-lab-heading{
    align-items:flex-start!important;
    margin-bottom:12px!important;
  }
}


/* 2026-11-18: give DOMA One the same immersive, edge-to-edge glass workspace as the coding board. */
html body.programming-page.pa-tutor-tool-view{
  overflow:hidden!important;
  background:#170f22!important;
}
html body.programming-page.pa-tutor-tool-view .pa-topbar,
html body.programming-page.pa-tutor-tool-view .pa-tool-page-head{
  display:none!important;
}
html body.programming-page.pa-tutor-tool-view #paToolPage{
  position:fixed!important;
  z-index:9999!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:clamp(16px,3vw,34px) clamp(14px,4vw,48px)!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    rgba(23,15,34,.84)!important;
  -webkit-backdrop-filter:blur(24px) saturate(125%)!important;
  backdrop-filter:blur(24px) saturate(125%)!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html body.programming-page.pa-tutor-tool-view #paToolPage::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view #paToolPageBody::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
html body.programming-page.pa-tutor-tool-view #paToolPageBody,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost{
  width:100%!important;
  max-width:none!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  scrollbar-width:none!important;
}
/* Remove only the outer tutor shell; keep the answer, prompt, and action controls as distinct surfaces. */
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost>.pa-free-tutor{
  width:100%!important;
  max-width:none!important;
  min-height:calc(100dvh - 68px)!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-head{
  margin:0 0 18px!important;
  padding:0 0 14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-head h3{
  margin:0 0 4px!important;
  color:#f4d9ae!important;
  font-size:clamp(22px,3vw,30px)!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-head p{
  margin:0!important;
  color:#e4d7eb!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-answer{
  border:1px solid rgba(225,193,233,.22)!important;
  border-radius:12px!important;
  background:rgba(20,13,30,.56)!important;
  box-shadow:0 12px 32px rgba(5,2,12,.16)!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-question input{
  border:1px solid rgba(225,193,233,.24)!important;
  border-radius:12px!important;
  background:rgba(20,13,30,.52)!important;
}
@media(max-width:700px){
  html body.programming-page.pa-tutor-tool-view #paToolPage{
    padding:14px 12px 22px!important;
  }
  html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost>.pa-free-tutor{
    min-height:calc(100dvh - 36px)!important;
  }
  html body.programming-page.pa-tutor-tool-view .pa-free-tutor-head{
    align-items:flex-start!important;
    margin-bottom:12px!important;
  }
}


/* 2026-11-18: remove the stray, non-functional page scrollbar in immersive board mode. */
html body.programming-page.pa-board-tool-view,
html body.programming-page.pa-board-tool-view #paToolPage,
html body.programming-page.pa-board-tool-view #paToolPageBody,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost>.pa-code-lab{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html body.programming-page.pa-board-tool-view::-webkit-scrollbar,
html body.programming-page.pa-board-tool-view *::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
}
html body.programming-page.pa-board-tool-view #paToolPage{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:none!important;
}
html body.programming-page.pa-board-tool-view .pa-lab-heading{
  width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
html body.programming-page.pa-board-tool-view .pa-lab-live{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  margin-inline-start:auto!important;
  margin-inline-end:4px!important;
  padding:7px 12px!important;
  border:1px solid rgba(255,205,139,.48)!important;
  border-radius:999px!important;
  background:rgba(255,190,120,.12)!important;
  color:#ffe0b6!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.4!important;
  white-space:nowrap!important;
  text-shadow:0 0 10px rgba(255,190,120,.38)!important;
  box-shadow:0 0 16px rgba(255,190,120,.10),inset 0 1px 0 rgba(255,255,255,.08)!important;
}


/* 2026-11-18: compact arrow-only return control for the board and DOMA One workspaces. */
html body.programming-page.pa-board-tool-view .pa-tool-page-head,
html body.programming-page.pa-tutor-tool-view .pa-tool-page-head{
  display:block!important;
  position:fixed!important;
  z-index:10002!important;
  top:12px!important;
  right:18px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
html body.programming-page.pa-board-tool-view .pa-tool-page-head>div,
html body.programming-page.pa-tutor-tool-view .pa-tool-page-head>div{
  display:none!important;
}
html body.programming-page.pa-board-tool-view #paCloseToolPage,
html body.programming-page.pa-tutor-tool-view #paCloseToolPage{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,218,174,.42)!important;
  border-radius:12px!important;
  background:rgba(70,48,88,.48)!important;
  color:#ffe2b8!important;
  font-size:25px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:0 8px 22px rgba(5,2,12,.22),inset 0 1px 0 rgba(255,255,255,.12)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  pointer-events:auto!important;
}
html body.programming-page.pa-board-tool-view #paCloseToolPage:hover,
html body.programming-page.pa-tutor-tool-view #paCloseToolPage:hover{
  background:rgba(117,79,139,.68)!important;
  border-color:rgba(255,218,174,.72)!important;
}

/* Handbook: keep one clean arrow tile, remove the large header strip and hide scrollbar rails. */
html body:has(.handbook){
  overflow-y:auto!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html body:has(.handbook)::-webkit-scrollbar,
html body:has(.handbook) *::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
}
html body:has(.handbook) .handbook-topbar{
  min-height:54px!important;
  height:54px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:6px max(4vw,18px)!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body:has(.handbook) .handbook-back{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,218,174,.38)!important;
  border-radius:12px!important;
  background:rgba(117,79,139,.28)!important;
  color:#ffe2b8!important;
  font-size:25px!important;
  line-height:1!important;
  box-shadow:0 8px 22px rgba(12,5,23,.18),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body:has(.handbook) .handbook{
  max-width:1100px!important;
  margin:0 auto!important;
  padding:10px 18px 28px!important;
  background:transparent!important;
}
html body:has(.handbook) :is(.panel,.guide-card,.key,.terminal){
  border:1px solid var(--pa-main-card-border)!important;
  border-radius:20px!important;
  background:var(--pa-main-card-bg)!important;
  box-shadow:var(--pa-main-card-shadow)!important;
  color:var(--pa-main-text)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
html body:has(.handbook) .panel{
  margin:14px 0!important;
  padding:20px!important;
}
html body:has(.handbook) .guide-card{
  margin:0!important;
  padding:15px!important;
}
html body:has(.handbook) .key{
  background:var(--pa-main-card-bg)!important;
}
@media(max-width:560px){
  html body:has(.handbook) .handbook-topbar{padding-inline:12px!important}
  html body:has(.handbook) .handbook{padding:8px 12px 22px!important}
  html body:has(.handbook) .panel{padding:15px!important}
}


/* 2026-11-18: final DOMA One parity pass — match the coding board, remove the title block,
   make the answer area continuous with the workspace, and suppress every stray scrollbar. */
html body.programming-page.pa-tutor-tool-view,
html body.programming-page.pa-tutor-tool-view #paToolPage,
html body.programming-page.pa-tutor-tool-view #paToolPageBody,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost *{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html body.programming-page.pa-tutor-tool-view::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view *::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
}
html body.programming-page.pa-tutor-tool-view #paToolPage{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:none!important;
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    rgba(23,15,34,.84)!important;
}
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost>.pa-free-tutor,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost>.pa-free-tutor.pa-global-tutor{
  width:100%!important;
  max-width:none!important;
  min-height:calc(100dvh - 68px)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
/* The standalone assistant has no separate heading panel; the arrow is its only top control. */
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-head{
  display:none!important;
}
/* Keep the conversation answer on the exact same continuous glass/background surface. */
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-answer,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-answer{
  margin-top:14px!important;
  padding:14px 16px!important;
  border:1px solid rgba(225,193,233,.18)!important;
  border-radius:12px!important;
  background:rgba(23,15,34,.16)!important;
  color:#f0e5f4!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
/* Bring the assistant controls back to the same champagne-gold and purple palette as the board. */
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-actions button,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-actions button{
  border:1px solid rgba(255,218,174,.34)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.055)!important;
  color:#f4d9ae!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-actions button:hover,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-actions button:hover{
  background:rgba(255,218,174,.14)!important;
  border-color:rgba(255,218,174,.58)!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-question input,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-question input{
  border:1px solid rgba(225,193,233,.24)!important;
  border-radius:12px!important;
  background:rgba(20,13,30,.52)!important;
  color:#f4e8f7!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-send,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-send{
  border:1px solid rgba(255,218,174,.55)!important;
  border-radius:12px!important;
  background:linear-gradient(120deg,#ffe5bd,#e8b974)!important;
  color:#2b1b35!important;
  box-shadow:0 10px 24px rgba(12,5,23,.2)!important;
}
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-status,
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-note,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-status,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-note{
  color:#d8c9e1!important;
}
@media(max-width:700px){
  html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost>.pa-free-tutor{
    min-height:calc(100dvh - 36px)!important;
  }
}


/* 2026-11-18: final interactive board navigation, scrollbar and path-card contrast pass. */
/* The academy back arrow takes the former training-badge position. */
html body.programming-page.pa-board-tool-view .pa-lab-heading{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
}
html body.programming-page.pa-board-tool-view .pa-board-back-arrow{
  display:inline-flex!important;
  flex:0 0 42px!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,218,174,.48)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.065)!important;
  color:#ffe2b7!important;
  font-family:inherit!important;
  font-size:25px!important;
  font-weight:800!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 8px 22px rgba(10,5,18,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html body.programming-page.pa-board-tool-view .pa-board-back-arrow:hover{
  background:rgba(255,218,174,.16)!important;
  border-color:rgba(255,218,174,.78)!important;
  transform:translateY(-1px);
}
/* Hide the browser's left/right edge rails while keeping the workspace itself scrollable. */
html:has(body.programming-page.pa-board-tool-view),
html:has(body.programming-page.pa-board-tool-view) body,
html body.programming-page.pa-board-tool-view,
html body.programming-page.pa-board-tool-view #paToolPage,
html body.programming-page.pa-board-tool-view #paToolPageBody,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost *{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html:has(body.programming-page.pa-board-tool-view)::-webkit-scrollbar,
html:has(body.programming-page.pa-board-tool-view) body::-webkit-scrollbar,
html body.programming-page.pa-board-tool-view::-webkit-scrollbar,
html body.programming-page.pa-board-tool-view *::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
}
/* Remove the glowing dot beside every path number. */
html body.programming-page #learning-paths .pa-track-number::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  box-shadow:none!important;
}
/* Separate the English path title from its Arabic explanation for clearer scanning. */
html body.programming-page #learning-paths .pa-track-content b{
  color:#f2c98f!important;
  -webkit-text-fill-color:#f2c98f!important;
}
html body.programming-page #learning-paths .pa-track-description{
  color:#e6d9ef!important;
  -webkit-text-fill-color:#e6d9ef!important;
}


/* 2026-11-18: programmer handbook cleanup — remove the title hero, unify every
   learning card surface, and hide the browser-edge scrollbar rail. */
html:has(body .handbook),
html:has(body .handbook) body,
html:has(body .handbook) body *{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
html:has(body .handbook)::-webkit-scrollbar,
html:has(body .handbook) body::-webkit-scrollbar,
html:has(body .handbook) body *::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
}
html:has(body .handbook),
html:has(body .handbook) body{
  background-color:#170f22!important;
}
html:has(body .handbook) body{
  background-image:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    linear-gradient(145deg,#170f22 0%,#21142e 52%,#130d1d 100%)!important;
  background-attachment:fixed!important;
  overflow-x:hidden!important;
}
html:has(body .handbook) .handbook > .hero,
html:has(body .handbook) .handbook > .handbook-hero,
html:has(body .handbook) .handbook > .page-hero,
html:has(body .handbook) .handbook .handbook-title-card{
  display:none!important;
}
html:has(body .handbook) .handbook :is(.panel,.guide-card,.key,.terminal,#doma-handbook-advanced .roadmap>div,#doma-handbook-advanced .answer){
  border:1px solid rgba(225,193,233,.30)!important;
  border-radius:18px!important;
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  box-shadow:0 18px 42px rgba(13,5,24,.24),inset 0 1px 0 rgba(255,255,255,.08)!important;
  color:#fff4e8!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}
html:has(body .handbook) .handbook .panel,
html:has(body .handbook) .handbook .guide-card,
html:has(body .handbook) .handbook .key{
  background:
    radial-gradient(ellipse at 10% 0%,rgba(255,208,157,.10),transparent 54%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
}
html:has(body .handbook) .handbook .terminal{
  color:#e8d7f0!important;
}


/* 2026-11-18: move all academy return arrows to the LEFT edge in RTL workspaces. */
html body.programming-page.pa-board-tool-view .pa-lab-heading{
  position:relative!important;
  justify-content:flex-start!important;
  padding-left:58px!important;
  padding-right:0!important;
}
html body.programming-page.pa-board-tool-view .pa-board-back-arrow{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  top:0!important;
  z-index:20!important;
}
/* The old training badge is removed completely; the arrow is the sole control there. */
html body.programming-page.pa-board-tool-view .pa-lab-live{
  display:none!important;
}
html body.programming-page.pa-board-tool-view .pa-tool-page-head,
html body.programming-page.pa-tutor-tool-view .pa-tool-page-head{
  left:18px!important;
  right:auto!important;
}
html body:has(.handbook) .handbook-topbar{
  justify-content:flex-end!important;
}
html body:has(.handbook) .handbook-back{
  margin-left:auto!important;
  margin-right:0!important;
}
@media(max-width:700px){
  html body.programming-page.pa-board-tool-view .pa-lab-heading{
    padding-left:52px!important;
  }
  html body.programming-page.pa-board-tool-view .pa-board-back-arrow{
    left:0!important;
    right:auto!important;
  }
  html body.programming-page.pa-board-tool-view .pa-tool-page-head,
  html body.programming-page.pa-tutor-tool-view .pa-tool-page-head{
    left:12px!important;
    right:auto!important;
  }
}


/* Track cards: bright mint-green English titles and absolutely no decorative dots. */
html body.programming-page #learning-paths .pa-track-content b,
html body.programming-page #learning-paths .pa-track-content b *,
html body.programming-page #learning-paths .pa-track-content small{
  color:#75f0c2!important;
  -webkit-text-fill-color:#75f0c2!important;
  text-shadow:0 0 12px rgba(91,235,185,.16)!important;
}
html body.programming-page #learning-paths .pa-track-number::before,
html body.programming-page #learning-paths .pa-track-number::after,
html body.programming-page #learning-paths .pa-track-number span::before,
html body.programming-page #learning-paths .pa-track-number span::after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
  box-shadow:none!important;
  background-image:none!important;
}
html body.programming-page #learning-paths .pa-track-number{
  position:relative!important;
  background-image:none!important;
  box-shadow:none!important;
}


/* Path card layout: number and English title share the first row; Arabic description sits beneath the title. */
html body.programming-page #learning-paths .pa-track-card{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
  text-align:right!important;
  direction:rtl!important;
}
html body.programming-page #learning-paths .pa-track-number{
  flex:0 0 29px!important;
  align-self:flex-start!important;
  margin:1px 0 0!important;
}
html body.programming-page #learning-paths .pa-track-content{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:3px!important;
  min-width:0!important;
}
html body.programming-page #learning-paths .pa-track-content b{
  display:block!important;
  color:#75f0c2!important;
  -webkit-text-fill-color:#75f0c2!important;
  font-size:15px!important;
  line-height:1.4!important;
}
html body.programming-page #learning-paths .pa-track-description{
  display:block!important;
  color:#c9bdd5!important;
  -webkit-text-fill-color:#c9bdd5!important;
  font-size:10px!important;
  line-height:1.65!important;
  font-weight:500!important;
}
@media(max-width:620px){
  html body.programming-page #learning-paths .pa-track-card{gap:8px!important}
  html body.programming-page #learning-paths .pa-track-number{flex-basis:26px!important}
  html body.programming-page #learning-paths .pa-track-content b{font-size:13px!important}
  html body.programming-page #learning-paths .pa-track-description{font-size:9px!important}
}


/* Boost Arabic path descriptions with a visible turquoise-to-champagne-orange accent. */
html body.programming-page #learning-paths .pa-track-description{
  color:#55e5d0!important;
  -webkit-text-fill-color:#55e5d0!important;
  font-weight:700!important;
  text-shadow:0 0 9px rgba(85,229,208,.18)!important;
}
html body.programming-page #learning-paths .pa-track-description::first-letter{
  color:#ffbd78!important;
  -webkit-text-fill-color:#ffbd78!important;
}


/* DOMA One: make the answer panel match the question input's background exactly. */
html body.programming-page.pa-tutor-tool-view .pa-free-tutor-answer,
html body.programming-page.pa-tutor-tool-view .pa-global-tutor .pa-free-tutor-answer{
  background:rgba(20,13,30,.52)!important;
  border-color:rgba(225,193,233,.24)!important;
  box-shadow:none!important;
}
/* Hide the left-side vertical scroll rail in the standalone tutor while retaining scrolling. */
html body.programming-page.pa-tutor-tool-view,
html body.programming-page.pa-tutor-tool-view *,
html body.programming-page.pa-tutor-tool-view #paToolPage,
html body.programming-page.pa-tutor-tool-view #paToolPageBody,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  scrollbar-color:transparent transparent!important;
}
html body.programming-page.pa-tutor-tool-view::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view *::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view #paToolPage::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view #paToolPageBody::-webkit-scrollbar,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
  background:transparent!important;
}
html body.programming-page.pa-tutor-tool-view #paToolPage::-webkit-scrollbar-track,
html body.programming-page.pa-tutor-tool-view #paToolPage::-webkit-scrollbar-thumb{
  width:0!important;
  height:0!important;
  background:transparent!important;
  border:0!important;
}


/* Final path-card sizing and decoration cleanup: slightly roomier cards, no glowing markers. */
html body.programming-page #learning-paths .pa-track-card{
  min-height:88px!important;
  padding:14px 16px!important;
  gap:7px!important;
  overflow:hidden!important;
}
html body.programming-page #learning-paths .pa-track-number,
html body.programming-page #learning-paths .pa-track-number::before,
html body.programming-page #learning-paths .pa-track-number::after,
html body.programming-page #learning-paths .pa-track-number span,
html body.programming-page #learning-paths .pa-track-number span::before,
html body.programming-page #learning-paths .pa-track-number span::after{
  background:none!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
}
html body.programming-page #learning-paths .pa-track-number::before,
html body.programming-page #learning-paths .pa-track-number::after,
html body.programming-page #learning-paths .pa-track-card::before,
html body.programming-page #learning-paths .pa-track-card::after,
html body.programming-page #learning-paths .pa-track-content::before,
html body.programming-page #learning-paths .pa-track-content::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  opacity:0!important;
  visibility:hidden!important;
}
@media(max-width:620px){
  html body.programming-page #learning-paths .pa-track-card{
    min-height:82px!important;
    padding:12px 14px!important;
    gap:6px!important;
  }
}


/* Academy landing page: hide the outer scrollbar and make the entire canvas uniform. */
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)),
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)) body{
  background:#170f22!important;background-color:#170f22!important;background-image:none!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view){
  min-height:100vh!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) *,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) *::before,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) *::after{
  scrollbar-width:none!important;-ms-overflow-style:none!important;
}
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view))::-webkit-scrollbar,
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)) body::-webkit-scrollbar,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) *::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important;background:transparent!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::before,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::after{
  content:none!important;display:none!important;background:none!important;box-shadow:none!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa-shell,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa20-hero,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa20-hero-art,
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa20-hub{
  background:transparent!important;background-image:none!important;box-shadow:none!important;
}


/* Academy landing refresh: lighter plum canvas with isolated, softly blurred orange/champagne light. */
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)){
  background:#261b27!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view){
  position:relative!important;
  isolation:isolate!important;
  background:
    radial-gradient(ellipse at 13% 16%,rgba(255,145,74,.25) 0%,rgba(255,145,74,.10) 20%,transparent 43%),
    radial-gradient(ellipse at 88% 27%,rgba(222,139,91,.20) 0%,rgba(222,139,91,.08) 24%,transparent 46%),
    radial-gradient(ellipse at 53% 100%,rgba(164,111,151,.22) 0%,transparent 48%),
    linear-gradient(135deg,#30222d 0%,#281e2c 48%,#35242b 100%)!important;
  background-attachment:fixed!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::before{
  content:""!important;
  display:block!important;
  position:fixed!important;
  inset:-12%!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:.72!important;
  background:
    radial-gradient(circle at 16% 23%,rgba(255,151,82,.42) 0%,rgba(255,151,82,.16) 13%,transparent 31%),
    radial-gradient(circle at 82% 20%,rgba(255,188,123,.27) 0%,rgba(255,188,123,.10) 15%,transparent 34%),
    radial-gradient(circle at 72% 82%,rgba(203,128,105,.25) 0%,transparent 30%),
    radial-gradient(circle at 30% 86%,rgba(163,118,174,.22) 0%,transparent 32%)!important;
  filter:blur(42px)!important;
  transform:translateZ(0)!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::after{
  content:""!important;
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(115deg,rgba(255,188,133,.035),transparent 42%,rgba(255,151,82,.045))!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa-shell{
  position:relative!important;
  z-index:1!important;
  background:transparent!important;
}


/* Main five path cards: distinct typography, one blended title gradient, clean white descriptions, unique number accents. */
html body.programming-page #learning-paths .pa-track-content b,
html body.programming-page #learning-paths .pa-track-content b *,
html body.programming-page #learning-paths .pa-track-content strong,
html body.programming-page #learning-paths .pa-track-content .pa-track-title{
  font-family:"Trebuchet MS","Segoe UI",sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:.25px!important;
  line-height:1.45!important;
  background:linear-gradient(105deg,#ffd28d 0%,#ff9b68 52%,#e9a0a8 100%)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
}
html body.programming-page #learning-paths .pa-track-description,
html body.programming-page #learning-paths .pa-track-content small,
html body.programming-page #learning-paths .pa-track-content p{
  font-family:Arial,"Segoe UI",sans-serif!important;
  color:#f1edf2!important;
  -webkit-text-fill-color:#f1edf2!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.75!important;
  letter-spacing:0!important;
  text-shadow:none!important;
}
html body.programming-page #learning-paths .pa-track-number,
html body.programming-page #learning-paths .pa-track-number span{
  font-family:"Trebuchet MS","Segoe UI",sans-serif!important;
  font-size:19px!important;
  font-weight:900!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:0 0 14px currentColor!important;
}
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+1) .pa-track-number,
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+1) .pa-track-number span{color:#ffad72!important}
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+2) .pa-track-number,
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+2) .pa-track-number span{color:#e6a0c7!important}
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+3) .pa-track-number,
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+3) .pa-track-number span{color:#e9c477!important}
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+4) .pa-track-number,
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+4) .pa-track-number span{color:#a9b6ef!important}
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+5) .pa-track-number,
html body.programming-page #learning-paths .pa-track-card:nth-child(5n+5) .pa-track-number span{color:#8fd6bd!important}
@media(max-width:620px){
 html body.programming-page #learning-paths .pa-track-content b,
 html body.programming-page #learning-paths .pa-track-content b *{font-size:13px!important}
 html body.programming-page #learning-paths .pa-track-description,
 html body.programming-page #learning-paths .pa-track-content small,
 html body.programming-page #learning-paths .pa-track-content p{font-size:10px!important}
}


/* DOMA One standalone tutor: hide every viewport/inner scroll rail without disabling scroll. */
html:has(body.programming-page.pa-tutor-tool-view),
html:has(body.programming-page.pa-tutor-tool-view) body,
html:has(body.programming-page.pa-tutor-tool-view) #paToolPage,
html:has(body.programming-page.pa-tutor-tool-view) #paToolPageBody,
html:has(body.programming-page.pa-tutor-tool-view) #paStandaloneTutorHost,
html:has(body.programming-page.pa-tutor-tool-view) #paStandaloneTutorHost *{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  scrollbar-color:transparent transparent!important;
}
html:has(body.programming-page.pa-tutor-tool-view)::-webkit-scrollbar,
html:has(body.programming-page.pa-tutor-tool-view) body::-webkit-scrollbar,
html:has(body.programming-page.pa-tutor-tool-view) #paToolPage::-webkit-scrollbar,
html:has(body.programming-page.pa-tutor-tool-view) #paToolPageBody::-webkit-scrollbar,
html:has(body.programming-page.pa-tutor-tool-view) #paStandaloneTutorHost::-webkit-scrollbar,
html:has(body.programming-page.pa-tutor-tool-view) #paStandaloneTutorHost *::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important;background:transparent!important;
}
/* Target the actual generated answer panel in the standalone DOMA One host. */
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost .pa-free-tutor-answer{
  background:
    linear-gradient(125deg,rgba(255,151,82,.19),rgba(196,111,91,.13) 52%,rgba(255,199,143,.12)),
    rgba(42,27,29,.76)!important;
  border:1px solid rgba(255,184,127,.42)!important;
  color:#fff3e9!important;
  -webkit-text-fill-color:#fff3e9!important;
  box-shadow:inset 0 1px 0 rgba(255,232,210,.10),0 10px 26px rgba(12,7,8,.18)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer *:not(a):not(code):not(pre){
  color:#fff3e9!important;-webkit-text-fill-color:#fff3e9!important;
}
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer a{
  color:#ffd09f!important;-webkit-text-fill-color:#ffd09f!important;
}
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer code{
  color:#ffe1b2!important;-webkit-text-fill-color:#ffe1b2!important;
  background:rgba(255,177,112,.13)!important;
}


/* DOMA Programming Academy signature backdrop: softly blurred code-lab atmosphere. */
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view){
  background:
    radial-gradient(ellipse at 12% 18%,rgba(255,139,68,.30) 0%,rgba(255,139,68,.12) 19%,transparent 42%),
    radial-gradient(ellipse at 88% 23%,rgba(229,157,102,.24) 0%,rgba(229,157,102,.08) 24%,transparent 46%),
    radial-gradient(ellipse at 70% 82%,rgba(147,105,167,.25) 0%,transparent 39%),
    radial-gradient(ellipse at 28% 72%,rgba(188,105,78,.16) 0%,transparent 35%),
    linear-gradient(128deg,#35242d 0%,#2b2030 46%,#38262d 100%)!important;
  background-attachment:fixed!important;
}
/* Defocused warm light blooms behind the content. */
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::before{
  opacity:.82!important;
  background:
    radial-gradient(ellipse at 12% 22%,rgba(255,145,75,.48) 0%,rgba(255,145,75,.20) 14%,transparent 34%),
    radial-gradient(ellipse at 83% 18%,rgba(255,194,130,.34) 0%,rgba(255,194,130,.12) 17%,transparent 36%),
    radial-gradient(ellipse at 78% 76%,rgba(206,123,91,.30) 0%,transparent 32%),
    radial-gradient(ellipse at 26% 88%,rgba(164,119,190,.28) 0%,transparent 34%),
    radial-gradient(ellipse at 50% 48%,rgba(94,65,112,.18) 0%,transparent 42%)!important;
  filter:blur(54px)!important;
}
/* Very subtle circuit-board traces and code-like geometry, kept deliberately out of focus. */
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::after{
  opacity:.38!important;
  background-image:
    radial-gradient(circle at 17% 27%,rgba(255,194,135,.34) 0 2px,transparent 3px),
    radial-gradient(circle at 17% 27%,transparent 0 34px,rgba(255,174,111,.12) 35px 36px,transparent 37px),
    radial-gradient(circle at 81% 66%,rgba(255,185,124,.26) 0 2px,transparent 3px),
    radial-gradient(circle at 81% 66%,transparent 0 52px,rgba(255,174,111,.10) 53px 54px,transparent 55px),
    linear-gradient(90deg,transparent 0 11%,rgba(255,178,117,.10) 11.05% 11.12%,transparent 11.2% 100%),
    linear-gradient(0deg,transparent 0 28%,rgba(255,178,117,.08) 28.05% 28.12%,transparent 28.2% 100%),
    repeating-linear-gradient(90deg,transparent 0 79px,rgba(255,190,139,.035) 80px,transparent 81px 160px),
    repeating-linear-gradient(0deg,transparent 0 79px,rgba(255,190,139,.03) 80px,transparent 81px 160px),
    linear-gradient(115deg,rgba(255,188,133,.045),transparent 42%,rgba(255,151,82,.06))!important;
  background-size:100% 100%!important;
  filter:blur(1.3px)!important;
}
/* Keep the academy interface crisp and visually above the atmospheric background. */
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa-shell{
  position:relative!important;z-index:1!important;
}


/* DOMA One correction: the tutor answer panel must use the exact question-field surface. */
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer,
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost .pa-free-tutor-answer {
  color:#f4e8f7!important;
  -webkit-text-fill-color:#f4e8f7!important;
  border:1px solid rgba(225,193,233,.24)!important;
  border-radius:12px!important;
  background:rgba(20,13,30,.52)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer a {
  color:var(--pa-main-gold)!important;
  -webkit-text-fill-color:var(--pa-main-gold)!important;
}
html body.programming-page.pa-tutor-tool-view #paStandaloneTutorHost #paTutorAnswer code {
  color:var(--pa-main-gold)!important;
  -webkit-text-fill-color:var(--pa-main-gold)!important;
  background:rgba(255,218,174,.10)!important;
}

/* Remove every visible scroll rail on the five-path directory and lesson reader,
   while keeping normal mouse-wheel, touch and keyboard scrolling available. */
html:has(body.programming-page.pa-paths-open),
html:has(body.programming-page.pa-paths-open) *,
html:has(body.programming-page.pa-lesson-page-view),
html:has(body.programming-page.pa-lesson-page-view) * {
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  scrollbar-color:transparent transparent!important;
}
html:has(body.programming-page.pa-paths-open)::-webkit-scrollbar,
html:has(body.programming-page.pa-paths-open) *::-webkit-scrollbar,
html:has(body.programming-page.pa-lesson-page-view)::-webkit-scrollbar,
html:has(body.programming-page.pa-lesson-page-view) *::-webkit-scrollbar {
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
}

/* Lesson view: remove the enclosing card and extend its glass-plum surface
   across the viewport. Keep individual lesson headings and content intact. */
html:has(body.programming-page.pa-lesson-page-view),
html:has(body.programming-page.pa-lesson-page-view) body {
  min-height:100%!important;
  background-color:#170f22!important;
  background-image:
    radial-gradient(ellipse at 12% 8%,rgba(255,208,157,.10),transparent 48%),
    linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  background-attachment:fixed!important;
}
html body.programming-page.pa-lesson-page-view .pa-shell {
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
html body.programming-page.pa-lesson-page-view #paLessonPage {
  display:block!important;
  width:100%!important;
  min-height:100vh!important;
  margin:0!important;
  padding:clamp(16px,3vw,38px)!important;
  box-sizing:border-box!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body.programming-page.pa-lesson-page-view #paLessonReader,
html body.programming-page.pa-lesson-page-view .pa-lesson-reader {
  width:100%!important;
  max-width:1180px!important;
  min-height:calc(100vh - 32px)!important;
  margin:0 auto!important;
  padding:clamp(16px,2.6vw,32px)!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.programming-page.pa-lesson-page-view .pa-reader-content {
  width:100%!important;
  max-width:none!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body.programming-page.pa-lesson-page-view .pa-reader-top,
html body.programming-page.pa-lesson-page-view .pa-activities,
html body.programming-page.pa-lesson-page-view .pa-activity-content {
  background:transparent!important;
}
@media(max-width:620px) {
  html body.programming-page.pa-lesson-page-view #paLessonPage {
    padding:10px!important;
  }
  html body.programming-page.pa-lesson-page-view #paLessonReader,
  html body.programming-page.pa-lesson-page-view .pa-lesson-reader {
    padding:12px!important;
  }
}


/* Final path palette: muted dark beige titles and readable soft-burgundy numbers. */
html body.programming-page #learning-paths .pa-track-content b,
html body.programming-page #learning-paths .pa-track-content b *,
html body.programming-page #learning-paths .pa-track-content strong,
html body.programming-page #learning-paths .pa-track-content .pa-track-title {
  color:#d7bd98!important;
  background:none!important;
  background-image:none!important;
  -webkit-text-fill-color:#d7bd98!important;
  text-shadow:0 1px 8px rgba(0,0,0,.18)!important;
}
html body.programming-page #learning-paths .pa-track-number,
html body.programming-page #learning-paths .pa-track-number span {
  color:#c9788b!important;
  -webkit-text-fill-color:#c9788b!important;
  text-shadow:0 0 10px rgba(201,120,139,.20)!important;
}


/* DOMA One: visible signature programming backdrop — final landing-page override. */
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)){
  background:#211624!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view){
  position:relative!important;
  isolation:isolate!important;
  min-height:100vh!important;
  background:
    radial-gradient(ellipse 48% 42% at 12% 14%,rgba(239,143,91,.24),transparent 76%),
    radial-gradient(ellipse 44% 46% at 88% 24%,rgba(195,145,183,.22),transparent 74%),
    radial-gradient(ellipse 52% 40% at 58% 96%,rgba(222,173,126,.13),transparent 75%),
    linear-gradient(135deg,#211624 0%,#302033 48%,#211724 100%)!important;
  background-attachment:fixed!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::before{
  content:""!important;
  display:block!important;
  position:fixed!important;
  inset:-9%!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:.9!important;
  background:
    radial-gradient(ellipse at 15% 20%,rgba(255,154,91,.48) 0%,rgba(255,154,91,.18) 13%,transparent 34%),
    radial-gradient(ellipse at 82% 18%,rgba(255,213,165,.30) 0%,rgba(255,213,165,.10) 16%,transparent 36%),
    radial-gradient(ellipse at 76% 78%,rgba(172,121,184,.32) 0%,transparent 33%),
    radial-gradient(ellipse at 24% 86%,rgba(211,127,99,.25) 0%,transparent 32%),
    radial-gradient(ellipse at 50% 48%,rgba(108,75,129,.20) 0%,transparent 43%)!important;
  filter:blur(46px)!important;
  transform:translateZ(0)!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)::after{
  content:""!important;
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:.56!important;
  background-image:
    radial-gradient(circle at 13% 23%,rgba(255,209,165,.78) 0 2px,transparent 3px),
    radial-gradient(circle at 13% 23%,transparent 0 30px,rgba(255,177,125,.22) 31px 32px,transparent 33px),
    radial-gradient(circle at 84% 25%,rgba(255,209,165,.70) 0 2px,transparent 3px),
    radial-gradient(circle at 84% 25%,transparent 0 43px,rgba(255,177,125,.18) 44px 45px,transparent 46px),
    radial-gradient(circle at 76% 78%,rgba(198,157,217,.62) 0 2px,transparent 3px),
    radial-gradient(circle at 76% 78%,transparent 0 35px,rgba(198,157,217,.16) 36px 37px,transparent 38px),
    linear-gradient(28deg,transparent 0 18%,rgba(255,183,130,.14) 18.08% 18.18%,transparent 18.28% 100%),
    linear-gradient(152deg,transparent 0 39%,rgba(255,183,130,.12) 39.08% 39.18%,transparent 39.28% 100%),
    repeating-linear-gradient(90deg,transparent 0 95px,rgba(255,210,174,.045) 96px,transparent 97px 190px),
    repeating-linear-gradient(0deg,transparent 0 95px,rgba(255,210,174,.035) 96px,transparent 97px 190px);
  background-size:100% 100%!important;
  filter:blur(.65px)!important;
}
html body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view) .pa-shell{
  position:relative!important;
  z-index:1!important;
  background:transparent!important;
}


/* DOMA One correction: exact path palette + edge-to-edge track lessons screen. */
/* Five path cards: beige titles, readable burgundy numbers, deep burgundy outlines. */
html body.programming-page #learning-paths .pa-track-card{
  border:1.5px solid #713047!important;
  box-shadow:0 12px 30px rgba(13,5,24,.24),0 0 0 1px rgba(113,48,71,.12),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html body.programming-page #learning-paths .pa-track-card:hover{
  border-color:#8c405a!important;
  box-shadow:0 15px 34px rgba(13,5,24,.28),0 0 15px rgba(113,48,71,.18),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body.programming-page #learning-paths .pa-track-content b,
html body.programming-page #learning-paths .pa-track-content b *,
html body.programming-page #learning-paths .pa-track-content strong,
html body.programming-page #learning-paths .pa-track-content .pa-track-title{
  color:#d7bd98!important;
  -webkit-text-fill-color:#d7bd98!important;
  background:none!important;background-image:none!important;
  text-shadow:0 1px 8px rgba(0,0,0,.2)!important;
}
html body.programming-page #learning-paths .pa-track-number,
html body.programming-page #learning-paths .pa-track-number span{
  color:#c9788b!important;
  -webkit-text-fill-color:#c9788b!important;
  text-shadow:0 0 10px rgba(201,120,139,.22)!important;
}
/* The selected-track lesson directory sits directly on the page canvas, not inside a framed panel. */
html body.programming-page.pa-track-view{
  min-height:100vh!important;
  background:
    radial-gradient(ellipse 540px 390px at 9% 0%,rgba(167,118,196,.24),transparent 72%),
    radial-gradient(ellipse 500px 400px at 100% 16%,rgba(255,203,153,.10),transparent 72%),
    radial-gradient(ellipse 620px 430px at 50% 100%,rgba(127,83,159,.18),transparent 72%),
    linear-gradient(145deg,#170f22 0%,#21142e 52%,#130d1d 100%)!important;
  background-attachment:fixed!important;
}
html body.programming-page.pa-track-view,
html body.programming-page.pa-track-view *,
html:has(body.programming-page.pa-track-view){
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  scrollbar-color:transparent transparent!important;
}
html body.programming-page.pa-track-view::-webkit-scrollbar,
html body.programming-page.pa-track-view *::-webkit-scrollbar,
html:has(body.programming-page.pa-track-view)::-webkit-scrollbar,
html:has(body.programming-page.pa-track-view) body::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important;background:transparent!important;
}
html body.programming-page.pa-track-view .pa-shell,
html body.programming-page.pa-track-view .pa-learning-layout,
html body.programming-page.pa-track-view .pa-lessons-panel,
html body.programming-page.pa-track-view .pa-side-column{
  width:100%!important;max-width:none!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html body.programming-page.pa-track-view .pa-shell{
  min-height:100vh!important;
  padding:10px clamp(14px,3vw,36px) 34px!important;
}
html body.programming-page.pa-track-view .pa-learning-layout{
  display:block!important;
  min-height:calc(100vh - 52px)!important;
  padding:0!important;
  gap:0!important;
}
html body.programming-page.pa-track-view .pa-lessons-panel{
  min-height:calc(100vh - 62px)!important;
  padding:0!important;
  overflow:visible!important;
}
html body.programming-page.pa-track-view #paLessons{
  background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}


/* DOMA One: remove only outer challenge/practice frames; preserve inner cards and controls. */
/* Daily challenge: keep the three individual challenge cards, remove their shared outer box. */
html body.programming-page .pa-daily-challenges{
  padding:0!important;
  margin:22px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.programming-page .pa-daily-challenges::before,
html body.programming-page .pa-daily-challenges::after{
  content:none!important;display:none!important;
}
html body.programming-page .pa-daily-challenge-grid{
  background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:0!important;
}
html body.programming-page .pa-daily-challenge-grid>.pa-daily-card{
  border:1px solid rgba(205,170,111,.22)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(117,79,139,.34),rgba(36,24,51,.76))!important;
  box-shadow:0 10px 26px rgba(12,5,23,.20),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
/* Practice/checkpoint: remove the large frame around the heading and its two activity areas. */
html body.programming-page .pa-activities{
  margin:26px 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body.programming-page .pa-activities::before,
html body.programming-page .pa-activities::after{
  content:none!important;display:none!important;
}
html body.programming-page .pa-activities-heading,
html body.programming-page .pa-activity-content{
  background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
/* Keep individual quiz / practical-exercise cards as separate visible surfaces. */
html body.programming-page .pa-activity-content :is(.pa-quiz-card,.pa-exercise-card,.pa-activity-card,.pa-project-card){
  border:1px solid rgba(225,193,233,.24)!important;
  background:linear-gradient(145deg,rgba(117,79,139,.34),rgba(36,24,51,.76))!important;
}
/* Bayes and all other lesson code examples: clear light-green code text. */
html body.programming-page .pa-reader-content :is(pre,pre code,code){
  color:#9AF2B8!important;
  -webkit-text-fill-color:#9AF2B8!important;
  text-shadow:0 0 8px rgba(112,227,154,.16)!important;
}
html body.programming-page .pa-reader-content pre{
  border-color:rgba(112,227,154,.28)!important;
  background:rgba(12,27,22,.72)!important;
}
html body.programming-page .pa-reader-content pre *{
  color:#9AF2B8!important;
  -webkit-text-fill-color:#9AF2B8!important;
}


/* DOMA One — align optional stdin with the editor/output width and refresh path colors. */
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost .pa-code-lab #paCodeInput,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost .pa-code-lab textarea.pa-code-input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin-inline:0!important;
}
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost .pa-code-lab .pa-editor-wrap,
html body.programming-page.pa-board-tool-view #paStandaloneBoardHost .pa-code-lab #paCodeOutput{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html body.programming-page #learning-paths .pa-track-content>b,
html body.programming-page #learning-paths .pa-track-content>b *,
html body.programming-page #learning-paths .pa-track-content strong,
html body.programming-page #learning-paths .pa-track-content .pa-track-title{
  color:#E78AAE!important;
  -webkit-text-fill-color:#E78AAE!important;
  background:none!important;
  background-image:none!important;
}
html body.programming-page #learning-paths .pa-track-number{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  box-sizing:border-box!important;
  border:1px solid #713047!important;
  border-radius:12px!important;
  background:rgba(113,48,71,.30)!important;
  color:#C9788B!important;
  -webkit-text-fill-color:#C9788B!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 14px rgba(15,5,14,.18)!important;
}
html body.programming-page #learning-paths .pa-track-number span{
  color:#C9788B!important;
  -webkit-text-fill-color:#C9788B!important;
}


/* Lesson examples: retain a plain near-black code panel; only code glyphs are green.
   Remove the extra highlighted/blurred inner code surface and all syntax backgrounds. */
html body.programming-page.pa-lesson-page-view .pa-reader-content pre,
html body.programming-page .pa-reader-content pre{
  color:#9AF2B8!important;
  -webkit-text-fill-color:#9AF2B8!important;
  background:#100D12!important;
  background-image:none!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  text-shadow:none!important;
}
html body.programming-page .pa-reader-content pre code,
html body.programming-page .pa-reader-content pre span,
html body.programming-page .pa-reader-content code{
  color:#9AF2B8!important;
  -webkit-text-fill-color:#9AF2B8!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  text-shadow:none!important;
}


/* Learning paths refinement: larger expressive titles, compact gold number tiles,
   and clean card edges that blend into the academy's purple glass canvas. */
html body.programming-page #learning-paths .pa-track-card{
  grid-template-columns:20px minmax(0,1fr) 18px!important;
  gap:13px!important;
  border:0!important;
  outline:0!important;
  box-shadow:0 10px 26px rgba(13,5,24,.20),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
html body.programming-page #learning-paths .pa-track-card:hover,
html body.programming-page #learning-paths .pa-track-card:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:0 14px 32px rgba(13,5,24,.28),0 0 18px rgba(232,185,116,.09),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body.programming-page #learning-paths .pa-track-number{
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  padding:0!important;
  box-sizing:border-box!important;
  border:1px solid rgba(225,193,233,.20)!important;
  border-radius:7px!important;
  background:linear-gradient(145deg,rgba(117,79,139,.42),rgba(44,29,62,.72))!important;
  color:#FFE5BD!important;
  -webkit-text-fill-color:#FFE5BD!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  text-shadow:0 0 8px rgba(255,229,189,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}
html body.programming-page #learning-paths .pa-track-number span{
  color:#FFE5BD!important;
  -webkit-text-fill-color:#FFE5BD!important;
  font-size:11px!important;
  line-height:1!important;
}
html body.programming-page #learning-paths .pa-track-content>b,
html body.programming-page #learning-paths .pa-track-content>b *,
html body.programming-page #learning-paths .pa-track-content strong,
html body.programming-page #learning-paths .pa-track-content .pa-track-title{
  color:#D8B8FF!important;
  -webkit-text-fill-color:#D8B8FF!important;
  font-size:clamp(18px,2vw,21px)!important;
  line-height:1.35!important;
  font-weight:900!important;
  text-shadow:0 1px 10px rgba(13,5,24,.22)!important;
}
@media(max-width:620px){
  html body.programming-page #learning-paths .pa-track-card{
    grid-template-columns:20px minmax(0,1fr) 16px!important;
    gap:11px!important;
  }
  html body.programming-page #learning-paths .pa-track-content>b,
  html body.programming-page #learning-paths .pa-track-content>b *,
  html body.programming-page #learning-paths .pa-track-content strong,
  html body.programming-page #learning-paths .pa-track-content .pa-track-title{
    font-size:18px!important;
  }
}


/* FINAL PRIORITY FIX — the landing-page legacy selector was overriding the
   Obsidian Tech canvas with background-image:none. Match its specificity and
   restore the new outer canvas without touching any inner surfaces. */
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)),
html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)) body{
  background-color:#101116!important;
  background-image:
    radial-gradient(ellipse 900px 620px at 8% 8%,rgba(81,90,112,.34),transparent 69%),
    radial-gradient(ellipse 760px 560px at 94% 24%,rgba(40,127,131,.25),transparent 70%),
    radial-gradient(ellipse 860px 620px at 52% 105%,rgba(89,105,124,.20),transparent 72%),
    linear-gradient(rgba(155,177,190,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(155,177,190,.035) 1px,transparent 1px),
    linear-gradient(145deg,#101116 0%,#171C23 48%,#0C1117 100%)!important;
  background-size:auto,auto,auto,58px 58px,58px 58px,auto!important;
  background-position:center,center,center,center,center,center!important;
  background-attachment:fixed!important;
}
@media(max-width:760px){
  html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)),
  html:has(body.programming-page:not(.pa-paths-open):not(.pa-track-view):not(.pa-lesson-page-view):not(.pa-tool-view):not(.pa-tutor-tool-view):not(.pa-board-tool-view)) body{
    background-attachment:scroll!important;
    background-size:auto,auto,auto,46px 46px,46px 46px,auto!important;
  }
}


/* Paired red/green micro-status lights beside the student name. */
html body.programming-page .pa-user-identity #paAuthStatus{
  position:relative!important;
  display:inline-block!important;
  flex:0 0 13px!important;
  width:13px!important;
  min-width:13px!important;
  height:7px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:0!important;
}
html body.programming-page .pa-user-identity #paAuthStatus::before,
html body.programming-page .pa-user-identity #paAuthStatus::after{
  content:""!important;
  position:absolute!important;
  top:1px!important;
  width:5px!important;
  height:5px!important;
  border-radius:50%!important;
}
html body.programming-page .pa-user-identity #paAuthStatus::before{
  left:0!important;
  background:#FF525D!important;
  box-shadow:0 0 4px rgba(255,82,93,.95),0 0 9px rgba(255,82,93,.65)!important;
}
html body.programming-page .pa-user-identity #paAuthStatus::after{
  right:0!important;
  background:#55E69A!important;
  box-shadow:0 0 4px rgba(85,230,154,.95),0 0 9px rgba(85,230,154,.65)!important;
}
