/* FijiLearn's own guided lesson design, built for touch, keyboard and slow links. */
.discovery-note{margin:12px 0;padding:10px 12px;border-radius:10px;background:#e6f3f1;color:#145a56;font-size:.82rem;line-height:1.5}
.visual-path{margin:28px 0;padding-top:20px;border-top:1px solid var(--line)}
.visual-path h2{font-size:1.25rem}.path-caption{color:var(--muted);font-size:.85rem;line-height:1.6;margin:8px 0 16px}
.path-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 16px;padding:12px 0}
.path-grid svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.path-grid path{fill:none;stroke:var(--muted);stroke-width:1;opacity:.55}
.path-node{position:relative;z-index:1;background:var(--card);border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:10px;padding:14px 10px;text-align:left;min-height:90px;overflow-wrap:anywhere}
.path-node strong{display:block;font-size:.85rem}.path-node span{display:block;font-size:.72rem;color:var(--muted);margin-top:8px}.path-node[aria-pressed=true]{outline:2px solid var(--teal);outline-offset:2px;background:#e6f3f1}
.path-detail{margin-top:14px;border-top:1px solid var(--line);padding-top:16px;line-height:1.65}.path-detail h3{font-size:1.05rem}.path-prereqs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:10px}.path-prereqs button{font-size:.8rem;margin:0}
.learning-timeline{display:flex;flex-wrap:wrap;list-style:none;gap:8px;margin:18px 0 22px;padding:0}.learning-timeline li{flex:1 1 80px;border-top:4px solid var(--line);padding-top:7px;color:var(--muted);font-size:.75rem}.learning-timeline .complete{border-color:var(--teal)}.learning-timeline .current{border-color:var(--teal);color:var(--teal);font-weight:700}.learning-timeline .current::after{content:' · Now'}
.record-trace{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#e6f3f1;color:#145a56;padding:14px;border-radius:12px;font-size:.8rem;line-height:1.5;margin:12px 0}.trace-arrow{color:var(--teal)}
@media(max-width:520px){.path-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.path-node{min-height:100px}.learning-timeline li{flex-basis:70px}}
@media(max-width:350px){.path-grid{grid-template-columns:1fr}.path-node{min-height:70px}}
.lesson-context{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0;color:var(--muted);font-size:.85rem}
.lesson-context b{color:var(--teal)}
.learn-intro,.learn-recap{background:var(--card);border:1px solid var(--line);padding:24px;border-radius:20px;margin:16px 0;line-height:1.65}
.learn-intro h1{font-size:1.7rem;line-height:1.25;margin:10px 0}
.learn-route{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.learn-route span{padding:6px 12px;background:#e6f3f1;color:#145a56;border-radius:99px;font-weight:700;font-size:.8rem}
.learn-help{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;text-align:left}
.learn-help button,.learn-secondary{min-height:44px;border:1px solid var(--teal);border-radius:12px;color:var(--teal);background:var(--card);padding:10px 16px;margin:4px;font:inherit;font-weight:700;cursor:pointer}
.learn-help p{padding:12px;background:#eaf3f8;color:#163d53;border-radius:12px;line-height:1.6;margin:8px 0}
.learn-help details{margin-top:12px;line-height:1.6}
.learn-help summary{cursor:pointer;padding:12px 0;min-height:44px}
.learn-reflection{width:100%;min-height:110px;padding:12px;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--card);color:var(--text);margin:12px 0}
.learn-checklist label{display:flex;gap:12px;align-items:flex-start;text-align:left;padding:10px 0;line-height:1.5}
.learn-checklist input{width:22px;height:22px;flex-shrink:0}
.learn-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}
.learn-stats div{padding:12px 6px;background:#e6f3f1;color:#145a56;border-radius:12px;text-align:center;font-size:.8rem}
.learn-stats strong{display:block;font-size:1.6rem}
.record-wrap{overflow:auto;margin:16px 0}
.record-table{border-collapse:collapse;width:100%;font-size:.9rem;text-align:left}
.record-table caption{padding:8px;text-align:left;color:var(--muted)}
.record-table th,.record-table td{padding:10px;border-bottom:1px solid var(--line)}
.record-table tr.selected{background:#d4efeb;color:#124f49}
.record-table button{min-height:44px;padding:8px 12px;border:1px solid var(--teal);border-radius:9px;background:var(--card);color:var(--teal);font:inherit}
.record-controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.record-controls button{min-height:44px;padding:10px;border-radius:10px;border:1px solid var(--teal);background:var(--card);color:var(--teal);font:inherit;cursor:pointer}
.record-controls button[aria-pressed=true]{background:var(--teal);color:white}
.record-status{min-height:3em;background:#eaf3f8;color:#163d53;padding:12px;border-radius:12px;line-height:1.5}
button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #7359d5;outline-offset:4px}
.lab-bin:focus-visible{outline:3px solid #7359d5}
@media(max-width:480px){.learn-intro,.learn-recap{padding:18px}.record-table th,.record-table td{padding:8px 5px}.lesson-context{font-size:.76rem}.learn-stats{gap:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* On wide screens dimau-shell.css lays this header out itself: it makes
   #learning-header a grid and sets .hbar and .header-tools to display:contents
   so the logo, name, stats and Sign in become items of that one grid.
   The phone rules above use "header#learning-header .hbar", which outscores
   the shell at EVERY width, so .hbar became its own 640px box inside a 48px
   column - the name collapsed to nothing and Sign in was clipped to "S...".
   This hands the desktop layout back to the shell. Phones are unaffected. */
@media (min-width:768px){
  header#learning-header > .hbar{display:contents!important}
  header#learning-header > .header-tools{display:contents!important}
  /* The column numbers above were written for .hbar's own 4-column grid. Once
     .hbar is display:contents they land on the header grid instead, where they
     collide - the banner sat on top of the name, and the nav was crushed into
     the 48px logo column. These are the shell's own positions. */
  header#learning-header .hbar > .logo-tile{grid-column:1!important;grid-row:1!important}
  header#learning-header .hbar > .brand{grid-column:2!important;grid-row:1!important;min-width:0}
  header#learning-header .hbar > .hstats{grid-column:3!important;grid-row:1!important}
  header#learning-header .hbar > .dm-acct{grid-column:4!important;grid-row:1!important;justify-self:end}
  header#learning-header .header-tools > .bw-own-line{
    grid-column:1/-1!important;grid-row:2!important;justify-self:start!important;
  }
  header#learning-header .header-tools > .learner-nav{
    grid-column:1/-1!important;grid-row:3!important;min-width:0;white-space:nowrap;
  }
}
@media (min-width:1100px){
  /* wider still: the shell lifts the banner up beside the name */
  header#learning-header .header-tools > .bw-own-line{
    grid-column:3!important;grid-row:1!important;margin-left:8px!important;flex-wrap:nowrap!important;
  }
  header#learning-header .hbar > .hstats{grid-column:4!important}
  header#learning-header .hbar > .dm-acct{grid-column:5!important}
  header#learning-header .header-tools > .learner-nav{grid-row:2!important}
}

header#learning-header{position:relative}
header#learning-header .fl-more{
  display:none;align-items:center;justify-content:center;
  min-width:40px!important;width:40px;min-height:40px!important;height:40px;
  padding:0!important;border-radius:50%;
  border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);
  color:#f4f7fb;font-size:20px;line-height:1;cursor:pointer;
}
header#learning-header .fl-more:hover{background:rgba(255,255,255,.2)}
header#learning-header .fl-sheet{
  position:absolute;right:12px;top:calc(100% - 4px);z-index:1000;
  min-width:222px;max-width:calc(100vw - 24px);
  background:#fff;color:#0b2a4a;border-radius:12px;
  box-shadow:0 18px 40px rgba(6,18,32,.38);
  padding:6px;display:flex;flex-direction:column;
}
header#learning-header .fl-sheet[hidden]{display:none}
header#learning-header .fl-sheet-item{
  display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;
  min-height:44px!important;padding:0 12px;
  background:none;border:0;border-radius:8px;
  font:600 14px/1.3 var(--dm-font,inherit);color:#0b2a4a!important;
  text-align:left;text-decoration:none;cursor:pointer;
}
header#learning-header .fl-sheet-item:hover,
header#learning-header .fl-sheet-item:focus-visible{background:#eef3f9}
header#learning-header .fl-i{flex:0 0 20px;width:20px;text-align:center;font-size:15px}
header#learning-header .fl-sheet-note{
  margin:4px 8px 6px;font:500 12px/1.4 var(--dm-font,inherit);color:#4a5b6f;
}

/* ---- Age and subject dropdowns (3 Oct 2026) ---- */
.filterbar{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 10px}
.filterbar .filt{display:flex;flex-direction:column;gap:5px;flex:1 1 150px;min-width:0}
.filterbar .filt > span{
  font:700 12px/1.2 var(--dm-font,inherit);color:#4a5b6f;letter-spacing:.02em;
}
.filterbar select{
  font:600 15px/1.2 var(--dm-font,inherit);
  width:100%;box-sizing:border-box;min-height:46px;
  padding:11px 36px 11px 12px;
  border:1.5px solid #c9d3e0;border-radius:10px;
  background-color:#fff;color:#0b2a4a;cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230b2a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 13px center;background-size:12px 8px;
}
.filterbar select:hover{border-color:#8fa3bb}
.filterbar select:focus-visible{outline:3px solid #3ee0c8;outline-offset:2px}

/* ---- FijiLearn header - 3 Oct 2026 (rev 4) ----
   Phone order, as asked for:
     row 1  logo + name + Sign in
     row 2  the Bula welcome button, full width
     row 3  every other button in one row - sound, streak, XP, Share
     row 4  the My learning link
   The whole bar is one grid and .hbar, .header-tools, .hstats and the
   welcome group are display:contents, so each button is placed by name
   instead of being moved about by JavaScript.                        */

header#learning-header .learner-nav a{
  color:#dff2f1!important;font-weight:600;text-decoration:none!important;
}
header#learning-header .learner-nav a:hover{text-decoration:none!important;opacity:.75}
header#learning-header #sync-status{color:rgba(223,242,241,.72);font-size:12px;margin-left:8px}

@media(max-width:640px){
  header#learning-header{
    display:grid!important;
    grid-template-columns:36px auto auto minmax(0,1fr) auto!important;
    grid-template-areas:
      "logo  brand  brand brand acct"
      "bula  bula   bula  bula  bula"
      "voice streak xp    .     share"
      "nav   nav    nav   nav   nav"!important;
    align-items:center!important;
    column-gap:6px!important;row-gap:8px!important;
    padding:8px 12px 10px!important;
  }
  header#learning-header > .hbar,
  header#learning-header > .header-tools,
  header#learning-header .hstats,
  header#learning-header .bw-own-line{display:contents!important}

  header#learning-header .logo-tile{grid-area:logo!important}
  header#learning-header .logo-tile,
  header#learning-header .dimau-owner-logo-frame,
  header#learning-header img.dimau-owner-logo{
    width:36px!important;height:36px!important;
    min-width:36px!important;min-height:36px!important;
    max-width:36px!important;max-height:36px!important;flex:0 0 36px!important;
  }
  header#learning-header .brand{
    grid-area:brand!important;justify-self:start!important;
    font-size:1.05rem!important;min-width:0;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  header#learning-header .dm-acct{grid-area:acct!important;justify-self:end!important}
  header#learning-header .dm-acct-btn{
    min-height:36px!important;min-width:0!important;
    padding:0 12px!important;font-size:12.5px!important;white-space:nowrap!important;
  }

  header#learning-header .bw-pill{
    grid-area:bula!important;justify-self:stretch!important;
    width:100%!important;max-width:100%!important;flex:none!important;
    min-height:40px!important;height:auto!important;padding:8px 12px!important;
    font-size:13px!important;line-height:1.25!important;
    white-space:normal!important;justify-content:center!important;
  }
  header#learning-header .bw-txt.bw-long{display:inline!important}
  header#learning-header .bw-txt.bw-short{display:none!important}

  header#learning-header .hstats .pill.voice{grid-area:voice!important;justify-self:start!important}
  header#learning-header .hstats .pill.streak{grid-area:streak!important;justify-self:start!important}
  header#learning-header .hstats .pill.xp{grid-area:xp!important;justify-self:start!important}
  header#learning-header .bw-share{grid-area:share!important;justify-self:end!important}

  header#learning-header .hstats .pill,
  header#learning-header .bw-share{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    height:34px!important;min-height:34px!important;
    padding:0 11px!important;font-size:12px!important;line-height:1!important;
    border-radius:999px!important;white-space:nowrap!important;
  }
  header#learning-header .hstats .pill.voice{
    width:34px!important;min-width:34px!important;padding:0!important;
    border-radius:50%!important;font-size:14px!important;
  }

  header#learning-header .learner-nav{
    grid-area:nav!important;min-width:0!important;
    font-size:12px!important;line-height:1.35!important;
  }
}


/* Linked course and lesson interfaces */
.path-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:18px 0}
.path-tools label{display:flex;flex-direction:column;gap:7px;font-size:.8rem;font-weight:700;flex:1;min-width:150px}
.path-tools label:first-child{flex:2}.path-tools input,.path-tools select{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit}
.path-tools button{min-height:44px;margin:0}.path-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,2fr);gap:24px;align-items:start}
.path-layout .path-detail{margin:0;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--card);position:sticky;top:90px;max-height:75vh;overflow:auto}
.path-detail h3{margin:6px 0 10px;font-size:1.3rem}.path-detail h4{margin:22px 0 10px}.path-stats{display:flex;flex-wrap:wrap;gap:8px;font-size:.75rem;font-weight:700;margin:12px 0}.path-stats span{background:#e7f3fa;color:#073754;border-radius:8px;padding:6px 8px}
.path-detail progress{width:100%;height:9px;accent-color:#0b8792}.path-prereqs{margin:15px 0;gap:6px}.path-prereqs>strong{width:100%;font-size:.8rem}.path-prereqs .path-caption{margin:0;font-size:.75rem}
.path-prereqs button{min-height:38px}.path-lessons{list-style:none;padding:0;margin:0;display:grid;gap:8px}.path-lessons a{display:block;color:var(--ink);text-decoration:none;padding:12px;border:1px solid var(--line);border-radius:10px}.path-lessons a:hover{background:#e7f3fa;color:#073754}.path-lessons strong{display:block;font-size:.85rem}.path-lessons span{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}
.path-eyebrow{font-size:.65rem!important;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#075b80!important;margin:0 0 7px!important}.path-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}.path-node{min-height:118px;cursor:pointer;color:var(--ink)}
.path-node[data-connected=true]{border-color:#0b8792;border-top-color:#0b8792;background:#eefaf8}.path-node[aria-pressed=true]{background:#dff2ff;border-color:#0969a6;outline:2px solid #0969a6}.path-grid path{stroke-width:1.4;opacity:.2}.path-grid path[data-selected=true]{stroke:#0b8792;stroke-width:3;opacity:.85}
.path-tools input:focus-visible,.path-tools select:focus-visible,.path-node:focus-visible,.path-lessons a:focus-visible{outline:3px solid #0969a6;outline-offset:3px}.path-empty{grid-column:1/-1;padding:24px;line-height:1.6}
@media(max-width:760px){.path-layout{grid-template-columns:1fr}.path-layout .path-detail{position:static;max-height:none;order:1;scroll-margin-top:90px}.path-network{order:2}.path-grid{gap:24px 12px}.path-node{min-height:104px}.path-tools label{min-width:130px}}
@media(max-width:350px){.path-grid{grid-template-columns:1fr}}

.path-records summary{cursor:pointer;padding:12px 0;font-weight:700;min-height:44px;box-sizing:border-box}.path-records .path-lessons{margin-bottom:10px}


/* A readable course directory and a focused learning path, at every screen size. */
html body .clear-path{padding:24px;background:#f5f9fc;border:1px solid #d4e2eb;border-radius:24px;color:#18354a;min-width:0;box-sizing:border-box}
html body .clear-path h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.2;letter-spacing:-.025em;margin:8px 0 12px;color:#15384e}
html body .clear-path .path-caption{color:#526879;line-height:1.55}
html body .clear-path .path-tools{gap:12px;margin:24px 0 12px}
html body .clear-path .path-tools label{min-width:0;color:#284b60;font-size:13px}
html body .clear-path :is(input,select){background:#fff!important;border:1px solid #becfdb!important;border-radius:10px!important;font-size:15px;box-shadow:none}
html body .clear-path button{font:inherit;cursor:pointer}
html body .clear-path :is(.path-tools button,.path-close,.path-actions button,.path-empty button){background:#fff;color:#205570;border:1px solid #bfd0dd;border-radius:10px;min-height:44px;padding:10px 14px;font-size:14px;font-weight:700}
html body .clear-path .path-results{font-size:13px;margin-bottom:20px}
html body .clear-path .path-subjects{display:grid;gap:12px}
html body .clear-path .path-subject{border:1px solid #d7e3ec;background:#fff;border-radius:16px;min-width:0;overflow:hidden}
html body .clear-path .path-subject>summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;min-height:64px;padding:14px 18px;box-sizing:border-box}
html body .clear-path .path-subject>summary::-webkit-details-marker{display:none}
html body .clear-path .path-subject>summary::after{content:'+';color:#526879;font-size:22px;margin-left:6px}
html body .clear-path .path-subject[open]>summary::after{content:'−'}
html body .clear-path .path-subject>summary strong{font-size:16px}
html body .clear-path .path-subject-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--subject-colour)}
html body .clear-path .path-subject-count{margin-left:auto;color:#637788;font-size:12px;white-space:nowrap}
html body .clear-path .path-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 16px 16px}
html body .clear-path .path-node{position:relative;width:100%;min-width:0;min-height:178px;margin:0;padding:18px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:8px;transform:none;background:#f8fbfd!important;border:1px solid #dbe6ed!important;border-top:3px solid var(--subject-colour)!important;border-radius:12px!important;box-shadow:none!important;backdrop-filter:none;color:#17384d}
html body .clear-path .path-node:hover{background:#edf5fa!important;border-color:#8bb5ce!important}
html body .clear-path .path-node[aria-pressed=true]{background:#eaf4fb!important;border-color:#2874a1!important;outline:2px solid #2874a1;outline-offset:-2px}
html body .clear-path .path-node strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
html body .clear-path .path-node span{margin:0;line-height:1.4;color:#536b7c}
html body .clear-path .path-node .path-card-desc{font-size:13px}
html body .clear-path .path-node .path-card-meta{font-size:12px;margin-top:auto;padding-top:8px}
html body .clear-path .path-node .path-card-action{font-size:13px;font-weight:700;color:#1f658e}
html body .clear-path .path-eyebrow{color:#45647a!important;font-size:10px!important;letter-spacing:.09em}
html body .clear-path .path-detail{position:static;width:auto;max-width:none;max-height:none;margin:0 0 24px;padding:24px;overflow:visible;border:1px solid #a8c7db;border-radius:16px;background:#fff;box-shadow:0 8px 24px #234b6410;scroll-margin-top:150px}
html body .clear-path .path-detail[hidden]{display:none}
html body .clear-path .path-detail-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body .clear-path .path-close{margin:0;flex-shrink:0;font-size:12px}
html body .clear-path .path-detail h3{font-size:clamp(1.4rem,3vw,1.8rem);line-height:1.2;margin:18px 0 10px}
html body .clear-path .path-detail h4{font-size:16px;margin:24px 0 12px}
html body .clear-path .path-description{font-size:15px;line-height:1.6;color:#536b7c}
html body .clear-path .path-progress-text{font-size:12px;color:#536b7c;margin:18px 0 4px}
html body .clear-path progress{width:100%;height:8px;accent-color:#247c9c}
html body .clear-path .path-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
html body .clear-path .path-actions .path-start{background:#176890;color:#fff;border-color:#176890}
html body .clear-path .path-lessons{display:grid;gap:8px}
html body .clear-path .path-lessons a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;color:#17384d;background:#f8fbfd;border:1px solid #dce7ee;border-radius:10px;text-decoration:none;min-height:52px;box-sizing:border-box}
html body .clear-path .path-lessons strong{font-size:14px;line-height:1.4}
html body .clear-path .path-lessons span{margin:0;font-size:12px;color:#526c7e}
html body .clear-path .path-lessons .path-lesson-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e4eff6;color:#245c7c;font-weight:700}
html body .clear-path .path-connections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
html body .clear-path .path-connection-group{display:grid;gap:8px;min-width:0}
html body .clear-path .path-related-card{display:grid;gap:7px;width:100%;padding:14px;min-height:100px;text-align:left;color:#174459;background:#f3f8fa;border:1px solid #c9dee8;border-radius:12px;box-sizing:border-box}
html body .clear-path .path-related-card strong{font-size:14px;line-height:1.3}
html body .clear-path .path-related-card .path-card-meta{color:#526c7e;font-size:12px}
html body .clear-path .path-related-card .path-card-action{color:#216487;font-size:12px;font-weight:700}
html body .clear-path .path-current{padding:16px;border:2px solid #3a82ae;background:#edf6fb;border-radius:12px;min-height:100px;box-sizing:border-box}
html body .clear-path .path-empty{text-align:center;padding:24px}
@media(max-width:900px){html body .clear-path .path-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  html body .clear-path{padding:18px 12px;border-radius:18px;margin-top:18px}
  html body .clear-path .path-tools{display:grid;grid-template-columns:1fr;margin-top:18px}
  html body .clear-path .path-tools button{justify-self:start}
  html body .clear-path .path-course-grid{grid-template-columns:1fr;padding:0 10px 10px;gap:10px}
  html body .clear-path .path-node{min-height:160px;padding:16px}
  html body .clear-path .path-subject>summary{padding:12px}
  html body .clear-path .path-detail{padding:16px 12px;scroll-margin-top:140px}
  html body .clear-path .path-detail-top{align-items:flex-start;flex-direction:column}
  html body .clear-path .path-actions{display:grid;grid-template-columns:1fr}
  html body .clear-path .path-connections{grid-template-columns:1fr;padding-left:16px;border-left:2px solid #c4d9e6}
  html body .clear-path .path-lessons a{grid-template-columns:28px minmax(0,1fr)}
  html body .clear-path .path-lesson-status{grid-column:2}
}

html body .clear-path .path-show-more{display:block;margin:0 16px 16px;padding:12px 16px;min-height:44px;border:1px solid #bfd0dd;background:#fff;color:#205570;border-radius:10px;font-size:14px;font-weight:700}

html body .clear-path h3:focus{outline:none}

/* Keep the learner link and Tutor in separate cells at every header width. */
header#learning-header .header-tools > .learner-nav{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center;gap:6px 12px;white-space:normal!important;
}
header#learning-header .learner-nav #learner-link{
  grid-column:1;grid-row:1;min-width:0;min-height:44px;
  display:flex;align-items:center;overflow-wrap:anywhere;
}
header#learning-header .learner-nav > .fl-tutor-launch{
  grid-column:2;grid-row:1;justify-self:end;margin:0;white-space:nowrap;
}
header#learning-header .learner-nav #sync-status:not(:empty){
  grid-column:1/-1;grid-row:2;margin:0;overflow-wrap:anywhere;
}
